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
|
@@ -27,10 +27,6 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
27
27
|
tabindex: {
|
|
28
28
|
type: import("vue").PropType<string | number>;
|
|
29
29
|
};
|
|
30
|
-
validateEvent: {
|
|
31
|
-
type: import("vue").PropType<boolean>;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
30
|
checked: {
|
|
35
31
|
type: import("vue").PropType<boolean>;
|
|
36
32
|
};
|
|
@@ -46,6 +42,10 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
46
42
|
controls: {
|
|
47
43
|
type: import("vue").PropType<string>;
|
|
48
44
|
};
|
|
45
|
+
validateEvent: {
|
|
46
|
+
type: import("vue").PropType<boolean>;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
49
|
}>> & Readonly<{
|
|
50
50
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -89,10 +89,6 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
89
89
|
tabindex: {
|
|
90
90
|
type: import("vue").PropType<string | number>;
|
|
91
91
|
};
|
|
92
|
-
validateEvent: {
|
|
93
|
-
type: import("vue").PropType<boolean>;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
92
|
checked: {
|
|
97
93
|
type: import("vue").PropType<boolean>;
|
|
98
94
|
};
|
|
@@ -108,6 +104,10 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
108
104
|
controls: {
|
|
109
105
|
type: import("vue").PropType<string>;
|
|
110
106
|
};
|
|
107
|
+
validateEvent: {
|
|
108
|
+
type: import("vue").PropType<boolean>;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
111
|
}>> & Readonly<{
|
|
112
112
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -145,10 +145,6 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
145
145
|
tabindex: {
|
|
146
146
|
type: import("vue").PropType<string | number>;
|
|
147
147
|
};
|
|
148
|
-
validateEvent: {
|
|
149
|
-
type: import("vue").PropType<boolean>;
|
|
150
|
-
default: boolean;
|
|
151
|
-
};
|
|
152
148
|
checked: {
|
|
153
149
|
type: import("vue").PropType<boolean>;
|
|
154
150
|
};
|
|
@@ -164,6 +160,10 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
164
160
|
controls: {
|
|
165
161
|
type: import("vue").PropType<string>;
|
|
166
162
|
};
|
|
163
|
+
validateEvent: {
|
|
164
|
+
type: import("vue").PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
167
|
}>> & Readonly<{
|
|
168
168
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
169
169
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -374,10 +374,6 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
374
374
|
max: {
|
|
375
375
|
type: import("vue").PropType<number>;
|
|
376
376
|
};
|
|
377
|
-
tag: {
|
|
378
|
-
type: import("vue").PropType<string>;
|
|
379
|
-
default: string;
|
|
380
|
-
};
|
|
381
377
|
validateEvent: {
|
|
382
378
|
type: import("vue").PropType<boolean>;
|
|
383
379
|
default: boolean;
|
|
@@ -385,6 +381,10 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
385
381
|
textColor: {
|
|
386
382
|
type: import("vue").PropType<string>;
|
|
387
383
|
};
|
|
384
|
+
tag: {
|
|
385
|
+
type: import("vue").PropType<string>;
|
|
386
|
+
default: string;
|
|
387
|
+
};
|
|
388
388
|
useButton: {
|
|
389
389
|
type: import("vue").PropType<boolean>;
|
|
390
390
|
};
|
|
@@ -396,8 +396,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
396
396
|
"update:modelValue": (...args: any[]) => void;
|
|
397
397
|
}, import("vue").PublicProps, {
|
|
398
398
|
modelValue: import("./types").CheckboxGroupValueType;
|
|
399
|
-
tag: string;
|
|
400
399
|
validateEvent: boolean;
|
|
400
|
+
tag: string;
|
|
401
401
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
402
402
|
P: {};
|
|
403
403
|
B: {};
|
|
@@ -431,10 +431,6 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
431
431
|
max: {
|
|
432
432
|
type: import("vue").PropType<number>;
|
|
433
433
|
};
|
|
434
|
-
tag: {
|
|
435
|
-
type: import("vue").PropType<string>;
|
|
436
|
-
default: string;
|
|
437
|
-
};
|
|
438
434
|
validateEvent: {
|
|
439
435
|
type: import("vue").PropType<boolean>;
|
|
440
436
|
default: boolean;
|
|
@@ -442,6 +438,10 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
442
438
|
textColor: {
|
|
443
439
|
type: import("vue").PropType<string>;
|
|
444
440
|
};
|
|
441
|
+
tag: {
|
|
442
|
+
type: import("vue").PropType<string>;
|
|
443
|
+
default: string;
|
|
444
|
+
};
|
|
445
445
|
useButton: {
|
|
446
446
|
type: import("vue").PropType<boolean>;
|
|
447
447
|
};
|
|
@@ -450,8 +450,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
450
450
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
451
451
|
}>, {}, {}, {}, {}, {
|
|
452
452
|
modelValue: import("./types").CheckboxGroupValueType;
|
|
453
|
-
tag: string;
|
|
454
453
|
validateEvent: boolean;
|
|
454
|
+
tag: string;
|
|
455
455
|
}>;
|
|
456
456
|
__isFragment?: never;
|
|
457
457
|
__isTeleport?: never;
|
|
@@ -482,10 +482,6 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
482
482
|
max: {
|
|
483
483
|
type: import("vue").PropType<number>;
|
|
484
484
|
};
|
|
485
|
-
tag: {
|
|
486
|
-
type: import("vue").PropType<string>;
|
|
487
|
-
default: string;
|
|
488
|
-
};
|
|
489
485
|
validateEvent: {
|
|
490
486
|
type: import("vue").PropType<boolean>;
|
|
491
487
|
default: boolean;
|
|
@@ -493,6 +489,10 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
493
489
|
textColor: {
|
|
494
490
|
type: import("vue").PropType<string>;
|
|
495
491
|
};
|
|
492
|
+
tag: {
|
|
493
|
+
type: import("vue").PropType<string>;
|
|
494
|
+
default: string;
|
|
495
|
+
};
|
|
496
496
|
useButton: {
|
|
497
497
|
type: import("vue").PropType<boolean>;
|
|
498
498
|
};
|
|
@@ -504,8 +504,8 @@ export declare const VftCheckbox: import("vft/es/utils").SFCWithInstall<{
|
|
|
504
504
|
"update:modelValue": (...args: any[]) => void;
|
|
505
505
|
}, string, {
|
|
506
506
|
modelValue: import("./types").CheckboxGroupValueType;
|
|
507
|
-
tag: string;
|
|
508
507
|
validateEvent: boolean;
|
|
508
|
+
tag: string;
|
|
509
509
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
510
510
|
$slots: {
|
|
511
511
|
default?(_: {}): any;
|
|
@@ -710,10 +710,6 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
710
710
|
max: {
|
|
711
711
|
type: import("vue").PropType<number>;
|
|
712
712
|
};
|
|
713
|
-
tag: {
|
|
714
|
-
type: import("vue").PropType<string>;
|
|
715
|
-
default: string;
|
|
716
|
-
};
|
|
717
713
|
validateEvent: {
|
|
718
714
|
type: import("vue").PropType<boolean>;
|
|
719
715
|
default: boolean;
|
|
@@ -721,6 +717,10 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
721
717
|
textColor: {
|
|
722
718
|
type: import("vue").PropType<string>;
|
|
723
719
|
};
|
|
720
|
+
tag: {
|
|
721
|
+
type: import("vue").PropType<string>;
|
|
722
|
+
default: string;
|
|
723
|
+
};
|
|
724
724
|
useButton: {
|
|
725
725
|
type: import("vue").PropType<boolean>;
|
|
726
726
|
};
|
|
@@ -732,8 +732,8 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
732
732
|
"update:modelValue": (...args: any[]) => void;
|
|
733
733
|
}, import("vue").PublicProps, {
|
|
734
734
|
modelValue: import("./types").CheckboxGroupValueType;
|
|
735
|
-
tag: string;
|
|
736
735
|
validateEvent: boolean;
|
|
736
|
+
tag: string;
|
|
737
737
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
738
738
|
P: {};
|
|
739
739
|
B: {};
|
|
@@ -767,10 +767,6 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
767
767
|
max: {
|
|
768
768
|
type: import("vue").PropType<number>;
|
|
769
769
|
};
|
|
770
|
-
tag: {
|
|
771
|
-
type: import("vue").PropType<string>;
|
|
772
|
-
default: string;
|
|
773
|
-
};
|
|
774
770
|
validateEvent: {
|
|
775
771
|
type: import("vue").PropType<boolean>;
|
|
776
772
|
default: boolean;
|
|
@@ -778,6 +774,10 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
778
774
|
textColor: {
|
|
779
775
|
type: import("vue").PropType<string>;
|
|
780
776
|
};
|
|
777
|
+
tag: {
|
|
778
|
+
type: import("vue").PropType<string>;
|
|
779
|
+
default: string;
|
|
780
|
+
};
|
|
781
781
|
useButton: {
|
|
782
782
|
type: import("vue").PropType<boolean>;
|
|
783
783
|
};
|
|
@@ -786,8 +786,8 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
786
786
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
787
787
|
}>, {}, {}, {}, {}, {
|
|
788
788
|
modelValue: import("./types").CheckboxGroupValueType;
|
|
789
|
-
tag: string;
|
|
790
789
|
validateEvent: boolean;
|
|
790
|
+
tag: string;
|
|
791
791
|
}>;
|
|
792
792
|
__isFragment?: never;
|
|
793
793
|
__isTeleport?: never;
|
|
@@ -818,10 +818,6 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
818
818
|
max: {
|
|
819
819
|
type: import("vue").PropType<number>;
|
|
820
820
|
};
|
|
821
|
-
tag: {
|
|
822
|
-
type: import("vue").PropType<string>;
|
|
823
|
-
default: string;
|
|
824
|
-
};
|
|
825
821
|
validateEvent: {
|
|
826
822
|
type: import("vue").PropType<boolean>;
|
|
827
823
|
default: boolean;
|
|
@@ -829,6 +825,10 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
829
825
|
textColor: {
|
|
830
826
|
type: import("vue").PropType<string>;
|
|
831
827
|
};
|
|
828
|
+
tag: {
|
|
829
|
+
type: import("vue").PropType<string>;
|
|
830
|
+
default: string;
|
|
831
|
+
};
|
|
832
832
|
useButton: {
|
|
833
833
|
type: import("vue").PropType<boolean>;
|
|
834
834
|
};
|
|
@@ -840,8 +840,8 @@ export declare const VftCheckboxGroup: import("vft/es/utils").SFCWithInstall<{
|
|
|
840
840
|
"update:modelValue": (...args: any[]) => void;
|
|
841
841
|
}, string, {
|
|
842
842
|
modelValue: import("./types").CheckboxGroupValueType;
|
|
843
|
-
tag: string;
|
|
844
843
|
validateEvent: boolean;
|
|
844
|
+
tag: string;
|
|
845
845
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
846
846
|
$slots: {
|
|
847
847
|
default?(_: {}): any;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
handleClick: (event: MouseEvent | TouchEvent) => void;
|
|
16
16
|
update: () => void;
|
|
17
17
|
ns: {
|
|
18
|
-
namespace: import("vue").
|
|
18
|
+
namespace: import("vue").ComputedRef<string>;
|
|
19
19
|
b: (blockSuffix?: string) => string;
|
|
20
20
|
e: (element?: string) => string;
|
|
21
21
|
m: (modifier?: string) => string;
|
|
@@ -27,9 +27,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
(name: string, state: boolean | undefined): string;
|
|
28
28
|
(name: string): string;
|
|
29
29
|
};
|
|
30
|
-
cssVar: (object: Record<string, string
|
|
30
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
31
31
|
cssVarName: (name: string) => string;
|
|
32
|
-
cssVarBlock: (object: Record<string, string
|
|
32
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
33
33
|
cssVarBlockName: (name: string) => string;
|
|
34
34
|
};
|
|
35
35
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
13
13
|
rgbaColors: Ref<Color[], Color[]>;
|
|
14
14
|
handleSelect: (index: number) => void;
|
|
15
15
|
ns: {
|
|
16
|
-
namespace:
|
|
16
|
+
namespace: import("vue").ComputedRef<string>;
|
|
17
17
|
b: (blockSuffix?: string) => string;
|
|
18
18
|
e: (element?: string) => string;
|
|
19
19
|
m: (modifier?: string) => string;
|
|
@@ -25,9 +25,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
25
25
|
(name: string, state: boolean | undefined): string;
|
|
26
26
|
(name: string): string;
|
|
27
27
|
};
|
|
28
|
-
cssVar: (object: Record<string, string
|
|
28
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
29
29
|
cssVarName: (name: string) => string;
|
|
30
|
-
cssVarBlock: (object: Record<string, string
|
|
30
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
31
31
|
cssVarBlockName: (name: string) => string;
|
|
32
32
|
};
|
|
33
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
handleDrag: (event: MouseEvent | TouchEvent) => void;
|
|
17
17
|
update: () => void;
|
|
18
18
|
ns: {
|
|
19
|
-
namespace: import("vue").
|
|
19
|
+
namespace: import("vue").ComputedRef<string>;
|
|
20
20
|
b: (blockSuffix?: string) => string;
|
|
21
21
|
e: (element?: string) => string;
|
|
22
22
|
m: (modifier?: string) => string;
|
|
@@ -28,9 +28,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
28
|
(name: string, state: boolean | undefined): string;
|
|
29
29
|
(name: string): string;
|
|
30
30
|
};
|
|
31
|
-
cssVar: (object: Record<string, string
|
|
31
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
32
32
|
cssVarName: (name: string) => string;
|
|
33
|
-
cssVarBlock: (object: Record<string, string
|
|
33
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
34
34
|
cssVarBlockName: (name: string) => string;
|
|
35
35
|
};
|
|
36
36
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -5,7 +5,7 @@ export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D
|
|
|
5
5
|
export declare function useGlobalConfig(): Ref<ConfigProviderContext>;
|
|
6
6
|
export declare function useGlobalComponentSettings(block: string): {
|
|
7
7
|
ns: {
|
|
8
|
-
namespace:
|
|
8
|
+
namespace: import("vue").ComputedRef<string>;
|
|
9
9
|
b: (blockSuffix?: string) => string;
|
|
10
10
|
e: (element?: string) => string;
|
|
11
11
|
m: (modifier?: string) => string;
|
|
@@ -17,9 +17,9 @@ export declare function useGlobalComponentSettings(block: string): {
|
|
|
17
17
|
(name: string, state: boolean | undefined): string;
|
|
18
18
|
(name: string): string;
|
|
19
19
|
};
|
|
20
|
-
cssVar: (object: Record<string, string
|
|
20
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
21
21
|
cssVarName: (name: string) => string;
|
|
22
|
-
cssVarBlock: (object: Record<string, string
|
|
22
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
23
23
|
cssVarBlockName: (name: string) => string;
|
|
24
24
|
};
|
|
25
25
|
zIndex: {
|
|
@@ -1,105 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTimeoutFn as H, useClickAway as I, useEventListener as
|
|
3
|
-
import "../alert/index.js";
|
|
4
|
-
import "../avatar/index.js";
|
|
5
|
-
import "../backtop/index.js";
|
|
6
|
-
import "../button/index.js";
|
|
7
|
-
import "../card/index.js";
|
|
8
|
-
import "../check-tag/index.js";
|
|
9
|
-
import "../checkbox/index.js";
|
|
10
|
-
import "../clamp/index.js";
|
|
11
|
-
import "../clamp-toggle/index.js";
|
|
12
|
-
import "../clamp-tooltip/index.js";
|
|
13
|
-
import "../col/index.js";
|
|
14
|
-
import "../collapse-transition/index.js";
|
|
15
|
-
import "../color-picker/index.js";
|
|
16
|
-
import "../config-provider/index.js";
|
|
17
|
-
import "../container/index.js";
|
|
18
|
-
import "@vft/utils";
|
|
19
|
-
import "../date-picker/index.js";
|
|
20
|
-
import "../date-time-select/index.js";
|
|
21
|
-
import "../descriptions/index.js";
|
|
22
|
-
import "../dialog/index.js";
|
|
23
|
-
import "../divider/index.js";
|
|
24
|
-
import "../drawer/index.js";
|
|
25
|
-
import "../dropdown/index.js";
|
|
26
|
-
import "../empty/index.js";
|
|
27
|
-
import "../exception/index.js";
|
|
28
|
-
import "../footer-layout/index.js";
|
|
29
|
-
import "../form/index.js";
|
|
30
|
-
import "../full-screen/index.js";
|
|
31
|
-
import "../header-layout/index.js";
|
|
32
|
-
import "../horizontal-menu/index.js";
|
|
33
|
-
import "../icon/index.js";
|
|
34
|
-
import "../icon-text/index.js";
|
|
35
|
-
import "../iframe-layout/index.js";
|
|
36
|
-
import "../image/index.js";
|
|
37
|
-
import "../image-viewer/index.js";
|
|
38
|
-
import "../input/index.js";
|
|
39
|
-
import "../input-number/index.js";
|
|
40
|
-
import "../link/index.js";
|
|
41
|
-
import "../list-cell/index.js";
|
|
42
|
-
import "../logo/index.js";
|
|
1
|
+
import { defineComponent as p, ref as d, computed as k, createBlock as c, openBlock as r, Transition as C, withCtx as b, withDirectives as g, createElementVNode as m, normalizeClass as z, withModifiers as M, normalizeStyle as $, unref as u, createElementBlock as B, Fragment as E, renderList as S, vShow as F } from "vue";
|
|
2
|
+
import { useTimeoutFn as H, useClickAway as I, useEventListener as f } from "@vft/use";
|
|
43
3
|
import { VftMenuItem as L } from "../menu/index.js";
|
|
44
|
-
import "../multiple-tabs/index.js";
|
|
45
|
-
import "../overlay/index.js";
|
|
46
|
-
import "../page-wrapper/index.js";
|
|
47
|
-
import "../pagination/index.js";
|
|
48
|
-
import "../popconfirm/index.js";
|
|
49
|
-
import "../popover/index.js";
|
|
50
|
-
import "../popper/index.js";
|
|
51
|
-
import "../qrcode/index.js";
|
|
52
|
-
import "../radio/index.js";
|
|
53
|
-
import "../result/index.js";
|
|
54
|
-
import "../router-view-content/index.js";
|
|
55
|
-
import "../row/index.js";
|
|
56
|
-
import "../scrollbar/index.js";
|
|
57
|
-
import "../search/index.js";
|
|
58
|
-
import "../select/index.js";
|
|
59
|
-
import "../side-menu/index.js";
|
|
60
|
-
import "../skeleton/index.js";
|
|
61
|
-
import "../slider/index.js";
|
|
62
|
-
import "../space/index.js";
|
|
63
|
-
import "../switch/index.js";
|
|
64
|
-
import "../table/index.js";
|
|
65
|
-
import "../tabs/index.js";
|
|
66
|
-
import "../tag/index.js";
|
|
67
|
-
import "../time-picker/index.js";
|
|
68
|
-
import "../tooltip/index.js";
|
|
69
|
-
import "../tree/index.js";
|
|
70
|
-
import "../verify-code/index.js";
|
|
71
|
-
import "../virtual-list/components/dynamic-size-grid.js";
|
|
72
|
-
import "../virtual-list/components/dynamic-size-list.js";
|
|
73
|
-
import "../virtual-list/components/fixed-size-grid.js";
|
|
74
|
-
import "../virtual-list/components/fixed-size-list.js";
|
|
75
|
-
import "../virtual-list/props.js";
|
|
76
|
-
import "../steps/index.js";
|
|
77
|
-
import "../autocomplete/index.js";
|
|
78
|
-
import "../modal/index.js";
|
|
79
|
-
import "../progress/index.js";
|
|
80
|
-
import "../super-form/index.js";
|
|
81
|
-
import "../upload/index.js";
|
|
82
|
-
import "../carousel/index.js";
|
|
83
|
-
import "../timeline/index.js";
|
|
84
|
-
import "../md-code-demo/index.js";
|
|
85
|
-
import "../md-code-tabs/index.js";
|
|
86
|
-
import "../md-comment/index.js";
|
|
87
|
-
import "../md-container/index.js";
|
|
88
|
-
import "../md-tabs/index.js";
|
|
89
|
-
import "../md-vue-playground/index.js";
|
|
90
4
|
import "@vueuse/core";
|
|
5
|
+
import "@vft/utils";
|
|
91
6
|
import "../../utils/ns-cover.js";
|
|
92
7
|
import "lodash-es";
|
|
93
8
|
import { useNamespace as N } from "../../hooks/use-namespace/index.js";
|
|
94
9
|
import "../../hooks/use-model-toggle/index.js";
|
|
95
10
|
import "@popperjs/core";
|
|
96
11
|
import "../../hooks/use-z-index/index.js";
|
|
97
|
-
|
|
98
|
-
import "../infinite-scroll/index.js";
|
|
99
|
-
import "../progress-i/index.js";
|
|
100
|
-
const R = { class: "vft-sub-menu" }, T = f({
|
|
12
|
+
const R = { class: "vft-sub-menu" }, T = p({
|
|
101
13
|
name: "vft-context-menu"
|
|
102
|
-
}),
|
|
14
|
+
}), P = /* @__PURE__ */ p({
|
|
103
15
|
...T,
|
|
104
16
|
props: {
|
|
105
17
|
axis: {},
|
|
@@ -107,79 +19,79 @@ const R = { class: "vft-sub-menu" }, T = f({
|
|
|
107
19
|
width: {},
|
|
108
20
|
items: {}
|
|
109
21
|
},
|
|
110
|
-
setup(
|
|
22
|
+
setup(o) {
|
|
111
23
|
const v = N("context-menu");
|
|
112
|
-
let
|
|
24
|
+
let a = d();
|
|
113
25
|
const x = k(() => {
|
|
114
|
-
const { x:
|
|
26
|
+
const { x: t, y: i } = o.axis || { x: 0, y: 0 }, e = (o.items || []).length * 40, l = o.width || 0, s = document.body, w = s.clientWidth < t + l ? t - l : t, y = s.clientHeight < i + e ? i - e : i;
|
|
115
27
|
return {
|
|
116
28
|
zIndex: 3e3,
|
|
117
|
-
...
|
|
29
|
+
...o.styles,
|
|
118
30
|
position: "fixed",
|
|
119
|
-
width: `${
|
|
31
|
+
width: `${o.width}px`,
|
|
120
32
|
left: `${w + 1}px`,
|
|
121
33
|
top: `${y + 1}px`
|
|
122
34
|
};
|
|
123
35
|
});
|
|
124
|
-
let
|
|
36
|
+
let n = d(!1);
|
|
125
37
|
H(() => {
|
|
126
|
-
|
|
38
|
+
n.value = !0;
|
|
127
39
|
}, 0), I(
|
|
128
|
-
|
|
40
|
+
a,
|
|
129
41
|
() => {
|
|
130
|
-
|
|
42
|
+
n.value = !1;
|
|
131
43
|
},
|
|
132
44
|
{
|
|
133
45
|
listenerOptions: {
|
|
134
46
|
capture: !0
|
|
135
47
|
}
|
|
136
48
|
}
|
|
137
|
-
),
|
|
49
|
+
), f(
|
|
138
50
|
window,
|
|
139
51
|
"scroll",
|
|
140
52
|
() => {
|
|
141
|
-
|
|
53
|
+
n.value = !1;
|
|
142
54
|
},
|
|
143
55
|
{
|
|
144
56
|
capture: !0
|
|
145
57
|
}
|
|
146
|
-
),
|
|
58
|
+
), f(
|
|
147
59
|
window,
|
|
148
60
|
"drag",
|
|
149
61
|
() => {
|
|
150
|
-
|
|
62
|
+
n.value = !1;
|
|
151
63
|
},
|
|
152
64
|
{
|
|
153
65
|
capture: !0
|
|
154
66
|
}
|
|
155
67
|
);
|
|
156
|
-
function h(
|
|
157
|
-
|
|
68
|
+
function h(t) {
|
|
69
|
+
t?.disabled || (t.handler?.(), n.value = !1);
|
|
158
70
|
}
|
|
159
|
-
return (
|
|
71
|
+
return (t, i) => (r(), c(C, { name: "vft-zoom-in-top" }, {
|
|
160
72
|
default: b(() => [
|
|
161
|
-
g(
|
|
73
|
+
g(m("div", {
|
|
162
74
|
ref_key: "contextMenuRef",
|
|
163
|
-
ref:
|
|
75
|
+
ref: a,
|
|
164
76
|
style: $(x.value),
|
|
165
|
-
onClick:
|
|
77
|
+
onClick: i[0] || (i[0] = M(() => {
|
|
166
78
|
}, ["stop"])),
|
|
167
|
-
class: z([
|
|
79
|
+
class: z([u(v).b(), "vft-menu"])
|
|
168
80
|
}, [
|
|
169
|
-
|
|
170
|
-
(
|
|
171
|
-
onClick: (
|
|
172
|
-
index:
|
|
173
|
-
title:
|
|
174
|
-
divider:
|
|
175
|
-
disabled:
|
|
176
|
-
icon:
|
|
81
|
+
m("div", R, [
|
|
82
|
+
(r(!0), B(E, null, S(t.items, (e, l) => (r(), c(u(L), {
|
|
83
|
+
onClick: (s) => h(e),
|
|
84
|
+
index: l + e.text,
|
|
85
|
+
title: e.text,
|
|
86
|
+
divider: e.divider,
|
|
87
|
+
disabled: e.disabled,
|
|
88
|
+
icon: e.iconCfg,
|
|
177
89
|
"is-alone-use": "",
|
|
178
|
-
key:
|
|
90
|
+
key: l
|
|
179
91
|
}, null, 8, ["onClick", "index", "title", "divider", "disabled", "icon"]))), 128))
|
|
180
92
|
])
|
|
181
93
|
], 6), [
|
|
182
|
-
[F,
|
|
94
|
+
[F, u(n)]
|
|
183
95
|
])
|
|
184
96
|
]),
|
|
185
97
|
_: 1
|
|
@@ -187,5 +99,5 @@ const R = { class: "vft-sub-menu" }, T = f({
|
|
|
187
99
|
}
|
|
188
100
|
});
|
|
189
101
|
export {
|
|
190
|
-
|
|
102
|
+
P as default
|
|
191
103
|
};
|