@web-utils/form-ui 1.0.0-beta9 → 1.0.0-beta91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address-input/index.d.ts +52 -0
- package/address-input/index.mjs +2 -0
- package/address-input/style.css +1 -0
- package/affix/index.d.ts +30 -0
- package/affix/index.mjs +48 -0
- package/affix/style.css +1 -0
- package/api/index.d.ts +66 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -1
- package/capsule-tab/index.d.ts +30 -0
- package/capsule-tab/index.mjs +2 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.d.ts +41 -0
- package/card/index.mjs +90 -0
- package/card/style.css +1 -0
- package/chunks/6eDDQWcr.mjs +69 -0
- package/chunks/8A7LSgb4.mjs +109 -0
- package/chunks/B1MSrc6f.mjs +8 -0
- package/chunks/B7DACryk.mjs +40 -0
- package/chunks/BAqI0u4Z2.mjs +29 -0
- package/chunks/BCYFaOiB.mjs +52 -0
- package/chunks/BFcXbHOc.mjs +32 -0
- package/chunks/BMxD6EUb2.mjs +39 -0
- package/chunks/BO0sFz5y2.mjs +31 -0
- package/chunks/BQytQPLa.mjs +780 -0
- package/chunks/BSOrm2U4.mjs +206 -0
- package/chunks/BVlUGEuO2.mjs +521 -0
- package/chunks/BfW25VbY.mjs +298 -0
- package/chunks/Bii5Lj6z.mjs +30 -0
- package/chunks/BjccroM8.mjs +89 -0
- package/chunks/BrelfRGo2.mjs +111 -0
- package/chunks/BsqIRxSS.mjs +67 -0
- package/chunks/BvGW2gtF.mjs +613 -0
- package/chunks/BvR_UvV82.mjs +26 -0
- package/chunks/C-iN5MJZ.mjs +57 -0
- package/chunks/C4-9yqfz2.mjs +87 -0
- package/chunks/C6lKjnj5.mjs +199 -0
- package/chunks/C8b7OeMD2.mjs +63 -0
- package/chunks/C8jbksGf2.mjs +30 -0
- package/chunks/CC4-dgXh.mjs +340 -0
- package/chunks/CCnD8lOv.mjs +198 -0
- package/chunks/CHqxWrj7.mjs +200 -0
- package/chunks/CJ91sgqD.mjs +4103 -0
- package/chunks/CQB9uqNw.mjs +517 -0
- package/chunks/CUh6-IK-.mjs +4794 -0
- package/chunks/CVjOe4WH.mjs +99 -0
- package/chunks/CX7Oiw5N.mjs +384 -0
- package/chunks/CXHJqvbJ.mjs +204 -0
- package/chunks/CY2YrwMT.mjs +302 -0
- package/chunks/CYjby4eo.mjs +17 -0
- package/chunks/CZnwC17w.mjs +60 -0
- package/chunks/C_EelJUP.mjs +672 -0
- package/chunks/C_QfuxeQ.mjs +98 -0
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/CmXOOFaq2.mjs +26 -0
- package/chunks/Cp1olyWc.mjs +46 -0
- package/chunks/CpmWELPU.mjs +217 -0
- package/chunks/CqoSAx2f2.mjs +27 -0
- package/chunks/CsiD_AYs.mjs +56 -0
- package/chunks/Ctq8BqkS.mjs +58 -0
- package/chunks/Ctx93AFS.mjs +54 -0
- package/chunks/Cun90-R7.mjs +63 -0
- package/chunks/Cw2dcjLE2.mjs +25 -0
- package/chunks/CxoBTwVp2.mjs +34 -0
- package/chunks/D2NeD2g32.mjs +1361 -0
- package/chunks/D3PMBaWK2.mjs +108 -0
- package/chunks/D7_Djkww2.mjs +230 -0
- package/chunks/DEHzWyyp.mjs +64 -0
- package/chunks/DGkSZT8r.mjs +155 -0
- package/chunks/DHBi4mlK2.mjs +425 -0
- package/chunks/DKXIKHKG.mjs +61 -0
- package/chunks/DZk7uYn32.mjs +29 -0
- package/chunks/DdACGFy3.mjs +90 -0
- package/chunks/Dgp15aEx.mjs +595 -0
- package/chunks/Dodxnwze.mjs +60 -0
- package/chunks/DokYQ49m.mjs +29 -0
- package/chunks/DqxR4G_B2.mjs +221 -0
- package/chunks/DscijaV_2.mjs +42 -0
- package/chunks/DtQg1F6Q2.mjs +145 -0
- package/chunks/Dxlhoq6v.mjs +1798 -0
- package/chunks/Gh6td4HK.mjs +184 -0
- package/chunks/Kyk412rw2.mjs +26 -0
- package/chunks/V-Js6hNd.mjs +179 -0
- package/chunks/jG7vu3RX.mjs +379 -0
- package/chunks/jYBVv5nL.mjs +50 -0
- package/chunks/lyW9mwQp.mjs +68 -0
- package/chunks/mH_IELW0.mjs +449 -0
- package/chunks/qtQGid8Q.mjs +647 -0
- package/chunks/{C76R4lB3.mjs → rl4vgArX2.mjs} +2 -2
- package/chunks/syMDpSl42.mjs +34 -0
- package/chunks/t6OjVLsq2.mjs +37 -0
- package/chunks/tjwOOiNr2.mjs +95 -0
- package/chunks/tzjUpVIj.mjs +37 -0
- package/chunks/wkrkYyvs.mjs +17 -0
- package/code-mirror-editor/index.d.ts +50 -0
- package/code-mirror-editor/index.mjs +99 -0
- package/code-mirror-editor/style.css +1 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +93 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +75 -0
- package/constants/index.mjs +4 -0
- package/context-menu/index.d.ts +183 -0
- package/context-menu/index.mjs +196 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.d.ts +70 -0
- package/count-up/index.mjs +94 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/custom-scrollbar/index.mjs +93 -0
- package/data-box/index.d.ts +30 -0
- package/data-box/index.mjs +2 -0
- package/data-box/style.css +1 -0
- package/data-card/index.d.ts +20 -0
- package/data-card/index.mjs +64 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-card-text/index.mjs +68 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.d.ts +20 -0
- package/data-display/index.mjs +74 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.d.ts +21 -0
- package/data-icons/index.mjs +75 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-imgtext/index.mjs +72 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-operatext/index.mjs +55 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.d.ts +19 -0
- package/data-panel/index.mjs +62 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.d.ts +19 -0
- package/data-pay/index.mjs +111 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.d.ts +17 -0
- package/data-price/index.mjs +52 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.d.ts +19 -0
- package/data-progress/index.mjs +73 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.d.ts +21 -0
- package/data-rotate/index.mjs +2 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.mjs +120 -0
- package/data-tabs/index.d.ts +21 -0
- package/data-tabs/index.mjs +2 -0
- package/data-tabs/style.css +1 -0
- package/dialog-form/index.d.ts +4 -0
- package/dialog-form/index.mjs +154 -0
- package/dialog-form/style.css +1 -0
- package/dict-render/index.d.ts +28 -0
- package/dict-render/index.mjs +2 -0
- package/e-charts/index.d.ts +79 -0
- package/e-charts/index.mjs +179 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.d.ts +114 -0
- package/easy-popup/index.mjs +92 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-progress/index.mjs +121 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.mjs +596 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +341 -18
- package/element-dialog/index.mjs +2 -91
- package/element-dialog/style.css +1 -1
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/element-resize-observer/index.d.ts +8 -0
- package/element-resize-observer/index.mjs +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.d.ts +4 -4
- package/empty-view/index.mjs +1 -1
- package/error-view/index.d.ts +25 -0
- package/error-view/index.mjs +37 -0
- package/error-view/style.css +1 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-box/index.mjs +2 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-column/index.mjs +2 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-item/index.mjs +2 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-row/index.mjs +2 -0
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/flex-scroller/index.d.ts +26 -0
- package/flex-scroller/index.mjs +29 -0
- package/flex-scroller/style.css +1 -0
- package/flow-designer/index.d.ts +286 -0
- package/flow-designer/index.mjs +2 -0
- package/flow-designer/style.css +1 -0
- package/flow-viewer/index.d.ts +62 -0
- package/flow-viewer/index.mjs +159 -0
- package/flow-viewer/style.css +1 -0
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +123 -0
- package/form-button/index.mjs +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.mjs +2 -0
- package/form-checkbox/index.d.ts +237 -30
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.mjs +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.d.ts +375 -29
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +89 -22
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +137 -23
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +282 -50
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +296 -25
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +296 -25
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +237 -29
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +296 -25
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +269 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +440 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item/index.d.ts +190 -0
- package/form-item/index.mjs +2 -0
- package/form-item/style.css +1 -0
- package/form-item-config-provider/index.d.ts +23 -3
- package/form-item-config-provider/index.mjs +7 -7
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.d.ts +295 -28
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +244 -24
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +527 -28
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +273 -26
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +264 -26
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +296 -0
- package/form-table/index.mjs +2 -0
- package/form-table-plus/index.d.ts +275 -0
- package/form-table-plus/index.mjs +2 -0
- package/form-text/index.d.ts +157 -23
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.mjs +2 -0
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.mjs +2 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.mjs +2 -0
- package/form-view/index.d.ts +225 -1
- package/form-view/index.mjs +280 -6
- package/form-view/style.css +1 -0
- package/fy-array/index.d.ts +497 -0
- package/fy-array/index.mjs +130 -0
- package/fy-array/style.css +1 -0
- package/fy-cascader/index.d.ts +561 -0
- package/fy-cascader/index.mjs +116 -0
- package/fy-checkbox/index.d.ts +494 -0
- package/fy-checkbox/index.mjs +100 -0
- package/fy-checkbox/style.css +1 -0
- package/fy-curd/index.d.ts +986 -0
- package/fy-curd/index.mjs +2 -0
- package/fy-date/index.d.ts +509 -0
- package/fy-date/index.mjs +79 -0
- package/fy-date/style.css +1 -0
- package/fy-dynamic/index.d.ts +531 -0
- package/fy-dynamic/index.mjs +2 -0
- package/fy-empty/index.d.ts +31 -0
- package/fy-empty/index.mjs +35 -0
- package/fy-empty/style.css +1 -0
- package/fy-form/index.d.ts +528 -0
- package/fy-form/index.mjs +2 -0
- package/fy-form/style.css +1 -0
- package/fy-input/index.d.ts +579 -0
- package/fy-input/index.mjs +122 -0
- package/fy-input-color/index.d.ts +498 -0
- package/fy-input-color/index.mjs +80 -0
- package/fy-input-icon/index.d.ts +507 -0
- package/fy-input-icon/index.mjs +133 -0
- package/fy-input-icon/style.css +1 -0
- package/fy-input-map/index.d.ts +529 -0
- package/fy-input-map/index.mjs +248 -0
- package/fy-input-map/style.css +1 -0
- package/fy-input-number/index.d.ts +529 -0
- package/fy-input-number/index.mjs +78 -0
- package/fy-input-table/index.d.ts +511 -0
- package/fy-input-table/index.mjs +166 -0
- package/fy-input-table/style.css +1 -0
- package/fy-input-tree/index.d.ts +614 -0
- package/fy-input-tree/index.mjs +266 -0
- package/fy-input-tree/style.css +1 -0
- package/fy-radio/index.d.ts +481 -0
- package/fy-radio/index.mjs +56 -0
- package/fy-radio/style.css +1 -0
- package/fy-rate/index.d.ts +551 -0
- package/fy-rate/index.mjs +90 -0
- package/fy-rate/style.css +1 -0
- package/fy-select/index.d.ts +587 -0
- package/fy-select/index.mjs +2 -0
- package/fy-select/style.css +1 -0
- package/fy-slider/index.d.ts +512 -0
- package/fy-slider/index.mjs +72 -0
- package/fy-switch/index.d.ts +492 -0
- package/fy-switch/index.mjs +71 -0
- package/fy-tabs/index.d.ts +20 -0
- package/fy-tabs/index.mjs +50 -0
- package/fy-time/index.d.ts +967 -0
- package/fy-time/index.mjs +85 -0
- package/fy-title/index.d.ts +487 -0
- package/fy-title/index.mjs +18 -0
- package/fy-title/style.css +1 -0
- package/fy-tree/index.d.ts +142 -0
- package/fy-tree/index.mjs +391 -0
- package/fy-tree/style.css +1 -0
- package/fy-u-editor/index.d.ts +116 -0
- package/fy-u-editor/index.mjs +2 -0
- package/fy-u-editor/style.css +1 -0
- package/fy-upload/index.d.ts +642 -0
- package/fy-upload/index.mjs +2 -0
- package/fy-upload/style.css +1 -0
- package/guide-steps/index.d.ts +31 -0
- package/guide-steps/index.mjs +77 -0
- package/guide-steps/style.css +1 -0
- package/helper/avue.d.ts +36 -0
- package/helper/avue.mjs +35 -0
- package/helper/dictionary.d.ts +29 -0
- package/helper/dictionary.mjs +97 -0
- package/helper/form-item.d.ts +17 -0
- package/helper/form-item.mjs +27 -0
- package/helper/input.d.ts +49 -0
- package/helper/input.mjs +2 -0
- package/helper/sub-table-plus.d.ts +98 -0
- package/helper/sub-table-plus.mjs +4 -0
- package/highlight-j-s/index.d.ts +18 -0
- package/highlight-j-s/index.mjs +51 -0
- package/highlight-j-s/style.css +1 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/icon-temp/index.d.ts +19 -0
- package/icon-temp/index.mjs +27 -0
- package/icon-temp/style.css +1 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-cropper/index.mjs +154 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.d.ts +61 -0
- package/image-preview/index.mjs +201 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.d.ts +25 -0
- package/image-viewer/index.mjs +70 -0
- package/image-viewer/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +150 -36
- package/index.mjs +150 -62
- package/input-number-range/index.d.ts +41 -0
- package/input-number-range/index.mjs +77 -0
- package/input-number-range/style.css +1 -0
- package/json-editor/index.d.ts +5 -5
- package/json-editor/index.mjs +1 -1
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.mjs +2 -0
- package/keyboard/style.css +1 -0
- package/loading-view/index.d.ts +65 -0
- package/loading-view/index.mjs +39 -0
- package/loading-view/style.css +1 -0
- package/monaco-editor/index.d.ts +126 -0
- package/monaco-editor/index.mjs +2 -0
- package/monaco-editor/style.css +1 -0
- package/name-avatar/index.d.ts +62 -0
- package/name-avatar/index.mjs +61 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.d.ts +21 -0
- package/nav-bar/index.mjs +35 -0
- package/nav-bar/style.css +1 -0
- package/package.json +30 -8
- package/page/index.d.ts +21 -0
- package/page/index.mjs +17 -0
- package/page/style.css +1 -0
- package/page-header/index.d.ts +27 -0
- package/page-header/index.mjs +25 -0
- package/page-header/style.css +1 -0
- package/page-index/index.d.ts +82 -0
- package/page-index/index.mjs +124 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-index-top/index.mjs +87 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton/index.mjs +44 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/page-skeleton-new/index.mjs +80 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.d.ts +400 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +2 -0
- package/props/cascader.d.ts +326 -0
- package/props/cascader.mjs +145 -0
- package/props/checkbox-group.d.ts +213 -0
- package/props/checkbox-group.mjs +83 -0
- package/props/checkbox.d.ts +205 -0
- package/props/checkbox.mjs +74 -0
- package/props/col.d.ts +74 -0
- package/props/col.mjs +32 -0
- package/props/common.d.ts +114 -0
- package/props/common.mjs +18 -0
- package/props/date.d.ts +336 -0
- package/props/date.mjs +158 -0
- package/props/form-item.d.ts +144 -0
- package/props/form-item.mjs +73 -0
- package/props/form.d.ts +157 -0
- package/props/form.mjs +89 -0
- package/props/image.d.ts +102 -0
- package/props/image.mjs +10 -0
- package/props/input-cron.d.ts +102 -0
- package/props/input-cron.mjs +16 -0
- package/props/input-number.d.ts +216 -0
- package/props/input-number.mjs +72 -0
- package/props/input-tag.d.ts +123 -0
- package/props/input-tag.mjs +33 -0
- package/props/input.d.ts +299 -0
- package/props/input.mjs +97 -0
- package/props/radio-group.d.ts +205 -0
- package/props/radio-group.mjs +84 -0
- package/props/rate.d.ts +211 -0
- package/props/rate.mjs +66 -0
- package/props/select.d.ts +450 -0
- package/props/select.mjs +218 -0
- package/props/slide.d.ts +235 -0
- package/props/slide.mjs +72 -0
- package/props/switch.d.ts +229 -0
- package/props/switch.mjs +80 -0
- package/props/text.d.ts +127 -0
- package/props/text.mjs +22 -0
- package/props/textarea.d.ts +266 -0
- package/props/textarea.mjs +82 -0
- package/props/time-select.d.ts +216 -0
- package/props/time-select.mjs +67 -0
- package/props/time.d.ts +304 -0
- package/props/time.mjs +138 -0
- package/props/tree-select-multiple.d.ts +324 -0
- package/props/tree-select-multiple.mjs +16 -0
- package/props/tree-select.d.ts +326 -0
- package/props/tree-select.mjs +25 -0
- package/props/tree.d.ts +76 -0
- package/props/tree.mjs +75 -0
- package/props/vue-tree-select.d.ts +458 -0
- package/props/vue-tree-select.mjs +213 -0
- package/resolver/components.d.ts +4 -0
- package/resolver/components.mjs +4 -0
- package/resolver/index.mjs +29 -0
- package/resolver/vite-optimize-deps-plugin.d.ts +9 -0
- package/resolver/vite-optimize-deps-plugin.mjs +13 -0
- package/sign-panel/index.d.ts +85 -0
- package/sign-panel/index.mjs +183 -0
- package/sign-panel/style.css +1 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/skeleton-panel/index.mjs +38 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.mjs +2 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.d.ts +92 -0
- package/stateful/index.mjs +67 -0
- package/stateful/style.css +1 -0
- package/sub-table/index.d.ts +118 -0
- package/sub-table/index.mjs +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.d.ts +118 -0
- package/sub-table-plus/index.mjs +2 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.d.ts +27 -0
- package/swiper/index.mjs +126 -0
- package/swiper/style.css +1 -0
- package/table-column/index.d.ts +163 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.d.ts +345 -1
- package/table-view/index.mjs +472 -6
- package/table-view/style.css +1 -0
- package/tag-render/index.d.ts +48 -0
- package/tag-render/index.mjs +86 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/text-ellipsis/index.mjs +124 -0
- package/text-ellipsis/style.css +1 -0
- package/toolbar/index.d.ts +133 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.mjs +1 -8
- package/toolbar-button/style.css +1 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-qr-code/index.mjs +32 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tags-input/index.mjs +350 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.d.ts +1534 -0
- package/vue-tree-select/index.mjs +2 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.d.ts +117 -0
- package/vue-video-player/index.mjs +136 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.mjs +2 -0
- package/watermark/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +232 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/1glrRdhD.mjs +0 -23
- package/chunks/6Ukll2os.mjs +0 -149
- package/chunks/78hGOZc9.mjs +0 -43
- package/chunks/BID1Rr2O.mjs +0 -32
- package/chunks/BMkPC2kt.mjs +0 -28
- package/chunks/BPJNSq9M.mjs +0 -4
- package/chunks/BaExlbMY.mjs +0 -32
- package/chunks/BeIZhqg_.mjs +0 -167
- package/chunks/BmQGmui_.mjs +0 -54
- package/chunks/BnycM8aG.mjs +0 -74
- package/chunks/BooKKkk0.mjs +0 -36
- package/chunks/Bpox2cVQ.mjs +0 -92
- package/chunks/Bs_IYr3X.mjs +0 -94
- package/chunks/BuZDN2DV.mjs +0 -28
- package/chunks/C4JpDEWP.mjs +0 -35
- package/chunks/DAjuA2O6.mjs +0 -28
- package/chunks/Dywq0t6V.mjs +0 -47
- package/chunks/GlsJxLiF.mjs +0 -35
- package/chunks/pFgf4c4i.mjs +0 -47
- package/constants.d.ts +0 -7
- package/constants.mjs +0 -4
- package/form-check-box-group/index.d.ts +0 -119
- package/form-check-box-group/index.mjs +0 -2
- package/form-item-x/index.d.ts +0 -75
- package/form-item-x/index.mjs +0 -2
- package/input/style.css +0 -1
- package/resolver.mjs +0 -81
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
package/chunks/BeIZhqg_.mjs
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./BPJNSq9M.mjs";
|
|
2
|
-
import { ElCol as t, ElFormItem as n, ElTooltip as r } from "element-plus/es";
|
|
3
|
-
import { computed as i, createVNode as a, h as o, inject as s, mergeProps as c, nextTick as l, unref as u, useTemplateRef as d } from "vue";
|
|
4
|
-
import { ElCol as f, rowContextKey as p } from "element-plus";
|
|
5
|
-
//#region src/components/form/form-item.js
|
|
6
|
-
var m = {
|
|
7
|
-
label: String,
|
|
8
|
-
prop: String,
|
|
9
|
-
required: Boolean,
|
|
10
|
-
rules: Array,
|
|
11
|
-
messagePrefix: String,
|
|
12
|
-
message: String,
|
|
13
|
-
wrapCol: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: !0
|
|
16
|
-
},
|
|
17
|
-
fixedSpan: Number,
|
|
18
|
-
span: {
|
|
19
|
-
type: Number,
|
|
20
|
-
default: 12
|
|
21
|
-
},
|
|
22
|
-
block: Boolean,
|
|
23
|
-
unwrap: Boolean,
|
|
24
|
-
half: Boolean,
|
|
25
|
-
formItemClass: String,
|
|
26
|
-
hideLabel: Boolean,
|
|
27
|
-
tips: { type: String },
|
|
28
|
-
tipsAfterLabel: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
},
|
|
32
|
-
labelColspan: [Number, String],
|
|
33
|
-
inputColspan: [Number, String],
|
|
34
|
-
labelRowspan: [Number, String],
|
|
35
|
-
inputRowspan: [Number, String]
|
|
36
|
-
}, h = (e) => {
|
|
37
|
-
let t = s("formHolder", null);
|
|
38
|
-
return i(() => e.required === !0 ? !0 : (t == null ? void 0 : t.requiredFieldsMap[e.prop]) === !0);
|
|
39
|
-
}, g = (e, { rules: t, messagePrefix: n } = {}) => {
|
|
40
|
-
let r = h(e);
|
|
41
|
-
return i(() => {
|
|
42
|
-
let i = {}, a = u(t);
|
|
43
|
-
return Object.keys(m).forEach((t) => {
|
|
44
|
-
t === "rules" ? e[t] && a ? i[t] = [...e[t], ...a] : e[t] ? i[t] = e[t] : a && (i[t] = a) : t === "messagePrefix" ? i[t] = e.messagePrefix || n : i[t] = e[t];
|
|
45
|
-
}), i.required = r.value, i;
|
|
46
|
-
});
|
|
47
|
-
}, _ = {
|
|
48
|
-
name: "FormItemX",
|
|
49
|
-
inheritAttrs: !1,
|
|
50
|
-
props: { ...m },
|
|
51
|
-
setup(o, { attrs: u, slots: f, expose: m }) {
|
|
52
|
-
let g = s(p, null), _ = s(e, null), v = s("formHolder", null), y = u.embed ? i(() => u.disabled) : b(o), x = i(() => (_ == null ? void 0 : _.reactive) === !0 && _.block === !1 && o.fixedSpan === void 0 && !o.half), S = h(o), C = d("formItem"), w = i(() => (_ == null ? void 0 : _.wrapCol) === !1 ? !1 : !!g && o.wrapCol), T = i(() => v != null && v.tableForm ? "" : _ != null && _.block ? "100%" : o.half && w.value ? `calc(50% - ${g.gutter.value / 2}px)` : ""), E = i(() => (_ == null ? void 0 : _.block) === !0 || o.block || o.half ? 24 : o.span), D = i(() => {
|
|
53
|
-
if (y.value) return [];
|
|
54
|
-
if (S.value) {
|
|
55
|
-
let e = {
|
|
56
|
-
required: !0,
|
|
57
|
-
message: o.message || `${o.messagePrefix || "请输入"}${o.label}`
|
|
58
|
-
};
|
|
59
|
-
return o.rules ? [...o.rules, e] : [e];
|
|
60
|
-
}
|
|
61
|
-
return o.rules;
|
|
62
|
-
});
|
|
63
|
-
return m({
|
|
64
|
-
clearValidate: async () => {
|
|
65
|
-
var e;
|
|
66
|
-
await l(), (e = C.value) == null || e.clearValidate();
|
|
67
|
-
},
|
|
68
|
-
validate: async () => {
|
|
69
|
-
var e;
|
|
70
|
-
await l(), (e = C.value) == null || e.validate();
|
|
71
|
-
}
|
|
72
|
-
}), () => {
|
|
73
|
-
var e;
|
|
74
|
-
let i = f.tips || o.tips, s = i ? a(r, {
|
|
75
|
-
effect: "light",
|
|
76
|
-
content: o.tips,
|
|
77
|
-
offset: 4
|
|
78
|
-
}, {
|
|
79
|
-
default: () => a("i", { class: "el-icon-info form-item-input-info" }, null),
|
|
80
|
-
content: f.tips ? f.tips : null
|
|
81
|
-
}) : null, l = a(n, {
|
|
82
|
-
ref: "formItem",
|
|
83
|
-
style: { width: T.value },
|
|
84
|
-
label: o.label,
|
|
85
|
-
class: [
|
|
86
|
-
"form-item",
|
|
87
|
-
o.formItemClass,
|
|
88
|
-
{
|
|
89
|
-
"form-item-hide-label": o.hideLabel,
|
|
90
|
-
"with-tips": !o.tipsAfterLabel && i,
|
|
91
|
-
required: y.value === !1 && S.value
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
prop: o.prop,
|
|
95
|
-
rules: D.value
|
|
96
|
-
}, {
|
|
97
|
-
...f,
|
|
98
|
-
default: () => {
|
|
99
|
-
var e;
|
|
100
|
-
return [(e = f.default) == null ? void 0 : e.call(f, {
|
|
101
|
-
disabled: y.value,
|
|
102
|
-
required: S.value
|
|
103
|
-
}), i && !o.tipsAfterLabel ? s : null];
|
|
104
|
-
},
|
|
105
|
-
label: () => [f.label ? f.label() : o.label, o.tipsAfterLabel ? s : null]
|
|
106
|
-
}), u = [l, (e = f.below) == null ? void 0 : e.call(f)];
|
|
107
|
-
return o.unwrap ? u : w.value ? a(t, c({ span: E.value }, x.value ? {
|
|
108
|
-
xs: 24,
|
|
109
|
-
sm: 12,
|
|
110
|
-
md: 12,
|
|
111
|
-
lg: 8,
|
|
112
|
-
xl: 6
|
|
113
|
-
} : {}), { default: () => u }) : l;
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
}, v = "update:modelValue", y = {
|
|
117
|
-
...m,
|
|
118
|
-
wrapFormItem: {
|
|
119
|
-
type: Boolean,
|
|
120
|
-
default: !0
|
|
121
|
-
},
|
|
122
|
-
disabled: {
|
|
123
|
-
type: Boolean,
|
|
124
|
-
default: void 0
|
|
125
|
-
},
|
|
126
|
-
col: Boolean,
|
|
127
|
-
readonly: Boolean
|
|
128
|
-
}, b = (e) => {
|
|
129
|
-
let t = s("formHolder", null), n = s("formItemGroup", null);
|
|
130
|
-
return i(() => {
|
|
131
|
-
if (e.disabled !== void 0) return e.disabled;
|
|
132
|
-
if (t) {
|
|
133
|
-
if (t.requiredFieldsMap[e.prop] === !0 || t.enabledFieldsMap[e.prop] === !0) return !1;
|
|
134
|
-
if (t.disabledFieldsMap[e.prop] === !0) return !0;
|
|
135
|
-
}
|
|
136
|
-
return (n == null ? void 0 : n.enabled) === !0 ? !1 : (n == null ? void 0 : n.disabled) === !0 ? !0 : (t == null ? void 0 : t.disabled) === !0;
|
|
137
|
-
});
|
|
138
|
-
}, x = { [v]: null }, S = (e, t) => e(v, t), C = (e, { vNodes: t, formItemProps: n, slots: r, disabled: i }) => e.wrapFormItem ? o(_, {
|
|
139
|
-
...n.value,
|
|
140
|
-
embed: !0,
|
|
141
|
-
disabled: i == null ? void 0 : i.value
|
|
142
|
-
}, {
|
|
143
|
-
default: () => t,
|
|
144
|
-
label: r.label,
|
|
145
|
-
error: r.error,
|
|
146
|
-
tips: r.tips,
|
|
147
|
-
below: r.below
|
|
148
|
-
}) : t, w = (e, { emit: t, slots: n, rules: r, messagePrefix: a = "请输入" }) => {
|
|
149
|
-
let s = g(e, {
|
|
150
|
-
rules: r,
|
|
151
|
-
messagePrefix: a
|
|
152
|
-
}), c = b(e), l = (e) => S(t, e), u = (t) => e.col ? o(f, { span: e.block ? 24 : e.span }, { default: () => t }) : t;
|
|
153
|
-
return {
|
|
154
|
-
emitInput: l,
|
|
155
|
-
render: ({ vNodes: t }) => C(e, {
|
|
156
|
-
vNodes: u(t),
|
|
157
|
-
formItemProps: s,
|
|
158
|
-
slots: n,
|
|
159
|
-
disabled: c
|
|
160
|
-
}),
|
|
161
|
-
placeholder: i(() => c.value ? "" : `${a}${e.label}`),
|
|
162
|
-
disabled: c,
|
|
163
|
-
formItemProps: s
|
|
164
|
-
};
|
|
165
|
-
}, T = (e) => e.icon ? o("i", { class: e.icon }) : null;
|
|
166
|
-
//#endregion
|
|
167
|
-
export { S as a, g as c, C as i, x as n, w as o, y as r, _ as s, T as t };
|
package/chunks/BmQGmui_.mjs
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { ElCheckbox as r, ElCheckboxGroup as i } from "element-plus/es";
|
|
3
|
-
import { computed as a, createVNode as o, isVNode as s } from "vue";
|
|
4
|
-
//#region src/components/form/FormCheckBoxGroup.vue?vue&type=script&lang.jsx
|
|
5
|
-
function c(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormCheckBoxGroup.vue
|
|
10
|
-
var l = {
|
|
11
|
-
name: "FormCheckBoxGroup",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...n,
|
|
15
|
-
modelValue: [Array, String],
|
|
16
|
-
options: Array,
|
|
17
|
-
stringMode: Boolean,
|
|
18
|
-
delimiter: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: ","
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
emits: { ...e },
|
|
24
|
-
setup(e, { emit: n, slots: s }) {
|
|
25
|
-
let { emitInput: l, render: u, placeholder: d, disabled: f } = t(e, {
|
|
26
|
-
emit: n,
|
|
27
|
-
slots: s,
|
|
28
|
-
messagePrefix: "请选择"
|
|
29
|
-
}), p = (t) => l(e.stringMode ? t.join(e.delimiter) : t), m = a(() => {
|
|
30
|
-
if (e.stringMode) {
|
|
31
|
-
var t;
|
|
32
|
-
return Array.isArray(e.modelValue) ? e.modelValue.filter((e) => e) : ((t = e.modelValue) == null ? void 0 : t.split(e.delimiter).filter((e) => e)) ?? [];
|
|
33
|
-
}
|
|
34
|
-
return e.modelValue || [];
|
|
35
|
-
});
|
|
36
|
-
return () => u({ vNodes: o(i, {
|
|
37
|
-
modelValue: m.value,
|
|
38
|
-
disabled: f.value,
|
|
39
|
-
"onUpdate:modelValue": p,
|
|
40
|
-
placeholder: d.value
|
|
41
|
-
}, {
|
|
42
|
-
...s,
|
|
43
|
-
default: s.default || (() => {
|
|
44
|
-
var t;
|
|
45
|
-
return (t = e.options) == null ? void 0 : t.map(({ value: e, label: t }) => o(r, {
|
|
46
|
-
key: e,
|
|
47
|
-
value: e
|
|
48
|
-
}, c(t) ? t : { default: () => [t] }));
|
|
49
|
-
})
|
|
50
|
-
}) });
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
export { l as t };
|
package/chunks/BnycM8aG.mjs
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { ElDatePicker as r } from "element-plus/es";
|
|
3
|
-
import { computed as i, createVNode as a } from "vue";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/form/FormDatePicker.vue
|
|
6
|
-
var o = {
|
|
7
|
-
name: "FormDatePicker",
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
props: {
|
|
10
|
-
...n,
|
|
11
|
-
modelValue: [
|
|
12
|
-
String,
|
|
13
|
-
Number,
|
|
14
|
-
Date,
|
|
15
|
-
Array
|
|
16
|
-
],
|
|
17
|
-
type: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "date"
|
|
20
|
-
},
|
|
21
|
-
unlinkPanels: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !0
|
|
24
|
-
},
|
|
25
|
-
split: Boolean,
|
|
26
|
-
startDate: String,
|
|
27
|
-
endDate: String
|
|
28
|
-
},
|
|
29
|
-
emits: {
|
|
30
|
-
...e,
|
|
31
|
-
"update:startDate": null,
|
|
32
|
-
"update:endDate": null
|
|
33
|
-
},
|
|
34
|
-
setup(e, { emit: n, slots: o }) {
|
|
35
|
-
let { emitInput: s, render: c, placeholder: l, disabled: u } = t(e, {
|
|
36
|
-
emit: n,
|
|
37
|
-
slots: o,
|
|
38
|
-
messagePrefix: "请选择"
|
|
39
|
-
}), d = i(() => {
|
|
40
|
-
switch (e.type) {
|
|
41
|
-
case "date":
|
|
42
|
-
case "daterange": return "YYYY-MM-DD";
|
|
43
|
-
case "datetime":
|
|
44
|
-
case "datetimerange": return "YYYY-MM-DD HH:mm:ss";
|
|
45
|
-
default: return "";
|
|
46
|
-
}
|
|
47
|
-
}), f = i(() => e.split && e.type.indexOf("range") > -1), p = (e, t) => {
|
|
48
|
-
n("update:startDate", e), n("update:endDate", t);
|
|
49
|
-
}, m = (e) => {
|
|
50
|
-
f.value ? e ? p(e[0], e[1]) : p(null, null) : s(e);
|
|
51
|
-
}, h = i(() => f.value ? [e.startDate, e.endDate] : e.modelValue);
|
|
52
|
-
return () => c({ vNodes: a(r, {
|
|
53
|
-
style: "width: 100%",
|
|
54
|
-
clearable: !0,
|
|
55
|
-
modelValue: h.value,
|
|
56
|
-
type: e.type,
|
|
57
|
-
unlinkPanels: e.unlinkPanels,
|
|
58
|
-
disabled: u.value,
|
|
59
|
-
"onUpdate:modelValue": m,
|
|
60
|
-
format: d.value,
|
|
61
|
-
"value-format": d.value,
|
|
62
|
-
placeholder: l.value
|
|
63
|
-
}, {
|
|
64
|
-
default: o.default,
|
|
65
|
-
"range-separator": o["range-separator"],
|
|
66
|
-
"pre-month": o["pre-month"],
|
|
67
|
-
"next-month": o["next-month"],
|
|
68
|
-
"pre-year": o["pre-year"],
|
|
69
|
-
"next-year": o["next-year"]
|
|
70
|
-
}) });
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
//#endregion
|
|
74
|
-
export { o as t };
|
package/chunks/BooKKkk0.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { ElSwitch as r } from "element-plus/es";
|
|
3
|
-
import { createVNode as i, isVNode as a } from "vue";
|
|
4
|
-
//#region src/components/form/FormSwitch.vue?vue&type=script&lang.jsx
|
|
5
|
-
function o(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormSwitch.vue
|
|
10
|
-
var s = {
|
|
11
|
-
name: "FormSwitch",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...n,
|
|
15
|
-
modelValue: [
|
|
16
|
-
Boolean,
|
|
17
|
-
String,
|
|
18
|
-
Number
|
|
19
|
-
]
|
|
20
|
-
},
|
|
21
|
-
emits: { ...e },
|
|
22
|
-
setup(e, { emit: n, slots: a }) {
|
|
23
|
-
let { emitInput: s, render: c, disabled: l } = t(e, {
|
|
24
|
-
emit: n,
|
|
25
|
-
slots: a
|
|
26
|
-
});
|
|
27
|
-
return () => c({ vNodes: i(r, {
|
|
28
|
-
modelValue: e.modelValue,
|
|
29
|
-
clearable: !0,
|
|
30
|
-
disabled: l.value,
|
|
31
|
-
"onUpdate:modelValue": s
|
|
32
|
-
}, o(a) ? a : { default: () => [a] }) });
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { s as t };
|
package/chunks/Bpox2cVQ.mjs
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import e from "../form-cell/index.mjs";
|
|
2
|
-
import { ElTooltip as t } from "element-plus/es";
|
|
3
|
-
import { Comment as n, Fragment as r, Text as i, createVNode as a, inject as o, isVNode as s } from "vue";
|
|
4
|
-
import { camelize as c, isDef as l, isString as u } from "@web-utils/core";
|
|
5
|
-
//#region src/components/red-form/FormRow.vue?vue&type=script&lang.jsx
|
|
6
|
-
function d(e) {
|
|
7
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
8
|
-
}
|
|
9
|
-
var f = (e) => {
|
|
10
|
-
let t = Object.keys({});
|
|
11
|
-
for (let n in e) t[c(n)] = e[n];
|
|
12
|
-
return t;
|
|
13
|
-
}, p = (e, { columnSize: o }) => {
|
|
14
|
-
if (!e || !e.length) return null;
|
|
15
|
-
e = e.filter((e) => e.type !== n);
|
|
16
|
-
let s = [], c = e.length === 1;
|
|
17
|
-
for (let n = 0; n < e.length; n++) {
|
|
18
|
-
let v = e[n], { name: y } = v.type;
|
|
19
|
-
if (v.type === i) s.push({
|
|
20
|
-
tag: y,
|
|
21
|
-
type: "text",
|
|
22
|
-
content: v,
|
|
23
|
-
colspan: c ? o : 0
|
|
24
|
-
});
|
|
25
|
-
else if (v.type === r) s.push(...p(v.children, { columnSize: o }));
|
|
26
|
-
else if (u(v.type) && v.type === "td") s.push({
|
|
27
|
-
tag: v.type,
|
|
28
|
-
type: "td",
|
|
29
|
-
content: v
|
|
30
|
-
});
|
|
31
|
-
else if (y === "FormCell") s.push({
|
|
32
|
-
tag: y,
|
|
33
|
-
type: "FormCell",
|
|
34
|
-
content: v
|
|
35
|
-
});
|
|
36
|
-
else if (typeof v.type == "object") {
|
|
37
|
-
var d, m;
|
|
38
|
-
let { label: e, hideLabel: n, labelColspan: r, inputColspan: i, labelRowspan: u, inputRowspan: p, tipsAfterLabel: b, tips: x } = f(v.props);
|
|
39
|
-
if (!l(n)) {
|
|
40
|
-
var h, g, _;
|
|
41
|
-
let n = (h = v.children) == null ? void 0 : h.tips, i = n || x ? a(t, {
|
|
42
|
-
effect: "light",
|
|
43
|
-
content: x,
|
|
44
|
-
offset: 4
|
|
45
|
-
}, {
|
|
46
|
-
default: () => a("i", { class: "el-icon-info form-item-input-info" }, null),
|
|
47
|
-
content: n || null
|
|
48
|
-
}) : null;
|
|
49
|
-
s.push({
|
|
50
|
-
tag: y,
|
|
51
|
-
type: "label",
|
|
52
|
-
colspan: r,
|
|
53
|
-
rowspan: u,
|
|
54
|
-
content: [((g = v.children) == null || (_ = g.label) == null ? void 0 : _.call(g)) || e, b === "" ? i : null]
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
let S;
|
|
58
|
-
S = c && l(n) ? o : l(i) ? i : c ? o - 1 : 0, s.push({
|
|
59
|
-
tag: y,
|
|
60
|
-
type: "input",
|
|
61
|
-
colspan: S,
|
|
62
|
-
rowspan: p,
|
|
63
|
-
content: [v, (d = v.children) == null || (m = d.below) == null ? void 0 : m.call(d)]
|
|
64
|
-
});
|
|
65
|
-
} else console.error("未知节点");
|
|
66
|
-
}
|
|
67
|
-
return s;
|
|
68
|
-
}, m = {
|
|
69
|
-
name: "FormRow",
|
|
70
|
-
props: {
|
|
71
|
-
isLabel: Boolean,
|
|
72
|
-
alignCenter: Boolean
|
|
73
|
-
},
|
|
74
|
-
setup(t, { slots: n }) {
|
|
75
|
-
let r = o("setColumnSize", null), i = o("columnSize", null);
|
|
76
|
-
return () => {
|
|
77
|
-
var o;
|
|
78
|
-
let s = (o = n.default) == null ? void 0 : o.call(n), c = [];
|
|
79
|
-
return c.push(...p(s, { columnSize: (i == null ? void 0 : i.value) ?? 0 })), ((i == null ? void 0 : i.value) ?? 0) < c.length && (r == null || r(c.length)), a("tr", null, [c.map(({ tag: n, type: r, colspan: i, rowspan: o, content: s }) => n === "td" || r === "FormCell" ? s : r === "text" ? a(e, {
|
|
80
|
-
isLabel: t.isLabel,
|
|
81
|
-
alignCenter: t.alignCenter,
|
|
82
|
-
colspan: i
|
|
83
|
-
}, d(s) ? s : { default: () => [s] }) : a("td", {
|
|
84
|
-
class: r,
|
|
85
|
-
colspan: i,
|
|
86
|
-
rowspan: o
|
|
87
|
-
}, [s]))]);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
//#endregion
|
|
92
|
-
export { m as t };
|
package/chunks/Bs_IYr3X.mjs
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { computed as i, createVNode as a } from "vue";
|
|
3
|
-
import { ElInput as o } from "element-plus";
|
|
4
|
-
import { validatePhoneNum as s } from "@web-utils/core";
|
|
5
|
-
//#region src/util/form-validate.js
|
|
6
|
-
var c = (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();
|
|
7
|
-
function l(e, t, n) {
|
|
8
|
-
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();
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/components/form/FormInput.vue?vue&type=script&lang.jsx
|
|
12
|
-
console.log(o.props.inputStyle.type);
|
|
13
|
-
for (let e = 0; e < o.props.inputStyle.type.length; e++) console.log(o.props.inputStyle.type[e].name);
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region src/components/form/FormInput.vue
|
|
16
|
-
var u = {
|
|
17
|
-
name: "FormInput",
|
|
18
|
-
inheritAttrs: !1,
|
|
19
|
-
props: {
|
|
20
|
-
...n,
|
|
21
|
-
modelValue: String,
|
|
22
|
-
type: String,
|
|
23
|
-
rows: Number,
|
|
24
|
-
prepend: String,
|
|
25
|
-
append: String,
|
|
26
|
-
prefix: String,
|
|
27
|
-
suffix: String,
|
|
28
|
-
readonlyGrey: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !0
|
|
31
|
-
},
|
|
32
|
-
maxLength: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: "255"
|
|
35
|
-
},
|
|
36
|
-
picker: Boolean,
|
|
37
|
-
suffixIcon: String,
|
|
38
|
-
prefixIcon: String
|
|
39
|
-
},
|
|
40
|
-
emits: {
|
|
41
|
-
...e,
|
|
42
|
-
click: null,
|
|
43
|
-
clear: null
|
|
44
|
-
},
|
|
45
|
-
setup(e, { emit: n, slots: u }) {
|
|
46
|
-
let d = `请输入正确的${e.label}!`, { emitInput: f, render: p, placeholder: m, disabled: h } = t(e, {
|
|
47
|
-
emit: n,
|
|
48
|
-
slots: u,
|
|
49
|
-
rules: i(() => {
|
|
50
|
-
if (!e.type || e.type === "textarea") return null;
|
|
51
|
-
let t = {
|
|
52
|
-
message: d,
|
|
53
|
-
trigger: "blur"
|
|
54
|
-
};
|
|
55
|
-
if (e.type === "email") t.validator = c;
|
|
56
|
-
else if (e.type === "idcard") t.validator = l;
|
|
57
|
-
else if (e.type === "phone") t.validator = s;
|
|
58
|
-
else return null;
|
|
59
|
-
return [t];
|
|
60
|
-
})
|
|
61
|
-
}), g = (e) => {
|
|
62
|
-
n("click", e);
|
|
63
|
-
}, _ = () => {
|
|
64
|
-
n("clear");
|
|
65
|
-
};
|
|
66
|
-
return () => p({ vNodes: a(o, {
|
|
67
|
-
class: ["form-input", {
|
|
68
|
-
"is-readonly": e.readonlyGrey && e.readonly && !e.picker,
|
|
69
|
-
"el-input-cursor-pointer": e.picker && !h.value
|
|
70
|
-
}],
|
|
71
|
-
modelValue: e.modelValue,
|
|
72
|
-
type: e.type,
|
|
73
|
-
clearable: !0,
|
|
74
|
-
rows: e.rows,
|
|
75
|
-
readonly: e.readonly || e.picker,
|
|
76
|
-
maxLength: e.maxLength,
|
|
77
|
-
onClick: g,
|
|
78
|
-
onClear: _,
|
|
79
|
-
"prefix-icon": r({ icon: e.picker ? "el-icon-search" : e.prefixIcon }),
|
|
80
|
-
"suffix-icon": r({ icon: e.suffixIcon }),
|
|
81
|
-
disabled: h.value,
|
|
82
|
-
"onUpdate:modelValue": f,
|
|
83
|
-
placeholder: m.value
|
|
84
|
-
}, {
|
|
85
|
-
prefix: u.prefix || e.prefix ? () => e.prefix : null,
|
|
86
|
-
suffix: u.suffix || e.suffix ? () => e.suffix : null,
|
|
87
|
-
"password-icon": u["password-icon"],
|
|
88
|
-
prepend: u.prepend || e.prepend ? () => e.prepend : null,
|
|
89
|
-
append: u.append || e.append ? () => e.append : null
|
|
90
|
-
}) });
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
//#endregion
|
|
94
|
-
export { u as t };
|
package/chunks/BuZDN2DV.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { t as r } from "./Bs_IYr3X.mjs";
|
|
3
|
-
import { createVNode as i, isVNode as a, mergeProps as o } from "vue";
|
|
4
|
-
//#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
|
|
5
|
-
function s(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormInputEmail.vue
|
|
10
|
-
var c = {
|
|
11
|
-
name: "FormInputEmail",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...n,
|
|
15
|
-
modelValue: String
|
|
16
|
-
},
|
|
17
|
-
emits: { ...t },
|
|
18
|
-
setup(t, { emit: n, slots: a }) {
|
|
19
|
-
let c = (t) => e(n, t);
|
|
20
|
-
return () => i(r, o(t, {
|
|
21
|
-
modelValue: t.modelValue,
|
|
22
|
-
type: "email",
|
|
23
|
-
"onUpdate:modelValue": c
|
|
24
|
-
}), s(a) ? a : { default: () => [a] });
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { c as t };
|
package/chunks/C4JpDEWP.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { ElCheckbox as r } from "element-plus/es";
|
|
3
|
-
import { createVNode as i } from "vue";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/form/FormCheckbox.vue
|
|
6
|
-
var a = {
|
|
7
|
-
name: "FormCheckbox",
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
props: {
|
|
10
|
-
...n,
|
|
11
|
-
modelValue: [
|
|
12
|
-
String,
|
|
13
|
-
Number,
|
|
14
|
-
Boolean
|
|
15
|
-
],
|
|
16
|
-
value: String,
|
|
17
|
-
label: String
|
|
18
|
-
},
|
|
19
|
-
emits: { ...e },
|
|
20
|
-
setup(e, { emit: n, slots: a }) {
|
|
21
|
-
let { emitInput: o, render: s, disabled: c } = t(e, {
|
|
22
|
-
emit: n,
|
|
23
|
-
slots: a
|
|
24
|
-
});
|
|
25
|
-
return () => s({ vNodes: i(r, {
|
|
26
|
-
modelValue: e.modelValue,
|
|
27
|
-
value: e.value,
|
|
28
|
-
label: e.label,
|
|
29
|
-
disabled: c.value,
|
|
30
|
-
"onUpdate:modelValue": o
|
|
31
|
-
}, { default: a.default }) });
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { a as t };
|
package/chunks/DAjuA2O6.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { t as r } from "./Bs_IYr3X.mjs";
|
|
3
|
-
import { createVNode as i, isVNode as a, mergeProps as o } from "vue";
|
|
4
|
-
//#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
|
|
5
|
-
function s(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormInputIdCard.vue
|
|
10
|
-
var c = {
|
|
11
|
-
name: "FormInputIdCard",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...n,
|
|
15
|
-
modelValue: String
|
|
16
|
-
},
|
|
17
|
-
emits: { ...t },
|
|
18
|
-
setup(t, { emit: n, slots: a }) {
|
|
19
|
-
let c = (t) => e(n, t);
|
|
20
|
-
return () => i(r, o(t, {
|
|
21
|
-
modelValue: t.modelValue,
|
|
22
|
-
type: "idcard",
|
|
23
|
-
"onUpdate:modelValue": c
|
|
24
|
-
}), s(a) ? a : { default: () => [a] });
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { c as t };
|
package/chunks/Dywq0t6V.mjs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { ElOption as r, ElSelect as i } from "element-plus/es";
|
|
3
|
-
import { createVNode as a } from "vue";
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/form/FormSelect.vue
|
|
6
|
-
var o = {
|
|
7
|
-
name: "FormSelect",
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
props: {
|
|
10
|
-
...n,
|
|
11
|
-
modelValue: String,
|
|
12
|
-
options: [
|
|
13
|
-
String,
|
|
14
|
-
Number,
|
|
15
|
-
Boolean,
|
|
16
|
-
Object,
|
|
17
|
-
Array
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
emits: { ...e },
|
|
21
|
-
setup(e, { emit: n, slots: o }) {
|
|
22
|
-
let { emitInput: s, render: c, placeholder: l, disabled: u } = t(e, {
|
|
23
|
-
emit: n,
|
|
24
|
-
slots: o,
|
|
25
|
-
messagePrefix: "请选择"
|
|
26
|
-
});
|
|
27
|
-
return () => c({ vNodes: a(i, {
|
|
28
|
-
modelValue: e.modelValue,
|
|
29
|
-
clearable: !0,
|
|
30
|
-
disabled: u.value,
|
|
31
|
-
"onUpdate:modelValue": s,
|
|
32
|
-
placeholder: l.value
|
|
33
|
-
}, {
|
|
34
|
-
...o,
|
|
35
|
-
default: o.default || (() => {
|
|
36
|
-
var t;
|
|
37
|
-
return (t = e.options) == null ? void 0 : t.map(({ value: e, label: t }) => a(r, {
|
|
38
|
-
key: e,
|
|
39
|
-
label: t,
|
|
40
|
-
value: e
|
|
41
|
-
}, null));
|
|
42
|
-
})
|
|
43
|
-
}) });
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
//#endregion
|
|
47
|
-
export { o as t };
|
package/chunks/GlsJxLiF.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { c as e, i as t, r as n } from "./BeIZhqg_.mjs";
|
|
2
|
-
import { ElImage as r } from "element-plus/es";
|
|
3
|
-
import { createVNode as i, isVNode as a } from "vue";
|
|
4
|
-
//#region src/components/form/FormImage.vue?vue&type=script&lang.jsx
|
|
5
|
-
function o(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormImage.vue
|
|
10
|
-
var s = {
|
|
11
|
-
name: "FormImage",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...n,
|
|
15
|
-
src: String,
|
|
16
|
-
fit: String,
|
|
17
|
-
hideOnClickModal: Boolean
|
|
18
|
-
},
|
|
19
|
-
setup(n, { slots: a, attrs: s }) {
|
|
20
|
-
let c = e(n);
|
|
21
|
-
return () => t(n, {
|
|
22
|
-
vNodes: i(r, {
|
|
23
|
-
src: n.src,
|
|
24
|
-
fit: n.fit,
|
|
25
|
-
"preview-src-list": [n.src],
|
|
26
|
-
"hide-on-click-modal": n.hideOnClickModal,
|
|
27
|
-
style: s.style
|
|
28
|
-
}, o(a) ? a : { default: () => [a] }),
|
|
29
|
-
formItemProps: c,
|
|
30
|
-
slots: a
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { s as t };
|