@web-utils/form-ui 1.0.0-beta9 → 1.0.0-beta90
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/address-input/index.d.ts +52 -0
- package/address-input/index.mjs +2 -0
- package/address-input/style.css +1 -0
- package/affix/index.d.ts +30 -0
- package/affix/index.mjs +48 -0
- package/affix/style.css +1 -0
- package/api/index.d.ts +66 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -1
- package/capsule-tab/index.d.ts +30 -0
- package/capsule-tab/index.mjs +2 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.d.ts +41 -0
- package/card/index.mjs +90 -0
- package/card/style.css +1 -0
- package/chunks/6eDDQWcr.mjs +69 -0
- package/chunks/8A7LSgb4.mjs +109 -0
- package/chunks/9biMMvdz.mjs +206 -0
- package/chunks/B1MSrc6f.mjs +8 -0
- package/chunks/B7DACryk.mjs +40 -0
- package/chunks/BAqI0u4Z2.mjs +29 -0
- package/chunks/BDc8zAp9.mjs +302 -0
- package/chunks/BFcXbHOc.mjs +32 -0
- package/chunks/BJajYDQv2.mjs +379 -0
- package/chunks/BMxD6EUb2.mjs +39 -0
- package/chunks/BO0sFz5y2.mjs +31 -0
- package/chunks/BQytQPLa.mjs +780 -0
- package/chunks/BUMCkrlW.mjs +4794 -0
- package/chunks/BVlUGEuO2.mjs +521 -0
- package/chunks/BYixGVnP.mjs +449 -0
- package/chunks/BiZI9y1L.mjs +89 -0
- package/chunks/Bii5Lj6z.mjs +30 -0
- package/chunks/Bqa2LN1P.mjs +298 -0
- package/chunks/BrelfRGo2.mjs +111 -0
- package/chunks/BsqIRxSS.mjs +67 -0
- package/chunks/BvR_UvV82.mjs +26 -0
- package/chunks/C-iN5MJZ.mjs +57 -0
- package/chunks/C4-9yqfz2.mjs +87 -0
- package/chunks/C8b7OeMD2.mjs +63 -0
- package/chunks/C8jbksGf2.mjs +30 -0
- package/chunks/CC4-dgXh.mjs +340 -0
- package/chunks/CHjGX9KK.mjs +200 -0
- package/chunks/CJ91sgqD.mjs +4103 -0
- package/chunks/CLI1zBAA.mjs +217 -0
- package/chunks/CQB9uqNw.mjs +517 -0
- package/chunks/CVjOe4WH.mjs +99 -0
- package/chunks/CX7Oiw5N.mjs +384 -0
- package/chunks/CXHJqvbJ.mjs +204 -0
- package/chunks/CYjby4eo.mjs +17 -0
- package/chunks/C_EelJUP.mjs +672 -0
- package/chunks/C_QfuxeQ.mjs +98 -0
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/CmXOOFaq2.mjs +26 -0
- package/chunks/CqoSAx2f2.mjs +27 -0
- package/chunks/CsiD_AYs.mjs +56 -0
- package/chunks/Ctq8BqkS.mjs +58 -0
- package/chunks/Ctx93AFS.mjs +54 -0
- package/chunks/CuOWVayQ.mjs +595 -0
- package/chunks/Cun90-R7.mjs +63 -0
- package/chunks/CvKF64A3.mjs +613 -0
- package/chunks/Cw2dcjLE2.mjs +25 -0
- package/chunks/CxoBTwVp2.mjs +34 -0
- package/chunks/D2NeD2g32.mjs +1361 -0
- package/chunks/D3PMBaWK2.mjs +108 -0
- package/chunks/D7_Djkww2.mjs +230 -0
- package/chunks/DGkSZT8r.mjs +155 -0
- package/chunks/DHBi4mlK2.mjs +425 -0
- package/chunks/DKXIKHKG.mjs +61 -0
- package/chunks/DZk7uYn32.mjs +29 -0
- package/chunks/DbGsHK5m.mjs +199 -0
- package/chunks/DcK-uACO.mjs +52 -0
- package/chunks/DdACGFy3.mjs +90 -0
- package/chunks/Dodxnwze.mjs +60 -0
- package/chunks/DokYQ49m.mjs +29 -0
- package/chunks/DqxR4G_B2.mjs +221 -0
- package/chunks/DscijaV_2.mjs +42 -0
- package/chunks/DtQg1F6Q2.mjs +145 -0
- package/chunks/DuPfGcqQ.mjs +198 -0
- package/chunks/Dxlhoq6v.mjs +1798 -0
- package/chunks/Gh6td4HK.mjs +184 -0
- package/chunks/Kyk412rw2.mjs +26 -0
- package/chunks/V-Js6hNd.mjs +179 -0
- package/chunks/e0fWXKxt.mjs +46 -0
- package/chunks/id2zIVnt.mjs +64 -0
- package/chunks/jYBVv5nL.mjs +50 -0
- package/chunks/lyW9mwQp.mjs +68 -0
- package/chunks/syMDpSl42.mjs +34 -0
- package/chunks/t6OjVLsq2.mjs +37 -0
- package/chunks/tjwOOiNr2.mjs +95 -0
- package/chunks/tzjUpVIj.mjs +37 -0
- package/chunks/uf-2jFmW.mjs +647 -0
- package/chunks/vEV0HSsL.mjs +60 -0
- package/chunks/wkrkYyvs.mjs +17 -0
- package/code-mirror-editor/index.d.ts +50 -0
- package/code-mirror-editor/index.mjs +99 -0
- package/code-mirror-editor/style.css +1 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +93 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +75 -0
- package/constants/index.mjs +4 -0
- package/context-menu/index.d.ts +183 -0
- package/context-menu/index.mjs +196 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.d.ts +70 -0
- package/count-up/index.mjs +94 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/custom-scrollbar/index.mjs +93 -0
- package/data-box/index.d.ts +30 -0
- package/data-box/index.mjs +2 -0
- package/data-box/style.css +1 -0
- package/data-card/index.d.ts +20 -0
- package/data-card/index.mjs +64 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-card-text/index.mjs +68 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.d.ts +20 -0
- package/data-display/index.mjs +74 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.d.ts +21 -0
- package/data-icons/index.mjs +75 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-imgtext/index.mjs +72 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-operatext/index.mjs +55 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.d.ts +19 -0
- package/data-panel/index.mjs +62 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.d.ts +19 -0
- package/data-pay/index.mjs +111 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.d.ts +17 -0
- package/data-price/index.mjs +52 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.d.ts +19 -0
- package/data-progress/index.mjs +73 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.d.ts +21 -0
- package/data-rotate/index.mjs +2 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.mjs +120 -0
- package/data-tabs/index.d.ts +21 -0
- package/data-tabs/index.mjs +2 -0
- package/data-tabs/style.css +1 -0
- package/dialog-form/index.d.ts +4 -0
- package/dialog-form/index.mjs +154 -0
- package/dialog-form/style.css +1 -0
- package/dict-render/index.d.ts +28 -0
- package/dict-render/index.mjs +2 -0
- package/e-charts/index.d.ts +79 -0
- package/e-charts/index.mjs +179 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.d.ts +114 -0
- package/easy-popup/index.mjs +92 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-progress/index.mjs +121 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.mjs +596 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +341 -18
- package/element-dialog/index.mjs +2 -91
- package/element-dialog/style.css +1 -1
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/element-resize-observer/index.d.ts +8 -0
- package/element-resize-observer/index.mjs +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.d.ts +4 -4
- package/empty-view/index.mjs +1 -1
- package/error-view/index.d.ts +25 -0
- package/error-view/index.mjs +37 -0
- package/error-view/style.css +1 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-box/index.mjs +2 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-column/index.mjs +2 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-item/index.mjs +2 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-row/index.mjs +2 -0
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/flex-scroller/index.d.ts +26 -0
- package/flex-scroller/index.mjs +29 -0
- package/flex-scroller/style.css +1 -0
- package/flow-designer/index.d.ts +286 -0
- package/flow-designer/index.mjs +2 -0
- package/flow-designer/style.css +1 -0
- package/flow-viewer/index.d.ts +62 -0
- package/flow-viewer/index.mjs +159 -0
- package/flow-viewer/style.css +1 -0
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +123 -0
- package/form-button/index.mjs +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.mjs +2 -0
- package/form-checkbox/index.d.ts +237 -30
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.mjs +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.d.ts +375 -29
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +89 -22
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +137 -23
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +282 -50
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +296 -25
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +296 -25
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +237 -29
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +296 -25
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +269 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +440 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item/index.d.ts +190 -0
- package/form-item/index.mjs +2 -0
- package/form-item/style.css +1 -0
- package/form-item-config-provider/index.d.ts +23 -3
- package/form-item-config-provider/index.mjs +7 -7
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.d.ts +295 -28
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +244 -24
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +527 -28
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +273 -26
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +264 -26
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +296 -0
- package/form-table/index.mjs +2 -0
- package/form-table-plus/index.d.ts +275 -0
- package/form-table-plus/index.mjs +2 -0
- package/form-text/index.d.ts +157 -23
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.mjs +2 -0
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.mjs +2 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.mjs +2 -0
- package/form-view/index.d.ts +225 -1
- package/form-view/index.mjs +280 -6
- package/form-view/style.css +1 -0
- package/fy-array/index.d.ts +497 -0
- package/fy-array/index.mjs +130 -0
- package/fy-array/style.css +1 -0
- package/fy-cascader/index.d.ts +561 -0
- package/fy-cascader/index.mjs +116 -0
- package/fy-checkbox/index.d.ts +494 -0
- package/fy-checkbox/index.mjs +100 -0
- package/fy-checkbox/style.css +1 -0
- package/fy-curd/index.d.ts +986 -0
- package/fy-curd/index.mjs +2 -0
- package/fy-date/index.d.ts +509 -0
- package/fy-date/index.mjs +79 -0
- package/fy-date/style.css +1 -0
- package/fy-dynamic/index.d.ts +531 -0
- package/fy-dynamic/index.mjs +2 -0
- package/fy-empty/index.d.ts +31 -0
- package/fy-empty/index.mjs +35 -0
- package/fy-empty/style.css +1 -0
- package/fy-form/index.d.ts +528 -0
- package/fy-form/index.mjs +2 -0
- package/fy-form/style.css +1 -0
- package/fy-input/index.d.ts +579 -0
- package/fy-input/index.mjs +122 -0
- package/fy-input-color/index.d.ts +498 -0
- package/fy-input-color/index.mjs +80 -0
- package/fy-input-icon/index.d.ts +507 -0
- package/fy-input-icon/index.mjs +133 -0
- package/fy-input-icon/style.css +1 -0
- package/fy-input-map/index.d.ts +529 -0
- package/fy-input-map/index.mjs +248 -0
- package/fy-input-map/style.css +1 -0
- package/fy-input-number/index.d.ts +529 -0
- package/fy-input-number/index.mjs +78 -0
- package/fy-input-table/index.d.ts +511 -0
- package/fy-input-table/index.mjs +166 -0
- package/fy-input-table/style.css +1 -0
- package/fy-input-tree/index.d.ts +614 -0
- package/fy-input-tree/index.mjs +266 -0
- package/fy-input-tree/style.css +1 -0
- package/fy-radio/index.d.ts +481 -0
- package/fy-radio/index.mjs +56 -0
- package/fy-radio/style.css +1 -0
- package/fy-rate/index.d.ts +551 -0
- package/fy-rate/index.mjs +90 -0
- package/fy-rate/style.css +1 -0
- package/fy-select/index.d.ts +587 -0
- package/fy-select/index.mjs +2 -0
- package/fy-select/style.css +1 -0
- package/fy-slider/index.d.ts +512 -0
- package/fy-slider/index.mjs +72 -0
- package/fy-switch/index.d.ts +492 -0
- package/fy-switch/index.mjs +71 -0
- package/fy-tabs/index.d.ts +20 -0
- package/fy-tabs/index.mjs +50 -0
- package/fy-time/index.d.ts +967 -0
- package/fy-time/index.mjs +85 -0
- package/fy-title/index.d.ts +487 -0
- package/fy-title/index.mjs +18 -0
- package/fy-title/style.css +1 -0
- package/fy-tree/index.d.ts +142 -0
- package/fy-tree/index.mjs +391 -0
- package/fy-tree/style.css +1 -0
- package/fy-u-editor/index.d.ts +116 -0
- package/fy-u-editor/index.mjs +2 -0
- package/fy-u-editor/style.css +1 -0
- package/fy-upload/index.d.ts +642 -0
- package/fy-upload/index.mjs +2 -0
- package/fy-upload/style.css +1 -0
- package/guide-steps/index.d.ts +31 -0
- package/guide-steps/index.mjs +77 -0
- package/guide-steps/style.css +1 -0
- package/helper/avue.d.ts +36 -0
- package/helper/avue.mjs +35 -0
- package/helper/dictionary.d.ts +29 -0
- package/helper/dictionary.mjs +97 -0
- package/helper/form-item.d.ts +17 -0
- package/helper/form-item.mjs +27 -0
- package/helper/input.d.ts +49 -0
- package/helper/input.mjs +2 -0
- package/helper/sub-table-plus.d.ts +98 -0
- package/helper/sub-table-plus.mjs +4 -0
- package/highlight-j-s/index.d.ts +18 -0
- package/highlight-j-s/index.mjs +51 -0
- package/highlight-j-s/style.css +1 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/icon-temp/index.d.ts +19 -0
- package/icon-temp/index.mjs +27 -0
- package/icon-temp/style.css +1 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-cropper/index.mjs +154 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.d.ts +61 -0
- package/image-preview/index.mjs +201 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.d.ts +25 -0
- package/image-viewer/index.mjs +70 -0
- package/image-viewer/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +149 -36
- package/index.mjs +149 -62
- package/input-number-range/index.d.ts +41 -0
- package/input-number-range/index.mjs +77 -0
- package/input-number-range/style.css +1 -0
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.mjs +2 -0
- package/keyboard/style.css +1 -0
- package/loading-view/index.d.ts +65 -0
- package/loading-view/index.mjs +39 -0
- package/loading-view/style.css +1 -0
- package/monaco-editor/index.d.ts +126 -0
- package/monaco-editor/index.mjs +2 -0
- package/monaco-editor/style.css +1 -0
- package/name-avatar/index.d.ts +62 -0
- package/name-avatar/index.mjs +61 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.d.ts +21 -0
- package/nav-bar/index.mjs +35 -0
- package/nav-bar/style.css +1 -0
- package/package.json +30 -8
- package/page/index.d.ts +21 -0
- package/page/index.mjs +17 -0
- package/page/style.css +1 -0
- package/page-header/index.d.ts +27 -0
- package/page-header/index.mjs +25 -0
- package/page-header/style.css +1 -0
- package/page-index/index.d.ts +82 -0
- package/page-index/index.mjs +124 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-index-top/index.mjs +87 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton/index.mjs +44 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/page-skeleton-new/index.mjs +80 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.d.ts +400 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +2 -0
- package/props/cascader.d.ts +326 -0
- package/props/cascader.mjs +145 -0
- package/props/checkbox-group.d.ts +213 -0
- package/props/checkbox-group.mjs +83 -0
- package/props/checkbox.d.ts +205 -0
- package/props/checkbox.mjs +74 -0
- package/props/col.d.ts +74 -0
- package/props/col.mjs +32 -0
- package/props/common.d.ts +114 -0
- package/props/common.mjs +18 -0
- package/props/date.d.ts +336 -0
- package/props/date.mjs +158 -0
- package/props/form-item.d.ts +144 -0
- package/props/form-item.mjs +73 -0
- package/props/form.d.ts +157 -0
- package/props/form.mjs +89 -0
- package/props/image.d.ts +102 -0
- package/props/image.mjs +10 -0
- package/props/input-cron.d.ts +102 -0
- package/props/input-cron.mjs +16 -0
- package/props/input-number.d.ts +216 -0
- package/props/input-number.mjs +72 -0
- package/props/input-tag.d.ts +123 -0
- package/props/input-tag.mjs +33 -0
- package/props/input.d.ts +299 -0
- package/props/input.mjs +97 -0
- package/props/radio-group.d.ts +205 -0
- package/props/radio-group.mjs +84 -0
- package/props/rate.d.ts +211 -0
- package/props/rate.mjs +66 -0
- package/props/select.d.ts +450 -0
- package/props/select.mjs +218 -0
- package/props/slide.d.ts +235 -0
- package/props/slide.mjs +72 -0
- package/props/switch.d.ts +229 -0
- package/props/switch.mjs +80 -0
- package/props/text.d.ts +127 -0
- package/props/text.mjs +22 -0
- package/props/textarea.d.ts +266 -0
- package/props/textarea.mjs +82 -0
- package/props/time-select.d.ts +216 -0
- package/props/time-select.mjs +67 -0
- package/props/time.d.ts +304 -0
- package/props/time.mjs +138 -0
- package/props/tree-select-multiple.d.ts +324 -0
- package/props/tree-select-multiple.mjs +16 -0
- package/props/tree-select.d.ts +326 -0
- package/props/tree-select.mjs +25 -0
- package/props/tree.d.ts +76 -0
- package/props/tree.mjs +75 -0
- package/props/vue-tree-select.d.ts +458 -0
- package/props/vue-tree-select.mjs +213 -0
- package/resolver/components.d.ts +4 -0
- package/resolver/components.mjs +4 -0
- package/resolver/index.mjs +29 -0
- package/resolver/vite-optimize-deps-plugin.d.ts +9 -0
- package/resolver/vite-optimize-deps-plugin.mjs +13 -0
- package/sign-panel/index.d.ts +85 -0
- package/sign-panel/index.mjs +183 -0
- package/sign-panel/style.css +1 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/skeleton-panel/index.mjs +38 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.mjs +2 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.d.ts +92 -0
- package/stateful/index.mjs +67 -0
- package/stateful/style.css +1 -0
- package/sub-table/index.d.ts +118 -0
- package/sub-table/index.mjs +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.d.ts +118 -0
- package/sub-table-plus/index.mjs +2 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.d.ts +27 -0
- package/swiper/index.mjs +126 -0
- package/swiper/style.css +1 -0
- package/table-column/index.d.ts +163 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.d.ts +345 -1
- package/table-view/index.mjs +472 -6
- package/table-view/style.css +1 -0
- package/tag-render/index.d.ts +48 -0
- package/tag-render/index.mjs +86 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/text-ellipsis/index.mjs +124 -0
- package/text-ellipsis/style.css +1 -0
- package/toolbar/index.d.ts +133 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.mjs +1 -8
- package/toolbar-button/style.css +1 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-qr-code/index.mjs +32 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tags-input/index.mjs +350 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.d.ts +1534 -0
- package/vue-tree-select/index.mjs +2 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.d.ts +117 -0
- package/vue-video-player/index.mjs +136 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.mjs +2 -0
- package/watermark/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +232 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/1glrRdhD.mjs +0 -23
- package/chunks/6Ukll2os.mjs +0 -149
- package/chunks/78hGOZc9.mjs +0 -43
- package/chunks/BID1Rr2O.mjs +0 -32
- package/chunks/BMkPC2kt.mjs +0 -28
- package/chunks/BPJNSq9M.mjs +0 -4
- package/chunks/BaExlbMY.mjs +0 -32
- package/chunks/BeIZhqg_.mjs +0 -167
- package/chunks/BmQGmui_.mjs +0 -54
- package/chunks/BnycM8aG.mjs +0 -74
- package/chunks/BooKKkk0.mjs +0 -36
- package/chunks/Bpox2cVQ.mjs +0 -92
- package/chunks/Bs_IYr3X.mjs +0 -94
- package/chunks/BuZDN2DV.mjs +0 -28
- package/chunks/C4JpDEWP.mjs +0 -35
- package/chunks/C76R4lB3.mjs +0 -74
- package/chunks/DAjuA2O6.mjs +0 -28
- package/chunks/Dywq0t6V.mjs +0 -47
- package/chunks/GlsJxLiF.mjs +0 -35
- package/chunks/pFgf4c4i.mjs +0 -47
- package/constants.d.ts +0 -7
- package/constants.mjs +0 -4
- package/form-check-box-group/index.d.ts +0 -119
- package/form-check-box-group/index.mjs +0 -2
- package/form-item-x/index.d.ts +0 -75
- package/form-item-x/index.mjs +0 -2
- package/input/style.css +0 -1
- package/json-editor/index.d.ts +0 -32
- package/json-editor/index.mjs +0 -2
- package/json-editor/style.css +0 -1
- package/resolver.mjs +0 -81
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
|
@@ -0,0 +1,4794 @@
|
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
+
import { t as n } from "./Gh6td4HK.mjs";
|
|
4
|
+
import r from "../highlight-j-s/index.mjs";
|
|
5
|
+
import { ElButtonGroup as i, ElCollapse as a, ElCollapseItem as o, ElMessage as s, ElMessageBox as c, ElTabPane as l, ElTabs as u, ElTooltip as d } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
7
|
+
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, isVNode as b, markRaw as x, mergeProps as S, nextTick as C, openBlock as w, provide as T, ref as E, renderSlot as D, shallowRef as ee, toDisplayString as O, toRef as k, useTemplateRef as A, vShow as te, watch as j, withCtx as M, withDirectives as ne } from "vue";
|
|
8
|
+
import { isArray as N } from "@web-utils/core";
|
|
9
|
+
import "element-plus/es/components/message/style/css";
|
|
10
|
+
import "element-plus/es/components/message-box/style/css";
|
|
11
|
+
import "element-plus/es/components/tooltip/style/css";
|
|
12
|
+
import "element-plus/es/components/collapse/style/css";
|
|
13
|
+
import "element-plus/es/components/collapse-item/style/css";
|
|
14
|
+
import "element-plus/es/components/button-group/style/css";
|
|
15
|
+
import "element-plus/es/components/tabs/style/css";
|
|
16
|
+
import "element-plus/es/components/tab-pane/style/css";
|
|
17
|
+
import { assign as P, forEach as F, isArray as I, isFunction as L, isObject as R, some as z } from "min-dash";
|
|
18
|
+
import { is as B } from "bpmn-js/lib/util/ModelUtil";
|
|
19
|
+
import { isEventSubProcess as V, isExpanded as re } from "bpmn-js/lib/util/DiUtil";
|
|
20
|
+
import { isAny as H } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
|
|
21
|
+
import { getChildLanes as ie } from "bpmn-js/lib/features/modeling/util/LaneUtil";
|
|
22
|
+
import { hasPrimaryModifier as ae } from "diagram-js/lib/util/Mouse";
|
|
23
|
+
import oe from "bpmn-js/lib/features/palette/PaletteProvider";
|
|
24
|
+
import U from "diagram-js/lib/features/auto-place/AutoPlace";
|
|
25
|
+
import { asTRBL as se, getMid as ce } from "diagram-js/lib/layout/LayoutUtil";
|
|
26
|
+
import le from "highlight.js/lib/core";
|
|
27
|
+
import "bpmn-js/dist/assets/bpmn-js.css";
|
|
28
|
+
import "bpmn-js/dist/assets/diagram-js.css";
|
|
29
|
+
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
|
|
30
|
+
import "bpmn-js-token-simulation/assets/css/bpmn-js-token-simulation.css";
|
|
31
|
+
import ue from "bpmn-js/lib/Modeler";
|
|
32
|
+
import de from "bpmn-js/lib/features/drilldown";
|
|
33
|
+
import fe from "bpmn-js-token-simulation";
|
|
34
|
+
import pe from "x2js";
|
|
35
|
+
import me from "highlight.js/lib/languages/xml";
|
|
36
|
+
import he from "highlight.js/lib/languages/json";
|
|
37
|
+
//#region src/components/bpmn-process-designer/plugins/content-pad/contentPadProvider.js
|
|
38
|
+
function W(e, t, n, r, i, a, o, s, c, l, u, d, f) {
|
|
39
|
+
e = e || {}, r.registerProvider(this), this._contextPad = r, this._modeling = i, this._elementFactory = a, this._connect = o, this._create = s, this._popupMenu = c, this._canvas = l, this._rules = u, this._translate = d, e.autoPlace !== !1 && (this._autoPlace = t.get("autoPlace", !1)), n.on("create.end", 250, function(e) {
|
|
40
|
+
let t = e.context.shape;
|
|
41
|
+
if (!ae(e) || !r.isOpen(t)) return;
|
|
42
|
+
let n = r.getEntries(t);
|
|
43
|
+
n.replace && n.replace.action.click(e, t);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
W.$inject = [
|
|
47
|
+
"config.contextPad",
|
|
48
|
+
"injector",
|
|
49
|
+
"eventBus",
|
|
50
|
+
"contextPad",
|
|
51
|
+
"modeling",
|
|
52
|
+
"elementFactory",
|
|
53
|
+
"connect",
|
|
54
|
+
"create",
|
|
55
|
+
"popupMenu",
|
|
56
|
+
"canvas",
|
|
57
|
+
"rules",
|
|
58
|
+
"translate",
|
|
59
|
+
"elementRegistry"
|
|
60
|
+
], W.prototype.getContextPadEntries = function(e) {
|
|
61
|
+
let t = this._contextPad, n = this._modeling, r = this._elementFactory, i = this._connect, a = this._create, o = this._popupMenu, s = this._canvas, c = this._rules, l = this._autoPlace, u = this._translate, d = {};
|
|
62
|
+
if (e.type === "label") return d;
|
|
63
|
+
let f = e.businessObject;
|
|
64
|
+
function p(e, t) {
|
|
65
|
+
i.start(e, t);
|
|
66
|
+
}
|
|
67
|
+
function m() {
|
|
68
|
+
n.removeElements([e]);
|
|
69
|
+
}
|
|
70
|
+
function h(e) {
|
|
71
|
+
let n = s.getContainer(), r = t.getPad(e).html, i = n.getBoundingClientRect(), a = r.getBoundingClientRect(), o = a.top - i.top;
|
|
72
|
+
return {
|
|
73
|
+
x: a.left - i.left,
|
|
74
|
+
y: o + a.height + 5
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function g(e, t, n, i) {
|
|
78
|
+
typeof n != "string" && (i = n, n = u("Append {type}", { type: e.replace(/^bpmn:/, "") }));
|
|
79
|
+
function o(t, n) {
|
|
80
|
+
let o = r.createShape(P({ type: e }, i));
|
|
81
|
+
a.start(t, o, { source: n });
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
group: "model",
|
|
85
|
+
className: t,
|
|
86
|
+
title: n,
|
|
87
|
+
action: {
|
|
88
|
+
dragstart: o,
|
|
89
|
+
click: l ? function(t, n) {
|
|
90
|
+
let a = r.createShape(P({ type: e }, i));
|
|
91
|
+
l.append(n, a);
|
|
92
|
+
} : o
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function _(e) {
|
|
97
|
+
return function(r, i) {
|
|
98
|
+
n.splitLane(i, e), t.open(i, !0);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
if (H(f, ["bpmn:Lane", "bpmn:Participant"]) && re(f)) {
|
|
102
|
+
let t = ie(e);
|
|
103
|
+
P(d, { "lane-insert-above": {
|
|
104
|
+
group: "lane-insert-above",
|
|
105
|
+
className: "bpmn-icon-lane-insert-above",
|
|
106
|
+
title: u("Add Lane above"),
|
|
107
|
+
action: { click: function(e, t) {
|
|
108
|
+
n.addLane(t, "top");
|
|
109
|
+
} }
|
|
110
|
+
} }), t.length < 2 && (e.height >= 120 && P(d, { "lane-divide-two": {
|
|
111
|
+
group: "lane-divide",
|
|
112
|
+
className: "bpmn-icon-lane-divide-two",
|
|
113
|
+
title: u("Divide into two Lanes"),
|
|
114
|
+
action: { click: _(2) }
|
|
115
|
+
} }), e.height >= 180 && P(d, { "lane-divide-three": {
|
|
116
|
+
group: "lane-divide",
|
|
117
|
+
className: "bpmn-icon-lane-divide-three",
|
|
118
|
+
title: u("Divide into three Lanes"),
|
|
119
|
+
action: { click: _(3) }
|
|
120
|
+
} })), P(d, { "lane-insert-below": {
|
|
121
|
+
group: "lane-insert-below",
|
|
122
|
+
className: "bpmn-icon-lane-insert-below",
|
|
123
|
+
title: u("Add Lane below"),
|
|
124
|
+
action: { click: function(e, t) {
|
|
125
|
+
n.addLane(t, "bottom");
|
|
126
|
+
} }
|
|
127
|
+
} });
|
|
128
|
+
}
|
|
129
|
+
B(f, "bpmn:FlowNode") && (B(f, "bpmn:EventBasedGateway") ? P(d, {
|
|
130
|
+
"append.receive-task": g("bpmn:ReceiveTask", "bpmn-icon-receive-task", u("Append ReceiveTask")),
|
|
131
|
+
"append.message-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-message", u("Append MessageIntermediateCatchEvent"), { eventDefinitionType: "bpmn:MessageEventDefinition" }),
|
|
132
|
+
"append.timer-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-timer", u("Append TimerIntermediateCatchEvent"), { eventDefinitionType: "bpmn:TimerEventDefinition" }),
|
|
133
|
+
"append.condition-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-condition", u("Append ConditionIntermediateCatchEvent"), { eventDefinitionType: "bpmn:ConditionalEventDefinition" }),
|
|
134
|
+
"append.signal-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-signal", u("Append SignalIntermediateCatchEvent"), { eventDefinitionType: "bpmn:SignalEventDefinition" })
|
|
135
|
+
}) : ge(f, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? P(d, { "append.compensation-activity": g("bpmn:Task", "bpmn-icon-task", u("Append compensation activity"), { isForCompensation: !0 }) }) : !B(f, "bpmn:EndEvent") && !f.isForCompensation && !ge(f, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !V(f) && P(d, {
|
|
136
|
+
"append.end-event": g("bpmn:EndEvent", "bpmn-icon-end-event-none", u("Append EndEvent")),
|
|
137
|
+
"append.gateway": g("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", u("Append Gateway")),
|
|
138
|
+
"append.append-task": g("bpmn:UserTask", "bpmn-icon-user-task", u("Append Task")),
|
|
139
|
+
"append.intermediate-event": g("bpmn:IntermediateThrowEvent", "bpmn-icon-intermediate-event-none", u("Append Intermediate/Boundary Event"))
|
|
140
|
+
})), o.isEmpty(e, "bpmn-replace") || P(d, { replace: {
|
|
141
|
+
group: "edit",
|
|
142
|
+
className: "bpmn-icon-screw-wrench",
|
|
143
|
+
title: u("Change type"),
|
|
144
|
+
action: { click: function(e, t) {
|
|
145
|
+
let n = P(h(t), { cursor: {
|
|
146
|
+
x: e.x,
|
|
147
|
+
y: e.y
|
|
148
|
+
} });
|
|
149
|
+
o.open(t, "bpmn-replace", n);
|
|
150
|
+
} }
|
|
151
|
+
} }), H(f, [
|
|
152
|
+
"bpmn:FlowNode",
|
|
153
|
+
"bpmn:InteractionNode",
|
|
154
|
+
"bpmn:DataObjectReference",
|
|
155
|
+
"bpmn:DataStoreReference"
|
|
156
|
+
]) && P(d, {
|
|
157
|
+
"append.text-annotation": g("bpmn:TextAnnotation", "bpmn-icon-text-annotation"),
|
|
158
|
+
connect: {
|
|
159
|
+
group: "connect",
|
|
160
|
+
className: "bpmn-icon-connection-multi",
|
|
161
|
+
title: u(`Connect using ${f.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`),
|
|
162
|
+
action: {
|
|
163
|
+
click: p,
|
|
164
|
+
dragstart: p
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}), H(f, ["bpmn:DataObjectReference", "bpmn:DataStoreReference"]) && P(d, { connect: {
|
|
168
|
+
group: "connect",
|
|
169
|
+
className: "bpmn-icon-connection-multi",
|
|
170
|
+
title: u("Connect using DataInputAssociation"),
|
|
171
|
+
action: {
|
|
172
|
+
click: p,
|
|
173
|
+
dragstart: p
|
|
174
|
+
}
|
|
175
|
+
} }), B(f, "bpmn:Group") && P(d, { "append.text-annotation": g("bpmn:TextAnnotation", "bpmn-icon-text-annotation") });
|
|
176
|
+
let v = c.allowed("elements.delete", { elements: [e] });
|
|
177
|
+
return I(v) && (v = v[0] === e), v && P(d, { delete: {
|
|
178
|
+
group: "edit",
|
|
179
|
+
className: "bpmn-icon-trash",
|
|
180
|
+
title: u("Remove"),
|
|
181
|
+
action: { click: m }
|
|
182
|
+
} }), d;
|
|
183
|
+
};
|
|
184
|
+
function ge(e, t, n) {
|
|
185
|
+
let r = e.$instanceOf(t), i = !1;
|
|
186
|
+
return F(e.eventDefinitions || [], function(e) {
|
|
187
|
+
e.$type === n && (i = !0);
|
|
188
|
+
}), r && i;
|
|
189
|
+
}
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/components/bpmn-process-designer/plugins/content-pad/index.js
|
|
192
|
+
var _e = {
|
|
193
|
+
__init__: ["contextPadProvider"],
|
|
194
|
+
contextPadProvider: ["type", W]
|
|
195
|
+
};
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region src/components/bpmn-process-designer/plugins/palette/CustomPalette.js
|
|
198
|
+
function G(e, t, n, r, i, a, o, s, c) {
|
|
199
|
+
oe.call(this, e, t, n, r, i, a, o, s, c, 2e3), this._create = t, this._elementFactory = n, this._spaceTool = r, this._lassoTool = i, this._handTool = a, this._globalConnect = o, this._moddle = s, this._translate = c;
|
|
200
|
+
}
|
|
201
|
+
var K = function() {};
|
|
202
|
+
K.prototype = oe.prototype, K.prototype.getPaletteEntries = function() {
|
|
203
|
+
let e = {}, t = this._create, n = this._elementFactory, r = this._spaceTool, i = this._lassoTool, a = this._handTool, o = this._globalConnect, s = this._translate;
|
|
204
|
+
function c(e, r, i, a, o) {
|
|
205
|
+
function c(r) {
|
|
206
|
+
let i = n.createShape(P({ type: e }, o));
|
|
207
|
+
e === "bpmn:UserTask" && (i.businessObject.candidateUsers = "${handlers}"), o && (i.businessObject.di.isExpanded = o.isExpanded), t.start(r, i);
|
|
208
|
+
}
|
|
209
|
+
let l = e.replace(/^bpmn:/, "");
|
|
210
|
+
return {
|
|
211
|
+
group: r,
|
|
212
|
+
className: i,
|
|
213
|
+
title: a || s("Create {type}", { type: l }),
|
|
214
|
+
action: {
|
|
215
|
+
dragstart: c,
|
|
216
|
+
click: c
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
function l(e) {
|
|
221
|
+
let r = n.createShape({
|
|
222
|
+
type: "bpmn:SubProcess",
|
|
223
|
+
x: 0,
|
|
224
|
+
y: 0,
|
|
225
|
+
isExpanded: !0
|
|
226
|
+
}), i = n.createShape({
|
|
227
|
+
type: "bpmn:StartEvent",
|
|
228
|
+
x: 40,
|
|
229
|
+
y: 82,
|
|
230
|
+
parent: r
|
|
231
|
+
});
|
|
232
|
+
t.start(e, [r, i], { hints: { autoSelect: [i] } });
|
|
233
|
+
}
|
|
234
|
+
function u(e) {
|
|
235
|
+
t.start(e, n.createParticipantShape());
|
|
236
|
+
}
|
|
237
|
+
return P(e, {
|
|
238
|
+
"hand-tool": {
|
|
239
|
+
group: "tools",
|
|
240
|
+
className: "bpmn-icon-hand-tool",
|
|
241
|
+
title: s("Activate the hand tool"),
|
|
242
|
+
action: { click: function(e) {
|
|
243
|
+
a.activateHand(e);
|
|
244
|
+
} }
|
|
245
|
+
},
|
|
246
|
+
"lasso-tool": {
|
|
247
|
+
group: "tools",
|
|
248
|
+
className: "bpmn-icon-lasso-tool",
|
|
249
|
+
title: s("Activate the lasso tool"),
|
|
250
|
+
action: { click: function(e) {
|
|
251
|
+
i.activateSelection(e);
|
|
252
|
+
} }
|
|
253
|
+
},
|
|
254
|
+
"space-tool": {
|
|
255
|
+
group: "tools",
|
|
256
|
+
className: "bpmn-icon-space-tool",
|
|
257
|
+
title: s("Activate the create/remove space tool"),
|
|
258
|
+
action: { click: function(e) {
|
|
259
|
+
r.activateSelection(e);
|
|
260
|
+
} }
|
|
261
|
+
},
|
|
262
|
+
"global-connect-tool": {
|
|
263
|
+
group: "tools",
|
|
264
|
+
className: "bpmn-icon-connection-multi",
|
|
265
|
+
title: s("Activate the global connect tool"),
|
|
266
|
+
action: { click: function(e) {
|
|
267
|
+
o.toggle(e);
|
|
268
|
+
} }
|
|
269
|
+
},
|
|
270
|
+
"tool-separator": {
|
|
271
|
+
group: "tools",
|
|
272
|
+
separator: !0
|
|
273
|
+
},
|
|
274
|
+
"create.start-event": c("bpmn:StartEvent", "event", "bpmn-icon-start-event-none", s("Create StartEvent")),
|
|
275
|
+
"create.intermediate-event": c("bpmn:IntermediateThrowEvent", "event", "bpmn-icon-intermediate-event-none", s("Create Intermediate/Boundary Event")),
|
|
276
|
+
"create.user-task": c("bpmn:UserTask", "activity", "bpmn-icon-user-task", s("Create User Task")),
|
|
277
|
+
"create.exclusive-gateway": c("bpmn:ExclusiveGateway", "activity", "bpmn-icon-gateway-none", s("Create Gateway")),
|
|
278
|
+
"create.end-event": c("bpmn:EndEvent", "activity", "bpmn-icon-end-event-none", s("Create EndEvent")),
|
|
279
|
+
"activity-separator": {
|
|
280
|
+
group: "activity",
|
|
281
|
+
separator: !0
|
|
282
|
+
},
|
|
283
|
+
"create.subprocess-expanded": {
|
|
284
|
+
group: "activity",
|
|
285
|
+
className: "bpmn-icon-subprocess-expanded",
|
|
286
|
+
title: s("Create expanded SubProcess"),
|
|
287
|
+
action: {
|
|
288
|
+
dragstart: l,
|
|
289
|
+
click: l
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"create.participant-expanded": {
|
|
293
|
+
group: "collaboration",
|
|
294
|
+
className: "bpmn-icon-participant",
|
|
295
|
+
title: s("Create Pool/Participant"),
|
|
296
|
+
action: {
|
|
297
|
+
dragstart: u,
|
|
298
|
+
click: u
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}), e;
|
|
302
|
+
}, G.$inject = [
|
|
303
|
+
"palette",
|
|
304
|
+
"create",
|
|
305
|
+
"elementFactory",
|
|
306
|
+
"spaceTool",
|
|
307
|
+
"lassoTool",
|
|
308
|
+
"handTool",
|
|
309
|
+
"globalConnect",
|
|
310
|
+
"moddle",
|
|
311
|
+
"translate"
|
|
312
|
+
], G.prototype = new K(), G.prototype.constructor = G;
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/components/bpmn-process-designer/plugins/palette/index.js
|
|
315
|
+
var ve = {
|
|
316
|
+
__init__: ["customPalette"],
|
|
317
|
+
customPalette: ["type", G]
|
|
318
|
+
};
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region src/components/bpmn-process-designer/modules/auto-place/CustomAutoPlace.js
|
|
321
|
+
function ye(e, t) {
|
|
322
|
+
U.call(this, e, t, 3e3), e.on("autoPlace", 3e3, function(e) {
|
|
323
|
+
let t = e.shape, n = e.source;
|
|
324
|
+
return Ce(n, t);
|
|
325
|
+
}), this.append = function(n, r, i) {
|
|
326
|
+
e.fire("autoPlace.start", {
|
|
327
|
+
source: n,
|
|
328
|
+
shape: r
|
|
329
|
+
});
|
|
330
|
+
let a = e.fire("autoPlace", {
|
|
331
|
+
source: n,
|
|
332
|
+
shape: r
|
|
333
|
+
});
|
|
334
|
+
console.log("hints", i, "position", a);
|
|
335
|
+
let o = t.appendShape(n, r, a, n.parent, i);
|
|
336
|
+
return e.fire("autoPlace.end", {
|
|
337
|
+
source: n,
|
|
338
|
+
shape: o
|
|
339
|
+
}), o;
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
function be(e) {
|
|
343
|
+
return {
|
|
344
|
+
top: e.y,
|
|
345
|
+
right: e.x + (e.width || 0),
|
|
346
|
+
bottom: e.y + (e.height || 0),
|
|
347
|
+
left: e.x
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
function xe(e) {
|
|
351
|
+
return {
|
|
352
|
+
x: Math.round(e.x),
|
|
353
|
+
y: Math.round(e.y)
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
function Se(e) {
|
|
357
|
+
return xe({
|
|
358
|
+
x: e.x + (e.width || 0) / 2,
|
|
359
|
+
y: e.y + (e.height || 0) / 2
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
function Ce(e, t, n) {
|
|
363
|
+
n || (n = {});
|
|
364
|
+
let r = n.defaultDistance || 50, i = Se(e), a = be(e);
|
|
365
|
+
return {
|
|
366
|
+
x: i.x,
|
|
367
|
+
y: a.bottom + r + t.height / 2
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
var we = function() {};
|
|
371
|
+
we.prototype = U.prototype, ye.prototype = new we(), ye.prototype.constructor = U;
|
|
372
|
+
//#endregion
|
|
373
|
+
//#region src/components/bpmn-process-designer/modules/auto-place/rewriteAutoPlace.js
|
|
374
|
+
var Te = 200, Ee = 100;
|
|
375
|
+
function De(e, t, n) {
|
|
376
|
+
e.on("autoPlace", Ee, function(e) {
|
|
377
|
+
let t = e.shape, n = e.source;
|
|
378
|
+
return Oe(n, t);
|
|
379
|
+
}), e.on("autoPlace.end", function(e) {
|
|
380
|
+
n.scrollToElement(e.shape);
|
|
381
|
+
}), this.append = function(n, r, i) {
|
|
382
|
+
e.fire("autoPlace.start", {
|
|
383
|
+
source: n,
|
|
384
|
+
shape: r
|
|
385
|
+
});
|
|
386
|
+
let a = e.fire("autoPlace", {
|
|
387
|
+
source: n,
|
|
388
|
+
shape: r
|
|
389
|
+
}), o = t.appendShape(n, r, a, n.parent, i);
|
|
390
|
+
return e.fire("autoPlace.end", {
|
|
391
|
+
source: n,
|
|
392
|
+
shape: o
|
|
393
|
+
}), o;
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
De.$inject = [
|
|
397
|
+
"eventBus",
|
|
398
|
+
"modeling",
|
|
399
|
+
"canvas"
|
|
400
|
+
];
|
|
401
|
+
function Oe(e, t) {
|
|
402
|
+
let n = Te, r = ce(e);
|
|
403
|
+
return {
|
|
404
|
+
x: se(e).right + n + t.width / 2,
|
|
405
|
+
y: r.y
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
//#endregion
|
|
409
|
+
//#region src/components/bpmn-process-designer/modules/auto-place/index.js
|
|
410
|
+
var ke = {
|
|
411
|
+
__init__: ["autoPlaceSelectionBehavior"],
|
|
412
|
+
autoPlace: ["type", De]
|
|
413
|
+
};
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region src/components/bpmn-process-designer/components/PropertiesPanel.vue?vue&type=script&lang.jsx
|
|
416
|
+
function q(e) {
|
|
417
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !b(e);
|
|
418
|
+
}
|
|
419
|
+
var Ae = [
|
|
420
|
+
"base",
|
|
421
|
+
"task",
|
|
422
|
+
"form",
|
|
423
|
+
"multiInstance"
|
|
424
|
+
], je = y(() => import("./CuOWVayQ.mjs")), Me = y(() => import("./CvKF64A3.mjs")), Ne = y(() => import("./DuPfGcqQ.mjs")), Pe = y(() => import("./uf-2jFmW.mjs")), Fe = y(() => import("./DbGsHK5m.mjs")), Ie = y(() => import("./CHjGX9KK.mjs")), Le = y(() => import("./Bqa2LN1P.mjs")), Re = y(() => import("./BYixGVnP.mjs")), ze = y(() => import("./DcK-uACO.mjs")), Be = y(() => import("./9biMMvdz.mjs")), Ve = {
|
|
425
|
+
name: "PropertiesPanel",
|
|
426
|
+
componentName: "MyPropertiesPanel",
|
|
427
|
+
props: {
|
|
428
|
+
activeTabs: {
|
|
429
|
+
type: Array,
|
|
430
|
+
default: () => [
|
|
431
|
+
"base",
|
|
432
|
+
"task",
|
|
433
|
+
"form",
|
|
434
|
+
"multiInstance"
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
useTabs: Array,
|
|
438
|
+
bpmnModeler: Object,
|
|
439
|
+
context: Object,
|
|
440
|
+
prefix: {
|
|
441
|
+
type: String,
|
|
442
|
+
default: "camunda"
|
|
443
|
+
},
|
|
444
|
+
width: {
|
|
445
|
+
type: Number,
|
|
446
|
+
default: 480
|
|
447
|
+
},
|
|
448
|
+
idEditDisabled: {
|
|
449
|
+
type: Boolean,
|
|
450
|
+
default: !1
|
|
451
|
+
},
|
|
452
|
+
panelType: { type: String }
|
|
453
|
+
},
|
|
454
|
+
emits: ["initModels"],
|
|
455
|
+
setup(e, { emit: t, slots: n }) {
|
|
456
|
+
let r = E(!0), i = E(!1), s = E(!1), c = E(""), p = E(""), m = E(e.panelType === "tab" ? "base" : ["base"]), h = ee({}), g = ee({}), y = null, b = f(() => Array.isArray(e.useTabs)), x = f(() => e.useTabs === null || e.useTabs === void 0), S = f(() => e.panelType === "tab"), C = () => {
|
|
457
|
+
if (!e.bpmnModeler) {
|
|
458
|
+
y = setTimeout(() => C(), 10);
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
y && clearTimeout(y), g.value = {
|
|
462
|
+
modeler: e.bpmnModeler,
|
|
463
|
+
modeling: e.bpmnModeler.get("modeling"),
|
|
464
|
+
moddle: e.bpmnModeler.get("moddle"),
|
|
465
|
+
eventBus: e.bpmnModeler.get("eventBus"),
|
|
466
|
+
bpmnFactory: e.bpmnModeler.get("bpmnFactory"),
|
|
467
|
+
elementFactory: e.bpmnModeler.get("elementFactory"),
|
|
468
|
+
elementRegistry: e.bpmnModeler.get("elementRegistry"),
|
|
469
|
+
replace: e.bpmnModeler.get("replace"),
|
|
470
|
+
selection: e.bpmnModeler.get("selection")
|
|
471
|
+
}, t("initModels", g.value), w();
|
|
472
|
+
}, w = () => {
|
|
473
|
+
D(null), e.bpmnModeler.on("import.done", () => {
|
|
474
|
+
e.bpmnModeler.get("canvas").zoom("fit-viewport", "center"), D(null);
|
|
475
|
+
}), e.bpmnModeler.on("selection.changed", ({ newSelection: e }) => {
|
|
476
|
+
D(e[0] || null);
|
|
477
|
+
}), e.bpmnModeler.on("element.changed", ({ element: e }) => {
|
|
478
|
+
e && e.id === c.value && D(e);
|
|
479
|
+
});
|
|
480
|
+
}, D = (e) => {
|
|
481
|
+
let t = e;
|
|
482
|
+
t || (t = g.value.elementRegistry.find((e) => e.type === "bpmn:Process") ?? g.value.elementRegistry.find((e) => e.type === "bpmn:Collaboration")), t && (h.value = t, c.value = t.id, p.value = t.type.split(":")[1] || "", i.value = !!(p.value === "SequenceFlow" && t.source && t.source.type.indexOf("StartEvent") === -1), s.value = p.value === "UserTask");
|
|
483
|
+
};
|
|
484
|
+
C(), j(() => e.activeTabs, {
|
|
485
|
+
immediate: !0,
|
|
486
|
+
handler() {
|
|
487
|
+
m.value = S.value ? "base" : Ae;
|
|
488
|
+
}
|
|
489
|
+
}), j(c, () => {
|
|
490
|
+
m.value = S.value ? "base" : Ae;
|
|
491
|
+
}), j(S, {
|
|
492
|
+
immediate: !0,
|
|
493
|
+
handler(e) {
|
|
494
|
+
e ? m.value = "base" : m.value = ["base"];
|
|
495
|
+
}
|
|
496
|
+
}), T("prefix", k(e, "prefix")), T("width", k(e, "width")), T("context", k(e, "context")), T("bpmnInstances", g.value);
|
|
497
|
+
let O = () => {
|
|
498
|
+
var e;
|
|
499
|
+
return (e = n.form) == null ? void 0 : e.call(n, {
|
|
500
|
+
id: c.value,
|
|
501
|
+
bpmnInstances: g.value,
|
|
502
|
+
element: h.value,
|
|
503
|
+
type: p.value
|
|
504
|
+
});
|
|
505
|
+
}, A = () => {
|
|
506
|
+
var e;
|
|
507
|
+
return (e = n.task) == null ? void 0 : e.call(n, {
|
|
508
|
+
id: c.value,
|
|
509
|
+
bpmnInstances: g.value,
|
|
510
|
+
element: h.value,
|
|
511
|
+
type: p.value
|
|
512
|
+
});
|
|
513
|
+
}, M = () => v(Be, {
|
|
514
|
+
id: c.value,
|
|
515
|
+
idEditDisabled: e.idEditDisabled,
|
|
516
|
+
type: p.value,
|
|
517
|
+
bpmnInstances: g.value,
|
|
518
|
+
element: h.value
|
|
519
|
+
}, null), N = () => v(Fe, { bpmnInstances: g.value }, null), P = () => v(Ie, {
|
|
520
|
+
id: c.value,
|
|
521
|
+
element: h.value,
|
|
522
|
+
bpmnInstances: g.value,
|
|
523
|
+
type: p.value
|
|
524
|
+
}, null), F = () => v(Me, {
|
|
525
|
+
id: c.value,
|
|
526
|
+
element: h.value,
|
|
527
|
+
bpmnInstances: g.value,
|
|
528
|
+
type: p.value
|
|
529
|
+
}, null), I = () => v(Re, {
|
|
530
|
+
id: c.value,
|
|
531
|
+
element: h.value,
|
|
532
|
+
bpmnInstances: g.value,
|
|
533
|
+
type: p.value
|
|
534
|
+
}, null), L = () => v(Le, {
|
|
535
|
+
id: c.value,
|
|
536
|
+
element: h.value,
|
|
537
|
+
bpmnInstances: g.value,
|
|
538
|
+
type: p.value
|
|
539
|
+
}, null), R = () => v(Pe, {
|
|
540
|
+
id: c.value,
|
|
541
|
+
element: h.value,
|
|
542
|
+
bpmnInstances: g.value,
|
|
543
|
+
type: p.value
|
|
544
|
+
}, null), z = () => v(je, {
|
|
545
|
+
id: c.value,
|
|
546
|
+
element: h.value,
|
|
547
|
+
bpmnInstances: g.value,
|
|
548
|
+
type: p.value
|
|
549
|
+
}, null), B = () => v(Ne, {
|
|
550
|
+
id: c.value,
|
|
551
|
+
element: h.value,
|
|
552
|
+
bpmnInstances: g.value,
|
|
553
|
+
type: p.value
|
|
554
|
+
}, null), V = () => v(ze, {
|
|
555
|
+
id: c.value,
|
|
556
|
+
element: h.value,
|
|
557
|
+
bpmnInstances: g.value
|
|
558
|
+
}, null), re = () => {
|
|
559
|
+
let t = [];
|
|
560
|
+
if (x.value || b.value && e.useTabs.includes("base")) {
|
|
561
|
+
let e;
|
|
562
|
+
t.push(v(l, {
|
|
563
|
+
label: "常规",
|
|
564
|
+
name: "base"
|
|
565
|
+
}, q(e = M()) ? e : { default: () => [e] }));
|
|
566
|
+
}
|
|
567
|
+
if ((x.value || b.value && e.useTabs.includes("message")) && p.value === "Process") {
|
|
568
|
+
let e;
|
|
569
|
+
t.push(v(l, {
|
|
570
|
+
label: "消息与信号",
|
|
571
|
+
name: "message"
|
|
572
|
+
}, q(e = N()) ? e : { default: () => [e] }));
|
|
573
|
+
}
|
|
574
|
+
if ((x.value || b.value && e.useTabs.includes("condition")) && i.value) {
|
|
575
|
+
let e;
|
|
576
|
+
t.push(v(l, {
|
|
577
|
+
label: "流转条件",
|
|
578
|
+
name: "condition"
|
|
579
|
+
}, q(e = P()) ? e : { default: () => [e] }));
|
|
580
|
+
}
|
|
581
|
+
if ((x.value || b.value && e.useTabs.includes("form")) && s.value && t.push(v(l, {
|
|
582
|
+
label: "表单权限",
|
|
583
|
+
name: "form",
|
|
584
|
+
lazy: !0
|
|
585
|
+
}, { default: () => [n.form ? O() : F()] })), (x.value || b.value && e.useTabs.includes("task")) && p.value.indexOf("Task") !== -1 && t.push(v(l, {
|
|
586
|
+
label: "处理人",
|
|
587
|
+
name: "task",
|
|
588
|
+
lazy: !0
|
|
589
|
+
}, { default: () => [n.task ? A() : I()] })), (x.value || b.value && e.useTabs.includes("multiInstance")) && p.value.indexOf("Task") !== -1) {
|
|
590
|
+
let e;
|
|
591
|
+
t.push(v(l, {
|
|
592
|
+
label: "多实例",
|
|
593
|
+
name: "multiInstance"
|
|
594
|
+
}, q(e = L()) ? e : { default: () => [e] }));
|
|
595
|
+
}
|
|
596
|
+
if (x.value || b.value && e.useTabs.includes("listeners")) {
|
|
597
|
+
let e;
|
|
598
|
+
t.push(v(l, {
|
|
599
|
+
label: "执行监听器",
|
|
600
|
+
name: "listeners",
|
|
601
|
+
lazy: !0
|
|
602
|
+
}, q(e = R()) ? e : { default: () => [e] }));
|
|
603
|
+
}
|
|
604
|
+
if ((x.value || b.value && e.useTabs.includes("taskListeners")) && p.value === "UserTask") {
|
|
605
|
+
let e;
|
|
606
|
+
t.push(v(l, {
|
|
607
|
+
label: "任务监听器",
|
|
608
|
+
name: "taskListeners",
|
|
609
|
+
lazy: !0
|
|
610
|
+
}, q(e = z()) ? e : { default: () => [e] }));
|
|
611
|
+
}
|
|
612
|
+
if (x.value || b.value && e.useTabs.includes("extensions")) {
|
|
613
|
+
let e;
|
|
614
|
+
t.push(v(l, {
|
|
615
|
+
label: "扩展属性",
|
|
616
|
+
name: "extensions",
|
|
617
|
+
lazy: !0
|
|
618
|
+
}, q(e = B()) ? e : { default: () => [e] }));
|
|
619
|
+
}
|
|
620
|
+
if (x.value || b.value && e.useTabs.includes("other")) {
|
|
621
|
+
let e;
|
|
622
|
+
t.push(v(l, {
|
|
623
|
+
label: "其他",
|
|
624
|
+
name: "other",
|
|
625
|
+
lazy: !0
|
|
626
|
+
}, q(e = V()) ? e : { default: () => [e] }));
|
|
627
|
+
}
|
|
628
|
+
return (x.value || b.value && e.useTabs.includes("ext")) && n.ext && t.push(v(l, {
|
|
629
|
+
label: "拓展",
|
|
630
|
+
name: "ext",
|
|
631
|
+
lazy: !0
|
|
632
|
+
}, { default: () => n.ext({
|
|
633
|
+
id: c.value,
|
|
634
|
+
bpmnInstances: g.value,
|
|
635
|
+
element: h.value,
|
|
636
|
+
type: p.value
|
|
637
|
+
}) })), t;
|
|
638
|
+
}, H = () => {
|
|
639
|
+
let e;
|
|
640
|
+
return ne(v(u, {
|
|
641
|
+
modelValue: m.value,
|
|
642
|
+
"onUpdate:modelValue": (e) => m.value = e
|
|
643
|
+
}, q(e = re()) ? e : { default: () => [e] }), [[te, r.value]]);
|
|
644
|
+
}, ie = () => {
|
|
645
|
+
let t = [];
|
|
646
|
+
return (x.value || b.value && e.useTabs.includes("base")) && t.push(v(o, { name: "base" }, {
|
|
647
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-info" }, null), _("常规")]),
|
|
648
|
+
default: M
|
|
649
|
+
})), (x.value || b.value && e.useTabs.includes("message")) && p.value === "Process" && t.push(v(o, { name: "message" }, {
|
|
650
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-comment" }, null), _("消息与信号")]),
|
|
651
|
+
default: N
|
|
652
|
+
})), (x.value || b.value && e.useTabs.includes("condition")) && i.value && t.push(v(o, { name: "condition" }, {
|
|
653
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-promotion" }, null), _("流转条件")]),
|
|
654
|
+
default: P
|
|
655
|
+
})), (x.value || b.value && e.useTabs.includes("form")) && s.value && t.push(v(o, { name: "form" }, {
|
|
656
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-order" }, null), _("表单权限")]),
|
|
657
|
+
default: n.form ? O : F
|
|
658
|
+
})), (x.value || b.value && e.useTabs.includes("task") && p.value.indexOf("Task") !== -1) && t.push(v(o, { name: "task" }, {
|
|
659
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-claim" }, null), _("处理人")]),
|
|
660
|
+
default: n.task ? A : I
|
|
661
|
+
})), (x.value || b.value && e.useTabs.includes("multiInstance")) && p.value.indexOf("Task") !== -1 && t.push(v(o, { name: "multiInstance" }, {
|
|
662
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-help" }, null), _("多实例")]),
|
|
663
|
+
default: L
|
|
664
|
+
})), (x.value || b.value && e.useTabs.includes("listeners")) && t.push(v(o, { name: "listeners" }, {
|
|
665
|
+
title: () => v("div", { class: "panel-tab__title" }, [
|
|
666
|
+
v("i", { class: "el-icon-message-solid" }, null),
|
|
667
|
+
_("执行监听器"),
|
|
668
|
+
v(d, { effect: "light" }, {
|
|
669
|
+
content: () => v("p", null, [_("发送和退回时会触发")]),
|
|
670
|
+
default: () => v("i", { class: "el-icon-info" }, null)
|
|
671
|
+
})
|
|
672
|
+
]),
|
|
673
|
+
default: R
|
|
674
|
+
})), (x.value || b.value && e.useTabs.includes("taskListeners")) && p.value === "UserTask" && t.push(v(o, { name: "taskListeners" }, {
|
|
675
|
+
title: () => v("div", { class: "panel-tab__title" }, [
|
|
676
|
+
v("i", { class: "el-icon-message-solid" }, null),
|
|
677
|
+
_("任务监听器"),
|
|
678
|
+
v(d, { effect: "light" }, {
|
|
679
|
+
content: () => v("p", null, [_("任务实例的创建、指派、完成、删除、更新、超时会触发")]),
|
|
680
|
+
default: () => v("i", { class: "el-icon-info" }, null)
|
|
681
|
+
})
|
|
682
|
+
]),
|
|
683
|
+
default: z
|
|
684
|
+
})), (x.value || b.value && e.useTabs.includes("extensions")) && t.push(v(o, { name: "extensions" }, {
|
|
685
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-circle-plus" }, null), _("扩展属性")]),
|
|
686
|
+
default: B
|
|
687
|
+
})), (x.value || b.value && e.useTabs.includes("other")) && t.push(v(o, { name: "other" }, {
|
|
688
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-promotion" }, null), _("其他")]),
|
|
689
|
+
default: V
|
|
690
|
+
})), (x.value || b.value && e.useTabs.includes("ext")) && n.ext && t.push(v(o, { name: "ext" }, {
|
|
691
|
+
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-promotion" }, null), _("拓展")]),
|
|
692
|
+
default: () => n.ext({
|
|
693
|
+
id: c.value,
|
|
694
|
+
bpmnInstances: g.value,
|
|
695
|
+
element: h.value,
|
|
696
|
+
type: p.value
|
|
697
|
+
})
|
|
698
|
+
})), t;
|
|
699
|
+
}, ae = () => {
|
|
700
|
+
let e;
|
|
701
|
+
return ne(v(a, {
|
|
702
|
+
modelValue: m.value,
|
|
703
|
+
"onUpdate:modelValue": (e) => m.value = e
|
|
704
|
+
}, q(e = ie()) ? e : { default: () => [e] }), [[te, r.value]]);
|
|
705
|
+
};
|
|
706
|
+
return () => {
|
|
707
|
+
var t;
|
|
708
|
+
return v("div", {
|
|
709
|
+
class: ["process-panel__container", {
|
|
710
|
+
show: r.value,
|
|
711
|
+
hide: !r.value
|
|
712
|
+
}],
|
|
713
|
+
style: { width: `${r.value ? e.width : 34}px` },
|
|
714
|
+
onClick: () => {
|
|
715
|
+
r.value = !0;
|
|
716
|
+
}
|
|
717
|
+
}, [v("div", { style: "height: 40px; line-height: 40px" }, [v("i", {
|
|
718
|
+
class: ["open-properties-handel", r.value ? "el-icon-caret-right" : "el-icon-caret-left"],
|
|
719
|
+
onClick: (e) => {
|
|
720
|
+
e.stopPropagation(), r.value = !r.value;
|
|
721
|
+
}
|
|
722
|
+
}, null), r.value ? (t = h.value) == null || (t = t.businessObject) == null ? void 0 : t.name : ""]), e.panelType === "tab" ? H() : ae()]);
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
}, He = (e, t, n) => (n = n || "camunda", `<?xml version="1.0" encoding="UTF-8"?>
|
|
726
|
+
<bpmn2:definitions
|
|
727
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
728
|
+
xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
729
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
730
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
731
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
732
|
+
id="diagram_${e}"
|
|
733
|
+
targetNamespace="${{
|
|
734
|
+
activiti: "http://activiti.org/bpmn",
|
|
735
|
+
camunda: "http://bpmn.io/schema/bpmn",
|
|
736
|
+
flowable: "http://flowable.org/bpmn"
|
|
737
|
+
}[n]}">
|
|
738
|
+
<bpmn2:process id="${e}" name="${t}" isExecutable="true">
|
|
739
|
+
</bpmn2:process>
|
|
740
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
741
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="${e}">
|
|
742
|
+
</bpmndi:BPMNPlane>
|
|
743
|
+
</bpmndi:BPMNDiagram>
|
|
744
|
+
</bpmn2:definitions>`);
|
|
745
|
+
//#endregion
|
|
746
|
+
//#region src/components/bpmn-process-designer/plugins/translate/customTranslate.js
|
|
747
|
+
function Ue(e) {
|
|
748
|
+
return function(t, n) {
|
|
749
|
+
return n = n || {}, t = e[t] || t, t.replace(/{([^}]+)}/g, function(t, r) {
|
|
750
|
+
let i = n[r];
|
|
751
|
+
return e[n[r]] !== null && e[n[r]] !== void 0 && (i = e[n[r]]), i || `{${r}}`;
|
|
752
|
+
});
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
//#endregion
|
|
756
|
+
//#region src/components/bpmn-process-designer/plugins/translate/zh.js
|
|
757
|
+
var We = {
|
|
758
|
+
"Append EndEvent": "追加结束事件",
|
|
759
|
+
"Append Gateway": "追加网关",
|
|
760
|
+
"Append Task": "追加任务",
|
|
761
|
+
"Append Intermediate/Boundary Event": "追加中间抛出事件/边界事件",
|
|
762
|
+
"Activate the global connect tool": "激活全局连接工具",
|
|
763
|
+
"Append {type}": "添加 {type}",
|
|
764
|
+
"Add Lane above": "在上面添加道",
|
|
765
|
+
"Divide into two Lanes": "分割成两个道",
|
|
766
|
+
"Divide into three Lanes": "分割成三个道",
|
|
767
|
+
"Add Lane below": "在下面添加道",
|
|
768
|
+
"Append compensation activity": "追加补偿活动",
|
|
769
|
+
"Change type": "修改类型",
|
|
770
|
+
"Connect using Association": "使用关联连接",
|
|
771
|
+
"Connect using Sequence/MessageFlow or Association": "使用顺序/消息流或者关联连接",
|
|
772
|
+
"Connect using DataInputAssociation": "使用数据输入关联连接",
|
|
773
|
+
Remove: "移除",
|
|
774
|
+
"Activate the hand tool": "激活抓手工具",
|
|
775
|
+
"Activate the lasso tool": "激活套索工具",
|
|
776
|
+
"Activate the create/remove space tool": "激活创建/删除空间工具",
|
|
777
|
+
"Create expanded SubProcess": "创建扩展子过程",
|
|
778
|
+
"Create IntermediateThrowEvent/BoundaryEvent": "创建中间抛出事件/边界事件",
|
|
779
|
+
"Create Pool/Participant": "创建池/参与者",
|
|
780
|
+
"Parallel Multi Instance": "并行多重事件",
|
|
781
|
+
"Sequential Multi Instance": "时序多重事件",
|
|
782
|
+
DataObjectReference: "数据对象参考",
|
|
783
|
+
DataStoreReference: "数据存储参考",
|
|
784
|
+
Loop: "循环",
|
|
785
|
+
"Ad-hoc": "即席",
|
|
786
|
+
"Create {type}": "创建 {type}",
|
|
787
|
+
Task: "任务",
|
|
788
|
+
"Send Task": "发送任务",
|
|
789
|
+
"Receive Task": "接收任务",
|
|
790
|
+
"User Task": "用户任务",
|
|
791
|
+
"Manual Task": "手工任务",
|
|
792
|
+
"Business Rule Task": "业务规则任务",
|
|
793
|
+
"Service Task": "服务任务",
|
|
794
|
+
"Script Task": "脚本任务",
|
|
795
|
+
"Call Activity": "调用活动",
|
|
796
|
+
"Sub Process (collapsed)": "子流程(折叠的)",
|
|
797
|
+
"Sub Process (expanded)": "子流程(展开的)",
|
|
798
|
+
"Start Event": "开始事件",
|
|
799
|
+
StartEvent: "开始事件",
|
|
800
|
+
"Intermediate Throw Event": "中间事件",
|
|
801
|
+
"End Event": "结束事件",
|
|
802
|
+
EndEvent: "结束事件",
|
|
803
|
+
"Create StartEvent": "创建开始事件",
|
|
804
|
+
"Create EndEvent": "创建结束事件",
|
|
805
|
+
"Create Task": "创建任务",
|
|
806
|
+
"Create User Task": "创建用户任务",
|
|
807
|
+
"Create Gateway": "创建网关",
|
|
808
|
+
"Create DataObjectReference": "创建数据对象",
|
|
809
|
+
"Create DataStoreReference": "创建数据存储",
|
|
810
|
+
"Create Group": "创建分组",
|
|
811
|
+
"Create Intermediate/Boundary Event": "创建中间/边界事件",
|
|
812
|
+
"Message Start Event": "消息开始事件",
|
|
813
|
+
"Timer Start Event": "定时开始事件",
|
|
814
|
+
"Conditional Start Event": "条件开始事件",
|
|
815
|
+
"Signal Start Event": "信号开始事件",
|
|
816
|
+
"Error Start Event": "错误开始事件",
|
|
817
|
+
"Escalation Start Event": "升级开始事件",
|
|
818
|
+
"Compensation Start Event": "补偿开始事件",
|
|
819
|
+
"Message Start Event (non-interrupting)": "消息开始事件(非中断)",
|
|
820
|
+
"Timer Start Event (non-interrupting)": "定时开始事件(非中断)",
|
|
821
|
+
"Conditional Start Event (non-interrupting)": "条件开始事件(非中断)",
|
|
822
|
+
"Signal Start Event (non-interrupting)": "信号开始事件(非中断)",
|
|
823
|
+
"Escalation Start Event (non-interrupting)": "升级开始事件(非中断)",
|
|
824
|
+
"Message Intermediate Catch Event": "消息中间捕获事件",
|
|
825
|
+
"Message Intermediate Throw Event": "消息中间抛出事件",
|
|
826
|
+
"Timer Intermediate Catch Event": "定时中间捕获事件",
|
|
827
|
+
"Escalation Intermediate Throw Event": "升级中间抛出事件",
|
|
828
|
+
"Conditional Intermediate Catch Event": "条件中间捕获事件",
|
|
829
|
+
"Link Intermediate Catch Event": "链接中间捕获事件",
|
|
830
|
+
"Link Intermediate Throw Event": "链接中间抛出事件",
|
|
831
|
+
"Compensation Intermediate Throw Event": "补偿中间抛出事件",
|
|
832
|
+
"Signal Intermediate Catch Event": "信号中间捕获事件",
|
|
833
|
+
"Signal Intermediate Throw Event": "信号中间抛出事件",
|
|
834
|
+
"Message End Event": "消息结束事件",
|
|
835
|
+
"Escalation End Event": "定时结束事件",
|
|
836
|
+
"Error End Event": "错误结束事件",
|
|
837
|
+
"Cancel End Event": "取消结束事件",
|
|
838
|
+
"Compensation End Event": "补偿结束事件",
|
|
839
|
+
"Signal End Event": "信号结束事件",
|
|
840
|
+
"Terminate End Event": "终止结束事件",
|
|
841
|
+
"Message Boundary Event": "消息边界事件",
|
|
842
|
+
"Message Boundary Event (non-interrupting)": "消息边界事件(非中断)",
|
|
843
|
+
"Timer Boundary Event": "定时边界事件",
|
|
844
|
+
"Timer Boundary Event (non-interrupting)": "定时边界事件(非中断)",
|
|
845
|
+
"Escalation Boundary Event": "升级边界事件",
|
|
846
|
+
"Escalation Boundary Event (non-interrupting)": "升级边界事件(非中断)",
|
|
847
|
+
"Conditional Boundary Event": "条件边界事件",
|
|
848
|
+
"Conditional Boundary Event (non-interrupting)": "条件边界事件(非中断)",
|
|
849
|
+
"Error Boundary Event": "错误边界事件",
|
|
850
|
+
"Cancel Boundary Event": "取消边界事件",
|
|
851
|
+
"Signal Boundary Event": "信号边界事件",
|
|
852
|
+
"Signal Boundary Event (non-interrupting)": "信号边界事件(非中断)",
|
|
853
|
+
"Compensation Boundary Event": "补偿边界事件",
|
|
854
|
+
"Exclusive Gateway": "互斥网关",
|
|
855
|
+
"Parallel Gateway": "并行网关",
|
|
856
|
+
"Inclusive Gateway": "相容网关",
|
|
857
|
+
"Complex Gateway": "复杂网关",
|
|
858
|
+
"Event based Gateway": "事件网关",
|
|
859
|
+
Transaction: "转运",
|
|
860
|
+
"Sub Process": "子流程",
|
|
861
|
+
"Event Sub Process": "事件子流程",
|
|
862
|
+
"Collapsed Pool": "折叠池",
|
|
863
|
+
"Expanded Pool": "展开池",
|
|
864
|
+
"no parent for {element} in {parent}": "在{parent}里,{element}没有父类",
|
|
865
|
+
"no shape type specified": "没有指定的形状类型",
|
|
866
|
+
"flow elements must be children of pools/participants": "流元素必须是池/参与者的子类",
|
|
867
|
+
"out of bounds release": "out of bounds release",
|
|
868
|
+
"more than {count} child lanes": "子道大于{count} ",
|
|
869
|
+
"element required": "元素不能为空",
|
|
870
|
+
"diagram not part of bpmn:Definitions": "流程图不符合bpmn规范",
|
|
871
|
+
"no diagram to display": "没有可展示的流程图",
|
|
872
|
+
"no process or collaboration to display": "没有可展示的流程/协作",
|
|
873
|
+
"element {element} referenced by {referenced}#{property} not yet drawn": "由{referenced}#{property}引用的{element}元素仍未绘制",
|
|
874
|
+
"already rendered {element}": "{element} 已被渲染",
|
|
875
|
+
"failed to import {element}": "导入{element}失败",
|
|
876
|
+
Id: "编号",
|
|
877
|
+
Name: "名称",
|
|
878
|
+
General: "常规",
|
|
879
|
+
Details: "详情",
|
|
880
|
+
"Message Name": "消息名称",
|
|
881
|
+
Message: "消息",
|
|
882
|
+
Initiator: "创建者",
|
|
883
|
+
"Asynchronous Continuations": "持续异步",
|
|
884
|
+
"Asynchronous Before": "异步前",
|
|
885
|
+
"Asynchronous After": "异步后",
|
|
886
|
+
"Job Configuration": "工作配置",
|
|
887
|
+
Exclusive: "排除",
|
|
888
|
+
"Job Priority": "工作优先级",
|
|
889
|
+
"Retry Time Cycle": "重试时间周期",
|
|
890
|
+
Documentation: "文档",
|
|
891
|
+
"Element Documentation": "元素文档",
|
|
892
|
+
"History Configuration": "历史配置",
|
|
893
|
+
"History Time To Live": "历史的生存时间",
|
|
894
|
+
Forms: "表单",
|
|
895
|
+
"Form Key": "表单key",
|
|
896
|
+
"Form Fields": "表单字段",
|
|
897
|
+
"Business Key": "业务key",
|
|
898
|
+
"Form Field": "表单字段",
|
|
899
|
+
ID: "编号",
|
|
900
|
+
Type: "类型",
|
|
901
|
+
Label: "名称",
|
|
902
|
+
"Default Value": "默认值",
|
|
903
|
+
"Default Flow": "默认流转路径",
|
|
904
|
+
"Conditional Flow": "条件流转路径",
|
|
905
|
+
"Sequence Flow": "普通流转路径",
|
|
906
|
+
Validation: "校验",
|
|
907
|
+
"Add Constraint": "添加约束",
|
|
908
|
+
Config: "配置",
|
|
909
|
+
Properties: "属性",
|
|
910
|
+
"Add Property": "添加属性",
|
|
911
|
+
Value: "值",
|
|
912
|
+
Listeners: "监听器",
|
|
913
|
+
"Execution Listener": "执行监听",
|
|
914
|
+
"Event Type": "事件类型",
|
|
915
|
+
"Listener Type": "监听器类型",
|
|
916
|
+
"Java Class": "Java类",
|
|
917
|
+
Expression: "表达式",
|
|
918
|
+
"Must provide a value": "必须提供一个值",
|
|
919
|
+
"Delegate Expression": "代理表达式",
|
|
920
|
+
Script: "脚本",
|
|
921
|
+
"Script Format": "脚本格式",
|
|
922
|
+
"Script Type": "脚本类型",
|
|
923
|
+
"Inline Script": "内联脚本",
|
|
924
|
+
"External Script": "外部脚本",
|
|
925
|
+
Resource: "资源",
|
|
926
|
+
"Field Injection": "字段注入",
|
|
927
|
+
Extensions: "扩展",
|
|
928
|
+
"Input/Output": "输入/输出",
|
|
929
|
+
"Input Parameters": "输入参数",
|
|
930
|
+
"Output Parameters": "输出参数",
|
|
931
|
+
Parameters: "参数",
|
|
932
|
+
"Output Parameter": "输出参数",
|
|
933
|
+
"Timer Definition Type": "定时器定义类型",
|
|
934
|
+
"Timer Definition": "定时器定义",
|
|
935
|
+
Date: "日期",
|
|
936
|
+
Duration: "持续",
|
|
937
|
+
Cycle: "循环",
|
|
938
|
+
Signal: "信号",
|
|
939
|
+
"Signal Name": "信号名称",
|
|
940
|
+
Escalation: "升级",
|
|
941
|
+
Error: "错误",
|
|
942
|
+
"Link Name": "链接名称",
|
|
943
|
+
Condition: "条件名称",
|
|
944
|
+
"Variable Name": "变量名称",
|
|
945
|
+
"Variable Event": "变量事件",
|
|
946
|
+
"Specify more than one variable change event as a comma separated list.": "多个变量事件以逗号隔开",
|
|
947
|
+
"Wait for Completion": "等待完成",
|
|
948
|
+
"Activity Ref": "活动参考",
|
|
949
|
+
"Version Tag": "版本标签",
|
|
950
|
+
Executable: "可执行文件",
|
|
951
|
+
"External Task Configuration": "扩展任务配置",
|
|
952
|
+
"Task Priority": "任务优先级",
|
|
953
|
+
External: "外部",
|
|
954
|
+
Connector: "连接器",
|
|
955
|
+
"Must configure Connector": "必须配置连接器",
|
|
956
|
+
"Connector Id": "连接器编号",
|
|
957
|
+
Implementation: "实现方式",
|
|
958
|
+
"Field Injections": "字段注入",
|
|
959
|
+
Fields: "字段",
|
|
960
|
+
"Result Variable": "结果变量",
|
|
961
|
+
Topic: "主题",
|
|
962
|
+
"Configure Connector": "配置连接器",
|
|
963
|
+
"Input Parameter": "输入参数",
|
|
964
|
+
Assignee: "代理人",
|
|
965
|
+
"Candidate Users": "候选用户",
|
|
966
|
+
"Candidate Groups": "候选组",
|
|
967
|
+
"Due Date": "到期时间",
|
|
968
|
+
"Follow Up Date": "跟踪日期",
|
|
969
|
+
Priority: "优先级",
|
|
970
|
+
"The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": "跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",
|
|
971
|
+
"The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": "跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",
|
|
972
|
+
Variables: "变量",
|
|
973
|
+
"Candidate Starter Configuration": "候选人起动器配置",
|
|
974
|
+
"Candidate Starter Groups": "候选人起动器组",
|
|
975
|
+
"This maps to the process definition key.": "这映射到流程定义键。",
|
|
976
|
+
"Candidate Starter Users": "候选人起动器的用户",
|
|
977
|
+
"Specify more than one user as a comma separated list.": "指定多个用户作为逗号分隔的列表。",
|
|
978
|
+
"Tasklist Configuration": "Tasklist配置",
|
|
979
|
+
Startable: "启动",
|
|
980
|
+
"Specify more than one group as a comma separated list.": "指定多个组作为逗号分隔的列表。",
|
|
981
|
+
"Create element": "创建元素",
|
|
982
|
+
"Empty Pool": "空池",
|
|
983
|
+
Gateways: "网关",
|
|
984
|
+
"Sub Processes": "子流程",
|
|
985
|
+
"Append element": "追加元素",
|
|
986
|
+
"Boundary Event": "边界事件",
|
|
987
|
+
"Data Store Reference": "数据存储引用",
|
|
988
|
+
"Data Object Reference": "数据对象引用",
|
|
989
|
+
Participants: "参与者",
|
|
990
|
+
Events: "事件",
|
|
991
|
+
Data: "数据",
|
|
992
|
+
TextAnnotation: "文本说明",
|
|
993
|
+
Tasks: "任务"
|
|
994
|
+
}, J = [
|
|
995
|
+
{
|
|
996
|
+
name: "commentInForm",
|
|
997
|
+
isAttr: !0,
|
|
998
|
+
type: "Boolean"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
name: "commentOrder",
|
|
1002
|
+
isAttr: !0,
|
|
1003
|
+
type: "Number"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
name: "commentNodeIds",
|
|
1007
|
+
isAttr: !0,
|
|
1008
|
+
type: "String"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
name: "commentLabel",
|
|
1012
|
+
isAttr: !0,
|
|
1013
|
+
type: "String"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
name: "requiredComment",
|
|
1017
|
+
isAttr: !0,
|
|
1018
|
+
type: "String"
|
|
1019
|
+
}
|
|
1020
|
+
], Ge = {
|
|
1021
|
+
name: "Camunda",
|
|
1022
|
+
uri: "http://camunda.org/schema/1.0/bpmn",
|
|
1023
|
+
prefix: "camunda",
|
|
1024
|
+
xml: { tagAlias: "lowerCase" },
|
|
1025
|
+
associations: [],
|
|
1026
|
+
types: [
|
|
1027
|
+
{
|
|
1028
|
+
name: "Definitions",
|
|
1029
|
+
isAbstract: !0,
|
|
1030
|
+
extends: ["bpmn:Definitions"],
|
|
1031
|
+
properties: [{
|
|
1032
|
+
name: "diagramRelationId",
|
|
1033
|
+
isAttr: !0,
|
|
1034
|
+
type: "String"
|
|
1035
|
+
}]
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
name: "InOutBinding",
|
|
1039
|
+
superClass: ["Element"],
|
|
1040
|
+
isAbstract: !0,
|
|
1041
|
+
properties: [
|
|
1042
|
+
{
|
|
1043
|
+
name: "source",
|
|
1044
|
+
isAttr: !0,
|
|
1045
|
+
type: "String"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
name: "sourceExpression",
|
|
1049
|
+
isAttr: !0,
|
|
1050
|
+
type: "String"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
name: "target",
|
|
1054
|
+
isAttr: !0,
|
|
1055
|
+
type: "String"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: "businessKey",
|
|
1059
|
+
isAttr: !0,
|
|
1060
|
+
type: "String"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
name: "local",
|
|
1064
|
+
isAttr: !0,
|
|
1065
|
+
type: "Boolean",
|
|
1066
|
+
default: !1
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
name: "variables",
|
|
1070
|
+
isAttr: !0,
|
|
1071
|
+
type: "String"
|
|
1072
|
+
}
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
name: "In",
|
|
1077
|
+
superClass: ["InOutBinding"],
|
|
1078
|
+
meta: { allowedIn: ["bpmn:CallActivity", "bpmn:SignalEventDefinition"] }
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
name: "Out",
|
|
1082
|
+
superClass: ["InOutBinding"],
|
|
1083
|
+
meta: { allowedIn: ["bpmn:CallActivity"] }
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
name: "AsyncCapable",
|
|
1087
|
+
isAbstract: !0,
|
|
1088
|
+
extends: [
|
|
1089
|
+
"bpmn:Activity",
|
|
1090
|
+
"bpmn:Gateway",
|
|
1091
|
+
"bpmn:Event"
|
|
1092
|
+
],
|
|
1093
|
+
properties: [
|
|
1094
|
+
{
|
|
1095
|
+
name: "async",
|
|
1096
|
+
isAttr: !0,
|
|
1097
|
+
type: "Boolean",
|
|
1098
|
+
default: !1
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
name: "asyncBefore",
|
|
1102
|
+
isAttr: !0,
|
|
1103
|
+
type: "Boolean",
|
|
1104
|
+
default: !1
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
name: "asyncAfter",
|
|
1108
|
+
isAttr: !0,
|
|
1109
|
+
type: "Boolean",
|
|
1110
|
+
default: !1
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
name: "exclusive",
|
|
1114
|
+
isAttr: !0,
|
|
1115
|
+
type: "Boolean",
|
|
1116
|
+
default: !0
|
|
1117
|
+
}
|
|
1118
|
+
]
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
name: "JobPriorized",
|
|
1122
|
+
isAbstract: !0,
|
|
1123
|
+
extends: ["bpmn:Process", "camunda:AsyncCapable"],
|
|
1124
|
+
properties: [{
|
|
1125
|
+
name: "jobPriority",
|
|
1126
|
+
isAttr: !0,
|
|
1127
|
+
type: "String"
|
|
1128
|
+
}]
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
name: "SignalEventDefinition",
|
|
1132
|
+
isAbstract: !0,
|
|
1133
|
+
extends: ["bpmn:SignalEventDefinition"],
|
|
1134
|
+
properties: [{
|
|
1135
|
+
name: "async",
|
|
1136
|
+
isAttr: !0,
|
|
1137
|
+
type: "Boolean",
|
|
1138
|
+
default: !1
|
|
1139
|
+
}]
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
name: "ErrorEventDefinition",
|
|
1143
|
+
isAbstract: !0,
|
|
1144
|
+
extends: ["bpmn:ErrorEventDefinition"],
|
|
1145
|
+
properties: [{
|
|
1146
|
+
name: "errorCodeVariable",
|
|
1147
|
+
isAttr: !0,
|
|
1148
|
+
type: "String"
|
|
1149
|
+
}, {
|
|
1150
|
+
name: "errorMessageVariable",
|
|
1151
|
+
isAttr: !0,
|
|
1152
|
+
type: "String"
|
|
1153
|
+
}]
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
name: "Error",
|
|
1157
|
+
isAbstract: !0,
|
|
1158
|
+
extends: ["bpmn:Error"],
|
|
1159
|
+
properties: [{
|
|
1160
|
+
name: "camunda:errorMessage",
|
|
1161
|
+
isAttr: !0,
|
|
1162
|
+
type: "String"
|
|
1163
|
+
}]
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
name: "PotentialStarter",
|
|
1167
|
+
superClass: ["Element"],
|
|
1168
|
+
properties: [{
|
|
1169
|
+
name: "resourceAssignmentExpression",
|
|
1170
|
+
type: "bpmn:ResourceAssignmentExpression"
|
|
1171
|
+
}]
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
name: "FormSupported",
|
|
1175
|
+
isAbstract: !0,
|
|
1176
|
+
extends: ["bpmn:StartEvent", "bpmn:UserTask"],
|
|
1177
|
+
properties: [{
|
|
1178
|
+
name: "formHandlerClass",
|
|
1179
|
+
isAttr: !0,
|
|
1180
|
+
type: "String"
|
|
1181
|
+
}, {
|
|
1182
|
+
name: "formKey",
|
|
1183
|
+
isAttr: !0,
|
|
1184
|
+
type: "String"
|
|
1185
|
+
}]
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
name: "TemplateSupported",
|
|
1189
|
+
isAbstract: !0,
|
|
1190
|
+
extends: ["bpmn:Process", "bpmn:FlowElement"],
|
|
1191
|
+
properties: [{
|
|
1192
|
+
name: "modelerTemplate",
|
|
1193
|
+
isAttr: !0,
|
|
1194
|
+
type: "String"
|
|
1195
|
+
}, {
|
|
1196
|
+
name: "modelerTemplateVersion",
|
|
1197
|
+
isAttr: !0,
|
|
1198
|
+
type: "Integer"
|
|
1199
|
+
}]
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
name: "Initiator",
|
|
1203
|
+
isAbstract: !0,
|
|
1204
|
+
extends: ["bpmn:StartEvent"],
|
|
1205
|
+
properties: [{
|
|
1206
|
+
name: "initiator",
|
|
1207
|
+
isAttr: !0,
|
|
1208
|
+
type: "String"
|
|
1209
|
+
}]
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
name: "ScriptTask",
|
|
1213
|
+
isAbstract: !0,
|
|
1214
|
+
extends: ["bpmn:ScriptTask"],
|
|
1215
|
+
properties: [{
|
|
1216
|
+
name: "resultVariable",
|
|
1217
|
+
isAttr: !0,
|
|
1218
|
+
type: "String"
|
|
1219
|
+
}, {
|
|
1220
|
+
name: "resource",
|
|
1221
|
+
isAttr: !0,
|
|
1222
|
+
type: "String"
|
|
1223
|
+
}]
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
name: "Process",
|
|
1227
|
+
isAbstract: !0,
|
|
1228
|
+
extends: ["bpmn:Process"],
|
|
1229
|
+
properties: [
|
|
1230
|
+
{
|
|
1231
|
+
name: "candidateStarterGroups",
|
|
1232
|
+
isAttr: !0,
|
|
1233
|
+
type: "String"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
name: "candidateStarterUsers",
|
|
1237
|
+
isAttr: !0,
|
|
1238
|
+
type: "String"
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
name: "versionTag",
|
|
1242
|
+
isAttr: !0,
|
|
1243
|
+
type: "String"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
name: "historyTimeToLive",
|
|
1247
|
+
isAttr: !0,
|
|
1248
|
+
type: "String"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
name: "isStartableInTasklist",
|
|
1252
|
+
isAttr: !0,
|
|
1253
|
+
type: "Boolean",
|
|
1254
|
+
default: !0
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
name: "EscalationEventDefinition",
|
|
1260
|
+
isAbstract: !0,
|
|
1261
|
+
extends: ["bpmn:EscalationEventDefinition"],
|
|
1262
|
+
properties: [{
|
|
1263
|
+
name: "escalationCodeVariable",
|
|
1264
|
+
isAttr: !0,
|
|
1265
|
+
type: "String"
|
|
1266
|
+
}]
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
name: "FormalExpression",
|
|
1270
|
+
isAbstract: !0,
|
|
1271
|
+
extends: ["bpmn:FormalExpression"],
|
|
1272
|
+
properties: [{
|
|
1273
|
+
name: "resource",
|
|
1274
|
+
isAttr: !0,
|
|
1275
|
+
type: "String"
|
|
1276
|
+
}]
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
name: "Assignable",
|
|
1280
|
+
extends: ["bpmn:UserTask"],
|
|
1281
|
+
properties: [
|
|
1282
|
+
{
|
|
1283
|
+
name: "assignee",
|
|
1284
|
+
isAttr: !0,
|
|
1285
|
+
type: "String"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
name: "candidateUsers",
|
|
1289
|
+
isAttr: !0,
|
|
1290
|
+
type: "String"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
name: "candidateGroups",
|
|
1294
|
+
isAttr: !0,
|
|
1295
|
+
type: "String"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
name: "dueDate",
|
|
1299
|
+
isAttr: !0,
|
|
1300
|
+
type: "String"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
name: "followUpDate",
|
|
1304
|
+
isAttr: !0,
|
|
1305
|
+
type: "String"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
name: "priority",
|
|
1309
|
+
isAttr: !0,
|
|
1310
|
+
type: "String"
|
|
1311
|
+
},
|
|
1312
|
+
...J
|
|
1313
|
+
]
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
name: "CallActivity",
|
|
1317
|
+
extends: ["bpmn:CallActivity"],
|
|
1318
|
+
properties: [
|
|
1319
|
+
{
|
|
1320
|
+
name: "calledElementBinding",
|
|
1321
|
+
isAttr: !0,
|
|
1322
|
+
type: "String",
|
|
1323
|
+
default: "latest"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
name: "calledElementVersion",
|
|
1327
|
+
isAttr: !0,
|
|
1328
|
+
type: "String"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
name: "calledElementVersionTag",
|
|
1332
|
+
isAttr: !0,
|
|
1333
|
+
type: "String"
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
name: "calledElementTenantId",
|
|
1337
|
+
isAttr: !0,
|
|
1338
|
+
type: "String"
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
name: "caseRef",
|
|
1342
|
+
isAttr: !0,
|
|
1343
|
+
type: "String"
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
name: "caseBinding",
|
|
1347
|
+
isAttr: !0,
|
|
1348
|
+
type: "String",
|
|
1349
|
+
default: "latest"
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: "caseVersion",
|
|
1353
|
+
isAttr: !0,
|
|
1354
|
+
type: "String"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
name: "caseTenantId",
|
|
1358
|
+
isAttr: !0,
|
|
1359
|
+
type: "String"
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
name: "variableMappingClass",
|
|
1363
|
+
isAttr: !0,
|
|
1364
|
+
type: "String"
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
name: "variableMappingDelegateExpression",
|
|
1368
|
+
isAttr: !0,
|
|
1369
|
+
type: "String"
|
|
1370
|
+
}
|
|
1371
|
+
]
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
name: "ServiceTaskLike",
|
|
1375
|
+
extends: [
|
|
1376
|
+
"bpmn:ServiceTask",
|
|
1377
|
+
"bpmn:BusinessRuleTask",
|
|
1378
|
+
"bpmn:SendTask",
|
|
1379
|
+
"bpmn:MessageEventDefinition"
|
|
1380
|
+
],
|
|
1381
|
+
properties: [
|
|
1382
|
+
{
|
|
1383
|
+
name: "expression",
|
|
1384
|
+
isAttr: !0,
|
|
1385
|
+
type: "String"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
name: "class",
|
|
1389
|
+
isAttr: !0,
|
|
1390
|
+
type: "String"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
name: "delegateExpression",
|
|
1394
|
+
isAttr: !0,
|
|
1395
|
+
type: "String"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
name: "resultVariable",
|
|
1399
|
+
isAttr: !0,
|
|
1400
|
+
type: "String"
|
|
1401
|
+
}
|
|
1402
|
+
]
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
name: "DmnCapable",
|
|
1406
|
+
extends: ["bpmn:BusinessRuleTask"],
|
|
1407
|
+
properties: [
|
|
1408
|
+
{
|
|
1409
|
+
name: "decisionRef",
|
|
1410
|
+
isAttr: !0,
|
|
1411
|
+
type: "String"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
name: "decisionRefBinding",
|
|
1415
|
+
isAttr: !0,
|
|
1416
|
+
type: "String",
|
|
1417
|
+
default: "latest"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
name: "decisionRefVersion",
|
|
1421
|
+
isAttr: !0,
|
|
1422
|
+
type: "String"
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
name: "mapDecisionResult",
|
|
1426
|
+
isAttr: !0,
|
|
1427
|
+
type: "String",
|
|
1428
|
+
default: "resultList"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
name: "decisionRefTenantId",
|
|
1432
|
+
isAttr: !0,
|
|
1433
|
+
type: "String"
|
|
1434
|
+
}
|
|
1435
|
+
]
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
name: "ExternalCapable",
|
|
1439
|
+
extends: ["camunda:ServiceTaskLike"],
|
|
1440
|
+
properties: [{
|
|
1441
|
+
name: "type",
|
|
1442
|
+
isAttr: !0,
|
|
1443
|
+
type: "String"
|
|
1444
|
+
}, {
|
|
1445
|
+
name: "topic",
|
|
1446
|
+
isAttr: !0,
|
|
1447
|
+
type: "String"
|
|
1448
|
+
}]
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
name: "TaskPriorized",
|
|
1452
|
+
extends: ["bpmn:Process", "camunda:ExternalCapable"],
|
|
1453
|
+
properties: [{
|
|
1454
|
+
name: "taskPriority",
|
|
1455
|
+
isAttr: !0,
|
|
1456
|
+
type: "String"
|
|
1457
|
+
}]
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
name: "Properties",
|
|
1461
|
+
superClass: ["Element"],
|
|
1462
|
+
meta: { allowedIn: ["*"] },
|
|
1463
|
+
properties: [{
|
|
1464
|
+
name: "values",
|
|
1465
|
+
type: "Property",
|
|
1466
|
+
isMany: !0
|
|
1467
|
+
}]
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
name: "Property",
|
|
1471
|
+
superClass: ["Element"],
|
|
1472
|
+
properties: [
|
|
1473
|
+
{
|
|
1474
|
+
name: "id",
|
|
1475
|
+
type: "String",
|
|
1476
|
+
isAttr: !0
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
name: "name",
|
|
1480
|
+
type: "String",
|
|
1481
|
+
isAttr: !0
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
name: "value",
|
|
1485
|
+
type: "String",
|
|
1486
|
+
isAttr: !0
|
|
1487
|
+
}
|
|
1488
|
+
]
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
name: "Connector",
|
|
1492
|
+
superClass: ["Element"],
|
|
1493
|
+
meta: { allowedIn: ["camunda:ServiceTaskLike"] },
|
|
1494
|
+
properties: [{
|
|
1495
|
+
name: "inputOutput",
|
|
1496
|
+
type: "InputOutput"
|
|
1497
|
+
}, {
|
|
1498
|
+
name: "connectorId",
|
|
1499
|
+
type: "String"
|
|
1500
|
+
}]
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
name: "InputOutput",
|
|
1504
|
+
superClass: ["Element"],
|
|
1505
|
+
meta: { allowedIn: ["bpmn:FlowNode", "camunda:Connector"] },
|
|
1506
|
+
properties: [
|
|
1507
|
+
{
|
|
1508
|
+
name: "inputOutput",
|
|
1509
|
+
type: "InputOutput"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
name: "connectorId",
|
|
1513
|
+
type: "String"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
name: "inputParameters",
|
|
1517
|
+
isMany: !0,
|
|
1518
|
+
type: "InputParameter"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
name: "outputParameters",
|
|
1522
|
+
isMany: !0,
|
|
1523
|
+
type: "OutputParameter"
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
name: "InputOutputParameter",
|
|
1529
|
+
properties: [
|
|
1530
|
+
{
|
|
1531
|
+
name: "name",
|
|
1532
|
+
isAttr: !0,
|
|
1533
|
+
type: "String"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
name: "value",
|
|
1537
|
+
isBody: !0,
|
|
1538
|
+
type: "String"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
name: "definition",
|
|
1542
|
+
type: "InputOutputParameterDefinition"
|
|
1543
|
+
}
|
|
1544
|
+
]
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
name: "InputOutputParameterDefinition",
|
|
1548
|
+
isAbstract: !0
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
name: "List",
|
|
1552
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
1553
|
+
properties: [{
|
|
1554
|
+
name: "items",
|
|
1555
|
+
isMany: !0,
|
|
1556
|
+
type: "InputOutputParameterDefinition"
|
|
1557
|
+
}]
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
name: "Map",
|
|
1561
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
1562
|
+
properties: [{
|
|
1563
|
+
name: "entries",
|
|
1564
|
+
isMany: !0,
|
|
1565
|
+
type: "Entry"
|
|
1566
|
+
}]
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
name: "Entry",
|
|
1570
|
+
properties: [
|
|
1571
|
+
{
|
|
1572
|
+
name: "key",
|
|
1573
|
+
isAttr: !0,
|
|
1574
|
+
type: "String"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
name: "value",
|
|
1578
|
+
isBody: !0,
|
|
1579
|
+
type: "String"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
name: "definition",
|
|
1583
|
+
type: "InputOutputParameterDefinition"
|
|
1584
|
+
}
|
|
1585
|
+
]
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
name: "Value",
|
|
1589
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
1590
|
+
properties: [
|
|
1591
|
+
{
|
|
1592
|
+
name: "id",
|
|
1593
|
+
isAttr: !0,
|
|
1594
|
+
type: "String"
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
name: "name",
|
|
1598
|
+
isAttr: !0,
|
|
1599
|
+
type: "String"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
name: "value",
|
|
1603
|
+
isBody: !0,
|
|
1604
|
+
type: "String"
|
|
1605
|
+
}
|
|
1606
|
+
]
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
name: "Script",
|
|
1610
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
1611
|
+
properties: [
|
|
1612
|
+
{
|
|
1613
|
+
name: "scriptFormat",
|
|
1614
|
+
isAttr: !0,
|
|
1615
|
+
type: "String"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
name: "resource",
|
|
1619
|
+
isAttr: !0,
|
|
1620
|
+
type: "String"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
name: "value",
|
|
1624
|
+
isBody: !0,
|
|
1625
|
+
type: "String"
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
name: "Field",
|
|
1631
|
+
superClass: ["Element"],
|
|
1632
|
+
meta: { allowedIn: [
|
|
1633
|
+
"camunda:ServiceTaskLike",
|
|
1634
|
+
"camunda:ExecutionListener",
|
|
1635
|
+
"camunda:TaskListener"
|
|
1636
|
+
] },
|
|
1637
|
+
properties: [
|
|
1638
|
+
{
|
|
1639
|
+
name: "name",
|
|
1640
|
+
isAttr: !0,
|
|
1641
|
+
type: "String"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
name: "expression",
|
|
1645
|
+
type: "String"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
name: "stringValue",
|
|
1649
|
+
isAttr: !0,
|
|
1650
|
+
type: "String"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
name: "string",
|
|
1654
|
+
type: "String"
|
|
1655
|
+
}
|
|
1656
|
+
]
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
name: "InputParameter",
|
|
1660
|
+
superClass: ["InputOutputParameter"]
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
name: "OutputParameter",
|
|
1664
|
+
superClass: ["InputOutputParameter"]
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
name: "Collectable",
|
|
1668
|
+
isAbstract: !0,
|
|
1669
|
+
extends: ["bpmn:MultiInstanceLoopCharacteristics"],
|
|
1670
|
+
superClass: ["camunda:AsyncCapable"],
|
|
1671
|
+
properties: [{
|
|
1672
|
+
name: "collection",
|
|
1673
|
+
isAttr: !0,
|
|
1674
|
+
type: "String"
|
|
1675
|
+
}, {
|
|
1676
|
+
name: "elementVariable",
|
|
1677
|
+
isAttr: !0,
|
|
1678
|
+
type: "String"
|
|
1679
|
+
}]
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
name: "FailedJobRetryTimeCycle",
|
|
1683
|
+
superClass: ["Element"],
|
|
1684
|
+
meta: { allowedIn: ["camunda:AsyncCapable", "bpmn:MultiInstanceLoopCharacteristics"] },
|
|
1685
|
+
properties: [{
|
|
1686
|
+
name: "body",
|
|
1687
|
+
isBody: !0,
|
|
1688
|
+
type: "String"
|
|
1689
|
+
}]
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
name: "ExecutionListener",
|
|
1693
|
+
superClass: ["Element"],
|
|
1694
|
+
meta: { allowedIn: [
|
|
1695
|
+
"bpmn:Task",
|
|
1696
|
+
"bpmn:ServiceTask",
|
|
1697
|
+
"bpmn:UserTask",
|
|
1698
|
+
"bpmn:BusinessRuleTask",
|
|
1699
|
+
"bpmn:ScriptTask",
|
|
1700
|
+
"bpmn:ReceiveTask",
|
|
1701
|
+
"bpmn:ManualTask",
|
|
1702
|
+
"bpmn:ExclusiveGateway",
|
|
1703
|
+
"bpmn:SequenceFlow",
|
|
1704
|
+
"bpmn:ParallelGateway",
|
|
1705
|
+
"bpmn:InclusiveGateway",
|
|
1706
|
+
"bpmn:EventBasedGateway",
|
|
1707
|
+
"bpmn:StartEvent",
|
|
1708
|
+
"bpmn:IntermediateCatchEvent",
|
|
1709
|
+
"bpmn:IntermediateThrowEvent",
|
|
1710
|
+
"bpmn:EndEvent",
|
|
1711
|
+
"bpmn:BoundaryEvent",
|
|
1712
|
+
"bpmn:CallActivity",
|
|
1713
|
+
"bpmn:SubProcess",
|
|
1714
|
+
"bpmn:Process"
|
|
1715
|
+
] },
|
|
1716
|
+
properties: [
|
|
1717
|
+
{
|
|
1718
|
+
name: "expression",
|
|
1719
|
+
isAttr: !0,
|
|
1720
|
+
type: "String"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
name: "class",
|
|
1724
|
+
isAttr: !0,
|
|
1725
|
+
type: "String"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
name: "delegateExpression",
|
|
1729
|
+
isAttr: !0,
|
|
1730
|
+
type: "String"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
name: "event",
|
|
1734
|
+
isAttr: !0,
|
|
1735
|
+
type: "String"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
name: "script",
|
|
1739
|
+
type: "Script"
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
name: "fields",
|
|
1743
|
+
type: "Field",
|
|
1744
|
+
isMany: !0
|
|
1745
|
+
}
|
|
1746
|
+
]
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
name: "TaskListener",
|
|
1750
|
+
superClass: ["Element"],
|
|
1751
|
+
meta: { allowedIn: ["bpmn:UserTask"] },
|
|
1752
|
+
properties: [
|
|
1753
|
+
{
|
|
1754
|
+
name: "expression",
|
|
1755
|
+
isAttr: !0,
|
|
1756
|
+
type: "String"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
name: "class",
|
|
1760
|
+
isAttr: !0,
|
|
1761
|
+
type: "String"
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
name: "delegateExpression",
|
|
1765
|
+
isAttr: !0,
|
|
1766
|
+
type: "String"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
name: "event",
|
|
1770
|
+
isAttr: !0,
|
|
1771
|
+
type: "String"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
name: "script",
|
|
1775
|
+
type: "Script"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
name: "fields",
|
|
1779
|
+
type: "Field",
|
|
1780
|
+
isMany: !0
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
name: "id",
|
|
1784
|
+
type: "String",
|
|
1785
|
+
isAttr: !0
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
name: "eventDefinitions",
|
|
1789
|
+
type: "bpmn:TimerEventDefinition",
|
|
1790
|
+
isMany: !0
|
|
1791
|
+
}
|
|
1792
|
+
]
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
name: "FormProperty",
|
|
1796
|
+
superClass: ["Element"],
|
|
1797
|
+
meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
|
|
1798
|
+
properties: [
|
|
1799
|
+
{
|
|
1800
|
+
name: "id",
|
|
1801
|
+
type: "String",
|
|
1802
|
+
isAttr: !0
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
name: "name",
|
|
1806
|
+
type: "String",
|
|
1807
|
+
isAttr: !0
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
name: "type",
|
|
1811
|
+
type: "String",
|
|
1812
|
+
isAttr: !0
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
name: "required",
|
|
1816
|
+
type: "String",
|
|
1817
|
+
isAttr: !0
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
name: "readable",
|
|
1821
|
+
type: "String",
|
|
1822
|
+
isAttr: !0
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
name: "writable",
|
|
1826
|
+
type: "String",
|
|
1827
|
+
isAttr: !0
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
name: "variable",
|
|
1831
|
+
type: "String",
|
|
1832
|
+
isAttr: !0
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
name: "expression",
|
|
1836
|
+
type: "String",
|
|
1837
|
+
isAttr: !0
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
name: "datePattern",
|
|
1841
|
+
type: "String",
|
|
1842
|
+
isAttr: !0
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
name: "default",
|
|
1846
|
+
type: "String",
|
|
1847
|
+
isAttr: !0
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
name: "values",
|
|
1851
|
+
type: "Value",
|
|
1852
|
+
isMany: !0
|
|
1853
|
+
}
|
|
1854
|
+
]
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
name: "FormData",
|
|
1858
|
+
superClass: ["Element"],
|
|
1859
|
+
meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
|
|
1860
|
+
properties: [{
|
|
1861
|
+
name: "fields",
|
|
1862
|
+
type: "FormField",
|
|
1863
|
+
isMany: !0
|
|
1864
|
+
}, {
|
|
1865
|
+
name: "businessKey",
|
|
1866
|
+
type: "String",
|
|
1867
|
+
isAttr: !0
|
|
1868
|
+
}]
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
name: "FormField",
|
|
1872
|
+
superClass: ["Element"],
|
|
1873
|
+
properties: [
|
|
1874
|
+
{
|
|
1875
|
+
name: "id",
|
|
1876
|
+
type: "String",
|
|
1877
|
+
isAttr: !0
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
name: "label",
|
|
1881
|
+
type: "String",
|
|
1882
|
+
isAttr: !0
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
name: "type",
|
|
1886
|
+
type: "String",
|
|
1887
|
+
isAttr: !0
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
name: "datePattern",
|
|
1891
|
+
type: "String",
|
|
1892
|
+
isAttr: !0
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
name: "defaultValue",
|
|
1896
|
+
type: "String",
|
|
1897
|
+
isAttr: !0
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
name: "properties",
|
|
1901
|
+
type: "Properties"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
name: "validation",
|
|
1905
|
+
type: "Validation"
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
name: "values",
|
|
1909
|
+
type: "Value",
|
|
1910
|
+
isMany: !0
|
|
1911
|
+
}
|
|
1912
|
+
]
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
name: "Validation",
|
|
1916
|
+
superClass: ["Element"],
|
|
1917
|
+
properties: [{
|
|
1918
|
+
name: "constraints",
|
|
1919
|
+
type: "Constraint",
|
|
1920
|
+
isMany: !0
|
|
1921
|
+
}]
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
name: "Constraint",
|
|
1925
|
+
superClass: ["Element"],
|
|
1926
|
+
properties: [{
|
|
1927
|
+
name: "name",
|
|
1928
|
+
type: "String",
|
|
1929
|
+
isAttr: !0
|
|
1930
|
+
}, {
|
|
1931
|
+
name: "config",
|
|
1932
|
+
type: "String",
|
|
1933
|
+
isAttr: !0
|
|
1934
|
+
}]
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
name: "ConditionalEventDefinition",
|
|
1938
|
+
isAbstract: !0,
|
|
1939
|
+
extends: ["bpmn:ConditionalEventDefinition"],
|
|
1940
|
+
properties: [{
|
|
1941
|
+
name: "variableName",
|
|
1942
|
+
isAttr: !0,
|
|
1943
|
+
type: "String"
|
|
1944
|
+
}, {
|
|
1945
|
+
name: "variableEvents",
|
|
1946
|
+
isAttr: !0,
|
|
1947
|
+
type: "String"
|
|
1948
|
+
}]
|
|
1949
|
+
}
|
|
1950
|
+
],
|
|
1951
|
+
emumerations: []
|
|
1952
|
+
}, Ke = {
|
|
1953
|
+
name: "Activiti",
|
|
1954
|
+
uri: "http://activiti.org/bpmn",
|
|
1955
|
+
prefix: "activiti",
|
|
1956
|
+
xml: { tagAlias: "lowerCase" },
|
|
1957
|
+
associations: [],
|
|
1958
|
+
types: [
|
|
1959
|
+
{
|
|
1960
|
+
name: "Definitions",
|
|
1961
|
+
isAbstract: !0,
|
|
1962
|
+
extends: ["bpmn:Definitions"],
|
|
1963
|
+
properties: [{
|
|
1964
|
+
name: "diagramRelationId",
|
|
1965
|
+
isAttr: !0,
|
|
1966
|
+
type: "String"
|
|
1967
|
+
}]
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
name: "InOutBinding",
|
|
1971
|
+
superClass: ["Element"],
|
|
1972
|
+
isAbstract: !0,
|
|
1973
|
+
properties: [
|
|
1974
|
+
{
|
|
1975
|
+
name: "source",
|
|
1976
|
+
isAttr: !0,
|
|
1977
|
+
type: "String"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
name: "sourceExpression",
|
|
1981
|
+
isAttr: !0,
|
|
1982
|
+
type: "String"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
name: "target",
|
|
1986
|
+
isAttr: !0,
|
|
1987
|
+
type: "String"
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
name: "businessKey",
|
|
1991
|
+
isAttr: !0,
|
|
1992
|
+
type: "String"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
name: "local",
|
|
1996
|
+
isAttr: !0,
|
|
1997
|
+
type: "Boolean",
|
|
1998
|
+
default: !1
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
name: "variables",
|
|
2002
|
+
isAttr: !0,
|
|
2003
|
+
type: "String"
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
name: "In",
|
|
2009
|
+
superClass: ["InOutBinding"],
|
|
2010
|
+
meta: { allowedIn: ["bpmn:CallActivity"] }
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
name: "Out",
|
|
2014
|
+
superClass: ["InOutBinding"],
|
|
2015
|
+
meta: { allowedIn: ["bpmn:CallActivity"] }
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
name: "AsyncCapable",
|
|
2019
|
+
isAbstract: !0,
|
|
2020
|
+
extends: [
|
|
2021
|
+
"bpmn:Activity",
|
|
2022
|
+
"bpmn:Gateway",
|
|
2023
|
+
"bpmn:Event"
|
|
2024
|
+
],
|
|
2025
|
+
properties: [
|
|
2026
|
+
{
|
|
2027
|
+
name: "async",
|
|
2028
|
+
isAttr: !0,
|
|
2029
|
+
type: "Boolean",
|
|
2030
|
+
default: !1
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
name: "asyncBefore",
|
|
2034
|
+
isAttr: !0,
|
|
2035
|
+
type: "Boolean",
|
|
2036
|
+
default: !1
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
name: "asyncAfter",
|
|
2040
|
+
isAttr: !0,
|
|
2041
|
+
type: "Boolean",
|
|
2042
|
+
default: !1
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
name: "exclusive",
|
|
2046
|
+
isAttr: !0,
|
|
2047
|
+
type: "Boolean",
|
|
2048
|
+
default: !0
|
|
2049
|
+
}
|
|
2050
|
+
]
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
name: "JobPriorized",
|
|
2054
|
+
isAbstract: !0,
|
|
2055
|
+
extends: ["bpmn:Process", "activiti:AsyncCapable"],
|
|
2056
|
+
properties: [{
|
|
2057
|
+
name: "jobPriority",
|
|
2058
|
+
isAttr: !0,
|
|
2059
|
+
type: "String"
|
|
2060
|
+
}]
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
name: "SignalEventDefinition",
|
|
2064
|
+
isAbstract: !0,
|
|
2065
|
+
extends: ["bpmn:SignalEventDefinition"],
|
|
2066
|
+
properties: [{
|
|
2067
|
+
name: "async",
|
|
2068
|
+
isAttr: !0,
|
|
2069
|
+
type: "Boolean",
|
|
2070
|
+
default: !1
|
|
2071
|
+
}]
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
name: "ErrorEventDefinition",
|
|
2075
|
+
isAbstract: !0,
|
|
2076
|
+
extends: ["bpmn:ErrorEventDefinition"],
|
|
2077
|
+
properties: [{
|
|
2078
|
+
name: "errorCodeVariable",
|
|
2079
|
+
isAttr: !0,
|
|
2080
|
+
type: "String"
|
|
2081
|
+
}, {
|
|
2082
|
+
name: "errorMessageVariable",
|
|
2083
|
+
isAttr: !0,
|
|
2084
|
+
type: "String"
|
|
2085
|
+
}]
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
name: "Error",
|
|
2089
|
+
isAbstract: !0,
|
|
2090
|
+
extends: ["bpmn:Error"],
|
|
2091
|
+
properties: [{
|
|
2092
|
+
name: "activiti:errorMessage",
|
|
2093
|
+
isAttr: !0,
|
|
2094
|
+
type: "String"
|
|
2095
|
+
}]
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
name: "PotentialStarter",
|
|
2099
|
+
superClass: ["Element"],
|
|
2100
|
+
properties: [{
|
|
2101
|
+
name: "resourceAssignmentExpression",
|
|
2102
|
+
type: "bpmn:ResourceAssignmentExpression"
|
|
2103
|
+
}]
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
name: "FormSupported",
|
|
2107
|
+
isAbstract: !0,
|
|
2108
|
+
extends: ["bpmn:StartEvent", "bpmn:UserTask"],
|
|
2109
|
+
properties: [{
|
|
2110
|
+
name: "formHandlerClass",
|
|
2111
|
+
isAttr: !0,
|
|
2112
|
+
type: "String"
|
|
2113
|
+
}, {
|
|
2114
|
+
name: "formKey",
|
|
2115
|
+
isAttr: !0,
|
|
2116
|
+
type: "String"
|
|
2117
|
+
}]
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
name: "TemplateSupported",
|
|
2121
|
+
isAbstract: !0,
|
|
2122
|
+
extends: ["bpmn:Process", "bpmn:FlowElement"],
|
|
2123
|
+
properties: [{
|
|
2124
|
+
name: "modelerTemplate",
|
|
2125
|
+
isAttr: !0,
|
|
2126
|
+
type: "String"
|
|
2127
|
+
}]
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
name: "Initiator",
|
|
2131
|
+
isAbstract: !0,
|
|
2132
|
+
extends: ["bpmn:StartEvent"],
|
|
2133
|
+
properties: [{
|
|
2134
|
+
name: "initiator",
|
|
2135
|
+
isAttr: !0,
|
|
2136
|
+
type: "String"
|
|
2137
|
+
}]
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
name: "ScriptTask",
|
|
2141
|
+
isAbstract: !0,
|
|
2142
|
+
extends: ["bpmn:ScriptTask"],
|
|
2143
|
+
properties: [{
|
|
2144
|
+
name: "resultVariable",
|
|
2145
|
+
isAttr: !0,
|
|
2146
|
+
type: "String"
|
|
2147
|
+
}, {
|
|
2148
|
+
name: "resource",
|
|
2149
|
+
isAttr: !0,
|
|
2150
|
+
type: "String"
|
|
2151
|
+
}]
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
name: "Process",
|
|
2155
|
+
isAbstract: !0,
|
|
2156
|
+
extends: ["bpmn:Process"],
|
|
2157
|
+
properties: [
|
|
2158
|
+
{
|
|
2159
|
+
name: "candidateStarterGroups",
|
|
2160
|
+
isAttr: !0,
|
|
2161
|
+
type: "String"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
name: "candidateStarterUsers",
|
|
2165
|
+
isAttr: !0,
|
|
2166
|
+
type: "String"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
name: "versionTag",
|
|
2170
|
+
isAttr: !0,
|
|
2171
|
+
type: "String"
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
name: "historyTimeToLive",
|
|
2175
|
+
isAttr: !0,
|
|
2176
|
+
type: "String"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
name: "isStartableInTasklist",
|
|
2180
|
+
isAttr: !0,
|
|
2181
|
+
type: "Boolean",
|
|
2182
|
+
default: !0
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
name: "executionListener",
|
|
2186
|
+
isAbstract: !0,
|
|
2187
|
+
type: "Expression"
|
|
2188
|
+
}
|
|
2189
|
+
]
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
name: "EscalationEventDefinition",
|
|
2193
|
+
isAbstract: !0,
|
|
2194
|
+
extends: ["bpmn:EscalationEventDefinition"],
|
|
2195
|
+
properties: [{
|
|
2196
|
+
name: "escalationCodeVariable",
|
|
2197
|
+
isAttr: !0,
|
|
2198
|
+
type: "String"
|
|
2199
|
+
}]
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
name: "FormalExpression",
|
|
2203
|
+
isAbstract: !0,
|
|
2204
|
+
extends: ["bpmn:FormalExpression"],
|
|
2205
|
+
properties: [{
|
|
2206
|
+
name: "resource",
|
|
2207
|
+
isAttr: !0,
|
|
2208
|
+
type: "String"
|
|
2209
|
+
}]
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
name: "multiinstance_type",
|
|
2213
|
+
superClass: ["Element"]
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
name: "multiinstance_condition",
|
|
2217
|
+
superClass: ["Element"]
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
name: "Assignable",
|
|
2221
|
+
extends: ["bpmn:UserTask"],
|
|
2222
|
+
properties: [
|
|
2223
|
+
{
|
|
2224
|
+
name: "assignee",
|
|
2225
|
+
isAttr: !0,
|
|
2226
|
+
type: "String"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
name: "candidateUsers",
|
|
2230
|
+
isAttr: !0,
|
|
2231
|
+
type: "String"
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
name: "candidateGroups",
|
|
2235
|
+
isAttr: !0,
|
|
2236
|
+
type: "String"
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
name: "dueDate",
|
|
2240
|
+
isAttr: !0,
|
|
2241
|
+
type: "String"
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
name: "followUpDate",
|
|
2245
|
+
isAttr: !0,
|
|
2246
|
+
type: "String"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
name: "priority",
|
|
2250
|
+
isAttr: !0,
|
|
2251
|
+
type: "String"
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
name: "multiinstance_condition",
|
|
2255
|
+
isAttr: !0,
|
|
2256
|
+
type: "String"
|
|
2257
|
+
},
|
|
2258
|
+
...J
|
|
2259
|
+
]
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
name: "CallActivity",
|
|
2263
|
+
extends: ["bpmn:CallActivity"],
|
|
2264
|
+
properties: [
|
|
2265
|
+
{
|
|
2266
|
+
name: "calledElementBinding",
|
|
2267
|
+
isAttr: !0,
|
|
2268
|
+
type: "String",
|
|
2269
|
+
default: "latest"
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
name: "calledElementVersion",
|
|
2273
|
+
isAttr: !0,
|
|
2274
|
+
type: "String"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
name: "calledElementVersionTag",
|
|
2278
|
+
isAttr: !0,
|
|
2279
|
+
type: "String"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
name: "calledElementTenantId",
|
|
2283
|
+
isAttr: !0,
|
|
2284
|
+
type: "String"
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
name: "caseRef",
|
|
2288
|
+
isAttr: !0,
|
|
2289
|
+
type: "String"
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
name: "caseBinding",
|
|
2293
|
+
isAttr: !0,
|
|
2294
|
+
type: "String",
|
|
2295
|
+
default: "latest"
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
name: "caseVersion",
|
|
2299
|
+
isAttr: !0,
|
|
2300
|
+
type: "String"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
name: "caseTenantId",
|
|
2304
|
+
isAttr: !0,
|
|
2305
|
+
type: "String"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
name: "variableMappingClass",
|
|
2309
|
+
isAttr: !0,
|
|
2310
|
+
type: "String"
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
name: "variableMappingDelegateExpression",
|
|
2314
|
+
isAttr: !0,
|
|
2315
|
+
type: "String"
|
|
2316
|
+
}
|
|
2317
|
+
]
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
name: "ServiceTaskLike",
|
|
2321
|
+
extends: [
|
|
2322
|
+
"bpmn:ServiceTask",
|
|
2323
|
+
"bpmn:BusinessRuleTask",
|
|
2324
|
+
"bpmn:SendTask",
|
|
2325
|
+
"bpmn:MessageEventDefinition"
|
|
2326
|
+
],
|
|
2327
|
+
properties: [
|
|
2328
|
+
{
|
|
2329
|
+
name: "expression",
|
|
2330
|
+
isAttr: !0,
|
|
2331
|
+
type: "String"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
name: "class",
|
|
2335
|
+
isAttr: !0,
|
|
2336
|
+
type: "String"
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
name: "delegateExpression",
|
|
2340
|
+
isAttr: !0,
|
|
2341
|
+
type: "String"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
name: "resultVariable",
|
|
2345
|
+
isAttr: !0,
|
|
2346
|
+
type: "String"
|
|
2347
|
+
}
|
|
2348
|
+
]
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
name: "DmnCapable",
|
|
2352
|
+
extends: ["bpmn:BusinessRuleTask"],
|
|
2353
|
+
properties: [
|
|
2354
|
+
{
|
|
2355
|
+
name: "decisionRef",
|
|
2356
|
+
isAttr: !0,
|
|
2357
|
+
type: "String"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
name: "decisionRefBinding",
|
|
2361
|
+
isAttr: !0,
|
|
2362
|
+
type: "String",
|
|
2363
|
+
default: "latest"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
name: "decisionRefVersion",
|
|
2367
|
+
isAttr: !0,
|
|
2368
|
+
type: "String"
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
name: "mapDecisionResult",
|
|
2372
|
+
isAttr: !0,
|
|
2373
|
+
type: "String",
|
|
2374
|
+
default: "resultList"
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
name: "decisionRefTenantId",
|
|
2378
|
+
isAttr: !0,
|
|
2379
|
+
type: "String"
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
name: "ExternalCapable",
|
|
2385
|
+
extends: ["activiti:ServiceTaskLike"],
|
|
2386
|
+
properties: [{
|
|
2387
|
+
name: "type",
|
|
2388
|
+
isAttr: !0,
|
|
2389
|
+
type: "String"
|
|
2390
|
+
}, {
|
|
2391
|
+
name: "topic",
|
|
2392
|
+
isAttr: !0,
|
|
2393
|
+
type: "String"
|
|
2394
|
+
}]
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
name: "TaskPriorized",
|
|
2398
|
+
extends: ["bpmn:Process", "activiti:ExternalCapable"],
|
|
2399
|
+
properties: [{
|
|
2400
|
+
name: "taskPriority",
|
|
2401
|
+
isAttr: !0,
|
|
2402
|
+
type: "String"
|
|
2403
|
+
}]
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
name: "Properties",
|
|
2407
|
+
superClass: ["Element"],
|
|
2408
|
+
meta: { allowedIn: ["*"] },
|
|
2409
|
+
properties: [{
|
|
2410
|
+
name: "values",
|
|
2411
|
+
type: "Property",
|
|
2412
|
+
isMany: !0
|
|
2413
|
+
}]
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
name: "Property",
|
|
2417
|
+
superClass: ["Element"],
|
|
2418
|
+
properties: [
|
|
2419
|
+
{
|
|
2420
|
+
name: "id",
|
|
2421
|
+
type: "String",
|
|
2422
|
+
isAttr: !0
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
name: "name",
|
|
2426
|
+
type: "String",
|
|
2427
|
+
isAttr: !0
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
name: "value",
|
|
2431
|
+
type: "String",
|
|
2432
|
+
isAttr: !0
|
|
2433
|
+
}
|
|
2434
|
+
]
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
name: "Connector",
|
|
2438
|
+
superClass: ["Element"],
|
|
2439
|
+
meta: { allowedIn: ["activiti:ServiceTaskLike"] },
|
|
2440
|
+
properties: [{
|
|
2441
|
+
name: "inputOutput",
|
|
2442
|
+
type: "InputOutput"
|
|
2443
|
+
}, {
|
|
2444
|
+
name: "connectorId",
|
|
2445
|
+
type: "String"
|
|
2446
|
+
}]
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
name: "InputOutput",
|
|
2450
|
+
superClass: ["Element"],
|
|
2451
|
+
meta: { allowedIn: ["bpmn:FlowNode", "activiti:Connector"] },
|
|
2452
|
+
properties: [
|
|
2453
|
+
{
|
|
2454
|
+
name: "inputOutput",
|
|
2455
|
+
type: "InputOutput"
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
name: "connectorId",
|
|
2459
|
+
type: "String"
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
name: "inputParameters",
|
|
2463
|
+
isMany: !0,
|
|
2464
|
+
type: "InputParameter"
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
name: "outputParameters",
|
|
2468
|
+
isMany: !0,
|
|
2469
|
+
type: "OutputParameter"
|
|
2470
|
+
}
|
|
2471
|
+
]
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
name: "InputOutputParameter",
|
|
2475
|
+
properties: [
|
|
2476
|
+
{
|
|
2477
|
+
name: "name",
|
|
2478
|
+
isAttr: !0,
|
|
2479
|
+
type: "String"
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
name: "value",
|
|
2483
|
+
isBody: !0,
|
|
2484
|
+
type: "String"
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
name: "definition",
|
|
2488
|
+
type: "InputOutputParameterDefinition"
|
|
2489
|
+
}
|
|
2490
|
+
]
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
name: "InputOutputParameterDefinition",
|
|
2494
|
+
isAbstract: !0
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
name: "List",
|
|
2498
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
2499
|
+
properties: [{
|
|
2500
|
+
name: "items",
|
|
2501
|
+
isMany: !0,
|
|
2502
|
+
type: "InputOutputParameterDefinition"
|
|
2503
|
+
}]
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
name: "Map",
|
|
2507
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
2508
|
+
properties: [{
|
|
2509
|
+
name: "entries",
|
|
2510
|
+
isMany: !0,
|
|
2511
|
+
type: "Entry"
|
|
2512
|
+
}]
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
name: "Entry",
|
|
2516
|
+
properties: [
|
|
2517
|
+
{
|
|
2518
|
+
name: "key",
|
|
2519
|
+
isAttr: !0,
|
|
2520
|
+
type: "String"
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
name: "value",
|
|
2524
|
+
isBody: !0,
|
|
2525
|
+
type: "String"
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
name: "definition",
|
|
2529
|
+
type: "InputOutputParameterDefinition"
|
|
2530
|
+
}
|
|
2531
|
+
]
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
name: "Value",
|
|
2535
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
2536
|
+
properties: [
|
|
2537
|
+
{
|
|
2538
|
+
name: "id",
|
|
2539
|
+
isAttr: !0,
|
|
2540
|
+
type: "String"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
name: "name",
|
|
2544
|
+
isAttr: !0,
|
|
2545
|
+
type: "String"
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
name: "value",
|
|
2549
|
+
isBody: !0,
|
|
2550
|
+
type: "String"
|
|
2551
|
+
}
|
|
2552
|
+
]
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
name: "Script",
|
|
2556
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
2557
|
+
properties: [
|
|
2558
|
+
{
|
|
2559
|
+
name: "scriptFormat",
|
|
2560
|
+
isAttr: !0,
|
|
2561
|
+
type: "String"
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
name: "resource",
|
|
2565
|
+
isAttr: !0,
|
|
2566
|
+
type: "String"
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
name: "value",
|
|
2570
|
+
isBody: !0,
|
|
2571
|
+
type: "String"
|
|
2572
|
+
}
|
|
2573
|
+
]
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
name: "Field",
|
|
2577
|
+
superClass: ["Element"],
|
|
2578
|
+
meta: { allowedIn: [
|
|
2579
|
+
"activiti:ServiceTaskLike",
|
|
2580
|
+
"activiti:ExecutionListener",
|
|
2581
|
+
"activiti:TaskListener"
|
|
2582
|
+
] },
|
|
2583
|
+
properties: [
|
|
2584
|
+
{
|
|
2585
|
+
name: "name",
|
|
2586
|
+
isAttr: !0,
|
|
2587
|
+
type: "String"
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
name: "expression",
|
|
2591
|
+
type: "String"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
name: "stringValue",
|
|
2595
|
+
isAttr: !0,
|
|
2596
|
+
type: "String"
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
name: "string",
|
|
2600
|
+
type: "String"
|
|
2601
|
+
}
|
|
2602
|
+
]
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
name: "InputParameter",
|
|
2606
|
+
superClass: ["InputOutputParameter"]
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
name: "OutputParameter",
|
|
2610
|
+
superClass: ["InputOutputParameter"]
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
name: "Collectable",
|
|
2614
|
+
isAbstract: !0,
|
|
2615
|
+
extends: ["bpmn:MultiInstanceLoopCharacteristics"],
|
|
2616
|
+
superClass: ["activiti:AsyncCapable"],
|
|
2617
|
+
properties: [{
|
|
2618
|
+
name: "collection",
|
|
2619
|
+
isAttr: !0,
|
|
2620
|
+
type: "String"
|
|
2621
|
+
}, {
|
|
2622
|
+
name: "elementVariable",
|
|
2623
|
+
isAttr: !0,
|
|
2624
|
+
type: "String"
|
|
2625
|
+
}]
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
name: "FailedJobRetryTimeCycle",
|
|
2629
|
+
superClass: ["Element"],
|
|
2630
|
+
meta: { allowedIn: ["activiti:AsyncCapable", "bpmn:MultiInstanceLoopCharacteristics"] },
|
|
2631
|
+
properties: [{
|
|
2632
|
+
name: "body",
|
|
2633
|
+
isBody: !0,
|
|
2634
|
+
type: "String"
|
|
2635
|
+
}]
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
name: "ExecutionListener",
|
|
2639
|
+
superClass: ["Element"],
|
|
2640
|
+
meta: { allowedIn: [
|
|
2641
|
+
"bpmn:Task",
|
|
2642
|
+
"bpmn:ServiceTask",
|
|
2643
|
+
"bpmn:UserTask",
|
|
2644
|
+
"bpmn:BusinessRuleTask",
|
|
2645
|
+
"bpmn:ScriptTask",
|
|
2646
|
+
"bpmn:ReceiveTask",
|
|
2647
|
+
"bpmn:ManualTask",
|
|
2648
|
+
"bpmn:ExclusiveGateway",
|
|
2649
|
+
"bpmn:SequenceFlow",
|
|
2650
|
+
"bpmn:ParallelGateway",
|
|
2651
|
+
"bpmn:InclusiveGateway",
|
|
2652
|
+
"bpmn:EventBasedGateway",
|
|
2653
|
+
"bpmn:StartEvent",
|
|
2654
|
+
"bpmn:IntermediateCatchEvent",
|
|
2655
|
+
"bpmn:IntermediateThrowEvent",
|
|
2656
|
+
"bpmn:EndEvent",
|
|
2657
|
+
"bpmn:BoundaryEvent",
|
|
2658
|
+
"bpmn:CallActivity",
|
|
2659
|
+
"bpmn:SubProcess",
|
|
2660
|
+
"bpmn:Process"
|
|
2661
|
+
] },
|
|
2662
|
+
properties: [
|
|
2663
|
+
{
|
|
2664
|
+
name: "expression",
|
|
2665
|
+
isAttr: !0,
|
|
2666
|
+
type: "String"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
name: "class",
|
|
2670
|
+
isAttr: !0,
|
|
2671
|
+
type: "String"
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
name: "delegateExpression",
|
|
2675
|
+
isAttr: !0,
|
|
2676
|
+
type: "String"
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
name: "event",
|
|
2680
|
+
isAttr: !0,
|
|
2681
|
+
type: "String"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
name: "script",
|
|
2685
|
+
type: "Script"
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
name: "fields",
|
|
2689
|
+
type: "Field",
|
|
2690
|
+
isMany: !0
|
|
2691
|
+
}
|
|
2692
|
+
]
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
name: "TaskListener",
|
|
2696
|
+
superClass: ["Element"],
|
|
2697
|
+
meta: { allowedIn: ["bpmn:UserTask"] },
|
|
2698
|
+
properties: [
|
|
2699
|
+
{
|
|
2700
|
+
name: "expression",
|
|
2701
|
+
isAttr: !0,
|
|
2702
|
+
type: "String"
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
name: "class",
|
|
2706
|
+
isAttr: !0,
|
|
2707
|
+
type: "String"
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
name: "delegateExpression",
|
|
2711
|
+
isAttr: !0,
|
|
2712
|
+
type: "String"
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
name: "event",
|
|
2716
|
+
isAttr: !0,
|
|
2717
|
+
type: "String"
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
name: "script",
|
|
2721
|
+
type: "Script"
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
name: "fields",
|
|
2725
|
+
type: "Field",
|
|
2726
|
+
isMany: !0
|
|
2727
|
+
}
|
|
2728
|
+
]
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
name: "FormProperty",
|
|
2732
|
+
superClass: ["Element"],
|
|
2733
|
+
meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
|
|
2734
|
+
properties: [
|
|
2735
|
+
{
|
|
2736
|
+
name: "id",
|
|
2737
|
+
type: "String",
|
|
2738
|
+
isAttr: !0
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
name: "name",
|
|
2742
|
+
type: "String",
|
|
2743
|
+
isAttr: !0
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
name: "type",
|
|
2747
|
+
type: "String",
|
|
2748
|
+
isAttr: !0
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
name: "required",
|
|
2752
|
+
type: "String",
|
|
2753
|
+
isAttr: !0
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
name: "readable",
|
|
2757
|
+
type: "String",
|
|
2758
|
+
isAttr: !0
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
name: "writable",
|
|
2762
|
+
type: "String",
|
|
2763
|
+
isAttr: !0
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
name: "variable",
|
|
2767
|
+
type: "String",
|
|
2768
|
+
isAttr: !0
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
name: "expression",
|
|
2772
|
+
type: "String",
|
|
2773
|
+
isAttr: !0
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
name: "datePattern",
|
|
2777
|
+
type: "String",
|
|
2778
|
+
isAttr: !0
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
name: "default",
|
|
2782
|
+
type: "String",
|
|
2783
|
+
isAttr: !0
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
name: "values",
|
|
2787
|
+
type: "Value",
|
|
2788
|
+
isMany: !0
|
|
2789
|
+
}
|
|
2790
|
+
]
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
name: "FormProperty",
|
|
2794
|
+
superClass: ["Element"],
|
|
2795
|
+
properties: [
|
|
2796
|
+
{
|
|
2797
|
+
name: "id",
|
|
2798
|
+
type: "String",
|
|
2799
|
+
isAttr: !0
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
name: "label",
|
|
2803
|
+
type: "String",
|
|
2804
|
+
isAttr: !0
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
name: "type",
|
|
2808
|
+
type: "String",
|
|
2809
|
+
isAttr: !0
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
name: "datePattern",
|
|
2813
|
+
type: "String",
|
|
2814
|
+
isAttr: !0
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
name: "defaultValue",
|
|
2818
|
+
type: "String",
|
|
2819
|
+
isAttr: !0
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
name: "properties",
|
|
2823
|
+
type: "Properties"
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
name: "validation",
|
|
2827
|
+
type: "Validation"
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
name: "values",
|
|
2831
|
+
type: "Value",
|
|
2832
|
+
isMany: !0
|
|
2833
|
+
}
|
|
2834
|
+
]
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
name: "Validation",
|
|
2838
|
+
superClass: ["Element"],
|
|
2839
|
+
properties: [{
|
|
2840
|
+
name: "constraints",
|
|
2841
|
+
type: "Constraint",
|
|
2842
|
+
isMany: !0
|
|
2843
|
+
}]
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
name: "Constraint",
|
|
2847
|
+
superClass: ["Element"],
|
|
2848
|
+
properties: [{
|
|
2849
|
+
name: "name",
|
|
2850
|
+
type: "String",
|
|
2851
|
+
isAttr: !0
|
|
2852
|
+
}, {
|
|
2853
|
+
name: "config",
|
|
2854
|
+
type: "String",
|
|
2855
|
+
isAttr: !0
|
|
2856
|
+
}]
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
name: "ConditionalEventDefinition",
|
|
2860
|
+
isAbstract: !0,
|
|
2861
|
+
extends: ["bpmn:ConditionalEventDefinition"],
|
|
2862
|
+
properties: [{
|
|
2863
|
+
name: "variableName",
|
|
2864
|
+
isAttr: !0,
|
|
2865
|
+
type: "String"
|
|
2866
|
+
}, {
|
|
2867
|
+
name: "variableEvent",
|
|
2868
|
+
isAttr: !0,
|
|
2869
|
+
type: "String"
|
|
2870
|
+
}]
|
|
2871
|
+
}
|
|
2872
|
+
],
|
|
2873
|
+
emumerations: []
|
|
2874
|
+
}, qe = {
|
|
2875
|
+
name: "Flowable",
|
|
2876
|
+
uri: "http://flowable.org/bpmn",
|
|
2877
|
+
prefix: "flowable",
|
|
2878
|
+
xml: { tagAlias: "lowerCase" },
|
|
2879
|
+
associations: [],
|
|
2880
|
+
emumerations: [],
|
|
2881
|
+
types: [
|
|
2882
|
+
{
|
|
2883
|
+
name: "InOutBinding",
|
|
2884
|
+
superClass: ["Element"],
|
|
2885
|
+
isAbstract: !0,
|
|
2886
|
+
properties: [
|
|
2887
|
+
{
|
|
2888
|
+
name: "source",
|
|
2889
|
+
isAttr: !0,
|
|
2890
|
+
type: "String"
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
name: "sourceExpression",
|
|
2894
|
+
isAttr: !0,
|
|
2895
|
+
type: "String"
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
name: "target",
|
|
2899
|
+
isAttr: !0,
|
|
2900
|
+
type: "String"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
name: "businessKey",
|
|
2904
|
+
isAttr: !0,
|
|
2905
|
+
type: "String"
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
name: "local",
|
|
2909
|
+
isAttr: !0,
|
|
2910
|
+
type: "Boolean",
|
|
2911
|
+
default: !1
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
name: "variables",
|
|
2915
|
+
isAttr: !0,
|
|
2916
|
+
type: "String"
|
|
2917
|
+
}
|
|
2918
|
+
]
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
name: "In",
|
|
2922
|
+
superClass: ["InOutBinding"],
|
|
2923
|
+
meta: { allowedIn: ["bpmn:CallActivity"] }
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
name: "Out",
|
|
2927
|
+
superClass: ["InOutBinding"],
|
|
2928
|
+
meta: { allowedIn: ["bpmn:CallActivity"] }
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
name: "AsyncCapable",
|
|
2932
|
+
isAbstract: !0,
|
|
2933
|
+
extends: [
|
|
2934
|
+
"bpmn:Activity",
|
|
2935
|
+
"bpmn:Gateway",
|
|
2936
|
+
"bpmn:Event"
|
|
2937
|
+
],
|
|
2938
|
+
properties: [
|
|
2939
|
+
{
|
|
2940
|
+
name: "async",
|
|
2941
|
+
isAttr: !0,
|
|
2942
|
+
type: "Boolean",
|
|
2943
|
+
default: !1
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
name: "asyncBefore",
|
|
2947
|
+
isAttr: !0,
|
|
2948
|
+
type: "Boolean",
|
|
2949
|
+
default: !1
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
name: "asyncAfter",
|
|
2953
|
+
isAttr: !0,
|
|
2954
|
+
type: "Boolean",
|
|
2955
|
+
default: !1
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
name: "exclusive",
|
|
2959
|
+
isAttr: !0,
|
|
2960
|
+
type: "Boolean",
|
|
2961
|
+
default: !0
|
|
2962
|
+
}
|
|
2963
|
+
]
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
name: "JobPriorized",
|
|
2967
|
+
isAbstract: !0,
|
|
2968
|
+
extends: ["bpmn:Process", "flowable:AsyncCapable"],
|
|
2969
|
+
properties: [{
|
|
2970
|
+
name: "jobPriority",
|
|
2971
|
+
isAttr: !0,
|
|
2972
|
+
type: "String"
|
|
2973
|
+
}]
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
name: "SignalEventDefinition",
|
|
2977
|
+
isAbstract: !0,
|
|
2978
|
+
extends: ["bpmn:SignalEventDefinition"],
|
|
2979
|
+
properties: [{
|
|
2980
|
+
name: "async",
|
|
2981
|
+
isAttr: !0,
|
|
2982
|
+
type: "Boolean",
|
|
2983
|
+
default: !1
|
|
2984
|
+
}]
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
name: "ErrorEventDefinition",
|
|
2988
|
+
isAbstract: !0,
|
|
2989
|
+
extends: ["bpmn:ErrorEventDefinition"],
|
|
2990
|
+
properties: [{
|
|
2991
|
+
name: "errorCodeVariable",
|
|
2992
|
+
isAttr: !0,
|
|
2993
|
+
type: "String"
|
|
2994
|
+
}, {
|
|
2995
|
+
name: "errorMessageVariable",
|
|
2996
|
+
isAttr: !0,
|
|
2997
|
+
type: "String"
|
|
2998
|
+
}]
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
name: "Error",
|
|
3002
|
+
isAbstract: !0,
|
|
3003
|
+
extends: ["bpmn:Error"],
|
|
3004
|
+
properties: [{
|
|
3005
|
+
name: "flowable:errorMessage",
|
|
3006
|
+
isAttr: !0,
|
|
3007
|
+
type: "String"
|
|
3008
|
+
}]
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
name: "PotentialStarter",
|
|
3012
|
+
superClass: ["Element"],
|
|
3013
|
+
properties: [{
|
|
3014
|
+
name: "resourceAssignmentExpression",
|
|
3015
|
+
type: "bpmn:ResourceAssignmentExpression"
|
|
3016
|
+
}]
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
name: "FormSupported",
|
|
3020
|
+
isAbstract: !0,
|
|
3021
|
+
extends: ["bpmn:StartEvent", "bpmn:UserTask"],
|
|
3022
|
+
properties: [
|
|
3023
|
+
{
|
|
3024
|
+
name: "formHandlerClass",
|
|
3025
|
+
isAttr: !0,
|
|
3026
|
+
type: "String"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
name: "formKey",
|
|
3030
|
+
isAttr: !0,
|
|
3031
|
+
type: "String"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
name: "formType",
|
|
3035
|
+
isAttr: !0,
|
|
3036
|
+
type: "String"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
name: "formReadOnly",
|
|
3040
|
+
isAttr: !0,
|
|
3041
|
+
type: "Boolean",
|
|
3042
|
+
default: !1
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
name: "formInit",
|
|
3046
|
+
isAttr: !0,
|
|
3047
|
+
type: "Boolean",
|
|
3048
|
+
default: !0
|
|
3049
|
+
}
|
|
3050
|
+
]
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
name: "TemplateSupported",
|
|
3054
|
+
isAbstract: !0,
|
|
3055
|
+
extends: ["bpmn:Process", "bpmn:FlowElement"],
|
|
3056
|
+
properties: [{
|
|
3057
|
+
name: "modelerTemplate",
|
|
3058
|
+
isAttr: !0,
|
|
3059
|
+
type: "String"
|
|
3060
|
+
}]
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
name: "Initiator",
|
|
3064
|
+
isAbstract: !0,
|
|
3065
|
+
extends: ["bpmn:StartEvent"],
|
|
3066
|
+
properties: [{
|
|
3067
|
+
name: "initiator",
|
|
3068
|
+
isAttr: !0,
|
|
3069
|
+
type: "String"
|
|
3070
|
+
}]
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
name: "ScriptTask",
|
|
3074
|
+
isAbstract: !0,
|
|
3075
|
+
extends: ["bpmn:ScriptTask"],
|
|
3076
|
+
properties: [{
|
|
3077
|
+
name: "resultVariable",
|
|
3078
|
+
isAttr: !0,
|
|
3079
|
+
type: "String"
|
|
3080
|
+
}, {
|
|
3081
|
+
name: "resource",
|
|
3082
|
+
isAttr: !0,
|
|
3083
|
+
type: "String"
|
|
3084
|
+
}]
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
name: "Process",
|
|
3088
|
+
isAbstract: !0,
|
|
3089
|
+
extends: ["bpmn:Process"],
|
|
3090
|
+
properties: [
|
|
3091
|
+
{
|
|
3092
|
+
name: "candidateStarterGroups",
|
|
3093
|
+
isAttr: !0,
|
|
3094
|
+
type: "String"
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
name: "candidateStarterUsers",
|
|
3098
|
+
isAttr: !0,
|
|
3099
|
+
type: "String"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
name: "versionTag",
|
|
3103
|
+
isAttr: !0,
|
|
3104
|
+
type: "String"
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
name: "historyTimeToLive",
|
|
3108
|
+
isAttr: !0,
|
|
3109
|
+
type: "String"
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
name: "isStartableInTasklist",
|
|
3113
|
+
isAttr: !0,
|
|
3114
|
+
type: "Boolean",
|
|
3115
|
+
default: !0
|
|
3116
|
+
}
|
|
3117
|
+
]
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
name: "EscalationEventDefinition",
|
|
3121
|
+
isAbstract: !0,
|
|
3122
|
+
extends: ["bpmn:EscalationEventDefinition"],
|
|
3123
|
+
properties: [{
|
|
3124
|
+
name: "escalationCodeVariable",
|
|
3125
|
+
isAttr: !0,
|
|
3126
|
+
type: "String"
|
|
3127
|
+
}]
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
name: "FormalExpression",
|
|
3131
|
+
isAbstract: !0,
|
|
3132
|
+
extends: ["bpmn:FormalExpression"],
|
|
3133
|
+
properties: [{
|
|
3134
|
+
name: "resource",
|
|
3135
|
+
isAttr: !0,
|
|
3136
|
+
type: "String"
|
|
3137
|
+
}]
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
name: "Assignable",
|
|
3141
|
+
extends: ["bpmn:UserTask"],
|
|
3142
|
+
properties: [
|
|
3143
|
+
{
|
|
3144
|
+
name: "assignee",
|
|
3145
|
+
isAttr: !0,
|
|
3146
|
+
type: "String"
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
name: "candidateUsers",
|
|
3150
|
+
isAttr: !0,
|
|
3151
|
+
type: "String"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
name: "candidateGroups",
|
|
3155
|
+
isAttr: !0,
|
|
3156
|
+
type: "String"
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
name: "dueDate",
|
|
3160
|
+
isAttr: !0,
|
|
3161
|
+
type: "String"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
name: "followUpDate",
|
|
3165
|
+
isAttr: !0,
|
|
3166
|
+
type: "String"
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
name: "priority",
|
|
3170
|
+
isAttr: !0,
|
|
3171
|
+
type: "String"
|
|
3172
|
+
},
|
|
3173
|
+
...J
|
|
3174
|
+
]
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
name: "CallActivity",
|
|
3178
|
+
extends: ["bpmn:CallActivity"],
|
|
3179
|
+
properties: [
|
|
3180
|
+
{
|
|
3181
|
+
name: "calledElementBinding",
|
|
3182
|
+
isAttr: !0,
|
|
3183
|
+
type: "String",
|
|
3184
|
+
default: "latest"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
name: "calledElementVersion",
|
|
3188
|
+
isAttr: !0,
|
|
3189
|
+
type: "String"
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
name: "calledElementVersionTag",
|
|
3193
|
+
isAttr: !0,
|
|
3194
|
+
type: "String"
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
name: "calledElementTenantId",
|
|
3198
|
+
isAttr: !0,
|
|
3199
|
+
type: "String"
|
|
3200
|
+
},
|
|
3201
|
+
{
|
|
3202
|
+
name: "caseRef",
|
|
3203
|
+
isAttr: !0,
|
|
3204
|
+
type: "String"
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
name: "caseBinding",
|
|
3208
|
+
isAttr: !0,
|
|
3209
|
+
type: "String",
|
|
3210
|
+
default: "latest"
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
name: "caseVersion",
|
|
3214
|
+
isAttr: !0,
|
|
3215
|
+
type: "String"
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
name: "caseTenantId",
|
|
3219
|
+
isAttr: !0,
|
|
3220
|
+
type: "String"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
name: "variableMappingClass",
|
|
3224
|
+
isAttr: !0,
|
|
3225
|
+
type: "String"
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
name: "variableMappingDelegateExpression",
|
|
3229
|
+
isAttr: !0,
|
|
3230
|
+
type: "String"
|
|
3231
|
+
}
|
|
3232
|
+
]
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
name: "ServiceTaskLike",
|
|
3236
|
+
extends: [
|
|
3237
|
+
"bpmn:ServiceTask",
|
|
3238
|
+
"bpmn:BusinessRuleTask",
|
|
3239
|
+
"bpmn:SendTask",
|
|
3240
|
+
"bpmn:MessageEventDefinition"
|
|
3241
|
+
],
|
|
3242
|
+
properties: [
|
|
3243
|
+
{
|
|
3244
|
+
name: "expression",
|
|
3245
|
+
isAttr: !0,
|
|
3246
|
+
type: "String"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
name: "class",
|
|
3250
|
+
isAttr: !0,
|
|
3251
|
+
type: "String"
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
name: "delegateExpression",
|
|
3255
|
+
isAttr: !0,
|
|
3256
|
+
type: "String"
|
|
3257
|
+
},
|
|
3258
|
+
{
|
|
3259
|
+
name: "resultVariable",
|
|
3260
|
+
isAttr: !0,
|
|
3261
|
+
type: "String"
|
|
3262
|
+
}
|
|
3263
|
+
]
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
name: "DmnCapable",
|
|
3267
|
+
extends: ["bpmn:BusinessRuleTask"],
|
|
3268
|
+
properties: [
|
|
3269
|
+
{
|
|
3270
|
+
name: "decisionRef",
|
|
3271
|
+
isAttr: !0,
|
|
3272
|
+
type: "String"
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
name: "decisionRefBinding",
|
|
3276
|
+
isAttr: !0,
|
|
3277
|
+
type: "String",
|
|
3278
|
+
default: "latest"
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
name: "decisionRefVersion",
|
|
3282
|
+
isAttr: !0,
|
|
3283
|
+
type: "String"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
name: "mapDecisionResult",
|
|
3287
|
+
isAttr: !0,
|
|
3288
|
+
type: "String",
|
|
3289
|
+
default: "resultList"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
name: "decisionRefTenantId",
|
|
3293
|
+
isAttr: !0,
|
|
3294
|
+
type: "String"
|
|
3295
|
+
}
|
|
3296
|
+
]
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
name: "ExternalCapable",
|
|
3300
|
+
extends: ["flowable:ServiceTaskLike"],
|
|
3301
|
+
properties: [{
|
|
3302
|
+
name: "type",
|
|
3303
|
+
isAttr: !0,
|
|
3304
|
+
type: "String"
|
|
3305
|
+
}, {
|
|
3306
|
+
name: "topic",
|
|
3307
|
+
isAttr: !0,
|
|
3308
|
+
type: "String"
|
|
3309
|
+
}]
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
name: "TaskPriorized",
|
|
3313
|
+
extends: ["bpmn:Process", "flowable:ExternalCapable"],
|
|
3314
|
+
properties: [{
|
|
3315
|
+
name: "taskPriority",
|
|
3316
|
+
isAttr: !0,
|
|
3317
|
+
type: "String"
|
|
3318
|
+
}]
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
name: "Properties",
|
|
3322
|
+
superClass: ["Element"],
|
|
3323
|
+
meta: { allowedIn: ["*"] },
|
|
3324
|
+
properties: [{
|
|
3325
|
+
name: "values",
|
|
3326
|
+
type: "Property",
|
|
3327
|
+
isMany: !0
|
|
3328
|
+
}]
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
name: "Property",
|
|
3332
|
+
superClass: ["Element"],
|
|
3333
|
+
properties: [
|
|
3334
|
+
{
|
|
3335
|
+
name: "id",
|
|
3336
|
+
type: "String",
|
|
3337
|
+
isAttr: !0
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
name: "name",
|
|
3341
|
+
type: "String",
|
|
3342
|
+
isAttr: !0
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
name: "value",
|
|
3346
|
+
type: "String",
|
|
3347
|
+
isAttr: !0
|
|
3348
|
+
}
|
|
3349
|
+
]
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
name: "Button",
|
|
3353
|
+
superClass: ["Element"],
|
|
3354
|
+
meta: { allowedIn: ["bpmn:UserTask"] },
|
|
3355
|
+
properties: [
|
|
3356
|
+
{
|
|
3357
|
+
name: "id",
|
|
3358
|
+
type: "String",
|
|
3359
|
+
isAttr: !0
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
name: "name",
|
|
3363
|
+
type: "String",
|
|
3364
|
+
isAttr: !0
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
name: "code",
|
|
3368
|
+
type: "String",
|
|
3369
|
+
isAttr: !0
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
name: "isHide",
|
|
3373
|
+
type: "String",
|
|
3374
|
+
isAttr: !0
|
|
3375
|
+
},
|
|
3376
|
+
{
|
|
3377
|
+
name: "next",
|
|
3378
|
+
type: "String",
|
|
3379
|
+
isAttr: !0
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
name: "sort",
|
|
3383
|
+
type: "Integer",
|
|
3384
|
+
isAttr: !0
|
|
3385
|
+
}
|
|
3386
|
+
]
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
name: "Assignee",
|
|
3390
|
+
superClass: ["Element"],
|
|
3391
|
+
meta: { allowedIn: ["bpmn:UserTask"] },
|
|
3392
|
+
properties: [
|
|
3393
|
+
{
|
|
3394
|
+
name: "id",
|
|
3395
|
+
type: "String",
|
|
3396
|
+
isAttr: !0
|
|
3397
|
+
},
|
|
3398
|
+
{
|
|
3399
|
+
name: "type",
|
|
3400
|
+
type: "String",
|
|
3401
|
+
isAttr: !0
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
name: "value",
|
|
3405
|
+
type: "String",
|
|
3406
|
+
isAttr: !0
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
name: "condition",
|
|
3410
|
+
type: "String",
|
|
3411
|
+
isAttr: !0
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
name: "operationType",
|
|
3415
|
+
type: "String",
|
|
3416
|
+
isAttr: !0
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
name: "sort",
|
|
3420
|
+
type: "Integer",
|
|
3421
|
+
isAttr: !0
|
|
3422
|
+
}
|
|
3423
|
+
]
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
name: "Connector",
|
|
3427
|
+
superClass: ["Element"],
|
|
3428
|
+
meta: { allowedIn: ["flowable:ServiceTaskLike"] },
|
|
3429
|
+
properties: [{
|
|
3430
|
+
name: "inputOutput",
|
|
3431
|
+
type: "InputOutput"
|
|
3432
|
+
}, {
|
|
3433
|
+
name: "connectorId",
|
|
3434
|
+
type: "String"
|
|
3435
|
+
}]
|
|
3436
|
+
},
|
|
3437
|
+
{
|
|
3438
|
+
name: "InputOutput",
|
|
3439
|
+
superClass: ["Element"],
|
|
3440
|
+
meta: { allowedIn: ["bpmn:FlowNode", "flowable:Connector"] },
|
|
3441
|
+
properties: [
|
|
3442
|
+
{
|
|
3443
|
+
name: "inputOutput",
|
|
3444
|
+
type: "InputOutput"
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
name: "connectorId",
|
|
3448
|
+
type: "String"
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
name: "inputParameters",
|
|
3452
|
+
isMany: !0,
|
|
3453
|
+
type: "InputParameter"
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
name: "outputParameters",
|
|
3457
|
+
isMany: !0,
|
|
3458
|
+
type: "OutputParameter"
|
|
3459
|
+
}
|
|
3460
|
+
]
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
name: "InputOutputParameter",
|
|
3464
|
+
properties: [
|
|
3465
|
+
{
|
|
3466
|
+
name: "name",
|
|
3467
|
+
isAttr: !0,
|
|
3468
|
+
type: "String"
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
name: "value",
|
|
3472
|
+
isBody: !0,
|
|
3473
|
+
type: "String"
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
name: "definition",
|
|
3477
|
+
type: "InputOutputParameterDefinition"
|
|
3478
|
+
}
|
|
3479
|
+
]
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
name: "InputOutputParameterDefinition",
|
|
3483
|
+
isAbstract: !0
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
name: "List",
|
|
3487
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
3488
|
+
properties: [{
|
|
3489
|
+
name: "items",
|
|
3490
|
+
isMany: !0,
|
|
3491
|
+
type: "InputOutputParameterDefinition"
|
|
3492
|
+
}]
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
name: "Map",
|
|
3496
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
3497
|
+
properties: [{
|
|
3498
|
+
name: "entries",
|
|
3499
|
+
isMany: !0,
|
|
3500
|
+
type: "Entry"
|
|
3501
|
+
}]
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
name: "Entry",
|
|
3505
|
+
properties: [
|
|
3506
|
+
{
|
|
3507
|
+
name: "key",
|
|
3508
|
+
isAttr: !0,
|
|
3509
|
+
type: "String"
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
name: "value",
|
|
3513
|
+
isBody: !0,
|
|
3514
|
+
type: "String"
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
name: "definition",
|
|
3518
|
+
type: "InputOutputParameterDefinition"
|
|
3519
|
+
}
|
|
3520
|
+
]
|
|
3521
|
+
},
|
|
3522
|
+
{
|
|
3523
|
+
name: "Value",
|
|
3524
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
3525
|
+
properties: [
|
|
3526
|
+
{
|
|
3527
|
+
name: "id",
|
|
3528
|
+
isAttr: !0,
|
|
3529
|
+
type: "String"
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
name: "name",
|
|
3533
|
+
isAttr: !0,
|
|
3534
|
+
type: "String"
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
name: "value",
|
|
3538
|
+
isBody: !0,
|
|
3539
|
+
type: "String"
|
|
3540
|
+
}
|
|
3541
|
+
]
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
name: "Script",
|
|
3545
|
+
superClass: ["InputOutputParameterDefinition"],
|
|
3546
|
+
properties: [
|
|
3547
|
+
{
|
|
3548
|
+
name: "scriptFormat",
|
|
3549
|
+
isAttr: !0,
|
|
3550
|
+
type: "String"
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
name: "resource",
|
|
3554
|
+
isAttr: !0,
|
|
3555
|
+
type: "String"
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
name: "value",
|
|
3559
|
+
isBody: !0,
|
|
3560
|
+
type: "String"
|
|
3561
|
+
}
|
|
3562
|
+
]
|
|
3563
|
+
},
|
|
3564
|
+
{
|
|
3565
|
+
name: "Field",
|
|
3566
|
+
superClass: ["Element"],
|
|
3567
|
+
meta: { allowedIn: [
|
|
3568
|
+
"flowable:ServiceTaskLike",
|
|
3569
|
+
"flowable:ExecutionListener",
|
|
3570
|
+
"flowable:TaskListener",
|
|
3571
|
+
"bpmn:ServiceTask"
|
|
3572
|
+
] },
|
|
3573
|
+
properties: [
|
|
3574
|
+
{
|
|
3575
|
+
name: "name",
|
|
3576
|
+
isAttr: !0,
|
|
3577
|
+
type: "String"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
name: "expression",
|
|
3581
|
+
type: "String"
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
name: "stringValue",
|
|
3585
|
+
isAttr: !0,
|
|
3586
|
+
type: "String"
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
name: "string",
|
|
3590
|
+
type: "String"
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
name: "htmlVar",
|
|
3594
|
+
type: "Expression"
|
|
3595
|
+
}
|
|
3596
|
+
]
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
name: "ChildField",
|
|
3600
|
+
superClass: ["Element"],
|
|
3601
|
+
properties: [
|
|
3602
|
+
{
|
|
3603
|
+
name: "id",
|
|
3604
|
+
type: "String",
|
|
3605
|
+
isAttr: !0
|
|
3606
|
+
},
|
|
3607
|
+
{
|
|
3608
|
+
name: "name",
|
|
3609
|
+
type: "String",
|
|
3610
|
+
isAttr: !0
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
name: "type",
|
|
3614
|
+
type: "String",
|
|
3615
|
+
isAttr: !0
|
|
3616
|
+
},
|
|
3617
|
+
{
|
|
3618
|
+
name: "required",
|
|
3619
|
+
type: "String",
|
|
3620
|
+
isAttr: !0
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
name: "readable",
|
|
3624
|
+
type: "String",
|
|
3625
|
+
isAttr: !0
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
name: "writable",
|
|
3629
|
+
type: "String",
|
|
3630
|
+
isAttr: !0
|
|
3631
|
+
},
|
|
3632
|
+
{
|
|
3633
|
+
name: "variable",
|
|
3634
|
+
type: "String",
|
|
3635
|
+
isAttr: !0
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
name: "expression",
|
|
3639
|
+
type: "String",
|
|
3640
|
+
isAttr: !0
|
|
3641
|
+
},
|
|
3642
|
+
{
|
|
3643
|
+
name: "datePattern",
|
|
3644
|
+
type: "String",
|
|
3645
|
+
isAttr: !0
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
name: "default",
|
|
3649
|
+
type: "String",
|
|
3650
|
+
isAttr: !0
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
name: "values",
|
|
3654
|
+
type: "Value",
|
|
3655
|
+
isMany: !0
|
|
3656
|
+
}
|
|
3657
|
+
]
|
|
3658
|
+
},
|
|
3659
|
+
{
|
|
3660
|
+
name: "InputParameter",
|
|
3661
|
+
superClass: ["InputOutputParameter"]
|
|
3662
|
+
},
|
|
3663
|
+
{
|
|
3664
|
+
name: "OutputParameter",
|
|
3665
|
+
superClass: ["InputOutputParameter"]
|
|
3666
|
+
},
|
|
3667
|
+
{
|
|
3668
|
+
name: "Collectable",
|
|
3669
|
+
isAbstract: !0,
|
|
3670
|
+
extends: ["bpmn:MultiInstanceLoopCharacteristics"],
|
|
3671
|
+
superClass: ["flowable:AsyncCapable"],
|
|
3672
|
+
properties: [{
|
|
3673
|
+
name: "collection",
|
|
3674
|
+
isAttr: !0,
|
|
3675
|
+
type: "String"
|
|
3676
|
+
}, {
|
|
3677
|
+
name: "elementVariable",
|
|
3678
|
+
isAttr: !0,
|
|
3679
|
+
type: "String"
|
|
3680
|
+
}]
|
|
3681
|
+
},
|
|
3682
|
+
{
|
|
3683
|
+
name: "FailedJobRetryTimeCycle",
|
|
3684
|
+
superClass: ["Element"],
|
|
3685
|
+
meta: { allowedIn: ["flowable:AsyncCapable", "bpmn:MultiInstanceLoopCharacteristics"] },
|
|
3686
|
+
properties: [{
|
|
3687
|
+
name: "body",
|
|
3688
|
+
isBody: !0,
|
|
3689
|
+
type: "String"
|
|
3690
|
+
}]
|
|
3691
|
+
},
|
|
3692
|
+
{
|
|
3693
|
+
name: "ExecutionListener",
|
|
3694
|
+
superClass: ["Element"],
|
|
3695
|
+
meta: { allowedIn: [
|
|
3696
|
+
"bpmn:Task",
|
|
3697
|
+
"bpmn:ServiceTask",
|
|
3698
|
+
"bpmn:UserTask",
|
|
3699
|
+
"bpmn:BusinessRuleTask",
|
|
3700
|
+
"bpmn:ScriptTask",
|
|
3701
|
+
"bpmn:ReceiveTask",
|
|
3702
|
+
"bpmn:ManualTask",
|
|
3703
|
+
"bpmn:ExclusiveGateway",
|
|
3704
|
+
"bpmn:SequenceFlow",
|
|
3705
|
+
"bpmn:ParallelGateway",
|
|
3706
|
+
"bpmn:InclusiveGateway",
|
|
3707
|
+
"bpmn:EventBasedGateway",
|
|
3708
|
+
"bpmn:StartEvent",
|
|
3709
|
+
"bpmn:IntermediateCatchEvent",
|
|
3710
|
+
"bpmn:IntermediateThrowEvent",
|
|
3711
|
+
"bpmn:EndEvent",
|
|
3712
|
+
"bpmn:BoundaryEvent",
|
|
3713
|
+
"bpmn:CallActivity",
|
|
3714
|
+
"bpmn:SubProcess",
|
|
3715
|
+
"bpmn:Process"
|
|
3716
|
+
] },
|
|
3717
|
+
properties: [
|
|
3718
|
+
{
|
|
3719
|
+
name: "expression",
|
|
3720
|
+
isAttr: !0,
|
|
3721
|
+
type: "String"
|
|
3722
|
+
},
|
|
3723
|
+
{
|
|
3724
|
+
name: "class",
|
|
3725
|
+
isAttr: !0,
|
|
3726
|
+
type: "String"
|
|
3727
|
+
},
|
|
3728
|
+
{
|
|
3729
|
+
name: "delegateExpression",
|
|
3730
|
+
isAttr: !0,
|
|
3731
|
+
type: "String"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
name: "event",
|
|
3735
|
+
isAttr: !0,
|
|
3736
|
+
type: "String"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
name: "script",
|
|
3740
|
+
type: "Script"
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
name: "fields",
|
|
3744
|
+
type: "Field",
|
|
3745
|
+
isMany: !0
|
|
3746
|
+
}
|
|
3747
|
+
]
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
name: "TaskListener",
|
|
3751
|
+
superClass: ["Element"],
|
|
3752
|
+
meta: { allowedIn: ["bpmn:UserTask"] },
|
|
3753
|
+
properties: [
|
|
3754
|
+
{
|
|
3755
|
+
name: "expression",
|
|
3756
|
+
isAttr: !0,
|
|
3757
|
+
type: "String"
|
|
3758
|
+
},
|
|
3759
|
+
{
|
|
3760
|
+
name: "class",
|
|
3761
|
+
isAttr: !0,
|
|
3762
|
+
type: "String"
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
name: "delegateExpression",
|
|
3766
|
+
isAttr: !0,
|
|
3767
|
+
type: "String"
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
name: "event",
|
|
3771
|
+
isAttr: !0,
|
|
3772
|
+
type: "String"
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
name: "script",
|
|
3776
|
+
type: "Script"
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
name: "fields",
|
|
3780
|
+
type: "Field",
|
|
3781
|
+
isMany: !0
|
|
3782
|
+
}
|
|
3783
|
+
]
|
|
3784
|
+
},
|
|
3785
|
+
{
|
|
3786
|
+
name: "FormProperty",
|
|
3787
|
+
superClass: ["Element"],
|
|
3788
|
+
meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
|
|
3789
|
+
properties: [
|
|
3790
|
+
{
|
|
3791
|
+
name: "id",
|
|
3792
|
+
type: "String",
|
|
3793
|
+
isAttr: !0
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
name: "name",
|
|
3797
|
+
type: "String",
|
|
3798
|
+
isAttr: !0
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
name: "type",
|
|
3802
|
+
type: "String",
|
|
3803
|
+
isAttr: !0
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
name: "required",
|
|
3807
|
+
type: "String",
|
|
3808
|
+
isAttr: !0
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
name: "readable",
|
|
3812
|
+
type: "String",
|
|
3813
|
+
isAttr: !0
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
name: "writable",
|
|
3817
|
+
type: "String",
|
|
3818
|
+
isAttr: !0
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
name: "variable",
|
|
3822
|
+
type: "String",
|
|
3823
|
+
isAttr: !0
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
name: "expression",
|
|
3827
|
+
type: "String",
|
|
3828
|
+
isAttr: !0
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
name: "datePattern",
|
|
3832
|
+
type: "String",
|
|
3833
|
+
isAttr: !0
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
name: "default",
|
|
3837
|
+
type: "String",
|
|
3838
|
+
isAttr: !0
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
name: "values",
|
|
3842
|
+
type: "Value",
|
|
3843
|
+
isMany: !0
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
name: "children",
|
|
3847
|
+
type: "ChildField",
|
|
3848
|
+
isMany: !0
|
|
3849
|
+
},
|
|
3850
|
+
{
|
|
3851
|
+
name: "extensionElements",
|
|
3852
|
+
type: "bpmn:ExtensionElements",
|
|
3853
|
+
isMany: !0
|
|
3854
|
+
}
|
|
3855
|
+
]
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
name: "FormData",
|
|
3859
|
+
superClass: ["Element"],
|
|
3860
|
+
meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
|
|
3861
|
+
properties: [{
|
|
3862
|
+
name: "fields",
|
|
3863
|
+
type: "FormField",
|
|
3864
|
+
isMany: !0
|
|
3865
|
+
}, {
|
|
3866
|
+
name: "businessKey",
|
|
3867
|
+
type: "String",
|
|
3868
|
+
isAttr: !0
|
|
3869
|
+
}]
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
name: "FormField",
|
|
3873
|
+
superClass: ["Element"],
|
|
3874
|
+
properties: [
|
|
3875
|
+
{
|
|
3876
|
+
name: "id",
|
|
3877
|
+
type: "String",
|
|
3878
|
+
isAttr: !0
|
|
3879
|
+
},
|
|
3880
|
+
{
|
|
3881
|
+
name: "label",
|
|
3882
|
+
type: "String",
|
|
3883
|
+
isAttr: !0
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
name: "type",
|
|
3887
|
+
type: "String",
|
|
3888
|
+
isAttr: !0
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
name: "datePattern",
|
|
3892
|
+
type: "String",
|
|
3893
|
+
isAttr: !0
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
name: "defaultValue",
|
|
3897
|
+
type: "String",
|
|
3898
|
+
isAttr: !0
|
|
3899
|
+
},
|
|
3900
|
+
{
|
|
3901
|
+
name: "properties",
|
|
3902
|
+
type: "Properties"
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
name: "validation",
|
|
3906
|
+
type: "Validation"
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
name: "values",
|
|
3910
|
+
type: "Value",
|
|
3911
|
+
isMany: !0
|
|
3912
|
+
}
|
|
3913
|
+
]
|
|
3914
|
+
},
|
|
3915
|
+
{
|
|
3916
|
+
name: "Validation",
|
|
3917
|
+
superClass: ["Element"],
|
|
3918
|
+
properties: [{
|
|
3919
|
+
name: "constraints",
|
|
3920
|
+
type: "Constraint",
|
|
3921
|
+
isMany: !0
|
|
3922
|
+
}]
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
name: "Constraint",
|
|
3926
|
+
superClass: ["Element"],
|
|
3927
|
+
properties: [{
|
|
3928
|
+
name: "name",
|
|
3929
|
+
type: "String",
|
|
3930
|
+
isAttr: !0
|
|
3931
|
+
}, {
|
|
3932
|
+
name: "config",
|
|
3933
|
+
type: "String",
|
|
3934
|
+
isAttr: !0
|
|
3935
|
+
}]
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
name: "ConditionalEventDefinition",
|
|
3939
|
+
isAbstract: !0,
|
|
3940
|
+
extends: ["bpmn:ConditionalEventDefinition"],
|
|
3941
|
+
properties: [{
|
|
3942
|
+
name: "variableName",
|
|
3943
|
+
isAttr: !0,
|
|
3944
|
+
type: "String"
|
|
3945
|
+
}, {
|
|
3946
|
+
name: "variableEvent",
|
|
3947
|
+
isAttr: !0,
|
|
3948
|
+
type: "String"
|
|
3949
|
+
}]
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
name: "Condition",
|
|
3953
|
+
superClass: ["Element"],
|
|
3954
|
+
meta: { allowedIn: ["bpmn:SequenceFlow"] },
|
|
3955
|
+
properties: [
|
|
3956
|
+
{
|
|
3957
|
+
name: "id",
|
|
3958
|
+
type: "String",
|
|
3959
|
+
isAttr: !0
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
name: "field",
|
|
3963
|
+
type: "String",
|
|
3964
|
+
isAttr: !0
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
name: "compare",
|
|
3968
|
+
type: "String",
|
|
3969
|
+
isAttr: !0
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
name: "value",
|
|
3973
|
+
type: "String",
|
|
3974
|
+
isAttr: !0
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
name: "logic",
|
|
3978
|
+
type: "String",
|
|
3979
|
+
isAttr: !0
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
name: "sort",
|
|
3983
|
+
type: "Integer",
|
|
3984
|
+
isAttr: !0
|
|
3985
|
+
}
|
|
3986
|
+
]
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
name: "AssigneeType",
|
|
3990
|
+
superClass: ["Element"],
|
|
3991
|
+
properties: [{
|
|
3992
|
+
name: "body",
|
|
3993
|
+
isBody: !0,
|
|
3994
|
+
type: "String"
|
|
3995
|
+
}]
|
|
3996
|
+
},
|
|
3997
|
+
{
|
|
3998
|
+
name: "AssigneeGroups",
|
|
3999
|
+
superClass: ["Element"],
|
|
4000
|
+
properties: [{
|
|
4001
|
+
name: "body",
|
|
4002
|
+
isBody: !0,
|
|
4003
|
+
type: "String"
|
|
4004
|
+
}]
|
|
4005
|
+
},
|
|
4006
|
+
{
|
|
4007
|
+
name: "AssigneeUsers",
|
|
4008
|
+
superClass: ["Element"],
|
|
4009
|
+
properties: [{
|
|
4010
|
+
name: "body",
|
|
4011
|
+
isBody: !0,
|
|
4012
|
+
type: "String"
|
|
4013
|
+
}]
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
name: "AssigneeRules",
|
|
4017
|
+
superClass: ["Element"],
|
|
4018
|
+
properties: [{
|
|
4019
|
+
name: "body",
|
|
4020
|
+
isBody: !0,
|
|
4021
|
+
type: "String"
|
|
4022
|
+
}]
|
|
4023
|
+
}
|
|
4024
|
+
]
|
|
4025
|
+
}, Je = "*";
|
|
4026
|
+
function Y(e) {
|
|
4027
|
+
let t = this;
|
|
4028
|
+
e.on("moddleCopy.canCopyProperty", function(e) {
|
|
4029
|
+
let n = e.property, r = e.parent;
|
|
4030
|
+
return t.canCopyProperty(n, r);
|
|
4031
|
+
});
|
|
4032
|
+
}
|
|
4033
|
+
Y.$inject = ["eventBus"], Y.prototype.canCopyProperty = function(e, t) {
|
|
4034
|
+
if (R(e) && !Xe(e, t) || X(e, "camunda:InputOutput") && !this.canHostInputOutput(t) || Ye(e, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(t) || X(e, "camunda:In") && !this.canHostIn(t)) return !1;
|
|
4035
|
+
}, Y.prototype.canHostInputOutput = function(e) {
|
|
4036
|
+
if (Z(e, "camunda:Connector")) return !0;
|
|
4037
|
+
let t = Z(e, "bpmn:FlowNode");
|
|
4038
|
+
return !(!t || Ye(t, [
|
|
4039
|
+
"bpmn:StartEvent",
|
|
4040
|
+
"bpmn:Gateway",
|
|
4041
|
+
"bpmn:BoundaryEvent"
|
|
4042
|
+
]) || X(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
|
|
4043
|
+
}, Y.prototype.canHostConnector = function(e) {
|
|
4044
|
+
return X(Z(e, "camunda:ServiceTaskLike"), "bpmn:MessageEventDefinition") ? Z(e, "bpmn:IntermediateThrowEvent") || Z(e, "bpmn:EndEvent") : !0;
|
|
4045
|
+
}, Y.prototype.canHostIn = function(e) {
|
|
4046
|
+
return Z(e, "bpmn:CallActivity") ? !0 : Z(e, "bpmn:SignalEventDefinition") ? Z(e, "bpmn:IntermediateThrowEvent") || Z(e, "bpmn:EndEvent") : !0;
|
|
4047
|
+
};
|
|
4048
|
+
function X(e, t) {
|
|
4049
|
+
return e && L(e.$instanceOf) && e.$instanceOf(t);
|
|
4050
|
+
}
|
|
4051
|
+
function Ye(e, t) {
|
|
4052
|
+
return z(t, function(t) {
|
|
4053
|
+
return X(e, t);
|
|
4054
|
+
});
|
|
4055
|
+
}
|
|
4056
|
+
function Z(e, t) {
|
|
4057
|
+
if (!t) return e.$parent;
|
|
4058
|
+
if (X(e, t)) return e;
|
|
4059
|
+
if (e.$parent) return Z(e.$parent, t);
|
|
4060
|
+
}
|
|
4061
|
+
function Xe(e, t) {
|
|
4062
|
+
let n = e.$type && e.$model.getTypeDescriptor(e.$type), r = n && n.meta && n.meta.allowedIn;
|
|
4063
|
+
return !r || Ze(r) ? !0 : z(r, function(e) {
|
|
4064
|
+
return Z(t, e);
|
|
4065
|
+
});
|
|
4066
|
+
}
|
|
4067
|
+
function Ze(e) {
|
|
4068
|
+
return e.indexOf(Je) !== -1;
|
|
4069
|
+
}
|
|
4070
|
+
//#endregion
|
|
4071
|
+
//#region src/components/bpmn-process-designer/plugins/extension-moddle/camunda/index.js
|
|
4072
|
+
var Qe = {
|
|
4073
|
+
__init__: ["camundaModdleExtension"],
|
|
4074
|
+
camundaModdleExtension: ["type", Y]
|
|
4075
|
+
}, $e = {
|
|
4076
|
+
FailedJobRetryTimeCycle: [
|
|
4077
|
+
"bpmn:StartEvent",
|
|
4078
|
+
"bpmn:BoundaryEvent",
|
|
4079
|
+
"bpmn:IntermediateCatchEvent",
|
|
4080
|
+
"bpmn:Activity"
|
|
4081
|
+
],
|
|
4082
|
+
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
4083
|
+
Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
|
|
4084
|
+
};
|
|
4085
|
+
function Q(e, t) {
|
|
4086
|
+
return e && typeof e.$instanceOf == "function" && e.$instanceOf(t);
|
|
4087
|
+
}
|
|
4088
|
+
function et(e) {
|
|
4089
|
+
return e && e.length;
|
|
4090
|
+
}
|
|
4091
|
+
function $(e, t) {
|
|
4092
|
+
return et(e) && z(e, function(e) {
|
|
4093
|
+
return Q(e, t);
|
|
4094
|
+
});
|
|
4095
|
+
}
|
|
4096
|
+
function tt(e, t) {
|
|
4097
|
+
return z(t, function(t) {
|
|
4098
|
+
return Q(e, t);
|
|
4099
|
+
});
|
|
4100
|
+
}
|
|
4101
|
+
function nt(e, t, n) {
|
|
4102
|
+
let r = t.name, i = $e[r.replace(/activiti:/, "")];
|
|
4103
|
+
return r === e && tt(n, i);
|
|
4104
|
+
}
|
|
4105
|
+
function rt(e) {
|
|
4106
|
+
e.on("property.clone", function(e) {
|
|
4107
|
+
let t = e.newElement, n = e.propertyDescriptor;
|
|
4108
|
+
this.canCloneProperty(t, n);
|
|
4109
|
+
}, this);
|
|
4110
|
+
}
|
|
4111
|
+
rt.$inject = ["eventBus"], rt.prototype.canCloneProperty = function(e, t) {
|
|
4112
|
+
if (nt("activiti:FailedJobRetryTimeCycle", t, e)) return $(e.eventDefinitions, "bpmn:TimerEventDefinition") || $(e.eventDefinitions, "bpmn:SignalEventDefinition") || Q(e.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
|
|
4113
|
+
if (nt("activiti:Connector", t, e) || nt("activiti:Field", t, e)) return $(e.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4114
|
+
};
|
|
4115
|
+
//#endregion
|
|
4116
|
+
//#region src/components/bpmn-process-designer/plugins/extension-moddle/activiti/index.js
|
|
4117
|
+
var it = {
|
|
4118
|
+
__init__: ["ActivitiModdleExtension"],
|
|
4119
|
+
ActivitiModdleExtension: ["type", rt]
|
|
4120
|
+
}, at = {
|
|
4121
|
+
FailedJobRetryTimeCycle: [
|
|
4122
|
+
"bpmn:StartEvent",
|
|
4123
|
+
"bpmn:BoundaryEvent",
|
|
4124
|
+
"bpmn:IntermediateCatchEvent",
|
|
4125
|
+
"bpmn:Activity"
|
|
4126
|
+
],
|
|
4127
|
+
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
4128
|
+
Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
|
|
4129
|
+
};
|
|
4130
|
+
function ot(e, t) {
|
|
4131
|
+
return e && typeof e.$instanceOf == "function" && e.$instanceOf(t);
|
|
4132
|
+
}
|
|
4133
|
+
function st(e) {
|
|
4134
|
+
return e && e.length;
|
|
4135
|
+
}
|
|
4136
|
+
function ct(e, t) {
|
|
4137
|
+
return st(e) && z(e, function(e) {
|
|
4138
|
+
return ot(e, t);
|
|
4139
|
+
});
|
|
4140
|
+
}
|
|
4141
|
+
function lt(e, t) {
|
|
4142
|
+
return z(t, function(t) {
|
|
4143
|
+
return ot(e, t);
|
|
4144
|
+
});
|
|
4145
|
+
}
|
|
4146
|
+
function ut(e, t, n) {
|
|
4147
|
+
let r = t.name, i = at[r.replace(/flowable:/, "")];
|
|
4148
|
+
return r === e && lt(n, i);
|
|
4149
|
+
}
|
|
4150
|
+
function dt(e) {
|
|
4151
|
+
e.on("property.clone", function(e) {
|
|
4152
|
+
let t = e.newElement, n = e.propertyDescriptor;
|
|
4153
|
+
this.canCloneProperty(t, n);
|
|
4154
|
+
}, this);
|
|
4155
|
+
}
|
|
4156
|
+
dt.$inject = ["eventBus"], dt.prototype.canCloneProperty = function(e, t) {
|
|
4157
|
+
if (ut("flowable:FailedJobRetryTimeCycle", t, e)) return ct(e.eventDefinitions, "bpmn:TimerEventDefinition") || ct(e.eventDefinitions, "bpmn:SignalEventDefinition") || ot(e.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
|
|
4158
|
+
if (ut("flowable:Connector", t, e) || ut("flowable:Field", t, e)) return ct(e.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4159
|
+
};
|
|
4160
|
+
//#endregion
|
|
4161
|
+
//#region src/components/bpmn-process-designer/plugins/extension-moddle/flowable/index.js
|
|
4162
|
+
var ft = {
|
|
4163
|
+
__init__: ["FlowableModdleExtension"],
|
|
4164
|
+
FlowableModdleExtension: ["type", dt]
|
|
4165
|
+
};
|
|
4166
|
+
le.registerLanguage("xml", me), le.registerLanguage("json", he);
|
|
4167
|
+
var pt = {
|
|
4168
|
+
name: "ProcessDesigner",
|
|
4169
|
+
componentName: "MyProcessDesigner",
|
|
4170
|
+
props: {
|
|
4171
|
+
modelValue: String,
|
|
4172
|
+
processId: String,
|
|
4173
|
+
processName: String,
|
|
4174
|
+
translations: Object,
|
|
4175
|
+
options: {
|
|
4176
|
+
type: Object,
|
|
4177
|
+
default: () => ({})
|
|
4178
|
+
},
|
|
4179
|
+
additionalModel: [Object, Array],
|
|
4180
|
+
moddleExtension: Object,
|
|
4181
|
+
onlyCustomizeAddi: {
|
|
4182
|
+
type: Boolean,
|
|
4183
|
+
default: !1
|
|
4184
|
+
},
|
|
4185
|
+
onlyCustomizeModdle: {
|
|
4186
|
+
type: Boolean,
|
|
4187
|
+
default: !1
|
|
4188
|
+
},
|
|
4189
|
+
simulation: {
|
|
4190
|
+
type: Boolean,
|
|
4191
|
+
default: !0
|
|
4192
|
+
},
|
|
4193
|
+
prefix: {
|
|
4194
|
+
type: String,
|
|
4195
|
+
default: "camunda"
|
|
4196
|
+
},
|
|
4197
|
+
events: {
|
|
4198
|
+
type: Array,
|
|
4199
|
+
default: () => ["element.click"]
|
|
4200
|
+
},
|
|
4201
|
+
headerButtonSize: {
|
|
4202
|
+
type: String,
|
|
4203
|
+
default: "",
|
|
4204
|
+
validator: (e) => [
|
|
4205
|
+
"default",
|
|
4206
|
+
"small",
|
|
4207
|
+
""
|
|
4208
|
+
].indexOf(e) !== -1
|
|
4209
|
+
},
|
|
4210
|
+
headerButtonType: {
|
|
4211
|
+
type: String,
|
|
4212
|
+
default: "primary",
|
|
4213
|
+
validator: (e) => [
|
|
4214
|
+
"default",
|
|
4215
|
+
"primary",
|
|
4216
|
+
"success",
|
|
4217
|
+
"warning",
|
|
4218
|
+
"danger",
|
|
4219
|
+
"info"
|
|
4220
|
+
].indexOf(e) !== -1
|
|
4221
|
+
},
|
|
4222
|
+
extendTypes: Array
|
|
4223
|
+
},
|
|
4224
|
+
emits: [
|
|
4225
|
+
"destroy",
|
|
4226
|
+
"init-finished",
|
|
4227
|
+
"commandStack-changed",
|
|
4228
|
+
"canvas-viewbox-changed",
|
|
4229
|
+
"change",
|
|
4230
|
+
"update:modelValue"
|
|
4231
|
+
],
|
|
4232
|
+
data() {
|
|
4233
|
+
return {
|
|
4234
|
+
defaultZoom: 1,
|
|
4235
|
+
previewModelVisible: !1,
|
|
4236
|
+
simulationStatus: !1,
|
|
4237
|
+
previewResult: "",
|
|
4238
|
+
previewType: "xml",
|
|
4239
|
+
recoverable: !1,
|
|
4240
|
+
revocable: !1
|
|
4241
|
+
};
|
|
4242
|
+
},
|
|
4243
|
+
computed: {
|
|
4244
|
+
additionalModules() {
|
|
4245
|
+
let e = [];
|
|
4246
|
+
if (this.onlyCustomizeAddi) return N(this.additionalModel) ? this.additionalModel || [] : [this.additionalModel];
|
|
4247
|
+
N(this.additionalModel) ? e.push(...this.additionalModel) : this.additionalModel && e.push(this.additionalModel);
|
|
4248
|
+
let t = { translate: ["value", Ue(this.translations || We)] };
|
|
4249
|
+
return e.push(t), this.simulation && e.push(fe), e.push(de), this.prefix === "camunda" && e.push(Qe), this.prefix === "flowable" && e.push(ft), this.prefix === "activiti" && e.push(it), e;
|
|
4250
|
+
},
|
|
4251
|
+
moddleExtensions() {
|
|
4252
|
+
let e = {};
|
|
4253
|
+
if (this.onlyCustomizeModdle) return this.moddleExtension || null;
|
|
4254
|
+
if (this.moddleExtension) for (let t in this.moddleExtension) e[t] = this.moddleExtension[t];
|
|
4255
|
+
return this.prefix === "activiti" && (e.activiti = {
|
|
4256
|
+
...Ke,
|
|
4257
|
+
types: [...Ke.types, ...this.extendTypes || []]
|
|
4258
|
+
}), this.prefix === "flowable" && (e.flowable = {
|
|
4259
|
+
...qe,
|
|
4260
|
+
types: [...qe.types, ...this.extendTypes || []]
|
|
4261
|
+
}), this.prefix === "camunda" && (e.camunda = {
|
|
4262
|
+
...Ge,
|
|
4263
|
+
types: [...Ge.types, ...this.extendTypes || []]
|
|
4264
|
+
}), e;
|
|
4265
|
+
}
|
|
4266
|
+
},
|
|
4267
|
+
mounted() {
|
|
4268
|
+
this.initBpmnModeler(), this.createNewDiagram(this.modelValue);
|
|
4269
|
+
},
|
|
4270
|
+
beforeUnmount() {
|
|
4271
|
+
this.bpmnModeler && this.bpmnModeler.destroy(), this.$emit("destroy", this.bpmnModeler), this.bpmnModeler = null;
|
|
4272
|
+
},
|
|
4273
|
+
methods: {
|
|
4274
|
+
initBpmnModeler() {
|
|
4275
|
+
this.bpmnModeler || (this.bpmnModeler = x(new ue({
|
|
4276
|
+
container: this.$refs["bpmn-canvas"],
|
|
4277
|
+
additionalModules: this.additionalModules,
|
|
4278
|
+
moddleExtensions: this.moddleExtensions,
|
|
4279
|
+
...this.options
|
|
4280
|
+
})), this.$emit("init-finished", this.bpmnModeler), this.initModelListeners());
|
|
4281
|
+
},
|
|
4282
|
+
initModelListeners() {
|
|
4283
|
+
let e = this.bpmnModeler.get("eventBus");
|
|
4284
|
+
this.events.forEach((t) => {
|
|
4285
|
+
e.on(t, (e) => {
|
|
4286
|
+
let n = t.replace(/\./g, "-"), r = e ? e.element : null;
|
|
4287
|
+
this.$emit(n, r, e);
|
|
4288
|
+
});
|
|
4289
|
+
}), e.on("commandStack.changed", async (e) => {
|
|
4290
|
+
try {
|
|
4291
|
+
this.recoverable = this.bpmnModeler.get("commandStack").canRedo(), this.revocable = this.bpmnModeler.get("commandStack").canUndo();
|
|
4292
|
+
let { xml: t } = await this.bpmnModeler.saveXML({ format: !0 });
|
|
4293
|
+
this.$emit("commandStack-changed", e), this.$emit("update:modelValue", t), this.$emit("change", t);
|
|
4294
|
+
} catch (e) {
|
|
4295
|
+
console.error(`[Process Designer Warn]: ${e.message || e}`);
|
|
4296
|
+
}
|
|
4297
|
+
}), this.bpmnModeler.on("canvas.viewbox.changed", ({ viewbox: e }) => {
|
|
4298
|
+
this.$emit("canvas-viewbox-changed", { viewbox: e });
|
|
4299
|
+
let { scale: t } = e;
|
|
4300
|
+
this.defaultZoom = Math.floor(t * 100) / 100;
|
|
4301
|
+
});
|
|
4302
|
+
},
|
|
4303
|
+
async createNewDiagram(e) {
|
|
4304
|
+
let t = this.processId || `Process_${(/* @__PURE__ */ new Date()).getTime()}`, n = this.processName || `业务流程_${(/* @__PURE__ */ new Date()).getTime()}`, r = e || He(t, n, this.prefix);
|
|
4305
|
+
try {
|
|
4306
|
+
let { warnings: e } = await this.bpmnModeler.importXML(r);
|
|
4307
|
+
this.bpmnModeler.get("canvas").zoom("fit-viewport", "center"), e != null && e.length;
|
|
4308
|
+
} catch (e) {
|
|
4309
|
+
console.error(`[Process Designer Warn]: ${(e == null ? void 0 : e.message) || e}`);
|
|
4310
|
+
}
|
|
4311
|
+
},
|
|
4312
|
+
async downloadProcess(e, t = "diagram") {
|
|
4313
|
+
try {
|
|
4314
|
+
let { err: r, xml: i } = await this.bpmnModeler.saveXML();
|
|
4315
|
+
r && console.error(`[Process Designer Warn ]: ${r.message || r}`);
|
|
4316
|
+
let { definitions: a } = new pe().xml2js(i);
|
|
4317
|
+
if (t = a.process._name || t, e === "xml" || e === "bpmn") {
|
|
4318
|
+
let { href: r, filename: a } = this.setEncoded(e.toUpperCase(), t, i);
|
|
4319
|
+
n(r, a);
|
|
4320
|
+
} else {
|
|
4321
|
+
let { err: e, svg: r } = await this.bpmnModeler.saveSVG();
|
|
4322
|
+
if (e) return console.error(e);
|
|
4323
|
+
let { href: i, filename: a } = this.setEncoded("SVG", t, r);
|
|
4324
|
+
n(i, a);
|
|
4325
|
+
}
|
|
4326
|
+
} catch (e) {
|
|
4327
|
+
console.error(`[Process Designer Warn ]: ${e.message || e}`);
|
|
4328
|
+
}
|
|
4329
|
+
function n(e, t) {
|
|
4330
|
+
if (e && t) {
|
|
4331
|
+
let n = document.createElement("a");
|
|
4332
|
+
n.download = t, n.href = e, n.click(), URL.revokeObjectURL(n.href);
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
},
|
|
4336
|
+
setEncoded(e, t = "diagram", n) {
|
|
4337
|
+
let r = encodeURIComponent(n);
|
|
4338
|
+
return {
|
|
4339
|
+
filename: `${t}.${e}`,
|
|
4340
|
+
href: `data:application/${e === "svg" ? "text/xml" : "bpmn20-xml"};charset=UTF-8,${r}`,
|
|
4341
|
+
data: n
|
|
4342
|
+
};
|
|
4343
|
+
},
|
|
4344
|
+
importLocalFile() {
|
|
4345
|
+
let e = this.$refs.refFile.files[0], t = new FileReader();
|
|
4346
|
+
t.readAsText(e), t.onload = (e) => {
|
|
4347
|
+
let t = e.result;
|
|
4348
|
+
this.createNewDiagram(t);
|
|
4349
|
+
};
|
|
4350
|
+
},
|
|
4351
|
+
downloadProcessAsXml() {
|
|
4352
|
+
this.downloadProcess("xml");
|
|
4353
|
+
},
|
|
4354
|
+
downloadProcessAsBpmn() {
|
|
4355
|
+
this.downloadProcess("bpmn");
|
|
4356
|
+
},
|
|
4357
|
+
downloadProcessAsSvg() {
|
|
4358
|
+
this.downloadProcess("svg");
|
|
4359
|
+
},
|
|
4360
|
+
processSimulation() {
|
|
4361
|
+
if (this.simulationStatus = !this.simulationStatus, this.simulation) {
|
|
4362
|
+
var e;
|
|
4363
|
+
(e = this.bpmnModeler) == null || e.get("toggleMode").toggleMode();
|
|
4364
|
+
}
|
|
4365
|
+
},
|
|
4366
|
+
processRedo() {
|
|
4367
|
+
this.bpmnModeler.get("commandStack").redo();
|
|
4368
|
+
},
|
|
4369
|
+
processUndo() {
|
|
4370
|
+
this.bpmnModeler.get("commandStack").undo();
|
|
4371
|
+
},
|
|
4372
|
+
processZoomIn(e = .1) {
|
|
4373
|
+
let t = Math.floor(this.defaultZoom * 100 + e * 100) / 100;
|
|
4374
|
+
if (t > 4) throw Error("[Process Designer Warn ]: The zoom ratio cannot be greater than 4");
|
|
4375
|
+
this.defaultZoom = t, this.bpmnModeler.get("canvas").zoom(this.defaultZoom);
|
|
4376
|
+
},
|
|
4377
|
+
processZoomOut(e = .1) {
|
|
4378
|
+
let t = Math.floor(this.defaultZoom * 100 - e * 100) / 100;
|
|
4379
|
+
if (t < .2) throw Error("[Process Designer Warn ]: The zoom ratio cannot be less than 0.2");
|
|
4380
|
+
this.defaultZoom = t, this.bpmnModeler.get("canvas").zoom(this.defaultZoom);
|
|
4381
|
+
},
|
|
4382
|
+
processZoomTo(e = 1) {
|
|
4383
|
+
if (e < .2) throw Error("[Process Designer Warn ]: The zoom ratio cannot be less than 0.2");
|
|
4384
|
+
if (e > 4) throw Error("[Process Designer Warn ]: The zoom ratio cannot be greater than 4");
|
|
4385
|
+
this.defaultZoom = e, this.bpmnModeler.get("canvas").zoom(e);
|
|
4386
|
+
},
|
|
4387
|
+
processReZoom() {
|
|
4388
|
+
this.defaultZoom = 1, this.bpmnModeler.get("canvas").zoom("fit-viewport", "auto");
|
|
4389
|
+
},
|
|
4390
|
+
processRestart() {
|
|
4391
|
+
this.recoverable = !1, this.revocable = !1, this.createNewDiagram(null);
|
|
4392
|
+
},
|
|
4393
|
+
elementsAlign(e) {
|
|
4394
|
+
let t = this.bpmnModeler.get("alignElements"), n = this.bpmnModeler.get("selection").get();
|
|
4395
|
+
if (!n || n.length <= 1) {
|
|
4396
|
+
s.warning("请按住 Shift 键选择多个元素对齐");
|
|
4397
|
+
return;
|
|
4398
|
+
}
|
|
4399
|
+
c.confirm("自动对齐可能造成图形变形,是否继续?", "警告", {
|
|
4400
|
+
confirmButtonText: "确定",
|
|
4401
|
+
cancelButtonText: "取消",
|
|
4402
|
+
type: "warning"
|
|
4403
|
+
}).then(() => t.trigger(n, e));
|
|
4404
|
+
},
|
|
4405
|
+
previewProcessXML() {
|
|
4406
|
+
this.bpmnModeler.saveXML({ format: !0 }).then(({ xml: e }) => {
|
|
4407
|
+
this.previewResult = e, this.previewType = "xml", this.previewModelVisible = !0;
|
|
4408
|
+
});
|
|
4409
|
+
},
|
|
4410
|
+
previewProcessJson() {
|
|
4411
|
+
let e = new pe();
|
|
4412
|
+
this.bpmnModeler.saveXML({ format: !0 }).then(({ xml: t }) => {
|
|
4413
|
+
let { definitions: n } = e.xml2js(t);
|
|
4414
|
+
n ? this.previewResult = JSON.stringify(n, null, 4) : this.previewResult = "", this.previewType = "json", this.previewModelVisible = !0;
|
|
4415
|
+
});
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
}, mt = { class: "my-process-designer" }, ht = { class: "my-process-designer__header" }, gt = { class: "my-process-designer__container" }, _t = {
|
|
4419
|
+
ref: "bpmn-canvas",
|
|
4420
|
+
class: "my-process-designer__canvas flow-background-image"
|
|
4421
|
+
};
|
|
4422
|
+
function vt(e, a, o, s, c, l) {
|
|
4423
|
+
let u = n, f = d, y = i, b = r, x = t;
|
|
4424
|
+
return w(), h("div", mt, [
|
|
4425
|
+
g("div", ht, [
|
|
4426
|
+
D(e.$slots, "control-header", {}, () => [
|
|
4427
|
+
v(y, { key: "file-control" }, {
|
|
4428
|
+
default: M(() => [
|
|
4429
|
+
D(e.$slots, "toolbar-buttons"),
|
|
4430
|
+
o.simulation ? (w(), p(f, {
|
|
4431
|
+
key: 0,
|
|
4432
|
+
effect: "light",
|
|
4433
|
+
content: "导入流程"
|
|
4434
|
+
}, {
|
|
4435
|
+
default: M(() => [v(u, {
|
|
4436
|
+
size: o.headerButtonSize,
|
|
4437
|
+
type: o.headerButtonType,
|
|
4438
|
+
icon: "el-icon-folder-opened",
|
|
4439
|
+
onClick: a[0] || (a[0] = (t) => e.$refs.refFile.click())
|
|
4440
|
+
}, {
|
|
4441
|
+
default: M(() => [...a[17] || (a[17] = [_(" 导入 ", -1)])]),
|
|
4442
|
+
_: 1
|
|
4443
|
+
}, 8, ["size", "type"])]),
|
|
4444
|
+
_: 1
|
|
4445
|
+
})) : m("v-if", !0),
|
|
4446
|
+
v(f, { effect: "light" }, {
|
|
4447
|
+
content: M(() => [
|
|
4448
|
+
v(u, {
|
|
4449
|
+
size: o.headerButtonSize,
|
|
4450
|
+
text: "",
|
|
4451
|
+
onClick: a[1] || (a[1] = (e) => l.downloadProcessAsXml())
|
|
4452
|
+
}, {
|
|
4453
|
+
default: M(() => [...a[19] || (a[19] = [_("下载为XML文件", -1)])]),
|
|
4454
|
+
_: 1
|
|
4455
|
+
}, 8, ["size"]),
|
|
4456
|
+
a[22] || (a[22] = g("br", null, null, -1)),
|
|
4457
|
+
v(u, {
|
|
4458
|
+
size: o.headerButtonSize,
|
|
4459
|
+
text: "",
|
|
4460
|
+
onClick: a[2] || (a[2] = (e) => l.downloadProcessAsSvg())
|
|
4461
|
+
}, {
|
|
4462
|
+
default: M(() => [...a[20] || (a[20] = [_("下载为SVG文件", -1)])]),
|
|
4463
|
+
_: 1
|
|
4464
|
+
}, 8, ["size"]),
|
|
4465
|
+
a[23] || (a[23] = g("br", null, null, -1)),
|
|
4466
|
+
v(u, {
|
|
4467
|
+
size: o.headerButtonSize,
|
|
4468
|
+
text: "",
|
|
4469
|
+
onClick: a[3] || (a[3] = (e) => l.downloadProcessAsBpmn())
|
|
4470
|
+
}, {
|
|
4471
|
+
default: M(() => [...a[21] || (a[21] = [_(" 下载为BPMN文件 ", -1)])]),
|
|
4472
|
+
_: 1
|
|
4473
|
+
}, 8, ["size"])
|
|
4474
|
+
]),
|
|
4475
|
+
default: M(() => [v(u, {
|
|
4476
|
+
size: o.headerButtonSize,
|
|
4477
|
+
type: o.headerButtonType,
|
|
4478
|
+
icon: "el-icon-download"
|
|
4479
|
+
}, {
|
|
4480
|
+
default: M(() => [...a[18] || (a[18] = [_(" 下载 ", -1)])]),
|
|
4481
|
+
_: 1
|
|
4482
|
+
}, 8, ["size", "type"])]),
|
|
4483
|
+
_: 1
|
|
4484
|
+
}),
|
|
4485
|
+
v(f, { effect: "light" }, {
|
|
4486
|
+
content: M(() => [
|
|
4487
|
+
v(u, {
|
|
4488
|
+
size: o.headerButtonSize,
|
|
4489
|
+
text: "",
|
|
4490
|
+
onClick: l.previewProcessXML
|
|
4491
|
+
}, {
|
|
4492
|
+
default: M(() => [...a[24] || (a[24] = [_("预览XML", -1)])]),
|
|
4493
|
+
_: 1
|
|
4494
|
+
}, 8, ["size", "onClick"]),
|
|
4495
|
+
a[26] || (a[26] = g("br", null, null, -1)),
|
|
4496
|
+
v(u, {
|
|
4497
|
+
size: o.headerButtonSize,
|
|
4498
|
+
text: "",
|
|
4499
|
+
onClick: l.previewProcessJson
|
|
4500
|
+
}, {
|
|
4501
|
+
default: M(() => [...a[25] || (a[25] = [_("预览JSON", -1)])]),
|
|
4502
|
+
_: 1
|
|
4503
|
+
}, 8, ["size", "onClick"])
|
|
4504
|
+
]),
|
|
4505
|
+
default: M(() => [v(u, {
|
|
4506
|
+
size: o.headerButtonSize,
|
|
4507
|
+
type: o.headerButtonType,
|
|
4508
|
+
icon: "el-icon-view"
|
|
4509
|
+
}, {
|
|
4510
|
+
default: M(() => [...a[27] || (a[27] = [_("预览", -1)])]),
|
|
4511
|
+
_: 1
|
|
4512
|
+
}, 8, ["size", "type"])]),
|
|
4513
|
+
_: 1
|
|
4514
|
+
}),
|
|
4515
|
+
o.simulation ? (w(), p(f, {
|
|
4516
|
+
key: 1,
|
|
4517
|
+
effect: "light",
|
|
4518
|
+
content: c.simulationStatus ? "退出模拟" : "开启模拟"
|
|
4519
|
+
}, {
|
|
4520
|
+
default: M(() => [v(u, {
|
|
4521
|
+
size: o.headerButtonSize,
|
|
4522
|
+
type: o.headerButtonType,
|
|
4523
|
+
icon: "el-icon-cpu",
|
|
4524
|
+
onClick: l.processSimulation
|
|
4525
|
+
}, {
|
|
4526
|
+
default: M(() => [...a[28] || (a[28] = [_(" 模拟 ", -1)])]),
|
|
4527
|
+
_: 1
|
|
4528
|
+
}, 8, [
|
|
4529
|
+
"size",
|
|
4530
|
+
"type",
|
|
4531
|
+
"onClick"
|
|
4532
|
+
])]),
|
|
4533
|
+
_: 1
|
|
4534
|
+
}, 8, ["content"])) : m("v-if", !0)
|
|
4535
|
+
]),
|
|
4536
|
+
_: 3
|
|
4537
|
+
}),
|
|
4538
|
+
v(y, { key: "align-control" }, {
|
|
4539
|
+
default: M(() => [
|
|
4540
|
+
v(f, {
|
|
4541
|
+
effect: "light",
|
|
4542
|
+
content: "向左对齐"
|
|
4543
|
+
}, {
|
|
4544
|
+
default: M(() => [v(u, {
|
|
4545
|
+
size: o.headerButtonSize,
|
|
4546
|
+
class: "align align-left",
|
|
4547
|
+
icon: "el-icon-s-data",
|
|
4548
|
+
onClick: a[4] || (a[4] = (e) => l.elementsAlign("left"))
|
|
4549
|
+
}, null, 8, ["size"])]),
|
|
4550
|
+
_: 1
|
|
4551
|
+
}),
|
|
4552
|
+
v(f, {
|
|
4553
|
+
effect: "light",
|
|
4554
|
+
content: "向右对齐"
|
|
4555
|
+
}, {
|
|
4556
|
+
default: M(() => [v(u, {
|
|
4557
|
+
size: o.headerButtonSize,
|
|
4558
|
+
class: "align align-right",
|
|
4559
|
+
icon: "el-icon-s-data",
|
|
4560
|
+
onClick: a[5] || (a[5] = (e) => l.elementsAlign("right"))
|
|
4561
|
+
}, null, 8, ["size"])]),
|
|
4562
|
+
_: 1
|
|
4563
|
+
}),
|
|
4564
|
+
v(f, {
|
|
4565
|
+
effect: "light",
|
|
4566
|
+
content: "向上对齐"
|
|
4567
|
+
}, {
|
|
4568
|
+
default: M(() => [v(u, {
|
|
4569
|
+
size: o.headerButtonSize,
|
|
4570
|
+
class: "align align-top",
|
|
4571
|
+
icon: "el-icon-s-data",
|
|
4572
|
+
onClick: a[6] || (a[6] = (e) => l.elementsAlign("top"))
|
|
4573
|
+
}, null, 8, ["size"])]),
|
|
4574
|
+
_: 1
|
|
4575
|
+
}),
|
|
4576
|
+
v(f, {
|
|
4577
|
+
effect: "light",
|
|
4578
|
+
content: "向下对齐"
|
|
4579
|
+
}, {
|
|
4580
|
+
default: M(() => [v(u, {
|
|
4581
|
+
size: o.headerButtonSize,
|
|
4582
|
+
class: "align align-bottom",
|
|
4583
|
+
icon: "el-icon-s-data",
|
|
4584
|
+
onClick: a[7] || (a[7] = (e) => l.elementsAlign("bottom"))
|
|
4585
|
+
}, null, 8, ["size"])]),
|
|
4586
|
+
_: 1
|
|
4587
|
+
}),
|
|
4588
|
+
v(f, {
|
|
4589
|
+
effect: "light",
|
|
4590
|
+
content: "水平居中"
|
|
4591
|
+
}, {
|
|
4592
|
+
default: M(() => [v(u, {
|
|
4593
|
+
size: o.headerButtonSize,
|
|
4594
|
+
class: "align align-center",
|
|
4595
|
+
icon: "el-icon-s-data",
|
|
4596
|
+
onClick: a[8] || (a[8] = (e) => l.elementsAlign("center"))
|
|
4597
|
+
}, null, 8, ["size"])]),
|
|
4598
|
+
_: 1
|
|
4599
|
+
}),
|
|
4600
|
+
v(f, {
|
|
4601
|
+
effect: "light",
|
|
4602
|
+
content: "垂直居中"
|
|
4603
|
+
}, {
|
|
4604
|
+
default: M(() => [v(u, {
|
|
4605
|
+
size: o.headerButtonSize,
|
|
4606
|
+
class: "align align-middle",
|
|
4607
|
+
icon: "el-icon-s-data",
|
|
4608
|
+
onClick: a[9] || (a[9] = (e) => l.elementsAlign("middle"))
|
|
4609
|
+
}, null, 8, ["size"])]),
|
|
4610
|
+
_: 1
|
|
4611
|
+
})
|
|
4612
|
+
]),
|
|
4613
|
+
_: 1
|
|
4614
|
+
}),
|
|
4615
|
+
v(y, { key: "scale-control" }, {
|
|
4616
|
+
default: M(() => [
|
|
4617
|
+
v(f, {
|
|
4618
|
+
effect: "light",
|
|
4619
|
+
content: "缩小视图"
|
|
4620
|
+
}, {
|
|
4621
|
+
default: M(() => [v(u, {
|
|
4622
|
+
size: o.headerButtonSize,
|
|
4623
|
+
disabled: c.defaultZoom < .2,
|
|
4624
|
+
icon: "el-icon-zoom-out",
|
|
4625
|
+
onClick: a[10] || (a[10] = (e) => l.processZoomOut())
|
|
4626
|
+
}, null, 8, ["size", "disabled"])]),
|
|
4627
|
+
_: 1
|
|
4628
|
+
}),
|
|
4629
|
+
v(u, { size: o.headerButtonSize }, {
|
|
4630
|
+
default: M(() => [_(O(`${Math.floor(c.defaultZoom * 10 * 10)}%`), 1)]),
|
|
4631
|
+
_: 1
|
|
4632
|
+
}, 8, ["size"]),
|
|
4633
|
+
v(f, {
|
|
4634
|
+
effect: "light",
|
|
4635
|
+
content: "放大视图"
|
|
4636
|
+
}, {
|
|
4637
|
+
default: M(() => [v(u, {
|
|
4638
|
+
size: o.headerButtonSize,
|
|
4639
|
+
disabled: c.defaultZoom > 4,
|
|
4640
|
+
icon: "el-icon-zoom-in",
|
|
4641
|
+
onClick: a[11] || (a[11] = (e) => l.processZoomIn())
|
|
4642
|
+
}, null, 8, ["size", "disabled"])]),
|
|
4643
|
+
_: 1
|
|
4644
|
+
}),
|
|
4645
|
+
v(f, {
|
|
4646
|
+
effect: "light",
|
|
4647
|
+
content: "重置视图并居中"
|
|
4648
|
+
}, {
|
|
4649
|
+
default: M(() => [v(u, {
|
|
4650
|
+
size: o.headerButtonSize,
|
|
4651
|
+
icon: "el-icon-c-scale-to-original",
|
|
4652
|
+
onClick: a[12] || (a[12] = (e) => l.processReZoom())
|
|
4653
|
+
}, null, 8, ["size"])]),
|
|
4654
|
+
_: 1
|
|
4655
|
+
})
|
|
4656
|
+
]),
|
|
4657
|
+
_: 1
|
|
4658
|
+
}),
|
|
4659
|
+
v(y, { key: "stack-control" }, {
|
|
4660
|
+
default: M(() => [
|
|
4661
|
+
v(f, {
|
|
4662
|
+
effect: "light",
|
|
4663
|
+
content: "撤销"
|
|
4664
|
+
}, {
|
|
4665
|
+
default: M(() => [v(u, {
|
|
4666
|
+
size: o.headerButtonSize,
|
|
4667
|
+
disabled: !c.revocable,
|
|
4668
|
+
icon: "el-icon-refresh-left",
|
|
4669
|
+
onClick: a[13] || (a[13] = (e) => l.processUndo())
|
|
4670
|
+
}, null, 8, ["size", "disabled"])]),
|
|
4671
|
+
_: 1
|
|
4672
|
+
}),
|
|
4673
|
+
v(f, {
|
|
4674
|
+
effect: "light",
|
|
4675
|
+
content: "恢复"
|
|
4676
|
+
}, {
|
|
4677
|
+
default: M(() => [v(u, {
|
|
4678
|
+
size: o.headerButtonSize,
|
|
4679
|
+
disabled: !c.recoverable,
|
|
4680
|
+
icon: "el-icon-refresh-right",
|
|
4681
|
+
onClick: a[14] || (a[14] = (e) => l.processRedo())
|
|
4682
|
+
}, null, 8, ["size", "disabled"])]),
|
|
4683
|
+
_: 1
|
|
4684
|
+
}),
|
|
4685
|
+
v(f, {
|
|
4686
|
+
effect: "light",
|
|
4687
|
+
content: "重新绘制"
|
|
4688
|
+
}, {
|
|
4689
|
+
default: M(() => [v(u, {
|
|
4690
|
+
size: o.headerButtonSize,
|
|
4691
|
+
icon: "el-icon-refresh",
|
|
4692
|
+
onClick: l.processRestart
|
|
4693
|
+
}, null, 8, ["size", "onClick"])]),
|
|
4694
|
+
_: 1
|
|
4695
|
+
})
|
|
4696
|
+
]),
|
|
4697
|
+
_: 1
|
|
4698
|
+
})
|
|
4699
|
+
]),
|
|
4700
|
+
m(" 用于打开本地文件"),
|
|
4701
|
+
g("input", {
|
|
4702
|
+
id: "files",
|
|
4703
|
+
ref: "refFile",
|
|
4704
|
+
type: "file",
|
|
4705
|
+
style: { display: "none" },
|
|
4706
|
+
accept: ".xml, .bpmn",
|
|
4707
|
+
onChange: a[15] || (a[15] = (...e) => l.importLocalFile && l.importLocalFile(...e))
|
|
4708
|
+
}, null, 544)
|
|
4709
|
+
]),
|
|
4710
|
+
g("div", gt, [g("div", _t, null, 512)]),
|
|
4711
|
+
v(x, {
|
|
4712
|
+
modelValue: c.previewModelVisible,
|
|
4713
|
+
"onUpdate:modelValue": a[16] || (a[16] = (e) => c.previewModelVisible = e),
|
|
4714
|
+
title: "预览",
|
|
4715
|
+
class: "flow-dialog",
|
|
4716
|
+
width: "60vw",
|
|
4717
|
+
height: "60vh",
|
|
4718
|
+
"body-padding": !1,
|
|
4719
|
+
"destroy-on-close": ""
|
|
4720
|
+
}, {
|
|
4721
|
+
default: M(() => [v(b, {
|
|
4722
|
+
language: c.previewType,
|
|
4723
|
+
code: c.previewResult
|
|
4724
|
+
}, null, 8, ["language", "code"])]),
|
|
4725
|
+
_: 1
|
|
4726
|
+
}, 8, ["modelValue"])
|
|
4727
|
+
]);
|
|
4728
|
+
}
|
|
4729
|
+
var yt = /* @__PURE__ */ e(pt, [["render", vt]]), bt = {
|
|
4730
|
+
name: "FlowDesigner",
|
|
4731
|
+
components: {
|
|
4732
|
+
PropertiesPanel: Ve,
|
|
4733
|
+
ProcessDesigner: yt
|
|
4734
|
+
},
|
|
4735
|
+
props: {
|
|
4736
|
+
modelValue: String,
|
|
4737
|
+
usePanel: {
|
|
4738
|
+
type: Boolean,
|
|
4739
|
+
default: !0
|
|
4740
|
+
},
|
|
4741
|
+
useTabs: Array,
|
|
4742
|
+
extendTypes: Array,
|
|
4743
|
+
context: Object,
|
|
4744
|
+
panelType: { type: String }
|
|
4745
|
+
},
|
|
4746
|
+
emits: ["update:modelValue"],
|
|
4747
|
+
setup(e, { slots: t, emit: n, expose: r }) {
|
|
4748
|
+
let i = {
|
|
4749
|
+
processId: "",
|
|
4750
|
+
processName: "",
|
|
4751
|
+
simulation: !0,
|
|
4752
|
+
labelEditing: !1,
|
|
4753
|
+
labelVisible: !1,
|
|
4754
|
+
prefix: "flowable",
|
|
4755
|
+
headerButtonSize: "small",
|
|
4756
|
+
additionalModel: [
|
|
4757
|
+
_e,
|
|
4758
|
+
ve,
|
|
4759
|
+
ke
|
|
4760
|
+
]
|
|
4761
|
+
}, a = E(0), o = null, s = (e) => {
|
|
4762
|
+
e != null && (o = e, a.value++);
|
|
4763
|
+
}, c = A("processDesigner");
|
|
4764
|
+
return r({ refresh: async () => {
|
|
4765
|
+
await C(), await c.value.createNewDiagram(e.modelValue);
|
|
4766
|
+
} }), () => v("div", { class: "flow-designer" }, [v(yt, S(i, {
|
|
4767
|
+
ref: "processDesigner",
|
|
4768
|
+
"model-value": e.modelValue,
|
|
4769
|
+
"extend-types": e.extendTypes,
|
|
4770
|
+
options: {
|
|
4771
|
+
taskResizingEnabled: !0,
|
|
4772
|
+
eventResizingEnabled: !0
|
|
4773
|
+
},
|
|
4774
|
+
"onUpdate:modelValue": (e) => n("update:modelValue", e),
|
|
4775
|
+
onInitFinished: s
|
|
4776
|
+
}), { "toolbar-buttons": a.value > 0 ? () => {
|
|
4777
|
+
var e;
|
|
4778
|
+
return (e = t["toolbar-buttons"]) == null ? void 0 : e.call(t, { modeler: o });
|
|
4779
|
+
} : null }), a.value > 0 && e.usePanel && (e.useTabs === null || e.useTabs === void 0 || e.useTabs.length > 0) ? v(Ve, {
|
|
4780
|
+
"panel-type": e.panelType,
|
|
4781
|
+
"use-tabs": e.useTabs,
|
|
4782
|
+
"bpmn-modeler": o,
|
|
4783
|
+
context: e.context,
|
|
4784
|
+
prefix: i.prefix,
|
|
4785
|
+
class: "process-panel"
|
|
4786
|
+
}, {
|
|
4787
|
+
task: t.task,
|
|
4788
|
+
form: t.form,
|
|
4789
|
+
ext: t.ext
|
|
4790
|
+
}) : null]);
|
|
4791
|
+
}
|
|
4792
|
+
};
|
|
4793
|
+
//#endregion
|
|
4794
|
+
export { bt as t };
|