@polyv/vue-components 1.5.0 → 1.6.0
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/package.json +3 -1
- package/styles/function.scss +4 -2
- package/styles/root/basic.scss +43 -7
- package/styles/variables.scss +35 -4
- package/vue2/index.es.js +9742 -7045
- package/vue2/src/components/alert/index.d.ts +96 -0
- package/vue2/src/components/alert/src/alert.vue.d.ts +50 -0
- package/vue2/src/components/alert/src/props-define.d.ts +54 -0
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +453 -1
- package/vue2/src/components/business/external-links/external-links.vue.d.ts +2 -2
- package/vue2/src/components/business/external-links/use-external-links.d.ts +19 -0
- package/vue2/src/components/business/live-status-tag/index.d.ts +84 -0
- package/vue2/src/components/business/live-status-tag/src/live-status-tag.vue.d.ts +46 -0
- package/vue2/src/components/business/live-status-tag/src/props-define.d.ts +44 -0
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +19 -0
- package/vue2/src/components/button/index.d.ts +32 -6
- package/vue2/src/components/button/src/button.vue.d.ts +12 -3
- package/vue2/src/components/button/src/use-button.d.ts +13 -0
- package/vue2/src/components/card/index.d.ts +77 -0
- package/vue2/src/components/card/src/card.vue.d.ts +43 -0
- package/vue2/src/components/card/src/hooks/props-define.d.ts +46 -0
- package/vue2/src/components/dropdown/index.d.ts +175 -4
- package/{vue3/src/components/dropdown → vue2/src/components/dropdown/src}/dropdown.vue.d.ts +13 -11
- package/{vue3/src/components/dropdown → vue2/src/components/dropdown/src}/use-dropdown.d.ts +21 -6
- package/vue2/src/components/empty/index.d.ts +6 -6
- package/vue2/src/components/empty/src/empty.vue.d.ts +2 -2
- package/vue2/src/components/empty/src/props-define.d.ts +1 -1
- package/vue2/src/components/example/example.vue.d.ts +5 -5
- package/vue2/src/components/example/index.d.ts +5 -5
- package/vue2/src/components/example/props-define.d.ts +2 -2
- package/vue2/src/components/exports.d.ts +5 -0
- package/vue2/src/components/form/_common/form-base.vue.d.ts +1 -2
- package/vue2/src/components/form/area-picker/area-picker.vue.d.ts +18 -3
- package/vue2/src/components/form/area-picker/components/picker-popup.vue.d.ts +20 -1
- package/vue2/src/components/form/area-picker/use-area-picker.d.ts +89 -3
- package/vue2/src/components/form/checkbox/index.d.ts +36 -8
- package/vue2/src/components/form/checkbox/src/checkbox-group.vue.d.ts +10 -2
- package/vue2/src/components/form/checkbox/src/checkbox.vue.d.ts +5 -0
- package/vue2/src/components/form/checkbox/src/props-define.d.ts +123 -0
- package/vue2/src/components/form/checkbox/src/use-checkbox-group.d.ts +1 -29
- package/vue2/src/components/form/checkbox/src/use-checkbox.d.ts +1 -67
- package/vue2/src/components/form/date-picker/index.d.ts +23 -3
- package/vue2/src/components/form/date-picker/src/date-picker.vue.d.ts +23 -3
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/common.d.ts +1 -1
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/use-date-input.d.ts +1 -1
- package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +25 -2
- package/vue2/src/components/form/date-picker/src/hooks/use-date-limit.d.ts +6 -5
- package/vue2/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +14 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-picker.d.ts +9 -7
- package/vue2/src/components/form/date-picker/src/hooks/use-picker-value.d.ts +4 -4
- package/vue2/src/components/form/date-picker/src/hooks/use-year-month.d.ts +2 -1
- package/vue2/src/components/form/date-picker/src/types/index.d.ts +21 -0
- package/vue2/src/components/form/form-item/index.d.ts +14 -4
- package/vue2/src/components/form/form-item/src/form-item.vue.d.ts +7 -2
- package/vue2/src/components/form/form-item/src/hooks/config.d.ts +1 -0
- package/vue2/src/components/form/form-item/src/hooks/props-define.d.ts +113 -0
- package/vue2/src/components/form/form-item/src/hooks/use-item-label.d.ts +1 -1
- package/vue2/src/components/form/form-item/src/hooks/use-item-slots.d.ts +8 -0
- package/vue2/src/components/form/form-item/src/use-form-item.d.ts +5 -78
- package/vue2/src/components/form/form-submit-button/index.d.ts +10 -3
- package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +10 -3
- package/vue2/src/components/form/form-submit-button/src/props-define.d.ts +3 -0
- package/vue2/src/components/form/form-wrap/index.d.ts +6 -6
- package/vue2/src/components/form/form-wrap/src/form-wrap.vue.d.ts +2 -2
- package/vue2/src/components/form/form-wrap/src/use-form-wrap.d.ts +1 -1
- package/vue2/src/components/form/hooks/use-form-clearable.d.ts +19 -0
- package/vue2/src/components/form/hooks/use-form-entrance.d.ts +40 -1
- package/vue2/src/components/form/image-upload/index.d.ts +53 -0
- package/vue2/src/components/form/image-upload/src/hooks/props-define.d.ts +65 -2
- package/vue2/src/components/form/image-upload/src/hooks/use-image-upload.d.ts +8 -0
- package/vue2/src/components/form/image-upload/src/image-upload.vue.d.ts +53 -0
- package/vue2/src/components/form/index.d.ts +2 -1
- package/vue2/src/components/form/input/index.d.ts +24 -200
- package/vue2/src/components/form/input/src/input.vue.d.ts +25 -22
- package/vue2/src/components/form/input/src/props-define.d.ts +20 -10
- package/vue2/src/components/form/input/src/use-input.d.ts +3 -1
- package/vue2/src/components/form/input-number/index.d.ts +207 -2
- package/vue2/src/components/form/input-number/{input-number.vue.d.ts → src/input-number.vue.d.ts} +20 -4
- package/vue2/src/components/form/input-number/{props-define.d.ts → src/props-define.d.ts} +16 -5
- package/{vue3/src/components/form/input-number → vue2/src/components/form/input-number/src}/use-input-number.d.ts +1 -1
- package/vue2/src/components/form/radio/index.d.ts +70 -23
- package/vue2/src/components/form/radio/src/props-define.d.ts +115 -0
- package/vue2/src/components/form/radio/src/radio-group.vue.d.ts +21 -5
- package/vue2/src/components/form/radio/src/radio.vue.d.ts +7 -2
- package/vue2/src/components/form/radio/src/type.d.ts +13 -1
- package/vue2/src/components/form/select/index.d.ts +280 -28
- package/vue2/src/components/form/select/src/props-define.d.ts +50 -5
- package/vue2/src/components/form/select/src/select.vue.d.ts +98 -10
- package/vue2/src/components/form/switch/index.d.ts +10 -2
- package/vue2/src/components/form/switch/src/props-define.d.ts +5 -1
- package/vue2/src/components/form/switch/src/switch.vue.d.ts +10 -2
- package/vue2/src/components/form/switch/src/use-switch.d.ts +1 -1
- package/vue2/src/components/form/timezone-picker/index.d.ts +1406 -0
- package/vue2/src/components/form/timezone-picker/src/hooks/props-define.d.ts +619 -0
- package/vue2/src/components/form/timezone-picker/src/hooks/use-timezone-data.d.ts +25 -0
- package/vue2/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +1407 -0
- package/vue2/src/components/form/transfer/transfer.vue.d.ts +2 -2
- package/vue2/src/components/form/video-upload/hooks/props-define.d.ts +11 -0
- package/vue2/src/components/form/video-upload/hooks/use-video-upload.d.ts +2 -0
- package/vue2/src/components/form/video-upload/video-upload.vue.d.ts +9 -0
- package/vue2/src/components/icons/icons/clock-two/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/data-export-two/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/error/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/filter/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/landscape/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/portrait/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/rocket/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/statistics/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/success/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/tag/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +10 -0
- package/vue2/src/components/image-cropper/index.d.ts +22 -0
- package/vue2/src/components/image-cropper/src/hooks/props-define.d.ts +52 -0
- package/vue2/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +31 -0
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/image-cropper-viewport.vue.d.ts +6 -0
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-data.d.ts +9 -0
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-elem.d.ts +8 -0
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-options.d.ts +23 -0
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-within.d.ts +8 -0
- package/vue2/src/components/image-cropper/src/image-cropper.vue.d.ts +22 -0
- package/vue2/src/components/loading/index.d.ts +6 -6
- package/vue2/src/components/loading/src/loading.vue.d.ts +6 -6
- package/vue2/src/components/loading/src/props-define.d.ts +2 -2
- package/vue2/src/components/message-box/_component/message-box-element.vue.d.ts +75 -45
- package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +37 -21
- package/vue2/src/components/message-box/types.d.ts +27 -0
- package/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
- package/vue2/src/components/popconfirm/index.d.ts +331 -2
- package/vue2/src/components/popconfirm/{popconfirm.vue.d.ts → src/popconfirm.vue.d.ts} +68 -46
- package/{vue3/src/components/popconfirm → vue2/src/components/popconfirm/src}/props-define.d.ts +13 -15
- package/vue2/src/components/popover/index.d.ts +50 -30
- package/vue2/src/components/popover/src/popover.vue.d.ts +18 -11
- package/vue2/src/components/popover/src/props-define.d.ts +12 -4
- package/vue2/src/components/popup/index.d.ts +696 -4
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/popup-props.d.ts +68 -24
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/use-popup-append.d.ts +1 -1
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/use-popup-back.d.ts +1 -1
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/use-popup-config.d.ts +1 -1
- package/vue2/src/components/popup/{hooks → src/hooks}/use-popup-draggable.d.ts +1 -1
- package/vue2/src/components/popup/src/hooks/use-popup-effect.d.ts +7 -0
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/use-popup-height.d.ts +6 -3
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/use-popup-position.d.ts +2 -2
- package/vue2/src/components/popup/src/hooks/use-popup-scroll.d.ts +149 -0
- package/vue2/src/components/popup/{hooks → src/hooks}/use-popup-visible.d.ts +1 -1
- package/{vue3/src/components/popup → vue2/src/components/popup/src}/hooks/use-popup-width.d.ts +3 -2
- package/vue2/src/components/popup/src/popup.vue.d.ts +402 -0
- package/vue2/src/components/resize-box/resize-box.vue.d.ts +2 -2
- package/vue2/src/components/scrollbar/index.d.ts +18 -2
- package/vue2/src/components/scrollbar/src/props-define.d.ts +13 -0
- package/vue2/src/components/scrollbar/src/scrollbar-track.vue.d.ts +2 -2
- package/vue2/src/components/scrollbar/src/scrollbar.vue.d.ts +7 -1
- package/vue2/src/components/slider/index.d.ts +1 -1
- package/vue2/src/components/slider/src/slider.vue.d.ts +1 -1
- package/vue2/src/components/swiper/hooks/swiper-props.d.ts +1 -1
- package/vue2/src/components/swiper/hooks/use-swiper-options.d.ts +393 -1
- package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +393 -1
- package/vue2/src/components/swiper/swiper.vue.d.ts +2 -2
- package/vue2/src/components/table/index.d.ts +8 -8
- package/vue2/src/components/table/src/components/table-fixed-shadow.vue.d.ts +2 -2
- package/vue2/src/components/table/src/hooks/props-define.d.ts +1 -1
- package/vue2/src/components/table/src/hooks/use-table/use-column-computed.d.ts +2 -2
- package/vue2/src/components/table/src/hooks/use-table/use-column-list.d.ts +5 -5
- package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +9 -9
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +2 -2
- package/vue2/src/components/table/src/table-column.vue.d.ts +2 -2
- package/vue2/src/components/table/src/table.vue.d.ts +1 -1
- package/vue2/src/components/tabs/index.d.ts +145 -0
- package/vue2/src/components/tabs/src/props-define.d.ts +86 -0
- package/vue2/src/components/tabs/src/tab-pane.vue.d.ts +35 -0
- package/vue2/src/components/tabs/src/tabs.vue.d.ts +48 -0
- package/vue2/src/components/tabs/src/types.d.ts +28 -0
- package/vue2/src/components/tag/index.d.ts +28 -28
- package/vue2/src/components/tag/src/props-define.d.ts +6 -6
- package/vue2/src/components/tag/src/tag.vue.d.ts +10 -10
- package/vue2/src/components/tooltip/index.d.ts +16 -16
- package/vue2/src/components/tooltip/src/props-define.d.ts +2 -2
- package/vue2/src/components/tooltip/src/tooltip.vue.d.ts +9 -82
- package/vue2/src/components/tooltip/src/use-tooltip.d.ts +2 -2
- package/vue2/src/components/zoom-container/hooks/use-zoom-drag.d.ts +1 -0
- package/vue2/src/config/index.d.ts +4 -0
- package/vue2/src/hooks/animation/types/common.d.ts +1 -1
- package/vue2/src/hooks/animation/types/index.d.ts +5 -0
- package/vue2/src/hooks/animation/use-gif-handler/index.d.ts +26 -0
- package/vue2/src/hooks/animation/use-special-effect/index.d.ts +9 -4
- package/vue2/src/hooks/business/use-skin-color/index.d.ts +1 -0
- package/vue2/src/hooks/business/use-skin-color/types.d.ts +4 -0
- package/vue2/src/hooks/business/use-skin-color/utils.d.ts +5 -0
- package/vue2/src/hooks/components/use-confirm-cancel/index.d.ts +93 -19
- package/vue2/src/hooks/exports.d.ts +1 -0
- package/vue2/src/hooks/interactive/use-scroll/index.d.ts +8 -0
- package/vue2/src/hooks/pagination/use-scroll-pagintaion/index.d.ts +8 -0
- package/vue2/src/hooks/vue/use-render-slots/index.d.ts +6 -0
- package/vue2/src/hooks/vue/use-vue/index.d.ts +0 -1
- package/vue2/src/lang/internal/en.json.d.ts +20 -1
- package/vue2/src/lang/internal/index.d.ts +19 -0
- package/vue2/src/lang/internal/ja.json.d.ts +20 -1
- package/vue2/src/lang/internal/ko.json.d.ts +20 -1
- package/vue2/src/lang/internal/ru.json.d.ts +20 -1
- package/vue2/src/lang/internal/zh-CN.json.d.ts +20 -1
- package/vue2/src/lang/internal/zh-TW.json.d.ts +20 -1
- package/vue2/src/plugins/cropperjs/index.d.ts +14 -0
- package/vue2/src/utils/string.d.ts +10 -0
- package/vue2/src/vue-utils/render-slot.d.ts +10 -0
- package/vue3/index.es.js +9742 -7045
- package/vue3/src/components/alert/index.d.ts +96 -0
- package/vue3/src/components/alert/src/alert.vue.d.ts +50 -0
- package/vue3/src/components/alert/src/props-define.d.ts +54 -0
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +453 -1
- package/vue3/src/components/business/external-links/external-links.vue.d.ts +2 -2
- package/vue3/src/components/business/external-links/use-external-links.d.ts +19 -0
- package/vue3/src/components/business/live-status-tag/index.d.ts +84 -0
- package/vue3/src/components/business/live-status-tag/src/live-status-tag.vue.d.ts +46 -0
- package/vue3/src/components/business/live-status-tag/src/playing-icon.vue.d.ts +2 -0
- package/vue3/src/components/business/live-status-tag/src/props-define.d.ts +44 -0
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +19 -0
- package/vue3/src/components/button/index.d.ts +32 -6
- package/vue3/src/components/button/src/button.vue.d.ts +12 -3
- package/vue3/src/components/button/src/use-button.d.ts +13 -0
- package/vue3/src/components/card/index.d.ts +77 -0
- package/vue3/src/components/card/src/card.vue.d.ts +43 -0
- package/vue3/src/components/card/src/hooks/props-define.d.ts +46 -0
- package/vue3/src/components/dropdown/index.d.ts +175 -4
- package/{vue2/src/components/dropdown → vue3/src/components/dropdown/src}/dropdown.vue.d.ts +13 -11
- package/{vue2/src/components/dropdown → vue3/src/components/dropdown/src}/use-dropdown.d.ts +21 -6
- package/vue3/src/components/empty/index.d.ts +6 -6
- package/vue3/src/components/empty/src/empty.vue.d.ts +2 -2
- package/vue3/src/components/empty/src/props-define.d.ts +1 -1
- package/vue3/src/components/example/example.vue.d.ts +5 -5
- package/vue3/src/components/example/index.d.ts +5 -5
- package/vue3/src/components/example/props-define.d.ts +2 -2
- package/vue3/src/components/exports.d.ts +5 -0
- package/vue3/src/components/form/_common/form-base.vue.d.ts +1 -2
- package/vue3/src/components/form/area-picker/area-picker.vue.d.ts +18 -3
- package/vue3/src/components/form/area-picker/components/picker-popup.vue.d.ts +20 -1
- package/vue3/src/components/form/area-picker/use-area-picker.d.ts +89 -3
- package/vue3/src/components/form/checkbox/index.d.ts +36 -8
- package/vue3/src/components/form/checkbox/src/checkbox-group.vue.d.ts +10 -2
- package/vue3/src/components/form/checkbox/src/checkbox.vue.d.ts +5 -0
- package/vue3/src/components/form/checkbox/src/props-define.d.ts +123 -0
- package/vue3/src/components/form/checkbox/src/use-checkbox-group.d.ts +1 -29
- package/vue3/src/components/form/checkbox/src/use-checkbox.d.ts +1 -67
- package/vue3/src/components/form/date-picker/index.d.ts +23 -3
- package/vue3/src/components/form/date-picker/src/date-picker.vue.d.ts +23 -3
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/common.d.ts +1 -1
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/use-date-input.d.ts +1 -1
- package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +25 -2
- package/vue3/src/components/form/date-picker/src/hooks/use-date-limit.d.ts +6 -5
- package/vue3/src/components/form/date-picker/src/hooks/use-date-picker-utils.d.ts +14 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-date-picker.d.ts +9 -7
- package/vue3/src/components/form/date-picker/src/hooks/use-picker-value.d.ts +4 -4
- package/vue3/src/components/form/date-picker/src/hooks/use-year-month.d.ts +2 -1
- package/vue3/src/components/form/date-picker/src/types/index.d.ts +21 -0
- package/vue3/src/components/form/form-item/index.d.ts +14 -4
- package/vue3/src/components/form/form-item/src/form-item.vue.d.ts +7 -2
- package/vue3/src/components/form/form-item/src/hooks/config.d.ts +1 -0
- package/vue3/src/components/form/form-item/src/hooks/props-define.d.ts +113 -0
- package/vue3/src/components/form/form-item/src/hooks/use-item-label.d.ts +1 -1
- package/vue3/src/components/form/form-item/src/hooks/use-item-slots.d.ts +8 -0
- package/vue3/src/components/form/form-item/src/use-form-item.d.ts +5 -78
- package/vue3/src/components/form/form-submit-button/index.d.ts +10 -3
- package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +10 -3
- package/vue3/src/components/form/form-submit-button/src/props-define.d.ts +3 -0
- package/vue3/src/components/form/form-wrap/index.d.ts +6 -6
- package/vue3/src/components/form/form-wrap/src/form-wrap.vue.d.ts +2 -2
- package/vue3/src/components/form/form-wrap/src/use-form-wrap.d.ts +1 -1
- package/vue3/src/components/form/hooks/use-form-clearable.d.ts +19 -0
- package/vue3/src/components/form/hooks/use-form-entrance.d.ts +40 -1
- package/vue3/src/components/form/image-upload/index.d.ts +53 -0
- package/vue3/src/components/form/image-upload/src/hooks/props-define.d.ts +65 -2
- package/vue3/src/components/form/image-upload/src/hooks/use-image-upload.d.ts +8 -0
- package/vue3/src/components/form/image-upload/src/image-upload.vue.d.ts +53 -0
- package/vue3/src/components/form/index.d.ts +2 -1
- package/vue3/src/components/form/input/index.d.ts +24 -200
- package/vue3/src/components/form/input/src/input.vue.d.ts +25 -22
- package/vue3/src/components/form/input/src/props-define.d.ts +20 -10
- package/vue3/src/components/form/input/src/use-input.d.ts +3 -1
- package/vue3/src/components/form/input-number/index.d.ts +207 -2
- package/vue3/src/components/form/input-number/{input-number.vue.d.ts → src/input-number.vue.d.ts} +20 -4
- package/vue3/src/components/form/input-number/{props-define.d.ts → src/props-define.d.ts} +16 -5
- package/{vue2/src/components/form/input-number → vue3/src/components/form/input-number/src}/use-input-number.d.ts +1 -1
- package/vue3/src/components/form/radio/index.d.ts +70 -23
- package/vue3/src/components/form/radio/src/props-define.d.ts +115 -0
- package/vue3/src/components/form/radio/src/radio-group.vue.d.ts +21 -5
- package/vue3/src/components/form/radio/src/radio.vue.d.ts +7 -2
- package/vue3/src/components/form/radio/src/type.d.ts +13 -1
- package/vue3/src/components/form/select/index.d.ts +280 -28
- package/vue3/src/components/form/select/src/props-define.d.ts +50 -5
- package/vue3/src/components/form/select/src/select.vue.d.ts +98 -10
- package/vue3/src/components/form/switch/index.d.ts +10 -2
- package/vue3/src/components/form/switch/src/props-define.d.ts +5 -1
- package/vue3/src/components/form/switch/src/switch.vue.d.ts +10 -2
- package/vue3/src/components/form/switch/src/use-switch.d.ts +1 -1
- package/vue3/src/components/form/timezone-picker/index.d.ts +1406 -0
- package/vue3/src/components/form/timezone-picker/src/hooks/props-define.d.ts +619 -0
- package/vue3/src/components/form/timezone-picker/src/hooks/use-timezone-data.d.ts +25 -0
- package/vue3/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +1407 -0
- package/vue3/src/components/form/transfer/transfer.vue.d.ts +2 -2
- package/vue3/src/components/form/video-upload/hooks/props-define.d.ts +11 -0
- package/vue3/src/components/form/video-upload/hooks/use-video-upload.d.ts +2 -0
- package/vue3/src/components/form/video-upload/video-upload.vue.d.ts +9 -0
- package/vue3/src/components/icons/icons/clock-two/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/data-export-two/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/error/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/filter/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/landscape/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/portrait/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/rocket/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/statistics/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/success/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/tag/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +10 -0
- package/vue3/src/components/image-cropper/index.d.ts +22 -0
- package/vue3/src/components/image-cropper/src/hooks/props-define.d.ts +52 -0
- package/vue3/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +31 -0
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/image-cropper-viewport.vue.d.ts +6 -0
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-data.d.ts +9 -0
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-elem.d.ts +8 -0
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-options.d.ts +23 -0
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-within.d.ts +8 -0
- package/vue3/src/components/image-cropper/src/image-cropper.vue.d.ts +22 -0
- package/vue3/src/components/loading/index.d.ts +6 -6
- package/vue3/src/components/loading/src/loading.vue.d.ts +6 -6
- package/vue3/src/components/loading/src/props-define.d.ts +2 -2
- package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +75 -45
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +37 -21
- package/vue3/src/components/message-box/types.d.ts +27 -0
- package/vue3/src/components/pagination/pagination.vue.d.ts +1 -1
- package/vue3/src/components/popconfirm/index.d.ts +331 -2
- package/vue3/src/components/popconfirm/{popconfirm.vue.d.ts → src/popconfirm.vue.d.ts} +68 -46
- package/{vue2/src/components/popconfirm → vue3/src/components/popconfirm/src}/props-define.d.ts +13 -15
- package/vue3/src/components/popover/index.d.ts +50 -30
- package/vue3/src/components/popover/src/popover.vue.d.ts +18 -11
- package/vue3/src/components/popover/src/props-define.d.ts +12 -4
- package/vue3/src/components/popup/index.d.ts +696 -4
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/popup-props.d.ts +68 -24
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/use-popup-append.d.ts +1 -1
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/use-popup-back.d.ts +1 -1
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/use-popup-config.d.ts +1 -1
- package/vue3/src/components/popup/{hooks → src/hooks}/use-popup-draggable.d.ts +1 -1
- package/vue3/src/components/popup/src/hooks/use-popup-effect.d.ts +7 -0
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/use-popup-height.d.ts +6 -3
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/use-popup-position.d.ts +2 -2
- package/vue3/src/components/popup/src/hooks/use-popup-scroll.d.ts +149 -0
- package/vue3/src/components/popup/{hooks → src/hooks}/use-popup-visible.d.ts +1 -1
- package/{vue2/src/components/popup → vue3/src/components/popup/src}/hooks/use-popup-width.d.ts +3 -2
- package/vue3/src/components/popup/src/popup.vue.d.ts +402 -0
- package/vue3/src/components/resize-box/resize-box.vue.d.ts +2 -2
- package/vue3/src/components/scrollbar/index.d.ts +18 -2
- package/vue3/src/components/scrollbar/src/props-define.d.ts +13 -0
- package/vue3/src/components/scrollbar/src/scrollbar-track.vue.d.ts +2 -2
- package/vue3/src/components/scrollbar/src/scrollbar.vue.d.ts +7 -1
- package/vue3/src/components/slider/index.d.ts +1 -1
- package/vue3/src/components/slider/src/slider.vue.d.ts +1 -1
- package/vue3/src/components/swiper/hooks/swiper-props.d.ts +1 -1
- package/vue3/src/components/swiper/hooks/use-swiper-options.d.ts +393 -1
- package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +393 -1
- package/vue3/src/components/swiper/swiper.vue.d.ts +2 -2
- package/vue3/src/components/table/index.d.ts +8 -8
- package/vue3/src/components/table/src/components/table-fixed-shadow.vue.d.ts +2 -2
- package/vue3/src/components/table/src/hooks/props-define.d.ts +1 -1
- package/vue3/src/components/table/src/hooks/use-table/use-column-computed.d.ts +2 -2
- package/vue3/src/components/table/src/hooks/use-table/use-column-list.d.ts +5 -5
- package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +9 -9
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +2 -2
- package/vue3/src/components/table/src/table-column.vue.d.ts +2 -2
- package/vue3/src/components/table/src/table.vue.d.ts +1 -1
- package/vue3/src/components/tabs/index.d.ts +145 -0
- package/vue3/src/components/tabs/src/props-define.d.ts +86 -0
- package/vue3/src/components/tabs/src/tab-nav.vue.d.ts +2 -0
- package/vue3/src/components/tabs/src/tab-pane.vue.d.ts +35 -0
- package/vue3/src/components/tabs/src/tabs.vue.d.ts +48 -0
- package/vue3/src/components/tabs/src/types.d.ts +28 -0
- package/vue3/src/components/tag/index.d.ts +28 -28
- package/vue3/src/components/tag/src/props-define.d.ts +6 -6
- package/vue3/src/components/tag/src/tag.vue.d.ts +10 -10
- package/vue3/src/components/tooltip/index.d.ts +16 -16
- package/vue3/src/components/tooltip/src/props-define.d.ts +2 -2
- package/vue3/src/components/tooltip/src/tooltip.vue.d.ts +9 -82
- package/vue3/src/components/tooltip/src/use-tooltip.d.ts +2 -2
- package/vue3/src/components/zoom-container/hooks/use-zoom-drag.d.ts +1 -0
- package/vue3/src/config/index.d.ts +4 -0
- package/vue3/src/hooks/animation/types/common.d.ts +1 -1
- package/vue3/src/hooks/animation/types/index.d.ts +5 -0
- package/vue3/src/hooks/animation/use-gif-handler/index.d.ts +26 -0
- package/vue3/src/hooks/animation/use-special-effect/index.d.ts +9 -4
- package/vue3/src/hooks/business/use-skin-color/index.d.ts +1 -0
- package/vue3/src/hooks/business/use-skin-color/types.d.ts +4 -0
- package/vue3/src/hooks/business/use-skin-color/utils.d.ts +5 -0
- package/vue3/src/hooks/components/use-confirm-cancel/index.d.ts +93 -19
- package/vue3/src/hooks/exports.d.ts +1 -0
- package/vue3/src/hooks/interactive/use-scroll/index.d.ts +8 -0
- package/vue3/src/hooks/pagination/use-scroll-pagintaion/index.d.ts +8 -0
- package/vue3/src/hooks/vue/use-render-slots/index.d.ts +6 -0
- package/vue3/src/hooks/vue/use-vue/index.d.ts +0 -1
- package/vue3/src/lang/internal/en.json.d.ts +20 -1
- package/vue3/src/lang/internal/index.d.ts +19 -0
- package/vue3/src/lang/internal/ja.json.d.ts +20 -1
- package/vue3/src/lang/internal/ko.json.d.ts +20 -1
- package/vue3/src/lang/internal/ru.json.d.ts +20 -1
- package/vue3/src/lang/internal/zh-CN.json.d.ts +20 -1
- package/vue3/src/lang/internal/zh-TW.json.d.ts +20 -1
- package/vue3/src/plugins/cropperjs/index.d.ts +14 -0
- package/vue3/src/utils/string.d.ts +10 -0
- package/vue3/src/vue-utils/render-slot.d.ts +10 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-input.d.ts +0 -16
- package/vue2/src/components/form/date-picker/src/utils/date-utils.d.ts +0 -34
- package/vue2/src/components/form/radio/src/use-radio-group.d.ts +0 -43
- package/vue2/src/components/form/radio/src/use-radio.d.ts +0 -53
- package/vue2/src/components/popper/hooks.d.ts +0 -7
- package/vue2/src/components/popper/index.d.ts +0 -4
- package/vue2/src/components/popper/popper-content.vue.d.ts +0 -19
- package/vue2/src/components/popper/popper-reference.vue.d.ts +0 -17
- package/vue2/src/components/popper/popper.vue.d.ts +0 -58
- package/vue2/src/components/popper/props-define.d.ts +0 -41
- package/vue2/src/components/popup/hooks/use-popup-scroll.d.ts +0 -9
- package/vue2/src/components/popup/popup.vue.d.ts +0 -225
- package/vue2/src/components/slot/index.d.ts +0 -6
- package/vue3/src/components/form/date-picker/src/hooks/use-date-input.d.ts +0 -16
- package/vue3/src/components/form/date-picker/src/utils/date-utils.d.ts +0 -34
- package/vue3/src/components/form/radio/src/use-radio-group.d.ts +0 -43
- package/vue3/src/components/form/radio/src/use-radio.d.ts +0 -53
- package/vue3/src/components/popper/hooks.d.ts +0 -7
- package/vue3/src/components/popper/index.d.ts +0 -4
- package/vue3/src/components/popper/popper-content.vue.d.ts +0 -19
- package/vue3/src/components/popper/popper-reference.vue.d.ts +0 -17
- package/vue3/src/components/popper/popper.vue.d.ts +0 -58
- package/vue3/src/components/popper/props-define.d.ts +0 -41
- package/vue3/src/components/popup/hooks/use-popup-scroll.d.ts +0 -9
- package/vue3/src/components/popup/popup.vue.d.ts +0 -225
- package/vue3/src/components/slot/index.d.ts +0 -6
- /package/vue2/src/components/{form/date-picker/src/components/picker-reference/picker-reference.vue.d.ts → business/live-status-tag/src/playing-icon.vue.d.ts} +0 -0
- /package/vue2/src/components/dropdown/{dropdown-item.vue.d.ts → src/dropdown-item.vue.d.ts} +0 -0
- /package/vue2/src/components/dropdown/{dropdown-menu.vue.d.ts → src/dropdown-menu.vue.d.ts} +0 -0
- /package/vue2/src/components/popup/{types.d.ts → src/types.d.ts} +0 -0
- /package/{vue3/src/components/form/date-picker/src/components/picker-reference/picker-reference.vue.d.ts → vue2/src/components/tabs/src/tab-nav.vue.d.ts} +0 -0
- /package/vue3/src/components/dropdown/{dropdown-item.vue.d.ts → src/dropdown-item.vue.d.ts} +0 -0
- /package/vue3/src/components/dropdown/{dropdown-menu.vue.d.ts → src/dropdown-menu.vue.d.ts} +0 -0
- /package/vue3/src/components/popup/{types.d.ts → src/types.d.ts} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InjectionKey, Ref, VNode } from 'vue';
|
|
2
|
+
import { TabPaneProps, TabPaneSlots, TabsNameType, TabsProps } from './props-define';
|
|
3
|
+
export interface TabsInjectData {
|
|
4
|
+
tabsProps: TabsProps;
|
|
5
|
+
/** 选项卡列表 */
|
|
6
|
+
tabPanes: Ref<TabPaneInstance[]>;
|
|
7
|
+
/** 当前选项卡 */
|
|
8
|
+
currentTab: Ref<TabsNameType | undefined>;
|
|
9
|
+
/** 设置当前选项卡 */
|
|
10
|
+
setCurrentTab: (name: TabsNameType, emitEvent?: boolean) => void;
|
|
11
|
+
/** 添加选项卡 */
|
|
12
|
+
addTabPane: (pane: TabPaneInstance) => void;
|
|
13
|
+
/** 移除选项卡 */
|
|
14
|
+
removeTabPane: (pane: TabPaneInstance) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const TABS_INJECT_KEY: InjectionKey<TabsInjectData>;
|
|
17
|
+
export interface TabPaneInstance {
|
|
18
|
+
paneId: string;
|
|
19
|
+
paneProps: TabPaneProps;
|
|
20
|
+
getPaneName: () => TabsNameType;
|
|
21
|
+
getIsActive: () => boolean;
|
|
22
|
+
/** 是否存在插槽 */
|
|
23
|
+
hasSlot: (name: keyof TabPaneSlots) => boolean;
|
|
24
|
+
/** 获取选项卡标题插槽渲染 */
|
|
25
|
+
getTitleRenderSlot: () => VNode[] | undefined;
|
|
26
|
+
/** 获取选项卡额外内容插槽渲染 */
|
|
27
|
+
getExtraRenderSlot: () => VNode[] | undefined;
|
|
28
|
+
}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
export declare const PwcTag: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
3
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
2
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
3
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
4
4
|
};
|
|
5
5
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
6
6
|
default: "default" | "small" | "mini";
|
|
7
7
|
};
|
|
8
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
9
|
-
default: "fill" | "outline" | "plain";
|
|
8
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
9
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
10
10
|
};
|
|
11
11
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
13
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
12
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
13
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
14
14
|
};
|
|
15
15
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
16
16
|
default: "default" | "small" | "mini";
|
|
17
17
|
};
|
|
18
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
19
|
-
default: "fill" | "outline" | "plain";
|
|
18
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
19
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
20
20
|
};
|
|
21
21
|
}>>, {}, {
|
|
22
|
-
type: "success" | "warning" | "info" | "error" | "primary";
|
|
23
|
-
effect: "fill" | "outline" | "plain";
|
|
22
|
+
type: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
24
23
|
size: "default" | "small" | "mini";
|
|
24
|
+
effect: "fill" | "outline" | "transparent" | "plain";
|
|
25
25
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
27
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
26
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
27
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
28
28
|
};
|
|
29
29
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
30
30
|
default: "default" | "small" | "mini";
|
|
31
31
|
};
|
|
32
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
33
|
-
default: "fill" | "outline" | "plain";
|
|
32
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
33
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
34
34
|
};
|
|
35
35
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
37
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
36
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
37
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
38
38
|
};
|
|
39
39
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
40
40
|
default: "default" | "small" | "mini";
|
|
41
41
|
};
|
|
42
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
43
|
-
default: "fill" | "outline" | "plain";
|
|
42
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
43
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
44
44
|
};
|
|
45
45
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
46
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
47
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
46
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
47
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
48
48
|
};
|
|
49
49
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
50
50
|
default: "default" | "small" | "mini";
|
|
51
51
|
};
|
|
52
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
53
|
-
default: "fill" | "outline" | "plain";
|
|
52
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
53
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
54
54
|
};
|
|
55
55
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
56
|
-
type: "success" | "warning" | "info" | "error" | "primary";
|
|
57
|
-
effect: "fill" | "outline" | "plain";
|
|
56
|
+
type: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
58
57
|
size: "default" | "small" | "mini";
|
|
58
|
+
effect: "fill" | "outline" | "transparent" | "plain";
|
|
59
59
|
}> & {
|
|
60
60
|
props: {
|
|
61
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
62
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
61
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
62
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
63
63
|
};
|
|
64
64
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
65
65
|
default: "default" | "small" | "mini";
|
|
66
66
|
};
|
|
67
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
68
|
-
default: "fill" | "outline" | "plain";
|
|
67
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
68
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
} & (new () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** 标签尺寸 */
|
|
2
2
|
export declare const tagSizes: readonly ["default", "small", "mini"];
|
|
3
3
|
export type TagSize = (typeof tagSizes)[number];
|
|
4
|
-
export declare const tagTypes: readonly ["primary", "success", "warning", "error", "info"];
|
|
4
|
+
export declare const tagTypes: readonly ["primary", "tips", "success", "warning", "error", "info"];
|
|
5
5
|
export type TagType = (typeof tagTypes)[number];
|
|
6
|
-
export declare const tagEffects: readonly ["fill", "plain", "outline"];
|
|
6
|
+
export declare const tagEffects: readonly ["fill", "plain", "transparent", "outline"];
|
|
7
7
|
export type TagEffect = (typeof tagEffects)[number];
|
|
8
8
|
export declare const tagProps: () => {
|
|
9
9
|
/**
|
|
@@ -11,8 +11,8 @@ export declare const tagProps: () => {
|
|
|
11
11
|
* @propType TagType
|
|
12
12
|
* @default 'primary'
|
|
13
13
|
*/
|
|
14
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
15
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
14
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
15
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* 标签尺寸
|
|
@@ -27,8 +27,8 @@ export declare const tagProps: () => {
|
|
|
27
27
|
* @propType TagEffect
|
|
28
28
|
* @default 'plain'
|
|
29
29
|
*/
|
|
30
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
31
|
-
default: "fill" | "outline" | "plain";
|
|
30
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
31
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export interface TagSlots {
|
|
@@ -10,29 +10,29 @@ declare function __VLS_template(): {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
14
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
13
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
14
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
15
15
|
};
|
|
16
16
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
17
17
|
default: "default" | "small" | "mini";
|
|
18
18
|
};
|
|
19
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
20
|
-
default: "fill" | "outline" | "plain";
|
|
19
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
20
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
21
21
|
};
|
|
22
22
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
-
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary"> & {
|
|
24
|
-
default: "success" | "warning" | "info" | "error" | "primary";
|
|
23
|
+
type: import('vue-types').VueTypeDef<"success" | "warning" | "info" | "error" | "primary" | "tips"> & {
|
|
24
|
+
default: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
25
25
|
};
|
|
26
26
|
size: import('vue-types').VueTypeDef<"default" | "small" | "mini"> & {
|
|
27
27
|
default: "default" | "small" | "mini";
|
|
28
28
|
};
|
|
29
|
-
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "plain"> & {
|
|
30
|
-
default: "fill" | "outline" | "plain";
|
|
29
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline" | "transparent" | "plain"> & {
|
|
30
|
+
default: "fill" | "outline" | "transparent" | "plain";
|
|
31
31
|
};
|
|
32
32
|
}>>, {
|
|
33
|
-
type: "success" | "warning" | "info" | "error" | "primary";
|
|
34
|
-
effect: "fill" | "outline" | "plain";
|
|
33
|
+
type: "success" | "warning" | "info" | "error" | "primary" | "tips";
|
|
35
34
|
size: "default" | "small" | "mini";
|
|
35
|
+
effect: "fill" | "outline" | "transparent" | "plain";
|
|
36
36
|
}>;
|
|
37
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
38
|
export default _default;
|
|
@@ -2,8 +2,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
2
2
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
3
|
default: string;
|
|
4
4
|
};
|
|
5
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
6
|
-
default: "left" | "right" | "
|
|
5
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
6
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
7
7
|
};
|
|
8
8
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
9
9
|
default: "light" | "dark" | "auto";
|
|
@@ -21,8 +21,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
21
21
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
25
|
-
default: "left" | "right" | "
|
|
24
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
25
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
26
26
|
};
|
|
27
27
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
28
28
|
default: "light" | "dark" | "auto";
|
|
@@ -37,18 +37,18 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
}>>, {}, {
|
|
40
|
+
disabled: boolean;
|
|
40
41
|
effect: "light" | "dark" | "auto";
|
|
41
42
|
content: string;
|
|
42
|
-
|
|
43
|
-
placement: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
43
|
+
placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
44
44
|
tooltipClass: string;
|
|
45
45
|
onlyTextEllipsis: boolean;
|
|
46
46
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
47
47
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
51
|
-
default: "left" | "right" | "
|
|
50
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
51
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
52
52
|
};
|
|
53
53
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
54
54
|
default: "light" | "dark" | "auto";
|
|
@@ -66,8 +66,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
66
66
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
70
|
-
default: "left" | "right" | "
|
|
69
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
70
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
71
71
|
};
|
|
72
72
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
73
73
|
default: "light" | "dark" | "auto";
|
|
@@ -85,8 +85,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
85
85
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
86
86
|
default: string;
|
|
87
87
|
};
|
|
88
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
89
|
-
default: "left" | "right" | "
|
|
88
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
89
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
90
90
|
};
|
|
91
91
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
92
92
|
default: "light" | "dark" | "auto";
|
|
@@ -101,10 +101,10 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
103
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
104
|
+
disabled: boolean;
|
|
104
105
|
effect: "light" | "dark" | "auto";
|
|
105
106
|
content: string;
|
|
106
|
-
|
|
107
|
-
placement: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
107
|
+
placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
108
108
|
tooltipClass: string;
|
|
109
109
|
onlyTextEllipsis: boolean;
|
|
110
110
|
}> & {
|
|
@@ -112,8 +112,8 @@ export declare const PwcTooltip: import('../../vue-utils/install-utils').SFCInst
|
|
|
112
112
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
113
113
|
default: string;
|
|
114
114
|
};
|
|
115
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
116
|
-
default: "left" | "right" | "
|
|
115
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
116
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
117
117
|
};
|
|
118
118
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
119
119
|
default: "light" | "dark" | "auto";
|
|
@@ -13,8 +13,8 @@ export declare const tooltipProps: () => {
|
|
|
13
13
|
* @propType PopperPlacement
|
|
14
14
|
* @default bottom
|
|
15
15
|
*/
|
|
16
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
17
|
-
default: "left" | "right" | "
|
|
16
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
17
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* 弹层主题
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BeforeShowPopper } from '../../../hooks/components/use-popper';
|
|
2
1
|
declare function __VLS_template(): {
|
|
3
2
|
attrs: Partial<{}>;
|
|
4
3
|
slots: {
|
|
@@ -6,90 +5,18 @@ declare function __VLS_template(): {
|
|
|
6
5
|
content?(_: {}): any;
|
|
7
6
|
};
|
|
8
7
|
refs: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
default: "click" | "focus" | "hover" | "long-press" | "custom";
|
|
12
|
-
};
|
|
13
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
14
|
-
default: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
15
|
-
};
|
|
16
|
-
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
offset: import('vue-types').VueTypeDef<import('../../../hooks/components/use-popper').PopperOffset>;
|
|
20
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
beforeShowPopper: import('vue-types').VueTypeValidableDef<BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<BeforeShowPopper>>;
|
|
24
|
-
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
-
trigger: import('vue-types').VueTypeDef<"click" | "focus" | "hover" | "long-press" | "custom"> & {
|
|
26
|
-
default: "click" | "focus" | "hover" | "long-press" | "custom";
|
|
27
|
-
};
|
|
28
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
29
|
-
default: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
30
|
-
};
|
|
31
|
-
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
offset: import('vue-types').VueTypeDef<import('../../../hooks/components/use-popper').PopperOffset>;
|
|
35
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
beforeShowPopper: import('vue-types').VueTypeValidableDef<BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<BeforeShowPopper>>;
|
|
39
|
-
}>>, {}, {
|
|
40
|
-
disabled: boolean;
|
|
41
|
-
trigger: "click" | "focus" | "hover" | "long-press" | "custom";
|
|
42
|
-
arrow: boolean;
|
|
43
|
-
placement: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
44
|
-
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
-
trigger: import('vue-types').VueTypeDef<"click" | "focus" | "hover" | "long-press" | "custom"> & {
|
|
46
|
-
default: "click" | "focus" | "hover" | "long-press" | "custom";
|
|
47
|
-
};
|
|
48
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
49
|
-
default: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
50
|
-
};
|
|
51
|
-
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
offset: import('vue-types').VueTypeDef<import('../../../hooks/components/use-popper').PopperOffset>;
|
|
55
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
beforeShowPopper: import('vue-types').VueTypeValidableDef<BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<BeforeShowPopper>>;
|
|
59
|
-
}>>> & import('vue').ShallowUnwrapRef<{
|
|
60
|
-
referenceRef: import('vue').Ref<any>;
|
|
61
|
-
popperRef: import('vue').Ref<any>;
|
|
62
|
-
popperVisible: import('vue').Ref<boolean>;
|
|
63
|
-
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
64
|
-
trigger: import('vue-types').VueTypeDef<"click" | "focus" | "hover" | "long-press" | "custom"> & {
|
|
65
|
-
default: "click" | "focus" | "hover" | "long-press" | "custom";
|
|
66
|
-
};
|
|
67
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
68
|
-
default: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
69
|
-
};
|
|
70
|
-
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
offset: import('vue-types').VueTypeDef<import('../../../hooks/components/use-popper').PopperOffset>;
|
|
74
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
75
|
-
default: boolean;
|
|
76
|
-
};
|
|
77
|
-
beforeShowPopper: import('vue-types').VueTypeValidableDef<BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<BeforeShowPopper>>;
|
|
78
|
-
}>> & {
|
|
79
|
-
$scopedSlots: {
|
|
80
|
-
default?(_: {}): any;
|
|
81
|
-
};
|
|
82
|
-
}) | null;
|
|
8
|
+
referenceRef: HTMLSpanElement;
|
|
9
|
+
popperRef: HTMLDivElement;
|
|
83
10
|
};
|
|
84
|
-
rootEl:
|
|
11
|
+
rootEl: HTMLSpanElement;
|
|
85
12
|
};
|
|
86
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
87
14
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
88
15
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
89
16
|
default: string;
|
|
90
17
|
};
|
|
91
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
92
|
-
default: "left" | "right" | "
|
|
18
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
19
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
93
20
|
};
|
|
94
21
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
95
22
|
default: "light" | "dark" | "auto";
|
|
@@ -107,8 +34,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
107
34
|
content: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
108
35
|
default: string;
|
|
109
36
|
};
|
|
110
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
111
|
-
default: "left" | "right" | "
|
|
37
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
38
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
112
39
|
};
|
|
113
40
|
effect: import('vue-types').VueTypeDef<"light" | "dark" | "auto"> & {
|
|
114
41
|
default: "light" | "dark" | "auto";
|
|
@@ -123,10 +50,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
123
50
|
default: boolean;
|
|
124
51
|
};
|
|
125
52
|
}>>, {
|
|
53
|
+
disabled: boolean;
|
|
126
54
|
effect: "light" | "dark" | "auto";
|
|
127
55
|
content: string;
|
|
128
|
-
|
|
129
|
-
placement: "left" | "right" | "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
56
|
+
placement: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
130
57
|
tooltipClass: string;
|
|
131
58
|
onlyTextEllipsis: boolean;
|
|
132
59
|
}>;
|
|
@@ -13,8 +13,8 @@ export declare const tooltipProps: () => {
|
|
|
13
13
|
* @propType PopperPlacement
|
|
14
14
|
* @default bottom
|
|
15
15
|
*/
|
|
16
|
-
placement: import('vue-types').VueTypeDef<"left" | "right" | "
|
|
17
|
-
default: "left" | "right" | "
|
|
16
|
+
placement: import('vue-types').VueTypeDef<"left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
17
|
+
default: "left" | "right" | "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* 弹层主题
|
|
@@ -14,7 +14,7 @@ export interface AnimationImplement {
|
|
|
14
14
|
/**
|
|
15
15
|
* 播放一次动画
|
|
16
16
|
*/
|
|
17
|
-
playSingleAnimation: () => Promise<void>;
|
|
17
|
+
playSingleAnimation: (options?: PlayAnimationOptions) => Promise<void>;
|
|
18
18
|
}
|
|
19
19
|
export declare const useCommonAnimation: (hookOptions: AnimationControllerOptions, implement: AnimationImplement) => {
|
|
20
20
|
wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
|
|
@@ -26,6 +26,11 @@ export interface PlayAnimationOptions extends AnimationCallback {
|
|
|
26
26
|
* 循环间隔时间
|
|
27
27
|
*/
|
|
28
28
|
loopTimeInterval?: number;
|
|
29
|
+
/**
|
|
30
|
+
* 是否强制刷新图片资源(添加时间戳参数避免缓存)
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
forceRefresh?: boolean;
|
|
29
34
|
}
|
|
30
35
|
export interface AnimationControllerOptions extends AnimationCallback {
|
|
31
36
|
/**
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 判断是否为 GIF 图片 URL
|
|
3
|
+
* 使用正则表达式匹配 .gif 扩展名(可包含查询参数)
|
|
4
|
+
*/
|
|
5
|
+
export declare function isGifUrl(url: string): boolean;
|
|
6
|
+
export interface UseGifHandlerOptions {
|
|
7
|
+
/** 最大缓存数量,默认20 */
|
|
8
|
+
maxCacheSize?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface GifHandler {
|
|
11
|
+
/** 判断URL是否为GIF图片 */
|
|
12
|
+
isGifUrl: (url: string) => boolean;
|
|
13
|
+
/** 获取GIF动画时长(毫秒) */
|
|
14
|
+
getGifDuration: (url: string, defaultDuration?: number) => Promise<number>;
|
|
15
|
+
/** 获取GIF图片的object URL(用于播放) */
|
|
16
|
+
getGifObjectUrl: (url: string) => Promise<string | null>;
|
|
17
|
+
/** 回收GIF object URL */
|
|
18
|
+
revokeGifUrl: (url: string) => void;
|
|
19
|
+
/** 清理所有资源 */
|
|
20
|
+
cleanupGifCache: () => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* GIF图片处理hook
|
|
24
|
+
* 负责GIF图片的检测、时长解析、blob缓存和object URL管理
|
|
25
|
+
*/
|
|
26
|
+
export declare const useGifHandler: (options?: UseGifHandlerOptions) => GifHandler;
|
|
@@ -18,13 +18,17 @@ export interface UseSpecialEffectOptions {
|
|
|
18
18
|
disabled?: MaybeResponsive<boolean>;
|
|
19
19
|
}
|
|
20
20
|
export interface AnimationQueueItem {
|
|
21
|
-
url: string;
|
|
22
|
-
}
|
|
23
|
-
export interface PushAnimationQueueOptions {
|
|
24
21
|
/**
|
|
25
22
|
* 动画文件地址
|
|
26
23
|
*/
|
|
27
24
|
url: string;
|
|
25
|
+
/**
|
|
26
|
+
* 是否强制刷新图片资源(添加时间戳参数避免缓存)
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
forceRefresh?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface PushAnimationQueueOptions extends AnimationQueueItem {
|
|
28
32
|
/**
|
|
29
33
|
* 是否从头部插入
|
|
30
34
|
* @default false
|
|
@@ -42,12 +46,13 @@ export interface PushAnimationQueueOptions {
|
|
|
42
46
|
filterRepeat?: boolean;
|
|
43
47
|
}
|
|
44
48
|
/**
|
|
45
|
-
*
|
|
49
|
+
* 特效播放器
|
|
46
50
|
*/
|
|
47
51
|
export declare const useSpecialEffect: (options?: UseSpecialEffectOptions) => {
|
|
48
52
|
wrapRef: Ref<HTMLDivElement | undefined>;
|
|
49
53
|
animationQueue: Ref<{
|
|
50
54
|
url: string;
|
|
55
|
+
forceRefresh?: boolean | undefined;
|
|
51
56
|
}[]>;
|
|
52
57
|
currentAnimationItem: Ref<AnimationQueueItem | undefined>;
|
|
53
58
|
pushAnimationQueue: (options: PushAnimationQueueOptions) => void;
|
|
@@ -14,6 +14,7 @@ export declare const useSkinColorConfig: (_configProviderData?: ConfigProviderIn
|
|
|
14
14
|
skinColorConfig: import('vue').ComputedRef<{
|
|
15
15
|
skinColorMode: SkinColorMode;
|
|
16
16
|
themeColor: string;
|
|
17
|
+
primaryColor: string;
|
|
17
18
|
specialColor: string;
|
|
18
19
|
}>;
|
|
19
20
|
currentSkinColorMode: import('vue').ComputedRef<"light" | "dark">;
|
|
@@ -5,3 +5,8 @@ import { SkinColorMode } from './types';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare function genSkinColorClass<T extends string>(suffix: T): string;
|
|
7
7
|
export declare function setElementSkin(elem: HTMLElement, skin: SkinColorMode): void;
|
|
8
|
+
export declare function darkColor(rgb: [r: number, g: number, b: number], alpha: number): string;
|
|
9
|
+
export declare function setPrimaryColor(options: {
|
|
10
|
+
elem: HTMLElement;
|
|
11
|
+
primaryColor: string;
|
|
12
|
+
}): void;
|