@web-utils/form-ui 1.0.0-beta6 → 1.0.0-beta61
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 +32 -0
- package/affix/index.mjs +49 -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 +22 -0
- package/capsule-tab/index.mjs +27 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.d.ts +41 -0
- package/card/index.mjs +89 -0
- package/card/style.css +1 -0
- package/chunks/3gUkQF12.mjs +207 -0
- package/chunks/49634Q2N2.mjs +936 -0
- package/chunks/5itVLmv82.mjs +108 -0
- package/chunks/6kdakei5.mjs +644 -0
- package/chunks/77cFhiAz.mjs +13 -0
- package/chunks/7Cv9Cq-02.mjs +1354 -0
- package/chunks/7JVbVOff2.mjs +46 -0
- package/chunks/9rQitPz7.mjs +590 -0
- package/chunks/B1ATN2my.mjs +26 -0
- package/chunks/B1GA44yT2.mjs +42 -0
- package/chunks/B31ub5xS.mjs +46 -0
- package/chunks/B3d4fdGH.mjs +17 -0
- package/chunks/B5voIv4_.mjs +194 -0
- package/chunks/B7O8aGqC2.mjs +58 -0
- package/chunks/B8wGY5Hs2.mjs +26 -0
- package/chunks/BBPczt0U.mjs +4 -0
- package/chunks/BBqq6o072.mjs +243 -0
- package/chunks/BCVhSMZN.mjs +1328 -0
- package/chunks/BDVLN2ly.mjs +105 -0
- package/chunks/BEysX5TF2.mjs +1038 -0
- package/chunks/BI-ZFlSw2.mjs +26 -0
- package/chunks/BIj6pa8Z.mjs +15 -0
- package/chunks/BJby9uHB2.mjs +233 -0
- package/chunks/BMTtnkb7.mjs +60 -0
- package/chunks/BPpMbPS8.mjs +63 -0
- package/chunks/BQNqBw8h2.mjs +27 -0
- package/chunks/BUAQybGW.mjs +230 -0
- package/chunks/BVIHqL6g.mjs +17 -0
- package/chunks/BVSQ6DfJ.mjs +17 -0
- package/chunks/BVuwiZGi.mjs +37 -0
- package/chunks/B__5L22p2.mjs +346 -0
- package/chunks/BaLjN8Ow.mjs +197 -0
- package/chunks/Baam4z-g.mjs +275 -0
- package/chunks/Bdeug17L.mjs +42 -0
- package/chunks/BeWNlclr.mjs +295 -0
- package/chunks/BecO0t0_2.mjs +2430 -0
- package/chunks/BffxPn8a.mjs +34 -0
- package/chunks/Bgw_3soo.mjs +35 -0
- package/chunks/BjCfQFUL.mjs +54 -0
- package/chunks/BjWs-r2V.mjs +25 -0
- package/chunks/BkEMJ725.mjs +214 -0
- package/chunks/BlB1fEo92.mjs +8 -0
- package/chunks/BoId6V9J.mjs +17 -0
- package/chunks/BrYtAPbN2.mjs +161 -0
- package/chunks/BsKwchVA.mjs +14 -0
- package/chunks/BsM0L7CS.mjs +132 -0
- package/chunks/BvbjlaN02.mjs +514 -0
- package/chunks/BvcK4D8A2.mjs +1800 -0
- package/chunks/BwYEpK-u.mjs +8 -0
- package/chunks/C1RsHtGI.mjs +40 -0
- package/chunks/C5f3Xfsc2.mjs +36 -0
- package/chunks/C7l9aZGE.mjs +577 -0
- package/chunks/CDqVJ7U3.mjs +449 -0
- package/chunks/CFvkR9Ze2.mjs +31 -0
- package/chunks/CGM03LI5.mjs +588 -0
- package/chunks/CIybFvu92.mjs +30 -0
- package/chunks/CPejK_GQ2.mjs +383 -0
- package/chunks/CQSTyCVP.mjs +6 -0
- package/chunks/CQxz8uUc.mjs +454 -0
- package/chunks/CR29QUwT2.mjs +28 -0
- package/chunks/CWvo-ucD.mjs +446 -0
- package/chunks/C_eGir-J.mjs +17 -0
- package/chunks/CaRunrOV2.mjs +5289 -0
- package/chunks/Calzy0Az.mjs +1275 -0
- package/chunks/CbbjpJFg2.mjs +26 -0
- package/chunks/CbgD7y-5.mjs +5 -0
- package/chunks/CbsGuLZz2.mjs +105 -0
- package/chunks/CcT5SsZk.mjs +48 -0
- package/chunks/CdBytH8S.mjs +266 -0
- package/chunks/Ch_zaHx9.mjs +89 -0
- package/chunks/CiFlMt6Z.mjs +41 -0
- package/chunks/CjjJimnU.mjs +20 -0
- package/chunks/Cjkq49252.mjs +60 -0
- package/chunks/CjmfMN1X2.mjs +34 -0
- package/chunks/CnCSm3LY2.mjs +4 -0
- package/chunks/CsLrkldT2.mjs +225 -0
- package/chunks/Csiz_xCa2.mjs +273 -0
- package/chunks/Ctd3_wOH2.mjs +6 -0
- package/chunks/Cu2A_1vk2.mjs +106 -0
- package/chunks/CuoF9V8s.mjs +3091 -0
- package/chunks/CwBq1JZV.mjs +250 -0
- package/chunks/CwWfRmD3.mjs +57 -0
- package/chunks/CwqeV7002.mjs +67 -0
- package/chunks/Cy8jqgun2.mjs +41 -0
- package/chunks/D-hj62se2.mjs +525 -0
- package/chunks/D3Xixh5v.mjs +5 -0
- package/chunks/D4oNQiIK.mjs +461 -0
- package/chunks/D6vTCC1Z2.mjs +110 -0
- package/chunks/D8r81QxD.mjs +732 -0
- package/chunks/D9qn1x3X2.mjs +87 -0
- package/chunks/DL0o_C092.mjs +1093 -0
- package/chunks/DLgn1tQG2.mjs +60 -0
- package/chunks/DNSPORak.mjs +479 -0
- package/chunks/DStwh2ne.mjs +281 -0
- package/chunks/DTUh8o0p2.mjs +145 -0
- package/chunks/DXiLi19u2.mjs +33 -0
- package/chunks/DZ0frL1U.mjs +69 -0
- package/chunks/D_qwjNah.mjs +1094 -0
- package/chunks/DbtlO6wD.mjs +52 -0
- package/chunks/DfJJr053.mjs +217 -0
- package/chunks/Dg9Q-Tbi2.mjs +299 -0
- package/chunks/DhQF2ZlD.mjs +182 -0
- package/chunks/Dls3rTka2.mjs +24 -0
- package/chunks/DnBzQ-xh.mjs +4 -0
- package/chunks/DoNfjRR1.mjs +68 -0
- package/chunks/DoOkwYtO.mjs +609 -0
- package/chunks/DrKq_frR.mjs +98 -0
- package/chunks/DsYXqJLZ.mjs +641 -0
- package/chunks/DsZznbt2.mjs +208 -0
- package/chunks/Dsd58O0g.mjs +25 -0
- package/chunks/Dtq1xYk8.mjs +47 -0
- package/chunks/DxL9oojv2.mjs +418 -0
- package/chunks/EA6hte7s2.mjs +49 -0
- package/chunks/FeuisuNY2.mjs +88 -0
- package/chunks/GEtlriHC.mjs +188 -0
- package/chunks/GsvG1yFW.mjs +1919 -0
- package/chunks/KGmxNbpi.mjs +21 -0
- package/chunks/Q2Mal3Qn2.mjs +439 -0
- package/chunks/T_jwNKBr.mjs +379 -0
- package/chunks/TtxSplBB.mjs +195 -0
- package/chunks/Wl17p0C82.mjs +94 -0
- package/chunks/Z0BPDZlb.mjs +66 -0
- package/chunks/akEzJ4kG.mjs +18 -0
- package/chunks/cMuWbLPt.mjs +196 -0
- package/chunks/e70aZf3z.mjs +64 -0
- package/chunks/gh52LMTG.mjs +12 -0
- package/chunks/h-Uhst9y.mjs +98 -0
- package/chunks/hgAOQY9a.mjs +406 -0
- package/chunks/lGc5ksPb.mjs +279 -0
- package/chunks/mD3gmiOy2.mjs +96 -0
- package/chunks/nLBvkerV2.mjs +621 -0
- package/chunks/pZQfJv282.mjs +4 -0
- package/chunks/qrHhuZXg.mjs +465 -0
- package/chunks/uqKZ4RIo.mjs +222 -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 +73 -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 +19 -0
- package/data-box/index.mjs +68 -0
- package/data-box/style.css +1 -0
- package/data-card/index.d.ts +20 -0
- package/data-card/index.mjs +63 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-card-text/index.mjs +67 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.d.ts +20 -0
- package/data-display/index.mjs +73 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.d.ts +21 -0
- package/data-icons/index.mjs +74 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-imgtext/index.mjs +71 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-operatext/index.mjs +54 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.d.ts +19 -0
- package/data-panel/index.mjs +61 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.d.ts +19 -0
- package/data-pay/index.mjs +110 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.d.ts +17 -0
- package/data-price/index.mjs +51 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.d.ts +19 -0
- package/data-progress/index.mjs +72 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.d.ts +19 -0
- package/data-rotate/index.mjs +65 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.mjs +118 -0
- package/data-tabs/index.d.ts +19 -0
- package/data-tabs/index.mjs +71 -0
- package/data-tabs/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 +120 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.mjs +2 -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 +2 -2
- 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 +353 -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 +253 -20
- 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 +404 -21
- 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 +153 -15
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +309 -22
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- 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 +315 -18
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +315 -18
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +254 -20
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +315 -18
- 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-config-provider/index.d.ts +40 -0
- package/form-item-config-provider/index.mjs +24 -0
- 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-item-x/index.d.ts +149 -13
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +313 -20
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +262 -16
- 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 +545 -20
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +291 -18
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +282 -18
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +287 -0
- package/form-table/index.mjs +2 -0
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.mjs +2 -0
- package/form-text/index.d.ts +173 -15
- 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/guide-steps/index.d.ts +31 -0
- package/guide-steps/index.mjs +2 -0
- package/guide-steps/style.css +1 -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 +47 -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/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 +155 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.d.ts +213 -0
- package/image-preview/index.mjs +2 -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 +121 -36
- package/index.mjs +123 -61
- package/input-number-range/index.d.ts +41 -0
- package/input-number-range/index.mjs +76 -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/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 +36 -0
- package/nav-bar/style.css +1 -0
- package/package.json +25 -5
- 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 +123 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-index-top/index.mjs +85 -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 +339 -0
- package/props/date.mjs +145 -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/index.mjs +29 -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 +37 -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 +109 -0
- package/sub-table/index.mjs +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.d.ts +109 -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 +468 -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 +128 -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 +1489 -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/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/form-check-box-group/index.d.ts +0 -93
- package/form-check-box-group/index.mjs +0 -2
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { i as e, n as t, r as n } from "./Bdeug17L.mjs";
|
|
2
|
+
import { n as r, r as i, t as a } from "./DnBzQ-xh.mjs";
|
|
3
|
+
import { r as o } from "./akEzJ4kG.mjs";
|
|
4
|
+
import { n as ee, t as s } from "./hgAOQY9a.mjs";
|
|
5
|
+
import { M as te, g as c, l, s as ne, t as u, u as d, y as f } from "./DrKq_frR.mjs";
|
|
6
|
+
import { t as p } from "./Dsd58O0g.mjs";
|
|
7
|
+
import { S as re, a as m, b as ie, n as ae, t as h } from "./D4oNQiIK.mjs";
|
|
8
|
+
import { n as oe } from "./GEtlriHC.mjs";
|
|
9
|
+
import { i as se, r as ce, t as g } from "./CcT5SsZk.mjs";
|
|
10
|
+
import { t as le } from "./C7l9aZGE.mjs";
|
|
11
|
+
import { t as _ } from "./BVIHqL6g.mjs";
|
|
12
|
+
import { computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createSlots as ue, createVNode as S, defineComponent as C, normalizeClass as w, onMounted as de, onUpdated as fe, openBlock as T, reactive as pe, ref as me, renderSlot as E, unref as D, watch as O, withCtx as k, withDirectives as A, withKeys as j, withModifiers as he } from "vue";
|
|
13
|
+
import { isNil as M } from "lodash-unified";
|
|
14
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/input-number/src/input-number.mjs
|
|
15
|
+
var N = l({
|
|
16
|
+
id: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: void 0
|
|
19
|
+
},
|
|
20
|
+
step: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 1
|
|
23
|
+
},
|
|
24
|
+
stepStrictly: Boolean,
|
|
25
|
+
max: {
|
|
26
|
+
type: Number,
|
|
27
|
+
default: 2 ** 53 - 1
|
|
28
|
+
},
|
|
29
|
+
min: {
|
|
30
|
+
type: Number,
|
|
31
|
+
default: -(2 ** 53 - 1)
|
|
32
|
+
},
|
|
33
|
+
modelValue: { type: [Number, null] },
|
|
34
|
+
readonly: Boolean,
|
|
35
|
+
disabled: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: void 0
|
|
38
|
+
},
|
|
39
|
+
size: o,
|
|
40
|
+
controls: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !0
|
|
43
|
+
},
|
|
44
|
+
controlsPosition: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: "",
|
|
47
|
+
values: ["", "right"]
|
|
48
|
+
},
|
|
49
|
+
valueOnClear: {
|
|
50
|
+
type: d([
|
|
51
|
+
String,
|
|
52
|
+
Number,
|
|
53
|
+
null
|
|
54
|
+
]),
|
|
55
|
+
validator: (e) => e === null || c(e) || ["min", "max"].includes(e),
|
|
56
|
+
default: null
|
|
57
|
+
},
|
|
58
|
+
name: String,
|
|
59
|
+
placeholder: String,
|
|
60
|
+
precision: {
|
|
61
|
+
type: Number,
|
|
62
|
+
validator: (e) => e >= 0 && e === Number.parseInt(`${e}`, 10)
|
|
63
|
+
},
|
|
64
|
+
validateEvent: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: !0
|
|
67
|
+
},
|
|
68
|
+
..._(["ariaLabel"]),
|
|
69
|
+
inputmode: {
|
|
70
|
+
type: d(String),
|
|
71
|
+
default: void 0
|
|
72
|
+
},
|
|
73
|
+
align: {
|
|
74
|
+
type: d(String),
|
|
75
|
+
default: "center"
|
|
76
|
+
},
|
|
77
|
+
disabledScientific: Boolean
|
|
78
|
+
}), P = {
|
|
79
|
+
[a]: (e, t) => t !== e,
|
|
80
|
+
blur: (e) => e instanceof FocusEvent,
|
|
81
|
+
focus: (e) => e instanceof FocusEvent,
|
|
82
|
+
[r]: (e) => c(e) || M(e),
|
|
83
|
+
[i]: (e) => c(e) || M(e)
|
|
84
|
+
}, F = ["aria-label"], I = ["aria-label"], L = u(/* @__PURE__ */ C({
|
|
85
|
+
name: "ElInputNumber",
|
|
86
|
+
__name: "input-number",
|
|
87
|
+
props: N,
|
|
88
|
+
emits: P,
|
|
89
|
+
setup(o, { expose: l, emit: u }) {
|
|
90
|
+
let d = o, _ = u, { t: C } = oe(), N = ne("input-number"), P = me(), L = pe({
|
|
91
|
+
currentValue: d.modelValue,
|
|
92
|
+
userInput: null
|
|
93
|
+
}), { formItem: R } = g(), z = v(() => c(d.modelValue) && d.modelValue <= d.min), B = v(() => c(d.modelValue) && d.modelValue >= d.max), V = v(() => {
|
|
94
|
+
let e = q(d.step);
|
|
95
|
+
return f(d.precision) ? Math.max(q(d.modelValue), e) : (e > d.precision && s("InputNumber", "precision should not be less than the decimal places of step"), d.precision);
|
|
96
|
+
}), H = v(() => d.controls && d.controlsPosition === "right"), U = se(), W = ce(), G = v(() => {
|
|
97
|
+
if (L.userInput !== null) return L.userInput;
|
|
98
|
+
let e = L.currentValue;
|
|
99
|
+
if (M(e)) return "";
|
|
100
|
+
if (c(e)) {
|
|
101
|
+
if (Number.isNaN(e)) return "";
|
|
102
|
+
f(d.precision) || (e = e.toFixed(d.precision));
|
|
103
|
+
}
|
|
104
|
+
return e;
|
|
105
|
+
}), K = (e, t) => {
|
|
106
|
+
if (f(t) && (t = V.value), t === 0) return Math.round(e);
|
|
107
|
+
let n = String(e), r = n.indexOf(".");
|
|
108
|
+
if (r === -1 || !n.replace(".", "").split("")[r + t]) return e;
|
|
109
|
+
let i = n.length;
|
|
110
|
+
return n.charAt(i - 1) === "5" && (n = `${n.slice(0, Math.max(0, i - 1))}6`), Number.parseFloat(Number(n).toFixed(t));
|
|
111
|
+
}, q = (e) => {
|
|
112
|
+
if (M(e)) return 0;
|
|
113
|
+
let t = e.toString(), n = t.indexOf("."), r = 0;
|
|
114
|
+
return n !== -1 && (r = t.length - n - 1), r;
|
|
115
|
+
}, J = (e, t = 1) => c(e) ? e >= 2 ** 53 - 1 && t === 1 ? (s("InputNumber", "The value has reached the maximum safe integer limit."), e) : e <= -(2 ** 53 - 1) && t === -1 ? (s("InputNumber", "The value has reached the minimum safe integer limit."), e) : K(e + d.step * t) : L.currentValue, ge = (r) => {
|
|
116
|
+
let i = t(r), a = n(r);
|
|
117
|
+
if (d.disabledScientific && ["e", "E"].includes(a)) {
|
|
118
|
+
r.preventDefault();
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
switch (i) {
|
|
122
|
+
case e.up:
|
|
123
|
+
r.preventDefault(), Y();
|
|
124
|
+
break;
|
|
125
|
+
case e.down:
|
|
126
|
+
r.preventDefault(), X();
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
}, Y = () => {
|
|
130
|
+
d.readonly || W.value || B.value || (Q(J(Number(G.value) || 0)), _(r, L.currentValue), $());
|
|
131
|
+
}, X = () => {
|
|
132
|
+
d.readonly || W.value || z.value || (Q(J(Number(G.value) || 0, -1)), _(r, L.currentValue), $());
|
|
133
|
+
}, Z = (e, t) => {
|
|
134
|
+
let { max: n, min: r, step: i, precision: a, stepStrictly: o, valueOnClear: s } = d;
|
|
135
|
+
n < r && ee("InputNumber", "min should not be greater than max.");
|
|
136
|
+
let c = Number(e);
|
|
137
|
+
if (M(e) || Number.isNaN(c)) return null;
|
|
138
|
+
if (e === "") {
|
|
139
|
+
if (s === null) return null;
|
|
140
|
+
c = te(s) ? {
|
|
141
|
+
min: r,
|
|
142
|
+
max: n
|
|
143
|
+
}[s] : s;
|
|
144
|
+
}
|
|
145
|
+
return o && (c = K(Math.round(K(c / i)) * i, a), c !== e && t && _("update:modelValue", c)), f(a) || (c = K(c, a)), (c > n || c < r) && (c = c > n ? n : r, t && _("update:modelValue", c)), c;
|
|
146
|
+
}, Q = (e, t = !0) => {
|
|
147
|
+
var n;
|
|
148
|
+
let r = L.currentValue, o = Z(e);
|
|
149
|
+
if (!t) {
|
|
150
|
+
_(i, o);
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
L.userInput = null, !(r === o && e) && (_(i, o), r !== o && _(a, o, r), d.validateEvent && (R == null || (n = R.validate) == null || n.call(R, "change").catch((e) => s(e))), L.currentValue = o);
|
|
154
|
+
}, _e = (e) => {
|
|
155
|
+
L.userInput = e;
|
|
156
|
+
let t = e === "" ? null : Number(e);
|
|
157
|
+
_(r, t), Q(t, !1);
|
|
158
|
+
}, ve = (e) => {
|
|
159
|
+
let t = e === "" ? "" : Number(e);
|
|
160
|
+
(c(t) && !Number.isNaN(t) || e === "") && Q(t), $(), L.userInput = null;
|
|
161
|
+
}, ye = () => {
|
|
162
|
+
var e, t;
|
|
163
|
+
(e = P.value) == null || (t = e.focus) == null || t.call(e);
|
|
164
|
+
}, be = () => {
|
|
165
|
+
var e, t;
|
|
166
|
+
(e = P.value) == null || (t = e.blur) == null || t.call(e);
|
|
167
|
+
}, xe = (e) => {
|
|
168
|
+
_("focus", e);
|
|
169
|
+
}, Se = (e) => {
|
|
170
|
+
var t, n;
|
|
171
|
+
L.userInput = null, L.currentValue === null && (t = P.value) != null && t.input && (P.value.input.value = ""), _("blur", e), d.validateEvent && (R == null || (n = R.validate) == null || n.call(R, "blur").catch((e) => s(e)));
|
|
172
|
+
}, $ = () => {
|
|
173
|
+
L.currentValue !== d.modelValue && (L.currentValue = d.modelValue);
|
|
174
|
+
}, Ce = (e) => {
|
|
175
|
+
document.activeElement === e.target && e.preventDefault();
|
|
176
|
+
};
|
|
177
|
+
return O(() => d.modelValue, (e, t) => {
|
|
178
|
+
let n = Z(e, !0);
|
|
179
|
+
L.userInput === null && n !== t && (L.currentValue = n);
|
|
180
|
+
}, { immediate: !0 }), O(() => d.precision, () => {
|
|
181
|
+
L.currentValue = Z(d.modelValue);
|
|
182
|
+
}), de(() => {
|
|
183
|
+
var e;
|
|
184
|
+
let { min: t, max: n, modelValue: r } = d, a = (e = P.value) == null ? void 0 : e.input;
|
|
185
|
+
if (a.setAttribute("role", "spinbutton"), Number.isFinite(n) ? a.setAttribute("aria-valuemax", String(n)) : a.removeAttribute("aria-valuemax"), Number.isFinite(t) ? a.setAttribute("aria-valuemin", String(t)) : a.removeAttribute("aria-valuemin"), a.setAttribute("aria-valuenow", L.currentValue || L.currentValue === 0 ? String(L.currentValue) : ""), a.setAttribute("aria-disabled", String(W.value)), !c(r) && r != null) {
|
|
186
|
+
let e = Number(r);
|
|
187
|
+
Number.isNaN(e) && (e = null), _(i, e);
|
|
188
|
+
}
|
|
189
|
+
a.addEventListener("wheel", Ce, { passive: !1 });
|
|
190
|
+
}), fe(() => {
|
|
191
|
+
var e;
|
|
192
|
+
(e = P.value) == null || (e = e.input) == null || e.setAttribute("aria-valuenow", `${L.currentValue ?? ""}`);
|
|
193
|
+
}), l({
|
|
194
|
+
focus: ye,
|
|
195
|
+
blur: be
|
|
196
|
+
}), (e, t) => (T(), x("div", {
|
|
197
|
+
class: w([
|
|
198
|
+
D(N).b(),
|
|
199
|
+
D(N).m(D(U)),
|
|
200
|
+
D(N).is("disabled", D(W)),
|
|
201
|
+
D(N).is("without-controls", !o.controls),
|
|
202
|
+
D(N).is("controls-right", H.value),
|
|
203
|
+
D(N).is(o.align, !!o.align)
|
|
204
|
+
]),
|
|
205
|
+
onDragstart: t[0] || (t[0] = he(() => {}, ["prevent"]))
|
|
206
|
+
}, [
|
|
207
|
+
o.controls ? A((T(), x("span", {
|
|
208
|
+
key: 0,
|
|
209
|
+
role: "button",
|
|
210
|
+
"aria-label": D(C)("el.inputNumber.decrease"),
|
|
211
|
+
class: w([D(N).e("decrease"), D(N).is("disabled", z.value)]),
|
|
212
|
+
onKeydown: j(X, ["enter"])
|
|
213
|
+
}, [E(e.$slots, "decrease-icon", {}, () => [S(D(h), null, {
|
|
214
|
+
default: k(() => [H.value ? (T(), y(D(ae), { key: 0 })) : (T(), y(D(ie), { key: 1 }))]),
|
|
215
|
+
_: 1
|
|
216
|
+
})])], 42, F)), [[D(p), X]]) : b("v-if", !0),
|
|
217
|
+
o.controls ? A((T(), x("span", {
|
|
218
|
+
key: 1,
|
|
219
|
+
role: "button",
|
|
220
|
+
"aria-label": D(C)("el.inputNumber.increase"),
|
|
221
|
+
class: w([D(N).e("increase"), D(N).is("disabled", B.value)]),
|
|
222
|
+
onKeydown: j(Y, ["enter"])
|
|
223
|
+
}, [E(e.$slots, "increase-icon", {}, () => [S(D(h), null, {
|
|
224
|
+
default: k(() => [H.value ? (T(), y(D(m), { key: 0 })) : (T(), y(D(re), { key: 1 }))]),
|
|
225
|
+
_: 1
|
|
226
|
+
})])], 42, I)), [[D(p), Y]]) : b("v-if", !0),
|
|
227
|
+
S(D(le), {
|
|
228
|
+
id: o.id,
|
|
229
|
+
ref_key: "input",
|
|
230
|
+
ref: P,
|
|
231
|
+
type: "number",
|
|
232
|
+
step: o.step,
|
|
233
|
+
"model-value": G.value,
|
|
234
|
+
placeholder: o.placeholder,
|
|
235
|
+
readonly: o.readonly,
|
|
236
|
+
disabled: D(W),
|
|
237
|
+
size: D(U),
|
|
238
|
+
max: o.max,
|
|
239
|
+
min: o.min,
|
|
240
|
+
name: o.name,
|
|
241
|
+
"aria-label": o.ariaLabel,
|
|
242
|
+
"validate-event": !1,
|
|
243
|
+
inputmode: o.inputmode,
|
|
244
|
+
onKeydown: ge,
|
|
245
|
+
onBlur: Se,
|
|
246
|
+
onFocus: xe,
|
|
247
|
+
onInput: _e,
|
|
248
|
+
onChange: ve
|
|
249
|
+
}, ue({ _: 2 }, [e.$slots.prefix ? {
|
|
250
|
+
name: "prefix",
|
|
251
|
+
fn: k(() => [E(e.$slots, "prefix")]),
|
|
252
|
+
key: "0"
|
|
253
|
+
} : void 0, e.$slots.suffix ? {
|
|
254
|
+
name: "suffix",
|
|
255
|
+
fn: k(() => [E(e.$slots, "suffix")]),
|
|
256
|
+
key: "1"
|
|
257
|
+
} : void 0]), 1032, [
|
|
258
|
+
"id",
|
|
259
|
+
"step",
|
|
260
|
+
"model-value",
|
|
261
|
+
"placeholder",
|
|
262
|
+
"readonly",
|
|
263
|
+
"disabled",
|
|
264
|
+
"size",
|
|
265
|
+
"max",
|
|
266
|
+
"min",
|
|
267
|
+
"name",
|
|
268
|
+
"aria-label",
|
|
269
|
+
"inputmode"
|
|
270
|
+
])
|
|
271
|
+
], 34));
|
|
272
|
+
}
|
|
273
|
+
}));
|
|
274
|
+
//#endregion
|
|
275
|
+
export { L as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { u as e } from "./hgAOQY9a.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/constants/aria.mjs
|
|
3
|
+
var t = {
|
|
4
|
+
tab: "Tab",
|
|
5
|
+
enter: "Enter",
|
|
6
|
+
space: "Space",
|
|
7
|
+
left: "ArrowLeft",
|
|
8
|
+
up: "ArrowUp",
|
|
9
|
+
right: "ArrowRight",
|
|
10
|
+
down: "ArrowDown",
|
|
11
|
+
esc: "Escape",
|
|
12
|
+
delete: "Delete",
|
|
13
|
+
backspace: "Backspace",
|
|
14
|
+
numpadEnter: "NumpadEnter",
|
|
15
|
+
pageUp: "PageUp",
|
|
16
|
+
pageDown: "PageDown",
|
|
17
|
+
home: "Home",
|
|
18
|
+
end: "End"
|
|
19
|
+
}, n = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (r) => {
|
|
20
|
+
let i = e == null ? void 0 : e(r);
|
|
21
|
+
if (n === !1 || !i) return t == null ? void 0 : t(r);
|
|
22
|
+
}, r = (e) => {
|
|
23
|
+
if (e.code && e.code !== "Unidentified") return e.code;
|
|
24
|
+
let n = i(e);
|
|
25
|
+
if (n) {
|
|
26
|
+
if (Object.values(t).includes(n)) return n;
|
|
27
|
+
switch (n) {
|
|
28
|
+
case " ": return t.space;
|
|
29
|
+
default: return "";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return "";
|
|
33
|
+
}, i = (t) => {
|
|
34
|
+
let n = t.key && t.key !== "Unidentified" ? t.key : "";
|
|
35
|
+
if (!n && t.type === "keyup" && e()) {
|
|
36
|
+
let e = t.target;
|
|
37
|
+
n = e.value.charAt(e.selectionStart - 1);
|
|
38
|
+
}
|
|
39
|
+
return n;
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { t as i, r as n, i as r, n as t };
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
+
import { n as t, t as n } from "./Calzy0Az.mjs";
|
|
3
|
+
import { t as r } from "./GsvG1yFW.mjs";
|
|
4
|
+
import { t as i } from "./C7l9aZGE.mjs";
|
|
5
|
+
import { n as a, t as o } from "./CQxz8uUc.mjs";
|
|
6
|
+
import { t as s } from "./Q2Mal3Qn2.mjs";
|
|
7
|
+
import { t as c } from "./BwYEpK-u.mjs";
|
|
8
|
+
import { Fragment as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, openBlock as g, withCtx as _, withModifiers as v } from "vue";
|
|
9
|
+
//#region src/components/bpmn-process-designer/components/penal/multi-instance/ElementMultiInstance.vue
|
|
10
|
+
var y = /* @__PURE__ */ e({ default: () => C }), b = {
|
|
11
|
+
name: "ElementMultiInstance",
|
|
12
|
+
inject: { prefix: "prefix" },
|
|
13
|
+
props: {
|
|
14
|
+
id: String,
|
|
15
|
+
element: Object,
|
|
16
|
+
bpmnInstances: Object
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
loopCharacteristics: "",
|
|
21
|
+
defaultLoopInstanceForm: {
|
|
22
|
+
completionCondition: "",
|
|
23
|
+
loopCardinality: "",
|
|
24
|
+
extensionElements: [],
|
|
25
|
+
asyncAfter: !1,
|
|
26
|
+
asyncBefore: !1,
|
|
27
|
+
exclusive: !1
|
|
28
|
+
},
|
|
29
|
+
loopInstanceForm: {}
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
watch: { id: {
|
|
33
|
+
immediate: !0,
|
|
34
|
+
handler() {
|
|
35
|
+
let { businessObject: e } = this.element;
|
|
36
|
+
this.getElementLoop(e);
|
|
37
|
+
}
|
|
38
|
+
} },
|
|
39
|
+
beforeUnmount() {
|
|
40
|
+
this.multiLoopInstance = null;
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
getElementLoop(e) {
|
|
44
|
+
var t, n;
|
|
45
|
+
if (!e.loopCharacteristics) {
|
|
46
|
+
this.loopCharacteristics = "Null", this.loopInstanceForm = {};
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
if (e.loopCharacteristics.$type === "bpmn:StandardLoopCharacteristics") {
|
|
50
|
+
this.loopCharacteristics = "StandardLoop", this.loopInstanceForm = {};
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
e.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = {
|
|
54
|
+
...this.defaultLoopInstanceForm,
|
|
55
|
+
...e.loopCharacteristics,
|
|
56
|
+
completionCondition: ((t = e.loopCharacteristics) == null || (t = t.completionCondition) == null ? void 0 : t.body) ?? "",
|
|
57
|
+
loopCardinality: ((n = e.loopCharacteristics) == null || (n = n.loopCardinality) == null ? void 0 : n.body) ?? ""
|
|
58
|
+
}, this.multiLoopInstance = this.element.businessObject.loopCharacteristics, e.loopCharacteristics.extensionElements && e.loopCharacteristics.extensionElements.values && e.loopCharacteristics.extensionElements.values.length && (this.loopInstanceForm.timeCycle = e.loopCharacteristics.extensionElements.values[0].body);
|
|
59
|
+
},
|
|
60
|
+
changeLoopCharacteristicsType(e) {
|
|
61
|
+
if (e === "Null") {
|
|
62
|
+
this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: null });
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (e === "StandardLoop") {
|
|
66
|
+
let e = this.bpmnInstances.moddle.create("bpmn:StandardLoopCharacteristics");
|
|
67
|
+
this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: e }), this.multiLoopInstance = null;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
e === "SequentialMultiInstance" ? this.multiLoopInstance = this.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics", { isSequential: !0 }) : this.multiLoopInstance = this.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics"), this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: this.multiLoopInstance });
|
|
71
|
+
},
|
|
72
|
+
updateLoopCardinality(e) {
|
|
73
|
+
let t = null;
|
|
74
|
+
e && e.length && (t = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: e })), this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { loopCardinality: t });
|
|
75
|
+
},
|
|
76
|
+
updateLoopCondition(e) {
|
|
77
|
+
let t = null;
|
|
78
|
+
e && e.length && (t = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: e })), this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { completionCondition: t });
|
|
79
|
+
},
|
|
80
|
+
updateLoopTimeCycle(e) {
|
|
81
|
+
let t = this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [this.bpmnInstances.moddle.create(`${this.prefix}:FailedJobRetryTimeCycle`, { body: e })] });
|
|
82
|
+
this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { extensionElements: t });
|
|
83
|
+
},
|
|
84
|
+
updateLoopBase() {
|
|
85
|
+
this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, {
|
|
86
|
+
collection: this.loopInstanceForm.collection || null,
|
|
87
|
+
elementVariable: this.loopInstanceForm.elementVariable || null
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
updateLoopAsync(e) {
|
|
91
|
+
let { asyncBefore: t, asyncAfter: n } = this.loopInstanceForm, r = Object.create(null);
|
|
92
|
+
!t && !n ? (this.loopInstanceForm.exclusive = !1, r = {
|
|
93
|
+
asyncBefore: !1,
|
|
94
|
+
asyncAfter: !1,
|
|
95
|
+
exclusive: !1,
|
|
96
|
+
extensionElements: null
|
|
97
|
+
}) : r[e] = this.loopInstanceForm[e], this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, r);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, x = { class: "panel-tab__content element-multi-instance" };
|
|
101
|
+
function S(e, c, y, b, S, C) {
|
|
102
|
+
let w = r, T = n, E = t, D = a, O = i, k = s, A = o;
|
|
103
|
+
return g(), f("div", x, [h(A, {
|
|
104
|
+
"label-width": "100px",
|
|
105
|
+
onSubmit: c[12] || (c[12] = v(() => {}, ["prevent"]))
|
|
106
|
+
}, {
|
|
107
|
+
default: _(() => [h(D, { label: "回路特性" }, {
|
|
108
|
+
label: _(() => [c[15] || (c[15] = m(" 回路特性 ", -1)), h(w, { effect: "light" }, {
|
|
109
|
+
content: _(() => [...c[13] || (c[13] = [p("ul", null, [
|
|
110
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "并行"), m(" 一次性创建所有任务实例 ")]),
|
|
111
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "串行"), m(" 完成一个任务实例再创建一个任务实例,直到环节完成 ")]),
|
|
112
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "循环事件"), m(" 未知 ")])
|
|
113
|
+
], -1)])]),
|
|
114
|
+
default: _(() => [c[14] || (c[14] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
115
|
+
_: 1
|
|
116
|
+
})]),
|
|
117
|
+
default: _(() => [h(E, {
|
|
118
|
+
modelValue: S.loopCharacteristics,
|
|
119
|
+
"onUpdate:modelValue": c[0] || (c[0] = (e) => S.loopCharacteristics = e),
|
|
120
|
+
onChange: C.changeLoopCharacteristicsType
|
|
121
|
+
}, {
|
|
122
|
+
default: _(() => [
|
|
123
|
+
d("bpmn:MultiInstanceLoopCharacteristics"),
|
|
124
|
+
d(" 并行多重事件 "),
|
|
125
|
+
h(T, {
|
|
126
|
+
label: "并行",
|
|
127
|
+
value: "ParallelMultiInstance"
|
|
128
|
+
}),
|
|
129
|
+
d(" 时序多重事件 "),
|
|
130
|
+
h(T, {
|
|
131
|
+
label: "串行",
|
|
132
|
+
value: "SequentialMultiInstance"
|
|
133
|
+
}),
|
|
134
|
+
d(" bpmn:StandardLoopCharacteristics "),
|
|
135
|
+
h(T, {
|
|
136
|
+
label: "循环事件",
|
|
137
|
+
value: "StandardLoop"
|
|
138
|
+
}),
|
|
139
|
+
h(T, {
|
|
140
|
+
label: "无",
|
|
141
|
+
value: "Null"
|
|
142
|
+
})
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["modelValue", "onChange"])]),
|
|
146
|
+
_: 1
|
|
147
|
+
}), S.loopCharacteristics === "ParallelMultiInstance" || S.loopCharacteristics === "SequentialMultiInstance" ? (g(), f(l, { key: 0 }, [
|
|
148
|
+
h(D, {
|
|
149
|
+
key: "loopCardinality",
|
|
150
|
+
label: "循环基数"
|
|
151
|
+
}, {
|
|
152
|
+
label: _(() => [c[18] || (c[18] = m(" 循环基数 ", -1)), h(w, { effect: "light" }, {
|
|
153
|
+
content: _(() => [...c[16] || (c[16] = [p("div", null, "与任务实例数相对,可不填", -1)])]),
|
|
154
|
+
default: _(() => [c[17] || (c[17] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
155
|
+
_: 1
|
|
156
|
+
})]),
|
|
157
|
+
default: _(() => [h(O, {
|
|
158
|
+
modelValue: S.loopInstanceForm.loopCardinality,
|
|
159
|
+
"onUpdate:modelValue": c[1] || (c[1] = (e) => S.loopInstanceForm.loopCardinality = e),
|
|
160
|
+
clearable: "",
|
|
161
|
+
onChange: C.updateLoopCardinality
|
|
162
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
h(D, {
|
|
166
|
+
key: "collection",
|
|
167
|
+
label: "集合名称",
|
|
168
|
+
required: ""
|
|
169
|
+
}, {
|
|
170
|
+
label: _(() => [c[21] || (c[21] = m(" 集合变量 ", -1)), h(w, { effect: "light" }, {
|
|
171
|
+
content: _(() => [...c[19] || (c[19] = [p("p", null, [
|
|
172
|
+
m(" 流程变量名,设置为 "),
|
|
173
|
+
p("span", { class: "flow-tips-keyword" }, "${handlers}"),
|
|
174
|
+
m(" 就行 ")
|
|
175
|
+
], -1)])]),
|
|
176
|
+
default: _(() => [c[20] || (c[20] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
177
|
+
_: 1
|
|
178
|
+
})]),
|
|
179
|
+
default: _(() => [h(O, {
|
|
180
|
+
modelValue: S.loopInstanceForm.collection,
|
|
181
|
+
"onUpdate:modelValue": c[2] || (c[2] = (e) => S.loopInstanceForm.collection = e),
|
|
182
|
+
clearable: "",
|
|
183
|
+
onChange: C.updateLoopBase
|
|
184
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
185
|
+
_: 1
|
|
186
|
+
}),
|
|
187
|
+
h(D, {
|
|
188
|
+
key: "elementVariable",
|
|
189
|
+
label: "元素名称",
|
|
190
|
+
required: ""
|
|
191
|
+
}, {
|
|
192
|
+
label: _(() => [c[24] || (c[24] = m(" 元素变量 ", -1)), h(w, { effect: "light" }, {
|
|
193
|
+
content: _(() => [...c[22] || (c[22] = [p("p", null, [
|
|
194
|
+
m(" 流程变量名,设置为 "),
|
|
195
|
+
p("span", { class: "flow-tips-keyword" }, "handler"),
|
|
196
|
+
m(" 就行,注意与\" "),
|
|
197
|
+
p("span", { class: "flow-tips-keyword" }, "处理人"),
|
|
198
|
+
m(" \"中的\" "),
|
|
199
|
+
p("span", { class: "flow-tips-keyword" }, "分配人员"),
|
|
200
|
+
m(" \"值保持一致 ")
|
|
201
|
+
], -1)])]),
|
|
202
|
+
default: _(() => [c[23] || (c[23] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
203
|
+
_: 1
|
|
204
|
+
})]),
|
|
205
|
+
default: _(() => [h(O, {
|
|
206
|
+
modelValue: S.loopInstanceForm.elementVariable,
|
|
207
|
+
"onUpdate:modelValue": c[3] || (c[3] = (e) => S.loopInstanceForm.elementVariable = e),
|
|
208
|
+
clearable: "",
|
|
209
|
+
onChange: C.updateLoopBase
|
|
210
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
211
|
+
_: 1
|
|
212
|
+
}),
|
|
213
|
+
h(D, {
|
|
214
|
+
key: "completionCondition",
|
|
215
|
+
label: "完成条件"
|
|
216
|
+
}, {
|
|
217
|
+
label: _(() => [c[27] || (c[27] = m(" 完成条件 ", -1)), h(w, { effect: "light" }, {
|
|
218
|
+
content: _(() => [...c[25] || (c[25] = [
|
|
219
|
+
p("p", { class: "flow-tips-title" }, "特殊流程变量:", -1),
|
|
220
|
+
p("ul", null, [
|
|
221
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfInstances"), m(" 总实例数 ")]),
|
|
222
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfCompletedInstances"), m(" 已完成的实例数 ")]),
|
|
223
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfActiveInstances"), m(" 未完成实例数 ")])
|
|
224
|
+
], -1),
|
|
225
|
+
p("p", { class: "flow-tips-title" }, "示例:", -1),
|
|
226
|
+
p("ul", null, [
|
|
227
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances/nrOfInstances >= 1}"), m(" :所有实例完成结束该环节 ")]),
|
|
228
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances/nrOfInstances >= 0.5}"), m(" :50%实例完成结束该环节 ")]),
|
|
229
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances >= 1}"), m(" :有一个实例完成结束该环节 ")])
|
|
230
|
+
], -1),
|
|
231
|
+
p("p", { class: "flow-tips-title" }, "不填要等所有实例完成才会结束该环节", -1)
|
|
232
|
+
])]),
|
|
233
|
+
default: _(() => [c[26] || (c[26] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
234
|
+
_: 1
|
|
235
|
+
})]),
|
|
236
|
+
default: _(() => [h(O, {
|
|
237
|
+
modelValue: S.loopInstanceForm.completionCondition,
|
|
238
|
+
"onUpdate:modelValue": c[4] || (c[4] = (e) => S.loopInstanceForm.completionCondition = e),
|
|
239
|
+
clearable: "",
|
|
240
|
+
onChange: C.updateLoopCondition
|
|
241
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
242
|
+
_: 1
|
|
243
|
+
}),
|
|
244
|
+
h(D, {
|
|
245
|
+
key: "async",
|
|
246
|
+
label: "异步状态"
|
|
247
|
+
}, {
|
|
248
|
+
label: _(() => [c[30] || (c[30] = m(" 异步状态 ", -1)), h(w, { effect: "light" }, {
|
|
249
|
+
content: _(() => [...c[28] || (c[28] = [p("div", null, "目前没用到", -1)])]),
|
|
250
|
+
default: _(() => [c[29] || (c[29] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
251
|
+
_: 1
|
|
252
|
+
})]),
|
|
253
|
+
default: _(() => [
|
|
254
|
+
h(k, {
|
|
255
|
+
modelValue: S.loopInstanceForm.asyncBefore,
|
|
256
|
+
"onUpdate:modelValue": c[5] || (c[5] = (e) => S.loopInstanceForm.asyncBefore = e),
|
|
257
|
+
label: "异步前",
|
|
258
|
+
onChange: c[6] || (c[6] = (e) => C.updateLoopAsync("asyncBefore"))
|
|
259
|
+
}, null, 8, ["modelValue"]),
|
|
260
|
+
h(k, {
|
|
261
|
+
modelValue: S.loopInstanceForm.asyncAfter,
|
|
262
|
+
"onUpdate:modelValue": c[7] || (c[7] = (e) => S.loopInstanceForm.asyncAfter = e),
|
|
263
|
+
label: "异步后",
|
|
264
|
+
onChange: c[8] || (c[8] = (e) => C.updateLoopAsync("asyncAfter"))
|
|
265
|
+
}, null, 8, ["modelValue"]),
|
|
266
|
+
S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(k, {
|
|
267
|
+
key: 0,
|
|
268
|
+
modelValue: S.loopInstanceForm.exclusive,
|
|
269
|
+
"onUpdate:modelValue": c[9] || (c[9] = (e) => S.loopInstanceForm.exclusive = e),
|
|
270
|
+
label: "排除",
|
|
271
|
+
onChange: c[10] || (c[10] = (e) => C.updateLoopAsync("exclusive"))
|
|
272
|
+
}, null, 8, ["modelValue"])) : d("v-if", !0)
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}),
|
|
276
|
+
S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(D, {
|
|
277
|
+
key: "timeCycle",
|
|
278
|
+
label: "重试周期",
|
|
279
|
+
prop: "timeCycle"
|
|
280
|
+
}, {
|
|
281
|
+
default: _(() => [h(O, {
|
|
282
|
+
modelValue: S.loopInstanceForm.timeCycle,
|
|
283
|
+
"onUpdate:modelValue": c[11] || (c[11] = (e) => S.loopInstanceForm.timeCycle = e),
|
|
284
|
+
clearable: "",
|
|
285
|
+
onChange: C.updateLoopTimeCycle
|
|
286
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
287
|
+
_: 1
|
|
288
|
+
})) : d("v-if", !0)
|
|
289
|
+
], 64)) : d("v-if", !0)]),
|
|
290
|
+
_: 1
|
|
291
|
+
})]);
|
|
292
|
+
}
|
|
293
|
+
var C = /* @__PURE__ */ c(b, [["render", S]]);
|
|
294
|
+
//#endregion
|
|
295
|
+
export { y as n, C as t };
|