@polyv/vue-components 1.9.1 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -2
- package/vue2/index.es.js +15626 -12584
- package/vue2/src/components/alert/index.d.ts +14 -14
- package/vue2/src/components/alert/src/alert.vue.d.ts +5 -5
- package/vue2/src/components/alert/src/props-define.d.ts +2 -2
- package/vue2/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +1 -1
- package/vue2/src/components/animation/number-animation/index.d.ts +118 -0
- package/vue2/src/components/animation/number-animation/src/number-animation.vue.d.ts +58 -0
- package/vue2/src/components/animation/number-animation/src/props-define.d.ts +58 -0
- package/vue2/src/components/badge/index.d.ts +63 -0
- package/vue2/src/components/badge/src/badge.vue.d.ts +37 -0
- package/vue2/src/components/badge/src/props-define.d.ts +29 -0
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +23 -19
- package/vue2/src/components/business/external-links/external-links.vue.d.ts +7 -0
- package/vue2/src/components/business/external-links/index.d.ts +38 -1
- package/vue2/src/components/business/external-links/use-external-links.d.ts +39 -1
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +14 -0
- package/vue2/src/components/button/index.d.ts +2 -2
- package/vue2/src/components/button/src/button.vue.d.ts +1 -1
- package/vue2/src/components/color-cell/index.d.ts +12 -0
- package/vue2/src/components/color-cell/src/color-cell.vue.d.ts +12 -0
- package/vue2/src/components/color-cell/src/props-define.d.ts +8 -0
- package/vue2/src/components/condition-filter/index.d.ts +46 -0
- package/vue2/src/components/condition-filter/src/condition-filter-item.vue.d.ts +9 -0
- package/vue2/src/components/condition-filter/src/condition-filter.vue.d.ts +7 -0
- package/vue2/src/components/condition-filter/src/props-define.d.ts +18 -0
- package/vue2/src/components/descriptions/index.d.ts +106 -0
- package/vue2/src/components/descriptions/src/descriptions-item.vue.d.ts +32 -0
- package/vue2/src/components/descriptions/src/descriptions.d.ts +58 -0
- package/vue2/src/components/descriptions/src/inject.d.ts +7 -0
- package/vue2/src/components/descriptions/src/item-cell.d.ts +15 -0
- package/vue2/src/components/descriptions/src/props-define.d.ts +81 -0
- package/vue2/src/components/dropdown/index.d.ts +58 -58
- package/vue2/src/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/vue2/src/components/dropdown/src/dropdown.vue.d.ts +15 -15
- package/vue2/src/components/dropdown/src/sub-dropdown.vue.d.ts +5 -5
- package/vue2/src/components/dropdown/src/use-dropdown.d.ts +8 -8
- package/vue2/src/components/empty/index.d.ts +6 -6
- package/vue2/src/components/empty/src/empty.vue.d.ts +2 -2
- package/vue2/src/components/empty/src/props-define.d.ts +1 -1
- package/vue2/src/components/example/example.vue.d.ts +5 -5
- package/vue2/src/components/example/index.d.ts +14 -14
- package/vue2/src/components/example/props-define.d.ts +2 -2
- package/vue2/src/components/exports.d.ts +10 -0
- package/vue2/src/components/file-icon/index.d.ts +15 -1
- package/vue2/src/components/form/color-picker/index.d.ts +82 -0
- package/vue2/src/components/form/color-picker/src/color-picker.vue.d.ts +82 -0
- package/vue2/src/components/form/color-picker/src/props-define.d.ts +65 -0
- package/vue2/src/components/form/file-upload/index.d.ts +106 -42
- package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +36 -14
- package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +28 -7
- package/vue2/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -1
- package/vue2/src/components/form/form-submit-button/index.d.ts +1 -1
- package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
- package/vue2/src/components/form/image-upload/index.d.ts +24 -12
- package/vue2/src/components/form/image-upload/src/hooks/props-define.d.ts +12 -6
- package/vue2/src/components/form/image-upload/src/image-upload.vue.d.ts +24 -12
- package/vue2/src/components/form/input/index.d.ts +2 -2
- package/vue2/src/components/form/input/src/input.vue.d.ts +2 -2
- package/vue2/src/components/form/input-number/index.d.ts +2 -2
- package/vue2/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
- package/vue2/src/components/form/select/index.d.ts +934 -5
- package/vue2/src/components/form/select/src/props-define.d.ts +4 -0
- package/vue2/src/components/form/select/src/select.vue.d.ts +59 -13
- package/vue2/src/components/form/transfer/transfer.vue.d.ts +2 -2
- package/vue2/src/components/form/tree-select/index.d.ts +74 -0
- package/vue2/src/components/form/tree-select/src/props-define.d.ts +59 -0
- package/vue2/src/components/form/tree-select/src/tree-select.vue.d.ts +76 -0
- package/vue2/src/components/grid/index.d.ts +111 -0
- package/vue2/src/components/grid/src/col.vue.d.ts +34 -0
- package/vue2/src/components/grid/src/inject-key.d.ts +10 -0
- package/vue2/src/components/grid/src/props-define.d.ts +35 -0
- package/vue2/src/components/grid/src/row.vue.d.ts +35 -0
- package/vue2/src/components/icons/icons/crop/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/grid/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/pause/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/play/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/violation/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +5 -0
- package/vue2/src/components/image/index.d.ts +6 -6
- package/vue2/src/components/image/src/image.vue.d.ts +2 -2
- package/vue2/src/components/image/src/props-define.d.ts +1 -1
- package/vue2/src/components/image-cropper/index.d.ts +14 -8
- package/vue2/src/components/image-cropper/src/cropper-layer/use-cropper-layer.d.ts +41 -0
- package/vue2/src/components/image-cropper/src/hooks/props-define.d.ts +22 -19
- package/vue2/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +35 -9
- package/vue2/src/components/image-cropper/src/image-cropper.vue.d.ts +16 -9
- package/vue2/src/components/notification/index.d.ts +2 -0
- package/vue2/src/components/notification/src/hooks.d.ts +15 -0
- package/vue2/src/components/notification/src/notification-popover.vue.d.ts +21 -0
- package/vue2/src/components/notification/src/notification.d.ts +23 -0
- package/vue2/src/components/notification/src/position-management.d.ts +16 -0
- package/vue2/src/components/notification/src/types.d.ts +26 -0
- package/vue2/src/components/pagination/index.d.ts +1 -1
- package/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
- package/vue2/src/components/popconfirm/index.d.ts +38 -34
- package/vue2/src/components/popconfirm/src/popconfirm.vue.d.ts +37 -34
- package/vue2/src/components/popconfirm/src/props-define.d.ts +12 -4
- package/vue2/src/components/popover/index.d.ts +36 -34
- package/vue2/src/components/popover/src/popover.vue.d.ts +14 -13
- package/vue2/src/components/popover/src/props-define.d.ts +14 -5
- package/vue2/src/components/popup/index.d.ts +36 -30
- package/vue2/src/components/popup/src/hooks/popup-props.d.ts +8 -4
- package/vue2/src/components/popup/src/hooks/use-popup-effect.d.ts +1 -1
- package/vue2/src/components/popup/src/hooks/use-popup-position.d.ts +1 -1
- package/vue2/src/components/popup/src/popup.vue.d.ts +13 -11
- package/vue2/src/components/splitter/index.d.ts +87 -0
- package/vue2/src/components/splitter/src/inject-key.d.ts +16 -0
- package/vue2/src/components/splitter/src/props-define.d.ts +32 -0
- package/vue2/src/components/splitter/src/splitter-panel.vue.d.ts +25 -0
- package/vue2/src/components/splitter/src/splitter.vue.d.ts +36 -0
- package/vue2/src/components/swiper/index.d.ts +212 -2
- package/vue2/src/components/table/index.d.ts +62 -11
- package/vue2/src/components/table/src/components/table-body-cell/body-cell-tags.vue.d.ts +19 -1
- package/vue2/src/components/table/src/components/table-body-cell/use-table-body-cell.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-fixed-shadow.vue.d.ts +2 -2
- package/vue2/src/components/table/src/components/table-multiple-select/table-row-multiple.vue.d.ts +5 -1
- package/vue2/src/components/table/src/components/table-multiple-select/use-table-multiple.d.ts +1 -0
- package/vue2/src/components/table/src/components/table-single-select/table-row-single.vue.d.ts +34 -0
- package/vue2/src/components/table/src/components/table-single-select/use-table-single.d.ts +7 -0
- package/vue2/src/components/table/src/hooks/props-define.d.ts +30 -5
- package/vue2/src/components/table/src/hooks/use-table/use-table-request.d.ts +3 -2
- package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
- package/vue2/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +4 -2
- package/vue2/src/components/table/src/table-column.vue.d.ts +7 -3
- package/vue2/src/components/table/src/table.vue.d.ts +2 -1
- package/vue2/src/components/table/src/types/index.d.ts +1 -0
- package/vue2/src/components/table-operation/index.d.ts +24 -2
- package/vue2/src/components/table-operation/src/props-define.d.ts +7 -0
- package/vue2/src/components/table-operation/src/table-operation-item.vue.d.ts +9 -1
- package/vue2/src/components/tag/index.d.ts +16 -16
- package/vue2/src/components/tag/src/props-define.d.ts +2 -2
- package/vue2/src/components/tag/src/tag.vue.d.ts +6 -6
- package/vue2/src/components/toast/_component/toast-element.vue.d.ts +1 -1
- package/vue2/src/components/tooltip/index.d.ts +30 -30
- package/vue2/src/components/tooltip/src/props-define.d.ts +4 -4
- package/vue2/src/components/tooltip/src/tooltip.vue.d.ts +11 -11
- package/vue2/src/components/tooltip/src/use-tooltip.d.ts +2 -2
- package/vue2/src/components/tree/index.d.ts +36 -0
- package/vue2/src/components/tree/src/hooks/use-tree.d.ts +25 -0
- package/vue2/src/components/tree/src/props-define.d.ts +103 -0
- package/vue2/src/components/tree/src/tree-node.vue.d.ts +11 -0
- package/vue2/src/components/tree/src/tree.vue.d.ts +36 -0
- package/vue2/src/hooks/element/use-breakpoint/index.d.ts +10 -0
- package/vue2/src/interface/enum.d.ts +2 -0
- package/vue2/src/lang/internal/en.json.d.ts +27 -13
- package/vue2/src/lang/internal/index.d.ts +14 -0
- package/vue2/src/lang/internal/ja.json.d.ts +27 -13
- package/vue2/src/lang/internal/ko.json.d.ts +27 -13
- package/vue2/src/lang/internal/ru.json.d.ts +27 -13
- package/vue2/src/lang/internal/zh-CN.json.d.ts +28 -14
- package/vue2/src/lang/internal/zh-TW.json.d.ts +27 -13
- package/vue2/src/vue-utils/render-slot.d.ts +9 -1
- package/vue2/src/vue-utils/version-compatible/types.d.ts +9 -0
- package/vue3/index.es.js +14579 -11333
- package/vue3/src/components/alert/index.d.ts +14 -14
- package/vue3/src/components/alert/src/alert.vue.d.ts +5 -5
- package/vue3/src/components/alert/src/props-define.d.ts +2 -2
- package/vue3/src/components/animation/bubble-animation/bubble-animation.vue.d.ts +1 -1
- package/vue3/src/components/animation/number-animation/index.d.ts +118 -0
- package/vue3/src/components/animation/number-animation/src/number-animation.vue.d.ts +58 -0
- package/vue3/src/components/animation/number-animation/src/props-define.d.ts +58 -0
- package/vue3/src/components/badge/index.d.ts +63 -0
- package/vue3/src/components/badge/src/badge.vue.d.ts +37 -0
- package/vue3/src/components/badge/src/props-define.d.ts +29 -0
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +23 -19
- package/vue3/src/components/business/external-links/external-links.vue.d.ts +7 -0
- package/vue3/src/components/business/external-links/index.d.ts +38 -1
- package/vue3/src/components/business/external-links/use-external-links.d.ts +39 -1
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +14 -0
- package/vue3/src/components/button/index.d.ts +2 -2
- package/vue3/src/components/button/src/button.vue.d.ts +1 -1
- package/vue3/src/components/color-cell/index.d.ts +12 -0
- package/vue3/src/components/color-cell/src/color-cell.vue.d.ts +12 -0
- package/vue3/src/components/color-cell/src/props-define.d.ts +8 -0
- package/vue3/src/components/condition-filter/index.d.ts +46 -0
- package/vue3/src/components/condition-filter/src/condition-filter-item.vue.d.ts +9 -0
- package/vue3/src/components/condition-filter/src/condition-filter.vue.d.ts +7 -0
- package/vue3/src/components/condition-filter/src/props-define.d.ts +18 -0
- package/vue3/src/components/descriptions/index.d.ts +106 -0
- package/vue3/src/components/descriptions/src/descriptions-item.vue.d.ts +32 -0
- package/vue3/src/components/descriptions/src/descriptions.d.ts +58 -0
- package/vue3/src/components/descriptions/src/inject.d.ts +7 -0
- package/vue3/src/components/descriptions/src/item-cell.d.ts +15 -0
- package/vue3/src/components/descriptions/src/props-define.d.ts +81 -0
- package/vue3/src/components/dropdown/index.d.ts +58 -58
- package/vue3/src/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/vue3/src/components/dropdown/src/dropdown.vue.d.ts +15 -15
- package/vue3/src/components/dropdown/src/sub-dropdown.vue.d.ts +5 -5
- package/vue3/src/components/dropdown/src/use-dropdown.d.ts +8 -8
- package/vue3/src/components/empty/index.d.ts +6 -6
- package/vue3/src/components/empty/src/empty.vue.d.ts +2 -2
- package/vue3/src/components/empty/src/props-define.d.ts +1 -1
- package/vue3/src/components/example/example.vue.d.ts +5 -5
- package/vue3/src/components/example/index.d.ts +14 -14
- package/vue3/src/components/example/props-define.d.ts +2 -2
- package/vue3/src/components/exports.d.ts +10 -0
- package/vue3/src/components/file-icon/index.d.ts +15 -1
- package/vue3/src/components/form/color-picker/index.d.ts +82 -0
- package/vue3/src/components/form/color-picker/src/color-picker.vue.d.ts +82 -0
- package/vue3/src/components/form/color-picker/src/props-define.d.ts +65 -0
- package/vue3/src/components/form/file-upload/index.d.ts +106 -42
- package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +36 -14
- package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +28 -7
- package/vue3/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +1 -1
- package/vue3/src/components/form/form-submit-button/index.d.ts +1 -1
- package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
- package/vue3/src/components/form/image-upload/index.d.ts +24 -12
- package/vue3/src/components/form/image-upload/src/hooks/props-define.d.ts +12 -6
- package/vue3/src/components/form/image-upload/src/image-upload.vue.d.ts +24 -12
- package/vue3/src/components/form/input/index.d.ts +2 -2
- package/vue3/src/components/form/input/src/input.vue.d.ts +2 -2
- package/vue3/src/components/form/input-number/index.d.ts +2 -2
- package/vue3/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
- package/vue3/src/components/form/select/index.d.ts +934 -5
- package/vue3/src/components/form/select/src/props-define.d.ts +4 -0
- package/vue3/src/components/form/select/src/select.vue.d.ts +59 -13
- package/vue3/src/components/form/transfer/transfer.vue.d.ts +2 -2
- package/vue3/src/components/form/tree-select/index.d.ts +74 -0
- package/vue3/src/components/form/tree-select/src/props-define.d.ts +59 -0
- package/vue3/src/components/form/tree-select/src/tree-select.vue.d.ts +76 -0
- package/vue3/src/components/grid/index.d.ts +111 -0
- package/vue3/src/components/grid/src/col.vue.d.ts +34 -0
- package/vue3/src/components/grid/src/inject-key.d.ts +10 -0
- package/vue3/src/components/grid/src/props-define.d.ts +35 -0
- package/vue3/src/components/grid/src/row.vue.d.ts +35 -0
- package/vue3/src/components/icons/icons/crop/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/grid/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/pause/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/play/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/violation/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +5 -0
- package/vue3/src/components/image/index.d.ts +6 -6
- package/vue3/src/components/image/src/image.vue.d.ts +2 -2
- package/vue3/src/components/image/src/props-define.d.ts +1 -1
- package/vue3/src/components/image-cropper/index.d.ts +14 -8
- package/vue3/src/components/image-cropper/src/cropper-layer/cropper-layer.vue.d.ts +2 -0
- package/vue3/src/components/image-cropper/src/cropper-layer/use-cropper-layer.d.ts +41 -0
- package/vue3/src/components/image-cropper/src/hooks/props-define.d.ts +22 -19
- package/vue3/src/components/image-cropper/src/hooks/use-image-cropper.d.ts +35 -9
- package/vue3/src/components/image-cropper/src/image-cropper.vue.d.ts +16 -9
- package/vue3/src/components/image-cropper/src/image-layer/image-layer.vue.d.ts +2 -0
- package/vue3/src/components/notification/index.d.ts +2 -0
- package/vue3/src/components/notification/src/hooks.d.ts +15 -0
- package/vue3/src/components/notification/src/notification-popover.vue.d.ts +21 -0
- package/vue3/src/components/notification/src/notification.d.ts +23 -0
- package/vue3/src/components/notification/src/position-management.d.ts +16 -0
- package/vue3/src/components/notification/src/types.d.ts +26 -0
- package/vue3/src/components/pagination/index.d.ts +1 -1
- package/vue3/src/components/pagination/pagination.vue.d.ts +1 -1
- package/vue3/src/components/popconfirm/index.d.ts +38 -34
- package/vue3/src/components/popconfirm/src/popconfirm.vue.d.ts +37 -34
- package/vue3/src/components/popconfirm/src/props-define.d.ts +12 -4
- package/vue3/src/components/popover/index.d.ts +36 -34
- package/vue3/src/components/popover/src/popover.vue.d.ts +14 -13
- package/vue3/src/components/popover/src/props-define.d.ts +14 -5
- package/vue3/src/components/popup/index.d.ts +36 -30
- package/vue3/src/components/popup/src/hooks/popup-props.d.ts +8 -4
- package/vue3/src/components/popup/src/hooks/use-popup-effect.d.ts +1 -1
- package/vue3/src/components/popup/src/hooks/use-popup-position.d.ts +1 -1
- package/vue3/src/components/popup/src/popup.vue.d.ts +13 -11
- package/vue3/src/components/splitter/index.d.ts +87 -0
- package/vue3/src/components/splitter/src/inject-key.d.ts +16 -0
- package/vue3/src/components/splitter/src/props-define.d.ts +32 -0
- package/vue3/src/components/splitter/src/splitter-panel.vue.d.ts +25 -0
- package/vue3/src/components/splitter/src/splitter.vue.d.ts +36 -0
- package/vue3/src/components/swiper/index.d.ts +212 -2
- package/vue3/src/components/table/index.d.ts +62 -11
- package/vue3/src/components/table/src/components/table-body-cell/body-cell-tags.vue.d.ts +19 -1
- package/vue3/src/components/table/src/components/table-body-cell/use-table-body-cell.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-fixed-shadow.vue.d.ts +2 -2
- package/vue3/src/components/table/src/components/table-multiple-select/table-row-multiple.vue.d.ts +5 -1
- package/vue3/src/components/table/src/components/table-multiple-select/use-table-multiple.d.ts +1 -0
- package/vue3/src/components/table/src/components/table-single-select/table-row-single.vue.d.ts +34 -0
- package/vue3/src/components/table/src/components/table-single-select/use-table-single.d.ts +7 -0
- package/vue3/src/components/table/src/hooks/props-define.d.ts +30 -5
- package/vue3/src/components/table/src/hooks/use-table/use-table-request.d.ts +3 -2
- package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +2 -1
- package/vue3/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +4 -2
- package/vue3/src/components/table/src/table-column.vue.d.ts +7 -3
- package/vue3/src/components/table/src/table.vue.d.ts +2 -1
- package/vue3/src/components/table/src/types/index.d.ts +1 -0
- package/vue3/src/components/table-operation/index.d.ts +24 -2
- package/vue3/src/components/table-operation/src/props-define.d.ts +7 -0
- package/vue3/src/components/table-operation/src/table-operation-item.vue.d.ts +9 -1
- package/vue3/src/components/tag/index.d.ts +16 -16
- package/vue3/src/components/tag/src/props-define.d.ts +2 -2
- package/vue3/src/components/tag/src/tag.vue.d.ts +6 -6
- package/vue3/src/components/toast/_component/toast-element.vue.d.ts +1 -1
- package/vue3/src/components/tooltip/index.d.ts +30 -30
- package/vue3/src/components/tooltip/src/props-define.d.ts +4 -4
- package/vue3/src/components/tooltip/src/tooltip.vue.d.ts +11 -11
- package/vue3/src/components/tooltip/src/use-tooltip.d.ts +2 -2
- package/vue3/src/components/tree/index.d.ts +36 -0
- package/vue3/src/components/tree/src/hooks/use-tree.d.ts +25 -0
- package/vue3/src/components/tree/src/props-define.d.ts +103 -0
- package/vue3/src/components/tree/src/tree-node.vue.d.ts +11 -0
- package/vue3/src/components/tree/src/tree.vue.d.ts +36 -0
- package/vue3/src/hooks/element/use-breakpoint/index.d.ts +10 -0
- package/vue3/src/interface/enum.d.ts +2 -0
- package/vue3/src/lang/internal/en.json.d.ts +27 -13
- package/vue3/src/lang/internal/index.d.ts +14 -0
- package/vue3/src/lang/internal/ja.json.d.ts +27 -13
- package/vue3/src/lang/internal/ko.json.d.ts +27 -13
- package/vue3/src/lang/internal/ru.json.d.ts +27 -13
- package/vue3/src/lang/internal/zh-CN.json.d.ts +28 -14
- package/vue3/src/lang/internal/zh-TW.json.d.ts +27 -13
- package/vue3/src/vue-utils/render-slot.d.ts +9 -1
- package/vue3/src/vue-utils/version-compatible/types.d.ts +9 -0
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/image-cropper-viewport.vue.d.ts +0 -6
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-data.d.ts +0 -9
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-elem.d.ts +0 -8
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-options.d.ts +0 -23
- package/vue2/src/components/image-cropper/src/image-cropper-viewport/use-cropper-within.d.ts +0 -8
- package/vue2/src/plugins/cropperjs/index.d.ts +0 -14
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/image-cropper-viewport.vue.d.ts +0 -6
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-data.d.ts +0 -9
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-elem.d.ts +0 -8
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-options.d.ts +0 -23
- package/vue3/src/components/image-cropper/src/image-cropper-viewport/use-cropper-within.d.ts +0 -8
- package/vue3/src/plugins/cropperjs/index.d.ts +0 -14
- /package/vue2/src/components/{table/src/components/table-body-cell/body-cell-single.vue.d.ts → image-cropper/src/cropper-layer/cropper-layer.vue.d.ts} +0 -0
- /package/{vue3/src/components/table/src/components/table-body-cell/body-cell-single.vue.d.ts → vue2/src/components/image-cropper/src/image-layer/image-layer.vue.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const PwcAlert: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
|
-
type: import('vue-types').VueTypeDef<"
|
|
3
|
-
default: "
|
|
2
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
3
|
+
default: "error" | "success" | "warning" | "tips";
|
|
4
4
|
};
|
|
5
5
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
6
6
|
default: boolean;
|
|
@@ -11,8 +11,8 @@ export declare const PwcAlert: import('../../vue-utils/install-utils').SFCInstal
|
|
|
11
11
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
12
12
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
13
13
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
-
type: import('vue-types').VueTypeDef<"
|
|
15
|
-
default: "
|
|
14
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
15
|
+
default: "error" | "success" | "warning" | "tips";
|
|
16
16
|
};
|
|
17
17
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
18
|
default: boolean;
|
|
@@ -26,12 +26,12 @@ export declare const PwcAlert: import('../../vue-utils/install-utils').SFCInstal
|
|
|
26
26
|
close: (arg?: void | undefined) => void;
|
|
27
27
|
"after-close": (arg?: void | undefined) => void;
|
|
28
28
|
}, {
|
|
29
|
-
type: "
|
|
29
|
+
type: "error" | "success" | "warning" | "tips";
|
|
30
30
|
showIcon: boolean;
|
|
31
31
|
closable: boolean;
|
|
32
32
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
-
type: import('vue-types').VueTypeDef<"
|
|
34
|
-
default: "
|
|
33
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
34
|
+
default: "error" | "success" | "warning" | "tips";
|
|
35
35
|
};
|
|
36
36
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
37
|
default: boolean;
|
|
@@ -42,8 +42,8 @@ export declare const PwcAlert: import('../../vue-utils/install-utils').SFCInstal
|
|
|
42
42
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
43
43
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
44
44
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
-
type: import('vue-types').VueTypeDef<"
|
|
46
|
-
default: "
|
|
45
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
46
|
+
default: "error" | "success" | "warning" | "tips";
|
|
47
47
|
};
|
|
48
48
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
49
49
|
default: boolean;
|
|
@@ -54,8 +54,8 @@ export declare const PwcAlert: import('../../vue-utils/install-utils').SFCInstal
|
|
|
54
54
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
55
55
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
56
56
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
57
|
-
type: import('vue-types').VueTypeDef<"
|
|
58
|
-
default: "
|
|
57
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
58
|
+
default: "error" | "success" | "warning" | "tips";
|
|
59
59
|
};
|
|
60
60
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
61
61
|
default: boolean;
|
|
@@ -69,13 +69,13 @@ export declare const PwcAlert: import('../../vue-utils/install-utils').SFCInstal
|
|
|
69
69
|
close: (arg?: void | undefined) => void;
|
|
70
70
|
"after-close": (arg?: void | undefined) => void;
|
|
71
71
|
}, string, {
|
|
72
|
-
type: "
|
|
72
|
+
type: "error" | "success" | "warning" | "tips";
|
|
73
73
|
showIcon: boolean;
|
|
74
74
|
closable: boolean;
|
|
75
75
|
}> & {
|
|
76
76
|
props: {
|
|
77
|
-
type: import('vue-types').VueTypeDef<"
|
|
78
|
-
default: "
|
|
77
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
78
|
+
default: "error" | "success" | "warning" | "tips";
|
|
79
79
|
};
|
|
80
80
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
81
81
|
default: boolean;
|
|
@@ -12,8 +12,8 @@ declare function __VLS_template(): {
|
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
14
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
15
|
-
type: import('vue-types').VueTypeDef<"
|
|
16
|
-
default: "
|
|
15
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
16
|
+
default: "error" | "success" | "warning" | "tips";
|
|
17
17
|
};
|
|
18
18
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
19
19
|
default: boolean;
|
|
@@ -27,8 +27,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
27
27
|
close: (arg?: void | undefined) => void;
|
|
28
28
|
"after-close": (arg?: void | undefined) => void;
|
|
29
29
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
-
type: import('vue-types').VueTypeDef<"
|
|
31
|
-
default: "
|
|
30
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
31
|
+
default: "error" | "success" | "warning" | "tips";
|
|
32
32
|
};
|
|
33
33
|
closable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
34
34
|
default: boolean;
|
|
@@ -39,7 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
39
39
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
40
40
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
41
41
|
}>>, {
|
|
42
|
-
type: "
|
|
42
|
+
type: "error" | "success" | "warning" | "tips";
|
|
43
43
|
showIcon: boolean;
|
|
44
44
|
closable: boolean;
|
|
45
45
|
}>;
|
|
@@ -6,8 +6,8 @@ export declare const alertProps: () => {
|
|
|
6
6
|
* @propType AlertType
|
|
7
7
|
* @default 'tips'
|
|
8
8
|
*/
|
|
9
|
-
type: import('vue-types').VueTypeDef<"
|
|
10
|
-
default: "
|
|
9
|
+
type: import('vue-types').VueTypeDef<"error" | "success" | "warning" | "tips"> & {
|
|
10
|
+
default: "error" | "success" | "warning" | "tips";
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
13
|
* 是否显示关闭按钮
|
|
@@ -72,12 +72,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
74
|
}>>, {
|
|
75
|
+
trigger: boolean;
|
|
75
76
|
width: number;
|
|
76
77
|
height: number;
|
|
77
78
|
bubbles: import('./types').BubbleData[];
|
|
78
79
|
maxCount: number;
|
|
79
80
|
appearPlacement: "bottom" | "bottom-start" | "bottom-end";
|
|
80
|
-
trigger: boolean;
|
|
81
81
|
triggerSize: number;
|
|
82
82
|
clickEnabled: boolean;
|
|
83
83
|
holdEnabled: boolean;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export declare const PwcNumberAnimation: import('../../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
3
|
+
default: number;
|
|
4
|
+
};
|
|
5
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
12
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
13
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
27
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
28
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>>, {
|
|
32
|
+
finish: (arg?: void | undefined) => void;
|
|
33
|
+
}, {
|
|
34
|
+
money: boolean;
|
|
35
|
+
duration: number;
|
|
36
|
+
from: number;
|
|
37
|
+
to: number;
|
|
38
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
49
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
50
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>>> & import('vue').ShallowUnwrapRef<{
|
|
54
|
+
play: () => void;
|
|
55
|
+
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
66
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
67
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
72
|
+
default: number;
|
|
73
|
+
};
|
|
74
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
81
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
82
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>>, {
|
|
86
|
+
play: () => void;
|
|
87
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
88
|
+
finish: (arg?: void | undefined) => void;
|
|
89
|
+
}, string, {
|
|
90
|
+
money: boolean;
|
|
91
|
+
duration: number;
|
|
92
|
+
from: number;
|
|
93
|
+
to: number;
|
|
94
|
+
}> & {
|
|
95
|
+
props: {
|
|
96
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
103
|
+
default: number;
|
|
104
|
+
};
|
|
105
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
106
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
107
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
} & (new () => {
|
|
112
|
+
$scopedSlots: {
|
|
113
|
+
default?(_: {
|
|
114
|
+
displayValue: string;
|
|
115
|
+
}): any;
|
|
116
|
+
};
|
|
117
|
+
}), import('../../../vue-utils/install-utils').InstallOptions>;
|
|
118
|
+
export * from './src/props-define';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {
|
|
5
|
+
displayValue: string;
|
|
6
|
+
}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLSpanElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
13
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
23
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
24
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
play: () => void;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
finish: (arg?: void | undefined) => void;
|
|
31
|
+
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
42
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
43
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>>, {
|
|
47
|
+
money: boolean;
|
|
48
|
+
duration: number;
|
|
49
|
+
from: number;
|
|
50
|
+
to: number;
|
|
51
|
+
}>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$scopedSlots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const numberAnimationProps: () => {
|
|
2
|
+
/**
|
|
3
|
+
* 初始值
|
|
4
|
+
* @default 0
|
|
5
|
+
*/
|
|
6
|
+
from: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* 目标值
|
|
11
|
+
* @default 0
|
|
12
|
+
*/
|
|
13
|
+
to: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 持续时间,单位毫秒
|
|
18
|
+
* @default 3000
|
|
19
|
+
*/
|
|
20
|
+
duration: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* 精度,保留小数点后几位
|
|
25
|
+
*/
|
|
26
|
+
precision: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
27
|
+
/**
|
|
28
|
+
* 是否显示分割符
|
|
29
|
+
*/
|
|
30
|
+
showSeparator: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
31
|
+
/**
|
|
32
|
+
* 金额模式,开启后显示分割符和保留2位小数
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
money: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const numberAnimationEmits: () => {
|
|
40
|
+
/**
|
|
41
|
+
* 动画结束回调
|
|
42
|
+
*/
|
|
43
|
+
finish: import('../../../../vue-utils').EmitFuncType<void>;
|
|
44
|
+
};
|
|
45
|
+
export interface NumberAnimationExpose {
|
|
46
|
+
/**
|
|
47
|
+
* 播放动画
|
|
48
|
+
*/
|
|
49
|
+
play: () => void;
|
|
50
|
+
}
|
|
51
|
+
export interface NumberAnimationSlots {
|
|
52
|
+
/**
|
|
53
|
+
* 默认插槽,可自定义数值渲染内容
|
|
54
|
+
*/
|
|
55
|
+
default: {
|
|
56
|
+
displayValue: string;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const PwcBadge: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
3
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
10
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
11
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}>>, {}, {
|
|
18
|
+
overflowCount: number;
|
|
19
|
+
showZero: boolean;
|
|
20
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
22
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
30
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
38
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
45
|
+
overflowCount: number;
|
|
46
|
+
showZero: boolean;
|
|
47
|
+
}> & {
|
|
48
|
+
props: {
|
|
49
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
50
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
} & (new () => {
|
|
58
|
+
$scopedSlots: {
|
|
59
|
+
default?(_: {}): any;
|
|
60
|
+
badge?(_: {}): any;
|
|
61
|
+
};
|
|
62
|
+
}), import('../../vue-utils/install-utils').InstallOptions>;
|
|
63
|
+
export * from './src/props-define';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
badge?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
12
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
13
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
21
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
overflowCount: number;
|
|
29
|
+
showZero: boolean;
|
|
30
|
+
}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$scopedSlots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const badgeProps: () => {
|
|
2
|
+
/**
|
|
3
|
+
* 展示的数字
|
|
4
|
+
*/
|
|
5
|
+
count: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
6
|
+
/**
|
|
7
|
+
* 展示封顶的数字值
|
|
8
|
+
*/
|
|
9
|
+
overflowCount: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* 当数值为 0 时,是否展示徽标
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
showZero: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export interface BadgeSlots {
|
|
21
|
+
/**
|
|
22
|
+
* 参考物插槽
|
|
23
|
+
*/
|
|
24
|
+
default: void;
|
|
25
|
+
/**
|
|
26
|
+
* 徽标插槽
|
|
27
|
+
*/
|
|
28
|
+
badge: void;
|
|
29
|
+
}
|