bpmn-js 18.4.0 → 18.6.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 (30) hide show
  1. package/dist/bpmn-modeler.development.js +119 -75
  2. package/dist/bpmn-modeler.production.min.js +6 -6
  3. package/dist/bpmn-navigated-viewer.development.js +9 -10
  4. package/dist/bpmn-navigated-viewer.production.min.js +2 -2
  5. package/dist/bpmn-viewer.development.js +9 -10
  6. package/dist/bpmn-viewer.production.min.js +2 -2
  7. package/lib/features/align-elements/index.d.ts +7 -1
  8. package/lib/features/append-preview/index.d.ts +3 -1
  9. package/lib/features/auto-place/index.d.ts +4 -1
  10. package/lib/features/context-pad/ContextPadProvider.js +10 -0
  11. package/lib/features/copy-paste/index.d.ts +3 -1
  12. package/lib/features/distribute-elements/index.d.ts +5 -1
  13. package/lib/features/drilldown/index.d.ts +7 -1
  14. package/lib/features/editor-actions/index.d.ts +3 -1
  15. package/lib/features/grid-snapping/index.d.ts +3 -1
  16. package/lib/features/keyboard/index.d.ts +4 -1
  17. package/lib/features/modeling/index.d.ts +12 -0
  18. package/lib/features/modeling-feedback/index.d.ts +3 -1
  19. package/lib/features/outline/index.d.ts +4 -1
  20. package/lib/features/palette/index.d.ts +14 -1
  21. package/lib/features/popup-menu/index.d.ts +3 -1
  22. package/lib/features/replace/index.d.ts +8 -1
  23. package/lib/features/replace-preview/index.d.ts +3 -1
  24. package/lib/features/rules/index.d.ts +3 -1
  25. package/lib/features/search/index.d.ts +5 -1
  26. package/lib/features/snapping/index.d.ts +5 -1
  27. package/lib/features/space-tool/index.d.ts +4 -1
  28. package/lib/import/BpmnTreeWalker.js +2 -3
  29. package/lib/import/index.d.ts +3 -1
  30. package/package.json +11 -11
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-viewer v18.4.0
2
+ * bpmn-js - bpmn-viewer v18.6.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: 2025-03-19
11
+ * Date: 2025-04-24
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(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}));}
19
+ function e(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
  /**
22
22
  * Flatten array, one level deep.
@@ -1936,11 +1936,11 @@
1936
1936
  [ 'l', width - borderRadius * 2, 0 ],
1937
1937
  [ 'a', borderRadius, borderRadius, 0, 0, 1, borderRadius, borderRadius ],
1938
1938
  [ 'l', 0, height - borderRadius * 2 ],
1939
- [ 'a', borderRadius, borderRadius, 0, 0, 1, -borderRadius, borderRadius ],
1939
+ [ 'a', borderRadius, borderRadius, 0, 0, 1, -10, borderRadius ],
1940
1940
  [ 'l', borderRadius * 2 - width, 0 ],
1941
- [ 'a', borderRadius, borderRadius, 0, 0, 1, -borderRadius, -borderRadius ],
1941
+ [ 'a', borderRadius, borderRadius, 0, 0, 1, -10, -10 ],
1942
1942
  [ 'l', 0, borderRadius * 2 - height ],
1943
- [ 'a', borderRadius, borderRadius, 0, 0, 1, borderRadius, -borderRadius ],
1943
+ [ 'a', borderRadius, borderRadius, 0, 0, 1, borderRadius, -10 ],
1944
1944
  [ 'z' ]
1945
1945
  ];
1946
1946
 
@@ -13122,7 +13122,7 @@
13122
13122
  * If no callback is given, all listeners for a given event name are being removed.
13123
13123
  *
13124
13124
  * @param {string|string[]} events
13125
- * @param {EventBusEventCallback} [callback]
13125
+ * @param {EventBusEventCallback<unknown>} [callback]
13126
13126
  */
13127
13127
  EventBus.prototype.off = function(events, callback) {
13128
13128
 
@@ -22097,12 +22097,11 @@
22097
22097
 
22098
22098
  forEach$1(collaboration.participants, contextual(handleParticipant, context));
22099
22099
 
22100
- handleArtifacts(collaboration.artifacts, context);
22101
-
22102
- // handle message flows latest in the process
22103
22100
  deferred.push(function() {
22104
22101
  handleMessageFlows(collaboration.messageFlows, context);
22105
22102
  });
22103
+
22104
+ handleArtifacts(collaboration.artifacts, context);
22106
22105
  }
22107
22106
 
22108
22107