@polyv/vue-components 1.2.3 → 1.4.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 +4 -1
- package/styles/mixins.scss +1 -0
- package/styles/variables.scss +6 -0
- package/vue2/index.es.js +17568 -9522
- package/vue2/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +19 -2
- package/vue2/src/components/animation/bubble-animation/hooks/props-define.d.ts +30 -0
- package/vue2/src/components/business/data-export/data-export-entrance/use-data-export-entrance.d.ts +2 -2
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +1 -1
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +65 -0
- package/vue2/src/components/button/button.vue.d.ts +9 -1
- package/vue2/src/components/button/use-button.d.ts +13 -1
- 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 +10 -10
- package/vue2/src/components/dropdown/use-dropdown.d.ts +6 -6
- package/vue2/src/components/exports.d.ts +4 -1
- 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 +6 -7
- 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 +3 -8
- package/vue2/src/components/form/checkbox/checkbox-group.vue.d.ts +21 -7
- package/vue2/src/components/form/checkbox/checkbox.vue.d.ts +7 -0
- package/vue2/src/components/form/checkbox/index.d.ts +1 -0
- package/vue2/src/components/form/checkbox/type.d.ts +0 -7
- package/vue2/src/components/form/checkbox/use-checkbox-group.d.ts +39 -0
- package/vue2/src/components/form/checkbox/use-checkbox.d.ts +9 -9
- package/vue2/src/components/form/date-picker/components/date-presets/date-presets.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/components/date-select/date-select-header.vue.d.ts +24 -0
- package/vue2/src/components/form/date-picker/components/date-select/date-select.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/components/picker-popper/pick-popper.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/components/picker-reference/date-range-reference.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/components/picker-reference/date-reference.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/components/picker-reference/picker-reference.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/components/time-select/time-select-column.vue.d.ts +17 -0
- package/vue2/src/components/form/date-picker/components/time-select/time-select.vue.d.ts +2 -0
- package/vue2/src/components/form/date-picker/date-picker.vue.d.ts +76 -0
- package/vue2/src/components/form/date-picker/hooks/picker-types/common.d.ts +54 -0
- package/vue2/src/components/form/date-picker/hooks/picker-types/use-date-input.d.ts +22 -0
- package/vue2/src/components/form/date-picker/hooks/picker-types/use-date-range-type.d.ts +19 -0
- package/vue2/src/components/form/date-picker/hooks/picker-types/use-date-type.d.ts +23 -0
- package/vue2/src/components/form/date-picker/hooks/picker-types/use-date-value-item.d.ts +24 -0
- package/vue2/src/components/form/date-picker/hooks/props-define.d.ts +76 -0
- package/vue2/src/components/form/date-picker/hooks/use-date-input.d.ts +16 -0
- package/vue2/src/components/form/date-picker/hooks/use-date-limit.d.ts +10 -0
- package/vue2/src/components/form/date-picker/hooks/use-date-picker.d.ts +40 -0
- package/vue2/src/components/form/date-picker/hooks/use-picker-value.d.ts +12 -0
- package/vue2/src/components/form/date-picker/hooks/use-year-month.d.ts +10 -0
- package/vue2/src/components/form/date-picker/index.d.ts +3 -0
- package/vue2/src/components/form/date-picker/types/index.d.ts +19 -0
- package/vue2/src/components/form/date-picker/utils/date-utils.d.ts +34 -0
- package/vue2/src/components/form/form-item/form-item.vue.d.ts +26 -2
- package/vue2/src/components/form/form-item/hooks/use-item-label.d.ts +10 -0
- package/vue2/src/components/form/form-item/use-form-item.d.ts +27 -19
- package/vue2/src/components/form/form-submit-button/form-submit-button.vue.d.ts +8 -1
- package/vue2/src/components/form/form-submit-button/use-form-submit-button.d.ts +3 -0
- package/vue2/src/components/form/form-wrap/form-wrap.vue.d.ts +8 -14
- package/vue2/src/components/form/form-wrap/use-form-wrap.d.ts +17 -16
- package/vue2/src/components/form/hooks/use-form-clearable.d.ts +25 -0
- package/vue2/src/components/form/hooks/use-form-entrance.d.ts +65 -0
- package/vue2/src/components/form/image-upload/hooks/props-define.d.ts +83 -0
- package/vue2/src/components/form/image-upload/hooks/types.d.ts +44 -0
- package/vue2/src/components/form/image-upload/hooks/use-file-input.d.ts +7 -0
- package/vue2/src/components/form/image-upload/hooks/use-image-upload.d.ts +66 -0
- package/vue2/src/components/form/image-upload/hooks/use-upload-controller.d.ts +41 -0
- package/vue2/src/components/form/image-upload/image-upload.vue.d.ts +87 -0
- package/vue2/src/components/form/image-upload/index.d.ts +3 -0
- package/vue2/src/components/form/image-upload/upload-item.vue.d.ts +26 -0
- package/vue2/src/components/form/index.d.ts +5 -0
- package/vue2/src/components/form/input/input.vue.d.ts +28 -28
- package/vue2/src/components/form/input/use-input.d.ts +26 -35
- package/vue2/src/components/form/input-number/index.d.ts +2 -0
- package/vue2/src/components/form/input-number/input-number.vue.d.ts +72 -0
- package/vue2/src/components/form/input-number/props-define.d.ts +54 -0
- package/vue2/src/components/form/input-number/use-input-number.d.ts +14 -0
- package/vue2/src/components/form/radio/index.d.ts +1 -0
- package/vue2/src/components/form/radio/radio-group.vue.d.ts +20 -5
- package/vue2/src/components/form/radio/radio.vue.d.ts +10 -1
- package/vue2/src/components/form/radio/type.d.ts +0 -6
- package/vue2/src/components/form/radio/use-radio-group.d.ts +37 -0
- package/vue2/src/components/form/radio/use-radio.d.ts +14 -7
- package/vue2/src/components/form/select/index.d.ts +3 -0
- package/vue2/src/components/form/select/select.vue.d.ts +60 -0
- package/vue2/src/components/form/select/type.d.ts +19 -0
- package/vue2/src/components/form/select/use-select.d.ts +56 -0
- package/{vue3/src/components → vue2/src/components/form}/switch/switch.vue.d.ts +14 -12
- package/{vue3/src/components → vue2/src/components/form}/switch/use-switch.d.ts +10 -15
- package/vue2/src/components/form/types/index.d.ts +27 -2
- package/vue2/src/components/icons/icons/calendar/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/create/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/delete/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/minus/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/three-dot/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/upload/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +6 -0
- 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/loading.vue.d.ts +3 -1
- package/vue2/src/components/loading/types.d.ts +5 -1
- package/vue2/src/components/loading/use-loading-component.d.ts +4 -0
- package/vue2/src/components/message-box/_component/message-box-element.vue.d.ts +3 -3
- package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +16 -26
- 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/popper/popper-reference.vue.d.ts +1 -3
- package/vue2/src/components/popper/popper.vue.d.ts +11 -11
- package/vue2/src/components/popper/props-define.d.ts +4 -4
- package/vue2/src/components/popup/hooks/popup-props.d.ts +11 -0
- package/vue2/src/components/popup/hooks/use-popup-draggable.d.ts +1 -1
- package/vue2/src/components/popup/popup.vue.d.ts +10 -3
- package/vue2/src/components/slot/index.d.ts +6 -1
- package/vue2/src/components/swiper/hooks/swiper-props.d.ts +32 -6
- package/vue2/src/components/swiper/hooks/use-swiper-slide.d.ts +8 -1
- package/vue2/src/components/swiper/hooks/use-swiper-wrapper.d.ts +1 -0
- package/vue2/src/components/swiper/swiper-slide.vue.d.ts +5 -1
- package/vue2/src/components/swiper/swiper.vue.d.ts +7 -1
- package/vue2/src/components/table/components/render-slot.d.ts +10 -0
- package/vue2/src/components/table/components/scroll/horizontal-scrollbar.vue.d.ts +2 -0
- package/vue2/src/components/table/components/scroll/vertical-scrollbar.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-body-cell/body-cell-index.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-body-cell/body-cell-multiple.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-body-cell/body-cell-single.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-body-cell/body-cell-tags.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-body-cell/table-body-cell.vue.d.ts +10 -0
- package/vue2/src/components/table/components/table-body-cell/use-table-body-cell-class.d.ts +9 -0
- package/vue2/src/components/table/components/table-body-cell/use-table-body-cell-hover.d.ts +2 -0
- package/vue2/src/components/table/components/table-body-cell/use-table-body-cell.d.ts +27 -0
- package/vue2/src/components/table/components/table-body-row/table-body-row.vue.d.ts +22 -0
- package/vue2/src/components/table/components/table-body-row/use-table-body-row-class.d.ts +7 -0
- package/vue2/src/components/table/components/table-body-row/use-table-body-row.d.ts +25 -0
- package/vue2/src/components/table/components/table-body.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-colgroup/table-colgroup.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-fixed-shadow.vue.d.ts +10 -0
- package/vue2/src/components/table/components/table-footer/table-pagination.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-header/table-header.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-header/use-table-header-structure.d.ts +4 -0
- package/vue2/src/components/table/components/table-header-cell/header-cell-multiple.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-header-cell/header-cell-sort.vue.d.ts +2 -0
- package/vue2/src/components/table/components/table-header-cell/table-header-cell.vue.d.ts +10 -0
- package/vue2/src/components/table/components/table-header-cell/use-table-header-cell-class.d.ts +4 -0
- package/vue2/src/components/table/components/table-header-cell/use-table-header-cell.d.ts +21 -0
- package/vue2/src/components/table/hooks/props-define.d.ts +234 -0
- package/vue2/src/components/table/hooks/table-data/use-row-key.d.ts +8 -0
- package/vue2/src/components/table/hooks/table-data/use-table-multiple.d.ts +10 -0
- package/vue2/src/components/table/hooks/table-data/use-table-single.d.ts +8 -0
- package/vue2/src/components/table/hooks/use-table/use-column-computed.d.ts +55 -0
- package/vue2/src/components/table/hooks/use-table/use-column-list.d.ts +99 -0
- package/vue2/src/components/table/hooks/use-table/use-table-element.d.ts +35 -0
- package/vue2/src/components/table/hooks/use-table/use-table-pagination.d.ts +12 -0
- package/vue2/src/components/table/hooks/use-table/use-table-render-data.d.ts +13 -0
- package/vue2/src/components/table/hooks/use-table/use-table-scroll.d.ts +28 -0
- package/vue2/src/components/table/hooks/use-table/use-table-status.d.ts +29 -0
- package/vue2/src/components/table/hooks/use-table/use-table.d.ts +195 -0
- package/vue2/src/components/table/hooks/use-table-column/use-column-children.d.ts +56 -0
- package/vue2/src/components/table/hooks/use-table-column/use-column-index.d.ts +14 -0
- package/vue2/src/components/table/hooks/use-table-column/use-column-slot.d.ts +16 -0
- package/vue2/src/components/table/hooks/use-table-column/use-column-sort.d.ts +24 -0
- package/vue2/src/components/table/hooks/use-table-column/use-column-sticky.d.ts +17 -0
- package/vue2/src/components/table/hooks/use-table-column/use-column-width.d.ts +14 -0
- package/vue2/src/components/table/hooks/use-table-column/use-table-column.d.ts +20 -0
- package/vue2/src/components/table/index.d.ts +4 -0
- package/vue2/src/components/table/table-column.vue.d.ts +80 -0
- package/vue2/src/components/table/table.vue.d.ts +182 -0
- package/vue2/src/components/table/types/index.d.ts +78 -0
- package/vue2/src/components/table/utils/index.d.ts +3 -0
- package/vue2/src/components/tag/index.d.ts +2 -0
- package/vue2/src/components/tag/props-define.d.ts +66 -0
- package/vue2/src/components/tag/tag.vue.d.ts +37 -0
- package/vue2/src/components/toast/_component/toast-element.vue.d.ts +1 -1
- package/vue2/src/components/tooltip/directive.d.ts +12 -0
- package/vue2/src/components/tooltip/index.d.ts +1 -0
- package/vue2/src/components/tooltip/tooltip-popper.vue.d.ts +8 -0
- package/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -24
- package/vue2/src/components/tooltip/use-tooltip.d.ts +10 -2
- package/vue2/src/hooks/animation/use-special-effect/index.d.ts +19 -0
- package/vue2/src/hooks/business/use-app-unique-id/index.d.ts +12 -0
- package/vue2/src/hooks/business/use-app-user-agent/index.d.ts +14 -0
- package/vue2/src/hooks/business/use-config-provider/index.d.ts +0 -18
- package/vue2/src/hooks/business/use-nickname/index.d.ts +3 -0
- package/vue2/src/hooks/business/use-page-fullscreen/index.d.ts +14 -0
- package/vue2/src/hooks/business/use-resize-oss-image/index.d.ts +2 -1
- package/vue2/src/hooks/business/use-server/index.d.ts +4 -4
- package/vue2/src/hooks/business/use-short-number/index.d.ts +3 -0
- package/vue2/src/hooks/business/use-skin-color/index.d.ts +20 -1
- package/vue2/src/hooks/business/use-track-event/index.d.ts +8 -0
- package/vue2/src/hooks/components/use-auto-topmost/index.d.ts +19 -6
- package/vue2/src/hooks/components/use-popper/_hooks/common.d.ts +4 -0
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-append.d.ts +2 -0
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +2 -2
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-core.d.ts +4 -4
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-element.d.ts +7 -0
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +2 -2
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-size.d.ts +2 -0
- package/vue2/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +1 -1
- package/vue2/src/hooks/components/use-popper/_popper-type.d.ts +106 -48
- package/vue2/src/hooks/components/use-popper/index.d.ts +2 -28
- package/vue2/src/hooks/element/use-append-to/index.d.ts +7 -0
- package/vue2/src/hooks/element/use-element-size/index.d.ts +4 -1
- package/vue2/src/hooks/{tools → element}/use-event-listener/index.d.ts +1 -1
- package/vue2/src/hooks/element/use-overflow-count/index.d.ts +30 -0
- package/vue2/src/hooks/{plugin → element}/use-resize-observer/index.d.ts +1 -7
- package/vue2/src/hooks/{tools → element}/use-scroll-lock/index.d.ts +2 -2
- package/vue2/src/hooks/element/use-text-ellipsis/index.d.ts +2 -2
- package/vue2/src/hooks/exports.d.ts +15 -4
- package/vue2/src/hooks/interactive/use-fullscreen/index.d.ts +26 -25
- package/vue2/src/hooks/interactive/use-fullscreen/types.d.ts +19 -0
- package/vue2/src/hooks/interactive/use-hover/index.d.ts +16 -4
- package/vue2/src/hooks/interactive/use-hover-visible/index.d.ts +24 -7
- package/vue2/src/hooks/interactive/use-outside/common.d.ts +9 -0
- package/vue2/src/hooks/interactive/use-outside/index.d.ts +3 -24
- package/vue2/src/hooks/interactive/use-outside/types.d.ts +18 -0
- package/vue2/src/hooks/interactive/use-outside/use-click-outside.d.ts +8 -0
- package/vue2/src/hooks/interactive/use-outside/use-mouse-outside.d.ts +2 -0
- package/vue2/src/hooks/interactive/use-press-hold/index.d.ts +5 -0
- package/vue2/src/hooks/interactive/use-screen-orientation/index.d.ts +14 -13
- package/vue2/src/hooks/interactive/use-scroll/index.d.ts +42 -12
- package/vue2/src/hooks/interactive/use-sound-effect/index.d.ts +1 -1
- package/vue2/src/hooks/pagination/use-scroll-pagintaion/index.d.ts +2 -2
- package/vue2/src/hooks/state/create-global-store/index.d.ts +6 -0
- package/vue2/src/hooks/tools/use-event-bus/index.d.ts +18 -1
- package/vue2/src/hooks/tools/use-queue/index.d.ts +29 -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 +1 -0
- package/vue2/src/index.d.ts +1 -0
- package/vue2/src/lang/common/en.json.d.ts +2 -1
- package/vue2/src/lang/common/ja.json.d.ts +2 -1
- package/vue2/src/lang/common/ko.json.d.ts +2 -1
- package/vue2/src/lang/common/ru.json.d.ts +2 -1
- package/vue2/src/lang/common/zh-CN.json.d.ts +2 -1
- package/vue2/src/lang/common/zh-TW.json.d.ts +2 -1
- package/vue2/src/lang/hook.d.ts +8 -0
- package/vue2/src/lang/internal/en.json.d.ts +64 -0
- package/vue2/src/lang/internal/index.d.ts +65 -0
- package/vue2/src/lang/internal/ja.json.d.ts +64 -0
- package/vue2/src/lang/internal/ko.json.d.ts +64 -0
- package/vue2/src/lang/internal/ru.json.d.ts +64 -0
- package/vue2/src/lang/internal/zh-CN.json.d.ts +64 -0
- package/vue2/src/lang/internal/zh-TW.json.d.ts +64 -0
- package/vue2/src/utils/dom.d.ts +5 -0
- package/vue2/src/vue-utils/index.d.ts +4 -4
- package/vue2/src/vue-utils/props-utils.d.ts +1 -0
- package/vue2/src/vue-utils/version-compatible/types.d.ts +1 -0
- package/vue3/index.es.js +17566 -9514
- package/vue3/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +19 -2
- package/vue3/src/components/animation/bubble-animation/hooks/props-define.d.ts +30 -0
- package/vue3/src/components/business/data-export/data-export-entrance/use-data-export-entrance.d.ts +2 -2
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +1 -1
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +65 -0
- package/vue3/src/components/button/button.vue.d.ts +9 -1
- package/vue3/src/components/button/use-button.d.ts +13 -1
- 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 +10 -10
- package/vue3/src/components/dropdown/use-dropdown.d.ts +6 -6
- package/vue3/src/components/exports.d.ts +4 -1
- 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 +6 -7
- 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 +3 -8
- package/vue3/src/components/form/checkbox/checkbox-group.vue.d.ts +21 -7
- package/vue3/src/components/form/checkbox/checkbox.vue.d.ts +7 -0
- package/vue3/src/components/form/checkbox/index.d.ts +1 -0
- package/vue3/src/components/form/checkbox/type.d.ts +0 -7
- package/vue3/src/components/form/checkbox/use-checkbox-group.d.ts +39 -0
- package/vue3/src/components/form/checkbox/use-checkbox.d.ts +9 -9
- package/vue3/src/components/form/date-picker/components/date-presets/date-presets.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/components/date-select/date-select-header.vue.d.ts +24 -0
- package/vue3/src/components/form/date-picker/components/date-select/date-select.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/components/picker-popper/pick-popper.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/components/picker-reference/date-range-reference.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/components/picker-reference/date-reference.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/components/picker-reference/picker-reference.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/components/time-select/time-select-column.vue.d.ts +17 -0
- package/vue3/src/components/form/date-picker/components/time-select/time-select.vue.d.ts +2 -0
- package/vue3/src/components/form/date-picker/date-picker.vue.d.ts +76 -0
- package/vue3/src/components/form/date-picker/hooks/picker-types/common.d.ts +54 -0
- package/vue3/src/components/form/date-picker/hooks/picker-types/use-date-input.d.ts +22 -0
- package/vue3/src/components/form/date-picker/hooks/picker-types/use-date-range-type.d.ts +19 -0
- package/vue3/src/components/form/date-picker/hooks/picker-types/use-date-type.d.ts +23 -0
- package/vue3/src/components/form/date-picker/hooks/picker-types/use-date-value-item.d.ts +24 -0
- package/vue3/src/components/form/date-picker/hooks/props-define.d.ts +76 -0
- package/vue3/src/components/form/date-picker/hooks/use-date-input.d.ts +16 -0
- package/vue3/src/components/form/date-picker/hooks/use-date-limit.d.ts +10 -0
- package/vue3/src/components/form/date-picker/hooks/use-date-picker.d.ts +40 -0
- package/vue3/src/components/form/date-picker/hooks/use-picker-value.d.ts +12 -0
- package/vue3/src/components/form/date-picker/hooks/use-year-month.d.ts +10 -0
- package/vue3/src/components/form/date-picker/index.d.ts +3 -0
- package/vue3/src/components/form/date-picker/types/index.d.ts +19 -0
- package/vue3/src/components/form/date-picker/utils/date-utils.d.ts +34 -0
- package/vue3/src/components/form/form-item/form-item.vue.d.ts +26 -2
- package/vue3/src/components/form/form-item/hooks/use-item-label.d.ts +10 -0
- package/vue3/src/components/form/form-item/use-form-item.d.ts +27 -19
- package/vue3/src/components/form/form-submit-button/form-submit-button.vue.d.ts +8 -1
- package/vue3/src/components/form/form-submit-button/use-form-submit-button.d.ts +3 -0
- package/vue3/src/components/form/form-wrap/form-wrap.vue.d.ts +8 -14
- package/vue3/src/components/form/form-wrap/use-form-wrap.d.ts +17 -16
- package/vue3/src/components/form/hooks/use-form-clearable.d.ts +25 -0
- package/vue3/src/components/form/hooks/use-form-entrance.d.ts +65 -0
- package/vue3/src/components/form/image-upload/hooks/props-define.d.ts +83 -0
- package/vue3/src/components/form/image-upload/hooks/types.d.ts +44 -0
- package/vue3/src/components/form/image-upload/hooks/use-file-input.d.ts +7 -0
- package/vue3/src/components/form/image-upload/hooks/use-image-upload.d.ts +66 -0
- package/vue3/src/components/form/image-upload/hooks/use-upload-controller.d.ts +41 -0
- package/vue3/src/components/form/image-upload/image-upload.vue.d.ts +87 -0
- package/vue3/src/components/form/image-upload/index.d.ts +3 -0
- package/vue3/src/components/form/image-upload/upload-item.vue.d.ts +26 -0
- package/vue3/src/components/form/index.d.ts +5 -0
- package/vue3/src/components/form/input/input.vue.d.ts +28 -28
- package/vue3/src/components/form/input/use-input.d.ts +26 -35
- package/vue3/src/components/form/input-number/index.d.ts +2 -0
- package/vue3/src/components/form/input-number/input-number.vue.d.ts +72 -0
- package/vue3/src/components/form/input-number/props-define.d.ts +54 -0
- package/vue3/src/components/form/input-number/use-input-number.d.ts +14 -0
- package/vue3/src/components/form/radio/index.d.ts +1 -0
- package/vue3/src/components/form/radio/radio-group.vue.d.ts +20 -5
- package/vue3/src/components/form/radio/radio.vue.d.ts +10 -1
- package/vue3/src/components/form/radio/type.d.ts +0 -6
- package/vue3/src/components/form/radio/use-radio-group.d.ts +37 -0
- package/vue3/src/components/form/radio/use-radio.d.ts +14 -7
- package/vue3/src/components/form/select/index.d.ts +3 -0
- package/vue3/src/components/form/select/select.vue.d.ts +60 -0
- package/vue3/src/components/form/select/type.d.ts +19 -0
- package/vue3/src/components/form/select/use-select.d.ts +56 -0
- package/{vue2/src/components → vue3/src/components/form}/switch/switch.vue.d.ts +14 -12
- package/{vue2/src/components → vue3/src/components/form}/switch/use-switch.d.ts +10 -15
- package/vue3/src/components/form/types/index.d.ts +27 -2
- package/vue3/src/components/icons/icons/calendar/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/create/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/delete/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/minus/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/three-dot/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/upload/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +6 -0
- 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/loading.vue.d.ts +3 -1
- package/vue3/src/components/loading/types.d.ts +5 -1
- package/vue3/src/components/loading/use-loading-component.d.ts +4 -0
- package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +3 -3
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +16 -26
- 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/popper/popper-reference.vue.d.ts +1 -3
- package/vue3/src/components/popper/popper.vue.d.ts +11 -11
- package/vue3/src/components/popper/props-define.d.ts +4 -4
- package/vue3/src/components/popup/hooks/popup-props.d.ts +11 -0
- package/vue3/src/components/popup/hooks/use-popup-draggable.d.ts +1 -1
- package/vue3/src/components/popup/popup.vue.d.ts +10 -3
- package/vue3/src/components/slot/index.d.ts +6 -1
- package/vue3/src/components/swiper/hooks/swiper-props.d.ts +32 -6
- package/vue3/src/components/swiper/hooks/use-swiper-slide.d.ts +8 -1
- package/vue3/src/components/swiper/hooks/use-swiper-wrapper.d.ts +1 -0
- package/vue3/src/components/swiper/swiper-slide.vue.d.ts +5 -1
- package/vue3/src/components/swiper/swiper.vue.d.ts +7 -1
- package/vue3/src/components/table/components/render-slot.d.ts +10 -0
- package/vue3/src/components/table/components/scroll/horizontal-scrollbar.vue.d.ts +2 -0
- package/vue3/src/components/table/components/scroll/vertical-scrollbar.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-body-cell/body-cell-index.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-body-cell/body-cell-multiple.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-body-cell/body-cell-single.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-body-cell/body-cell-tags.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-body-cell/table-body-cell.vue.d.ts +10 -0
- package/vue3/src/components/table/components/table-body-cell/use-table-body-cell-class.d.ts +9 -0
- package/vue3/src/components/table/components/table-body-cell/use-table-body-cell-hover.d.ts +2 -0
- package/vue3/src/components/table/components/table-body-cell/use-table-body-cell.d.ts +27 -0
- package/vue3/src/components/table/components/table-body-row/table-body-row.vue.d.ts +22 -0
- package/vue3/src/components/table/components/table-body-row/use-table-body-row-class.d.ts +7 -0
- package/vue3/src/components/table/components/table-body-row/use-table-body-row.d.ts +25 -0
- package/vue3/src/components/table/components/table-body.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-colgroup/table-colgroup.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-fixed-shadow.vue.d.ts +10 -0
- package/vue3/src/components/table/components/table-footer/table-pagination.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-header/table-header.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-header/use-table-header-structure.d.ts +4 -0
- package/vue3/src/components/table/components/table-header-cell/header-cell-multiple.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-header-cell/header-cell-sort.vue.d.ts +2 -0
- package/vue3/src/components/table/components/table-header-cell/table-header-cell.vue.d.ts +10 -0
- package/vue3/src/components/table/components/table-header-cell/use-table-header-cell-class.d.ts +4 -0
- package/vue3/src/components/table/components/table-header-cell/use-table-header-cell.d.ts +21 -0
- package/vue3/src/components/table/hooks/props-define.d.ts +234 -0
- package/vue3/src/components/table/hooks/table-data/use-row-key.d.ts +8 -0
- package/vue3/src/components/table/hooks/table-data/use-table-multiple.d.ts +10 -0
- package/vue3/src/components/table/hooks/table-data/use-table-single.d.ts +8 -0
- package/vue3/src/components/table/hooks/use-table/use-column-computed.d.ts +55 -0
- package/vue3/src/components/table/hooks/use-table/use-column-list.d.ts +99 -0
- package/vue3/src/components/table/hooks/use-table/use-table-element.d.ts +35 -0
- package/vue3/src/components/table/hooks/use-table/use-table-pagination.d.ts +12 -0
- package/vue3/src/components/table/hooks/use-table/use-table-render-data.d.ts +13 -0
- package/vue3/src/components/table/hooks/use-table/use-table-scroll.d.ts +28 -0
- package/vue3/src/components/table/hooks/use-table/use-table-status.d.ts +29 -0
- package/vue3/src/components/table/hooks/use-table/use-table.d.ts +195 -0
- package/vue3/src/components/table/hooks/use-table-column/use-column-children.d.ts +56 -0
- package/vue3/src/components/table/hooks/use-table-column/use-column-index.d.ts +14 -0
- package/vue3/src/components/table/hooks/use-table-column/use-column-slot.d.ts +16 -0
- package/vue3/src/components/table/hooks/use-table-column/use-column-sort.d.ts +24 -0
- package/vue3/src/components/table/hooks/use-table-column/use-column-sticky.d.ts +17 -0
- package/vue3/src/components/table/hooks/use-table-column/use-column-width.d.ts +14 -0
- package/vue3/src/components/table/hooks/use-table-column/use-table-column.d.ts +20 -0
- package/vue3/src/components/table/index.d.ts +4 -0
- package/vue3/src/components/table/table-column.vue.d.ts +80 -0
- package/vue3/src/components/table/table.vue.d.ts +182 -0
- package/vue3/src/components/table/types/index.d.ts +78 -0
- package/vue3/src/components/table/utils/index.d.ts +3 -0
- package/vue3/src/components/tag/index.d.ts +2 -0
- package/vue3/src/components/tag/props-define.d.ts +66 -0
- package/vue3/src/components/tag/tag.vue.d.ts +37 -0
- package/vue3/src/components/toast/_component/toast-element.vue.d.ts +1 -1
- package/vue3/src/components/tooltip/directive.d.ts +12 -0
- package/vue3/src/components/tooltip/index.d.ts +1 -0
- package/vue3/src/components/tooltip/tooltip-popper.vue.d.ts +8 -0
- package/vue3/src/components/tooltip/tooltip.vue.d.ts +24 -24
- package/vue3/src/components/tooltip/use-tooltip.d.ts +10 -2
- package/vue3/src/hooks/animation/use-special-effect/index.d.ts +19 -0
- package/vue3/src/hooks/business/use-app-unique-id/index.d.ts +12 -0
- package/vue3/src/hooks/business/use-app-user-agent/index.d.ts +14 -0
- package/vue3/src/hooks/business/use-config-provider/index.d.ts +0 -18
- package/vue3/src/hooks/business/use-nickname/index.d.ts +3 -0
- package/vue3/src/hooks/business/use-page-fullscreen/index.d.ts +14 -0
- package/vue3/src/hooks/business/use-resize-oss-image/index.d.ts +2 -1
- package/vue3/src/hooks/business/use-server/index.d.ts +4 -4
- package/vue3/src/hooks/business/use-short-number/index.d.ts +3 -0
- package/vue3/src/hooks/business/use-skin-color/index.d.ts +20 -1
- package/vue3/src/hooks/business/use-track-event/index.d.ts +8 -0
- package/vue3/src/hooks/components/use-auto-topmost/index.d.ts +19 -6
- package/vue3/src/hooks/components/use-popper/_hooks/common.d.ts +4 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-append.d.ts +2 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +2 -2
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-core.d.ts +4 -4
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-element.d.ts +7 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +2 -2
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-size.d.ts +2 -0
- package/vue3/src/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +1 -1
- package/vue3/src/hooks/components/use-popper/_popper-type.d.ts +106 -48
- package/vue3/src/hooks/components/use-popper/index.d.ts +2 -28
- package/vue3/src/hooks/element/use-append-to/index.d.ts +7 -0
- package/vue3/src/hooks/element/use-element-size/index.d.ts +4 -1
- package/vue3/src/hooks/{tools → element}/use-event-listener/index.d.ts +1 -1
- package/vue3/src/hooks/element/use-overflow-count/index.d.ts +30 -0
- package/vue3/src/hooks/{plugin → element}/use-resize-observer/index.d.ts +1 -7
- package/vue3/src/hooks/{tools → element}/use-scroll-lock/index.d.ts +2 -2
- package/vue3/src/hooks/element/use-text-ellipsis/index.d.ts +2 -2
- package/vue3/src/hooks/exports.d.ts +15 -4
- package/vue3/src/hooks/interactive/use-fullscreen/index.d.ts +26 -25
- package/vue3/src/hooks/interactive/use-fullscreen/types.d.ts +19 -0
- package/vue3/src/hooks/interactive/use-hover/index.d.ts +16 -4
- package/vue3/src/hooks/interactive/use-hover-visible/index.d.ts +24 -7
- package/vue3/src/hooks/interactive/use-outside/common.d.ts +9 -0
- package/vue3/src/hooks/interactive/use-outside/index.d.ts +3 -24
- package/vue3/src/hooks/interactive/use-outside/types.d.ts +18 -0
- package/vue3/src/hooks/interactive/use-outside/use-click-outside.d.ts +8 -0
- package/vue3/src/hooks/interactive/use-outside/use-mouse-outside.d.ts +2 -0
- package/vue3/src/hooks/interactive/use-press-hold/index.d.ts +5 -0
- package/vue3/src/hooks/interactive/use-screen-orientation/index.d.ts +14 -13
- package/vue3/src/hooks/interactive/use-scroll/index.d.ts +42 -12
- package/vue3/src/hooks/interactive/use-sound-effect/index.d.ts +1 -1
- package/vue3/src/hooks/pagination/use-scroll-pagintaion/index.d.ts +2 -2
- package/vue3/src/hooks/state/create-global-store/index.d.ts +6 -0
- package/vue3/src/hooks/tools/use-event-bus/index.d.ts +18 -1
- package/vue3/src/hooks/tools/use-queue/index.d.ts +29 -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 +1 -0
- package/vue3/src/index.d.ts +1 -0
- package/vue3/src/lang/common/en.json.d.ts +2 -1
- package/vue3/src/lang/common/ja.json.d.ts +2 -1
- package/vue3/src/lang/common/ko.json.d.ts +2 -1
- package/vue3/src/lang/common/ru.json.d.ts +2 -1
- package/vue3/src/lang/common/zh-CN.json.d.ts +2 -1
- package/vue3/src/lang/common/zh-TW.json.d.ts +2 -1
- package/vue3/src/lang/hook.d.ts +8 -0
- package/vue3/src/lang/internal/en.json.d.ts +64 -0
- package/vue3/src/lang/internal/index.d.ts +65 -0
- package/vue3/src/lang/internal/ja.json.d.ts +64 -0
- package/vue3/src/lang/internal/ko.json.d.ts +64 -0
- package/vue3/src/lang/internal/ru.json.d.ts +64 -0
- package/vue3/src/lang/internal/zh-CN.json.d.ts +64 -0
- package/vue3/src/lang/internal/zh-TW.json.d.ts +64 -0
- package/vue3/src/utils/dom.d.ts +5 -0
- package/vue3/src/vue-utils/index.d.ts +4 -4
- package/vue3/src/vue-utils/props-utils.d.ts +1 -0
- package/vue3/src/vue-utils/version-compatible/types.d.ts +1 -0
- package/vue2/src/components/form/hooks/use-form-common.d.ts +0 -36
- package/vue2/src/hooks/interactive/use-page-fullscreen/index.d.ts +0 -6
- package/vue2/src/hooks/platform/weixin/load-wx-sdk.d.ts +0 -9
- package/vue2/src/hooks/tools/use-append-to/index.d.ts +0 -7
- package/vue3/src/components/form/hooks/use-form-common.d.ts +0 -36
- package/vue3/src/hooks/interactive/use-page-fullscreen/index.d.ts +0 -6
- package/vue3/src/hooks/platform/weixin/load-wx-sdk.d.ts +0 -9
- package/vue3/src/hooks/tools/use-append-to/index.d.ts +0 -7
- /package/vue2/src/components/{switch → form/switch}/index.d.ts +0 -0
- /package/vue2/src/{hooks/interactive/use-bezier-momentum/index.d.ts → components/zoom-container/hooks/use-bezier-momentum.d.ts} +0 -0
- /package/vue3/src/components/{switch → form/switch}/index.d.ts +0 -0
- /package/vue3/src/{hooks/interactive/use-bezier-momentum/index.d.ts → components/zoom-container/hooks/use-bezier-momentum.d.ts} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type SelectValue = string | number | boolean;
|
|
2
|
+
export interface SelectOptionItem<V extends SelectValue = SelectValue> {
|
|
3
|
+
/**
|
|
4
|
+
* 选项标签
|
|
5
|
+
*/
|
|
6
|
+
label: string;
|
|
7
|
+
/**
|
|
8
|
+
* 选项值
|
|
9
|
+
*/
|
|
10
|
+
value: V;
|
|
11
|
+
/**
|
|
12
|
+
* 是否隐藏
|
|
13
|
+
*/
|
|
14
|
+
hidden?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 是否禁用
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { SelectOptionItem, SelectValue } from './type';
|
|
2
|
+
export declare const selectProps: () => {
|
|
3
|
+
/**
|
|
4
|
+
* 选项列表
|
|
5
|
+
*/
|
|
6
|
+
options: import('vue-types').VueTypeValidableDef<SelectOptionItem<SelectValue>[], import('vue-types/dist/types').ValidatorFunction<SelectOptionItem<SelectValue>[]>> & {
|
|
7
|
+
default: () => SelectOptionItem<SelectValue>[];
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* 输入框占位
|
|
11
|
+
* @default ''
|
|
12
|
+
*/
|
|
13
|
+
placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 多选
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
multiple: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* 最大选择数量
|
|
25
|
+
* @default Infinity
|
|
26
|
+
*/
|
|
27
|
+
max: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* 搜索
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
search: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
size: import('vue-types').VueTypeValidableDef<import('..').FormSize, import('vue-types/dist/types').ValidatorFunction<import('..').FormSize>>;
|
|
38
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
39
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
40
|
+
business: import('vue-types').VueTypeValidableDef<import('..').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('..').FormBusiness>>;
|
|
41
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* 绑定值,支持 v-model
|
|
46
|
+
*/
|
|
47
|
+
"v-model-key": import('vue-types').VueTypeDef<SelectValue | SelectValue[]>;
|
|
48
|
+
};
|
|
49
|
+
export declare const selectEmits: () => {
|
|
50
|
+
/**
|
|
51
|
+
* 选择值变化
|
|
52
|
+
* @cbName 选择值
|
|
53
|
+
* @cbType SelectValue
|
|
54
|
+
*/
|
|
55
|
+
change: import('../../../vue-utils').EmitFuncType<SelectValue | SelectValue[]>;
|
|
56
|
+
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
+
import { FormSize } from '../types';
|
|
1
2
|
declare const _default: import('vue').DefineComponent<{
|
|
2
3
|
"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
4
|
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
7
5
|
default: import('./use-switch').SwitchValue;
|
|
8
6
|
};
|
|
@@ -15,16 +13,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
15
13
|
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
16
14
|
default: string;
|
|
17
15
|
};
|
|
18
|
-
size: import('vue-types').
|
|
19
|
-
|
|
16
|
+
size: import('vue-types').VueTypeValidableDef<FormSize, import('vue-types/dist/types').ValidatorFunction<FormSize>>;
|
|
17
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
18
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
19
|
+
business: import('vue-types').VueTypeValidableDef<import('../types').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('../types').FormBusiness>>;
|
|
20
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
+
default: boolean;
|
|
20
22
|
};
|
|
21
23
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
24
|
change: (arg: import('./use-switch').SwitchValue) => void;
|
|
23
25
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
24
26
|
"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
27
|
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
29
28
|
default: import('./use-switch').SwitchValue;
|
|
30
29
|
};
|
|
@@ -37,12 +36,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
37
36
|
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
38
37
|
default: string;
|
|
39
38
|
};
|
|
40
|
-
size: import('vue-types').
|
|
41
|
-
|
|
39
|
+
size: import('vue-types').VueTypeValidableDef<FormSize, import('vue-types/dist/types').ValidatorFunction<FormSize>>;
|
|
40
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
41
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
42
|
+
business: import('vue-types').VueTypeValidableDef<import('../types').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('../types').FormBusiness>>;
|
|
43
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
44
|
+
default: boolean;
|
|
42
45
|
};
|
|
43
46
|
}>>, {
|
|
44
|
-
|
|
45
|
-
disabled: boolean;
|
|
47
|
+
validateForm: boolean;
|
|
46
48
|
activeValue: import('./use-switch').SwitchValue;
|
|
47
49
|
inactiveValue: import('./use-switch').SwitchValue;
|
|
48
50
|
activeColor: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueEmit, VueProps } from '
|
|
1
|
+
import { VueEmit, VueProps } from '../../../vue-utils';
|
|
2
2
|
export type SwitchValue = boolean | number | string;
|
|
3
3
|
declare const switchSizes: readonly ["default", "medium", "mini"];
|
|
4
4
|
export type SwitchSize = (typeof switchSizes)[number];
|
|
@@ -7,13 +7,6 @@ export declare const switchProps: () => {
|
|
|
7
7
|
* 是否选中,支持 v-model
|
|
8
8
|
*/
|
|
9
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
10
|
/**
|
|
18
11
|
* 激活值
|
|
19
12
|
* @default true
|
|
@@ -40,12 +33,12 @@ export declare const switchProps: () => {
|
|
|
40
33
|
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
41
34
|
default: string;
|
|
42
35
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
default:
|
|
36
|
+
size: import('vue-types').VueTypeValidableDef<import('..').FormSize, import('vue-types/dist/types').ValidatorFunction<import('..').FormSize>>;
|
|
37
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
38
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
39
|
+
business: import('vue-types').VueTypeValidableDef<import('..').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('..').FormBusiness>>;
|
|
40
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
41
|
+
default: boolean;
|
|
49
42
|
};
|
|
50
43
|
};
|
|
51
44
|
export declare const switchEmits: () => {
|
|
@@ -54,13 +47,15 @@ export declare const switchEmits: () => {
|
|
|
54
47
|
* @cbName 开关值
|
|
55
48
|
* @cbType SwitchValue
|
|
56
49
|
*/
|
|
57
|
-
change: import('
|
|
50
|
+
change: import('../../../vue-utils').EmitFuncType<SwitchValue>;
|
|
58
51
|
};
|
|
59
52
|
export declare const useSwitch: (options: {
|
|
60
53
|
props: VueProps<typeof switchProps>;
|
|
61
54
|
emit: VueEmit<typeof switchEmits>;
|
|
62
55
|
}) => {
|
|
63
56
|
isOpened: import('vue').ComputedRef<boolean>;
|
|
57
|
+
disabled: import('vue').ComputedRef<boolean>;
|
|
58
|
+
readonly: import('vue').ComputedRef<boolean>;
|
|
64
59
|
switchStyle: import('vue').ComputedRef<{
|
|
65
60
|
backgroundColor: string;
|
|
66
61
|
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FormItemInstance } from '../form-item';
|
|
1
2
|
/** 表单尺寸 */
|
|
2
3
|
export declare enum FormSize {
|
|
3
4
|
/**
|
|
@@ -14,14 +15,38 @@ export declare enum FormSize {
|
|
|
14
15
|
* 小
|
|
15
16
|
* @height 32px
|
|
16
17
|
*/
|
|
17
|
-
Small = "small"
|
|
18
|
+
Small = "small",
|
|
19
|
+
/**
|
|
20
|
+
* 迷你
|
|
21
|
+
* @height 24px
|
|
22
|
+
*/
|
|
23
|
+
Mini = "mini"
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* 表单业务类型
|
|
27
|
+
*/
|
|
28
|
+
export declare enum FormBusiness {
|
|
29
|
+
/**
|
|
30
|
+
* 常规
|
|
31
|
+
*/
|
|
32
|
+
Normal = "normal",
|
|
33
|
+
/**
|
|
34
|
+
* 管理后台
|
|
35
|
+
*/
|
|
36
|
+
Admin = "admin"
|
|
18
37
|
}
|
|
19
38
|
/**
|
|
20
39
|
* 表单验证选项
|
|
21
40
|
*/
|
|
22
41
|
export interface FormValidateOptions {
|
|
23
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* 是否显示异常消息
|
|
44
|
+
*/
|
|
24
45
|
showErrorMessage?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 验证失败回调
|
|
48
|
+
*/
|
|
49
|
+
validateFailedCallback?: (formItem: FormItemInstance) => unknown;
|
|
25
50
|
}
|
|
26
51
|
export declare const formItemLabelModels: readonly ["inline", "header"];
|
|
27
52
|
/** 表单节点 label 样式,inline-行内,header-头部 */
|
|
@@ -10,12 +10,15 @@ export { default as PwcIconArrowDown } from './icons/arrow-down';
|
|
|
10
10
|
export { default as PwcIconArrowLeft } from './icons/arrow-left';
|
|
11
11
|
export { default as PwcIconArrowRight } from './icons/arrow-right';
|
|
12
12
|
export { default as PwcIconArrowUp } from './icons/arrow-up';
|
|
13
|
+
export { default as PwcIconCalendar } from './icons/calendar';
|
|
13
14
|
export { default as PwcIconCheck } from './icons/check';
|
|
14
15
|
export { default as PwcIconCheckRoundFill } from './icons/check-round-fill';
|
|
15
16
|
export { default as PwcIconClose } from './icons/close';
|
|
16
17
|
export { default as PwcIconCloseRound } from './icons/close-round';
|
|
17
18
|
export { default as PwcIconCloseRoundFill } from './icons/close-round-fill';
|
|
18
19
|
export { default as PwcIconCopy } from './icons/copy';
|
|
20
|
+
export { default as PwcIconCreate } from './icons/create';
|
|
21
|
+
export { default as PwcIconDelete } from './icons/delete';
|
|
19
22
|
export { default as PwcIconDownFile } from './icons/down-file';
|
|
20
23
|
export { default as PwcIconDownLoad } from './icons/down-load';
|
|
21
24
|
export { default as PwcIconEmptyPrize } from './icons/empty-prize';
|
|
@@ -24,11 +27,14 @@ export { default as PwcIconExport } from './icons/export';
|
|
|
24
27
|
export { default as PwcIconInfoRoundFill } from './icons/info-round-fill';
|
|
25
28
|
export { default as PwcIconList } from './icons/list';
|
|
26
29
|
export { default as PwcIconLoading } from './icons/loading';
|
|
30
|
+
export { default as PwcIconMinus } from './icons/minus';
|
|
27
31
|
export { default as PwcIconQuestionRound } from './icons/question-round';
|
|
28
32
|
export { default as PwcIconSearch } from './icons/search';
|
|
29
33
|
export { default as PwcIconSuccessRound } from './icons/success-round';
|
|
34
|
+
export { default as PwcIconThreeDot } from './icons/three-dot';
|
|
30
35
|
export { default as PwcIconTriangleDown } from './icons/triangle-down';
|
|
31
36
|
export { default as PwcIconTriangleUp } from './icons/triangle-up';
|
|
37
|
+
export { default as PwcIconUpload } from './icons/upload';
|
|
32
38
|
export { default as PwcIconWarningRoundFill } from './icons/warning-round-fill';
|
|
33
39
|
export { default as PwcIconZoomIn } from './icons/zoom-in';
|
|
34
40
|
export { default as PwcIconZoomOut } from './icons/zoom-out';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'image-overlay'?(_: {}): any;
|
|
5
|
+
name?(_: {}): any;
|
|
6
|
+
description?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
14
|
+
imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
imageHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
imageRadius: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
name: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
24
|
+
description: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
25
|
+
tags: import('vue-types').VueTypeValidableDef<import('./props-define').InfoCardTagItem[], import('vue-types/dist/types').ValidatorFunction<import('./props-define').InfoCardTagItem[]>> & {
|
|
26
|
+
default: () => import('./props-define').InfoCardTagItem[];
|
|
27
|
+
};
|
|
28
|
+
idValue: import('vue-types').VueTypeDef<string | number | boolean> & {
|
|
29
|
+
default: string | number | boolean;
|
|
30
|
+
};
|
|
31
|
+
idLabel: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
36
|
+
imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
imageHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
imageRadius: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
name: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
46
|
+
description: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
47
|
+
tags: import('vue-types').VueTypeValidableDef<import('./props-define').InfoCardTagItem[], import('vue-types/dist/types').ValidatorFunction<import('./props-define').InfoCardTagItem[]>> & {
|
|
48
|
+
default: () => import('./props-define').InfoCardTagItem[];
|
|
49
|
+
};
|
|
50
|
+
idValue: import('vue-types').VueTypeDef<string | number | boolean> & {
|
|
51
|
+
default: string | number | boolean;
|
|
52
|
+
};
|
|
53
|
+
idLabel: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
}>>, {
|
|
57
|
+
tags: import('./props-define').InfoCardTagItem[];
|
|
58
|
+
imageWidth: number;
|
|
59
|
+
imageHeight: number;
|
|
60
|
+
imageRadius: string;
|
|
61
|
+
idValue: string | number | boolean;
|
|
62
|
+
idLabel: string;
|
|
63
|
+
}>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$scopedSlots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { TagType } from '../tag';
|
|
2
|
+
export interface InfoCardTagItem {
|
|
3
|
+
/**
|
|
4
|
+
* 标签类型
|
|
5
|
+
*/
|
|
6
|
+
type: TagType;
|
|
7
|
+
/**
|
|
8
|
+
* 标签文本
|
|
9
|
+
*/
|
|
10
|
+
text: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const infoCardProps: () => {
|
|
13
|
+
/**
|
|
14
|
+
* 图片
|
|
15
|
+
*/
|
|
16
|
+
image: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
17
|
+
/**
|
|
18
|
+
* 图片宽度
|
|
19
|
+
* @default 60
|
|
20
|
+
*/
|
|
21
|
+
imageWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 图片高度
|
|
26
|
+
* @default 60
|
|
27
|
+
*/
|
|
28
|
+
imageHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* 图片圆角
|
|
33
|
+
* @default '4px'
|
|
34
|
+
*/
|
|
35
|
+
imageRadius: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* 名称
|
|
40
|
+
*/
|
|
41
|
+
name: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
42
|
+
/**
|
|
43
|
+
* 描述
|
|
44
|
+
*/
|
|
45
|
+
description: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
46
|
+
/**
|
|
47
|
+
* 标签列表
|
|
48
|
+
*/
|
|
49
|
+
tags: import('vue-types').VueTypeValidableDef<InfoCardTagItem[], import('vue-types/dist/types').ValidatorFunction<InfoCardTagItem[]>> & {
|
|
50
|
+
default: () => InfoCardTagItem[];
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* id 值
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
idValue: import('vue-types').VueTypeDef<string | number | boolean> & {
|
|
57
|
+
default: string | number | boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* id 名
|
|
61
|
+
* @default 'ID'
|
|
62
|
+
*/
|
|
63
|
+
idLabel: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export interface InfoCardSlots {
|
|
68
|
+
/**
|
|
69
|
+
* 图片覆盖层插槽
|
|
70
|
+
*/
|
|
71
|
+
'image-overlay': void;
|
|
72
|
+
/**
|
|
73
|
+
* 标题
|
|
74
|
+
*/
|
|
75
|
+
'name': void;
|
|
76
|
+
/**
|
|
77
|
+
* 描述
|
|
78
|
+
*/
|
|
79
|
+
'description': void;
|
|
80
|
+
}
|
|
@@ -9,6 +9,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
9
9
|
type: import('vue-types').VueTypeDef<"circle" | "dot"> & {
|
|
10
10
|
default: "circle" | "dot";
|
|
11
11
|
};
|
|
12
|
+
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
12
13
|
}, {
|
|
13
14
|
topmostElem: () => Promise<void>;
|
|
14
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -22,9 +23,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
23
|
type: import('vue-types').VueTypeDef<"circle" | "dot"> & {
|
|
23
24
|
default: "circle" | "dot";
|
|
24
25
|
};
|
|
26
|
+
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
25
27
|
}>>, {
|
|
26
28
|
type: "circle" | "dot";
|
|
27
|
-
size: number | "auto";
|
|
28
29
|
color: string;
|
|
30
|
+
size: number | "auto";
|
|
29
31
|
}>;
|
|
30
32
|
export default _default;
|
|
@@ -23,4 +23,8 @@ export declare const loadingProps: () => {
|
|
|
23
23
|
type: import('vue-types').VueTypeDef<"circle" | "dot"> & {
|
|
24
24
|
default: "circle" | "dot";
|
|
25
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* 文案
|
|
28
|
+
*/
|
|
29
|
+
text: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
26
30
|
};
|
|
@@ -39,8 +39,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
-
confirm: (arg?: string | void | undefined) => void;
|
|
43
42
|
cancel: (arg?: void | undefined) => void;
|
|
43
|
+
confirm: (arg?: string | void | undefined) => void;
|
|
44
44
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
45
45
|
message: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
46
46
|
default: string;
|
|
@@ -83,9 +83,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
83
83
|
};
|
|
84
84
|
}>>, {
|
|
85
85
|
type: string;
|
|
86
|
-
description: string;
|
|
87
86
|
message: string;
|
|
87
|
+
description: string;
|
|
88
88
|
placeholder: string;
|
|
89
|
+
defaultValue: string;
|
|
89
90
|
showCancelButton: boolean;
|
|
90
91
|
showConfirmButton: boolean;
|
|
91
92
|
cancelButtonType: import('../../button').ButtonType;
|
|
@@ -93,7 +94,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
93
94
|
confirmButtonText: string;
|
|
94
95
|
confirmButtonType: import('../../button').ButtonType;
|
|
95
96
|
showInput: boolean;
|
|
96
|
-
defaultValue: string;
|
|
97
97
|
requireMessage: string;
|
|
98
98
|
}>;
|
|
99
99
|
export default _default;
|
|
@@ -71,13 +71,11 @@ export declare const useMessageBoxElement: (options: {
|
|
|
71
71
|
labelHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
72
72
|
contentWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
73
73
|
submitAction: import('vue-types').VueTypeValidableDef<import('../../form').FormSubmitAction, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSubmitAction>>;
|
|
74
|
-
labelModel: import('vue-types').VueTypeDef<"header" | "inline"
|
|
75
|
-
default: "header" | "inline";
|
|
76
|
-
};
|
|
77
|
-
debug: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
74
|
+
labelModel: import('vue-types').VueTypeDef<"header" | "inline">;
|
|
80
75
|
size: import('vue-types').VueTypeValidableDef<import('../../form').FormSize, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSize>>;
|
|
76
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
77
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
78
|
+
business: import('vue-types').VueTypeValidableDef<import('../../form').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormBusiness>>;
|
|
81
79
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
82
80
|
formData: import('vue-types').VueTypeValidableDef<import('../../..').UniversalParams, import('vue-types/dist/types').ValidatorFunction<import('../../..').UniversalParams>> & {
|
|
83
81
|
default: () => import('../../..').UniversalParams;
|
|
@@ -89,20 +87,16 @@ export declare const useMessageBoxElement: (options: {
|
|
|
89
87
|
labelHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
90
88
|
contentWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
91
89
|
submitAction: import('vue-types').VueTypeValidableDef<import('../../form').FormSubmitAction, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSubmitAction>>;
|
|
92
|
-
labelModel: import('vue-types').VueTypeDef<"header" | "inline"
|
|
93
|
-
default: "header" | "inline";
|
|
94
|
-
};
|
|
95
|
-
debug: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
96
|
-
default: boolean;
|
|
97
|
-
};
|
|
90
|
+
labelModel: import('vue-types').VueTypeDef<"header" | "inline">;
|
|
98
91
|
size: import('vue-types').VueTypeValidableDef<import('../../form').FormSize, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSize>>;
|
|
92
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
93
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
94
|
+
business: import('vue-types').VueTypeValidableDef<import('../../form').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormBusiness>>;
|
|
99
95
|
}>>, {
|
|
100
96
|
"submit-form": (arg: import('../../..').UniversalParams) => void;
|
|
101
97
|
}, {
|
|
102
98
|
formData: import('../../..').UniversalParams;
|
|
103
99
|
formRules: ValidatorRules;
|
|
104
|
-
labelModel: "header" | "inline";
|
|
105
|
-
debug: boolean;
|
|
106
100
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
107
101
|
formData: import('vue-types').VueTypeValidableDef<import('../../..').UniversalParams, import('vue-types/dist/types').ValidatorFunction<import('../../..').UniversalParams>> & {
|
|
108
102
|
default: () => import('../../..').UniversalParams;
|
|
@@ -114,13 +108,11 @@ export declare const useMessageBoxElement: (options: {
|
|
|
114
108
|
labelHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
115
109
|
contentWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
116
110
|
submitAction: import('vue-types').VueTypeValidableDef<import('../../form').FormSubmitAction, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSubmitAction>>;
|
|
117
|
-
labelModel: import('vue-types').VueTypeDef<"header" | "inline"
|
|
118
|
-
default: "header" | "inline";
|
|
119
|
-
};
|
|
120
|
-
debug: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
111
|
+
labelModel: import('vue-types').VueTypeDef<"header" | "inline">;
|
|
123
112
|
size: import('vue-types').VueTypeValidableDef<import('../../form').FormSize, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSize>>;
|
|
113
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
114
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
115
|
+
business: import('vue-types').VueTypeValidableDef<import('../../form').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormBusiness>>;
|
|
124
116
|
}>>> & import('vue').ShallowUnwrapRef<{
|
|
125
117
|
validateCurrentForm: (validateOptions?: import('../../form').FormValidateOptions) => Promise<void>;
|
|
126
118
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -134,13 +126,11 @@ export declare const useMessageBoxElement: (options: {
|
|
|
134
126
|
labelHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
135
127
|
contentWidth: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
136
128
|
submitAction: import('vue-types').VueTypeValidableDef<import('../../form').FormSubmitAction, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSubmitAction>>;
|
|
137
|
-
labelModel: import('vue-types').VueTypeDef<"header" | "inline"
|
|
138
|
-
default: "header" | "inline";
|
|
139
|
-
};
|
|
140
|
-
debug: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
141
|
-
default: boolean;
|
|
142
|
-
};
|
|
129
|
+
labelModel: import('vue-types').VueTypeDef<"header" | "inline">;
|
|
143
130
|
size: import('vue-types').VueTypeValidableDef<import('../../form').FormSize, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormSize>>;
|
|
131
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
132
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
133
|
+
business: import('vue-types').VueTypeValidableDef<import('../../form').FormBusiness, import('vue-types/dist/types').ValidatorFunction<import('../../form').FormBusiness>>;
|
|
144
134
|
}>> & {
|
|
145
135
|
$scopedSlots: {
|
|
146
136
|
default?(_: {}): any;
|