bpmn-js 11.0.4 → 11.0.5
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.
- package/dist/bpmn-modeler.development.js +24 -6
- package/dist/bpmn-modeler.production.min.js +17 -15
- package/dist/bpmn-navigated-viewer.development.js +2 -2
- package/dist/bpmn-navigated-viewer.production.min.js +1 -1
- package/dist/bpmn-viewer.development.js +2 -2
- package/dist/bpmn-viewer.production.min.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-modeler v11.0.
|
|
2
|
+
* bpmn-js - bpmn-modeler v11.0.5
|
|
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: 2022-12-
|
|
11
|
+
* Date: 2022-12-08
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -28301,7 +28301,9 @@
|
|
|
28301
28301
|
width,
|
|
28302
28302
|
scale,
|
|
28303
28303
|
search,
|
|
28304
|
-
entries: originalEntries
|
|
28304
|
+
entries: originalEntries,
|
|
28305
|
+
onOpened,
|
|
28306
|
+
onClosed
|
|
28305
28307
|
} = props;
|
|
28306
28308
|
|
|
28307
28309
|
const searchable = F(() => {
|
|
@@ -28319,6 +28321,14 @@
|
|
|
28319
28321
|
const [ entries, setEntries ] = p(originalEntries);
|
|
28320
28322
|
const [ selectedEntry, setSelectedEntry ] = p(entries[0]);
|
|
28321
28323
|
|
|
28324
|
+
h(() => {
|
|
28325
|
+
onOpened();
|
|
28326
|
+
|
|
28327
|
+
return () => {
|
|
28328
|
+
onClosed();
|
|
28329
|
+
};
|
|
28330
|
+
}, []);
|
|
28331
|
+
|
|
28322
28332
|
const updateEntries = T((newEntries) => {
|
|
28323
28333
|
|
|
28324
28334
|
// select first entry if non is selected
|
|
@@ -28341,10 +28351,8 @@
|
|
|
28341
28351
|
}
|
|
28342
28352
|
|
|
28343
28353
|
const search = [
|
|
28344
|
-
entry.name,
|
|
28345
28354
|
entry.description || '',
|
|
28346
|
-
entry.label || ''
|
|
28347
|
-
entry.id || ''
|
|
28355
|
+
entry.label || ''
|
|
28348
28356
|
]
|
|
28349
28357
|
.join('---')
|
|
28350
28358
|
.toLowerCase();
|
|
@@ -28679,6 +28687,8 @@
|
|
|
28679
28687
|
entries=${ entriesArray }
|
|
28680
28688
|
headerEntries=${ headerEntriesArray }
|
|
28681
28689
|
scale=${ scale }
|
|
28690
|
+
onOpened=${ this._onOpened.bind(this) }
|
|
28691
|
+
onClosed=${ this._onClosed.bind(this) }
|
|
28682
28692
|
...${{ ...options }}
|
|
28683
28693
|
/>
|
|
28684
28694
|
`,
|
|
@@ -28782,6 +28792,14 @@
|
|
|
28782
28792
|
this._eventBus.fire(`popupMenu.${ event }`, payload);
|
|
28783
28793
|
};
|
|
28784
28794
|
|
|
28795
|
+
PopupMenu.prototype._onOpened = function() {
|
|
28796
|
+
this._emit('opened');
|
|
28797
|
+
};
|
|
28798
|
+
|
|
28799
|
+
PopupMenu.prototype._onClosed = function() {
|
|
28800
|
+
this._emit('closed');
|
|
28801
|
+
};
|
|
28802
|
+
|
|
28785
28803
|
PopupMenu.prototype._createContainer = function(config) {
|
|
28786
28804
|
|
|
28787
28805
|
let parent = config && config.parent || 'body';
|