vft 0.0.249 → 0.0.252
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/dist/index.css +1 -1
- package/es/components/alert/alert.vue.d.ts +1 -11
- package/es/components/alert/alert.vue2.js +13 -65
- package/es/components/alert/index.d.ts +28 -76
- package/es/components/autocomplete/autocomplete.vue.d.ts +14 -14
- package/es/components/autocomplete/autocomplete.vue2.js +194 -199
- package/es/components/autocomplete/index.d.ts +42 -42
- package/es/components/backtop/backtop.vue.d.ts +1 -15
- package/es/components/backtop/backtop.vue2.js +17 -106
- package/es/components/backtop/index.d.ts +3 -9
- package/es/components/backtop/types.d.ts +14 -0
- package/es/components/backtop/types.js +1 -0
- package/es/components/button/button-custom.d.ts +1 -1
- package/es/components/button/button.vue.d.ts +3 -50
- package/es/components/button/button.vue2.js +1 -1
- package/es/components/button/index.d.ts +39 -40
- package/es/components/button/types.d.ts +47 -1
- package/es/components/button/use-button.d.ts +5 -5
- package/es/components/card/index.d.ts +3 -3
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +18 -18
- package/es/components/carousel/use-carousel.js +2 -3
- package/es/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +42 -42
- package/es/components/color-picker/components/hue-slider.vue.d.ts +3 -3
- package/es/components/color-picker/components/predefine.vue.d.ts +3 -3
- package/es/components/color-picker/components/sv-panel.vue.d.ts +3 -3
- package/es/components/config-provider/hooks/use-global-config.d.ts +3 -3
- package/es/components/context-menu/context-menu.vue2.js +36 -124
- package/es/components/context-menu/index.js +5 -101
- package/es/components/context-menu/types.d.ts +1 -1
- package/es/components/context-menu/types.js +1 -98
- package/es/components/date-picker/composables/use-basic-date-table.d.ts +188 -0
- package/es/components/date-picker/composables/use-basic-date-table.js +183 -0
- package/es/components/date-picker/composables/use-month-range-header.d.ts +1 -1
- package/es/components/date-picker/composables/use-panel-date-range.d.ts +29 -0
- package/es/components/date-picker/composables/use-panel-date-range.js +72 -0
- package/es/components/date-picker/composables/use-range-picker.d.ts +46 -42
- package/es/components/date-picker/composables/use-range-picker.js +65 -52
- package/es/components/date-picker/composables/use-shortcut.js +4 -4
- package/es/components/date-picker/composables/use-year-range-header.d.ts +16 -0
- package/es/components/date-picker/composables/use-year-range-header.js +35 -0
- package/es/components/date-picker/constants.d.ts +2 -15
- package/es/components/date-picker/constants.js +3 -16
- package/es/components/date-picker/date-picker-com/basic-cell-render.d.ts +3 -1
- package/es/components/date-picker/date-picker-com/basic-cell-render.js +16 -19
- package/es/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +14 -23
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +73 -176
- package/es/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +2 -2
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +93 -71
- package/es/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +50 -9
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +108 -57
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +13 -3
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +329 -277
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +16 -3
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +422 -281
- package/es/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +6 -3
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +137 -113
- package/es/components/date-picker/date-picker-com/panel-year-range.vue.d.ts +35 -0
- package/es/components/date-picker/date-picker-com/panel-year-range.vue.js +4 -0
- package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +210 -0
- package/es/components/date-picker/date-picker.d.ts +70 -40
- package/es/components/date-picker/date-picker.js +59 -50
- package/es/components/date-picker/date-picker.type.d.ts +2 -1
- package/es/components/date-picker/index.d.ts +126 -68
- package/es/components/date-picker/index.js +7 -7
- package/es/components/date-picker/instance.d.ts +9 -0
- package/es/components/date-picker/instance.js +1 -0
- package/es/components/date-picker/panel-utils.d.ts +48 -0
- package/es/components/date-picker/panel-utils.js +9 -6
- package/es/components/date-picker/props/basic-cell.d.ts +2 -1
- package/es/components/date-picker/props/basic-date-table.d.ts +7 -2
- package/es/components/date-picker/props/basic-date-table.js +6 -5
- package/es/components/date-picker/props/basic-month-table.d.ts +3 -2
- package/es/components/date-picker/props/basic-year-table.d.ts +23 -5
- package/es/components/date-picker/props/basic-year-table.js +5 -6
- package/es/components/date-picker/props/date-picker.d.ts +26 -12
- package/es/components/date-picker/props/date-picker.js +3 -0
- package/es/components/date-picker/props/panel-date-pick.d.ts +6 -1
- package/es/components/date-picker/props/panel-date-range.d.ts +7 -1
- package/es/components/date-picker/props/panel-month-range.d.ts +3 -1
- package/es/components/date-picker/props/panel-month-range.js +7 -3
- package/es/components/date-picker/props/panel-year-range.d.ts +14 -0
- package/es/components/date-picker/props/panel-year-range.js +17 -0
- package/es/components/date-picker/props/shared.d.ts +9 -2
- package/es/components/date-picker/props/shared.js +29 -12
- package/es/components/date-picker/style/css.d.ts +4 -0
- package/es/components/date-picker/style/css.js +5 -0
- package/es/components/date-picker/utils.d.ts +9 -2
- package/es/components/date-picker/utils.js +66 -33
- package/es/components/date-time-select/date-time-select.vue2.js +1 -1
- package/es/components/date-time-select/index.d.ts +1 -0
- package/es/components/date-time-select/types.d.ts +4 -0
- package/es/components/dialog/dialog-content.vue2.js +2 -3
- package/es/components/dropdown/dropdown-item-impl.vue.d.ts +4 -4
- package/es/components/dropdown/dropdown-item-impl.vue.js +12 -12
- package/es/components/dropdown/dropdown-item-impl.vue2.js +6 -6
- package/es/components/dropdown/dropdown.vue.d.ts +6 -29
- package/es/components/dropdown/dropdown.vue2.js +146 -149
- package/es/components/footer-layout/footer-layout.vue2.js +19 -108
- package/es/components/form/form-item.vue.d.ts +2 -3
- package/es/components/form/form-item.vue2.js +140 -135
- package/es/components/form/form-label-wrap.js +27 -27
- package/es/components/form/form.vue2.js +71 -65
- package/es/components/form/hooks/use-form-common-props.js +3 -4
- package/es/components/form/hooks/use-form-item.js +12 -13
- package/es/components/form/index.d.ts +75 -48
- package/es/components/form/types.d.ts +7 -1
- package/es/components/form/utils.d.ts +1 -1
- package/es/components/form/utils.js +33 -28
- package/es/components/header-layout/header-layout.vue2.js +26 -114
- package/es/components/icon/icon.vue2.js +20 -19
- package/es/components/icon/index.d.ts +0 -1
- package/es/components/icon/index.js +3 -4
- package/es/components/index.js +323 -319
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/link/index.d.ts +3 -3
- package/es/components/md-code-demo/md-code-demo.js +12 -13
- package/es/components/md-container/md-container.vue2.js +52 -138
- package/es/components/md-vue-playground/md-vue-playground.vue2.js +17 -17
- package/es/components/menu/index.js +1 -1
- package/es/components/menu/menu-item.vue.d.ts +1 -1
- package/es/components/menu/menu-item.vue2.js +45 -132
- package/es/components/menu/sub-menu.vue.d.ts +2 -1
- package/es/components/menu/sub-menu.vue2.js +76 -163
- package/es/components/modal/index.d.ts +33 -45
- package/es/components/modal/modal-footer-action.vue2.js +26 -112
- package/es/components/modal/modal.vue.d.ts +2 -2
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +57 -144
- package/es/components/multiple-tabs/tab-content.vue2.js +19 -113
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +37 -132
- package/es/components/popconfirm/index.d.ts +24 -24
- package/es/components/popconfirm/popconfirm.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +5 -5
- package/es/components/popover/popover.vue.d.ts +2 -2
- package/es/components/popper/composables/use-content.js +2 -3
- package/es/components/popper/trigger.vue2.js +7 -8
- package/es/components/progress/index.d.ts +3 -3
- package/es/components/result/result.vue.d.ts +1 -1
- package/es/components/result/result.vue2.js +20 -109
- package/es/components/roving-focus-group/index.js +11 -11
- package/es/components/roving-focus-group/roving-focus-group.vue.js +5 -5
- package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -3
- package/es/components/scrollbar/index.js +9 -10
- package/es/components/select/defaults.d.ts +99 -15
- package/es/components/select/defaults.js +90 -12
- package/es/components/select/group-item.vue.d.ts +10 -5
- package/es/components/select/group-item.vue.js +9 -19
- package/es/components/select/group-item.vue2.js +4 -2
- package/es/components/select/index.d.ts +2782 -0
- package/es/components/select/index.js +2 -2
- package/es/components/select/option-item.vue.d.ts +40 -26
- package/es/components/select/option-item.vue.js +12 -12
- package/es/components/select/option-item.vue2.js +15 -12
- package/es/components/select/select-dropdown.d.ts +29 -3
- package/es/components/select/select-dropdown.js +120 -129
- package/es/components/select/select.types.d.ts +19 -11
- package/es/components/select/select.vue.d.ts +2778 -0
- package/es/components/select/select.vue.js +261 -251
- package/es/components/select/select.vue2.js +49 -45
- package/es/components/select/token.d.ts +10 -12
- package/es/components/select/token.js +4 -2
- package/es/components/select/useAllowCreate.d.ts +3 -3
- package/es/components/select/useAllowCreate.js +32 -29
- package/es/components/select/useOption.d.ts +3 -3
- package/es/components/select/useProps.d.ts +21 -0
- package/es/components/select/useProps.js +22 -0
- package/es/components/select/useSelect.d.ts +940 -121
- package/es/components/select/useSelect.js +396 -302
- package/es/components/side-menu/side-menu.vue2.js +77 -165
- package/es/components/steps/index.d.ts +12 -12
- package/es/components/super-form/component-map.js +52 -141
- package/es/components/super-form/style/css.js +4 -4
- package/es/components/super-form/super-form-action.vue2.js +39 -126
- package/es/components/super-form/super-form-item.vue2.js +161 -248
- package/es/components/super-form/super-form.vue.d.ts +1 -1
- package/es/components/super-form/super-form.vue2.js +116 -202
- package/es/components/super-form/types.d.ts +3 -1
- package/es/components/switch/index.d.ts +6 -6
- package/es/components/table/field.js +82 -176
- package/es/components/table/index.d.ts +24 -24
- package/es/components/table/table.vue.d.ts +1 -1
- package/es/components/tabs/tab-nav.vue.d.ts +2 -2
- package/es/components/tabs/tab-nav.vue2.js +98 -187
- package/es/components/tabs/tabs.vue.d.ts +2 -1
- package/es/components/time-picker/common/picker-range-trigger.vue.d.ts +84 -0
- package/es/components/time-picker/common/picker-range-trigger.vue.js +4 -0
- package/es/components/time-picker/common/picker-range-trigger.vue2.js +100 -0
- package/es/components/time-picker/common/picker.vue.d.ts +71 -41
- package/es/components/time-picker/common/picker.vue2.js +285 -289
- package/es/components/time-picker/common/props.d.ts +76 -12
- package/es/components/time-picker/common/props.js +78 -35
- package/es/components/time-picker/composables/use-time-panel.d.ts +4 -4
- package/es/components/time-picker/composables/use-time-picker.d.ts +28 -29
- package/es/components/time-picker/constants.d.ts +5 -0
- package/es/components/time-picker/constants.js +15 -10
- package/es/components/time-picker/index.d.ts +120 -74
- package/es/components/time-picker/index.js +28 -23
- package/es/components/time-picker/props/basic-time-spinner.d.ts +5 -4
- package/es/components/time-picker/props/panel-time-picker.d.ts +2 -1
- package/es/components/time-picker/props/panel-time-range.d.ts +2 -1
- package/es/components/time-picker/props/shared.d.ts +4 -5
- package/es/components/time-picker/style/css.d.ts +3 -0
- package/es/components/time-picker/style/css.js +3 -0
- package/es/components/time-picker/style/index.d.ts +3 -0
- package/es/components/time-picker/style/index.js +3 -0
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +135 -128
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +4 -4
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +36 -35
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +4 -4
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +109 -108
- package/es/components/time-picker/time-picker.d.ts +60 -37
- package/es/components/time-picker/time-picker.js +28 -30
- package/es/components/time-picker/utils.d.ts +5 -2
- package/es/components/time-picker/utils.js +17 -16
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/timeline/index.d.ts +6 -6
- package/es/components/tooltip/content.vue2.js +47 -48
- package/es/components/tooltip/index.d.ts +3 -3
- package/es/components/tooltip/tooltip.vue.d.ts +1 -1
- package/es/components/tooltip/tooltip.vue2.js +77 -78
- package/es/components/tooltip/utils.js +4 -5
- package/es/components/tree/tree-node.vue.d.ts +33 -33
- package/es/components/tree/tree-node.vue.js +11 -11
- package/es/components/tree/tree-node.vue2.js +15 -15
- package/es/components/upload/index.d.ts +15 -15
- package/es/components/upload/upload-content.vue.d.ts +1 -1
- package/es/components/upload/upload.vue.d.ts +1 -1
- package/es/components/virtual-list/builders/build-grid.d.ts +9 -9
- package/es/components/virtual-list/builders/build-grid.js +222 -214
- package/es/components/virtual-list/builders/build-list.d.ts +13 -13
- package/es/components/virtual-list/builders/build-list.js +206 -198
- package/es/components/virtual-list/components/dynamic-size-grid.d.ts +6 -6
- package/es/components/virtual-list/components/dynamic-size-grid.js +12 -12
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +13 -12
- package/es/components/virtual-list/components/dynamic-size-list.js +7 -7
- package/es/components/virtual-list/components/fixed-size-grid.d.ts +6 -6
- package/es/components/virtual-list/components/fixed-size-list.d.ts +13 -12
- package/es/components/virtual-list/components/fixed-size-list.js +8 -8
- package/es/components/virtual-list/components/scrollbar.js +59 -66
- package/es/components/virtual-list/defaults.d.ts +0 -4
- package/es/components/virtual-list/defaults.js +11 -15
- package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/es/components/virtual-list/hooks/use-cache.js +6 -6
- package/es/components/virtual-list/hooks/use-wheel.js +1 -1
- package/es/components/virtual-list/index.d.ts +6 -4
- package/es/components/virtual-list/index.js +4 -4
- package/es/components/virtual-list/props.d.ts +11 -7
- package/es/components/virtual-list/props.js +24 -30
- package/es/components/virtual-list/types.d.ts +1 -1
- package/es/components/virtual-list/utils.d.ts +1 -2
- package/es/components/virtual-list/utils.js +16 -18
- package/es/hooks/index.d.ts +3 -1
- package/es/hooks/index.js +49 -46
- package/es/hooks/use-calc-input-width/index.d.ts +7 -0
- package/es/hooks/use-calc-input-width/index.js +17 -0
- package/es/hooks/use-composition/index.d.ts +12 -0
- package/es/hooks/use-composition/index.js +28 -0
- package/es/hooks/use-delayed-toggle/index.d.ts +8 -4
- package/es/hooks/use-delayed-toggle/index.js +52 -17
- package/es/hooks/use-empty-values/index.d.ts +16 -0
- package/es/hooks/use-empty-values/index.js +37 -0
- package/es/hooks/use-focus-controller/index.d.ts +27 -0
- package/es/hooks/use-focus-controller/index.js +38 -0
- package/es/hooks/use-id/index.d.ts +1 -1
- package/es/hooks/use-id/index.js +11 -11
- package/es/hooks/use-namespace/index.d.ts +5 -6
- package/es/hooks/use-namespace/index.js +13 -15
- package/es/index.js +459 -451
- package/es/package.json.d.ts +2 -2
- package/es/package.json.js +1 -1
- package/es/utils/helper.d.ts +1 -0
- package/es/utils/helper.js +3 -2
- package/es/utils/index.js +49 -48
- package/lib/components/alert/alert.vue.d.ts +1 -11
- package/lib/components/alert/alert.vue2.cjs +1 -1
- package/lib/components/alert/index.d.ts +28 -76
- package/lib/components/autocomplete/autocomplete.vue.d.ts +14 -14
- package/lib/components/autocomplete/autocomplete.vue2.cjs +1 -1
- package/lib/components/autocomplete/index.d.ts +42 -42
- package/lib/components/backtop/backtop.vue.d.ts +1 -15
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/backtop/index.d.ts +3 -9
- package/lib/components/backtop/types.cjs +1 -0
- package/lib/components/backtop/types.d.ts +14 -0
- package/lib/components/button/button-custom.d.ts +1 -1
- package/lib/components/button/button.vue.d.ts +3 -50
- package/lib/components/button/button.vue2.cjs +1 -1
- package/lib/components/button/index.d.ts +39 -40
- package/lib/components/button/types.d.ts +47 -1
- package/lib/components/button/use-button.d.ts +5 -5
- package/lib/components/card/index.d.ts +3 -3
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +18 -18
- package/lib/components/carousel/use-carousel.cjs +1 -1
- package/lib/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +42 -42
- package/lib/components/color-picker/components/hue-slider.vue.d.ts +3 -3
- package/lib/components/color-picker/components/predefine.vue.d.ts +3 -3
- package/lib/components/color-picker/components/sv-panel.vue.d.ts +3 -3
- package/lib/components/config-provider/hooks/use-global-config.d.ts +3 -3
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/context-menu/index.cjs +1 -1
- package/lib/components/context-menu/types.cjs +1 -1
- package/lib/components/context-menu/types.d.ts +1 -1
- package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -0
- package/lib/components/date-picker/composables/use-basic-date-table.d.ts +188 -0
- package/lib/components/date-picker/composables/use-month-range-header.d.ts +1 -1
- package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -0
- package/lib/components/date-picker/composables/use-panel-date-range.d.ts +29 -0
- package/lib/components/date-picker/composables/use-range-picker.cjs +1 -1
- package/lib/components/date-picker/composables/use-range-picker.d.ts +46 -42
- package/lib/components/date-picker/composables/use-shortcut.cjs +1 -1
- package/lib/components/date-picker/composables/use-year-range-header.cjs +1 -0
- package/lib/components/date-picker/composables/use-year-range-header.d.ts +16 -0
- package/lib/components/date-picker/constants.cjs +1 -1
- package/lib/components/date-picker/constants.d.ts +2 -15
- package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-cell-render.d.ts +3 -1
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +14 -23
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +2 -2
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +50 -9
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +13 -3
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +16 -3
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +6 -3
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-year-range.vue.cjs +1 -0
- package/lib/components/date-picker/date-picker-com/panel-year-range.vue.d.ts +35 -0
- package/lib/components/date-picker/date-picker-com/panel-year-range.vue2.cjs +1 -0
- package/lib/components/date-picker/date-picker.cjs +1 -1
- package/lib/components/date-picker/date-picker.d.ts +70 -40
- package/lib/components/date-picker/date-picker.type.d.ts +2 -1
- package/lib/components/date-picker/index.cjs +1 -1
- package/lib/components/date-picker/index.d.ts +126 -68
- package/lib/components/date-picker/instance.cjs +1 -0
- package/lib/components/date-picker/instance.d.ts +9 -0
- package/lib/components/date-picker/panel-utils.cjs +1 -1
- package/lib/components/date-picker/panel-utils.d.ts +48 -0
- package/lib/components/date-picker/props/basic-cell.d.ts +2 -1
- package/lib/components/date-picker/props/basic-date-table.cjs +1 -1
- package/lib/components/date-picker/props/basic-date-table.d.ts +7 -2
- package/lib/components/date-picker/props/basic-month-table.d.ts +3 -2
- package/lib/components/date-picker/props/basic-year-table.cjs +1 -1
- package/lib/components/date-picker/props/basic-year-table.d.ts +23 -5
- package/lib/components/date-picker/props/date-picker.d.ts +26 -12
- package/lib/components/date-picker/props/panel-date-pick.d.ts +6 -1
- package/lib/components/date-picker/props/panel-date-range.d.ts +7 -1
- package/lib/components/date-picker/props/panel-month-range.cjs +1 -1
- package/lib/components/date-picker/props/panel-month-range.d.ts +3 -1
- package/lib/components/date-picker/props/panel-year-range.cjs +1 -0
- package/lib/components/date-picker/props/panel-year-range.d.ts +14 -0
- package/lib/components/date-picker/props/shared.cjs +1 -1
- package/lib/components/date-picker/props/shared.d.ts +9 -2
- package/lib/components/date-picker/style/css.cjs +1 -1
- package/lib/components/date-picker/style/css.d.ts +4 -0
- package/lib/components/date-picker/utils.cjs +1 -1
- package/lib/components/date-picker/utils.d.ts +9 -2
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/index.d.ts +1 -0
- package/lib/components/date-time-select/types.d.ts +4 -0
- package/lib/components/dialog/dialog-content.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown-item-impl.vue.cjs +1 -1
- package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +4 -4
- package/lib/components/dropdown/dropdown-item-impl.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue.d.ts +6 -29
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/form/form-item.vue.d.ts +2 -3
- package/lib/components/form/form-item.vue2.cjs +1 -1
- package/lib/components/form/form-label-wrap.cjs +1 -1
- package/lib/components/form/form.vue2.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.cjs +1 -1
- package/lib/components/form/hooks/use-form-item.cjs +1 -1
- package/lib/components/form/index.d.ts +75 -48
- package/lib/components/form/types.d.ts +7 -1
- package/lib/components/form/utils.cjs +1 -1
- package/lib/components/form/utils.d.ts +1 -1
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon/index.cjs +1 -1
- package/lib/components/icon/index.d.ts +0 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/link/index.d.ts +3 -3
- package/lib/components/md-code-demo/md-code-demo.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-vue-playground/md-vue-playground.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue.d.ts +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue.d.ts +2 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +33 -45
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/modal/modal.vue.d.ts +2 -2
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +24 -24
- package/lib/components/popconfirm/popconfirm.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +5 -5
- package/lib/components/popover/popover.vue.d.ts +2 -2
- package/lib/components/popper/composables/use-content.cjs +1 -1
- package/lib/components/popper/trigger.vue2.cjs +1 -1
- package/lib/components/progress/index.d.ts +3 -3
- package/lib/components/result/result.vue.d.ts +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/roving-focus-group/roving-focus-item.vue2.cjs +1 -1
- package/lib/components/scrollbar/index.cjs +1 -1
- package/lib/components/select/defaults.cjs +1 -1
- package/lib/components/select/defaults.d.ts +99 -15
- package/lib/components/select/group-item.vue.cjs +1 -1
- package/lib/components/select/group-item.vue.d.ts +10 -5
- package/lib/components/select/group-item.vue2.cjs +1 -1
- package/lib/components/select/index.cjs +1 -1
- package/lib/components/select/index.d.ts +2782 -0
- package/lib/components/select/option-item.vue.cjs +1 -1
- package/lib/components/select/option-item.vue.d.ts +40 -26
- package/lib/components/select/option-item.vue2.cjs +1 -1
- package/lib/components/select/select-dropdown.cjs +1 -1
- package/lib/components/select/select-dropdown.d.ts +29 -3
- package/lib/components/select/select.types.d.ts +19 -11
- package/lib/components/select/select.vue.cjs +1 -1
- package/lib/components/select/select.vue.d.ts +2778 -0
- package/lib/components/select/select.vue2.cjs +1 -1
- package/lib/components/select/token.cjs +1 -1
- package/lib/components/select/token.d.ts +10 -12
- package/lib/components/select/useAllowCreate.cjs +1 -1
- package/lib/components/select/useAllowCreate.d.ts +3 -3
- package/lib/components/select/useOption.d.ts +3 -3
- package/lib/components/select/useProps.cjs +1 -0
- package/lib/components/select/useProps.d.ts +21 -0
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/select/useSelect.d.ts +940 -121
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/steps/index.d.ts +12 -12
- package/lib/components/super-form/component-map.cjs +1 -1
- package/lib/components/super-form/style/css.cjs +1 -1
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue.d.ts +1 -1
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/types.d.ts +3 -1
- package/lib/components/switch/index.d.ts +6 -6
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/index.d.ts +24 -24
- package/lib/components/table/table.vue.d.ts +1 -1
- package/lib/components/tabs/tab-nav.vue.d.ts +2 -2
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +2 -1
- package/lib/components/time-picker/common/picker-range-trigger.vue.cjs +1 -0
- package/lib/components/time-picker/common/picker-range-trigger.vue.d.ts +84 -0
- package/lib/components/time-picker/common/picker-range-trigger.vue2.cjs +1 -0
- package/lib/components/time-picker/common/picker.vue.d.ts +71 -41
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -1
- package/lib/components/time-picker/common/props.cjs +1 -1
- package/lib/components/time-picker/common/props.d.ts +76 -12
- package/lib/components/time-picker/composables/use-time-panel.d.ts +4 -4
- package/lib/components/time-picker/composables/use-time-picker.d.ts +28 -29
- package/lib/components/time-picker/constants.cjs +1 -1
- package/lib/components/time-picker/constants.d.ts +5 -0
- package/lib/components/time-picker/index.cjs +1 -1
- package/lib/components/time-picker/index.d.ts +120 -74
- package/lib/components/time-picker/props/basic-time-spinner.d.ts +5 -4
- package/lib/components/time-picker/props/panel-time-picker.d.ts +2 -1
- package/lib/components/time-picker/props/panel-time-range.d.ts +2 -1
- package/lib/components/time-picker/props/shared.d.ts +4 -5
- package/lib/components/time-picker/style/css.cjs +1 -1
- package/lib/components/time-picker/style/css.d.ts +3 -0
- package/lib/components/time-picker/style/index.cjs +1 -1
- package/lib/components/time-picker/style/index.d.ts +3 -0
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +4 -4
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +4 -4
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker.cjs +1 -1
- package/lib/components/time-picker/time-picker.d.ts +60 -37
- package/lib/components/time-picker/utils.cjs +1 -1
- package/lib/components/time-picker/utils.d.ts +5 -2
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/timeline/index.d.ts +6 -6
- package/lib/components/tooltip/content.vue2.cjs +1 -1
- package/lib/components/tooltip/index.d.ts +3 -3
- package/lib/components/tooltip/tooltip.vue.d.ts +1 -1
- package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
- package/lib/components/tooltip/utils.cjs +1 -1
- package/lib/components/tree/tree-node.vue.cjs +1 -1
- package/lib/components/tree/tree-node.vue.d.ts +33 -33
- package/lib/components/tree/tree-node.vue2.cjs +1 -1
- package/lib/components/upload/index.d.ts +15 -15
- package/lib/components/upload/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/upload.vue.d.ts +1 -1
- package/lib/components/virtual-list/builders/build-grid.cjs +1 -1
- package/lib/components/virtual-list/builders/build-grid.d.ts +9 -9
- package/lib/components/virtual-list/builders/build-list.cjs +1 -1
- package/lib/components/virtual-list/builders/build-list.d.ts +13 -13
- package/lib/components/virtual-list/components/dynamic-size-grid.cjs +1 -1
- package/lib/components/virtual-list/components/dynamic-size-grid.d.ts +6 -6
- package/lib/components/virtual-list/components/dynamic-size-list.cjs +1 -1
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +13 -12
- package/lib/components/virtual-list/components/fixed-size-grid.d.ts +6 -6
- package/lib/components/virtual-list/components/fixed-size-list.cjs +1 -1
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +13 -12
- package/lib/components/virtual-list/components/scrollbar.cjs +1 -1
- package/lib/components/virtual-list/defaults.cjs +1 -1
- package/lib/components/virtual-list/defaults.d.ts +0 -4
- package/lib/components/virtual-list/hooks/use-cache.cjs +1 -1
- package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/lib/components/virtual-list/hooks/use-wheel.cjs +1 -1
- package/lib/components/virtual-list/index.cjs +1 -1
- package/lib/components/virtual-list/index.d.ts +6 -4
- package/lib/components/virtual-list/props.cjs +1 -1
- package/lib/components/virtual-list/props.d.ts +11 -7
- package/lib/components/virtual-list/types.d.ts +1 -1
- package/lib/components/virtual-list/utils.cjs +1 -1
- package/lib/components/virtual-list/utils.d.ts +1 -2
- package/lib/hooks/index.cjs +1 -1
- package/lib/hooks/index.d.ts +3 -1
- package/lib/hooks/use-calc-input-width/index.cjs +1 -0
- package/lib/hooks/use-calc-input-width/index.d.ts +7 -0
- package/lib/hooks/use-composition/index.cjs +1 -0
- package/lib/hooks/use-composition/index.d.ts +12 -0
- package/lib/hooks/use-delayed-toggle/index.cjs +1 -1
- package/lib/hooks/use-delayed-toggle/index.d.ts +8 -4
- package/lib/hooks/use-empty-values/index.cjs +1 -0
- package/lib/hooks/use-empty-values/index.d.ts +16 -0
- package/lib/hooks/use-focus-controller/index.cjs +1 -0
- package/lib/hooks/use-focus-controller/index.d.ts +27 -0
- package/lib/hooks/use-id/index.cjs +2 -2
- package/lib/hooks/use-id/index.d.ts +1 -1
- package/lib/hooks/use-namespace/index.cjs +1 -1
- package/lib/hooks/use-namespace/index.d.ts +5 -6
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +2 -2
- package/lib/utils/helper.cjs +1 -1
- package/lib/utils/helper.d.ts +1 -0
- package/lib/utils/index.cjs +1 -1
- package/package.json +5 -5
- package/theme-style/index.css +1 -1
- package/theme-style/src/common/var.scss +41 -0
- package/theme-style/src/date-picker/date-picker.scss +31 -31
- package/theme-style/src/date-picker/date-range-picker.scss +60 -37
- package/theme-style/src/date-picker/date-table.scss +20 -20
- package/theme-style/src/date-picker/month-table.scss +40 -25
- package/theme-style/src/date-picker/picker-panel.scss +27 -28
- package/theme-style/src/date-picker/picker.scss +60 -56
- package/theme-style/src/date-picker/time-picker.scss +21 -21
- package/theme-style/src/date-picker/time-range-picker.scss +6 -6
- package/theme-style/src/date-picker/time-spinner.scss +24 -22
- package/theme-style/src/date-picker/year-table.scss +61 -14
- package/theme-style/src/option-group.scss +7 -28
- package/theme-style/src/option.scss +46 -12
- package/theme-style/src/select-dropdown-v2.scss +31 -37
- package/theme-style/src/select.scss +136 -220
- package/theme-style/src/tabs.scss +6 -66
- package/theme-style/src/tabss.scss +4 -4
- package/theme-style/vft-date-picker.css +1 -1
- package/theme-style/vft-option-group.css +1 -1
- package/theme-style/vft-option.css +1 -1
- package/theme-style/vft-select-dropdown-v2.css +1 -1
- package/theme-style/vft-select.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/theme-style/vft-tabss.css +1 -1
- package/theme-style/vft-time-picker.css +1 -1
- package/theme-style/vft-time-select.css +1 -1
- package/web-types.json +1 -1
- package/es/components/select/useInput.d.ts +0 -5
- package/es/components/select/useInput.js +0 -20
- package/es/components/select/util.d.ts +0 -2
- package/es/components/select/util.js +0 -18
- package/lib/components/select/useInput.cjs +0 -1
- package/lib/components/select/useInput.d.ts +0 -5
- package/lib/components/select/util.cjs +0 -1
- package/lib/components/select/util.d.ts +0 -2
package/es/package.json.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"name": "vft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.252",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -58,7 +58,7 @@ declare const _default: {
|
|
|
58
58
|
"@vueuse/core": "13.5.0",
|
|
59
59
|
"@waline/client": "2.15.8",
|
|
60
60
|
"async-validator": "4.2.5",
|
|
61
|
-
"dayjs": "1.11.
|
|
61
|
+
"dayjs": "1.11.13",
|
|
62
62
|
"fflate": "0.8.1",
|
|
63
63
|
"hotkeys-js": "3.12.0",
|
|
64
64
|
"lodash-es": "4.17.21",
|
package/es/package.json.js
CHANGED
package/es/utils/helper.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import { type ComponentSize } from 'vft/es/constants';
|
|
|
2
2
|
export declare const getSizeType: (type: string) => string | false;
|
|
3
3
|
export declare const isValidComponentSize: (val: string) => val is ComponentSize | "";
|
|
4
4
|
export declare const getComponentSize: (size?: ComponentSize) => 32 | 24 | 40;
|
|
5
|
+
export declare const castArray: (arr: any) => any[];
|
package/es/utils/helper.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { componentSizes as t, componentSizeMap as n } from "../constants/size.js";
|
|
2
|
-
const s = (e) => ["large", "small"].includes(e) ? e : !1, r = (e) => ["", ...t].includes(e),
|
|
2
|
+
const s = (e) => ["large", "small"].includes(e) ? e : !1, r = (e) => ["", ...t].includes(e), c = (e) => n[e || "default"], p = (e) => !e && e !== 0 ? [] : Array.isArray(e) ? e : [e];
|
|
3
3
|
export {
|
|
4
|
-
p as
|
|
4
|
+
p as castArray,
|
|
5
|
+
c as getComponentSize,
|
|
5
6
|
s as getSizeType,
|
|
6
7
|
r as isValidComponentSize
|
|
7
8
|
};
|
package/es/utils/index.js
CHANGED
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
import { attemptFocus as
|
|
2
|
-
import { getClientXY as f, getOffsetTop as
|
|
1
|
+
import { attemptFocus as o, focusNode as t, getSibling as s, isFocusable as i, isLeaf as l, isVisible as n, obtainAllFocusableElements as a, triggerEvent as p } from "./dom/aria.js";
|
|
2
|
+
import { getClientXY as f, getOffsetTop as c, getOffsetTopDistance as g, isInContainer as d } from "./dom/position.js";
|
|
3
3
|
import { getScrollBarWidth as C, getScrollContainer as u, isScroll as h, scrollIntoView as b } from "./dom/scroll.js";
|
|
4
4
|
import { debugWarn as V, throwError as P } from "./error.js";
|
|
5
|
-
import { composeEventHandlers as w, whenMouse as
|
|
6
|
-
import {
|
|
7
|
-
import { cssVarValue as
|
|
8
|
-
import { mutable as
|
|
9
|
-
import { escapeStringRegexp as
|
|
10
|
-
import { withInstall as
|
|
11
|
-
import { buildProp as
|
|
12
|
-
import { cAF as
|
|
5
|
+
import { composeEventHandlers as w, whenMouse as y } from "./event.js";
|
|
6
|
+
import { castArray as E, getComponentSize as T, getSizeType as N, isValidComponentSize as v } from "./helper.js";
|
|
7
|
+
import { cssVarValue as A, generateCssVars as O, primaryColor as B, setCssVar as D, setPrimaryColorCssvars as R } from "./ns-cover.js";
|
|
8
|
+
import { mutable as k } from "./typescript.js";
|
|
9
|
+
import { escapeStringRegexp as K } from "./vue/data-helper.js";
|
|
10
|
+
import { withInstall as M, withInstallDirective as X, withInstallFunction as Y, withNoopInstall as j } from "./vue/install.js";
|
|
11
|
+
import { buildProp as G, buildProps as J, definePropType as Q, epPropKey as U, isEpProp as Z } from "./vue/props/runtime.js";
|
|
12
|
+
import { cAF as $, rAF as ee } from "./vue/raf.js";
|
|
13
13
|
import { composeRefs as oe } from "./vue/refs.js";
|
|
14
|
-
import { PatchFlags as
|
|
14
|
+
import { PatchFlags as se, ensureOnlyChild as ie, flattedChildren as le, getFirstValidNode as ne, getNormalizedProps as ae, isComment as pe, isFragment as me, isTemplate as fe, isText as ce, isValidElementNode as ge, renderBlock as de, renderIf as xe } from "./vue/vnode.js";
|
|
15
15
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
se as PatchFlags,
|
|
17
|
+
o as attemptFocus,
|
|
18
|
+
G as buildProp,
|
|
19
|
+
J as buildProps,
|
|
20
|
+
$ as cAF,
|
|
21
|
+
E as castArray,
|
|
21
22
|
w as composeEventHandlers,
|
|
22
23
|
oe as composeRefs,
|
|
23
|
-
|
|
24
|
+
A as cssVarValue,
|
|
24
25
|
V as debugWarn,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
Q as definePropType,
|
|
27
|
+
ie as ensureOnlyChild,
|
|
28
|
+
U as epPropKey,
|
|
29
|
+
K as escapeStringRegexp,
|
|
30
|
+
le as flattedChildren,
|
|
30
31
|
t as focusNode,
|
|
31
|
-
|
|
32
|
+
O as generateCssVars,
|
|
32
33
|
f as getClientXY,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
T as getComponentSize,
|
|
35
|
+
ne as getFirstValidNode,
|
|
36
|
+
ae as getNormalizedProps,
|
|
37
|
+
c as getOffsetTop,
|
|
38
|
+
g as getOffsetTopDistance,
|
|
38
39
|
C as getScrollBarWidth,
|
|
39
40
|
u as getScrollContainer,
|
|
40
41
|
s as getSibling,
|
|
41
|
-
|
|
42
|
+
N as getSizeType,
|
|
42
43
|
pe as isComment,
|
|
43
|
-
|
|
44
|
+
Z as isEpProp,
|
|
44
45
|
i as isFocusable,
|
|
45
|
-
|
|
46
|
+
me as isFragment,
|
|
46
47
|
d as isInContainer,
|
|
47
48
|
l as isLeaf,
|
|
48
49
|
h as isScroll,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
fe as isTemplate,
|
|
51
|
+
ce as isText,
|
|
52
|
+
v as isValidComponentSize,
|
|
52
53
|
ge as isValidElementNode,
|
|
53
54
|
n as isVisible,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
k as mutable,
|
|
56
|
+
a as obtainAllFocusableElements,
|
|
57
|
+
B as primaryColor,
|
|
58
|
+
ee as rAF,
|
|
59
|
+
de as renderBlock,
|
|
60
|
+
xe as renderIf,
|
|
60
61
|
b as scrollIntoView,
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
D as setCssVar,
|
|
63
|
+
R as setPrimaryColorCssvars,
|
|
63
64
|
P as throwError,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
p as triggerEvent,
|
|
66
|
+
y as whenMouse,
|
|
67
|
+
M as withInstall,
|
|
68
|
+
X as withInstallDirective,
|
|
69
|
+
Y as withInstallFunction,
|
|
70
|
+
j as withNoopInstall
|
|
70
71
|
};
|
|
@@ -27,16 +27,11 @@ export interface AlertProps {
|
|
|
27
27
|
center?: boolean;
|
|
28
28
|
effect?: alertEffects;
|
|
29
29
|
}
|
|
30
|
-
declare
|
|
31
|
-
title?(_: {}): any;
|
|
32
|
-
default?(_: {}): any;
|
|
33
|
-
};
|
|
34
|
-
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
31
|
close: (evt: MouseEvent) => void;
|
|
36
32
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AlertProps>>> & Readonly<{
|
|
37
33
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
38
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
35
|
export default _default;
|
|
41
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
37
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -47,8 +42,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
47
42
|
required: true;
|
|
48
43
|
};
|
|
49
44
|
};
|
|
50
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
-
new (): {
|
|
52
|
-
$slots: S;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../icon/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const n=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const i=e.defineComponent({name:"vft-alert"}),c=e.defineComponent({...i,props:{title:{default:""},description:{default:""},type:{default:"info"},closable:{type:Boolean,default:!0},closeText:{default:""},showIcon:{type:Boolean},center:{type:Boolean},effect:{default:"light"}},emits:{close:t=>t instanceof MouseEvent},setup(t,{emit:l}){const o=n.useNamespace("alert"),r=e.useSlots();return e.ref(!0),e.computed(()=>t.type),e.computed(()=>[o.e("icon"),{[o.is("big")]:!!t.description||!!r.default}]),e.computed(()=>({[o.is("bold")]:t.description||r.default})),(s,a)=>(e.openBlock(),e.createBlock(e.unref(u.VftIcon)))}});exports.default=c;
|
|
@@ -1,73 +1,5 @@
|
|
|
1
1
|
export * from './types';
|
|
2
|
-
export declare const VftAlert: import("vft/es/utils").SFCWithInstall<{
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
title: {
|
|
5
|
-
type: import("vue").PropType<string>;
|
|
6
|
-
};
|
|
7
|
-
description: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
};
|
|
10
|
-
type: {
|
|
11
|
-
type: import("vue").PropType<import("./types").TypeComponents>;
|
|
12
|
-
};
|
|
13
|
-
closable: {
|
|
14
|
-
type: import("vue").PropType<boolean>;
|
|
15
|
-
};
|
|
16
|
-
closeText: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
showIcon: {
|
|
20
|
-
type: import("vue").PropType<boolean>;
|
|
21
|
-
};
|
|
22
|
-
center: {
|
|
23
|
-
type: import("vue").PropType<boolean>;
|
|
24
|
-
};
|
|
25
|
-
effect: {
|
|
26
|
-
type: import("vue").PropType<import("./types").alertEffects>;
|
|
27
|
-
};
|
|
28
|
-
}>> & Readonly<{
|
|
29
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
30
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
close: (evt: MouseEvent) => void;
|
|
32
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
33
|
-
P: {};
|
|
34
|
-
B: {};
|
|
35
|
-
D: {};
|
|
36
|
-
C: {};
|
|
37
|
-
M: {};
|
|
38
|
-
Defaults: {};
|
|
39
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
title: {
|
|
41
|
-
type: import("vue").PropType<string>;
|
|
42
|
-
};
|
|
43
|
-
description: {
|
|
44
|
-
type: import("vue").PropType<string>;
|
|
45
|
-
};
|
|
46
|
-
type: {
|
|
47
|
-
type: import("vue").PropType<import("./types").TypeComponents>;
|
|
48
|
-
};
|
|
49
|
-
closable: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
};
|
|
52
|
-
closeText: {
|
|
53
|
-
type: import("vue").PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
showIcon: {
|
|
56
|
-
type: import("vue").PropType<boolean>;
|
|
57
|
-
};
|
|
58
|
-
center: {
|
|
59
|
-
type: import("vue").PropType<boolean>;
|
|
60
|
-
};
|
|
61
|
-
effect: {
|
|
62
|
-
type: import("vue").PropType<import("./types").alertEffects>;
|
|
63
|
-
};
|
|
64
|
-
}>> & Readonly<{
|
|
65
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
66
|
-
}>, {}, {}, {}, {}, {}>;
|
|
67
|
-
__isFragment?: never;
|
|
68
|
-
__isTeleport?: never;
|
|
69
|
-
__isSuspense?: never;
|
|
70
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2
|
+
export declare const VftAlert: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
71
3
|
title: {
|
|
72
4
|
type: import("vue").PropType<string>;
|
|
73
5
|
};
|
|
@@ -92,14 +24,34 @@ export declare const VftAlert: import("vft/es/utils").SFCWithInstall<{
|
|
|
92
24
|
effect: {
|
|
93
25
|
type: import("vue").PropType<import("./types").alertEffects>;
|
|
94
26
|
};
|
|
95
|
-
}>> & Readonly<{
|
|
96
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
97
27
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
98
28
|
close: (evt: MouseEvent) => void;
|
|
99
|
-
}, string,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
title: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
};
|
|
33
|
+
description: {
|
|
34
|
+
type: import("vue").PropType<string>;
|
|
103
35
|
};
|
|
104
|
-
|
|
36
|
+
type: {
|
|
37
|
+
type: import("vue").PropType<import("./types").TypeComponents>;
|
|
38
|
+
};
|
|
39
|
+
closable: {
|
|
40
|
+
type: import("vue").PropType<boolean>;
|
|
41
|
+
};
|
|
42
|
+
closeText: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
};
|
|
45
|
+
showIcon: {
|
|
46
|
+
type: import("vue").PropType<boolean>;
|
|
47
|
+
};
|
|
48
|
+
center: {
|
|
49
|
+
type: import("vue").PropType<boolean>;
|
|
50
|
+
};
|
|
51
|
+
effect: {
|
|
52
|
+
type: import("vue").PropType<import("./types").alertEffects>;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
56
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
105
57
|
export default VftAlert;
|
|
@@ -58,14 +58,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
58
58
|
readonly ariaLabel?: string | undefined;
|
|
59
59
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
60
60
|
readonly disabled?: boolean | undefined;
|
|
61
|
-
readonly showAfter?: number | undefined;
|
|
62
|
-
readonly hideAfter?: number | undefined;
|
|
63
|
-
readonly open?: boolean | undefined;
|
|
64
61
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
65
62
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
66
63
|
readonly effect?: "light" | "dark" | undefined;
|
|
67
64
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
68
|
-
readonly
|
|
65
|
+
readonly teleported?: boolean | undefined;
|
|
66
|
+
readonly open?: boolean | undefined;
|
|
69
67
|
readonly visible?: boolean | undefined;
|
|
70
68
|
readonly arrowOffset?: number | undefined;
|
|
71
69
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -83,9 +81,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
83
81
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
84
82
|
readonly virtualTriggering?: boolean | undefined;
|
|
85
83
|
readonly virtualRef?: import("vft/es/vft").Measurable | undefined;
|
|
84
|
+
readonly showAfter?: number | undefined;
|
|
85
|
+
readonly hideAfter?: number | undefined;
|
|
86
|
+
readonly appendTo?: (HTMLElement | string) | undefined;
|
|
86
87
|
readonly rawContent?: boolean | undefined;
|
|
87
88
|
readonly persistent?: boolean | undefined;
|
|
88
|
-
readonly teleported?: boolean | undefined;
|
|
89
89
|
readonly triggerKeys?: string[] | undefined;
|
|
90
90
|
readonly showArrow?: boolean | undefined;
|
|
91
91
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -261,7 +261,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
261
261
|
}>, {
|
|
262
262
|
popperRef: import("vue").Ref<any, any>;
|
|
263
263
|
contentRef: import("vue").Ref<any, any>;
|
|
264
|
-
isFocusInsideContent: () =>
|
|
264
|
+
isFocusInsideContent: (event?: FocusEvent) => any;
|
|
265
265
|
updatePopper: () => void;
|
|
266
266
|
onOpen: (event?: Event) => void;
|
|
267
267
|
onClose: (event?: Event) => void;
|
|
@@ -445,7 +445,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
445
445
|
}>, "onClose" | "hide" | "contentRef" | "updatePopper" | "onOpen" | "isFocusInsideContent" | "popperRef"> & import("vue").ShallowUnwrapRef<{
|
|
446
446
|
popperRef: import("vue").Ref<any, any>;
|
|
447
447
|
contentRef: import("vue").Ref<any, any>;
|
|
448
|
-
isFocusInsideContent: () =>
|
|
448
|
+
isFocusInsideContent: (event?: FocusEvent) => any;
|
|
449
449
|
updatePopper: () => void;
|
|
450
450
|
onOpen: (event?: Event) => void;
|
|
451
451
|
onClose: (event?: Event) => void;
|
|
@@ -476,14 +476,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
476
476
|
readonly ariaLabel?: string | undefined;
|
|
477
477
|
readonly role?: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree" | undefined;
|
|
478
478
|
readonly disabled?: boolean | undefined;
|
|
479
|
-
readonly showAfter?: number | undefined;
|
|
480
|
-
readonly hideAfter?: number | undefined;
|
|
481
|
-
readonly open?: boolean | undefined;
|
|
482
479
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
483
480
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
484
481
|
readonly effect?: "light" | "dark" | undefined;
|
|
485
482
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
486
|
-
readonly
|
|
483
|
+
readonly teleported?: boolean | undefined;
|
|
484
|
+
readonly open?: boolean | undefined;
|
|
487
485
|
readonly visible?: boolean | undefined;
|
|
488
486
|
readonly arrowOffset?: number | undefined;
|
|
489
487
|
readonly gpuAcceleration?: boolean | undefined;
|
|
@@ -501,9 +499,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
501
499
|
readonly stopPopperMouseEvent?: boolean | undefined;
|
|
502
500
|
readonly virtualTriggering?: boolean | undefined;
|
|
503
501
|
readonly virtualRef?: import("vft/es/vft").Measurable | undefined;
|
|
502
|
+
readonly showAfter?: number | undefined;
|
|
503
|
+
readonly hideAfter?: number | undefined;
|
|
504
|
+
readonly appendTo?: (HTMLElement | string) | undefined;
|
|
504
505
|
readonly rawContent?: boolean | undefined;
|
|
505
506
|
readonly persistent?: boolean | undefined;
|
|
506
|
-
readonly teleported?: boolean | undefined;
|
|
507
507
|
readonly triggerKeys?: string[] | undefined;
|
|
508
508
|
readonly showArrow?: boolean | undefined;
|
|
509
509
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -679,7 +679,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
679
679
|
}>, {
|
|
680
680
|
popperRef: import("vue").Ref<any, any>;
|
|
681
681
|
contentRef: import("vue").Ref<any, any>;
|
|
682
|
-
isFocusInsideContent: () =>
|
|
682
|
+
isFocusInsideContent: (event?: FocusEvent) => any;
|
|
683
683
|
updatePopper: () => void;
|
|
684
684
|
onOpen: (event?: Event) => void;
|
|
685
685
|
onClose: (event?: Event) => void;
|
|
@@ -863,7 +863,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
863
863
|
}>, "onClose" | "hide" | "contentRef" | "updatePopper" | "onOpen" | "isFocusInsideContent" | "popperRef"> & import("vue").ShallowUnwrapRef<{
|
|
864
864
|
popperRef: import("vue").Ref<any, any>;
|
|
865
865
|
contentRef: import("vue").Ref<any, any>;
|
|
866
|
-
isFocusInsideContent: () =>
|
|
866
|
+
isFocusInsideContent: (event?: FocusEvent) => any;
|
|
867
867
|
updatePopper: () => void;
|
|
868
868
|
onOpen: (event?: Event) => void;
|
|
869
869
|
onClose: (event?: Event) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("@vft/utils");require("../form/index.cjs");const Z=require("../input/index.cjs"),_=require("../scrollbar/index.cjs"),ee=require("../tooltip/index.cjs"),c=require("../../constants/event.cjs"),te=require("../../hooks/use-attrs/index.cjs"),le=require("@vueuse/core"),ae=require("../../utils/error.cjs");require("../../utils/ns-cover.cjs");const se=require("lodash-es"),oe=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const ne=require("./types.cjs"),re=require("../form/hooks/use-form-common-props.cjs"),ue=["aria-expanded","aria-owns"],ie=["id","aria-selected","onClick"],ce="ElAutocomplete",fe=e.defineComponent({name:"vft-autocomplete",inheritAttrs:!1}),de=e.defineComponent({...fe,props:{valueKey:{default:"value"},modelValue:{default:""},debounce:{default:300},placement:{default:"bottom-start"},fetchSuggestions:{type:[Function,Array],default:()=>{}},popperClass:{default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{},teleported:{type:Boolean,default:!1},highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:{}},emits:{[c.UPDATE_MODEL_EVENT]:l=>v.isString(l),[c.INPUT_EVENT]:l=>v.isString(l),[c.CHANGE_EVENT]:l=>v.isString(l),focus:l=>l instanceof FocusEvent,blur:l=>l instanceof FocusEvent,clear:()=>!0,select:l=>v.isObject(l)},setup(l,{expose:F,emit:P}){const r=oe.useNamespace("autocomplete"),u=P,M=te.useAttrs(),K=e.useAttrs(),C=re.useFormDisabled(),o=e.ref(),k=e.ref(),b=e.ref(),A=e.ref();let N=!1,E=!1;const i=e.ref([]),a=e.ref(-1),V=e.ref(""),f=e.ref(!1),y=e.ref(!1),p=e.ref(!1),m=e.computed(()=>r.b(String(ne.generateId()))),O=e.computed(()=>K.style),d=e.computed(()=>(i.value.length>0||p.value)&&f.value),q=e.computed(()=>!l.hideLoading&&p.value),U=e.computed(()=>o.value?Array.from(o.value.$el.querySelectorAll("input")):[]),x=async()=>{await e.nextTick(),d.value&&(V.value=`${o.value.$el.offsetWidth}px`)},L=()=>{a.value=-1},R=async t=>{if(y.value)return;const s=n=>{p.value=!1,!y.value&&(v.isArray(n)?(i.value=n,a.value=l.highlightFirstItem?0:-1):ae.throwError(ce,"autocomplete suggestions must be an array"))};if(p.value=!0,v.isArray(l.fetchSuggestions))s(l.fetchSuggestions);else{const n=await l.fetchSuggestions(t,s);v.isArray(n)&&s(n)}},B=se.debounce(R,l.debounce),z=t=>{const s=!!t;if(u(c.INPUT_EVENT,t),u(c.UPDATE_MODEL_EVENT,t),y.value=!1,f.value||=s,!l.triggerOnFocus&&!t){y.value=!0,i.value=[];return}B(t)},W=t=>{C.value||(t.target?.tagName!=="INPUT"||U.value.includes(document.activeElement))&&(f.value=!0)},H=t=>{u(c.CHANGE_EVENT,t)},G=t=>{E?E=!1:(f.value=!0,u("focus",t),l.triggerOnFocus&&!N&&B(String(l.modelValue)))},j=t=>{setTimeout(()=>{if(b.value?.isFocusInsideContent()){E=!0;return}f.value&&h(),u("blur",t)})},J=()=>{f.value=!1,u(c.UPDATE_MODEL_EVENT,""),u("clear")},D=async()=>{d.value&&a.value>=0&&a.value<i.value.length?w(i.value[a.value]):l.selectWhenUnmatched&&(u("select",{value:l.modelValue}),i.value=[],a.value=-1)},Q=t=>{d.value&&(t.preventDefault(),t.stopPropagation(),h())},h=()=>{f.value=!1},X=()=>{o.value?.focus()},Y=()=>{o.value?.blur()},w=async t=>{u(c.INPUT_EVENT,t[l.valueKey]),u(c.UPDATE_MODEL_EVENT,t[l.valueKey]),u("select",t),i.value=[],a.value=-1},$=t=>{if(!d.value||p.value)return;if(t<0){a.value=-1;return}t>=i.value.length&&(t=i.value.length-1);const s=k.value.querySelector(`.${r.be("suggestion","wrap")}`),g=s.querySelectorAll(`.${r.be("suggestion","list")} li`)[t],S=s.scrollTop,{offsetTop:I,scrollHeight:T}=g;I+T>S+s.clientHeight&&(s.scrollTop+=T),I<S&&(s.scrollTop-=T),a.value=t,o.value.ref.setAttribute("aria-activedescendant",`${m.value}-item-${a.value}`)};return le.onClickOutside(A,()=>{d.value&&h()}),e.onMounted(()=>{o.value.ref.setAttribute("role","textbox"),o.value.ref.setAttribute("aria-autocomplete","list"),o.value.ref.setAttribute("aria-controls","id"),o.value.ref.setAttribute("aria-activedescendant",`${m.value}-item-${a.value}`),N=o.value.ref.hasAttribute("readonly")}),F({highlightedIndex:a,activated:f,loading:p,inputRef:o,popperRef:b,suggestions:i,handleSelect:w,handleKeyEnter:D,focus:X,blur:Y,close:h,highlight:$}),(t,s)=>(e.openBlock(),e.createBlock(e.unref(ee.VftTooltip),{ref_key:"popperRef",ref:b,visible:d.value,placement:t.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[e.unref(r).e("popper"),t.popperClass],teleported:t.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${e.unref(r).namespace.value}-zoom-in-top`,persistent:"",onBeforeShow:x,onHide:L},{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"regionRef",ref:k,class:e.normalizeClass([e.unref(r).b("suggestion"),e.unref(r).is("loading",q.value)]),style:e.normalizeStyle({[t.fitInputWidth?"width":"minWidth"]:V.value,outline:"none"}),role:"region"},[e.createVNode(e.unref(_.VftScrollbar),{id:m.value,tag:"ul","wrap-class":e.unref(r).be("suggestion","wrap"),"view-class":e.unref(r).be("suggestion","list"),role:"listbox"},{default:e.withCtx(()=>[q.value?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass(e.unref(r).is("loading"))},null,2)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(i.value,(n,g)=>(e.openBlock(),e.createElementBlock("li",{id:`${m.value}-item-${g}`,key:g,class:e.normalizeClass({highlighted:a.value===g}),role:"option","aria-selected":a.value===g,onClick:S=>w(n)},[e.renderSlot(t.$slots,"default",{item:n},()=>[e.createTextVNode(e.toDisplayString(n[t.valueKey]),1)])],10,ie))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"listboxRef",ref:A,class:e.normalizeClass([e.unref(r).b(),t.$attrs.class]),style:e.normalizeStyle(O.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":d.value,"aria-owns":m.value},[e.createVNode(e.unref(Z.VftInput),e.mergeProps({ref_key:"inputRef",ref:o},e.unref(M),{clearable:t.clearable,disabled:e.unref(C),name:t.name,"model-value":t.modelValue,onInput:z,onChange:H,onFocus:G,onBlur:j,onClear:J,onKeydown:[s[0]||(s[0]=e.withKeys(e.withModifiers(n=>$(a.value-1),["prevent"]),["up"])),s[1]||(s[1]=e.withKeys(e.withModifiers(n=>$(a.value+1),["prevent"]),["down"])),e.withKeys(D,["enter"]),e.withKeys(h,["tab"]),e.withKeys(Q,["esc"])],onMousedown:W}),e.createSlots({_:2},[t.$slots.prepend?{name:"prepend",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"prepend")]),key:"0"}:void 0,t.$slots.append?{name:"append",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"append")]),key:"1"}:void 0,t.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"prefix")]),key:"2"}:void 0,t.$slots.suffix?{name:"suffix",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"suffix")]),key:"3"}:void 0]),1040,["clearable","disabled","name","model-value"])],14,ue)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});exports.default=de;
|