@silver-formily/element-plus 3.0.2 → 4.0.1
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 +3 -1
- package/README.md +3 -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 +44 -638
- 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 +34 -27
- 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 +772 -766
- package/esm/checkbox/index.mjs +16 -69
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/color-picker/index.d.ts +214 -207
- 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 +118 -110
- 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 +449 -441
- 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 +149 -141
- 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 +60 -141
- 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 +81 -67
- 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 +55 -48
- package/esm/index.mjs +51 -103
- package/esm/input/index.d.ts +41 -46
- 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 +281 -275
- package/esm/input-number/index.mjs +12 -24
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/input-tag/index.d.ts +29 -31
- 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 +39 -49
- 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 +43 -48
- package/esm/password/index.mjs +11 -14
- package/esm/password/index.mjs.map +1 -1
- package/esm/picker-select/index.d.ts +47 -0
- package/esm/picker-select/index.mjs +14 -0
- package/esm/picker-select/index.mjs.map +1 -0
- package/esm/picker-select/picker-select.mjs +186 -0
- package/esm/picker-select/picker-select.mjs.map +1 -0
- package/esm/picker-select/types.d.ts +23 -0
- 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 +138 -131
- 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 +482 -472
- 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 +190 -184
- 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 +31 -25
- 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 +108 -121
- 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 +53 -1546
- 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/select-table/types.d.ts +21 -16
- 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 +182 -174
- 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 +255 -249
- package/esm/switch/index.mjs +8 -13
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.d.ts +451 -443
- package/esm/time-picker/index.mjs +10 -17
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.d.ts +189 -182
- package/esm/time-select/index.mjs +13 -17
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.d.ts +246 -238
- package/esm/transfer/index.mjs +8 -11
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.d.ts +40 -33
- 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/types.d.ts +17 -12
- package/esm/tree/utils.mjs +157 -149
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.d.ts +22 -15
- 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 +117 -696
- 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 +24 -25
- 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.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.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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useCleanAttrs } from "../__builtins__/shared/utils.mjs";
|
|
2
|
+
import { stylePrefix } from "../__builtins__/configs/index.mjs";
|
|
3
|
+
import { usePreviewConfig } from "./utils.mjs";
|
|
4
|
+
import { ElSpace, ElTag, ElText } from "element-plus";
|
|
5
|
+
import { Fragment, createBlock, createElementBlock, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, openBlock, renderList, toDisplayString, unref, withCtx } from "vue";
|
|
6
|
+
import { useField } from "@silver-formily/vue";
|
|
7
|
+
//#region src/preview-text/cascader.vue
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
name: "FPreviewTextCascader",
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
__name: "cascader",
|
|
12
|
+
props: { modelValue: {} },
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const prefixCls = `${stylePrefix}-preview-text`;
|
|
16
|
+
const field = useField().value;
|
|
17
|
+
const { props: attrs } = useCleanAttrs();
|
|
18
|
+
const isMultiple = !!attrs.value.props?.multiple;
|
|
19
|
+
const isShowAllLevels = attrs.value.showAllLevels ?? true;
|
|
20
|
+
const dataSource = field?.dataSource ?? [];
|
|
21
|
+
const { spaceProps, textProps, tagProps, placeholder } = usePreviewConfig();
|
|
22
|
+
const valueKey = attrs.value.props?.value || "value";
|
|
23
|
+
const labelKey = attrs.value.props?.label || "label";
|
|
24
|
+
function findLabel(value, dataSource) {
|
|
25
|
+
const foundItem = dataSource.find((item) => item?.[valueKey] === value);
|
|
26
|
+
if (foundItem) return foundItem[labelKey];
|
|
27
|
+
return dataSource.map((item) => item?.children ? findLabel(value, item.children) : void 0).find((label) => label !== void 0);
|
|
28
|
+
}
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(prefixCls) }, [!Array.isArray(props.modelValue) ? (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 0 }, unref(textProps))), {
|
|
31
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(placeholder)), 1)]),
|
|
32
|
+
_: 1
|
|
33
|
+
}, 16)) : isMultiple && Array.isArray(props.modelValue[0]) ? (openBlock(), createBlock(unref(ElSpace), normalizeProps(mergeProps({ key: 1 }, unref(spaceProps))), {
|
|
34
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(props.modelValue, (item, key) => {
|
|
35
|
+
return openBlock(), createBlock(unref(ElTag), mergeProps({ key }, { ref_for: true }, unref(tagProps)), {
|
|
36
|
+
default: withCtx(() => [unref(isShowAllLevels) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(item.map((val) => findLabel(val, unref(dataSource)) || unref(placeholder)).join(` ${unref(attrs).separator ?? "/"} `)), 1)], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(findLabel(item[item.length - 1], unref(dataSource)) || unref(placeholder)), 1)], 64))]),
|
|
37
|
+
_: 2
|
|
38
|
+
}, 1040);
|
|
39
|
+
}), 128))]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 16)) : (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 2 }, unref(textProps))), {
|
|
42
|
+
default: withCtx(() => [unref(isShowAllLevels) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(props.modelValue.map((val) => findLabel(val, unref(dataSource)) || unref(placeholder)).join(` ${unref(attrs).separator ?? "/"} `)), 1)], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(findLabel(props.modelValue[props.modelValue.length - 1], unref(dataSource)) || unref(placeholder)), 1)], 64))]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 16))]);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { _sfc_main as default };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=cascader.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cascader.mjs","names":[],"sources":["../../src/preview-text/cascader.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Field } from '@formily/core'\nimport { useField } from '@silver-formily/vue'\nimport { ElSpace, ElTag, ElText } from 'element-plus'\nimport { stylePrefix, useCleanAttrs } from '../__builtins__'\nimport { usePreviewConfig } from './utils'\n\ndefineOptions({\n name: 'FPreviewTextCascader',\n inheritAttrs: false,\n})\n\nconst props = defineProps<{\n modelValue: any\n}>()\nconst prefixCls = `${stylePrefix}-preview-text`\nconst fieldRef = useField<Field>()\nconst field = fieldRef.value\nconst { props: attrs } = useCleanAttrs()\nconst isMultiple = !!attrs.value.props?.multiple\nconst isShowAllLevels = attrs.value.showAllLevels ?? true\nconst dataSource: any[] = field?.dataSource ?? []\nconst { spaceProps, textProps, tagProps, placeholder } = usePreviewConfig()\n\nconst valueKey = attrs.value.props?.value || 'value'\nconst labelKey = attrs.value.props?.label || 'label'\n\nfunction findLabel(value: any, dataSource: any[]): any {\n const foundItem = dataSource.find(item => item?.[valueKey] === value)\n if (foundItem)\n return foundItem[labelKey]\n return dataSource\n .map(item => item?.children ? findLabel(value, item.children) : undefined)\n .find(label => label !== undefined)\n}\n</script>\n\n<template>\n <div :class=\"prefixCls\">\n <template v-if=\"!Array.isArray(props.modelValue)\">\n <ElText v-bind=\"textProps\">\n {{ placeholder }}\n </ElText>\n </template>\n <template v-else-if=\"isMultiple && Array.isArray(props.modelValue[0])\">\n <ElSpace v-bind=\"spaceProps\">\n <ElTag v-for=\"(item, key) of props.modelValue\" :key=\"key\" v-bind=\"tagProps\">\n <template v-if=\"isShowAllLevels\">\n {{ item.map(val => findLabel(val, dataSource) || placeholder).join(` ${attrs.separator ?? '/'} `) }}\n </template>\n <template v-else>\n {{ findLabel(item[item.length - 1], dataSource) || placeholder }}\n </template>\n </ElTag>\n </ElSpace>\n </template>\n <template v-else>\n <ElText v-bind=\"textProps\">\n <template v-if=\"isShowAllLevels\">\n {{ props.modelValue.map(val => findLabel(val, dataSource) || placeholder).join(` ${attrs.separator ?? '/'} `) }}\n </template>\n <template v-else>\n {{ findLabel(props.modelValue[props.modelValue.length - 1], dataSource) || placeholder }}\n </template>\n </ElText>\n </template>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAYA,MAAM,QAAQ;EAGd,MAAM,YAAY,GAAG,YAAY;EAEjC,MAAM,QADW,UAAgB,CACV;EACvB,MAAM,EAAE,OAAO,UAAU,eAAc;EACvC,MAAM,aAAa,CAAC,CAAC,MAAM,MAAM,OAAO;EACxC,MAAM,kBAAkB,MAAM,MAAM,iBAAiB;EACrD,MAAM,aAAoB,OAAO,cAAc,EAAC;EAChD,MAAM,EAAE,YAAY,WAAW,UAAU,gBAAgB,kBAAiB;EAE1E,MAAM,WAAW,MAAM,MAAM,OAAO,SAAS;EAC7C,MAAM,WAAW,MAAM,MAAM,OAAO,SAAS;EAE7C,SAAS,UAAU,OAAY,YAAwB;GACrD,MAAM,YAAY,WAAW,MAAK,SAAQ,OAAO,cAAc,MAAK;AACpE,OAAI,UACF,QAAO,UAAU;AACnB,UAAO,WACJ,KAAI,SAAQ,MAAM,WAAW,UAAU,OAAO,KAAK,SAAS,GAAG,KAAA,EAAS,CACxE,MAAK,UAAS,UAAU,KAAA,EAAS;;;uBAKpC,mBA4BM,OAAA,EA5BA,OAAK,eAAE,UAAS,EAAA,EAAA,CAAA,CACH,MAAM,QAAQ,MAAM,WAAU,IAAA,WAAA,EAC7C,YAES,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAFO,MAAA,UAAS,CAAA,CAAA,EAAA;2BACN,CAAA,gBAAA,gBAAd,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,CAAA;;aAGG,cAAc,MAAM,QAAQ,MAAM,WAAU,GAAA,IAAA,WAAA,EAC/D,YASU,MAAA,QAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EATO,MAAA,WAAU,CAAA,CAAA,EAAA;2BACqB,EAAA,UAAA,KAAA,EAA9C,mBAOQ,UAAA,MAAA,WAPqB,MAAM,aAApB,MAAM,QAAG;yBAAxB,YAOQ,MAAA,MAAA,EAPR,WAOQ,EAP6C,KAAG,EAAA,EAAA,SAAA,MAAA,EAAU,MAAA,SAAQ,CAAA,EAAA;6BAG7D,CAFK,MAAA,gBAAe,IAAA,WAAA,EAA/B,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,KAAK,KAAI,QAAO,UAAU,KAAK,MAAA,WAAU,CAAA,IAAK,MAAA,YAAW,CAAA,CAAE,KAAI,IAAK,MAAA,MAAK,CAAC,aAAS,IAAA,GAAA,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA,KAAA,WAAA,EAExF,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,UAAU,KAAK,KAAK,SAAM,IAAO,MAAA,WAAU,CAAA,IAAK,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA,EAAA,CAAA;;;;;2BAMpE,YAOS,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAPO,MAAA,UAAS,CAAA,CAAA,EAAA;2BAGZ,CAFK,MAAA,gBAAe,IAAA,WAAA,EAA/B,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,MAAM,WAAW,KAAI,QAAO,UAAU,KAAK,MAAA,WAAU,CAAA,IAAK,MAAA,YAAW,CAAA,CAAE,KAAI,IAAK,MAAA,MAAK,CAAC,aAAS,IAAA,GAAA,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA,KAAA,WAAA,EAEpG,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,UAAU,MAAM,WAAW,MAAM,WAAW,SAAM,IAAO,MAAA,WAAU,CAAA,IAAK,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA,EAAA,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useCleanAttrs } from "../__builtins__/shared/utils.mjs";
|
|
2
|
+
import { stylePrefix } from "../__builtins__/configs/index.mjs";
|
|
3
|
+
import { usePreviewConfig } from "./utils.mjs";
|
|
4
|
+
import { ElSpace, ElText } from "element-plus";
|
|
5
|
+
import { Fragment, createBlock, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
6
|
+
import { isFn, isValid } from "@formily/shared";
|
|
7
|
+
//#region src/preview-text/color-picker.vue
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
name: "FPreviewTextColorPicker",
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
__name: "color-picker",
|
|
12
|
+
props: { modelValue: {} },
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const { props: attrs } = useCleanAttrs();
|
|
16
|
+
const prefixCls = `${stylePrefix}-preview-text`;
|
|
17
|
+
const colorCls = `${prefixCls}__color`;
|
|
18
|
+
const { spaceProps, textProps, placeholder } = usePreviewConfig();
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
return openBlock(), createBlock(unref(ElSpace), mergeProps({ class: [prefixCls, colorCls] }, unref(spaceProps)), {
|
|
21
|
+
default: withCtx(() => [unref(isValid)(props.modelValue) ? (openBlock(), createElementBlock("div", {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: normalizeClass(`${colorCls}-swatch`),
|
|
24
|
+
style: normalizeStyle({ backgroundColor: props.modelValue })
|
|
25
|
+
}, null, 6)) : createCommentVNode("v-if", true), createVNode(unref(ElText), normalizeProps(guardReactiveProps(unref(textProps))), {
|
|
26
|
+
default: withCtx(() => [unref(isFn)(unref(attrs).formatter) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(unref(attrs).formatter(props.modelValue)), 1)], 64)) : unref(isValid)(props.modelValue) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(props.modelValue), 1)], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [createTextVNode(toDisplayString(unref(placeholder)), 1)], 64))]),
|
|
27
|
+
_: 1
|
|
28
|
+
}, 16)]),
|
|
29
|
+
_: 1
|
|
30
|
+
}, 16, ["class"]);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { _sfc_main as default };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=color-picker.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-picker.mjs","names":[],"sources":["../../src/preview-text/color-picker.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { isFn, isValid } from '@formily/shared'\nimport { ElSpace, ElText } from 'element-plus'\nimport { stylePrefix, useCleanAttrs } from '../__builtins__'\nimport { usePreviewConfig } from './utils'\n\ndefineOptions({\n name: 'FPreviewTextColorPicker',\n inheritAttrs: false,\n})\n\nconst props = defineProps<{\n modelValue?: any\n}>()\n\nconst { props: attrs } = useCleanAttrs()\nconst prefixCls = `${stylePrefix}-preview-text`\nconst colorCls = `${prefixCls}__color`\nconst { spaceProps, textProps, placeholder } = usePreviewConfig()\n</script>\n\n<template>\n <ElSpace :class=\"[prefixCls, colorCls]\" v-bind=\"spaceProps\">\n <div\n v-if=\"isValid(props.modelValue)\"\n :class=\"`${colorCls}-swatch`\"\n :style=\"{ backgroundColor: props.modelValue }\"\n />\n <ElText v-bind=\"textProps\">\n <template v-if=\"isFn(attrs.formatter)\">\n {{ attrs.formatter(props.modelValue) }}\n </template>\n <template v-else-if=\"isValid(props.modelValue)\">\n {{ props.modelValue }}\n </template>\n <template v-else>\n {{ placeholder }}\n </template>\n </ElText>\n </ElSpace>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAWA,MAAM,QAAQ;EAId,MAAM,EAAE,OAAO,UAAU,eAAc;EACvC,MAAM,YAAY,GAAG,YAAY;EACjC,MAAM,WAAW,GAAG,UAAU;EAC9B,MAAM,EAAE,YAAY,WAAW,gBAAgB,kBAAiB;;uBAI9D,YAiBU,MAAA,QAAA,EAjBV,WAiBU,EAjBA,OAAK,CAAG,WAAW,SAAQ,EAAA,EAAW,MAAA,WAAU,CAAA,EAAA;2BAKtD,CAHM,MAAA,QAAO,CAAC,MAAM,WAAU,IAAA,WAAA,EADhC,mBAIE,OAAA;;KAFC,OAAK,eAAA,GAAK,SAAQ,SAAA;KAClB,OAAK,eAAA,EAAA,iBAAqB,MAAM,YAAU,CAAA;qDAE7C,YAUS,MAAA,OAAA,EAAA,eAAA,mBAVO,MAAA,UAAS,CAAA,CAAA,EAAA;4BAGZ,CAFK,MAAA,KAAI,CAAC,MAAA,MAAK,CAAC,UAAS,IAAA,WAAA,EAApC,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,MAAA,MAAK,CAAC,UAAU,MAAM,WAAU,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA,IAEhB,MAAA,QAAO,CAAC,MAAM,WAAU,IAAA,WAAA,EAA7C,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,MAAM,WAAU,EAAA,EAAA,CAAA,EAAA,GAAA,KAAA,WAAA,EAErB,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,EAAA,GAAA,EAAA,CAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { useCleanAttrs } from "../__builtins__/shared/utils.mjs";
|
|
2
|
+
import { stylePrefix } from "../__builtins__/configs/index.mjs";
|
|
3
|
+
import { usePreviewConfig } from "./utils.mjs";
|
|
4
|
+
import { ElSpace, ElTag, ElText, dayjs } from "element-plus";
|
|
5
|
+
import { Fragment, computed, createBlock, createElementBlock, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, openBlock, renderList, toDisplayString, unref, withCtx } from "vue";
|
|
6
|
+
//#region src/preview-text/date-picker.vue
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "FPreviewTextDatePicker",
|
|
9
|
+
inheritAttrs: false,
|
|
10
|
+
__name: "date-picker",
|
|
11
|
+
props: { modelValue: {} },
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const { props: attrs } = useCleanAttrs();
|
|
15
|
+
const prefixCls = `${stylePrefix}-preview-text`;
|
|
16
|
+
const { spaceProps, textProps, tagProps, placeholder } = usePreviewConfig();
|
|
17
|
+
function getFormatByType(type) {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case "year": return "YYYY";
|
|
20
|
+
case "years": return "YYYY";
|
|
21
|
+
case "month": return "YYYY-MM";
|
|
22
|
+
case "months": return "YYYY-MM";
|
|
23
|
+
case "week": return "[Week] ww";
|
|
24
|
+
case "date": return "YYYY-MM-DD";
|
|
25
|
+
case "dates": return "YYYY-MM-DD";
|
|
26
|
+
case "datetime": return "YYYY-MM-DD HH:mm:ss";
|
|
27
|
+
case "daterange": return "YYYY-MM-DD";
|
|
28
|
+
case "monthrange": return "YYYY-MM";
|
|
29
|
+
case "yearrange": return "YYYY";
|
|
30
|
+
case "datetimerange": return "YYYY-MM-DD HH:mm:ss";
|
|
31
|
+
default: return "YYYY-MM-DD";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const type = computed(() => attrs.value.type || "date");
|
|
35
|
+
const format = computed(() => attrs.value.format || getFormatByType(type.value));
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(prefixCls) }, [props.modelValue ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [type.value.endsWith("range") ? (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 0 }, unref(textProps))), {
|
|
38
|
+
default: withCtx(() => [createTextVNode(toDisplayString(props.modelValue[0] ? unref(dayjs)(props.modelValue[0]).format(format.value) : unref(placeholder)) + " " + toDisplayString(unref(attrs).rangeSeparator ?? "~") + " " + toDisplayString(props.modelValue[1] ? unref(dayjs)(props.modelValue[1]).format(format.value) : unref(placeholder)), 1)]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 16)) : type.value.endsWith("s") ? (openBlock(), createBlock(unref(ElSpace), normalizeProps(mergeProps({ key: 1 }, unref(spaceProps))), {
|
|
41
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(props.modelValue, (i) => {
|
|
42
|
+
return openBlock(), createBlock(unref(ElTag), mergeProps({ key: i }, { ref_for: true }, unref(tagProps)), {
|
|
43
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(dayjs)(i).format(format.value)), 1)]),
|
|
44
|
+
_: 2
|
|
45
|
+
}, 1040);
|
|
46
|
+
}), 128))]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 16)) : (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 2 }, unref(textProps))), {
|
|
49
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(dayjs)(props.modelValue).format(format.value)), 1)]),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 16))], 64)) : (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 1 }, unref(textProps))), {
|
|
52
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(placeholder)), 1)]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 16))]);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
59
|
+
export { _sfc_main as default };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=date-picker.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.mjs","names":[],"sources":["../../src/preview-text/date-picker.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { dayjs, ElSpace, ElTag, ElText } from 'element-plus'\nimport { computed } from 'vue'\nimport { stylePrefix, useCleanAttrs } from '../__builtins__'\nimport { usePreviewConfig } from './utils'\n\ndefineOptions({\n name: 'FPreviewTextDatePicker',\n inheritAttrs: false,\n})\n\nconst props = defineProps<{\n modelValue?: any\n}>()\nconst { props: attrs } = useCleanAttrs()\nconst prefixCls = `${stylePrefix}-preview-text`\nconst { spaceProps, textProps, tagProps, placeholder } = usePreviewConfig()\n\nfunction getFormatByType(type: string): string {\n switch (type) {\n case 'year': {\n return 'YYYY'\n }\n case 'years': {\n return 'YYYY'\n }\n case 'month': {\n return 'YYYY-MM'\n }\n case 'months': {\n return 'YYYY-MM'\n }\n case 'week': {\n return '[Week] ww'\n }\n case 'date': {\n return 'YYYY-MM-DD'\n }\n case 'dates': {\n return 'YYYY-MM-DD'\n }\n case 'datetime': {\n return 'YYYY-MM-DD HH:mm:ss'\n }\n case 'daterange': {\n return 'YYYY-MM-DD'\n }\n case 'monthrange': {\n return 'YYYY-MM'\n }\n case 'yearrange': {\n return 'YYYY'\n }\n case 'datetimerange': {\n return 'YYYY-MM-DD HH:mm:ss'\n }\n default: {\n return 'YYYY-MM-DD'\n }\n }\n}\nconst type = computed(() => attrs.value.type || 'date')\nconst format = computed(() => attrs.value.format || getFormatByType(type.value))\n</script>\n\n<template>\n <div :class=\"prefixCls\">\n <template v-if=\"props.modelValue\">\n <template v-if=\"type.endsWith('range')\">\n <ElText v-bind=\"textProps\">\n {{ props.modelValue[0] ? dayjs(props.modelValue[0]).format(format) : placeholder }}\n {{ attrs.rangeSeparator ?? '~' }}\n {{ props.modelValue[1] ? dayjs(props.modelValue[1]).format(format) : placeholder }}\n </ElText>\n </template>\n <template v-else-if=\"type.endsWith('s')\">\n <ElSpace v-bind=\"spaceProps\">\n <ElTag v-for=\"i of props.modelValue\" :key=\"i\" v-bind=\"tagProps\">\n {{ dayjs(i).format(format) }}\n </ElTag>\n </ElSpace>\n </template>\n <template v-else>\n <ElText v-bind=\"textProps\">\n {{ dayjs(props.modelValue).format(format) }}\n </ElText>\n </template>\n </template>\n <template v-else>\n <ElText v-bind=\"textProps\">\n {{ placeholder }}\n </ElText>\n </template>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;EAWA,MAAM,QAAQ;EAGd,MAAM,EAAE,OAAO,UAAU,eAAc;EACvC,MAAM,YAAY,GAAG,YAAY;EACjC,MAAM,EAAE,YAAY,WAAW,UAAU,gBAAgB,kBAAiB;EAE1E,SAAS,gBAAgB,MAAsB;AAC7C,WAAQ,MAAR;IACE,KAAK,OACH,QAAO;IAET,KAAK,QACH,QAAO;IAET,KAAK,QACH,QAAO;IAET,KAAK,SACH,QAAO;IAET,KAAK,OACH,QAAO;IAET,KAAK,OACH,QAAO;IAET,KAAK,QACH,QAAO;IAET,KAAK,WACH,QAAO;IAET,KAAK,YACH,QAAO;IAET,KAAK,aACH,QAAO;IAET,KAAK,YACH,QAAO;IAET,KAAK,gBACH,QAAO;IAET,QACE,QAAO;;;EAIb,MAAM,OAAO,eAAe,MAAM,MAAM,QAAQ,OAAM;EACtD,MAAM,SAAS,eAAe,MAAM,MAAM,UAAU,gBAAgB,KAAK,MAAM,CAAA;;uBAI7E,mBA2BM,OAAA,EA3BA,OAAK,eAAE,UAAS,EAAA,EAAA,CACJ,MAAM,cAAA,WAAA,EAAtB,mBAoBW,UAAA,EAAA,KAAA,GAAA,EAAA,CAnBO,KAAA,MAAK,SAAQ,QAAA,IAAA,WAAA,EAC3B,YAIS,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAJO,MAAA,UAAS,CAAA,CAAA,EAAA;2BAC4D,CAAA,gBAAA,gBAAhF,MAAM,WAAU,KAAM,MAAA,MAAK,CAAC,MAAM,WAAU,GAAA,CAAK,OAAO,OAAA,MAAM,GAAI,MAAA,YAAW,CAAA,GAAG,MACnF,gBAAG,MAAA,MAAK,CAAC,kBAAc,IAAA,GAAU,MACjC,gBAAG,MAAM,WAAU,KAAM,MAAA,MAAK,CAAC,MAAM,WAAU,GAAA,CAAK,OAAO,OAAA,MAAM,GAAI,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,CAAA;;aAG/D,KAAA,MAAK,SAAQ,IAAA,IAAA,WAAA,EAChC,YAIU,MAAA,QAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAJO,MAAA,WAAU,CAAA,CAAA,EAAA;2BACW,EAAA,UAAA,KAAA,EAApC,mBAEQ,UAAA,MAAA,WAFW,MAAM,aAAX,MAAC;yBAAf,YAEQ,MAAA,MAAA,EAFR,WAEQ,EAF8B,KAAK,GAAC,EAAA,EAAA,SAAA,MAAA,EAAU,MAAA,SAAQ,CAAA,EAAA;6BAC/B,CAAA,gBAAA,gBAA1B,MAAA,MAAK,CAAC,EAAC,CAAE,OAAO,OAAA,MAAM,CAAA,EAAA,EAAA,CAAA,CAAA;;;;;2BAK7B,YAES,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAFO,MAAA,UAAS,CAAA,CAAA,EAAA;2BACqB,CAAA,gBAAA,gBAAzC,MAAA,MAAK,CAAC,MAAM,WAAU,CAAE,OAAO,OAAA,MAAM,CAAA,EAAA,EAAA,CAAA,CAAA;;kCAK5C,YAES,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAFO,MAAA,UAAS,CAAA,CAAA,EAAA;2BACN,CAAA,gBAAA,gBAAd,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,CAAA"}
|
|
@@ -1,112 +1,113 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { PreviewTextProps } from "./utils.js";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/preview-text/index.d.ts
|
|
5
|
+
declare const PreviewText: {
|
|
6
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
14
|
+
__isFragment?: never;
|
|
15
|
+
__isTeleport?: never;
|
|
16
|
+
__isSuspense?: never;
|
|
17
|
+
} & _$vue.ComponentOptionsBase<Readonly<PreviewTextProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
18
|
+
$slots: {
|
|
19
|
+
default?: (props: {}) => any;
|
|
20
|
+
};
|
|
21
|
+
}) & {
|
|
22
|
+
Input: {
|
|
23
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
24
|
+
modelValue?: any;
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
26
|
+
P: {};
|
|
27
|
+
B: {};
|
|
28
|
+
D: {};
|
|
29
|
+
C: {};
|
|
30
|
+
M: {};
|
|
31
|
+
Defaults: {};
|
|
32
|
+
}, Readonly<{
|
|
33
|
+
modelValue?: any;
|
|
34
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
35
|
__isFragment?: never;
|
|
11
36
|
__isTeleport?: never;
|
|
12
37
|
__isSuspense?: never;
|
|
13
|
-
} &
|
|
38
|
+
} & _$vue.ComponentOptionsBase<Readonly<{
|
|
39
|
+
modelValue?: any;
|
|
40
|
+
}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
14
41
|
$slots: {
|
|
15
|
-
|
|
42
|
+
prepend?: () => any;
|
|
43
|
+
prefix?: () => any;
|
|
44
|
+
suffix?: () => any;
|
|
45
|
+
append?: () => any;
|
|
16
46
|
};
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
nodeKey: string;
|
|
81
|
-
modelValue?: any;
|
|
82
|
-
valueType?: string;
|
|
83
|
-
data?: any[];
|
|
84
|
-
props?: {
|
|
85
|
-
children?: string;
|
|
86
|
-
label?: string;
|
|
87
|
-
disabled?: string;
|
|
88
|
-
};
|
|
89
|
-
height?: number;
|
|
90
|
-
maxHeight?: number;
|
|
91
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
92
|
-
nodeKey: string;
|
|
93
|
-
modelValue?: any;
|
|
94
|
-
valueType?: string;
|
|
95
|
-
data?: any[];
|
|
96
|
-
props?: {
|
|
97
|
-
children?: string;
|
|
98
|
-
label?: string;
|
|
99
|
-
disabled?: string;
|
|
100
|
-
};
|
|
101
|
-
height?: number;
|
|
102
|
-
maxHeight?: number;
|
|
103
|
-
}> & Readonly<{}>, {
|
|
104
|
-
props: {
|
|
105
|
-
children?: string;
|
|
106
|
-
label?: string;
|
|
107
|
-
disabled?: string;
|
|
108
|
-
};
|
|
109
|
-
valueType: string;
|
|
110
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
});
|
|
48
|
+
Select: _$vue.DefineComponent<{
|
|
49
|
+
modelValue?: any;
|
|
50
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
51
|
+
modelValue?: any;
|
|
52
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
Cascader: _$vue.DefineComponent<{
|
|
54
|
+
modelValue: any;
|
|
55
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
56
|
+
modelValue: any;
|
|
57
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
ColorPicker: _$vue.DefineComponent<{
|
|
59
|
+
modelValue?: any;
|
|
60
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
61
|
+
modelValue?: any;
|
|
62
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
DatePicker: _$vue.DefineComponent<{
|
|
64
|
+
modelValue?: any;
|
|
65
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
66
|
+
modelValue?: any;
|
|
67
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
Rate: _$vue.DefineComponent<{
|
|
69
|
+
modelValue?: any;
|
|
70
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
71
|
+
modelValue?: any;
|
|
72
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
TimePicker: _$vue.DefineComponent<{
|
|
74
|
+
modelValue?: any;
|
|
75
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
76
|
+
modelValue?: any;
|
|
77
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
78
|
+
Tree: _$vue.DefineComponent<{
|
|
79
|
+
nodeKey: string;
|
|
80
|
+
modelValue?: any;
|
|
81
|
+
valueType?: string;
|
|
82
|
+
data?: any[];
|
|
83
|
+
props?: {
|
|
84
|
+
children?: string;
|
|
85
|
+
label?: string;
|
|
86
|
+
disabled?: string;
|
|
87
|
+
};
|
|
88
|
+
height?: number;
|
|
89
|
+
maxHeight?: number;
|
|
90
|
+
}, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{
|
|
91
|
+
nodeKey: string;
|
|
92
|
+
modelValue?: any;
|
|
93
|
+
valueType?: string;
|
|
94
|
+
data?: any[];
|
|
95
|
+
props?: {
|
|
96
|
+
children?: string;
|
|
97
|
+
label?: string;
|
|
98
|
+
disabled?: string;
|
|
99
|
+
};
|
|
100
|
+
height?: number;
|
|
101
|
+
maxHeight?: number;
|
|
102
|
+
}> & Readonly<{}>, {
|
|
103
|
+
props: {
|
|
104
|
+
children?: string;
|
|
105
|
+
label?: string;
|
|
106
|
+
disabled?: string;
|
|
107
|
+
};
|
|
108
|
+
valueType: string;
|
|
109
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
111
110
|
};
|
|
112
|
-
|
|
111
|
+
//#endregion
|
|
112
|
+
export { PreviewText };
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|