@aplus-frontend/ui 0.1.4 → 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/index.mjs +60 -59
- 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/interface.d.ts +4 -0
- 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 +60 -53
- 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 +4014 -11845
- 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 +14 -0
- package/es/src/business/ap-batch-action/ApBatchAction.vue.mjs +4 -0
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +46 -0
- package/es/src/business/ap-batch-action/index.css +24 -0
- 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 +211 -896
- package/es/src/business/index.mjs +14 -11
- 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/editable-table/utils.mjs +1 -1
- 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/index.mjs +176 -175
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- 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/theme/ap-batch-action/ap-batch-action.css +24 -0
- package/es/src/theme/css-var/index.mjs +17 -5
- 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/index.js +1 -1
- 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/interface.d.ts +4 -0
- 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 +4014 -11845
- 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 +14 -0
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.js +1 -0
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -0
- package/lib/src/business/ap-batch-action/index.css +24 -0
- 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 +211 -896
- package/lib/src/business/index.js +1 -1
- 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/editable-table/utils.js +1 -1
- 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/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- 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/theme/ap-batch-action/ap-batch-action.css +24 -0
- package/lib/src/theme/css-var/index.js +1 -1
- 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 +4 -4
|
@@ -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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("ant-design-vue"),N=require("@ant-design/icons-vue");require("./ap-tag.vue2.js");require("../config-provider/index.js");const q=require("lodash-unified");require("./style/ap-tag-group.css");const B=require("../config-provider/hooks/use-locale.js"),b=require("../config-provider/hooks/use-global-config.js"),T=require("../config-provider/hooks/use-namespace.js"),z=require("./ap-tag.vue.js"),M=e.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("ant-design-vue"),N=require("@ant-design/icons-vue");require("./ap-tag.vue2.js");require("../config-provider/index.js");const q=require("lodash-unified");require("./style/ap-tag-group.css");const B=require("../config-provider/hooks/use-locale.js"),b=require("../config-provider/hooks/use-global-config.js"),T=require("../config-provider/hooks/use-namespace.js"),z=require("./ap-tag.vue.js"),M=e.defineComponent({__name:"ap-tag-group",props:{list:{default:()=>[]},space:{default:4},ellipsisColor:{},ellipsis:{default:()=>({})}},setup(v){const{t:g}=B.useLocale(),o=v,y=b.useGlobalConfig("uiMode"),{b:h,bm:m}=T.useNamespace("tag-group"),i=e.ref(),r=e.computed(()=>({...{iconColor:"#34B77C",symbol:"icon",text:g("ap.common.more")},...o.ellipsis})),x=e.computed(()=>r.value.tooltip&&typeof r.value.tooltip=="object"?q.omit(r.value.tooltip,["trigger","title"]):{}),p=e.computed(()=>e.unref(n)<o.list.length),C=e.computed(()=>o.list.slice(0,e.unref(n))),n=e.ref(0),a=e.ref(0),u=e.ref(o.list.length),w=e.computed(()=>o.list.map(t=>t.text).join("、")),k=e.computed(()=>[h()].filter(Boolean)),E=e.computed(()=>y.value==="aplus"?[m("ellipsis-text","aplus")]:[m("ellipsis-text","admin")]),c=()=>{if(!i.value)return;const t=i.value.scrollWidth,l=i.value.clientWidth;if(e.unref(a)<=e.unref(u)){const s=Math.floor((e.unref(a)+e.unref(u))/2);t<=l?(n.value=s,a.value=s+1):u.value=s-1,e.nextTick(()=>{requestAnimationFrame(c)})}else t>l&&(n.value=n.value-1,e.nextTick(()=>{requestAnimationFrame(c)}))},d=()=>{a.value=0,u.value=o.list.length,n.value=0};e.watch(()=>o.list,(t,l)=>{t!==l&&(d(),e.nextTick(()=>c()))},{immediate:!0});const f=()=>{d(),c()};return e.onMounted(()=>{[["ellipsisColor","ellipse.color"]].forEach(([t,l])=>{o[t]&&console.error(`[ApTagGroup]: \`${t}\` is deprecated, please use \`${l}\` instead.`)}),window.addEventListener("resize",f)}),e.onUnmounted(()=>{window.removeEventListener("resize",f)}),(t,l)=>(e.openBlock(),e.createBlock(e.unref(V.Tooltip),e.mergeProps({trigger:"hover"},x.value),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{tags:t.list},()=>[e.createTextVNode(e.toDisplayString(w.value),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(k.value),ref_key:"container",ref:i,style:e.normalizeStyle({pointerEvents:p.value?"auto":"none"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(s,_)=>(e.openBlock(),e.createBlock(z.default,e.mergeProps({ref_for:!0},s,{key:_,style:{marginRight:`${t.space}px`}}),null,16,["style"]))),128)),p.value&&r.value.symbol==="icon"?(e.openBlock(),e.createBlock(e.unref(N),{key:0,style:e.normalizeStyle({color:t.ellipsisColor||r.value.iconColor})},{component:e.withCtx(()=>l[0]||(l[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"master_svg0_1133_24991"},[e.createElementVNode("rect",{x:"0",y:"0",width:"16",height:"16",rx:"0"})])]),e.createElementVNode("g",{"clip-path":"url(#master_svg0_1133_24991)"},[e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"8",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"3.25",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"12.75",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})])])],-1)])),_:1},8,["style"])):p.value&&r.value.symbol==="text"?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(E.value)},e.toDisplayString(r.value.text),3)):e.createCommentVNode("",!0)],6)]),_:3},16))}});exports.default=M;
|
|
@@ -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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DefineComponent, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ModalOptionsEx } from '../hooks/useMessage';
|
|
3
|
-
declare const _default: DefineComponent<{
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
4
|
enable: {
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
@@ -9,19 +9,13 @@ declare const _default: DefineComponent<{
|
|
|
9
9
|
type: PropType<Partial< ModalOptionsEx>>;
|
|
10
10
|
default: () => {};
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
13
13
|
[key: string]: any;
|
|
14
|
-
}>,
|
|
15
|
-
enable:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
modalConfig: {
|
|
20
|
-
type: PropType<Partial< ModalOptionsEx>>;
|
|
21
|
-
default: () => {};
|
|
22
|
-
};
|
|
23
|
-
}>>, {
|
|
14
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
15
|
+
enable: boolean;
|
|
16
|
+
modalConfig: Partial< ModalOptionsEx>;
|
|
17
|
+
} & {} & {}>, {
|
|
24
18
|
enable: boolean;
|
|
25
19
|
modalConfig: Partial< ModalOptionsEx>;
|
|
26
|
-
}, {}>;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
|
|
27
21
|
export default _default;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
3
|
enable: {
|
|
4
4
|
type: BooleanConstructor;
|
|
5
5
|
default: boolean;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
8
8
|
[key: string]: any;
|
|
9
|
-
}>,
|
|
10
|
-
enable:
|
|
11
|
-
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}>>, {
|
|
9
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
10
|
+
enable: boolean;
|
|
11
|
+
} & {} & {}>, {
|
|
15
12
|
enable: boolean;
|
|
16
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
|
|
17
14
|
export default _default;
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { BasicArrowProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<BasicArrowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BasicArrowProps & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
4
4
|
export default _default;
|
|
5
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
-
type __VLS_TypePropsToOption<T> = {
|
|
7
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
-
} : {
|
|
10
|
-
type: PropType<T[K]>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
};
|