@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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { n as e, o as t } from "./DGkSZT8r.mjs";
|
|
2
|
+
import { allProps as n, predicate as r } from "../props/input-number.mjs";
|
|
3
|
+
import { ElInputNumber as i } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import { computed as a, createVNode as o, mergeProps as s } from "vue";
|
|
6
|
+
import { isString as c } from "@web-utils/core";
|
|
7
|
+
import "element-plus/es/components/input-number/style/css";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/form/FormInputNumber.vue
|
|
10
|
+
var l = {
|
|
11
|
+
name: "FormInputNumber",
|
|
12
|
+
inheritAttrs: !1,
|
|
13
|
+
props: { ...n },
|
|
14
|
+
emits: { ...e },
|
|
15
|
+
setup(e, { emit: n, slots: l, attrs: u }) {
|
|
16
|
+
let { emitInput: d, render: f, placeholder: p, disabled: m, listeners: h, inputProps: g } = t(e, {
|
|
17
|
+
emit: n,
|
|
18
|
+
slots: l,
|
|
19
|
+
attrs: u,
|
|
20
|
+
predicate: r
|
|
21
|
+
}), _ = a(() => c(e.modelValue) ? Number(e.modelValue) : e.modelValue);
|
|
22
|
+
return () => f({ vNodes: o(i, s(h.value, g.value, {
|
|
23
|
+
style: "width: 100%",
|
|
24
|
+
modelValue: _.value,
|
|
25
|
+
disabled: m.value,
|
|
26
|
+
"onUpdate:modelValue": d,
|
|
27
|
+
placeholder: p.value
|
|
28
|
+
}), {
|
|
29
|
+
prefix: l.prefix || e.prefix ? () => e.prefix : null,
|
|
30
|
+
suffix: l.suffix || e.suffix ? () => e.suffix : e.append,
|
|
31
|
+
"decrease-icon": l["decrease-icon"],
|
|
32
|
+
"increase-icon": l["increase-icon"]
|
|
33
|
+
}) });
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { l as t };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { columnSizeContextKey as e, setColumnSizeContextKey as t } from "../constants/index.mjs";
|
|
2
|
+
import n from "../form-cell/index.mjs";
|
|
3
|
+
import { ElTooltip as r } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import { Comment as i, Fragment as a, Text as o, createVNode as s, inject as c, isVNode as l } from "vue";
|
|
6
|
+
import { camelize as u, isDef as d, isString as f } from "@web-utils/core";
|
|
7
|
+
import "element-plus/es/components/tooltip/style/css";
|
|
8
|
+
//#region src/components/red-form/FormRow.vue?vue&type=script&lang.jsx
|
|
9
|
+
function p(e) {
|
|
10
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !l(e);
|
|
11
|
+
}
|
|
12
|
+
var m = (e) => {
|
|
13
|
+
let t = Object.keys({});
|
|
14
|
+
for (let n in e) t[u(n)] = e[n];
|
|
15
|
+
return t;
|
|
16
|
+
}, h = (e, { columnSize: t }) => {
|
|
17
|
+
if (!e || !e.length) return null;
|
|
18
|
+
e = e.filter((e) => e.type !== i);
|
|
19
|
+
let n = [], c = e.length === 1;
|
|
20
|
+
for (let i = 0; i < e.length; i++) {
|
|
21
|
+
let v = e[i], { name: y } = v.type;
|
|
22
|
+
if (v.type === o) n.push({
|
|
23
|
+
tag: y,
|
|
24
|
+
type: "text",
|
|
25
|
+
content: v,
|
|
26
|
+
colspan: c ? t : 0
|
|
27
|
+
});
|
|
28
|
+
else if (v.type === a) n.push(...h(v.children, { columnSize: t }));
|
|
29
|
+
else if (f(v.type) && v.type === "td") n.push({
|
|
30
|
+
tag: v.type,
|
|
31
|
+
type: "td",
|
|
32
|
+
content: v
|
|
33
|
+
});
|
|
34
|
+
else if (y === "FormCell") n.push({
|
|
35
|
+
tag: y,
|
|
36
|
+
type: "FormCell",
|
|
37
|
+
content: v
|
|
38
|
+
});
|
|
39
|
+
else if (typeof v.type == "object") {
|
|
40
|
+
var l, u;
|
|
41
|
+
let { label: e, hideLabel: i, labelColspan: a, inputColspan: o, labelRowspan: f, inputRowspan: h, tipsAfterLabel: b, tips: x } = m(v.props);
|
|
42
|
+
if (!d(i)) {
|
|
43
|
+
var p, g, _;
|
|
44
|
+
let t = (p = v.children) == null ? void 0 : p.tips, i = t || x ? s(r, {
|
|
45
|
+
effect: "light",
|
|
46
|
+
content: x,
|
|
47
|
+
offset: 4
|
|
48
|
+
}, {
|
|
49
|
+
default: () => s("i", { class: "el-icon-info form-item-input-info" }, null),
|
|
50
|
+
content: t || null
|
|
51
|
+
}) : null;
|
|
52
|
+
n.push({
|
|
53
|
+
tag: y,
|
|
54
|
+
type: "label",
|
|
55
|
+
colspan: a,
|
|
56
|
+
rowspan: f,
|
|
57
|
+
content: [((g = v.children) == null || (_ = g.label) == null ? void 0 : _.call(g)) || e, b === "" ? i : null]
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
let S;
|
|
61
|
+
S = c && d(i) ? t : d(o) ? o : c ? t - 1 : 0, n.push({
|
|
62
|
+
tag: y,
|
|
63
|
+
type: "input",
|
|
64
|
+
colspan: S,
|
|
65
|
+
rowspan: h,
|
|
66
|
+
content: [v, (l = v.children) == null || (u = l.below) == null ? void 0 : u.call(l)]
|
|
67
|
+
});
|
|
68
|
+
} else console.error("未知节点");
|
|
69
|
+
}
|
|
70
|
+
return n;
|
|
71
|
+
}, g = {
|
|
72
|
+
name: "FormRow",
|
|
73
|
+
props: {
|
|
74
|
+
isLabel: Boolean,
|
|
75
|
+
alignCenter: Boolean
|
|
76
|
+
},
|
|
77
|
+
setup(r, { slots: i }) {
|
|
78
|
+
let a = c(t, null), o = c(e, null);
|
|
79
|
+
return () => {
|
|
80
|
+
var e;
|
|
81
|
+
let t = (e = i.default) == null ? void 0 : e.call(i), c = [];
|
|
82
|
+
return c.push(...h(t, { columnSize: (o == null ? void 0 : o.value) ?? 0 })), ((o == null ? void 0 : o.value) ?? 0) < c.length && (a == null || a(c.length)), s("tr", null, [c.map(({ tag: e, type: t, colspan: i, rowspan: a, content: o }) => e === "td" || t === "FormCell" ? o : t === "text" ? s(n, {
|
|
83
|
+
isLabel: r.isLabel,
|
|
84
|
+
alignCenter: r.alignCenter,
|
|
85
|
+
colspan: i
|
|
86
|
+
}, p(o) ? o : { default: () => [o] }) : s("td", {
|
|
87
|
+
class: t,
|
|
88
|
+
colspan: i,
|
|
89
|
+
rowspan: a
|
|
90
|
+
}, [o]))]);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
//#endregion
|
|
95
|
+
export { g as t };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { getDictLabel as e } from "../helper/dictionary.mjs";
|
|
2
|
+
import { computed as t, createVNode as n, ref as r, watchEffect as i } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/table/DictRender.vue
|
|
5
|
+
var a = {
|
|
6
|
+
name: "DictRender",
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
props: {
|
|
9
|
+
row: Object,
|
|
10
|
+
column: Object,
|
|
11
|
+
dictType: String,
|
|
12
|
+
options: Array,
|
|
13
|
+
treeDict: Boolean,
|
|
14
|
+
idAsValue: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
labelAsValue: Boolean
|
|
19
|
+
},
|
|
20
|
+
setup(a, { attrs: o }) {
|
|
21
|
+
let s = r(null), c = t(() => a.row[a.column.property]);
|
|
22
|
+
return i(async () => {
|
|
23
|
+
if (a.dictType) s.value = await e(a.dictType, c.value, !0, {
|
|
24
|
+
options: !0,
|
|
25
|
+
treeDict: a.treeDict,
|
|
26
|
+
idAsValue: a.idAsValue,
|
|
27
|
+
labelAsValue: a.labelAsValue
|
|
28
|
+
});
|
|
29
|
+
else {
|
|
30
|
+
var t;
|
|
31
|
+
s.value = ((t = a.options) == null || (t = t.find((e) => `${e.modelValue}` == `${e.value}`)) == null ? void 0 : t.label) ?? `${c.value}`;
|
|
32
|
+
}
|
|
33
|
+
}), () => n("span", o, [s.value]);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { a as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as e, t } from "./B7DACryk.mjs";
|
|
2
|
+
import { createVNode as n, isVNode as r, mergeProps as i } from "vue";
|
|
3
|
+
//#region src/components/flex/FlexColumn.vue?vue&type=script&lang.jsx
|
|
4
|
+
function a(e) {
|
|
5
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !r(e);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/components/flex/FlexColumn.vue
|
|
9
|
+
var o = {
|
|
10
|
+
name: "FlexColumn",
|
|
11
|
+
props: { ...e },
|
|
12
|
+
setup(e, { slots: r }) {
|
|
13
|
+
return () => n(t, i(e, { flexColumn: !0 }), a(r) ? r : { default: () => [r] });
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { o as t };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
mode: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
theme: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
formator: FunctionConstructor;
|
|
19
|
+
outputTranformer: FunctionConstructor;
|
|
20
|
+
}>, {}, {}, {}, {
|
|
21
|
+
focus(): void;
|
|
22
|
+
change(): void;
|
|
23
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
mode: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
theme: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
formator: FunctionConstructor;
|
|
41
|
+
outputTranformer: FunctionConstructor;
|
|
42
|
+
}>> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
modelValue: string;
|
|
47
|
+
mode: string;
|
|
48
|
+
theme: string;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
|
+
import i from "codemirror";
|
|
4
|
+
import "codemirror/lib/codemirror.css";
|
|
5
|
+
import "codemirror/theme/idea.css";
|
|
6
|
+
import "codemirror/mode/javascript/javascript";
|
|
7
|
+
import "codemirror/addon/edit/matchbrackets";
|
|
8
|
+
import "codemirror/addon/fold/foldgutter.css";
|
|
9
|
+
import "codemirror/addon/fold/foldcode";
|
|
10
|
+
import "codemirror/addon/fold/brace-fold";
|
|
11
|
+
import "codemirror/addon/fold/comment-fold";
|
|
12
|
+
import "codemirror/addon/fold/foldgutter";
|
|
13
|
+
//#region src/components/code-mirror/CodeMirrorEditor.vue
|
|
14
|
+
var a = {
|
|
15
|
+
name: "CodeMirrorEditor",
|
|
16
|
+
inject: {
|
|
17
|
+
elForm: { default: "" },
|
|
18
|
+
elFormItem: { default: "" }
|
|
19
|
+
},
|
|
20
|
+
props: {
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: ""
|
|
24
|
+
},
|
|
25
|
+
mode: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "javascript"
|
|
28
|
+
},
|
|
29
|
+
theme: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "idea"
|
|
32
|
+
},
|
|
33
|
+
disabled: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
},
|
|
37
|
+
formator: Function,
|
|
38
|
+
outputTranformer: Function
|
|
39
|
+
},
|
|
40
|
+
emits: ["update:modelValue"],
|
|
41
|
+
watch: { modelValue(e) {
|
|
42
|
+
if (this.formator) {
|
|
43
|
+
var t, n;
|
|
44
|
+
(t = this.editor) == null || t.setValue((n = this) == null ? void 0 : n.formator(e));
|
|
45
|
+
} else {
|
|
46
|
+
var r;
|
|
47
|
+
(r = this.editor) == null || r.setValue(e);
|
|
48
|
+
}
|
|
49
|
+
} },
|
|
50
|
+
mounted() {
|
|
51
|
+
if (this.editor = i.fromTextArea(this.$refs.editor, {
|
|
52
|
+
mode: this.mode,
|
|
53
|
+
theme: this.theme,
|
|
54
|
+
tabSize: 2,
|
|
55
|
+
indentUnit: 2,
|
|
56
|
+
lint: !0,
|
|
57
|
+
foldGutter: !0,
|
|
58
|
+
lineNumbers: !0,
|
|
59
|
+
smartIndent: !0,
|
|
60
|
+
readOnly: this.disabled,
|
|
61
|
+
lineWrapping: !0,
|
|
62
|
+
matchBrackets: !0
|
|
63
|
+
}), this.formator) {
|
|
64
|
+
var e;
|
|
65
|
+
this.editor.setValue((e = this) == null ? void 0 : e.formator(this.modelValue));
|
|
66
|
+
} else this.editor.setValue(this.modelValue);
|
|
67
|
+
this.editor.on("blur", this.change), this.editor.on("focus", this.focus), this.editor.setOption("extraKeys", { "Ctrl-Alt-L"(e) {
|
|
68
|
+
if (this.formator) {
|
|
69
|
+
var t;
|
|
70
|
+
e.setValue((t = this) == null ? void 0 : t.formator(e.getValue()), null, 1);
|
|
71
|
+
}
|
|
72
|
+
} });
|
|
73
|
+
},
|
|
74
|
+
beforeUnmount() {
|
|
75
|
+
var e, t;
|
|
76
|
+
(e = this.editor) == null || e.off("blur", this.change), (t = this.editor) == null || t.toTextArea();
|
|
77
|
+
},
|
|
78
|
+
methods: {
|
|
79
|
+
focus() {
|
|
80
|
+
var e, t;
|
|
81
|
+
(e = (t = this.elFormItem).clearValidate) == null || e.call(t);
|
|
82
|
+
},
|
|
83
|
+
change() {
|
|
84
|
+
if (this.outputTranformer) {
|
|
85
|
+
var e;
|
|
86
|
+
this.$emit("update:modelValue", this.outputTranformer((e = this.editor) == null ? void 0 : e.getValue()));
|
|
87
|
+
} else {
|
|
88
|
+
var t;
|
|
89
|
+
this.$emit("update:modelValue", (t = this.editor) == null ? void 0 : t.getValue());
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}, o = { class: "code-mirror-editor" }, s = { ref: "editor" };
|
|
94
|
+
function c(e, i, a, c, l, u) {
|
|
95
|
+
return r(), t("div", o, [n("textarea", s, null, 512)]);
|
|
96
|
+
}
|
|
97
|
+
var l = /* @__PURE__ */ e(a, [["render", c]]);
|
|
98
|
+
//#endregion
|
|
99
|
+
export { l as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.code-mirror-editor{line-height:normal}.code-mirror-editor .CodeMirror{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden}.code-mirror-editor .CodeMirror.CodeMirror-focused{border-color:#e34e55}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
stop: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
prevent: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
message: StringConstructor;
|
|
15
|
+
confirmable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
confirmText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
confirmType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
confirmTitle: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
loadable: BooleanConstructor;
|
|
32
|
+
loadingText: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
tag: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
icon: StringConstructor;
|
|
41
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
42
|
+
stop: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
prevent: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
text: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
message: StringConstructor;
|
|
55
|
+
confirmable: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
confirmText: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
confirmType: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
confirmTitle: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
loadable: BooleanConstructor;
|
|
72
|
+
loadingText: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
tag: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
icon: StringConstructor;
|
|
81
|
+
}>> & Readonly<{}>, {
|
|
82
|
+
text: string;
|
|
83
|
+
stop: boolean;
|
|
84
|
+
prevent: boolean;
|
|
85
|
+
loadable: boolean;
|
|
86
|
+
loadingText: string;
|
|
87
|
+
confirmable: boolean;
|
|
88
|
+
confirmType: string;
|
|
89
|
+
confirmText: string;
|
|
90
|
+
confirmTitle: string;
|
|
91
|
+
tag: string;
|
|
92
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | {
|
|
93
|
+
props: {
|
|
94
|
+
type: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
size: StringConstructor;
|
|
99
|
+
icon: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
nativeType: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
loading: BooleanConstructor;
|
|
108
|
+
disabled: BooleanConstructor;
|
|
109
|
+
plain: BooleanConstructor;
|
|
110
|
+
autofocus: BooleanConstructor;
|
|
111
|
+
round: BooleanConstructor;
|
|
112
|
+
text: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
tag: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
122
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { t as e } from "../chunks/DdACGFy3.mjs";
|
|
2
|
+
//#region src/components/button/ConfirmButton.vue
|
|
3
|
+
var t = {
|
|
4
|
+
name: "ConfirmButton",
|
|
5
|
+
mixins: [e, { props: {
|
|
6
|
+
type: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "danger"
|
|
9
|
+
},
|
|
10
|
+
size: String,
|
|
11
|
+
icon: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
15
|
+
nativeType: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "button"
|
|
18
|
+
},
|
|
19
|
+
loading: Boolean,
|
|
20
|
+
disabled: Boolean,
|
|
21
|
+
plain: Boolean,
|
|
22
|
+
autofocus: Boolean,
|
|
23
|
+
round: Boolean,
|
|
24
|
+
text: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "删除"
|
|
27
|
+
},
|
|
28
|
+
tag: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "ElButton"
|
|
31
|
+
}
|
|
32
|
+
} }]
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { t as default };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
stop: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
prevent: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
message: StringConstructor;
|
|
15
|
+
confirmable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
confirmText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
confirmType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
confirmTitle: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
loadable: BooleanConstructor;
|
|
32
|
+
loadingText: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
tag: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
icon: StringConstructor;
|
|
41
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
42
|
+
stop: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
prevent: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
text: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
message: StringConstructor;
|
|
55
|
+
confirmable: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
confirmText: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
confirmType: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
confirmTitle: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
loadable: BooleanConstructor;
|
|
72
|
+
loadingText: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
tag: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
icon: StringConstructor;
|
|
81
|
+
}>> & Readonly<{}>, {
|
|
82
|
+
text: string;
|
|
83
|
+
stop: boolean;
|
|
84
|
+
prevent: boolean;
|
|
85
|
+
loadable: boolean;
|
|
86
|
+
loadingText: string;
|
|
87
|
+
confirmable: boolean;
|
|
88
|
+
confirmType: string;
|
|
89
|
+
confirmText: string;
|
|
90
|
+
confirmTitle: string;
|
|
91
|
+
tag: string;
|
|
92
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { InjectionKey, ComputedRef } from 'vue';
|
|
2
|
+
import { AvueConfigOptions } from './avue';
|
|
3
|
+
export declare const formHolderContextKey: InjectionKey<{
|
|
4
|
+
/** 表单实例的响应式引用 */
|
|
5
|
+
tableForm: boolean;
|
|
6
|
+
/** 是否禁用整个表单的响应式引用 */
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
/** 启用的字段列表的响应式引用 */
|
|
9
|
+
enabledFields: string[];
|
|
10
|
+
/** 必填字段列表的响应式引用 */
|
|
11
|
+
requiredFields: string[];
|
|
12
|
+
/** 启用字段的映射表的响应式引用,用于快速查找字段状态 */
|
|
13
|
+
enabledFieldsMap: Record<string, boolean | undefined>;
|
|
14
|
+
/** 禁用字段的映射表的响应式引用,用于快速查找字段状态 */
|
|
15
|
+
disabledFieldsMap: Record<string, boolean | undefined>;
|
|
16
|
+
/** 必填字段的映射表的响应式引用,用于快速查找字段状态 */
|
|
17
|
+
requiredFieldsMap: Record<string, boolean | undefined>;
|
|
18
|
+
/** 禁用字段列表的响应式引用 */
|
|
19
|
+
disabledFields: string[];
|
|
20
|
+
/** 滚动到第一个必填字段的方法 */
|
|
21
|
+
scrollIntoRequiredField: () => Promise<void> | any;
|
|
22
|
+
/** 表单的模板引用,用于直接访问DOM元素或组件实例 */
|
|
23
|
+
formRef: unknown;
|
|
24
|
+
/** 验证整个表单的方法,返回Promise以便支持异步验证 */
|
|
25
|
+
validate: () => Promise<void> | any;
|
|
26
|
+
/** 验证指定字段的方法 */
|
|
27
|
+
validateField: () => any;
|
|
28
|
+
/** 重置所有表单字段到初始值的方法 */
|
|
29
|
+
resetFields: () => any;
|
|
30
|
+
/** 滚动到指定字段的方法 */
|
|
31
|
+
scrollToField: () => any;
|
|
32
|
+
/** 清除所有验证错误信息的方法 */
|
|
33
|
+
clearValidate: () => any;
|
|
34
|
+
/** 获取指定字段实例的方法 */
|
|
35
|
+
getField: () => any;
|
|
36
|
+
/** 设置表单初始值的方法 */
|
|
37
|
+
setInitialValues: () => any;
|
|
38
|
+
/** 获取所有字段实例的方法 */
|
|
39
|
+
getFields: () => any;
|
|
40
|
+
}>;
|
|
41
|
+
export declare const formItemGroupContextKey: InjectionKey<{
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
enabled: boolean;
|
|
44
|
+
isDisabled: boolean;
|
|
45
|
+
size: string;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const formItemConfigProviderContextKey: InjectionKey<{
|
|
48
|
+
reactive: boolean;
|
|
49
|
+
block: boolean;
|
|
50
|
+
wrapCol: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
export declare const formViewContextKey: InjectionKey<{
|
|
53
|
+
formCardStyle: object;
|
|
54
|
+
addGroup: (group: any) => void;
|
|
55
|
+
removeGroup: (group: any) => void;
|
|
56
|
+
tableForm: boolean;
|
|
57
|
+
printing: boolean;
|
|
58
|
+
}>;
|
|
59
|
+
export declare const formEntityContextKey: unique symbol;
|
|
60
|
+
export declare const formItemConfigContextKey: unique symbol;
|
|
61
|
+
export declare const flowContextKey: InjectionKey<{
|
|
62
|
+
formComments: object[];
|
|
63
|
+
}>;
|
|
64
|
+
export declare const toolbarContextKey: InjectionKey<{
|
|
65
|
+
footer: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
export declare const tableViewContextKey: unique symbol;
|
|
68
|
+
export declare const pageableTableContextKey: InjectionKey<{
|
|
69
|
+
records: ComputedRef<object[]>;
|
|
70
|
+
}>;
|
|
71
|
+
export declare const columnSizeContextKey: unique symbol;
|
|
72
|
+
export declare const columnsContextKey: unique symbol;
|
|
73
|
+
export declare const setColumnSizeContextKey: unique symbol;
|
|
74
|
+
export declare const cellClickHandlerContextKey: unique symbol;
|
|
75
|
+
export declare const avueConfigContextKey: InjectionKey<AvueConfigOptions>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/constants/index.ts
|
|
2
|
+
var e = Symbol("formHolder"), t = Symbol("formItemGroup"), n = Symbol("formItemConfigProvider"), r = Symbol("formView"), i = Symbol("formEntity"), a = Symbol("formItemConfig"), o = Symbol("flowContext"), s = Symbol("toolbar"), c = Symbol("tableView"), l = Symbol("pageableTable"), u = Symbol("columnSize"), d = Symbol("columns"), f = Symbol("setColumnSize"), p = Symbol("cellClickHandler"), m = Symbol("avueConfig");
|
|
3
|
+
//#endregion
|
|
4
|
+
export { m as avueConfigContextKey, p as cellClickHandlerContextKey, u as columnSizeContextKey, d as columnsContextKey, o as flowContextKey, i as formEntityContextKey, e as formHolderContextKey, a as formItemConfigContextKey, n as formItemConfigProviderContextKey, t as formItemGroupContextKey, r as formViewContextKey, l as pageableTableContextKey, f as setColumnSizeContextKey, c as tableViewContextKey, s as toolbarContextKey };
|