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-navigated-viewer v18.4.0
2
+ * bpmn-js - bpmn-navigated-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
 
@@ -13147,7 +13147,7 @@
13147
13147
  * If no callback is given, all listeners for a given event name are being removed.
13148
13148
  *
13149
13149
  * @param {string|string[]} events
13150
- * @param {EventBusEventCallback} [callback]
13150
+ * @param {EventBusEventCallback<unknown>} [callback]
13151
13151
  */
13152
13152
  EventBus.prototype.off = function(events, callback) {
13153
13153
 
@@ -22122,12 +22122,11 @@
22122
22122
 
22123
22123
  forEach$1(collaboration.participants, contextual(handleParticipant, context));
22124
22124
 
22125
- handleArtifacts(collaboration.artifacts, context);
22126
-
22127
- // handle message flows latest in the process
22128
22125
  deferred.push(function() {
22129
22126
  handleMessageFlows(collaboration.messageFlows, context);
22130
22127
  });
22128
+
22129
+ handleArtifacts(collaboration.artifacts, context);
22131
22130
  }
22132
22131
 
22133
22132