@silver-formily/element-plus 3.0.2 → 3.0.3
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/README.en-US.md +1 -1
- package/README.md +1 -1
- package/esm/__builtins__/configs/index.mjs +6 -5
- package/esm/__builtins__/configs/index.mjs.map +1 -1
- package/esm/__builtins__/shared/load-config-provider.mjs +19 -11
- package/esm/__builtins__/shared/load-config-provider.mjs.map +1 -1
- package/esm/__builtins__/shared/loading.mjs +50 -46
- package/esm/__builtins__/shared/loading.mjs.map +1 -1
- package/esm/__builtins__/shared/simple-version-compare.mjs +16 -15
- package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
- package/esm/__builtins__/shared/transform-component.mjs +30 -31
- package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
- package/esm/__builtins__/shared/use-enter-submit.mjs +74 -62
- package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -1
- package/esm/__builtins__/shared/utils.mjs +44 -32
- package/esm/__builtins__/shared/utils.mjs.map +1 -1
- package/esm/_virtual/_/plugin-vue/export-helper.mjs +8 -0
- package/esm/array-base/array-base-addition.mjs +53 -0
- package/esm/array-base/array-base-addition.mjs.map +1 -0
- package/esm/array-base/array-base-index.mjs +17 -0
- package/esm/array-base/array-base-index.mjs.map +1 -0
- package/esm/array-base/array-base-inner.mjs +30 -0
- package/esm/array-base/array-base-inner.mjs.map +1 -0
- package/esm/array-base/array-base-item.mjs +21 -0
- package/esm/array-base/array-base-item.mjs.map +1 -0
- package/esm/array-base/array-base-move-down.mjs +45 -0
- package/esm/array-base/array-base-move-down.mjs.map +1 -0
- package/esm/array-base/array-base-move-up.mjs +45 -0
- package/esm/array-base/array-base-move-up.mjs.map +1 -0
- package/esm/array-base/array-base-remove.mjs +45 -0
- package/esm/array-base/array-base-remove.mjs.map +1 -0
- package/esm/array-base/array-base-sort-handle.mjs +33 -0
- package/esm/array-base/array-base-sort-handle.mjs.map +1 -0
- package/esm/array-base/index.mjs +28 -208
- package/esm/array-base/index.mjs.map +1 -1
- package/esm/array-base/style.css +36 -0
- package/esm/array-base/symbols.mjs +7 -6
- package/esm/array-base/symbols.mjs.map +1 -1
- package/esm/array-base/types.d.ts +23 -24
- package/esm/array-base/utils.d.ts +11 -17
- package/esm/array-base/utils.mjs +58 -60
- package/esm/array-base/utils.mjs.map +1 -1
- package/esm/array-cards/array-cards.mjs +109 -0
- package/esm/array-cards/array-cards.mjs.map +1 -0
- package/esm/array-cards/index.d.ts +120 -113
- package/esm/array-cards/index.mjs +19 -118
- package/esm/array-cards/index.mjs.map +1 -1
- package/esm/array-cards/style.css +20 -0
- package/esm/array-collapse/array-collapse-item.mjs +74 -0
- package/esm/array-collapse/array-collapse-item.mjs.map +1 -0
- package/esm/array-collapse/array-collapse.mjs +117 -0
- package/esm/array-collapse/array-collapse.mjs.map +1 -0
- package/esm/array-collapse/index.d.ts +137 -129
- package/esm/array-collapse/index.mjs +21 -174
- package/esm/array-collapse/index.mjs.map +1 -1
- package/esm/array-collapse/style.css +20 -0
- package/esm/array-collapse/utils.mjs +7 -12
- package/esm/array-collapse/utils.mjs.map +1 -1
- package/esm/array-items/array-items-item.mjs +22 -0
- package/esm/array-items/array-items-item.mjs.map +1 -0
- package/esm/array-items/array-items.mjs +88 -0
- package/esm/array-items/array-items.mjs.map +1 -0
- package/esm/array-items/index.d.ts +132 -125
- package/esm/array-items/index.mjs +21 -107
- package/esm/array-items/index.mjs.map +1 -1
- package/esm/array-items/style.css +22 -0
- package/esm/array-list-tabs/array-list-tabs.mjs +191 -0
- package/esm/array-list-tabs/array-list-tabs.mjs.map +1 -0
- package/esm/array-list-tabs/index.d.ts +80 -74
- package/esm/array-list-tabs/index.mjs +12 -186
- package/esm/array-list-tabs/index.mjs.map +1 -1
- package/esm/array-list-tabs/style.css +90 -0
- package/esm/array-list-tabs/utils.mjs +11 -15
- package/esm/array-list-tabs/utils.mjs.map +1 -1
- package/esm/array-table/array-table.mjs +236 -0
- package/esm/array-table/array-table.mjs.map +1 -0
- package/esm/array-table/index.d.ts +106 -1597
- package/esm/array-table/index.mjs +24 -223
- package/esm/array-table/index.mjs.map +1 -1
- package/esm/array-table/style.css +23 -0
- package/esm/array-table/types.d.ts +11 -6
- package/esm/array-table/utils.mjs +14 -22
- package/esm/array-table/utils.mjs.map +1 -1
- package/esm/array-tabs/array-tabs.mjs +92 -0
- package/esm/array-tabs/array-tabs.mjs.map +1 -0
- package/esm/array-tabs/index.d.ts +7 -2
- package/esm/array-tabs/index.mjs +8 -84
- package/esm/array-tabs/index.mjs.map +1 -1
- package/esm/array-tabs/style.css +7 -0
- package/esm/autocomplete/autocomplete.mjs +99 -0
- package/esm/autocomplete/autocomplete.mjs.map +1 -0
- package/esm/autocomplete/index.d.ts +5 -639
- package/esm/autocomplete/index.mjs +14 -113
- package/esm/autocomplete/index.mjs.map +1 -1
- package/esm/cascader/cascader.mjs +32 -0
- package/esm/cascader/cascader.mjs.map +1 -0
- package/esm/cascader/index.d.ts +5 -28
- package/esm/cascader/index.mjs +13 -50
- package/esm/cascader/index.mjs.map +1 -1
- package/esm/checkbox/checkbox-group.mjs +64 -0
- package/esm/checkbox/checkbox-group.mjs.map +1 -0
- package/esm/checkbox/index.d.ts +5 -817
- package/esm/checkbox/index.mjs +16 -69
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/color-picker/index.d.ts +8 -210
- package/esm/color-picker/index.mjs +13 -17
- package/esm/color-picker/index.mjs.map +1 -1
- package/esm/color-picker-panel/index.d.ts +8 -129
- package/esm/color-picker-panel/index.mjs +16 -25
- package/esm/color-picker-panel/index.mjs.map +1 -1
- package/esm/date-picker/index.d.ts +5 -443
- package/esm/date-picker/index.mjs +21 -29
- package/esm/date-picker/index.mjs.map +1 -1
- package/esm/date-picker/utils.mjs +21 -26
- package/esm/date-picker/utils.mjs.map +1 -1
- package/esm/date-picker-panel/index.d.ts +5 -143
- package/esm/date-picker-panel/index.mjs +23 -30
- package/esm/date-picker-panel/index.mjs.map +1 -1
- package/esm/editable/editable-popover.mjs +95 -0
- package/esm/editable/editable-popover.mjs.map +1 -0
- package/esm/editable/editable.mjs +113 -0
- package/esm/editable/editable.mjs.map +1 -0
- package/esm/editable/index.d.ts +10 -150
- package/esm/editable/index.mjs +17 -219
- package/esm/editable/index.mjs.map +1 -1
- package/esm/editable/style.css +29 -0
- package/esm/form/form.mjs +50 -70
- package/esm/form/form.mjs.map +1 -1
- package/esm/form/form.vue.d.ts +48 -0
- package/esm/form/index.d.ts +1 -1
- package/esm/form-button-group/form-button-group-sticky.mjs +37 -0
- package/esm/form-button-group/form-button-group-sticky.mjs.map +1 -0
- package/esm/form-button-group/form-button-group.mjs +71 -0
- package/esm/form-button-group/form-button-group.mjs.map +1 -0
- package/esm/form-button-group/index.d.ts +94 -87
- package/esm/form-button-group/index.mjs +10 -96
- package/esm/form-button-group/index.mjs.map +1 -1
- package/esm/form-button-group/style.css +281 -0
- package/esm/form-button-group/utils.mjs +7 -12
- package/esm/form-button-group/utils.mjs.map +1 -1
- package/esm/form-collapse/form-collapse.mjs +74 -0
- package/esm/form-collapse/form-collapse.mjs.map +1 -0
- package/esm/form-collapse/index.d.ts +43 -39
- package/esm/form-collapse/index.mjs +20 -86
- package/esm/form-collapse/index.mjs.map +1 -1
- package/esm/form-collapse/style.css +7 -0
- package/esm/form-collapse/utils.d.ts +21 -27
- package/esm/form-collapse/utils.mjs +48 -46
- package/esm/form-collapse/utils.mjs.map +1 -1
- package/esm/form-dialog/dialog-content.mjs +118 -0
- package/esm/form-dialog/dialog-content.mjs.map +1 -0
- package/esm/form-dialog/index.d.ts +8 -4
- package/esm/form-dialog/index.mjs +142 -211
- package/esm/form-dialog/index.mjs.map +1 -1
- package/esm/form-dialog/types.d.ts +38 -32
- package/esm/form-drawer/drawer-content.mjs +118 -0
- package/esm/form-drawer/drawer-content.mjs.map +1 -0
- package/esm/form-drawer/index.d.ts +8 -4
- package/esm/form-drawer/index.mjs +142 -204
- package/esm/form-drawer/index.mjs.map +1 -1
- package/esm/form-drawer/types.d.ts +38 -32
- package/esm/form-grid/form-grid-column.mjs +28 -0
- package/esm/form-grid/form-grid-column.mjs.map +1 -0
- package/esm/form-grid/form-grid.mjs +69 -0
- package/esm/form-grid/form-grid.mjs.map +1 -0
- package/esm/form-grid/hooks.mjs +7 -7
- package/esm/form-grid/hooks.mjs.map +1 -1
- package/esm/form-grid/index.d.ts +5 -2
- package/esm/form-grid/index.mjs +10 -109
- package/esm/form-grid/index.mjs.map +1 -1
- package/esm/form-grid/style.css +128 -0
- package/esm/form-item/form-item.mjs +308 -0
- package/esm/form-item/form-item.mjs.map +1 -0
- package/esm/form-item/form-item.vue.d.ts +29 -0
- package/esm/form-item/index.d.ts +9 -77
- package/esm/form-item/index.mjs +28 -332
- package/esm/form-item/index.mjs.map +1 -1
- package/esm/form-item/style.css +263 -0
- package/esm/form-item/types.d.ts +34 -29
- package/esm/form-item/utils.mjs +15 -15
- package/esm/form-item/utils.mjs.map +1 -1
- package/esm/form-layout/form-layout.mjs +103 -83
- package/esm/form-layout/form-layout.mjs.map +1 -1
- package/esm/form-layout/form-layout.vue.d.ts +28 -0
- package/esm/form-layout/index.d.ts +1 -1
- package/esm/form-layout/types.d.ts +24 -40
- package/esm/form-layout/utils.mjs +73 -99
- package/esm/form-layout/utils.mjs.map +1 -1
- package/esm/form-step/form-step-pane.mjs +15 -0
- package/esm/form-step/form-step-pane.mjs.map +1 -0
- package/esm/form-step/form-step.mjs +63 -0
- package/esm/form-step/form-step.mjs.map +1 -0
- package/esm/form-step/index.d.ts +29 -23
- package/esm/form-step/index.mjs +12 -93
- package/esm/form-step/index.mjs.map +1 -1
- package/esm/form-step/types.d.ts +19 -19
- package/esm/form-step/utils.d.ts +14 -10
- package/esm/form-step/utils.mjs +75 -59
- package/esm/form-step/utils.mjs.map +1 -1
- package/esm/form-tab/form-tab.mjs +79 -0
- package/esm/form-tab/form-tab.mjs.map +1 -0
- package/esm/form-tab/hooks.mjs +18 -16
- package/esm/form-tab/hooks.mjs.map +1 -1
- package/esm/form-tab/index.d.ts +5 -3
- package/esm/form-tab/index.mjs +10 -76
- package/esm/form-tab/index.mjs.map +1 -1
- package/esm/form-tab/style.css +4 -0
- package/esm/form-tab/utils.mjs +14 -13
- package/esm/form-tab/utils.mjs.map +1 -1
- package/esm/index.d.ts +53 -48
- package/esm/index.mjs +50 -103
- package/esm/input/index.d.ts +5 -52
- package/esm/input/index.mjs +16 -68
- package/esm/input/index.mjs.map +1 -1
- package/esm/input/input.mjs +41 -0
- package/esm/input/input.mjs.map +1 -0
- package/esm/input-number/index.d.ts +8 -329
- package/esm/input-number/index.mjs +12 -24
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/input-tag/index.d.ts +5 -32
- package/esm/input-tag/index.mjs +13 -49
- package/esm/input-tag/index.mjs.map +1 -1
- package/esm/input-tag/input-tag.mjs +41 -0
- package/esm/input-tag/input-tag.mjs.map +1 -0
- package/esm/mention/index.d.ts +5 -50
- package/esm/mention/index.mjs +15 -96
- package/esm/mention/index.mjs.map +1 -1
- package/esm/mention/mention.mjs +77 -0
- package/esm/mention/mention.mjs.map +1 -0
- package/esm/pagination/components/jumper.mjs +11 -12
- package/esm/pagination/components/jumper.mjs.map +1 -1
- package/esm/pagination/components/jumper2.mjs +59 -0
- package/esm/pagination/components/jumper2.mjs.map +1 -0
- package/esm/pagination/components/next.mjs +18 -22
- package/esm/pagination/components/next.mjs.map +1 -1
- package/esm/pagination/components/next2.mjs +38 -0
- package/esm/pagination/components/next2.mjs.map +1 -0
- package/esm/pagination/components/pager.mjs +21 -22
- package/esm/pagination/components/pager.mjs.map +1 -1
- package/esm/pagination/components/pager2.mjs +229 -0
- package/esm/pagination/components/pager2.mjs.map +1 -0
- package/esm/pagination/components/prev.mjs +16 -22
- package/esm/pagination/components/prev.mjs.map +1 -1
- package/esm/pagination/components/prev2.mjs +38 -0
- package/esm/pagination/components/prev2.mjs.map +1 -0
- package/esm/pagination/components/sizes.mjs +32 -7
- package/esm/pagination/components/sizes.mjs.map +1 -1
- package/esm/pagination/components/sizes2.mjs +66 -0
- package/esm/pagination/components/sizes2.mjs.map +1 -0
- package/esm/pagination/components/total.mjs +10 -11
- package/esm/pagination/components/total.mjs.map +1 -1
- package/esm/pagination/components/total2.mjs +26 -0
- package/esm/pagination/components/total2.mjs.map +1 -0
- package/esm/pagination/pagination.mjs +271 -626
- package/esm/pagination/pagination.mjs.map +1 -1
- package/esm/password/index.d.ts +8 -54
- package/esm/password/index.mjs +11 -14
- package/esm/password/index.mjs.map +1 -1
- package/esm/preview-text/cascader.mjs +51 -0
- package/esm/preview-text/cascader.mjs.map +1 -0
- package/esm/preview-text/color-picker.mjs +37 -0
- package/esm/preview-text/color-picker.mjs.map +1 -0
- package/esm/preview-text/date-picker.mjs +61 -0
- package/esm/preview-text/date-picker.mjs.map +1 -0
- package/esm/preview-text/index.d.ts +107 -106
- package/esm/preview-text/index.mjs +25 -363
- package/esm/preview-text/index.mjs.map +1 -1
- package/esm/preview-text/input.mjs +39 -0
- package/esm/preview-text/input.mjs.map +1 -0
- package/esm/preview-text/preview.mjs +30 -0
- package/esm/preview-text/preview.mjs.map +1 -0
- package/esm/preview-text/rate.mjs +32 -0
- package/esm/preview-text/rate.mjs.map +1 -0
- package/esm/preview-text/select.mjs +42 -0
- package/esm/preview-text/select.mjs.map +1 -0
- package/esm/preview-text/style.css +16 -0
- package/esm/preview-text/time-picker.mjs +39 -0
- package/esm/preview-text/time-picker.mjs.map +1 -0
- package/esm/preview-text/tree.mjs +73 -0
- package/esm/preview-text/tree.mjs.map +1 -0
- package/esm/preview-text/utils.d.ts +10 -13
- package/esm/preview-text/utils.mjs +15 -15
- package/esm/preview-text/utils.mjs.map +1 -1
- package/esm/query-form/default-components.mjs +45 -45
- package/esm/query-form/default-components.mjs.map +1 -1
- package/esm/query-form/hooks.mjs +31 -26
- package/esm/query-form/hooks.mjs.map +1 -1
- package/esm/query-form/index.d.ts +115 -105
- package/esm/query-form/index.mjs +10 -333
- package/esm/query-form/index.mjs.map +1 -1
- package/esm/query-form/query-form-light.mjs +86 -0
- package/esm/query-form/query-form-light.mjs.map +1 -0
- package/esm/query-form/query-form.mjs +263 -0
- package/esm/query-form/query-form.mjs.map +1 -0
- package/esm/query-form/style.css +27 -0
- package/esm/query-form/types.d.ts +42 -41
- package/esm/query-form-item/index.d.ts +7 -151
- package/esm/query-form-item/index.mjs +15 -183
- package/esm/query-form-item/index.mjs.map +1 -1
- package/esm/query-form-item/query-form-item.mjs +195 -0
- package/esm/query-form-item/query-form-item.mjs.map +1 -0
- package/esm/query-form-item/style.css +12 -0
- package/esm/query-form-item/types.d.ts +42 -38
- package/esm/radio/index.d.ts +429 -473
- package/esm/radio/index.mjs +15 -68
- package/esm/radio/index.mjs.map +1 -1
- package/esm/radio/radio-group.mjs +70 -0
- package/esm/radio/radio-group.mjs.map +1 -0
- package/esm/{styles/radio/index.css → radio/style.css} +3 -1
- package/esm/rate/index.d.ts +8 -187
- package/esm/rate/index.mjs +13 -17
- package/esm/rate/index.mjs.map +1 -1
- package/esm/reset/index.d.ts +5 -2
- package/esm/reset/index.mjs +8 -44
- package/esm/reset/index.mjs.map +1 -1
- package/esm/reset/reset.mjs +42 -0
- package/esm/reset/reset.mjs.map +1 -0
- package/esm/segmented/index.d.ts +5 -26
- package/esm/segmented/index.mjs +13 -40
- package/esm/segmented/index.mjs.map +1 -1
- package/esm/segmented/segmented.mjs +26 -0
- package/esm/segmented/segmented.mjs.map +1 -0
- package/esm/select/index.d.ts +5 -129
- package/esm/select/index.mjs +14 -127
- package/esm/select/index.mjs.map +1 -1
- package/esm/select/select.mjs +95 -0
- package/esm/select/select.mjs.map +1 -0
- package/esm/select-table/index.d.ts +4 -1557
- package/esm/select-table/index.mjs +12 -204
- package/esm/select-table/index.mjs.map +1 -1
- package/esm/select-table/select-table.mjs +202 -0
- package/esm/select-table/select-table.mjs.map +1 -0
- package/esm/select-table/style.css +14 -0
- package/esm/shared/overlay-elements.mjs +15 -16
- package/esm/shared/overlay-elements.mjs.map +1 -1
- package/esm/shared/url-change-listener.mjs +50 -0
- package/esm/shared/url-change-listener.mjs.map +1 -0
- package/esm/slider/index.d.ts +8 -177
- package/esm/slider/index.mjs +13 -17
- package/esm/slider/index.mjs.map +1 -1
- package/esm/space/index.d.ts +2 -1
- package/esm/space/index.mjs +2 -6
- package/esm/submit/index.d.ts +5 -2
- package/esm/submit/index.mjs +8 -40
- package/esm/submit/index.mjs.map +1 -1
- package/esm/submit/submit.mjs +41 -0
- package/esm/submit/submit.mjs.map +1 -0
- package/esm/switch/index.d.ts +8 -299
- package/esm/switch/index.mjs +8 -13
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.d.ts +8 -445
- package/esm/time-picker/index.mjs +10 -17
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.d.ts +5 -185
- package/esm/time-select/index.mjs +13 -17
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.d.ts +8 -267
- package/esm/transfer/index.mjs +8 -11
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.d.ts +4 -41
- package/esm/tree/index.mjs +14 -104
- package/esm/tree/index.mjs.map +1 -1
- package/esm/tree/tree.mjs +127 -0
- package/esm/tree/tree.mjs.map +1 -0
- package/esm/tree/utils.mjs +157 -149
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.d.ts +5 -16
- package/esm/tree-select/index.mjs +13 -40
- package/esm/tree-select/index.mjs.map +1 -1
- package/esm/tree-select/tree-select.mjs +38 -0
- package/esm/tree-select/tree-select.mjs.map +1 -0
- package/esm/upload/index.d.ts +5 -712
- package/esm/upload/index.mjs +11 -172
- package/esm/upload/index.mjs.map +1 -1
- package/esm/upload/upload.mjs +176 -0
- package/esm/upload/upload.mjs.map +1 -0
- package/package.json +23 -24
- package/esm/__builtins__/configs/index.d.ts +0 -1
- package/esm/__builtins__/index.d.ts +0 -2
- package/esm/__builtins__/index.mjs +0 -23
- package/esm/__builtins__/index.mjs.map +0 -1
- package/esm/__builtins__/shared/index.d.ts +0 -6
- package/esm/__builtins__/shared/index.mjs +0 -21
- package/esm/__builtins__/shared/index.mjs.map +0 -1
- package/esm/__builtins__/shared/load-config-provider.d.ts +0 -2
- package/esm/__builtins__/shared/loading.d.ts +0 -12
- package/esm/__builtins__/shared/simple-version-compare.d.ts +0 -2
- package/esm/__builtins__/shared/transform-component.d.ts +0 -3
- package/esm/__builtins__/shared/types.d.ts +0 -2
- package/esm/__builtins__/shared/types.mjs +0 -2
- package/esm/__builtins__/shared/types.mjs.map +0 -1
- package/esm/__builtins__/shared/use-enter-submit.d.ts +0 -9
- package/esm/__builtins__/shared/utils.d.ts +0 -9
- package/esm/array-base/array-base-addition.d.ts +0 -5
- package/esm/array-base/array-base-index.d.ts +0 -19
- package/esm/array-base/array-base-inner.d.ts +0 -18
- package/esm/array-base/array-base-item.d.ts +0 -18
- package/esm/array-base/array-base-move-down.d.ts +0 -18
- package/esm/array-base/array-base-move-up.d.ts +0 -18
- package/esm/array-base/array-base-remove.d.ts +0 -18
- package/esm/array-base/array-base-sort-handle.d.ts +0 -2
- package/esm/array-base/index.d.ts +0 -114
- package/esm/array-base/symbols.d.ts +0 -4
- package/esm/array-base/types.mjs +0 -2
- package/esm/array-base/types.mjs.map +0 -1
- package/esm/array-cards/array-cards.d.ts +0 -13
- package/esm/array-collapse/array-collapse-item.d.ts +0 -18
- package/esm/array-collapse/array-collapse.d.ts +0 -16
- package/esm/array-collapse/utils.d.ts +0 -1
- package/esm/array-items/array-items-item.d.ts +0 -30
- package/esm/array-items/array-items.d.ts +0 -2
- package/esm/array-list-tabs/array-list-tabs.d.ts +0 -31
- package/esm/array-list-tabs/utils.d.ts +0 -3
- package/esm/array-table/array-table.d.ts +0 -1505
- package/esm/array-table/types.mjs +0 -2
- package/esm/array-table/types.mjs.map +0 -1
- package/esm/array-table/utils.d.ts +0 -5
- package/esm/array-tabs/array-tabs.d.ts +0 -2
- package/esm/autocomplete/autocomplete.d.ts +0 -1222
- package/esm/cascader/cascader.d.ts +0 -25
- package/esm/checkbox/checkbox-group.d.ts +0 -42
- package/esm/date-picker/utils.d.ts +0 -4
- package/esm/editable/editable-popover.d.ts +0 -25
- package/esm/editable/editable.d.ts +0 -193
- package/esm/env.d.d.ts +0 -1
- package/esm/env.d.mjs +0 -2
- package/esm/env.d.mjs.map +0 -1
- package/esm/form/form.d.ts +0 -46
- package/esm/form/index.mjs +0 -6
- package/esm/form/index.mjs.map +0 -1
- package/esm/form-button-group/form-button-group-sticky.d.ts +0 -17
- package/esm/form-button-group/form-button-group.d.ts +0 -57
- package/esm/form-button-group/utils.d.ts +0 -1
- package/esm/form-collapse/form-collapse.d.ts +0 -18
- package/esm/form-dialog/dialog-content.d.ts +0 -846
- package/esm/form-dialog/types.mjs +0 -2
- package/esm/form-dialog/types.mjs.map +0 -1
- package/esm/form-drawer/drawer-content.d.ts +0 -976
- package/esm/form-drawer/types.mjs +0 -2
- package/esm/form-drawer/types.mjs.map +0 -1
- package/esm/form-grid/form-grid-column.d.ts +0 -29
- package/esm/form-grid/form-grid.d.ts +0 -101
- package/esm/form-grid/hooks.d.ts +0 -4
- package/esm/form-item/form-item.d.ts +0 -19
- package/esm/form-item/types.mjs +0 -2
- package/esm/form-item/types.mjs.map +0 -1
- package/esm/form-item/utils.d.ts +0 -3
- package/esm/form-layout/form-layout.d.ts +0 -31
- package/esm/form-layout/index.mjs +0 -6
- package/esm/form-layout/index.mjs.map +0 -1
- package/esm/form-layout/types.mjs +0 -2
- package/esm/form-layout/types.mjs.map +0 -1
- package/esm/form-layout/utils.d.ts +0 -57
- package/esm/form-step/form-step-pane.d.ts +0 -2
- package/esm/form-step/form-step.d.ts +0 -5
- package/esm/form-step/types.mjs +0 -2
- package/esm/form-step/types.mjs.map +0 -1
- package/esm/form-tab/form-tab.d.ts +0 -7
- package/esm/form-tab/hooks.d.ts +0 -8
- package/esm/form-tab/types.d.ts +0 -12
- package/esm/form-tab/types.mjs +0 -2
- package/esm/form-tab/types.mjs.map +0 -1
- package/esm/form-tab/utils.d.ts +0 -4
- package/esm/index.mjs.map +0 -1
- package/esm/input/input.d.ts +0 -25
- package/esm/input-tag/input-tag.d.ts +0 -32
- package/esm/mention/mention.d.ts +0 -51
- package/esm/pagination/components/jumper.d.ts +0 -16
- package/esm/pagination/components/next.d.ts +0 -42
- package/esm/pagination/components/pager.d.ts +0 -42
- package/esm/pagination/components/prev.d.ts +0 -39
- package/esm/pagination/components/sizes.d.ts +0 -56
- package/esm/pagination/components/total.d.ts +0 -8
- package/esm/pagination/pagination.d.ts +0 -128
- package/esm/preview-text/cascader.d.ts +0 -5
- package/esm/preview-text/color-picker.d.ts +0 -5
- package/esm/preview-text/date-picker.d.ts +0 -5
- package/esm/preview-text/input.d.ts +0 -28
- package/esm/preview-text/preview.d.ts +0 -18
- package/esm/preview-text/rate.d.ts +0 -5
- package/esm/preview-text/select.d.ts +0 -5
- package/esm/preview-text/time-picker.d.ts +0 -5
- package/esm/preview-text/tree.d.ts +0 -22
- package/esm/query-form/default-components.d.ts +0 -5
- package/esm/query-form/hooks.d.ts +0 -25
- package/esm/query-form/query-form-light.d.ts +0 -27
- package/esm/query-form/query-form.d.ts +0 -52
- package/esm/query-form/types.mjs +0 -2
- package/esm/query-form/types.mjs.map +0 -1
- package/esm/query-form-item/query-form-item.d.ts +0 -96
- package/esm/query-form-item/types.mjs +0 -2
- package/esm/query-form-item/types.mjs.map +0 -1
- package/esm/radio/radio-group.d.ts +0 -33
- package/esm/reset/reset.d.ts +0 -45
- package/esm/segmented/segmented.d.ts +0 -25
- package/esm/select/select.d.ts +0 -45
- package/esm/select-table/select-table.d.ts +0 -3030
- package/esm/select-table/types.d.ts +0 -17
- package/esm/select-table/types.mjs +0 -2
- package/esm/select-table/types.mjs.map +0 -1
- package/esm/shared/overlay-elements.d.ts +0 -6
- package/esm/space/index.mjs.map +0 -1
- package/esm/styles/array-base/index.css +0 -1
- package/esm/styles/array-cards/index.css +0 -1
- package/esm/styles/array-collapse/index.css +0 -1
- package/esm/styles/array-items/index.css +0 -1
- package/esm/styles/array-list-tabs/index.css +0 -1
- package/esm/styles/array-table/index.css +0 -1
- package/esm/styles/array-tabs/index.css +0 -1
- package/esm/styles/editable/index.css +0 -1
- package/esm/styles/form-button-group/index.css +0 -1
- package/esm/styles/form-collapse/index.css +0 -1
- package/esm/styles/form-grid/index.css +0 -1
- package/esm/styles/form-item/index.css +0 -1
- package/esm/styles/form-tab/index.css +0 -1
- package/esm/styles/preview-text/index.css +0 -1
- package/esm/styles/query-form/index.css +0 -1
- package/esm/styles/query-form-item/index.css +0 -1
- package/esm/styles/select-table/index.css +0 -1
- package/esm/submit/submit.d.ts +0 -36
- package/esm/tree/tree.d.ts +0 -20
- package/esm/tree/types.d.ts +0 -13
- package/esm/tree/types.mjs +0 -2
- package/esm/tree/types.mjs.map +0 -1
- package/esm/tree/utils.d.ts +0 -45
- package/esm/tree-select/tree-select.d.ts +0 -10
- package/esm/upload/upload.d.ts +0 -1259
- package/esm/vendor/icon.mjs +0 -11
- package/esm/vendor/icon.mjs.map +0 -1
- package/esm/vendor/lodash.mjs +0 -1506
- package/esm/vendor/lodash.mjs.map +0 -1
- package/esm/vendor/runtime.mjs +0 -34
- package/esm/vendor/runtime.mjs.map +0 -1
- package/esm/vendor/shared.esm-bundler.mjs +0 -9
- package/esm/vendor/shared.esm-bundler.mjs.map +0 -1
- package/esm/vendor/sizes.mjs +0 -27
- package/esm/vendor/sizes.mjs.map +0 -1
- package/esm/vendor/types.mjs +0 -19
- package/esm/vendor/types.mjs.map +0 -1
|
@@ -1,443 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
readonly showWeekNumber: BooleanConstructor;
|
|
7
|
-
readonly ariaLabel: StringConstructor;
|
|
8
|
-
readonly emptyValues: ArrayConstructor;
|
|
9
|
-
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
|
|
10
|
-
readonly disabledDate: {
|
|
11
|
-
readonly type: import('vue').PropType<Function>;
|
|
12
|
-
readonly required: false;
|
|
13
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
-
__epPropKey: true;
|
|
15
|
-
};
|
|
16
|
-
readonly cellClassName: {
|
|
17
|
-
readonly type: import('vue').PropType<Function>;
|
|
18
|
-
readonly required: false;
|
|
19
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
-
__epPropKey: true;
|
|
21
|
-
};
|
|
22
|
-
readonly shortcuts: import('element-plus/es/utils/index.mjs').EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
23
|
-
readonly arrowControl: BooleanConstructor;
|
|
24
|
-
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
25
|
-
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
|
-
readonly unlinkPanels: BooleanConstructor;
|
|
27
|
-
readonly placement: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement))[], import('element-plus').Placement, unknown, "bottom", boolean>;
|
|
28
|
-
readonly fallbackPlacements: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]) | ((new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]))[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
29
|
-
readonly disabledHours: {
|
|
30
|
-
readonly type: import('vue').PropType<import('element-plus').GetDisabledHours>;
|
|
31
|
-
readonly required: false;
|
|
32
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
|
-
__epPropKey: true;
|
|
34
|
-
};
|
|
35
|
-
readonly disabledMinutes: {
|
|
36
|
-
readonly type: import('vue').PropType<import('element-plus').GetDisabledMinutes>;
|
|
37
|
-
readonly required: false;
|
|
38
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
|
-
__epPropKey: true;
|
|
40
|
-
};
|
|
41
|
-
readonly disabledSeconds: {
|
|
42
|
-
readonly type: import('vue').PropType<import('element-plus').GetDisabledSeconds>;
|
|
43
|
-
readonly required: false;
|
|
44
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
-
__epPropKey: true;
|
|
46
|
-
};
|
|
47
|
-
readonly automaticDropdown: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
48
|
-
readonly id: {
|
|
49
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>))[], unknown, unknown>>;
|
|
50
|
-
readonly required: false;
|
|
51
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
-
__epPropKey: true;
|
|
53
|
-
};
|
|
54
|
-
readonly name: {
|
|
55
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>))[], unknown, unknown>>;
|
|
56
|
-
readonly required: false;
|
|
57
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
-
__epPropKey: true;
|
|
59
|
-
};
|
|
60
|
-
readonly popperClass: {
|
|
61
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | {
|
|
62
|
-
[x: string]: boolean;
|
|
63
|
-
} | (string | {
|
|
64
|
-
[x: string]: boolean;
|
|
65
|
-
} | (string | {
|
|
66
|
-
[x: string]: boolean;
|
|
67
|
-
} | (string | {
|
|
68
|
-
[x: string]: boolean;
|
|
69
|
-
} | (string | {
|
|
70
|
-
[x: string]: boolean;
|
|
71
|
-
} | (string | {
|
|
72
|
-
[x: string]: boolean;
|
|
73
|
-
} | (string | {
|
|
74
|
-
[x: string]: boolean;
|
|
75
|
-
} | (string | {
|
|
76
|
-
[x: string]: boolean;
|
|
77
|
-
} | (string | {
|
|
78
|
-
[x: string]: boolean;
|
|
79
|
-
} | (string | {
|
|
80
|
-
[x: string]: boolean;
|
|
81
|
-
} | (string | {
|
|
82
|
-
[x: string]: boolean;
|
|
83
|
-
} | (string | {
|
|
84
|
-
[x: string]: boolean;
|
|
85
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
86
|
-
[x: string]: boolean;
|
|
87
|
-
} | (string | {
|
|
88
|
-
[x: string]: boolean;
|
|
89
|
-
} | (string | {
|
|
90
|
-
[x: string]: boolean;
|
|
91
|
-
} | (string | {
|
|
92
|
-
[x: string]: boolean;
|
|
93
|
-
} | (string | {
|
|
94
|
-
[x: string]: boolean;
|
|
95
|
-
} | (string | {
|
|
96
|
-
[x: string]: boolean;
|
|
97
|
-
} | (string | {
|
|
98
|
-
[x: string]: boolean;
|
|
99
|
-
} | (string | {
|
|
100
|
-
[x: string]: boolean;
|
|
101
|
-
} | (string | {
|
|
102
|
-
[x: string]: boolean;
|
|
103
|
-
} | (string | {
|
|
104
|
-
[x: string]: boolean;
|
|
105
|
-
} | (string | {
|
|
106
|
-
[x: string]: boolean;
|
|
107
|
-
} | (string | {
|
|
108
|
-
[x: string]: boolean;
|
|
109
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
110
|
-
[x: string]: boolean;
|
|
111
|
-
} | (string | {
|
|
112
|
-
[x: string]: boolean;
|
|
113
|
-
} | (string | {
|
|
114
|
-
[x: string]: boolean;
|
|
115
|
-
} | (string | {
|
|
116
|
-
[x: string]: boolean;
|
|
117
|
-
} | (string | {
|
|
118
|
-
[x: string]: boolean;
|
|
119
|
-
} | (string | {
|
|
120
|
-
[x: string]: boolean;
|
|
121
|
-
} | (string | {
|
|
122
|
-
[x: string]: boolean;
|
|
123
|
-
} | (string | {
|
|
124
|
-
[x: string]: boolean;
|
|
125
|
-
} | (string | {
|
|
126
|
-
[x: string]: boolean;
|
|
127
|
-
} | (string | {
|
|
128
|
-
[x: string]: boolean;
|
|
129
|
-
} | (string | {
|
|
130
|
-
[x: string]: boolean;
|
|
131
|
-
} | (string | {
|
|
132
|
-
[x: string]: boolean;
|
|
133
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
134
|
-
[x: string]: boolean;
|
|
135
|
-
} | (string | {
|
|
136
|
-
[x: string]: boolean;
|
|
137
|
-
} | (string | {
|
|
138
|
-
[x: string]: boolean;
|
|
139
|
-
} | (string | {
|
|
140
|
-
[x: string]: boolean;
|
|
141
|
-
} | (string | {
|
|
142
|
-
[x: string]: boolean;
|
|
143
|
-
} | (string | {
|
|
144
|
-
[x: string]: boolean;
|
|
145
|
-
} | (string | {
|
|
146
|
-
[x: string]: boolean;
|
|
147
|
-
} | (string | {
|
|
148
|
-
[x: string]: boolean;
|
|
149
|
-
} | (string | {
|
|
150
|
-
[x: string]: boolean;
|
|
151
|
-
} | (string | {
|
|
152
|
-
[x: string]: boolean;
|
|
153
|
-
} | (string | {
|
|
154
|
-
[x: string]: boolean;
|
|
155
|
-
} | (string | {
|
|
156
|
-
[x: string]: boolean;
|
|
157
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
158
|
-
readonly required: false;
|
|
159
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
-
__epPropKey: true;
|
|
161
|
-
};
|
|
162
|
-
readonly popperStyle: {
|
|
163
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | ((new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue))[], unknown, unknown>>;
|
|
164
|
-
readonly required: false;
|
|
165
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
|
-
__epPropKey: true;
|
|
167
|
-
};
|
|
168
|
-
readonly format: StringConstructor;
|
|
169
|
-
readonly valueFormat: StringConstructor;
|
|
170
|
-
readonly dateFormat: StringConstructor;
|
|
171
|
-
readonly timeFormat: StringConstructor;
|
|
172
|
-
readonly clearable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
173
|
-
readonly clearIcon: {
|
|
174
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
|
175
|
-
readonly required: false;
|
|
176
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
|
-
__epPropKey: true;
|
|
178
|
-
};
|
|
179
|
-
readonly editable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
180
|
-
readonly prefixIcon: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, "", boolean>;
|
|
181
|
-
readonly size: {
|
|
182
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
183
|
-
readonly required: false;
|
|
184
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
185
|
-
__epPropKey: true;
|
|
186
|
-
};
|
|
187
|
-
readonly readonly: BooleanConstructor;
|
|
188
|
-
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
189
|
-
readonly placeholder: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
190
|
-
readonly popperOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | ((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>))[], unknown, unknown, () => {}, boolean>;
|
|
191
|
-
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
192
|
-
readonly rangeSeparator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
193
|
-
readonly startPlaceholder: StringConstructor;
|
|
194
|
-
readonly endPlaceholder: StringConstructor;
|
|
195
|
-
readonly defaultValue: {
|
|
196
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
|
|
197
|
-
readonly required: false;
|
|
198
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
199
|
-
__epPropKey: true;
|
|
200
|
-
};
|
|
201
|
-
readonly defaultTime: {
|
|
202
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
|
|
203
|
-
readonly required: false;
|
|
204
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
-
__epPropKey: true;
|
|
206
|
-
};
|
|
207
|
-
readonly isRange: BooleanConstructor;
|
|
208
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
209
|
-
readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType))[], unknown, unknown, "date", boolean>;
|
|
210
|
-
readonly showNow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
211
|
-
readonly showConfirm: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
212
|
-
readonly showFooter: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
213
|
-
readonly showWeekNumber: BooleanConstructor;
|
|
214
|
-
readonly ariaLabel: StringConstructor;
|
|
215
|
-
readonly emptyValues: ArrayConstructor;
|
|
216
|
-
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown, undefined, boolean>;
|
|
217
|
-
readonly disabledDate: {
|
|
218
|
-
readonly type: import('vue').PropType<Function>;
|
|
219
|
-
readonly required: false;
|
|
220
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
221
|
-
__epPropKey: true;
|
|
222
|
-
};
|
|
223
|
-
readonly cellClassName: {
|
|
224
|
-
readonly type: import('vue').PropType<Function>;
|
|
225
|
-
readonly required: false;
|
|
226
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
227
|
-
__epPropKey: true;
|
|
228
|
-
};
|
|
229
|
-
readonly shortcuts: import('element-plus/es/utils/index.mjs').EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
230
|
-
readonly arrowControl: BooleanConstructor;
|
|
231
|
-
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
232
|
-
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
233
|
-
readonly unlinkPanels: BooleanConstructor;
|
|
234
|
-
readonly placement: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement))[], import('element-plus').Placement, unknown, "bottom", boolean>;
|
|
235
|
-
readonly fallbackPlacements: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]) | ((new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]))[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
236
|
-
readonly disabledHours: {
|
|
237
|
-
readonly type: import('vue').PropType<import('element-plus').GetDisabledHours>;
|
|
238
|
-
readonly required: false;
|
|
239
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
240
|
-
__epPropKey: true;
|
|
241
|
-
};
|
|
242
|
-
readonly disabledMinutes: {
|
|
243
|
-
readonly type: import('vue').PropType<import('element-plus').GetDisabledMinutes>;
|
|
244
|
-
readonly required: false;
|
|
245
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
|
-
__epPropKey: true;
|
|
247
|
-
};
|
|
248
|
-
readonly disabledSeconds: {
|
|
249
|
-
readonly type: import('vue').PropType<import('element-plus').GetDisabledSeconds>;
|
|
250
|
-
readonly required: false;
|
|
251
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
252
|
-
__epPropKey: true;
|
|
253
|
-
};
|
|
254
|
-
readonly automaticDropdown: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
255
|
-
readonly id: {
|
|
256
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>))[], unknown, unknown>>;
|
|
257
|
-
readonly required: false;
|
|
258
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
259
|
-
__epPropKey: true;
|
|
260
|
-
};
|
|
261
|
-
readonly name: {
|
|
262
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import('element-plus').SingleOrRange<string>))[], unknown, unknown>>;
|
|
263
|
-
readonly required: false;
|
|
264
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
265
|
-
__epPropKey: true;
|
|
266
|
-
};
|
|
267
|
-
readonly popperClass: {
|
|
268
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | {
|
|
269
|
-
[x: string]: boolean;
|
|
270
|
-
} | (string | {
|
|
271
|
-
[x: string]: boolean;
|
|
272
|
-
} | (string | {
|
|
273
|
-
[x: string]: boolean;
|
|
274
|
-
} | (string | {
|
|
275
|
-
[x: string]: boolean;
|
|
276
|
-
} | (string | {
|
|
277
|
-
[x: string]: boolean;
|
|
278
|
-
} | (string | {
|
|
279
|
-
[x: string]: boolean;
|
|
280
|
-
} | (string | {
|
|
281
|
-
[x: string]: boolean;
|
|
282
|
-
} | (string | {
|
|
283
|
-
[x: string]: boolean;
|
|
284
|
-
} | (string | {
|
|
285
|
-
[x: string]: boolean;
|
|
286
|
-
} | (string | {
|
|
287
|
-
[x: string]: boolean;
|
|
288
|
-
} | (string | {
|
|
289
|
-
[x: string]: boolean;
|
|
290
|
-
} | (string | {
|
|
291
|
-
[x: string]: boolean;
|
|
292
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
293
|
-
[x: string]: boolean;
|
|
294
|
-
} | (string | {
|
|
295
|
-
[x: string]: boolean;
|
|
296
|
-
} | (string | {
|
|
297
|
-
[x: string]: boolean;
|
|
298
|
-
} | (string | {
|
|
299
|
-
[x: string]: boolean;
|
|
300
|
-
} | (string | {
|
|
301
|
-
[x: string]: boolean;
|
|
302
|
-
} | (string | {
|
|
303
|
-
[x: string]: boolean;
|
|
304
|
-
} | (string | {
|
|
305
|
-
[x: string]: boolean;
|
|
306
|
-
} | (string | {
|
|
307
|
-
[x: string]: boolean;
|
|
308
|
-
} | (string | {
|
|
309
|
-
[x: string]: boolean;
|
|
310
|
-
} | (string | {
|
|
311
|
-
[x: string]: boolean;
|
|
312
|
-
} | (string | {
|
|
313
|
-
[x: string]: boolean;
|
|
314
|
-
} | (string | {
|
|
315
|
-
[x: string]: boolean;
|
|
316
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
317
|
-
[x: string]: boolean;
|
|
318
|
-
} | (string | {
|
|
319
|
-
[x: string]: boolean;
|
|
320
|
-
} | (string | {
|
|
321
|
-
[x: string]: boolean;
|
|
322
|
-
} | (string | {
|
|
323
|
-
[x: string]: boolean;
|
|
324
|
-
} | (string | {
|
|
325
|
-
[x: string]: boolean;
|
|
326
|
-
} | (string | {
|
|
327
|
-
[x: string]: boolean;
|
|
328
|
-
} | (string | {
|
|
329
|
-
[x: string]: boolean;
|
|
330
|
-
} | (string | {
|
|
331
|
-
[x: string]: boolean;
|
|
332
|
-
} | (string | {
|
|
333
|
-
[x: string]: boolean;
|
|
334
|
-
} | (string | {
|
|
335
|
-
[x: string]: boolean;
|
|
336
|
-
} | (string | {
|
|
337
|
-
[x: string]: boolean;
|
|
338
|
-
} | (string | {
|
|
339
|
-
[x: string]: boolean;
|
|
340
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
341
|
-
[x: string]: boolean;
|
|
342
|
-
} | (string | {
|
|
343
|
-
[x: string]: boolean;
|
|
344
|
-
} | (string | {
|
|
345
|
-
[x: string]: boolean;
|
|
346
|
-
} | (string | {
|
|
347
|
-
[x: string]: boolean;
|
|
348
|
-
} | (string | {
|
|
349
|
-
[x: string]: boolean;
|
|
350
|
-
} | (string | {
|
|
351
|
-
[x: string]: boolean;
|
|
352
|
-
} | (string | {
|
|
353
|
-
[x: string]: boolean;
|
|
354
|
-
} | (string | {
|
|
355
|
-
[x: string]: boolean;
|
|
356
|
-
} | (string | {
|
|
357
|
-
[x: string]: boolean;
|
|
358
|
-
} | (string | {
|
|
359
|
-
[x: string]: boolean;
|
|
360
|
-
} | (string | {
|
|
361
|
-
[x: string]: boolean;
|
|
362
|
-
} | (string | {
|
|
363
|
-
[x: string]: boolean;
|
|
364
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
365
|
-
readonly required: false;
|
|
366
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
367
|
-
__epPropKey: true;
|
|
368
|
-
};
|
|
369
|
-
readonly popperStyle: {
|
|
370
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | ((new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue))[], unknown, unknown>>;
|
|
371
|
-
readonly required: false;
|
|
372
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
373
|
-
__epPropKey: true;
|
|
374
|
-
};
|
|
375
|
-
readonly format: StringConstructor;
|
|
376
|
-
readonly valueFormat: StringConstructor;
|
|
377
|
-
readonly dateFormat: StringConstructor;
|
|
378
|
-
readonly timeFormat: StringConstructor;
|
|
379
|
-
readonly clearable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
380
|
-
readonly clearIcon: {
|
|
381
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
|
|
382
|
-
readonly required: false;
|
|
383
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
384
|
-
__epPropKey: true;
|
|
385
|
-
};
|
|
386
|
-
readonly editable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
387
|
-
readonly prefixIcon: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown, "", boolean>;
|
|
388
|
-
readonly size: {
|
|
389
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
390
|
-
readonly required: false;
|
|
391
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
|
-
__epPropKey: true;
|
|
393
|
-
};
|
|
394
|
-
readonly readonly: BooleanConstructor;
|
|
395
|
-
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
396
|
-
readonly placeholder: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
397
|
-
readonly popperOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | ((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>))[], unknown, unknown, () => {}, boolean>;
|
|
398
|
-
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType | null))[], unknown, unknown, "", boolean>;
|
|
399
|
-
readonly rangeSeparator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
400
|
-
readonly startPlaceholder: StringConstructor;
|
|
401
|
-
readonly endPlaceholder: StringConstructor;
|
|
402
|
-
readonly defaultValue: {
|
|
403
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
|
|
404
|
-
readonly required: false;
|
|
405
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
406
|
-
__epPropKey: true;
|
|
407
|
-
};
|
|
408
|
-
readonly defaultTime: {
|
|
409
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
|
|
410
|
-
readonly required: false;
|
|
411
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
412
|
-
__epPropKey: true;
|
|
413
|
-
};
|
|
414
|
-
readonly isRange: BooleanConstructor;
|
|
415
|
-
}>> & {
|
|
416
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
417
|
-
}, {
|
|
418
|
-
readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
419
|
-
readonly tabindex: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
420
|
-
readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType))[], unknown, unknown>;
|
|
421
|
-
readonly placeholder: string;
|
|
422
|
-
readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType | null) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType | null))[], unknown, unknown>;
|
|
423
|
-
readonly placement: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement) | ((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement))[], import('element-plus').Placement, unknown>;
|
|
424
|
-
readonly valueOnClear: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
425
|
-
readonly prefixIcon: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>;
|
|
426
|
-
readonly validateEvent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
427
|
-
readonly readonly: boolean;
|
|
428
|
-
readonly clearable: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
429
|
-
readonly fallbackPlacements: import('element-plus').Placement[];
|
|
430
|
-
readonly popperOptions: Partial<import('element-plus').Options>;
|
|
431
|
-
readonly automaticDropdown: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
432
|
-
readonly editable: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
433
|
-
readonly rangeSeparator: string;
|
|
434
|
-
readonly shortcuts: unknown[];
|
|
435
|
-
readonly showNow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
436
|
-
readonly showConfirm: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
437
|
-
readonly showFooter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
438
|
-
readonly showWeekNumber: boolean;
|
|
439
|
-
readonly arrowControl: boolean;
|
|
440
|
-
readonly unlinkPanels: boolean;
|
|
441
|
-
readonly isRange: boolean;
|
|
442
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
443
|
-
export default DatePicker;
|
|
1
|
+
//#region src/date-picker/index.d.ts
|
|
2
|
+
declare const DatePicker: any;
|
|
3
|
+
//#endregion
|
|
4
|
+
export { DatePicker };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,29 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "vue";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
),
|
|
23
|
-
o(i.DatePicker)
|
|
24
|
-
);
|
|
25
|
-
export {
|
|
26
|
-
y as DatePicker,
|
|
27
|
-
y as default
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import { mapReadPretty } from "../__builtins__/shared/transform-component.mjs";
|
|
2
|
+
import PreviewText from "../preview-text/index.mjs";
|
|
3
|
+
import { getDefaultFormat } from "./utils.mjs";
|
|
4
|
+
import { ElDatePicker } from "element-plus";
|
|
5
|
+
import { connect, mapProps } from "@silver-formily/vue";
|
|
6
|
+
//#region src/date-picker/index.ts
|
|
7
|
+
const DatePicker = connect(ElDatePicker, mapProps({
|
|
8
|
+
readOnly: "readonly",
|
|
9
|
+
disabled: true,
|
|
10
|
+
editable: true
|
|
11
|
+
}, (props) => {
|
|
12
|
+
return {
|
|
13
|
+
...props,
|
|
14
|
+
format: props.format || getDefaultFormat(props.type),
|
|
15
|
+
valueFormat: props.valueFormat || getDefaultFormat(props.type, "valueFormat")
|
|
16
|
+
};
|
|
17
|
+
}), mapReadPretty(PreviewText.DatePicker));
|
|
18
|
+
//#endregion
|
|
19
|
+
export { DatePicker as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../src/date-picker/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElDatePicker } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport { getDefaultFormat } from './utils'\n\nexport const DatePicker = connect<typeof ElDatePicker>(\n ElDatePicker,\n mapProps(\n {\n readOnly: 'readonly',\n disabled: true,\n editable: true,\n },\n (props: any) => {\n return {\n ...props,\n format: props.format || getDefaultFormat(props.type),\n valueFormat:\n props.valueFormat || getDefaultFormat(props.type, 'valueFormat'),\n }\n },\n ),\n mapReadPretty(PreviewText.DatePicker),\n)\n\nexport default DatePicker\n"],"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../src/date-picker/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElDatePicker } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport { getDefaultFormat } from './utils'\n\nexport const DatePicker = connect<typeof ElDatePicker>(\n ElDatePicker,\n mapProps(\n {\n readOnly: 'readonly',\n disabled: true,\n editable: true,\n },\n (props: any) => {\n return {\n ...props,\n format: props.format || getDefaultFormat(props.type),\n valueFormat:\n props.valueFormat || getDefaultFormat(props.type, 'valueFormat'),\n }\n },\n ),\n mapReadPretty(PreviewText.DatePicker),\n)\n\nexport default DatePicker\n"],"mappings":";;;;;;AAMA,MAAa,aAAa,QACxB,cACA,SACE;CACE,UAAU;CACV,UAAU;CACV,UAAU;CACX,GACA,UAAe;AACd,QAAO;EACL,GAAG;EACH,QAAQ,MAAM,UAAU,iBAAiB,MAAM,KAAK;EACpD,aACE,MAAM,eAAe,iBAAiB,MAAM,MAAM,cAAc;EACnE;EAEJ,EACD,cAAc,YAAY,WAAW,CACtC"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return "YYYY-MM-DD";
|
|
19
|
-
case "datetime":
|
|
20
|
-
case "datetimerange":
|
|
21
|
-
return "YYYY-MM-DD HH:mm:ss";
|
|
22
|
-
}
|
|
1
|
+
//#region src/date-picker/utils.ts
|
|
2
|
+
function getDefaultFormat(type = "date", formatType = "format") {
|
|
3
|
+
if (type === "week" && formatType === "format") return "[Week] ww";
|
|
4
|
+
else switch (type) {
|
|
5
|
+
case "year":
|
|
6
|
+
case "years":
|
|
7
|
+
case "yearrange": return "YYYY";
|
|
8
|
+
case "month":
|
|
9
|
+
case "months":
|
|
10
|
+
case "monthrange": return "YYYY-MM";
|
|
11
|
+
case "week": return "ww";
|
|
12
|
+
case "date":
|
|
13
|
+
case "dates":
|
|
14
|
+
case "daterange": return "YYYY-MM-DD";
|
|
15
|
+
case "datetime":
|
|
16
|
+
case "datetimerange": return "YYYY-MM-DD HH:mm:ss";
|
|
17
|
+
}
|
|
23
18
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=utils.mjs.map
|
|
19
|
+
//#endregion
|
|
20
|
+
export { getDefaultFormat };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.mjs","sources":["../../src/date-picker/utils.ts"],"sourcesContent":["import type { DatePickerProps } from 'element-plus'\n\ntype FormatType = 'format' | 'valueFormat'\n\nexport function getDefaultFormat(type: DatePickerProps['type'] = 'date', formatType: FormatType = 'format') {\n if (type === 'week' && formatType === 'format') {\n return '[Week] ww'\n }\n else {\n switch (type) {\n case 'year':\n case 'years':\n case 'yearrange': {\n return 'YYYY'\n }\n case 'month':\n case 'months':\n case 'monthrange': {\n return 'YYYY-MM'\n }\n case 'week': {\n return 'ww'\n }\n case 'date':\n case 'dates':\n case 'daterange': {\n return 'YYYY-MM-DD'\n }\n case 'datetime':\n case 'datetimerange': {\n return 'YYYY-MM-DD HH:mm:ss'\n }\n }\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":[],"sources":["../../src/date-picker/utils.ts"],"sourcesContent":["import type { DatePickerProps } from 'element-plus'\n\ntype FormatType = 'format' | 'valueFormat'\n\nexport function getDefaultFormat(type: DatePickerProps['type'] = 'date', formatType: FormatType = 'format') {\n if (type === 'week' && formatType === 'format') {\n return '[Week] ww'\n }\n else {\n switch (type) {\n case 'year':\n case 'years':\n case 'yearrange': {\n return 'YYYY'\n }\n case 'month':\n case 'months':\n case 'monthrange': {\n return 'YYYY-MM'\n }\n case 'week': {\n return 'ww'\n }\n case 'date':\n case 'dates':\n case 'daterange': {\n return 'YYYY-MM-DD'\n }\n case 'datetime':\n case 'datetimerange': {\n return 'YYYY-MM-DD HH:mm:ss'\n }\n }\n }\n}\n"],"mappings":";AAIA,SAAgB,iBAAiB,OAAgC,QAAQ,aAAyB,UAAU;AAC1G,KAAI,SAAS,UAAU,eAAe,SACpC,QAAO;KAGP,SAAQ,MAAR;EACE,KAAK;EACL,KAAK;EACL,KAAK,YACH,QAAO;EAET,KAAK;EACL,KAAK;EACL,KAAK,aACH,QAAO;EAET,KAAK,OACH,QAAO;EAET,KAAK;EACL,KAAK;EACL,KAAK,YACH,QAAO;EAET,KAAK;EACL,KAAK,gBACH,QAAO"}
|