Maciej Barelkowski
439bc4ead0
feat(modeling): use BPMN in Color for color setting
...
Additionally to custom bpmn.io properties, `modeling#setColor` will use
[BPMN in Color properties](https://github.com/bpmn-miwg/bpmn-in-color ).
2021-05-27 12:43:53 +00:00
Nico Rehwaldt
707257e020
fix(copy-paste): emit <moddleCopy.canSetCopiedProperty> with existing property
2020-03-02 13:08:42 +00:00
Niklas Kiefer
0143595230
Merge branch 'master' into develop
2019-09-25 13:34:54 +02:00
Philipp Fromme
a74d838dc7
fix(copy-paste): do NOT copy generic properties
...
Related to camunda/camunda-modeler#1507
2019-09-25 13:09:00 +02:00
Philipp Fromme
5736cfe794
Merge branch 'master' into develop
2019-09-24 14:41:03 +02:00
Oguz Eroglu
d55e3afe35
fix(copy-paste): copy attacher properties
...
Closes #1190
2019-09-24 12:34:15 +00:00
Jonathan Irwin
e65809f246
docs(project): correct spelling
2019-09-09 12:21:33 +02:00
Philipp Fromme
2f001e1f4a
feat(copy-paste): copy process properties
...
Clone the linked process when copying a participant.
This ensures that properties attached to the process
are not getting lost.
Closes #1161
2019-09-06 15:27:31 +02:00
Nico Rehwaldt
6035f2ec22
chore(copy-paste): use #has util for hasOwnProperty check
2019-08-13 13:37:09 +02:00
Philipp Fromme
d6b8acc715
fix(copy-paste): copy name property
...
Closes #921
2019-08-08 07:50:23 +00:00
Philipp Fromme
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
Niklas Kiefer
e31c4d13ed
chore(copy-paste): ensure pasted group has new category value
...
Relates to camunda/camunda-modeler#1417
2019-07-02 07:42:22 +00:00
Niklas Kiefer
1575b5b26f
fix(copy-paste): adjust categoryValueRef when group is copied
...
Closes #958
2019-05-20 07:56:27 +00:00
Nico Rehwaldt
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
Nico Rehwaldt
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
TheSharpieOne Bot
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
Nico Rehwaldt
729ddce821
fix(copy-paste): don't override descriptor <type> property
...
This is redundant anyway, as we take the type + additional
information from the to-be-copied business object.
Closes #751
2018-01-18 11:22:09 +01:00
Nico Rehwaldt
cd24b27768
fix(copy-paste): ignore data associations during cloning
...
* use bpmnFactory for cloning to ensure all relevant
elements have actual IDs
* don't copy dataAssociations, as they are visual elements
that will be created during element re-connection
NOTE: This fixes data input association not properly being
wired during target replace, too.
Closes #694 , #693
2017-12-11 15:14:31 +01:00
Philipp Fromme
114da17403
fix(copy-paste): create new business object on paste
...
* fixes pasted elements having same business object
* removes temporary fix that prevents pasting twice
Closes #686
Closes camunda/camunda-modeler#561
2017-06-20 16:24:11 +02:00
Nico Rehwaldt
8e55edd80f
chore(copy-paste): temporarily prevent consecutive paste
...
This prevents users from creating invalid
models due to IDs not properly being
generated on consecutive paste (#686 ).
Closes #688 .
2017-05-19 13:01:57 +02:00
Ricardo Matias
d8098c2feb
feat(copy-paste): copy 'fill' and 'stroke' properties
...
Closes #640
2017-02-13 12:01:42 +01:00
Ricardo Matias
b37182b53b
feat(util/model): make property cloning pluggable
...
This introduces a 'property.clone' event that allows
plugging into the cloning mechanism when cloning
nested extension elements.
Related to camunda/camunda-bpmn-moddle#35
2017-01-30 16:38:43 +01:00
Ricardo Matias
2ecb9aeae4
feat(copy-paste): clone properties when morphing to new element
...
Closes #648
2017-01-30 16:38:43 +01:00
Ricardo Matias
b43cff1ec2
feat(copy-paste): copy Event Sub Process / Non-Interrupting Boundary
...
Closes #556 , #555
2016-06-21 13:39:37 +02:00
Nico Rehwaldt
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
Vladimirs Katusenoks
839ed0b8e8
fix(paste): copy process with participant
...
Closes camunda/camunda-modeler#297
2016-05-20 15:55:04 +02:00
Vladimirs Katusenoks
80d62b9873
fix(paste): set correct parent on data associations
...
Closes camunda/camunda-modeler#296
2016-05-20 12:40:15 +02:00
Ricardo Matias
3f04e18398
fix(copy-paste): correctly paste on lanes
...
Closes #516
2016-05-02 14:38:42 +02:00
Ricardo Matias
1b9ebfc993
feat(copy-paste): allow copying & pasting of elements
...
Closes #391
2016-04-22 09:34:53 +02:00