@aplus-frontend/ui 0.1.5 → 0.1.6
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 +78 -78
- 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/index.vue.d.ts +20 -35
- 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/index.vue.d.ts +20 -35
- 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as N, ref as v, computed as s, unref as r, nextTick as g, watch as P, onMounted as S, onUnmounted as j, openBlock as u, createBlock as h, mergeProps as _, withCtx as y, renderSlot as q, createTextVNode as G, toDisplayString as k, createElementVNode as t, normalizeClass as b, normalizeStyle as E, createElementBlock as B, Fragment as R, renderList as I, createCommentVNode as U } from "vue";
|
|
2
2
|
import { Tooltip as H } from "ant-design-vue";
|
|
3
3
|
import J from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
@@ -9,59 +9,7 @@ import { useLocale as O } from "../config-provider/hooks/use-locale.mjs";
|
|
|
9
9
|
import { useGlobalConfig as Q } from "../config-provider/hooks/use-global-config.mjs";
|
|
10
10
|
import { useNamespace as X } from "../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import Y from "./ap-tag.vue.mjs";
|
|
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({
|
|
12
|
+
const ce = /* @__PURE__ */ N({
|
|
65
13
|
__name: "ap-tag-group",
|
|
66
14
|
props: {
|
|
67
15
|
list: { default: () => [] },
|
|
@@ -70,32 +18,32 @@ const Z = /* @__PURE__ */ t("svg", {
|
|
|
70
18
|
ellipsis: { default: () => ({}) }
|
|
71
19
|
},
|
|
72
20
|
setup(T) {
|
|
73
|
-
const { t: V } = O(),
|
|
21
|
+
const { t: V } = O(), o = T, z = Q("uiMode"), { b: L, bm: x } = X("tag-group"), c = v(), i = s(() => ({
|
|
74
22
|
...{
|
|
75
23
|
iconColor: "#34B77C",
|
|
76
24
|
symbol: "icon",
|
|
77
25
|
text: V("ap.common.more")
|
|
78
26
|
},
|
|
79
|
-
...
|
|
80
|
-
})), M = s(() =>
|
|
27
|
+
...o.ellipsis
|
|
28
|
+
})), M = s(() => i.value.tooltip && typeof i.value.tooltip == "object" ? K(i.value.tooltip, ["trigger", "title"]) : {}), d = s(() => r(n) < o.list.length), $ = s(() => o.list.slice(0, r(n))), n = v(0), p = v(0), m = v(o.list.length), W = s(() => o.list.map((e) => e.text).join("、")), A = s(() => [L()].filter(Boolean)), D = s(() => z.value === "aplus" ? [x("ellipsis-text", "aplus")] : [x("ellipsis-text", "admin")]), f = () => {
|
|
81
29
|
if (!c.value) return;
|
|
82
|
-
const e = c.value.scrollWidth,
|
|
83
|
-
if (
|
|
84
|
-
const a = Math.floor((
|
|
85
|
-
e <=
|
|
30
|
+
const e = c.value.scrollWidth, l = c.value.clientWidth;
|
|
31
|
+
if (r(p) <= r(m)) {
|
|
32
|
+
const a = Math.floor((r(p) + r(m)) / 2);
|
|
33
|
+
e <= l ? (n.value = a, p.value = a + 1) : m.value = a - 1, g(() => {
|
|
86
34
|
requestAnimationFrame(f);
|
|
87
35
|
});
|
|
88
36
|
} else
|
|
89
|
-
e >
|
|
37
|
+
e > l && (n.value = n.value - 1, g(() => {
|
|
90
38
|
requestAnimationFrame(f);
|
|
91
39
|
}));
|
|
92
40
|
}, w = () => {
|
|
93
|
-
p.value = 0, m.value =
|
|
41
|
+
p.value = 0, m.value = o.list.length, n.value = 0;
|
|
94
42
|
};
|
|
95
43
|
P(
|
|
96
|
-
() =>
|
|
97
|
-
(e,
|
|
98
|
-
e !==
|
|
44
|
+
() => o.list,
|
|
45
|
+
(e, l) => {
|
|
46
|
+
e !== l && (w(), g(() => f()));
|
|
99
47
|
},
|
|
100
48
|
{
|
|
101
49
|
immediate: !0
|
|
@@ -106,15 +54,15 @@ const Z = /* @__PURE__ */ t("svg", {
|
|
|
106
54
|
};
|
|
107
55
|
return S(() => {
|
|
108
56
|
[["ellipsisColor", "ellipse.color"]].forEach(
|
|
109
|
-
([e,
|
|
110
|
-
|
|
111
|
-
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${
|
|
57
|
+
([e, l]) => {
|
|
58
|
+
o[e] && console.error(
|
|
59
|
+
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${l}\` instead.`
|
|
112
60
|
);
|
|
113
61
|
}
|
|
114
62
|
), window.addEventListener("resize", C);
|
|
115
63
|
}), j(() => {
|
|
116
64
|
window.removeEventListener("resize", C);
|
|
117
|
-
}), (e,
|
|
65
|
+
}), (e, l) => (u(), h(r(H), _({ trigger: "hover" }, M.value), {
|
|
118
66
|
title: y(() => [
|
|
119
67
|
q(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
120
68
|
G(k(W.value), 1)
|
|
@@ -135,18 +83,70 @@ const Z = /* @__PURE__ */ t("svg", {
|
|
|
135
83
|
marginRight: `${e.space}px`
|
|
136
84
|
}
|
|
137
85
|
}), null, 16, ["style"]))), 128)),
|
|
138
|
-
d.value &&
|
|
86
|
+
d.value && i.value.symbol === "icon" ? (u(), h(r(J), {
|
|
139
87
|
key: 0,
|
|
140
|
-
style: E({ color: e.ellipsisColor ||
|
|
88
|
+
style: E({ color: e.ellipsisColor || i.value.iconColor })
|
|
141
89
|
}, {
|
|
142
|
-
component: y(() => [
|
|
143
|
-
|
|
144
|
-
|
|
90
|
+
component: y(() => l[0] || (l[0] = [
|
|
91
|
+
t("svg", {
|
|
92
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
93
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
94
|
+
fill: "none",
|
|
95
|
+
version: "1.1",
|
|
96
|
+
width: "16",
|
|
97
|
+
height: "16",
|
|
98
|
+
viewBox: "0 0 16 16"
|
|
99
|
+
}, [
|
|
100
|
+
t("defs", null, [
|
|
101
|
+
t("clipPath", { id: "master_svg0_1133_24991" }, [
|
|
102
|
+
t("rect", {
|
|
103
|
+
x: "0",
|
|
104
|
+
y: "0",
|
|
105
|
+
width: "16",
|
|
106
|
+
height: "16",
|
|
107
|
+
rx: "0"
|
|
108
|
+
})
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
t("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
|
|
112
|
+
t("g", null, [
|
|
113
|
+
t("ellipse", {
|
|
114
|
+
cx: "8",
|
|
115
|
+
cy: "8",
|
|
116
|
+
rx: "1",
|
|
117
|
+
ry: "1",
|
|
118
|
+
fill: "currentColor",
|
|
119
|
+
"fill-opacity": "1"
|
|
120
|
+
})
|
|
121
|
+
]),
|
|
122
|
+
t("g", null, [
|
|
123
|
+
t("ellipse", {
|
|
124
|
+
cx: "3.25",
|
|
125
|
+
cy: "8",
|
|
126
|
+
rx: "1",
|
|
127
|
+
ry: "1",
|
|
128
|
+
fill: "currentColor",
|
|
129
|
+
"fill-opacity": "1"
|
|
130
|
+
})
|
|
131
|
+
]),
|
|
132
|
+
t("g", null, [
|
|
133
|
+
t("ellipse", {
|
|
134
|
+
cx: "12.75",
|
|
135
|
+
cy: "8",
|
|
136
|
+
rx: "1",
|
|
137
|
+
ry: "1",
|
|
138
|
+
fill: "currentColor",
|
|
139
|
+
"fill-opacity": "1"
|
|
140
|
+
})
|
|
141
|
+
])
|
|
142
|
+
])
|
|
143
|
+
], -1)
|
|
144
|
+
])),
|
|
145
145
|
_: 1
|
|
146
|
-
}, 8, ["style"])) : d.value &&
|
|
146
|
+
}, 8, ["style"])) : d.value && i.value.symbol === "text" ? (u(), B("span", {
|
|
147
147
|
key: 1,
|
|
148
148
|
class: b(D.value)
|
|
149
|
-
}, k(
|
|
149
|
+
}, k(i.value.text), 3)) : U("", !0)
|
|
150
150
|
], 6)
|
|
151
151
|
]),
|
|
152
152
|
_: 3
|
|
@@ -154,5 +154,5 @@ const Z = /* @__PURE__ */ t("svg", {
|
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
export {
|
|
157
|
-
|
|
157
|
+
ce as default
|
|
158
158
|
};
|
|
@@ -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
|
-
};
|
|
@@ -1,131 +1,28 @@
|
|
|
1
1
|
import { default as ModalButton } from './modal-button.vue';
|
|
2
2
|
import { default as PopConfirmButton } from './pop-confirm-button.vue';
|
|
3
|
-
import {
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
|
|
4
|
+
import { ButtonProps } from './interface';
|
|
4
5
|
export * from './interface';
|
|
5
6
|
export { ModalButton, PopConfirmButton };
|
|
6
7
|
export declare const BaseButton: {
|
|
7
|
-
new (...args: any[]):
|
|
8
|
-
onClick: {
|
|
9
|
-
type: PropType<() => void>;
|
|
10
|
-
};
|
|
11
|
-
loading: {
|
|
12
|
-
type: PropType<boolean>;
|
|
13
|
-
};
|
|
14
|
-
disabled: {
|
|
15
|
-
type: PropType<boolean>;
|
|
16
|
-
};
|
|
17
|
-
text: {
|
|
18
|
-
type: PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
color: {
|
|
21
|
-
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
22
|
-
};
|
|
23
|
-
preIcon: {
|
|
24
|
-
type: PropType<string>;
|
|
25
|
-
};
|
|
26
|
-
postIcon: {
|
|
27
|
-
type: PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
iconSize: {
|
|
30
|
-
type: PropType<number>;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
34
|
-
onClick: {
|
|
35
|
-
type: PropType<() => void>;
|
|
36
|
-
};
|
|
37
|
-
loading: {
|
|
38
|
-
type: PropType<boolean>;
|
|
39
|
-
};
|
|
40
|
-
disabled: {
|
|
41
|
-
type: PropType<boolean>;
|
|
42
|
-
};
|
|
43
|
-
text: {
|
|
44
|
-
type: PropType<string>;
|
|
45
|
-
};
|
|
46
|
-
color: {
|
|
47
|
-
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
48
|
-
};
|
|
49
|
-
preIcon: {
|
|
50
|
-
type: PropType<string>;
|
|
51
|
-
};
|
|
52
|
-
postIcon: {
|
|
53
|
-
type: PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
iconSize: {
|
|
56
|
-
type: PropType<number>;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
}>>, {
|
|
8
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ButtonProps & {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ButtonProps & {}>, {
|
|
60
9
|
iconSize: number;
|
|
61
|
-
},
|
|
10
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, ComponentProvideOptions, {
|
|
62
11
|
P: {};
|
|
63
12
|
B: {};
|
|
64
13
|
D: {};
|
|
65
14
|
C: {};
|
|
66
15
|
M: {};
|
|
67
16
|
Defaults: {};
|
|
68
|
-
}, Readonly<
|
|
69
|
-
onClick: {
|
|
70
|
-
type: PropType<() => void>;
|
|
71
|
-
};
|
|
72
|
-
loading: {
|
|
73
|
-
type: PropType<boolean>;
|
|
74
|
-
};
|
|
75
|
-
disabled: {
|
|
76
|
-
type: PropType<boolean>;
|
|
77
|
-
};
|
|
78
|
-
text: {
|
|
79
|
-
type: PropType<string>;
|
|
80
|
-
};
|
|
81
|
-
color: {
|
|
82
|
-
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
83
|
-
};
|
|
84
|
-
preIcon: {
|
|
85
|
-
type: PropType<string>;
|
|
86
|
-
};
|
|
87
|
-
postIcon: {
|
|
88
|
-
type: PropType<string>;
|
|
89
|
-
};
|
|
90
|
-
iconSize: {
|
|
91
|
-
type: PropType<number>;
|
|
92
|
-
default: number;
|
|
93
|
-
};
|
|
94
|
-
}>>, {}, {}, {}, {}, {
|
|
17
|
+
}, Readonly< ButtonProps & {}>, {}, {}, {}, {}, {
|
|
95
18
|
iconSize: number;
|
|
96
19
|
}>;
|
|
97
20
|
__isFragment?: never;
|
|
98
21
|
__isTeleport?: never;
|
|
99
22
|
__isSuspense?: never;
|
|
100
|
-
} & ComponentOptionsBase<Readonly<
|
|
101
|
-
onClick: {
|
|
102
|
-
type: PropType<() => void>;
|
|
103
|
-
};
|
|
104
|
-
loading: {
|
|
105
|
-
type: PropType<boolean>;
|
|
106
|
-
};
|
|
107
|
-
disabled: {
|
|
108
|
-
type: PropType<boolean>;
|
|
109
|
-
};
|
|
110
|
-
text: {
|
|
111
|
-
type: PropType<string>;
|
|
112
|
-
};
|
|
113
|
-
color: {
|
|
114
|
-
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
115
|
-
};
|
|
116
|
-
preIcon: {
|
|
117
|
-
type: PropType<string>;
|
|
118
|
-
};
|
|
119
|
-
postIcon: {
|
|
120
|
-
type: PropType<string>;
|
|
121
|
-
};
|
|
122
|
-
iconSize: {
|
|
123
|
-
type: PropType<number>;
|
|
124
|
-
default: number;
|
|
125
|
-
};
|
|
126
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
23
|
+
} & ComponentOptionsBase<Readonly< ButtonProps & {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
127
24
|
iconSize: number;
|
|
128
|
-
}, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
25
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
129
26
|
$slots: {
|
|
130
27
|
icon?(_: {}): any;
|
|
131
28
|
default?(_: any): any;
|