vft 0.0.144 → 0.0.145
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/app-components/form/form-label-wrap.d.ts +2 -2
- package/es/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/es/component.d.ts +0 -1
- package/es/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +6 -6
- package/es/components/affix/index.d.ts +17 -17
- package/es/components/alert/alert.vue.d.ts +1 -1
- package/es/components/alert/index.d.ts +2 -2
- package/es/components/autocomplete/autocomplete.vue.d.ts +32 -25
- package/es/components/autocomplete/index.d.ts +95 -74
- package/es/components/avatar/avatar.vue.d.ts +3 -1
- package/es/components/avatar/index.d.ts +8 -4
- package/es/components/backtop/backtop.vue.d.ts +3 -1
- package/es/components/backtop/index.d.ts +8 -4
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +9 -9
- package/es/components/carousel/index.d.ts +16 -16
- package/es/components/check-tag/index.d.ts +1 -1
- package/es/components/checkbox/checkbox-button.vue.d.ts +4 -1
- package/es/components/checkbox/checkbox-group.vue.d.ts +4 -1
- package/es/components/checkbox/checkbox.vue.d.ts +16 -13
- package/es/components/checkbox/index.d.ts +80 -50
- package/es/components/clamp/index.d.ts +2 -2
- package/es/components/color-picker/color-picker.vue.d.ts +16 -11
- package/es/components/color-picker/index.d.ts +16 -11
- package/es/components/container/container.vue.d.ts +2 -2
- package/es/components/container/index.d.ts +10 -10
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +5 -1
- package/es/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +5 -1
- package/es/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +3 -1
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +6 -2
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +7 -2
- package/es/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +4 -4
- package/es/components/date-picker/date-picker.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +6 -6
- package/es/components/date-picker/panel-utils.d.ts +78 -25
- package/es/components/descriptions/description.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +9 -9
- package/es/components/dialog/dialog-content.vue.d.ts +3 -1
- package/es/components/dialog/dialog.vue.d.ts +7 -7
- package/es/components/dialog/index.d.ts +17 -17
- package/es/components/divider/divider.vue.d.ts +2 -2
- package/es/components/divider/index.d.ts +4 -4
- package/es/components/drawer/drawer.vue.d.ts +7 -7
- package/es/components/drawer/index.d.ts +17 -17
- package/es/components/dropdown/dropdown.vue.d.ts +29 -29
- package/es/components/dropdown/index.d.ts +50 -50
- package/es/components/form/form-item.vue.d.ts +9 -9
- package/es/components/form/form.vue.d.ts +5 -3
- package/es/components/form/index.d.ts +56 -52
- package/es/components/image/image.vue.d.ts +7 -1
- package/es/components/image/index.d.ts +19 -7
- package/es/components/image-viewer/image-viewer.vue.d.ts +2 -2
- package/es/components/image-viewer/index.d.ts +5 -5
- package/es/components/index.js +113 -113
- package/es/components/input/index.d.ts +51 -51
- package/es/components/input/input.vue.d.ts +17 -17
- package/es/components/input-number/index.d.ts +5 -5
- package/es/components/input-number/input-number.vue.d.ts +5 -5
- package/es/components/link/index.d.ts +9 -5
- package/es/components/link/link.vue.d.ts +3 -1
- package/es/components/md-code-demo/index.d.ts +3 -3
- package/es/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/es/components/md-container/md-container.vue2.js +51 -43
- package/es/components/menu/index.d.ts +24 -8
- package/es/components/menu/menu-item.vue.d.ts +5 -1
- package/es/components/menu/menu.vue.d.ts +2 -2
- package/es/components/message/message.vue.d.ts +3 -1
- package/es/components/modal/index.d.ts +497 -1
- package/es/components/modal/modal.vue.d.ts +246 -1
- package/es/components/overlay/index.d.ts +3 -1
- package/es/components/overlay/overlay.vue.d.ts +3 -1
- package/es/components/pagination/components/next.vue.d.ts +3 -1
- package/es/components/pagination/components/pager.vue.d.ts +3 -1
- package/es/components/pagination/components/prev.vue.d.ts +3 -1
- package/es/components/pagination/components/sizes.vue.d.ts +3 -1
- package/es/components/pagination/index.d.ts +6 -6
- package/es/components/pagination/pagination.vue.d.ts +6 -6
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/index.d.ts +19 -7
- package/es/components/popover/popover.vue.d.ts +7 -1
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/popper/content.vue.d.ts +7 -1
- package/es/components/popper/index.d.ts +4 -4
- package/es/components/popper/popper.vue.d.ts +2 -2
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/qrcode/index.d.ts +4 -1
- package/es/components/qrcode/qrcode.vue.d.ts +4 -1
- package/es/components/radio/index.d.ts +55 -37
- package/es/components/radio/radio-group.vue.d.ts +10 -7
- package/es/components/radio/radio.vue.d.ts +4 -1
- package/es/components/row/index.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +11 -11
- package/es/components/scrollbar/scrollbar.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +9 -9
- package/es/components/select/index.d.ts +2 -1646
- package/es/components/select/select.vue.d.ts +1 -823
- package/es/components/select/useSelect.d.ts +25 -18
- package/es/components/slider/button.vue.d.ts +1 -1
- package/es/components/slider/composables/use-slide.d.ts +4 -4
- package/es/components/slider/index.d.ts +3 -3
- package/es/components/slider/slider.vue.d.ts +3 -3
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/super-form/index.d.ts +38 -38
- package/es/components/super-form/super-form-item.vue2.js +3 -1
- package/es/components/super-form/super-form.vue.d.ts +16 -16
- package/es/components/super-form/super-form.vue2.js +73 -74
- package/es/components/super-form/types.d.ts +176 -0
- package/es/components/super-form/use/use-form-events.d.ts +30 -0
- package/es/components/super-form/use/use-form-events.js +61 -59
- package/es/components/super-form/use/use-form-values.d.ts +14 -0
- package/es/components/switch/index.d.ts +23 -19
- package/es/components/switch/switch.vue.d.ts +23 -19
- package/es/components/table/index.d.ts +233 -63
- package/es/components/table/table.vue.d.ts +118 -33
- package/es/components/table/table.vue2.js +1 -1
- package/es/components/table/types.d.ts +56 -0
- package/es/components/table/use/use-columns.d.ts +12 -12
- package/es/components/tabs/index.d.ts +11 -11
- package/es/components/tabs/tab-nav.vue.d.ts +6 -1
- package/es/components/tabs/tab-nav.vue2.js +15 -13
- package/es/components/tabs/tabs.vue.d.ts +9 -13
- package/es/components/tabs/tabs.vue2.js +53 -68
- package/es/components/tag/index.d.ts +4 -1
- package/es/components/tag/tag.vue.d.ts +4 -1
- package/es/components/time-picker/common/picker.vue.d.ts +13 -4
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +6 -6
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +5 -1
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +5 -1
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +5 -1
- package/es/components/time-picker/time-picker.d.ts +3 -3
- package/es/components/time-select/time-select.vue.d.ts +7 -2
- package/es/components/tooltip/index.d.ts +34 -20
- package/es/components/tooltip/tooltip.vue.d.ts +10 -3
- package/es/components/tree/index.d.ts +70 -70
- package/es/components/tree/tree.vue.d.ts +18 -18
- package/es/components/types.d.ts +3 -0
- package/es/components/upload/index.d.ts +37 -37
- package/es/components/upload/upload-content.vue.d.ts +20 -20
- package/es/components/upload/upload.vue.d.ts +20 -20
- package/es/components/verify-code/index.d.ts +2 -6
- package/es/components/verify-code/verify-code.vue.d.ts +2 -6
- package/es/components/virtual-list/builders/build-list.d.ts +3 -3
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/es/components/virtual-list/props.d.ts +2 -2
- package/es/defaults.d.ts +1 -1
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +113 -113
- package/es/make-installer.d.ts +1 -1
- package/es/package.json.d.ts +2 -2
- package/es/package.json.js +1 -1
- package/es/plugin.d.ts +0 -1
- package/lib/app-components/form/form-label-wrap.d.ts +2 -2
- package/lib/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/lib/component.d.ts +0 -1
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +6 -6
- package/lib/components/affix/index.d.ts +17 -17
- package/lib/components/alert/alert.vue.d.ts +1 -1
- package/lib/components/alert/index.d.ts +2 -2
- package/lib/components/autocomplete/autocomplete.vue.d.ts +32 -25
- package/lib/components/autocomplete/index.d.ts +95 -74
- package/lib/components/avatar/avatar.vue.d.ts +3 -1
- package/lib/components/avatar/index.d.ts +8 -4
- package/lib/components/backtop/backtop.vue.d.ts +3 -1
- package/lib/components/backtop/index.d.ts +8 -4
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/carousel/carousel.vue.d.ts +9 -9
- package/lib/components/carousel/index.d.ts +16 -16
- package/lib/components/check-tag/index.d.ts +1 -1
- package/lib/components/checkbox/checkbox-button.vue.d.ts +4 -1
- package/lib/components/checkbox/checkbox-group.vue.d.ts +4 -1
- package/lib/components/checkbox/checkbox.vue.d.ts +16 -13
- package/lib/components/checkbox/index.d.ts +80 -50
- package/lib/components/clamp/index.d.ts +2 -2
- package/lib/components/color-picker/color-picker.vue.d.ts +16 -11
- package/lib/components/color-picker/index.d.ts +16 -11
- package/lib/components/container/container.vue.d.ts +2 -2
- package/lib/components/container/index.d.ts +10 -10
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +5 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +5 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +3 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +6 -2
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +7 -2
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +4 -4
- package/lib/components/date-picker/date-picker.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +6 -6
- package/lib/components/date-picker/panel-utils.d.ts +78 -25
- package/lib/components/descriptions/description.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +9 -9
- package/lib/components/dialog/dialog-content.vue.d.ts +3 -1
- package/lib/components/dialog/dialog.vue.d.ts +7 -7
- package/lib/components/dialog/index.d.ts +17 -17
- package/lib/components/divider/divider.vue.d.ts +2 -2
- package/lib/components/divider/index.d.ts +4 -4
- package/lib/components/drawer/drawer.vue.d.ts +7 -7
- package/lib/components/drawer/index.d.ts +17 -17
- package/lib/components/dropdown/dropdown.vue.d.ts +29 -29
- package/lib/components/dropdown/index.d.ts +50 -50
- package/lib/components/form/form-item.vue.d.ts +9 -9
- package/lib/components/form/form.vue.d.ts +5 -3
- package/lib/components/form/index.d.ts +56 -52
- package/lib/components/image/image.vue.d.ts +7 -1
- package/lib/components/image/index.d.ts +19 -7
- package/lib/components/image-viewer/image-viewer.vue.d.ts +2 -2
- package/lib/components/image-viewer/index.d.ts +5 -5
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.d.ts +51 -51
- package/lib/components/input/input.vue.d.ts +17 -17
- package/lib/components/input-number/index.d.ts +5 -5
- package/lib/components/input-number/input-number.vue.d.ts +5 -5
- package/lib/components/link/index.d.ts +9 -5
- package/lib/components/link/link.vue.d.ts +3 -1
- package/lib/components/md-code-demo/index.d.ts +3 -3
- package/lib/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/menu/index.d.ts +24 -8
- package/lib/components/menu/menu-item.vue.d.ts +5 -1
- package/lib/components/menu/menu.vue.d.ts +2 -2
- package/lib/components/message/message.vue.d.ts +3 -1
- package/lib/components/modal/index.d.ts +497 -1
- package/lib/components/modal/modal.vue.d.ts +246 -1
- package/lib/components/overlay/index.d.ts +3 -1
- package/lib/components/overlay/overlay.vue.d.ts +3 -1
- package/lib/components/pagination/components/next.vue.d.ts +3 -1
- package/lib/components/pagination/components/pager.vue.d.ts +3 -1
- package/lib/components/pagination/components/prev.vue.d.ts +3 -1
- package/lib/components/pagination/components/sizes.vue.d.ts +3 -1
- package/lib/components/pagination/index.d.ts +6 -6
- package/lib/components/pagination/pagination.vue.d.ts +6 -6
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/index.d.ts +19 -7
- package/lib/components/popover/popover.vue.d.ts +7 -1
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/popper/content.vue.d.ts +7 -1
- package/lib/components/popper/index.d.ts +4 -4
- package/lib/components/popper/popper.vue.d.ts +2 -2
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/qrcode/index.d.ts +4 -1
- package/lib/components/qrcode/qrcode.vue.d.ts +4 -1
- package/lib/components/radio/index.d.ts +55 -37
- package/lib/components/radio/radio-group.vue.d.ts +10 -7
- package/lib/components/radio/radio.vue.d.ts +4 -1
- package/lib/components/row/index.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +11 -11
- package/lib/components/scrollbar/scrollbar.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +9 -9
- package/lib/components/select/index.d.ts +2 -1646
- package/lib/components/select/select.vue.d.ts +1 -823
- package/lib/components/select/useSelect.d.ts +25 -18
- package/lib/components/slider/button.vue.d.ts +1 -1
- package/lib/components/slider/composables/use-slide.d.ts +4 -4
- package/lib/components/slider/index.d.ts +3 -3
- package/lib/components/slider/slider.vue.d.ts +3 -3
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/super-form/index.d.ts +38 -38
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue.d.ts +16 -16
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/types.d.ts +176 -0
- package/lib/components/super-form/use/use-form-events.cjs +1 -1
- package/lib/components/super-form/use/use-form-events.d.ts +30 -0
- package/lib/components/super-form/use/use-form-values.d.ts +14 -0
- package/lib/components/switch/index.d.ts +23 -19
- package/lib/components/switch/switch.vue.d.ts +23 -19
- package/lib/components/table/index.d.ts +233 -63
- package/lib/components/table/table.vue.d.ts +118 -33
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/types.d.ts +56 -0
- package/lib/components/table/use/use-columns.d.ts +12 -12
- package/lib/components/tabs/index.d.ts +11 -11
- package/lib/components/tabs/tab-nav.vue.d.ts +6 -1
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +9 -13
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/tag/index.d.ts +4 -1
- package/lib/components/tag/tag.vue.d.ts +4 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +13 -4
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +6 -6
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +5 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +5 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +5 -1
- package/lib/components/time-picker/time-picker.d.ts +3 -3
- package/lib/components/time-select/time-select.vue.d.ts +7 -2
- package/lib/components/tooltip/index.d.ts +34 -20
- package/lib/components/tooltip/tooltip.vue.d.ts +10 -3
- package/lib/components/tree/index.d.ts +70 -70
- package/lib/components/tree/tree.vue.d.ts +18 -18
- package/lib/components/types.d.ts +3 -0
- package/lib/components/upload/index.d.ts +37 -37
- package/lib/components/upload/upload-content.vue.d.ts +20 -20
- package/lib/components/upload/upload.vue.d.ts +20 -20
- package/lib/components/verify-code/index.d.ts +2 -6
- package/lib/components/verify-code/verify-code.vue.d.ts +2 -6
- package/lib/components/virtual-list/builders/build-list.d.ts +3 -3
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/lib/components/virtual-list/props.d.ts +2 -2
- package/lib/defaults.d.ts +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/make-installer.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +2 -2
- package/lib/plugin.d.ts +0 -1
- package/package.json +6 -6
- package/theme-style/index.css +1 -1
- package/theme-style/src/super-form.scss +5 -0
- package/theme-style/vft-super-form.css +1 -1
- package/web-types.json +1 -1
- package/es/components/button/button.vue.d.ts +0 -209
- package/es/components/button/index.d.ts +0 -593
- package/es/components/button/use-button.d.ts +0 -20
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +0 -6
- package/es/components/checkbox/composables/use-checkbox.d.ts +0 -15
- package/es/components/config-provider/hooks/use-global-config.d.ts +0 -31
- package/es/components/form/hooks/use-form-common-props.d.ts +0 -6
- package/es/components/loading/index.d.ts +0 -48
- package/es/components/loading/loading.d.ts +0 -36
- package/es/components/radio/use-radio.d.ts +0 -15
- package/es/components/upload/use-handlers.d.ts +0 -23
- package/lib/components/button/button.vue.d.ts +0 -209
- package/lib/components/button/index.d.ts +0 -593
- package/lib/components/button/use-button.d.ts +0 -20
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +0 -6
- package/lib/components/checkbox/composables/use-checkbox.d.ts +0 -15
- package/lib/components/config-provider/hooks/use-global-config.d.ts +0 -31
- package/lib/components/form/hooks/use-form-common-props.d.ts +0 -6
- package/lib/components/loading/index.d.ts +0 -48
- package/lib/components/loading/loading.d.ts +0 -36
- package/lib/components/radio/use-radio.d.ts +0 -15
- package/lib/components/upload/use-handlers.d.ts +0 -23
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { UPDATE_MODEL_EVENT as D } from "@vft/constants";
|
|
3
|
-
import { isNumberish as u, isUndefined as I } from "@vft/utils";
|
|
1
|
+
import { defineComponent as I, getCurrentInstance as h, useSlots as z, ref as g, watch as v, nextTick as S, computed as i, createVNode as s, provide as M } from "vue";
|
|
4
2
|
import "@vueuse/core";
|
|
3
|
+
import { isUndefined as x } from "@vft/utils";
|
|
5
4
|
import "../../utils/ns-cover.js";
|
|
6
5
|
import "lodash";
|
|
7
|
-
import { useNamespace as
|
|
8
|
-
import { useOrderedChildren as
|
|
6
|
+
import { useNamespace as W } from "../../hooks/use-namespace/index.js";
|
|
7
|
+
import { useOrderedChildren as D } from "../../hooks/use-ordered-children/index.js";
|
|
9
8
|
import "@popperjs/core";
|
|
10
9
|
import "../../hooks/use-z-index/index.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
10
|
+
import { UPDATE_MODEL_EVENT as O } from "@vft/constants";
|
|
11
|
+
import U from "./tab-nav.vue2.js";
|
|
12
|
+
import { TabsRootContextKey as $ } from "./types.js";
|
|
13
|
+
const d = (
|
|
14
14
|
/* hoist-static*/
|
|
15
|
-
|
|
16
|
-
),
|
|
17
|
-
name:
|
|
18
|
-
}),
|
|
19
|
-
...
|
|
15
|
+
W("tabs")
|
|
16
|
+
), F = I({
|
|
17
|
+
name: d.b()
|
|
18
|
+
}), ae = /* @__PURE__ */ I({
|
|
19
|
+
...F,
|
|
20
20
|
props: {
|
|
21
21
|
closable: {
|
|
22
22
|
type: Boolean
|
|
@@ -51,92 +51,77 @@ const l = (
|
|
|
51
51
|
default: 0
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
emits:
|
|
55
|
-
[D]: (t) => u(t),
|
|
56
|
-
/** 点击 */
|
|
57
|
-
tabClick: (t, c) => c instanceof Event,
|
|
58
|
-
/** 右键点击 */
|
|
59
|
-
tabContextMenu: (t, c, a) => a instanceof Event,
|
|
60
|
-
tabChange: (t) => u(t),
|
|
61
|
-
edit: (t, c) => ["remove", "add"].includes(c),
|
|
62
|
-
/** 移除 */
|
|
63
|
-
tabRemove: (t) => u(t),
|
|
64
|
-
/** 增加 */
|
|
65
|
-
tabAdd: () => !0
|
|
66
|
-
},
|
|
54
|
+
emits: ["update:modelValue", "tabClick", "tabContextMenu", "tabChange", "tabRemove", "tabAdd", "edit"],
|
|
67
55
|
setup(t, {
|
|
68
|
-
expose:
|
|
56
|
+
expose: w,
|
|
69
57
|
emit: a
|
|
70
58
|
}) {
|
|
71
|
-
const T =
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
var o, n, h;
|
|
75
|
-
if (!(r.value === e || I(e)))
|
|
59
|
+
const T = h(), n = z(), f = g(), r = g(t.modelValue ?? "0"), u = async (e, o = !1) => {
|
|
60
|
+
var c, l, C;
|
|
61
|
+
if (!(r.value === e || x(e)))
|
|
76
62
|
try {
|
|
77
|
-
await ((
|
|
63
|
+
await ((c = t.beforeLeave) == null ? void 0 : c.call(t, e, r.value)) !== !1 && (r.value = e, o && (a(O, e), a("tabChange", e)), (C = (l = f.value) == null ? void 0 : l.removeFocus) == null || C.call(l));
|
|
78
64
|
} catch {
|
|
79
65
|
}
|
|
80
|
-
}, R = (e, o,
|
|
81
|
-
e.props.disabled || (
|
|
66
|
+
}, R = (e, o, c) => {
|
|
67
|
+
e.props.disabled || (u(o, !0), a("tabClick", e, c));
|
|
82
68
|
}, y = (e, o) => {
|
|
83
|
-
e.props.disabled ||
|
|
69
|
+
e.props.disabled || x(e.props.name) || (o.stopPropagation(), a("edit", e.props.name, "remove"), a("tabRemove", e.props.name));
|
|
84
70
|
};
|
|
85
|
-
|
|
71
|
+
v(() => t.modelValue, (e) => u(e)), v(r, async () => {
|
|
86
72
|
var e;
|
|
87
|
-
await
|
|
73
|
+
await S(), (e = f.value) == null || e.scrollToActiveTab();
|
|
88
74
|
});
|
|
89
|
-
const
|
|
75
|
+
const L = () => {
|
|
90
76
|
a("edit", void 0, "add"), a("tabAdd");
|
|
91
|
-
},
|
|
92
|
-
a("tabContextMenu", e, o,
|
|
93
|
-
}, b =
|
|
77
|
+
}, p = (e, o, c) => {
|
|
78
|
+
a("tabContextMenu", e, o, c);
|
|
79
|
+
}, b = i(() => {
|
|
94
80
|
var e;
|
|
95
81
|
return s("div", {
|
|
96
|
-
class:
|
|
97
|
-
}, [(e =
|
|
82
|
+
class: d.e("content")
|
|
83
|
+
}, [(e = n.default) == null ? void 0 : e.call(n)]);
|
|
98
84
|
}), {
|
|
99
|
-
children:
|
|
100
|
-
addChild:
|
|
101
|
-
removeChild:
|
|
102
|
-
} =
|
|
103
|
-
|
|
85
|
+
children: B,
|
|
86
|
+
addChild: P,
|
|
87
|
+
removeChild: E
|
|
88
|
+
} = D(h(), "vft-tab-pane");
|
|
89
|
+
M($, {
|
|
104
90
|
props: T.props,
|
|
105
91
|
currentName: r,
|
|
106
|
-
registerPane:
|
|
107
|
-
unregisterPane:
|
|
108
|
-
}),
|
|
92
|
+
registerPane: P,
|
|
93
|
+
unregisterPane: E
|
|
94
|
+
}), w({
|
|
109
95
|
currentName: r
|
|
110
96
|
});
|
|
111
|
-
const A =
|
|
97
|
+
const A = i(() => ({
|
|
112
98
|
icon: "icon-plus",
|
|
113
99
|
size: 12,
|
|
114
100
|
...t.addIconCfg
|
|
115
|
-
})), V =
|
|
101
|
+
})), V = i(() => ({
|
|
116
102
|
icon: "icon-close",
|
|
117
103
|
size: 14,
|
|
118
104
|
...t.closeIconCfg
|
|
119
|
-
})), k =
|
|
105
|
+
})), k = i(() => ({
|
|
120
106
|
icon: "icon-arrow-left",
|
|
121
107
|
size: 18,
|
|
122
108
|
...t.arrowLeftIconCfg
|
|
123
|
-
})),
|
|
109
|
+
})), N = i(() => ({
|
|
124
110
|
icon: "icon-arrow-right",
|
|
125
111
|
size: 18,
|
|
126
112
|
...t.arrowRightIconCfg
|
|
127
|
-
})),
|
|
113
|
+
})), m = i(() => {
|
|
128
114
|
var e;
|
|
129
115
|
return s("div", {
|
|
130
|
-
class: [
|
|
131
|
-
}, [s(
|
|
116
|
+
class: [d.e("header"), d.is(t.tabPosition)]
|
|
117
|
+
}, [s(U, {
|
|
132
118
|
ref: f,
|
|
133
|
-
|
|
134
|
-
panes: N.value,
|
|
119
|
+
panes: B.value,
|
|
135
120
|
stretch: t.stretch,
|
|
136
121
|
showBar: t.showBar,
|
|
137
122
|
closeIconCfg: V.value,
|
|
138
123
|
addIconCfg: A.value,
|
|
139
|
-
arrowRightIconCfg:
|
|
124
|
+
arrowRightIconCfg: N.value,
|
|
140
125
|
arrowLeftIconCfg: k.value,
|
|
141
126
|
editable: t.editable,
|
|
142
127
|
fixTabCount: t.fixTabCount,
|
|
@@ -144,15 +129,15 @@ const l = (
|
|
|
144
129
|
addable: t.addable,
|
|
145
130
|
onTabClick: R,
|
|
146
131
|
onTabRemove: y,
|
|
147
|
-
onTabAdd:
|
|
148
|
-
onTabContextmenu:
|
|
149
|
-
}, null), (e =
|
|
132
|
+
onTabAdd: L,
|
|
133
|
+
onTabContextmenu: p
|
|
134
|
+
}, null), (e = n.headerRight) == null ? void 0 : e.call(n)]);
|
|
150
135
|
});
|
|
151
136
|
return () => s("div", {
|
|
152
|
-
class: [
|
|
153
|
-
}, [...t.tabPosition !== "bottom" ? [
|
|
137
|
+
class: [d.b(), d.m(t.tabPosition)]
|
|
138
|
+
}, [...t.tabPosition !== "bottom" ? [m.value, b.value] : [b.value, m.value]]);
|
|
154
139
|
}
|
|
155
140
|
});
|
|
156
141
|
export {
|
|
157
|
-
|
|
142
|
+
ae as default
|
|
158
143
|
};
|
|
@@ -24,7 +24,10 @@ export declare const VftTag: import("vft/es/utils").SFCWithInstall<import("vue")
|
|
|
24
24
|
round: {
|
|
25
25
|
type: import("vue").PropType<boolean>;
|
|
26
26
|
};
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
click: (...args: any[]) => void;
|
|
29
|
+
close: (...args: any[]) => void;
|
|
30
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
31
|
closable: {
|
|
29
32
|
type: import("vue").PropType<boolean>;
|
|
30
33
|
};
|
|
@@ -35,7 +35,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
round: {
|
|
36
36
|
type: import("vue").PropType<boolean>;
|
|
37
37
|
};
|
|
38
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
38
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
click: (...args: any[]) => void;
|
|
40
|
+
close: (...args: any[]) => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
42
|
closable: {
|
|
40
43
|
type: import("vue").PropType<boolean>;
|
|
41
44
|
};
|
|
@@ -105,7 +105,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
105
105
|
* @description pick item manually
|
|
106
106
|
*/
|
|
107
107
|
onPick: (date?: any, visible?: boolean) => void;
|
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
108
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
109
|
+
"update:modelValue": (...args: any[]) => void;
|
|
110
|
+
change: (...args: any[]) => void;
|
|
111
|
+
blur: (...args: any[]) => void;
|
|
112
|
+
focus: (...args: any[]) => void;
|
|
113
|
+
keydown: (...args: any[]) => void;
|
|
114
|
+
"calendar-change": (...args: any[]) => void;
|
|
115
|
+
"panel-change": (...args: any[]) => void;
|
|
116
|
+
"visible-change": (...args: any[]) => void;
|
|
117
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
118
|
disabledDate: {
|
|
110
119
|
readonly type: import("vue").PropType<Function>;
|
|
111
120
|
readonly required: false;
|
|
@@ -198,13 +207,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
198
207
|
name: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => SingleOrRange<string>))[], unknown, unknown>;
|
|
199
208
|
type: string;
|
|
200
209
|
modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType))[], unknown, unknown>;
|
|
201
|
-
placeholder: string;
|
|
202
|
-
tabindex: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
203
|
-
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
204
210
|
disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
211
|
+
readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
212
|
+
placeholder: string;
|
|
205
213
|
clearable: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
206
214
|
prefixIcon: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
207
215
|
clearIcon: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
216
|
+
tabindex: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
208
217
|
validateEvent: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
209
218
|
popperOptions: Partial<Options>;
|
|
210
219
|
popperClass: string;
|
|
@@ -56,7 +56,7 @@ export declare const useOldValue: (props: {
|
|
|
56
56
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
57
57
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
58
58
|
format: (template?: string | undefined) => string;
|
|
59
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "
|
|
59
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "y" | "s" | "ms" | "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
60
60
|
valueOf: () => number;
|
|
61
61
|
unix: () => number;
|
|
62
62
|
daysInMonth: () => number;
|
|
@@ -126,7 +126,7 @@ export declare const useOldValue: (props: {
|
|
|
126
126
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
127
127
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
128
128
|
format: (template?: string | undefined) => string;
|
|
129
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "
|
|
129
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "y" | "s" | "ms" | "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
130
130
|
valueOf: () => number;
|
|
131
131
|
unix: () => number;
|
|
132
132
|
daysInMonth: () => number;
|
|
@@ -174,13 +174,13 @@ declare const _TimePicker: import("vue").DefineComponent<{
|
|
|
174
174
|
name: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>))[], unknown, unknown>;
|
|
175
175
|
type: string;
|
|
176
176
|
modelValue: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown>;
|
|
177
|
-
placeholder: string;
|
|
178
|
-
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
179
|
-
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
180
177
|
disabled: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
178
|
+
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
|
+
placeholder: string;
|
|
181
180
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
182
181
|
prefixIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
183
182
|
clearIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
183
|
+
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
184
184
|
validateEvent: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
185
185
|
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
186
186
|
popperClass: string;
|
|
@@ -364,13 +364,13 @@ export declare const VftTimePicker: import("vue").DefineComponent<{
|
|
|
364
364
|
name: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>))[], unknown, unknown>;
|
|
365
365
|
type: string;
|
|
366
366
|
modelValue: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown>;
|
|
367
|
-
placeholder: string;
|
|
368
|
-
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
369
|
-
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
370
367
|
disabled: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
368
|
+
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
369
|
+
placeholder: string;
|
|
371
370
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
372
371
|
prefixIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
373
372
|
clearIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
373
|
+
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
374
374
|
validateEvent: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
375
375
|
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
376
376
|
popperClass: string;
|
|
@@ -32,7 +32,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
showSeconds: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
33
33
|
arrowControl: BooleanConstructor;
|
|
34
34
|
amPmMode: import("../../../utils").EpPropFinalized<(new (...args: any[]) => "" | "a" | "A") | (() => "" | "a" | "A") | ((new (...args: any[]) => "" | "a" | "A") | (() => "" | "a" | "A"))[], unknown, unknown, "", boolean>;
|
|
35
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
35
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
change: (...args: any[]) => void;
|
|
37
|
+
"select-range": (...args: any[]) => void;
|
|
38
|
+
"set-option": (...args: any[]) => void;
|
|
39
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
40
|
disabledHours: {
|
|
37
41
|
readonly type: import("vue").PropType<import("../props/shared").GetDisabledHours>;
|
|
38
42
|
readonly required: false;
|
|
@@ -10,7 +10,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
visible: BooleanConstructor;
|
|
11
11
|
actualVisible: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
12
12
|
format: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
pick: (...args: any[]) => void;
|
|
15
|
+
"select-range": (...args: any[]) => void;
|
|
16
|
+
"set-picker-option": (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
18
|
datetimeRole: StringConstructor;
|
|
15
19
|
parsedValue: {
|
|
16
20
|
readonly type: import("vue").PropType<Dayjs>;
|
|
@@ -9,7 +9,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
visible: BooleanConstructor;
|
|
10
10
|
actualVisible: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
11
11
|
format: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
pick: (...args: any[]) => void;
|
|
14
|
+
"select-range": (...args: any[]) => void;
|
|
15
|
+
"set-picker-option": (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
17
|
parsedValue: {
|
|
14
18
|
readonly type: import("vue").PropType<[Dayjs, Dayjs]>;
|
|
15
19
|
readonly required: false;
|
|
@@ -175,13 +175,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
175
|
name: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("./common/props").SingleOrRange<string>))[], unknown, unknown>;
|
|
176
176
|
type: string;
|
|
177
177
|
modelValue: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown>;
|
|
178
|
-
placeholder: string;
|
|
179
|
-
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
180
|
-
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
181
178
|
disabled: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
|
+
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
180
|
+
placeholder: string;
|
|
182
181
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
182
|
prefixIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
184
183
|
clearIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
184
|
+
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
185
185
|
validateEvent: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
186
186
|
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
187
187
|
popperClass: string;
|
|
@@ -33,7 +33,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
}, {
|
|
34
34
|
blur: () => void;
|
|
35
35
|
focus: () => void;
|
|
36
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (...args: any[]) => void;
|
|
38
|
+
change: (...args: any[]) => void;
|
|
39
|
+
blur: (...args: any[]) => void;
|
|
40
|
+
focus: (...args: any[]) => void;
|
|
41
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
42
|
format: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "HH:mm", boolean>;
|
|
38
43
|
modelValue: StringConstructor;
|
|
39
44
|
disabled: BooleanConstructor;
|
|
@@ -76,8 +81,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
81
|
effect: string;
|
|
77
82
|
disabled: boolean;
|
|
78
83
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
79
|
-
step: string;
|
|
80
84
|
format: string;
|
|
81
85
|
editable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
86
|
+
step: string;
|
|
82
87
|
}, {}>;
|
|
83
88
|
export default _default;
|
|
@@ -10,6 +10,10 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
10
10
|
readonly offset?: number | undefined;
|
|
11
11
|
readonly transition?: string | undefined;
|
|
12
12
|
key?: string | number | symbol | undefined;
|
|
13
|
+
readonly className?: import("../types").ClassType | undefined;
|
|
14
|
+
readonly id?: string | undefined;
|
|
15
|
+
readonly ariaLabel?: string | undefined;
|
|
16
|
+
readonly role?: "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree" | undefined;
|
|
13
17
|
ref?: import("vue").VNodeRef | undefined;
|
|
14
18
|
class?: unknown;
|
|
15
19
|
readonly showAfter?: number | undefined;
|
|
@@ -20,7 +24,16 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
20
24
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
21
25
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
22
26
|
readonly effect?: "light" | "dark" | undefined;
|
|
23
|
-
readonly
|
|
27
|
+
readonly onFocus?: Function | undefined;
|
|
28
|
+
readonly onBlur?: Function | undefined;
|
|
29
|
+
readonly onKeydown?: Function | undefined;
|
|
30
|
+
readonly onClick?: Function | undefined;
|
|
31
|
+
readonly onContextmenu?: Function | undefined;
|
|
32
|
+
readonly onMouseenter?: Function | undefined;
|
|
33
|
+
readonly onMouseleave?: Function | undefined;
|
|
34
|
+
readonly visible?: boolean | undefined;
|
|
35
|
+
readonly disabled?: boolean | undefined;
|
|
36
|
+
readonly trigger?: import("./types").TooltipTriggerType | undefined;
|
|
24
37
|
ref_for?: boolean | undefined;
|
|
25
38
|
ref_key?: string | undefined;
|
|
26
39
|
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -61,21 +74,8 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
61
74
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
62
75
|
[key: string]: any;
|
|
63
76
|
}>) => void)[] | undefined;
|
|
64
|
-
readonly onFocus?: Function | undefined;
|
|
65
|
-
readonly onBlur?: Function | undefined;
|
|
66
|
-
readonly onKeydown?: Function | undefined;
|
|
67
|
-
readonly onClick?: Function | undefined;
|
|
68
|
-
readonly onContextmenu?: Function | undefined;
|
|
69
|
-
readonly onMouseenter?: Function | undefined;
|
|
70
|
-
readonly onMouseleave?: Function | undefined;
|
|
71
|
-
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
72
|
-
readonly className?: import("../types").ClassType | undefined;
|
|
73
|
-
readonly ariaLabel?: string | undefined;
|
|
74
|
-
readonly disabled?: boolean | undefined;
|
|
75
|
-
readonly trigger?: import("./types").TooltipTriggerType | undefined;
|
|
76
77
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
77
78
|
readonly appendTo?: any;
|
|
78
|
-
readonly visible?: boolean | undefined;
|
|
79
79
|
readonly arrowOffset?: number | undefined;
|
|
80
80
|
readonly gpuAcceleration?: boolean | undefined;
|
|
81
81
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -112,11 +112,11 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
112
112
|
}>;
|
|
113
113
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
114
114
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
115
|
-
$emit: (event: "open"
|
|
115
|
+
$emit: ((event: "open", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
|
|
116
116
|
$el: any;
|
|
117
117
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
118
118
|
role: {
|
|
119
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
119
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
|
|
120
120
|
};
|
|
121
121
|
showArrow: {
|
|
122
122
|
type: import("vue").PropType<boolean>;
|
|
@@ -271,7 +271,14 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
271
271
|
onOpen: (event?: Event | undefined) => void;
|
|
272
272
|
onClose: (event?: Event | undefined) => void;
|
|
273
273
|
hide: (event?: Event | undefined) => void;
|
|
274
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
274
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
275
|
+
open: (...args: any[]) => void;
|
|
276
|
+
close: (...args: any[]) => void;
|
|
277
|
+
hide: (...args: any[]) => void;
|
|
278
|
+
show: (...args: any[]) => void;
|
|
279
|
+
"before-show": (...args: any[]) => void;
|
|
280
|
+
"before-hide": (...args: any[]) => void;
|
|
281
|
+
}, string, {}, {}, string, {}> & {
|
|
275
282
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
276
283
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
277
284
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -293,7 +300,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
293
300
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
294
301
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
295
302
|
role: {
|
|
296
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
303
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
|
|
297
304
|
};
|
|
298
305
|
showArrow: {
|
|
299
306
|
type: import("vue").PropType<boolean>;
|
|
@@ -454,7 +461,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
454
461
|
__isSuspense?: undefined;
|
|
455
462
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
456
463
|
role: {
|
|
457
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
464
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
|
|
458
465
|
};
|
|
459
466
|
showArrow: {
|
|
460
467
|
type: import("vue").PropType<boolean>;
|
|
@@ -609,7 +616,14 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
609
616
|
onOpen: (event?: Event | undefined) => void;
|
|
610
617
|
onClose: (event?: Event | undefined) => void;
|
|
611
618
|
hide: (event?: Event | undefined) => void;
|
|
612
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
619
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
620
|
+
open: (...args: any[]) => void;
|
|
621
|
+
close: (...args: any[]) => void;
|
|
622
|
+
hide: (...args: any[]) => void;
|
|
623
|
+
show: (...args: any[]) => void;
|
|
624
|
+
"before-show": (...args: any[]) => void;
|
|
625
|
+
"before-hide": (...args: any[]) => void;
|
|
626
|
+
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
613
627
|
$slots: {
|
|
614
628
|
default?(_: {}): any;
|
|
615
629
|
content?(_: {}): any;
|
|
@@ -54,7 +54,7 @@ export interface ToolTipProps {
|
|
|
54
54
|
}
|
|
55
55
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
56
56
|
role: {
|
|
57
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
57
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
|
|
58
58
|
};
|
|
59
59
|
showArrow: {
|
|
60
60
|
type: import("vue").PropType<boolean>;
|
|
@@ -223,9 +223,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
223
223
|
* @description expose hide function
|
|
224
224
|
*/
|
|
225
225
|
hide: (event?: Event | undefined) => void;
|
|
226
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
226
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
227
|
+
open: (...args: any[]) => void;
|
|
228
|
+
close: (...args: any[]) => void;
|
|
229
|
+
hide: (...args: any[]) => void;
|
|
230
|
+
show: (...args: any[]) => void;
|
|
231
|
+
"before-show": (...args: any[]) => void;
|
|
232
|
+
"before-hide": (...args: any[]) => void;
|
|
233
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
227
234
|
role: {
|
|
228
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
235
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
|
|
229
236
|
};
|
|
230
237
|
showArrow: {
|
|
231
238
|
type: import("vue").PropType<boolean>;
|