bpmn-js 11.2.0 → 11.3.1
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 +119 -90
- package/dist/bpmn-modeler.production.min.js +14 -14
- package/dist/bpmn-navigated-viewer.development.js +24 -8
- package/dist/bpmn-navigated-viewer.production.min.js +2 -2
- package/dist/bpmn-viewer.development.js +24 -8
- package/dist/bpmn-viewer.production.min.js +2 -2
- package/lib/BaseModeler.js +6 -2
- package/lib/BaseViewer.js +16 -4
- package/lib/Modeler.js +6 -2
- package/lib/Viewer.js +6 -2
- package/lib/features/create-append-anything/AppendContextPadProvider.js +1 -1
- package/lib/features/create-append-anything/AppendMenuProvider.js +3 -1
- package/lib/features/create-append-anything/CreateMenuProvider.js +3 -1
- package/lib/features/create-append-anything/CreatePaletteProvider.js +5 -10
- package/lib/features/create-append-anything/util/OptionsUtil.js +26 -21
- package/lib/features/replace/ReplaceOptions.js +16 -16
- package/lib/icons/dist/append.svg +1 -0
- package/lib/icons/dist/connect-context-pad.svg +1 -0
- package/lib/icons/dist/connect-palette.svg +1 -0
- package/lib/{features/palette → icons}/dist/create.svg +0 -0
- package/package.json +3 -3
- package/lib/features/align-elements/dist/align-bottom-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-horizontal-center-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-left-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-right-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-top-tool.svg +0 -1
- package/lib/features/align-elements/dist/align-vertical-center-tool.svg +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-navigated-viewer v11.
|
|
2
|
+
* bpmn-js - bpmn-navigated-viewer v11.3.1
|
|
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: 2023-02-
|
|
11
|
+
* Date: 2023-02-08
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -20881,6 +20881,11 @@
|
|
|
20881
20881
|
* @see http://bpmn.io/license for more information.
|
|
20882
20882
|
*/
|
|
20883
20883
|
|
|
20884
|
+
|
|
20885
|
+
/**
|
|
20886
|
+
* @typedef { import('didi').ModuleDeclaration } Module
|
|
20887
|
+
*/
|
|
20888
|
+
|
|
20884
20889
|
/**
|
|
20885
20890
|
* A base viewer for BPMN 2.0 diagrams.
|
|
20886
20891
|
*
|
|
@@ -20892,8 +20897,8 @@
|
|
|
20892
20897
|
* @param {string|number} [options.width] the width of the viewer
|
|
20893
20898
|
* @param {string|number} [options.height] the height of the viewer
|
|
20894
20899
|
* @param {Object} [options.moddleExtensions] extension packages to provide
|
|
20895
|
-
* @param {
|
|
20896
|
-
* @param {
|
|
20900
|
+
* @param {Module[]} [options.modules] a list of modules to override the default modules
|
|
20901
|
+
* @param {Module[]} [options.additionalModules] a list of modules to use with the default modules
|
|
20897
20902
|
*/
|
|
20898
20903
|
function BaseViewer(options) {
|
|
20899
20904
|
|
|
@@ -21322,7 +21327,14 @@
|
|
|
21322
21327
|
this._definitions = definitions;
|
|
21323
21328
|
};
|
|
21324
21329
|
|
|
21325
|
-
|
|
21330
|
+
/**
|
|
21331
|
+
* Return modules to instantiate with.
|
|
21332
|
+
*
|
|
21333
|
+
* @param {any} options the instance got created with
|
|
21334
|
+
*
|
|
21335
|
+
* @return {Module[]}
|
|
21336
|
+
*/
|
|
21337
|
+
BaseViewer.prototype.getModules = function(options) {
|
|
21326
21338
|
return this._modules;
|
|
21327
21339
|
};
|
|
21328
21340
|
|
|
@@ -21428,7 +21440,7 @@
|
|
|
21428
21440
|
|
|
21429
21441
|
BaseViewer.prototype._init = function(container, moddle, options) {
|
|
21430
21442
|
|
|
21431
|
-
const baseModules = options.modules || this.getModules(),
|
|
21443
|
+
const baseModules = options.modules || this.getModules(options),
|
|
21432
21444
|
additionalModules = options.additionalModules || [],
|
|
21433
21445
|
staticModules = [
|
|
21434
21446
|
{
|
|
@@ -21583,6 +21595,10 @@
|
|
|
21583
21595
|
|
|
21584
21596
|
/* </project-logo> */
|
|
21585
21597
|
|
|
21598
|
+
/**
|
|
21599
|
+
* @typedef { import('didi').ModuleDeclaration } Module
|
|
21600
|
+
*/
|
|
21601
|
+
|
|
21586
21602
|
/**
|
|
21587
21603
|
* A viewer for BPMN 2.0 diagrams.
|
|
21588
21604
|
*
|
|
@@ -21627,8 +21643,8 @@
|
|
|
21627
21643
|
* @param {string|number} [options.width] the width of the viewer
|
|
21628
21644
|
* @param {string|number} [options.height] the height of the viewer
|
|
21629
21645
|
* @param {Object} [options.moddleExtensions] extension packages to provide
|
|
21630
|
-
* @param {
|
|
21631
|
-
* @param {
|
|
21646
|
+
* @param {Module[]} [options.modules] a list of modules to override the default modules
|
|
21647
|
+
* @param {Module[]} [options.additionalModules] a list of modules to use with the default modules
|
|
21632
21648
|
*/
|
|
21633
21649
|
function Viewer(options) {
|
|
21634
21650
|
BaseViewer.call(this, options);
|