bpmn-js 17.11.1 → 18.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/assets/diagram-js.css +17 -8
  2. package/dist/bpmn-modeler.development.js +1390 -1163
  3. package/dist/bpmn-modeler.production.min.js +47 -46
  4. package/dist/bpmn-navigated-viewer.development.js +314 -769
  5. package/dist/bpmn-navigated-viewer.production.min.js +5 -5
  6. package/dist/bpmn-viewer.development.js +278 -700
  7. package/dist/bpmn-viewer.production.min.js +5 -5
  8. package/lib/BaseModeler.d.ts +3 -3
  9. package/lib/BaseViewer.d.ts +8 -8
  10. package/lib/Modeler.d.ts +2 -2
  11. package/lib/Modeler.js +3 -1
  12. package/lib/NavigatedViewer.d.ts +1 -1
  13. package/lib/Viewer.d.ts +1 -1
  14. package/lib/Viewer.js +0 -2
  15. package/lib/core/index.d.ts +1 -1
  16. package/lib/draw/BpmnRenderUtil.d.ts +12 -12
  17. package/lib/draw/BpmnRenderer.d.ts +4 -4
  18. package/lib/draw/TextRenderer.d.ts +2 -2
  19. package/lib/draw/index.d.ts +4 -4
  20. package/lib/features/align-elements/AlignElementsContextPadProvider.d.ts +6 -6
  21. package/lib/features/align-elements/AlignElementsIcons.d.ts +7 -7
  22. package/lib/features/align-elements/AlignElementsMenuProvider.d.ts +6 -6
  23. package/lib/features/align-elements/BpmnAlignElements.d.ts +1 -1
  24. package/lib/features/align-elements/index.d.ts +5 -5
  25. package/lib/features/append-preview/AppendPreview.d.ts +7 -7
  26. package/lib/features/append-preview/index.d.ts +3 -3
  27. package/lib/features/auto-place/BpmnAutoPlace.d.ts +2 -2
  28. package/lib/features/auto-place/BpmnAutoPlaceUtil.d.ts +4 -4
  29. package/lib/features/auto-place/index.d.ts +3 -3
  30. package/lib/features/auto-resize/BpmnAutoResize.d.ts +3 -3
  31. package/lib/features/auto-resize/BpmnAutoResizeProvider.d.ts +3 -3
  32. package/lib/features/auto-resize/index.d.ts +3 -3
  33. package/lib/features/context-pad/ContextPadProvider.d.ts +16 -16
  34. package/lib/features/context-pad/ContextPadProvider.js +2 -6
  35. package/lib/features/context-pad/index.d.ts +3 -3
  36. package/lib/features/copy-paste/BpmnCopyPaste.d.ts +3 -3
  37. package/lib/features/copy-paste/ModdleCopy.d.ts +4 -4
  38. package/lib/features/copy-paste/index.d.ts +4 -4
  39. package/lib/features/di-ordering/BpmnDiOrdering.d.ts +2 -2
  40. package/lib/features/di-ordering/index.d.ts +2 -2
  41. package/lib/features/distribute-elements/BpmnDistributeElements.d.ts +1 -1
  42. package/lib/features/distribute-elements/DistributeElementsIcons.d.ts +2 -2
  43. package/lib/features/distribute-elements/DistributeElementsMenuProvider.d.ts +6 -6
  44. package/lib/features/distribute-elements/index.d.ts +4 -4
  45. package/lib/features/drilldown/DrilldownBreadcrumbs.d.ts +5 -5
  46. package/lib/features/drilldown/DrilldownCentering.d.ts +2 -2
  47. package/lib/features/drilldown/DrilldownOverlayBehavior.d.ts +7 -7
  48. package/lib/features/drilldown/SubprocessCompatibility.d.ts +6 -6
  49. package/lib/features/drilldown/index.d.ts +6 -6
  50. package/lib/features/editor-actions/BpmnEditorActions.d.ts +1 -1
  51. package/lib/features/editor-actions/index.d.ts +2 -2
  52. package/lib/features/grid-snapping/BpmnGridSnapping.d.ts +1 -1
  53. package/lib/features/grid-snapping/behavior/GridSnappingAutoPlaceBehavior.d.ts +4 -4
  54. package/lib/features/grid-snapping/behavior/GridSnappingLayoutConnectionBehavior.d.ts +4 -4
  55. package/lib/features/grid-snapping/behavior/GridSnappingParticipantBehavior.d.ts +3 -3
  56. package/lib/features/grid-snapping/behavior/index.d.ts +4 -4
  57. package/lib/features/grid-snapping/index.d.ts +3 -3
  58. package/lib/features/interaction-events/BpmnInteractionEvents.d.ts +4 -4
  59. package/lib/features/interaction-events/BpmnInteractionEvents.js +2 -6
  60. package/lib/features/interaction-events/index.d.ts +2 -2
  61. package/lib/features/keyboard/BpmnKeyboardBindings.d.ts +3 -3
  62. package/lib/features/keyboard/index.d.ts +3 -3
  63. package/lib/features/label-editing/LabelEditingPreview.d.ts +3 -3
  64. package/lib/features/label-editing/LabelEditingProvider.d.ts +8 -8
  65. package/lib/features/label-editing/cmd/UpdateLabelHandler.d.ts +4 -4
  66. package/lib/features/label-editing/index.d.ts +4 -4
  67. package/lib/features/modeling/BpmnFactory.d.ts +3 -3
  68. package/lib/features/modeling/BpmnLayouter.d.ts +5 -5
  69. package/lib/features/modeling/BpmnUpdater.d.ts +8 -8
  70. package/lib/features/modeling/BpmnUpdater.js +9 -28
  71. package/lib/features/modeling/ElementFactory.d.ts +11 -11
  72. package/lib/features/modeling/ElementFactory.js +1 -2
  73. package/lib/features/modeling/Modeling.d.ts +15 -15
  74. package/lib/features/modeling/Modeling.test.ts +4 -4
  75. package/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.d.ts +7 -8
  76. package/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.js +7 -3
  77. package/lib/features/modeling/behavior/AppendBehavior.d.ts +1 -1
  78. package/lib/features/modeling/behavior/AssociationBehavior.d.ts +2 -2
  79. package/lib/features/modeling/behavior/AttachEventBehavior.d.ts +2 -2
  80. package/lib/features/modeling/behavior/BoundaryEventBehavior.d.ts +2 -2
  81. package/lib/features/modeling/behavior/CompensateBoundaryEventBehavior.d.ts +2 -2
  82. package/lib/features/modeling/behavior/CreateBehavior.d.ts +1 -1
  83. package/lib/features/modeling/behavior/CreateDataObjectBehavior.d.ts +2 -2
  84. package/lib/features/modeling/behavior/CreateParticipantBehavior.d.ts +3 -3
  85. package/lib/features/modeling/behavior/DataInputAssociationBehavior.d.ts +2 -2
  86. package/lib/features/modeling/behavior/DataStoreBehavior.d.ts +4 -4
  87. package/lib/features/modeling/behavior/DeleteLaneBehavior.d.ts +2 -2
  88. package/lib/features/modeling/behavior/DetachEventBehavior.d.ts +2 -2
  89. package/lib/features/modeling/behavior/DropOnFlowBehavior.d.ts +3 -3
  90. package/lib/features/modeling/behavior/EventBasedGatewayBehavior.d.ts +2 -2
  91. package/lib/features/modeling/behavior/FixHoverBehavior.d.ts +3 -3
  92. package/lib/features/modeling/behavior/GroupBehavior.d.ts +9 -9
  93. package/lib/features/modeling/behavior/ImportDockingFix.d.ts +1 -1
  94. package/lib/features/modeling/behavior/IsHorizontalFix.d.ts +1 -1
  95. package/lib/features/modeling/behavior/LabelBehavior.d.ts +6 -6
  96. package/lib/features/modeling/behavior/LayoutConnectionBehavior.d.ts +2 -2
  97. package/lib/features/modeling/behavior/MessageFlowBehavior.d.ts +2 -2
  98. package/lib/features/modeling/behavior/RemoveElementBehavior.d.ts +3 -3
  99. package/lib/features/modeling/behavior/RemoveEmbeddedLabelBoundsBehavior.d.ts +2 -2
  100. package/lib/features/modeling/behavior/RemoveParticipantBehavior.d.ts +2 -2
  101. package/lib/features/modeling/behavior/ReplaceConnectionBehavior.d.ts +4 -4
  102. package/lib/features/modeling/behavior/ReplaceElementBehaviour.d.ts +6 -6
  103. package/lib/features/modeling/behavior/ResizeBehavior.d.ts +5 -8
  104. package/lib/features/modeling/behavior/ResizeBehavior.js +3 -6
  105. package/lib/features/modeling/behavior/ResizeLaneBehavior.d.ts +2 -2
  106. package/lib/features/modeling/behavior/RootElementReferenceBehavior.d.ts +8 -8
  107. package/lib/features/modeling/behavior/SetCompensationActivityAfterPasteBehavior.d.ts +3 -3
  108. package/lib/features/modeling/behavior/SpaceToolBehavior.d.ts +2 -2
  109. package/lib/features/modeling/behavior/SubProcessPlaneBehavior.d.ts +10 -10
  110. package/lib/features/modeling/behavior/SubProcessStartEventBehavior.d.ts +2 -2
  111. package/lib/features/modeling/behavior/TextAnnotationBehavior.d.ts +1 -1
  112. package/lib/features/modeling/behavior/ToggleCollapseConnectionBehaviour.d.ts +5 -5
  113. package/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.d.ts +3 -3
  114. package/lib/features/modeling/behavior/UnclaimIdBehavior.d.ts +4 -4
  115. package/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.d.ts +2 -2
  116. package/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.d.ts +2 -2
  117. package/lib/features/modeling/behavior/index.d.ts +1 -1
  118. package/lib/features/modeling/behavior/util/CategoryUtil.d.ts +6 -6
  119. package/lib/features/modeling/behavior/util/ConnectionLayoutUtil.d.ts +2 -2
  120. package/lib/features/modeling/behavior/util/LabelLayoutUtil.d.ts +4 -4
  121. package/lib/features/modeling/behavior/util/LayoutUtil.d.ts +2 -2
  122. package/lib/features/modeling/behavior/util/LineAttachmentUtil.d.ts +2 -2
  123. package/lib/features/modeling/behavior/util/LineIntersect.d.ts +1 -1
  124. package/lib/features/modeling/cmd/AddLaneHandler.d.ts +3 -3
  125. package/lib/features/modeling/cmd/AddLaneHandler.js +5 -10
  126. package/lib/features/modeling/cmd/IdClaimHandler.d.ts +2 -2
  127. package/lib/features/modeling/cmd/ResizeLaneHandler.d.ts +5 -5
  128. package/lib/features/modeling/cmd/SetColorHandler.d.ts +3 -3
  129. package/lib/features/modeling/cmd/SplitLaneHandler.d.ts +2 -2
  130. package/lib/features/modeling/cmd/UpdateCanvasRootHandler.d.ts +3 -3
  131. package/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.d.ts +3 -3
  132. package/lib/features/modeling/cmd/UpdateModdlePropertiesHandler.d.ts +4 -4
  133. package/lib/features/modeling/cmd/UpdatePropertiesHandler.d.ts +7 -7
  134. package/lib/features/modeling/cmd/UpdateSemanticParentHandler.d.ts +2 -2
  135. package/lib/features/modeling/index.d.ts +8 -8
  136. package/lib/features/modeling/util/LaneUtil.d.ts +2 -2
  137. package/lib/features/modeling/util/ModelingUtil.d.ts +2 -2
  138. package/lib/features/modeling-feedback/ModelingFeedback.d.ts +2 -2
  139. package/lib/features/modeling-feedback/index.d.ts +3 -3
  140. package/lib/features/ordering/BpmnOrderingProvider.d.ts +2 -2
  141. package/lib/features/ordering/index.d.ts +2 -2
  142. package/lib/features/outline/OutlineProvider.d.ts +4 -4
  143. package/lib/features/outline/OutlineUtil.d.ts +1 -1
  144. package/lib/features/outline/index.d.ts +3 -3
  145. package/lib/features/palette/PaletteProvider.d.ts +8 -8
  146. package/lib/features/palette/index.d.ts +3 -3
  147. package/lib/features/popup-menu/ReplaceMenuProvider.d.ts +15 -15
  148. package/lib/features/popup-menu/ReplaceMenuProvider.js +14 -16
  149. package/lib/features/popup-menu/index.d.ts +3 -3
  150. package/lib/features/popup-menu/util/TypeUtil.d.ts +2 -2
  151. package/lib/features/replace/BpmnReplace.d.ts +9 -11
  152. package/lib/features/replace/index.d.ts +2 -2
  153. package/lib/features/replace-preview/BpmnReplacePreview.d.ts +5 -5
  154. package/lib/features/replace-preview/index.d.ts +3 -3
  155. package/lib/features/rules/BpmnRules.d.ts +9 -9
  156. package/lib/features/rules/index.d.ts +3 -3
  157. package/lib/features/search/BpmnSearchProvider.d.ts +12 -7
  158. package/lib/features/search/BpmnSearchProvider.js +40 -152
  159. package/lib/features/search/index.d.ts +3 -3
  160. package/lib/features/search/index.js +3 -1
  161. package/lib/features/snapping/BpmnConnectSnapping.d.ts +5 -5
  162. package/lib/features/snapping/BpmnCreateMoveSnapping.d.ts +7 -7
  163. package/lib/features/snapping/BpmnSnappingUtil.d.ts +3 -3
  164. package/lib/features/snapping/index.d.ts +4 -4
  165. package/lib/features/space-tool/BpmnSpaceTool.d.ts +4 -4
  166. package/lib/features/space-tool/index.d.ts +2 -2
  167. package/lib/import/BpmnImporter.d.ts +11 -11
  168. package/lib/import/BpmnTreeWalker.d.ts +2 -2
  169. package/lib/import/Importer.d.ts +1 -1
  170. package/lib/import/index.d.ts +2 -2
  171. package/lib/index.d.ts +1 -0
  172. package/lib/index.js +3 -0
  173. package/lib/util/CompatibilityUtil.d.ts +1 -1
  174. package/lib/util/DiUtil.d.ts +2 -2
  175. package/lib/util/DrilldownUtil.d.ts +2 -2
  176. package/lib/util/LabelUtil.d.ts +6 -6
  177. package/lib/util/LabelUtil.js +5 -1
  178. package/lib/util/ModelUtil.d.ts +2 -2
  179. package/lib/util/PoweredByUtil.d.ts +2 -2
  180. package/package.json +23 -24
  181. package/index.js +0 -3
@@ -83,6 +83,7 @@
83
83
  --search-input-focus-background-color: var(--color-blue-205-100-95);
84
84
  --search-result-hover-background-color: var(--color-grey-225-10-95);
85
85
  --search-result-secondary-color: var(--color-grey-225-10-55);
86
+ --search-preselected-background-color: var(--color-blue-205-100-50-opacity-15);
86
87
 
87
88
  --shape-attach-allowed-stroke-color: var(--color-blue-205-100-50);
88
89
  --shape-connect-allowed-fill-color: var(--color-grey-225-10-97);
@@ -99,6 +100,18 @@
99
100
  --tooltip-error-color: var(--color-red-360-100-45);
100
101
  }
101
102
 
103
+ /**
104
+ * SVG styles
105
+ */
106
+
107
+ .djs-container svg.drop-not-ok {
108
+ background: var(--shape-drop-not-allowed-fill-color) !important;
109
+ }
110
+
111
+ .djs-container svg.new-parent {
112
+ background: var(--shape-drop-allowed-fill-color) !important;
113
+ }
114
+
102
115
  /**
103
116
  * outline styles
104
117
  */
@@ -146,14 +159,6 @@
146
159
  fill: var(--shape-drop-allowed-fill-color) !important;
147
160
  }
148
161
 
149
- svg.drop-not-ok {
150
- background: var(--shape-drop-not-allowed-fill-color) !important;
151
- }
152
-
153
- svg.new-parent {
154
- background: var(--shape-drop-allowed-fill-color) !important;
155
- }
156
-
157
162
 
158
163
  /* Override move cursor during drop and connect */
159
164
  .drop-not-ok,
@@ -979,6 +984,10 @@ svg.new-parent {
979
984
  background: var(--search-result-hover-background-color);
980
985
  }
981
986
 
987
+ .djs-search-open .djs-element .djs-outline {
988
+ fill: var(--search-preselected-background-color) !important;
989
+ }
990
+
982
991
  /**
983
992
  * hidden styles
984
993
  */