82 Commits

Author SHA1 Message Date
303ca88615 fix: empty whitespaces label in group
Closes #2231
2024-09-25 17:41:03 +02:00
c93b2cfa10 feat(bpmn-renderer): render vertical pools and lanes 2023-12-04 10:51:15 +00:00
b7be98b649 chore: drop node-style callback support from public API
BREAKING CHANGES:

* use promise based support, available since 7.0.0
2023-08-10 16:45:52 +02:00
37662c93fc chore: use checks from diagram-js 2023-05-17 08:24:18 +02:00
709be3b192 fix: fix types 2023-05-03 13:37:58 +02:00
e95e16746d chore: lift up label-editing/LabelUtil 2023-04-24 10:30:43 +02:00
2ca4907d5c fix: correct various JSDocs 2023-04-20 16:02:33 +02:00
3ea2852221 chore: simplify element type names 2023-04-19 12:18:42 +02:00
43c3f9d5b2 chore: fix util JSDocs 2023-04-19 12:18:42 +02:00
bd1fa49de0 fix(modeling): fix Modeling types 2023-04-19 12:18:42 +02:00
168527323b chore: remove outdated type declarations 2023-04-19 12:18:42 +02:00
acd9a7686d chore(util): type DiUtil 2023-04-19 12:18:42 +02:00
8e88978af0 chore(util): improve DiUtil#hasEventDefinition 2023-04-19 12:18:42 +02:00
5c1930f4cd feat(util): type ModelUtil 2023-04-19 12:18:42 +02:00
22eb477be6 feat(model): add base model types 2023-04-19 12:18:42 +02:00
c8463c39fd feat: add type declarations for modeling 2023-04-19 12:18:42 +02:00
3de7c6d075 docs: remove CMMN from powered by 2023-04-04 14:47:36 +02:00
b472823f25 fix: make di compat property non-enumerable 2022-08-18 10:57:23 +00:00
1c89624a42 fix: comply with style-src CSP 2022-05-18 09:23:18 +02:00
fb6c649570 chore: simplify drilldown utility
* semantic names help understanding what the utility functions do without having to check their implementation
2022-01-30 16:52:32 +01:00
cfb3dd4ace chore(drilldown): ensure #primaryShape replaces suffix 2022-01-30 16:52:32 +01:00
824d8c209a feat(drilldown): update breadcrumbs on name change 2022-01-30 16:52:32 +01:00
ddc10154c9 feat(modeling): create root elements for subprocesses
closes #1536
2022-01-12 09:14:15 +01:00
a42ba5cd90 feat(util/ModelUtil): expose isAny
It is a core utility that will be tree-shaken if not used.

We'll continue to expose it via `ModelingUtil` for backwards
compatibility.
2021-12-14 11:58:10 +00:00
29a6636ac7 feat(import): support importing multiple diagrams at once
closes #1474
2021-10-08 10:16:03 +02:00
597c417dce chore: throw error when accessing DI from business object
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
2b11d871cd feat: decouple DI from businessObject
In the diagram `di` is now accessed via the diagram element, not the
business object. This has the benefit that elements in multiple diagrams
can easily be represented.

Related to https://github.com/bpmn-io/bpmn-js/issues/1472

BREAKING CHANGE:

* Instead of referencing the `di` from the business object, reference it
  from the diagram element representing it.
2021-09-03 15:14:00 +02:00
1ccba5c5e6 feat(replace): add switch between DataStore and DataObject in replace menu
Closes #1372
2020-12-03 11:01:38 +00:00
f5daa163b5 chore(project): update logo
Related to #1281
2020-05-25 17:09:05 +02:00
f617907776 chore(powered-by): open external link with rel="noopener" 2020-05-20 16:09:03 +00:00
10e4709bbe chore(powered-by): integrate new logo 2020-05-20 16:09:03 +00:00
c40ebf558a chore(util/CompatibilityUtil): correct spacing and simplify warning 2020-05-18 08:10:32 +00:00
04ca31fac9 feat(lib): Promisify public APIs
This commit promisifies following APIs:

   BaseViewer#importXML
   BaseViewer#importDefinitions
   BaseViewer#open
   BaseViewer#saveXML
   BaseViewer#saveSVG
   Modeler#createDiagram

Related to https://github.com/bpmn-io/bpmn-js/issues/812

BREAKING CHANGES:

* Users are now expected to have Promises either by default or
polyfilled as the APIs return a Promise now.
2020-04-29 11:12:23 +02:00
7c8abfb497 chore(util): add wrapForCompatibility utility 2020-04-29 11:12:23 +02:00
2dd1e13305 chore(documentation): fix JSDoc boolean types 2020-04-07 06:52:55 +00:00
7a67ff95b2 chore(documentation): fix JSDoc string types 2020-04-07 06:52:55 +00:00
194b963959 chore(copy-paste): rework and base upon diagram-js@5
* use <copyPaste.canCopyProperty> event to copy category value when copying group
* add camunda-bpmn-moddle for integration tests

BREAKING CHANGES

* CopyPaste: remove <property.clone>, add <moddleCopy.canCopyProperties>, <moddleCopy.canCopyProperty>, <moddleCopy.canSetCopiedProperty>
* BpmnRules: removed <elements.paste> rule in favor of <elements.create> rule
* BpmnRules: removed <element.paste> rule
* ElementFactory: use <attrs.di> property instead of <attrs.colors> for fill and stroke when creating element through ElementFactory#createBpmnElement
2019-08-07 16:03:55 +00:00
ca12ac91a4 chore(bpmn-snapping): move participant fitting to participant behavior
Related to #1290
2019-06-05 14:36:39 +02:00
fb3398fa39 feat(label-editing): enable direct editing for group labels
* Adds external label for Groups
* Modifies referenced categoryValue

Closes #955
2019-05-28 06:46:53 +00:00
89719de3be feat(import): render DataInput and DataOutput labels
Related to #951
Related to camunda/camunda-modeler#1324
2019-03-26 11:55:36 +01:00
7537757357 feat(labels): labels can be deleted
Related to camunda/camunda-modeler#243
2018-05-24 16:22:51 +02:00
e159b002cd fix(copy-paste): correctly set $parent on copied model elements
Related to camunda/camunda-modeler#625
2018-04-09 11:27:58 +02:00
9be61259bd chore(project): drop 'use strict'
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
d3449ca87c chore(project): es6ify source code
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes

BREAKING CHANGE:

* all utilities export independent functions
* library sources got ported to ES6. You must now use
  a ES module bundler such as Browserify + babelify or
  Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
bec8d06e08 chore(project): fix typos introduced 2018-03-22 12:43:36 +01:00
11f5a22471 chore(project): adjust min-dash usage (2) 2018-03-22 11:59:39 +01:00
245d1d6a96 chore(project): upgrade lodash to min-dash 2018-03-22 11:59:39 +01:00
e8e5e2ced9 chore(project): update to min-dom@2 2018-03-22 00:54:59 +01:00
b03014fc2c chore(project): update to new lint style 2018-02-27 10:08:31 +01:00
b070be5855 fix(powered-by): correctly display logo in IE/Edge 2018-02-19 09:11:23 +01:00