@aplus-frontend/ui 0.1.5 → 0.1.7
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/es/src/ap-action/group/index.vue.d.ts +3 -30
- package/es/src/ap-action/item/index.vue.d.ts +3 -30
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/es/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/es/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/es/src/ap-download/ap-download.vue.d.ts +3 -28
- package/es/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/es/src/ap-field/date/index.vue.d.ts +19 -64
- package/es/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/es/src/ap-field/number/index.vue.d.ts +138 -42
- package/es/src/ap-field/radio/index.vue.d.ts +51 -31
- package/es/src/ap-field/rate/index.vue.d.ts +46 -39
- package/es/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/es/src/ap-field/select/index.vue.d.ts +192 -59
- package/es/src/ap-field/select/index.vue.mjs +10 -8
- package/es/src/ap-field/slider/index.vue.d.ts +115 -40
- package/es/src/ap-field/switch/index.vue.d.ts +60 -35
- package/es/src/ap-field/text/index.vue.d.ts +105 -38
- package/es/src/ap-field/text/password.vue.d.ts +113 -45
- package/es/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -28
- package/es/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/es/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/es/src/ap-form/ap-form.vue.d.ts +238 -36
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/es/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/es/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/es/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/es/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/es/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- package/es/src/ap-list/index.vue.d.ts +3 -3
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/es/src/ap-table/constants.d.ts +4015 -11858
- package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/es/src/ap-tag/ap-tag-group.vue.mjs +129 -113
- package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +23 -48
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/base-button/button.vue.d.ts +3 -24
- package/es/src/base-button/index.d.ts +7 -110
- package/es/src/base-button/modal-button.vue.d.ts +8 -14
- package/es/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/es/src/basic/arrow.vue.d.ts +2 -11
- package/es/src/basic/help.vue.d.ts +324 -50
- package/es/src/basic/index.d.ts +667 -202
- package/es/src/basic/title.vue.d.ts +3 -24
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/es/src/business/ap-batch-action/interface.d.ts +10 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/es/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
- package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/es/src/business/index.d.ts +196 -927
- package/es/src/business/title/ApTitle.vue.d.ts +3 -32
- package/es/src/button/button.vue.d.ts +2 -11
- package/es/src/button/index.d.ts +16 -32
- package/es/src/check-card/group.vue.d.ts +17 -41
- package/es/src/check-card/group.vue.mjs +1 -1
- package/es/src/check-card/index.vue.d.ts +20 -35
- package/es/src/check-card/interface.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +41 -137
- package/es/src/config-provider/index.d.ts +161 -545
- package/es/src/container/collapse/header.vue.d.ts +11 -13
- package/es/src/container/collapse/index.vue.d.ts +11 -40
- package/es/src/container/index.d.ts +40 -119
- package/es/src/container/scroll-container.vue.d.ts +3 -12
- package/es/src/count-down/button.vue.d.ts +3 -24
- package/es/src/count-down/index.d.ts +12 -111
- package/es/src/count-down/input.vue.d.ts +3 -24
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/es/src/cropper/cropper-image.vue.d.ts +5 -36
- package/es/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/es/src/cropper/index.d.ts +24 -269
- package/es/src/description/description.vue.d.ts +15 -45
- package/es/src/description/index.d.ts +51 -171
- package/es/src/dropdown/dropdown.vue.d.ts +5 -30
- package/es/src/dropdown/index.d.ts +12 -76
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +6 -7
- package/es/src/hooks/useControllableValue.d.ts +2 -2
- package/es/src/icon/icon.vue.d.ts +3 -29
- package/es/src/icon/index.d.ts +12 -159
- package/es/src/icon/svg-icon.vue.d.ts +3 -28
- package/es/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/es/src/icon-picker/index.d.ts +12 -139
- package/es/src/modal/basic.vue.d.ts +147 -117
- package/es/src/modal/components/modal-close.vue.d.ts +5 -26
- package/es/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/es/src/modal/components/modal-header.vue.d.ts +2 -11
- package/es/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/es/src/modal/components/modal.d.ts +145 -115
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +287 -462
- package/es/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/es/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/es/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +6 -57
- package/es/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/es/src/pro-form/table-form.vue.d.ts +4 -29
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/es/src/pro-table/components/header-cell.vue.d.ts +726 -9
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/index.vue.d.ts +8 -11
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +10 -24
- package/es/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/es/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/es/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/es/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/es/src/pro-table/pro-table.vue.d.ts +8 -61
- package/es/src/prompt/dialog.vue.d.ts +2 -11
- package/es/src/scroll-bar/bar-item.d.ts +10 -9
- package/es/src/scroll-bar/index.d.ts +12 -135
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/es/src/strength-meter/index.d.ts +12 -55
- package/es/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/es/src/tests/wrapper.d.ts +3 -6
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +13 -25
- package/es/src/transition/index.d.ts +88 -193
- package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/lib/src/ap-action/group/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/lib/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/lib/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -28
- package/lib/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/lib/src/ap-field/date/index.vue.d.ts +19 -64
- package/lib/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/lib/src/ap-field/number/index.vue.d.ts +138 -42
- package/lib/src/ap-field/radio/index.vue.d.ts +51 -31
- package/lib/src/ap-field/rate/index.vue.d.ts +46 -39
- package/lib/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/lib/src/ap-field/select/index.vue.d.ts +192 -59
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +115 -40
- package/lib/src/ap-field/switch/index.vue.d.ts +60 -35
- package/lib/src/ap-field/text/index.vue.d.ts +105 -38
- package/lib/src/ap-field/text/password.vue.d.ts +113 -45
- package/lib/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/lib/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/lib/src/ap-form/ap-form.vue.d.ts +238 -36
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/lib/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/lib/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/lib/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/lib/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/lib/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- package/lib/src/ap-list/index.vue.d.ts +3 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/lib/src/ap-table/constants.d.ts +4015 -11858
- package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +23 -48
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +3 -24
- package/lib/src/base-button/index.d.ts +7 -110
- package/lib/src/base-button/modal-button.vue.d.ts +8 -14
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/lib/src/basic/arrow.vue.d.ts +2 -11
- package/lib/src/basic/help.vue.d.ts +324 -50
- package/lib/src/basic/index.d.ts +667 -202
- package/lib/src/basic/title.vue.d.ts +3 -24
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/lib/src/business/ap-batch-action/interface.d.ts +10 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/lib/src/business/index.d.ts +196 -927
- package/lib/src/business/title/ApTitle.vue.d.ts +3 -32
- package/lib/src/button/button.vue.d.ts +2 -11
- package/lib/src/button/index.d.ts +16 -32
- package/lib/src/check-card/group.vue.d.ts +17 -41
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.vue.d.ts +20 -35
- package/lib/src/check-card/interface.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +41 -137
- package/lib/src/config-provider/index.d.ts +161 -545
- package/lib/src/container/collapse/header.vue.d.ts +11 -13
- package/lib/src/container/collapse/index.vue.d.ts +11 -40
- package/lib/src/container/index.d.ts +40 -119
- package/lib/src/container/scroll-container.vue.d.ts +3 -12
- package/lib/src/count-down/button.vue.d.ts +3 -24
- package/lib/src/count-down/index.d.ts +12 -111
- package/lib/src/count-down/input.vue.d.ts +3 -24
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/lib/src/cropper/cropper-image.vue.d.ts +5 -36
- package/lib/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/lib/src/cropper/index.d.ts +24 -269
- package/lib/src/description/description.vue.d.ts +15 -45
- package/lib/src/description/index.d.ts +51 -171
- package/lib/src/dropdown/dropdown.vue.d.ts +5 -30
- package/lib/src/dropdown/index.d.ts +12 -76
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +6 -7
- package/lib/src/hooks/useControllableValue.d.ts +2 -2
- package/lib/src/icon/icon.vue.d.ts +3 -29
- package/lib/src/icon/index.d.ts +12 -159
- package/lib/src/icon/svg-icon.vue.d.ts +3 -28
- package/lib/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/lib/src/icon-picker/index.d.ts +12 -139
- package/lib/src/modal/basic.vue.d.ts +147 -117
- package/lib/src/modal/components/modal-close.vue.d.ts +5 -26
- package/lib/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -11
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/lib/src/modal/components/modal.d.ts +145 -115
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +287 -462
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/lib/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/lib/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +6 -57
- package/lib/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/lib/src/pro-form/table-form.vue.d.ts +4 -29
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/lib/src/pro-table/components/header-cell.vue.d.ts +726 -9
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/index.vue.d.ts +8 -11
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +10 -24
- package/lib/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/lib/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/lib/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/lib/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/lib/src/pro-table/pro-table.vue.d.ts +8 -61
- package/lib/src/prompt/dialog.vue.d.ts +2 -11
- package/lib/src/scroll-bar/bar-item.d.ts +10 -9
- package/lib/src/scroll-bar/index.d.ts +12 -135
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/lib/src/strength-meter/index.d.ts +12 -55
- package/lib/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/lib/src/tests/wrapper.d.ts +3 -6
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +13 -25
- package/lib/src/transition/index.d.ts +88 -193
- package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ export type TableContentHeightOptions = {
|
|
|
3
3
|
offset?: number;
|
|
4
4
|
};
|
|
5
5
|
declare const useTableContentHeight: (options?: TableContentHeightOptions) => {
|
|
6
|
-
contentRef: Ref<HTMLDivElement | undefined>;
|
|
6
|
+
contentRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
7
7
|
height: ComputedRef<number>;
|
|
8
8
|
};
|
|
9
9
|
export default useTableContentHeight;
|
|
@@ -52,7 +52,7 @@ export type UseTablePagingParams<DataType, ParamsType> = {
|
|
|
52
52
|
sortFields?: string[];
|
|
53
53
|
};
|
|
54
54
|
export declare const useTablePaging: <DataType = any, ParamsType = Record<string, any>>({ manual, defaultCurrent, defaultPageSize, request, defaultParams, defaultData, formatParams, paramsValueTypeMap, resetFieldsIgnores, filterFields, sortFields }: UseTablePagingParams<DataType, ParamsType>) => {
|
|
55
|
-
formRef: Ref<ApFormSearchFormExpose | undefined>;
|
|
55
|
+
formRef: Ref<ApFormSearchFormExpose | undefined, ApFormSearchFormExpose | undefined>;
|
|
56
56
|
submit: () => void;
|
|
57
57
|
reset: () => void;
|
|
58
58
|
refresh: () => void;
|
|
@@ -61,9 +61,13 @@ export declare const useTablePaging: <DataType = any, ParamsType = Record<string
|
|
|
61
61
|
total: number;
|
|
62
62
|
records: DataType[];
|
|
63
63
|
loading: boolean;
|
|
64
|
+
}, {
|
|
65
|
+
total: number;
|
|
66
|
+
records: DataType[];
|
|
67
|
+
loading: boolean;
|
|
64
68
|
}>;
|
|
65
|
-
current: Ref<number>;
|
|
66
|
-
pageSize: Ref<number>;
|
|
69
|
+
current: Ref<number, number>;
|
|
70
|
+
pageSize: Ref<number, number>;
|
|
67
71
|
handleTableChange: (pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void;
|
|
68
72
|
tableProps: ComputedRef<{
|
|
69
73
|
loading: boolean;
|
|
@@ -1,45 +1,20 @@
|
|
|
1
1
|
import { ApTagGroupProps, ApTagProps, EllipsisProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type ApTagGroupSlots = {
|
|
4
4
|
tooltip?: (props: {
|
|
5
5
|
tags: ApTagProps[];
|
|
6
6
|
}) => void;
|
|
7
7
|
};
|
|
8
8
|
declare function __VLS_template(): Readonly<ApTagGroupSlots> & ApTagGroupSlots;
|
|
9
|
-
declare const __VLS_component: DefineComponent<
|
|
10
|
-
list: () => ApTagProps[];
|
|
11
|
-
space: number;
|
|
12
|
-
ellipsis: () => {};
|
|
13
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagGroupProps>, {
|
|
14
|
-
list: () => ApTagProps[];
|
|
15
|
-
space: number;
|
|
16
|
-
ellipsis: () => {};
|
|
17
|
-
}>>>, {
|
|
9
|
+
declare const __VLS_component: DefineComponent<ApTagGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagGroupProps & {}>, {
|
|
18
10
|
ellipsis: EllipsisProps;
|
|
19
11
|
space: number;
|
|
20
12
|
list: ApTagProps[];
|
|
21
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
22
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
15
|
export default _default;
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
|
32
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
17
|
new (): {
|
|
34
18
|
$slots: S;
|
|
35
19
|
};
|
|
36
20
|
};
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToOption<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
@@ -1,67 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Tooltip as
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as D, ref as w, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, openBlock as c, createBlock as d, mergeProps as C, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as b, createElementVNode as o, normalizeClass as k, normalizeStyle as _, createElementBlock as T, Fragment as F, renderList as I, createCommentVNode as U } from "vue";
|
|
2
|
+
import { Tooltip as q } from "ant-design-vue";
|
|
3
|
+
import H from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
6
|
-
import { omit as
|
|
6
|
+
import { omit as J } from "lodash-unified";
|
|
7
7
|
import "./style/ap-tag-group.css";
|
|
8
|
-
import { useLocale as
|
|
9
|
-
import { useGlobalConfig as
|
|
10
|
-
import { useNamespace as
|
|
11
|
-
import
|
|
12
|
-
const
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
15
|
-
fill: "none",
|
|
16
|
-
version: "1.1",
|
|
17
|
-
width: "16",
|
|
18
|
-
height: "16",
|
|
19
|
-
viewBox: "0 0 16 16"
|
|
20
|
-
}, [
|
|
21
|
-
/* @__PURE__ */ t("defs", null, [
|
|
22
|
-
/* @__PURE__ */ t("clipPath", { id: "master_svg0_1133_24991" }, [
|
|
23
|
-
/* @__PURE__ */ t("rect", {
|
|
24
|
-
x: "0",
|
|
25
|
-
y: "0",
|
|
26
|
-
width: "16",
|
|
27
|
-
height: "16",
|
|
28
|
-
rx: "0"
|
|
29
|
-
})
|
|
30
|
-
])
|
|
31
|
-
]),
|
|
32
|
-
/* @__PURE__ */ t("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
|
|
33
|
-
/* @__PURE__ */ t("g", null, [
|
|
34
|
-
/* @__PURE__ */ t("ellipse", {
|
|
35
|
-
cx: "8",
|
|
36
|
-
cy: "8",
|
|
37
|
-
rx: "1",
|
|
38
|
-
ry: "1",
|
|
39
|
-
fill: "currentColor",
|
|
40
|
-
"fill-opacity": "1"
|
|
41
|
-
})
|
|
42
|
-
]),
|
|
43
|
-
/* @__PURE__ */ t("g", null, [
|
|
44
|
-
/* @__PURE__ */ t("ellipse", {
|
|
45
|
-
cx: "3.25",
|
|
46
|
-
cy: "8",
|
|
47
|
-
rx: "1",
|
|
48
|
-
ry: "1",
|
|
49
|
-
fill: "currentColor",
|
|
50
|
-
"fill-opacity": "1"
|
|
51
|
-
})
|
|
52
|
-
]),
|
|
53
|
-
/* @__PURE__ */ t("g", null, [
|
|
54
|
-
/* @__PURE__ */ t("ellipse", {
|
|
55
|
-
cx: "12.75",
|
|
56
|
-
cy: "8",
|
|
57
|
-
rx: "1",
|
|
58
|
-
ry: "1",
|
|
59
|
-
fill: "currentColor",
|
|
60
|
-
"fill-opacity": "1"
|
|
61
|
-
})
|
|
62
|
-
])
|
|
63
|
-
])
|
|
64
|
-
], -1), pe = /* @__PURE__ */ N({
|
|
8
|
+
import { useLocale as K } from "../config-provider/hooks/use-locale.mjs";
|
|
9
|
+
import { useGlobalConfig as O } from "../config-provider/hooks/use-global-config.mjs";
|
|
10
|
+
import { useNamespace as Q } from "../config-provider/hooks/use-namespace.mjs";
|
|
11
|
+
import X from "./ap-tag.vue.mjs";
|
|
12
|
+
const ue = /* @__PURE__ */ D({
|
|
65
13
|
__name: "ap-tag-group",
|
|
66
14
|
props: {
|
|
67
15
|
list: { default: () => [] },
|
|
@@ -69,84 +17,152 @@ const Z = /* @__PURE__ */ t("svg", {
|
|
|
69
17
|
ellipsisColor: {},
|
|
70
18
|
ellipsis: { default: () => ({}) }
|
|
71
19
|
},
|
|
72
|
-
setup(
|
|
73
|
-
const { t:
|
|
20
|
+
setup(W) {
|
|
21
|
+
const { t: E } = K(), i = W, z = O("uiMode"), { b: B, bm: v } = Q("tag-group"), u = w(), r = n(() => ({
|
|
74
22
|
...{
|
|
75
23
|
iconColor: "#34B77C",
|
|
76
24
|
symbol: "icon",
|
|
77
|
-
text:
|
|
25
|
+
text: E("ap.common.more")
|
|
78
26
|
},
|
|
79
|
-
...
|
|
80
|
-
})),
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
27
|
+
...i.ellipsis
|
|
28
|
+
})), V = n(() => r.value.tooltip && typeof r.value.tooltip == "object" ? J(r.value.tooltip, ["trigger", "title"]) : {}), p = n(() => f(m) < i.list.length), m = w(0), $ = n(() => i.list.map((e) => e.text).join("、")), L = n(() => [B()].filter(Boolean)), M = n(() => z.value === "aplus" ? [v("ellipsis-text", "aplus")] : [v("ellipsis-text", "admin")]), h = (e, t) => {
|
|
29
|
+
let s = document.createElement("canvas");
|
|
30
|
+
const l = s.getContext("2d");
|
|
31
|
+
l.font = `${e}px system-ui`;
|
|
32
|
+
const a = l.measureText(t);
|
|
33
|
+
return setTimeout(() => {
|
|
34
|
+
s = null;
|
|
35
|
+
}, 0), a.width;
|
|
36
|
+
}, x = () => {
|
|
37
|
+
let e = 0, t = 0;
|
|
38
|
+
if (!u.value) return;
|
|
39
|
+
const s = u.value.offsetWidth;
|
|
40
|
+
for (let l of i.list) {
|
|
41
|
+
const a = l.size === "large" ? 16 : 12, P = h(
|
|
42
|
+
l.size === "large" ? 14 : 12,
|
|
43
|
+
l.text
|
|
44
|
+
);
|
|
45
|
+
if (e += P + a + 2 + i.space, e > s)
|
|
46
|
+
break;
|
|
47
|
+
t++;
|
|
48
|
+
}
|
|
49
|
+
if (t < i.list.length) {
|
|
50
|
+
const a = h(12, r.value.text);
|
|
51
|
+
i.ellipsis.symbol === "icon" ? e += 16 : e += a, e > s && t--;
|
|
52
|
+
}
|
|
53
|
+
m.value = t;
|
|
94
54
|
};
|
|
95
|
-
|
|
96
|
-
() =>
|
|
97
|
-
(e,
|
|
98
|
-
e !==
|
|
55
|
+
N(
|
|
56
|
+
() => i.list,
|
|
57
|
+
(e, t) => {
|
|
58
|
+
e !== t && S(() => {
|
|
59
|
+
x();
|
|
60
|
+
});
|
|
99
61
|
},
|
|
100
62
|
{
|
|
101
63
|
immediate: !0
|
|
102
64
|
}
|
|
103
65
|
);
|
|
104
|
-
const
|
|
105
|
-
|
|
66
|
+
const y = () => {
|
|
67
|
+
x();
|
|
106
68
|
};
|
|
107
|
-
return
|
|
69
|
+
return j(() => {
|
|
108
70
|
[["ellipsisColor", "ellipse.color"]].forEach(
|
|
109
|
-
([e,
|
|
110
|
-
|
|
111
|
-
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${
|
|
71
|
+
([e, t]) => {
|
|
72
|
+
i[e] && console.error(
|
|
73
|
+
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${t}\` instead.`
|
|
112
74
|
);
|
|
113
75
|
}
|
|
114
|
-
), window.addEventListener("resize",
|
|
115
|
-
}),
|
|
116
|
-
window.removeEventListener("resize",
|
|
117
|
-
}), (e,
|
|
118
|
-
title:
|
|
119
|
-
|
|
120
|
-
|
|
76
|
+
), window.addEventListener("resize", y);
|
|
77
|
+
}), G(() => {
|
|
78
|
+
window.removeEventListener("resize", y);
|
|
79
|
+
}), (e, t) => (c(), d(f(q), C({ trigger: "hover" }, V.value), {
|
|
80
|
+
title: g(() => [
|
|
81
|
+
R(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
82
|
+
A(b($.value), 1)
|
|
121
83
|
])
|
|
122
84
|
]),
|
|
123
|
-
default:
|
|
124
|
-
|
|
125
|
-
class:
|
|
85
|
+
default: g(() => [
|
|
86
|
+
o("div", {
|
|
87
|
+
class: k(L.value),
|
|
126
88
|
ref_key: "container",
|
|
127
|
-
ref:
|
|
128
|
-
style:
|
|
129
|
-
pointerEvents:
|
|
89
|
+
ref: u,
|
|
90
|
+
style: _({
|
|
91
|
+
pointerEvents: p.value ? "auto" : "none"
|
|
92
|
+
// opacity: isUpdating ? '0' : '1'
|
|
130
93
|
})
|
|
131
94
|
}, [
|
|
132
|
-
(
|
|
133
|
-
key:
|
|
95
|
+
(c(!0), T(F, null, I(e.list, (s, l) => (c(), d(X, C({ ref_for: !0 }, s, {
|
|
96
|
+
key: l,
|
|
134
97
|
style: {
|
|
98
|
+
display: l >= m.value ? "none" : "inline-block",
|
|
135
99
|
marginRight: `${e.space}px`
|
|
136
100
|
}
|
|
137
101
|
}), null, 16, ["style"]))), 128)),
|
|
138
|
-
|
|
102
|
+
p.value && r.value.symbol === "icon" ? (c(), d(f(H), {
|
|
139
103
|
key: 0,
|
|
140
|
-
style:
|
|
104
|
+
style: _({ color: e.ellipsisColor || r.value.iconColor })
|
|
141
105
|
}, {
|
|
142
|
-
component:
|
|
143
|
-
|
|
144
|
-
|
|
106
|
+
component: g(() => t[0] || (t[0] = [
|
|
107
|
+
o("svg", {
|
|
108
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
109
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
110
|
+
fill: "none",
|
|
111
|
+
version: "1.1",
|
|
112
|
+
width: "16",
|
|
113
|
+
height: "16",
|
|
114
|
+
viewBox: "0 0 16 16"
|
|
115
|
+
}, [
|
|
116
|
+
o("defs", null, [
|
|
117
|
+
o("clipPath", { id: "master_svg0_1133_24991" }, [
|
|
118
|
+
o("rect", {
|
|
119
|
+
x: "0",
|
|
120
|
+
y: "0",
|
|
121
|
+
width: "16",
|
|
122
|
+
height: "16",
|
|
123
|
+
rx: "0"
|
|
124
|
+
})
|
|
125
|
+
])
|
|
126
|
+
]),
|
|
127
|
+
o("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
|
|
128
|
+
o("g", null, [
|
|
129
|
+
o("ellipse", {
|
|
130
|
+
cx: "8",
|
|
131
|
+
cy: "8",
|
|
132
|
+
rx: "1",
|
|
133
|
+
ry: "1",
|
|
134
|
+
fill: "currentColor",
|
|
135
|
+
"fill-opacity": "1"
|
|
136
|
+
})
|
|
137
|
+
]),
|
|
138
|
+
o("g", null, [
|
|
139
|
+
o("ellipse", {
|
|
140
|
+
cx: "3.25",
|
|
141
|
+
cy: "8",
|
|
142
|
+
rx: "1",
|
|
143
|
+
ry: "1",
|
|
144
|
+
fill: "currentColor",
|
|
145
|
+
"fill-opacity": "1"
|
|
146
|
+
})
|
|
147
|
+
]),
|
|
148
|
+
o("g", null, [
|
|
149
|
+
o("ellipse", {
|
|
150
|
+
cx: "12.75",
|
|
151
|
+
cy: "8",
|
|
152
|
+
rx: "1",
|
|
153
|
+
ry: "1",
|
|
154
|
+
fill: "currentColor",
|
|
155
|
+
"fill-opacity": "1"
|
|
156
|
+
})
|
|
157
|
+
])
|
|
158
|
+
])
|
|
159
|
+
], -1)
|
|
160
|
+
])),
|
|
145
161
|
_: 1
|
|
146
|
-
}, 8, ["style"])) :
|
|
162
|
+
}, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(), T("span", {
|
|
147
163
|
key: 1,
|
|
148
|
-
class:
|
|
149
|
-
},
|
|
164
|
+
class: k(M.value)
|
|
165
|
+
}, b(r.value.text), 3)) : U("", !0)
|
|
150
166
|
], 6)
|
|
151
167
|
]),
|
|
152
168
|
_: 3
|
|
@@ -154,5 +170,5 @@ const Z = /* @__PURE__ */ t("svg", {
|
|
|
154
170
|
}
|
|
155
171
|
});
|
|
156
172
|
export {
|
|
157
|
-
|
|
173
|
+
ue as default
|
|
158
174
|
};
|
|
@@ -1,33 +1,8 @@
|
|
|
1
1
|
import { ApTagProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
4
|
-
size: string;
|
|
5
|
-
color: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagProps>, {
|
|
8
|
-
size: string;
|
|
9
|
-
color: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}>>>, {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagProps & {}>, {
|
|
12
4
|
size: "small" | "middle" | "large";
|
|
13
5
|
disabled: boolean;
|
|
14
6
|
color: string;
|
|
15
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
16
8
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType, VNode, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { PropType, VNode, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { FileUploadType, BeforeUpload, CustomRequest } from './apUploadTypes';
|
|
3
3
|
import { GetOssAccess } from './hooks/useOss';
|
|
4
4
|
declare function clear(): void;
|
|
5
|
-
declare const _default: DefineComponent<{
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
6
|
dirName: {
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
};
|
|
@@ -43,60 +43,35 @@ declare const _default: DefineComponent<{
|
|
|
43
43
|
getOssAccess: {
|
|
44
44
|
type: PropType<GetOssAccess>;
|
|
45
45
|
};
|
|
46
|
-
}
|
|
46
|
+
}>, {
|
|
47
47
|
done: ComputedRef<boolean>;
|
|
48
48
|
clear: typeof clear;
|
|
49
|
-
},
|
|
49
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
50
50
|
"update:value": (...args: any[]) => void;
|
|
51
|
-
}, string, PublicProps, Readonly<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
69
|
-
maxSize: {
|
|
70
|
-
type: NumberConstructor;
|
|
71
|
-
};
|
|
72
|
-
title: {
|
|
73
|
-
type: StringConstructor;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
subTitle: {
|
|
77
|
-
type: (StringConstructor | (() => VNode))[];
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
maxCount: {
|
|
81
|
-
type: NumberConstructor;
|
|
82
|
-
};
|
|
83
|
-
beforeUpload: {
|
|
84
|
-
type: PropType<BeforeUpload>;
|
|
85
|
-
};
|
|
86
|
-
customRequest: {
|
|
87
|
-
type: PropType<CustomRequest>;
|
|
88
|
-
};
|
|
89
|
-
getOssAccess: {
|
|
90
|
-
type: PropType<GetOssAccess>;
|
|
91
|
-
};
|
|
92
|
-
}>> & {
|
|
51
|
+
}, string, PublicProps, Readonly<{
|
|
52
|
+
type: FileUploadType;
|
|
53
|
+
title: string;
|
|
54
|
+
subTitle: string | VNode< RendererNode, RendererElement, {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}>;
|
|
57
|
+
} & {
|
|
58
|
+
value?: string | unknown[] | Record<string, any> | undefined;
|
|
59
|
+
accept?: string | undefined;
|
|
60
|
+
beforeUpload?: BeforeUpload | undefined;
|
|
61
|
+
customRequest?: CustomRequest | undefined;
|
|
62
|
+
maxCount?: number | undefined;
|
|
63
|
+
getOssAccess?: GetOssAccess | undefined;
|
|
64
|
+
dirName?: string | undefined;
|
|
65
|
+
needName?: boolean | Record<string, any> | undefined;
|
|
66
|
+
maxSize?: number | undefined;
|
|
67
|
+
} & {
|
|
93
68
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
94
|
-
}
|
|
69
|
+
}>, {
|
|
95
70
|
type: FileUploadType;
|
|
96
71
|
title: string;
|
|
97
72
|
value: string | unknown[] | Record<string, any>;
|
|
98
73
|
subTitle: string | VNode< RendererNode, RendererElement, {
|
|
99
74
|
[key: string]: any;
|
|
100
75
|
}>;
|
|
101
|
-
}, {}>;
|
|
76
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
|
|
102
77
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -1,37 +1,16 @@
|
|
|
1
|
-
import { ComponentOptionsMixin, DefineComponent, PublicProps,
|
|
1
|
+
import { ComponentOptionsMixin, DefineComponent, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ButtonProps } from './interface';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
icon?(_: {}): any;
|
|
5
5
|
default?(_: any): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
7
|
+
declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps & {}>, {
|
|
8
8
|
iconSize: number;
|
|
9
|
-
}
|
|
10
|
-
iconSize: number;
|
|
11
|
-
}>>>, {
|
|
12
|
-
iconSize: number;
|
|
13
|
-
}, {}>;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
14
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
11
|
export default _default;
|
|
16
|
-
type __VLS_WithDefaults<P, D> = {
|
|
17
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
18
|
-
default: D[K];
|
|
19
|
-
}> : P[K];
|
|
20
|
-
};
|
|
21
|
-
type __VLS_Prettify<T> = {
|
|
22
|
-
[K in keyof T]: T[K];
|
|
23
|
-
} & {};
|
|
24
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
13
|
new (): {
|
|
26
14
|
$slots: S;
|
|
27
15
|
};
|
|
28
16
|
};
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToOption<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|