@web-utils/form-ui 1.0.0-beta6 → 1.0.0-beta60
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.js +2 -0
- package/address-input/style.css +1 -0
- package/affix/index.d.ts +32 -0
- package/affix/index.js +49 -0
- package/affix/style.css +1 -0
- package/api/index.d.ts +66 -0
- package/api/index.js +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.js +49 -0
- package/base.css +1 -1
- package/capsule-tab/index.d.ts +22 -0
- package/capsule-tab/index.js +27 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.d.ts +41 -0
- package/card/index.js +89 -0
- package/card/style.css +1 -0
- package/chunks/-DBJHzo8.js +195 -0
- package/chunks/2LWvhQd0.js +5 -0
- package/chunks/2rqr8Tbh.js +266 -0
- package/chunks/6yr_i3FT2.js +439 -0
- package/chunks/8_hjhnjH2.js +225 -0
- package/chunks/B-Uo-WTY2.js +5289 -0
- package/chunks/B-VO-y0h.js +69 -0
- package/chunks/B1EPd8qV.js +20 -0
- package/chunks/B2D06vEG.js +379 -0
- package/chunks/B7FF1FxW2.js +1800 -0
- package/chunks/B7IZdKDn.js +275 -0
- package/chunks/BCLWjhEJ.js +18 -0
- package/chunks/BGCX5eZn.js +590 -0
- package/chunks/BIEgauMd.js +1275 -0
- package/chunks/BJQI5s6-.js +449 -0
- package/chunks/BLiwTT_i2.js +4 -0
- package/chunks/BMuH4fKH.js +208 -0
- package/chunks/BPT6FWFK2.js +621 -0
- package/chunks/BTBp2urE.js +4 -0
- package/chunks/BVAen7xV2.js +233 -0
- package/chunks/BVQMbnV7.js +54 -0
- package/chunks/BWTWKgRC2.js +108 -0
- package/chunks/BamrxTuc2.js +514 -0
- package/chunks/BbrkKcOy.js +214 -0
- package/chunks/BdEgzMLy.js +34 -0
- package/chunks/Be3-Nwsb.js +68 -0
- package/chunks/Beh1v279.js +132 -0
- package/chunks/BgzF6a9b.js +577 -0
- package/chunks/BjACtWY92.js +26 -0
- package/chunks/BjUVecZ_.js +1094 -0
- package/chunks/BjwA4s46.js +17 -0
- package/chunks/Bkt5jwQ4.js +479 -0
- package/chunks/Bmzc6Sbs2.js +60 -0
- package/chunks/BoMy4B-G.js +230 -0
- package/chunks/BoOLX_Ey2.js +1038 -0
- package/chunks/Boq1bhQA.js +17 -0
- package/chunks/BpYC6Tu9.js +222 -0
- package/chunks/BqmuTTT4.js +63 -0
- package/chunks/BrgApSXu2.js +6 -0
- package/chunks/Bs7_SRve.js +57 -0
- package/chunks/BsfOPm1B2.js +106 -0
- package/chunks/BtPj4Jsp2.js +42 -0
- package/chunks/BtonI3XP.js +461 -0
- package/chunks/Bu-59cNv2.js +41 -0
- package/chunks/BvtVUXOb2.js +273 -0
- package/chunks/BwqV8Rv9.js +609 -0
- package/chunks/BxpuH2XL2.js +346 -0
- package/chunks/BykQpC2D.js +42 -0
- package/chunks/C-P8DAWg.js +26 -0
- package/chunks/C-i5OhEv.js +12 -0
- package/chunks/C0IscOmB.js +15 -0
- package/chunks/C5lEU74h2.js +46 -0
- package/chunks/C6-wRuOv.js +5 -0
- package/chunks/CDEhu4Hw2.js +58 -0
- package/chunks/CIoHpVna.js +25 -0
- package/chunks/CKF4NcjP2.js +161 -0
- package/chunks/COm5LruT.js +641 -0
- package/chunks/CP45VB0l2.js +4 -0
- package/chunks/CPlMW0nU.js +41 -0
- package/chunks/CQNKF-Y5.js +279 -0
- package/chunks/CZ8fWKCR.js +196 -0
- package/chunks/CZgfv08Q2.js +88 -0
- package/chunks/C_WXMlg42.js +1354 -0
- package/chunks/ChC6aRuE2.js +26 -0
- package/chunks/CkkEsDyG.js +17 -0
- package/chunks/Cll5nIzw.js +465 -0
- package/chunks/CmQBhb4F.js +14 -0
- package/chunks/CuVxnUGN.js +13 -0
- package/chunks/CxYWt6f52.js +8 -0
- package/chunks/CzjXqsNz2.js +1093 -0
- package/chunks/D1bdDHti.js +3091 -0
- package/chunks/D4vS0dLK2.js +110 -0
- package/chunks/D63r1Mj-2.js +27 -0
- package/chunks/D73tXuJP.js +98 -0
- package/chunks/DANCDark2.js +299 -0
- package/chunks/DCHGC-wv.js +644 -0
- package/chunks/DDpTDpl_.js +64 -0
- package/chunks/DEBzRzs62.js +2430 -0
- package/chunks/DF3tDDui2.js +24 -0
- package/chunks/DGDjsgmi2.js +67 -0
- package/chunks/DGDoWF7A2.js +243 -0
- package/chunks/DGOYYEkS2.js +33 -0
- package/chunks/DGSETzHz2.js +36 -0
- package/chunks/DIu4j2rA2.js +30 -0
- package/chunks/DJnkQG-Q.js +105 -0
- package/chunks/DKCe2nDe.js +47 -0
- package/chunks/DPLXkmFh.js +217 -0
- package/chunks/DQdBwuTr.js +17 -0
- package/chunks/DUbcVQBq.js +250 -0
- package/chunks/D_gajPwn2.js +60 -0
- package/chunks/D_j9foN9.js +17 -0
- package/chunks/DaBPfr252.js +96 -0
- package/chunks/Db0J1lN72.js +383 -0
- package/chunks/DcDUyJSx2.js +49 -0
- package/chunks/DdDO4YD2.js +281 -0
- package/chunks/DdW8XqoW.js +21 -0
- package/chunks/DfdoBqSD.js +6 -0
- package/chunks/DgbDv9To.js +454 -0
- package/chunks/DiB3ANPI2.js +525 -0
- package/chunks/DkBjJMFf2.js +34 -0
- package/chunks/DkkdixR-.js +732 -0
- package/chunks/Dn11MvZp.js +60 -0
- package/chunks/Do-8eHRr2.js +936 -0
- package/chunks/DoCrd-hR.js +52 -0
- package/chunks/DqI4lZin.js +37 -0
- package/chunks/DqgSQ3KG2.js +418 -0
- package/chunks/DqttRbt0.js +8 -0
- package/chunks/DuuoytDu.js +25 -0
- package/chunks/Dw_RxmrB2.js +26 -0
- package/chunks/DxrV8nwF2.js +28 -0
- package/chunks/Dyeav-c7.js +446 -0
- package/chunks/DyqdbtLs.js +295 -0
- package/chunks/IfmR2wc6.js +207 -0
- package/chunks/J-HPb14D.js +35 -0
- package/chunks/RAYFV7z_2.js +105 -0
- package/chunks/SCjrrbwI.js +194 -0
- package/chunks/TU6zhStX.js +40 -0
- package/chunks/TziUPXJy.js +46 -0
- package/chunks/VufM4po6.js +98 -0
- package/chunks/Xdb_3Me6.js +48 -0
- package/chunks/YLwDmpE6.js +197 -0
- package/chunks/ZdU9-d3W2.js +94 -0
- package/chunks/_6lMlbOl2.js +87 -0
- package/chunks/_DT9bjOz.js +182 -0
- package/chunks/_MqUwxIX2.js +145 -0
- package/chunks/a1C-V5Od.js +89 -0
- package/chunks/byLw7vSU.js +188 -0
- package/chunks/f2NKal5o.js +66 -0
- package/chunks/fICCbPEl.js +406 -0
- package/chunks/gFFZEYaV.js +1919 -0
- package/chunks/itbzUWg4.js +4 -0
- package/chunks/kPKqEDo-.js +588 -0
- package/chunks/o8iIIG7B.js +1328 -0
- package/chunks/xfxHgkQu2.js +31 -0
- package/code-mirror-editor/index.d.ts +50 -0
- package/code-mirror-editor/index.js +99 -0
- package/code-mirror-editor/style.css +1 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirm-button/index.js +35 -0
- package/confirmable/index.d.ts +93 -0
- package/confirmable/index.js +8 -0
- package/constants/index.d.ts +73 -0
- package/constants/index.js +4 -0
- package/context-menu/index.d.ts +183 -0
- package/context-menu/index.js +196 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.d.ts +70 -0
- package/count-up/index.js +94 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/custom-scrollbar/index.js +93 -0
- package/data-box/index.d.ts +19 -0
- package/data-box/index.js +68 -0
- package/data-box/style.css +1 -0
- package/data-card/index.d.ts +20 -0
- package/data-card/index.js +63 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-card-text/index.js +67 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.d.ts +20 -0
- package/data-display/index.js +73 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.d.ts +21 -0
- package/data-icons/index.js +74 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-imgtext/index.js +71 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-operatext/index.js +54 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.d.ts +19 -0
- package/data-panel/index.js +61 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.d.ts +19 -0
- package/data-pay/index.js +110 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.d.ts +17 -0
- package/data-price/index.js +51 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.d.ts +19 -0
- package/data-progress/index.js +72 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.d.ts +19 -0
- package/data-rotate/index.js +65 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.js +118 -0
- package/data-tabs/index.d.ts +19 -0
- package/data-tabs/index.js +71 -0
- package/data-tabs/style.css +1 -0
- package/dict-render/index.d.ts +28 -0
- package/dict-render/index.js +2 -0
- package/e-charts/index.d.ts +79 -0
- package/e-charts/index.js +179 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.d.ts +114 -0
- package/easy-popup/index.js +92 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-progress/index.js +120 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.js +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +341 -18
- package/element-dialog/index.js +2 -0
- 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.js +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.d.ts +2 -2
- package/empty-view/{index.mjs → index.js} +1 -1
- package/error-view/index.d.ts +25 -0
- package/error-view/index.js +37 -0
- package/error-view/style.css +1 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-box/index.js +2 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-column/index.js +2 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-item/index.js +2 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-row/index.js +2 -0
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/{index.mjs → index.js} +1 -1
- package/flex-scroller/index.d.ts +26 -0
- package/flex-scroller/index.js +29 -0
- package/flex-scroller/style.css +1 -0
- package/flow-designer/index.d.ts +353 -0
- package/flow-designer/index.js +2 -0
- package/flow-designer/style.css +1 -0
- package/flow-viewer/index.d.ts +62 -0
- package/flow-viewer/index.js +159 -0
- package/flow-viewer/style.css +1 -0
- package/form-advice/index.js +29 -0
- package/form-button/index.d.ts +123 -0
- package/form-button/index.js +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.js +18 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.js +2 -0
- package/form-checkbox/index.d.ts +253 -20
- package/form-checkbox/index.js +2 -0
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.js +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.d.ts +404 -21
- package/form-date-picker/index.js +2 -0
- package/form-holder/index.d.ts +89 -22
- package/form-holder/index.js +2 -0
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +153 -15
- package/form-image/index.js +2 -0
- package/form-input/index.d.ts +309 -22
- package/form-input/index.js +2 -0
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.js +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +315 -18
- package/form-input-email/index.js +2 -0
- package/form-input-id-card/index.d.ts +315 -18
- package/form-input-id-card/index.js +2 -0
- package/form-input-number/index.d.ts +254 -20
- package/form-input-number/index.js +2 -0
- package/form-input-phone-number/index.d.ts +315 -18
- package/form-input-phone-number/index.js +2 -0
- package/form-input-tag/index.d.ts +269 -1
- package/form-input-tag/index.js +2 -0
- package/form-input-time/index.d.ts +440 -1
- package/form-input-time/index.js +2 -0
- package/form-item-config-provider/index.d.ts +40 -0
- package/form-item-config-provider/index.js +24 -0
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.js +2 -0
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +149 -13
- package/form-item-x/index.js +2 -0
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +313 -20
- package/form-radio-group/index.js +2 -0
- package/form-rate/index.d.ts +262 -16
- package/form-rate/index.js +2 -0
- package/form-red-table/index.js +65 -0
- package/form-row/index.d.ts +2 -2
- package/form-row/index.js +2 -0
- package/form-select/index.d.ts +545 -20
- package/form-select/index.js +2 -0
- package/form-slider/index.d.ts +291 -18
- package/form-slider/index.js +2 -0
- package/form-switch/index.d.ts +282 -18
- package/form-switch/index.js +2 -0
- package/form-table/index.d.ts +287 -0
- package/form-table/index.js +2 -0
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.js +2 -0
- package/form-text/index.d.ts +173 -15
- package/form-text/index.js +2 -0
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.js +2 -0
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.js +2 -0
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.js +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.js +2 -0
- package/form-view/index.d.ts +225 -1
- package/form-view/index.js +283 -0
- package/form-view/style.css +1 -0
- package/guide-steps/index.d.ts +31 -0
- package/guide-steps/index.js +2 -0
- package/guide-steps/style.css +1 -0
- package/helper/dictionary.d.ts +29 -0
- package/helper/dictionary.js +97 -0
- package/helper/form-item.d.ts +17 -0
- package/helper/form-item.js +27 -0
- package/helper/input.d.ts +47 -0
- package/helper/input.js +2 -0
- package/helper/sub-table-plus.d.ts +98 -0
- package/helper/sub-table-plus.js +4 -0
- package/highlight-j-s/index.d.ts +18 -0
- package/highlight-j-s/index.js +51 -0
- package/highlight-j-s/style.css +1 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.js +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.js +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.js +37 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-cropper/index.js +155 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.d.ts +213 -0
- package/image-preview/index.js +2 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.d.ts +25 -0
- package/image-viewer/index.js +70 -0
- package/image-viewer/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +121 -36
- package/index.js +125 -0
- package/input-number-range/index.d.ts +41 -0
- package/input-number-range/index.js +76 -0
- package/input-number-range/style.css +1 -0
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.js +2 -0
- package/keyboard/style.css +1 -0
- package/loading-view/index.d.ts +65 -0
- package/loading-view/index.js +39 -0
- package/loading-view/style.css +1 -0
- package/name-avatar/index.d.ts +62 -0
- package/name-avatar/index.js +61 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.d.ts +21 -0
- package/nav-bar/index.js +36 -0
- package/nav-bar/style.css +1 -0
- package/package.json +25 -5
- package/page/index.d.ts +21 -0
- package/page/index.js +17 -0
- package/page/style.css +1 -0
- package/page-header/index.d.ts +27 -0
- package/page-header/index.js +25 -0
- package/page-header/style.css +1 -0
- package/page-index/index.d.ts +82 -0
- package/page-index/index.js +123 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-index-top/index.js +85 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton/index.js +44 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/page-skeleton-new/index.js +80 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.d.ts +400 -0
- package/pageable-table/index.js +2 -0
- package/pageable-table/style.css +1 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.js +2 -0
- package/props/cascader.d.ts +326 -0
- package/props/cascader.js +145 -0
- package/props/checkbox-group.d.ts +213 -0
- package/props/checkbox-group.js +83 -0
- package/props/checkbox.d.ts +205 -0
- package/props/checkbox.js +74 -0
- package/props/col.d.ts +74 -0
- package/props/col.js +32 -0
- package/props/common.d.ts +114 -0
- package/props/common.js +18 -0
- package/props/date.d.ts +339 -0
- package/props/date.js +145 -0
- package/props/form-item.d.ts +144 -0
- package/props/form-item.js +73 -0
- package/props/form.d.ts +157 -0
- package/props/form.js +89 -0
- package/props/image.d.ts +102 -0
- package/props/image.js +10 -0
- package/props/input-cron.d.ts +102 -0
- package/props/input-cron.js +16 -0
- package/props/input-number.d.ts +216 -0
- package/props/input-number.js +72 -0
- package/props/input-tag.d.ts +123 -0
- package/props/input-tag.js +33 -0
- package/props/input.d.ts +299 -0
- package/props/input.js +97 -0
- package/props/radio-group.d.ts +205 -0
- package/props/radio-group.js +84 -0
- package/props/rate.d.ts +211 -0
- package/props/rate.js +66 -0
- package/props/select.d.ts +450 -0
- package/props/select.js +218 -0
- package/props/slide.d.ts +235 -0
- package/props/slide.js +72 -0
- package/props/switch.d.ts +229 -0
- package/props/switch.js +80 -0
- package/props/text.d.ts +127 -0
- package/props/text.js +22 -0
- package/props/textarea.d.ts +266 -0
- package/props/textarea.js +82 -0
- package/props/time-select.d.ts +216 -0
- package/props/time-select.js +67 -0
- package/props/time.d.ts +304 -0
- package/props/time.js +138 -0
- package/props/tree-select-multiple.d.ts +324 -0
- package/props/tree-select-multiple.js +16 -0
- package/props/tree-select.d.ts +326 -0
- package/props/tree-select.js +25 -0
- package/props/tree.d.ts +76 -0
- package/props/tree.js +75 -0
- package/props/vue-tree-select.d.ts +458 -0
- package/props/vue-tree-select.js +213 -0
- package/resolver/index.js +29 -0
- package/sign-panel/index.d.ts +85 -0
- package/sign-panel/index.js +183 -0
- package/sign-panel/style.css +1 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/skeleton-panel/index.js +37 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.js +2 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.d.ts +92 -0
- package/stateful/index.js +67 -0
- package/stateful/style.css +1 -0
- package/sub-table/index.d.ts +109 -0
- package/sub-table/index.js +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.d.ts +109 -0
- package/sub-table-plus/index.js +2 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.d.ts +27 -0
- package/swiper/index.js +126 -0
- package/swiper/style.css +1 -0
- package/table-column/index.d.ts +163 -0
- package/table-column/index.js +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-column-def/index.js +11 -0
- package/table-view/index.d.ts +345 -1
- package/table-view/index.js +471 -0
- package/table-view/style.css +1 -0
- package/tag-render/index.d.ts +48 -0
- package/tag-render/index.js +86 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/text-ellipsis/index.js +124 -0
- package/text-ellipsis/style.css +1 -0
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.js +2 -0
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.js +2 -0
- package/toolbar-button/style.css +1 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.js +2 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-qr-code/index.js +32 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tags-input/index.js +350 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.d.ts +1489 -0
- package/vue-tree-select/index.js +2 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.d.ts +117 -0
- package/vue-video-player/index.js +136 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.js +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.js +232 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.js +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/element-dialog/index.mjs +0 -91
- package/form-advice/index.mjs +0 -28
- package/form-check-box-group/index.d.ts +0 -93
- package/form-check-box-group/index.mjs +0 -2
- package/form-checkbox/index.mjs +0 -2
- package/form-date-picker/index.mjs +0 -2
- package/form-holder/index.mjs +0 -2
- package/form-image/index.mjs +0 -2
- package/form-input/index.mjs +0 -2
- package/form-input-email/index.mjs +0 -2
- package/form-input-id-card/index.mjs +0 -2
- package/form-input-number/index.mjs +0 -2
- package/form-input-phone-number/index.mjs +0 -2
- package/form-input-tag/index.mjs +0 -4
- package/form-input-time/index.mjs +0 -4
- package/form-item-group/index.mjs +0 -78
- package/form-item-x/index.mjs +0 -2
- package/form-radio-group/index.mjs +0 -2
- package/form-rate/index.mjs +0 -2
- package/form-red-table/index.mjs +0 -64
- package/form-row/index.mjs +0 -2
- package/form-select/index.mjs +0 -2
- package/form-slider/index.mjs +0 -2
- package/form-switch/index.mjs +0 -2
- package/form-text/index.mjs +0 -2
- package/form-view/index.mjs +0 -9
- package/index.mjs +0 -63
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/table-view/index.mjs +0 -9
- package/toolbar/index.mjs +0 -9
- package/toolbar-button/index.mjs +0 -9
- /package/form-cell/{index.mjs → index.js} +0 -0
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { n as e } from "./B1EPd8qV.js";
|
|
2
|
+
import { t } from "./BgzF6a9b.js";
|
|
3
|
+
import { t as n } from "./DqttRbt0.js";
|
|
4
|
+
import { createElementBlock as r, createElementVNode as i, createVNode as a, openBlock as o } from "vue";
|
|
5
|
+
import { isBlank as s } from "@web-utils/core";
|
|
6
|
+
//#region src/components/bpmn-process-designer/components/penal/other/ElementOtherConfig.vue
|
|
7
|
+
var c = /* @__PURE__ */ e({ default: () => m }), l = {
|
|
8
|
+
name: "ElementOtherConfig",
|
|
9
|
+
props: {
|
|
10
|
+
id: String,
|
|
11
|
+
element: Object,
|
|
12
|
+
bpmnInstances: Object
|
|
13
|
+
},
|
|
14
|
+
data() {
|
|
15
|
+
return { documentation: "" };
|
|
16
|
+
},
|
|
17
|
+
watch: { id: {
|
|
18
|
+
immediate: !0,
|
|
19
|
+
handler() {
|
|
20
|
+
if (s(this.element)) this.documentation = "";
|
|
21
|
+
else {
|
|
22
|
+
let { businessObject: { documentation: e } } = this.element;
|
|
23
|
+
this.documentation = (e == null ? void 0 : e[0].text) || "";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
} },
|
|
27
|
+
methods: { updateDocumentation() {
|
|
28
|
+
let { modeling: e } = this.bpmnInstances, { businessObject: { documentation: t } } = this.element;
|
|
29
|
+
if (t != null && t.length) t[0].set("text", this.documentation), e.updateProperties(this.element, { documentation: t });
|
|
30
|
+
else {
|
|
31
|
+
let { bpmnFactory: t } = this.bpmnInstances, n = t.create("bpmn:Documentation", { text: this.documentation });
|
|
32
|
+
e.updateProperties(this.element, { documentation: [n] });
|
|
33
|
+
}
|
|
34
|
+
} }
|
|
35
|
+
}, u = { class: "panel-tab__content" }, d = { class: "element-property input-property" }, f = { class: "element-property__value" };
|
|
36
|
+
function p(e, n, s, c, l, p) {
|
|
37
|
+
let m = t;
|
|
38
|
+
return o(), r("div", u, [i("div", d, [n[1] || (n[1] = i("div", { class: "element-property__label" }, "元素文档:", -1)), i("div", f, [a(m, {
|
|
39
|
+
modelValue: l.documentation,
|
|
40
|
+
"onUpdate:modelValue": n[0] || (n[0] = (e) => l.documentation = e),
|
|
41
|
+
type: "textarea",
|
|
42
|
+
resize: "vertical",
|
|
43
|
+
autosize: {
|
|
44
|
+
minRows: 2,
|
|
45
|
+
maxRows: 4
|
|
46
|
+
},
|
|
47
|
+
onInput: p.updateDocumentation
|
|
48
|
+
}, null, 8, ["modelValue", "onInput"])])])]);
|
|
49
|
+
}
|
|
50
|
+
var m = /* @__PURE__ */ n(l, [["render", p]]);
|
|
51
|
+
//#endregion
|
|
52
|
+
export { c as n, m as t };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { getDictLabel as e } from "../helper/dictionary.js";
|
|
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,418 @@
|
|
|
1
|
+
import "./B1EPd8qV.js";
|
|
2
|
+
import { n as e, t } from "./itbzUWg4.js";
|
|
3
|
+
import { t as n } from "./DEBzRzs62.js";
|
|
4
|
+
import { t as r } from "./o8iIIG7B.js";
|
|
5
|
+
import { t as i } from "./DqttRbt0.js";
|
|
6
|
+
import { t as a } from "./_DT9bjOz.js";
|
|
7
|
+
import { t as o } from "./DqI4lZin.js";
|
|
8
|
+
import { n as s } from "./Beh1v279.js";
|
|
9
|
+
import { t as c } from "./Bs7_SRve.js";
|
|
10
|
+
import { t as l } from "./DGDjsgmi2.js";
|
|
11
|
+
import { t as u } from "./DaBPfr252.js";
|
|
12
|
+
import { t as d } from "./DGSETzHz2.js";
|
|
13
|
+
import { t as f } from "./BjACtWY92.js";
|
|
14
|
+
import { t as p } from "./BsfOPm1B2.js";
|
|
15
|
+
import m from "../table-column-def/index.js";
|
|
16
|
+
import { t as h } from "./D63r1Mj-2.js";
|
|
17
|
+
import { Fragment as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, mergeProps as w, openBlock as T, renderList as E, renderSlot as D, resolveComponent as O, toDisplayString as k, withCtx as A, withModifiers as j } from "vue";
|
|
18
|
+
import { findTreeChildren as M, isFunction as N } from "@web-utils/core";
|
|
19
|
+
import { cloneDeep as P } from "@web-utils/integrations/lodash";
|
|
20
|
+
//#region src/components/table/sub-table.ts
|
|
21
|
+
var F = {
|
|
22
|
+
modelValue: Array,
|
|
23
|
+
columns: Array,
|
|
24
|
+
allowEmpty: Boolean,
|
|
25
|
+
handleColumn: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !0
|
|
28
|
+
},
|
|
29
|
+
editable: Boolean,
|
|
30
|
+
showHandleColumnAddButton: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !0
|
|
33
|
+
},
|
|
34
|
+
showEmptyAddButton: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !0
|
|
37
|
+
},
|
|
38
|
+
prop: String,
|
|
39
|
+
limit: {
|
|
40
|
+
type: Number,
|
|
41
|
+
default: Infinity
|
|
42
|
+
},
|
|
43
|
+
maxLimit: {
|
|
44
|
+
type: Number,
|
|
45
|
+
default: Infinity
|
|
46
|
+
},
|
|
47
|
+
disabled: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: void 0
|
|
50
|
+
},
|
|
51
|
+
showSummary: Boolean,
|
|
52
|
+
selectionWidth: String,
|
|
53
|
+
fetchApi: Function,
|
|
54
|
+
delApi: Function
|
|
55
|
+
}, I = {
|
|
56
|
+
name: "SubTable",
|
|
57
|
+
emits: {
|
|
58
|
+
...s,
|
|
59
|
+
"add-row": null
|
|
60
|
+
},
|
|
61
|
+
inject: {
|
|
62
|
+
elForm: {
|
|
63
|
+
from: t,
|
|
64
|
+
default: ""
|
|
65
|
+
},
|
|
66
|
+
elFormItem: {
|
|
67
|
+
from: e,
|
|
68
|
+
default: ""
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
props: { ...F },
|
|
72
|
+
data() {
|
|
73
|
+
return {
|
|
74
|
+
rows: [],
|
|
75
|
+
selectedRows: []
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
computed: {
|
|
79
|
+
available() {
|
|
80
|
+
return this.editable && this.enabled;
|
|
81
|
+
},
|
|
82
|
+
enabled() {
|
|
83
|
+
return !this.disabled;
|
|
84
|
+
},
|
|
85
|
+
rowProps() {
|
|
86
|
+
let e = {};
|
|
87
|
+
return this.columns && this.columns.map((e) => e.prop).forEach((t) => {
|
|
88
|
+
e[t] = null;
|
|
89
|
+
}), e;
|
|
90
|
+
},
|
|
91
|
+
filteredColumns() {
|
|
92
|
+
return this.columns.filter((e) => e.label && !e.hide && !e.slot);
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
watch: {
|
|
96
|
+
modelValue: {
|
|
97
|
+
deep: !0,
|
|
98
|
+
immediate: !0,
|
|
99
|
+
handler(e) {
|
|
100
|
+
this.rows = e || [];
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
rows: {
|
|
104
|
+
deep: !0,
|
|
105
|
+
immediate: !0,
|
|
106
|
+
handler(e) {
|
|
107
|
+
this.$emit("update:modelValue", e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
methods: {
|
|
112
|
+
getCellType(e, t) {
|
|
113
|
+
return N(t.getType) ? t.getType(e, t) : t.type;
|
|
114
|
+
},
|
|
115
|
+
getInputAttr(e, t, n) {
|
|
116
|
+
var r;
|
|
117
|
+
let i = {
|
|
118
|
+
...t.attrs,
|
|
119
|
+
...t.getAttrs ? t.getAttrs(e) : {}
|
|
120
|
+
};
|
|
121
|
+
return i.modelValue = e[t.prop], i.label = t.label, i.wrapCol = !1, i.required = t.required, i.disabled = (r = t.isDisabled) == null ? void 0 : r.call(t, e), i.prop = `${this.prop}[${n}].${t.prop}`, this.getCellType(e, t) === "select" ? i.options = t.options : this.getCellType(e, t) === "textarea" ? i.rows = t.rows || "3" : this.getCellType(e, t) === "cascader" ? (i.labelKey = t.labelKey, i.valueKey = t.valueKey) : this.getCellType(e, t) === "department" && (i.ouType = t.ouType), i;
|
|
122
|
+
},
|
|
123
|
+
isInputDisabled(e, t) {
|
|
124
|
+
return t.isDisabled && t.isDisabled(e);
|
|
125
|
+
},
|
|
126
|
+
onInput(e, t, n) {
|
|
127
|
+
n.setValue ? n.setValue(e, t, n, this.rows) : e[n.prop] = t;
|
|
128
|
+
},
|
|
129
|
+
onSelectionChange(e) {
|
|
130
|
+
this.selectedRows = e;
|
|
131
|
+
},
|
|
132
|
+
remove(e, t) {
|
|
133
|
+
try {
|
|
134
|
+
this.rows.splice(t, 1);
|
|
135
|
+
} catch {}
|
|
136
|
+
},
|
|
137
|
+
add(e, t) {
|
|
138
|
+
let n = P(this.rowProps);
|
|
139
|
+
this.rows.splice(t + 1, 0, n);
|
|
140
|
+
},
|
|
141
|
+
addRow() {
|
|
142
|
+
this.$emit("add-row");
|
|
143
|
+
},
|
|
144
|
+
async delRow() {
|
|
145
|
+
if (!this.selectedRows.length) {
|
|
146
|
+
this.$message.warning("请选择要删除的记录!");
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
try {
|
|
150
|
+
if (this.delApi) try {
|
|
151
|
+
await this.delApi(this.selectedRows.map((e) => e.id).join(",")), this.refresh();
|
|
152
|
+
} catch {
|
|
153
|
+
this.$message.error("删除失败!");
|
|
154
|
+
}
|
|
155
|
+
else this.$emit("update:modelValue", this.rows.filter((e) => !this.selectedRows.includes(e)));
|
|
156
|
+
this.$message.success("删除成功!");
|
|
157
|
+
} catch {}
|
|
158
|
+
},
|
|
159
|
+
refresh() {
|
|
160
|
+
this.$refs.table.getPage();
|
|
161
|
+
},
|
|
162
|
+
getVal(e, t, n) {
|
|
163
|
+
var r, i;
|
|
164
|
+
if (n.type === "select" && (r = n.attrs) != null && r.options) {
|
|
165
|
+
let r = n.attrs.options.find((n) => n.code === e[t.property]);
|
|
166
|
+
if (r) return r.name;
|
|
167
|
+
}
|
|
168
|
+
if (n.type === "cascader" && (i = n.attrs) != null && i.options) {
|
|
169
|
+
let [r] = M(n.attrs.options, (r) => r[n.attrs.valueKey || "value"] === e[t.property]);
|
|
170
|
+
if (r) return r[n.attrs.valueKey || "label"];
|
|
171
|
+
}
|
|
172
|
+
return e[t.property];
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, L = {
|
|
176
|
+
key: 0,
|
|
177
|
+
class: "table-header"
|
|
178
|
+
}, R = {
|
|
179
|
+
key: 0,
|
|
180
|
+
style: { color: "#f56c6c" }
|
|
181
|
+
}, z = ["onClick"];
|
|
182
|
+
function B(e, t, i, s, M, N) {
|
|
183
|
+
let P = a, F = l, I = f, B = O("FormInputUser"), V = O("FormInputDepartment"), H = p, U = n, W = c, G = u, K = d, q = h, J = o, Y = m, X = r;
|
|
184
|
+
return T(), _(X, w({
|
|
185
|
+
ref: "table",
|
|
186
|
+
class: "sub-table",
|
|
187
|
+
"auto-height": "",
|
|
188
|
+
data: M.rows,
|
|
189
|
+
api: e.fetchApi,
|
|
190
|
+
"show-summary": e.showSummary,
|
|
191
|
+
"selection-width": e.selectionWidth
|
|
192
|
+
}, e.$attrs, {
|
|
193
|
+
"hide-on-single-page": "",
|
|
194
|
+
selection: N.enabled,
|
|
195
|
+
"row-db-click": e.rowDbClick,
|
|
196
|
+
onSelectionChange: N.onSelectionChange
|
|
197
|
+
}), x({
|
|
198
|
+
default: A(() => [
|
|
199
|
+
D(e.$slots, "columns", { columns: e.columns }, () => [(T(!0), y(g, null, E(N.filteredColumns, (t) => (T(), _(Y, {
|
|
200
|
+
key: t.prop,
|
|
201
|
+
label: t.label,
|
|
202
|
+
width: t.width,
|
|
203
|
+
"dict-type": t.dictType,
|
|
204
|
+
clickable: t.clickable,
|
|
205
|
+
align: t.align,
|
|
206
|
+
prop: t.prop,
|
|
207
|
+
options: t.options,
|
|
208
|
+
"show-overflow-tooltip": !N.available && t.showOverflowTooltip
|
|
209
|
+
}, {
|
|
210
|
+
header: A(() => [!e.disabled && t.required ? (T(), y("span", R, "*")) : v("v-if", !0), S(" " + k(t.label), 1)]),
|
|
211
|
+
default: A(({ row: n, column: r, $index: i }) => [
|
|
212
|
+
v("tag 插槽"),
|
|
213
|
+
D(e.$slots, "tag", {
|
|
214
|
+
row: n,
|
|
215
|
+
column: r,
|
|
216
|
+
index: i
|
|
217
|
+
}),
|
|
218
|
+
v("列默认插槽,名字和 prop 保持一致"),
|
|
219
|
+
D(e.$slots, t.prop, {
|
|
220
|
+
row: n,
|
|
221
|
+
column: r,
|
|
222
|
+
index: i
|
|
223
|
+
}, () => {
|
|
224
|
+
var e;
|
|
225
|
+
return [N.available ? (T(), y(g, { key: 0 }, [N.getCellType(n, t) === "input" ? (T(), _(F, w({
|
|
226
|
+
key: 0,
|
|
227
|
+
ref_for: !0
|
|
228
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "inputPhoneNumber" ? (T(), _(I, w({
|
|
229
|
+
key: 1,
|
|
230
|
+
ref_for: !0
|
|
231
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "user" ? (T(), y(g, { key: 2 }, [t.single ? (T(), _(B, w({
|
|
232
|
+
key: 0,
|
|
233
|
+
ref_for: !0
|
|
234
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (T(), _(B, w({
|
|
235
|
+
key: 1,
|
|
236
|
+
ref_for: !0
|
|
237
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "department" ? (T(), y(g, { key: 3 }, [t.single ? (T(), _(V, w({
|
|
238
|
+
key: 0,
|
|
239
|
+
ref_for: !0
|
|
240
|
+
}, N.getInputAttr(n, t, i), {
|
|
241
|
+
name: n[r.property],
|
|
242
|
+
"onUpdate:name": (e) => n[r.property] = e,
|
|
243
|
+
"onUpdate:modelValue": (e) => N.onInput(n, e, t)
|
|
244
|
+
}), null, 16, [
|
|
245
|
+
"name",
|
|
246
|
+
"onUpdate:name",
|
|
247
|
+
"onUpdate:modelValue"
|
|
248
|
+
])) : (T(), _(V, w({
|
|
249
|
+
key: 1,
|
|
250
|
+
ref_for: !0
|
|
251
|
+
}, N.getInputAttr(n, t, i), {
|
|
252
|
+
disabled: N.isInputDisabled(n, t),
|
|
253
|
+
"onUpdate:modelValue": (e) => N.onInput(n, e, t)
|
|
254
|
+
}), null, 16, ["disabled", "onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "select" ? (T(), _(H, w({
|
|
255
|
+
key: 4,
|
|
256
|
+
ref_for: !0
|
|
257
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "datePicker" ? (T(), _(U, w({
|
|
258
|
+
key: 5,
|
|
259
|
+
ref_for: !0
|
|
260
|
+
}, N.getInputAttr(n, t, i), {
|
|
261
|
+
start: n[t.start],
|
|
262
|
+
"onUpdate:start": (e) => n[t.start] = e,
|
|
263
|
+
end: n[t.end],
|
|
264
|
+
"onUpdate:end": (e) => n[t.end] = e,
|
|
265
|
+
"onUpdate:modelValue": (e) => N.onInput(n, e, t)
|
|
266
|
+
}), null, 16, [
|
|
267
|
+
"start",
|
|
268
|
+
"onUpdate:start",
|
|
269
|
+
"end",
|
|
270
|
+
"onUpdate:end",
|
|
271
|
+
"onUpdate:modelValue"
|
|
272
|
+
])) : N.getCellType(n, t) === "cascader" ? (T(), _(W, w({
|
|
273
|
+
key: 6,
|
|
274
|
+
ref_for: !0
|
|
275
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "checkbox" ? (T(), _(G, w({
|
|
276
|
+
key: 7,
|
|
277
|
+
ref_for: !0
|
|
278
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "number" ? (T(), _(K, w({
|
|
279
|
+
key: 8,
|
|
280
|
+
ref_for: !0
|
|
281
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "textarea" ? (T(), _(q, w({
|
|
282
|
+
key: 9,
|
|
283
|
+
ref_for: !0
|
|
284
|
+
}, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (T(), y(g, { key: 10 }, [S(k(N.getVal(n, r, t)), 1)], 64))], 64)) : t.dicType || (e = t.options) != null && e.length ? (T(), _(J, {
|
|
285
|
+
key: 1,
|
|
286
|
+
"dict-type": t.dicType,
|
|
287
|
+
"id-as-value": t.idAsValue,
|
|
288
|
+
"label-as-value": t.labelAsValue,
|
|
289
|
+
column: r,
|
|
290
|
+
row: n,
|
|
291
|
+
options: t.options
|
|
292
|
+
}, null, 8, [
|
|
293
|
+
"dict-type",
|
|
294
|
+
"id-as-value",
|
|
295
|
+
"label-as-value",
|
|
296
|
+
"column",
|
|
297
|
+
"row",
|
|
298
|
+
"options"
|
|
299
|
+
])) : (T(), y(g, { key: 2 }, [S(k(N.getVal(n, r, t)), 1)], 64))];
|
|
300
|
+
})
|
|
301
|
+
]),
|
|
302
|
+
_: 2
|
|
303
|
+
}, 1032, [
|
|
304
|
+
"label",
|
|
305
|
+
"width",
|
|
306
|
+
"dict-type",
|
|
307
|
+
"clickable",
|
|
308
|
+
"align",
|
|
309
|
+
"prop",
|
|
310
|
+
"options",
|
|
311
|
+
"show-overflow-tooltip"
|
|
312
|
+
]))), 128))]),
|
|
313
|
+
v(" 自定义操作列 "),
|
|
314
|
+
D(e.$slots, "handle", {
|
|
315
|
+
add: N.add,
|
|
316
|
+
remove: N.remove
|
|
317
|
+
}),
|
|
318
|
+
v(" 操作列 "),
|
|
319
|
+
(!e.modelValue || e.modelValue.length < e.limit) && !e.disabled && N.enabled && e.editable && e.handleColumn ? (T(), _(Y, {
|
|
320
|
+
key: 0,
|
|
321
|
+
label: "操作",
|
|
322
|
+
fixed: "right",
|
|
323
|
+
width: "80",
|
|
324
|
+
align: "center",
|
|
325
|
+
prop: "menu"
|
|
326
|
+
}, {
|
|
327
|
+
header: A(({ column: t, $index: n }) => [D(e.$slots, "handle-column-header", {
|
|
328
|
+
column: t,
|
|
329
|
+
index: n
|
|
330
|
+
}, () => [S(k(t.label), 1)])]),
|
|
331
|
+
default: A(({ row: t, $index: n }) => [e.showHandleColumnAddButton && e.modelValue.length < e.maxLimit ? (T(), y("i", {
|
|
332
|
+
key: 0,
|
|
333
|
+
class: "el-icon-circle-plus sub-table-handle-button table-button-add",
|
|
334
|
+
style: {
|
|
335
|
+
"margin-right": "5px",
|
|
336
|
+
"font-size": "20px",
|
|
337
|
+
cursor: "pointer"
|
|
338
|
+
},
|
|
339
|
+
title: "添加",
|
|
340
|
+
onClick: j((e) => N.add(t, n), ["stop"])
|
|
341
|
+
}, null, 8, z)) : v("v-if", !0), e.modelValue && e.modelValue.length > 1 || e.allowEmpty ? (T(), _(P, {
|
|
342
|
+
key: 1,
|
|
343
|
+
class: "el-icon-error sub-table-handle-button table-button-remove",
|
|
344
|
+
style: {
|
|
345
|
+
"font-size": "20px",
|
|
346
|
+
cursor: "pointer"
|
|
347
|
+
},
|
|
348
|
+
title: "删除",
|
|
349
|
+
confirm: "",
|
|
350
|
+
text: "",
|
|
351
|
+
message: "您确定要删除该行吗?",
|
|
352
|
+
onClick: j((e) => N.remove(t, n), ["stop"])
|
|
353
|
+
}, null, 8, ["onClick"])) : v("v-if", !0)]),
|
|
354
|
+
_: 3
|
|
355
|
+
})) : v("v-if", !0)
|
|
356
|
+
]),
|
|
357
|
+
_: 2
|
|
358
|
+
}, [e.editable ? void 0 : {
|
|
359
|
+
name: "toolbar",
|
|
360
|
+
fn: A(() => [N.enabled || e.fetchApi ? (T(), y("div", L, [D(e.$slots, "toolbar", {
|
|
361
|
+
addRow: N.addRow,
|
|
362
|
+
delRow: N.delRow,
|
|
363
|
+
refresh: N.refresh
|
|
364
|
+
}, () => [N.enabled ? (T(), y(g, { key: 0 }, [C(P, {
|
|
365
|
+
class: "table-header-button add",
|
|
366
|
+
icon: "el-icon-circle-plus",
|
|
367
|
+
type: "text",
|
|
368
|
+
onClick: N.addRow
|
|
369
|
+
}, {
|
|
370
|
+
default: A(() => [...t[1] || (t[1] = [S(" 添加 ", -1)])]),
|
|
371
|
+
_: 1
|
|
372
|
+
}, 8, ["onClick"]), C(P, {
|
|
373
|
+
class: "table-header-button remove",
|
|
374
|
+
confirm: "",
|
|
375
|
+
message: "您确定要删除选中的记录吗?",
|
|
376
|
+
icon: "el-icon-error",
|
|
377
|
+
text: "",
|
|
378
|
+
onClick: N.delRow
|
|
379
|
+
}, {
|
|
380
|
+
default: A(() => [...t[2] || (t[2] = [S(" 删除 ", -1)])]),
|
|
381
|
+
_: 1
|
|
382
|
+
}, 8, ["onClick"])], 64)) : v("v-if", !0), e.fetchApi ? (T(), _(P, {
|
|
383
|
+
key: 1,
|
|
384
|
+
class: "table-header-button refresh",
|
|
385
|
+
icon: "el-icon-refresh-left",
|
|
386
|
+
text: "",
|
|
387
|
+
disabled: !1,
|
|
388
|
+
onClick: N.refresh
|
|
389
|
+
}, {
|
|
390
|
+
default: A(() => [...t[3] || (t[3] = [S(" 刷新 ", -1)])]),
|
|
391
|
+
_: 1
|
|
392
|
+
}, 8, ["onClick"])) : v("v-if", !0)])])) : v("v-if", !0)]),
|
|
393
|
+
key: "0"
|
|
394
|
+
}, e.allowEmpty && !e.disabled && e.showEmptyAddButton ? {
|
|
395
|
+
name: "empty",
|
|
396
|
+
fn: A(() => [b("i", {
|
|
397
|
+
class: "el-icon-circle-plus sub-table-handle-button table-button-add",
|
|
398
|
+
style: {
|
|
399
|
+
"font-size": "20px",
|
|
400
|
+
cursor: "pointer"
|
|
401
|
+
},
|
|
402
|
+
title: "添加",
|
|
403
|
+
onClick: t[0] || (t[0] = j((e) => N.add(null, 0), ["stop"]))
|
|
404
|
+
})]),
|
|
405
|
+
key: "1"
|
|
406
|
+
} : void 0]), 1040, [
|
|
407
|
+
"data",
|
|
408
|
+
"api",
|
|
409
|
+
"show-summary",
|
|
410
|
+
"selection-width",
|
|
411
|
+
"selection",
|
|
412
|
+
"row-db-click",
|
|
413
|
+
"onSelectionChange"
|
|
414
|
+
]);
|
|
415
|
+
}
|
|
416
|
+
var V = /* @__PURE__ */ i(I, [["render", B]]);
|
|
417
|
+
//#endregion
|
|
418
|
+
export { F as n, V as t };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { n as e } from "./fICCbPEl.js";
|
|
2
|
+
import { s as t } from "./D73tXuJP.js";
|
|
3
|
+
import { I as n, L as r, P as i, R as a } from "./BtonI3XP.js";
|
|
4
|
+
import { t as o } from "./BVQMbnV7.js";
|
|
5
|
+
import { computed as s, isRef as c, onScopeDispose as l, watch as u } from "vue";
|
|
6
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/hooks/use-lockscreen/index.mjs
|
|
7
|
+
var d = (d, f = {}) => {
|
|
8
|
+
c(d) || e("[useLockscreen]", "You need to pass a ref param to this function");
|
|
9
|
+
let p = f.ns || t("popup"), m = s(() => p.bm("parent", "hidden")), h = 0, g = !1, _ = "0", v = !1, y = () => {
|
|
10
|
+
v || (v = !0, setTimeout(() => {
|
|
11
|
+
typeof document > "u" || g && document && (document.body.style.width = _, a(document.body, m.value));
|
|
12
|
+
}, 200));
|
|
13
|
+
};
|
|
14
|
+
u(d, (e) => {
|
|
15
|
+
if (!e) {
|
|
16
|
+
y();
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
v = !1, g = !r(document.body, m.value), g && (_ = document.body.style.width, i(document.body, m.value)), h = o(p.namespace.value);
|
|
20
|
+
let t = document.documentElement.clientHeight < document.body.scrollHeight, a = n(document.body, "overflowY");
|
|
21
|
+
h > 0 && (t || a === "scroll") && g && (document.body.style.width = `calc(100% - ${h}px)`);
|
|
22
|
+
}), l(() => y());
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { d as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { n as e } from "./Beh1v279.js";
|
|
2
|
+
import { t } from "./DGDjsgmi2.js";
|
|
3
|
+
import { allProps as n } from "../props/input.js";
|
|
4
|
+
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
5
|
+
//#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
|
|
6
|
+
function s(e) {
|
|
7
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/components/form/FormInputIdCard.vue
|
|
11
|
+
var c = {
|
|
12
|
+
name: "FormInputIdCard",
|
|
13
|
+
inheritAttrs: !1,
|
|
14
|
+
props: { ...n },
|
|
15
|
+
emits: { ...e },
|
|
16
|
+
setup(e, { slots: n, attrs: i }) {
|
|
17
|
+
let c = o(e, "modelValue");
|
|
18
|
+
return () => r(t, a(e, i, {
|
|
19
|
+
modelValue: c.value,
|
|
20
|
+
"onUpdate:modelValue": (e) => c.value = e,
|
|
21
|
+
type: "idcard"
|
|
22
|
+
}), s(n) ? n : { default: () => [n] });
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { c as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./B1EPd8qV.js";
|
|
2
|
+
import { t as e } from "./COm5LruT.js";
|
|
3
|
+
import { n as t, o as n } from "./Beh1v279.js";
|
|
4
|
+
import { allProps as r, predicate as i } from "../props/slide.js";
|
|
5
|
+
import { createVNode as a, mergeProps as o, useModel as s } from "vue";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/form/FormSlider.vue
|
|
8
|
+
var c = {
|
|
9
|
+
name: "FormSlider",
|
|
10
|
+
inheritAttrs: !1,
|
|
11
|
+
props: { ...r },
|
|
12
|
+
emits: { ...t },
|
|
13
|
+
setup(t, { emit: r, slots: c, attrs: l }) {
|
|
14
|
+
let u = s(t, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = n(t, {
|
|
15
|
+
emit: r,
|
|
16
|
+
slots: c,
|
|
17
|
+
predicate: i,
|
|
18
|
+
attrs: l
|
|
19
|
+
});
|
|
20
|
+
return () => d({ vNodes: a(e, o(p.value, m.value, {
|
|
21
|
+
modelValue: u.value,
|
|
22
|
+
"onUpdate:modelValue": (e) => u.value = e,
|
|
23
|
+
disabled: f.value
|
|
24
|
+
}), null) });
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { c as t };
|