@polyv/vue-components 1.3.0 → 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 +10688 -3110
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +57 -0
- package/vue2/src/components/button/button.vue.d.ts +7 -0
- package/vue2/src/components/button/use-button.d.ts +7 -0
- package/vue2/src/components/category-select/category-select-item.vue.d.ts +9 -1
- package/vue2/src/components/category-select/use-category-select.d.ts +6 -0
- package/vue2/src/components/dropdown/use-dropdown.d.ts +2 -2
- package/vue2/src/components/exports.d.ts +4 -0
- package/vue2/src/components/form/_common/form-base.vue.d.ts +37 -0
- package/vue2/src/components/form/area-picker/area-picker.vue.d.ts +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/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 +2 -15
- 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 +21 -0
- 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 +23 -11
- package/vue2/src/components/form/form-submit-button/form-submit-button.vue.d.ts +7 -0
- 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 -7
- package/vue2/src/components/form/form-wrap/use-form-wrap.d.ts +14 -7
- 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 +4 -0
- package/vue2/src/components/form/input/input.vue.d.ts +13 -21
- package/vue2/src/components/form/input/use-input.d.ts +12 -33
- 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/vue2/src/components/form/switch/switch.vue.d.ts +14 -12
- package/vue2/src/components/form/switch/use-switch.d.ts +8 -13
- package/vue2/src/components/form/types/index.d.ts +19 -1
- 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/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 +5 -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/message-box/_component/message-box-element.vue.d.ts +1 -1
- package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +16 -13
- 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.vue.d.ts +1 -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/tooltip/tooltip.vue.d.ts +1 -1
- package/vue2/src/components/tooltip/use-tooltip.d.ts +7 -1
- package/vue2/src/hooks/business/use-app-user-agent/index.d.ts +14 -0
- package/vue2/src/hooks/business/use-skin-color/index.d.ts +8 -0
- package/vue2/src/hooks/components/use-popper/_popper-type.d.ts +8 -0
- package/vue2/src/hooks/element/use-overflow-count/index.d.ts +30 -0
- package/vue2/src/hooks/exports.d.ts +2 -0
- package/vue2/src/hooks/tools/use-event-bus/index.d.ts +9 -0
- package/vue2/src/hooks/tools/use-task-queue/index.d.ts +33 -0
- package/vue2/src/hooks/vue/use-model-value/index.d.ts +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/internal/en.json.d.ts +56 -0
- package/vue2/src/lang/internal/index.d.ts +57 -0
- package/vue2/src/lang/internal/ja.json.d.ts +56 -0
- package/vue2/src/lang/internal/ko.json.d.ts +56 -0
- package/vue2/src/lang/internal/ru.json.d.ts +56 -0
- package/vue2/src/lang/internal/zh-CN.json.d.ts +56 -0
- package/vue2/src/lang/internal/zh-TW.json.d.ts +56 -0
- package/vue2/src/utils/dom.d.ts +5 -0
- package/vue3/index.es.js +10686 -3108
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +57 -0
- package/vue3/src/components/button/button.vue.d.ts +7 -0
- package/vue3/src/components/button/use-button.d.ts +7 -0
- package/vue3/src/components/category-select/category-select-item.vue.d.ts +9 -1
- package/vue3/src/components/category-select/use-category-select.d.ts +6 -0
- package/vue3/src/components/dropdown/use-dropdown.d.ts +2 -2
- package/vue3/src/components/exports.d.ts +4 -0
- package/vue3/src/components/form/_common/form-base.vue.d.ts +37 -0
- package/vue3/src/components/form/area-picker/area-picker.vue.d.ts +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/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 +2 -15
- 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 +21 -0
- 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 +23 -11
- package/vue3/src/components/form/form-submit-button/form-submit-button.vue.d.ts +7 -0
- 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 -7
- package/vue3/src/components/form/form-wrap/use-form-wrap.d.ts +14 -7
- 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 +4 -0
- package/vue3/src/components/form/input/input.vue.d.ts +13 -21
- package/vue3/src/components/form/input/use-input.d.ts +12 -33
- 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/vue3/src/components/form/switch/switch.vue.d.ts +14 -12
- package/vue3/src/components/form/switch/use-switch.d.ts +8 -13
- package/vue3/src/components/form/types/index.d.ts +19 -1
- 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/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 +5 -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/message-box/_component/message-box-element.vue.d.ts +1 -1
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +16 -13
- 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.vue.d.ts +1 -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/tooltip/tooltip.vue.d.ts +1 -1
- package/vue3/src/components/tooltip/use-tooltip.d.ts +7 -1
- package/vue3/src/hooks/business/use-app-user-agent/index.d.ts +14 -0
- package/vue3/src/hooks/business/use-skin-color/index.d.ts +8 -0
- package/vue3/src/hooks/components/use-popper/_popper-type.d.ts +8 -0
- package/vue3/src/hooks/element/use-overflow-count/index.d.ts +30 -0
- package/vue3/src/hooks/exports.d.ts +2 -0
- package/vue3/src/hooks/tools/use-event-bus/index.d.ts +9 -0
- package/vue3/src/hooks/tools/use-task-queue/index.d.ts +33 -0
- package/vue3/src/hooks/vue/use-model-value/index.d.ts +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/internal/en.json.d.ts +56 -0
- package/vue3/src/lang/internal/index.d.ts +57 -0
- package/vue3/src/lang/internal/ja.json.d.ts +56 -0
- package/vue3/src/lang/internal/ko.json.d.ts +56 -0
- package/vue3/src/lang/internal/ru.json.d.ts +56 -0
- package/vue3/src/lang/internal/zh-CN.json.d.ts +56 -0
- package/vue3/src/lang/internal/zh-TW.json.d.ts +56 -0
- package/vue3/src/utils/dom.d.ts +5 -0
- package/vue2/src/components/form/hooks/use-form-common.d.ts +0 -36
- package/vue2/src/components/switch/index.d.ts +0 -2
- package/vue2/src/components/switch/switch.vue.d.ts +0 -51
- package/vue2/src/components/switch/use-switch.d.ts +0 -69
- package/vue3/src/components/form/hooks/use-form-common.d.ts +0 -36
- package/vue3/src/components/switch/index.d.ts +0 -2
- package/vue3/src/components/switch/switch.vue.d.ts +0 -51
- package/vue3/src/components/switch/use-switch.d.ts +0 -69
|
@@ -47,6 +47,62 @@ declare const _default: {
|
|
|
47
47
|
"viewExportRecords": "You can view your export records here",
|
|
48
48
|
"gotIt": "Got it",
|
|
49
49
|
"empty": "Empty"
|
|
50
|
+
},
|
|
51
|
+
"imageUpload": {
|
|
52
|
+
"error1": "Unsupported file type",
|
|
53
|
+
"error2": "Do not upload empty files",
|
|
54
|
+
"error3": "Image size must not exceed {size}MB",
|
|
55
|
+
"error4": "Image size must not be less than {size}KB",
|
|
56
|
+
"error5": "Image is damaged, please upload it again",
|
|
57
|
+
"error6": "Image contains violent elements, please upload it again",
|
|
58
|
+
"uploading": "Uploading...",
|
|
59
|
+
"clickUpload": "Click to upload image",
|
|
60
|
+
"replace": "Replace",
|
|
61
|
+
"delete": "Delete",
|
|
62
|
+
"defaultPlaceholder1": "Supported file formats: {types}",
|
|
63
|
+
"defaultPlaceholder2": "File size must not exceed {size}"
|
|
64
|
+
},
|
|
65
|
+
"datePicker": {
|
|
66
|
+
"headerText": "{year} year {month} month",
|
|
67
|
+
"monday": "Mon",
|
|
68
|
+
"tuesday": "Tue",
|
|
69
|
+
"wednesday": "Wed",
|
|
70
|
+
"thursday": "Thu",
|
|
71
|
+
"friday": "Fri",
|
|
72
|
+
"saturday": "Sat",
|
|
73
|
+
"sunday": "Sun",
|
|
74
|
+
"current": "Now",
|
|
75
|
+
"datePlaceholder1": "Select date",
|
|
76
|
+
"datePlaceholder2": "Select date and time",
|
|
77
|
+
"startPlaceholder": "Start date",
|
|
78
|
+
"endPlaceholder": "End date",
|
|
79
|
+
"today": "Today",
|
|
80
|
+
"yesterday": "Yesterday",
|
|
81
|
+
"tomorrow": "Tomorrow",
|
|
82
|
+
"30-minutes-later": "30 minutes later",
|
|
83
|
+
"1-hour-later": "1 hour later",
|
|
84
|
+
"last-7-days": "Last 7 days",
|
|
85
|
+
"last-30-days": "Last 30 days",
|
|
86
|
+
"last-90-days": "Last 90 days",
|
|
87
|
+
"last-180-days": "Last 180 days",
|
|
88
|
+
"last-360-days": "Last 360 days"
|
|
89
|
+
},
|
|
90
|
+
"select": {
|
|
91
|
+
"searchPlaceholder": "Search keywords",
|
|
92
|
+
"empty": "No options"
|
|
93
|
+
},
|
|
94
|
+
"table": {
|
|
95
|
+
"operation": "Operation",
|
|
96
|
+
"tags": "Tags",
|
|
97
|
+
"index": "Index",
|
|
98
|
+
"single": "Select",
|
|
99
|
+
"allCount": "Total {count}"
|
|
100
|
+
},
|
|
101
|
+
"pagination": {
|
|
102
|
+
"totalItems": "Total {count}",
|
|
103
|
+
"totalPages": "Total {count} pages",
|
|
104
|
+
"size": "{size}/page",
|
|
105
|
+
"goto": "Go to"
|
|
50
106
|
}
|
|
51
107
|
};
|
|
52
108
|
|
|
@@ -49,6 +49,62 @@ declare const useInternalI18n: () => {
|
|
|
49
49
|
gotIt: string;
|
|
50
50
|
empty: string;
|
|
51
51
|
};
|
|
52
|
+
imageUpload: {
|
|
53
|
+
error1: string;
|
|
54
|
+
error2: string;
|
|
55
|
+
error3: string;
|
|
56
|
+
error4: string;
|
|
57
|
+
error5: string;
|
|
58
|
+
error6: string;
|
|
59
|
+
uploading: string;
|
|
60
|
+
clickUpload: string;
|
|
61
|
+
replace: string;
|
|
62
|
+
delete: string;
|
|
63
|
+
defaultPlaceholder1: string;
|
|
64
|
+
defaultPlaceholder2: string;
|
|
65
|
+
};
|
|
66
|
+
datePicker: {
|
|
67
|
+
headerText: string;
|
|
68
|
+
monday: string;
|
|
69
|
+
tuesday: string;
|
|
70
|
+
wednesday: string;
|
|
71
|
+
thursday: string;
|
|
72
|
+
friday: string;
|
|
73
|
+
saturday: string;
|
|
74
|
+
sunday: string;
|
|
75
|
+
current: string;
|
|
76
|
+
datePlaceholder1: string;
|
|
77
|
+
datePlaceholder2: string;
|
|
78
|
+
startPlaceholder: string;
|
|
79
|
+
endPlaceholder: string;
|
|
80
|
+
today: string;
|
|
81
|
+
yesterday: string;
|
|
82
|
+
tomorrow: string;
|
|
83
|
+
"30-minutes-later": string;
|
|
84
|
+
"1-hour-later": string;
|
|
85
|
+
"last-7-days": string;
|
|
86
|
+
"last-30-days": string;
|
|
87
|
+
"last-90-days": string;
|
|
88
|
+
"last-180-days": string;
|
|
89
|
+
"last-360-days": string;
|
|
90
|
+
};
|
|
91
|
+
select: {
|
|
92
|
+
searchPlaceholder: string;
|
|
93
|
+
empty: string;
|
|
94
|
+
};
|
|
95
|
+
table: {
|
|
96
|
+
operation: string;
|
|
97
|
+
tags: string;
|
|
98
|
+
index: string;
|
|
99
|
+
single: string;
|
|
100
|
+
allCount: string;
|
|
101
|
+
};
|
|
102
|
+
pagination: {
|
|
103
|
+
totalItems: string;
|
|
104
|
+
totalPages: string;
|
|
105
|
+
size: string;
|
|
106
|
+
goto: string;
|
|
107
|
+
};
|
|
52
108
|
} & {
|
|
53
109
|
common: {
|
|
54
110
|
confirm: string;
|
|
@@ -62,6 +118,7 @@ declare const useInternalI18n: () => {
|
|
|
62
118
|
tips: string;
|
|
63
119
|
success: string;
|
|
64
120
|
empty: string;
|
|
121
|
+
comma: string;
|
|
65
122
|
};
|
|
66
123
|
}>, options?: import('../..').UniversalParams<string | number>) => string;
|
|
67
124
|
currentLang: import('vue').ComputedRef<import('../types').I18nLangs>;
|
|
@@ -47,6 +47,62 @@ declare const _default: {
|
|
|
47
47
|
"viewExportRecords": "ここでエクスポート記録を確認できます",
|
|
48
48
|
"gotIt": "了解しました",
|
|
49
49
|
"empty": "空"
|
|
50
|
+
},
|
|
51
|
+
"imageUpload": {
|
|
52
|
+
"error1": "サポートされていないファイル形式です",
|
|
53
|
+
"error2": "空のファイルをアップロードしないでください",
|
|
54
|
+
"error3": "画像サイズは{size}MBを超えることはできません",
|
|
55
|
+
"error4": "画像サイズは{size}KB未満にすることはできません",
|
|
56
|
+
"error5": "画像が破損しています, 再度アップロードしてください",
|
|
57
|
+
"error6": "画像に暴力的な要素が含まれています, 再度アップロードしてください",
|
|
58
|
+
"uploading": "アップロード中...",
|
|
59
|
+
"clickUpload": "画像をアップロード",
|
|
60
|
+
"replace": "置き換え",
|
|
61
|
+
"delete": "削除",
|
|
62
|
+
"defaultPlaceholder1": "サポートされているファイル形式: {types}",
|
|
63
|
+
"defaultPlaceholder2": "ファイルサイズは{size}を超えることはできません"
|
|
64
|
+
},
|
|
65
|
+
"datePicker": {
|
|
66
|
+
"headerText": "{year}年{month}月",
|
|
67
|
+
"monday": "月",
|
|
68
|
+
"tuesday": "火",
|
|
69
|
+
"wednesday": "水",
|
|
70
|
+
"thursday": "木",
|
|
71
|
+
"friday": "金",
|
|
72
|
+
"saturday": "土",
|
|
73
|
+
"sunday": "日",
|
|
74
|
+
"current": "現在",
|
|
75
|
+
"datePlaceholder1": "日付を選択",
|
|
76
|
+
"datePlaceholder2": "日付と時刻を選択",
|
|
77
|
+
"startPlaceholder": "開始日付",
|
|
78
|
+
"endPlaceholder": "終了日付",
|
|
79
|
+
"today": "今日",
|
|
80
|
+
"yesterday": "昨日",
|
|
81
|
+
"tomorrow": "明日",
|
|
82
|
+
"30-minutes-later": "30分後",
|
|
83
|
+
"1-hour-later": "1時間後",
|
|
84
|
+
"last-7-days": "最近7日",
|
|
85
|
+
"last-30-days": "最近30日",
|
|
86
|
+
"last-90-days": "最近90日",
|
|
87
|
+
"last-180-days": "最近180日",
|
|
88
|
+
"last-360-days": "最近360日"
|
|
89
|
+
},
|
|
90
|
+
"select": {
|
|
91
|
+
"searchPlaceholder": "キーワードを検索",
|
|
92
|
+
"empty": "オプションがありません"
|
|
93
|
+
},
|
|
94
|
+
"table": {
|
|
95
|
+
"operation": "操作",
|
|
96
|
+
"tags": "タグ",
|
|
97
|
+
"index": "インデックス",
|
|
98
|
+
"single": "選択",
|
|
99
|
+
"allCount": "共{count}個"
|
|
100
|
+
},
|
|
101
|
+
"pagination": {
|
|
102
|
+
"totalItems": "合計 {count} 件",
|
|
103
|
+
"totalPages": "合計 {count} ページ",
|
|
104
|
+
"size": "{size}件/ページ",
|
|
105
|
+
"goto": "移動"
|
|
50
106
|
}
|
|
51
107
|
};
|
|
52
108
|
|
|
@@ -47,6 +47,62 @@ declare const _default: {
|
|
|
47
47
|
"viewExportRecords": "여기서 내보내기 기록을 확인할 수 있습니다",
|
|
48
48
|
"gotIt": "알겠습니다",
|
|
49
49
|
"empty": "비어 있음"
|
|
50
|
+
},
|
|
51
|
+
"imageUpload": {
|
|
52
|
+
"error1": "지원하지 않는 파일 형식입니다",
|
|
53
|
+
"error2": "빈 파일을 업로드하지 마세요",
|
|
54
|
+
"error3": "이미지 크기는 {size}MB를 초과할 수 없습니다",
|
|
55
|
+
"error4": "이미지 크기는 {size}KB 미만일 수 없습니다",
|
|
56
|
+
"error5": "이미지가 손상되었습니다, 다시 업로드해 주세요",
|
|
57
|
+
"error6": "이미지에 폭력적인 요소가 포함되어 있습니다, 다시 업로드해 주세요",
|
|
58
|
+
"uploading": "업로드 중...",
|
|
59
|
+
"clickUpload": "이미지 업로드",
|
|
60
|
+
"replace": "교체",
|
|
61
|
+
"delete": "삭제",
|
|
62
|
+
"defaultPlaceholder1": "지원하는 파일 형식: {types}",
|
|
63
|
+
"defaultPlaceholder2": "파일 크기는 {size}을 초과할 수 없습니다"
|
|
64
|
+
},
|
|
65
|
+
"datePicker": {
|
|
66
|
+
"headerText": "{year}년 {month}월",
|
|
67
|
+
"monday": "월",
|
|
68
|
+
"tuesday": "화",
|
|
69
|
+
"wednesday": "수",
|
|
70
|
+
"thursday": "목",
|
|
71
|
+
"friday": "금",
|
|
72
|
+
"saturday": "토",
|
|
73
|
+
"sunday": "일",
|
|
74
|
+
"current": "현재",
|
|
75
|
+
"datePlaceholder1": "날짜 선택",
|
|
76
|
+
"datePlaceholder2": "날짜 및 시간 선택",
|
|
77
|
+
"startPlaceholder": "시작 날짜",
|
|
78
|
+
"endPlaceholder": "종료 날짜",
|
|
79
|
+
"today": "오늘",
|
|
80
|
+
"yesterday": "어제",
|
|
81
|
+
"tomorrow": "내일",
|
|
82
|
+
"30-minutes-later": "30분 후",
|
|
83
|
+
"1-hour-later": "1시간 후",
|
|
84
|
+
"last-7-days": "최근 7일",
|
|
85
|
+
"last-30-days": "최근 30일",
|
|
86
|
+
"last-90-days": "최근 90일",
|
|
87
|
+
"last-180-days": "최근 180일",
|
|
88
|
+
"last-360-days": "최근 360일"
|
|
89
|
+
},
|
|
90
|
+
"select": {
|
|
91
|
+
"searchPlaceholder": "검색 키워드",
|
|
92
|
+
"empty": "옵션 없음"
|
|
93
|
+
},
|
|
94
|
+
"table": {
|
|
95
|
+
"operation": "작업",
|
|
96
|
+
"tags": "태그",
|
|
97
|
+
"index": "인덱스",
|
|
98
|
+
"single": "선택",
|
|
99
|
+
"allCount": "총 {count}개"
|
|
100
|
+
},
|
|
101
|
+
"pagination": {
|
|
102
|
+
"totalItems": "총 {count}개",
|
|
103
|
+
"totalPages": "총 {count}페이지",
|
|
104
|
+
"size": "{size}개/페이지",
|
|
105
|
+
"goto": "이동"
|
|
50
106
|
}
|
|
51
107
|
};
|
|
52
108
|
|
|
@@ -47,6 +47,62 @@ declare const _default: {
|
|
|
47
47
|
"viewExportRecords": "Здесь вы можете просмотреть записи экспорта",
|
|
48
48
|
"gotIt": "Понятно",
|
|
49
49
|
"empty": "Пусто"
|
|
50
|
+
},
|
|
51
|
+
"imageUpload": {
|
|
52
|
+
"error1": "Не поддерживается этот тип файла",
|
|
53
|
+
"error2": "Не загружайте пустые файлы",
|
|
54
|
+
"error3": "Размер изображения не должен превышать {size}MB",
|
|
55
|
+
"error4": "Размер изображения не должен быть меньше {size}KB",
|
|
56
|
+
"error5": "Изображение повреждено, пожалуйста, загрузите его заново",
|
|
57
|
+
"error6": "Изображение содержит экстремистские элементы, пожалуйста, загрузите его заново",
|
|
58
|
+
"uploading": "Загрузка...",
|
|
59
|
+
"clickUpload": "Нажмите для загрузки изображения",
|
|
60
|
+
"replace": "Заменить",
|
|
61
|
+
"delete": "Удалить",
|
|
62
|
+
"defaultPlaceholder1": "Поддерживаются форматы {types}",
|
|
63
|
+
"defaultPlaceholder2": "Размер файла не должен превышать {size}"
|
|
64
|
+
},
|
|
65
|
+
"datePicker": {
|
|
66
|
+
"headerText": "{year} год {month} месяц",
|
|
67
|
+
"monday": "Понедельник",
|
|
68
|
+
"tuesday": "Вторник",
|
|
69
|
+
"wednesday": "Среда",
|
|
70
|
+
"thursday": "Четверг",
|
|
71
|
+
"friday": "Пятница",
|
|
72
|
+
"saturday": "Суббота",
|
|
73
|
+
"sunday": "Воскресенье",
|
|
74
|
+
"current": "Сейчас",
|
|
75
|
+
"datePlaceholder1": "Выберите дату",
|
|
76
|
+
"datePlaceholder2": "Выберите дату и время",
|
|
77
|
+
"startPlaceholder": "Начальная дата",
|
|
78
|
+
"endPlaceholder": "Конечная дата",
|
|
79
|
+
"today": "Сегодня",
|
|
80
|
+
"yesterday": "Вчера",
|
|
81
|
+
"tomorrow": "Завтра",
|
|
82
|
+
"30-minutes-later": "Через 30 минут",
|
|
83
|
+
"1-hour-later": "Через 1 час",
|
|
84
|
+
"last-7-days": "Последние 7 дней",
|
|
85
|
+
"last-30-days": "Последние 30 дней",
|
|
86
|
+
"last-90-days": "Последние 90 дней",
|
|
87
|
+
"last-180-days": "Последние 180 дней",
|
|
88
|
+
"last-360-days": "Последние 360 дней"
|
|
89
|
+
},
|
|
90
|
+
"select": {
|
|
91
|
+
"searchPlaceholder": "Поиск по ключевым словам",
|
|
92
|
+
"empty": "Нет опций"
|
|
93
|
+
},
|
|
94
|
+
"table": {
|
|
95
|
+
"operation": "Операции",
|
|
96
|
+
"tags": "Теги",
|
|
97
|
+
"index": "Индекс",
|
|
98
|
+
"single": "Выбор",
|
|
99
|
+
"allCount": "Всего {count}"
|
|
100
|
+
},
|
|
101
|
+
"pagination": {
|
|
102
|
+
"totalItems": "Всего {count} записей",
|
|
103
|
+
"totalPages": "Всего {count} страниц",
|
|
104
|
+
"size": "{size} записей/страница",
|
|
105
|
+
"goto": "Перейти"
|
|
50
106
|
}
|
|
51
107
|
} ;
|
|
52
108
|
|
|
@@ -47,6 +47,62 @@ declare const _default: {
|
|
|
47
47
|
"viewExportRecords": "可以在这里查看你的导出记录",
|
|
48
48
|
"gotIt": "我知道了",
|
|
49
49
|
"empty": "暂无导出记录"
|
|
50
|
+
},
|
|
51
|
+
"imageUpload": {
|
|
52
|
+
"error1": "暂不支持该文件类型",
|
|
53
|
+
"error2": "请不要上传空文件",
|
|
54
|
+
"error3": "图片大小不得超过{size}MB",
|
|
55
|
+
"error4": "图片大小不得小于{size}KB",
|
|
56
|
+
"error5": "图片已损坏,请重新上传",
|
|
57
|
+
"error6": "该图片包含黄暴力元素,无法上传",
|
|
58
|
+
"uploading": "上传中...",
|
|
59
|
+
"clickUpload": "点击上传图片",
|
|
60
|
+
"replace": "更换",
|
|
61
|
+
"delete": "删除",
|
|
62
|
+
"defaultPlaceholder1": "支持 {types} 格式",
|
|
63
|
+
"defaultPlaceholder2": "文件大小不超过 {size}"
|
|
64
|
+
},
|
|
65
|
+
"datePicker": {
|
|
66
|
+
"headerText": "{year} 年 {month} 月",
|
|
67
|
+
"monday": "一",
|
|
68
|
+
"tuesday": "二",
|
|
69
|
+
"wednesday": "三",
|
|
70
|
+
"thursday": "四",
|
|
71
|
+
"friday": "五",
|
|
72
|
+
"saturday": "六",
|
|
73
|
+
"sunday": "日",
|
|
74
|
+
"current": "此刻",
|
|
75
|
+
"datePlaceholder1": "选择日期",
|
|
76
|
+
"datePlaceholder2": "选择日期时间",
|
|
77
|
+
"startPlaceholder": "开始日期",
|
|
78
|
+
"endPlaceholder": "结束日期",
|
|
79
|
+
"today": "今天",
|
|
80
|
+
"yesterday": "昨天",
|
|
81
|
+
"tomorrow": "明天",
|
|
82
|
+
"30-minutes-later": "半小时后",
|
|
83
|
+
"1-hour-later": "1小时后",
|
|
84
|
+
"last-7-days": "近7天",
|
|
85
|
+
"last-30-days": "近30天",
|
|
86
|
+
"last-90-days": "近90天",
|
|
87
|
+
"last-180-days": "近180天",
|
|
88
|
+
"last-360-days": "近360天"
|
|
89
|
+
},
|
|
90
|
+
"select": {
|
|
91
|
+
"searchPlaceholder": "搜索关键词",
|
|
92
|
+
"empty": "暂无选项"
|
|
93
|
+
},
|
|
94
|
+
"table": {
|
|
95
|
+
"operation": "操作",
|
|
96
|
+
"tags": "标签",
|
|
97
|
+
"index": "序号",
|
|
98
|
+
"single": "选择",
|
|
99
|
+
"allCount": "共{count}个"
|
|
100
|
+
},
|
|
101
|
+
"pagination": {
|
|
102
|
+
"totalItems": "共 {count} 条",
|
|
103
|
+
"totalPages": "共 {count} 页",
|
|
104
|
+
"size": "{size}条/页",
|
|
105
|
+
"goto": "前往"
|
|
50
106
|
}
|
|
51
107
|
};
|
|
52
108
|
|
|
@@ -47,6 +47,62 @@ declare const _default: {
|
|
|
47
47
|
"viewExportRecords": "可以在這裡查看你的導出記錄",
|
|
48
48
|
"gotIt": "我知道了",
|
|
49
49
|
"empty": "暫無導出記錄"
|
|
50
|
+
},
|
|
51
|
+
"imageUpload": {
|
|
52
|
+
"error1": "暫不支持該文件類型",
|
|
53
|
+
"error2": "請不要上傳空文件",
|
|
54
|
+
"error3": "圖片大小不得超過{size}MB",
|
|
55
|
+
"error4": "圖片大小不得小於{size}KB",
|
|
56
|
+
"error5": "圖片已損壞,請重新上傳",
|
|
57
|
+
"error6": "該圖片包含黃暴力元素,無法上傳",
|
|
58
|
+
"uploading": "上傳中...",
|
|
59
|
+
"clickUpload": "點擊上傳圖片",
|
|
60
|
+
"replace": "更換",
|
|
61
|
+
"delete": "刪除",
|
|
62
|
+
"defaultPlaceholder1": "支持 {types} 格式",
|
|
63
|
+
"defaultPlaceholder2": "文件大小不超過 {size}"
|
|
64
|
+
},
|
|
65
|
+
"datePicker": {
|
|
66
|
+
"headerText": "{year} 年 {month} 月",
|
|
67
|
+
"monday": "一",
|
|
68
|
+
"tuesday": "二",
|
|
69
|
+
"wednesday": "三",
|
|
70
|
+
"thursday": "四",
|
|
71
|
+
"friday": "五",
|
|
72
|
+
"saturday": "六",
|
|
73
|
+
"sunday": "日",
|
|
74
|
+
"current": "此刻",
|
|
75
|
+
"datePlaceholder1": "選擇日期",
|
|
76
|
+
"datePlaceholder2": "選擇日期時間",
|
|
77
|
+
"startPlaceholder": "開始日期",
|
|
78
|
+
"endPlaceholder": "結束日期",
|
|
79
|
+
"today": "今天",
|
|
80
|
+
"yesterday": "昨天",
|
|
81
|
+
"tomorrow": "明天",
|
|
82
|
+
"30-minutes-later": "半小時後",
|
|
83
|
+
"1-hour-later": "1小時後",
|
|
84
|
+
"last-7-days": "近7天",
|
|
85
|
+
"last-30-days": "近30天",
|
|
86
|
+
"last-90-days": "近90天",
|
|
87
|
+
"last-180-days": "近180天",
|
|
88
|
+
"last-360-days": "近360天"
|
|
89
|
+
},
|
|
90
|
+
"select": {
|
|
91
|
+
"searchPlaceholder": "搜索關鍵詞",
|
|
92
|
+
"empty": "暫無選項"
|
|
93
|
+
},
|
|
94
|
+
"table": {
|
|
95
|
+
"operation": "操作",
|
|
96
|
+
"tags": "標籤",
|
|
97
|
+
"index": "序號",
|
|
98
|
+
"single": "選擇",
|
|
99
|
+
"allCount": "共{count}個"
|
|
100
|
+
},
|
|
101
|
+
"pagination": {
|
|
102
|
+
"totalItems": "共 {count} 條",
|
|
103
|
+
"totalPages": "共 {count} 頁",
|
|
104
|
+
"size": "{size}條/頁",
|
|
105
|
+
"goto": "前往"
|
|
50
106
|
}
|
|
51
107
|
};
|
|
52
108
|
|
package/vue3/src/utils/dom.d.ts
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { VueProps } from '../../../vue-utils';
|
|
2
|
-
import { FormSize } from '../types';
|
|
3
|
-
export declare const formCommonProps: () => {
|
|
4
|
-
/**
|
|
5
|
-
* 尺寸
|
|
6
|
-
* @default FormSize.Default
|
|
7
|
-
*/
|
|
8
|
-
size: import('vue-types').VueTypeValidableDef<FormSize, import('vue-types/dist/types').ValidatorFunction<FormSize>>;
|
|
9
|
-
/**
|
|
10
|
-
* 是否进行表单验证
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const useFormCommon: (options: {
|
|
18
|
-
props: VueProps<typeof formCommonProps>;
|
|
19
|
-
classPrefix: string;
|
|
20
|
-
}) => {
|
|
21
|
-
commonClassNames: import('vue').ComputedRef<string[]>;
|
|
22
|
-
};
|
|
23
|
-
export declare const useFormSize: (options: {
|
|
24
|
-
props: VueProps<typeof formCommonProps>;
|
|
25
|
-
}) => {
|
|
26
|
-
size: import('vue').ComputedRef<FormSize | undefined>;
|
|
27
|
-
};
|
|
28
|
-
/** 表单组件下的验证状态 hook */
|
|
29
|
-
export declare const useFormCommonValidate: (options: {
|
|
30
|
-
props: VueProps<typeof formCommonProps>;
|
|
31
|
-
}) => {
|
|
32
|
-
validateCurrentFormItem: () => Promise<void>;
|
|
33
|
-
blurToValidateItem: () => Promise<void>;
|
|
34
|
-
focusToRemoveError: () => void;
|
|
35
|
-
formItemIsError: import('vue').ComputedRef<boolean>;
|
|
36
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
"v-model-key": import('vue-types').VueTypeDef<import('./use-switch').SwitchValue>;
|
|
3
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
7
|
-
default: import('./use-switch').SwitchValue;
|
|
8
|
-
};
|
|
9
|
-
inactiveValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
10
|
-
default: import('./use-switch').SwitchValue;
|
|
11
|
-
};
|
|
12
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
19
|
-
default: "default" | "medium" | "mini";
|
|
20
|
-
};
|
|
21
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
change: (arg: import('./use-switch').SwitchValue) => void;
|
|
23
|
-
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
-
"v-model-key": import('vue-types').VueTypeDef<import('./use-switch').SwitchValue>;
|
|
25
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
activeValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
29
|
-
default: import('./use-switch').SwitchValue;
|
|
30
|
-
};
|
|
31
|
-
inactiveValue: import('vue-types').VueTypeDef<import('./use-switch').SwitchValue> & {
|
|
32
|
-
default: import('./use-switch').SwitchValue;
|
|
33
|
-
};
|
|
34
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
41
|
-
default: "default" | "medium" | "mini";
|
|
42
|
-
};
|
|
43
|
-
}>>, {
|
|
44
|
-
size: "default" | "medium" | "mini";
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
activeValue: import('./use-switch').SwitchValue;
|
|
47
|
-
inactiveValue: import('./use-switch').SwitchValue;
|
|
48
|
-
activeColor: string;
|
|
49
|
-
inactiveColor: string;
|
|
50
|
-
}>;
|
|
51
|
-
export default _default;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { VueEmit, VueProps } from '../../vue-utils';
|
|
2
|
-
export type SwitchValue = boolean | number | string;
|
|
3
|
-
declare const switchSizes: readonly ["default", "medium", "mini"];
|
|
4
|
-
export type SwitchSize = (typeof switchSizes)[number];
|
|
5
|
-
export declare const switchProps: () => {
|
|
6
|
-
/**
|
|
7
|
-
* 是否选中,支持 v-model
|
|
8
|
-
*/
|
|
9
|
-
"v-model-key": import('vue-types').VueTypeDef<SwitchValue>;
|
|
10
|
-
/**
|
|
11
|
-
* 是否禁用
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
disabled: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 激活值
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
activeValue: import('vue-types').VueTypeDef<SwitchValue> & {
|
|
22
|
-
default: SwitchValue;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* 非激活值
|
|
26
|
-
* @default false
|
|
27
|
-
*/
|
|
28
|
-
inactiveValue: import('vue-types').VueTypeDef<SwitchValue> & {
|
|
29
|
-
default: SwitchValue;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* 激活颜色
|
|
33
|
-
*/
|
|
34
|
-
activeColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* 非激活颜色
|
|
39
|
-
*/
|
|
40
|
-
inactiveColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* 大小
|
|
45
|
-
* @default 'default'
|
|
46
|
-
*/
|
|
47
|
-
size: import('vue-types').VueTypeDef<"default" | "medium" | "mini"> & {
|
|
48
|
-
default: "default" | "medium" | "mini";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export declare const switchEmits: () => {
|
|
52
|
-
/**
|
|
53
|
-
* 开关切换
|
|
54
|
-
* @cbName 开关值
|
|
55
|
-
* @cbType SwitchValue
|
|
56
|
-
*/
|
|
57
|
-
change: import('../../vue-utils').EmitFuncType<SwitchValue>;
|
|
58
|
-
};
|
|
59
|
-
export declare const useSwitch: (options: {
|
|
60
|
-
props: VueProps<typeof switchProps>;
|
|
61
|
-
emit: VueEmit<typeof switchEmits>;
|
|
62
|
-
}) => {
|
|
63
|
-
isOpened: import('vue').ComputedRef<boolean>;
|
|
64
|
-
switchStyle: import('vue').ComputedRef<{
|
|
65
|
-
backgroundColor: string;
|
|
66
|
-
}>;
|
|
67
|
-
toggleSwitch: () => void;
|
|
68
|
-
};
|
|
69
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { VueProps } from '../../../vue-utils';
|
|
2
|
-
import { FormSize } from '../types';
|
|
3
|
-
export declare const formCommonProps: () => {
|
|
4
|
-
/**
|
|
5
|
-
* 尺寸
|
|
6
|
-
* @default FormSize.Default
|
|
7
|
-
*/
|
|
8
|
-
size: import('vue-types').VueTypeValidableDef<FormSize, import('vue-types/dist/types').ValidatorFunction<FormSize>>;
|
|
9
|
-
/**
|
|
10
|
-
* 是否进行表单验证
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const useFormCommon: (options: {
|
|
18
|
-
props: VueProps<typeof formCommonProps>;
|
|
19
|
-
classPrefix: string;
|
|
20
|
-
}) => {
|
|
21
|
-
commonClassNames: import('vue').ComputedRef<string[]>;
|
|
22
|
-
};
|
|
23
|
-
export declare const useFormSize: (options: {
|
|
24
|
-
props: VueProps<typeof formCommonProps>;
|
|
25
|
-
}) => {
|
|
26
|
-
size: import('vue').ComputedRef<FormSize | undefined>;
|
|
27
|
-
};
|
|
28
|
-
/** 表单组件下的验证状态 hook */
|
|
29
|
-
export declare const useFormCommonValidate: (options: {
|
|
30
|
-
props: VueProps<typeof formCommonProps>;
|
|
31
|
-
}) => {
|
|
32
|
-
validateCurrentFormItem: () => Promise<void>;
|
|
33
|
-
blurToValidateItem: () => Promise<void>;
|
|
34
|
-
focusToRemoveError: () => void;
|
|
35
|
-
formItemIsError: import('vue').ComputedRef<boolean>;
|
|
36
|
-
};
|