@polyv/vue-components 1.3.0 → 1.5.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 +9 -4
- package/styles/function.scss +60 -0
- package/styles/mixins.scss +1 -0
- package/styles/root/basic.scss +85 -0
- package/styles/root/bg.scss +25 -0
- package/styles/root/border.scss +36 -0
- package/styles/root/gray.scss +38 -0
- package/styles/root/neutral.scss +36 -0
- package/styles/root/other.scss +3 -0
- package/styles/root/radius.scss +14 -0
- package/styles/root/root.scss +9 -0
- package/styles/root/shadow.scss +8 -0
- package/styles/root/text.scss +34 -0
- package/styles/variables.scss +192 -0
- package/vue2/index.es.js +19269 -7487
- package/vue2/src/components/animation/bubble-animation/types/index.d.ts +4 -0
- package/vue2/src/components/basic-countdown/basic-countdown.vue.d.ts +7 -0
- package/vue2/src/components/basic-countdown/use-basic-countdown.d.ts +7 -0
- package/vue2/src/components/business/external-links/external-links.vue.d.ts +33 -0
- package/vue2/src/components/business/external-links/index.d.ts +2 -0
- package/vue2/src/components/business/external-links/use-external-links.d.ts +310 -0
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +153 -0
- package/vue2/src/components/button/index.d.ts +203 -3
- package/vue2/src/components/button/src/button.vue.d.ts +88 -0
- package/vue2/src/components/button/src/type.d.ts +8 -0
- package/vue2/src/components/button/src/use-button.d.ts +91 -0
- package/vue2/src/components/category-select/category-select-item.vue.d.ts +9 -1
- package/vue2/src/components/category-select/use-category-select.d.ts +6 -0
- package/vue2/src/components/dropdown/dropdown.vue.d.ts +5 -5
- package/vue2/src/components/dropdown/use-dropdown.d.ts +4 -4
- package/vue2/src/components/empty/index.d.ts +55 -2
- package/vue2/src/components/empty/src/empty.vue.d.ts +35 -0
- package/vue2/src/components/empty/src/props-define.d.ts +30 -0
- package/vue2/src/components/example/example.vue.d.ts +37 -0
- package/vue2/src/components/example/index.d.ts +37 -0
- package/vue2/src/components/example/props-define.d.ts +40 -0
- package/vue2/src/components/exports.d.ts +12 -0
- package/vue2/src/components/form/_common/form-base.vue.d.ts +37 -0
- package/vue2/src/components/form/area-picker/area-picker.vue.d.ts +10 -9
- package/vue2/src/components/form/area-picker/index.d.ts +1 -0
- package/vue2/src/components/form/area-picker/types.d.ts +1 -0
- package/vue2/src/components/form/area-picker/use-area-picker.d.ts +5 -9
- package/vue2/src/components/form/checkbox/index.d.ts +269 -4
- package/vue2/src/components/form/checkbox/src/checkbox-group.vue.d.ts +48 -0
- package/vue2/src/components/form/checkbox/{checkbox.vue.d.ts → src/checkbox.vue.d.ts} +2 -0
- package/vue2/src/components/form/checkbox/src/type.d.ts +1 -0
- package/vue2/src/components/form/checkbox/src/use-checkbox-group.d.ts +46 -0
- package/{vue3/src/components/form/checkbox → vue2/src/components/form/checkbox/src}/use-checkbox.d.ts +10 -17
- package/vue2/src/components/form/date-picker/index.d.ts +86 -0
- package/vue2/src/components/form/date-picker/src/components/date-presets/date-presets.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/date-select/date-select-header.vue.d.ts +24 -0
- package/vue2/src/components/form/date-picker/src/components/date-select/date-select.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/picker-popper/pick-popper.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/picker-reference/date-range-reference.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/picker-reference/date-reference.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/picker-reference/picker-reference.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/components/time-select/time-select-column.vue.d.ts +17 -0
- package/vue2/src/components/form/date-picker/src/components/time-select/time-select.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/src/date-picker.vue.d.ts +85 -0
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/common.d.ts +54 -0
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/use-date-input.d.ts +22 -0
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/use-date-range-type.d.ts +19 -0
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/use-date-type.d.ts +23 -0
- package/vue2/src/components/form/date-picker/src/hooks/picker-types/use-date-value-item.d.ts +24 -0
- package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +84 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-input.d.ts +16 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-limit.d.ts +10 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-date-picker.d.ts +40 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-picker-value.d.ts +12 -0
- package/vue2/src/components/form/date-picker/src/hooks/use-year-month.d.ts +10 -0
- package/vue2/src/components/form/date-picker/src/types/index.d.ts +19 -0
- package/vue2/src/components/form/date-picker/src/utils/date-utils.d.ts +34 -0
- package/vue2/src/components/form/form-group/index.d.ts +10 -0
- package/{vue3/src/components/form/radio/radio-group.vue.d.ts → vue2/src/components/form/form-group/src/form-group.vue.d.ts} +3 -8
- package/vue2/src/components/form/form-group/src/props-define.d.ts +14 -0
- package/vue2/src/components/form/form-item/index.d.ts +197 -2
- package/{vue3/src/components/form/form-item → vue2/src/components/form/form-item/src}/form-item.vue.d.ts +36 -1
- package/vue2/src/components/form/form-item/src/hooks/use-item-label.d.ts +10 -0
- package/{vue3/src/components/form/form-item → vue2/src/components/form/form-item/src}/use-form-item.d.ts +39 -15
- package/vue2/src/components/form/form-submit-button/index.d.ts +81 -2
- package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +81 -0
- package/vue2/src/components/form/form-submit-button/src/props-define.d.ts +43 -0
- package/vue2/src/components/form/form-submit-button/src/use-form-submit-button.d.ts +9 -0
- package/vue2/src/components/form/form-wrap/index.d.ts +126 -2
- package/vue2/src/components/form/form-wrap/{form-wrap.vue.d.ts → src/form-wrap.vue.d.ts} +20 -16
- package/vue2/src/components/form/form-wrap/{use-form-wrap.d.ts → src/use-form-wrap.d.ts} +28 -20
- package/vue2/src/components/form/hooks/use-form-clearable.d.ts +25 -0
- package/vue2/src/components/form/hooks/use-form-entrance.d.ts +69 -0
- package/vue2/src/components/form/image-upload/index.d.ts +102 -0
- package/vue2/src/components/form/image-upload/src/hooks/props-define.d.ts +126 -0
- package/vue2/src/components/form/image-upload/src/hooks/types.d.ts +40 -0
- package/vue2/src/components/form/image-upload/src/hooks/use-file-input.d.ts +7 -0
- package/vue2/src/components/form/image-upload/src/hooks/use-image-upload.d.ts +76 -0
- package/vue2/src/components/form/image-upload/src/hooks/use-upload-controller.d.ts +7 -0
- package/vue2/src/components/form/image-upload/src/image-upload.vue.d.ts +96 -0
- package/vue2/src/components/form/image-upload/src/upload-item.vue.d.ts +19 -0
- package/vue2/src/components/form/index.d.ts +7 -0
- package/vue2/src/components/form/input/index.d.ts +307 -2
- package/{vue3/src/components/form/input → vue2/src/components/form/input/src}/input.vue.d.ts +39 -33
- package/vue2/src/components/form/input/{use-input.d.ts → src/props-define.d.ts} +18 -48
- package/vue2/src/components/form/input/src/use-input.d.ts +19 -0
- package/vue2/src/components/form/input-number/index.d.ts +2 -0
- package/vue2/src/components/form/input-number/input-number.vue.d.ts +74 -0
- package/vue2/src/components/form/input-number/props-define.d.ts +55 -0
- package/vue2/src/components/form/input-number/use-input-number.d.ts +14 -0
- package/vue2/src/components/form/radio/index.d.ts +215 -4
- package/vue2/src/components/form/radio/src/radio-group.vue.d.ts +43 -0
- package/{vue3/src/components/form/radio → vue2/src/components/form/radio/src}/radio.vue.d.ts +12 -1
- package/vue2/src/components/form/radio/src/type.d.ts +1 -0
- package/vue2/src/components/form/radio/src/use-radio-group.d.ts +43 -0
- package/vue2/src/components/form/radio/{use-radio.d.ts → src/use-radio.d.ts} +19 -7
- package/vue2/src/components/form/select/index.d.ts +1056 -0
- package/vue2/src/components/form/select/src/props-define.d.ts +215 -0
- package/vue2/src/components/form/select/src/select.vue.d.ts +381 -0
- package/vue2/src/components/form/select/src/type.d.ts +19 -0
- package/vue2/src/components/form/switch/index.d.ts +54 -2
- package/vue2/src/components/{switch/use-switch.d.ts → form/switch/src/props-define.d.ts} +8 -28
- package/vue2/src/components/form/switch/src/switch.vue.d.ts +54 -0
- package/vue2/src/components/form/switch/src/use-switch.d.ts +15 -0
- package/vue2/src/components/form/transfer/hooks/props-define.d.ts +121 -0
- package/vue2/src/components/form/transfer/hooks/types.d.ts +28 -0
- package/vue2/src/components/form/transfer/hooks/use-transfer.d.ts +26 -0
- package/vue2/src/components/form/transfer/index.d.ts +3 -0
- package/vue2/src/components/form/transfer/transfer.vue.d.ts +166 -0
- package/vue2/src/components/form/types/index.d.ts +14 -18
- package/vue2/src/components/form/video-upload/hooks/props-define.d.ts +69 -0
- package/vue2/src/components/form/video-upload/hooks/types.d.ts +19 -0
- package/vue2/src/components/form/video-upload/hooks/use-upload-controller.d.ts +23 -0
- package/vue2/src/components/form/video-upload/hooks/use-video-upload.d.ts +33 -0
- package/vue2/src/components/form/video-upload/index.d.ts +4 -0
- package/vue2/src/components/form/video-upload/video-upload.vue.d.ts +73 -0
- package/{vue3/src/components/icons/icons/export → vue2/src/components/icons/icons/add}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/{arrow-circle-down → add-circle-outline}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/arrow-down-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-left-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-right-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-up-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/{down-load → calendar}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/{arrow-left → caret-down}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/{arrow-down → caret-left}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/{arrow-right → caret-right}/index.d.ts +1 -1
- package/{vue3/src/components/icons/icons/arrow-up → vue2/src/components/icons/icons/caret-up}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/{export → clock}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/close-circle-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/close-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/data-export/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/{arrow-up → delete}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/down/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/{down-file → download}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/drag/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/edit/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/error-circle-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/error-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/image/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/{arrow-circle-left → info-circle-filled}/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/info-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/left/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/minus-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/more/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/question-circle-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/question-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/refresh/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/right/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/setting/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/success-circle-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/success-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/up/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/upload/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/upload-two/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/warning-circle-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/warning-circle-outline/index.d.ts +6 -0
- package/vue2/src/components/icons/index.d.ts +3 -0
- package/vue2/src/components/icons/map.d.ts +40 -21
- package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +1 -1
- package/vue2/src/components/info-card/index.d.ts +2 -0
- package/vue2/src/components/info-card/info-card.vue.d.ts +70 -0
- package/vue2/src/components/info-card/props-define.d.ts +80 -0
- package/vue2/src/components/loading/index.d.ts +45 -6
- package/{vue3/src/components/loading → vue2/src/components/loading/src}/directive.d.ts +3 -3
- package/vue2/src/components/loading/src/loading-circle.vue.d.ts +2 -0
- package/{vue3/src/components/loading → vue2/src/components/loading/src}/loading.vue.d.ts +7 -0
- package/vue2/src/components/loading/{use-loading-component.d.ts → src/props-define.d.ts} +7 -0
- package/{vue3/src/components/loading → vue2/src/components/loading/src}/types.d.ts +4 -1
- package/vue2/src/components/message-box/_component/message-box-element.vue.d.ts +181 -25
- package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +124 -38
- package/vue2/src/components/message-box/types.d.ts +13 -46
- package/vue2/src/components/pagination/components/jumper.vue.d.ts +2 -0
- package/vue2/src/components/pagination/components/next.vue.d.ts +2 -0
- package/vue2/src/components/pagination/components/pager.vue.d.ts +2 -0
- package/vue2/src/components/pagination/components/prev.vue.d.ts +2 -0
- package/vue2/src/components/pagination/components/sizes.vue.d.ts +2 -0
- package/vue2/src/components/pagination/components/total-items.vue.d.ts +2 -0
- package/vue2/src/components/pagination/components/total-pages.vue.d.ts +2 -0
- package/vue2/src/components/pagination/index.d.ts +3 -0
- package/vue2/src/components/pagination/pagination.vue.d.ts +52 -0
- package/vue2/src/components/pagination/props-define.d.ts +52 -0
- package/vue2/src/components/pagination/types.d.ts +19 -0
- package/vue2/src/components/pagination/use-pagination.d.ts +25 -0
- package/vue2/src/components/popconfirm/index.d.ts +2 -0
- package/vue2/src/components/popconfirm/popconfirm.vue.d.ts +246 -0
- package/vue2/src/components/popconfirm/props-define.d.ts +74 -0
- package/vue2/src/components/popover/index.d.ts +191 -0
- package/vue2/src/components/popover/src/popover.vue.d.ts +87 -0
- package/vue2/src/components/popover/src/props-define.d.ts +69 -0
- package/vue2/src/components/popper/popper.vue.d.ts +5 -5
- package/vue2/src/components/popper/props-define.d.ts +4 -2
- package/vue2/src/components/popup/hooks/popup-props.d.ts +3 -3
- package/vue2/src/components/popup/hooks/use-popup-position.d.ts +1 -1
- package/vue2/src/components/popup/popup.vue.d.ts +7 -7
- package/vue2/src/components/progress/index.d.ts +129 -0
- package/vue2/src/components/{form/radio/radio-group.vue.d.ts → progress/src/circle-progress.vue.d.ts} +1 -8
- package/vue2/src/components/progress/src/line-progress.vue.d.ts +17 -0
- package/vue2/src/components/progress/src/progress.vue.d.ts +60 -0
- package/vue2/src/components/progress/src/props-define.d.ts +50 -0
- package/vue2/src/components/progress/src/use-progress.d.ts +24 -0
- package/vue2/src/components/scrollbar/index.d.ts +198 -0
- package/vue2/src/components/scrollbar/src/props-define.d.ts +106 -0
- package/vue2/src/components/scrollbar/src/scrollbar-track.vue.d.ts +81 -0
- package/vue2/src/components/scrollbar/src/scrollbar.vue.d.ts +91 -0
- package/vue2/src/components/scrollbar/src/types.d.ts +4 -0
- package/vue2/src/components/slider/index.d.ts +95 -0
- package/vue2/src/components/slider/src/props-define.d.ts +110 -0
- package/vue2/src/components/slider/src/slider-button.vue.d.ts +16 -0
- package/vue2/src/components/slider/src/slider.vue.d.ts +95 -0
- package/vue2/src/components/slider/src/use-slider-button.d.ts +26 -0
- package/vue2/src/components/slider/src/use-slider.d.ts +40 -0
- package/vue2/src/components/swiper/effects/carousel-effect/use-carousel-effect.d.ts +34 -0
- package/vue2/src/components/swiper/hooks/swiper-props.d.ts +48 -11
- package/vue2/src/components/swiper/hooks/use-swiper-options.d.ts +14 -8
- package/vue2/src/components/swiper/hooks/use-swiper-slide.d.ts +8 -1
- package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +9237 -0
- package/vue2/src/components/swiper/index.d.ts +1 -0
- package/vue2/src/components/swiper/modules/use-autoplay-module.d.ts +12 -0
- package/vue2/src/components/swiper/swiper-slide.vue.d.ts +5 -1
- package/vue2/src/components/swiper/swiper.vue.d.ts +30 -13
- package/vue2/src/components/table/index.d.ts +692 -0
- package/vue2/src/components/table/src/components/render-slot.d.ts +10 -0
- package/vue2/src/components/table/src/components/scroll/horizontal-scrollbar.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/scroll/vertical-scrollbar.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-cell/body-cell-index.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-cell/body-cell-multiple.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-cell/body-cell-single.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-cell/body-cell-tags.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-cell/table-body-cell.vue.d.ts +10 -0
- package/vue2/src/components/table/src/components/table-body-cell/use-table-body-cell-class.d.ts +9 -0
- package/vue2/src/components/table/src/components/table-body-cell/use-table-body-cell-hover.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-cell/use-table-body-cell.d.ts +32 -0
- package/vue2/src/components/table/src/components/table-body-row/table-body-row.vue.d.ts +22 -0
- package/vue2/src/components/table/src/components/table-body-row/use-table-body-row-class.d.ts +7 -0
- package/vue2/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +25 -0
- package/vue2/src/components/table/src/components/table-body.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-colgroup/table-colgroup.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-fixed-shadow.vue.d.ts +10 -0
- package/vue2/src/components/table/src/components/table-footer/table-pagination.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-header/table-header.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-header/use-table-header-structure.d.ts +4 -0
- package/vue2/src/components/table/src/components/table-header-cell/header-cell-multiple.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-header-cell/header-cell-sort.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-header-cell/table-header-cell.vue.d.ts +10 -0
- package/vue2/src/components/table/src/components/table-header-cell/use-table-header-cell-class.d.ts +4 -0
- package/vue2/src/components/table/src/components/table-header-cell/use-table-header-cell.d.ts +21 -0
- package/vue2/src/components/table/src/hooks/props-define.d.ts +246 -0
- package/vue2/src/components/table/src/hooks/table-data/use-row-key.d.ts +8 -0
- package/vue2/src/components/table/src/hooks/table-data/use-table-multiple.d.ts +10 -0
- package/vue2/src/components/table/src/hooks/table-data/use-table-single.d.ts +8 -0
- package/vue2/src/components/table/src/hooks/use-table/use-column-computed.d.ts +55 -0
- package/vue2/src/components/table/src/hooks/use-table/use-column-list.d.ts +101 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-element.d.ts +35 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-pagination.d.ts +12 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +13 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-scroll.d.ts +28 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-status.d.ts +29 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +198 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +57 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-index.d.ts +14 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-slot.d.ts +16 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-sort.d.ts +24 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-sticky.d.ts +17 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-width.d.ts +14 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +20 -0
- package/vue2/src/components/table/src/table-column.vue.d.ts +82 -0
- package/vue2/src/components/table/src/table.vue.d.ts +199 -0
- package/vue2/src/components/table/src/types/index.d.ts +56 -0
- package/vue2/src/components/table/src/utils/index.d.ts +3 -0
- package/vue2/src/components/tag/index.d.ts +78 -0
- package/vue2/src/components/tag/src/props-define.d.ts +47 -0
- package/vue2/src/components/tag/src/tag.vue.d.ts +43 -0
- package/vue2/src/components/tooltip/index.d.ts +138 -3
- package/vue2/src/components/tooltip/{directive.d.ts → src/directive.d.ts} +4 -4
- package/vue2/src/components/tooltip/src/props-define.d.ts +54 -0
- package/vue2/src/components/tooltip/{tooltip-popper.vue.d.ts → src/tooltip-popper.vue.d.ts} +1 -1
- package/{vue3/src/components/tooltip → vue2/src/components/tooltip/src}/tooltip.vue.d.ts +19 -19
- package/{vue3/src/components/tooltip → vue2/src/components/tooltip/src}/use-tooltip.d.ts +10 -4
- package/vue2/src/hooks/business/use-app-user-agent/index.d.ts +14 -0
- package/vue2/src/hooks/business/use-business-type/index.d.ts +38 -0
- package/vue2/src/hooks/business/use-skin-color/index.d.ts +6 -22
- package/vue2/src/hooks/business/use-skin-color/types.d.ts +20 -0
- package/vue2/src/hooks/business/use-skin-color/utils.d.ts +7 -0
- package/vue2/src/hooks/components/use-confirm-cancel/index.d.ts +69 -0
- package/vue2/src/hooks/components/use-popper/_popper-type.d.ts +8 -0
- package/vue2/src/hooks/element/use-event-listener/index.d.ts +15 -4
- package/vue2/src/hooks/element/use-overflow-count/index.d.ts +30 -0
- package/vue2/src/hooks/exports.d.ts +4 -0
- package/vue2/src/hooks/tools/use-event-bus/index.d.ts +9 -0
- package/vue2/src/hooks/tools/use-task-queue/index.d.ts +33 -0
- package/vue2/src/hooks/vue/use-model-value/index.d.ts +8 -1
- package/vue2/src/hooks/vue/use-vue/index.d.ts +1 -2
- package/vue2/src/interface/enum.d.ts +15 -0
- package/vue2/src/interface/index.d.ts +1 -0
- package/vue2/src/lang/common/en.json.d.ts +4 -1
- package/vue2/src/lang/common/ja.json.d.ts +4 -1
- package/vue2/src/lang/common/ko.json.d.ts +4 -1
- package/vue2/src/lang/common/ru.json.d.ts +4 -1
- package/vue2/src/lang/common/zh-CN.json.d.ts +4 -1
- package/vue2/src/lang/common/zh-TW.json.d.ts +4 -1
- package/vue2/src/lang/internal/en.json.d.ts +152 -1
- package/vue2/src/lang/internal/index.d.ts +153 -0
- package/vue2/src/lang/internal/ja.json.d.ts +152 -1
- package/vue2/src/lang/internal/ko.json.d.ts +152 -1
- package/vue2/src/lang/internal/ru.json.d.ts +152 -1
- package/vue2/src/lang/internal/zh-CN.json.d.ts +152 -1
- package/vue2/src/lang/internal/zh-TW.json.d.ts +152 -1
- package/vue2/src/utils/dom.d.ts +5 -0
- package/vue2/src/vue-utils/install-utils.d.ts +34 -0
- package/vue2/src/vue-utils/version-compatible/types.d.ts +1 -1
- package/vue3/index.es.js +19277 -7492
- package/vue3/src/components/animation/bubble-animation/types/index.d.ts +4 -0
- package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +7 -0
- package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +7 -0
- package/vue3/src/components/business/external-links/external-links.vue.d.ts +33 -0
- package/vue3/src/components/business/external-links/index.d.ts +2 -0
- package/vue3/src/components/business/external-links/use-external-links.d.ts +310 -0
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +153 -0
- package/vue3/src/components/button/index.d.ts +203 -3
- package/vue3/src/components/button/src/button.vue.d.ts +88 -0
- package/vue3/src/components/button/src/type.d.ts +8 -0
- package/vue3/src/components/button/src/use-button.d.ts +91 -0
- package/vue3/src/components/category-select/category-select-item.vue.d.ts +9 -1
- package/vue3/src/components/category-select/use-category-select.d.ts +6 -0
- package/vue3/src/components/dropdown/dropdown.vue.d.ts +5 -5
- package/vue3/src/components/dropdown/use-dropdown.d.ts +4 -4
- package/vue3/src/components/empty/index.d.ts +55 -2
- package/vue3/src/components/empty/src/empty.vue.d.ts +35 -0
- package/vue3/src/components/empty/src/props-define.d.ts +30 -0
- package/vue3/src/components/empty/src/svgs/box-icon.vue.d.ts +2 -0
- package/vue3/src/components/empty/src/svgs/video-icon.vue.d.ts +2 -0
- package/vue3/src/components/example/example.vue.d.ts +37 -0
- package/vue3/src/components/example/index.d.ts +37 -0
- package/vue3/src/components/example/props-define.d.ts +40 -0
- package/vue3/src/components/exports.d.ts +12 -0
- package/vue3/src/components/form/_common/form-base.vue.d.ts +37 -0
- package/vue3/src/components/form/area-picker/area-picker.vue.d.ts +10 -9
- package/vue3/src/components/form/area-picker/index.d.ts +1 -0
- package/vue3/src/components/form/area-picker/types.d.ts +1 -0
- package/vue3/src/components/form/area-picker/use-area-picker.d.ts +5 -9
- package/vue3/src/components/form/checkbox/index.d.ts +269 -4
- package/vue3/src/components/form/checkbox/src/checkbox-group.vue.d.ts +48 -0
- package/vue3/src/components/form/checkbox/{checkbox.vue.d.ts → src/checkbox.vue.d.ts} +2 -0
- package/vue3/src/components/form/checkbox/src/type.d.ts +1 -0
- package/vue3/src/components/form/checkbox/src/use-checkbox-group.d.ts +46 -0
- package/{vue2/src/components/form/checkbox → vue3/src/components/form/checkbox/src}/use-checkbox.d.ts +10 -17
- package/vue3/src/components/form/date-picker/index.d.ts +86 -0
- package/vue3/src/components/form/date-picker/src/components/date-presets/date-presets.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/date-select/date-select-header.vue.d.ts +24 -0
- package/vue3/src/components/form/date-picker/src/components/date-select/date-select.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/picker-popper/pick-popper.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/picker-reference/date-range-reference.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/picker-reference/date-reference.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/picker-reference/picker-reference.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/components/time-select/time-select-column.vue.d.ts +17 -0
- package/vue3/src/components/form/date-picker/src/components/time-select/time-select.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/src/date-picker.vue.d.ts +85 -0
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/common.d.ts +54 -0
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/use-date-input.d.ts +22 -0
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/use-date-range-type.d.ts +19 -0
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/use-date-type.d.ts +23 -0
- package/vue3/src/components/form/date-picker/src/hooks/picker-types/use-date-value-item.d.ts +24 -0
- package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +84 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-date-input.d.ts +16 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-date-limit.d.ts +10 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-date-picker.d.ts +40 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-picker-value.d.ts +12 -0
- package/vue3/src/components/form/date-picker/src/hooks/use-year-month.d.ts +10 -0
- package/vue3/src/components/form/date-picker/src/types/index.d.ts +19 -0
- package/vue3/src/components/form/date-picker/src/utils/date-utils.d.ts +34 -0
- package/vue3/src/components/form/form-group/index.d.ts +10 -0
- package/vue3/src/components/form/form-group/src/form-group.vue.d.ts +19 -0
- package/vue3/src/components/form/form-group/src/props-define.d.ts +14 -0
- package/vue3/src/components/form/form-item/index.d.ts +197 -2
- package/{vue2/src/components/form/form-item → vue3/src/components/form/form-item/src}/form-item.vue.d.ts +36 -1
- package/vue3/src/components/form/form-item/src/hooks/use-item-label.d.ts +10 -0
- package/{vue2/src/components/form/form-item → vue3/src/components/form/form-item/src}/use-form-item.d.ts +39 -15
- package/vue3/src/components/form/form-submit-button/index.d.ts +81 -2
- package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +81 -0
- package/vue3/src/components/form/form-submit-button/src/props-define.d.ts +43 -0
- package/vue3/src/components/form/form-submit-button/src/use-form-submit-button.d.ts +9 -0
- package/vue3/src/components/form/form-wrap/index.d.ts +126 -2
- package/vue3/src/components/form/form-wrap/{form-wrap.vue.d.ts → src/form-wrap.vue.d.ts} +20 -16
- package/vue3/src/components/form/form-wrap/{use-form-wrap.d.ts → src/use-form-wrap.d.ts} +28 -20
- package/vue3/src/components/form/hooks/use-form-clearable.d.ts +25 -0
- package/vue3/src/components/form/hooks/use-form-entrance.d.ts +69 -0
- package/vue3/src/components/form/image-upload/index.d.ts +102 -0
- package/vue3/src/components/form/image-upload/src/hooks/props-define.d.ts +126 -0
- package/vue3/src/components/form/image-upload/src/hooks/types.d.ts +40 -0
- package/vue3/src/components/form/image-upload/src/hooks/use-file-input.d.ts +7 -0
- package/vue3/src/components/form/image-upload/src/hooks/use-image-upload.d.ts +76 -0
- package/vue3/src/components/form/image-upload/src/hooks/use-upload-controller.d.ts +7 -0
- package/vue3/src/components/form/image-upload/src/image-upload.vue.d.ts +96 -0
- package/vue3/src/components/form/image-upload/src/upload-item.vue.d.ts +19 -0
- package/vue3/src/components/form/index.d.ts +7 -0
- package/vue3/src/components/form/input/index.d.ts +307 -2
- package/{vue2/src/components/form/input → vue3/src/components/form/input/src}/input.vue.d.ts +39 -33
- package/vue3/src/components/form/input/{use-input.d.ts → src/props-define.d.ts} +18 -48
- package/vue3/src/components/form/input/src/use-input.d.ts +19 -0
- package/vue3/src/components/form/input-number/index.d.ts +2 -0
- package/vue3/src/components/form/input-number/input-number.vue.d.ts +74 -0
- package/vue3/src/components/form/input-number/props-define.d.ts +55 -0
- package/vue3/src/components/form/input-number/use-input-number.d.ts +14 -0
- package/vue3/src/components/form/radio/index.d.ts +215 -4
- package/vue3/src/components/form/radio/src/radio-group.vue.d.ts +43 -0
- package/{vue2/src/components/form/radio → vue3/src/components/form/radio/src}/radio.vue.d.ts +12 -1
- package/vue3/src/components/form/radio/src/type.d.ts +1 -0
- package/vue3/src/components/form/radio/src/use-radio-group.d.ts +43 -0
- package/vue3/src/components/form/radio/{use-radio.d.ts → src/use-radio.d.ts} +19 -7
- package/vue3/src/components/form/select/index.d.ts +1056 -0
- package/vue3/src/components/form/select/src/props-define.d.ts +215 -0
- package/vue3/src/components/form/select/src/select.vue.d.ts +381 -0
- package/vue3/src/components/form/select/src/type.d.ts +19 -0
- package/vue3/src/components/form/switch/index.d.ts +54 -2
- package/vue3/src/components/{switch/use-switch.d.ts → form/switch/src/props-define.d.ts} +8 -28
- package/vue3/src/components/form/switch/src/switch.vue.d.ts +54 -0
- package/vue3/src/components/form/switch/src/use-switch.d.ts +15 -0
- package/vue3/src/components/form/transfer/hooks/props-define.d.ts +121 -0
- package/vue3/src/components/form/transfer/hooks/types.d.ts +28 -0
- package/vue3/src/components/form/transfer/hooks/use-transfer.d.ts +26 -0
- package/vue3/src/components/form/transfer/index.d.ts +3 -0
- package/vue3/src/components/form/transfer/transfer.vue.d.ts +166 -0
- package/vue3/src/components/form/types/index.d.ts +14 -18
- package/vue3/src/components/form/video-upload/hooks/props-define.d.ts +69 -0
- package/vue3/src/components/form/video-upload/hooks/types.d.ts +19 -0
- package/vue3/src/components/form/video-upload/hooks/use-upload-controller.d.ts +23 -0
- package/vue3/src/components/form/video-upload/hooks/use-video-upload.d.ts +33 -0
- package/vue3/src/components/form/video-upload/index.d.ts +4 -0
- package/vue3/src/components/form/video-upload/video-upload.vue.d.ts +73 -0
- package/vue3/src/components/icons/icons/add/index.d.ts +6 -0
- package/{vue2/src/components/icons/icons/arrow-circle-right → vue3/src/components/icons/icons/add-circle-outline}/index.d.ts +1 -1
- package/vue3/src/components/icons/icons/arrow-down-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-left-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-right-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-up-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/calendar/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/caret-down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/caret-left/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/caret-right/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/caret-up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/clock/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/close-circle-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/close-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/data-export/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/delete/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/download/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/drag/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/edit/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/error-circle-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/error-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/image/index.d.ts +6 -0
- package/{vue2/src/components/icons/icons/arrow-circle-up → vue3/src/components/icons/icons/info-circle-filled}/index.d.ts +1 -1
- package/vue3/src/components/icons/icons/info-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/left/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/minus-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/more/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/question-circle-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/question-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/refresh/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/right/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/setting/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/success-circle-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/success-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/upload/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/upload-two/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/warning-circle-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/warning-circle-outline/index.d.ts +6 -0
- package/vue3/src/components/icons/index.d.ts +3 -0
- package/vue3/src/components/icons/map.d.ts +40 -21
- package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +1 -1
- package/vue3/src/components/info-card/index.d.ts +2 -0
- package/vue3/src/components/info-card/info-card.vue.d.ts +70 -0
- package/vue3/src/components/info-card/props-define.d.ts +80 -0
- package/vue3/src/components/loading/index.d.ts +45 -6
- package/{vue2/src/components/loading → vue3/src/components/loading/src}/directive.d.ts +3 -3
- package/vue3/src/components/loading/src/loading-circle.vue.d.ts +2 -0
- package/{vue2/src/components/loading → vue3/src/components/loading/src}/loading.vue.d.ts +7 -0
- package/vue3/src/components/loading/{use-loading-component.d.ts → src/props-define.d.ts} +7 -0
- package/{vue2/src/components/loading → vue3/src/components/loading/src}/types.d.ts +4 -1
- package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +181 -25
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +124 -38
- package/vue3/src/components/message-box/types.d.ts +13 -46
- package/vue3/src/components/pagination/components/jumper.vue.d.ts +2 -0
- package/vue3/src/components/pagination/components/next.vue.d.ts +2 -0
- package/vue3/src/components/pagination/components/pager.vue.d.ts +2 -0
- package/vue3/src/components/pagination/components/prev.vue.d.ts +2 -0
- package/vue3/src/components/pagination/components/sizes.vue.d.ts +2 -0
- package/vue3/src/components/pagination/components/total-items.vue.d.ts +2 -0
- package/vue3/src/components/pagination/components/total-pages.vue.d.ts +2 -0
- package/vue3/src/components/pagination/index.d.ts +3 -0
- package/vue3/src/components/pagination/pagination.vue.d.ts +52 -0
- package/vue3/src/components/pagination/props-define.d.ts +52 -0
- package/vue3/src/components/pagination/types.d.ts +19 -0
- package/vue3/src/components/pagination/use-pagination.d.ts +25 -0
- package/vue3/src/components/popconfirm/index.d.ts +2 -0
- package/vue3/src/components/popconfirm/popconfirm.vue.d.ts +246 -0
- package/vue3/src/components/popconfirm/props-define.d.ts +74 -0
- package/vue3/src/components/popover/index.d.ts +191 -0
- package/vue3/src/components/popover/src/popover.vue.d.ts +87 -0
- package/vue3/src/components/popover/src/props-define.d.ts +69 -0
- package/vue3/src/components/popper/popper.vue.d.ts +5 -5
- package/vue3/src/components/popper/props-define.d.ts +4 -2
- package/vue3/src/components/popup/hooks/popup-props.d.ts +3 -3
- package/vue3/src/components/popup/hooks/use-popup-position.d.ts +1 -1
- package/vue3/src/components/popup/popup.vue.d.ts +7 -7
- package/vue3/src/components/progress/index.d.ts +129 -0
- package/vue3/src/components/progress/src/circle-progress.vue.d.ts +17 -0
- package/vue3/src/components/progress/src/line-progress.vue.d.ts +17 -0
- package/vue3/src/components/progress/src/progress.vue.d.ts +60 -0
- package/vue3/src/components/progress/src/props-define.d.ts +50 -0
- package/vue3/src/components/progress/src/use-progress.d.ts +24 -0
- package/vue3/src/components/scrollbar/index.d.ts +198 -0
- package/vue3/src/components/scrollbar/src/props-define.d.ts +106 -0
- package/vue3/src/components/scrollbar/src/scrollbar-track.vue.d.ts +81 -0
- package/vue3/src/components/scrollbar/src/scrollbar.vue.d.ts +91 -0
- package/vue3/src/components/scrollbar/src/types.d.ts +4 -0
- package/vue3/src/components/slider/index.d.ts +95 -0
- package/vue3/src/components/slider/src/props-define.d.ts +110 -0
- package/vue3/src/components/slider/src/slider-button.vue.d.ts +16 -0
- package/vue3/src/components/slider/src/slider.vue.d.ts +95 -0
- package/vue3/src/components/slider/src/use-slider-button.d.ts +26 -0
- package/vue3/src/components/slider/src/use-slider.d.ts +40 -0
- package/vue3/src/components/swiper/effects/carousel-effect/use-carousel-effect.d.ts +34 -0
- package/vue3/src/components/swiper/hooks/swiper-props.d.ts +48 -11
- package/vue3/src/components/swiper/hooks/use-swiper-options.d.ts +14 -8
- package/vue3/src/components/swiper/hooks/use-swiper-slide.d.ts +8 -1
- package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +9237 -0
- package/vue3/src/components/swiper/index.d.ts +1 -0
- package/vue3/src/components/swiper/modules/use-autoplay-module.d.ts +12 -0
- package/vue3/src/components/swiper/swiper-slide.vue.d.ts +5 -1
- package/vue3/src/components/swiper/swiper.vue.d.ts +30 -13
- package/vue3/src/components/table/index.d.ts +692 -0
- package/vue3/src/components/table/src/components/render-slot.d.ts +10 -0
- package/vue3/src/components/table/src/components/scroll/horizontal-scrollbar.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/scroll/vertical-scrollbar.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-cell/body-cell-index.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-cell/body-cell-multiple.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-cell/body-cell-single.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-cell/body-cell-tags.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-cell/table-body-cell.vue.d.ts +10 -0
- package/vue3/src/components/table/src/components/table-body-cell/use-table-body-cell-class.d.ts +9 -0
- package/vue3/src/components/table/src/components/table-body-cell/use-table-body-cell-hover.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-cell/use-table-body-cell.d.ts +32 -0
- package/vue3/src/components/table/src/components/table-body-row/table-body-row.vue.d.ts +22 -0
- package/vue3/src/components/table/src/components/table-body-row/use-table-body-row-class.d.ts +7 -0
- package/vue3/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +25 -0
- package/vue3/src/components/table/src/components/table-body.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-colgroup/table-colgroup.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-fixed-shadow.vue.d.ts +10 -0
- package/vue3/src/components/table/src/components/table-footer/table-pagination.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-header/table-header.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-header/use-table-header-structure.d.ts +4 -0
- package/vue3/src/components/table/src/components/table-header-cell/header-cell-multiple.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-header-cell/header-cell-sort.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-header-cell/table-header-cell.vue.d.ts +10 -0
- package/vue3/src/components/table/src/components/table-header-cell/use-table-header-cell-class.d.ts +4 -0
- package/vue3/src/components/table/src/components/table-header-cell/use-table-header-cell.d.ts +21 -0
- package/vue3/src/components/table/src/hooks/props-define.d.ts +246 -0
- package/vue3/src/components/table/src/hooks/table-data/use-row-key.d.ts +8 -0
- package/vue3/src/components/table/src/hooks/table-data/use-table-multiple.d.ts +10 -0
- package/vue3/src/components/table/src/hooks/table-data/use-table-single.d.ts +8 -0
- package/vue3/src/components/table/src/hooks/use-table/use-column-computed.d.ts +55 -0
- package/vue3/src/components/table/src/hooks/use-table/use-column-list.d.ts +101 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-element.d.ts +35 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-pagination.d.ts +12 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +13 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-scroll.d.ts +28 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-status.d.ts +29 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +198 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +57 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-index.d.ts +14 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-slot.d.ts +16 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-sort.d.ts +24 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-sticky.d.ts +17 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-width.d.ts +14 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +20 -0
- package/vue3/src/components/table/src/table-column.vue.d.ts +82 -0
- package/vue3/src/components/table/src/table.vue.d.ts +199 -0
- package/vue3/src/components/table/src/types/index.d.ts +56 -0
- package/vue3/src/components/table/src/utils/index.d.ts +3 -0
- package/vue3/src/components/tag/index.d.ts +78 -0
- package/vue3/src/components/tag/src/props-define.d.ts +47 -0
- package/vue3/src/components/tag/src/tag.vue.d.ts +43 -0
- package/vue3/src/components/tooltip/index.d.ts +138 -3
- package/vue3/src/components/tooltip/{directive.d.ts → src/directive.d.ts} +4 -4
- package/vue3/src/components/tooltip/src/props-define.d.ts +54 -0
- package/vue3/src/components/tooltip/{tooltip-popper.vue.d.ts → src/tooltip-popper.vue.d.ts} +1 -1
- package/{vue2/src/components/tooltip → vue3/src/components/tooltip/src}/tooltip.vue.d.ts +19 -19
- package/{vue2/src/components/tooltip → vue3/src/components/tooltip/src}/use-tooltip.d.ts +10 -4
- package/vue3/src/hooks/business/use-app-user-agent/index.d.ts +14 -0
- package/vue3/src/hooks/business/use-business-type/index.d.ts +38 -0
- package/vue3/src/hooks/business/use-skin-color/index.d.ts +6 -22
- package/vue3/src/hooks/business/use-skin-color/types.d.ts +20 -0
- package/vue3/src/hooks/business/use-skin-color/utils.d.ts +7 -0
- package/vue3/src/hooks/components/use-confirm-cancel/index.d.ts +69 -0
- package/vue3/src/hooks/components/use-popper/_popper-type.d.ts +8 -0
- package/vue3/src/hooks/element/use-event-listener/index.d.ts +15 -4
- package/vue3/src/hooks/element/use-overflow-count/index.d.ts +30 -0
- package/vue3/src/hooks/exports.d.ts +4 -0
- package/vue3/src/hooks/tools/use-event-bus/index.d.ts +9 -0
- package/vue3/src/hooks/tools/use-task-queue/index.d.ts +33 -0
- package/vue3/src/hooks/vue/use-model-value/index.d.ts +8 -1
- package/vue3/src/hooks/vue/use-vue/index.d.ts +1 -2
- package/vue3/src/interface/enum.d.ts +15 -0
- package/vue3/src/interface/index.d.ts +1 -0
- package/vue3/src/lang/common/en.json.d.ts +4 -1
- package/vue3/src/lang/common/ja.json.d.ts +4 -1
- package/vue3/src/lang/common/ko.json.d.ts +4 -1
- package/vue3/src/lang/common/ru.json.d.ts +4 -1
- package/vue3/src/lang/common/zh-CN.json.d.ts +4 -1
- package/vue3/src/lang/common/zh-TW.json.d.ts +4 -1
- package/vue3/src/lang/internal/en.json.d.ts +152 -1
- package/vue3/src/lang/internal/index.d.ts +153 -0
- package/vue3/src/lang/internal/ja.json.d.ts +152 -1
- package/vue3/src/lang/internal/ko.json.d.ts +152 -1
- package/vue3/src/lang/internal/ru.json.d.ts +152 -1
- package/vue3/src/lang/internal/zh-CN.json.d.ts +152 -1
- package/vue3/src/lang/internal/zh-TW.json.d.ts +152 -1
- package/vue3/src/utils/dom.d.ts +5 -0
- package/vue3/src/vue-utils/install-utils.d.ts +34 -0
- package/vue3/src/vue-utils/version-compatible/types.d.ts +1 -1
- package/vue2/src/components/button/button.vue.d.ts +0 -57
- package/vue2/src/components/button/type.d.ts +0 -50
- package/vue2/src/components/button/use-button.d.ts +0 -64
- package/vue2/src/components/empty/empty.vue.d.ts +0 -14
- package/vue2/src/components/empty/use-empty.d.ts +0 -13
- package/vue2/src/components/form/checkbox/checkbox-group.vue.d.ts +0 -30
- package/vue2/src/components/form/checkbox/type.d.ts +0 -8
- package/vue2/src/components/form/form-submit-button/form-submit-button.vue.d.ts +0 -61
- package/vue2/src/components/form/form-submit-button/use-form-submit-button.d.ts +0 -42
- package/vue2/src/components/form/hooks/use-form-common.d.ts +0 -36
- package/vue2/src/components/form/radio/type.d.ts +0 -7
- package/vue2/src/components/form/switch/switch.vue.d.ts +0 -51
- package/vue2/src/components/form/switch/use-switch.d.ts +0 -69
- package/vue2/src/components/icons/icons/check-round-fill/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/close-round/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/close-round-fill/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/error-round/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/info-round-fill/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/question-round/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/success-round/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/triangle-down/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/triangle-up/index.d.ts +0 -6
- package/vue2/src/components/icons/icons/warning-round-fill/index.d.ts +0 -6
- package/vue2/src/components/switch/index.d.ts +0 -2
- package/vue2/src/components/switch/switch.vue.d.ts +0 -51
- package/vue3/src/components/button/button.vue.d.ts +0 -57
- package/vue3/src/components/button/type.d.ts +0 -50
- package/vue3/src/components/button/use-button.d.ts +0 -64
- package/vue3/src/components/empty/empty.vue.d.ts +0 -14
- package/vue3/src/components/empty/use-empty.d.ts +0 -13
- package/vue3/src/components/form/checkbox/checkbox-group.vue.d.ts +0 -30
- package/vue3/src/components/form/checkbox/type.d.ts +0 -8
- package/vue3/src/components/form/form-submit-button/form-submit-button.vue.d.ts +0 -61
- package/vue3/src/components/form/form-submit-button/use-form-submit-button.d.ts +0 -42
- package/vue3/src/components/form/hooks/use-form-common.d.ts +0 -36
- package/vue3/src/components/form/radio/type.d.ts +0 -7
- package/vue3/src/components/form/switch/switch.vue.d.ts +0 -51
- package/vue3/src/components/form/switch/use-switch.d.ts +0 -69
- package/vue3/src/components/icons/icons/arrow-circle-down/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/arrow-circle-left/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/arrow-circle-right/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/arrow-circle-up/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/arrow-down/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/arrow-left/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/arrow-right/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/check-round-fill/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/close-round/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/close-round-fill/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/down-file/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/down-load/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/error-round/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/info-round-fill/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/question-round/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/success-round/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/triangle-down/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/triangle-up/index.d.ts +0 -6
- package/vue3/src/components/icons/icons/warning-round-fill/index.d.ts +0 -6
- package/vue3/src/components/switch/index.d.ts +0 -2
- package/vue3/src/components/switch/switch.vue.d.ts +0 -51
- /package/after-install/{index.js → index.mjs} +0 -0
- /package/vue2/src/components/{loading/loading-circle.vue.d.ts → empty/src/svgs/box-icon.vue.d.ts} +0 -0
- /package/{vue3/src/components/loading/loading-circle.vue.d.ts → vue2/src/components/empty/src/svgs/video-icon.vue.d.ts} +0 -0
- /package/vue2/src/components/loading/{hook.d.ts → src/hook.d.ts} +0 -0
- /package/vue2/src/components/loading/{service.d.ts → src/service.d.ts} +0 -0
- /package/vue3/src/components/loading/{hook.d.ts → src/hook.d.ts} +0 -0
- /package/vue3/src/components/loading/{service.d.ts → src/service.d.ts} +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
"v-model-key": import('vue-types').VueTypeDef<import('./use-switch').SwitchValue>;
|
|
3
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
7
|
-
default: import('./use-switch').SwitchValue;
|
|
8
|
-
};
|
|
9
|
-
inactiveValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
10
|
-
default: import('./use-switch').SwitchValue;
|
|
11
|
-
};
|
|
12
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
19
|
-
default: "default" | "medium" | "mini";
|
|
20
|
-
};
|
|
21
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
change: (arg: import('./use-switch').SwitchValue) => void;
|
|
23
|
-
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
-
"v-model-key": import('vue-types').VueTypeDef<import('./use-switch').SwitchValue>;
|
|
25
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
29
|
-
default: import('./use-switch').SwitchValue;
|
|
30
|
-
};
|
|
31
|
-
inactiveValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
32
|
-
default: import('./use-switch').SwitchValue;
|
|
33
|
-
};
|
|
34
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
41
|
-
default: "default" | "medium" | "mini";
|
|
42
|
-
};
|
|
43
|
-
}>>, {
|
|
44
|
-
size: "default" | "medium" | "mini";
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
activeValue: import('./use-switch').SwitchValue;
|
|
47
|
-
inactiveValue: import('./use-switch').SwitchValue;
|
|
48
|
-
activeColor: string;
|
|
49
|
-
inactiveColor: string;
|
|
50
|
-
}>;
|
|
51
|
-
export default _default;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { VueEmit, VueProps } from '../../../vue-utils';
|
|
2
|
-
export type SwitchValue = boolean | number | string;
|
|
3
|
-
declare const switchSizes: readonly ["default", "medium", "mini"];
|
|
4
|
-
export type SwitchSize = (typeof switchSizes)[number];
|
|
5
|
-
export declare const switchProps: () => {
|
|
6
|
-
/**
|
|
7
|
-
* 是否选中,支持 v-model
|
|
8
|
-
*/
|
|
9
|
-
"v-model-key": import('vue-types').VueTypeDef<SwitchValue>;
|
|
10
|
-
/**
|
|
11
|
-
* 是否禁用
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 激活值
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
activeValue: import('vue-types').VueTypeDef<SwitchValue> & {
|
|
22
|
-
default: SwitchValue;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* 非激活值
|
|
26
|
-
* @default false
|
|
27
|
-
*/
|
|
28
|
-
inactiveValue: import('vue-types').VueTypeDef<SwitchValue> & {
|
|
29
|
-
default: SwitchValue;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* 激活颜色
|
|
33
|
-
*/
|
|
34
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* 非激活颜色
|
|
39
|
-
*/
|
|
40
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* 大小
|
|
45
|
-
* @default 'default'
|
|
46
|
-
*/
|
|
47
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
48
|
-
default: "default" | "medium" | "mini";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export declare const switchEmits: () => {
|
|
52
|
-
/**
|
|
53
|
-
* 开关切换
|
|
54
|
-
* @cbName 开关值
|
|
55
|
-
* @cbType SwitchValue
|
|
56
|
-
*/
|
|
57
|
-
change: import('../../../vue-utils').EmitFuncType<SwitchValue>;
|
|
58
|
-
};
|
|
59
|
-
export declare const useSwitch: (options: {
|
|
60
|
-
props: VueProps<typeof switchProps>;
|
|
61
|
-
emit: VueEmit<typeof switchEmits>;
|
|
62
|
-
}) => {
|
|
63
|
-
isOpened: import('vue').ComputedRef<boolean>;
|
|
64
|
-
switchStyle: import('vue').ComputedRef<{
|
|
65
|
-
backgroundColor: string;
|
|
66
|
-
}>;
|
|
67
|
-
toggleSwitch: () => void;
|
|
68
|
-
};
|
|
69
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
"v-model-key": import('vue-types').VueTypeDef<import('./use-switch').SwitchValue>;
|
|
3
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
7
|
-
default: import('./use-switch').SwitchValue;
|
|
8
|
-
};
|
|
9
|
-
inactiveValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
10
|
-
default: import('./use-switch').SwitchValue;
|
|
11
|
-
};
|
|
12
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
19
|
-
default: "default" | "medium" | "mini";
|
|
20
|
-
};
|
|
21
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
change: (arg: import('./use-switch').SwitchValue) => void;
|
|
23
|
-
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
-
"v-model-key": import('vue-types').VueTypeDef<import('./use-switch').SwitchValue>;
|
|
25
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
29
|
-
default: import('./use-switch').SwitchValue;
|
|
30
|
-
};
|
|
31
|
-
inactiveValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
32
|
-
default: import('./use-switch').SwitchValue;
|
|
33
|
-
};
|
|
34
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
41
|
-
default: "default" | "medium" | "mini";
|
|
42
|
-
};
|
|
43
|
-
}>>, {
|
|
44
|
-
size: "default" | "medium" | "mini";
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
activeValue: import('./use-switch').SwitchValue;
|
|
47
|
-
inactiveValue: import('./use-switch').SwitchValue;
|
|
48
|
-
activeColor: string;
|
|
49
|
-
inactiveColor: string;
|
|
50
|
-
}>;
|
|
51
|
-
export default _default;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
-
type: import('vue-types').VueTypeValidableDef<import('./type').ButtonType, import('vue-types/dist/types').ValidatorFunction<import('./type').ButtonType>> & {
|
|
3
|
-
default: import('./type').ButtonType;
|
|
4
|
-
};
|
|
5
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
size: import('vue-types').VueTypeValidableDef<import('./type').ButtonSize, import('vue-types/dist/types').ValidatorFunction<import('./type').ButtonSize>> & {
|
|
9
|
-
default: import('./type').ButtonSize;
|
|
10
|
-
};
|
|
11
|
-
outline: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
block: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
square: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
click: (arg: MouseEvent) => void;
|
|
22
|
-
"click-native": (arg: MouseEvent) => void;
|
|
23
|
-
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
-
type: import('vue-types').VueTypeValidableDef<import('./type').ButtonType, import('vue-types/dist/types').ValidatorFunction<import('./type').ButtonType>> & {
|
|
25
|
-
default: import('./type').ButtonType;
|
|
26
|
-
};
|
|
27
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
size: import('vue-types').VueTypeValidableDef<import('./type').ButtonSize, import('vue-types/dist/types').ValidatorFunction<import('./type').ButtonSize>> & {
|
|
31
|
-
default: import('./type').ButtonSize;
|
|
32
|
-
};
|
|
33
|
-
outline: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
block: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
square: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
}>>, {
|
|
43
|
-
square: boolean;
|
|
44
|
-
type: import('./type').ButtonType;
|
|
45
|
-
block: boolean;
|
|
46
|
-
size: import('./type').ButtonSize;
|
|
47
|
-
outline: boolean;
|
|
48
|
-
disabled: boolean;
|
|
49
|
-
}>, {
|
|
50
|
-
default?(_: {}): any;
|
|
51
|
-
}>;
|
|
52
|
-
export default _default;
|
|
53
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
-
new (): {
|
|
55
|
-
$scopedSlots: S;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 按钮类型
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ButtonType {
|
|
5
|
-
/**
|
|
6
|
-
* 默认按钮
|
|
7
|
-
*/
|
|
8
|
-
Primary = "primary",
|
|
9
|
-
/**
|
|
10
|
-
* 信息按钮
|
|
11
|
-
*/
|
|
12
|
-
Info = "info",
|
|
13
|
-
/**
|
|
14
|
-
* 危险按钮
|
|
15
|
-
*/
|
|
16
|
-
Danger = "danger",
|
|
17
|
-
/**
|
|
18
|
-
* 多彩按钮
|
|
19
|
-
*/
|
|
20
|
-
Multicolour = "multicolour",
|
|
21
|
-
/**
|
|
22
|
-
* 警告按钮
|
|
23
|
-
*/
|
|
24
|
-
Warning = "warning"
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* 按钮尺寸
|
|
28
|
-
*/
|
|
29
|
-
export declare enum ButtonSize {
|
|
30
|
-
/**
|
|
31
|
-
* 大号按钮
|
|
32
|
-
* @height 48px
|
|
33
|
-
*/
|
|
34
|
-
Large = "large",
|
|
35
|
-
/**
|
|
36
|
-
* 默认按钮
|
|
37
|
-
* @height 40px
|
|
38
|
-
*/
|
|
39
|
-
Default = "default",
|
|
40
|
-
/**
|
|
41
|
-
* 小号按钮
|
|
42
|
-
* @height 32px
|
|
43
|
-
*/
|
|
44
|
-
Small = "small",
|
|
45
|
-
/**
|
|
46
|
-
* 迷你按钮
|
|
47
|
-
* @height 28px
|
|
48
|
-
*/
|
|
49
|
-
Mini = "mini"
|
|
50
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { VueEmit, VueProps } from '../../vue-utils';
|
|
2
|
-
import { ButtonSize, ButtonType } from './type';
|
|
3
|
-
export declare const buttonProps: () => {
|
|
4
|
-
/**
|
|
5
|
-
* 按钮类型
|
|
6
|
-
* @default ButtonType.Primary
|
|
7
|
-
*/
|
|
8
|
-
type: import('vue-types').VueTypeValidableDef<ButtonType, import('vue-types/dist/types').ValidatorFunction<ButtonType>> & {
|
|
9
|
-
default: ButtonType;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* 是否禁用
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* 按钮大小
|
|
20
|
-
* @default ButtonSize.Default
|
|
21
|
-
*/
|
|
22
|
-
size: import('vue-types').VueTypeValidableDef<ButtonSize, import('vue-types/dist/types').ValidatorFunction<ButtonSize>> & {
|
|
23
|
-
default: ButtonSize;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* 是否为描边按钮
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
outline: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* 是否为块级按钮
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
block: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* 是否为方形按钮
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
square: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export declare const buttonEmits: () => {
|
|
48
|
-
/**
|
|
49
|
-
* 点击事件,禁用时不会触发
|
|
50
|
-
* @cbName 鼠标事件
|
|
51
|
-
*/
|
|
52
|
-
click: import('../../vue-utils').EmitFuncType<MouseEvent>;
|
|
53
|
-
/**
|
|
54
|
-
* 点击事件,禁用时会触发
|
|
55
|
-
* @cbName 鼠标事件
|
|
56
|
-
*/
|
|
57
|
-
'click-native': import('../../vue-utils').EmitFuncType<MouseEvent>;
|
|
58
|
-
};
|
|
59
|
-
export declare const useButton: (options: {
|
|
60
|
-
props: VueProps<typeof buttonProps>;
|
|
61
|
-
emit: VueEmit<typeof buttonEmits>;
|
|
62
|
-
}) => {
|
|
63
|
-
onClick: (event: MouseEvent) => void;
|
|
64
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
3
|
-
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
-
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
8
|
-
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>>, {
|
|
12
|
-
text: string;
|
|
13
|
-
}>;
|
|
14
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const emptyProps: () => {
|
|
2
|
-
/**
|
|
3
|
-
* 自定义图标
|
|
4
|
-
*/
|
|
5
|
-
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
6
|
-
/**
|
|
7
|
-
* 空状态文本
|
|
8
|
-
* @default '暂无内容'
|
|
9
|
-
*/
|
|
10
|
-
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { FormCheckboxValue } from './type';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLDivElement;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
12
|
-
"v-model-key": import('vue-types').VueTypeValidableDef<FormCheckboxValue[], import('vue-types/dist/types').ValidatorFunction<FormCheckboxValue[]>> & {
|
|
13
|
-
default: () => FormCheckboxValue[];
|
|
14
|
-
};
|
|
15
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
change: (arg: FormCheckboxValue[]) => void;
|
|
17
|
-
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
-
"v-model-key": import('vue-types').VueTypeValidableDef<FormCheckboxValue[], import('vue-types/dist/types').ValidatorFunction<FormCheckboxValue[]>> & {
|
|
19
|
-
default: () => FormCheckboxValue[];
|
|
20
|
-
};
|
|
21
|
-
}>>, {
|
|
22
|
-
"v-model-key": FormCheckboxValue[];
|
|
23
|
-
}>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
-
export default _default;
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$scopedSlots: S;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
-
export type FormCheckboxValue = string | number | boolean;
|
|
3
|
-
export interface CheckboxGroupInjectData {
|
|
4
|
-
inGroup: boolean;
|
|
5
|
-
modelValue?: ComputedRef<FormCheckboxValue[]>;
|
|
6
|
-
emitInput?: (value: FormCheckboxValue[]) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const CHECKBOX_GROUP_INJECT_KEY: InjectionKey<CheckboxGroupInjectData>;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
|
-
default: string;
|
|
4
|
-
};
|
|
5
|
-
debounceSubmit: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
type: import('vue-types').VueTypeValidableDef<import('../../button').ButtonType, import('vue-types/dist/types').ValidatorFunction<import('../../button').ButtonType>> & {
|
|
9
|
-
default: import('../../button').ButtonType;
|
|
10
|
-
};
|
|
11
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
size: import('vue-types').VueTypeValidableDef<import('../../button').ButtonSize, import('vue-types/dist/types').ValidatorFunction<import('../../button').ButtonSize>> & {
|
|
15
|
-
default: import('../../button').ButtonSize;
|
|
16
|
-
};
|
|
17
|
-
outline: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
block: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
square: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
-
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
debounceSubmit: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
type: import('vue-types').VueTypeValidableDef<import('../../button').ButtonType, import('vue-types/dist/types').ValidatorFunction<import('../../button').ButtonType>> & {
|
|
34
|
-
default: import('../../button').ButtonType;
|
|
35
|
-
};
|
|
36
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
size: import('vue-types').VueTypeValidableDef<import('../../button').ButtonSize, import('vue-types/dist/types').ValidatorFunction<import('../../button').ButtonSize>> & {
|
|
40
|
-
default: import('../../button').ButtonSize;
|
|
41
|
-
};
|
|
42
|
-
outline: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
block: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
square: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
}>>, {
|
|
52
|
-
square: boolean;
|
|
53
|
-
text: string;
|
|
54
|
-
type: import('../../button').ButtonType;
|
|
55
|
-
block: boolean;
|
|
56
|
-
size: import('../../button').ButtonSize;
|
|
57
|
-
outline: boolean;
|
|
58
|
-
disabled: boolean;
|
|
59
|
-
debounceSubmit: boolean;
|
|
60
|
-
}>;
|
|
61
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { VueProps } from '../../../vue-utils';
|
|
2
|
-
export declare const formSubmitButtonProps: () => {
|
|
3
|
-
/**
|
|
4
|
-
* 按钮文本
|
|
5
|
-
* @default '提交'
|
|
6
|
-
*/
|
|
7
|
-
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* 防抖提交
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
debounceSubmit: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
type: import('vue-types').VueTypeValidableDef<import('../../button').ButtonType, import('vue-types/dist/types').ValidatorFunction<import('../../button').ButtonType>> & {
|
|
18
|
-
default: import('../../button').ButtonType;
|
|
19
|
-
};
|
|
20
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
size: import('vue-types').VueTypeValidableDef<import('../../button').ButtonSize, import('vue-types/dist/types').ValidatorFunction<import('../../button').ButtonSize>> & {
|
|
24
|
-
default: import('../../button').ButtonSize;
|
|
25
|
-
};
|
|
26
|
-
outline: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
block: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
square: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export declare const useFormSubmitButton: (options: {
|
|
37
|
-
props: VueProps<typeof formSubmitButtonProps>;
|
|
38
|
-
}) => {
|
|
39
|
-
buttonIsDisabled: import('vue').ComputedRef<boolean>;
|
|
40
|
-
checkDisabled: () => Promise<void>;
|
|
41
|
-
onButtonClick: () => void;
|
|
42
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { VueProps } from '../../../vue-utils';
|
|
2
|
-
import { FormSize } from '../types';
|
|
3
|
-
export declare const formCommonProps: () => {
|
|
4
|
-
/**
|
|
5
|
-
* 尺寸
|
|
6
|
-
* @default FormSize.Default
|
|
7
|
-
*/
|
|
8
|
-
size: import('vue-types').VueTypeValidableDef<FormSize, import('vue-types/dist/types').ValidatorFunction<FormSize>>;
|
|
9
|
-
/**
|
|
10
|
-
* 是否进行表单验证
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const useFormCommon: (options: {
|
|
18
|
-
props: VueProps<typeof formCommonProps>;
|
|
19
|
-
classPrefix: string;
|
|
20
|
-
}) => {
|
|
21
|
-
commonClassNames: import('vue').ComputedRef<string[]>;
|
|
22
|
-
};
|
|
23
|
-
export declare const useFormSize: (options: {
|
|
24
|
-
props: VueProps<typeof formCommonProps>;
|
|
25
|
-
}) => {
|
|
26
|
-
size: import('vue').ComputedRef<FormSize | undefined>;
|
|
27
|
-
};
|
|
28
|
-
/** 表单组件下的验证状态 hook */
|
|
29
|
-
export declare const useFormCommonValidate: (options: {
|
|
30
|
-
props: VueProps<typeof formCommonProps>;
|
|
31
|
-
}) => {
|
|
32
|
-
validateCurrentFormItem: () => Promise<void>;
|
|
33
|
-
blurToValidateItem: () => Promise<void>;
|
|
34
|
-
focusToRemoveError: () => void;
|
|
35
|
-
formItemIsError: import('vue').ComputedRef<boolean>;
|
|
36
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
-
export type FormRadioValue = string | number | boolean;
|
|
3
|
-
export interface RadioGroupInjectData {
|
|
4
|
-
modelValue: ComputedRef<FormRadioValue>;
|
|
5
|
-
emitInput: (value: FormRadioValue) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const RADIO_GROUP_INJECT_KEY: InjectionKey<RadioGroupInjectData>;
|