@polyv/vue-components 1.1.1 → 1.2.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/after-install/index.js +19 -0
- package/package.json +14 -6
- package/styles/mixins.scss +11 -1
- package/styles/skin-color.scss +3 -3
- package/{index.es.js → vue2/index.es.js} +10240 -5975
- package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/_component/use-action-sheet-comp.d.ts +3 -3
- package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/types.d.ts +0 -1
- package/vue2/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +74 -0
- package/vue2/src/components/animation/bubble-animation/hooks/props-define.d.ts +53 -0
- package/vue2/src/components/animation/bubble-animation/hooks/use-animation-canvas.d.ts +8 -0
- package/vue2/src/components/animation/bubble-animation/hooks/use-bubble-animation.d.ts +9 -0
- package/vue2/src/components/animation/bubble-animation/hooks/use-bubble-item.d.ts +53 -0
- package/vue2/src/components/animation/bubble-animation/index.d.ts +3 -0
- package/vue2/src/components/animation/bubble-animation/types/index.d.ts +52 -0
- package/vue2/src/components/business/data-export/data-export-entrance/date-export-entrance.vue.d.ts +10 -0
- package/vue2/src/components/business/data-export/data-export-entrance/use-data-export-entrance.d.ts +24 -0
- package/vue2/src/components/business/data-export/data-export-record/data-export-record.vue.d.ts +21 -0
- package/vue2/src/components/business/data-export/data-export-record/record-item.vue.d.ts +19 -0
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +27 -0
- package/vue2/src/components/business/data-export/hooks/use-data-export-utils.d.ts +15 -0
- package/vue2/src/components/business/data-export/index.d.ts +6 -0
- package/vue2/src/components/business/data-export/types/index.d.ts +74 -0
- package/{src/components → vue2/src/components/business}/normal-pendant/use-normal-pendant.d.ts +2 -2
- package/{src/components → vue2/src/components/business}/reward-receive/entrance/reward-receive.vue.d.ts +3 -3
- package/{src/components → vue2/src/components/business}/reward-receive/hooks/use-reward-receive.d.ts +30 -9
- package/{src → vue2/src}/components/button/type.d.ts +1 -1
- package/{src → vue2/src}/components/category-select/category-select-item.vue.d.ts +2 -3
- package/{src/components/form/checkbox/checkbox-group.vue.d.ts → vue2/src/components/category-select/category-select.vue.d.ts} +6 -10
- package/{src → vue2/src}/components/category-select/use-category-select.d.ts +3 -2
- package/{src → vue2/src}/components/dropdown/dropdown.vue.d.ts +6 -6
- package/{src → vue2/src}/components/dropdown/use-dropdown.d.ts +2 -2
- package/{src → vue2/src}/components/empty/empty.vue.d.ts +2 -2
- package/{src → vue2/src}/components/empty/use-empty.d.ts +1 -2
- package/vue2/src/components/exports.d.ts +22 -0
- package/vue2/src/components/file-icon/file-icon.vue.d.ts +16 -0
- package/vue2/src/components/file-icon/index.d.ts +2 -0
- package/vue2/src/components/file-icon/use-file-icon.d.ts +20 -0
- package/{src → vue2/src}/components/form/area-picker/area-picker.vue.d.ts +6 -8
- package/vue2/src/components/form/area-picker/components/picker-popup.vue.d.ts +29 -0
- package/vue2/src/components/form/area-picker/hooks/use-area-picker-value.d.ts +14 -0
- package/{src → vue2/src}/components/form/area-picker/index.d.ts +1 -0
- package/vue2/src/components/form/area-picker/types.d.ts +5 -0
- package/{src → vue2/src}/components/form/area-picker/use-area-picker.d.ts +16 -24
- package/{src/plugins/polyv-ui/area-utils.d.ts → vue2/src/components/form/area-picker/utils.d.ts} +3 -4
- package/vue2/src/components/form/checkbox/checkbox-group.vue.d.ts +30 -0
- package/{src → vue2/src}/components/form/checkbox/checkbox.vue.d.ts +2 -3
- package/{src → vue2/src}/components/form/checkbox/type.d.ts +1 -1
- package/{src → vue2/src}/components/form/checkbox/use-checkbox.d.ts +6 -7
- package/{src → vue2/src}/components/form/form-item/use-form-item.d.ts +0 -1
- package/{src → vue2/src}/components/form/form-wrap/form-wrap.vue.d.ts +7 -21
- package/{src → vue2/src}/components/form/form-wrap/use-form-wrap.d.ts +4 -14
- package/{src → vue2/src}/components/form/input/input.vue.d.ts +4 -4
- package/{src → vue2/src}/components/form/input/use-input.d.ts +1 -2
- package/{src → vue2/src}/components/form/protocol/protocol.vue.d.ts +6 -4
- package/{src → vue2/src}/components/form/protocol/use-protocol.d.ts +2 -1
- package/{src → vue2/src}/components/form/radio/radio-group.vue.d.ts +6 -3
- package/{src → vue2/src}/components/form/radio/radio.vue.d.ts +2 -2
- package/{src → vue2/src}/components/form/radio/type.d.ts +1 -1
- package/{src → vue2/src}/components/form/radio/use-radio.d.ts +4 -4
- package/vue2/src/components/icons/icons/arrow-circle-down/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-circle-left/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-circle-right/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-circle-up/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-down/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-left/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-right/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/arrow-up/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/check/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/check-round-fill/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/close/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/close-round/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/close-round-fill/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/copy/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/down-file/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/down-load/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/empty-prize/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/error-round/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/export/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/info-round-fill/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/list/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/loading/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/question-round/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/search/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/success-round/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/triangle-down/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/triangle-up/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/warning-round-fill/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/zoom-in/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/zoom-out/index.d.ts +6 -0
- package/{src → vue2/src}/components/icons/map.d.ts +5 -0
- package/vue2/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +35 -0
- package/vue2/src/components/image-preview/components/preview-controller.vue.d.ts +24 -0
- package/vue2/src/components/image-preview/hooks/props-define.d.ts +28 -0
- package/vue2/src/components/image-preview/hooks/use-image-preview-component.d.ts +12 -0
- package/vue2/src/components/image-preview/hooks/use-image-preview.d.ts +12 -0
- package/vue2/src/components/image-preview/image-preview.vue.d.ts +31 -0
- package/vue2/src/components/image-preview/index.d.ts +4 -0
- package/vue2/src/components/image-preview/types.d.ts +19 -0
- package/{src → vue2/src}/components/loading/directive.d.ts +1 -2
- package/{src → vue2/src}/components/loading/loading.vue.d.ts +5 -5
- package/{src → vue2/src}/components/loading/types.d.ts +0 -1
- package/{src → vue2/src}/components/loading/use-loading-component.d.ts +2 -5
- package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/_component/message-box-element.vue.d.ts +10 -10
- package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/_component/use-message-box-element.d.ts +24 -51
- package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/types.d.ts +8 -6
- package/vue2/src/components/popper/hooks.d.ts +7 -0
- package/vue2/src/components/popper/index.d.ts +4 -0
- package/vue2/src/components/popper/popper-content.vue.d.ts +19 -0
- package/vue2/src/components/popper/popper-reference.vue.d.ts +19 -0
- package/vue2/src/components/popper/popper.vue.d.ts +58 -0
- package/vue2/src/components/popper/props-define.d.ts +39 -0
- package/{src → vue2/src}/components/popup/hooks/popup-props.d.ts +36 -9
- package/{src → vue2/src}/components/popup/hooks/use-popup-position.d.ts +1 -1
- package/{src → vue2/src}/components/popup/popup.vue.d.ts +21 -13
- package/vue2/src/components/slot/index.d.ts +1 -0
- package/vue2/src/components/swiper/hooks/swiper-props.d.ts +72 -0
- package/vue2/src/components/swiper/hooks/types.d.ts +2 -0
- package/vue2/src/components/swiper/hooks/use-swiper-options.d.ts +9236 -0
- package/vue2/src/components/swiper/hooks/use-swiper-slide.d.ts +1 -0
- package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +22 -0
- package/vue2/src/components/swiper/index.d.ts +4 -0
- package/vue2/src/components/swiper/modules/use-navigation-module.d.ts +21 -0
- package/vue2/src/components/swiper/modules/use-pagination-module.d.ts +14 -0
- package/vue2/src/components/swiper/swiper-slide.vue.d.ts +17 -0
- package/vue2/src/components/swiper/swiper.vue.d.ts +73 -0
- package/{src → vue2/src}/components/switch/switch.vue.d.ts +3 -3
- package/{src → vue2/src}/components/switch/use-switch.d.ts +4 -1
- package/{src/hooks/components/use-toast → vue2/src/components/toast}/_component/toast-element.vue.d.ts +4 -4
- package/{src/hooks/components/use-toast → vue2/src/components/toast}/_component/use-toast-element.d.ts +4 -4
- package/vue2/src/components/tooltip/index.d.ts +2 -0
- package/vue2/src/components/tooltip/tooltip.vue.d.ts +139 -0
- package/vue2/src/components/tooltip/use-tooltip.d.ts +46 -0
- package/vue2/src/components/zoom-container/hooks/use-zoom-drag.d.ts +12 -0
- package/vue2/src/components/zoom-container/hooks/use-zoom-scale.d.ts +32 -0
- package/vue2/src/components/zoom-container/hooks/use-zoom-size.d.ts +15 -0
- package/vue2/src/components/zoom-container/index.d.ts +2 -0
- package/vue2/src/components/zoom-container/use-zoom-container.d.ts +39 -0
- package/vue2/src/components/zoom-container/zoom-container.vue.d.ts +55 -0
- package/vue2/src/hooks/animation/types/common.d.ts +32 -0
- package/vue2/src/hooks/animation/types/index.d.ts +71 -0
- package/vue2/src/hooks/animation/use-image-animation/index.d.ts +4 -0
- package/vue2/src/hooks/animation/use-special-effect/index.d.ts +40 -0
- package/vue2/src/hooks/animation/use-svga-animation/index.d.ts +16 -0
- package/{src → vue2/src}/hooks/business/use-app-element/index.d.ts +1 -0
- package/{src → vue2/src}/hooks/business/use-config-provider/index.d.ts +3 -4
- package/vue2/src/hooks/business/use-server/index.d.ts +4 -0
- package/{src → vue2/src}/hooks/components/use-auto-topmost/index.d.ts +2 -1
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +2 -0
- package/{src → vue2/src}/hooks/components/use-popper/_popper-type.d.ts +18 -6
- package/vue2/src/hooks/element/use-document-visible/index.d.ts +3 -0
- package/vue2/src/hooks/element/use-element-size/index.d.ts +18 -0
- package/vue2/src/hooks/element/use-text-ellipsis/index.d.ts +4 -0
- package/{src → vue2/src}/hooks/exports.d.ts +11 -8
- package/vue2/src/hooks/interactive/use-bezier-momentum/index.d.ts +17 -0
- package/vue2/src/hooks/interactive/use-double-click/index.d.ts +13 -0
- package/{src → vue2/src}/hooks/interactive/use-fullscreen/index.d.ts +3 -3
- package/vue2/src/hooks/interactive/use-hover/index.d.ts +8 -0
- package/{src → vue2/src}/hooks/interactive/use-hover-visible/index.d.ts +13 -2
- package/vue2/src/hooks/interactive/use-mouse-wheel/index.d.ts +31 -0
- package/{src → vue2/src}/hooks/interactive/use-outside/index.d.ts +1 -1
- package/vue2/src/hooks/interactive/use-press-hold/index.d.ts +28 -0
- package/vue2/src/hooks/interactive/use-vibrate/index.d.ts +7 -0
- package/{src → vue2/src}/hooks/pagination/types.d.ts +40 -11
- package/{src → vue2/src}/hooks/pagination/use-scroll-pagintaion/index.d.ts +22 -3
- package/{src → vue2/src}/hooks/plugin/use-resize-observer/index.d.ts +3 -3
- package/vue2/src/hooks/tools/use-append-to/index.d.ts +7 -0
- package/vue2/src/hooks/tools/use-auto-listen/index.d.ts +30 -0
- package/vue2/src/hooks/tools/use-browser/index.d.ts +38 -0
- package/vue2/src/hooks/tools/use-clipboard/index.d.ts +4 -0
- package/vue2/src/hooks/tools/use-count-down/index.d.ts +60 -0
- package/vue2/src/hooks/tools/use-download/index.d.ts +6 -0
- package/{src → vue2/src}/hooks/tools/use-event-bus/index.d.ts +7 -1
- package/vue2/src/hooks/tools/use-event-listener/index.d.ts +40 -0
- package/vue2/src/hooks/tools/use-request-animation-frame/index.d.ts +5 -0
- package/vue2/src/hooks/tools/use-scroll-lock/index.d.ts +21 -0
- package/vue2/src/hooks/tools/use-set-interval/index.d.ts +20 -0
- package/vue2/src/hooks/tools/use-set-timeout/index.d.ts +20 -0
- package/{src → vue2/src}/hooks/tools/use-simple-visible/index.d.ts +0 -4
- package/vue2/src/hooks/tools/use-target-event-emitter/index.d.ts +15 -0
- package/vue2/src/hooks/tools/use-window-resize-listener/index.d.ts +32 -0
- package/vue2/src/hooks/tools/use-z-index/index.d.ts +29 -0
- package/{src → vue2/src}/hooks/vue/use-model-value/index.d.ts +1 -1
- package/vue2/src/hooks/vue/use-vue/index.d.ts +17 -0
- package/vue2/src/interface/index.d.ts +15 -0
- package/{src → vue2/src}/lang/internal/en.json.d.ts +24 -0
- package/{src → vue2/src}/lang/internal/index.d.ts +24 -0
- package/{src → vue2/src}/lang/internal/ja.json.d.ts +24 -0
- package/vue2/src/lang/internal/ko.json.d.ts +45 -0
- package/{src → vue2/src}/lang/internal/ru.json.d.ts +24 -0
- package/vue2/src/lang/internal/zh-CN.json.d.ts +45 -0
- package/vue2/src/lang/internal/zh-TW.json.d.ts +45 -0
- package/vue2/src/plugins/svgaplayerweb/load-svga-player.d.ts +15 -0
- package/vue2/src/utils/env.d.ts +1 -0
- package/{src → vue2/src}/vue-utils/emit-utils.d.ts +4 -0
- package/{src → vue2/src}/vue-utils/index.d.ts +8 -5
- package/{src → vue2/src}/vue-utils/props-utils.d.ts +2 -2
- package/vue2/src/vue-utils/version-compatible/types.d.ts +44 -0
- package/vue2/src/vue-utils/version-compatible/vue-version.d.ts +1 -0
- package/vue2/src/vue-utils/version-compatible/vue.d.ts +1 -0
- package/vue2/src/vue-utils/version-compatible/vue2.d.ts +2 -0
- package/vue2/src/vue-utils/version-compatible/vue3.d.ts +2 -0
- package/vue3/index.es.js +12014 -0
- package/vue3/src/components/action-sheet/_component/action-sheet.vue.d.ts +20 -0
- package/vue3/src/components/action-sheet/_component/use-action-sheet-comp.d.ts +13 -0
- package/vue3/src/components/action-sheet/hook.d.ts +4 -0
- package/vue3/src/components/action-sheet/index.d.ts +3 -0
- package/vue3/src/components/action-sheet/types.d.ts +36 -0
- package/vue3/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +74 -0
- package/vue3/src/components/animation/bubble-animation/hooks/props-define.d.ts +53 -0
- package/vue3/src/components/animation/bubble-animation/hooks/use-animation-canvas.d.ts +8 -0
- package/vue3/src/components/animation/bubble-animation/hooks/use-bubble-animation.d.ts +9 -0
- package/vue3/src/components/animation/bubble-animation/hooks/use-bubble-item.d.ts +53 -0
- package/vue3/src/components/animation/bubble-animation/index.d.ts +3 -0
- package/vue3/src/components/animation/bubble-animation/types/index.d.ts +52 -0
- package/vue3/src/components/basic-countdown/basic-countdown.vue.d.ts +71 -0
- package/vue3/src/components/basic-countdown/index.d.ts +2 -0
- package/vue3/src/components/basic-countdown/use-basic-countdown.d.ts +64 -0
- package/vue3/src/components/business/data-export/data-export-entrance/date-export-entrance.vue.d.ts +10 -0
- package/vue3/src/components/business/data-export/data-export-entrance/use-data-export-entrance.d.ts +24 -0
- package/vue3/src/components/business/data-export/data-export-record/data-export-record.vue.d.ts +21 -0
- package/vue3/src/components/business/data-export/data-export-record/record-item.vue.d.ts +19 -0
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +27 -0
- package/vue3/src/components/business/data-export/hooks/use-data-export-utils.d.ts +15 -0
- package/vue3/src/components/business/data-export/index.d.ts +6 -0
- package/vue3/src/components/business/data-export/types/index.d.ts +74 -0
- package/vue3/src/components/business/normal-pendant/index.d.ts +2 -0
- package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +36 -0
- package/vue3/src/components/business/normal-pendant/use-normal-pendant.d.ts +36 -0
- package/vue3/src/components/business/reward-receive/entrance/reward-receive.vue.d.ts +28 -0
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +108 -0
- package/vue3/src/components/business/reward-receive/index.d.ts +4 -0
- package/vue3/src/components/business/reward-receive/types/index.d.ts +66 -0
- package/vue3/src/components/button/button.vue.d.ts +56 -0
- package/vue3/src/components/button/index.d.ts +3 -0
- package/vue3/src/components/button/type.d.ts +50 -0
- package/vue3/src/components/button/use-button.d.ts +59 -0
- package/{src/components/category-select/category-select.vue.d.ts → vue3/src/components/category-select/category-select-item.vue.d.ts} +2 -2
- package/vue3/src/components/category-select/category-select.vue.d.ts +23 -0
- package/vue3/src/components/category-select/index.d.ts +3 -0
- package/vue3/src/components/category-select/use-category-select.d.ts +26 -0
- package/vue3/src/components/dropdown/dropdown-item.vue.d.ts +31 -0
- package/vue3/src/components/dropdown/dropdown-menu.vue.d.ts +17 -0
- package/vue3/src/components/dropdown/dropdown.vue.d.ts +61 -0
- package/vue3/src/components/dropdown/index.d.ts +4 -0
- package/vue3/src/components/dropdown/use-dropdown.d.ts +70 -0
- package/vue3/src/components/empty/empty.vue.d.ts +14 -0
- package/vue3/src/components/empty/index.d.ts +2 -0
- package/vue3/src/components/empty/use-empty.d.ts +13 -0
- package/vue3/src/components/exports.d.ts +22 -0
- package/vue3/src/components/file-icon/file-icon.vue.d.ts +16 -0
- package/vue3/src/components/file-icon/index.d.ts +2 -0
- package/vue3/src/components/file-icon/use-file-icon.d.ts +20 -0
- package/vue3/src/components/form/area-picker/area-picker.vue.d.ts +37 -0
- package/vue3/src/components/form/area-picker/components/picker-popup.vue.d.ts +29 -0
- package/vue3/src/components/form/area-picker/hooks/use-area-picker-value.d.ts +14 -0
- package/vue3/src/components/form/area-picker/index.d.ts +3 -0
- package/vue3/src/components/form/area-picker/types.d.ts +5 -0
- package/vue3/src/components/form/area-picker/use-area-picker.d.ts +55 -0
- package/vue3/src/components/form/area-picker/utils.d.ts +12 -0
- package/vue3/src/components/form/checkbox/checkbox-group.vue.d.ts +30 -0
- package/vue3/src/components/form/checkbox/checkbox.vue.d.ts +66 -0
- package/vue3/src/components/form/checkbox/index.d.ts +4 -0
- package/vue3/src/components/form/checkbox/type.d.ts +8 -0
- package/vue3/src/components/form/checkbox/use-checkbox.d.ts +72 -0
- package/vue3/src/components/form/form-item/form-item.vue.d.ts +54 -0
- package/vue3/src/components/form/form-item/index.d.ts +2 -0
- package/vue3/src/components/form/form-item/use-form-item.d.ts +91 -0
- package/vue3/src/components/form/form-submit-button/form-submit-button.vue.d.ts +61 -0
- package/vue3/src/components/form/form-submit-button/index.d.ts +2 -0
- package/vue3/src/components/form/form-submit-button/use-form-submit-button.d.ts +42 -0
- package/vue3/src/components/form/form-wrap/form-wrap.vue.d.ts +62 -0
- package/vue3/src/components/form/form-wrap/index.d.ts +2 -0
- package/vue3/src/components/form/form-wrap/use-form-wrap.d.ts +93 -0
- package/vue3/src/components/form/hooks/use-form-common.d.ts +36 -0
- package/vue3/src/components/form/index.d.ts +9 -0
- package/vue3/src/components/form/input/index.d.ts +2 -0
- package/vue3/src/components/form/input/input.vue.d.ts +114 -0
- package/vue3/src/components/form/input/use-input.d.ts +155 -0
- package/vue3/src/components/form/protocol/index.d.ts +2 -0
- package/vue3/src/components/form/protocol/protocol.vue.d.ts +21 -0
- package/vue3/src/components/form/protocol/use-protocol.d.ts +24 -0
- package/vue3/src/components/form/radio/index.d.ts +4 -0
- package/vue3/src/components/form/radio/radio-group.vue.d.ts +24 -0
- package/vue3/src/components/form/radio/radio.vue.d.ts +50 -0
- package/vue3/src/components/form/radio/type.d.ts +7 -0
- package/vue3/src/components/form/radio/use-radio.d.ts +41 -0
- package/vue3/src/components/form/types/index.d.ts +28 -0
- package/vue3/src/components/icons/icons/arrow-circle-down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-circle-left/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-circle-right/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-circle-up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-left/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-right/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/arrow-up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/check/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/check-round-fill/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/close/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/close-round/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/close-round-fill/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/copy/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/down-file/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/down-load/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/empty-prize/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/error-round/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/export/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/info-round-fill/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/list/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/loading/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/question-round/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/search/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/success-round/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/triangle-down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/triangle-up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/warning-round-fill/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/zoom-in/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/zoom-out/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +34 -0
- package/vue3/src/components/image-preview/components/image-zoom-wrap.vue.d.ts +35 -0
- package/vue3/src/components/image-preview/components/preview-controller.vue.d.ts +24 -0
- package/vue3/src/components/image-preview/hooks/props-define.d.ts +28 -0
- package/vue3/src/components/image-preview/hooks/use-image-preview-component.d.ts +12 -0
- package/vue3/src/components/image-preview/hooks/use-image-preview.d.ts +12 -0
- package/vue3/src/components/image-preview/image-preview.vue.d.ts +31 -0
- package/vue3/src/components/image-preview/index.d.ts +4 -0
- package/vue3/src/components/image-preview/types.d.ts +19 -0
- package/vue3/src/components/loading/directive.d.ts +15 -0
- package/vue3/src/components/loading/hook.d.ts +9 -0
- package/vue3/src/components/loading/index.d.ts +6 -0
- package/vue3/src/components/loading/loading-circle.vue.d.ts +2 -0
- package/vue3/src/components/loading/loading.vue.d.ts +30 -0
- package/vue3/src/components/loading/service.d.ts +11 -0
- package/vue3/src/components/loading/types.d.ts +23 -0
- package/vue3/src/components/loading/use-loading-component.d.ts +26 -0
- package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +99 -0
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +151 -0
- package/vue3/src/components/message-box/index.d.ts +12 -0
- package/vue3/src/components/message-box/types.d.ts +68 -0
- package/vue3/src/components/popper/hooks.d.ts +7 -0
- package/vue3/src/components/popper/index.d.ts +4 -0
- package/vue3/src/components/popper/popper-content.vue.d.ts +19 -0
- package/vue3/src/components/popper/popper-reference.vue.d.ts +19 -0
- package/vue3/src/components/popper/popper.vue.d.ts +58 -0
- package/vue3/src/components/popper/props-define.d.ts +39 -0
- package/vue3/src/components/popup/hooks/popup-props.d.ts +233 -0
- package/vue3/src/components/popup/hooks/use-popup-append.d.ts +13 -0
- package/vue3/src/components/popup/hooks/use-popup-back.d.ts +13 -0
- package/vue3/src/components/popup/hooks/use-popup-config.d.ts +16 -0
- package/vue3/src/components/popup/hooks/use-popup-draggable.d.ts +15 -0
- package/vue3/src/components/popup/hooks/use-popup-height.d.ts +25 -0
- package/vue3/src/components/popup/hooks/use-popup-position.d.ts +11 -0
- package/vue3/src/components/popup/hooks/use-popup-scroll.d.ts +9 -0
- package/vue3/src/components/popup/hooks/use-popup-visible.d.ts +15 -0
- package/vue3/src/components/popup/hooks/use-popup-width.d.ts +10 -0
- package/vue3/src/components/popup/index.d.ts +4 -0
- package/vue3/src/components/popup/popup.vue.d.ts +218 -0
- package/vue3/src/components/popup/types.d.ts +17 -0
- package/vue3/src/components/resize-box/index.d.ts +3 -0
- package/vue3/src/components/resize-box/resize-box.vue.d.ts +97 -0
- package/vue3/src/components/resize-box/type.d.ts +34 -0
- package/vue3/src/components/resize-box/use-resize-box.d.ts +105 -0
- package/vue3/src/components/slot/index.d.ts +1 -0
- package/vue3/src/components/swiper/hooks/swiper-props.d.ts +72 -0
- package/vue3/src/components/swiper/hooks/types.d.ts +2 -0
- package/vue3/src/components/swiper/hooks/use-swiper-options.d.ts +9236 -0
- package/vue3/src/components/swiper/hooks/use-swiper-slide.d.ts +1 -0
- package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +22 -0
- package/vue3/src/components/swiper/index.d.ts +4 -0
- package/vue3/src/components/swiper/modules/use-navigation-module.d.ts +21 -0
- package/vue3/src/components/swiper/modules/use-pagination-module.d.ts +14 -0
- package/vue3/src/components/swiper/swiper-slide.vue.d.ts +17 -0
- package/vue3/src/components/swiper/swiper.vue.d.ts +73 -0
- package/vue3/src/components/switch/index.d.ts +2 -0
- package/vue3/src/components/switch/switch.vue.d.ts +51 -0
- package/vue3/src/components/switch/use-switch.d.ts +69 -0
- package/vue3/src/components/toast/_component/toast-element.vue.d.ts +61 -0
- package/vue3/src/components/toast/_component/use-toast-element.d.ts +63 -0
- package/vue3/src/components/toast/hook.d.ts +11 -0
- package/vue3/src/components/toast/index.d.ts +4 -0
- package/vue3/src/components/toast/types.d.ts +27 -0
- package/vue3/src/components/tooltip/index.d.ts +2 -0
- package/vue3/src/components/tooltip/tooltip.vue.d.ts +139 -0
- package/vue3/src/components/tooltip/use-tooltip.d.ts +46 -0
- package/vue3/src/components/zoom-container/hooks/use-zoom-drag.d.ts +12 -0
- package/vue3/src/components/zoom-container/hooks/use-zoom-scale.d.ts +32 -0
- package/vue3/src/components/zoom-container/hooks/use-zoom-size.d.ts +15 -0
- package/vue3/src/components/zoom-container/index.d.ts +2 -0
- package/vue3/src/components/zoom-container/use-zoom-container.d.ts +39 -0
- package/vue3/src/components/zoom-container/zoom-container.vue.d.ts +55 -0
- package/vue3/src/hooks/animation/types/common.d.ts +32 -0
- package/vue3/src/hooks/animation/types/index.d.ts +71 -0
- package/vue3/src/hooks/animation/use-image-animation/index.d.ts +4 -0
- package/vue3/src/hooks/animation/use-special-effect/index.d.ts +40 -0
- package/vue3/src/hooks/animation/use-svga-animation/index.d.ts +16 -0
- package/vue3/src/hooks/animation/use-svga-animation/load-svga-player.d.ts +15 -0
- package/vue3/src/hooks/business/use-app-element/index.d.ts +5 -0
- package/vue3/src/hooks/business/use-config-provider/index.d.ts +34 -0
- package/vue3/src/hooks/business/use-request/index.d.ts +56 -0
- package/vue3/src/hooks/business/use-resize-oss-image/index.d.ts +5 -0
- package/vue3/src/hooks/business/use-server/index.d.ts +4 -0
- package/vue3/src/hooks/business/use-skin-color/index.d.ts +44 -0
- package/vue3/src/hooks/business/use-track-event/index.d.ts +21 -0
- package/vue3/src/hooks/components/use-auto-topmost/index.d.ts +14 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +2 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-core.d.ts +15 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +5 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +2 -0
- package/vue3/src/hooks/components/use-popper/_popper-type.d.ts +91 -0
- package/vue3/src/hooks/components/use-popper/index.d.ts +32 -0
- package/vue3/src/hooks/element/use-document-visible/index.d.ts +3 -0
- package/vue3/src/hooks/element/use-element-size/index.d.ts +18 -0
- package/vue3/src/hooks/element/use-text-ellipsis/index.d.ts +4 -0
- package/vue3/src/hooks/exports.d.ts +46 -0
- package/vue3/src/hooks/interactive/use-bezier-momentum/index.d.ts +17 -0
- package/vue3/src/hooks/interactive/use-double-click/index.d.ts +13 -0
- package/vue3/src/hooks/interactive/use-fullscreen/index.d.ts +29 -0
- package/vue3/src/hooks/interactive/use-hover/index.d.ts +8 -0
- package/vue3/src/hooks/interactive/use-hover-visible/index.d.ts +27 -0
- package/vue3/src/hooks/interactive/use-mouse-wheel/index.d.ts +31 -0
- package/vue3/src/hooks/interactive/use-outside/index.d.ts +24 -0
- package/vue3/src/hooks/interactive/use-page-fullscreen/index.d.ts +6 -0
- package/vue3/src/hooks/interactive/use-press-hold/index.d.ts +28 -0
- package/vue3/src/hooks/interactive/use-screen-orientation/index.d.ts +25 -0
- package/vue3/src/hooks/interactive/use-scroll/index.d.ts +20 -0
- package/vue3/src/hooks/interactive/use-sound-effect/index.d.ts +6 -0
- package/vue3/src/hooks/interactive/use-vibrate/index.d.ts +7 -0
- package/vue3/src/hooks/pagination/types.d.ts +89 -0
- package/vue3/src/hooks/pagination/use-scroll-pagintaion/index.d.ts +37 -0
- package/vue3/src/hooks/pagination/use-static-pagination/index.d.ts +24 -0
- package/vue3/src/hooks/platform/weixin/load-wx-sdk.d.ts +9 -0
- package/vue3/src/hooks/platform/weixin/use-weixin-mini-program.d.ts +6 -0
- package/vue3/src/hooks/platform/weixin/use-weixin-sdk.d.ts +14 -0
- package/vue3/src/hooks/plugin/use-resize-observer/index.d.ts +13 -0
- package/vue3/src/hooks/tools/use-append-to/index.d.ts +7 -0
- package/vue3/src/hooks/tools/use-auto-listen/index.d.ts +30 -0
- package/vue3/src/hooks/tools/use-browser/index.d.ts +38 -0
- package/vue3/src/hooks/tools/use-clipboard/index.d.ts +4 -0
- package/vue3/src/hooks/tools/use-count-down/index.d.ts +60 -0
- package/vue3/src/hooks/tools/use-download/index.d.ts +6 -0
- package/vue3/src/hooks/tools/use-event-bus/index.d.ts +25 -0
- package/vue3/src/hooks/tools/use-event-listener/index.d.ts +40 -0
- package/vue3/src/hooks/tools/use-link-open/index.d.ts +3 -0
- package/vue3/src/hooks/tools/use-request-animation-frame/index.d.ts +5 -0
- package/vue3/src/hooks/tools/use-scroll-lock/index.d.ts +21 -0
- package/vue3/src/hooks/tools/use-set-interval/index.d.ts +20 -0
- package/vue3/src/hooks/tools/use-set-timeout/index.d.ts +20 -0
- package/vue3/src/hooks/tools/use-simple-visible/index.d.ts +58 -0
- package/vue3/src/hooks/tools/use-target-event-emitter/index.d.ts +15 -0
- package/vue3/src/hooks/tools/use-window-resize-listener/index.d.ts +32 -0
- package/vue3/src/hooks/tools/use-z-index/index.d.ts +29 -0
- package/vue3/src/hooks/vue/use-model-value/index.d.ts +13 -0
- package/vue3/src/hooks/vue/use-storage-ref/index.d.ts +3 -0
- package/vue3/src/hooks/vue/use-vue/index.d.ts +17 -0
- package/vue3/src/index.d.ts +6 -0
- package/vue3/src/interface/index.d.ts +15 -0
- package/vue3/src/lang/common/en.json.d.ts +18 -0
- package/vue3/src/lang/common/index.d.ts +4 -0
- package/vue3/src/lang/common/ja.json.d.ts +17 -0
- package/vue3/src/lang/common/ko.json.d.ts +17 -0
- package/vue3/src/lang/common/ru.json.d.ts +17 -0
- package/vue3/src/lang/common/zh-CN.json.d.ts +18 -0
- package/vue3/src/lang/common/zh-TW.json.d.ts +17 -0
- package/vue3/src/lang/exports.d.ts +2 -0
- package/vue3/src/lang/hook.d.ts +12 -0
- package/vue3/src/lang/internal/en.json.d.ts +45 -0
- package/vue3/src/lang/internal/index.d.ts +62 -0
- package/vue3/src/lang/internal/ja.json.d.ts +45 -0
- package/vue3/src/lang/internal/ko.json.d.ts +45 -0
- package/vue3/src/lang/internal/ru.json.d.ts +45 -0
- package/vue3/src/lang/internal/zh-CN.json.d.ts +45 -0
- package/vue3/src/lang/internal/zh-TW.json.d.ts +45 -0
- package/vue3/src/lang/types.d.ts +12 -0
- package/vue3/src/lang/utils.d.ts +1 -0
- package/vue3/src/plugins/async-validator/index.d.ts +3 -0
- package/vue3/src/plugins/exports.d.ts +2 -0
- package/vue3/src/plugins/svgaplayerweb/load-svga-player.d.ts +15 -0
- package/vue3/src/utils/dom.d.ts +5 -0
- package/vue3/src/utils/env.d.ts +1 -0
- package/vue3/src/vue-utils/emit-utils.d.ts +18 -0
- package/vue3/src/vue-utils/index.d.ts +21 -0
- package/vue3/src/vue-utils/props-utils.d.ts +59 -0
- package/vue3/src/vue-utils/version-compatible/types.d.ts +44 -0
- package/vue3/src/vue-utils/version-compatible/vue-version.d.ts +1 -0
- package/vue3/src/vue-utils/version-compatible/vue.d.ts +1 -0
- package/vue3/src/vue-utils/version-compatible/vue2.d.ts +2 -0
- package/vue3/src/vue-utils/version-compatible/vue3.d.ts +2 -0
- package/src/components/carousel/index.d.ts +0 -3
- package/src/components/exports.d.ts +0 -14
- package/src/components/icons/icons/arrow-down/index.d.ts +0 -6
- package/src/components/icons/icons/arrow-left/index.d.ts +0 -6
- package/src/components/icons/icons/arrow-right/index.d.ts +0 -6
- package/src/components/icons/icons/arrow-up/index.d.ts +0 -6
- package/src/components/icons/icons/check/index.d.ts +0 -6
- package/src/components/icons/icons/check-round-fill/index.d.ts +0 -6
- package/src/components/icons/icons/close/index.d.ts +0 -6
- package/src/components/icons/icons/close-round/index.d.ts +0 -6
- package/src/components/icons/icons/close-round-fill/index.d.ts +0 -6
- package/src/components/icons/icons/copy/index.d.ts +0 -6
- package/src/components/icons/icons/down-file/index.d.ts +0 -6
- package/src/components/icons/icons/down-load/index.d.ts +0 -6
- package/src/components/icons/icons/empty-prize/index.d.ts +0 -6
- package/src/components/icons/icons/error-round/index.d.ts +0 -6
- package/src/components/icons/icons/info-round-fill/index.d.ts +0 -6
- package/src/components/icons/icons/list/index.d.ts +0 -6
- package/src/components/icons/icons/loading/index.d.ts +0 -6
- package/src/components/icons/icons/question-round/index.d.ts +0 -6
- package/src/components/icons/icons/search/index.d.ts +0 -6
- package/src/components/icons/icons/success-round/index.d.ts +0 -6
- package/src/components/icons/icons/triangle-down/index.d.ts +0 -6
- package/src/components/icons/icons/triangle-up/index.d.ts +0 -6
- package/src/components/icons/icons/warning-round-fill/index.d.ts +0 -6
- package/src/components/icons/icons/zoom-in/index.d.ts +0 -6
- package/src/components/icons/icons/zoom-out/index.d.ts +0 -6
- package/src/hooks/components/use-image-preview/index.d.ts +0 -12
- package/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +0 -6
- package/src/hooks/interactive/use-hover/index.d.ts +0 -8
- package/src/hooks/plugin/use-svga-animation/index.d.ts +0 -25
- package/src/hooks/plugin/use-svga-player/index.d.ts +0 -24
- package/src/hooks/tools/use-append-to/index.d.ts +0 -7
- package/src/hooks/tools/use-body-locked/index.d.ts +0 -10
- package/src/hooks/tools/use-browser/index.d.ts +0 -22
- package/src/hooks/tools/use-copy-text/index.d.ts +0 -9
- package/src/hooks/tools/use-count-down/index.d.ts +0 -39
- package/src/hooks/tools/use-download/index.d.ts +0 -6
- package/src/hooks/tools/use-event-listener/index.d.ts +0 -2
- package/src/hooks/tools/use-set-interval/index.d.ts +0 -10
- package/src/hooks/tools/use-set-timeout/index.d.ts +0 -10
- package/src/hooks/tools/use-target-event-emitter/index.d.ts +0 -10
- package/src/hooks/tools/use-window-resize-listener/index.d.ts +0 -34
- package/src/hooks/vue/use-vue/index.d.ts +0 -30
- package/src/interface/index.d.ts +0 -4
- package/src/lang/internal/ko.json.d.ts +0 -21
- package/src/lang/internal/zh-CN.json.d.ts +0 -21
- package/src/lang/internal/zh-TW.json.d.ts +0 -21
- package/src/plugins/polyv-ui/mobile-import.d.ts +0 -2
- package/src/plugins/polyv-ui/types.d.ts +0 -19
- package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/_component/action-sheet.vue.d.ts +0 -0
- package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/hook.d.ts +0 -0
- package/{src/hooks/components/use-action-sheet → vue2/src/components/action-sheet}/index.d.ts +0 -0
- package/{src → vue2/src}/components/basic-countdown/basic-countdown.vue.d.ts +0 -0
- package/{src → vue2/src}/components/basic-countdown/index.d.ts +0 -0
- package/{src → vue2/src}/components/basic-countdown/use-basic-countdown.d.ts +0 -0
- package/{src/components → vue2/src/components/business}/normal-pendant/index.d.ts +0 -0
- package/{src/components → vue2/src/components/business}/normal-pendant/normal-pendant.vue.d.ts +0 -0
- package/{src/components → vue2/src/components/business}/reward-receive/index.d.ts +0 -0
- package/{src/components → vue2/src/components/business}/reward-receive/types/index.d.ts +0 -0
- package/{src → vue2/src}/components/button/button.vue.d.ts +2 -2
- package/{src → vue2/src}/components/button/index.d.ts +0 -0
- package/{src → vue2/src}/components/button/use-button.d.ts +0 -0
- package/{src → vue2/src}/components/category-select/index.d.ts +0 -0
- package/{src → vue2/src}/components/dropdown/dropdown-item.vue.d.ts +0 -0
- package/{src → vue2/src}/components/dropdown/dropdown-menu.vue.d.ts +0 -0
- package/{src → vue2/src}/components/dropdown/index.d.ts +0 -0
- package/{src → vue2/src}/components/empty/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/checkbox/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/form-item/form-item.vue.d.ts +0 -0
- package/{src → vue2/src}/components/form/form-item/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/form-submit-button/form-submit-button.vue.d.ts +3 -3
- package/{src → vue2/src}/components/form/form-submit-button/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/form-submit-button/use-form-submit-button.d.ts +0 -0
- package/{src → vue2/src}/components/form/form-wrap/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/hooks/use-form-common.d.ts +0 -0
- package/{src → vue2/src}/components/form/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/input/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/protocol/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/radio/index.d.ts +0 -0
- package/{src → vue2/src}/components/form/types/index.d.ts +0 -0
- package/{src → vue2/src}/components/loading/hook.d.ts +0 -0
- package/{src → vue2/src}/components/loading/index.d.ts +0 -0
- package/{src → vue2/src}/components/loading/loading-circle.vue.d.ts +0 -0
- package/{src → vue2/src}/components/loading/service.d.ts +0 -0
- package/{src/hooks/components/use-message-box → vue2/src/components/message-box}/index.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-append.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-back.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-config.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-draggable.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-height.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-scroll.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-visible.d.ts +0 -0
- package/{src → vue2/src}/components/popup/hooks/use-popup-width.d.ts +0 -0
- package/{src → vue2/src}/components/popup/index.d.ts +0 -0
- package/{src → vue2/src}/components/popup/types.d.ts +0 -0
- package/{src → vue2/src}/components/resize-box/index.d.ts +0 -0
- package/{src → vue2/src}/components/resize-box/resize-box.vue.d.ts +2 -2
- /package/{src → vue2/src}/components/resize-box/type.d.ts +0 -0
- /package/{src → vue2/src}/components/resize-box/use-resize-box.d.ts +0 -0
- /package/{src → vue2/src}/components/switch/index.d.ts +0 -0
- /package/{src/hooks/components/use-toast → vue2/src/components/toast}/hook.d.ts +0 -0
- /package/{src/hooks/components/use-toast → vue2/src/components/toast}/index.d.ts +0 -0
- /package/{src/hooks/components/use-toast → vue2/src/components/toast}/types.d.ts +0 -0
- /package/{src/plugins/svgaplayerweb → vue2/src/hooks/animation/use-svga-animation}/load-svga-player.d.ts +0 -0
- /package/{src → vue2/src}/hooks/business/use-request/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/business/use-resize-oss-image/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/business/use-skin-color/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/business/use-track-event/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +0 -0
- /package/{src → vue2/src}/hooks/components/use-popper/_hooks/use-popper-core.d.ts +0 -0
- /package/{src → vue2/src}/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +0 -0
- /package/{src → vue2/src}/hooks/components/use-popper/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/interactive/use-page-fullscreen/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/interactive/use-screen-orientation/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/interactive/use-scroll/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/interactive/use-sound-effect/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/pagination/use-static-pagination/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/platform/weixin/load-wx-sdk.d.ts +0 -0
- /package/{src → vue2/src}/hooks/platform/weixin/use-weixin-mini-program.d.ts +0 -0
- /package/{src → vue2/src}/hooks/platform/weixin/use-weixin-sdk.d.ts +0 -0
- /package/{src → vue2/src}/hooks/tools/use-link-open/index.d.ts +0 -0
- /package/{src → vue2/src}/hooks/vue/use-storage-ref/index.d.ts +0 -0
- /package/{src → vue2/src}/index.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/en.json.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/index.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/ja.json.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/ko.json.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/ru.json.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/zh-CN.json.d.ts +0 -0
- /package/{src → vue2/src}/lang/common/zh-TW.json.d.ts +0 -0
- /package/{src → vue2/src}/lang/exports.d.ts +0 -0
- /package/{src → vue2/src}/lang/hook.d.ts +0 -0
- /package/{src → vue2/src}/lang/types.d.ts +0 -0
- /package/{src → vue2/src}/lang/utils.d.ts +0 -0
- /package/{src → vue2/src}/plugins/async-validator/index.d.ts +0 -0
- /package/{src → vue2/src}/plugins/exports.d.ts +0 -0
- /package/{src → vue2/src}/utils/dom.d.ts +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
popperRef: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
rootEl: Element;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{}>>, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$scopedSlots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
referenceRef: (import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{}>>, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{}>>> & import('vue').ShallowUnwrapRef<() => import('vue').VNode[] | undefined> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{}>>) | null;
|
|
8
|
+
};
|
|
9
|
+
rootEl: Element;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{}>>, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$scopedSlots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
popperWrapRef: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
|
|
14
|
+
default: "click" | "hover" | "focus" | "long-press" | "custom";
|
|
15
|
+
};
|
|
16
|
+
placement: import('vue-types').VueTypeDef<"bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
17
|
+
default: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
18
|
+
};
|
|
19
|
+
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
offset: import('vue-types').VueTypeDef<import('../../hooks/components/use-popper').PopperOffset>;
|
|
23
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
beforeShowPopper: import('vue-types').VueTypeValidableDef<import('../../hooks/components/use-popper').BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<import('../../hooks/components/use-popper').BeforeShowPopper>>;
|
|
27
|
+
}, {
|
|
28
|
+
referenceRef: import('vue').Ref<any>;
|
|
29
|
+
popperRef: import('vue').Ref<any>;
|
|
30
|
+
popperVisible: import('vue').Ref<boolean>;
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
|
|
33
|
+
default: "click" | "hover" | "focus" | "long-press" | "custom";
|
|
34
|
+
};
|
|
35
|
+
placement: import('vue-types').VueTypeDef<"bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
36
|
+
default: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
37
|
+
};
|
|
38
|
+
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
offset: import('vue-types').VueTypeDef<import('../../hooks/components/use-popper').PopperOffset>;
|
|
42
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
beforeShowPopper: import('vue-types').VueTypeValidableDef<import('../../hooks/components/use-popper').BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<import('../../hooks/components/use-popper').BeforeShowPopper>>;
|
|
46
|
+
}>>, {
|
|
47
|
+
trigger: "click" | "hover" | "focus" | "long-press" | "custom";
|
|
48
|
+
placement: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
49
|
+
arrow: boolean;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$scopedSlots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BeforeShowPopper, PopperOffset } from '../../hooks/components/use-popper';
|
|
2
|
+
export declare const popperProps: () => {
|
|
3
|
+
/**
|
|
4
|
+
* 触发方式
|
|
5
|
+
* @default click
|
|
6
|
+
*/
|
|
7
|
+
trigger: import('vue-types').VueTypeDef<"click" | "hover" | "focus" | "long-press" | "custom"> & {
|
|
8
|
+
default: "click" | "hover" | "focus" | "long-press" | "custom";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 弹层位置
|
|
12
|
+
* @default bottom
|
|
13
|
+
*/
|
|
14
|
+
placement: import('vue-types').VueTypeDef<"bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"> & {
|
|
15
|
+
default: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 是否显示箭头
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
arrow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 偏移量
|
|
26
|
+
*/
|
|
27
|
+
offset: import('vue-types').VueTypeDef<PopperOffset>;
|
|
28
|
+
/**
|
|
29
|
+
* 是否禁用
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* 显示弹层前回调
|
|
37
|
+
*/
|
|
38
|
+
beforeShowPopper: import('vue-types').VueTypeValidableDef<BeforeShowPopper, import('vue-types/dist/types').ValidatorFunction<BeforeShowPopper>>;
|
|
39
|
+
};
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { PopupConfig, CustomClosePopup } from '../types';
|
|
2
|
+
export declare const popupProps: () => {
|
|
3
|
+
/**
|
|
4
|
+
* 是否显示,支持 v-model
|
|
5
|
+
*/
|
|
6
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* 标题
|
|
11
|
+
* @default ''
|
|
12
|
+
*/
|
|
13
|
+
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 标题样式
|
|
18
|
+
*/
|
|
19
|
+
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
20
|
+
default: () => import('vue').CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 背景模式
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
backgroundMode: import('vue-types').VueTypeDef<"bg1">;
|
|
27
|
+
/**
|
|
28
|
+
* 背景
|
|
29
|
+
*/
|
|
30
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 是否可以关闭
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
closeable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 是否显示返回按钮
|
|
42
|
+
*/
|
|
43
|
+
backable: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
44
|
+
/**
|
|
45
|
+
* 是否显示头部
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
showHeader: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* 头部样式
|
|
53
|
+
*/
|
|
54
|
+
headerStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
55
|
+
default: () => import('vue').CSSProperties;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* 头部 className
|
|
59
|
+
*/
|
|
60
|
+
headerClass: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 打开事件
|
|
65
|
+
*/
|
|
66
|
+
openEvent: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
67
|
+
/**
|
|
68
|
+
* 弹层位置,会根据设备类型自动选择位置
|
|
69
|
+
* @propType PopupPosition
|
|
70
|
+
*/
|
|
71
|
+
position: import('vue-types').VueTypeDef<"center" | "bottom" | "left" | "right">;
|
|
72
|
+
/**
|
|
73
|
+
* 在屏幕横屏时,强制使用的位置
|
|
74
|
+
* @propType PopupPosition
|
|
75
|
+
* @default 'right'
|
|
76
|
+
*/
|
|
77
|
+
horizontalScreenPosition: import('vue-types').VueTypeDef<"center" | "bottom" | "left" | "right"> & {
|
|
78
|
+
default: "center" | "bottom" | "left" | "right";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* 在屏幕横屏时,弹层 className
|
|
82
|
+
*/
|
|
83
|
+
horizontalScreenClassName: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* 宽度
|
|
88
|
+
*/
|
|
89
|
+
width: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
90
|
+
/**
|
|
91
|
+
* 高度
|
|
92
|
+
*/
|
|
93
|
+
height: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
94
|
+
/**
|
|
95
|
+
* 主体最大高度
|
|
96
|
+
* @default 0.85
|
|
97
|
+
*/
|
|
98
|
+
bodyMaxHeight: import('vue-types').VueTypeDef<string | number> & {
|
|
99
|
+
default: string | number;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* 主体高度百分比
|
|
103
|
+
*/
|
|
104
|
+
bodyHeightPercent: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
105
|
+
/**
|
|
106
|
+
* 是否使用滚动条动态高度,需要传入 bodyHeightPercent 后才生效,需要传入 bodyMaxHeight 且为 0~1 的数字后才生效
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
dynamicHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* 是否填充主体
|
|
114
|
+
* @default false
|
|
115
|
+
*/
|
|
116
|
+
fillBody: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* 主体样式
|
|
121
|
+
*/
|
|
122
|
+
bodyStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
123
|
+
default: () => import('vue').CSSProperties;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* 插入到的节点
|
|
127
|
+
*/
|
|
128
|
+
appendTo: import('vue-types').VueTypeDef<HTMLElement | undefined> & {
|
|
129
|
+
default: (() => HTMLElement) | undefined;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* 是否显示遮罩层,开启 draggable 时,强制关闭
|
|
133
|
+
*/
|
|
134
|
+
showModal: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
135
|
+
/**
|
|
136
|
+
* 点击遮罩是否关闭
|
|
137
|
+
* @default true
|
|
138
|
+
*/
|
|
139
|
+
closeOnMask: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* 弹层配置
|
|
144
|
+
*/
|
|
145
|
+
popupConfig: import('vue-types').VueTypeValidableDef<PopupConfig, import('vue-types/dist/types').ValidatorFunction<PopupConfig>>;
|
|
146
|
+
/**
|
|
147
|
+
* 是否显示滚动条
|
|
148
|
+
* @default true
|
|
149
|
+
*/
|
|
150
|
+
showScrollbar: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* 自定义关闭弹层
|
|
155
|
+
*/
|
|
156
|
+
customClose: import('vue-types').VueTypeValidableDef<CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<CustomClosePopup>>;
|
|
157
|
+
/**
|
|
158
|
+
* 窗口是否可以拖拽
|
|
159
|
+
* @description 仅 PC 端在 position 为 center 时有效
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
162
|
+
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* 用于计算定位的元素
|
|
167
|
+
* @default ''
|
|
168
|
+
*/
|
|
169
|
+
positionComputedElem: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* 打开后禁止 body 滚动
|
|
174
|
+
* @default false
|
|
175
|
+
*/
|
|
176
|
+
bodyLocked: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* 隐藏弹层阴影
|
|
181
|
+
* @default false
|
|
182
|
+
*/
|
|
183
|
+
hiddenShadow: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* 弹层动画
|
|
188
|
+
* @default true
|
|
189
|
+
*/
|
|
190
|
+
popupTransition: import('vue-types').VueTypeDef<string | boolean> & {
|
|
191
|
+
default: string | boolean;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
export declare const popupEmits: () => {
|
|
195
|
+
/**
|
|
196
|
+
* 弹层动画离开之后
|
|
197
|
+
*/
|
|
198
|
+
'after-leave': import('../../../vue-utils').EmitFuncType<void>;
|
|
199
|
+
/**
|
|
200
|
+
* 弹层动画进入之后
|
|
201
|
+
*/
|
|
202
|
+
'after-enter': import('../../../vue-utils').EmitFuncType<void>;
|
|
203
|
+
/**
|
|
204
|
+
* 点击返回
|
|
205
|
+
*/
|
|
206
|
+
'click-back': import('../../../vue-utils').EmitFuncType<void>;
|
|
207
|
+
};
|
|
208
|
+
export interface PopupSlots {
|
|
209
|
+
/**
|
|
210
|
+
* 头部插槽
|
|
211
|
+
*/
|
|
212
|
+
header: void;
|
|
213
|
+
/**
|
|
214
|
+
* 头部右侧插槽
|
|
215
|
+
*/
|
|
216
|
+
'header-right': void;
|
|
217
|
+
/**
|
|
218
|
+
* 标题插槽
|
|
219
|
+
*/
|
|
220
|
+
title: void;
|
|
221
|
+
/**
|
|
222
|
+
* 内容前缀插槽
|
|
223
|
+
*/
|
|
224
|
+
'content-suffix': void;
|
|
225
|
+
/**
|
|
226
|
+
* 内容插槽
|
|
227
|
+
*/
|
|
228
|
+
'-': void;
|
|
229
|
+
/**
|
|
230
|
+
* 脚步插槽
|
|
231
|
+
*/
|
|
232
|
+
footer: void;
|
|
233
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
import { popupProps } from './popup-props';
|
|
4
|
+
/**
|
|
5
|
+
* 弹层渲染节点 hook
|
|
6
|
+
*/
|
|
7
|
+
export declare const usePopupAppend: (options: {
|
|
8
|
+
props: VueProps<typeof popupProps>;
|
|
9
|
+
wrapRef: Ref<HTMLDivElement | undefined>;
|
|
10
|
+
}) => {
|
|
11
|
+
popupAppendTo: import('vue').ComputedRef<HTMLElement | undefined>;
|
|
12
|
+
appendStyle: import('vue').ComputedRef<Record<string, string>>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VueEmit, VueProps } from '../../../vue-utils';
|
|
2
|
+
import { popupEmits, popupProps } from './popup-props';
|
|
3
|
+
import { PopupBackActionData } from '../types';
|
|
4
|
+
export declare const usePopupBack: (options: {
|
|
5
|
+
props: VueProps<typeof popupProps>;
|
|
6
|
+
emit: VueEmit<typeof popupEmits>;
|
|
7
|
+
/** 调用关闭弹层 */
|
|
8
|
+
callbackCloseBody: () => void;
|
|
9
|
+
}) => {
|
|
10
|
+
onClickBack: () => void;
|
|
11
|
+
showBack: import('vue').ComputedRef<boolean | undefined>;
|
|
12
|
+
setupBackAction: (data?: PopupBackActionData) => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
|
+
import { PopupConfig } from '../types';
|
|
4
|
+
export declare const popupConfigProps: () => {
|
|
5
|
+
/**
|
|
6
|
+
* 弹层配置
|
|
7
|
+
*/
|
|
8
|
+
popupConfig: import('vue-types').VueTypeValidableDef<PopupConfig, import('vue-types/dist/types').ValidatorFunction<PopupConfig>>;
|
|
9
|
+
};
|
|
10
|
+
export interface PopupConfigInjectData {
|
|
11
|
+
popupConfig?: ComputedRef<PopupConfig | undefined>;
|
|
12
|
+
}
|
|
13
|
+
export declare const usePopupConfigProvide: (options: {
|
|
14
|
+
props: VueProps<typeof popupConfigProps>;
|
|
15
|
+
}) => void;
|
|
16
|
+
export declare const usePopupConfigInject: () => PopupConfigInjectData;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { popupProps } from './popup-props';
|
|
4
|
+
import { PopupPosition } from '../types';
|
|
5
|
+
export declare const usePopupDraggable: (options: {
|
|
6
|
+
props: VueProps<typeof popupProps>;
|
|
7
|
+
bodyRef: Ref<HTMLDivElement | undefined>;
|
|
8
|
+
headerRef: Ref<HTMLDivElement | undefined>;
|
|
9
|
+
bodyVisible: Ref<boolean>;
|
|
10
|
+
popupPosition: ComputedRef<PopupPosition>;
|
|
11
|
+
}) => {
|
|
12
|
+
canDraggable: ComputedRef<boolean>;
|
|
13
|
+
draggableStyle: ComputedRef<Record<string, string>>;
|
|
14
|
+
resetPosition: () => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { PopupPosition } from '../types';
|
|
4
|
+
import { popupProps } from './popup-props';
|
|
5
|
+
export declare const usePopupDynamicHeight: (options: {
|
|
6
|
+
props: VueProps<typeof popupProps>;
|
|
7
|
+
scrollRef: Ref<HTMLDivElement | undefined>;
|
|
8
|
+
popupPosition: ComputedRef<PopupPosition>;
|
|
9
|
+
wrapVisible: Ref<boolean>;
|
|
10
|
+
}) => {
|
|
11
|
+
canDynamicHeight: ComputedRef<boolean | 0 | undefined>;
|
|
12
|
+
dynamicBodyHeightPercent: ComputedRef<number>;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 弹层高度 hook
|
|
17
|
+
*/
|
|
18
|
+
export declare const usePopupHeight: (options: {
|
|
19
|
+
props: VueProps<typeof popupProps>;
|
|
20
|
+
scrollRef: Ref<HTMLDivElement | undefined>;
|
|
21
|
+
popupPosition: ComputedRef<PopupPosition>;
|
|
22
|
+
wrapVisible: Ref<boolean>;
|
|
23
|
+
}) => {
|
|
24
|
+
bodyHeightStyle: ComputedRef<Record<string, string>>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { popupProps } from './popup-props';
|
|
3
|
+
/**
|
|
4
|
+
* 弹层位置 hook
|
|
5
|
+
*/
|
|
6
|
+
export declare const usePopupPosition: (options: {
|
|
7
|
+
props: VueProps<typeof popupProps>;
|
|
8
|
+
}) => {
|
|
9
|
+
popupPosition: import('vue').ComputedRef<"center" | "bottom" | "left" | "right">;
|
|
10
|
+
positionClass: import('vue').ComputedRef<string>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { popupProps } from './popup-props';
|
|
3
|
+
export declare const usePopupScroll: (options: {
|
|
4
|
+
props: VueProps<typeof popupProps>;
|
|
5
|
+
}) => {
|
|
6
|
+
scrollRef: import('vue').Ref<HTMLDivElement | undefined>;
|
|
7
|
+
currentScrollTop: import('vue').Ref<number>;
|
|
8
|
+
resetScroll: () => Promise<void>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VueEmit, VueProps } from '../../../vue-utils';
|
|
2
|
+
import { popupEmits, popupProps } from './popup-props';
|
|
3
|
+
export declare const usePopupVisible: (options: {
|
|
4
|
+
props: VueProps<typeof popupProps>;
|
|
5
|
+
emit: VueEmit<typeof popupEmits>;
|
|
6
|
+
}) => {
|
|
7
|
+
wrapVisible: import('vue').Ref<boolean>;
|
|
8
|
+
bodyVisible: import('vue').Ref<boolean>;
|
|
9
|
+
onAfterLeave: () => void;
|
|
10
|
+
onAfterEnter: () => void;
|
|
11
|
+
openPopup: () => void;
|
|
12
|
+
closePopup: () => void;
|
|
13
|
+
closeBody: () => void;
|
|
14
|
+
onClickMask: () => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VueProps } from '../../../vue-utils';
|
|
2
|
+
import { popupProps } from './popup-props';
|
|
3
|
+
import { PopupPosition } from '../types';
|
|
4
|
+
import { ComputedRef } from 'vue';
|
|
5
|
+
export declare const usePopupWidth: (options: {
|
|
6
|
+
props: VueProps<typeof popupProps>;
|
|
7
|
+
popupPosition: ComputedRef<PopupPosition>;
|
|
8
|
+
}) => {
|
|
9
|
+
bodyWidthStyle: ComputedRef<Record<string, string>>;
|
|
10
|
+
};
|