@web-utils/form-ui 1.0.0-beta58 → 1.0.0-beta59
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/ElementBaseInfo-B-SjuN-T.js +433 -0
- package/ElementDialog-DnrnQDJh.js +2197 -0
- package/ElementForm-H_nKO2N3.js +601 -0
- package/ElementListeners-C51WiyqT.js +640 -0
- package/ElementMultiInstance-CL-39nGi.js +289 -0
- package/ElementOtherConfig-CEYmg31I.js +51 -0
- package/ElementProperties-C7hUCewh.js +192 -0
- package/ElementTaskConfig-0cN06jgv.js +447 -0
- package/FlowCondition-C4yrBSYH.js +196 -0
- package/SignalAndMessage-sfMXrRDt.js +193 -0
- package/UserTaskListeners-CBxqMguz.js +586 -0
- package/_plugin-vue_export-helper-BbfgGJ0Y.js +1668 -0
- 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/awesome-button/index.d.ts +3 -3
- package/awesome-button/index.mjs +6 -6
- 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/checkbox-rOSkyEjK.js +438 -0
- package/chunks/{BXrA0SYn2.mjs → 3gUkQF12.mjs} +12 -12
- package/chunks/49634Q2N2.mjs +936 -0
- package/chunks/{Crh2RUrS.mjs → 5itVLmv82.mjs} +32 -30
- 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/{DyEYDv4B.mjs → B8wGY5Hs2.mjs} +2 -2
- 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/{v3wbYL_-.mjs → BI-ZFlSw2.mjs} +2 -2
- 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/{DB_UKPay.mjs → BQNqBw8h2.mjs} +2 -2
- package/chunks/BUAQybGW.mjs +230 -0
- package/chunks/BVIHqL6g.mjs +17 -0
- package/chunks/BVSQ6DfJ.mjs +17 -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/{Dqq8z1t4.mjs → BvbjlaN02.mjs} +89 -88
- package/chunks/BvcK4D8A2.mjs +1800 -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/{CJ1-f8sg.mjs → CIybFvu92.mjs} +1 -1
- 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/{BHT38Us-.mjs → CbbjpJFg2.mjs} +2 -2
- 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/{4C611CU2.mjs → D9qn1x3X2.mjs} +2 -2
- package/chunks/DL0o_C092.mjs +1093 -0
- package/chunks/DLgn1tQG2.mjs +60 -0
- package/chunks/{CqoMZ9Wo2.mjs → DNSPORak.mjs} +53 -52
- package/chunks/DStwh2ne.mjs +281 -0
- package/chunks/{BlmtfUfl2.mjs → DTUh8o0p2.mjs} +14 -14
- 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/{usyXQe35.mjs → DhQF2ZlD.mjs} +26 -25
- 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/{4-vc_q1t.mjs → DxL9oojv2.mjs} +98 -97
- 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/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.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- 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 +1 -1
- package/dict-render/index.mjs +1 -1
- package/divider-aeGmEWI5.js +41 -0
- package/drawer-TG22dm2D.js +220 -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 +1 -1
- package/editable-tree/index.mjs +2 -591
- package/element-dialog/index.d.ts +18 -16
- package/element-dialog/index.mjs +1 -1
- 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 +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-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-cascader/index.d.ts +15 -15
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.d.ts +18 -11
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +8 -8
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +21 -21
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +4 -4
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +4 -4
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +16 -16
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +4 -4
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +16 -16
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +16 -16
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +8 -8
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +16 -16
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +6 -6
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +24 -24
- package/form-input-time/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +1 -1
- package/form-item-group/index.d.ts +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +4 -4
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +9 -9
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +13 -13
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +12 -12
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +20 -20
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +7 -7
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +22 -22
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +2 -2
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +4 -4
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +5 -5
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +16 -16
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +16 -16
- package/form-time-select/index.mjs +1 -1
- 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.mjs +1 -1
- package/helper/form-item.mjs +10 -10
- package/helper/input.d.ts +1 -1
- package/helper/input.mjs +1 -1
- 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/iframe-window/index.mjs +1 -1
- 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 +1 -1
- package/index.d.ts +65 -1
- package/index.mjs +122 -58
- 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 +17 -2
- 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 +4 -4
- package/pageable-table/index.mjs +1 -1
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +2 -0
- package/props/cascader.d.ts +5 -5
- package/props/checkbox-group.d.ts +2 -2
- package/props/checkbox.d.ts +7 -4
- package/props/checkbox.mjs +9 -6
- package/props/col.mjs +1 -1
- package/props/common.d.ts +1 -1
- package/props/date.d.ts +8 -8
- package/props/form-item.d.ts +1 -1
- package/props/form-item.mjs +1 -1
- package/props/form.d.ts +2 -2
- package/props/image.d.ts +1 -1
- package/props/input-cron.d.ts +1 -1
- package/props/input-number.d.ts +1 -1
- package/props/input-tag.d.ts +2 -2
- package/props/input.d.ts +6 -6
- package/props/radio-group.d.ts +2 -2
- package/props/rate.d.ts +5 -5
- package/props/select.d.ts +7 -7
- package/props/slide.d.ts +1 -1
- package/props/switch.d.ts +8 -8
- package/props/text.d.ts +1 -1
- package/props/textarea.d.ts +6 -6
- package/props/time-select.d.ts +5 -5
- package/props/time.d.ts +8 -8
- 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/vue-tree-select.d.ts +458 -0
- package/props/vue-tree-select.mjs +213 -0
- package/rolldown-runtime-OaQ8AyCN.js +20 -0
- package/scrollbar-BBrFtze_.js +3226 -0
- package/select-q7vi1EDu.js +1389 -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.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.d.ts +27 -0
- package/swiper/index.mjs +126 -0
- package/swiper/style.css +1 -0
- package/table-8fnjrlxs.js +3080 -0
- package/table-column/index.d.ts +11 -11
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.d.ts +8 -8
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.d.ts +7 -7
- package/table-view/index.mjs +140 -137
- 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.mjs +1 -1
- package/toolbar-button/index.d.ts +14 -14
- package/toolbar-button/index.mjs +1 -1
- package/utilSelf-D_fsC71t.js +46 -0
- package/utils-axoBfc1D.js +60 -0
- package/vue-cron/index.d.ts +1 -1
- package/vue-cron/index.mjs +1 -1
- 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.mjs +54 -50
- package/year-calendar/index.mjs +1 -1
- package/year-calendar/style.css +1 -1
- package/chunks/-qKZw-3p2.mjs +0 -23
- package/chunks/6av50rJm.mjs +0 -93
- package/chunks/8P-OAGbj.mjs +0 -164
- package/chunks/B2PuSZ_F.mjs +0 -35
- package/chunks/B6B-rhhB.mjs +0 -37
- package/chunks/BWoKh6f6.mjs +0 -66
- package/chunks/BZ0v5mka.mjs +0 -30
- package/chunks/C-0zqLII.mjs +0 -108
- package/chunks/CE1uX9hJ.mjs +0 -95
- package/chunks/CGnOR2gn.mjs +0 -59
- package/chunks/CSnlDCNV.mjs +0 -653
- package/chunks/CdzoVG6J.mjs +0 -47
- package/chunks/CrQmTHMA.mjs +0 -105
- package/chunks/DBUJ7Bva.mjs +0 -56
- package/chunks/DEC2O0q-.mjs +0 -129
- package/chunks/DUhF8YOY.mjs +0 -1361
- package/chunks/Du1PslcN.mjs +0 -28
- package/chunks/DuOxL6xh.mjs +0 -113
- package/chunks/EAJCsX8W.mjs +0 -32
- package/chunks/ZFJ73RWd2.mjs +0 -29
- package/chunks/fmIV_kHp.mjs +0 -67
- package/chunks/h5488Kii.mjs +0 -27
- package/chunks/k3cC9SGC.mjs +0 -27
- package/chunks/mekxD3ef.mjs +0 -86
- package/chunks/vd9nXj8B.mjs +0 -59
- /package/chunks/{DOZRzqlo.mjs → BVuwiZGi.mjs} +0 -0
- /package/chunks/{B1MSrc6f.mjs → BwYEpK-u.mjs} +0 -0
- /package/chunks/{CI1ehQi5.mjs → h-Uhst9y.mjs} +0 -0
package/x-input-tag/index.mjs
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { t } from "../chunks/
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import "../chunks/CjjJimnU.mjs";
|
|
2
|
+
import { t as e } from "../chunks/C7l9aZGE.mjs";
|
|
3
|
+
import { n as t, t as n } from "../chunks/BBPczt0U.mjs";
|
|
4
|
+
import { _ as r } from "../chunks/D-hj62se2.mjs";
|
|
5
|
+
import { t as i } from "../chunks/CbsGuLZz2.mjs";
|
|
6
|
+
import { t as a } from "../chunks/lGc5ksPb.mjs";
|
|
7
|
+
import { t as o } from "../chunks/BwYEpK-u.mjs";
|
|
8
|
+
import { t as s } from "../chunks/DhQF2ZlD.mjs";
|
|
9
|
+
import { Fragment as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, nextTick as m, normalizeClass as h, openBlock as g, renderList as _, toDisplayString as v, vShow as y, withCtx as b, withDirectives as x, withKeys as S } from "vue";
|
|
10
|
+
import { isArray as C, isDef as w, isPlainObject as T, scrollIntoView as E } from "@web-utils/core";
|
|
7
11
|
import { debounce as D } from "lodash-es";
|
|
8
12
|
//#region src/components/form/XInputTag.vue
|
|
9
13
|
var O = {
|
|
10
14
|
name: "XInputTag",
|
|
11
15
|
inject: {
|
|
12
16
|
elForm: {
|
|
13
|
-
from:
|
|
17
|
+
from: n,
|
|
14
18
|
default: ""
|
|
15
19
|
},
|
|
16
20
|
elFormItem: {
|
|
17
|
-
from:
|
|
21
|
+
from: t,
|
|
18
22
|
default: ""
|
|
19
23
|
}
|
|
20
24
|
},
|
|
@@ -69,7 +73,7 @@ var O = {
|
|
|
69
73
|
}) : this.modelValue : [];
|
|
70
74
|
} else {
|
|
71
75
|
var t;
|
|
72
|
-
let e = this.arrayMode ? this.modelValue || [] :
|
|
76
|
+
let e = this.arrayMode ? this.modelValue || [] : C(this.modelValue) ? this.modelValue : ((t = this.modelValue) == null ? void 0 : t.split(this.separator)) || [];
|
|
73
77
|
return e.length && e[0] ? e.map((e) => this.objectMode ? {
|
|
74
78
|
name: e,
|
|
75
79
|
id: null
|
|
@@ -85,22 +89,22 @@ var O = {
|
|
|
85
89
|
methods: {
|
|
86
90
|
async showInput() {
|
|
87
91
|
var e;
|
|
88
|
-
this.inputVisible = !0, await
|
|
92
|
+
this.inputVisible = !0, await m(), this.$refs.saveTagInput.$refs.input.focus(), (e = this.items) != null && e.length && (this.currentIndex = 0);
|
|
89
93
|
},
|
|
90
94
|
handleClose(e) {
|
|
91
95
|
let t = this.tags.filter((t) => t !== e);
|
|
92
96
|
this.$emit("update:modelValue", this.arrayMode ? t : t.map((e) => e.name || e).join(this.separator));
|
|
93
97
|
},
|
|
94
98
|
async handleInputConfirm() {
|
|
95
|
-
await
|
|
99
|
+
await m(), w(this.currentIndex) && this.items[this.currentIndex] ? await this.addTag(this.items[this.currentIndex]) : this.inputValue ? await this.addTag(this.inputValue) : await this.reset();
|
|
96
100
|
},
|
|
97
101
|
async reset() {
|
|
98
102
|
var e;
|
|
99
|
-
(e = this.$refs.popover) == null || e.hide(), await
|
|
103
|
+
(e = this.$refs.popover) == null || e.hide(), await m(), this.inputVisible = !1, this.inputValue = "", this.currentIndex = null;
|
|
100
104
|
},
|
|
101
105
|
async addTag(e) {
|
|
102
106
|
if (this.tags.length >= this.maxTag) {
|
|
103
|
-
|
|
107
|
+
r.warning({
|
|
104
108
|
message: `${this.type}已达上限!`,
|
|
105
109
|
showClose: !0
|
|
106
110
|
}), this.inputVisible = !1, this.inputValue = "";
|
|
@@ -108,24 +112,24 @@ var O = {
|
|
|
108
112
|
}
|
|
109
113
|
if (e) {
|
|
110
114
|
var t;
|
|
111
|
-
let n =
|
|
115
|
+
let n = T(e);
|
|
112
116
|
if (this.tags.some((t) => (this.objectMode && t.name || t) === (n && e.name || e))) {
|
|
113
|
-
this.inputVisible = !1, this.inputValue = "",
|
|
117
|
+
this.inputVisible = !1, this.inputValue = "", r.warning({
|
|
114
118
|
message: `${this.type}已存在!`,
|
|
115
119
|
showClose: !0
|
|
116
120
|
});
|
|
117
121
|
return;
|
|
118
122
|
}
|
|
119
|
-
let
|
|
120
|
-
if (n)
|
|
123
|
+
let i = [...this.tags];
|
|
124
|
+
if (n) i.push(e);
|
|
121
125
|
else {
|
|
122
126
|
let t = this.items.find((t) => (t.name || t) === e);
|
|
123
|
-
t ?
|
|
127
|
+
t ? i.push(t) : i.push(this.objectMode ? {
|
|
124
128
|
id: null,
|
|
125
129
|
name: e
|
|
126
130
|
} : e);
|
|
127
131
|
}
|
|
128
|
-
this.$emit("update:modelValue", this.arrayMode ?
|
|
132
|
+
this.$emit("update:modelValue", this.arrayMode ? i : i.map((e) => e.name || e).join(this.separator)), await this.$nextTick(), (t = this.elFormItem) == null || t.clearValidate();
|
|
129
133
|
}
|
|
130
134
|
await this.reset();
|
|
131
135
|
},
|
|
@@ -142,7 +146,7 @@ var O = {
|
|
|
142
146
|
},
|
|
143
147
|
select(e) {
|
|
144
148
|
var t;
|
|
145
|
-
(t = this.items) != null && t.length && (e === 1 ? this.currentIndex > 0 ? this.currentIndex-- : this.currentIndex = this.items.length - 1 : e === 2 && (this.currentIndex < this.items.length - 1 ? this.currentIndex++ : this.currentIndex = 0),
|
|
149
|
+
(t = this.items) != null && t.length && (e === 1 ? this.currentIndex > 0 ? this.currentIndex-- : this.currentIndex = this.items.length - 1 : e === 2 && (this.currentIndex < this.items.length - 1 ? this.currentIndex++ : this.currentIndex = 0), E(this.$refs.list, this.$refs.items[this.currentIndex]));
|
|
146
150
|
}
|
|
147
151
|
}
|
|
148
152
|
}, k = { class: "x-input-tag" }, A = {
|
|
@@ -159,50 +163,50 @@ var O = {
|
|
|
159
163
|
ref: "list",
|
|
160
164
|
class: "dropdown-item-list"
|
|
161
165
|
}, N = ["onMouseenter", "onClick"];
|
|
162
|
-
function P(t, n, r,
|
|
163
|
-
let
|
|
164
|
-
return
|
|
165
|
-
|
|
166
|
+
function P(t, n, r, o, m, C) {
|
|
167
|
+
let w = i, T = e, E = s, D = a;
|
|
168
|
+
return g(), d("div", k, [
|
|
169
|
+
C.tags && C.tags.length && C.tags[0] ? (g(!0), d(c, { key: 0 }, _(C.tags, (e, t) => (g(), l(w, {
|
|
166
170
|
key: e.id || e.name || e,
|
|
167
171
|
size: "small",
|
|
168
172
|
"disable-transitions": "",
|
|
169
|
-
closable: !
|
|
170
|
-
onClose: (n) =>
|
|
173
|
+
closable: !C.inputDisabled,
|
|
174
|
+
onClose: (n) => C.handleClose(e, t)
|
|
171
175
|
}, {
|
|
172
|
-
default:
|
|
176
|
+
default: b(() => [p(v(e.name || e), 1)]),
|
|
173
177
|
_: 2
|
|
174
|
-
}, 1032, ["closable", "onClose"]))), 128)) :
|
|
175
|
-
|
|
178
|
+
}, 1032, ["closable", "onClose"]))), 128)) : C.inputDisabled ? (g(), d("span", A, "无")) : u("v-if", !0),
|
|
179
|
+
C.inputDisabled ? u("v-if", !0) : x((g(), l(T, {
|
|
176
180
|
key: 2,
|
|
177
181
|
ref: "saveTagInput",
|
|
178
|
-
modelValue:
|
|
179
|
-
"onUpdate:modelValue": [n[0] || (n[0] = (e) =>
|
|
182
|
+
modelValue: m.inputValue,
|
|
183
|
+
"onUpdate:modelValue": [n[0] || (n[0] = (e) => m.inputValue = e), C.tryQuery],
|
|
180
184
|
class: "input-new-tag",
|
|
181
185
|
size: "small",
|
|
182
186
|
onKeyup: [
|
|
183
|
-
n[1] || (n[1] =
|
|
184
|
-
n[2] || (n[2] =
|
|
185
|
-
|
|
186
|
-
|
|
187
|
+
n[1] || (n[1] = S((e) => C.select(1), ["up"])),
|
|
188
|
+
n[2] || (n[2] = S((e) => C.select(2), ["down"])),
|
|
189
|
+
S(C.onInputBlur, ["esc"]),
|
|
190
|
+
S(C.handleInputConfirm, ["enter"])
|
|
187
191
|
],
|
|
188
|
-
onBlur:
|
|
192
|
+
onBlur: C.onInputBlur
|
|
189
193
|
}, null, 8, [
|
|
190
194
|
"modelValue",
|
|
191
195
|
"onUpdate:modelValue",
|
|
192
196
|
"onKeyup",
|
|
193
197
|
"onBlur"
|
|
194
|
-
])), [[
|
|
195
|
-
!
|
|
198
|
+
])), [[y, m.inputVisible]]),
|
|
199
|
+
!C.inputDisabled && !m.inputVisible ? x((g(), l(E, {
|
|
196
200
|
key: 3,
|
|
197
201
|
class: "button-new-tag",
|
|
198
202
|
size: "small",
|
|
199
|
-
onClick:
|
|
203
|
+
onClick: C.showInput
|
|
200
204
|
}, {
|
|
201
|
-
default:
|
|
205
|
+
default: b(() => [...n[3] || (n[3] = [p(" + 添加 ", -1)])]),
|
|
202
206
|
_: 1
|
|
203
|
-
}, 8, ["onClick"])), [[
|
|
204
|
-
r.count ? (
|
|
205
|
-
r.query ? (
|
|
207
|
+
}, 8, ["onClick"])), [[y, C.tags.length < m.maxTag]]) : u("v-if", !0),
|
|
208
|
+
r.count ? (g(), d("span", j, v(C.tags.length && C.tags[0] ? C.tags.length : ""), 1)) : u("v-if", !0),
|
|
209
|
+
r.query ? (g(), l(D, {
|
|
206
210
|
key: 5,
|
|
207
211
|
ref: "popover",
|
|
208
212
|
"virtual-ref": t.$refs.saveTagInput,
|
|
@@ -211,18 +215,18 @@ function P(t, n, r, i, a, f) {
|
|
|
211
215
|
"popper-class": "dropdown-popup",
|
|
212
216
|
trigger: "manual"
|
|
213
217
|
}, {
|
|
214
|
-
default:
|
|
218
|
+
default: b(() => [f("ul", M, [(g(!0), d(c, null, _(m.items, (e, t) => (g(), d("li", {
|
|
215
219
|
ref_for: !0,
|
|
216
220
|
ref: "items",
|
|
217
221
|
key: e.id || e.name || e,
|
|
218
|
-
class:
|
|
219
|
-
onMouseenter: (e) =>
|
|
220
|
-
onClick: (t) =>
|
|
221
|
-
},
|
|
222
|
+
class: h(["dropdown-item", { active: m.currentIndex === t }]),
|
|
223
|
+
onMouseenter: (e) => m.currentIndex = t,
|
|
224
|
+
onClick: (t) => C.onDropdownItemClick(e)
|
|
225
|
+
}, v(e.name || e), 43, N))), 128))], 512)]),
|
|
222
226
|
_: 1
|
|
223
|
-
}, 8, ["virtual-ref"])) :
|
|
227
|
+
}, 8, ["virtual-ref"])) : u("v-if", !0)
|
|
224
228
|
]);
|
|
225
229
|
}
|
|
226
|
-
var F = /* @__PURE__ */
|
|
230
|
+
var F = /* @__PURE__ */ o(O, [["render", P]]);
|
|
227
231
|
//#endregion
|
|
228
232
|
export { F as default };
|
package/year-calendar/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DNSPORak.mjs";
|
|
2
2
|
export { e as default };
|
package/year-calendar/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.c-wrapper[data-v-
|
|
1
|
+
.c-wrapper[data-v-f0191d3f]{padding:10px}.calendar[data-v-f0191d3f]{text-align:center;color:#353c46cc;background-color:#fff;border-radius:2px;min-width:0;min-height:295px;text-decoration:none;transition:transform .3s;position:relative;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.calendar[data-v-f0191d3f]:hover{z-index:2}@media (min-width:1024px){.calendar[data-v-f0191d3f]:hover{transform:scale(1.15);box-shadow:0 7px 21px #0000001a}}.calendar .calendar__title[data-v-f0191d3f]{cursor:pointer;border-bottom:1px solid #c4c4c44d;flex:100%;justify-content:center;align-items:center;height:50px;margin-bottom:12px;font-size:18px;font-weight:700;display:flex}.calendar .calendar__body[data-v-f0191d3f]{flex-wrap:wrap;place-content:flex-start;min-width:194px;padding:0 20px;display:flex}.calendar .calendar__day[data-v-f0191d3f]{color:#5db3d4;flex:14.28%;justify-content:center;align-items:center;height:31px;font-size:16px;display:flex}.calendar .day__weektitle[data-v-f0191d3f]{color:#353c46cc}.calendar .day[data-v-f0191d3f]{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:5px;justify-content:center;align-items:center;width:22px;height:22px;font-size:14px;display:flex;position:relative}.calendar .day[data-v-f0191d3f]:after{content:"";z-index:1;background-color:#0000;border-radius:50%;width:10px;height:10px;display:block;position:absolute;top:-5px;right:-5px}.calendar .day.calendar--active[data-v-f0191d3f]:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20fill='%23FF6060'%20d='M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm5%2011H7v-2h10v2z'/%3e%3c/svg%3e");background-size:100% 100%}.calendar .day[data-v-f0191d3f]:not(.calendar__day--otherMonth):hover{background-color:#6666661a;border-radius:5px}.calendar .day.calendar--active[data-v-f0191d3f]{color:#bcbcbc;background-color:#ffbaba80}.calendar .day.calendar--active.info[data-v-f0191d3f]{color:#fff;background-color:#17a2b8cc}.calendar .day.calendar--active.info[data-v-f0191d3f]:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%2317a2b8'%20d='M0%200h24v24H0V0z'/%3e%3cpath%20fill='white'%20d='M11%207h2v2h-2zm0%204h2v6h-2zm1-9C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm0%2018c-4.41%200-8-3.59-8-8s3.59-8%208-8%208%203.59%208%208-3.59%208-8%208z'/%3e%3c/svg%3e");background-size:100% 100%}.calendar .day.calendar--active.warning[data-v-f0191d3f]{color:#fff;background-color:#ffc107b3}.calendar .day.calendar--active.warning[data-v-f0191d3f]:after{background-color:#eaeaea4d;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%23ffc107'%20d='M4.47%2021h15.06c1.54%200%202.5-1.67%201.73-3L13.73%204.99c-.77-1.33-2.69-1.33-3.46%200L2.74%2018c-.77%201.33.19%203%201.73%203zM12%2014c-.55%200-1-.45-1-1v-2c0-.55.45-1%201-1s1%20.45%201%201v2c0%20.55-.45%201-1%201zm1%204h-2v-2h2v2z'/%3e%3c/svg%3e");background-size:100% 100%}.calendar .calendar__day--otherMonth[data-v-f0191d3f]{color:#eaeaea;cursor:auto}.container__months.hide-sunday .calendar__day:nth-of-type(7n){display:none}.container__months.hide-sunday .calendar__day{flex:16.66%}.container__months.hide-weekend .calendar__day:nth-of-type(7n),.container__months.hide-weekend .calendar__day:nth-of-type(7n-1){display:none}.container__months.hide-weekend .calendar__day{flex:19%}.vue-calendar__container[data-v-7fe7231c]{background-color:#f6f6f3;border-radius:2px;min-width:0;text-decoration:none;position:relative;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.vue-calendar__container .container__year[data-v-7fe7231c]{-webkit-user-select:none;user-select:none;text-align:center;background-color:#fff;flex:100%;height:65px;font-size:24px;display:flex}.vue-calendar__container .container__year .year__chooser[data-v-7fe7231c]{cursor:pointer;color:#000000e6;flex:1;justify-content:center;align-items:center;height:100%;display:flex}.vue-calendar__container .container__year .year__chooser[data-v-7fe7231c]:hover{background-color:#6666661a}.vue-calendar__container .container__year .year__chooser[data-v-7fe7231c]:nth-child(4n-3){color:#0000004d}.vue-calendar__container .container__year .year__chooser[data-v-7fe7231c]:nth-child(2n){color:#0009}.vue-calendar__container .container__year .year__chooser[data-v-7fe7231c]:nth-child(3){box-shadow:inset 0 -3px #4792bd}.vue-calendar__container .container__months[data-v-7fe7231c]{flex-wrap:wrap;padding:15px;display:flex}.vue-calendar__container .container__month[data-v-7fe7231c]{flex:16.66%;padding:8px}@media (max-width:1300px){.vue-calendar__container .container__month[data-v-7fe7231c]{flex:25%}}@media (max-width:992px){.vue-calendar__container .container__month[data-v-7fe7231c]{flex:33.3%}}@media (max-width:768px){.vue-calendar__container .container__month[data-v-7fe7231c]{flex:50%}}@media (max-width:450px){.vue-calendar__container .container__month[data-v-7fe7231c]{flex:100%}}.vue-calendar__container .p-0[data-v-7fe7231c]{padding:0}
|
package/chunks/-qKZw-3p2.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { f as e } from "./DuOxL6xh.mjs";
|
|
2
|
-
import { useFormItemProps as t } from "../helper/form-item.mjs";
|
|
3
|
-
import { r as n } from "./DEC2O0q-.mjs";
|
|
4
|
-
import { allProps as r, predicate as i } from "../props/text.mjs";
|
|
5
|
-
import { createVNode as a, mergeProps as o } from "vue";
|
|
6
|
-
import { ElText as s } from "element-plus/es";
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/form/FormText.vue
|
|
9
|
-
var c = {
|
|
10
|
-
name: "FormText",
|
|
11
|
-
inheritAttrs: !1,
|
|
12
|
-
props: { ...r },
|
|
13
|
-
setup(r, { slots: c, attrs: l }) {
|
|
14
|
-
let u = t(r, { attrs: l }), d = e(r, i);
|
|
15
|
-
return () => n(r, {
|
|
16
|
-
vNodes: a(s, o(d.value, l), { default: c.default || (() => r.text) }),
|
|
17
|
-
formItemProps: u,
|
|
18
|
-
slots: c
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
//#endregion
|
|
23
|
-
export { c as t };
|
package/chunks/6av50rJm.mjs
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { columnSizeContextKey as e, setColumnSizeContextKey as t } from "../constants/index.mjs";
|
|
2
|
-
import n from "../form-cell/index.mjs";
|
|
3
|
-
import { camelize as r, isDef as i, isString as a } from "@web-utils/core";
|
|
4
|
-
import { Comment as o, Fragment as s, Text as c, createVNode as l, inject as u, isVNode as d } from "vue";
|
|
5
|
-
import { ElTooltip as f } from "element-plus/es";
|
|
6
|
-
//#region src/components/red-form/FormRow.vue?vue&type=script&lang.jsx
|
|
7
|
-
function p(e) {
|
|
8
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !d(e);
|
|
9
|
-
}
|
|
10
|
-
var m = (e) => {
|
|
11
|
-
let t = Object.keys({});
|
|
12
|
-
for (let n in e) t[r(n)] = e[n];
|
|
13
|
-
return t;
|
|
14
|
-
}, h = (e, { columnSize: t }) => {
|
|
15
|
-
if (!e || !e.length) return null;
|
|
16
|
-
e = e.filter((e) => e.type !== o);
|
|
17
|
-
let n = [], r = e.length === 1;
|
|
18
|
-
for (let o = 0; o < e.length; o++) {
|
|
19
|
-
let v = e[o], { name: y } = v.type;
|
|
20
|
-
if (v.type === c) n.push({
|
|
21
|
-
tag: y,
|
|
22
|
-
type: "text",
|
|
23
|
-
content: v,
|
|
24
|
-
colspan: r ? t : 0
|
|
25
|
-
});
|
|
26
|
-
else if (v.type === s) n.push(...h(v.children, { columnSize: t }));
|
|
27
|
-
else if (a(v.type) && v.type === "td") n.push({
|
|
28
|
-
tag: v.type,
|
|
29
|
-
type: "td",
|
|
30
|
-
content: v
|
|
31
|
-
});
|
|
32
|
-
else if (y === "FormCell") n.push({
|
|
33
|
-
tag: y,
|
|
34
|
-
type: "FormCell",
|
|
35
|
-
content: v
|
|
36
|
-
});
|
|
37
|
-
else if (typeof v.type == "object") {
|
|
38
|
-
var u, d;
|
|
39
|
-
let { label: e, hideLabel: a, labelColspan: o, inputColspan: s, labelRowspan: c, inputRowspan: h, tipsAfterLabel: b, tips: x } = m(v.props);
|
|
40
|
-
if (!i(a)) {
|
|
41
|
-
var p, g, _;
|
|
42
|
-
let t = (p = v.children) == null ? void 0 : p.tips, r = t || x ? l(f, {
|
|
43
|
-
effect: "light",
|
|
44
|
-
content: x,
|
|
45
|
-
offset: 4
|
|
46
|
-
}, {
|
|
47
|
-
default: () => l("i", { class: "el-icon-info form-item-input-info" }, null),
|
|
48
|
-
content: t || null
|
|
49
|
-
}) : null;
|
|
50
|
-
n.push({
|
|
51
|
-
tag: y,
|
|
52
|
-
type: "label",
|
|
53
|
-
colspan: o,
|
|
54
|
-
rowspan: c,
|
|
55
|
-
content: [((g = v.children) == null || (_ = g.label) == null ? void 0 : _.call(g)) || e, b === "" ? r : null]
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
let S;
|
|
59
|
-
S = r && i(a) ? t : i(s) ? s : r ? t - 1 : 0, n.push({
|
|
60
|
-
tag: y,
|
|
61
|
-
type: "input",
|
|
62
|
-
colspan: S,
|
|
63
|
-
rowspan: h,
|
|
64
|
-
content: [v, (u = v.children) == null || (d = u.below) == null ? void 0 : d.call(u)]
|
|
65
|
-
});
|
|
66
|
-
} else console.error("未知节点");
|
|
67
|
-
}
|
|
68
|
-
return n;
|
|
69
|
-
}, g = {
|
|
70
|
-
name: "FormRow",
|
|
71
|
-
props: {
|
|
72
|
-
isLabel: Boolean,
|
|
73
|
-
alignCenter: Boolean
|
|
74
|
-
},
|
|
75
|
-
setup(r, { slots: i }) {
|
|
76
|
-
let a = u(t, null), o = u(e, null);
|
|
77
|
-
return () => {
|
|
78
|
-
var e;
|
|
79
|
-
let t = (e = i.default) == null ? void 0 : e.call(i), s = [];
|
|
80
|
-
return s.push(...h(t, { columnSize: (o == null ? void 0 : o.value) ?? 0 })), ((o == null ? void 0 : o.value) ?? 0) < s.length && (a == null || a(s.length)), l("tr", null, [s.map(({ tag: e, type: t, colspan: i, rowspan: a, content: o }) => e === "td" || t === "FormCell" ? o : t === "text" ? l(n, {
|
|
81
|
-
isLabel: r.isLabel,
|
|
82
|
-
alignCenter: r.alignCenter,
|
|
83
|
-
colspan: i
|
|
84
|
-
}, p(o) ? o : { default: () => [o] }) : l("td", {
|
|
85
|
-
class: t,
|
|
86
|
-
colspan: i,
|
|
87
|
-
rowspan: a
|
|
88
|
-
}, [o]))]);
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
//#endregion
|
|
93
|
-
export { g as t };
|
package/chunks/8P-OAGbj.mjs
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { d as e } from "./DuOxL6xh.mjs";
|
|
2
|
-
import { computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, getCurrentInstance as s, mergeModels as c, mergeProps as l, normalizeClass as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, toHandlers as h, unref as g, useModel as _, useTemplateRef as v, withCtx as y, withModifiers as b } from "vue";
|
|
3
|
-
import { ElDialog as x } from "element-plus/es";
|
|
4
|
-
//#region src/components/dialog/props.ts
|
|
5
|
-
var S = {
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: Boolean,
|
|
8
|
-
default: !1
|
|
9
|
-
},
|
|
10
|
-
title: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: ""
|
|
13
|
-
},
|
|
14
|
-
width: [String, Number],
|
|
15
|
-
fullscreen: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: !1
|
|
18
|
-
},
|
|
19
|
-
top: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: ""
|
|
22
|
-
},
|
|
23
|
-
modal: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
default: !0
|
|
26
|
-
},
|
|
27
|
-
modalPenetrable: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !1
|
|
30
|
-
},
|
|
31
|
-
modalClass: String,
|
|
32
|
-
headerClass: String,
|
|
33
|
-
bodyClass: String,
|
|
34
|
-
footerClass: String,
|
|
35
|
-
appendToBody: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !0
|
|
38
|
-
},
|
|
39
|
-
appendTo: [String, Object],
|
|
40
|
-
lockScroll: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: !0
|
|
43
|
-
},
|
|
44
|
-
openDelay: {
|
|
45
|
-
type: Number,
|
|
46
|
-
default: 0
|
|
47
|
-
},
|
|
48
|
-
closeDelay: {
|
|
49
|
-
type: Number,
|
|
50
|
-
default: 0
|
|
51
|
-
},
|
|
52
|
-
closeOnClickModal: { type: Boolean },
|
|
53
|
-
closeOnPressEscape: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: !0
|
|
56
|
-
},
|
|
57
|
-
showClose: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: !0
|
|
60
|
-
},
|
|
61
|
-
beforeClose: Function,
|
|
62
|
-
draggable: {
|
|
63
|
-
type: Boolean,
|
|
64
|
-
default: !0
|
|
65
|
-
},
|
|
66
|
-
overflow: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
default: !1
|
|
69
|
-
},
|
|
70
|
-
center: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
default: !1
|
|
73
|
-
},
|
|
74
|
-
alignCenter: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
default: !1
|
|
77
|
-
},
|
|
78
|
-
destroyOnClose: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
default: !1
|
|
81
|
-
},
|
|
82
|
-
closeIcon: [String, Object],
|
|
83
|
-
zIndex: Number,
|
|
84
|
-
headerAriaLevel: {
|
|
85
|
-
type: String,
|
|
86
|
-
default: "2"
|
|
87
|
-
},
|
|
88
|
-
transition: [String, Object],
|
|
89
|
-
customClass: {
|
|
90
|
-
type: String,
|
|
91
|
-
default: ""
|
|
92
|
-
},
|
|
93
|
-
height: String,
|
|
94
|
-
embed: Boolean,
|
|
95
|
-
showFullscreen: Boolean,
|
|
96
|
-
showFullScreen: Boolean
|
|
97
|
-
}, C = {
|
|
98
|
-
embed: !0,
|
|
99
|
-
height: !0,
|
|
100
|
-
showFullscreen: !0,
|
|
101
|
-
showFullScreen: !0,
|
|
102
|
-
fullscreen: !0,
|
|
103
|
-
showClose: !0
|
|
104
|
-
}, w = (e) => C[e] !== !0, T = { class: "dialog-title" }, E = { class: "dialog-header-buttons" }, D = /* @__PURE__ */ Object.assign({ name: "ElementDialog" }, {
|
|
105
|
-
__name: "ElementDialog",
|
|
106
|
-
props: /* @__PURE__ */ c({ ...S }, {
|
|
107
|
-
modelValue: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: !1
|
|
110
|
-
},
|
|
111
|
-
modelModifiers: {}
|
|
112
|
-
}),
|
|
113
|
-
emits: /* @__PURE__ */ c({ "toggle-fullscreen": null }, ["update:modelValue"]),
|
|
114
|
-
setup(c, { expose: S, emit: C }) {
|
|
115
|
-
let D = _(c, "modelValue"), O = c, k = C, { autoBindProps: A, listeners: j } = e(O, {
|
|
116
|
-
predicate: w,
|
|
117
|
-
removeOn: !0
|
|
118
|
-
}), M = v("dialog"), N = f(O.fullscreen), P = () => {
|
|
119
|
-
N.value = !N.value, k("toggle-fullscreen", N.value);
|
|
120
|
-
}, F = t(() => N.value ? "100%" : O.height), I = s(), L = () => {
|
|
121
|
-
O.embed ? (I.parent.emit("update:visible", !1), I.parent.emit("update:modelValue", !1)) : M.value.handleClose();
|
|
122
|
-
};
|
|
123
|
-
return S({
|
|
124
|
-
close: L,
|
|
125
|
-
hide: L
|
|
126
|
-
}), (e, t) => {
|
|
127
|
-
let s = x;
|
|
128
|
-
return d(), n(s, l({
|
|
129
|
-
ref: "dialog",
|
|
130
|
-
modelValue: D.value,
|
|
131
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => D.value = e)
|
|
132
|
-
}, g(A), {
|
|
133
|
-
"show-close": !1,
|
|
134
|
-
fullscreen: g(N),
|
|
135
|
-
style: { "--dialog-body-height": g(F) }
|
|
136
|
-
}, h(g(j))), o({
|
|
137
|
-
header: y(() => [r(" @slot 对话框标题的内容;会替换标题部分,但会移除关闭按钮 "), p(e.$slots, "header", {}, () => [a("div", T, m(e.title), 1), a("div", E, [e.showFullscreen || e.showFullScreen ? (d(), i("i", {
|
|
138
|
-
key: 0,
|
|
139
|
-
class: u(["dialog-header-button", {
|
|
140
|
-
"el-icon-full-screen": !e.fullscreen,
|
|
141
|
-
"el-icon-copy-document": e.fullscreen
|
|
142
|
-
}]),
|
|
143
|
-
onClick: b(P, ["stop"])
|
|
144
|
-
}, null, 2)) : r("v-if", !0), e.showClose ? (d(), i("i", {
|
|
145
|
-
key: 1,
|
|
146
|
-
class: "dialog-header-button el-icon-close",
|
|
147
|
-
onClick: b(L, ["stop"])
|
|
148
|
-
})) : r("v-if", !0)])])]),
|
|
149
|
-
default: y(() => [r(" @slot 对话框的默认内容 "), p(e.$slots, "default")]),
|
|
150
|
-
_: 2
|
|
151
|
-
}, [e.$slots.footer ? {
|
|
152
|
-
name: "footer",
|
|
153
|
-
fn: y(() => [r(" @slot Dialog 按钮操作区的内容 "), p(e.$slots, "footer", { close: L })]),
|
|
154
|
-
key: "0"
|
|
155
|
-
} : void 0]), 1040, [
|
|
156
|
-
"modelValue",
|
|
157
|
-
"fullscreen",
|
|
158
|
-
"style"
|
|
159
|
-
]);
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
//#endregion
|
|
164
|
-
export { D as t };
|
package/chunks/B2PuSZ_F.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t } from "./DEC2O0q-.mjs";
|
|
2
|
-
import { allProps as n, predicate as r } from "../props/input-number.mjs";
|
|
3
|
-
import { isString as i } from "@web-utils/core";
|
|
4
|
-
import { computed as a, createVNode as o, mergeProps as s } from "vue";
|
|
5
|
-
import { ElInputNumber as c } from "element-plus/es";
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/components/form/FormInputNumber.vue
|
|
8
|
-
var l = {
|
|
9
|
-
name: "FormInputNumber",
|
|
10
|
-
inheritAttrs: !1,
|
|
11
|
-
props: { ...n },
|
|
12
|
-
emits: { ...e },
|
|
13
|
-
setup(e, { emit: n, slots: l, attrs: u }) {
|
|
14
|
-
let { emitInput: d, render: f, placeholder: p, disabled: m, listeners: h, inputProps: g } = t(e, {
|
|
15
|
-
emit: n,
|
|
16
|
-
slots: l,
|
|
17
|
-
attrs: u,
|
|
18
|
-
predicate: r
|
|
19
|
-
}), _ = a(() => i(e.modelValue) ? Number(e.modelValue) : e.modelValue);
|
|
20
|
-
return () => f({ vNodes: o(c, s(h.value, g.value, {
|
|
21
|
-
style: "width: 100%",
|
|
22
|
-
modelValue: _.value,
|
|
23
|
-
disabled: m.value,
|
|
24
|
-
"onUpdate:modelValue": d,
|
|
25
|
-
placeholder: p.value
|
|
26
|
-
}), {
|
|
27
|
-
prefix: l.prefix || e.prefix ? () => e.prefix : null,
|
|
28
|
-
suffix: l.suffix || e.suffix ? () => e.suffix : e.append,
|
|
29
|
-
"decrease-icon": l["decrease-icon"],
|
|
30
|
-
"increase-icon": l["increase-icon"]
|
|
31
|
-
}) });
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { l as t };
|
package/chunks/B6B-rhhB.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t } from "./DEC2O0q-.mjs";
|
|
2
|
-
import { allProps as n, predicate as r } from "../props/time.mjs";
|
|
3
|
-
import { createVNode as i, mergeProps as a } from "vue";
|
|
4
|
-
import { ElTimePicker as o } from "element-plus/es";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/components/form/FormInputTime.vue
|
|
7
|
-
var s = {
|
|
8
|
-
name: "FormInputTime",
|
|
9
|
-
inheritAttrs: !1,
|
|
10
|
-
props: { ...n },
|
|
11
|
-
emits: { ...e },
|
|
12
|
-
setup(e, { emit: n, slots: s, attrs: c }) {
|
|
13
|
-
let { emitInput: l, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = t(e, {
|
|
14
|
-
emit: n,
|
|
15
|
-
slots: s,
|
|
16
|
-
attrs: c,
|
|
17
|
-
predicate: r
|
|
18
|
-
}), h = { modifiers: [{
|
|
19
|
-
name: "arrow",
|
|
20
|
-
options: { padding: ({ popper: e, reference: t, placement: n }) => e.width / 2 }
|
|
21
|
-
}] };
|
|
22
|
-
return () => u({ vNodes: i(o, a(p.value, m.value, {
|
|
23
|
-
"popper-options": e.popperOptions || h,
|
|
24
|
-
style: "width: 100%",
|
|
25
|
-
placement: e.placement || "left",
|
|
26
|
-
"is-range": e.isRange || e.range,
|
|
27
|
-
format: e.format,
|
|
28
|
-
"value-format": e.valueFormat || e.format,
|
|
29
|
-
modelValue: e.modelValue,
|
|
30
|
-
disabled: f.value,
|
|
31
|
-
"onUpdate:modelValue": l,
|
|
32
|
-
placeholder: d.value
|
|
33
|
-
}), null) });
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
export { s as t };
|
package/chunks/BWoKh6f6.mjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./DEC2O0q-.mjs";
|
|
2
|
-
import { allProps as r, predicate as i } from "../props/input.mjs";
|
|
3
|
-
import { validatePhoneNum as a } from "@web-utils/core";
|
|
4
|
-
import { computed as o, createVNode as s, mergeProps as c, useModel as l } from "vue";
|
|
5
|
-
import { ElInput as u } from "element-plus/es";
|
|
6
|
-
//#region src/utils/form-validate.ts
|
|
7
|
-
var d = (e, t, n) => t && !/^[A-Za-z0-9\u4e00-\u9fa5_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
|
|
8
|
-
function f(e, t, n) {
|
|
9
|
-
t && !/^[1-9][0-9]{5}(18|19|(2[0-9]))[0-9]{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)[0-9]{3}[0-9Xx]$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
|
|
10
|
-
}
|
|
11
|
-
function p(e, t, n) {
|
|
12
|
-
if (this.$refs.table.$refs.table.records.length === 0) {
|
|
13
|
-
n(Error(e.message || `请添加${e.label}`));
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
n();
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/components/form/FormInput.vue
|
|
20
|
-
var m = {
|
|
21
|
-
name: "FormInput",
|
|
22
|
-
inheritAttrs: !1,
|
|
23
|
-
props: { ...r },
|
|
24
|
-
emits: { ...e },
|
|
25
|
-
setup(e, { emit: r, slots: p, attrs: m }) {
|
|
26
|
-
let h = l(e, "modelValue"), g = `请输入正确的${e.label}!`, { render: _, placeholder: v, disabled: y, listeners: b, inputProps: x, printing: S } = t(e, {
|
|
27
|
-
emit: r,
|
|
28
|
-
slots: p,
|
|
29
|
-
attrs: m,
|
|
30
|
-
rules: o(() => {
|
|
31
|
-
if (!e.type || e.type === "textarea") return null;
|
|
32
|
-
let t = {
|
|
33
|
-
message: g,
|
|
34
|
-
trigger: "blur"
|
|
35
|
-
};
|
|
36
|
-
if (e.type === "email") t.validator = d;
|
|
37
|
-
else if (e.type === "idcard") t.validator = f;
|
|
38
|
-
else if (e.type === "phone") t.validator = a;
|
|
39
|
-
else return null;
|
|
40
|
-
return [t];
|
|
41
|
-
}),
|
|
42
|
-
predicate: i
|
|
43
|
-
});
|
|
44
|
-
return () => _({ vNodes: S.value ? e.modelValue : s(u, c(b.value, x.value, {
|
|
45
|
-
class: ["form-input", {
|
|
46
|
-
"is-readonly": e.readonlyGrey && e.readonly && !e.picker,
|
|
47
|
-
"el-input-cursor-pointer": e.picker && !y.value
|
|
48
|
-
}],
|
|
49
|
-
modelValue: h.value,
|
|
50
|
-
"onUpdate:modelValue": (e) => h.value = e,
|
|
51
|
-
disabled: y.value,
|
|
52
|
-
placeholder: v.value,
|
|
53
|
-
readonly: e.readonly || e.picker,
|
|
54
|
-
"prefix-icon": n({ icon: e.picker ? "el-icon-search" : e.prefixIcon }),
|
|
55
|
-
"suffix-icon": n({ icon: e.suffixIcon })
|
|
56
|
-
}), {
|
|
57
|
-
prefix: p.prefix || e.prefix ? () => e.prefix : null,
|
|
58
|
-
suffix: p.suffix || e.suffix ? () => e.suffix : null,
|
|
59
|
-
"password-icon": p["password-icon"],
|
|
60
|
-
prepend: p.prepend || e.prepend ? () => e.prepend : null,
|
|
61
|
-
append: p.append || e.append ? () => e.append : null
|
|
62
|
-
}) });
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
//#endregion
|
|
66
|
-
export { p as n, m as t };
|