@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,110 @@
|
|
|
1
|
+
import "./B1EPd8qV.js";
|
|
2
|
+
import { t as e } from "./CZgfv08Q2.js";
|
|
3
|
+
import { t } from "./Bmzc6Sbs2.js";
|
|
4
|
+
import { t as n } from "./C5lEU74h2.js";
|
|
5
|
+
import { formItemGroupContextKey as r, formViewContextKey as i } from "../constants/index.js";
|
|
6
|
+
import a from "../empty-view/index.js";
|
|
7
|
+
import { Fragment as o, computed as s, createTextVNode as c, createVNode as l, h as u, inject as d, isVNode as f, onBeforeUnmount as p, onMounted as m, provide as h, reactive as g, ref as _, toRef as v, useTemplateRef as y, vShow as b, watchEffect as x, withDirectives as S } from "vue";
|
|
8
|
+
//#region src/components/form/FormItemGroup.vue?vue&type=script&lang.jsx
|
|
9
|
+
function C(e) {
|
|
10
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/form/FormItemGroup.vue
|
|
14
|
+
var w = {
|
|
15
|
+
name: "FormItemGroup",
|
|
16
|
+
props: {
|
|
17
|
+
blockTitle: String,
|
|
18
|
+
tips: String,
|
|
19
|
+
active: Boolean,
|
|
20
|
+
enabled: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: void 0
|
|
23
|
+
},
|
|
24
|
+
disabled: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: void 0
|
|
27
|
+
},
|
|
28
|
+
tag: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "ElCol"
|
|
31
|
+
},
|
|
32
|
+
span: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: 24
|
|
35
|
+
},
|
|
36
|
+
block: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !0
|
|
39
|
+
},
|
|
40
|
+
wrapRow: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !0
|
|
43
|
+
},
|
|
44
|
+
gutter: {
|
|
45
|
+
type: Number,
|
|
46
|
+
default: 20
|
|
47
|
+
},
|
|
48
|
+
collapse: Boolean,
|
|
49
|
+
showTitle: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !0
|
|
52
|
+
},
|
|
53
|
+
notDispatch: Boolean
|
|
54
|
+
},
|
|
55
|
+
setup(f, { expose: w, slots: T }) {
|
|
56
|
+
let E = d(i, null), D = y("root"), O = _(!0), k = v(() => f.enabled), A = v(() => f.disabled), j = s(() => f.enabled === !0 ? !1 : f.disabled === !0), M = s(() => f.tag === "ElCol"), N = () => O.value = !O.value, P = () => {
|
|
57
|
+
O.value = !0;
|
|
58
|
+
};
|
|
59
|
+
x(() => {
|
|
60
|
+
O.value = !f.collapse;
|
|
61
|
+
});
|
|
62
|
+
let F = {
|
|
63
|
+
$el: v(() => M.value ? D.value.$el : D.value),
|
|
64
|
+
enabled: k,
|
|
65
|
+
disabled: A,
|
|
66
|
+
open: P,
|
|
67
|
+
expand: O,
|
|
68
|
+
blockTitle: v(() => f.blockTitle)
|
|
69
|
+
}, I = g(F);
|
|
70
|
+
return h(r, I), m(() => {
|
|
71
|
+
f.notDispatch || E == null || E.addGroup(I);
|
|
72
|
+
}), p(() => {
|
|
73
|
+
f.notDispatch || E == null || E.removeGroup(I);
|
|
74
|
+
}), w(F), () => {
|
|
75
|
+
let r = () => {
|
|
76
|
+
var e;
|
|
77
|
+
return l(o, null, [S(l("div", {
|
|
78
|
+
class: "form-item-group-title",
|
|
79
|
+
onClick: N
|
|
80
|
+
}, [l("span", {
|
|
81
|
+
class: "flex-item",
|
|
82
|
+
style: "flex: 1"
|
|
83
|
+
}, [
|
|
84
|
+
T.title ? T.title() : f.blockTitle,
|
|
85
|
+
T.tips || f.tips ? l("span", { style: "color: #ff0000; font-size: 14px" }, [
|
|
86
|
+
c("("),
|
|
87
|
+
T.tips ? T.tips() : f.tips,
|
|
88
|
+
c(")")
|
|
89
|
+
]) : null,
|
|
90
|
+
(e = T["title-right"]) == null ? void 0 : e.call(T)
|
|
91
|
+
]), l("i", { class: O.value ? "el-icon-arrow-down" : "el-icon-arrow-right" }, null)]), [[b, f.showTitle]]), l(n, null, { default: () => {
|
|
92
|
+
let e;
|
|
93
|
+
return T.default ? f.wrapRow ? S(l(t, { gutter: f.gutter }, C(e = T.default()) ? e : { default: () => [e] }), [[b, O.value]]) : S(l("div", null, [T.default()]), [[b, O.value]]) : S(l(a, {
|
|
94
|
+
"font-size": "14px",
|
|
95
|
+
"empty-tips": "暂无信息"
|
|
96
|
+
}, null), [[b, O.value]]);
|
|
97
|
+
} })]);
|
|
98
|
+
}, i = {
|
|
99
|
+
ref: "root",
|
|
100
|
+
class: ["form-item-group", {
|
|
101
|
+
"default-active": f.active,
|
|
102
|
+
"is-disabled": j.value
|
|
103
|
+
}]
|
|
104
|
+
};
|
|
105
|
+
return M.value && (i.span = f.block ? 24 : f.span), u(M.value ? e : "div", i, M.value ? r : r());
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
//#endregion
|
|
110
|
+
export { w as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { n as e } from "./Beh1v279.js";
|
|
2
|
+
import { t } from "./DGDjsgmi2.js";
|
|
3
|
+
import { allProps as n } from "../props/textarea.js";
|
|
4
|
+
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
5
|
+
//#region src/components/form/FormTextarea.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/FormTextarea.vue
|
|
11
|
+
var c = {
|
|
12
|
+
name: "FormTextarea",
|
|
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
|
+
block: e.block === void 0 ? !0 : e.block,
|
|
22
|
+
type: "textarea"
|
|
23
|
+
}), s(n) ? n : { default: () => [n] });
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { c as t };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { computed as e, getCurrentInstance as t, inject as n, ref as r, unref as i, warn as a } from "vue";
|
|
2
|
+
import { fromPairs as o, get as s, isNil as c, isPlainObject as l, set as u } from "lodash-unified";
|
|
3
|
+
process.env.NODE_ENV === "production" || Object.freeze({}), process.env.NODE_ENV === "production" || Object.freeze([]);
|
|
4
|
+
var d = () => {}, f = Object.prototype.hasOwnProperty, p = (e, t) => f.call(e, t), m = Array.isArray, h = (e) => x(e) === "[object Date]", g = (e) => typeof e == "function", _ = (e) => typeof e == "string", v = (e) => typeof e == "object" && !!e, y = (e) => (v(e) || g(e)) && g(e.then) && g(e.catch), b = Object.prototype.toString, x = (e) => b.call(e), S = (e) => x(e) === "[object Object]", C = (e) => {
|
|
5
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
6
|
+
return ((n) => t[n] || (t[n] = e(n)));
|
|
7
|
+
}, w = /-\w/g, T = C((e) => e.replace(w, (e) => e.slice(1).toUpperCase())), E = /\B([A-Z])/g, D = C((e) => e.replace(E, "-$1").toLowerCase()), O = C((e) => e.charAt(0).toUpperCase() + e.slice(1)), k = (e) => e === void 0, A = (e) => typeof e == "boolean", j = (e) => typeof e == "number", M = (e) => !e && e !== 0 || m(e) && e.length === 0 || v(e) && !Object.keys(e).length, N = (e) => typeof Element > "u" ? !1 : e instanceof Element, P = (e) => c(e), F = (e) => _(e) ? !Number.isNaN(Number(e)) : !1, I = (e) => e === window, L = (e) => Object.keys(e), R = (e, t, n) => ({
|
|
8
|
+
get value() {
|
|
9
|
+
return s(e, t, n);
|
|
10
|
+
},
|
|
11
|
+
set value(n) {
|
|
12
|
+
u(e, t, n);
|
|
13
|
+
}
|
|
14
|
+
}), z = "__epPropKey", B = (e) => e, V = (e) => v(e) && !!e.__epPropKey, H = (e, t) => {
|
|
15
|
+
if (!v(e) || V(e)) return e;
|
|
16
|
+
let { values: n, required: r, default: i, type: o, validator: s } = e, c = {
|
|
17
|
+
type: o,
|
|
18
|
+
required: !!r,
|
|
19
|
+
validator: n || s ? (r) => {
|
|
20
|
+
let o = !1, c = [];
|
|
21
|
+
if (n && (c = Array.from(n), p(e, "default") && c.push(i), o || (o = c.includes(r))), s && (o || (o = s(r))), !o && c.length > 0) {
|
|
22
|
+
let e = [...new Set(c)].map((e) => JSON.stringify(e)).join(", ");
|
|
23
|
+
a(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${e}], got value ${JSON.stringify(r)}.`);
|
|
24
|
+
}
|
|
25
|
+
return o;
|
|
26
|
+
} : void 0,
|
|
27
|
+
[z]: !0
|
|
28
|
+
};
|
|
29
|
+
return p(e, "default") && (c.default = i), c;
|
|
30
|
+
}, U = (e) => o(Object.entries(e).map(([e, t]) => [e, H(t, e)])), W = "is-", G = (e, t, n, r, i) => {
|
|
31
|
+
let a = `${e}-${t}`;
|
|
32
|
+
return n && (a += `-${n}`), r && (a += `__${r}`), i && (a += `--${i}`), a;
|
|
33
|
+
}, K = Symbol("namespaceContextKey"), q = (a) => {
|
|
34
|
+
let o = a || (t() ? n(K, r("el")) : r("el"));
|
|
35
|
+
return e(() => i(o) || "el");
|
|
36
|
+
}, J = (e, t) => {
|
|
37
|
+
let n = q(t);
|
|
38
|
+
return {
|
|
39
|
+
namespace: n,
|
|
40
|
+
b: (t = "") => G(n.value, e, t, "", ""),
|
|
41
|
+
e: (t) => t ? G(n.value, e, "", t, "") : "",
|
|
42
|
+
m: (t) => t ? G(n.value, e, "", "", t) : "",
|
|
43
|
+
be: (t, r) => t && r ? G(n.value, e, t, r, "") : "",
|
|
44
|
+
em: (t, r) => t && r ? G(n.value, e, "", t, r) : "",
|
|
45
|
+
bm: (t, r) => t && r ? G(n.value, e, t, "", r) : "",
|
|
46
|
+
bem: (t, r, i) => t && r && i ? G(n.value, e, t, r, i) : "",
|
|
47
|
+
is: (e, ...t) => {
|
|
48
|
+
let n = t.length >= 1 ? t[0] : !0;
|
|
49
|
+
return e && n ? `${W}${e}` : "";
|
|
50
|
+
},
|
|
51
|
+
cssVar: (e) => {
|
|
52
|
+
let t = {};
|
|
53
|
+
for (let r in e) e[r] && (t[`--${n.value}-${r}`] = e[r]);
|
|
54
|
+
return t;
|
|
55
|
+
},
|
|
56
|
+
cssVarName: (e) => `--${n.value}-${e}`,
|
|
57
|
+
cssVarBlock: (t) => {
|
|
58
|
+
let r = {};
|
|
59
|
+
for (let i in t) t[i] && (r[`--${n.value}-${e}-${i}`] = t[i]);
|
|
60
|
+
return r;
|
|
61
|
+
},
|
|
62
|
+
cssVarBlockName: (t) => `--${n.value}-${e}-${t}`
|
|
63
|
+
};
|
|
64
|
+
}, Y = (e) => {
|
|
65
|
+
let t = e.props, n = m(t) ? o(t.map((e) => [e, {}])) : t;
|
|
66
|
+
e.setPropsDefaults = (t) => {
|
|
67
|
+
if (n) {
|
|
68
|
+
for (let [e, r] of Object.entries(t)) {
|
|
69
|
+
let t = n[e];
|
|
70
|
+
if (p(n, e)) {
|
|
71
|
+
if (l(t)) {
|
|
72
|
+
n[e] = {
|
|
73
|
+
...t,
|
|
74
|
+
default: r
|
|
75
|
+
};
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
n[e] = {
|
|
79
|
+
type: t,
|
|
80
|
+
default: r
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
e.props = n;
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}, X = (e, t) => {
|
|
88
|
+
if (e.install = (n) => {
|
|
89
|
+
for (let r of [e, ...Object.values(t ?? {})]) n.component(r.name, r);
|
|
90
|
+
}, t) for (let [n, r] of Object.entries(t)) e[n] = r;
|
|
91
|
+
return Y(e), e;
|
|
92
|
+
}, Z = (e, t) => (e.install = (n) => {
|
|
93
|
+
e._context = n._context, n.config.globalProperties[t] = e;
|
|
94
|
+
}, e), Q = (e, t) => (e.install = (n) => {
|
|
95
|
+
n.directive(t, e);
|
|
96
|
+
}, e), $ = (e) => (e.install = d, Y(e), e);
|
|
97
|
+
//#endregion
|
|
98
|
+
export { S as A, O as C, h as D, m as E, _ as M, g as O, T as S, D as T, P as _, K as a, I as b, H as c, R as d, L as f, j as g, M as h, $ as i, y as j, v as k, U as l, N as m, Q as n, q as o, A as p, Z as r, J as s, X as t, B as u, F as v, p as w, d as x, k as y };
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { t as e } from "./B1EPd8qV.js";
|
|
2
|
+
//#region node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/dayjs.min.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
(function(n, r) {
|
|
5
|
+
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
|
|
6
|
+
})(e, (function() {
|
|
7
|
+
var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
|
|
8
|
+
name: "en",
|
|
9
|
+
weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
10
|
+
months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
11
|
+
ordinal: function(e) {
|
|
12
|
+
var t = [
|
|
13
|
+
"th",
|
|
14
|
+
"st",
|
|
15
|
+
"nd",
|
|
16
|
+
"rd"
|
|
17
|
+
], n = e % 100;
|
|
18
|
+
return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
|
|
19
|
+
}
|
|
20
|
+
}, _ = function(e, t, n) {
|
|
21
|
+
var r = String(e);
|
|
22
|
+
return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
|
|
23
|
+
}, v = {
|
|
24
|
+
s: _,
|
|
25
|
+
z: function(e) {
|
|
26
|
+
var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
|
|
27
|
+
return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
|
|
28
|
+
},
|
|
29
|
+
m: function e(t, n) {
|
|
30
|
+
if (t.date() < n.date()) return -e(n, t);
|
|
31
|
+
var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
|
|
32
|
+
return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
|
|
33
|
+
},
|
|
34
|
+
a: function(e) {
|
|
35
|
+
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
36
|
+
},
|
|
37
|
+
p: function(e) {
|
|
38
|
+
return {
|
|
39
|
+
M: l,
|
|
40
|
+
y: d,
|
|
41
|
+
w: c,
|
|
42
|
+
d: s,
|
|
43
|
+
D: f,
|
|
44
|
+
h: o,
|
|
45
|
+
m: a,
|
|
46
|
+
s: i,
|
|
47
|
+
ms: r,
|
|
48
|
+
Q: u
|
|
49
|
+
}[e] || String(e || "").toLowerCase().replace(/s$/, "");
|
|
50
|
+
},
|
|
51
|
+
u: function(e) {
|
|
52
|
+
return e === void 0;
|
|
53
|
+
}
|
|
54
|
+
}, y = "en", b = {};
|
|
55
|
+
b[y] = g;
|
|
56
|
+
var x = "$isDayjsObject", S = function(e) {
|
|
57
|
+
return e instanceof E || !(!e || !e[x]);
|
|
58
|
+
}, C = function e(t, n, r) {
|
|
59
|
+
var i;
|
|
60
|
+
if (!t) return y;
|
|
61
|
+
if (typeof t == "string") {
|
|
62
|
+
var a = t.toLowerCase();
|
|
63
|
+
b[a] && (i = a), n && (b[a] = n, i = a);
|
|
64
|
+
var o = t.split("-");
|
|
65
|
+
if (!i && o.length > 1) return e(o[0]);
|
|
66
|
+
} else {
|
|
67
|
+
var s = t.name;
|
|
68
|
+
b[s] = t, i = s;
|
|
69
|
+
}
|
|
70
|
+
return !r && i && (y = i), i || !r && y;
|
|
71
|
+
}, w = function(e, t) {
|
|
72
|
+
if (S(e)) return e.clone();
|
|
73
|
+
var n = typeof t == "object" ? t : {};
|
|
74
|
+
return n.date = e, n.args = arguments, new E(n);
|
|
75
|
+
}, T = v;
|
|
76
|
+
T.l = C, T.i = S, T.w = function(e, t) {
|
|
77
|
+
return w(e, {
|
|
78
|
+
locale: t.$L,
|
|
79
|
+
utc: t.$u,
|
|
80
|
+
x: t.$x,
|
|
81
|
+
$offset: t.$offset
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
var E = function() {
|
|
85
|
+
function g(e) {
|
|
86
|
+
this.$L = C(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[x] = !0;
|
|
87
|
+
}
|
|
88
|
+
var _ = g.prototype;
|
|
89
|
+
return _.parse = function(e) {
|
|
90
|
+
this.$d = function(e) {
|
|
91
|
+
var t = e.date, n = e.utc;
|
|
92
|
+
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
93
|
+
if (T.u(t)) return /* @__PURE__ */ new Date();
|
|
94
|
+
if (t instanceof Date) return new Date(t);
|
|
95
|
+
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
96
|
+
var r = t.match(m);
|
|
97
|
+
if (r) {
|
|
98
|
+
var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
|
|
99
|
+
return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return new Date(t);
|
|
103
|
+
}(e), this.init();
|
|
104
|
+
}, _.init = function() {
|
|
105
|
+
var e = this.$d;
|
|
106
|
+
this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
|
|
107
|
+
}, _.$utils = function() {
|
|
108
|
+
return T;
|
|
109
|
+
}, _.isValid = function() {
|
|
110
|
+
return this.$d.toString() !== p;
|
|
111
|
+
}, _.isSame = function(e, t) {
|
|
112
|
+
var n = w(e);
|
|
113
|
+
return this.startOf(t) <= n && n <= this.endOf(t);
|
|
114
|
+
}, _.isAfter = function(e, t) {
|
|
115
|
+
return w(e) < this.startOf(t);
|
|
116
|
+
}, _.isBefore = function(e, t) {
|
|
117
|
+
return this.endOf(t) < w(e);
|
|
118
|
+
}, _.$g = function(e, t, n) {
|
|
119
|
+
return T.u(e) ? this[t] : this.set(n, e);
|
|
120
|
+
}, _.unix = function() {
|
|
121
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
122
|
+
}, _.valueOf = function() {
|
|
123
|
+
return this.$d.getTime();
|
|
124
|
+
}, _.startOf = function(e, t) {
|
|
125
|
+
var n = this, r = !!T.u(t) || t, u = T.p(e), p = function(e, t) {
|
|
126
|
+
var i = T.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
|
|
127
|
+
return r ? i : i.endOf(s);
|
|
128
|
+
}, m = function(e, t) {
|
|
129
|
+
return T.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
|
|
130
|
+
0,
|
|
131
|
+
0,
|
|
132
|
+
0,
|
|
133
|
+
0
|
|
134
|
+
] : [
|
|
135
|
+
23,
|
|
136
|
+
59,
|
|
137
|
+
59,
|
|
138
|
+
999
|
|
139
|
+
]).slice(t)), n);
|
|
140
|
+
}, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
|
|
141
|
+
switch (u) {
|
|
142
|
+
case d: return r ? p(1, 0) : p(31, 11);
|
|
143
|
+
case l: return r ? p(1, g) : p(0, g + 1);
|
|
144
|
+
case c:
|
|
145
|
+
var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
|
|
146
|
+
return p(r ? _ - b : _ + (6 - b), g);
|
|
147
|
+
case s:
|
|
148
|
+
case f: return m(v + "Hours", 0);
|
|
149
|
+
case o: return m(v + "Minutes", 1);
|
|
150
|
+
case a: return m(v + "Seconds", 2);
|
|
151
|
+
case i: return m(v + "Milliseconds", 3);
|
|
152
|
+
default: return this.clone();
|
|
153
|
+
}
|
|
154
|
+
}, _.endOf = function(e) {
|
|
155
|
+
return this.startOf(e, !1);
|
|
156
|
+
}, _.$set = function(e, t) {
|
|
157
|
+
var n, c = T.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
|
|
158
|
+
if (c === l || c === d) {
|
|
159
|
+
var h = this.clone().set(f, 1);
|
|
160
|
+
h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
|
|
161
|
+
} else p && this.$d[p](m);
|
|
162
|
+
return this.init(), this;
|
|
163
|
+
}, _.set = function(e, t) {
|
|
164
|
+
return this.clone().$set(e, t);
|
|
165
|
+
}, _.get = function(e) {
|
|
166
|
+
return this[T.p(e)]();
|
|
167
|
+
}, _.add = function(r, u) {
|
|
168
|
+
var f, p = this;
|
|
169
|
+
r = Number(r);
|
|
170
|
+
var m = T.p(u), h = function(e) {
|
|
171
|
+
var t = w(p);
|
|
172
|
+
return T.w(t.date(t.date() + Math.round(e * r)), p);
|
|
173
|
+
};
|
|
174
|
+
if (m === l) return this.set(l, this.$M + r);
|
|
175
|
+
if (m === d) return this.set(d, this.$y + r);
|
|
176
|
+
if (m === s) return h(1);
|
|
177
|
+
if (m === c) return h(7);
|
|
178
|
+
var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
|
|
179
|
+
return T.w(_, this);
|
|
180
|
+
}, _.subtract = function(e, t) {
|
|
181
|
+
return this.add(-1 * e, t);
|
|
182
|
+
}, _.format = function(e) {
|
|
183
|
+
var t = this, n = this.$locale();
|
|
184
|
+
if (!this.isValid()) return n.invalidDate || p;
|
|
185
|
+
var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = T.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
|
|
186
|
+
return e && (e[n] || e(t, r)) || i[n].slice(0, a);
|
|
187
|
+
}, f = function(e) {
|
|
188
|
+
return T.s(a % 12 || 12, e, "0");
|
|
189
|
+
}, m = u || function(e, t, n) {
|
|
190
|
+
var r = e < 12 ? "AM" : "PM";
|
|
191
|
+
return n ? r.toLowerCase() : r;
|
|
192
|
+
};
|
|
193
|
+
return r.replace(h, (function(e, r) {
|
|
194
|
+
return r || function(e) {
|
|
195
|
+
switch (e) {
|
|
196
|
+
case "YY": return String(t.$y).slice(-2);
|
|
197
|
+
case "YYYY": return T.s(t.$y, 4, "0");
|
|
198
|
+
case "M": return s + 1;
|
|
199
|
+
case "MM": return T.s(s + 1, 2, "0");
|
|
200
|
+
case "MMM": return d(n.monthsShort, s, l, 3);
|
|
201
|
+
case "MMMM": return d(l, s);
|
|
202
|
+
case "D": return t.$D;
|
|
203
|
+
case "DD": return T.s(t.$D, 2, "0");
|
|
204
|
+
case "d": return String(t.$W);
|
|
205
|
+
case "dd": return d(n.weekdaysMin, t.$W, c, 2);
|
|
206
|
+
case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
|
|
207
|
+
case "dddd": return c[t.$W];
|
|
208
|
+
case "H": return String(a);
|
|
209
|
+
case "HH": return T.s(a, 2, "0");
|
|
210
|
+
case "h": return f(1);
|
|
211
|
+
case "hh": return f(2);
|
|
212
|
+
case "a": return m(a, o, !0);
|
|
213
|
+
case "A": return m(a, o, !1);
|
|
214
|
+
case "m": return String(o);
|
|
215
|
+
case "mm": return T.s(o, 2, "0");
|
|
216
|
+
case "s": return String(t.$s);
|
|
217
|
+
case "ss": return T.s(t.$s, 2, "0");
|
|
218
|
+
case "SSS": return T.s(t.$ms, 3, "0");
|
|
219
|
+
case "Z": return i;
|
|
220
|
+
}
|
|
221
|
+
return null;
|
|
222
|
+
}(e) || i.replace(":", "");
|
|
223
|
+
}));
|
|
224
|
+
}, _.utcOffset = function() {
|
|
225
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
226
|
+
}, _.diff = function(r, f, p) {
|
|
227
|
+
var m, h = this, g = T.p(f), _ = w(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
|
|
228
|
+
return T.m(h, _);
|
|
229
|
+
};
|
|
230
|
+
switch (g) {
|
|
231
|
+
case d:
|
|
232
|
+
m = b() / 12;
|
|
233
|
+
break;
|
|
234
|
+
case l:
|
|
235
|
+
m = b();
|
|
236
|
+
break;
|
|
237
|
+
case u:
|
|
238
|
+
m = b() / 3;
|
|
239
|
+
break;
|
|
240
|
+
case c:
|
|
241
|
+
m = (y - v) / 6048e5;
|
|
242
|
+
break;
|
|
243
|
+
case s:
|
|
244
|
+
m = (y - v) / 864e5;
|
|
245
|
+
break;
|
|
246
|
+
case o:
|
|
247
|
+
m = y / n;
|
|
248
|
+
break;
|
|
249
|
+
case a:
|
|
250
|
+
m = y / t;
|
|
251
|
+
break;
|
|
252
|
+
case i:
|
|
253
|
+
m = y / e;
|
|
254
|
+
break;
|
|
255
|
+
default: m = y;
|
|
256
|
+
}
|
|
257
|
+
return p ? m : T.a(m);
|
|
258
|
+
}, _.daysInMonth = function() {
|
|
259
|
+
return this.endOf(l).$D;
|
|
260
|
+
}, _.$locale = function() {
|
|
261
|
+
return b[this.$L];
|
|
262
|
+
}, _.locale = function(e, t) {
|
|
263
|
+
if (!e) return this.$L;
|
|
264
|
+
var n = this.clone(), r = C(e, t, !0);
|
|
265
|
+
return r && (n.$L = r), n;
|
|
266
|
+
}, _.clone = function() {
|
|
267
|
+
return T.w(this.$d, this);
|
|
268
|
+
}, _.toDate = function() {
|
|
269
|
+
return new Date(this.valueOf());
|
|
270
|
+
}, _.toJSON = function() {
|
|
271
|
+
return this.isValid() ? this.toISOString() : null;
|
|
272
|
+
}, _.toISOString = function() {
|
|
273
|
+
return this.$d.toISOString();
|
|
274
|
+
}, _.toString = function() {
|
|
275
|
+
return this.$d.toUTCString();
|
|
276
|
+
}, g;
|
|
277
|
+
}(), D = E.prototype;
|
|
278
|
+
return w.prototype = D, [
|
|
279
|
+
["$ms", r],
|
|
280
|
+
["$s", i],
|
|
281
|
+
["$m", a],
|
|
282
|
+
["$H", o],
|
|
283
|
+
["$W", s],
|
|
284
|
+
["$M", l],
|
|
285
|
+
["$y", d],
|
|
286
|
+
["$D", f]
|
|
287
|
+
].forEach((function(e) {
|
|
288
|
+
D[e[1]] = function(t) {
|
|
289
|
+
return this.$g(t, e[0], e[1]);
|
|
290
|
+
};
|
|
291
|
+
})), w.extend = function(e, t) {
|
|
292
|
+
return e.$i || (e(t, E, w), e.$i = !0), w;
|
|
293
|
+
}, w.locale = C, w.isDayjs = S, w.unix = function(e) {
|
|
294
|
+
return w(1e3 * e);
|
|
295
|
+
}, w.en = b[y], w.Ls = b, w.p = {}, w;
|
|
296
|
+
}));
|
|
297
|
+
}));
|
|
298
|
+
//#endregion
|
|
299
|
+
export { t };
|