@web-utils/form-ui 1.0.0-beta7 → 1.0.0-beta70
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.mjs +2 -0
- package/address-input/style.css +1 -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.mjs +49 -0
- package/base.css +1 -1
- package/capsule-tab/index.mjs +27 -0
- package/capsule-tab/style.css +1 -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.mjs +99 -0
- package/code-mirror-editor/style.css +1 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +73 -0
- package/constants/index.mjs +4 -0
- package/context-menu/index.mjs +196 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.mjs +94 -0
- package/custom-scrollbar/index.mjs +93 -0
- package/data-box/index.mjs +68 -0
- package/data-box/style.css +1 -0
- package/data-card/index.mjs +63 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.mjs +67 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.mjs +73 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.mjs +74 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.mjs +71 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.mjs +54 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.mjs +61 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.mjs +110 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.mjs +51 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.mjs +72 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.mjs +65 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.mjs +118 -0
- package/data-tabs/index.mjs +71 -0
- package/data-tabs/style.css +1 -0
- package/dict-render/index.mjs +2 -0
- package/e-charts/index.mjs +179 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.mjs +92 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.mjs +120 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.mjs +2 -0
- package/editable-tree/style.css +1 -0
- 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.mjs +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.mjs +1 -1
- package/error-view/index.mjs +37 -0
- package/error-view/style.css +1 -0
- package/flex-box/index.mjs +2 -0
- package/flex-column/index.mjs +2 -0
- package/flex-item/index.mjs +2 -0
- package/flex-row/index.mjs +2 -0
- package/flex-scroll-area/index.mjs +1 -1
- package/flex-scroller/index.mjs +29 -0
- package/flex-scroller/style.css +1 -0
- package/flow-designer/index.mjs +2 -0
- package/flow-designer/style.css +1 -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.mjs +36 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.mjs +2 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.mjs +1 -3
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +2 -0
- package/form-table-plus/index.mjs +2 -0
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.mjs +2 -0
- package/form-tree-select/index.mjs +2 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.mjs +2 -0
- package/form-view/index.mjs +280 -6
- package/form-view/style.css +1 -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.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.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.mjs +155 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.mjs +2 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.mjs +70 -0
- package/image-viewer/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +91 -6
- package/index.mjs +123 -61
- package/input-number-range/index.mjs +76 -0
- package/input-number-range/style.css +1 -0
- package/keyboard/index.mjs +2 -0
- package/keyboard/style.css +1 -0
- package/loading-view/index.mjs +39 -0
- package/loading-view/style.css +1 -0
- package/name-avatar/index.mjs +61 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.mjs +36 -0
- package/nav-bar/style.css +1 -0
- package/package.json +28 -17
- package/page/index.mjs +17 -0
- package/page/style.css +1 -0
- package/page-header/index.mjs +25 -0
- package/page-header/style.css +1 -0
- package/page-index/index.mjs +123 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.mjs +85 -0
- package/page-skeleton/index.mjs +44 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.mjs +80 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -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.mjs +183 -0
- package/sign-panel/style.css +1 -0
- package/skeleton-panel/index.mjs +37 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.mjs +2 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.mjs +67 -0
- package/stateful/style.css +1 -0
- package/sub-table/index.mjs +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.mjs +2 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.mjs +126 -0
- package/swiper/style.css +1 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.mjs +468 -6
- package/table-view/style.css +1 -0
- package/tag-render/index.mjs +86 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.mjs +124 -0
- package/text-ellipsis/style.css +1 -0
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.mjs +1 -8
- package/toolbar-button/style.css +1 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.mjs +32 -0
- package/vue-tags-input/index.mjs +350 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.mjs +2 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.mjs +136 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.mjs +2 -0
- package/watermark/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +232 -0
- package/x-input-tag/style.css +1 -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/element-dialog/index.d.ts +0 -53
- package/empty-view/index.d.ts +0 -29
- package/flex-scroll-area/index.d.ts +0 -22
- package/form-advice/index.d.ts +0 -9
- package/form-cell/index.d.ts +0 -25
- package/form-check-box-group/index.d.ts +0 -93
- package/form-check-box-group/index.mjs +0 -2
- package/form-checkbox/index.d.ts +0 -81
- package/form-date-picker/index.d.ts +0 -104
- package/form-holder/index.d.ts +0 -95
- package/form-image/index.d.ts +0 -82
- package/form-input/index.d.ts +0 -91
- package/form-input-email/index.d.ts +0 -79
- package/form-input-id-card/index.d.ts +0 -79
- package/form-input-number/index.d.ts +0 -95
- package/form-input-phone-number/index.d.ts +0 -79
- package/form-input-tag/index.d.ts +0 -2
- package/form-input-time/index.d.ts +0 -2
- package/form-item-group/index.d.ts +0 -18
- package/form-item-x/index.d.ts +0 -54
- package/form-radio-group/index.d.ts +0 -81
- package/form-rate/index.d.ts +0 -79
- package/form-red-table/index.d.ts +0 -21
- package/form-row/index.d.ts +0 -11
- package/form-select/index.d.ts +0 -81
- package/form-slider/index.d.ts +0 -79
- package/form-switch/index.d.ts +0 -79
- package/form-text/index.d.ts +0 -77
- package/form-view/index.d.ts +0 -2
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/table-view/index.d.ts +0 -2
- package/toolbar/index.d.ts +0 -2
- package/toolbar-button/index.d.ts +0 -2
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { n as e, o as t } from "./BsM0L7CS.mjs";
|
|
2
|
+
import { t as n } from "./7Cv9Cq-02.mjs";
|
|
3
|
+
import { allProps as r, predicate as i } from "../props/tree-select-multiple.mjs";
|
|
4
|
+
import { createVNode as a, mergeProps as o } from "vue";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/form/FormTreeSelectMultiple.vue
|
|
7
|
+
var s = {
|
|
8
|
+
name: "FormTreeSelectMultiple",
|
|
9
|
+
props: { ...r },
|
|
10
|
+
emits: { ...e },
|
|
11
|
+
setup(e, { emit: r, attrs: s, slots: c }) {
|
|
12
|
+
let { render: l, placeholder: u, disabled: d, listeners: f, inputProps: p, emitInput: m } = t(e, {
|
|
13
|
+
emit: r,
|
|
14
|
+
slots: c,
|
|
15
|
+
attrs: s,
|
|
16
|
+
predicate: i
|
|
17
|
+
}), h = (e) => (e.children && !e.children.length && delete e.children, {
|
|
18
|
+
id: e.id,
|
|
19
|
+
label: e.name,
|
|
20
|
+
isDisabled: !1,
|
|
21
|
+
children: []
|
|
22
|
+
}), g = (t) => {
|
|
23
|
+
m([...e.modelValue, t.id]);
|
|
24
|
+
}, _ = (t) => {
|
|
25
|
+
m(e.modelValue.filter((e) => e !== t.id));
|
|
26
|
+
};
|
|
27
|
+
return () => l({ vNodes: a(n, o(p.value, f.value, {
|
|
28
|
+
class: ["form-tree-select", { "is-readonly": e.readonly }],
|
|
29
|
+
disabled: d.value,
|
|
30
|
+
defaultExpandLevel: 0,
|
|
31
|
+
placeholder: u.value,
|
|
32
|
+
onSelect: g,
|
|
33
|
+
onDeselect: _,
|
|
34
|
+
normalizer: h
|
|
35
|
+
}), { "value-label": ({ node: e }) => {
|
|
36
|
+
var t;
|
|
37
|
+
return (t = c["value-label"]) == null ? void 0 : t.call(c, { node: e });
|
|
38
|
+
} }) });
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { s as t };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { fastClone as e } from "@web-utils/core";
|
|
2
|
+
//#region src/components/bpmn-process-designer/components/penal/listeners/utilSelf.js
|
|
3
|
+
function t(e) {
|
|
4
|
+
let t = { ...e };
|
|
5
|
+
if (e.script && (t = {
|
|
6
|
+
...e,
|
|
7
|
+
...e.script,
|
|
8
|
+
scriptType: e.script.resource ? "externalScript" : "inlineScript"
|
|
9
|
+
}), e.event === "timeout" && e.eventDefinitions && e.eventDefinitions.length) {
|
|
10
|
+
let n = "";
|
|
11
|
+
for (let r in e.eventDefinitions[0]) r.indexOf("time") !== -1 && (n = r, t.eventDefinitionType = r.replace("time", "").toLowerCase());
|
|
12
|
+
t.eventTimeDefinitions = e.eventDefinitions[0][n].body;
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
function n(t) {
|
|
17
|
+
var n;
|
|
18
|
+
let r;
|
|
19
|
+
return t.class && (r = "classListener"), t.expression && (r = "expressionListener"), t.delegateExpression && (r = "delegateExpressionListener"), t.script && (r = "scriptListener"), {
|
|
20
|
+
...e(t),
|
|
21
|
+
...t.script ?? {},
|
|
22
|
+
fields: (n = t.fields) == null ? void 0 : n.map((e) => ({
|
|
23
|
+
...e,
|
|
24
|
+
fieldType: e.expression ? "expression" : "string"
|
|
25
|
+
})),
|
|
26
|
+
listenerType: r
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
var r = {
|
|
30
|
+
classListener: "Java 类",
|
|
31
|
+
expressionListener: "表达式",
|
|
32
|
+
delegateExpressionListener: "代理表达式",
|
|
33
|
+
scriptListener: "脚本"
|
|
34
|
+
}, i = {
|
|
35
|
+
create: "创建",
|
|
36
|
+
assignment: "指派",
|
|
37
|
+
complete: "完成",
|
|
38
|
+
delete: "删除",
|
|
39
|
+
update: "更新",
|
|
40
|
+
timeout: "超时"
|
|
41
|
+
}, a = {
|
|
42
|
+
string: "字符串",
|
|
43
|
+
expression: "表达式"
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { r as a, n as i, a as n, t as r, i as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as e, t } from "./C1RsHtGI.mjs";
|
|
2
|
+
import { createVNode as n, isVNode as r, mergeProps as i } from "vue";
|
|
3
|
+
//#region src/components/flex/FlexColumn.vue?vue&type=script&lang.jsx
|
|
4
|
+
function a(e) {
|
|
5
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !r(e);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/components/flex/FlexColumn.vue
|
|
9
|
+
var o = {
|
|
10
|
+
name: "FlexColumn",
|
|
11
|
+
props: { ...e },
|
|
12
|
+
setup(e, { slots: r }) {
|
|
13
|
+
return () => n(t, i(e, { flexColumn: !0 }), a(r) ? r : { default: () => [r] });
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { o as t };
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
+
import { n as t, t as n } from "./CuoF9V8s.mjs";
|
|
3
|
+
import { t as r } from "./C7l9aZGE.mjs";
|
|
4
|
+
import { n as i, t as a } from "./CQxz8uUc.mjs";
|
|
5
|
+
import { t as o } from "./49634Q2N2.mjs";
|
|
6
|
+
import { t as s } from "./CPejK_GQ2.mjs";
|
|
7
|
+
import { t as c } from "./Cy8jqgun2.mjs";
|
|
8
|
+
import { t as l } from "./BwYEpK-u.mjs";
|
|
9
|
+
import { createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, openBlock as m, withCtx as h, withModifiers as g } from "vue";
|
|
10
|
+
import { fastClone as _ } from "@web-utils/core";
|
|
11
|
+
//#region src/components/bpmn-process-designer/components/penal/properties/ElementProperties.vue
|
|
12
|
+
var v = /* @__PURE__ */ e({ default: () => C }), y = {
|
|
13
|
+
name: "ElementProperties",
|
|
14
|
+
inject: {
|
|
15
|
+
prefix: "prefix",
|
|
16
|
+
width: "width"
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
id: String,
|
|
20
|
+
element: Object,
|
|
21
|
+
bpmnInstances: Object
|
|
22
|
+
},
|
|
23
|
+
data() {
|
|
24
|
+
return {
|
|
25
|
+
elementPropertyList: [],
|
|
26
|
+
propertyForm: {},
|
|
27
|
+
editingPropertyIndex: -1,
|
|
28
|
+
propertyFormModelVisible: !1
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
watch: { id: {
|
|
32
|
+
immediate: !0,
|
|
33
|
+
handler(e) {
|
|
34
|
+
e != null && e.length && this.resetAttributesList();
|
|
35
|
+
}
|
|
36
|
+
} },
|
|
37
|
+
methods: {
|
|
38
|
+
resetAttributesList() {
|
|
39
|
+
var e;
|
|
40
|
+
this.otherExtensionList = [], this.bpmnElementProperties = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => (e.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(e), e.$type === `${this.prefix}:Properties`))) ?? [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((e, t) => e.concat(t.values), []), this.elementPropertyList = _(this.bpmnElementPropertyList ?? []);
|
|
41
|
+
},
|
|
42
|
+
openAttributesForm(e, t) {
|
|
43
|
+
this.editingPropertyIndex = t, this.propertyForm = t === -1 ? {} : _(e), this.propertyFormModelVisible = !0, this.$nextTick(() => {
|
|
44
|
+
this.$refs.attributeFormRef && this.$refs.attributeFormRef.clearValidate();
|
|
45
|
+
});
|
|
46
|
+
},
|
|
47
|
+
removeAttributes(e, t) {
|
|
48
|
+
this.$confirm("确认移除该属性吗?", "提示", {
|
|
49
|
+
confirmButtonText: "确 认",
|
|
50
|
+
cancelButtonText: "取 消"
|
|
51
|
+
}).then(() => {
|
|
52
|
+
this.elementPropertyList.splice(t, 1), this.bpmnElementPropertyList.splice(t, 1);
|
|
53
|
+
let e = this.bpmnInstances.moddle.create(`${this.prefix}:Properties`, { values: this.bpmnElementPropertyList });
|
|
54
|
+
this.updateElementExtensions(e), this.resetAttributesList();
|
|
55
|
+
}).catch(() => {});
|
|
56
|
+
},
|
|
57
|
+
saveAttribute() {
|
|
58
|
+
let { name: e, value: t } = this.propertyForm;
|
|
59
|
+
if (this.editingPropertyIndex !== -1) this.bpmnInstances.modeling.updateModdleProperties(this.element, this.bpmnElementPropertyList[this.editingPropertyIndex], {
|
|
60
|
+
name: e,
|
|
61
|
+
value: t
|
|
62
|
+
});
|
|
63
|
+
else {
|
|
64
|
+
let n = this.bpmnInstances.moddle.create(`${this.prefix}:Property`, {
|
|
65
|
+
name: e,
|
|
66
|
+
value: t
|
|
67
|
+
}), r = this.bpmnInstances.moddle.create(`${this.prefix}:Properties`, { values: this.bpmnElementPropertyList.concat([n]) });
|
|
68
|
+
this.updateElementExtensions(r);
|
|
69
|
+
}
|
|
70
|
+
this.propertyFormModelVisible = !1, this.resetAttributesList();
|
|
71
|
+
},
|
|
72
|
+
updateElementExtensions(e) {
|
|
73
|
+
let t = this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: this.otherExtensionList.concat([e]) });
|
|
74
|
+
this.bpmnInstances.modeling.updateProperties(this.element, { extensionElements: t });
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}, b = { class: "panel-tab__content" }, x = { class: "element-drawer__button" };
|
|
78
|
+
function S(e, l, _, v, y, S) {
|
|
79
|
+
let C = t, w = o, T = c, E = n, D = r, O = i, k = a, A = s;
|
|
80
|
+
return m(), u("div", b, [
|
|
81
|
+
p(E, {
|
|
82
|
+
data: y.elementPropertyList,
|
|
83
|
+
"max-height": "240",
|
|
84
|
+
border: "",
|
|
85
|
+
fit: ""
|
|
86
|
+
}, {
|
|
87
|
+
default: h(() => [
|
|
88
|
+
p(C, {
|
|
89
|
+
label: "序号",
|
|
90
|
+
width: "50px",
|
|
91
|
+
type: "index"
|
|
92
|
+
}),
|
|
93
|
+
p(C, {
|
|
94
|
+
label: "属性名",
|
|
95
|
+
prop: "name",
|
|
96
|
+
"min-width": "100px",
|
|
97
|
+
"show-overflow-tooltip": ""
|
|
98
|
+
}),
|
|
99
|
+
p(C, {
|
|
100
|
+
label: "属性值",
|
|
101
|
+
prop: "value",
|
|
102
|
+
"min-width": "100px",
|
|
103
|
+
"show-overflow-tooltip": ""
|
|
104
|
+
}),
|
|
105
|
+
p(C, {
|
|
106
|
+
label: "操作",
|
|
107
|
+
width: "90px"
|
|
108
|
+
}, {
|
|
109
|
+
default: h(({ row: e, $index: t }) => [
|
|
110
|
+
p(w, {
|
|
111
|
+
text: "",
|
|
112
|
+
onClick: (n) => S.openAttributesForm(e, t)
|
|
113
|
+
}, {
|
|
114
|
+
default: h(() => [...l[6] || (l[6] = [f("编辑", -1)])]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["onClick"]),
|
|
117
|
+
p(T, { direction: "vertical" }),
|
|
118
|
+
p(w, {
|
|
119
|
+
text: "",
|
|
120
|
+
style: { color: "#ff4d4f" },
|
|
121
|
+
onClick: (n) => S.removeAttributes(e, t)
|
|
122
|
+
}, {
|
|
123
|
+
default: h(() => [...l[7] || (l[7] = [f("移除", -1)])]),
|
|
124
|
+
_: 1
|
|
125
|
+
}, 8, ["onClick"])
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
})
|
|
129
|
+
]),
|
|
130
|
+
_: 1
|
|
131
|
+
}, 8, ["data"]),
|
|
132
|
+
d("div", x, [p(w, {
|
|
133
|
+
type: "primary",
|
|
134
|
+
icon: "el-icon-plus",
|
|
135
|
+
onClick: l[0] || (l[0] = (e) => S.openAttributesForm(null, -1))
|
|
136
|
+
}, {
|
|
137
|
+
default: h(() => [...l[8] || (l[8] = [f("添加属性", -1)])]),
|
|
138
|
+
_: 1
|
|
139
|
+
})]),
|
|
140
|
+
p(A, {
|
|
141
|
+
visible: y.propertyFormModelVisible,
|
|
142
|
+
"onUpdate:visible": l[5] || (l[5] = (e) => y.propertyFormModelVisible = e),
|
|
143
|
+
class: "flow-dialog",
|
|
144
|
+
title: "属性配置",
|
|
145
|
+
width: "600px",
|
|
146
|
+
"append-to-body": "",
|
|
147
|
+
"destroy-on-close": ""
|
|
148
|
+
}, {
|
|
149
|
+
footer: h(() => [p(w, { onClick: l[4] || (l[4] = (e) => y.propertyFormModelVisible = !1) }, {
|
|
150
|
+
default: h(() => [...l[9] || (l[9] = [f("取 消", -1)])]),
|
|
151
|
+
_: 1
|
|
152
|
+
}), p(w, {
|
|
153
|
+
type: "primary",
|
|
154
|
+
onClick: S.saveAttribute
|
|
155
|
+
}, {
|
|
156
|
+
default: h(() => [...l[10] || (l[10] = [f("确 定", -1)])]),
|
|
157
|
+
_: 1
|
|
158
|
+
}, 8, ["onClick"])]),
|
|
159
|
+
default: h(() => [p(k, {
|
|
160
|
+
ref: "attributeFormRef",
|
|
161
|
+
model: y.propertyForm,
|
|
162
|
+
"label-width": "80px",
|
|
163
|
+
onSubmit: l[3] || (l[3] = g(() => {}, ["prevent"]))
|
|
164
|
+
}, {
|
|
165
|
+
default: h(() => [p(O, {
|
|
166
|
+
label: "属性名:",
|
|
167
|
+
prop: "name"
|
|
168
|
+
}, {
|
|
169
|
+
default: h(() => [p(D, {
|
|
170
|
+
modelValue: y.propertyForm.name,
|
|
171
|
+
"onUpdate:modelValue": l[1] || (l[1] = (e) => y.propertyForm.name = e),
|
|
172
|
+
clearable: ""
|
|
173
|
+
}, null, 8, ["modelValue"])]),
|
|
174
|
+
_: 1
|
|
175
|
+
}), p(O, {
|
|
176
|
+
label: "属性值:",
|
|
177
|
+
prop: "value"
|
|
178
|
+
}, {
|
|
179
|
+
default: h(() => [p(D, {
|
|
180
|
+
modelValue: y.propertyForm.value,
|
|
181
|
+
"onUpdate:modelValue": l[2] || (l[2] = (e) => y.propertyForm.value = e),
|
|
182
|
+
clearable: ""
|
|
183
|
+
}, null, 8, ["modelValue"])]),
|
|
184
|
+
_: 1
|
|
185
|
+
})]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["model"])]),
|
|
188
|
+
_: 1
|
|
189
|
+
}, 8, ["visible"])
|
|
190
|
+
]);
|
|
191
|
+
}
|
|
192
|
+
var C = /* @__PURE__ */ l(y, [["render", S]]);
|
|
193
|
+
//#endregion
|
|
194
|
+
export { v as n, C as t };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { t as e } from "./akEzJ4kG.mjs";
|
|
2
|
+
import { t } from "./hgAOQY9a.mjs";
|
|
3
|
+
import { a as n, f as r, s as i } from "./DrKq_frR.mjs";
|
|
4
|
+
import { n as a, t as o } from "./GEtlriHC.mjs";
|
|
5
|
+
import { n as s, r as c } from "./BVSQ6DfJ.mjs";
|
|
6
|
+
import { t as l } from "./BffxPn8a.mjs";
|
|
7
|
+
import { computed as u, getCurrentInstance as d, inject as f, provide as p, ref as m, unref as h } from "vue";
|
|
8
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/config-provider/src/constants.mjs
|
|
9
|
+
var g = Symbol(), _ = m();
|
|
10
|
+
function v(e, t = void 0) {
|
|
11
|
+
let n = d() ? f(g, _) : _;
|
|
12
|
+
return e ? u(() => {
|
|
13
|
+
var r;
|
|
14
|
+
return ((r = n.value) == null ? void 0 : r[e]) ?? t;
|
|
15
|
+
}) : n;
|
|
16
|
+
}
|
|
17
|
+
function y(e, t) {
|
|
18
|
+
let n = v(), r = i(e, u(() => {
|
|
19
|
+
var e;
|
|
20
|
+
return ((e = n.value) == null ? void 0 : e.namespace) || "el";
|
|
21
|
+
})), o = a(u(() => {
|
|
22
|
+
var e;
|
|
23
|
+
return (e = n.value) == null ? void 0 : e.locale;
|
|
24
|
+
})), c = s(u(() => {
|
|
25
|
+
var e;
|
|
26
|
+
return ((e = n.value) == null ? void 0 : e.zIndex) || 2e3;
|
|
27
|
+
})), l = u(() => {
|
|
28
|
+
var e;
|
|
29
|
+
return h(t) || ((e = n.value) == null ? void 0 : e.size) || "";
|
|
30
|
+
});
|
|
31
|
+
return b(u(() => h(n) || {})), {
|
|
32
|
+
ns: r,
|
|
33
|
+
locale: o,
|
|
34
|
+
zIndex: c,
|
|
35
|
+
size: l
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
var b = (r, i, a = !1) => {
|
|
39
|
+
let s = !!d(), f = s ? v() : void 0, m = (i == null ? void 0 : i.provide) ?? (s ? p : void 0);
|
|
40
|
+
if (!m) {
|
|
41
|
+
t("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
let y = u(() => {
|
|
45
|
+
let e = h(r);
|
|
46
|
+
return f != null && f.value ? x(f.value, e) : e;
|
|
47
|
+
});
|
|
48
|
+
return m(g, y), m(o, u(() => y.value.locale)), m(n, u(() => y.value.namespace)), m(c, u(() => y.value.zIndex)), m(e, { size: u(() => y.value.size || "") }), m(l, u(() => ({
|
|
49
|
+
emptyValues: y.value.emptyValues,
|
|
50
|
+
valueOnClear: y.value.valueOnClear
|
|
51
|
+
}))), (a || !_.value) && (_.value = y.value), y;
|
|
52
|
+
}, x = (e, t) => {
|
|
53
|
+
let n = [...new Set([...r(e), ...r(t)])], i = {};
|
|
54
|
+
for (let r of n) i[r] = t[r] === void 0 ? e[r] : t[r];
|
|
55
|
+
return i;
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { y as n, v as r, b as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { n as e } from "./BsM0L7CS.mjs";
|
|
2
|
+
import { t } from "./CwqeV7002.mjs";
|
|
3
|
+
import { allProps as n } from "../props/input.mjs";
|
|
4
|
+
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
5
|
+
//#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
|
|
6
|
+
function s(e) {
|
|
7
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/components/form/FormInputEmail.vue
|
|
11
|
+
var c = {
|
|
12
|
+
name: "FormInputEmail",
|
|
13
|
+
inheritAttrs: !1,
|
|
14
|
+
props: { ...n },
|
|
15
|
+
emits: { ...e },
|
|
16
|
+
setup(e, { slots: n, attrs: i }) {
|
|
17
|
+
let c = o(e, "modelValue");
|
|
18
|
+
return () => r(t, a(e, i, {
|
|
19
|
+
modelValue: c.value,
|
|
20
|
+
"onUpdate:modelValue": (e) => c.value = e,
|
|
21
|
+
type: "email"
|
|
22
|
+
}), s(n) ? n : { default: () => [n] });
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { c as t };
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { r as e } from "./DnBzQ-xh.mjs";
|
|
2
|
+
import { T as t, j as n, t as r } from "./hgAOQY9a.mjs";
|
|
3
|
+
import { E as i, O as a, k as o, l as s, p as c, u as l } from "./DrKq_frR.mjs";
|
|
4
|
+
import { n as u } from "./KGmxNbpi.mjs";
|
|
5
|
+
import { F as d } from "./D4oNQiIK.mjs";
|
|
6
|
+
import { t as f } from "./BjWs-r2V.mjs";
|
|
7
|
+
import { t as p } from "./BIj6pa8Z.mjs";
|
|
8
|
+
import { n as m } from "./BVSQ6DfJ.mjs";
|
|
9
|
+
import { a as h } from "./B1ATN2my.mjs";
|
|
10
|
+
import { r as g } from "./B7O8aGqC2.mjs";
|
|
11
|
+
import { computed as _, getCurrentInstance as v, nextTick as y, onMounted as b, ref as x, watch as S } from "vue";
|
|
12
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/dialog/src/dialog-content.mjs
|
|
13
|
+
var C = s({
|
|
14
|
+
center: Boolean,
|
|
15
|
+
alignCenter: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: void 0
|
|
18
|
+
},
|
|
19
|
+
closeIcon: { type: h },
|
|
20
|
+
draggable: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: void 0
|
|
23
|
+
},
|
|
24
|
+
overflow: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: void 0
|
|
27
|
+
},
|
|
28
|
+
fullscreen: Boolean,
|
|
29
|
+
headerClass: String,
|
|
30
|
+
bodyClass: String,
|
|
31
|
+
footerClass: String,
|
|
32
|
+
showClose: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !0
|
|
35
|
+
},
|
|
36
|
+
title: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: ""
|
|
39
|
+
},
|
|
40
|
+
ariaLevel: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: "2"
|
|
43
|
+
}
|
|
44
|
+
}), w = { close: () => !0 }, T = {
|
|
45
|
+
alignCenter: void 0,
|
|
46
|
+
draggable: void 0,
|
|
47
|
+
overflow: void 0,
|
|
48
|
+
showClose: !0,
|
|
49
|
+
title: "",
|
|
50
|
+
ariaLevel: "2"
|
|
51
|
+
}, E = s({
|
|
52
|
+
...C,
|
|
53
|
+
appendToBody: Boolean,
|
|
54
|
+
appendTo: {
|
|
55
|
+
type: u.to.type,
|
|
56
|
+
default: "body"
|
|
57
|
+
},
|
|
58
|
+
beforeClose: { type: l(Function) },
|
|
59
|
+
destroyOnClose: Boolean,
|
|
60
|
+
closeOnClickModal: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: !0
|
|
63
|
+
},
|
|
64
|
+
closeOnPressEscape: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: !0
|
|
67
|
+
},
|
|
68
|
+
lockScroll: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: !0
|
|
71
|
+
},
|
|
72
|
+
modal: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: !0
|
|
75
|
+
},
|
|
76
|
+
modalPenetrable: Boolean,
|
|
77
|
+
openDelay: {
|
|
78
|
+
type: Number,
|
|
79
|
+
default: 0
|
|
80
|
+
},
|
|
81
|
+
closeDelay: {
|
|
82
|
+
type: Number,
|
|
83
|
+
default: 0
|
|
84
|
+
},
|
|
85
|
+
top: { type: String },
|
|
86
|
+
modelValue: Boolean,
|
|
87
|
+
modalClass: String,
|
|
88
|
+
headerClass: String,
|
|
89
|
+
bodyClass: String,
|
|
90
|
+
footerClass: String,
|
|
91
|
+
width: { type: [String, Number] },
|
|
92
|
+
zIndex: { type: Number },
|
|
93
|
+
trapFocus: Boolean,
|
|
94
|
+
headerAriaLevel: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: "2"
|
|
97
|
+
},
|
|
98
|
+
transition: {
|
|
99
|
+
type: l([String, Object]),
|
|
100
|
+
default: void 0
|
|
101
|
+
}
|
|
102
|
+
}), D = {
|
|
103
|
+
open: () => !0,
|
|
104
|
+
opened: () => !0,
|
|
105
|
+
close: () => !0,
|
|
106
|
+
closed: () => !0,
|
|
107
|
+
[e]: (e) => c(e),
|
|
108
|
+
openAutoFocus: () => !0,
|
|
109
|
+
closeAutoFocus: () => !0
|
|
110
|
+
};
|
|
111
|
+
({ ...T });
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/dialog/src/constants.mjs
|
|
114
|
+
var O = Symbol("dialogInjectionKey"), k = "dialog-fade", A = "ElDialog", j = (s, c) => {
|
|
115
|
+
let l = v().emit, { nextZIndex: u } = m(), h = "", C = p(), w = p(), T = x(!1), E = x(!1), D = x(!1), O = x(s.zIndex ?? u()), j = x(!1), M, N, P = g(), F = _(() => {
|
|
116
|
+
var e;
|
|
117
|
+
return ((e = P.value) == null ? void 0 : e.namespace) ?? "el";
|
|
118
|
+
}), I = _(() => {
|
|
119
|
+
var e;
|
|
120
|
+
return (e = P.value) == null ? void 0 : e.dialog;
|
|
121
|
+
}), L = _(() => {
|
|
122
|
+
let e = {}, t = `--${F.value}-dialog`;
|
|
123
|
+
if (!s.fullscreen) {
|
|
124
|
+
s.top && (e[`${t}-margin-top`] = s.top);
|
|
125
|
+
let n = d(s.width);
|
|
126
|
+
n && (e[`${t}-width`] = n);
|
|
127
|
+
}
|
|
128
|
+
return e;
|
|
129
|
+
}), R = _(() => {
|
|
130
|
+
var e;
|
|
131
|
+
return (s.draggable ?? ((e = I.value) == null ? void 0 : e.draggable) ?? !1) && !s.fullscreen;
|
|
132
|
+
}), z = _(() => {
|
|
133
|
+
var e;
|
|
134
|
+
return s.alignCenter ?? ((e = I.value) == null ? void 0 : e.alignCenter) ?? !1;
|
|
135
|
+
}), B = _(() => {
|
|
136
|
+
var e;
|
|
137
|
+
return s.overflow ?? ((e = I.value) == null ? void 0 : e.overflow) ?? !1;
|
|
138
|
+
}), V = _(() => s.modalPenetrable && !s.modal && !s.fullscreen), H = _(() => z.value ? { display: "flex" } : {}), U = _(() => {
|
|
139
|
+
var e;
|
|
140
|
+
let t = s.transition ?? ((e = I.value) == null ? void 0 : e.transition) ?? "dialog-fade", n = {
|
|
141
|
+
name: t,
|
|
142
|
+
onAfterEnter: W,
|
|
143
|
+
onBeforeLeave: K,
|
|
144
|
+
onAfterLeave: G
|
|
145
|
+
};
|
|
146
|
+
if (o(t)) {
|
|
147
|
+
let e = { ...t }, n = (e, t) => (n) => {
|
|
148
|
+
i(e) ? e.forEach((e) => {
|
|
149
|
+
a(e) && e(n);
|
|
150
|
+
}) : a(e) && e(n), t();
|
|
151
|
+
};
|
|
152
|
+
return e.onAfterEnter = n(e.onAfterEnter, W), e.onBeforeLeave = n(e.onBeforeLeave, K), e.onAfterLeave = n(e.onAfterLeave, G), e.name || (e.name = k, r(A, `transition.name is missing when using object syntax, fallback to '${k}'`)), e;
|
|
153
|
+
}
|
|
154
|
+
return n;
|
|
155
|
+
});
|
|
156
|
+
function W() {
|
|
157
|
+
l("opened");
|
|
158
|
+
}
|
|
159
|
+
function G() {
|
|
160
|
+
l("closed"), l(e, !1), s.destroyOnClose && (D.value = !1), j.value = !1;
|
|
161
|
+
}
|
|
162
|
+
function K() {
|
|
163
|
+
j.value = !0, l("close");
|
|
164
|
+
}
|
|
165
|
+
function q() {
|
|
166
|
+
N == null || N(), M == null || M(), s.openDelay && s.openDelay > 0 ? {stop: M} = n(() => Z(), s.openDelay) : Z();
|
|
167
|
+
}
|
|
168
|
+
function J() {
|
|
169
|
+
M == null || M(), N == null || N(), s.closeDelay && s.closeDelay > 0 ? {stop: N} = n(() => Q(), s.closeDelay) : Q();
|
|
170
|
+
}
|
|
171
|
+
function Y() {
|
|
172
|
+
function e(e) {
|
|
173
|
+
e || (E.value = !0, T.value = !1);
|
|
174
|
+
}
|
|
175
|
+
s.beforeClose ? s.beforeClose(e) : J();
|
|
176
|
+
}
|
|
177
|
+
function X() {
|
|
178
|
+
s.closeOnClickModal && Y();
|
|
179
|
+
}
|
|
180
|
+
function Z() {
|
|
181
|
+
t && (T.value = !0);
|
|
182
|
+
}
|
|
183
|
+
function Q() {
|
|
184
|
+
T.value = !1;
|
|
185
|
+
}
|
|
186
|
+
function $() {
|
|
187
|
+
l("openAutoFocus");
|
|
188
|
+
}
|
|
189
|
+
function ee() {
|
|
190
|
+
l("closeAutoFocus");
|
|
191
|
+
}
|
|
192
|
+
function te(e) {
|
|
193
|
+
var t;
|
|
194
|
+
((t = e.detail) == null ? void 0 : t.focusReason) === "pointer" && e.preventDefault();
|
|
195
|
+
}
|
|
196
|
+
s.lockScroll && f(T);
|
|
197
|
+
function ne() {
|
|
198
|
+
s.closeOnPressEscape && Y();
|
|
199
|
+
}
|
|
200
|
+
function re() {
|
|
201
|
+
!T.value || !V.value || s.zIndex !== void 0 || (O.value = u());
|
|
202
|
+
}
|
|
203
|
+
return S(() => s.zIndex, () => {
|
|
204
|
+
O.value = s.zIndex ?? u();
|
|
205
|
+
}), S(() => s.modelValue, (e) => {
|
|
206
|
+
e ? (E.value = !1, j.value = !1, q(), D.value = !0, O.value = s.zIndex ?? u(), y(() => {
|
|
207
|
+
l("open"), c.value && (c.value.parentElement.scrollTop = 0, c.value.parentElement.scrollLeft = 0, c.value.scrollTop = 0);
|
|
208
|
+
})) : T.value && J();
|
|
209
|
+
}), S(() => s.fullscreen, (e) => {
|
|
210
|
+
c.value && (e ? (h = c.value.style.transform, c.value.style.transform = "") : c.value.style.transform = h);
|
|
211
|
+
}), b(() => {
|
|
212
|
+
s.modelValue && (T.value = !0, D.value = !0, q());
|
|
213
|
+
}), {
|
|
214
|
+
afterEnter: W,
|
|
215
|
+
afterLeave: G,
|
|
216
|
+
beforeLeave: K,
|
|
217
|
+
handleClose: Y,
|
|
218
|
+
onModalClick: X,
|
|
219
|
+
close: J,
|
|
220
|
+
doClose: Q,
|
|
221
|
+
onOpenAutoFocus: $,
|
|
222
|
+
onCloseAutoFocus: ee,
|
|
223
|
+
onCloseRequested: ne,
|
|
224
|
+
onFocusoutPrevented: te,
|
|
225
|
+
bringToFront: re,
|
|
226
|
+
titleId: C,
|
|
227
|
+
bodyId: w,
|
|
228
|
+
closed: E,
|
|
229
|
+
style: L,
|
|
230
|
+
overlayDialogStyle: H,
|
|
231
|
+
rendered: D,
|
|
232
|
+
visible: T,
|
|
233
|
+
zIndex: O,
|
|
234
|
+
transitionConfig: U,
|
|
235
|
+
_draggable: R,
|
|
236
|
+
_alignCenter: z,
|
|
237
|
+
_overflow: B,
|
|
238
|
+
closing: j,
|
|
239
|
+
penetrable: V
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
//#endregion
|
|
243
|
+
export { w as a, E as i, O as n, C as o, D as r, j as t };
|