@web-utils/component 2.7.29 → 2.7.31
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/chunks/{config.7dec2bf2.js → config.75161c38.js} +29 -29
- package/dist/chunks/confirmable-mixin.851d6299.js +137 -0
- package/dist/chunks/dataformat.b8c8c01a.js +237 -0
- package/dist/chunks/detail.6135ade5.js +55 -0
- package/dist/chunks/dic.e57b75f2.js +215 -0
- package/dist/chunks/{event.fc358074.js → event.812c361c.js} +54 -23
- package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.3e63b57f.js} +4 -4
- package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a56c101a.js} +44 -17
- package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.js} +1 -1
- package/dist/chunks/{init.e0133910.js → init.38cbb3a2.js} +41 -21
- package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.js} +4 -4
- package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.js} +3 -2
- package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.js} +12 -6
- package/dist/chunks/{permission.07c49abf.js → permission.9c766972.js} +6 -1
- package/dist/chunks/slot.55598d0f.js +35 -0
- package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.js} +29 -11
- package/dist/chunks/util.b0d0b0ad.js +478 -0
- package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.js} +89 -24
- package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.js} +9 -5
- package/dist/chunks/vueComponentNormalizer.9c6b8b3d.js +59 -0
- package/dist/components/address-input/index.js +30 -17
- package/dist/components/address-input/style.css +15 -1
- package/dist/components/affix/index.js +78 -28
- package/dist/components/affix/style.css +5 -1
- package/dist/components/aside-menu/index.js +14 -8
- package/dist/components/aside-menu/style.css +9 -1
- package/dist/components/avatar/index.js +33 -15
- package/dist/components/avatar/style.css +57 -1
- package/dist/components/awesome-button/index.js +45 -31
- package/dist/components/base.css +410 -1
- package/dist/components/capsule-tab/index.js +13 -7
- package/dist/components/capsule-tab/style.css +32 -1
- package/dist/components/card/index.js +33 -20
- package/dist/components/card/style.css +90 -1
- package/dist/components/carousel/index.js +18 -12
- package/dist/components/carousel/style.css +41 -1
- package/dist/components/chat/index.js +245 -139
- package/dist/components/chat/style.css +279 -1
- package/dist/components/chunk-file-uploader/index.js +63 -29
- package/dist/components/chunk-file-uploader/style.css +4 -1
- package/dist/components/chunk-file-uploader-button/index.js +15 -9
- package/dist/components/chunk-file-uploader-button/style.css +17 -1
- package/dist/components/chunk-file-uploader-drop/index.js +45 -27
- package/dist/components/chunk-file-uploader-drop/style.css +12 -1
- package/dist/components/chunk-file-uploader-file/index.js +150 -73
- package/dist/components/chunk-file-uploader-file/style.css +125 -1
- package/dist/components/chunk-file-uploader-files/index.js +15 -9
- package/dist/components/chunk-file-uploader-files/style.css +9 -1
- package/dist/components/chunk-file-uploader-list/index.js +16 -10
- package/dist/components/chunk-file-uploader-list/style.css +9 -1
- package/dist/components/chunk-file-uploader-un-support/index.js +18 -10
- package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
- package/dist/components/code-mirror-editor/index.js +75 -47
- package/dist/components/code-mirror-editor/style.css +17 -1
- package/dist/components/color-picker/index.js +62 -39
- package/dist/components/column/index.js +54 -29
- package/dist/components/column-default/index.js +47 -33
- package/dist/components/column-dynamic/index.js +26 -19
- package/dist/components/column-menu/index.js +98 -86
- package/dist/components/column-slot/index.js +135 -75
- package/dist/components/comment/index.js +28 -15
- package/dist/components/comment/style.css +92 -1
- package/dist/components/confirm-button/index.js +7 -5
- package/dist/components/confirmable/index.js +5 -4
- package/dist/components/context-menu/index.js +54 -32
- package/dist/components/context-menu/style.css +88 -1
- package/dist/components/count-up/index.js +55 -38
- package/dist/components/custom-scrollbar/index.js +45 -21
- package/dist/components/data-box/index.js +22 -16
- package/dist/components/data-box/style.css +58 -1
- package/dist/components/data-card/index.js +21 -15
- package/dist/components/data-card/style.css +46 -1
- package/dist/components/data-cardtext/index.js +19 -13
- package/dist/components/data-cardtext/style.css +36 -1
- package/dist/components/data-display/index.js +22 -16
- package/dist/components/data-display/style.css +37 -1
- package/dist/components/data-icons/index.js +23 -17
- package/dist/components/data-icons/style.css +53 -1
- package/dist/components/data-imgtext/index.js +26 -20
- package/dist/components/data-imgtext/style.css +70 -1
- package/dist/components/data-operatext/index.js +20 -14
- package/dist/components/data-operatext/style.css +81 -1
- package/dist/components/data-panel/index.js +21 -15
- package/dist/components/data-panel/style.css +37 -1
- package/dist/components/data-pay/index.js +29 -23
- package/dist/components/data-pay/style.css +102 -1
- package/dist/components/data-price/index.js +19 -13
- package/dist/components/data-price/style.css +81 -1
- package/dist/components/data-progress/index.js +26 -20
- package/dist/components/data-progress/style.css +30 -1
- package/dist/components/data-rotate/index.js +21 -15
- package/dist/components/data-rotate/style.css +50 -1
- package/dist/components/data-table-picker/index.js +47 -28
- package/dist/components/data-tabs/index.js +22 -16
- package/dist/components/data-tabs/style.css +70 -1
- package/dist/components/dialog-column/index.js +46 -33
- package/dist/components/dialog-excel/index.js +102 -53
- package/dist/components/dialog-filter/index.js +64 -51
- package/dist/components/dialog-form/index.js +56 -115
- package/dist/components/dialog-form/style.css +10 -1
- package/dist/components/dynamic-table/index.js +66 -42
- package/dist/components/dynamic-table/style.css +30 -1
- package/dist/components/e-charts/index.js +127 -46
- package/dist/components/e-charts/style.css +10 -1
- package/dist/components/easy-popup/index.js +32 -14
- package/dist/components/easy-popup/style.css +18 -1
- package/dist/components/editable-progress/index.js +64 -31
- package/dist/components/editable-progress/style.css +37 -1
- package/dist/components/editable-tree/index.js +513 -287
- package/dist/components/editable-tree/style.css +82 -1
- package/dist/components/egd-collapse/index.js +25 -12
- package/dist/components/egd-collapse-item/index.js +41 -25
- package/dist/components/element-dialog/index.js +101 -48
- package/dist/components/element-dialog/style.css +88 -1
- package/dist/components/empty-view/index.js +13 -7
- package/dist/components/empty-view/style.css +17 -1
- package/dist/components/error-view/index.js +12 -6
- package/dist/components/error-view/style.css +17 -1
- package/dist/components/flex-column/index.js +39 -17
- package/dist/components/flex-item/index.js +59 -24
- package/dist/components/flex-row/index.js +39 -17
- package/dist/components/flex-scroller/index.js +13 -7
- package/dist/components/flex-scroller/style.css +20 -1
- package/dist/components/flow/index.js +116 -64
- package/dist/components/flow/style.css +44 -1
- package/dist/components/flow-node/index.js +29 -21
- package/dist/components/flow-viewer/index.js +97 -52
- package/dist/components/flow-viewer/style.css +19 -1
- package/dist/components/form-button/index.js +12 -8
- package/dist/components/form-cascader/index.js +55 -40
- package/dist/components/form-checkbox-group/index.js +90 -60
- package/dist/components/form-checkbox-group/style.css +51 -1
- package/dist/components/form-date-picker/index.js +113 -44
- package/dist/components/form-group/index.js +23 -17
- package/dist/components/form-group/style.css +76 -1
- package/dist/components/form-holder/index.js +41 -30
- package/dist/components/form-input/index.js +42 -31
- package/dist/components/form-input-email/index.js +47 -30
- package/dist/components/form-input-id-card/index.js +40 -29
- package/dist/components/form-input-number/index.js +50 -38
- package/dist/components/form-input-number/style.css +12 -1
- package/dist/components/form-input-phone-number/index.js +40 -29
- package/dist/components/form-input-time/index.js +40 -29
- package/dist/components/form-item/index.js +99 -47
- package/dist/components/form-item/style.css +11 -1
- package/dist/components/form-item-config-provider/index.js +9 -8
- package/dist/components/form-item-group/index.js +69 -43
- package/dist/components/form-item-group/style.css +30 -1
- package/dist/components/form-radio-group/index.js +77 -53
- package/dist/components/form-radio-group/style.css +53 -1
- package/dist/components/form-select/index.js +71 -51
- package/dist/components/form-switch/index.js +41 -30
- package/dist/components/form-temp/index.js +49 -29
- package/dist/components/form-textarea/index.js +45 -34
- package/dist/components/form-view/index.js +152 -81
- package/dist/components/form-view/style.css +158 -1
- package/dist/components/fy-array/index.js +51 -43
- package/dist/components/fy-array/style.css +18 -1
- package/dist/components/fy-article/index.js +24 -13
- package/dist/components/fy-article/style.css +40 -1
- package/dist/components/fy-cascader/index.js +39 -29
- package/dist/components/fy-checkbox/index.js +38 -27
- package/dist/components/fy-checkbox/style.css +15 -1
- package/dist/components/fy-code/index.js +19 -12
- package/dist/components/fy-curd/index.js +290 -152
- package/dist/components/fy-curd/style.css +239 -1
- package/dist/components/fy-date/index.js +24 -18
- package/dist/components/fy-date/style.css +21 -1
- package/dist/components/fy-dialog-form/index.js +127 -54
- package/dist/components/fy-draggable/index.js +196 -73
- package/dist/components/fy-draggable/style.css +136 -1
- package/dist/components/fy-dynamic/index.js +116 -73
- package/dist/components/fy-dynamic/style.css +35 -1
- package/dist/components/fy-empty/index.js +15 -9
- package/dist/components/fy-empty/style.css +24 -1
- package/dist/components/fy-form/index.js +399 -221
- package/dist/components/fy-form/style.css +79 -1
- package/dist/components/fy-form-design/index.js +2267 -1630
- package/dist/components/fy-form-design/style.css +578 -1
- package/dist/components/fy-form-menu/index.js +43 -35
- package/dist/components/fy-input/index.js +46 -35
- package/dist/components/fy-input-color/index.js +40 -33
- package/dist/components/fy-input-icon/index.js +58 -37
- package/dist/components/fy-input-icon/style.css +39 -1
- package/dist/components/fy-input-map/index.js +113 -68
- package/dist/components/fy-input-map/style.css +50 -1
- package/dist/components/fy-input-number/index.js +29 -24
- package/dist/components/fy-input-table/index.js +82 -48
- package/dist/components/fy-input-table/style.css +10 -1
- package/dist/components/fy-input-tree/index.js +104 -60
- package/dist/components/fy-input-tree/style.css +25 -1
- package/dist/components/fy-progress/index.js +15 -10
- package/dist/components/fy-radio/index.js +20 -14
- package/dist/components/fy-radio/style.css +12 -1
- package/dist/components/fy-rate/index.js +21 -15
- package/dist/components/fy-rate/style.css +9 -1
- package/dist/components/fy-select/index.js +73 -55
- package/dist/components/fy-select/style.css +25 -1
- package/dist/components/fy-slider/index.js +22 -17
- package/dist/components/fy-switch/index.js +17 -12
- package/dist/components/fy-tabs/index.js +20 -12
- package/dist/components/fy-tabs/style.css +6 -0
- package/dist/components/fy-time/index.js +29 -18
- package/dist/components/fy-title/index.js +16 -8
- package/dist/components/fy-title/style.css +11 -1
- package/dist/components/fy-tree/index.js +135 -72
- package/dist/components/fy-tree/style.css +46 -1
- package/dist/components/fy-u-editor/index.js +172 -67
- package/dist/components/fy-u-editor/style.css +15 -1
- package/dist/components/fy-upload/index.js +317 -148
- package/dist/components/fy-upload/style.css +60 -1
- package/dist/components/guide-steps/index.js +31 -17
- package/dist/components/guide-steps/style.css +34 -1
- package/dist/components/header-menu/index.js +86 -66
- package/dist/components/header-search/index.js +92 -60
- package/dist/components/highlight-j-s/index.js +28 -15
- package/dist/components/highlight-j-s/style.css +21 -1
- package/dist/components/icon-card/index.js +13 -7
- package/dist/components/icon-card/style.css +56 -1
- package/dist/components/icon-temp/index.js +12 -6
- package/dist/components/icon-temp/style.css +21 -1
- package/dist/components/iframe-window/index.js +20 -14
- package/dist/components/iframe-window/style.css +20 -1
- package/dist/components/image-cropper/index.js +71 -162
- package/dist/components/image-cropper/style.css +34 -1
- package/dist/components/image-preview/index.js +78 -170
- package/dist/components/image-preview/style.css +72 -1
- package/dist/components/image-viewer/index.js +40 -22
- package/dist/components/image-viewer/style.css +21 -1
- package/dist/components/input-number/index.js +122 -56
- package/dist/components/input-number/style.css +15 -1
- package/dist/components/input-number-range/index.js +32 -20
- package/dist/components/input-number-range/style.css +12 -1
- package/dist/components/keep-view-alive/index.js +68 -21
- package/dist/components/keyboard/index.js +217 -132
- package/dist/components/keyboard/style.css +547 -1
- package/dist/components/license/index.js +81 -35
- package/dist/components/loading-view/index.js +12 -6
- package/dist/components/loading-view/style.css +17 -1
- package/dist/components/login/index.js +91 -62
- package/dist/components/login/style.css +25 -1
- package/dist/components/name-avatar/index.js +32 -10
- package/dist/components/name-avatar/style.css +35 -1
- package/dist/components/nav-bar/index.js +21 -11
- package/dist/components/nav-bar/style.css +17 -1
- package/dist/components/not-implement/index.js +16 -8
- package/dist/components/not-implement/style.css +15 -1
- package/dist/components/notice/index.js +40 -27
- package/dist/components/notice/style.css +54 -1
- package/dist/components/page/index.js +13 -7
- package/dist/components/page/style.css +12 -1
- package/dist/components/page-header/index.js +15 -9
- package/dist/components/page-header/style.css +14 -1
- package/dist/components/page-index/index.js +62 -37
- package/dist/components/page-index/style.css +23 -1
- package/dist/components/page-index-top/index.js +53 -34
- package/dist/components/page-skeleton/index.js +15 -9
- package/dist/components/page-skeleton/style.css +23 -1
- package/dist/components/page-skeleton-new/index.js +15 -9
- package/dist/components/page-skeleton-new/style.css +42 -1
- package/dist/components/pageable-table/index.js +187 -106
- package/dist/components/pageable-table/style.css +72 -1
- package/dist/components/pageable-view/index.js +164 -80
- package/dist/components/pageable-view/style.css +69 -1
- package/dist/components/photo-swipe/index.js +92 -46
- package/dist/components/process-designer/index.js +961 -772
- package/dist/components/process-designer/style.css +1186 -1
- package/dist/components/properties-panel/index.js +1488 -1044
- package/dist/components/properties-panel/style.css +122 -1
- package/dist/components/queue/index.js +24 -12
- package/dist/components/record-video/index.js +53 -27
- package/dist/components/record-video/style.css +53 -1
- package/dist/components/resize-observer/index.js +52 -18
- package/dist/components/resize-observer/style.css +31 -1
- package/dist/components/search/index.js +41 -22
- package/dist/components/search/style.css +57 -1
- package/dist/components/search-popover/index.js +153 -91
- package/dist/components/search-popover/style.css +93 -1
- package/dist/components/sign/index.js +138 -35
- package/dist/components/sign/style.css +12 -1
- package/dist/components/sign-panel/index.js +96 -46
- package/dist/components/sign-panel/style.css +97 -1
- package/dist/components/skeleton/index.js +22 -12
- package/dist/components/skeleton/style.css +61 -1
- package/dist/components/split-pane/index.js +125 -60
- package/dist/components/split-pane/style.css +100 -1
- package/dist/components/stateful/index.js +8 -5
- package/dist/components/stateful/style.css +33 -1
- package/dist/components/static-pageable-table/index.js +22 -15
- package/dist/components/static-pageable-table/style.css +9 -1
- package/dist/components/swiper/index.js +127 -58
- package/dist/components/swiper/style.css +43 -1
- package/dist/components/tab/index.js +34 -16
- package/dist/components/tab/style.css +122 -1
- package/dist/components/tab-item/index.js +14 -9
- package/dist/components/table-column/index.js +26 -17
- package/dist/components/table-page/index.js +42 -23
- package/dist/components/table-view/index.js +162 -87
- package/dist/components/table-view/style.css +95 -1
- package/dist/components/tag-render/index.js +41 -22
- package/dist/components/tag-render/style.css +33 -1
- package/dist/components/text-ellipsis/index.js +48 -26
- package/dist/components/text-ellipsis/style.css +9 -1
- package/dist/components/tinymce-editor/index.js +80 -60
- package/dist/components/tinymce-editor/style.css +43 -1
- package/dist/components/tinymce-wrapper/index.js +77 -41
- package/dist/components/tinymce-wrapper/style.css +36 -1
- package/dist/components/toolbar/index.js +46 -25
- package/dist/components/toolbar/style.css +39 -1
- package/dist/components/toolbar-button/index.js +46 -35
- package/dist/components/toolbar-button/style.css +21 -1
- package/dist/components/trigger/index.js +15 -8
- package/dist/components/verify/index.js +15 -8
- package/dist/components/verify/style.css +15 -1
- package/dist/components/vue-tags-input/index.js +233 -113
- package/dist/components/vue-tags-input/style.css +688 -1
- package/dist/components/watermark/index.js +33 -14
- package/dist/components/watermark/style.css +11 -1
- package/dist/index.css +2434 -1750
- package/dist/index.es.js +15982 -9409
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
- package/dist/chunks/dataformat.9cc4428a.js +0 -158
- package/dist/chunks/detail.544c52b0.js +0 -29
- package/dist/chunks/dic.9de2fe5a.js +0 -135
- package/dist/chunks/slot.a7387ecc.js +0 -27
- package/dist/chunks/util.89913643.js +0 -261
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
|
@@ -1,30 +1,39 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty
|
|
4
|
-
var
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
5
7
|
for (var prop in b || (b = {}))
|
|
6
|
-
__hasOwnProp.call(b, prop)
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
7
10
|
if (__getOwnPropSymbols)
|
|
8
|
-
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
-
__propIsEnum.call(b, prop)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
10
15
|
return a;
|
|
11
16
|
};
|
|
12
|
-
var __async = (__this, __arguments, generator) =>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
17
|
+
var __async = (__this, __arguments, generator) => {
|
|
18
|
+
return new Promise((resolve, reject) => {
|
|
19
|
+
var fulfilled = (value) => {
|
|
20
|
+
try {
|
|
21
|
+
step(generator.next(value));
|
|
22
|
+
} catch (e) {
|
|
23
|
+
reject(e);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
var rejected = (value) => {
|
|
27
|
+
try {
|
|
28
|
+
step(generator.throw(value));
|
|
29
|
+
} catch (e) {
|
|
30
|
+
reject(e);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
34
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
28
37
|
import BpmnModeler from "bpmn-js/lib/Modeler";
|
|
29
38
|
import TokenSimulationModule from "bpmn-js-token-simulation";
|
|
30
39
|
import { isObject, isFunction, some } from "min-dash";
|
|
@@ -32,8 +41,16 @@ import X2JS from "x2js";
|
|
|
32
41
|
import hljs from "highlight.js/lib/core";
|
|
33
42
|
import xml$3 from "highlight.js/lib/languages/xml";
|
|
34
43
|
import json from "highlight.js/lib/languages/json";
|
|
35
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
36
|
-
const
|
|
44
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
45
|
+
const processDesigner = "";
|
|
46
|
+
const DefaultEmptyXML = (key, name2, type) => {
|
|
47
|
+
type = type || "camunda";
|
|
48
|
+
const TYPE_TARGET = {
|
|
49
|
+
activiti: "http://activiti.org/bpmn",
|
|
50
|
+
camunda: "http://bpmn.io/schema/bpmn",
|
|
51
|
+
flowable: "http://flowable.org/bpmn"
|
|
52
|
+
};
|
|
53
|
+
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
37
54
|
<bpmn2:definitions
|
|
38
55
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
39
56
|
xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
@@ -41,23 +58,25 @@ const DefaultEmptyXML = (key, name2, type) => (type = type || "camunda", `<?xml
|
|
|
41
58
|
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
42
59
|
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
43
60
|
id="diagram_${key}"
|
|
44
|
-
targetNamespace="${
|
|
45
|
-
activiti: "http://activiti.org/bpmn",
|
|
46
|
-
camunda: "http://bpmn.io/schema/bpmn",
|
|
47
|
-
flowable: "http://flowable.org/bpmn"
|
|
48
|
-
}[type]}">
|
|
61
|
+
targetNamespace="${TYPE_TARGET[type]}">
|
|
49
62
|
<bpmn2:process id="${key}" name="${name2}" isExecutable="true">
|
|
50
63
|
</bpmn2:process>
|
|
51
64
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
52
65
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="${key}">
|
|
53
66
|
</bpmndi:BPMNPlane>
|
|
54
67
|
</bpmndi:BPMNDiagram>
|
|
55
|
-
</bpmn2:definitions
|
|
68
|
+
</bpmn2:definitions>`;
|
|
69
|
+
};
|
|
56
70
|
function customTranslate(translations) {
|
|
57
71
|
return function(template, replacements) {
|
|
58
|
-
|
|
72
|
+
replacements = replacements || {};
|
|
73
|
+
template = translations[template] || template;
|
|
74
|
+
return template.replace(/{([^}]+)}/g, function(_, key) {
|
|
59
75
|
let str = replacements[key];
|
|
60
|
-
|
|
76
|
+
if (translations[replacements[key]] !== null && translations[replacements[key]] !== void 0) {
|
|
77
|
+
str = translations[replacements[key]];
|
|
78
|
+
}
|
|
79
|
+
return str || `{${key}}`;
|
|
61
80
|
});
|
|
62
81
|
};
|
|
63
82
|
}
|
|
@@ -288,19 +307,25 @@ const translationsCN = {
|
|
|
288
307
|
"Tasklist Configuration": "Tasklist配置",
|
|
289
308
|
Startable: "启动",
|
|
290
309
|
"Specify more than one group as a comma separated list.": "指定多个组作为逗号分隔的列表。"
|
|
291
|
-
}
|
|
310
|
+
};
|
|
311
|
+
const name$2 = "Camunda";
|
|
312
|
+
const uri$2 = "http://camunda.org/schema/1.0/bpmn";
|
|
313
|
+
const prefix$2 = "camunda";
|
|
314
|
+
const xml$2 = {
|
|
292
315
|
tagAlias: "lowerCase"
|
|
293
|
-
}
|
|
316
|
+
};
|
|
317
|
+
const associations$2 = [];
|
|
318
|
+
const types$2 = [
|
|
294
319
|
{
|
|
295
320
|
name: "Definitions",
|
|
296
|
-
isAbstract:
|
|
297
|
-
extends: [
|
|
321
|
+
isAbstract: true,
|
|
322
|
+
"extends": [
|
|
298
323
|
"bpmn:Definitions"
|
|
299
324
|
],
|
|
300
325
|
properties: [
|
|
301
326
|
{
|
|
302
327
|
name: "diagramRelationId",
|
|
303
|
-
isAttr:
|
|
328
|
+
isAttr: true,
|
|
304
329
|
type: "String"
|
|
305
330
|
}
|
|
306
331
|
]
|
|
@@ -310,37 +335,37 @@ const translationsCN = {
|
|
|
310
335
|
superClass: [
|
|
311
336
|
"Element"
|
|
312
337
|
],
|
|
313
|
-
isAbstract:
|
|
338
|
+
isAbstract: true,
|
|
314
339
|
properties: [
|
|
315
340
|
{
|
|
316
341
|
name: "source",
|
|
317
|
-
isAttr:
|
|
342
|
+
isAttr: true,
|
|
318
343
|
type: "String"
|
|
319
344
|
},
|
|
320
345
|
{
|
|
321
346
|
name: "sourceExpression",
|
|
322
|
-
isAttr:
|
|
347
|
+
isAttr: true,
|
|
323
348
|
type: "String"
|
|
324
349
|
},
|
|
325
350
|
{
|
|
326
351
|
name: "target",
|
|
327
|
-
isAttr:
|
|
352
|
+
isAttr: true,
|
|
328
353
|
type: "String"
|
|
329
354
|
},
|
|
330
355
|
{
|
|
331
356
|
name: "businessKey",
|
|
332
|
-
isAttr:
|
|
357
|
+
isAttr: true,
|
|
333
358
|
type: "String"
|
|
334
359
|
},
|
|
335
360
|
{
|
|
336
361
|
name: "local",
|
|
337
|
-
isAttr:
|
|
362
|
+
isAttr: true,
|
|
338
363
|
type: "Boolean",
|
|
339
|
-
default:
|
|
364
|
+
"default": false
|
|
340
365
|
},
|
|
341
366
|
{
|
|
342
367
|
name: "variables",
|
|
343
|
-
isAttr:
|
|
368
|
+
isAttr: true,
|
|
344
369
|
type: "String"
|
|
345
370
|
}
|
|
346
371
|
]
|
|
@@ -370,8 +395,8 @@ const translationsCN = {
|
|
|
370
395
|
},
|
|
371
396
|
{
|
|
372
397
|
name: "AsyncCapable",
|
|
373
|
-
isAbstract:
|
|
374
|
-
extends: [
|
|
398
|
+
isAbstract: true,
|
|
399
|
+
"extends": [
|
|
375
400
|
"bpmn:Activity",
|
|
376
401
|
"bpmn:Gateway",
|
|
377
402
|
"bpmn:Event"
|
|
@@ -379,89 +404,89 @@ const translationsCN = {
|
|
|
379
404
|
properties: [
|
|
380
405
|
{
|
|
381
406
|
name: "async",
|
|
382
|
-
isAttr:
|
|
407
|
+
isAttr: true,
|
|
383
408
|
type: "Boolean",
|
|
384
|
-
default:
|
|
409
|
+
"default": false
|
|
385
410
|
},
|
|
386
411
|
{
|
|
387
412
|
name: "asyncBefore",
|
|
388
|
-
isAttr:
|
|
413
|
+
isAttr: true,
|
|
389
414
|
type: "Boolean",
|
|
390
|
-
default:
|
|
415
|
+
"default": false
|
|
391
416
|
},
|
|
392
417
|
{
|
|
393
418
|
name: "asyncAfter",
|
|
394
|
-
isAttr:
|
|
419
|
+
isAttr: true,
|
|
395
420
|
type: "Boolean",
|
|
396
|
-
default:
|
|
421
|
+
"default": false
|
|
397
422
|
},
|
|
398
423
|
{
|
|
399
424
|
name: "exclusive",
|
|
400
|
-
isAttr:
|
|
425
|
+
isAttr: true,
|
|
401
426
|
type: "Boolean",
|
|
402
|
-
default:
|
|
427
|
+
"default": true
|
|
403
428
|
}
|
|
404
429
|
]
|
|
405
430
|
},
|
|
406
431
|
{
|
|
407
432
|
name: "JobPriorized",
|
|
408
|
-
isAbstract:
|
|
409
|
-
extends: [
|
|
433
|
+
isAbstract: true,
|
|
434
|
+
"extends": [
|
|
410
435
|
"bpmn:Process",
|
|
411
436
|
"camunda:AsyncCapable"
|
|
412
437
|
],
|
|
413
438
|
properties: [
|
|
414
439
|
{
|
|
415
440
|
name: "jobPriority",
|
|
416
|
-
isAttr:
|
|
441
|
+
isAttr: true,
|
|
417
442
|
type: "String"
|
|
418
443
|
}
|
|
419
444
|
]
|
|
420
445
|
},
|
|
421
446
|
{
|
|
422
447
|
name: "SignalEventDefinition",
|
|
423
|
-
isAbstract:
|
|
424
|
-
extends: [
|
|
448
|
+
isAbstract: true,
|
|
449
|
+
"extends": [
|
|
425
450
|
"bpmn:SignalEventDefinition"
|
|
426
451
|
],
|
|
427
452
|
properties: [
|
|
428
453
|
{
|
|
429
454
|
name: "async",
|
|
430
|
-
isAttr:
|
|
455
|
+
isAttr: true,
|
|
431
456
|
type: "Boolean",
|
|
432
|
-
default:
|
|
457
|
+
"default": false
|
|
433
458
|
}
|
|
434
459
|
]
|
|
435
460
|
},
|
|
436
461
|
{
|
|
437
462
|
name: "ErrorEventDefinition",
|
|
438
|
-
isAbstract:
|
|
439
|
-
extends: [
|
|
463
|
+
isAbstract: true,
|
|
464
|
+
"extends": [
|
|
440
465
|
"bpmn:ErrorEventDefinition"
|
|
441
466
|
],
|
|
442
467
|
properties: [
|
|
443
468
|
{
|
|
444
469
|
name: "errorCodeVariable",
|
|
445
|
-
isAttr:
|
|
470
|
+
isAttr: true,
|
|
446
471
|
type: "String"
|
|
447
472
|
},
|
|
448
473
|
{
|
|
449
474
|
name: "errorMessageVariable",
|
|
450
|
-
isAttr:
|
|
475
|
+
isAttr: true,
|
|
451
476
|
type: "String"
|
|
452
477
|
}
|
|
453
478
|
]
|
|
454
479
|
},
|
|
455
480
|
{
|
|
456
481
|
name: "Error",
|
|
457
|
-
isAbstract:
|
|
458
|
-
extends: [
|
|
482
|
+
isAbstract: true,
|
|
483
|
+
"extends": [
|
|
459
484
|
"bpmn:Error"
|
|
460
485
|
],
|
|
461
486
|
properties: [
|
|
462
487
|
{
|
|
463
488
|
name: "camunda:errorMessage",
|
|
464
|
-
isAttr:
|
|
489
|
+
isAttr: true,
|
|
465
490
|
type: "String"
|
|
466
491
|
}
|
|
467
492
|
]
|
|
@@ -480,241 +505,241 @@ const translationsCN = {
|
|
|
480
505
|
},
|
|
481
506
|
{
|
|
482
507
|
name: "FormSupported",
|
|
483
|
-
isAbstract:
|
|
484
|
-
extends: [
|
|
508
|
+
isAbstract: true,
|
|
509
|
+
"extends": [
|
|
485
510
|
"bpmn:StartEvent",
|
|
486
511
|
"bpmn:UserTask"
|
|
487
512
|
],
|
|
488
513
|
properties: [
|
|
489
514
|
{
|
|
490
515
|
name: "formHandlerClass",
|
|
491
|
-
isAttr:
|
|
516
|
+
isAttr: true,
|
|
492
517
|
type: "String"
|
|
493
518
|
},
|
|
494
519
|
{
|
|
495
520
|
name: "formKey",
|
|
496
|
-
isAttr:
|
|
521
|
+
isAttr: true,
|
|
497
522
|
type: "String"
|
|
498
523
|
}
|
|
499
524
|
]
|
|
500
525
|
},
|
|
501
526
|
{
|
|
502
527
|
name: "TemplateSupported",
|
|
503
|
-
isAbstract:
|
|
504
|
-
extends: [
|
|
528
|
+
isAbstract: true,
|
|
529
|
+
"extends": [
|
|
505
530
|
"bpmn:Process",
|
|
506
531
|
"bpmn:FlowElement"
|
|
507
532
|
],
|
|
508
533
|
properties: [
|
|
509
534
|
{
|
|
510
535
|
name: "modelerTemplate",
|
|
511
|
-
isAttr:
|
|
536
|
+
isAttr: true,
|
|
512
537
|
type: "String"
|
|
513
538
|
},
|
|
514
539
|
{
|
|
515
540
|
name: "modelerTemplateVersion",
|
|
516
|
-
isAttr:
|
|
541
|
+
isAttr: true,
|
|
517
542
|
type: "Integer"
|
|
518
543
|
}
|
|
519
544
|
]
|
|
520
545
|
},
|
|
521
546
|
{
|
|
522
547
|
name: "Initiator",
|
|
523
|
-
isAbstract:
|
|
524
|
-
extends: [
|
|
548
|
+
isAbstract: true,
|
|
549
|
+
"extends": [
|
|
525
550
|
"bpmn:StartEvent"
|
|
526
551
|
],
|
|
527
552
|
properties: [
|
|
528
553
|
{
|
|
529
554
|
name: "initiator",
|
|
530
|
-
isAttr:
|
|
555
|
+
isAttr: true,
|
|
531
556
|
type: "String"
|
|
532
557
|
}
|
|
533
558
|
]
|
|
534
559
|
},
|
|
535
560
|
{
|
|
536
561
|
name: "ScriptTask",
|
|
537
|
-
isAbstract:
|
|
538
|
-
extends: [
|
|
562
|
+
isAbstract: true,
|
|
563
|
+
"extends": [
|
|
539
564
|
"bpmn:ScriptTask"
|
|
540
565
|
],
|
|
541
566
|
properties: [
|
|
542
567
|
{
|
|
543
568
|
name: "resultVariable",
|
|
544
|
-
isAttr:
|
|
569
|
+
isAttr: true,
|
|
545
570
|
type: "String"
|
|
546
571
|
},
|
|
547
572
|
{
|
|
548
573
|
name: "resource",
|
|
549
|
-
isAttr:
|
|
574
|
+
isAttr: true,
|
|
550
575
|
type: "String"
|
|
551
576
|
}
|
|
552
577
|
]
|
|
553
578
|
},
|
|
554
579
|
{
|
|
555
580
|
name: "Process",
|
|
556
|
-
isAbstract:
|
|
557
|
-
extends: [
|
|
581
|
+
isAbstract: true,
|
|
582
|
+
"extends": [
|
|
558
583
|
"bpmn:Process"
|
|
559
584
|
],
|
|
560
585
|
properties: [
|
|
561
586
|
{
|
|
562
587
|
name: "candidateStarterGroups",
|
|
563
|
-
isAttr:
|
|
588
|
+
isAttr: true,
|
|
564
589
|
type: "String"
|
|
565
590
|
},
|
|
566
591
|
{
|
|
567
592
|
name: "candidateStarterUsers",
|
|
568
|
-
isAttr:
|
|
593
|
+
isAttr: true,
|
|
569
594
|
type: "String"
|
|
570
595
|
},
|
|
571
596
|
{
|
|
572
597
|
name: "versionTag",
|
|
573
|
-
isAttr:
|
|
598
|
+
isAttr: true,
|
|
574
599
|
type: "String"
|
|
575
600
|
},
|
|
576
601
|
{
|
|
577
602
|
name: "historyTimeToLive",
|
|
578
|
-
isAttr:
|
|
603
|
+
isAttr: true,
|
|
579
604
|
type: "String"
|
|
580
605
|
},
|
|
581
606
|
{
|
|
582
607
|
name: "isStartableInTasklist",
|
|
583
|
-
isAttr:
|
|
608
|
+
isAttr: true,
|
|
584
609
|
type: "Boolean",
|
|
585
|
-
default:
|
|
610
|
+
"default": true
|
|
586
611
|
}
|
|
587
612
|
]
|
|
588
613
|
},
|
|
589
614
|
{
|
|
590
615
|
name: "EscalationEventDefinition",
|
|
591
|
-
isAbstract:
|
|
592
|
-
extends: [
|
|
616
|
+
isAbstract: true,
|
|
617
|
+
"extends": [
|
|
593
618
|
"bpmn:EscalationEventDefinition"
|
|
594
619
|
],
|
|
595
620
|
properties: [
|
|
596
621
|
{
|
|
597
622
|
name: "escalationCodeVariable",
|
|
598
|
-
isAttr:
|
|
623
|
+
isAttr: true,
|
|
599
624
|
type: "String"
|
|
600
625
|
}
|
|
601
626
|
]
|
|
602
627
|
},
|
|
603
628
|
{
|
|
604
629
|
name: "FormalExpression",
|
|
605
|
-
isAbstract:
|
|
606
|
-
extends: [
|
|
630
|
+
isAbstract: true,
|
|
631
|
+
"extends": [
|
|
607
632
|
"bpmn:FormalExpression"
|
|
608
633
|
],
|
|
609
634
|
properties: [
|
|
610
635
|
{
|
|
611
636
|
name: "resource",
|
|
612
|
-
isAttr:
|
|
637
|
+
isAttr: true,
|
|
613
638
|
type: "String"
|
|
614
639
|
}
|
|
615
640
|
]
|
|
616
641
|
},
|
|
617
642
|
{
|
|
618
643
|
name: "Assignable",
|
|
619
|
-
extends: [
|
|
644
|
+
"extends": [
|
|
620
645
|
"bpmn:UserTask"
|
|
621
646
|
],
|
|
622
647
|
properties: [
|
|
623
648
|
{
|
|
624
649
|
name: "assignee",
|
|
625
|
-
isAttr:
|
|
650
|
+
isAttr: true,
|
|
626
651
|
type: "String"
|
|
627
652
|
},
|
|
628
653
|
{
|
|
629
654
|
name: "candidateUsers",
|
|
630
|
-
isAttr:
|
|
655
|
+
isAttr: true,
|
|
631
656
|
type: "String"
|
|
632
657
|
},
|
|
633
658
|
{
|
|
634
659
|
name: "candidateGroups",
|
|
635
|
-
isAttr:
|
|
660
|
+
isAttr: true,
|
|
636
661
|
type: "String"
|
|
637
662
|
},
|
|
638
663
|
{
|
|
639
664
|
name: "dueDate",
|
|
640
|
-
isAttr:
|
|
665
|
+
isAttr: true,
|
|
641
666
|
type: "String"
|
|
642
667
|
},
|
|
643
668
|
{
|
|
644
669
|
name: "followUpDate",
|
|
645
|
-
isAttr:
|
|
670
|
+
isAttr: true,
|
|
646
671
|
type: "String"
|
|
647
672
|
},
|
|
648
673
|
{
|
|
649
674
|
name: "priority",
|
|
650
|
-
isAttr:
|
|
675
|
+
isAttr: true,
|
|
651
676
|
type: "String"
|
|
652
677
|
}
|
|
653
678
|
]
|
|
654
679
|
},
|
|
655
680
|
{
|
|
656
681
|
name: "CallActivity",
|
|
657
|
-
extends: [
|
|
682
|
+
"extends": [
|
|
658
683
|
"bpmn:CallActivity"
|
|
659
684
|
],
|
|
660
685
|
properties: [
|
|
661
686
|
{
|
|
662
687
|
name: "calledElementBinding",
|
|
663
|
-
isAttr:
|
|
688
|
+
isAttr: true,
|
|
664
689
|
type: "String",
|
|
665
|
-
default: "latest"
|
|
690
|
+
"default": "latest"
|
|
666
691
|
},
|
|
667
692
|
{
|
|
668
693
|
name: "calledElementVersion",
|
|
669
|
-
isAttr:
|
|
694
|
+
isAttr: true,
|
|
670
695
|
type: "String"
|
|
671
696
|
},
|
|
672
697
|
{
|
|
673
698
|
name: "calledElementVersionTag",
|
|
674
|
-
isAttr:
|
|
699
|
+
isAttr: true,
|
|
675
700
|
type: "String"
|
|
676
701
|
},
|
|
677
702
|
{
|
|
678
703
|
name: "calledElementTenantId",
|
|
679
|
-
isAttr:
|
|
704
|
+
isAttr: true,
|
|
680
705
|
type: "String"
|
|
681
706
|
},
|
|
682
707
|
{
|
|
683
708
|
name: "caseRef",
|
|
684
|
-
isAttr:
|
|
709
|
+
isAttr: true,
|
|
685
710
|
type: "String"
|
|
686
711
|
},
|
|
687
712
|
{
|
|
688
713
|
name: "caseBinding",
|
|
689
|
-
isAttr:
|
|
714
|
+
isAttr: true,
|
|
690
715
|
type: "String",
|
|
691
|
-
default: "latest"
|
|
716
|
+
"default": "latest"
|
|
692
717
|
},
|
|
693
718
|
{
|
|
694
719
|
name: "caseVersion",
|
|
695
|
-
isAttr:
|
|
720
|
+
isAttr: true,
|
|
696
721
|
type: "String"
|
|
697
722
|
},
|
|
698
723
|
{
|
|
699
724
|
name: "caseTenantId",
|
|
700
|
-
isAttr:
|
|
725
|
+
isAttr: true,
|
|
701
726
|
type: "String"
|
|
702
727
|
},
|
|
703
728
|
{
|
|
704
729
|
name: "variableMappingClass",
|
|
705
|
-
isAttr:
|
|
730
|
+
isAttr: true,
|
|
706
731
|
type: "String"
|
|
707
732
|
},
|
|
708
733
|
{
|
|
709
734
|
name: "variableMappingDelegateExpression",
|
|
710
|
-
isAttr:
|
|
735
|
+
isAttr: true,
|
|
711
736
|
type: "String"
|
|
712
737
|
}
|
|
713
738
|
]
|
|
714
739
|
},
|
|
715
740
|
{
|
|
716
741
|
name: "ServiceTaskLike",
|
|
717
|
-
extends: [
|
|
742
|
+
"extends": [
|
|
718
743
|
"bpmn:ServiceTask",
|
|
719
744
|
"bpmn:BusinessRuleTask",
|
|
720
745
|
"bpmn:SendTask",
|
|
@@ -723,89 +748,89 @@ const translationsCN = {
|
|
|
723
748
|
properties: [
|
|
724
749
|
{
|
|
725
750
|
name: "expression",
|
|
726
|
-
isAttr:
|
|
751
|
+
isAttr: true,
|
|
727
752
|
type: "String"
|
|
728
753
|
},
|
|
729
754
|
{
|
|
730
755
|
name: "class",
|
|
731
|
-
isAttr:
|
|
756
|
+
isAttr: true,
|
|
732
757
|
type: "String"
|
|
733
758
|
},
|
|
734
759
|
{
|
|
735
760
|
name: "delegateExpression",
|
|
736
|
-
isAttr:
|
|
761
|
+
isAttr: true,
|
|
737
762
|
type: "String"
|
|
738
763
|
},
|
|
739
764
|
{
|
|
740
765
|
name: "resultVariable",
|
|
741
|
-
isAttr:
|
|
766
|
+
isAttr: true,
|
|
742
767
|
type: "String"
|
|
743
768
|
}
|
|
744
769
|
]
|
|
745
770
|
},
|
|
746
771
|
{
|
|
747
772
|
name: "DmnCapable",
|
|
748
|
-
extends: [
|
|
773
|
+
"extends": [
|
|
749
774
|
"bpmn:BusinessRuleTask"
|
|
750
775
|
],
|
|
751
776
|
properties: [
|
|
752
777
|
{
|
|
753
778
|
name: "decisionRef",
|
|
754
|
-
isAttr:
|
|
779
|
+
isAttr: true,
|
|
755
780
|
type: "String"
|
|
756
781
|
},
|
|
757
782
|
{
|
|
758
783
|
name: "decisionRefBinding",
|
|
759
|
-
isAttr:
|
|
784
|
+
isAttr: true,
|
|
760
785
|
type: "String",
|
|
761
|
-
default: "latest"
|
|
786
|
+
"default": "latest"
|
|
762
787
|
},
|
|
763
788
|
{
|
|
764
789
|
name: "decisionRefVersion",
|
|
765
|
-
isAttr:
|
|
790
|
+
isAttr: true,
|
|
766
791
|
type: "String"
|
|
767
792
|
},
|
|
768
793
|
{
|
|
769
794
|
name: "mapDecisionResult",
|
|
770
|
-
isAttr:
|
|
795
|
+
isAttr: true,
|
|
771
796
|
type: "String",
|
|
772
|
-
default: "resultList"
|
|
797
|
+
"default": "resultList"
|
|
773
798
|
},
|
|
774
799
|
{
|
|
775
800
|
name: "decisionRefTenantId",
|
|
776
|
-
isAttr:
|
|
801
|
+
isAttr: true,
|
|
777
802
|
type: "String"
|
|
778
803
|
}
|
|
779
804
|
]
|
|
780
805
|
},
|
|
781
806
|
{
|
|
782
807
|
name: "ExternalCapable",
|
|
783
|
-
extends: [
|
|
808
|
+
"extends": [
|
|
784
809
|
"camunda:ServiceTaskLike"
|
|
785
810
|
],
|
|
786
811
|
properties: [
|
|
787
812
|
{
|
|
788
813
|
name: "type",
|
|
789
|
-
isAttr:
|
|
814
|
+
isAttr: true,
|
|
790
815
|
type: "String"
|
|
791
816
|
},
|
|
792
817
|
{
|
|
793
818
|
name: "topic",
|
|
794
|
-
isAttr:
|
|
819
|
+
isAttr: true,
|
|
795
820
|
type: "String"
|
|
796
821
|
}
|
|
797
822
|
]
|
|
798
823
|
},
|
|
799
824
|
{
|
|
800
825
|
name: "TaskPriorized",
|
|
801
|
-
extends: [
|
|
826
|
+
"extends": [
|
|
802
827
|
"bpmn:Process",
|
|
803
828
|
"camunda:ExternalCapable"
|
|
804
829
|
],
|
|
805
830
|
properties: [
|
|
806
831
|
{
|
|
807
832
|
name: "taskPriority",
|
|
808
|
-
isAttr:
|
|
833
|
+
isAttr: true,
|
|
809
834
|
type: "String"
|
|
810
835
|
}
|
|
811
836
|
]
|
|
@@ -824,7 +849,7 @@ const translationsCN = {
|
|
|
824
849
|
{
|
|
825
850
|
name: "values",
|
|
826
851
|
type: "Property",
|
|
827
|
-
isMany:
|
|
852
|
+
isMany: true
|
|
828
853
|
}
|
|
829
854
|
]
|
|
830
855
|
},
|
|
@@ -837,17 +862,17 @@ const translationsCN = {
|
|
|
837
862
|
{
|
|
838
863
|
name: "id",
|
|
839
864
|
type: "String",
|
|
840
|
-
isAttr:
|
|
865
|
+
isAttr: true
|
|
841
866
|
},
|
|
842
867
|
{
|
|
843
868
|
name: "name",
|
|
844
869
|
type: "String",
|
|
845
|
-
isAttr:
|
|
870
|
+
isAttr: true
|
|
846
871
|
},
|
|
847
872
|
{
|
|
848
873
|
name: "value",
|
|
849
874
|
type: "String",
|
|
850
|
-
isAttr:
|
|
875
|
+
isAttr: true
|
|
851
876
|
}
|
|
852
877
|
]
|
|
853
878
|
},
|
|
@@ -894,12 +919,12 @@ const translationsCN = {
|
|
|
894
919
|
},
|
|
895
920
|
{
|
|
896
921
|
name: "inputParameters",
|
|
897
|
-
isMany:
|
|
922
|
+
isMany: true,
|
|
898
923
|
type: "InputParameter"
|
|
899
924
|
},
|
|
900
925
|
{
|
|
901
926
|
name: "outputParameters",
|
|
902
|
-
isMany:
|
|
927
|
+
isMany: true,
|
|
903
928
|
type: "OutputParameter"
|
|
904
929
|
}
|
|
905
930
|
]
|
|
@@ -909,12 +934,12 @@ const translationsCN = {
|
|
|
909
934
|
properties: [
|
|
910
935
|
{
|
|
911
936
|
name: "name",
|
|
912
|
-
isAttr:
|
|
937
|
+
isAttr: true,
|
|
913
938
|
type: "String"
|
|
914
939
|
},
|
|
915
940
|
{
|
|
916
941
|
name: "value",
|
|
917
|
-
isBody:
|
|
942
|
+
isBody: true,
|
|
918
943
|
type: "String"
|
|
919
944
|
},
|
|
920
945
|
{
|
|
@@ -925,7 +950,7 @@ const translationsCN = {
|
|
|
925
950
|
},
|
|
926
951
|
{
|
|
927
952
|
name: "InputOutputParameterDefinition",
|
|
928
|
-
isAbstract:
|
|
953
|
+
isAbstract: true
|
|
929
954
|
},
|
|
930
955
|
{
|
|
931
956
|
name: "List",
|
|
@@ -935,7 +960,7 @@ const translationsCN = {
|
|
|
935
960
|
properties: [
|
|
936
961
|
{
|
|
937
962
|
name: "items",
|
|
938
|
-
isMany:
|
|
963
|
+
isMany: true,
|
|
939
964
|
type: "InputOutputParameterDefinition"
|
|
940
965
|
}
|
|
941
966
|
]
|
|
@@ -948,7 +973,7 @@ const translationsCN = {
|
|
|
948
973
|
properties: [
|
|
949
974
|
{
|
|
950
975
|
name: "entries",
|
|
951
|
-
isMany:
|
|
976
|
+
isMany: true,
|
|
952
977
|
type: "Entry"
|
|
953
978
|
}
|
|
954
979
|
]
|
|
@@ -958,12 +983,12 @@ const translationsCN = {
|
|
|
958
983
|
properties: [
|
|
959
984
|
{
|
|
960
985
|
name: "key",
|
|
961
|
-
isAttr:
|
|
986
|
+
isAttr: true,
|
|
962
987
|
type: "String"
|
|
963
988
|
},
|
|
964
989
|
{
|
|
965
990
|
name: "value",
|
|
966
|
-
isBody:
|
|
991
|
+
isBody: true,
|
|
967
992
|
type: "String"
|
|
968
993
|
},
|
|
969
994
|
{
|
|
@@ -980,17 +1005,17 @@ const translationsCN = {
|
|
|
980
1005
|
properties: [
|
|
981
1006
|
{
|
|
982
1007
|
name: "id",
|
|
983
|
-
isAttr:
|
|
1008
|
+
isAttr: true,
|
|
984
1009
|
type: "String"
|
|
985
1010
|
},
|
|
986
1011
|
{
|
|
987
1012
|
name: "name",
|
|
988
|
-
isAttr:
|
|
1013
|
+
isAttr: true,
|
|
989
1014
|
type: "String"
|
|
990
1015
|
},
|
|
991
1016
|
{
|
|
992
1017
|
name: "value",
|
|
993
|
-
isBody:
|
|
1018
|
+
isBody: true,
|
|
994
1019
|
type: "String"
|
|
995
1020
|
}
|
|
996
1021
|
]
|
|
@@ -1003,17 +1028,17 @@ const translationsCN = {
|
|
|
1003
1028
|
properties: [
|
|
1004
1029
|
{
|
|
1005
1030
|
name: "scriptFormat",
|
|
1006
|
-
isAttr:
|
|
1031
|
+
isAttr: true,
|
|
1007
1032
|
type: "String"
|
|
1008
1033
|
},
|
|
1009
1034
|
{
|
|
1010
1035
|
name: "resource",
|
|
1011
|
-
isAttr:
|
|
1036
|
+
isAttr: true,
|
|
1012
1037
|
type: "String"
|
|
1013
1038
|
},
|
|
1014
1039
|
{
|
|
1015
1040
|
name: "value",
|
|
1016
|
-
isBody:
|
|
1041
|
+
isBody: true,
|
|
1017
1042
|
type: "String"
|
|
1018
1043
|
}
|
|
1019
1044
|
]
|
|
@@ -1033,7 +1058,7 @@ const translationsCN = {
|
|
|
1033
1058
|
properties: [
|
|
1034
1059
|
{
|
|
1035
1060
|
name: "name",
|
|
1036
|
-
isAttr:
|
|
1061
|
+
isAttr: true,
|
|
1037
1062
|
type: "String"
|
|
1038
1063
|
},
|
|
1039
1064
|
{
|
|
@@ -1042,7 +1067,7 @@ const translationsCN = {
|
|
|
1042
1067
|
},
|
|
1043
1068
|
{
|
|
1044
1069
|
name: "stringValue",
|
|
1045
|
-
isAttr:
|
|
1070
|
+
isAttr: true,
|
|
1046
1071
|
type: "String"
|
|
1047
1072
|
},
|
|
1048
1073
|
{
|
|
@@ -1065,8 +1090,8 @@ const translationsCN = {
|
|
|
1065
1090
|
},
|
|
1066
1091
|
{
|
|
1067
1092
|
name: "Collectable",
|
|
1068
|
-
isAbstract:
|
|
1069
|
-
extends: [
|
|
1093
|
+
isAbstract: true,
|
|
1094
|
+
"extends": [
|
|
1070
1095
|
"bpmn:MultiInstanceLoopCharacteristics"
|
|
1071
1096
|
],
|
|
1072
1097
|
superClass: [
|
|
@@ -1075,12 +1100,12 @@ const translationsCN = {
|
|
|
1075
1100
|
properties: [
|
|
1076
1101
|
{
|
|
1077
1102
|
name: "collection",
|
|
1078
|
-
isAttr:
|
|
1103
|
+
isAttr: true,
|
|
1079
1104
|
type: "String"
|
|
1080
1105
|
},
|
|
1081
1106
|
{
|
|
1082
1107
|
name: "elementVariable",
|
|
1083
|
-
isAttr:
|
|
1108
|
+
isAttr: true,
|
|
1084
1109
|
type: "String"
|
|
1085
1110
|
}
|
|
1086
1111
|
]
|
|
@@ -1099,7 +1124,7 @@ const translationsCN = {
|
|
|
1099
1124
|
properties: [
|
|
1100
1125
|
{
|
|
1101
1126
|
name: "body",
|
|
1102
|
-
isBody:
|
|
1127
|
+
isBody: true,
|
|
1103
1128
|
type: "String"
|
|
1104
1129
|
}
|
|
1105
1130
|
]
|
|
@@ -1136,22 +1161,22 @@ const translationsCN = {
|
|
|
1136
1161
|
properties: [
|
|
1137
1162
|
{
|
|
1138
1163
|
name: "expression",
|
|
1139
|
-
isAttr:
|
|
1164
|
+
isAttr: true,
|
|
1140
1165
|
type: "String"
|
|
1141
1166
|
},
|
|
1142
1167
|
{
|
|
1143
1168
|
name: "class",
|
|
1144
|
-
isAttr:
|
|
1169
|
+
isAttr: true,
|
|
1145
1170
|
type: "String"
|
|
1146
1171
|
},
|
|
1147
1172
|
{
|
|
1148
1173
|
name: "delegateExpression",
|
|
1149
|
-
isAttr:
|
|
1174
|
+
isAttr: true,
|
|
1150
1175
|
type: "String"
|
|
1151
1176
|
},
|
|
1152
1177
|
{
|
|
1153
1178
|
name: "event",
|
|
1154
|
-
isAttr:
|
|
1179
|
+
isAttr: true,
|
|
1155
1180
|
type: "String"
|
|
1156
1181
|
},
|
|
1157
1182
|
{
|
|
@@ -1161,7 +1186,7 @@ const translationsCN = {
|
|
|
1161
1186
|
{
|
|
1162
1187
|
name: "fields",
|
|
1163
1188
|
type: "Field",
|
|
1164
|
-
isMany:
|
|
1189
|
+
isMany: true
|
|
1165
1190
|
}
|
|
1166
1191
|
]
|
|
1167
1192
|
},
|
|
@@ -1178,22 +1203,22 @@ const translationsCN = {
|
|
|
1178
1203
|
properties: [
|
|
1179
1204
|
{
|
|
1180
1205
|
name: "expression",
|
|
1181
|
-
isAttr:
|
|
1206
|
+
isAttr: true,
|
|
1182
1207
|
type: "String"
|
|
1183
1208
|
},
|
|
1184
1209
|
{
|
|
1185
1210
|
name: "class",
|
|
1186
|
-
isAttr:
|
|
1211
|
+
isAttr: true,
|
|
1187
1212
|
type: "String"
|
|
1188
1213
|
},
|
|
1189
1214
|
{
|
|
1190
1215
|
name: "delegateExpression",
|
|
1191
|
-
isAttr:
|
|
1216
|
+
isAttr: true,
|
|
1192
1217
|
type: "String"
|
|
1193
1218
|
},
|
|
1194
1219
|
{
|
|
1195
1220
|
name: "event",
|
|
1196
|
-
isAttr:
|
|
1221
|
+
isAttr: true,
|
|
1197
1222
|
type: "String"
|
|
1198
1223
|
},
|
|
1199
1224
|
{
|
|
@@ -1203,17 +1228,17 @@ const translationsCN = {
|
|
|
1203
1228
|
{
|
|
1204
1229
|
name: "fields",
|
|
1205
1230
|
type: "Field",
|
|
1206
|
-
isMany:
|
|
1231
|
+
isMany: true
|
|
1207
1232
|
},
|
|
1208
1233
|
{
|
|
1209
1234
|
name: "id",
|
|
1210
1235
|
type: "String",
|
|
1211
|
-
isAttr:
|
|
1236
|
+
isAttr: true
|
|
1212
1237
|
},
|
|
1213
1238
|
{
|
|
1214
1239
|
name: "eventDefinitions",
|
|
1215
1240
|
type: "bpmn:TimerEventDefinition",
|
|
1216
|
-
isMany:
|
|
1241
|
+
isMany: true
|
|
1217
1242
|
}
|
|
1218
1243
|
]
|
|
1219
1244
|
},
|
|
@@ -1232,57 +1257,57 @@ const translationsCN = {
|
|
|
1232
1257
|
{
|
|
1233
1258
|
name: "id",
|
|
1234
1259
|
type: "String",
|
|
1235
|
-
isAttr:
|
|
1260
|
+
isAttr: true
|
|
1236
1261
|
},
|
|
1237
1262
|
{
|
|
1238
1263
|
name: "name",
|
|
1239
1264
|
type: "String",
|
|
1240
|
-
isAttr:
|
|
1265
|
+
isAttr: true
|
|
1241
1266
|
},
|
|
1242
1267
|
{
|
|
1243
1268
|
name: "type",
|
|
1244
1269
|
type: "String",
|
|
1245
|
-
isAttr:
|
|
1270
|
+
isAttr: true
|
|
1246
1271
|
},
|
|
1247
1272
|
{
|
|
1248
1273
|
name: "required",
|
|
1249
1274
|
type: "String",
|
|
1250
|
-
isAttr:
|
|
1275
|
+
isAttr: true
|
|
1251
1276
|
},
|
|
1252
1277
|
{
|
|
1253
1278
|
name: "readable",
|
|
1254
1279
|
type: "String",
|
|
1255
|
-
isAttr:
|
|
1280
|
+
isAttr: true
|
|
1256
1281
|
},
|
|
1257
1282
|
{
|
|
1258
1283
|
name: "writable",
|
|
1259
1284
|
type: "String",
|
|
1260
|
-
isAttr:
|
|
1285
|
+
isAttr: true
|
|
1261
1286
|
},
|
|
1262
1287
|
{
|
|
1263
1288
|
name: "variable",
|
|
1264
1289
|
type: "String",
|
|
1265
|
-
isAttr:
|
|
1290
|
+
isAttr: true
|
|
1266
1291
|
},
|
|
1267
1292
|
{
|
|
1268
1293
|
name: "expression",
|
|
1269
1294
|
type: "String",
|
|
1270
|
-
isAttr:
|
|
1295
|
+
isAttr: true
|
|
1271
1296
|
},
|
|
1272
1297
|
{
|
|
1273
1298
|
name: "datePattern",
|
|
1274
1299
|
type: "String",
|
|
1275
|
-
isAttr:
|
|
1300
|
+
isAttr: true
|
|
1276
1301
|
},
|
|
1277
1302
|
{
|
|
1278
1303
|
name: "default",
|
|
1279
1304
|
type: "String",
|
|
1280
|
-
isAttr:
|
|
1305
|
+
isAttr: true
|
|
1281
1306
|
},
|
|
1282
1307
|
{
|
|
1283
1308
|
name: "values",
|
|
1284
1309
|
type: "Value",
|
|
1285
|
-
isMany:
|
|
1310
|
+
isMany: true
|
|
1286
1311
|
}
|
|
1287
1312
|
]
|
|
1288
1313
|
},
|
|
@@ -1301,12 +1326,12 @@ const translationsCN = {
|
|
|
1301
1326
|
{
|
|
1302
1327
|
name: "fields",
|
|
1303
1328
|
type: "FormField",
|
|
1304
|
-
isMany:
|
|
1329
|
+
isMany: true
|
|
1305
1330
|
},
|
|
1306
1331
|
{
|
|
1307
1332
|
name: "businessKey",
|
|
1308
1333
|
type: "String",
|
|
1309
|
-
isAttr:
|
|
1334
|
+
isAttr: true
|
|
1310
1335
|
}
|
|
1311
1336
|
]
|
|
1312
1337
|
},
|
|
@@ -1319,27 +1344,27 @@ const translationsCN = {
|
|
|
1319
1344
|
{
|
|
1320
1345
|
name: "id",
|
|
1321
1346
|
type: "String",
|
|
1322
|
-
isAttr:
|
|
1347
|
+
isAttr: true
|
|
1323
1348
|
},
|
|
1324
1349
|
{
|
|
1325
1350
|
name: "label",
|
|
1326
1351
|
type: "String",
|
|
1327
|
-
isAttr:
|
|
1352
|
+
isAttr: true
|
|
1328
1353
|
},
|
|
1329
1354
|
{
|
|
1330
1355
|
name: "type",
|
|
1331
1356
|
type: "String",
|
|
1332
|
-
isAttr:
|
|
1357
|
+
isAttr: true
|
|
1333
1358
|
},
|
|
1334
1359
|
{
|
|
1335
1360
|
name: "datePattern",
|
|
1336
1361
|
type: "String",
|
|
1337
|
-
isAttr:
|
|
1362
|
+
isAttr: true
|
|
1338
1363
|
},
|
|
1339
1364
|
{
|
|
1340
1365
|
name: "defaultValue",
|
|
1341
1366
|
type: "String",
|
|
1342
|
-
isAttr:
|
|
1367
|
+
isAttr: true
|
|
1343
1368
|
},
|
|
1344
1369
|
{
|
|
1345
1370
|
name: "properties",
|
|
@@ -1352,7 +1377,7 @@ const translationsCN = {
|
|
|
1352
1377
|
{
|
|
1353
1378
|
name: "values",
|
|
1354
1379
|
type: "Value",
|
|
1355
|
-
isMany:
|
|
1380
|
+
isMany: true
|
|
1356
1381
|
}
|
|
1357
1382
|
]
|
|
1358
1383
|
},
|
|
@@ -1365,7 +1390,7 @@ const translationsCN = {
|
|
|
1365
1390
|
{
|
|
1366
1391
|
name: "constraints",
|
|
1367
1392
|
type: "Constraint",
|
|
1368
|
-
isMany:
|
|
1393
|
+
isMany: true
|
|
1369
1394
|
}
|
|
1370
1395
|
]
|
|
1371
1396
|
},
|
|
@@ -1378,35 +1403,37 @@ const translationsCN = {
|
|
|
1378
1403
|
{
|
|
1379
1404
|
name: "name",
|
|
1380
1405
|
type: "String",
|
|
1381
|
-
isAttr:
|
|
1406
|
+
isAttr: true
|
|
1382
1407
|
},
|
|
1383
1408
|
{
|
|
1384
1409
|
name: "config",
|
|
1385
1410
|
type: "String",
|
|
1386
|
-
isAttr:
|
|
1411
|
+
isAttr: true
|
|
1387
1412
|
}
|
|
1388
1413
|
]
|
|
1389
1414
|
},
|
|
1390
1415
|
{
|
|
1391
1416
|
name: "ConditionalEventDefinition",
|
|
1392
|
-
isAbstract:
|
|
1393
|
-
extends: [
|
|
1417
|
+
isAbstract: true,
|
|
1418
|
+
"extends": [
|
|
1394
1419
|
"bpmn:ConditionalEventDefinition"
|
|
1395
1420
|
],
|
|
1396
1421
|
properties: [
|
|
1397
1422
|
{
|
|
1398
1423
|
name: "variableName",
|
|
1399
|
-
isAttr:
|
|
1424
|
+
isAttr: true,
|
|
1400
1425
|
type: "String"
|
|
1401
1426
|
},
|
|
1402
1427
|
{
|
|
1403
1428
|
name: "variableEvents",
|
|
1404
|
-
isAttr:
|
|
1429
|
+
isAttr: true,
|
|
1405
1430
|
type: "String"
|
|
1406
1431
|
}
|
|
1407
1432
|
]
|
|
1408
1433
|
}
|
|
1409
|
-
]
|
|
1434
|
+
];
|
|
1435
|
+
const emumerations$2 = [];
|
|
1436
|
+
const CamundaModdleDescriptor = {
|
|
1410
1437
|
name: name$2,
|
|
1411
1438
|
uri: uri$2,
|
|
1412
1439
|
prefix: prefix$2,
|
|
@@ -1414,19 +1441,25 @@ const translationsCN = {
|
|
|
1414
1441
|
associations: associations$2,
|
|
1415
1442
|
types: types$2,
|
|
1416
1443
|
emumerations: emumerations$2
|
|
1417
|
-
}
|
|
1444
|
+
};
|
|
1445
|
+
const name$1 = "Activiti";
|
|
1446
|
+
const uri$1 = "http://activiti.org/bpmn";
|
|
1447
|
+
const prefix$1 = "activiti";
|
|
1448
|
+
const xml$1 = {
|
|
1418
1449
|
tagAlias: "lowerCase"
|
|
1419
|
-
}
|
|
1450
|
+
};
|
|
1451
|
+
const associations$1 = [];
|
|
1452
|
+
const types$1 = [
|
|
1420
1453
|
{
|
|
1421
1454
|
name: "Definitions",
|
|
1422
|
-
isAbstract:
|
|
1423
|
-
extends: [
|
|
1455
|
+
isAbstract: true,
|
|
1456
|
+
"extends": [
|
|
1424
1457
|
"bpmn:Definitions"
|
|
1425
1458
|
],
|
|
1426
1459
|
properties: [
|
|
1427
1460
|
{
|
|
1428
1461
|
name: "diagramRelationId",
|
|
1429
|
-
isAttr:
|
|
1462
|
+
isAttr: true,
|
|
1430
1463
|
type: "String"
|
|
1431
1464
|
}
|
|
1432
1465
|
]
|
|
@@ -1436,37 +1469,37 @@ const translationsCN = {
|
|
|
1436
1469
|
superClass: [
|
|
1437
1470
|
"Element"
|
|
1438
1471
|
],
|
|
1439
|
-
isAbstract:
|
|
1472
|
+
isAbstract: true,
|
|
1440
1473
|
properties: [
|
|
1441
1474
|
{
|
|
1442
1475
|
name: "source",
|
|
1443
|
-
isAttr:
|
|
1476
|
+
isAttr: true,
|
|
1444
1477
|
type: "String"
|
|
1445
1478
|
},
|
|
1446
1479
|
{
|
|
1447
1480
|
name: "sourceExpression",
|
|
1448
|
-
isAttr:
|
|
1481
|
+
isAttr: true,
|
|
1449
1482
|
type: "String"
|
|
1450
1483
|
},
|
|
1451
1484
|
{
|
|
1452
1485
|
name: "target",
|
|
1453
|
-
isAttr:
|
|
1486
|
+
isAttr: true,
|
|
1454
1487
|
type: "String"
|
|
1455
1488
|
},
|
|
1456
1489
|
{
|
|
1457
1490
|
name: "businessKey",
|
|
1458
|
-
isAttr:
|
|
1491
|
+
isAttr: true,
|
|
1459
1492
|
type: "String"
|
|
1460
1493
|
},
|
|
1461
1494
|
{
|
|
1462
1495
|
name: "local",
|
|
1463
|
-
isAttr:
|
|
1496
|
+
isAttr: true,
|
|
1464
1497
|
type: "Boolean",
|
|
1465
|
-
default:
|
|
1498
|
+
"default": false
|
|
1466
1499
|
},
|
|
1467
1500
|
{
|
|
1468
1501
|
name: "variables",
|
|
1469
|
-
isAttr:
|
|
1502
|
+
isAttr: true,
|
|
1470
1503
|
type: "String"
|
|
1471
1504
|
}
|
|
1472
1505
|
]
|
|
@@ -1495,8 +1528,8 @@ const translationsCN = {
|
|
|
1495
1528
|
},
|
|
1496
1529
|
{
|
|
1497
1530
|
name: "AsyncCapable",
|
|
1498
|
-
isAbstract:
|
|
1499
|
-
extends: [
|
|
1531
|
+
isAbstract: true,
|
|
1532
|
+
"extends": [
|
|
1500
1533
|
"bpmn:Activity",
|
|
1501
1534
|
"bpmn:Gateway",
|
|
1502
1535
|
"bpmn:Event"
|
|
@@ -1504,89 +1537,89 @@ const translationsCN = {
|
|
|
1504
1537
|
properties: [
|
|
1505
1538
|
{
|
|
1506
1539
|
name: "async",
|
|
1507
|
-
isAttr:
|
|
1540
|
+
isAttr: true,
|
|
1508
1541
|
type: "Boolean",
|
|
1509
|
-
default:
|
|
1542
|
+
"default": false
|
|
1510
1543
|
},
|
|
1511
1544
|
{
|
|
1512
1545
|
name: "asyncBefore",
|
|
1513
|
-
isAttr:
|
|
1546
|
+
isAttr: true,
|
|
1514
1547
|
type: "Boolean",
|
|
1515
|
-
default:
|
|
1548
|
+
"default": false
|
|
1516
1549
|
},
|
|
1517
1550
|
{
|
|
1518
1551
|
name: "asyncAfter",
|
|
1519
|
-
isAttr:
|
|
1552
|
+
isAttr: true,
|
|
1520
1553
|
type: "Boolean",
|
|
1521
|
-
default:
|
|
1554
|
+
"default": false
|
|
1522
1555
|
},
|
|
1523
1556
|
{
|
|
1524
1557
|
name: "exclusive",
|
|
1525
|
-
isAttr:
|
|
1558
|
+
isAttr: true,
|
|
1526
1559
|
type: "Boolean",
|
|
1527
|
-
default:
|
|
1560
|
+
"default": true
|
|
1528
1561
|
}
|
|
1529
1562
|
]
|
|
1530
1563
|
},
|
|
1531
1564
|
{
|
|
1532
1565
|
name: "JobPriorized",
|
|
1533
|
-
isAbstract:
|
|
1534
|
-
extends: [
|
|
1566
|
+
isAbstract: true,
|
|
1567
|
+
"extends": [
|
|
1535
1568
|
"bpmn:Process",
|
|
1536
1569
|
"activiti:AsyncCapable"
|
|
1537
1570
|
],
|
|
1538
1571
|
properties: [
|
|
1539
1572
|
{
|
|
1540
1573
|
name: "jobPriority",
|
|
1541
|
-
isAttr:
|
|
1574
|
+
isAttr: true,
|
|
1542
1575
|
type: "String"
|
|
1543
1576
|
}
|
|
1544
1577
|
]
|
|
1545
1578
|
},
|
|
1546
1579
|
{
|
|
1547
1580
|
name: "SignalEventDefinition",
|
|
1548
|
-
isAbstract:
|
|
1549
|
-
extends: [
|
|
1581
|
+
isAbstract: true,
|
|
1582
|
+
"extends": [
|
|
1550
1583
|
"bpmn:SignalEventDefinition"
|
|
1551
1584
|
],
|
|
1552
1585
|
properties: [
|
|
1553
1586
|
{
|
|
1554
1587
|
name: "async",
|
|
1555
|
-
isAttr:
|
|
1588
|
+
isAttr: true,
|
|
1556
1589
|
type: "Boolean",
|
|
1557
|
-
default:
|
|
1590
|
+
"default": false
|
|
1558
1591
|
}
|
|
1559
1592
|
]
|
|
1560
1593
|
},
|
|
1561
1594
|
{
|
|
1562
1595
|
name: "ErrorEventDefinition",
|
|
1563
|
-
isAbstract:
|
|
1564
|
-
extends: [
|
|
1596
|
+
isAbstract: true,
|
|
1597
|
+
"extends": [
|
|
1565
1598
|
"bpmn:ErrorEventDefinition"
|
|
1566
1599
|
],
|
|
1567
1600
|
properties: [
|
|
1568
1601
|
{
|
|
1569
1602
|
name: "errorCodeVariable",
|
|
1570
|
-
isAttr:
|
|
1603
|
+
isAttr: true,
|
|
1571
1604
|
type: "String"
|
|
1572
1605
|
},
|
|
1573
1606
|
{
|
|
1574
1607
|
name: "errorMessageVariable",
|
|
1575
|
-
isAttr:
|
|
1608
|
+
isAttr: true,
|
|
1576
1609
|
type: "String"
|
|
1577
1610
|
}
|
|
1578
1611
|
]
|
|
1579
1612
|
},
|
|
1580
1613
|
{
|
|
1581
1614
|
name: "Error",
|
|
1582
|
-
isAbstract:
|
|
1583
|
-
extends: [
|
|
1615
|
+
isAbstract: true,
|
|
1616
|
+
"extends": [
|
|
1584
1617
|
"bpmn:Error"
|
|
1585
1618
|
],
|
|
1586
1619
|
properties: [
|
|
1587
1620
|
{
|
|
1588
1621
|
name: "activiti:errorMessage",
|
|
1589
|
-
isAttr:
|
|
1622
|
+
isAttr: true,
|
|
1590
1623
|
type: "String"
|
|
1591
1624
|
}
|
|
1592
1625
|
]
|
|
@@ -1605,136 +1638,136 @@ const translationsCN = {
|
|
|
1605
1638
|
},
|
|
1606
1639
|
{
|
|
1607
1640
|
name: "FormSupported",
|
|
1608
|
-
isAbstract:
|
|
1609
|
-
extends: [
|
|
1641
|
+
isAbstract: true,
|
|
1642
|
+
"extends": [
|
|
1610
1643
|
"bpmn:StartEvent",
|
|
1611
1644
|
"bpmn:UserTask"
|
|
1612
1645
|
],
|
|
1613
1646
|
properties: [
|
|
1614
1647
|
{
|
|
1615
1648
|
name: "formHandlerClass",
|
|
1616
|
-
isAttr:
|
|
1649
|
+
isAttr: true,
|
|
1617
1650
|
type: "String"
|
|
1618
1651
|
},
|
|
1619
1652
|
{
|
|
1620
1653
|
name: "formKey",
|
|
1621
|
-
isAttr:
|
|
1654
|
+
isAttr: true,
|
|
1622
1655
|
type: "String"
|
|
1623
1656
|
}
|
|
1624
1657
|
]
|
|
1625
1658
|
},
|
|
1626
1659
|
{
|
|
1627
1660
|
name: "TemplateSupported",
|
|
1628
|
-
isAbstract:
|
|
1629
|
-
extends: [
|
|
1661
|
+
isAbstract: true,
|
|
1662
|
+
"extends": [
|
|
1630
1663
|
"bpmn:Process",
|
|
1631
1664
|
"bpmn:FlowElement"
|
|
1632
1665
|
],
|
|
1633
1666
|
properties: [
|
|
1634
1667
|
{
|
|
1635
1668
|
name: "modelerTemplate",
|
|
1636
|
-
isAttr:
|
|
1669
|
+
isAttr: true,
|
|
1637
1670
|
type: "String"
|
|
1638
1671
|
}
|
|
1639
1672
|
]
|
|
1640
1673
|
},
|
|
1641
1674
|
{
|
|
1642
1675
|
name: "Initiator",
|
|
1643
|
-
isAbstract:
|
|
1644
|
-
extends: [
|
|
1676
|
+
isAbstract: true,
|
|
1677
|
+
"extends": [
|
|
1645
1678
|
"bpmn:StartEvent"
|
|
1646
1679
|
],
|
|
1647
1680
|
properties: [
|
|
1648
1681
|
{
|
|
1649
1682
|
name: "initiator",
|
|
1650
|
-
isAttr:
|
|
1683
|
+
isAttr: true,
|
|
1651
1684
|
type: "String"
|
|
1652
1685
|
}
|
|
1653
1686
|
]
|
|
1654
1687
|
},
|
|
1655
1688
|
{
|
|
1656
1689
|
name: "ScriptTask",
|
|
1657
|
-
isAbstract:
|
|
1658
|
-
extends: [
|
|
1690
|
+
isAbstract: true,
|
|
1691
|
+
"extends": [
|
|
1659
1692
|
"bpmn:ScriptTask"
|
|
1660
1693
|
],
|
|
1661
1694
|
properties: [
|
|
1662
1695
|
{
|
|
1663
1696
|
name: "resultVariable",
|
|
1664
|
-
isAttr:
|
|
1697
|
+
isAttr: true,
|
|
1665
1698
|
type: "String"
|
|
1666
1699
|
},
|
|
1667
1700
|
{
|
|
1668
1701
|
name: "resource",
|
|
1669
|
-
isAttr:
|
|
1702
|
+
isAttr: true,
|
|
1670
1703
|
type: "String"
|
|
1671
1704
|
}
|
|
1672
1705
|
]
|
|
1673
1706
|
},
|
|
1674
1707
|
{
|
|
1675
1708
|
name: "Process",
|
|
1676
|
-
isAbstract:
|
|
1677
|
-
extends: [
|
|
1709
|
+
isAbstract: true,
|
|
1710
|
+
"extends": [
|
|
1678
1711
|
"bpmn:Process"
|
|
1679
1712
|
],
|
|
1680
1713
|
properties: [
|
|
1681
1714
|
{
|
|
1682
1715
|
name: "candidateStarterGroups",
|
|
1683
|
-
isAttr:
|
|
1716
|
+
isAttr: true,
|
|
1684
1717
|
type: "String"
|
|
1685
1718
|
},
|
|
1686
1719
|
{
|
|
1687
1720
|
name: "candidateStarterUsers",
|
|
1688
|
-
isAttr:
|
|
1721
|
+
isAttr: true,
|
|
1689
1722
|
type: "String"
|
|
1690
1723
|
},
|
|
1691
1724
|
{
|
|
1692
1725
|
name: "versionTag",
|
|
1693
|
-
isAttr:
|
|
1726
|
+
isAttr: true,
|
|
1694
1727
|
type: "String"
|
|
1695
1728
|
},
|
|
1696
1729
|
{
|
|
1697
1730
|
name: "historyTimeToLive",
|
|
1698
|
-
isAttr:
|
|
1731
|
+
isAttr: true,
|
|
1699
1732
|
type: "String"
|
|
1700
1733
|
},
|
|
1701
1734
|
{
|
|
1702
1735
|
name: "isStartableInTasklist",
|
|
1703
|
-
isAttr:
|
|
1736
|
+
isAttr: true,
|
|
1704
1737
|
type: "Boolean",
|
|
1705
|
-
default:
|
|
1738
|
+
"default": true
|
|
1706
1739
|
},
|
|
1707
1740
|
{
|
|
1708
1741
|
name: "executionListener",
|
|
1709
|
-
isAbstract:
|
|
1742
|
+
isAbstract: true,
|
|
1710
1743
|
type: "Expression"
|
|
1711
1744
|
}
|
|
1712
1745
|
]
|
|
1713
1746
|
},
|
|
1714
1747
|
{
|
|
1715
1748
|
name: "EscalationEventDefinition",
|
|
1716
|
-
isAbstract:
|
|
1717
|
-
extends: [
|
|
1749
|
+
isAbstract: true,
|
|
1750
|
+
"extends": [
|
|
1718
1751
|
"bpmn:EscalationEventDefinition"
|
|
1719
1752
|
],
|
|
1720
1753
|
properties: [
|
|
1721
1754
|
{
|
|
1722
1755
|
name: "escalationCodeVariable",
|
|
1723
|
-
isAttr:
|
|
1756
|
+
isAttr: true,
|
|
1724
1757
|
type: "String"
|
|
1725
1758
|
}
|
|
1726
1759
|
]
|
|
1727
1760
|
},
|
|
1728
1761
|
{
|
|
1729
1762
|
name: "FormalExpression",
|
|
1730
|
-
isAbstract:
|
|
1731
|
-
extends: [
|
|
1763
|
+
isAbstract: true,
|
|
1764
|
+
"extends": [
|
|
1732
1765
|
"bpmn:FormalExpression"
|
|
1733
1766
|
],
|
|
1734
1767
|
properties: [
|
|
1735
1768
|
{
|
|
1736
1769
|
name: "resource",
|
|
1737
|
-
isAttr:
|
|
1770
|
+
isAttr: true,
|
|
1738
1771
|
type: "String"
|
|
1739
1772
|
}
|
|
1740
1773
|
]
|
|
@@ -1753,110 +1786,110 @@ const translationsCN = {
|
|
|
1753
1786
|
},
|
|
1754
1787
|
{
|
|
1755
1788
|
name: "Assignable",
|
|
1756
|
-
extends: [
|
|
1789
|
+
"extends": [
|
|
1757
1790
|
"bpmn:UserTask"
|
|
1758
1791
|
],
|
|
1759
1792
|
properties: [
|
|
1760
1793
|
{
|
|
1761
1794
|
name: "assignee",
|
|
1762
|
-
isAttr:
|
|
1795
|
+
isAttr: true,
|
|
1763
1796
|
type: "String"
|
|
1764
1797
|
},
|
|
1765
1798
|
{
|
|
1766
1799
|
name: "candidateUsers",
|
|
1767
|
-
isAttr:
|
|
1800
|
+
isAttr: true,
|
|
1768
1801
|
type: "String"
|
|
1769
1802
|
},
|
|
1770
1803
|
{
|
|
1771
1804
|
name: "candidateGroups",
|
|
1772
|
-
isAttr:
|
|
1805
|
+
isAttr: true,
|
|
1773
1806
|
type: "String"
|
|
1774
1807
|
},
|
|
1775
1808
|
{
|
|
1776
1809
|
name: "dueDate",
|
|
1777
|
-
isAttr:
|
|
1810
|
+
isAttr: true,
|
|
1778
1811
|
type: "String"
|
|
1779
1812
|
},
|
|
1780
1813
|
{
|
|
1781
1814
|
name: "followUpDate",
|
|
1782
|
-
isAttr:
|
|
1815
|
+
isAttr: true,
|
|
1783
1816
|
type: "String"
|
|
1784
1817
|
},
|
|
1785
1818
|
{
|
|
1786
1819
|
name: "priority",
|
|
1787
|
-
isAttr:
|
|
1820
|
+
isAttr: true,
|
|
1788
1821
|
type: "String"
|
|
1789
1822
|
},
|
|
1790
1823
|
{
|
|
1791
1824
|
name: "multiinstance_condition",
|
|
1792
|
-
isAttr:
|
|
1825
|
+
isAttr: true,
|
|
1793
1826
|
type: "String"
|
|
1794
1827
|
}
|
|
1795
1828
|
]
|
|
1796
1829
|
},
|
|
1797
1830
|
{
|
|
1798
1831
|
name: "CallActivity",
|
|
1799
|
-
extends: [
|
|
1832
|
+
"extends": [
|
|
1800
1833
|
"bpmn:CallActivity"
|
|
1801
1834
|
],
|
|
1802
1835
|
properties: [
|
|
1803
1836
|
{
|
|
1804
1837
|
name: "calledElementBinding",
|
|
1805
|
-
isAttr:
|
|
1838
|
+
isAttr: true,
|
|
1806
1839
|
type: "String",
|
|
1807
|
-
default: "latest"
|
|
1840
|
+
"default": "latest"
|
|
1808
1841
|
},
|
|
1809
1842
|
{
|
|
1810
1843
|
name: "calledElementVersion",
|
|
1811
|
-
isAttr:
|
|
1844
|
+
isAttr: true,
|
|
1812
1845
|
type: "String"
|
|
1813
1846
|
},
|
|
1814
1847
|
{
|
|
1815
1848
|
name: "calledElementVersionTag",
|
|
1816
|
-
isAttr:
|
|
1849
|
+
isAttr: true,
|
|
1817
1850
|
type: "String"
|
|
1818
1851
|
},
|
|
1819
1852
|
{
|
|
1820
1853
|
name: "calledElementTenantId",
|
|
1821
|
-
isAttr:
|
|
1854
|
+
isAttr: true,
|
|
1822
1855
|
type: "String"
|
|
1823
1856
|
},
|
|
1824
1857
|
{
|
|
1825
1858
|
name: "caseRef",
|
|
1826
|
-
isAttr:
|
|
1859
|
+
isAttr: true,
|
|
1827
1860
|
type: "String"
|
|
1828
1861
|
},
|
|
1829
1862
|
{
|
|
1830
1863
|
name: "caseBinding",
|
|
1831
|
-
isAttr:
|
|
1864
|
+
isAttr: true,
|
|
1832
1865
|
type: "String",
|
|
1833
|
-
default: "latest"
|
|
1866
|
+
"default": "latest"
|
|
1834
1867
|
},
|
|
1835
1868
|
{
|
|
1836
1869
|
name: "caseVersion",
|
|
1837
|
-
isAttr:
|
|
1870
|
+
isAttr: true,
|
|
1838
1871
|
type: "String"
|
|
1839
1872
|
},
|
|
1840
1873
|
{
|
|
1841
1874
|
name: "caseTenantId",
|
|
1842
|
-
isAttr:
|
|
1875
|
+
isAttr: true,
|
|
1843
1876
|
type: "String"
|
|
1844
1877
|
},
|
|
1845
1878
|
{
|
|
1846
1879
|
name: "variableMappingClass",
|
|
1847
|
-
isAttr:
|
|
1880
|
+
isAttr: true,
|
|
1848
1881
|
type: "String"
|
|
1849
1882
|
},
|
|
1850
1883
|
{
|
|
1851
1884
|
name: "variableMappingDelegateExpression",
|
|
1852
|
-
isAttr:
|
|
1885
|
+
isAttr: true,
|
|
1853
1886
|
type: "String"
|
|
1854
1887
|
}
|
|
1855
1888
|
]
|
|
1856
1889
|
},
|
|
1857
1890
|
{
|
|
1858
1891
|
name: "ServiceTaskLike",
|
|
1859
|
-
extends: [
|
|
1892
|
+
"extends": [
|
|
1860
1893
|
"bpmn:ServiceTask",
|
|
1861
1894
|
"bpmn:BusinessRuleTask",
|
|
1862
1895
|
"bpmn:SendTask",
|
|
@@ -1865,89 +1898,89 @@ const translationsCN = {
|
|
|
1865
1898
|
properties: [
|
|
1866
1899
|
{
|
|
1867
1900
|
name: "expression",
|
|
1868
|
-
isAttr:
|
|
1901
|
+
isAttr: true,
|
|
1869
1902
|
type: "String"
|
|
1870
1903
|
},
|
|
1871
1904
|
{
|
|
1872
1905
|
name: "class",
|
|
1873
|
-
isAttr:
|
|
1906
|
+
isAttr: true,
|
|
1874
1907
|
type: "String"
|
|
1875
1908
|
},
|
|
1876
1909
|
{
|
|
1877
1910
|
name: "delegateExpression",
|
|
1878
|
-
isAttr:
|
|
1911
|
+
isAttr: true,
|
|
1879
1912
|
type: "String"
|
|
1880
1913
|
},
|
|
1881
1914
|
{
|
|
1882
1915
|
name: "resultVariable",
|
|
1883
|
-
isAttr:
|
|
1916
|
+
isAttr: true,
|
|
1884
1917
|
type: "String"
|
|
1885
1918
|
}
|
|
1886
1919
|
]
|
|
1887
1920
|
},
|
|
1888
1921
|
{
|
|
1889
1922
|
name: "DmnCapable",
|
|
1890
|
-
extends: [
|
|
1923
|
+
"extends": [
|
|
1891
1924
|
"bpmn:BusinessRuleTask"
|
|
1892
1925
|
],
|
|
1893
1926
|
properties: [
|
|
1894
1927
|
{
|
|
1895
1928
|
name: "decisionRef",
|
|
1896
|
-
isAttr:
|
|
1929
|
+
isAttr: true,
|
|
1897
1930
|
type: "String"
|
|
1898
1931
|
},
|
|
1899
1932
|
{
|
|
1900
1933
|
name: "decisionRefBinding",
|
|
1901
|
-
isAttr:
|
|
1934
|
+
isAttr: true,
|
|
1902
1935
|
type: "String",
|
|
1903
|
-
default: "latest"
|
|
1936
|
+
"default": "latest"
|
|
1904
1937
|
},
|
|
1905
1938
|
{
|
|
1906
1939
|
name: "decisionRefVersion",
|
|
1907
|
-
isAttr:
|
|
1940
|
+
isAttr: true,
|
|
1908
1941
|
type: "String"
|
|
1909
1942
|
},
|
|
1910
1943
|
{
|
|
1911
1944
|
name: "mapDecisionResult",
|
|
1912
|
-
isAttr:
|
|
1945
|
+
isAttr: true,
|
|
1913
1946
|
type: "String",
|
|
1914
|
-
default: "resultList"
|
|
1947
|
+
"default": "resultList"
|
|
1915
1948
|
},
|
|
1916
1949
|
{
|
|
1917
1950
|
name: "decisionRefTenantId",
|
|
1918
|
-
isAttr:
|
|
1951
|
+
isAttr: true,
|
|
1919
1952
|
type: "String"
|
|
1920
1953
|
}
|
|
1921
1954
|
]
|
|
1922
1955
|
},
|
|
1923
1956
|
{
|
|
1924
1957
|
name: "ExternalCapable",
|
|
1925
|
-
extends: [
|
|
1958
|
+
"extends": [
|
|
1926
1959
|
"activiti:ServiceTaskLike"
|
|
1927
1960
|
],
|
|
1928
1961
|
properties: [
|
|
1929
1962
|
{
|
|
1930
1963
|
name: "type",
|
|
1931
|
-
isAttr:
|
|
1964
|
+
isAttr: true,
|
|
1932
1965
|
type: "String"
|
|
1933
1966
|
},
|
|
1934
1967
|
{
|
|
1935
1968
|
name: "topic",
|
|
1936
|
-
isAttr:
|
|
1969
|
+
isAttr: true,
|
|
1937
1970
|
type: "String"
|
|
1938
1971
|
}
|
|
1939
1972
|
]
|
|
1940
1973
|
},
|
|
1941
1974
|
{
|
|
1942
1975
|
name: "TaskPriorized",
|
|
1943
|
-
extends: [
|
|
1976
|
+
"extends": [
|
|
1944
1977
|
"bpmn:Process",
|
|
1945
1978
|
"activiti:ExternalCapable"
|
|
1946
1979
|
],
|
|
1947
1980
|
properties: [
|
|
1948
1981
|
{
|
|
1949
1982
|
name: "taskPriority",
|
|
1950
|
-
isAttr:
|
|
1983
|
+
isAttr: true,
|
|
1951
1984
|
type: "String"
|
|
1952
1985
|
}
|
|
1953
1986
|
]
|
|
@@ -1966,7 +1999,7 @@ const translationsCN = {
|
|
|
1966
1999
|
{
|
|
1967
2000
|
name: "values",
|
|
1968
2001
|
type: "Property",
|
|
1969
|
-
isMany:
|
|
2002
|
+
isMany: true
|
|
1970
2003
|
}
|
|
1971
2004
|
]
|
|
1972
2005
|
},
|
|
@@ -1979,17 +2012,17 @@ const translationsCN = {
|
|
|
1979
2012
|
{
|
|
1980
2013
|
name: "id",
|
|
1981
2014
|
type: "String",
|
|
1982
|
-
isAttr:
|
|
2015
|
+
isAttr: true
|
|
1983
2016
|
},
|
|
1984
2017
|
{
|
|
1985
2018
|
name: "name",
|
|
1986
2019
|
type: "String",
|
|
1987
|
-
isAttr:
|
|
2020
|
+
isAttr: true
|
|
1988
2021
|
},
|
|
1989
2022
|
{
|
|
1990
2023
|
name: "value",
|
|
1991
2024
|
type: "String",
|
|
1992
|
-
isAttr:
|
|
2025
|
+
isAttr: true
|
|
1993
2026
|
}
|
|
1994
2027
|
]
|
|
1995
2028
|
},
|
|
@@ -2036,12 +2069,12 @@ const translationsCN = {
|
|
|
2036
2069
|
},
|
|
2037
2070
|
{
|
|
2038
2071
|
name: "inputParameters",
|
|
2039
|
-
isMany:
|
|
2072
|
+
isMany: true,
|
|
2040
2073
|
type: "InputParameter"
|
|
2041
2074
|
},
|
|
2042
2075
|
{
|
|
2043
2076
|
name: "outputParameters",
|
|
2044
|
-
isMany:
|
|
2077
|
+
isMany: true,
|
|
2045
2078
|
type: "OutputParameter"
|
|
2046
2079
|
}
|
|
2047
2080
|
]
|
|
@@ -2051,12 +2084,12 @@ const translationsCN = {
|
|
|
2051
2084
|
properties: [
|
|
2052
2085
|
{
|
|
2053
2086
|
name: "name",
|
|
2054
|
-
isAttr:
|
|
2087
|
+
isAttr: true,
|
|
2055
2088
|
type: "String"
|
|
2056
2089
|
},
|
|
2057
2090
|
{
|
|
2058
2091
|
name: "value",
|
|
2059
|
-
isBody:
|
|
2092
|
+
isBody: true,
|
|
2060
2093
|
type: "String"
|
|
2061
2094
|
},
|
|
2062
2095
|
{
|
|
@@ -2067,7 +2100,7 @@ const translationsCN = {
|
|
|
2067
2100
|
},
|
|
2068
2101
|
{
|
|
2069
2102
|
name: "InputOutputParameterDefinition",
|
|
2070
|
-
isAbstract:
|
|
2103
|
+
isAbstract: true
|
|
2071
2104
|
},
|
|
2072
2105
|
{
|
|
2073
2106
|
name: "List",
|
|
@@ -2077,7 +2110,7 @@ const translationsCN = {
|
|
|
2077
2110
|
properties: [
|
|
2078
2111
|
{
|
|
2079
2112
|
name: "items",
|
|
2080
|
-
isMany:
|
|
2113
|
+
isMany: true,
|
|
2081
2114
|
type: "InputOutputParameterDefinition"
|
|
2082
2115
|
}
|
|
2083
2116
|
]
|
|
@@ -2090,7 +2123,7 @@ const translationsCN = {
|
|
|
2090
2123
|
properties: [
|
|
2091
2124
|
{
|
|
2092
2125
|
name: "entries",
|
|
2093
|
-
isMany:
|
|
2126
|
+
isMany: true,
|
|
2094
2127
|
type: "Entry"
|
|
2095
2128
|
}
|
|
2096
2129
|
]
|
|
@@ -2100,12 +2133,12 @@ const translationsCN = {
|
|
|
2100
2133
|
properties: [
|
|
2101
2134
|
{
|
|
2102
2135
|
name: "key",
|
|
2103
|
-
isAttr:
|
|
2136
|
+
isAttr: true,
|
|
2104
2137
|
type: "String"
|
|
2105
2138
|
},
|
|
2106
2139
|
{
|
|
2107
2140
|
name: "value",
|
|
2108
|
-
isBody:
|
|
2141
|
+
isBody: true,
|
|
2109
2142
|
type: "String"
|
|
2110
2143
|
},
|
|
2111
2144
|
{
|
|
@@ -2122,17 +2155,17 @@ const translationsCN = {
|
|
|
2122
2155
|
properties: [
|
|
2123
2156
|
{
|
|
2124
2157
|
name: "id",
|
|
2125
|
-
isAttr:
|
|
2158
|
+
isAttr: true,
|
|
2126
2159
|
type: "String"
|
|
2127
2160
|
},
|
|
2128
2161
|
{
|
|
2129
2162
|
name: "name",
|
|
2130
|
-
isAttr:
|
|
2163
|
+
isAttr: true,
|
|
2131
2164
|
type: "String"
|
|
2132
2165
|
},
|
|
2133
2166
|
{
|
|
2134
2167
|
name: "value",
|
|
2135
|
-
isBody:
|
|
2168
|
+
isBody: true,
|
|
2136
2169
|
type: "String"
|
|
2137
2170
|
}
|
|
2138
2171
|
]
|
|
@@ -2145,17 +2178,17 @@ const translationsCN = {
|
|
|
2145
2178
|
properties: [
|
|
2146
2179
|
{
|
|
2147
2180
|
name: "scriptFormat",
|
|
2148
|
-
isAttr:
|
|
2181
|
+
isAttr: true,
|
|
2149
2182
|
type: "String"
|
|
2150
2183
|
},
|
|
2151
2184
|
{
|
|
2152
2185
|
name: "resource",
|
|
2153
|
-
isAttr:
|
|
2186
|
+
isAttr: true,
|
|
2154
2187
|
type: "String"
|
|
2155
2188
|
},
|
|
2156
2189
|
{
|
|
2157
2190
|
name: "value",
|
|
2158
|
-
isBody:
|
|
2191
|
+
isBody: true,
|
|
2159
2192
|
type: "String"
|
|
2160
2193
|
}
|
|
2161
2194
|
]
|
|
@@ -2175,7 +2208,7 @@ const translationsCN = {
|
|
|
2175
2208
|
properties: [
|
|
2176
2209
|
{
|
|
2177
2210
|
name: "name",
|
|
2178
|
-
isAttr:
|
|
2211
|
+
isAttr: true,
|
|
2179
2212
|
type: "String"
|
|
2180
2213
|
},
|
|
2181
2214
|
{
|
|
@@ -2184,7 +2217,7 @@ const translationsCN = {
|
|
|
2184
2217
|
},
|
|
2185
2218
|
{
|
|
2186
2219
|
name: "stringValue",
|
|
2187
|
-
isAttr:
|
|
2220
|
+
isAttr: true,
|
|
2188
2221
|
type: "String"
|
|
2189
2222
|
},
|
|
2190
2223
|
{
|
|
@@ -2207,8 +2240,8 @@ const translationsCN = {
|
|
|
2207
2240
|
},
|
|
2208
2241
|
{
|
|
2209
2242
|
name: "Collectable",
|
|
2210
|
-
isAbstract:
|
|
2211
|
-
extends: [
|
|
2243
|
+
isAbstract: true,
|
|
2244
|
+
"extends": [
|
|
2212
2245
|
"bpmn:MultiInstanceLoopCharacteristics"
|
|
2213
2246
|
],
|
|
2214
2247
|
superClass: [
|
|
@@ -2217,12 +2250,12 @@ const translationsCN = {
|
|
|
2217
2250
|
properties: [
|
|
2218
2251
|
{
|
|
2219
2252
|
name: "collection",
|
|
2220
|
-
isAttr:
|
|
2253
|
+
isAttr: true,
|
|
2221
2254
|
type: "String"
|
|
2222
2255
|
},
|
|
2223
2256
|
{
|
|
2224
2257
|
name: "elementVariable",
|
|
2225
|
-
isAttr:
|
|
2258
|
+
isAttr: true,
|
|
2226
2259
|
type: "String"
|
|
2227
2260
|
}
|
|
2228
2261
|
]
|
|
@@ -2241,7 +2274,7 @@ const translationsCN = {
|
|
|
2241
2274
|
properties: [
|
|
2242
2275
|
{
|
|
2243
2276
|
name: "body",
|
|
2244
|
-
isBody:
|
|
2277
|
+
isBody: true,
|
|
2245
2278
|
type: "String"
|
|
2246
2279
|
}
|
|
2247
2280
|
]
|
|
@@ -2278,22 +2311,22 @@ const translationsCN = {
|
|
|
2278
2311
|
properties: [
|
|
2279
2312
|
{
|
|
2280
2313
|
name: "expression",
|
|
2281
|
-
isAttr:
|
|
2314
|
+
isAttr: true,
|
|
2282
2315
|
type: "String"
|
|
2283
2316
|
},
|
|
2284
2317
|
{
|
|
2285
2318
|
name: "class",
|
|
2286
|
-
isAttr:
|
|
2319
|
+
isAttr: true,
|
|
2287
2320
|
type: "String"
|
|
2288
2321
|
},
|
|
2289
2322
|
{
|
|
2290
2323
|
name: "delegateExpression",
|
|
2291
|
-
isAttr:
|
|
2324
|
+
isAttr: true,
|
|
2292
2325
|
type: "String"
|
|
2293
2326
|
},
|
|
2294
2327
|
{
|
|
2295
2328
|
name: "event",
|
|
2296
|
-
isAttr:
|
|
2329
|
+
isAttr: true,
|
|
2297
2330
|
type: "String"
|
|
2298
2331
|
},
|
|
2299
2332
|
{
|
|
@@ -2303,7 +2336,7 @@ const translationsCN = {
|
|
|
2303
2336
|
{
|
|
2304
2337
|
name: "fields",
|
|
2305
2338
|
type: "Field",
|
|
2306
|
-
isMany:
|
|
2339
|
+
isMany: true
|
|
2307
2340
|
}
|
|
2308
2341
|
]
|
|
2309
2342
|
},
|
|
@@ -2320,22 +2353,22 @@ const translationsCN = {
|
|
|
2320
2353
|
properties: [
|
|
2321
2354
|
{
|
|
2322
2355
|
name: "expression",
|
|
2323
|
-
isAttr:
|
|
2356
|
+
isAttr: true,
|
|
2324
2357
|
type: "String"
|
|
2325
2358
|
},
|
|
2326
2359
|
{
|
|
2327
2360
|
name: "class",
|
|
2328
|
-
isAttr:
|
|
2361
|
+
isAttr: true,
|
|
2329
2362
|
type: "String"
|
|
2330
2363
|
},
|
|
2331
2364
|
{
|
|
2332
2365
|
name: "delegateExpression",
|
|
2333
|
-
isAttr:
|
|
2366
|
+
isAttr: true,
|
|
2334
2367
|
type: "String"
|
|
2335
2368
|
},
|
|
2336
2369
|
{
|
|
2337
2370
|
name: "event",
|
|
2338
|
-
isAttr:
|
|
2371
|
+
isAttr: true,
|
|
2339
2372
|
type: "String"
|
|
2340
2373
|
},
|
|
2341
2374
|
{
|
|
@@ -2345,7 +2378,7 @@ const translationsCN = {
|
|
|
2345
2378
|
{
|
|
2346
2379
|
name: "fields",
|
|
2347
2380
|
type: "Field",
|
|
2348
|
-
isMany:
|
|
2381
|
+
isMany: true
|
|
2349
2382
|
}
|
|
2350
2383
|
]
|
|
2351
2384
|
},
|
|
@@ -2364,57 +2397,57 @@ const translationsCN = {
|
|
|
2364
2397
|
{
|
|
2365
2398
|
name: "id",
|
|
2366
2399
|
type: "String",
|
|
2367
|
-
isAttr:
|
|
2400
|
+
isAttr: true
|
|
2368
2401
|
},
|
|
2369
2402
|
{
|
|
2370
2403
|
name: "name",
|
|
2371
2404
|
type: "String",
|
|
2372
|
-
isAttr:
|
|
2405
|
+
isAttr: true
|
|
2373
2406
|
},
|
|
2374
2407
|
{
|
|
2375
2408
|
name: "type",
|
|
2376
2409
|
type: "String",
|
|
2377
|
-
isAttr:
|
|
2410
|
+
isAttr: true
|
|
2378
2411
|
},
|
|
2379
2412
|
{
|
|
2380
2413
|
name: "required",
|
|
2381
2414
|
type: "String",
|
|
2382
|
-
isAttr:
|
|
2415
|
+
isAttr: true
|
|
2383
2416
|
},
|
|
2384
2417
|
{
|
|
2385
2418
|
name: "readable",
|
|
2386
2419
|
type: "String",
|
|
2387
|
-
isAttr:
|
|
2420
|
+
isAttr: true
|
|
2388
2421
|
},
|
|
2389
2422
|
{
|
|
2390
2423
|
name: "writable",
|
|
2391
2424
|
type: "String",
|
|
2392
|
-
isAttr:
|
|
2425
|
+
isAttr: true
|
|
2393
2426
|
},
|
|
2394
2427
|
{
|
|
2395
2428
|
name: "variable",
|
|
2396
2429
|
type: "String",
|
|
2397
|
-
isAttr:
|
|
2430
|
+
isAttr: true
|
|
2398
2431
|
},
|
|
2399
2432
|
{
|
|
2400
2433
|
name: "expression",
|
|
2401
2434
|
type: "String",
|
|
2402
|
-
isAttr:
|
|
2435
|
+
isAttr: true
|
|
2403
2436
|
},
|
|
2404
2437
|
{
|
|
2405
2438
|
name: "datePattern",
|
|
2406
2439
|
type: "String",
|
|
2407
|
-
isAttr:
|
|
2440
|
+
isAttr: true
|
|
2408
2441
|
},
|
|
2409
2442
|
{
|
|
2410
2443
|
name: "default",
|
|
2411
2444
|
type: "String",
|
|
2412
|
-
isAttr:
|
|
2445
|
+
isAttr: true
|
|
2413
2446
|
},
|
|
2414
2447
|
{
|
|
2415
2448
|
name: "values",
|
|
2416
2449
|
type: "Value",
|
|
2417
|
-
isMany:
|
|
2450
|
+
isMany: true
|
|
2418
2451
|
}
|
|
2419
2452
|
]
|
|
2420
2453
|
},
|
|
@@ -2427,27 +2460,27 @@ const translationsCN = {
|
|
|
2427
2460
|
{
|
|
2428
2461
|
name: "id",
|
|
2429
2462
|
type: "String",
|
|
2430
|
-
isAttr:
|
|
2463
|
+
isAttr: true
|
|
2431
2464
|
},
|
|
2432
2465
|
{
|
|
2433
2466
|
name: "label",
|
|
2434
2467
|
type: "String",
|
|
2435
|
-
isAttr:
|
|
2468
|
+
isAttr: true
|
|
2436
2469
|
},
|
|
2437
2470
|
{
|
|
2438
2471
|
name: "type",
|
|
2439
2472
|
type: "String",
|
|
2440
|
-
isAttr:
|
|
2473
|
+
isAttr: true
|
|
2441
2474
|
},
|
|
2442
2475
|
{
|
|
2443
2476
|
name: "datePattern",
|
|
2444
2477
|
type: "String",
|
|
2445
|
-
isAttr:
|
|
2478
|
+
isAttr: true
|
|
2446
2479
|
},
|
|
2447
2480
|
{
|
|
2448
2481
|
name: "defaultValue",
|
|
2449
2482
|
type: "String",
|
|
2450
|
-
isAttr:
|
|
2483
|
+
isAttr: true
|
|
2451
2484
|
},
|
|
2452
2485
|
{
|
|
2453
2486
|
name: "properties",
|
|
@@ -2460,7 +2493,7 @@ const translationsCN = {
|
|
|
2460
2493
|
{
|
|
2461
2494
|
name: "values",
|
|
2462
2495
|
type: "Value",
|
|
2463
|
-
isMany:
|
|
2496
|
+
isMany: true
|
|
2464
2497
|
}
|
|
2465
2498
|
]
|
|
2466
2499
|
},
|
|
@@ -2473,7 +2506,7 @@ const translationsCN = {
|
|
|
2473
2506
|
{
|
|
2474
2507
|
name: "constraints",
|
|
2475
2508
|
type: "Constraint",
|
|
2476
|
-
isMany:
|
|
2509
|
+
isMany: true
|
|
2477
2510
|
}
|
|
2478
2511
|
]
|
|
2479
2512
|
},
|
|
@@ -2486,35 +2519,37 @@ const translationsCN = {
|
|
|
2486
2519
|
{
|
|
2487
2520
|
name: "name",
|
|
2488
2521
|
type: "String",
|
|
2489
|
-
isAttr:
|
|
2522
|
+
isAttr: true
|
|
2490
2523
|
},
|
|
2491
2524
|
{
|
|
2492
2525
|
name: "config",
|
|
2493
2526
|
type: "String",
|
|
2494
|
-
isAttr:
|
|
2527
|
+
isAttr: true
|
|
2495
2528
|
}
|
|
2496
2529
|
]
|
|
2497
2530
|
},
|
|
2498
2531
|
{
|
|
2499
2532
|
name: "ConditionalEventDefinition",
|
|
2500
|
-
isAbstract:
|
|
2501
|
-
extends: [
|
|
2533
|
+
isAbstract: true,
|
|
2534
|
+
"extends": [
|
|
2502
2535
|
"bpmn:ConditionalEventDefinition"
|
|
2503
2536
|
],
|
|
2504
2537
|
properties: [
|
|
2505
2538
|
{
|
|
2506
2539
|
name: "variableName",
|
|
2507
|
-
isAttr:
|
|
2540
|
+
isAttr: true,
|
|
2508
2541
|
type: "String"
|
|
2509
2542
|
},
|
|
2510
2543
|
{
|
|
2511
2544
|
name: "variableEvent",
|
|
2512
|
-
isAttr:
|
|
2545
|
+
isAttr: true,
|
|
2513
2546
|
type: "String"
|
|
2514
2547
|
}
|
|
2515
2548
|
]
|
|
2516
2549
|
}
|
|
2517
|
-
]
|
|
2550
|
+
];
|
|
2551
|
+
const emumerations$1 = [];
|
|
2552
|
+
const ActivitiModdleDescriptor = {
|
|
2518
2553
|
name: name$1,
|
|
2519
2554
|
uri: uri$1,
|
|
2520
2555
|
prefix: prefix$1,
|
|
@@ -2522,45 +2557,51 @@ const translationsCN = {
|
|
|
2522
2557
|
associations: associations$1,
|
|
2523
2558
|
types: types$1,
|
|
2524
2559
|
emumerations: emumerations$1
|
|
2525
|
-
}
|
|
2560
|
+
};
|
|
2561
|
+
const name = "Flowable";
|
|
2562
|
+
const uri = "http://flowable.org/bpmn";
|
|
2563
|
+
const prefix = "flowable";
|
|
2564
|
+
const xml = {
|
|
2526
2565
|
tagAlias: "lowerCase"
|
|
2527
|
-
}
|
|
2566
|
+
};
|
|
2567
|
+
const associations = [];
|
|
2568
|
+
const types = [
|
|
2528
2569
|
{
|
|
2529
2570
|
name: "InOutBinding",
|
|
2530
2571
|
superClass: [
|
|
2531
2572
|
"Element"
|
|
2532
2573
|
],
|
|
2533
|
-
isAbstract:
|
|
2574
|
+
isAbstract: true,
|
|
2534
2575
|
properties: [
|
|
2535
2576
|
{
|
|
2536
2577
|
name: "source",
|
|
2537
|
-
isAttr:
|
|
2578
|
+
isAttr: true,
|
|
2538
2579
|
type: "String"
|
|
2539
2580
|
},
|
|
2540
2581
|
{
|
|
2541
2582
|
name: "sourceExpression",
|
|
2542
|
-
isAttr:
|
|
2583
|
+
isAttr: true,
|
|
2543
2584
|
type: "String"
|
|
2544
2585
|
},
|
|
2545
2586
|
{
|
|
2546
2587
|
name: "target",
|
|
2547
|
-
isAttr:
|
|
2588
|
+
isAttr: true,
|
|
2548
2589
|
type: "String"
|
|
2549
2590
|
},
|
|
2550
2591
|
{
|
|
2551
2592
|
name: "businessKey",
|
|
2552
|
-
isAttr:
|
|
2593
|
+
isAttr: true,
|
|
2553
2594
|
type: "String"
|
|
2554
2595
|
},
|
|
2555
2596
|
{
|
|
2556
2597
|
name: "local",
|
|
2557
|
-
isAttr:
|
|
2598
|
+
isAttr: true,
|
|
2558
2599
|
type: "Boolean",
|
|
2559
|
-
default:
|
|
2600
|
+
"default": false
|
|
2560
2601
|
},
|
|
2561
2602
|
{
|
|
2562
2603
|
name: "variables",
|
|
2563
|
-
isAttr:
|
|
2604
|
+
isAttr: true,
|
|
2564
2605
|
type: "String"
|
|
2565
2606
|
}
|
|
2566
2607
|
]
|
|
@@ -2589,8 +2630,8 @@ const translationsCN = {
|
|
|
2589
2630
|
},
|
|
2590
2631
|
{
|
|
2591
2632
|
name: "AsyncCapable",
|
|
2592
|
-
isAbstract:
|
|
2593
|
-
extends: [
|
|
2633
|
+
isAbstract: true,
|
|
2634
|
+
"extends": [
|
|
2594
2635
|
"bpmn:Activity",
|
|
2595
2636
|
"bpmn:Gateway",
|
|
2596
2637
|
"bpmn:Event"
|
|
@@ -2598,89 +2639,89 @@ const translationsCN = {
|
|
|
2598
2639
|
properties: [
|
|
2599
2640
|
{
|
|
2600
2641
|
name: "async",
|
|
2601
|
-
isAttr:
|
|
2642
|
+
isAttr: true,
|
|
2602
2643
|
type: "Boolean",
|
|
2603
|
-
default:
|
|
2644
|
+
"default": false
|
|
2604
2645
|
},
|
|
2605
2646
|
{
|
|
2606
2647
|
name: "asyncBefore",
|
|
2607
|
-
isAttr:
|
|
2648
|
+
isAttr: true,
|
|
2608
2649
|
type: "Boolean",
|
|
2609
|
-
default:
|
|
2650
|
+
"default": false
|
|
2610
2651
|
},
|
|
2611
2652
|
{
|
|
2612
2653
|
name: "asyncAfter",
|
|
2613
|
-
isAttr:
|
|
2654
|
+
isAttr: true,
|
|
2614
2655
|
type: "Boolean",
|
|
2615
|
-
default:
|
|
2656
|
+
"default": false
|
|
2616
2657
|
},
|
|
2617
2658
|
{
|
|
2618
2659
|
name: "exclusive",
|
|
2619
|
-
isAttr:
|
|
2660
|
+
isAttr: true,
|
|
2620
2661
|
type: "Boolean",
|
|
2621
|
-
default:
|
|
2662
|
+
"default": true
|
|
2622
2663
|
}
|
|
2623
2664
|
]
|
|
2624
2665
|
},
|
|
2625
2666
|
{
|
|
2626
2667
|
name: "JobPriorized",
|
|
2627
|
-
isAbstract:
|
|
2628
|
-
extends: [
|
|
2668
|
+
isAbstract: true,
|
|
2669
|
+
"extends": [
|
|
2629
2670
|
"bpmn:Process",
|
|
2630
2671
|
"flowable:AsyncCapable"
|
|
2631
2672
|
],
|
|
2632
2673
|
properties: [
|
|
2633
2674
|
{
|
|
2634
2675
|
name: "jobPriority",
|
|
2635
|
-
isAttr:
|
|
2676
|
+
isAttr: true,
|
|
2636
2677
|
type: "String"
|
|
2637
2678
|
}
|
|
2638
2679
|
]
|
|
2639
2680
|
},
|
|
2640
2681
|
{
|
|
2641
2682
|
name: "SignalEventDefinition",
|
|
2642
|
-
isAbstract:
|
|
2643
|
-
extends: [
|
|
2683
|
+
isAbstract: true,
|
|
2684
|
+
"extends": [
|
|
2644
2685
|
"bpmn:SignalEventDefinition"
|
|
2645
2686
|
],
|
|
2646
2687
|
properties: [
|
|
2647
2688
|
{
|
|
2648
2689
|
name: "async",
|
|
2649
|
-
isAttr:
|
|
2690
|
+
isAttr: true,
|
|
2650
2691
|
type: "Boolean",
|
|
2651
|
-
default:
|
|
2692
|
+
"default": false
|
|
2652
2693
|
}
|
|
2653
2694
|
]
|
|
2654
2695
|
},
|
|
2655
2696
|
{
|
|
2656
2697
|
name: "ErrorEventDefinition",
|
|
2657
|
-
isAbstract:
|
|
2658
|
-
extends: [
|
|
2698
|
+
isAbstract: true,
|
|
2699
|
+
"extends": [
|
|
2659
2700
|
"bpmn:ErrorEventDefinition"
|
|
2660
2701
|
],
|
|
2661
2702
|
properties: [
|
|
2662
2703
|
{
|
|
2663
2704
|
name: "errorCodeVariable",
|
|
2664
|
-
isAttr:
|
|
2705
|
+
isAttr: true,
|
|
2665
2706
|
type: "String"
|
|
2666
2707
|
},
|
|
2667
2708
|
{
|
|
2668
2709
|
name: "errorMessageVariable",
|
|
2669
|
-
isAttr:
|
|
2710
|
+
isAttr: true,
|
|
2670
2711
|
type: "String"
|
|
2671
2712
|
}
|
|
2672
2713
|
]
|
|
2673
2714
|
},
|
|
2674
2715
|
{
|
|
2675
2716
|
name: "Error",
|
|
2676
|
-
isAbstract:
|
|
2677
|
-
extends: [
|
|
2717
|
+
isAbstract: true,
|
|
2718
|
+
"extends": [
|
|
2678
2719
|
"bpmn:Error"
|
|
2679
2720
|
],
|
|
2680
2721
|
properties: [
|
|
2681
2722
|
{
|
|
2682
2723
|
name: "flowable:errorMessage",
|
|
2683
|
-
isAttr:
|
|
2724
|
+
isAttr: true,
|
|
2684
2725
|
type: "String"
|
|
2685
2726
|
}
|
|
2686
2727
|
]
|
|
@@ -2699,186 +2740,186 @@ const translationsCN = {
|
|
|
2699
2740
|
},
|
|
2700
2741
|
{
|
|
2701
2742
|
name: "FormSupported",
|
|
2702
|
-
isAbstract:
|
|
2703
|
-
extends: [
|
|
2743
|
+
isAbstract: true,
|
|
2744
|
+
"extends": [
|
|
2704
2745
|
"bpmn:StartEvent",
|
|
2705
2746
|
"bpmn:UserTask"
|
|
2706
2747
|
],
|
|
2707
2748
|
properties: [
|
|
2708
2749
|
{
|
|
2709
2750
|
name: "formHandlerClass",
|
|
2710
|
-
isAttr:
|
|
2751
|
+
isAttr: true,
|
|
2711
2752
|
type: "String"
|
|
2712
2753
|
},
|
|
2713
2754
|
{
|
|
2714
2755
|
name: "formKey",
|
|
2715
|
-
isAttr:
|
|
2756
|
+
isAttr: true,
|
|
2716
2757
|
type: "String"
|
|
2717
2758
|
},
|
|
2718
2759
|
{
|
|
2719
2760
|
name: "formType",
|
|
2720
|
-
isAttr:
|
|
2761
|
+
isAttr: true,
|
|
2721
2762
|
type: "String"
|
|
2722
2763
|
},
|
|
2723
2764
|
{
|
|
2724
2765
|
name: "formReadOnly",
|
|
2725
|
-
isAttr:
|
|
2766
|
+
isAttr: true,
|
|
2726
2767
|
type: "Boolean",
|
|
2727
|
-
default:
|
|
2768
|
+
"default": false
|
|
2728
2769
|
},
|
|
2729
2770
|
{
|
|
2730
2771
|
name: "formInit",
|
|
2731
|
-
isAttr:
|
|
2772
|
+
isAttr: true,
|
|
2732
2773
|
type: "Boolean",
|
|
2733
|
-
default:
|
|
2774
|
+
"default": true
|
|
2734
2775
|
}
|
|
2735
2776
|
]
|
|
2736
2777
|
},
|
|
2737
2778
|
{
|
|
2738
2779
|
name: "TemplateSupported",
|
|
2739
|
-
isAbstract:
|
|
2740
|
-
extends: [
|
|
2780
|
+
isAbstract: true,
|
|
2781
|
+
"extends": [
|
|
2741
2782
|
"bpmn:Process",
|
|
2742
2783
|
"bpmn:FlowElement"
|
|
2743
2784
|
],
|
|
2744
2785
|
properties: [
|
|
2745
2786
|
{
|
|
2746
2787
|
name: "modelerTemplate",
|
|
2747
|
-
isAttr:
|
|
2788
|
+
isAttr: true,
|
|
2748
2789
|
type: "String"
|
|
2749
2790
|
}
|
|
2750
2791
|
]
|
|
2751
2792
|
},
|
|
2752
2793
|
{
|
|
2753
2794
|
name: "Initiator",
|
|
2754
|
-
isAbstract:
|
|
2755
|
-
extends: [
|
|
2795
|
+
isAbstract: true,
|
|
2796
|
+
"extends": [
|
|
2756
2797
|
"bpmn:StartEvent"
|
|
2757
2798
|
],
|
|
2758
2799
|
properties: [
|
|
2759
2800
|
{
|
|
2760
2801
|
name: "initiator",
|
|
2761
|
-
isAttr:
|
|
2802
|
+
isAttr: true,
|
|
2762
2803
|
type: "String"
|
|
2763
2804
|
}
|
|
2764
2805
|
]
|
|
2765
2806
|
},
|
|
2766
2807
|
{
|
|
2767
2808
|
name: "ScriptTask",
|
|
2768
|
-
isAbstract:
|
|
2769
|
-
extends: [
|
|
2809
|
+
isAbstract: true,
|
|
2810
|
+
"extends": [
|
|
2770
2811
|
"bpmn:ScriptTask"
|
|
2771
2812
|
],
|
|
2772
2813
|
properties: [
|
|
2773
2814
|
{
|
|
2774
2815
|
name: "resultVariable",
|
|
2775
|
-
isAttr:
|
|
2816
|
+
isAttr: true,
|
|
2776
2817
|
type: "String"
|
|
2777
2818
|
},
|
|
2778
2819
|
{
|
|
2779
2820
|
name: "resource",
|
|
2780
|
-
isAttr:
|
|
2821
|
+
isAttr: true,
|
|
2781
2822
|
type: "String"
|
|
2782
2823
|
}
|
|
2783
2824
|
]
|
|
2784
2825
|
},
|
|
2785
2826
|
{
|
|
2786
2827
|
name: "Process",
|
|
2787
|
-
isAbstract:
|
|
2788
|
-
extends: [
|
|
2828
|
+
isAbstract: true,
|
|
2829
|
+
"extends": [
|
|
2789
2830
|
"bpmn:Process"
|
|
2790
2831
|
],
|
|
2791
2832
|
properties: [
|
|
2792
2833
|
{
|
|
2793
2834
|
name: "candidateStarterGroups",
|
|
2794
|
-
isAttr:
|
|
2835
|
+
isAttr: true,
|
|
2795
2836
|
type: "String"
|
|
2796
2837
|
},
|
|
2797
2838
|
{
|
|
2798
2839
|
name: "candidateStarterUsers",
|
|
2799
|
-
isAttr:
|
|
2840
|
+
isAttr: true,
|
|
2800
2841
|
type: "String"
|
|
2801
2842
|
},
|
|
2802
2843
|
{
|
|
2803
2844
|
name: "versionTag",
|
|
2804
|
-
isAttr:
|
|
2845
|
+
isAttr: true,
|
|
2805
2846
|
type: "String"
|
|
2806
2847
|
},
|
|
2807
2848
|
{
|
|
2808
2849
|
name: "historyTimeToLive",
|
|
2809
|
-
isAttr:
|
|
2850
|
+
isAttr: true,
|
|
2810
2851
|
type: "String"
|
|
2811
2852
|
},
|
|
2812
2853
|
{
|
|
2813
2854
|
name: "isStartableInTasklist",
|
|
2814
|
-
isAttr:
|
|
2855
|
+
isAttr: true,
|
|
2815
2856
|
type: "Boolean",
|
|
2816
|
-
default:
|
|
2857
|
+
"default": true
|
|
2817
2858
|
}
|
|
2818
2859
|
]
|
|
2819
2860
|
},
|
|
2820
2861
|
{
|
|
2821
2862
|
name: "EscalationEventDefinition",
|
|
2822
|
-
isAbstract:
|
|
2823
|
-
extends: [
|
|
2863
|
+
isAbstract: true,
|
|
2864
|
+
"extends": [
|
|
2824
2865
|
"bpmn:EscalationEventDefinition"
|
|
2825
2866
|
],
|
|
2826
2867
|
properties: [
|
|
2827
2868
|
{
|
|
2828
2869
|
name: "escalationCodeVariable",
|
|
2829
|
-
isAttr:
|
|
2870
|
+
isAttr: true,
|
|
2830
2871
|
type: "String"
|
|
2831
2872
|
}
|
|
2832
2873
|
]
|
|
2833
2874
|
},
|
|
2834
2875
|
{
|
|
2835
2876
|
name: "FormalExpression",
|
|
2836
|
-
isAbstract:
|
|
2837
|
-
extends: [
|
|
2877
|
+
isAbstract: true,
|
|
2878
|
+
"extends": [
|
|
2838
2879
|
"bpmn:FormalExpression"
|
|
2839
2880
|
],
|
|
2840
2881
|
properties: [
|
|
2841
2882
|
{
|
|
2842
2883
|
name: "resource",
|
|
2843
|
-
isAttr:
|
|
2884
|
+
isAttr: true,
|
|
2844
2885
|
type: "String"
|
|
2845
2886
|
}
|
|
2846
2887
|
]
|
|
2847
2888
|
},
|
|
2848
2889
|
{
|
|
2849
2890
|
name: "Assignable",
|
|
2850
|
-
extends: [
|
|
2891
|
+
"extends": [
|
|
2851
2892
|
"bpmn:UserTask"
|
|
2852
2893
|
],
|
|
2853
2894
|
properties: [
|
|
2854
2895
|
{
|
|
2855
2896
|
name: "assignee",
|
|
2856
|
-
isAttr:
|
|
2897
|
+
isAttr: true,
|
|
2857
2898
|
type: "String"
|
|
2858
2899
|
},
|
|
2859
2900
|
{
|
|
2860
2901
|
name: "candidateUsers",
|
|
2861
|
-
isAttr:
|
|
2902
|
+
isAttr: true,
|
|
2862
2903
|
type: "String"
|
|
2863
2904
|
},
|
|
2864
2905
|
{
|
|
2865
2906
|
name: "candidateGroups",
|
|
2866
|
-
isAttr:
|
|
2907
|
+
isAttr: true,
|
|
2867
2908
|
type: "String"
|
|
2868
2909
|
},
|
|
2869
2910
|
{
|
|
2870
2911
|
name: "dueDate",
|
|
2871
|
-
isAttr:
|
|
2912
|
+
isAttr: true,
|
|
2872
2913
|
type: "String"
|
|
2873
2914
|
},
|
|
2874
2915
|
{
|
|
2875
2916
|
name: "followUpDate",
|
|
2876
|
-
isAttr:
|
|
2917
|
+
isAttr: true,
|
|
2877
2918
|
type: "String"
|
|
2878
2919
|
},
|
|
2879
2920
|
{
|
|
2880
2921
|
name: "priority",
|
|
2881
|
-
isAttr:
|
|
2922
|
+
isAttr: true,
|
|
2882
2923
|
type: "String"
|
|
2883
2924
|
}
|
|
2884
2925
|
]
|
|
@@ -2895,78 +2936,78 @@ const translationsCN = {
|
|
|
2895
2936
|
{
|
|
2896
2937
|
name: "label",
|
|
2897
2938
|
type: "String",
|
|
2898
|
-
isAttr:
|
|
2939
|
+
isAttr: true
|
|
2899
2940
|
},
|
|
2900
2941
|
{
|
|
2901
2942
|
name: "viewId",
|
|
2902
2943
|
type: "Number",
|
|
2903
|
-
isAttr:
|
|
2944
|
+
isAttr: true
|
|
2904
2945
|
}
|
|
2905
2946
|
]
|
|
2906
2947
|
},
|
|
2907
2948
|
{
|
|
2908
2949
|
name: "CallActivity",
|
|
2909
|
-
extends: [
|
|
2950
|
+
"extends": [
|
|
2910
2951
|
"bpmn:CallActivity"
|
|
2911
2952
|
],
|
|
2912
2953
|
properties: [
|
|
2913
2954
|
{
|
|
2914
2955
|
name: "calledElementBinding",
|
|
2915
|
-
isAttr:
|
|
2956
|
+
isAttr: true,
|
|
2916
2957
|
type: "String",
|
|
2917
|
-
default: "latest"
|
|
2958
|
+
"default": "latest"
|
|
2918
2959
|
},
|
|
2919
2960
|
{
|
|
2920
2961
|
name: "calledElementVersion",
|
|
2921
|
-
isAttr:
|
|
2962
|
+
isAttr: true,
|
|
2922
2963
|
type: "String"
|
|
2923
2964
|
},
|
|
2924
2965
|
{
|
|
2925
2966
|
name: "calledElementVersionTag",
|
|
2926
|
-
isAttr:
|
|
2967
|
+
isAttr: true,
|
|
2927
2968
|
type: "String"
|
|
2928
2969
|
},
|
|
2929
2970
|
{
|
|
2930
2971
|
name: "calledElementTenantId",
|
|
2931
|
-
isAttr:
|
|
2972
|
+
isAttr: true,
|
|
2932
2973
|
type: "String"
|
|
2933
2974
|
},
|
|
2934
2975
|
{
|
|
2935
2976
|
name: "caseRef",
|
|
2936
|
-
isAttr:
|
|
2977
|
+
isAttr: true,
|
|
2937
2978
|
type: "String"
|
|
2938
2979
|
},
|
|
2939
2980
|
{
|
|
2940
2981
|
name: "caseBinding",
|
|
2941
|
-
isAttr:
|
|
2982
|
+
isAttr: true,
|
|
2942
2983
|
type: "String",
|
|
2943
|
-
default: "latest"
|
|
2984
|
+
"default": "latest"
|
|
2944
2985
|
},
|
|
2945
2986
|
{
|
|
2946
2987
|
name: "caseVersion",
|
|
2947
|
-
isAttr:
|
|
2988
|
+
isAttr: true,
|
|
2948
2989
|
type: "String"
|
|
2949
2990
|
},
|
|
2950
2991
|
{
|
|
2951
2992
|
name: "caseTenantId",
|
|
2952
|
-
isAttr:
|
|
2993
|
+
isAttr: true,
|
|
2953
2994
|
type: "String"
|
|
2954
2995
|
},
|
|
2955
2996
|
{
|
|
2956
2997
|
name: "variableMappingClass",
|
|
2957
|
-
isAttr:
|
|
2998
|
+
isAttr: true,
|
|
2958
2999
|
type: "String"
|
|
2959
3000
|
},
|
|
2960
3001
|
{
|
|
2961
3002
|
name: "variableMappingDelegateExpression",
|
|
2962
|
-
isAttr:
|
|
3003
|
+
isAttr: true,
|
|
2963
3004
|
type: "String"
|
|
2964
3005
|
}
|
|
2965
3006
|
]
|
|
2966
3007
|
},
|
|
2967
3008
|
{
|
|
2968
3009
|
name: "ServiceTaskLike",
|
|
2969
|
-
extends: [
|
|
3010
|
+
"extends": [
|
|
2970
3011
|
"bpmn:ServiceTask",
|
|
2971
3012
|
"bpmn:BusinessRuleTask",
|
|
2972
3013
|
"bpmn:SendTask",
|
|
@@ -2975,89 +3016,89 @@ const translationsCN = {
|
|
|
2975
3016
|
properties: [
|
|
2976
3017
|
{
|
|
2977
3018
|
name: "expression",
|
|
2978
|
-
isAttr:
|
|
3019
|
+
isAttr: true,
|
|
2979
3020
|
type: "String"
|
|
2980
3021
|
},
|
|
2981
3022
|
{
|
|
2982
3023
|
name: "class",
|
|
2983
|
-
isAttr:
|
|
3024
|
+
isAttr: true,
|
|
2984
3025
|
type: "String"
|
|
2985
3026
|
},
|
|
2986
3027
|
{
|
|
2987
3028
|
name: "delegateExpression",
|
|
2988
|
-
isAttr:
|
|
3029
|
+
isAttr: true,
|
|
2989
3030
|
type: "String"
|
|
2990
3031
|
},
|
|
2991
3032
|
{
|
|
2992
3033
|
name: "resultVariable",
|
|
2993
|
-
isAttr:
|
|
3034
|
+
isAttr: true,
|
|
2994
3035
|
type: "String"
|
|
2995
3036
|
}
|
|
2996
3037
|
]
|
|
2997
3038
|
},
|
|
2998
3039
|
{
|
|
2999
3040
|
name: "DmnCapable",
|
|
3000
|
-
extends: [
|
|
3041
|
+
"extends": [
|
|
3001
3042
|
"bpmn:BusinessRuleTask"
|
|
3002
3043
|
],
|
|
3003
3044
|
properties: [
|
|
3004
3045
|
{
|
|
3005
3046
|
name: "decisionRef",
|
|
3006
|
-
isAttr:
|
|
3047
|
+
isAttr: true,
|
|
3007
3048
|
type: "String"
|
|
3008
3049
|
},
|
|
3009
3050
|
{
|
|
3010
3051
|
name: "decisionRefBinding",
|
|
3011
|
-
isAttr:
|
|
3052
|
+
isAttr: true,
|
|
3012
3053
|
type: "String",
|
|
3013
|
-
default: "latest"
|
|
3054
|
+
"default": "latest"
|
|
3014
3055
|
},
|
|
3015
3056
|
{
|
|
3016
3057
|
name: "decisionRefVersion",
|
|
3017
|
-
isAttr:
|
|
3058
|
+
isAttr: true,
|
|
3018
3059
|
type: "String"
|
|
3019
3060
|
},
|
|
3020
3061
|
{
|
|
3021
3062
|
name: "mapDecisionResult",
|
|
3022
|
-
isAttr:
|
|
3063
|
+
isAttr: true,
|
|
3023
3064
|
type: "String",
|
|
3024
|
-
default: "resultList"
|
|
3065
|
+
"default": "resultList"
|
|
3025
3066
|
},
|
|
3026
3067
|
{
|
|
3027
3068
|
name: "decisionRefTenantId",
|
|
3028
|
-
isAttr:
|
|
3069
|
+
isAttr: true,
|
|
3029
3070
|
type: "String"
|
|
3030
3071
|
}
|
|
3031
3072
|
]
|
|
3032
3073
|
},
|
|
3033
3074
|
{
|
|
3034
3075
|
name: "ExternalCapable",
|
|
3035
|
-
extends: [
|
|
3076
|
+
"extends": [
|
|
3036
3077
|
"flowable:ServiceTaskLike"
|
|
3037
3078
|
],
|
|
3038
3079
|
properties: [
|
|
3039
3080
|
{
|
|
3040
3081
|
name: "type",
|
|
3041
|
-
isAttr:
|
|
3082
|
+
isAttr: true,
|
|
3042
3083
|
type: "String"
|
|
3043
3084
|
},
|
|
3044
3085
|
{
|
|
3045
3086
|
name: "topic",
|
|
3046
|
-
isAttr:
|
|
3087
|
+
isAttr: true,
|
|
3047
3088
|
type: "String"
|
|
3048
3089
|
}
|
|
3049
3090
|
]
|
|
3050
3091
|
},
|
|
3051
3092
|
{
|
|
3052
3093
|
name: "TaskPriorized",
|
|
3053
|
-
extends: [
|
|
3094
|
+
"extends": [
|
|
3054
3095
|
"bpmn:Process",
|
|
3055
3096
|
"flowable:ExternalCapable"
|
|
3056
3097
|
],
|
|
3057
3098
|
properties: [
|
|
3058
3099
|
{
|
|
3059
3100
|
name: "taskPriority",
|
|
3060
|
-
isAttr:
|
|
3101
|
+
isAttr: true,
|
|
3061
3102
|
type: "String"
|
|
3062
3103
|
}
|
|
3063
3104
|
]
|
|
@@ -3076,7 +3117,7 @@ const translationsCN = {
|
|
|
3076
3117
|
{
|
|
3077
3118
|
name: "values",
|
|
3078
3119
|
type: "Property",
|
|
3079
|
-
isMany:
|
|
3120
|
+
isMany: true
|
|
3080
3121
|
}
|
|
3081
3122
|
]
|
|
3082
3123
|
},
|
|
@@ -3089,17 +3130,17 @@ const translationsCN = {
|
|
|
3089
3130
|
{
|
|
3090
3131
|
name: "id",
|
|
3091
3132
|
type: "String",
|
|
3092
|
-
isAttr:
|
|
3133
|
+
isAttr: true
|
|
3093
3134
|
},
|
|
3094
3135
|
{
|
|
3095
3136
|
name: "name",
|
|
3096
3137
|
type: "String",
|
|
3097
|
-
isAttr:
|
|
3138
|
+
isAttr: true
|
|
3098
3139
|
},
|
|
3099
3140
|
{
|
|
3100
3141
|
name: "value",
|
|
3101
3142
|
type: "String",
|
|
3102
|
-
isAttr:
|
|
3143
|
+
isAttr: true
|
|
3103
3144
|
}
|
|
3104
3145
|
]
|
|
3105
3146
|
},
|
|
@@ -3117,32 +3158,32 @@ const translationsCN = {
|
|
|
3117
3158
|
{
|
|
3118
3159
|
name: "id",
|
|
3119
3160
|
type: "String",
|
|
3120
|
-
isAttr:
|
|
3161
|
+
isAttr: true
|
|
3121
3162
|
},
|
|
3122
3163
|
{
|
|
3123
3164
|
name: "name",
|
|
3124
3165
|
type: "String",
|
|
3125
|
-
isAttr:
|
|
3166
|
+
isAttr: true
|
|
3126
3167
|
},
|
|
3127
3168
|
{
|
|
3128
3169
|
name: "code",
|
|
3129
3170
|
type: "String",
|
|
3130
|
-
isAttr:
|
|
3171
|
+
isAttr: true
|
|
3131
3172
|
},
|
|
3132
3173
|
{
|
|
3133
3174
|
name: "isHide",
|
|
3134
3175
|
type: "String",
|
|
3135
|
-
isAttr:
|
|
3176
|
+
isAttr: true
|
|
3136
3177
|
},
|
|
3137
3178
|
{
|
|
3138
3179
|
name: "next",
|
|
3139
3180
|
type: "String",
|
|
3140
|
-
isAttr:
|
|
3181
|
+
isAttr: true
|
|
3141
3182
|
},
|
|
3142
3183
|
{
|
|
3143
3184
|
name: "sort",
|
|
3144
3185
|
type: "Integer",
|
|
3145
|
-
isAttr:
|
|
3186
|
+
isAttr: true
|
|
3146
3187
|
}
|
|
3147
3188
|
]
|
|
3148
3189
|
},
|
|
@@ -3160,32 +3201,32 @@ const translationsCN = {
|
|
|
3160
3201
|
{
|
|
3161
3202
|
name: "id",
|
|
3162
3203
|
type: "String",
|
|
3163
|
-
isAttr:
|
|
3204
|
+
isAttr: true
|
|
3164
3205
|
},
|
|
3165
3206
|
{
|
|
3166
3207
|
name: "type",
|
|
3167
3208
|
type: "String",
|
|
3168
|
-
isAttr:
|
|
3209
|
+
isAttr: true
|
|
3169
3210
|
},
|
|
3170
3211
|
{
|
|
3171
3212
|
name: "value",
|
|
3172
3213
|
type: "String",
|
|
3173
|
-
isAttr:
|
|
3214
|
+
isAttr: true
|
|
3174
3215
|
},
|
|
3175
3216
|
{
|
|
3176
3217
|
name: "condition",
|
|
3177
3218
|
type: "String",
|
|
3178
|
-
isAttr:
|
|
3219
|
+
isAttr: true
|
|
3179
3220
|
},
|
|
3180
3221
|
{
|
|
3181
3222
|
name: "operationType",
|
|
3182
3223
|
type: "String",
|
|
3183
|
-
isAttr:
|
|
3224
|
+
isAttr: true
|
|
3184
3225
|
},
|
|
3185
3226
|
{
|
|
3186
3227
|
name: "sort",
|
|
3187
3228
|
type: "Integer",
|
|
3188
|
-
isAttr:
|
|
3229
|
+
isAttr: true
|
|
3189
3230
|
}
|
|
3190
3231
|
]
|
|
3191
3232
|
},
|
|
@@ -3232,12 +3273,12 @@ const translationsCN = {
|
|
|
3232
3273
|
},
|
|
3233
3274
|
{
|
|
3234
3275
|
name: "inputParameters",
|
|
3235
|
-
isMany:
|
|
3276
|
+
isMany: true,
|
|
3236
3277
|
type: "InputParameter"
|
|
3237
3278
|
},
|
|
3238
3279
|
{
|
|
3239
3280
|
name: "outputParameters",
|
|
3240
|
-
isMany:
|
|
3281
|
+
isMany: true,
|
|
3241
3282
|
type: "OutputParameter"
|
|
3242
3283
|
}
|
|
3243
3284
|
]
|
|
@@ -3247,12 +3288,12 @@ const translationsCN = {
|
|
|
3247
3288
|
properties: [
|
|
3248
3289
|
{
|
|
3249
3290
|
name: "name",
|
|
3250
|
-
isAttr:
|
|
3291
|
+
isAttr: true,
|
|
3251
3292
|
type: "String"
|
|
3252
3293
|
},
|
|
3253
3294
|
{
|
|
3254
3295
|
name: "value",
|
|
3255
|
-
isBody:
|
|
3296
|
+
isBody: true,
|
|
3256
3297
|
type: "String"
|
|
3257
3298
|
},
|
|
3258
3299
|
{
|
|
@@ -3263,7 +3304,7 @@ const translationsCN = {
|
|
|
3263
3304
|
},
|
|
3264
3305
|
{
|
|
3265
3306
|
name: "InputOutputParameterDefinition",
|
|
3266
|
-
isAbstract:
|
|
3307
|
+
isAbstract: true
|
|
3267
3308
|
},
|
|
3268
3309
|
{
|
|
3269
3310
|
name: "List",
|
|
@@ -3273,7 +3314,7 @@ const translationsCN = {
|
|
|
3273
3314
|
properties: [
|
|
3274
3315
|
{
|
|
3275
3316
|
name: "items",
|
|
3276
|
-
isMany:
|
|
3317
|
+
isMany: true,
|
|
3277
3318
|
type: "InputOutputParameterDefinition"
|
|
3278
3319
|
}
|
|
3279
3320
|
]
|
|
@@ -3286,7 +3327,7 @@ const translationsCN = {
|
|
|
3286
3327
|
properties: [
|
|
3287
3328
|
{
|
|
3288
3329
|
name: "entries",
|
|
3289
|
-
isMany:
|
|
3330
|
+
isMany: true,
|
|
3290
3331
|
type: "Entry"
|
|
3291
3332
|
}
|
|
3292
3333
|
]
|
|
@@ -3296,12 +3337,12 @@ const translationsCN = {
|
|
|
3296
3337
|
properties: [
|
|
3297
3338
|
{
|
|
3298
3339
|
name: "key",
|
|
3299
|
-
isAttr:
|
|
3340
|
+
isAttr: true,
|
|
3300
3341
|
type: "String"
|
|
3301
3342
|
},
|
|
3302
3343
|
{
|
|
3303
3344
|
name: "value",
|
|
3304
|
-
isBody:
|
|
3345
|
+
isBody: true,
|
|
3305
3346
|
type: "String"
|
|
3306
3347
|
},
|
|
3307
3348
|
{
|
|
@@ -3318,17 +3359,17 @@ const translationsCN = {
|
|
|
3318
3359
|
properties: [
|
|
3319
3360
|
{
|
|
3320
3361
|
name: "id",
|
|
3321
|
-
isAttr:
|
|
3362
|
+
isAttr: true,
|
|
3322
3363
|
type: "String"
|
|
3323
3364
|
},
|
|
3324
3365
|
{
|
|
3325
3366
|
name: "name",
|
|
3326
|
-
isAttr:
|
|
3367
|
+
isAttr: true,
|
|
3327
3368
|
type: "String"
|
|
3328
3369
|
},
|
|
3329
3370
|
{
|
|
3330
3371
|
name: "value",
|
|
3331
|
-
isBody:
|
|
3372
|
+
isBody: true,
|
|
3332
3373
|
type: "String"
|
|
3333
3374
|
}
|
|
3334
3375
|
]
|
|
@@ -3341,17 +3382,17 @@ const translationsCN = {
|
|
|
3341
3382
|
properties: [
|
|
3342
3383
|
{
|
|
3343
3384
|
name: "scriptFormat",
|
|
3344
|
-
isAttr:
|
|
3385
|
+
isAttr: true,
|
|
3345
3386
|
type: "String"
|
|
3346
3387
|
},
|
|
3347
3388
|
{
|
|
3348
3389
|
name: "resource",
|
|
3349
|
-
isAttr:
|
|
3390
|
+
isAttr: true,
|
|
3350
3391
|
type: "String"
|
|
3351
3392
|
},
|
|
3352
3393
|
{
|
|
3353
3394
|
name: "value",
|
|
3354
|
-
isBody:
|
|
3395
|
+
isBody: true,
|
|
3355
3396
|
type: "String"
|
|
3356
3397
|
}
|
|
3357
3398
|
]
|
|
@@ -3372,7 +3413,7 @@ const translationsCN = {
|
|
|
3372
3413
|
properties: [
|
|
3373
3414
|
{
|
|
3374
3415
|
name: "name",
|
|
3375
|
-
isAttr:
|
|
3416
|
+
isAttr: true,
|
|
3376
3417
|
type: "String"
|
|
3377
3418
|
},
|
|
3378
3419
|
{
|
|
@@ -3381,7 +3422,7 @@ const translationsCN = {
|
|
|
3381
3422
|
},
|
|
3382
3423
|
{
|
|
3383
3424
|
name: "stringValue",
|
|
3384
|
-
isAttr:
|
|
3425
|
+
isAttr: true,
|
|
3385
3426
|
type: "String"
|
|
3386
3427
|
},
|
|
3387
3428
|
{
|
|
@@ -3403,57 +3444,57 @@ const translationsCN = {
|
|
|
3403
3444
|
{
|
|
3404
3445
|
name: "id",
|
|
3405
3446
|
type: "String",
|
|
3406
|
-
isAttr:
|
|
3447
|
+
isAttr: true
|
|
3407
3448
|
},
|
|
3408
3449
|
{
|
|
3409
3450
|
name: "name",
|
|
3410
3451
|
type: "String",
|
|
3411
|
-
isAttr:
|
|
3452
|
+
isAttr: true
|
|
3412
3453
|
},
|
|
3413
3454
|
{
|
|
3414
3455
|
name: "type",
|
|
3415
3456
|
type: "String",
|
|
3416
|
-
isAttr:
|
|
3457
|
+
isAttr: true
|
|
3417
3458
|
},
|
|
3418
3459
|
{
|
|
3419
3460
|
name: "required",
|
|
3420
3461
|
type: "String",
|
|
3421
|
-
isAttr:
|
|
3462
|
+
isAttr: true
|
|
3422
3463
|
},
|
|
3423
3464
|
{
|
|
3424
3465
|
name: "readable",
|
|
3425
3466
|
type: "String",
|
|
3426
|
-
isAttr:
|
|
3467
|
+
isAttr: true
|
|
3427
3468
|
},
|
|
3428
3469
|
{
|
|
3429
3470
|
name: "writable",
|
|
3430
3471
|
type: "String",
|
|
3431
|
-
isAttr:
|
|
3472
|
+
isAttr: true
|
|
3432
3473
|
},
|
|
3433
3474
|
{
|
|
3434
3475
|
name: "variable",
|
|
3435
3476
|
type: "String",
|
|
3436
|
-
isAttr:
|
|
3477
|
+
isAttr: true
|
|
3437
3478
|
},
|
|
3438
3479
|
{
|
|
3439
3480
|
name: "expression",
|
|
3440
3481
|
type: "String",
|
|
3441
|
-
isAttr:
|
|
3482
|
+
isAttr: true
|
|
3442
3483
|
},
|
|
3443
3484
|
{
|
|
3444
3485
|
name: "datePattern",
|
|
3445
3486
|
type: "String",
|
|
3446
|
-
isAttr:
|
|
3487
|
+
isAttr: true
|
|
3447
3488
|
},
|
|
3448
3489
|
{
|
|
3449
3490
|
name: "default",
|
|
3450
3491
|
type: "String",
|
|
3451
|
-
isAttr:
|
|
3492
|
+
isAttr: true
|
|
3452
3493
|
},
|
|
3453
3494
|
{
|
|
3454
3495
|
name: "values",
|
|
3455
3496
|
type: "Value",
|
|
3456
|
-
isMany:
|
|
3497
|
+
isMany: true
|
|
3457
3498
|
}
|
|
3458
3499
|
]
|
|
3459
3500
|
},
|
|
@@ -3471,8 +3512,8 @@ const translationsCN = {
|
|
|
3471
3512
|
},
|
|
3472
3513
|
{
|
|
3473
3514
|
name: "Collectable",
|
|
3474
|
-
isAbstract:
|
|
3475
|
-
extends: [
|
|
3515
|
+
isAbstract: true,
|
|
3516
|
+
"extends": [
|
|
3476
3517
|
"bpmn:MultiInstanceLoopCharacteristics"
|
|
3477
3518
|
],
|
|
3478
3519
|
superClass: [
|
|
@@ -3481,12 +3522,12 @@ const translationsCN = {
|
|
|
3481
3522
|
properties: [
|
|
3482
3523
|
{
|
|
3483
3524
|
name: "collection",
|
|
3484
|
-
isAttr:
|
|
3525
|
+
isAttr: true,
|
|
3485
3526
|
type: "String"
|
|
3486
3527
|
},
|
|
3487
3528
|
{
|
|
3488
3529
|
name: "elementVariable",
|
|
3489
|
-
isAttr:
|
|
3530
|
+
isAttr: true,
|
|
3490
3531
|
type: "String"
|
|
3491
3532
|
}
|
|
3492
3533
|
]
|
|
@@ -3505,7 +3546,7 @@ const translationsCN = {
|
|
|
3505
3546
|
properties: [
|
|
3506
3547
|
{
|
|
3507
3548
|
name: "body",
|
|
3508
|
-
isBody:
|
|
3549
|
+
isBody: true,
|
|
3509
3550
|
type: "String"
|
|
3510
3551
|
}
|
|
3511
3552
|
]
|
|
@@ -3542,22 +3583,22 @@ const translationsCN = {
|
|
|
3542
3583
|
properties: [
|
|
3543
3584
|
{
|
|
3544
3585
|
name: "expression",
|
|
3545
|
-
isAttr:
|
|
3586
|
+
isAttr: true,
|
|
3546
3587
|
type: "String"
|
|
3547
3588
|
},
|
|
3548
3589
|
{
|
|
3549
3590
|
name: "class",
|
|
3550
|
-
isAttr:
|
|
3591
|
+
isAttr: true,
|
|
3551
3592
|
type: "String"
|
|
3552
3593
|
},
|
|
3553
3594
|
{
|
|
3554
3595
|
name: "delegateExpression",
|
|
3555
|
-
isAttr:
|
|
3596
|
+
isAttr: true,
|
|
3556
3597
|
type: "String"
|
|
3557
3598
|
},
|
|
3558
3599
|
{
|
|
3559
3600
|
name: "event",
|
|
3560
|
-
isAttr:
|
|
3601
|
+
isAttr: true,
|
|
3561
3602
|
type: "String"
|
|
3562
3603
|
},
|
|
3563
3604
|
{
|
|
@@ -3567,7 +3608,7 @@ const translationsCN = {
|
|
|
3567
3608
|
{
|
|
3568
3609
|
name: "fields",
|
|
3569
3610
|
type: "Field",
|
|
3570
|
-
isMany:
|
|
3611
|
+
isMany: true
|
|
3571
3612
|
}
|
|
3572
3613
|
]
|
|
3573
3614
|
},
|
|
@@ -3584,22 +3625,22 @@ const translationsCN = {
|
|
|
3584
3625
|
properties: [
|
|
3585
3626
|
{
|
|
3586
3627
|
name: "expression",
|
|
3587
|
-
isAttr:
|
|
3628
|
+
isAttr: true,
|
|
3588
3629
|
type: "String"
|
|
3589
3630
|
},
|
|
3590
3631
|
{
|
|
3591
3632
|
name: "class",
|
|
3592
|
-
isAttr:
|
|
3633
|
+
isAttr: true,
|
|
3593
3634
|
type: "String"
|
|
3594
3635
|
},
|
|
3595
3636
|
{
|
|
3596
3637
|
name: "delegateExpression",
|
|
3597
|
-
isAttr:
|
|
3638
|
+
isAttr: true,
|
|
3598
3639
|
type: "String"
|
|
3599
3640
|
},
|
|
3600
3641
|
{
|
|
3601
3642
|
name: "event",
|
|
3602
|
-
isAttr:
|
|
3643
|
+
isAttr: true,
|
|
3603
3644
|
type: "String"
|
|
3604
3645
|
},
|
|
3605
3646
|
{
|
|
@@ -3609,7 +3650,7 @@ const translationsCN = {
|
|
|
3609
3650
|
{
|
|
3610
3651
|
name: "fields",
|
|
3611
3652
|
type: "Field",
|
|
3612
|
-
isMany:
|
|
3653
|
+
isMany: true
|
|
3613
3654
|
}
|
|
3614
3655
|
]
|
|
3615
3656
|
},
|
|
@@ -3628,67 +3669,67 @@ const translationsCN = {
|
|
|
3628
3669
|
{
|
|
3629
3670
|
name: "id",
|
|
3630
3671
|
type: "String",
|
|
3631
|
-
isAttr:
|
|
3672
|
+
isAttr: true
|
|
3632
3673
|
},
|
|
3633
3674
|
{
|
|
3634
3675
|
name: "name",
|
|
3635
3676
|
type: "String",
|
|
3636
|
-
isAttr:
|
|
3677
|
+
isAttr: true
|
|
3637
3678
|
},
|
|
3638
3679
|
{
|
|
3639
3680
|
name: "type",
|
|
3640
3681
|
type: "String",
|
|
3641
|
-
isAttr:
|
|
3682
|
+
isAttr: true
|
|
3642
3683
|
},
|
|
3643
3684
|
{
|
|
3644
3685
|
name: "required",
|
|
3645
3686
|
type: "String",
|
|
3646
|
-
isAttr:
|
|
3687
|
+
isAttr: true
|
|
3647
3688
|
},
|
|
3648
3689
|
{
|
|
3649
3690
|
name: "readable",
|
|
3650
3691
|
type: "String",
|
|
3651
|
-
isAttr:
|
|
3692
|
+
isAttr: true
|
|
3652
3693
|
},
|
|
3653
3694
|
{
|
|
3654
3695
|
name: "writable",
|
|
3655
3696
|
type: "String",
|
|
3656
|
-
isAttr:
|
|
3697
|
+
isAttr: true
|
|
3657
3698
|
},
|
|
3658
3699
|
{
|
|
3659
3700
|
name: "variable",
|
|
3660
3701
|
type: "String",
|
|
3661
|
-
isAttr:
|
|
3702
|
+
isAttr: true
|
|
3662
3703
|
},
|
|
3663
3704
|
{
|
|
3664
3705
|
name: "expression",
|
|
3665
3706
|
type: "String",
|
|
3666
|
-
isAttr:
|
|
3707
|
+
isAttr: true
|
|
3667
3708
|
},
|
|
3668
3709
|
{
|
|
3669
3710
|
name: "datePattern",
|
|
3670
3711
|
type: "String",
|
|
3671
|
-
isAttr:
|
|
3712
|
+
isAttr: true
|
|
3672
3713
|
},
|
|
3673
3714
|
{
|
|
3674
3715
|
name: "default",
|
|
3675
3716
|
type: "String",
|
|
3676
|
-
isAttr:
|
|
3717
|
+
isAttr: true
|
|
3677
3718
|
},
|
|
3678
3719
|
{
|
|
3679
3720
|
name: "values",
|
|
3680
3721
|
type: "Value",
|
|
3681
|
-
isMany:
|
|
3722
|
+
isMany: true
|
|
3682
3723
|
},
|
|
3683
3724
|
{
|
|
3684
3725
|
name: "children",
|
|
3685
3726
|
type: "ChildField",
|
|
3686
|
-
isMany:
|
|
3727
|
+
isMany: true
|
|
3687
3728
|
},
|
|
3688
3729
|
{
|
|
3689
3730
|
name: "extensionElements",
|
|
3690
3731
|
type: "bpmn:ExtensionElements",
|
|
3691
|
-
isMany:
|
|
3732
|
+
isMany: true
|
|
3692
3733
|
}
|
|
3693
3734
|
]
|
|
3694
3735
|
},
|
|
@@ -3707,12 +3748,12 @@ const translationsCN = {
|
|
|
3707
3748
|
{
|
|
3708
3749
|
name: "fields",
|
|
3709
3750
|
type: "FormField",
|
|
3710
|
-
isMany:
|
|
3751
|
+
isMany: true
|
|
3711
3752
|
},
|
|
3712
3753
|
{
|
|
3713
3754
|
name: "businessKey",
|
|
3714
3755
|
type: "String",
|
|
3715
|
-
isAttr:
|
|
3756
|
+
isAttr: true
|
|
3716
3757
|
}
|
|
3717
3758
|
]
|
|
3718
3759
|
},
|
|
@@ -3725,27 +3766,27 @@ const translationsCN = {
|
|
|
3725
3766
|
{
|
|
3726
3767
|
name: "id",
|
|
3727
3768
|
type: "String",
|
|
3728
|
-
isAttr:
|
|
3769
|
+
isAttr: true
|
|
3729
3770
|
},
|
|
3730
3771
|
{
|
|
3731
3772
|
name: "label",
|
|
3732
3773
|
type: "String",
|
|
3733
|
-
isAttr:
|
|
3774
|
+
isAttr: true
|
|
3734
3775
|
},
|
|
3735
3776
|
{
|
|
3736
3777
|
name: "type",
|
|
3737
3778
|
type: "String",
|
|
3738
|
-
isAttr:
|
|
3779
|
+
isAttr: true
|
|
3739
3780
|
},
|
|
3740
3781
|
{
|
|
3741
3782
|
name: "datePattern",
|
|
3742
3783
|
type: "String",
|
|
3743
|
-
isAttr:
|
|
3784
|
+
isAttr: true
|
|
3744
3785
|
},
|
|
3745
3786
|
{
|
|
3746
3787
|
name: "defaultValue",
|
|
3747
3788
|
type: "String",
|
|
3748
|
-
isAttr:
|
|
3789
|
+
isAttr: true
|
|
3749
3790
|
},
|
|
3750
3791
|
{
|
|
3751
3792
|
name: "properties",
|
|
@@ -3758,7 +3799,7 @@ const translationsCN = {
|
|
|
3758
3799
|
{
|
|
3759
3800
|
name: "values",
|
|
3760
3801
|
type: "Value",
|
|
3761
|
-
isMany:
|
|
3802
|
+
isMany: true
|
|
3762
3803
|
}
|
|
3763
3804
|
]
|
|
3764
3805
|
},
|
|
@@ -3771,7 +3812,7 @@ const translationsCN = {
|
|
|
3771
3812
|
{
|
|
3772
3813
|
name: "constraints",
|
|
3773
3814
|
type: "Constraint",
|
|
3774
|
-
isMany:
|
|
3815
|
+
isMany: true
|
|
3775
3816
|
}
|
|
3776
3817
|
]
|
|
3777
3818
|
},
|
|
@@ -3784,30 +3825,30 @@ const translationsCN = {
|
|
|
3784
3825
|
{
|
|
3785
3826
|
name: "name",
|
|
3786
3827
|
type: "String",
|
|
3787
|
-
isAttr:
|
|
3828
|
+
isAttr: true
|
|
3788
3829
|
},
|
|
3789
3830
|
{
|
|
3790
3831
|
name: "config",
|
|
3791
3832
|
type: "String",
|
|
3792
|
-
isAttr:
|
|
3833
|
+
isAttr: true
|
|
3793
3834
|
}
|
|
3794
3835
|
]
|
|
3795
3836
|
},
|
|
3796
3837
|
{
|
|
3797
3838
|
name: "ConditionalEventDefinition",
|
|
3798
|
-
isAbstract:
|
|
3799
|
-
extends: [
|
|
3839
|
+
isAbstract: true,
|
|
3840
|
+
"extends": [
|
|
3800
3841
|
"bpmn:ConditionalEventDefinition"
|
|
3801
3842
|
],
|
|
3802
3843
|
properties: [
|
|
3803
3844
|
{
|
|
3804
3845
|
name: "variableName",
|
|
3805
|
-
isAttr:
|
|
3846
|
+
isAttr: true,
|
|
3806
3847
|
type: "String"
|
|
3807
3848
|
},
|
|
3808
3849
|
{
|
|
3809
3850
|
name: "variableEvent",
|
|
3810
|
-
isAttr:
|
|
3851
|
+
isAttr: true,
|
|
3811
3852
|
type: "String"
|
|
3812
3853
|
}
|
|
3813
3854
|
]
|
|
@@ -3826,36 +3867,38 @@ const translationsCN = {
|
|
|
3826
3867
|
{
|
|
3827
3868
|
name: "id",
|
|
3828
3869
|
type: "String",
|
|
3829
|
-
isAttr:
|
|
3870
|
+
isAttr: true
|
|
3830
3871
|
},
|
|
3831
3872
|
{
|
|
3832
3873
|
name: "field",
|
|
3833
3874
|
type: "String",
|
|
3834
|
-
isAttr:
|
|
3875
|
+
isAttr: true
|
|
3835
3876
|
},
|
|
3836
3877
|
{
|
|
3837
3878
|
name: "compare",
|
|
3838
3879
|
type: "String",
|
|
3839
|
-
isAttr:
|
|
3880
|
+
isAttr: true
|
|
3840
3881
|
},
|
|
3841
3882
|
{
|
|
3842
3883
|
name: "value",
|
|
3843
3884
|
type: "String",
|
|
3844
|
-
isAttr:
|
|
3885
|
+
isAttr: true
|
|
3845
3886
|
},
|
|
3846
3887
|
{
|
|
3847
3888
|
name: "logic",
|
|
3848
3889
|
type: "String",
|
|
3849
|
-
isAttr:
|
|
3890
|
+
isAttr: true
|
|
3850
3891
|
},
|
|
3851
3892
|
{
|
|
3852
3893
|
name: "sort",
|
|
3853
3894
|
type: "Integer",
|
|
3854
|
-
isAttr:
|
|
3895
|
+
isAttr: true
|
|
3855
3896
|
}
|
|
3856
3897
|
]
|
|
3857
3898
|
}
|
|
3858
|
-
]
|
|
3899
|
+
];
|
|
3900
|
+
const emumerations = [];
|
|
3901
|
+
const FlowableModdleDescriptor = {
|
|
3859
3902
|
name,
|
|
3860
3903
|
uri,
|
|
3861
3904
|
prefix,
|
|
@@ -3863,31 +3906,65 @@ const translationsCN = {
|
|
|
3863
3906
|
associations,
|
|
3864
3907
|
types,
|
|
3865
3908
|
emumerations
|
|
3866
|
-
}
|
|
3909
|
+
};
|
|
3910
|
+
const WILDCARD = "*";
|
|
3867
3911
|
function CamundaModdleExtension$1(eventBus) {
|
|
3868
3912
|
const self = this;
|
|
3869
3913
|
eventBus.on("moddleCopy.canCopyProperty", function(context) {
|
|
3870
|
-
const property = context.property
|
|
3914
|
+
const property = context.property;
|
|
3915
|
+
const parent = context.parent;
|
|
3871
3916
|
return self.canCopyProperty(property, parent);
|
|
3872
3917
|
});
|
|
3873
3918
|
}
|
|
3874
3919
|
CamundaModdleExtension$1.$inject = ["eventBus"];
|
|
3875
3920
|
CamundaModdleExtension$1.prototype.canCopyProperty = function(property, parent) {
|
|
3876
|
-
if (isObject(property) && !isAllowedInParent(property, parent)
|
|
3877
|
-
return
|
|
3921
|
+
if (isObject(property) && !isAllowedInParent(property, parent)) {
|
|
3922
|
+
return false;
|
|
3923
|
+
}
|
|
3924
|
+
if (is$2(property, "camunda:InputOutput") && !this.canHostInputOutput(parent)) {
|
|
3925
|
+
return false;
|
|
3926
|
+
}
|
|
3927
|
+
if (isAny(property, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(parent)) {
|
|
3928
|
+
return false;
|
|
3929
|
+
}
|
|
3930
|
+
if (is$2(property, "camunda:In") && !this.canHostIn(parent)) {
|
|
3931
|
+
return false;
|
|
3932
|
+
}
|
|
3878
3933
|
};
|
|
3879
3934
|
CamundaModdleExtension$1.prototype.canHostInputOutput = function(parent) {
|
|
3880
|
-
|
|
3881
|
-
|
|
3935
|
+
const connector = getParent(parent, "camunda:Connector");
|
|
3936
|
+
if (connector) {
|
|
3937
|
+
return true;
|
|
3938
|
+
}
|
|
3882
3939
|
const flowNode = getParent(parent, "bpmn:FlowNode");
|
|
3883
|
-
|
|
3940
|
+
if (!flowNode) {
|
|
3941
|
+
return false;
|
|
3942
|
+
}
|
|
3943
|
+
if (isAny(flowNode, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"])) {
|
|
3944
|
+
return false;
|
|
3945
|
+
}
|
|
3946
|
+
if (is$2(flowNode, "bpmn:SubProcess") && flowNode.get("triggeredByEvent")) {
|
|
3947
|
+
return false;
|
|
3948
|
+
}
|
|
3949
|
+
return true;
|
|
3884
3950
|
};
|
|
3885
3951
|
CamundaModdleExtension$1.prototype.canHostConnector = function(parent) {
|
|
3886
3952
|
const serviceTaskLike = getParent(parent, "camunda:ServiceTaskLike");
|
|
3887
|
-
|
|
3953
|
+
if (is$2(serviceTaskLike, "bpmn:MessageEventDefinition")) {
|
|
3954
|
+
return getParent(parent, "bpmn:IntermediateThrowEvent") || getParent(parent, "bpmn:EndEvent");
|
|
3955
|
+
}
|
|
3956
|
+
return true;
|
|
3888
3957
|
};
|
|
3889
3958
|
CamundaModdleExtension$1.prototype.canHostIn = function(parent) {
|
|
3890
|
-
|
|
3959
|
+
const callActivity = getParent(parent, "bpmn:CallActivity");
|
|
3960
|
+
if (callActivity) {
|
|
3961
|
+
return true;
|
|
3962
|
+
}
|
|
3963
|
+
const signalEventDefinition = getParent(parent, "bpmn:SignalEventDefinition");
|
|
3964
|
+
if (signalEventDefinition) {
|
|
3965
|
+
return getParent(parent, "bpmn:IntermediateThrowEvent") || getParent(parent, "bpmn:EndEvent");
|
|
3966
|
+
}
|
|
3967
|
+
return true;
|
|
3891
3968
|
};
|
|
3892
3969
|
function is$2(element, type) {
|
|
3893
3970
|
return element && isFunction(element.$instanceOf) && element.$instanceOf(type);
|
|
@@ -3898,16 +3975,24 @@ function isAny(element, types2) {
|
|
|
3898
3975
|
});
|
|
3899
3976
|
}
|
|
3900
3977
|
function getParent(element, type) {
|
|
3901
|
-
if (!type)
|
|
3978
|
+
if (!type) {
|
|
3902
3979
|
return element.$parent;
|
|
3903
|
-
|
|
3980
|
+
}
|
|
3981
|
+
if (is$2(element, type)) {
|
|
3904
3982
|
return element;
|
|
3905
|
-
|
|
3906
|
-
|
|
3983
|
+
}
|
|
3984
|
+
if (!element.$parent) {
|
|
3985
|
+
return;
|
|
3986
|
+
}
|
|
3987
|
+
return getParent(element.$parent, type);
|
|
3907
3988
|
}
|
|
3908
3989
|
function isAllowedInParent(property, parent) {
|
|
3909
|
-
const descriptor = property.$type && property.$model.getTypeDescriptor(property.$type)
|
|
3910
|
-
|
|
3990
|
+
const descriptor = property.$type && property.$model.getTypeDescriptor(property.$type);
|
|
3991
|
+
const allowedIn = descriptor && descriptor.meta && descriptor.meta.allowedIn;
|
|
3992
|
+
if (!allowedIn || isWildcard(allowedIn)) {
|
|
3993
|
+
return true;
|
|
3994
|
+
}
|
|
3995
|
+
return some(allowedIn, function(type) {
|
|
3911
3996
|
return getParent(parent, type);
|
|
3912
3997
|
});
|
|
3913
3998
|
}
|
|
@@ -3917,13 +4002,14 @@ function isWildcard(allowedIn) {
|
|
|
3917
4002
|
const CamundaModdleExtension = {
|
|
3918
4003
|
__init__: ["camundaModdleExtension"],
|
|
3919
4004
|
camundaModdleExtension: ["type", CamundaModdleExtension$1]
|
|
3920
|
-
}
|
|
4005
|
+
};
|
|
4006
|
+
const ALLOWED_TYPES$1 = {
|
|
3921
4007
|
FailedJobRetryTimeCycle: ["bpmn:StartEvent", "bpmn:BoundaryEvent", "bpmn:IntermediateCatchEvent", "bpmn:Activity"],
|
|
3922
4008
|
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
3923
4009
|
Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
|
|
3924
4010
|
};
|
|
3925
4011
|
function is$1(element, type) {
|
|
3926
|
-
return element && typeof element.$instanceOf
|
|
4012
|
+
return element && typeof element.$instanceOf === "function" && element.$instanceOf(type);
|
|
3927
4013
|
}
|
|
3928
4014
|
function exists$1(element) {
|
|
3929
4015
|
return element && element.length;
|
|
@@ -3939,14 +4025,16 @@ function anyType$1(element, types2) {
|
|
|
3939
4025
|
});
|
|
3940
4026
|
}
|
|
3941
4027
|
function isAllowed$1(propName, propDescriptor, newElement) {
|
|
3942
|
-
const name2 = propDescriptor.name
|
|
4028
|
+
const name2 = propDescriptor.name;
|
|
4029
|
+
const types2 = ALLOWED_TYPES$1[name2.replace(/activiti:/, "")];
|
|
3943
4030
|
return name2 === propName && anyType$1(newElement, types2);
|
|
3944
4031
|
}
|
|
3945
4032
|
function ActivitiModdleExtension$1(eventBus) {
|
|
3946
4033
|
eventBus.on(
|
|
3947
4034
|
"property.clone",
|
|
3948
4035
|
function(context) {
|
|
3949
|
-
const newElement = context.newElement
|
|
4036
|
+
const newElement = context.newElement;
|
|
4037
|
+
const propDescriptor = context.propertyDescriptor;
|
|
3950
4038
|
this.canCloneProperty(newElement, propDescriptor);
|
|
3951
4039
|
},
|
|
3952
4040
|
this
|
|
@@ -3954,21 +4042,27 @@ function ActivitiModdleExtension$1(eventBus) {
|
|
|
3954
4042
|
}
|
|
3955
4043
|
ActivitiModdleExtension$1.$inject = ["eventBus"];
|
|
3956
4044
|
ActivitiModdleExtension$1.prototype.canCloneProperty = function(newElement, propDescriptor) {
|
|
3957
|
-
if (isAllowed$1("activiti:FailedJobRetryTimeCycle", propDescriptor, newElement))
|
|
4045
|
+
if (isAllowed$1("activiti:FailedJobRetryTimeCycle", propDescriptor, newElement)) {
|
|
3958
4046
|
return includesType$1(newElement.eventDefinitions, "bpmn:TimerEventDefinition") || includesType$1(newElement.eventDefinitions, "bpmn:SignalEventDefinition") || is$1(newElement.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
|
|
3959
|
-
|
|
4047
|
+
}
|
|
4048
|
+
if (isAllowed$1("activiti:Connector", propDescriptor, newElement)) {
|
|
4049
|
+
return includesType$1(newElement.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4050
|
+
}
|
|
4051
|
+
if (isAllowed$1("activiti:Field", propDescriptor, newElement)) {
|
|
3960
4052
|
return includesType$1(newElement.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4053
|
+
}
|
|
3961
4054
|
};
|
|
3962
4055
|
const ActivitiModdleExtension = {
|
|
3963
4056
|
__init__: ["ActivitiModdleExtension"],
|
|
3964
4057
|
ActivitiModdleExtension: ["type", ActivitiModdleExtension$1]
|
|
3965
|
-
}
|
|
4058
|
+
};
|
|
4059
|
+
const ALLOWED_TYPES = {
|
|
3966
4060
|
FailedJobRetryTimeCycle: ["bpmn:StartEvent", "bpmn:BoundaryEvent", "bpmn:IntermediateCatchEvent", "bpmn:Activity"],
|
|
3967
4061
|
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
3968
4062
|
Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
|
|
3969
4063
|
};
|
|
3970
4064
|
function is(element, type) {
|
|
3971
|
-
return element && typeof element.$instanceOf
|
|
4065
|
+
return element && typeof element.$instanceOf === "function" && element.$instanceOf(type);
|
|
3972
4066
|
}
|
|
3973
4067
|
function exists(element) {
|
|
3974
4068
|
return element && element.length;
|
|
@@ -3984,14 +4078,16 @@ function anyType(element, types2) {
|
|
|
3984
4078
|
});
|
|
3985
4079
|
}
|
|
3986
4080
|
function isAllowed(propName, propDescriptor, newElement) {
|
|
3987
|
-
const name2 = propDescriptor.name
|
|
4081
|
+
const name2 = propDescriptor.name;
|
|
4082
|
+
const types2 = ALLOWED_TYPES[name2.replace(/flowable:/, "")];
|
|
3988
4083
|
return name2 === propName && anyType(newElement, types2);
|
|
3989
4084
|
}
|
|
3990
4085
|
function FlowableModdleExtension$1(eventBus) {
|
|
3991
4086
|
eventBus.on(
|
|
3992
4087
|
"property.clone",
|
|
3993
4088
|
function(context) {
|
|
3994
|
-
const newElement = context.newElement
|
|
4089
|
+
const newElement = context.newElement;
|
|
4090
|
+
const propDescriptor = context.propertyDescriptor;
|
|
3995
4091
|
this.canCloneProperty(newElement, propDescriptor);
|
|
3996
4092
|
},
|
|
3997
4093
|
this
|
|
@@ -3999,244 +4095,251 @@ function FlowableModdleExtension$1(eventBus) {
|
|
|
3999
4095
|
}
|
|
4000
4096
|
FlowableModdleExtension$1.$inject = ["eventBus"];
|
|
4001
4097
|
FlowableModdleExtension$1.prototype.canCloneProperty = function(newElement, propDescriptor) {
|
|
4002
|
-
if (isAllowed("flowable:FailedJobRetryTimeCycle", propDescriptor, newElement))
|
|
4098
|
+
if (isAllowed("flowable:FailedJobRetryTimeCycle", propDescriptor, newElement)) {
|
|
4003
4099
|
return includesType(newElement.eventDefinitions, "bpmn:TimerEventDefinition") || includesType(newElement.eventDefinitions, "bpmn:SignalEventDefinition") || is(newElement.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
|
|
4004
|
-
|
|
4100
|
+
}
|
|
4101
|
+
if (isAllowed("flowable:Connector", propDescriptor, newElement)) {
|
|
4102
|
+
return includesType(newElement.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4103
|
+
}
|
|
4104
|
+
if (isAllowed("flowable:Field", propDescriptor, newElement)) {
|
|
4005
4105
|
return includesType(newElement.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4106
|
+
}
|
|
4006
4107
|
};
|
|
4007
4108
|
const FlowableModdleExtension = {
|
|
4008
4109
|
__init__: ["FlowableModdleExtension"],
|
|
4009
4110
|
FlowableModdleExtension: ["type", FlowableModdleExtension$1]
|
|
4010
4111
|
};
|
|
4011
4112
|
var render = function() {
|
|
4012
|
-
var _vm = this
|
|
4113
|
+
var _vm = this;
|
|
4114
|
+
var _h = _vm.$createElement;
|
|
4115
|
+
var _c = _vm._self._c || _h;
|
|
4013
4116
|
return _c("div", {
|
|
4014
4117
|
staticClass: "my-process-designer"
|
|
4015
4118
|
}, [_c("div", {
|
|
4016
4119
|
staticClass: "my-process-designer__header"
|
|
4017
|
-
}, [_vm._t("control-header"), _vm.$slots["control-header"] ?
|
|
4120
|
+
}, [_vm._t("control-header"), !_vm.$slots["control-header"] ? [_c("ElButtonGroup", {
|
|
4018
4121
|
key: "file-control"
|
|
4019
4122
|
}, [_vm.simulation ? _c("ElTooltip", {
|
|
4020
4123
|
attrs: {
|
|
4021
|
-
effect: "light",
|
|
4022
|
-
content: "保存流程"
|
|
4124
|
+
"effect": "light",
|
|
4125
|
+
"content": "保存流程"
|
|
4023
4126
|
}
|
|
4024
4127
|
}, [_c("ElButton", {
|
|
4025
4128
|
attrs: {
|
|
4026
|
-
size: _vm.headerButtonSize,
|
|
4027
|
-
type: _vm.headerButtonType,
|
|
4028
|
-
icon: "el-icon-save"
|
|
4129
|
+
"size": _vm.headerButtonSize,
|
|
4130
|
+
"type": _vm.headerButtonType,
|
|
4131
|
+
"icon": "el-icon-save"
|
|
4029
4132
|
},
|
|
4030
4133
|
on: {
|
|
4031
|
-
click: function($event) {
|
|
4134
|
+
"click": function($event) {
|
|
4032
4135
|
return _vm.$refs.refFile.click();
|
|
4033
4136
|
}
|
|
4034
4137
|
}
|
|
4035
4138
|
}, [_vm._v(" 保存 ")])], 1) : _vm._e(), _vm.simulation ? _c("ElTooltip", {
|
|
4036
4139
|
attrs: {
|
|
4037
|
-
effect: "light",
|
|
4038
|
-
content: "导入流程"
|
|
4140
|
+
"effect": "light",
|
|
4141
|
+
"content": "导入流程"
|
|
4039
4142
|
}
|
|
4040
4143
|
}, [_c("ElButton", {
|
|
4041
4144
|
attrs: {
|
|
4042
|
-
size: _vm.headerButtonSize,
|
|
4043
|
-
type: _vm.headerButtonType,
|
|
4044
|
-
icon: "el-icon-folder-opened"
|
|
4145
|
+
"size": _vm.headerButtonSize,
|
|
4146
|
+
"type": _vm.headerButtonType,
|
|
4147
|
+
"icon": "el-icon-folder-opened"
|
|
4045
4148
|
},
|
|
4046
4149
|
on: {
|
|
4047
|
-
click: function($event) {
|
|
4150
|
+
"click": function($event) {
|
|
4048
4151
|
return _vm.$refs.refFile.click();
|
|
4049
4152
|
}
|
|
4050
4153
|
}
|
|
4051
4154
|
}, [_vm._v(" 导入 ")])], 1) : _vm._e(), _c("ElTooltip", {
|
|
4052
4155
|
attrs: {
|
|
4053
|
-
effect: "light"
|
|
4156
|
+
"effect": "light"
|
|
4054
4157
|
},
|
|
4055
4158
|
scopedSlots: _vm._u([{
|
|
4056
4159
|
key: "content",
|
|
4057
4160
|
fn: function() {
|
|
4058
4161
|
return [_c("ElButton", {
|
|
4059
4162
|
attrs: {
|
|
4060
|
-
size: _vm.headerButtonSize,
|
|
4061
|
-
type: "text"
|
|
4163
|
+
"size": _vm.headerButtonSize,
|
|
4164
|
+
"type": "text"
|
|
4062
4165
|
},
|
|
4063
4166
|
on: {
|
|
4064
|
-
click: function($event) {
|
|
4167
|
+
"click": function($event) {
|
|
4065
4168
|
return _vm.downloadProcessAsXml();
|
|
4066
4169
|
}
|
|
4067
4170
|
}
|
|
4068
4171
|
}, [_vm._v("下载为XML文件")]), _c("br"), _c("ElButton", {
|
|
4069
4172
|
attrs: {
|
|
4070
|
-
size: _vm.headerButtonSize,
|
|
4071
|
-
type: "text"
|
|
4173
|
+
"size": _vm.headerButtonSize,
|
|
4174
|
+
"type": "text"
|
|
4072
4175
|
},
|
|
4073
4176
|
on: {
|
|
4074
|
-
click: function($event) {
|
|
4177
|
+
"click": function($event) {
|
|
4075
4178
|
return _vm.downloadProcessAsSvg();
|
|
4076
4179
|
}
|
|
4077
4180
|
}
|
|
4078
4181
|
}, [_vm._v("下载为SVG文件")]), _c("br"), _c("ElButton", {
|
|
4079
4182
|
attrs: {
|
|
4080
|
-
size: _vm.headerButtonSize,
|
|
4081
|
-
type: "text"
|
|
4183
|
+
"size": _vm.headerButtonSize,
|
|
4184
|
+
"type": "text"
|
|
4082
4185
|
},
|
|
4083
4186
|
on: {
|
|
4084
|
-
click: function($event) {
|
|
4187
|
+
"click": function($event) {
|
|
4085
4188
|
return _vm.downloadProcessAsBpmn();
|
|
4086
4189
|
}
|
|
4087
4190
|
}
|
|
4088
4191
|
}, [_vm._v("下载为BPMN文件")])];
|
|
4089
4192
|
},
|
|
4090
|
-
proxy:
|
|
4091
|
-
}], null,
|
|
4193
|
+
proxy: true
|
|
4194
|
+
}], null, false, 1539507321)
|
|
4092
4195
|
}, [_c("ElButton", {
|
|
4093
4196
|
attrs: {
|
|
4094
|
-
size: _vm.headerButtonSize,
|
|
4095
|
-
type: _vm.headerButtonType,
|
|
4096
|
-
icon: "el-icon-download"
|
|
4197
|
+
"size": _vm.headerButtonSize,
|
|
4198
|
+
"type": _vm.headerButtonType,
|
|
4199
|
+
"icon": "el-icon-download"
|
|
4097
4200
|
}
|
|
4098
4201
|
}, [_vm._v("下载")])], 1), _c("ElTooltip", {
|
|
4099
4202
|
attrs: {
|
|
4100
|
-
effect: "light"
|
|
4203
|
+
"effect": "light"
|
|
4101
4204
|
},
|
|
4102
4205
|
scopedSlots: _vm._u([{
|
|
4103
4206
|
key: "content",
|
|
4104
4207
|
fn: function() {
|
|
4105
4208
|
return [_c("ElButton", {
|
|
4106
4209
|
attrs: {
|
|
4107
|
-
size: _vm.headerButtonSize,
|
|
4108
|
-
type: "text"
|
|
4210
|
+
"size": _vm.headerButtonSize,
|
|
4211
|
+
"type": "text"
|
|
4109
4212
|
},
|
|
4110
4213
|
on: {
|
|
4111
|
-
click: _vm.previewProcessXML
|
|
4214
|
+
"click": _vm.previewProcessXML
|
|
4112
4215
|
}
|
|
4113
4216
|
}, [_vm._v("预览XML")]), _c("br"), _c("ElButton", {
|
|
4114
4217
|
attrs: {
|
|
4115
|
-
size: _vm.headerButtonSize,
|
|
4116
|
-
type: "text"
|
|
4218
|
+
"size": _vm.headerButtonSize,
|
|
4219
|
+
"type": "text"
|
|
4117
4220
|
},
|
|
4118
4221
|
on: {
|
|
4119
|
-
click: _vm.previewProcessJson
|
|
4222
|
+
"click": _vm.previewProcessJson
|
|
4120
4223
|
}
|
|
4121
4224
|
}, [_vm._v("预览JSON")])];
|
|
4122
4225
|
},
|
|
4123
|
-
proxy:
|
|
4124
|
-
}], null,
|
|
4226
|
+
proxy: true
|
|
4227
|
+
}], null, false, 3067180497)
|
|
4125
4228
|
}, [_c("ElButton", {
|
|
4126
4229
|
attrs: {
|
|
4127
|
-
size: _vm.headerButtonSize,
|
|
4128
|
-
type: _vm.headerButtonType,
|
|
4129
|
-
icon: "el-icon-view"
|
|
4230
|
+
"size": _vm.headerButtonSize,
|
|
4231
|
+
"type": _vm.headerButtonType,
|
|
4232
|
+
"icon": "el-icon-view"
|
|
4130
4233
|
}
|
|
4131
4234
|
}, [_vm._v("预览")])], 1), _vm.simulation ? _c("ElTooltip", {
|
|
4132
4235
|
attrs: {
|
|
4133
|
-
effect: "light",
|
|
4134
|
-
content: _vm.simulationStatus ? "退出模拟" : "开启模拟"
|
|
4236
|
+
"effect": "light",
|
|
4237
|
+
"content": _vm.simulationStatus ? "退出模拟" : "开启模拟"
|
|
4135
4238
|
}
|
|
4136
4239
|
}, [_c("ElButton", {
|
|
4137
4240
|
attrs: {
|
|
4138
|
-
size: _vm.headerButtonSize,
|
|
4139
|
-
type: _vm.headerButtonType,
|
|
4140
|
-
icon: "el-icon-cpu"
|
|
4241
|
+
"size": _vm.headerButtonSize,
|
|
4242
|
+
"type": _vm.headerButtonType,
|
|
4243
|
+
"icon": "el-icon-cpu"
|
|
4141
4244
|
},
|
|
4142
4245
|
on: {
|
|
4143
|
-
click: _vm.processSimulation
|
|
4246
|
+
"click": _vm.processSimulation
|
|
4144
4247
|
}
|
|
4145
4248
|
}, [_vm._v(" 模拟 ")])], 1) : _vm._e()], 1), _c("ElButtonGroup", {
|
|
4146
4249
|
key: "align-control"
|
|
4147
4250
|
}, [_c("ElTooltip", {
|
|
4148
4251
|
attrs: {
|
|
4149
|
-
effect: "light",
|
|
4150
|
-
content: "向左对齐"
|
|
4252
|
+
"effect": "light",
|
|
4253
|
+
"content": "向左对齐"
|
|
4151
4254
|
}
|
|
4152
4255
|
}, [_c("ElButton", {
|
|
4153
4256
|
staticClass: "align align-left",
|
|
4154
4257
|
attrs: {
|
|
4155
|
-
size: _vm.headerButtonSize,
|
|
4156
|
-
icon: "el-icon-s-data"
|
|
4258
|
+
"size": _vm.headerButtonSize,
|
|
4259
|
+
"icon": "el-icon-s-data"
|
|
4157
4260
|
},
|
|
4158
4261
|
on: {
|
|
4159
|
-
click: function($event) {
|
|
4262
|
+
"click": function($event) {
|
|
4160
4263
|
return _vm.elementsAlign("left");
|
|
4161
4264
|
}
|
|
4162
4265
|
}
|
|
4163
4266
|
})], 1), _c("ElTooltip", {
|
|
4164
4267
|
attrs: {
|
|
4165
|
-
effect: "light",
|
|
4166
|
-
content: "向右对齐"
|
|
4268
|
+
"effect": "light",
|
|
4269
|
+
"content": "向右对齐"
|
|
4167
4270
|
}
|
|
4168
4271
|
}, [_c("ElButton", {
|
|
4169
4272
|
staticClass: "align align-right",
|
|
4170
4273
|
attrs: {
|
|
4171
|
-
size: _vm.headerButtonSize,
|
|
4172
|
-
icon: "el-icon-s-data"
|
|
4274
|
+
"size": _vm.headerButtonSize,
|
|
4275
|
+
"icon": "el-icon-s-data"
|
|
4173
4276
|
},
|
|
4174
4277
|
on: {
|
|
4175
|
-
click: function($event) {
|
|
4278
|
+
"click": function($event) {
|
|
4176
4279
|
return _vm.elementsAlign("right");
|
|
4177
4280
|
}
|
|
4178
4281
|
}
|
|
4179
4282
|
})], 1), _c("ElTooltip", {
|
|
4180
4283
|
attrs: {
|
|
4181
|
-
effect: "light",
|
|
4182
|
-
content: "向上对齐"
|
|
4284
|
+
"effect": "light",
|
|
4285
|
+
"content": "向上对齐"
|
|
4183
4286
|
}
|
|
4184
4287
|
}, [_c("ElButton", {
|
|
4185
4288
|
staticClass: "align align-top",
|
|
4186
4289
|
attrs: {
|
|
4187
|
-
size: _vm.headerButtonSize,
|
|
4188
|
-
icon: "el-icon-s-data"
|
|
4290
|
+
"size": _vm.headerButtonSize,
|
|
4291
|
+
"icon": "el-icon-s-data"
|
|
4189
4292
|
},
|
|
4190
4293
|
on: {
|
|
4191
|
-
click: function($event) {
|
|
4294
|
+
"click": function($event) {
|
|
4192
4295
|
return _vm.elementsAlign("top");
|
|
4193
4296
|
}
|
|
4194
4297
|
}
|
|
4195
4298
|
})], 1), _c("ElTooltip", {
|
|
4196
4299
|
attrs: {
|
|
4197
|
-
effect: "light",
|
|
4198
|
-
content: "向下对齐"
|
|
4300
|
+
"effect": "light",
|
|
4301
|
+
"content": "向下对齐"
|
|
4199
4302
|
}
|
|
4200
4303
|
}, [_c("ElButton", {
|
|
4201
4304
|
staticClass: "align align-bottom",
|
|
4202
4305
|
attrs: {
|
|
4203
|
-
size: _vm.headerButtonSize,
|
|
4204
|
-
icon: "el-icon-s-data"
|
|
4306
|
+
"size": _vm.headerButtonSize,
|
|
4307
|
+
"icon": "el-icon-s-data"
|
|
4205
4308
|
},
|
|
4206
4309
|
on: {
|
|
4207
|
-
click: function($event) {
|
|
4310
|
+
"click": function($event) {
|
|
4208
4311
|
return _vm.elementsAlign("bottom");
|
|
4209
4312
|
}
|
|
4210
4313
|
}
|
|
4211
4314
|
})], 1), _c("ElTooltip", {
|
|
4212
4315
|
attrs: {
|
|
4213
|
-
effect: "light",
|
|
4214
|
-
content: "水平居中"
|
|
4316
|
+
"effect": "light",
|
|
4317
|
+
"content": "水平居中"
|
|
4215
4318
|
}
|
|
4216
4319
|
}, [_c("ElButton", {
|
|
4217
4320
|
staticClass: "align align-center",
|
|
4218
4321
|
attrs: {
|
|
4219
|
-
size: _vm.headerButtonSize,
|
|
4220
|
-
icon: "el-icon-s-data"
|
|
4322
|
+
"size": _vm.headerButtonSize,
|
|
4323
|
+
"icon": "el-icon-s-data"
|
|
4221
4324
|
},
|
|
4222
4325
|
on: {
|
|
4223
|
-
click: function($event) {
|
|
4326
|
+
"click": function($event) {
|
|
4224
4327
|
return _vm.elementsAlign("center");
|
|
4225
4328
|
}
|
|
4226
4329
|
}
|
|
4227
4330
|
})], 1), _c("ElTooltip", {
|
|
4228
4331
|
attrs: {
|
|
4229
|
-
effect: "light",
|
|
4230
|
-
content: "垂直居中"
|
|
4332
|
+
"effect": "light",
|
|
4333
|
+
"content": "垂直居中"
|
|
4231
4334
|
}
|
|
4232
4335
|
}, [_c("ElButton", {
|
|
4233
4336
|
staticClass: "align align-middle",
|
|
4234
4337
|
attrs: {
|
|
4235
|
-
size: _vm.headerButtonSize,
|
|
4236
|
-
icon: "el-icon-s-data"
|
|
4338
|
+
"size": _vm.headerButtonSize,
|
|
4339
|
+
"icon": "el-icon-s-data"
|
|
4237
4340
|
},
|
|
4238
4341
|
on: {
|
|
4239
|
-
click: function($event) {
|
|
4342
|
+
"click": function($event) {
|
|
4240
4343
|
return _vm.elementsAlign("middle");
|
|
4241
4344
|
}
|
|
4242
4345
|
}
|
|
@@ -4244,52 +4347,52 @@ var render = function() {
|
|
|
4244
4347
|
key: "scale-control"
|
|
4245
4348
|
}, [_c("ElTooltip", {
|
|
4246
4349
|
attrs: {
|
|
4247
|
-
effect: "light",
|
|
4248
|
-
content: "缩小视图"
|
|
4350
|
+
"effect": "light",
|
|
4351
|
+
"content": "缩小视图"
|
|
4249
4352
|
}
|
|
4250
4353
|
}, [_c("ElButton", {
|
|
4251
4354
|
attrs: {
|
|
4252
|
-
size: _vm.headerButtonSize,
|
|
4253
|
-
disabled: _vm.defaultZoom < 0.2,
|
|
4254
|
-
icon: "el-icon-zoom-out"
|
|
4355
|
+
"size": _vm.headerButtonSize,
|
|
4356
|
+
"disabled": _vm.defaultZoom < 0.2,
|
|
4357
|
+
"icon": "el-icon-zoom-out"
|
|
4255
4358
|
},
|
|
4256
4359
|
on: {
|
|
4257
|
-
click: function($event) {
|
|
4360
|
+
"click": function($event) {
|
|
4258
4361
|
return _vm.processZoomOut();
|
|
4259
4362
|
}
|
|
4260
4363
|
}
|
|
4261
4364
|
})], 1), _c("ElButton", {
|
|
4262
4365
|
attrs: {
|
|
4263
|
-
size: _vm.headerButtonSize
|
|
4366
|
+
"size": _vm.headerButtonSize
|
|
4264
4367
|
}
|
|
4265
4368
|
}, [_vm._v(_vm._s(`${Math.floor(_vm.defaultZoom * 10 * 10)}%`))]), _c("ElTooltip", {
|
|
4266
4369
|
attrs: {
|
|
4267
|
-
effect: "light",
|
|
4268
|
-
content: "放大视图"
|
|
4370
|
+
"effect": "light",
|
|
4371
|
+
"content": "放大视图"
|
|
4269
4372
|
}
|
|
4270
4373
|
}, [_c("ElButton", {
|
|
4271
4374
|
attrs: {
|
|
4272
|
-
size: _vm.headerButtonSize,
|
|
4273
|
-
disabled: _vm.defaultZoom > 4,
|
|
4274
|
-
icon: "el-icon-zoom-in"
|
|
4375
|
+
"size": _vm.headerButtonSize,
|
|
4376
|
+
"disabled": _vm.defaultZoom > 4,
|
|
4377
|
+
"icon": "el-icon-zoom-in"
|
|
4275
4378
|
},
|
|
4276
4379
|
on: {
|
|
4277
|
-
click: function($event) {
|
|
4380
|
+
"click": function($event) {
|
|
4278
4381
|
return _vm.processZoomIn();
|
|
4279
4382
|
}
|
|
4280
4383
|
}
|
|
4281
4384
|
})], 1), _c("ElTooltip", {
|
|
4282
4385
|
attrs: {
|
|
4283
|
-
effect: "light",
|
|
4284
|
-
content: "重置视图并居中"
|
|
4386
|
+
"effect": "light",
|
|
4387
|
+
"content": "重置视图并居中"
|
|
4285
4388
|
}
|
|
4286
4389
|
}, [_c("ElButton", {
|
|
4287
4390
|
attrs: {
|
|
4288
|
-
size: _vm.headerButtonSize,
|
|
4289
|
-
icon: "el-icon-c-scale-to-original"
|
|
4391
|
+
"size": _vm.headerButtonSize,
|
|
4392
|
+
"icon": "el-icon-c-scale-to-original"
|
|
4290
4393
|
},
|
|
4291
4394
|
on: {
|
|
4292
|
-
click: function($event) {
|
|
4395
|
+
"click": function($event) {
|
|
4293
4396
|
return _vm.processReZoom();
|
|
4294
4397
|
}
|
|
4295
4398
|
}
|
|
@@ -4297,61 +4400,61 @@ var render = function() {
|
|
|
4297
4400
|
key: "stack-control"
|
|
4298
4401
|
}, [_c("ElTooltip", {
|
|
4299
4402
|
attrs: {
|
|
4300
|
-
effect: "light",
|
|
4301
|
-
content: "撤销"
|
|
4403
|
+
"effect": "light",
|
|
4404
|
+
"content": "撤销"
|
|
4302
4405
|
}
|
|
4303
4406
|
}, [_c("ElButton", {
|
|
4304
4407
|
attrs: {
|
|
4305
|
-
size: _vm.headerButtonSize,
|
|
4306
|
-
disabled: !_vm.revocable,
|
|
4307
|
-
icon: "el-icon-refresh-left"
|
|
4408
|
+
"size": _vm.headerButtonSize,
|
|
4409
|
+
"disabled": !_vm.revocable,
|
|
4410
|
+
"icon": "el-icon-refresh-left"
|
|
4308
4411
|
},
|
|
4309
4412
|
on: {
|
|
4310
|
-
click: function($event) {
|
|
4413
|
+
"click": function($event) {
|
|
4311
4414
|
return _vm.processUndo();
|
|
4312
4415
|
}
|
|
4313
4416
|
}
|
|
4314
4417
|
})], 1), _c("ElTooltip", {
|
|
4315
4418
|
attrs: {
|
|
4316
|
-
effect: "light",
|
|
4317
|
-
content: "恢复"
|
|
4419
|
+
"effect": "light",
|
|
4420
|
+
"content": "恢复"
|
|
4318
4421
|
}
|
|
4319
4422
|
}, [_c("ElButton", {
|
|
4320
4423
|
attrs: {
|
|
4321
|
-
size: _vm.headerButtonSize,
|
|
4322
|
-
disabled: !_vm.recoverable,
|
|
4323
|
-
icon: "el-icon-refresh-right"
|
|
4424
|
+
"size": _vm.headerButtonSize,
|
|
4425
|
+
"disabled": !_vm.recoverable,
|
|
4426
|
+
"icon": "el-icon-refresh-right"
|
|
4324
4427
|
},
|
|
4325
4428
|
on: {
|
|
4326
|
-
click: function($event) {
|
|
4429
|
+
"click": function($event) {
|
|
4327
4430
|
return _vm.processRedo();
|
|
4328
4431
|
}
|
|
4329
4432
|
}
|
|
4330
4433
|
})], 1), _c("ElTooltip", {
|
|
4331
4434
|
attrs: {
|
|
4332
|
-
effect: "light",
|
|
4333
|
-
content: "重新绘制"
|
|
4435
|
+
"effect": "light",
|
|
4436
|
+
"content": "重新绘制"
|
|
4334
4437
|
}
|
|
4335
4438
|
}, [_c("ElButton", {
|
|
4336
4439
|
attrs: {
|
|
4337
|
-
size: _vm.headerButtonSize,
|
|
4338
|
-
icon: "el-icon-refresh"
|
|
4440
|
+
"size": _vm.headerButtonSize,
|
|
4441
|
+
"icon": "el-icon-refresh"
|
|
4339
4442
|
},
|
|
4340
4443
|
on: {
|
|
4341
|
-
click: _vm.processRestart
|
|
4444
|
+
"click": _vm.processRestart
|
|
4342
4445
|
}
|
|
4343
|
-
})], 1)], 1)], _c("input", {
|
|
4446
|
+
})], 1)], 1)] : _vm._e(), _c("input", {
|
|
4344
4447
|
ref: "refFile",
|
|
4345
4448
|
staticStyle: {
|
|
4346
|
-
display: "none"
|
|
4449
|
+
"display": "none"
|
|
4347
4450
|
},
|
|
4348
4451
|
attrs: {
|
|
4349
|
-
id: "files",
|
|
4350
|
-
type: "file",
|
|
4351
|
-
accept: ".xml, .bpmn"
|
|
4452
|
+
"id": "files",
|
|
4453
|
+
"type": "file",
|
|
4454
|
+
"accept": ".xml, .bpmn"
|
|
4352
4455
|
},
|
|
4353
4456
|
on: {
|
|
4354
|
-
change: _vm.importLocalFile
|
|
4457
|
+
"change": _vm.importLocalFile
|
|
4355
4458
|
}
|
|
4356
4459
|
})], 2), _c("div", {
|
|
4357
4460
|
staticClass: "my-process-designer__container"
|
|
@@ -4360,11 +4463,11 @@ var render = function() {
|
|
|
4360
4463
|
staticClass: "my-process-designer__canvas"
|
|
4361
4464
|
})]), _c("ElementDialog", {
|
|
4362
4465
|
attrs: {
|
|
4363
|
-
title: "预览",
|
|
4364
|
-
width: "60vw",
|
|
4365
|
-
height: "60vh",
|
|
4366
|
-
visible: _vm.previewModelVisible,
|
|
4367
|
-
"body-padding":
|
|
4466
|
+
"title": "预览",
|
|
4467
|
+
"width": "60vw",
|
|
4468
|
+
"height": "60vh",
|
|
4469
|
+
"visible": _vm.previewModelVisible,
|
|
4470
|
+
"body-padding": false,
|
|
4368
4471
|
"destroy-on-close": ""
|
|
4369
4472
|
},
|
|
4370
4473
|
on: {
|
|
@@ -4374,11 +4477,12 @@ var render = function() {
|
|
|
4374
4477
|
}
|
|
4375
4478
|
}, [_c("HighlightJS", {
|
|
4376
4479
|
attrs: {
|
|
4377
|
-
language: _vm.previewType,
|
|
4378
|
-
code: _vm.previewResult
|
|
4480
|
+
"language": _vm.previewType,
|
|
4481
|
+
"code": _vm.previewResult
|
|
4379
4482
|
}
|
|
4380
4483
|
})], 1)], 1);
|
|
4381
|
-
}
|
|
4484
|
+
};
|
|
4485
|
+
var staticRenderFns = [];
|
|
4382
4486
|
hljs.registerLanguage("xml", xml$3);
|
|
4383
4487
|
hljs.registerLanguage("json", json);
|
|
4384
4488
|
const __vue2_script = {
|
|
@@ -4402,19 +4506,19 @@ const __vue2_script = {
|
|
|
4402
4506
|
// 自定义moddle
|
|
4403
4507
|
onlyCustomizeAddi: {
|
|
4404
4508
|
type: Boolean,
|
|
4405
|
-
default:
|
|
4509
|
+
default: false
|
|
4406
4510
|
},
|
|
4407
4511
|
onlyCustomizeModdle: {
|
|
4408
4512
|
type: Boolean,
|
|
4409
|
-
default:
|
|
4513
|
+
default: false
|
|
4410
4514
|
},
|
|
4411
4515
|
simulation: {
|
|
4412
4516
|
type: Boolean,
|
|
4413
|
-
default:
|
|
4517
|
+
default: true
|
|
4414
4518
|
},
|
|
4415
4519
|
keyboard: {
|
|
4416
4520
|
type: Boolean,
|
|
4417
|
-
default:
|
|
4521
|
+
default: true
|
|
4418
4522
|
},
|
|
4419
4523
|
prefix: {
|
|
4420
4524
|
type: String,
|
|
@@ -4438,65 +4542,114 @@ const __vue2_script = {
|
|
|
4438
4542
|
data() {
|
|
4439
4543
|
return {
|
|
4440
4544
|
defaultZoom: 1,
|
|
4441
|
-
previewModelVisible:
|
|
4442
|
-
simulationStatus:
|
|
4545
|
+
previewModelVisible: false,
|
|
4546
|
+
simulationStatus: false,
|
|
4443
4547
|
previewResult: "",
|
|
4444
4548
|
previewType: "xml",
|
|
4445
|
-
recoverable:
|
|
4446
|
-
revocable:
|
|
4549
|
+
recoverable: false,
|
|
4550
|
+
revocable: false
|
|
4447
4551
|
};
|
|
4448
4552
|
},
|
|
4449
4553
|
computed: {
|
|
4450
4554
|
additionalModules() {
|
|
4451
4555
|
const Modules = [];
|
|
4452
|
-
if (this.onlyCustomizeAddi)
|
|
4453
|
-
|
|
4454
|
-
|
|
4556
|
+
if (this.onlyCustomizeAddi) {
|
|
4557
|
+
if (Object.prototype.toString.call(this.additionalModel) === "[object Array]") {
|
|
4558
|
+
return this.additionalModel || [];
|
|
4559
|
+
}
|
|
4560
|
+
return [this.additionalModel];
|
|
4561
|
+
}
|
|
4562
|
+
if (Object.prototype.toString.call(this.additionalModel) === "[object Array]") {
|
|
4563
|
+
Modules.push(...this.additionalModel);
|
|
4564
|
+
} else {
|
|
4565
|
+
this.additionalModel && Modules.push(this.additionalModel);
|
|
4566
|
+
}
|
|
4455
4567
|
const TranslateModule = {
|
|
4456
4568
|
translate: ["value", customTranslate(this.translations || translationsCN)]
|
|
4457
4569
|
};
|
|
4458
|
-
|
|
4570
|
+
Modules.push(TranslateModule);
|
|
4571
|
+
if (this.simulation) {
|
|
4572
|
+
Modules.push(TokenSimulationModule);
|
|
4573
|
+
}
|
|
4574
|
+
if (this.prefix === "camunda") {
|
|
4575
|
+
Modules.push(CamundaModdleExtension);
|
|
4576
|
+
}
|
|
4577
|
+
if (this.prefix === "flowable") {
|
|
4578
|
+
Modules.push(FlowableModdleExtension);
|
|
4579
|
+
}
|
|
4580
|
+
if (this.prefix === "activiti") {
|
|
4581
|
+
Modules.push(ActivitiModdleExtension);
|
|
4582
|
+
}
|
|
4583
|
+
return Modules;
|
|
4459
4584
|
},
|
|
4460
4585
|
moddleExtensions() {
|
|
4461
4586
|
const Extensions = {};
|
|
4462
|
-
if (this.onlyCustomizeModdle)
|
|
4587
|
+
if (this.onlyCustomizeModdle) {
|
|
4463
4588
|
return this.moddleExtension || null;
|
|
4464
|
-
|
|
4465
|
-
|
|
4589
|
+
}
|
|
4590
|
+
if (this.moddleExtension) {
|
|
4591
|
+
for (const key in this.moddleExtension) {
|
|
4466
4592
|
Extensions[key] = this.moddleExtension[key];
|
|
4467
|
-
|
|
4593
|
+
}
|
|
4594
|
+
}
|
|
4595
|
+
if (this.prefix === "activiti") {
|
|
4596
|
+
Extensions.activiti = ActivitiModdleDescriptor;
|
|
4597
|
+
}
|
|
4598
|
+
if (this.prefix === "flowable") {
|
|
4599
|
+
Extensions.flowable = FlowableModdleDescriptor;
|
|
4600
|
+
}
|
|
4601
|
+
if (this.prefix === "camunda") {
|
|
4602
|
+
Extensions.camunda = CamundaModdleDescriptor;
|
|
4603
|
+
}
|
|
4604
|
+
return Extensions;
|
|
4468
4605
|
}
|
|
4469
4606
|
},
|
|
4470
4607
|
mounted() {
|
|
4471
|
-
this.initBpmnModeler()
|
|
4472
|
-
|
|
4608
|
+
this.initBpmnModeler();
|
|
4609
|
+
this.createNewDiagram(this.value);
|
|
4610
|
+
this.$once("hook:beforeDestroy", () => {
|
|
4611
|
+
if (this.bpmnModeler)
|
|
4612
|
+
this.bpmnModeler.destroy();
|
|
4613
|
+
this.$emit("destroy", this.bpmnModeler);
|
|
4614
|
+
this.bpmnModeler = null;
|
|
4473
4615
|
});
|
|
4474
4616
|
},
|
|
4475
4617
|
methods: {
|
|
4476
4618
|
initBpmnModeler() {
|
|
4477
|
-
|
|
4619
|
+
if (this.bpmnModeler)
|
|
4620
|
+
return;
|
|
4621
|
+
this.bpmnModeler = new BpmnModeler(__spreadValues({
|
|
4478
4622
|
container: this.$refs["bpmn-canvas"],
|
|
4479
4623
|
keyboard: this.keyboard ? { bindTo: document } : null,
|
|
4480
4624
|
additionalModules: this.additionalModules,
|
|
4481
4625
|
moddleExtensions: this.moddleExtensions
|
|
4482
|
-
}, this.options))
|
|
4626
|
+
}, this.options));
|
|
4627
|
+
this.$emit("init-finished", this.bpmnModeler);
|
|
4628
|
+
this.initModelListeners();
|
|
4483
4629
|
},
|
|
4484
4630
|
initModelListeners() {
|
|
4485
|
-
const EventBus = this.bpmnModeler.get("eventBus")
|
|
4631
|
+
const EventBus = this.bpmnModeler.get("eventBus");
|
|
4632
|
+
const that = this;
|
|
4486
4633
|
this.events.forEach((event) => {
|
|
4487
4634
|
EventBus.on(event, function(eventObj) {
|
|
4488
|
-
const eventName = event.replace(/\./g, "-")
|
|
4635
|
+
const eventName = event.replace(/\./g, "-");
|
|
4636
|
+
const element = eventObj ? eventObj.element : null;
|
|
4489
4637
|
that.$emit(eventName, element, eventObj);
|
|
4490
4638
|
});
|
|
4491
|
-
})
|
|
4639
|
+
});
|
|
4640
|
+
EventBus.on("commandStack.changed", (event) => __async(this, null, function* () {
|
|
4492
4641
|
try {
|
|
4493
|
-
this.recoverable = this.bpmnModeler.get("commandStack").canRedo()
|
|
4494
|
-
|
|
4495
|
-
|
|
4642
|
+
this.recoverable = this.bpmnModeler.get("commandStack").canRedo();
|
|
4643
|
+
this.revocable = this.bpmnModeler.get("commandStack").canUndo();
|
|
4644
|
+
const { xml: xml2 } = yield this.bpmnModeler.saveXML({ format: true });
|
|
4645
|
+
this.$emit("commandStack-changed", event);
|
|
4646
|
+
this.$emit("input", xml2);
|
|
4647
|
+
this.$emit("change", xml2);
|
|
4496
4648
|
} catch (e) {
|
|
4497
4649
|
console.error(`[Process Designer Warn]: ${e.message || e}`);
|
|
4498
4650
|
}
|
|
4499
|
-
}))
|
|
4651
|
+
}));
|
|
4652
|
+
this.bpmnModeler.on("canvas.viewbox.changed", ({ viewbox }) => {
|
|
4500
4653
|
this.$emit("canvas-viewbox-changed", { viewbox });
|
|
4501
4654
|
const { scale } = viewbox;
|
|
4502
4655
|
this.defaultZoom = Math.floor(scale * 100) / 100;
|
|
@@ -4505,10 +4658,14 @@ const __vue2_script = {
|
|
|
4505
4658
|
/* 创建新的流程图 */
|
|
4506
4659
|
createNewDiagram(xml2) {
|
|
4507
4660
|
return __async(this, null, function* () {
|
|
4508
|
-
const newId = this.processId || `Process_${new Date().getTime()}
|
|
4661
|
+
const newId = this.processId || `Process_${new Date().getTime()}`;
|
|
4662
|
+
const newName = this.processName || `业务流程_${new Date().getTime()}`;
|
|
4663
|
+
const xmlString = xml2 || DefaultEmptyXML(newId, newName, this.prefix);
|
|
4509
4664
|
try {
|
|
4510
4665
|
const { warnings } = yield this.bpmnModeler.importXML(xmlString);
|
|
4511
|
-
warnings && warnings.length
|
|
4666
|
+
if (warnings && warnings.length) {
|
|
4667
|
+
warnings.forEach((warn) => console.warn(warn));
|
|
4668
|
+
}
|
|
4512
4669
|
} catch (e) {
|
|
4513
4670
|
console.error(`[Process Designer Warn]: ${(e == null ? void 0 : e.message) || e}`);
|
|
4514
4671
|
}
|
|
@@ -4528,7 +4685,9 @@ const __vue2_script = {
|
|
|
4528
4685
|
err,
|
|
4529
4686
|
xml: xml2
|
|
4530
4687
|
} = yield this.bpmnModeler.saveXML();
|
|
4531
|
-
|
|
4688
|
+
if (err) {
|
|
4689
|
+
console.error(`[Process Designer Warn ]: ${err.message || err}`);
|
|
4690
|
+
}
|
|
4532
4691
|
const {
|
|
4533
4692
|
href,
|
|
4534
4693
|
filename
|
|
@@ -4539,8 +4698,9 @@ const __vue2_script = {
|
|
|
4539
4698
|
err,
|
|
4540
4699
|
svg
|
|
4541
4700
|
} = yield this.bpmnModeler.saveSVG();
|
|
4542
|
-
if (err)
|
|
4701
|
+
if (err) {
|
|
4543
4702
|
return console.error(err);
|
|
4703
|
+
}
|
|
4544
4704
|
const {
|
|
4545
4705
|
href,
|
|
4546
4706
|
filename
|
|
@@ -4553,7 +4713,10 @@ const __vue2_script = {
|
|
|
4553
4713
|
function downloadFunc(href, filename) {
|
|
4554
4714
|
if (href && filename) {
|
|
4555
4715
|
const a = document.createElement("a");
|
|
4556
|
-
a.download = filename
|
|
4716
|
+
a.download = filename;
|
|
4717
|
+
a.href = href;
|
|
4718
|
+
a.click();
|
|
4719
|
+
URL.revokeObjectURL(a.href);
|
|
4557
4720
|
}
|
|
4558
4721
|
}
|
|
4559
4722
|
});
|
|
@@ -4569,8 +4732,11 @@ const __vue2_script = {
|
|
|
4569
4732
|
},
|
|
4570
4733
|
// 加载本地文件
|
|
4571
4734
|
importLocalFile() {
|
|
4572
|
-
const that = this
|
|
4573
|
-
|
|
4735
|
+
const that = this;
|
|
4736
|
+
const file = this.$refs.refFile.files[0];
|
|
4737
|
+
const reader = new FileReader();
|
|
4738
|
+
reader.readAsText(file);
|
|
4739
|
+
reader.onload = function() {
|
|
4574
4740
|
const xmlStr = this.result;
|
|
4575
4741
|
that.createNewDiagram(xmlStr);
|
|
4576
4742
|
};
|
|
@@ -4586,7 +4752,8 @@ const __vue2_script = {
|
|
|
4586
4752
|
this.downloadProcess("svg");
|
|
4587
4753
|
},
|
|
4588
4754
|
processSimulation() {
|
|
4589
|
-
this.simulationStatus = !this.simulationStatus
|
|
4755
|
+
this.simulationStatus = !this.simulationStatus;
|
|
4756
|
+
this.simulation && this.bpmnModeler.get("toggleMode").toggleMode();
|
|
4590
4757
|
},
|
|
4591
4758
|
processRedo() {
|
|
4592
4759
|
this.bpmnModeler.get("commandStack").redo();
|
|
@@ -4596,31 +4763,43 @@ const __vue2_script = {
|
|
|
4596
4763
|
},
|
|
4597
4764
|
processZoomIn(zoomStep = 0.1) {
|
|
4598
4765
|
const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100;
|
|
4599
|
-
if (newZoom > 4)
|
|
4766
|
+
if (newZoom > 4) {
|
|
4600
4767
|
throw new Error("[Process Designer Warn ]: The zoom ratio cannot be greater than 4");
|
|
4601
|
-
|
|
4768
|
+
}
|
|
4769
|
+
this.defaultZoom = newZoom;
|
|
4770
|
+
this.bpmnModeler.get("canvas").zoom(this.defaultZoom);
|
|
4602
4771
|
},
|
|
4603
4772
|
processZoomOut(zoomStep = 0.1) {
|
|
4604
4773
|
const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100;
|
|
4605
|
-
if (newZoom < 0.2)
|
|
4774
|
+
if (newZoom < 0.2) {
|
|
4606
4775
|
throw new Error("[Process Designer Warn ]: The zoom ratio cannot be less than 0.2");
|
|
4607
|
-
|
|
4776
|
+
}
|
|
4777
|
+
this.defaultZoom = newZoom;
|
|
4778
|
+
this.bpmnModeler.get("canvas").zoom(this.defaultZoom);
|
|
4608
4779
|
},
|
|
4609
4780
|
processZoomTo(newZoom = 1) {
|
|
4610
|
-
if (newZoom < 0.2)
|
|
4781
|
+
if (newZoom < 0.2) {
|
|
4611
4782
|
throw new Error("[Process Designer Warn ]: The zoom ratio cannot be less than 0.2");
|
|
4612
|
-
|
|
4783
|
+
}
|
|
4784
|
+
if (newZoom > 4) {
|
|
4613
4785
|
throw new Error("[Process Designer Warn ]: The zoom ratio cannot be greater than 4");
|
|
4614
|
-
|
|
4786
|
+
}
|
|
4787
|
+
this.defaultZoom = newZoom;
|
|
4788
|
+
this.bpmnModeler.get("canvas").zoom(newZoom);
|
|
4615
4789
|
},
|
|
4616
4790
|
processReZoom() {
|
|
4617
|
-
this.defaultZoom = 1
|
|
4791
|
+
this.defaultZoom = 1;
|
|
4792
|
+
this.bpmnModeler.get("canvas").zoom("fit-viewport", "auto");
|
|
4618
4793
|
},
|
|
4619
4794
|
processRestart() {
|
|
4620
|
-
this.recoverable =
|
|
4795
|
+
this.recoverable = false;
|
|
4796
|
+
this.revocable = false;
|
|
4797
|
+
this.createNewDiagram(null);
|
|
4621
4798
|
},
|
|
4622
4799
|
elementsAlign(align) {
|
|
4623
|
-
const Align = this.bpmnModeler.get("alignElements")
|
|
4800
|
+
const Align = this.bpmnModeler.get("alignElements");
|
|
4801
|
+
const Selection = this.bpmnModeler.get("selection");
|
|
4802
|
+
const SelectedElements = Selection.get();
|
|
4624
4803
|
if (!SelectedElements || SelectedElements.length <= 1) {
|
|
4625
4804
|
this.$message.warning("请按住 Shift 键选择多个元素对齐");
|
|
4626
4805
|
return;
|
|
@@ -4633,32 +4812,42 @@ const __vue2_script = {
|
|
|
4633
4812
|
},
|
|
4634
4813
|
/* ----------------------------- 方法结束 --------------------------------- */
|
|
4635
4814
|
previewProcessXML() {
|
|
4636
|
-
this.bpmnModeler.saveXML({ format:
|
|
4637
|
-
this.previewResult = xml2
|
|
4815
|
+
this.bpmnModeler.saveXML({ format: true }).then(({ xml: xml2 }) => {
|
|
4816
|
+
this.previewResult = xml2;
|
|
4817
|
+
this.previewType = "xml";
|
|
4818
|
+
this.previewModelVisible = true;
|
|
4638
4819
|
});
|
|
4639
4820
|
},
|
|
4640
4821
|
previewProcessJson() {
|
|
4641
4822
|
const newConvert = new X2JS();
|
|
4642
|
-
this.bpmnModeler.saveXML({ format:
|
|
4823
|
+
this.bpmnModeler.saveXML({ format: true }).then(({ xml: xml2 }) => {
|
|
4643
4824
|
const { definitions } = newConvert.xml2js(xml2);
|
|
4644
|
-
|
|
4825
|
+
if (definitions) {
|
|
4826
|
+
this.previewResult = JSON.stringify(definitions, null, 4);
|
|
4827
|
+
} else {
|
|
4828
|
+
this.previewResult = "";
|
|
4829
|
+
}
|
|
4830
|
+
this.previewType = "json";
|
|
4831
|
+
this.previewModelVisible = true;
|
|
4645
4832
|
});
|
|
4646
4833
|
}
|
|
4647
4834
|
}
|
|
4648
|
-
}
|
|
4835
|
+
};
|
|
4836
|
+
const __cssModules = {};
|
|
4649
4837
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
4650
4838
|
__vue2_script,
|
|
4651
4839
|
render,
|
|
4652
4840
|
staticRenderFns,
|
|
4653
|
-
|
|
4841
|
+
false,
|
|
4654
4842
|
__vue2_injectStyles,
|
|
4655
4843
|
null,
|
|
4656
4844
|
null,
|
|
4657
4845
|
null
|
|
4658
4846
|
);
|
|
4659
4847
|
function __vue2_injectStyles(context) {
|
|
4660
|
-
for (let o in __cssModules)
|
|
4848
|
+
for (let o in __cssModules) {
|
|
4661
4849
|
this[o] = __cssModules[o];
|
|
4850
|
+
}
|
|
4662
4851
|
}
|
|
4663
4852
|
const ProcessDesigner = /* @__PURE__ */ function() {
|
|
4664
4853
|
return __component__.exports;
|