bpmn-js 18.17.0 → 18.18.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 (346) hide show
  1. package/dist/bpmn-modeler.development.js +177 -147
  2. package/dist/bpmn-modeler.production.min.js +41 -41
  3. package/dist/bpmn-navigated-viewer.development.js +22 -22
  4. package/dist/bpmn-navigated-viewer.production.min.js +1 -1
  5. package/dist/bpmn-viewer.development.js +22 -22
  6. package/dist/bpmn-viewer.production.min.js +1 -1
  7. package/lib/BaseModeler.d.ts +2 -0
  8. package/lib/BaseModeler.d.ts.map +1 -0
  9. package/lib/BaseViewer.d.ts +1 -0
  10. package/lib/BaseViewer.d.ts.map +1 -0
  11. package/lib/Modeler.d.ts +2 -0
  12. package/lib/Modeler.d.ts.map +1 -0
  13. package/lib/NavigatedViewer.d.ts +2 -0
  14. package/lib/NavigatedViewer.d.ts.map +1 -0
  15. package/lib/Viewer.d.ts +2 -0
  16. package/lib/Viewer.d.ts.map +1 -0
  17. package/lib/core/index.d.ts +1 -0
  18. package/lib/core/index.d.ts.map +1 -0
  19. package/lib/draw/BpmnRenderUtil.d.ts +2 -0
  20. package/lib/draw/BpmnRenderUtil.d.ts.map +1 -0
  21. package/lib/draw/BpmnRenderer.d.ts +2 -0
  22. package/lib/draw/BpmnRenderer.d.ts.map +1 -0
  23. package/lib/draw/PathMap.d.ts +1 -0
  24. package/lib/draw/PathMap.d.ts.map +1 -0
  25. package/lib/draw/TextRenderer.d.ts +1 -1
  26. package/lib/draw/TextRenderer.d.ts.map +1 -0
  27. package/lib/draw/index.d.ts +1 -0
  28. package/lib/draw/index.d.ts.map +1 -0
  29. package/lib/features/align-elements/AlignElementsContextPadProvider.d.ts +1 -1
  30. package/lib/features/align-elements/AlignElementsContextPadProvider.d.ts.map +1 -0
  31. package/lib/features/align-elements/AlignElementsIcons.d.ts +1 -0
  32. package/lib/features/align-elements/AlignElementsIcons.d.ts.map +1 -0
  33. package/lib/features/align-elements/AlignElementsMenuProvider.d.ts +1 -1
  34. package/lib/features/align-elements/AlignElementsMenuProvider.d.ts.map +1 -0
  35. package/lib/features/align-elements/BpmnAlignElements.d.ts +2 -0
  36. package/lib/features/align-elements/BpmnAlignElements.d.ts.map +1 -0
  37. package/lib/features/align-elements/index.d.ts +1 -0
  38. package/lib/features/align-elements/index.d.ts.map +1 -0
  39. package/lib/features/append-preview/AppendPreview.d.ts +1 -1
  40. package/lib/features/append-preview/AppendPreview.d.ts.map +1 -0
  41. package/lib/features/append-preview/index.d.ts +1 -0
  42. package/lib/features/append-preview/index.d.ts.map +1 -0
  43. package/lib/features/auto-place/BpmnAutoPlace.d.ts +1 -1
  44. package/lib/features/auto-place/BpmnAutoPlace.d.ts.map +1 -0
  45. package/lib/features/auto-place/BpmnAutoPlaceUtil.d.ts +1 -1
  46. package/lib/features/auto-place/BpmnAutoPlaceUtil.d.ts.map +1 -0
  47. package/lib/features/auto-place/index.d.ts +1 -0
  48. package/lib/features/auto-place/index.d.ts.map +1 -0
  49. package/lib/features/auto-resize/BpmnAutoResize.d.ts +2 -0
  50. package/lib/features/auto-resize/BpmnAutoResize.d.ts.map +1 -0
  51. package/lib/features/auto-resize/BpmnAutoResizeProvider.d.ts +2 -0
  52. package/lib/features/auto-resize/BpmnAutoResizeProvider.d.ts.map +1 -0
  53. package/lib/features/auto-resize/index.d.ts +1 -0
  54. package/lib/features/auto-resize/index.d.ts.map +1 -0
  55. package/lib/features/context-pad/ContextPadProvider.d.ts +1 -0
  56. package/lib/features/context-pad/ContextPadProvider.d.ts.map +1 -0
  57. package/lib/features/context-pad/index.d.ts +1 -0
  58. package/lib/features/context-pad/index.d.ts.map +1 -0
  59. package/lib/features/copy-paste/BpmnCopyPaste.d.ts +1 -1
  60. package/lib/features/copy-paste/BpmnCopyPaste.d.ts.map +1 -0
  61. package/lib/features/copy-paste/ModdleCopy.d.ts +1 -1
  62. package/lib/features/copy-paste/ModdleCopy.d.ts.map +1 -0
  63. package/lib/features/copy-paste/index.d.ts +1 -0
  64. package/lib/features/copy-paste/index.d.ts.map +1 -0
  65. package/lib/features/di-ordering/BpmnDiOrdering.d.ts +1 -1
  66. package/lib/features/di-ordering/BpmnDiOrdering.d.ts.map +1 -0
  67. package/lib/features/di-ordering/index.d.ts +1 -0
  68. package/lib/features/di-ordering/index.d.ts.map +1 -0
  69. package/lib/features/distribute-elements/BpmnDistributeElements.d.ts +2 -0
  70. package/lib/features/distribute-elements/BpmnDistributeElements.d.ts.map +1 -0
  71. package/lib/features/distribute-elements/DistributeElementsIcons.d.ts +1 -0
  72. package/lib/features/distribute-elements/DistributeElementsIcons.d.ts.map +1 -0
  73. package/lib/features/distribute-elements/DistributeElementsMenuProvider.d.ts +1 -1
  74. package/lib/features/distribute-elements/DistributeElementsMenuProvider.d.ts.map +1 -0
  75. package/lib/features/distribute-elements/index.d.ts +1 -0
  76. package/lib/features/distribute-elements/index.d.ts.map +1 -0
  77. package/lib/features/drilldown/DrilldownBreadcrumbs.d.ts +1 -1
  78. package/lib/features/drilldown/DrilldownBreadcrumbs.d.ts.map +1 -0
  79. package/lib/features/drilldown/DrilldownCentering.d.ts +1 -1
  80. package/lib/features/drilldown/DrilldownCentering.d.ts.map +1 -0
  81. package/lib/features/drilldown/DrilldownOverlayBehavior.d.ts +2 -0
  82. package/lib/features/drilldown/DrilldownOverlayBehavior.d.ts.map +1 -0
  83. package/lib/features/drilldown/SubprocessCompatibility.d.ts +1 -1
  84. package/lib/features/drilldown/SubprocessCompatibility.d.ts.map +1 -0
  85. package/lib/features/drilldown/index.d.ts +1 -0
  86. package/lib/features/drilldown/index.d.ts.map +1 -0
  87. package/lib/features/editor-actions/BpmnEditorActions.d.ts +2 -0
  88. package/lib/features/editor-actions/BpmnEditorActions.d.ts.map +1 -0
  89. package/lib/features/editor-actions/index.d.ts +1 -0
  90. package/lib/features/editor-actions/index.d.ts.map +1 -0
  91. package/lib/features/grid-snapping/BpmnGridSnapping.d.ts +1 -1
  92. package/lib/features/grid-snapping/BpmnGridSnapping.d.ts.map +1 -0
  93. package/lib/features/grid-snapping/behavior/GridSnappingAutoPlaceBehavior.d.ts +1 -1
  94. package/lib/features/grid-snapping/behavior/GridSnappingAutoPlaceBehavior.d.ts.map +1 -0
  95. package/lib/features/grid-snapping/behavior/GridSnappingLayoutConnectionBehavior.d.ts +2 -0
  96. package/lib/features/grid-snapping/behavior/GridSnappingLayoutConnectionBehavior.d.ts.map +1 -0
  97. package/lib/features/grid-snapping/behavior/GridSnappingParticipantBehavior.d.ts +1 -1
  98. package/lib/features/grid-snapping/behavior/GridSnappingParticipantBehavior.d.ts.map +1 -0
  99. package/lib/features/grid-snapping/behavior/index.d.ts +1 -0
  100. package/lib/features/grid-snapping/behavior/index.d.ts.map +1 -0
  101. package/lib/features/grid-snapping/index.d.ts +1 -0
  102. package/lib/features/grid-snapping/index.d.ts.map +1 -0
  103. package/lib/features/interaction-events/BpmnInteractionEvents.d.ts +1 -1
  104. package/lib/features/interaction-events/BpmnInteractionEvents.d.ts.map +1 -0
  105. package/lib/features/interaction-events/index.d.ts +1 -0
  106. package/lib/features/interaction-events/index.d.ts.map +1 -0
  107. package/lib/features/keyboard/BpmnKeyboardBindings.d.ts +2 -0
  108. package/lib/features/keyboard/BpmnKeyboardBindings.d.ts.map +1 -0
  109. package/lib/features/keyboard/index.d.ts +1 -0
  110. package/lib/features/keyboard/index.d.ts.map +1 -0
  111. package/lib/features/label-editing/LabelEditingPreview.d.ts +1 -1
  112. package/lib/features/label-editing/LabelEditingPreview.d.ts.map +1 -0
  113. package/lib/features/label-editing/LabelEditingProvider.d.ts +1 -0
  114. package/lib/features/label-editing/LabelEditingProvider.d.ts.map +1 -0
  115. package/lib/features/label-editing/LabelUtil.d.ts +1 -0
  116. package/lib/features/label-editing/LabelUtil.d.ts.map +1 -0
  117. package/lib/features/label-editing/cmd/UpdateLabelHandler.d.ts +1 -1
  118. package/lib/features/label-editing/cmd/UpdateLabelHandler.d.ts.map +1 -0
  119. package/lib/features/label-editing/index.d.ts +1 -0
  120. package/lib/features/label-editing/index.d.ts.map +1 -0
  121. package/lib/features/label-link/LabelLink.d.ts +1 -1
  122. package/lib/features/label-link/LabelLink.d.ts.map +1 -0
  123. package/lib/features/label-link/index.d.ts +1 -0
  124. package/lib/features/label-link/index.d.ts.map +1 -0
  125. package/lib/features/modeling/BpmnFactory.d.ts +1 -1
  126. package/lib/features/modeling/BpmnFactory.d.ts.map +1 -0
  127. package/lib/features/modeling/BpmnLayouter.d.ts +1 -0
  128. package/lib/features/modeling/BpmnLayouter.d.ts.map +1 -0
  129. package/lib/features/modeling/BpmnUpdater.d.ts +2 -0
  130. package/lib/features/modeling/BpmnUpdater.d.ts.map +1 -0
  131. package/lib/features/modeling/ElementFactory.d.ts +2 -0
  132. package/lib/features/modeling/ElementFactory.d.ts.map +1 -0
  133. package/lib/features/modeling/Modeling.d.ts +1 -0
  134. package/lib/features/modeling/Modeling.d.ts.map +1 -0
  135. package/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.d.ts +2 -0
  136. package/lib/features/modeling/behavior/AdaptiveLabelPositioningBehavior.d.ts.map +1 -0
  137. package/lib/features/modeling/behavior/AppendBehavior.d.ts +2 -0
  138. package/lib/features/modeling/behavior/AppendBehavior.d.ts.map +1 -0
  139. package/lib/features/modeling/behavior/ArtifactBehavior.d.ts +2 -0
  140. package/lib/features/modeling/behavior/ArtifactBehavior.d.ts.map +1 -0
  141. package/lib/features/modeling/behavior/AssociationBehavior.d.ts +2 -0
  142. package/lib/features/modeling/behavior/AssociationBehavior.d.ts.map +1 -0
  143. package/lib/features/modeling/behavior/AttachEventBehavior.d.ts +2 -0
  144. package/lib/features/modeling/behavior/AttachEventBehavior.d.ts.map +1 -0
  145. package/lib/features/modeling/behavior/BoundaryEventBehavior.d.ts +2 -0
  146. package/lib/features/modeling/behavior/BoundaryEventBehavior.d.ts.map +1 -0
  147. package/lib/features/modeling/behavior/CompensateBoundaryEventBehavior.d.ts +2 -0
  148. package/lib/features/modeling/behavior/CompensateBoundaryEventBehavior.d.ts.map +1 -0
  149. package/lib/features/modeling/behavior/CreateBehavior.d.ts +2 -0
  150. package/lib/features/modeling/behavior/CreateBehavior.d.ts.map +1 -0
  151. package/lib/features/modeling/behavior/CreateDataObjectBehavior.d.ts +2 -0
  152. package/lib/features/modeling/behavior/CreateDataObjectBehavior.d.ts.map +1 -0
  153. package/lib/features/modeling/behavior/CreateParticipantBehavior.d.ts +2 -0
  154. package/lib/features/modeling/behavior/CreateParticipantBehavior.d.ts.map +1 -0
  155. package/lib/features/modeling/behavior/DataInputAssociationBehavior.d.ts +2 -0
  156. package/lib/features/modeling/behavior/DataInputAssociationBehavior.d.ts.map +1 -0
  157. package/lib/features/modeling/behavior/DataStoreBehavior.d.ts +2 -0
  158. package/lib/features/modeling/behavior/DataStoreBehavior.d.ts.map +1 -0
  159. package/lib/features/modeling/behavior/DeleteLaneBehavior.d.ts +2 -0
  160. package/lib/features/modeling/behavior/DeleteLaneBehavior.d.ts.map +1 -0
  161. package/lib/features/modeling/behavior/DetachEventBehavior.d.ts +2 -0
  162. package/lib/features/modeling/behavior/DetachEventBehavior.d.ts.map +1 -0
  163. package/lib/features/modeling/behavior/DropOnFlowBehavior.d.ts +2 -0
  164. package/lib/features/modeling/behavior/DropOnFlowBehavior.d.ts.map +1 -0
  165. package/lib/features/modeling/behavior/EventBasedGatewayBehavior.d.ts +2 -0
  166. package/lib/features/modeling/behavior/EventBasedGatewayBehavior.d.ts.map +1 -0
  167. package/lib/features/modeling/behavior/FixHoverBehavior.d.ts +1 -1
  168. package/lib/features/modeling/behavior/FixHoverBehavior.d.ts.map +1 -0
  169. package/lib/features/modeling/behavior/GroupBehavior.d.ts +2 -0
  170. package/lib/features/modeling/behavior/GroupBehavior.d.ts.map +1 -0
  171. package/lib/features/modeling/behavior/ImportDockingFix.d.ts +1 -1
  172. package/lib/features/modeling/behavior/ImportDockingFix.d.ts.map +1 -0
  173. package/lib/features/modeling/behavior/IsHorizontalFix.d.ts +2 -0
  174. package/lib/features/modeling/behavior/IsHorizontalFix.d.ts.map +1 -0
  175. package/lib/features/modeling/behavior/LabelBehavior.d.ts +2 -0
  176. package/lib/features/modeling/behavior/LabelBehavior.d.ts.map +1 -0
  177. package/lib/features/modeling/behavior/LayoutConnectionBehavior.d.ts +2 -0
  178. package/lib/features/modeling/behavior/LayoutConnectionBehavior.d.ts.map +1 -0
  179. package/lib/features/modeling/behavior/MessageFlowBehavior.d.ts +2 -0
  180. package/lib/features/modeling/behavior/MessageFlowBehavior.d.ts.map +1 -0
  181. package/lib/features/modeling/behavior/NonInterruptingBehavior.d.ts +1 -0
  182. package/lib/features/modeling/behavior/NonInterruptingBehavior.d.ts.map +1 -0
  183. package/lib/features/modeling/behavior/RemoveElementBehavior.d.ts +2 -0
  184. package/lib/features/modeling/behavior/RemoveElementBehavior.d.ts.map +1 -0
  185. package/lib/features/modeling/behavior/RemoveEmbeddedLabelBoundsBehavior.d.ts +2 -0
  186. package/lib/features/modeling/behavior/RemoveEmbeddedLabelBoundsBehavior.d.ts.map +1 -0
  187. package/lib/features/modeling/behavior/RemoveParticipantBehavior.d.ts +2 -0
  188. package/lib/features/modeling/behavior/RemoveParticipantBehavior.d.ts.map +1 -0
  189. package/lib/features/modeling/behavior/ReplaceConnectionBehavior.d.ts +2 -0
  190. package/lib/features/modeling/behavior/ReplaceConnectionBehavior.d.ts.map +1 -0
  191. package/lib/features/modeling/behavior/ReplaceElementBehaviour.d.ts +2 -0
  192. package/lib/features/modeling/behavior/ReplaceElementBehaviour.d.ts.map +1 -0
  193. package/lib/features/modeling/behavior/ResizeBehavior.d.ts +1 -1
  194. package/lib/features/modeling/behavior/ResizeBehavior.d.ts.map +1 -0
  195. package/lib/features/modeling/behavior/ResizeLaneBehavior.d.ts +1 -1
  196. package/lib/features/modeling/behavior/ResizeLaneBehavior.d.ts.map +1 -0
  197. package/lib/features/modeling/behavior/RootElementReferenceBehavior.d.ts +2 -0
  198. package/lib/features/modeling/behavior/RootElementReferenceBehavior.d.ts.map +1 -0
  199. package/lib/features/modeling/behavior/SetCompensationActivityAfterPasteBehavior.d.ts +2 -0
  200. package/lib/features/modeling/behavior/SetCompensationActivityAfterPasteBehavior.d.ts.map +1 -0
  201. package/lib/features/modeling/behavior/SpaceToolBehavior.d.ts +1 -1
  202. package/lib/features/modeling/behavior/SpaceToolBehavior.d.ts.map +1 -0
  203. package/lib/features/modeling/behavior/SubProcessPlaneBehavior.d.ts +2 -0
  204. package/lib/features/modeling/behavior/SubProcessPlaneBehavior.d.ts.map +1 -0
  205. package/lib/features/modeling/behavior/SubProcessStartEventBehavior.d.ts +2 -0
  206. package/lib/features/modeling/behavior/SubProcessStartEventBehavior.d.ts.map +1 -0
  207. package/lib/features/modeling/behavior/TextAnnotationBehavior.d.ts +2 -0
  208. package/lib/features/modeling/behavior/TextAnnotationBehavior.d.ts.map +1 -0
  209. package/lib/features/modeling/behavior/ToggleCollapseConnectionBehaviour.d.ts +2 -0
  210. package/lib/features/modeling/behavior/ToggleCollapseConnectionBehaviour.d.ts.map +1 -0
  211. package/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.d.ts +2 -0
  212. package/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.d.ts.map +1 -0
  213. package/lib/features/modeling/behavior/UnclaimIdBehavior.d.ts +2 -0
  214. package/lib/features/modeling/behavior/UnclaimIdBehavior.d.ts.map +1 -0
  215. package/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.d.ts +2 -0
  216. package/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.d.ts.map +1 -0
  217. package/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.d.ts +2 -0
  218. package/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.d.ts.map +1 -0
  219. package/lib/features/modeling/behavior/index.d.ts +1 -0
  220. package/lib/features/modeling/behavior/index.d.ts.map +1 -0
  221. package/lib/features/modeling/behavior/util/CategoryUtil.d.ts +2 -0
  222. package/lib/features/modeling/behavior/util/CategoryUtil.d.ts.map +1 -0
  223. package/lib/features/modeling/behavior/util/ConnectionLayoutUtil.d.ts +1 -1
  224. package/lib/features/modeling/behavior/util/ConnectionLayoutUtil.d.ts.map +1 -0
  225. package/lib/features/modeling/behavior/util/GeometricUtil.d.ts +1 -0
  226. package/lib/features/modeling/behavior/util/GeometricUtil.d.ts.map +1 -0
  227. package/lib/features/modeling/behavior/util/LabelLayoutUtil.d.ts +1 -1
  228. package/lib/features/modeling/behavior/util/LabelLayoutUtil.d.ts.map +1 -0
  229. package/lib/features/modeling/behavior/util/LayoutUtil.d.ts +1 -0
  230. package/lib/features/modeling/behavior/util/LayoutUtil.d.ts.map +1 -0
  231. package/lib/features/modeling/behavior/util/LineAttachmentUtil.d.ts +1 -0
  232. package/lib/features/modeling/behavior/util/LineAttachmentUtil.d.ts.map +1 -0
  233. package/lib/features/modeling/behavior/util/LineIntersect.d.ts +1 -1
  234. package/lib/features/modeling/behavior/util/LineIntersect.d.ts.map +1 -0
  235. package/lib/features/modeling/behavior/util/NonInterruptingUtil.d.ts +1 -0
  236. package/lib/features/modeling/behavior/util/NonInterruptingUtil.d.ts.map +1 -0
  237. package/lib/features/modeling/behavior/util/ResizeUtil.d.ts +1 -0
  238. package/lib/features/modeling/behavior/util/ResizeUtil.d.ts.map +1 -0
  239. package/lib/features/modeling/cmd/AddLaneHandler.d.ts +1 -1
  240. package/lib/features/modeling/cmd/AddLaneHandler.d.ts.map +1 -0
  241. package/lib/features/modeling/cmd/IdClaimHandler.d.ts +1 -1
  242. package/lib/features/modeling/cmd/IdClaimHandler.d.ts.map +1 -0
  243. package/lib/features/modeling/cmd/ResizeLaneHandler.d.ts +1 -1
  244. package/lib/features/modeling/cmd/ResizeLaneHandler.d.ts.map +1 -0
  245. package/lib/features/modeling/cmd/SetColorHandler.d.ts +1 -1
  246. package/lib/features/modeling/cmd/SetColorHandler.d.ts.map +1 -0
  247. package/lib/features/modeling/cmd/SplitLaneHandler.d.ts +1 -1
  248. package/lib/features/modeling/cmd/SplitLaneHandler.d.ts.map +1 -0
  249. package/lib/features/modeling/cmd/UpdateCanvasRootHandler.d.ts +1 -1
  250. package/lib/features/modeling/cmd/UpdateCanvasRootHandler.d.ts.map +1 -0
  251. package/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.d.ts +1 -1
  252. package/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.d.ts.map +1 -0
  253. package/lib/features/modeling/cmd/UpdateModdlePropertiesHandler.d.ts +1 -1
  254. package/lib/features/modeling/cmd/UpdateModdlePropertiesHandler.d.ts.map +1 -0
  255. package/lib/features/modeling/cmd/UpdatePropertiesHandler.d.ts +1 -1
  256. package/lib/features/modeling/cmd/UpdatePropertiesHandler.d.ts.map +1 -0
  257. package/lib/features/modeling/cmd/UpdateSemanticParentHandler.d.ts +1 -1
  258. package/lib/features/modeling/cmd/UpdateSemanticParentHandler.d.ts.map +1 -0
  259. package/lib/features/modeling/index.d.ts +1 -0
  260. package/lib/features/modeling/index.d.ts.map +1 -0
  261. package/lib/features/modeling/util/LaneUtil.d.ts +1 -1
  262. package/lib/features/modeling/util/LaneUtil.d.ts.map +1 -0
  263. package/lib/features/modeling/util/ModelingUtil.d.ts +2 -0
  264. package/lib/features/modeling/util/ModelingUtil.d.ts.map +1 -0
  265. package/lib/features/modeling-feedback/ModelingFeedback.d.ts +2 -0
  266. package/lib/features/modeling-feedback/ModelingFeedback.d.ts.map +1 -0
  267. package/lib/features/modeling-feedback/index.d.ts +1 -0
  268. package/lib/features/modeling-feedback/index.d.ts.map +1 -0
  269. package/lib/features/ordering/BpmnOrderingProvider.d.ts +2 -0
  270. package/lib/features/ordering/BpmnOrderingProvider.d.ts.map +1 -0
  271. package/lib/features/ordering/index.d.ts +1 -0
  272. package/lib/features/ordering/index.d.ts.map +1 -0
  273. package/lib/features/outline/OutlineProvider.d.ts +1 -1
  274. package/lib/features/outline/OutlineProvider.d.ts.map +1 -0
  275. package/lib/features/outline/OutlineUtil.d.ts +1 -1
  276. package/lib/features/outline/OutlineUtil.d.ts.map +1 -0
  277. package/lib/features/outline/index.d.ts +1 -0
  278. package/lib/features/outline/index.d.ts.map +1 -0
  279. package/lib/features/palette/PaletteProvider.d.ts +1 -1
  280. package/lib/features/palette/PaletteProvider.d.ts.map +1 -0
  281. package/lib/features/palette/index.d.ts +1 -0
  282. package/lib/features/palette/index.d.ts.map +1 -0
  283. package/lib/features/popup-menu/ReplaceMenuProvider.d.ts +2 -0
  284. package/lib/features/popup-menu/ReplaceMenuProvider.d.ts.map +1 -0
  285. package/lib/features/popup-menu/index.d.ts +1 -0
  286. package/lib/features/popup-menu/index.d.ts.map +1 -0
  287. package/lib/features/popup-menu/util/Icons.d.ts +1 -0
  288. package/lib/features/popup-menu/util/Icons.d.ts.map +1 -0
  289. package/lib/features/popup-menu/util/TypeUtil.d.ts +2 -0
  290. package/lib/features/popup-menu/util/TypeUtil.d.ts.map +1 -0
  291. package/lib/features/replace/BpmnReplace.d.ts +1 -0
  292. package/lib/features/replace/BpmnReplace.d.ts.map +1 -0
  293. package/lib/features/replace/ReplaceOptions.d.ts +1 -0
  294. package/lib/features/replace/ReplaceOptions.d.ts.map +1 -0
  295. package/lib/features/replace/index.d.ts +1 -0
  296. package/lib/features/replace/index.d.ts.map +1 -0
  297. package/lib/features/replace-preview/BpmnReplacePreview.d.ts +2 -0
  298. package/lib/features/replace-preview/BpmnReplacePreview.d.ts.map +1 -0
  299. package/lib/features/replace-preview/index.d.ts +1 -0
  300. package/lib/features/replace-preview/index.d.ts.map +1 -0
  301. package/lib/features/rules/BpmnRules.d.ts +1 -0
  302. package/lib/features/rules/BpmnRules.d.ts.map +1 -0
  303. package/lib/features/rules/index.d.ts +1 -0
  304. package/lib/features/rules/index.d.ts.map +1 -0
  305. package/lib/features/search/BpmnSearchProvider.d.ts +1 -1
  306. package/lib/features/search/BpmnSearchProvider.d.ts.map +1 -0
  307. package/lib/features/search/index.d.ts +1 -0
  308. package/lib/features/search/index.d.ts.map +1 -0
  309. package/lib/features/snapping/BpmnConnectSnapping.d.ts +1 -1
  310. package/lib/features/snapping/BpmnConnectSnapping.d.ts.map +1 -0
  311. package/lib/features/snapping/BpmnCreateMoveSnapping.d.ts +2 -0
  312. package/lib/features/snapping/BpmnCreateMoveSnapping.d.ts.map +1 -0
  313. package/lib/features/snapping/BpmnSnappingUtil.d.ts +1 -1
  314. package/lib/features/snapping/BpmnSnappingUtil.d.ts.map +1 -0
  315. package/lib/features/snapping/index.d.ts +1 -0
  316. package/lib/features/snapping/index.d.ts.map +1 -0
  317. package/lib/features/space-tool/BpmnSpaceTool.d.ts +2 -0
  318. package/lib/features/space-tool/BpmnSpaceTool.d.ts.map +1 -0
  319. package/lib/features/space-tool/index.d.ts +1 -0
  320. package/lib/features/space-tool/index.d.ts.map +1 -0
  321. package/lib/import/BpmnImporter.d.ts +1 -1
  322. package/lib/import/BpmnImporter.d.ts.map +1 -0
  323. package/lib/import/BpmnTreeWalker.d.ts +1 -1
  324. package/lib/import/BpmnTreeWalker.d.ts.map +1 -0
  325. package/lib/import/Importer.d.ts +1 -0
  326. package/lib/import/Importer.d.ts.map +1 -0
  327. package/lib/import/Util.d.ts +1 -0
  328. package/lib/import/Util.d.ts.map +1 -0
  329. package/lib/import/index.d.ts +1 -0
  330. package/lib/import/index.d.ts.map +1 -0
  331. package/lib/index.d.ts +1 -0
  332. package/lib/index.d.ts.map +1 -0
  333. package/lib/model/Types.d.ts +1 -0
  334. package/lib/util/AnnotationUtil.d.ts +1 -1
  335. package/lib/util/AnnotationUtil.d.ts.map +1 -0
  336. package/lib/util/DiUtil.d.ts +1 -1
  337. package/lib/util/DiUtil.d.ts.map +1 -0
  338. package/lib/util/DrilldownUtil.d.ts +1 -1
  339. package/lib/util/DrilldownUtil.d.ts.map +1 -0
  340. package/lib/util/LabelUtil.d.ts +1 -1
  341. package/lib/util/LabelUtil.d.ts.map +1 -0
  342. package/lib/util/ModelUtil.d.ts +1 -1
  343. package/lib/util/ModelUtil.d.ts.map +1 -0
  344. package/lib/util/PoweredByUtil.d.ts +1 -0
  345. package/lib/util/PoweredByUtil.d.ts.map +1 -0
  346. package/package.json +11 -11
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v18.17.0
2
+ * bpmn-js - bpmn-modeler v18.18.0
3
3
  *
4
4
  * Copyright (c) 2014-present, camunda Services GmbH
5
5
  *
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Source Code: https://github.com/bpmn-io/bpmn-js
10
10
  *
11
- * Date: 2026-06-03
11
+ * Date: 2026-06-08
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -16,7 +16,7 @@
16
16
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BpmnJS = factory());
17
17
  })(this, (function () { 'use strict';
18
18
 
19
- function e$2(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}}));}
19
+ function e$3(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}}));}
20
20
 
21
21
  function getDefaultExportFromCjs$1 (x) {
22
22
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -3189,7 +3189,7 @@
3189
3189
  this.FRAME_STYLE = styles.style([ 'no-fill' ], { stroke: 'fuchsia', strokeDasharray: 4, strokeWidth: 2 });
3190
3190
  }
3191
3191
 
3192
- e$2(DefaultRenderer, BaseRenderer);
3192
+ e$3(DefaultRenderer, BaseRenderer);
3193
3193
 
3194
3194
 
3195
3195
  /**
@@ -7073,7 +7073,7 @@
7073
7073
  attacherRefs.bind(this, 'attachers');
7074
7074
  }
7075
7075
 
7076
- e$2(ShapeImpl, ElementImpl);
7076
+ e$3(ShapeImpl, ElementImpl);
7077
7077
 
7078
7078
 
7079
7079
  /**
@@ -7096,7 +7096,7 @@
7096
7096
  parentRefs.bind(this, 'children');
7097
7097
  }
7098
7098
 
7099
- e$2(RootImpl, ShapeImpl);
7099
+ e$3(RootImpl, ShapeImpl);
7100
7100
 
7101
7101
 
7102
7102
  /**
@@ -7119,7 +7119,7 @@
7119
7119
  labelRefs.bind(this, 'labelTarget');
7120
7120
  }
7121
7121
 
7122
- e$2(LabelImpl, ShapeImpl);
7122
+ e$3(LabelImpl, ShapeImpl);
7123
7123
 
7124
7124
 
7125
7125
  /**
@@ -7150,7 +7150,7 @@
7150
7150
  incomingRefs.bind(this, 'target');
7151
7151
  }
7152
7152
 
7153
- e$2(ConnectionImpl, ElementImpl);
7153
+ e$3(ConnectionImpl, ElementImpl);
7154
7154
 
7155
7155
 
7156
7156
  var types$6 = {
@@ -7520,11 +7520,11 @@
7520
7520
  *
7521
7521
  * Returning anything but `undefined` from a listener will stop the listener propagation.
7522
7522
  *
7523
- * @template T
7523
+ * @template {keyof EventMap} EventName
7524
7524
  *
7525
- * @param {string|string[]} events to subscribe to
7525
+ * @param {EventName} events to subscribe to
7526
7526
  * @param {number} [priority=1000] listen priority
7527
- * @param {EventBusEventCallback<T>} callback
7527
+ * @param {EventBusEventCallback<EventMap[EventName]>} callback
7528
7528
  * @param {any} [that] callback context
7529
7529
  */
7530
7530
  /**
@@ -7539,11 +7539,11 @@
7539
7539
  *
7540
7540
  * Returning anything but `undefined` from a listener will stop the listener propagation.
7541
7541
  *
7542
- * @template {keyof EventMap} EventName
7542
+ * @template T
7543
7543
  *
7544
- * @param {EventName} events to subscribe to
7544
+ * @param {string|string[]} events to subscribe to
7545
7545
  * @param {number} [priority=1000] listen priority
7546
- * @param {EventBusEventCallback<EventMap[EventName]>} callback
7546
+ * @param {EventBusEventCallback<T>} callback
7547
7547
  * @param {any} [that] callback context
7548
7548
  */
7549
7549
  EventBus.prototype.on = function(events, priority, callback, that) {
@@ -7587,21 +7587,21 @@
7587
7587
  *
7588
7588
  * Register an event listener that is called only once.
7589
7589
  *
7590
- * @template T
7590
+ * @template {keyof EventMap} EventName
7591
7591
  *
7592
- * @param {string|string[]} events to subscribe to
7593
- * @param {number} [priority=1000] the listen priority
7594
- * @param {EventBusEventCallback<T>} callback
7592
+ * @param {EventName} events to subscribe to
7593
+ * @param {number} [priority=1000] listen priority
7594
+ * @param {EventBusEventCallback<EventMap[EventName]>} callback
7595
7595
  * @param {any} [that] callback context
7596
7596
  */
7597
7597
  /**
7598
7598
  * Register an event listener that is called only once.
7599
7599
  *
7600
- * @template {keyof EventMap} EventName
7600
+ * @template T
7601
7601
  *
7602
- * @param {EventName} events to subscribe to
7603
- * @param {number} [priority=1000] listen priority
7604
- * @param {EventBusEventCallback<EventMap[EventName]>} callback
7602
+ * @param {string|string[]} events to subscribe to
7603
+ * @param {number} [priority=1000] the listen priority
7604
+ * @param {EventBusEventCallback<T>} callback
7605
7605
  * @param {any} [that] callback context
7606
7606
  */
7607
7607
  EventBus.prototype.once = function(events, priority, callback, that) {
@@ -8509,11 +8509,11 @@
8509
8509
  *
8510
8510
  * Resolves a diagram service.
8511
8511
  *
8512
- * @template T
8512
+ * @template {keyof ServiceMap} Name
8513
8513
  *
8514
- * @param {string} name The name of the service to get.
8514
+ * @param {Name} name The name of the service to get.
8515
8515
  *
8516
- * @return {T}
8516
+ * @return {ServiceMap[Name]}
8517
8517
  */
8518
8518
  /**
8519
8519
  * @overlord
@@ -8542,11 +8542,11 @@
8542
8542
  /**
8543
8543
  * Resolves a diagram service.
8544
8544
  *
8545
- * @template {keyof ServiceMap} Name
8545
+ * @template T
8546
8546
  *
8547
- * @param {Name} name The name of the service to get.
8547
+ * @param {string} name The name of the service to get.
8548
8548
  *
8549
- * @return {ServiceMap[Name]}
8549
+ * @return {T}
8550
8550
  */
8551
8551
  Diagram.prototype.get = function(name, strict) {
8552
8552
  return this._injector.get(name, strict);
@@ -17164,7 +17164,7 @@
17164
17164
  /* </project-logo> */
17165
17165
  }
17166
17166
 
17167
- e$2(BaseViewer, Diagram);
17167
+ e$3(BaseViewer, Diagram);
17168
17168
 
17169
17169
  /**
17170
17170
  * Parse and render a BPMN 2.0 diagram.
@@ -17893,7 +17893,7 @@
17893
17893
  }, this);
17894
17894
  }
17895
17895
 
17896
- e$2(BaseModeler, BaseViewer);
17896
+ e$3(BaseModeler, BaseViewer);
17897
17897
 
17898
17898
 
17899
17899
  /**
@@ -20844,7 +20844,7 @@
20844
20844
  }
20845
20845
 
20846
20846
 
20847
- e$2(BpmnRenderer, BaseRenderer);
20847
+ e$3(BpmnRenderer, BaseRenderer);
20848
20848
 
20849
20849
  BpmnRenderer.$inject = [
20850
20850
  'config.bpmnRenderer',
@@ -23542,7 +23542,7 @@
23542
23542
  });
23543
23543
  }
23544
23544
 
23545
- e$2(RootElementsBehavior, CommandInterceptor);
23545
+ e$3(RootElementsBehavior, CommandInterceptor);
23546
23546
 
23547
23547
  RootElementsBehavior.$inject = [ 'canvas', 'injector' ];
23548
23548
 
@@ -24274,7 +24274,7 @@
24274
24274
 
24275
24275
  }
24276
24276
 
24277
- e$2(DrilldownOverlayBehavior, CommandInterceptor);
24277
+ e$3(DrilldownOverlayBehavior, CommandInterceptor);
24278
24278
 
24279
24279
  /**
24280
24280
  * @param {Shape} shape
@@ -25384,7 +25384,7 @@
25384
25384
  BaseViewer.call(this, options);
25385
25385
  }
25386
25386
 
25387
- e$2(Viewer, BaseViewer);
25387
+ e$3(Viewer, BaseViewer);
25388
25388
 
25389
25389
  // modules the viewer is composed of
25390
25390
  Viewer.prototype._modules = [
@@ -26540,7 +26540,7 @@
26540
26540
  Viewer.call(this, options);
26541
26541
  }
26542
26542
 
26543
- e$2(NavigatedViewer, Viewer);
26543
+ e$3(NavigatedViewer, Viewer);
26544
26544
 
26545
26545
 
26546
26546
  NavigatedViewer.prototype._navigationModules = [
@@ -27038,7 +27038,6 @@
27038
27038
  *
27039
27039
  * @param {ContextPadProvider} provider
27040
27040
  */
27041
-
27042
27041
  /**
27043
27042
  * Register a context pad provider with the given priority. See
27044
27043
  * {@link ContextPadProvider} for examples.
@@ -27197,6 +27196,12 @@
27197
27196
  return;
27198
27197
  }
27199
27198
 
27199
+ var allowed = this._eventBus.fire('contextPad.open.allowed', { target: target });
27200
+
27201
+ if (allowed === false) {
27202
+ return;
27203
+ }
27204
+
27200
27205
  this.close();
27201
27206
 
27202
27207
  this._updateAndOpen(target);
@@ -27616,13 +27621,13 @@
27616
27621
  contextPad: [ 'type', ContextPad ]
27617
27622
  };
27618
27623
 
27619
- var n$1,l$1,u$1,i$1,o$1,r$2,f$1,c$1={},s$1=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h$1=Array.isArray;function v$1(n,l){for(var u in l)n[u]=l[u];return n}function p$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$1.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps) void 0===f[r]&&(f[r]=l.defaultProps[r]);return d$1(l,f,i,o,null)}function d$1(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$1:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function g(n){return n.children}function b(n,l){this.props=n,this.context=l;}function m$2(n,l){if(null==l)return n.__?m$2(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?m$2(n):null}function w$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return w$1(n)}}function k$1(n){(!n.__d&&(n.__d=true)&&i$1.push(n)&&!x$1.__r++||o$1!==l$1.debounceRendering)&&((o$1=l$1.debounceRendering)||r$2)(x$1);}function x$1(){var n,u,t,o,r,e,c,s,a;for(i$1.sort(f$1);n=i$1.shift();)n.__d&&(u=i$1.length,o=void 0,e=(r=(t=n).__v).__e,s=[],a=[],(c=t.__P)&&((o=v$1({},r)).__v=r.__v+1,l$1.vnode&&l$1.vnode(o),L(c,o,r,t.__n,void 0!==c.ownerSVGElement,32&r.__u?[e]:null,s,null==e?m$2(r):e,!!(32&r.__u),a),o.__v=r.__v,o.__.__k[o.__i]=o,M(s,o,a),o.__e!=e&&w$1(o)),i$1.length>u&&i$1.sort(f$1));x$1.__r=0;}function C$1(n,l,u,t,i,o,r,f,e,a,h){var v,p,y,d,_,g=t&&t.__k||s$1,b=l.length;for(u.__d=e,P(u,l,g),e=u.__d,v=0;v<b;v++)null!=(y=u.__k[v])&&"boolean"!=typeof y&&"function"!=typeof y&&(p=-1===y.__i?c$1:g[y.__i]||c$1,y.__i=v,L(n,y,p,i,o,r,f,e,a,h),d=y.__e,y.ref&&p.ref!=y.ref&&(p.ref&&z$1(p.ref,null,y),h.push(y.ref,y.__c||d,y)),null==_&&null!=d&&(_=d),65536&y.__u||p.__k===y.__k?e=S(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=_;}function P(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)r=t+a,null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?d$1(null,i,null,null,null):h$1(i)?d$1(g,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?d$1(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=H(i,u,r,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f===r+1?a++:f>r?s>e-r?a+=f-r:a--:f<r?f==r-1&&(a=f-r):a=0,f!==t+a&&(i.__u|=65536))):(o=u[r])&&null==o.key&&o.__e&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=m$2(o)),N(o,o,false),u[r]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=m$2(o)),N(o,o));}function S(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=S(t[i],l,u));return l}n.__e!=l&&(u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8===l.nodeType);return l}function H(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++;}}return -1}function I(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function T(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||I(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||I(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=Date.now(),n.addEventListener(l,o?D$1:A$1,o)):n.removeEventListener(l,o?D$1:A$1,o);else {if(i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&"rowSpan"!==l&&"colSpan"!==l&&"role"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u));}}function A$1(n){if(this.l){var u=this.l[n.type+false];if(n.t){if(n.t<=u.u)return}else n.t=Date.now();return u(l$1.event?l$1.event(n):n)}}function D$1(n){if(this.l)return this.l[n.type+true](l$1.event?l$1.event(n):n)}function L(n,u,t,i,o,r,f,e,c,s){var a,p,y,d,_,m,w,k,x,P,S,$,H,I,T,A=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof A)try{if(k=u.props,x=(a=A.contextType)&&i[a.__c],P=a?x?x.props.value:a.__:i,t.__c?w=(p=u.__c=t.__c).__=p.__E:("prototype"in A&&A.prototype.render?u.__c=p=new A(k,P):(u.__c=p=new b(k,P),p.constructor=A,p.render=O),x&&x.sub(p),p.props=k,p.state||(p.state={}),p.context=P,p.__n=i,y=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=A.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v$1({},p.__s)),v$1(p.__s,A.getDerivedStateFromProps(k,p.__s))),d=p.props,_=p.state,p.__v=u,y)null==A.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else {if(null==A.getDerivedStateFromProps&&k!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,P)||u.__v===t.__v)){for(u.__v!==t.__v&&(p.props=k,p.state=p.__s,p.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u);}),S=0;S<p._sb.length;S++)p.__h.push(p._sb[S]);p._sb=[],p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,P),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(d,_,m);});}if(p.context=P,p.props=k,p.__P=n,p.__e=!1,$=l$1.__r,H=0,"prototype"in A&&A.prototype.render){for(p.state=p.__s,p.__d=!1,$&&$(u),a=p.render(p.props,p.state,p.context),I=0;I<p._sb.length;I++)p.__h.push(p._sb[I]);p._sb=[];}else do{p.__d=!1,$&&$(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(p.__d&&++H<25);p.state=p.__s,null!=p.getChildContext&&(i=v$1(v$1({},i),p.getChildContext())),y||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,_)),C$1(n,h$1(T=null!=a&&a.type===g&&null==a.key?a.props.children:a)?T:[T],u,t,i,o,r,f,e,c,s),p.base=u.__e,u.__u&=-161,p.__h.length&&f.push(p),w&&(p.__E=p.__=null);}catch(n){u.__v=null,c||null!=r?(u.__e=e,u.__u|=c?160:32,r[r.indexOf(e)]=null):(u.__e=t.__e,u.__k=t.__k),l$1.__e(n,u,t);}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=j$1(t.__e,u,t,i,o,r,f,c,s);(a=l$1.diffed)&&a(u);}function M(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)z$1(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function j$1(l,u,t,i,o,r,f,e,s){var a,v,y,d,_,g,b,w=t.props,k=u.props,x=u.type;if("svg"===x&&(o=true),null!=r)for(a=0;a<r.length;a++)if((_=r[a])&&"setAttribute"in _==!!x&&(x?_.localName===x:3===_.nodeType)){l=_,r[a]=null;break}if(null==l){if(null===x)return document.createTextNode(k);l=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),r=null,e=false;}if(null===x)w===k||e&&l.data===k||(l.data=k);else {if(r=r&&n$1.call(l.childNodes),w=t.props||c$1,!e&&null!=r)for(w={},a=0;a<l.attributes.length;a++)w[(_=l.attributes[a]).name]=_.value;for(a in w)_=w[a],"children"==a||("dangerouslySetInnerHTML"==a?y=_:"key"===a||a in k||T(l,a,null,_,o));for(a in k)_=k[a],"children"==a?d=_:"dangerouslySetInnerHTML"==a?v=_:"value"==a?g=_:"checked"==a?b=_:"key"===a||e&&"function"!=typeof _||w[a]===_||T(l,a,_,w[a],o);if(v)e||y&&(v.__html===y.__html||v.__html===l.innerHTML)||(l.innerHTML=v.__html),u.__k=[];else if(y&&(l.innerHTML=""),C$1(l,h$1(d)?d:[d],u,t,i,o&&"foreignObject"!==x,r,f,r?r[0]:t.__k&&m$2(t,0),e,s),null!=r)for(a=r.length;a--;)null!=r[a]&&p$1(r[a]);e||(a="value",void 0!==g&&(g!==l[a]||"progress"===x&&!g||"option"===x&&g!==w[a])&&T(l,a,g,w[a],false),a="checked",void 0!==b&&b!==l[a]&&T(l,a,b,w[a],false));}return l}function z$1(n,u,t){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,t);}}function N(n,u,t){var i,o;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||z$1(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null,n.__c=void 0;}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&N(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||p$1(n.__e),n.__=n.__e=n.__d=void 0;}function O(n,l,u){return this.constructor(n,u)}function q$1(u,t,i){var o,r,f,e;l$1.__&&l$1.__(u,t),r=(o="function"=="undefined")?null:t.__k,f=[],e=[],L(t,u=(t).__k=y$1(g,null,[u]),r||c$1,c$1,void 0!==t.ownerSVGElement,r?null:t.firstChild?n$1.call(t.childNodes):null,f,r?r.__e:t.firstChild,o,e),M(f,u,e);}n$1=s$1.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$1=0,b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v$1({},this.state),"function"==typeof n&&(n=n(v$1({},u),this.props)),n&&v$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),k$1(this));},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=true,n&&this.__h.push(n),k$1(this));},b.prototype.render=g,i$1=[],r$2="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$1=function(n,l){return n.__v.__b-l.__v.__b},x$1.__r=0;
27624
+ var n$1,l$1,u$1,i$1,r$2,o$1,e$2,f$1,c$1,a$1,s$1,h$1,p$1,v$1,d$1={},w$1=[],_$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function m$2(n,l){for(var u in l)n[u]=l[u];return n}function b(n){n&&n.parentNode&&n.parentNode.removeChild(n);}function k$1(l,u,t){var i,r,o,e={};for(o in u)"key"==o?i=u[o]:"ref"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n$1.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps) void 0===e[o]&&(e[o]=l.defaultProps[o]);return x(l,e,i,r,null)}function x(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u$1:o,__i:-1,__u:0};return null==o&&null!=l$1.vnode&&l$1.vnode(e),e}function S(n){return n.children}function C$1(n,l){this.props=n,this.context=l;}function $(n,l){if(null==l)return n.__?$(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?$(n):null}function I(n){if(n.__P&&n.__d){var u=n.__v,t=u.__e,i=[],r=[],o=m$2({},u);o.__v=u.__v+1,l$1.vnode&&l$1.vnode(o),q$1(n.__P,o,u,n.__n,n.__P.namespaceURI,32&u.__u?[t]:null,i,null==t?$(u):t,!!(32&u.__u),r),o.__v=u.__v,o.__.__k[o.__i]=o,D$1(i,o,r),u.__e=u.__=null,o.__e!=t&&P(o);}}function P(n){if(null!=(n=n.__)&&null!=n.__c)return n.__e=n.__c.base=null,n.__k.some(function(l){if(null!=l&&null!=l.__e)return n.__e=n.__c.base=l.__e}),P(n)}function A$1(n){(!n.__d&&(n.__d=true)&&i$1.push(n)&&!H.__r++||r$2!=l$1.debounceRendering)&&((r$2=l$1.debounceRendering)||o$1)(H);}function H(){try{for(var n,l=1;i$1.length;)i$1.length>l&&i$1.sort(e$2),n=i$1.shift(),l=i$1.length,I(n);}finally{i$1.length=H.__r=0;}}function L(n,l,u,t,i,r,o,e,f,c,a){var s,h,p,v,y,_,g,m=t&&t.__k||w$1,b=l.length;for(f=T$1(u,l,m,f,b),s=0;s<b;s++)null!=(p=u.__k[s])&&(h=-1!=p.__i&&m[p.__i]||d$1,p.__i=s,_=q$1(n,p,h,i,r,o,e,f,c,a),v=p.__e,p.ref&&h.ref!=p.ref&&(h.ref&&J(h.ref,null,p),a.push(p.ref,p.__c||v,p)),null==y&&null!=v&&(y=v),(g=!!(4&p.__u))||h.__k===p.__k?(f=j$1(p,f,n,g),g&&h.__e&&(h.__e=null)):"function"==typeof p.type&&void 0!==_?f=_:v&&(f=v.nextSibling),p.__u&=-7);return u.__e=y,f}function T$1(n,l,u,t,i){var r,o,e,f,c,a=u.length,s=a,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?("string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?o=n.__k[r]=x(null,o,null,null,null):g(o)?o=n.__k[r]=x(S,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?o=n.__k[r]=x(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):n.__k[r]=o,f=r+h,o.__=n,o.__b=n.__b+1,e=null,-1!=(c=o.__i=O(o,u,f,s))&&(s--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>a?h--:i<a&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(s)for(r=0;r<a;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=$(e)),K(e,e));return t}function j$1(n,l,u,t){var i,r;if("function"==typeof n.type){for(i=n.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=n,l=j$1(i[r],l,u,t));return l}n.__e!=l&&(t&&(l&&n.type&&!l.parentNode&&(l=$(n)),u.insertBefore(n.__e,l||null)),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function O(n,l,u,t){var i,r,o,e=n.key,f=n.type,c=l[u],a=null!=c&&0==(2&c.__u);if(null===c&&null==e||a&&e==c.key&&f==c.type)return u;if(t>(a?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;)if(null!=(c=l[o=i>=0?i--:r++])&&0==(2&c.__u)&&e==c.key&&f==c.type)return o;return -1}function z$1(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||_$1.test(l)?u:u+"px";}function N(n,l,u,t,i){var r,o;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||z$1(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||z$1(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(s$1,"$1")),o=l.toLowerCase(),l=o in n||"onFocusOut"==l||"onFocusIn"==l?o.slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u[a$1]=t[a$1]:(u[a$1]=h$1,n.addEventListener(l,r?v$1:p$1,r)):n.removeEventListener(l,r?v$1:p$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function V(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u[c$1])u[c$1]=h$1++;else if(u[c$1]<t[a$1])return;return t(l$1.event?l$1.event(u):u)}}}function q$1(n,u,t,i,r,o,e,f,c,a){var s,h,p,v,y,d,_,k,x,M,$,I,P,A,H,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(s=l$1.__b)&&s(u);n:if("function"==typeof T)try{if(k=u.props,x=T.prototype&&T.prototype.render,M=(s=T.contextType)&&i[s.__c],$=s?M?M.props.value:s.__:i,t.__c?_=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(k,$):(u.__c=h=new C$1(k,$),h.constructor=T,h.render=Q),M&&M.sub(h),h.state||(h.state={}),h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=m$2({},h.__s)),m$2(h.__s,T.getDerivedStateFromProps(k,h.__s))),v=h.props,y=h.state,h.__v=u,p)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(x&&null==T.getDerivedStateFromProps&&k!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(k,$),u.__v==t.__v||!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(k,h.__s,$)){u.__v!=t.__v&&(h.props=k,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),w$1.push.apply(h.__h,h._sb),h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(k,h.__s,$),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,d);});}if(h.context=$,h.props=k,h.__P=n,h.__e=!1,I=l$1.__r,P=0,x)h.state=h.__s,h.__d=!1,I&&I(u),s=h.render(h.props,h.state,h.context),w$1.push.apply(h.__h,h._sb),h._sb=[];else do{h.__d=!1,I&&I(u),s=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++P<25);h.state=h.__s,null!=h.getChildContext&&(i=m$2(m$2({},i),h.getChildContext())),x&&!p&&null!=h.getSnapshotBeforeUpdate&&(d=h.getSnapshotBeforeUpdate(v,y)),A=null!=s&&s.type===S&&null==s.key?E(s.props.children):s,f=L(n,g(A)?A:[A],u,t,i,r,o,e,f,c,a),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),_&&(h.__E=h.__=null);}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f;}else {for(H=o.length;H--;)b(o[H]);B$1(u);}else u.__e=t.__e,u.__k=t.__k,n.then||B$1(u);l$1.__e(n,u,t);}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=G(t.__e,u,t,i,r,o,e,c,a);return (s=l$1.diffed)&&s(u),128&u.__u?void 0:f}function B$1(n){n&&(n.__c&&(n.__c.__e=true),n.__k&&n.__k.some(B$1));}function D$1(n,u,t){for(var i=0;i<t.length;i++)J(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function E(n){return "object"!=typeof n||null==n||n.__b>0?n:g(n)?n.map(E):void 0!==n.constructor?null:m$2({},n)}function G(u,t,i,r,o,e,f,c,a){var s,h,p,v,y,w,_,m=i.props||d$1,k=t.props,x=t.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(s=0;s<e.length;s++)if((y=e[s])&&"setAttribute"in y==!!x&&(x?y.localName==x:3==y.nodeType)){u=y,e[s]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l$1.__m&&l$1.__m(t,e),c=false),e=null;}if(null==x)m===k||c&&u.data==k||(u.data=k);else {if(e="textarea"==x&&null!=k.defaultValue?null:e&&n$1.call(u.childNodes),!c&&null!=e)for(m={},s=0;s<u.attributes.length;s++)m[(y=u.attributes[s]).name]=y.value;for(s in m)y=m[s],"dangerouslySetInnerHTML"==s?p=y:"children"==s||s in k||"value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k||N(u,s,null,y,o);for(s in k)y=k[s],"children"==s?v=y:"dangerouslySetInnerHTML"==s?h=y:"value"==s?w=y:"checked"==s?_=y:c&&"function"!=typeof y||m[s]===y||N(u,s,y,m[s],o);if(h)c||p&&(h.__html==p.__html||h.__html==u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(p&&(u.innerHTML=""),L("template"==t.type?u.content:u,g(v)?v:[v],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&$(i,0),c,a),null!=e)for(s=e.length;s--;)b(e[s]);c&&"textarea"!=x||(s="value","progress"==x&&null==w?u.removeAttribute("value"):null!=w&&(w!==u[s]||"progress"==x&&!w||"option"==x&&w!=m[s])&&N(u,s,w,m[s],o),s="checked",null!=_&&_!=u[s]&&N(u,s,_,m[s],o));}return u}function J(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u));}else n.current=u;}catch(n){l$1.__e(n,t);}}function K(n,u,t){var i,r;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||J(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null;}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&K(i[r],u,t||"function"!=typeof n.type);t||b(n.__e),n.__c=n.__=n.__e=void 0;}function Q(n,l,u){return this.constructor(n,u)}function R(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l$1.__&&l$1.__(u,t),o=(r="function"=="undefined")?null:t.__k,e=[],f=[],q$1(t,u=(t).__k=k$1(S,null,[u]),o||d$1,d$1,t.namespaceURI,o?null:t.firstChild?n$1.call(t.childNodes):null,e,o?o.__e:t.firstChild,r,f),D$1(e,u,f);}n$1=w$1.slice,l$1={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l;}throw n}},u$1=0,C$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=m$2({},this.state),"function"==typeof n&&(n=n(m$2({},u),this.props)),n&&m$2(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),A$1(this));},C$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=true,n&&this.__h.push(n),A$1(this));},C$1.prototype.render=S,i$1=[],o$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e$2=function(n,l){return n.__v.__b-l.__v.__b},H.__r=0,f$1=Math.random().toString(8),c$1="__d"+f$1,a$1="__a"+f$1,s$1=/(PointerCapture)$|Capture$/i,h$1=0,p$1=V(false),v$1=V(true);
27620
27625
 
27621
27626
  var n=function(t,s,r,e){var u;s[0]=0;for(var h=1;h<s.length;h++){var p=s[h++],a=s[h]?(s[0]|=p?1:2,r[s[h++]]):s[++h];3===p?e[0]=a:4===p?e[1]=Object.assign(e[1]||{},a):5===p?(e[1]=e[1]||{})[s[++h]]=a:6===p?e[1][s[++h]]+=a+"":p?(u=t.apply(a,n(t,a,r,["",null])),e.push(u),a[0]?s[0]|=2:(s[h-2]=0,s[h]=u)):e.push(a);}return e},t$1=new Map;function e$1(s){var r=t$1.get(this);return r||(r=new Map,t$1.set(this,r)),(r=n(this,r.get(s)||(r.set(s,r=function(n){for(var t,s,r=1,e="",u="",h=[0],p=function(n){1===r&&(n||(e=e.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?h.push(0,n,e):3===r&&(n||e)?(h.push(3,n,e),r=2):2===r&&"..."===e&&n?h.push(4,n,0):2===r&&e&&!n?h.push(5,0,true,e):r>=5&&((e||!n&&5===r)&&(h.push(r,0,e,s),r=6),n&&(h.push(r,n,0,s),r=6)),e="";},a=0;a<n.length;a++){a&&(1===r&&p(),p(a));for(var l=0;l<n[a].length;l++)t=n[a][l],1===r?"<"===t?(p(),h=[h],r=3):e+=t:4===r?"--"===e&&">"===t?(r=1,e=""):e=t+e[0]:u?t===u?u="":e+=t:'"'===t||"'"===t?u=t:">"===t?(p(),r=1):r&&("="===t?(r=5,s=e,e=""):"/"===t&&(r<5||">"===n[a][l+1])?(p(),3===r&&(h=h[0]),r=h,(h=h[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(p(),r=2):e+=t),3===r&&"!--"===e&&(r=4,h=h[0]);}return p(),h}(s)),r),arguments,[])).length>1?r:r[0]}
27622
27627
 
27623
- var m$1=e$1.bind(y$1);
27628
+ var m$1=e$1.bind(k$1);
27624
27629
 
27625
- var t,r$1,u,i,o=0,f=[],c=[],e=l$1,a=e.__b,v=e.__r,l=e.diffed,m=e.__c,s=e.unmount,d=e.__;function h(n,t){e.__h&&e.__h(r$1,n,o||t),o=0;var u=r$1.__H||(r$1.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({__V:c}),u.__[n]}function p(n){return o=1,y(D,n)}function y(n,u,i){var o=h(t++,2);if(o.t=n,!o.__c&&(o.__=[D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r$1,!r$1.u)){var f=function(n,t,r){if(!o.__c.__H)return true;var u=o.__c.__H.__.filter(function(n){return !!n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=false;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=true);}}),!(!i&&o.__c.props===n)&&(!c||c.call(this,n,t,r))};r$1.u=true;var c=r$1.shouldComponentUpdate,e=r$1.componentWillUpdate;r$1.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r$1.shouldComponentUpdate=f;}return o.__N||o.__}function _(n,u){var i=h(t++,3);!e.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r$1.__H.__h.push(i));}function A(n,u){var i=h(t++,4);!e.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r$1.__h.push(i));}function F(n){return o=5,q(function(){return {current:n}},[])}function q(n,r){var u=h(t++,7);return C(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function x(n,t){return o=8,q(function(){return n},t)}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[];}catch(t){n.__H.__h=[],e.__e(t,n.__v);}}e.__b=function(n){r$1=null,a&&a(n);},e.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),d&&d(n,t);},e.__r=function(n){v&&v(n),t=0;var i=(r$1=n.__c).__H;i&&(u===r$1?(i.__h=[],r$1.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r$1;},e.diffed=function(n){l&&l(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===e.requestAnimationFrame||((i=e.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r$1=null;},e.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return !n.__||B(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],e.__e(r,n.__v);}}),m&&m(n,t);},e.unmount=function(n){s&&s(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&e.__e(t,r.__v));};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);k&&(t=requestAnimationFrame(r));}function z(n){var t=r$1,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r$1=t;}function B(n){var t=r$1;n.__c=n.__(),r$1=t;}function C(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return "function"==typeof t?t(n):t}
27630
+ var t,r$1,u,i,o=0,f=[],c=l$1,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function p(n,t){c.__h&&c.__h(r$1,n,o||t),o=0;var u=r$1.__H||(r$1.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,h(D,n)}function h(n,u,i){var o=p(t++,2);if(o.t=n,!o.__c&&(o.__=[D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r$1,!r$1.__f)){var f=function(n,t,r){if(!o.__c.__H)return true;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.some(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=true);}}),c&&c.call(this,n,t,r)||i};r$1.__f=true;var c=r$1.shouldComponentUpdate,e=r$1.componentWillUpdate;r$1.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r$1.shouldComponentUpdate=f;}return o.__N||o.__}function y(n,u){var i=p(t++,3);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r$1.__H.__h.push(i));}function _(n,u){var i=p(t++,4);!c.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r$1.__h.push(i));}function A(n){return o=5,T(function(){return {current:n}},[])}function T(n,r){var u=p(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function j(){for(var n;n=f.shift();){var t=n.__H;if(n.__P&&t)try{t.__h.some(z),t.__h.some(B),t.__h=[];}catch(r){t.__h=[],c.__e(r,n.__v);}}}c.__b=function(n){r$1=null,e&&e(n);},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},c.__r=function(n){a&&a(n),t=0;var i=(r$1=n.__c).__H;i&&(u===r$1?(i.__h=[],r$1.__h=[],i.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0;})):(i.__h.some(z),i.__h.some(B),i.__h=[],t=0)),u=r$1;},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w)(j)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0;})),u=r$1=null;},c.__c=function(n,t){t.some(function(n){try{n.__h.some(z),n.__h=n.__h.filter(function(n){return !n.__||B(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],c.__e(r,n.__v);}}),l&&l(n,t);},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.some(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&c.__e(t,r.__v));};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,35);k&&(t=requestAnimationFrame(r));}function z(n){var t=r$1,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r$1=t;}function B(n){var t=r$1;n.__c=n.__(),r$1=t;}function C(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return "function"==typeof t?t(n):t}
27626
27631
 
27627
27632
  /**
27628
27633
  * @typedef {import('./PopupMenuProvider').PopupMenuStepEntry} PopupMenuStepEntry
@@ -27641,7 +27646,7 @@
27641
27646
  setNavigationStack
27642
27647
  } = props;
27643
27648
 
27644
- const breadcrumbs = q(() => {
27649
+ const breadcrumbs = T(() => {
27645
27650
  if (navigationStack.length <= 1) {
27646
27651
  return [];
27647
27652
  }
@@ -27716,7 +27721,7 @@
27716
27721
  title
27717
27722
  } = props;
27718
27723
 
27719
- const groups = q(() => groupEntries$1(headerEntries), [ headerEntries ]);
27724
+ const groups = T(() => groupEntries$1(headerEntries), [ headerEntries ]);
27720
27725
 
27721
27726
  const isActionable = (entry) => {
27722
27727
  return entry.action && !entry.disabled;
@@ -27911,10 +27916,10 @@
27911
27916
  ...restProps
27912
27917
  } = props;
27913
27918
 
27914
- const resultsRef = F();
27919
+ const resultsRef = A();
27915
27920
 
27916
27921
  // scroll to selected result
27917
- A(() => {
27922
+ _(() => {
27918
27923
  const containerEl = resultsRef.current;
27919
27924
 
27920
27925
  if (!containerEl)
@@ -28022,22 +28027,22 @@
28022
28027
  *
28023
28028
  * @type {[ PopupMenuStepEntry[], (stack: PopupMenuStepEntry[] | ((stack: PopupMenuStepEntry[]) => PopupMenuStepEntry[])) => void ]}
28024
28029
  */
28025
- const [ navigationStack, setNavigationStack ] = p([]);
28030
+ const [ navigationStack, setNavigationStack ] = d([]);
28026
28031
 
28027
28032
  /**
28028
28033
  * On `PopupMenu#refresh()` (i.e. when `entries` change)
28029
28034
  * the stack is reset to root.
28030
28035
  */
28031
- _(() => {
28036
+ y(() => {
28032
28037
  setNavigationStack([]);
28033
28038
  }, [ entries ]);
28034
28039
 
28035
- const [ searchValue, setSearchValue ] = p('');
28040
+ const [ searchValue, setSearchValue ] = d('');
28036
28041
  const isSearching = searchValue.trim().length > 0;
28037
28042
 
28038
- const actionableEntries = q(() => getActionableEntries(entries), [ entries ]);
28043
+ const actionableEntries = T(() => getActionableEntries(entries), [ entries ]);
28039
28044
 
28040
- const searchable = q(() => {
28045
+ const searchable = T(() => {
28041
28046
  if (!isDefined(search)) {
28042
28047
  return false;
28043
28048
  }
@@ -28045,7 +28050,7 @@
28045
28050
  return actionableEntries.length > 5;
28046
28051
  }, [ search, actionableEntries ]);
28047
28052
 
28048
- const entriesToShow = q(() => {
28053
+ const entriesToShow = T(() => {
28049
28054
 
28050
28055
  const availableEntries = navigationStack.length
28051
28056
  ? navigationStack[navigationStack.length - 1].entries
@@ -28064,7 +28069,7 @@
28064
28069
  return availableEntries.filter(({ rank = 0 }) => rank >= 0);
28065
28070
  }, [ searchable, isSearching, actionableEntries, searchValue, searchFn, navigationStack, entries ]);
28066
28071
 
28067
- const groupedEntries = q(() => {
28072
+ const groupedEntries = T(() => {
28068
28073
  if (isSearching) {
28069
28074
  return entriesToShow.length ? [ { id: 'default', entries: entriesToShow } ] : [];
28070
28075
  }
@@ -28072,10 +28077,10 @@
28072
28077
  return groupEntries(entriesToShow);
28073
28078
  }, [ entriesToShow, isSearching ]);
28074
28079
 
28075
- const [ selectedEntry, setSelectedEntry ] = p(entriesToShow[0]);
28076
- const restoreSelection = F(null);
28080
+ const [ selectedEntry, setSelectedEntry ] = d(entriesToShow[0]);
28081
+ const restoreSelection = A(null);
28077
28082
 
28078
- _(() => {
28083
+ y(() => {
28079
28084
  const restore = restoreSelection.current;
28080
28085
 
28081
28086
  if (restore && entriesToShow.includes(restore)) {
@@ -28088,7 +28093,7 @@
28088
28093
  }, [ entriesToShow ]);
28089
28094
 
28090
28095
  // handle keyboard selection
28091
- const keyboardSelect = x(direction => {
28096
+ const keyboardSelect = q(direction => {
28092
28097
  const entries = getOrderedEntries(groupedEntries);
28093
28098
  const idx = entries.indexOf(selectedEntry);
28094
28099
 
@@ -28105,7 +28110,7 @@
28105
28110
  setSelectedEntry(entries[nextIdx]);
28106
28111
  }, [ groupedEntries, selectedEntry ]);
28107
28112
 
28108
- const keyboardDrilldown = x((direction) => {
28113
+ const keyboardDrilldown = q((direction) => {
28109
28114
  if (direction > 0 && selectedEntry && selectedEntry.entries) {
28110
28115
  setNavigationStack(stack => [ ...stack, selectedEntry ]);
28111
28116
  }
@@ -28116,7 +28121,7 @@
28116
28121
  }
28117
28122
  }, [ selectedEntry, navigationStack ]);
28118
28123
 
28119
- const handleEntryAction = x((event, entry, action) => {
28124
+ const handleEntryAction = q((event, entry, action) => {
28120
28125
  if (!entry || entry.disabled) {
28121
28126
  return;
28122
28127
  }
@@ -28129,7 +28134,7 @@
28129
28134
  return onSelect(event, entry, action);
28130
28135
  }, [ onSelect, keyboardDrilldown ]);
28131
28136
 
28132
- const handleKeyDown = x(event => {
28137
+ const handleKeyDown = q(event => {
28133
28138
  if (event.key === 'Enter' && selectedEntry) {
28134
28139
  if (selectedEntry.disabled) {
28135
28140
  return;
@@ -28176,13 +28181,13 @@
28176
28181
  }
28177
28182
  }, [ selectedEntry, keyboardSelect, keyboardDrilldown, handleEntryAction ]);
28178
28183
 
28179
- const handleKey = x(event => {
28184
+ const handleKey = q(event => {
28180
28185
  if (matches(event.target, 'input')) {
28181
28186
  setSearchValue(() => event.target.value);
28182
28187
  }
28183
28188
  }, [ setSearchValue ]);
28184
28189
 
28185
- _(() => {
28190
+ y(() => {
28186
28191
  onOpened();
28187
28192
 
28188
28193
  return () => {
@@ -28266,10 +28271,10 @@
28266
28271
  position: positionGetter
28267
28272
  } = props;
28268
28273
 
28269
- const popupRef = F();
28274
+ const popupRef = A();
28270
28275
 
28271
28276
  // initial position
28272
- A(() => {
28277
+ _(() => {
28273
28278
  if (typeof positionGetter !== 'function') {
28274
28279
  return;
28275
28280
  }
@@ -28282,7 +28287,7 @@
28282
28287
  }, [ popupRef.current, positionGetter ]);
28283
28288
 
28284
28289
  // initial focus
28285
- A(() => {
28290
+ _(() => {
28286
28291
  const popupEl = popupRef.current;
28287
28292
 
28288
28293
  if (!popupEl) {
@@ -28295,7 +28300,7 @@
28295
28300
  }, []);
28296
28301
 
28297
28302
  // global <Escape> / blur handlers
28298
- _(() => {
28303
+ y(() => {
28299
28304
  const handleKeyDown = event => {
28300
28305
  if (event.key === 'Escape') {
28301
28306
  event.preventDefault();
@@ -28315,11 +28320,14 @@
28315
28320
  };
28316
28321
 
28317
28322
  document.documentElement.addEventListener('keydown', handleKeyDown);
28318
- document.body.addEventListener('click', handleClick);
28323
+
28324
+ // use capture phase so containment is evaluated before an entry
28325
+ // or the popup menu is potentially unmounted
28326
+ document.body.addEventListener('click', handleClick, true);
28319
28327
 
28320
28328
  return () => {
28321
28329
  document.documentElement.removeEventListener('keydown', handleKeyDown);
28322
- document.body.removeEventListener('click', handleClick);
28330
+ document.body.removeEventListener('click', handleClick, true);
28323
28331
  };
28324
28332
  }, []);
28325
28333
 
@@ -28527,7 +28535,7 @@
28527
28535
  const onClose = result => this.close(result);
28528
28536
  const onSelect = (event, entry, action) => this.trigger(event, entry, action);
28529
28537
 
28530
- q$1(
28538
+ R(
28531
28539
  m$1`
28532
28540
  <${PopupMenuComponent}
28533
28541
  onClose=${ onClose }
@@ -28570,6 +28578,15 @@
28570
28578
  throw new Error('position is missing');
28571
28579
  }
28572
28580
 
28581
+ var allowed = this._eventBus.fire('popupMenu.open.allowed', {
28582
+ target: target,
28583
+ providerId: providerId
28584
+ });
28585
+
28586
+ if (allowed === false) {
28587
+ return;
28588
+ }
28589
+
28573
28590
  if (this.isOpen()) {
28574
28591
  this.close();
28575
28592
  }
@@ -28673,7 +28690,7 @@
28673
28690
  PopupMenu.prototype.reset = function() {
28674
28691
  const container = this._current.container;
28675
28692
 
28676
- q$1(null, container);
28693
+ R(null, container);
28677
28694
 
28678
28695
  remove$2(container);
28679
28696
  };
@@ -28831,7 +28848,6 @@
28831
28848
  * @param {string} id
28832
28849
  * @param {PopupMenuProvider} provider
28833
28850
  */
28834
-
28835
28851
  /**
28836
28852
  * Register a popup menu provider with the given priority. See
28837
28853
  * {@link PopupMenuProvider} for examples.
@@ -29721,7 +29737,7 @@
29721
29737
 
29722
29738
  RuleProvider.$inject = [ 'eventBus' ];
29723
29739
 
29724
- e$2(RuleProvider, CommandInterceptor);
29740
+ e$3(RuleProvider, CommandInterceptor);
29725
29741
 
29726
29742
 
29727
29743
  /**
@@ -29806,7 +29822,7 @@
29806
29822
 
29807
29823
  BpmnAlignElements.$inject = [ 'eventBus' ];
29808
29824
 
29809
- e$2(BpmnAlignElements, RuleProvider);
29825
+ e$3(BpmnAlignElements, RuleProvider);
29810
29826
 
29811
29827
  BpmnAlignElements.prototype.init = function() {
29812
29828
  this.addRule('elements.align', function(context) {
@@ -30714,7 +30730,7 @@
30714
30730
  'rules'
30715
30731
  ];
30716
30732
 
30717
- e$2(AutoResize, CommandInterceptor);
30733
+ e$3(AutoResize, CommandInterceptor);
30718
30734
 
30719
30735
 
30720
30736
  /**
@@ -30903,7 +30919,7 @@
30903
30919
  'injector'
30904
30920
  ];
30905
30921
 
30906
- e$2(BpmnAutoResize, AutoResize);
30922
+ e$3(BpmnAutoResize, AutoResize);
30907
30923
 
30908
30924
  /**
30909
30925
  * Perform BPMN-specific resizing of participants.
@@ -30946,7 +30962,7 @@
30946
30962
 
30947
30963
  AutoResizeProvider.$inject = [ 'eventBus' ];
30948
30964
 
30949
- e$2(AutoResizeProvider, RuleProvider);
30965
+ e$3(AutoResizeProvider, RuleProvider);
30950
30966
 
30951
30967
  /**
30952
30968
  * Needs to be implemented by sub classes to allow actual auto resize
@@ -30979,7 +30995,7 @@
30979
30995
  this._modeling = modeling;
30980
30996
  }
30981
30997
 
30982
- e$2(BpmnAutoResizeProvider, AutoResizeProvider);
30998
+ e$3(BpmnAutoResizeProvider, AutoResizeProvider);
30983
30999
 
30984
31000
  BpmnAutoResizeProvider.$inject = [
30985
31001
  'eventBus',
@@ -31711,7 +31727,10 @@
31711
31727
  eventBus.on('element.out', out);
31712
31728
  }
31713
31729
 
31714
- fire('init');
31730
+ if (fire('init') === false) {
31731
+ cancel();
31732
+ return false;
31733
+ }
31715
31734
 
31716
31735
  if (options.autoActivate) {
31717
31736
  move(event$1, true);
@@ -32518,14 +32537,19 @@
32518
32537
 
32519
32538
  threshold = calculateIntersectionThreshold(connection, intersection);
32520
32539
 
32540
+ var result;
32541
+
32521
32542
  if (isIntersectionMiddle(intersection, waypoints, threshold)) {
32522
- connectionSegmentMove.start(event, connection, intersection.index);
32543
+ result = connectionSegmentMove.start(event, connection, intersection.index);
32523
32544
  } else {
32524
- bendpointMove.start(event, connection, intersection.index, !intersection.bendpoint);
32545
+ result = bendpointMove.start(event, connection, intersection.index, !intersection.bendpoint);
32525
32546
  }
32526
32547
 
32527
- // we've handled the event
32528
- return true;
32548
+ // stop event propagation to avoid dragging from being handled by other
32549
+ // features
32550
+ if (result !== false) {
32551
+ return true;
32552
+ }
32529
32553
  }
32530
32554
 
32531
32555
  function bindInteractionEvents(node, eventName, element) {
@@ -32767,14 +32791,9 @@
32767
32791
 
32768
32792
  if (element.waypoints) {
32769
32793
  addHandles(element);
32770
- interactionEvents.registerEvent(event.gfx, 'mousemove', 'element.mousemove');
32771
32794
  }
32772
32795
  });
32773
32796
 
32774
- eventBus.on('element.out', function(event) {
32775
- interactionEvents.unregisterEvent(event.gfx, 'mousemove', 'element.mousemove');
32776
- });
32777
-
32778
32797
  // update bendpoint container data attribute on element ID change
32779
32798
  eventBus.on('element.updateId', function(context) {
32780
32799
  var element = context.element,
@@ -32878,7 +32897,7 @@
32878
32897
  return;
32879
32898
  }
32880
32899
 
32881
- dragging.init(event, 'bendpoint.move', {
32900
+ return dragging.init(event, 'bendpoint.move', {
32882
32901
  data: {
32883
32902
  connection: connection,
32884
32903
  connectionGfx: gfx,
@@ -33416,7 +33435,7 @@
33416
33435
  dragPosition: dragPosition
33417
33436
  };
33418
33437
 
33419
- dragging.init(event, dragPosition, 'connectionSegment.move', {
33438
+ return dragging.init(event, dragPosition, 'connectionSegment.move', {
33420
33439
  cursor: axis === 'x' ? 'resize-ew' : 'resize-ns',
33421
33440
  data: {
33422
33441
  connection: connection,
@@ -35207,7 +35226,7 @@
35207
35226
 
35208
35227
  }
35209
35228
 
35210
- e$2(AdaptiveLabelPositioningBehavior, CommandInterceptor);
35229
+ e$3(AdaptiveLabelPositioningBehavior, CommandInterceptor);
35211
35230
 
35212
35231
  AdaptiveLabelPositioningBehavior.$inject = [
35213
35232
  'eventBus',
@@ -35359,7 +35378,7 @@
35359
35378
  }, true);
35360
35379
  }
35361
35380
 
35362
- e$2(AppendBehavior, CommandInterceptor);
35381
+ e$3(AppendBehavior, CommandInterceptor);
35363
35382
 
35364
35383
  AppendBehavior.$inject = [
35365
35384
  'eventBus'
@@ -35461,7 +35480,7 @@
35461
35480
 
35462
35481
  }
35463
35482
 
35464
- e$2(ArtifactBehavior, CommandInterceptor);
35483
+ e$3(ArtifactBehavior, CommandInterceptor);
35465
35484
 
35466
35485
  ArtifactBehavior.$inject = [
35467
35486
  'injector',
@@ -35495,7 +35514,7 @@
35495
35514
  }, true);
35496
35515
  }
35497
35516
 
35498
- e$2(AssociationBehavior, CommandInterceptor);
35517
+ e$3(AssociationBehavior, CommandInterceptor);
35499
35518
 
35500
35519
  AssociationBehavior.$inject = [
35501
35520
  'injector',
@@ -35567,7 +35586,7 @@
35567
35586
  'injector'
35568
35587
  ];
35569
35588
 
35570
- e$2(AttachEventBehavior, CommandInterceptor);
35589
+ e$3(AttachEventBehavior, CommandInterceptor);
35571
35590
 
35572
35591
  AttachEventBehavior.prototype._replaceShape = function(shape, host) {
35573
35592
  var eventDefinition = getEventDefinition$1(shape);
@@ -35662,7 +35681,7 @@
35662
35681
  'modeling'
35663
35682
  ];
35664
35683
 
35665
- e$2(BoundaryEventBehavior, CommandInterceptor);
35684
+ e$3(BoundaryEventBehavior, CommandInterceptor);
35666
35685
 
35667
35686
  /**
35668
35687
  * @typedef {import('diagram-js/lib/core/EventBus').default} EventBus
@@ -35856,7 +35875,7 @@
35856
35875
  }
35857
35876
  }
35858
35877
 
35859
- e$2(CompensateBoundaryEventBehavior, CommandInterceptor);
35878
+ e$3(CompensateBoundaryEventBehavior, CommandInterceptor);
35860
35879
 
35861
35880
  CompensateBoundaryEventBehavior.$inject = [
35862
35881
  'eventBus',
@@ -35905,7 +35924,7 @@
35905
35924
 
35906
35925
  CreateBehavior.$inject = [ 'injector' ];
35907
35926
 
35908
- e$2(CreateBehavior, CommandInterceptor);
35927
+ e$3(CreateBehavior, CommandInterceptor);
35909
35928
 
35910
35929
  /**
35911
35930
  * @typedef {import('diagram-js/lib/core/EventBus').default} EventBus
@@ -35947,7 +35966,7 @@
35947
35966
  'bpmnFactory'
35948
35967
  ];
35949
35968
 
35950
- e$2(CreateDataObjectBehavior, CommandInterceptor);
35969
+ e$3(CreateDataObjectBehavior, CommandInterceptor);
35951
35970
 
35952
35971
  /**
35953
35972
  * @typedef {import('diagram-js/lib/core/Canvas').default} Canvas
@@ -36131,7 +36150,7 @@
36131
36150
  'modeling'
36132
36151
  ];
36133
36152
 
36134
- e$2(CreateParticipantBehavior, CommandInterceptor);
36153
+ e$3(CreateParticipantBehavior, CommandInterceptor);
36135
36154
 
36136
36155
  // helpers //////////
36137
36156
 
@@ -36294,7 +36313,7 @@
36294
36313
  'bpmnFactory'
36295
36314
  ];
36296
36315
 
36297
- e$2(DataInputAssociationBehavior, CommandInterceptor);
36316
+ e$3(DataInputAssociationBehavior, CommandInterceptor);
36298
36317
 
36299
36318
 
36300
36319
  /**
@@ -36546,7 +36565,7 @@
36546
36565
  'eventBus',
36547
36566
  ];
36548
36567
 
36549
- e$2(DataStoreBehavior, CommandInterceptor);
36568
+ e$3(DataStoreBehavior, CommandInterceptor);
36550
36569
 
36551
36570
 
36552
36571
  // helpers //////////
@@ -37120,7 +37139,7 @@
37120
37139
  'spaceTool'
37121
37140
  ];
37122
37141
 
37123
- e$2(DeleteLaneBehavior, CommandInterceptor);
37142
+ e$3(DeleteLaneBehavior, CommandInterceptor);
37124
37143
 
37125
37144
  /**
37126
37145
  * @typedef {import('../../replace/BpmnReplace').default} BpmnReplace
@@ -37176,7 +37195,7 @@
37176
37195
  'injector'
37177
37196
  ];
37178
37197
 
37179
- e$2(DetachEventBehavior, CommandInterceptor);
37198
+ e$3(DetachEventBehavior, CommandInterceptor);
37180
37199
 
37181
37200
  DetachEventBehavior.prototype._replaceShape = function(shape) {
37182
37201
  var eventDefinition = getEventDefinition(shape),
@@ -37393,7 +37412,7 @@
37393
37412
  }, true);
37394
37413
  }
37395
37414
 
37396
- e$2(DropOnFlowBehavior, CommandInterceptor);
37415
+ e$3(DropOnFlowBehavior, CommandInterceptor);
37397
37416
 
37398
37417
  DropOnFlowBehavior.$inject = [
37399
37418
  'eventBus',
@@ -37516,7 +37535,7 @@
37516
37535
  'modeling'
37517
37536
  ];
37518
37537
 
37519
- e$2(EventBasedGatewayBehavior, CommandInterceptor);
37538
+ e$3(EventBasedGatewayBehavior, CommandInterceptor);
37520
37539
 
37521
37540
  // helpers //////////
37522
37541
 
@@ -38050,7 +38069,7 @@
38050
38069
  'moddleCopy'
38051
38070
  ];
38052
38071
 
38053
- e$2(GroupBehavior, CommandInterceptor);
38072
+ e$3(GroupBehavior, CommandInterceptor);
38054
38073
 
38055
38074
  /**
38056
38075
  * @typedef {import('diagram-js/lib/util/Types').Point} Point
@@ -38212,7 +38231,7 @@
38212
38231
 
38213
38232
  IsHorizontalFix.$inject = [ 'eventBus' ];
38214
38233
 
38215
- e$2(IsHorizontalFix, CommandInterceptor);
38234
+ e$3(IsHorizontalFix, CommandInterceptor);
38216
38235
 
38217
38236
  /**
38218
38237
  * @typedef {import('diagram-js/lib/util/Types').Point} Point
@@ -39083,7 +39102,7 @@
39083
39102
 
39084
39103
  }
39085
39104
 
39086
- e$2(LabelBehavior, CommandInterceptor);
39105
+ e$3(LabelBehavior, CommandInterceptor);
39087
39106
 
39088
39107
  LabelBehavior.$inject = [
39089
39108
  'eventBus',
@@ -39329,7 +39348,7 @@
39329
39348
 
39330
39349
  }
39331
39350
 
39332
- e$2(LayoutConnectionBehavior, CommandInterceptor);
39351
+ e$3(LayoutConnectionBehavior, CommandInterceptor);
39333
39352
 
39334
39353
  LayoutConnectionBehavior.$inject = [
39335
39354
  'eventBus',
@@ -39494,7 +39513,7 @@
39494
39513
 
39495
39514
  MessageFlowBehavior.$inject = [ 'eventBus', 'modeling' ];
39496
39515
 
39497
- e$2(MessageFlowBehavior, CommandInterceptor);
39516
+ e$3(MessageFlowBehavior, CommandInterceptor);
39498
39517
 
39499
39518
  // helpers //////////
39500
39519
 
@@ -39600,7 +39619,7 @@
39600
39619
 
39601
39620
  NonInterruptingBehavior.$inject = [ 'injector', 'modeling' ];
39602
39621
 
39603
- e$2(NonInterruptingBehavior, CommandInterceptor);
39622
+ e$3(NonInterruptingBehavior, CommandInterceptor);
39604
39623
 
39605
39624
  /**
39606
39625
  * @typedef {import('diagram-js/lib/core/EventBus').default} EventBus
@@ -39632,7 +39651,7 @@
39632
39651
  }, true);
39633
39652
  }
39634
39653
 
39635
- e$2(RemoveEmbeddedLabelBoundsBehavior, CommandInterceptor);
39654
+ e$3(RemoveEmbeddedLabelBoundsBehavior, CommandInterceptor);
39636
39655
 
39637
39656
  RemoveEmbeddedLabelBoundsBehavior.$inject = [
39638
39657
  'eventBus',
@@ -39687,7 +39706,7 @@
39687
39706
 
39688
39707
  }
39689
39708
 
39690
- e$2(RemoveElementBehavior, CommandInterceptor);
39709
+ e$3(RemoveElementBehavior, CommandInterceptor);
39691
39710
 
39692
39711
  RemoveElementBehavior.$inject = [
39693
39712
  'eventBus',
@@ -39777,7 +39796,7 @@
39777
39796
 
39778
39797
  RemoveParticipantBehavior.$inject = [ 'eventBus', 'modeling' ];
39779
39798
 
39780
- e$2(RemoveParticipantBehavior, CommandInterceptor);
39799
+ e$3(RemoveParticipantBehavior, CommandInterceptor);
39781
39800
 
39782
39801
  /**
39783
39802
  * @typedef {import('diagram-js/lib/core/EventBus').default} EventBus
@@ -39953,7 +39972,7 @@
39953
39972
  });
39954
39973
  }
39955
39974
 
39956
- e$2(ReplaceConnectionBehavior, CommandInterceptor);
39975
+ e$3(ReplaceConnectionBehavior, CommandInterceptor);
39957
39976
 
39958
39977
  ReplaceConnectionBehavior.$inject = [
39959
39978
  'eventBus',
@@ -40066,7 +40085,7 @@
40066
40085
  });
40067
40086
  }
40068
40087
 
40069
- e$2(ReplaceElementBehaviour, CommandInterceptor);
40088
+ e$3(ReplaceElementBehaviour, CommandInterceptor);
40070
40089
 
40071
40090
  ReplaceElementBehaviour.prototype._replaceElements = function(elements, newElements) {
40072
40091
  var elementRegistry = this._elementRegistry,
@@ -40584,7 +40603,7 @@
40584
40603
  'bpmnFactory'
40585
40604
  ];
40586
40605
 
40587
- e$2(RootElementReferenceBehavior, CommandInterceptor);
40606
+ e$3(RootElementReferenceBehavior, CommandInterceptor);
40588
40607
 
40589
40608
  // helpers //////////
40590
40609
 
@@ -41211,7 +41230,7 @@
41211
41230
 
41212
41231
  }
41213
41232
 
41214
- e$2(SubProcessPlaneBehavior, CommandInterceptor);
41233
+ e$3(SubProcessPlaneBehavior, CommandInterceptor);
41215
41234
 
41216
41235
  /**
41217
41236
  * Moves the given elements to the target.
@@ -41495,7 +41514,7 @@
41495
41514
  'modeling'
41496
41515
  ];
41497
41516
 
41498
- e$2(SubProcessStartEventBehavior, CommandInterceptor);
41517
+ e$3(SubProcessStartEventBehavior, CommandInterceptor);
41499
41518
 
41500
41519
  // helpers //////////
41501
41520
 
@@ -41566,7 +41585,7 @@
41566
41585
  });
41567
41586
  }
41568
41587
 
41569
- e$2(TextAnnotationBehavior, CommandInterceptor);
41588
+ e$3(TextAnnotationBehavior, CommandInterceptor);
41570
41589
 
41571
41590
  TextAnnotationBehavior.$inject = [
41572
41591
  'eventBus',
@@ -41643,7 +41662,7 @@
41643
41662
 
41644
41663
  }
41645
41664
 
41646
- e$2(ToggleCollapseConnectionBehaviour, CommandInterceptor);
41665
+ e$3(ToggleCollapseConnectionBehaviour, CommandInterceptor);
41647
41666
 
41648
41667
  ToggleCollapseConnectionBehaviour.$inject = [
41649
41668
  'eventBus',
@@ -41778,7 +41797,7 @@
41778
41797
  }
41779
41798
 
41780
41799
 
41781
- e$2(ToggleElementCollapseBehaviour, CommandInterceptor);
41800
+ e$3(ToggleElementCollapseBehaviour, CommandInterceptor);
41782
41801
 
41783
41802
  ToggleElementCollapseBehaviour.$inject = [
41784
41803
  'eventBus',
@@ -41849,7 +41868,7 @@
41849
41868
  });
41850
41869
  }
41851
41870
 
41852
- e$2(UnclaimIdBehavior, CommandInterceptor);
41871
+ e$3(UnclaimIdBehavior, CommandInterceptor);
41853
41872
 
41854
41873
  UnclaimIdBehavior.$inject = [ 'canvas', 'injector', 'moddle', 'modeling' ];
41855
41874
 
@@ -41883,7 +41902,7 @@
41883
41902
  });
41884
41903
  }
41885
41904
 
41886
- e$2(DeleteSequenceFlowBehavior, CommandInterceptor);
41905
+ e$3(DeleteSequenceFlowBehavior, CommandInterceptor);
41887
41906
 
41888
41907
  DeleteSequenceFlowBehavior.$inject = [
41889
41908
  'eventBus',
@@ -42027,7 +42046,7 @@
42027
42046
  'modeling'
42028
42047
  ];
42029
42048
 
42030
- e$2(UpdateFlowNodeRefsBehavior, CommandInterceptor);
42049
+ e$3(UpdateFlowNodeRefsBehavior, CommandInterceptor);
42031
42050
 
42032
42051
 
42033
42052
  function UpdateContext() {
@@ -42086,7 +42105,7 @@
42086
42105
  });
42087
42106
  }
42088
42107
 
42089
- e$2(SetCompensationActivityAfterPasteBehavior, CommandInterceptor);
42108
+ e$3(SetCompensationActivityAfterPasteBehavior, CommandInterceptor);
42090
42109
 
42091
42110
  SetCompensationActivityAfterPasteBehavior.$inject = [
42092
42111
  'eventBus',
@@ -42263,7 +42282,7 @@
42263
42282
  RuleProvider.call(this, eventBus);
42264
42283
  }
42265
42284
 
42266
- e$2(BpmnRules, RuleProvider);
42285
+ e$3(BpmnRules, RuleProvider);
42267
42286
 
42268
42287
  BpmnRules.$inject = [ 'eventBus' ];
42269
42288
 
@@ -43544,7 +43563,7 @@
43544
43563
  return null;
43545
43564
  };
43546
43565
 
43547
- e$2(OrderingProvider, CommandInterceptor);
43566
+ e$3(OrderingProvider, CommandInterceptor);
43548
43567
 
43549
43568
  /**
43550
43569
  * @typedef {import('diagram-js/lib/core/Canvas').default} Canvas
@@ -43723,7 +43742,7 @@
43723
43742
 
43724
43743
  BpmnOrderingProvider.$inject = [ 'eventBus', 'canvas' ];
43725
43744
 
43726
- e$2(BpmnOrderingProvider, OrderingProvider);
43745
+ e$3(BpmnOrderingProvider, OrderingProvider);
43727
43746
 
43728
43747
  var OrderingModule = {
43729
43748
  __init__: [ 'bpmnOrderingProvider' ],
@@ -47212,7 +47231,7 @@
47212
47231
  'canvas'
47213
47232
  ];
47214
47233
 
47215
- e$2(BpmnSpaceTool, SpaceTool);
47234
+ e$3(BpmnSpaceTool, SpaceTool);
47216
47235
 
47217
47236
  /**
47218
47237
  * @param {Shape[]} elements
@@ -48007,7 +48026,7 @@
48007
48026
 
48008
48027
  }
48009
48028
 
48010
- e$2(LabelSupport, CommandInterceptor);
48029
+ e$3(LabelSupport, CommandInterceptor);
48011
48030
 
48012
48031
  LabelSupport.$inject = [
48013
48032
  'injector',
@@ -48298,7 +48317,7 @@
48298
48317
  });
48299
48318
  }
48300
48319
 
48301
- e$2(AttachSupport, CommandInterceptor);
48320
+ e$3(AttachSupport, CommandInterceptor);
48302
48321
 
48303
48322
  AttachSupport.$inject = [
48304
48323
  'injector',
@@ -48830,7 +48849,7 @@
48830
48849
  }
48831
48850
  }
48832
48851
 
48833
- e$2(BpmnUpdater, CommandInterceptor);
48852
+ e$3(BpmnUpdater, CommandInterceptor);
48834
48853
 
48835
48854
  BpmnUpdater.$inject = [
48836
48855
  'eventBus',
@@ -49371,7 +49390,7 @@
49371
49390
  this._moddle = moddle;
49372
49391
  }
49373
49392
 
49374
- e$2(ElementFactory, ElementFactory$1);
49393
+ e$3(ElementFactory, ElementFactory$1);
49375
49394
 
49376
49395
  ElementFactory.$inject = [
49377
49396
  'bpmnFactory',
@@ -50139,7 +50158,7 @@
50139
50158
  CreateShapeHandler.call(this, canvas);
50140
50159
  }
50141
50160
 
50142
- e$2(CreateLabelHandler, CreateShapeHandler);
50161
+ e$3(CreateLabelHandler, CreateShapeHandler);
50143
50162
 
50144
50163
  CreateLabelHandler.$inject = [ 'canvas' ];
50145
50164
 
@@ -52021,7 +52040,6 @@
52021
52040
  *
52022
52041
  * @return {T}
52023
52042
  */
52024
-
52025
52043
  /**
52026
52044
  * Create a connection.
52027
52045
  *
@@ -53884,7 +53902,7 @@
53884
53902
  this._bpmnRules = bpmnRules;
53885
53903
  }
53886
53904
 
53887
- e$2(Modeling, Modeling$1);
53905
+ e$3(Modeling, Modeling$1);
53888
53906
 
53889
53907
  Modeling.$inject = [
53890
53908
  'eventBus',
@@ -54994,7 +55012,7 @@
54994
55012
  this._elementRegistry = elementRegistry;
54995
55013
  }
54996
55014
 
54997
- e$2(BpmnLayouter, BaseLayouter);
55015
+ e$3(BpmnLayouter, BaseLayouter);
54998
55016
 
54999
55017
  /**
55000
55018
  * Returns waypoints of laid out connection.
@@ -59005,7 +59023,7 @@
59005
59023
 
59006
59024
  BpmnDistributeElements.$inject = [ 'eventBus' ];
59007
59025
 
59008
- e$2(BpmnDistributeElements, RuleProvider);
59026
+ e$3(BpmnDistributeElements, RuleProvider);
59009
59027
 
59010
59028
  BpmnDistributeElements.prototype.init = function() {
59011
59029
  this.addRule('elements.distribute', function(context) {
@@ -59187,6 +59205,7 @@
59187
59205
  * @param {Injector} injector
59188
59206
  */
59189
59207
  function EditorActions(eventBus, injector) {
59208
+ this._eventBus = eventBus;
59190
59209
 
59191
59210
  // initialize actions
59192
59211
  this._actions = {};
@@ -59357,6 +59376,15 @@
59357
59376
  throw error(action, NOT_REGISTERED_ERROR);
59358
59377
  }
59359
59378
 
59379
+ var allowed = this._eventBus.fire('editorActions.allowed', {
59380
+ action: action,
59381
+ opts: opts
59382
+ });
59383
+
59384
+ if (allowed === false) {
59385
+ return;
59386
+ }
59387
+
59360
59388
  return this._actions[action](opts);
59361
59389
  };
59362
59390
 
@@ -59469,7 +59497,7 @@
59469
59497
  injector.invoke(EditorActions, this);
59470
59498
  }
59471
59499
 
59472
- e$2(BpmnEditorActions, EditorActions);
59500
+ e$3(BpmnEditorActions, EditorActions);
59473
59501
 
59474
59502
  BpmnEditorActions.$inject = [
59475
59503
  'injector'
@@ -59718,7 +59746,7 @@
59718
59746
  'modeling'
59719
59747
  ];
59720
59748
 
59721
- e$2(ResizeBehavior, CommandInterceptor);
59749
+ e$3(ResizeBehavior, CommandInterceptor);
59722
59750
 
59723
59751
  /**
59724
59752
  * Snap width and height in relation to center.
@@ -60440,7 +60468,7 @@
60440
60468
  'modeling'
60441
60469
  ];
60442
60470
 
60443
- e$2(GridSnappingLayoutConnectionBehavior, CommandInterceptor);
60471
+ e$3(GridSnappingLayoutConnectionBehavior, CommandInterceptor);
60444
60472
 
60445
60473
  /**
60446
60474
  * Snap middle segments of a given connection.
@@ -60716,7 +60744,7 @@
60716
60744
  injector.invoke(KeyboardBindings, this);
60717
60745
  }
60718
60746
 
60719
- e$2(BpmnKeyboardBindings, KeyboardBindings);
60747
+ e$3(BpmnKeyboardBindings, KeyboardBindings);
60720
60748
 
60721
60749
  BpmnKeyboardBindings.$inject = [
60722
60750
  'injector'
@@ -63404,7 +63432,7 @@
63404
63432
 
63405
63433
  var referencePoint = mid(element);
63406
63434
 
63407
- dragging.init(event, referencePoint, 'shape.move', {
63435
+ var result = dragging.init(event, referencePoint, 'shape.move', {
63408
63436
  cursor: 'grabbing',
63409
63437
  autoActivate: activate,
63410
63438
  data: {
@@ -63413,8 +63441,11 @@
63413
63441
  }
63414
63442
  });
63415
63443
 
63416
- // we've handled the event
63417
- return true;
63444
+ // stop event propagation to avoid dragging from being handled by other
63445
+ // features
63446
+ if (result !== false) {
63447
+ return true;
63448
+ }
63418
63449
  }
63419
63450
 
63420
63451
  // API
@@ -63771,7 +63802,6 @@
63771
63802
  *
63772
63803
  * @param {PaletteProvider} provider
63773
63804
  */
63774
-
63775
63805
  /**
63776
63806
  * Register a palette provider with the given priority. See
63777
63807
  * {@link PaletteProvider} for examples.
@@ -65325,7 +65355,7 @@
65325
65355
  'previewSupport'
65326
65356
  ];
65327
65357
 
65328
- e$2(BpmnReplacePreview, CommandInterceptor);
65358
+ e$3(BpmnReplacePreview, CommandInterceptor);
65329
65359
 
65330
65360
  var ReplacePreviewModule = {
65331
65361
  __depends__: [
@@ -66016,7 +66046,7 @@
66016
66046
  });
66017
66047
  }
66018
66048
 
66019
- e$2(BpmnCreateMoveSnapping, CreateMoveSnapping);
66049
+ e$3(BpmnCreateMoveSnapping, CreateMoveSnapping);
66020
66050
 
66021
66051
  BpmnCreateMoveSnapping.$inject = [
66022
66052
  'eventBus',
@@ -67536,7 +67566,7 @@
67536
67566
  BaseModeler.call(this, options);
67537
67567
  }
67538
67568
 
67539
- e$2(Modeler, BaseModeler);
67569
+ e$3(Modeler, BaseModeler);
67540
67570
 
67541
67571
 
67542
67572
  Modeler.Viewer = Viewer;