@polyv/vue-components 1.9.0 → 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 +15629 -12581
- 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 +14584 -11332
- 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
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
|
+
default: string;
|
|
4
|
+
};
|
|
5
|
+
colorFormat: import('vue-types').VueTypeDef<"auto" | "hex" | "hsl" | "rgb"> & {
|
|
6
|
+
default: "auto" | "hex" | "hsl" | "rgb";
|
|
7
|
+
};
|
|
8
|
+
placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
showAlpha: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
predefine: import('vue-types').VueTypeDef<boolean | string[]> & {
|
|
15
|
+
default: boolean | (() => string[]);
|
|
16
|
+
};
|
|
17
|
+
hideChrome: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
|
|
24
|
+
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
25
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
26
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
27
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline">;
|
|
28
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
prepend: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
32
|
+
append: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
33
|
+
prefix: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
34
|
+
suffix: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
35
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
+
change: (arg: string) => void;
|
|
37
|
+
clear: (arg?: void | undefined) => void;
|
|
38
|
+
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
colorFormat: import('vue-types').VueTypeDef<"auto" | "hex" | "hsl" | "rgb"> & {
|
|
43
|
+
default: "auto" | "hex" | "hsl" | "rgb";
|
|
44
|
+
};
|
|
45
|
+
placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
showAlpha: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
predefine: import('vue-types').VueTypeDef<boolean | string[]> & {
|
|
52
|
+
default: boolean | (() => string[]);
|
|
53
|
+
};
|
|
54
|
+
hideChrome: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
|
|
61
|
+
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
62
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
63
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
64
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline">;
|
|
65
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
prepend: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
69
|
+
append: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
70
|
+
prefix: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
71
|
+
suffix: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
72
|
+
}>>, {
|
|
73
|
+
"v-model-key": string;
|
|
74
|
+
placeholder: string;
|
|
75
|
+
validateForm: boolean;
|
|
76
|
+
clearable: boolean;
|
|
77
|
+
colorFormat: "auto" | "hex" | "hsl" | "rgb";
|
|
78
|
+
showAlpha: boolean;
|
|
79
|
+
predefine: boolean | string[];
|
|
80
|
+
hideChrome: boolean;
|
|
81
|
+
}>;
|
|
82
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/** 内置的自定义颜色 */
|
|
2
|
+
export declare const defaultPredefines: string[];
|
|
3
|
+
export declare const colorFormats: readonly ["auto", "hsl", "hex", "rgb"];
|
|
4
|
+
export type ColorFormat = typeof colorFormats[number];
|
|
5
|
+
export declare const colorPickerProps: () => {
|
|
6
|
+
/**
|
|
7
|
+
* 绑定值
|
|
8
|
+
*/
|
|
9
|
+
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* 颜色格式,auto-自动识别,hsl-HSL 格式,hex-十六进制格式,rgb-RGB 格式
|
|
14
|
+
* @default 'auto'
|
|
15
|
+
*/
|
|
16
|
+
colorFormat: import('vue-types').VueTypeDef<"auto" | "hex" | "hsl" | "rgb"> & {
|
|
17
|
+
default: "auto" | "hex" | "hsl" | "rgb";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* 占位符
|
|
21
|
+
*/
|
|
22
|
+
placeholder: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 是否显示透明度选择
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
showAlpha: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 预定义颜色,传入 true 使用内置的颜色列表,传入 false 则不显示预定义颜色,传入数组则使用传入的颜色列表
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
predefine: import('vue-types').VueTypeDef<boolean | string[]> & {
|
|
37
|
+
default: boolean | (() => string[]);
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 隐藏 Chrome 面板
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
hideChrome: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
clearable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
business: import('vue-types').VueTypeValidableDef<import('../../../..').BusinessType, import('vue-types/dist/types').ValidatorFunction<import('../../../..').BusinessType>>;
|
|
50
|
+
size: import('vue-types').VueTypeDef<"small" | "large" | "medium">;
|
|
51
|
+
disabled: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
52
|
+
readonly: import('vue-types').VueTypeValidableDef<boolean | undefined, import('vue-types/dist/types').ValidatorFunction<boolean | undefined>>;
|
|
53
|
+
effect: import('vue-types').VueTypeDef<"fill" | "outline">;
|
|
54
|
+
validateForm: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
prepend: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
58
|
+
append: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
59
|
+
prefix: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
60
|
+
suffix: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
61
|
+
};
|
|
62
|
+
export declare const colorPickerEmits: () => {
|
|
63
|
+
change: import('../../../../vue-utils').EmitFuncType<string>;
|
|
64
|
+
clear: import('../../../../vue-utils').EmitFuncType<void>;
|
|
65
|
+
};
|
|
@@ -8,7 +8,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
8
8
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
9
9
|
default: string | (() => string[]);
|
|
10
10
|
};
|
|
11
|
-
method: import('vue-types').VueTypeDef<"
|
|
11
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
12
12
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
13
13
|
default: "text" | "picture-card";
|
|
14
14
|
};
|
|
@@ -37,6 +37,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
37
37
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
38
38
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
39
39
|
controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
40
|
+
forceController: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
40
41
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
41
42
|
default: number;
|
|
42
43
|
};
|
|
@@ -56,25 +57,34 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
56
57
|
};
|
|
57
58
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
58
59
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
59
|
-
target: import('vue-types').VueTypeDef<string |
|
|
60
|
-
within: import('vue-types').VueTypeDef<"
|
|
61
|
-
default: "
|
|
60
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
61
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
62
|
+
default: "image" | "canvas";
|
|
62
63
|
};
|
|
63
64
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
64
65
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
66
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
65
69
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
66
|
-
target: import('vue-types').VueTypeDef<string |
|
|
67
|
-
within: import('vue-types').VueTypeDef<"
|
|
68
|
-
default: "
|
|
70
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
71
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
72
|
+
default: "image" | "canvas";
|
|
69
73
|
};
|
|
70
74
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
71
75
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
76
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
72
79
|
}>>>>;
|
|
80
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
73
83
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
74
84
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
75
85
|
default: string | (() => string[]);
|
|
76
86
|
};
|
|
77
|
-
method: import('vue-types').VueTypeDef<"
|
|
87
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
78
88
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
79
89
|
default: "text" | "picture-card";
|
|
80
90
|
};
|
|
@@ -103,6 +113,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
103
113
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
104
114
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
105
115
|
controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
116
|
+
forceController: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
106
117
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
107
118
|
default: number;
|
|
108
119
|
};
|
|
@@ -122,20 +133,29 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
122
133
|
};
|
|
123
134
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
124
135
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
125
|
-
target: import('vue-types').VueTypeDef<string |
|
|
126
|
-
within: import('vue-types').VueTypeDef<"
|
|
127
|
-
default: "
|
|
136
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
137
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
138
|
+
default: "image" | "canvas";
|
|
128
139
|
};
|
|
129
140
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
130
141
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
142
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
131
145
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
132
|
-
target: import('vue-types').VueTypeDef<string |
|
|
133
|
-
within: import('vue-types').VueTypeDef<"
|
|
134
|
-
default: "
|
|
146
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
147
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
148
|
+
default: "image" | "canvas";
|
|
135
149
|
};
|
|
136
150
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
137
151
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
152
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
138
155
|
}>>>>;
|
|
156
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
139
159
|
}>>, {
|
|
140
160
|
replace: (arg: {
|
|
141
161
|
url: string;
|
|
@@ -143,6 +163,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
143
163
|
}) => void;
|
|
144
164
|
change: (arg: string | string[]) => void;
|
|
145
165
|
"choice-file": (arg: File) => void;
|
|
166
|
+
"choice-file-callback": (arg: File[]) => void;
|
|
146
167
|
}, {
|
|
147
168
|
data: {
|
|
148
169
|
[key: string]: any;
|
|
@@ -158,11 +179,12 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
158
179
|
defaultUploadPlaceholder: boolean;
|
|
159
180
|
showDelete: boolean;
|
|
160
181
|
cropper: boolean;
|
|
182
|
+
onlyChoiceFile: boolean;
|
|
161
183
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
162
184
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
163
185
|
default: string | (() => string[]);
|
|
164
186
|
};
|
|
165
|
-
method: import('vue-types').VueTypeDef<"
|
|
187
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
166
188
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
167
189
|
default: "text" | "picture-card";
|
|
168
190
|
};
|
|
@@ -191,6 +213,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
191
213
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
192
214
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
193
215
|
controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
216
|
+
forceController: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
194
217
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
195
218
|
default: number;
|
|
196
219
|
};
|
|
@@ -210,27 +233,36 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
210
233
|
};
|
|
211
234
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
212
235
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
213
|
-
target: import('vue-types').VueTypeDef<string |
|
|
214
|
-
within: import('vue-types').VueTypeDef<"
|
|
215
|
-
default: "
|
|
236
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
237
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
238
|
+
default: "image" | "canvas";
|
|
216
239
|
};
|
|
217
240
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
218
241
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
242
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
219
245
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
220
|
-
target: import('vue-types').VueTypeDef<string |
|
|
221
|
-
within: import('vue-types').VueTypeDef<"
|
|
222
|
-
default: "
|
|
246
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
247
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
248
|
+
default: "image" | "canvas";
|
|
223
249
|
};
|
|
224
250
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
225
251
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
252
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
226
255
|
}>>>>;
|
|
256
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
227
259
|
}>>> & import('vue').ShallowUnwrapRef<{
|
|
228
260
|
triggerUpload: () => Promise<void>;
|
|
229
261
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
230
262
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
231
263
|
default: string | (() => string[]);
|
|
232
264
|
};
|
|
233
|
-
method: import('vue-types').VueTypeDef<"
|
|
265
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
234
266
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
235
267
|
default: "text" | "picture-card";
|
|
236
268
|
};
|
|
@@ -259,6 +291,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
259
291
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
260
292
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
261
293
|
controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
294
|
+
forceController: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
262
295
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
263
296
|
default: number;
|
|
264
297
|
};
|
|
@@ -278,25 +311,34 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
278
311
|
};
|
|
279
312
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
280
313
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
281
|
-
target: import('vue-types').VueTypeDef<string |
|
|
282
|
-
within: import('vue-types').VueTypeDef<"
|
|
283
|
-
default: "
|
|
314
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
315
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
316
|
+
default: "image" | "canvas";
|
|
284
317
|
};
|
|
285
318
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
286
319
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
320
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
321
|
+
default: boolean;
|
|
322
|
+
};
|
|
287
323
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
288
|
-
target: import('vue-types').VueTypeDef<string |
|
|
289
|
-
within: import('vue-types').VueTypeDef<"
|
|
290
|
-
default: "
|
|
324
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
325
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
326
|
+
default: "image" | "canvas";
|
|
291
327
|
};
|
|
292
328
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
293
329
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
330
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
331
|
+
default: boolean;
|
|
332
|
+
};
|
|
294
333
|
}>>>>;
|
|
334
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
335
|
+
default: boolean;
|
|
336
|
+
};
|
|
295
337
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
296
338
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
297
339
|
default: string | (() => string[]);
|
|
298
340
|
};
|
|
299
|
-
method: import('vue-types').VueTypeDef<"
|
|
341
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
300
342
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
301
343
|
default: "text" | "picture-card";
|
|
302
344
|
};
|
|
@@ -325,6 +367,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
325
367
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
326
368
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
327
369
|
controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
370
|
+
forceController: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
328
371
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
329
372
|
default: number;
|
|
330
373
|
};
|
|
@@ -344,20 +387,29 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
344
387
|
};
|
|
345
388
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
346
389
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
347
|
-
target: import('vue-types').VueTypeDef<string |
|
|
348
|
-
within: import('vue-types').VueTypeDef<"
|
|
349
|
-
default: "
|
|
390
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
391
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
392
|
+
default: "image" | "canvas";
|
|
350
393
|
};
|
|
351
394
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
352
395
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
396
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
397
|
+
default: boolean;
|
|
398
|
+
};
|
|
353
399
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
354
|
-
target: import('vue-types').VueTypeDef<string |
|
|
355
|
-
within: import('vue-types').VueTypeDef<"
|
|
356
|
-
default: "
|
|
400
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
401
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
402
|
+
default: "image" | "canvas";
|
|
357
403
|
};
|
|
358
404
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
359
405
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
406
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
407
|
+
default: boolean;
|
|
408
|
+
};
|
|
360
409
|
}>>>>;
|
|
410
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
411
|
+
default: boolean;
|
|
412
|
+
};
|
|
361
413
|
}>>, {
|
|
362
414
|
triggerUpload: () => Promise<void>;
|
|
363
415
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -367,6 +419,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
367
419
|
}) => void;
|
|
368
420
|
change: (arg: string | string[]) => void;
|
|
369
421
|
"choice-file": (arg: File) => void;
|
|
422
|
+
"choice-file-callback": (arg: File[]) => void;
|
|
370
423
|
}, string, {
|
|
371
424
|
data: {
|
|
372
425
|
[key: string]: any;
|
|
@@ -382,12 +435,13 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
382
435
|
defaultUploadPlaceholder: boolean;
|
|
383
436
|
showDelete: boolean;
|
|
384
437
|
cropper: boolean;
|
|
438
|
+
onlyChoiceFile: boolean;
|
|
385
439
|
}> & {
|
|
386
440
|
props: {
|
|
387
441
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
388
442
|
default: string | (() => string[]);
|
|
389
443
|
};
|
|
390
|
-
method: import('vue-types').VueTypeDef<"
|
|
444
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
391
445
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
392
446
|
default: "text" | "picture-card";
|
|
393
447
|
};
|
|
@@ -416,6 +470,7 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
416
470
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
417
471
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
418
472
|
controller: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
473
|
+
forceController: import('vue-types').VueTypeValidableDef<FileUploadController, import('vue-types/dist/types').ValidatorFunction<FileUploadController>>;
|
|
419
474
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
420
475
|
default: number;
|
|
421
476
|
};
|
|
@@ -435,20 +490,29 @@ export declare const PwcFileUpload: import('../../../vue-utils/install-utils').S
|
|
|
435
490
|
};
|
|
436
491
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
437
492
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
438
|
-
target: import('vue-types').VueTypeDef<string |
|
|
439
|
-
within: import('vue-types').VueTypeDef<"
|
|
440
|
-
default: "
|
|
493
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
494
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
495
|
+
default: "image" | "canvas";
|
|
441
496
|
};
|
|
442
497
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
443
498
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
499
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
500
|
+
default: boolean;
|
|
501
|
+
};
|
|
444
502
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
445
|
-
target: import('vue-types').VueTypeDef<string |
|
|
446
|
-
within: import('vue-types').VueTypeDef<"
|
|
447
|
-
default: "
|
|
503
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
504
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
505
|
+
default: "image" | "canvas";
|
|
448
506
|
};
|
|
449
507
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
450
508
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
509
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
510
|
+
default: boolean;
|
|
511
|
+
};
|
|
451
512
|
}>>>>;
|
|
513
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
514
|
+
default: boolean;
|
|
515
|
+
};
|
|
452
516
|
};
|
|
453
517
|
} & (new () => {
|
|
454
518
|
$scopedSlots: {
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
24
24
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
25
25
|
default: string | (() => string[]);
|
|
26
26
|
};
|
|
27
|
-
method: import('vue-types').VueTypeDef<"
|
|
27
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
28
28
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
29
29
|
default: "text" | "picture-card";
|
|
30
30
|
};
|
|
@@ -53,6 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
53
53
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
54
54
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
55
55
|
controller: import('vue-types').VueTypeValidableDef<import('./hooks/props-define').FileUploadController, import('vue-types/dist/types').ValidatorFunction<import('./hooks/props-define').FileUploadController>>;
|
|
56
|
+
forceController: import('vue-types').VueTypeValidableDef<import('./hooks/props-define').FileUploadController, import('vue-types/dist/types').ValidatorFunction<import('./hooks/props-define').FileUploadController>>;
|
|
56
57
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
57
58
|
default: number;
|
|
58
59
|
};
|
|
@@ -72,20 +73,29 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
72
73
|
};
|
|
73
74
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
74
75
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
75
|
-
target: import('vue-types').VueTypeDef<string |
|
|
76
|
-
within: import('vue-types').VueTypeDef<"
|
|
77
|
-
default: "
|
|
76
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
77
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
78
|
+
default: "image" | "canvas";
|
|
78
79
|
};
|
|
79
80
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
80
81
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
82
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
81
85
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
82
|
-
target: import('vue-types').VueTypeDef<string |
|
|
83
|
-
within: import('vue-types').VueTypeDef<"
|
|
84
|
-
default: "
|
|
86
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
87
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
88
|
+
default: "image" | "canvas";
|
|
85
89
|
};
|
|
86
90
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
87
91
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
92
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
88
95
|
}>>>>;
|
|
96
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
89
99
|
}, {
|
|
90
100
|
triggerUpload: () => Promise<void>;
|
|
91
101
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -95,11 +105,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
95
105
|
}) => void;
|
|
96
106
|
change: (arg: string | string[]) => void;
|
|
97
107
|
"choice-file": (arg: File) => void;
|
|
108
|
+
"choice-file-callback": (arg: File[]) => void;
|
|
98
109
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
99
110
|
"v-model-key": import('vue-types').VueTypeDef<string | string[]> & {
|
|
100
111
|
default: string | (() => string[]);
|
|
101
112
|
};
|
|
102
|
-
method: import('vue-types').VueTypeDef<"
|
|
113
|
+
method: import('vue-types').VueTypeDef<"drag" | "button" | "card">;
|
|
103
114
|
listType: import('vue-types').VueTypeDef<"text" | "picture-card"> & {
|
|
104
115
|
default: "text" | "picture-card";
|
|
105
116
|
};
|
|
@@ -128,6 +139,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
128
139
|
sizeLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
129
140
|
countLimit: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
130
141
|
controller: import('vue-types').VueTypeValidableDef<import('./hooks/props-define').FileUploadController, import('vue-types/dist/types').ValidatorFunction<import('./hooks/props-define').FileUploadController>>;
|
|
142
|
+
forceController: import('vue-types').VueTypeValidableDef<import('./hooks/props-define').FileUploadController, import('vue-types/dist/types').ValidatorFunction<import('./hooks/props-define').FileUploadController>>;
|
|
131
143
|
width: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
132
144
|
default: number;
|
|
133
145
|
};
|
|
@@ -147,20 +159,29 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
147
159
|
};
|
|
148
160
|
cropperTitle: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
149
161
|
cropperProps: import('vue-types').VueTypeValidableDef<Partial<import('vue').ExtractPropTypes<{
|
|
150
|
-
target: import('vue-types').VueTypeDef<string |
|
|
151
|
-
within: import('vue-types').VueTypeDef<"
|
|
152
|
-
default: "
|
|
162
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
163
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
164
|
+
default: "image" | "canvas";
|
|
153
165
|
};
|
|
154
166
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
155
167
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
168
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
156
171
|
}>>, import('vue-types/dist/types').ValidatorFunction<Partial<import('vue').ExtractPropTypes<{
|
|
157
|
-
target: import('vue-types').VueTypeDef<string |
|
|
158
|
-
within: import('vue-types').VueTypeDef<"
|
|
159
|
-
default: "
|
|
172
|
+
target: import('vue-types').VueTypeDef<string | File | Blob>;
|
|
173
|
+
within: import('vue-types').VueTypeDef<"image" | "canvas"> & {
|
|
174
|
+
default: "image" | "canvas";
|
|
160
175
|
};
|
|
161
176
|
aspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
162
177
|
initialAspectRatio: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
178
|
+
resizeBox: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
163
181
|
}>>>>;
|
|
182
|
+
onlyChoiceFile: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
164
185
|
}>>, {
|
|
165
186
|
data: {
|
|
166
187
|
[key: string]: any;
|
|
@@ -176,6 +197,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
176
197
|
defaultUploadPlaceholder: boolean;
|
|
177
198
|
showDelete: boolean;
|
|
178
199
|
cropper: boolean;
|
|
200
|
+
onlyChoiceFile: boolean;
|
|
179
201
|
}>;
|
|
180
202
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
181
203
|
export default _default;
|