@aplus-frontend/ui 0.1.8 → 0.1.10
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 +57 -56
- package/es/src/ap-action/group/index.vue.d.ts +30 -3
- package/es/src/ap-action/item/index.vue.d.ts +30 -3
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
- package/es/src/ap-action/item-modal/index.vue.d.ts +33 -6
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
- package/es/src/ap-custom-column/column-select.vue.d.ts +14 -5
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +14 -5
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
- package/es/src/ap-download/ap-download.vue.d.ts +28 -3
- package/es/src/ap-field/checkbox/index.vue.d.ts +31 -40
- package/es/src/ap-field/date/index.vue.d.ts +64 -19
- package/es/src/ap-field/date-range/index.vue.d.ts +66 -20
- package/es/src/ap-field/interface.d.ts +4 -0
- package/es/src/ap-field/number/index.vue.d.ts +42 -138
- package/es/src/ap-field/radio/index.vue.d.ts +31 -51
- package/es/src/ap-field/rate/index.vue.d.ts +39 -46
- package/es/src/ap-field/segmented/index.vue.d.ts +32 -47
- package/es/src/ap-field/select/index.vue.d.ts +65 -192
- package/es/src/ap-field/select/index.vue.mjs +36 -31
- package/es/src/ap-field/slider/index.vue.d.ts +40 -115
- package/es/src/ap-field/switch/index.vue.d.ts +35 -60
- package/es/src/ap-field/text/index.vue.d.ts +38 -105
- package/es/src/ap-field/text/password.vue.d.ts +45 -113
- package/es/src/ap-field/text-area/index.vue.d.ts +38 -117
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +25 -30
- package/es/src/ap-form/ap-form-item.vue.d.ts +38 -128
- package/es/src/ap-form/ap-form-item.vue.mjs +52 -42
- package/es/src/ap-form/ap-form-list.vue.d.ts +11 -2
- package/es/src/ap-form/ap-form.vue.d.ts +36 -238
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
- package/es/src/ap-form/items/date/index.vue.d.ts +37 -131
- package/es/src/ap-form/items/date-range/index.vue.d.ts +37 -131
- package/es/src/ap-form/items/number/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/radio/index.vue.d.ts +38 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/switch/index.vue.d.ts +39 -7
- package/es/src/ap-form/items/text/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/text/password.vue.d.ts +38 -132
- package/es/src/ap-form/items/text-area/index.vue.d.ts +38 -9
- package/es/src/ap-form/modal-form/index.vue.d.ts +52 -17
- package/es/src/ap-form/search-form/index.vue.d.ts +50 -254
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +30 -3
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +33 -23
- 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/ap-table.vue.mjs +158 -147
- package/es/src/ap-table/components/index/index.vue.d.ts +24 -3
- package/es/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/es/src/ap-table/constants.d.ts +12396 -4527
- 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 -10
- package/es/src/ap-table/hooks/use-table-paging.mjs +63 -63
- package/es/src/ap-table/interface.d.ts +13 -1
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
- package/es/src/ap-tag/ap-tag.vue.d.ts +28 -3
- package/es/src/ap-upload/apUpload.vue.d.ts +48 -23
- 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 +24 -3
- package/es/src/base-button/index.d.ts +110 -7
- package/es/src/base-button/modal-button.vue.d.ts +14 -8
- package/es/src/base-button/pop-confirm-button.vue.d.ts +10 -7
- package/es/src/basic/arrow.vue.d.ts +11 -2
- package/es/src/basic/help.vue.d.ts +50 -324
- package/es/src/basic/index.d.ts +202 -667
- package/es/src/basic/title.vue.d.ts +24 -3
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +53 -48
- package/es/src/business/ap-export-group/interface.d.ts +4 -0
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
- package/es/src/business/ap-label/ApLabel.vue.d.ts +40 -45
- package/es/src/business/ap-label/ApLabel.vue2.mjs +54 -39
- package/es/src/business/ap-label/ApLabelGroup.d.ts +43 -0
- package/es/src/business/ap-label/ApLabelGroup.mjs +30 -0
- package/es/src/business/ap-label/constans.d.ts +20 -0
- package/es/src/business/ap-label/constans.mjs +21 -0
- package/es/src/business/ap-label/interface.d.ts +21 -2
- package/es/src/business/ap-label/style.css +26 -1
- 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 +28 -3
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
- package/es/src/business/index.d.ts +995 -201
- package/es/src/business/index.mjs +21 -19
- package/es/src/business/title/ApTitle.vue.d.ts +32 -3
- package/es/src/button/button.vue.d.ts +11 -2
- package/es/src/button/index.d.ts +32 -16
- package/es/src/check-card/group.vue.d.ts +41 -17
- package/es/src/check-card/index.vue.d.ts +35 -20
- package/es/src/config-provider/config-provider.d.ts +137 -41
- package/es/src/config-provider/index.d.ts +545 -161
- package/es/src/container/collapse/header.vue.d.ts +13 -11
- package/es/src/container/collapse/index.vue.d.ts +40 -11
- package/es/src/container/index.d.ts +119 -40
- package/es/src/container/scroll-container.vue.d.ts +12 -3
- package/es/src/count-down/button.vue.d.ts +24 -3
- package/es/src/count-down/index.d.ts +111 -12
- package/es/src/count-down/input.vue.d.ts +24 -3
- package/es/src/cropper/cropper-avatar.vue.d.ts +33 -6
- package/es/src/cropper/cropper-image.vue.d.ts +36 -5
- package/es/src/cropper/cropper-modal.vue.d.ts +21 -13
- package/es/src/cropper/index.d.ts +269 -24
- package/es/src/description/description.vue.d.ts +45 -15
- package/es/src/description/index.d.ts +171 -51
- package/es/src/dropdown/dropdown.vue.d.ts +30 -5
- package/es/src/dropdown/index.d.ts +76 -12
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +4 -4
- package/es/src/hooks/useControllableValue.d.ts +1 -1
- package/es/src/icon/icon.vue.d.ts +29 -3
- package/es/src/icon/index.d.ts +159 -12
- package/es/src/icon/svg-icon.vue.d.ts +28 -3
- package/es/src/icon-picker/icon-picker.vue.d.ts +38 -5
- package/es/src/icon-picker/index.d.ts +139 -12
- package/es/src/index.mjs +184 -183
- package/es/src/modal/basic.vue.d.ts +117 -147
- package/es/src/modal/components/modal-close.vue.d.ts +26 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +116 -146
- package/es/src/modal/components/modal-header.vue.d.ts +11 -2
- package/es/src/modal/components/modal-wrapper.vue.d.ts +43 -19
- package/es/src/modal/components/modal.d.ts +115 -145
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +462 -287
- package/es/src/pro-form/components/api-cascader.vue.d.ts +38 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
- package/es/src/pro-form/components/api-select.vue.d.ts +38 -5
- package/es/src/pro-form/components/api-transfer.vue.d.ts +40 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +28 -5
- package/es/src/pro-form/components/form-action.vue.d.ts +38 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +34 -14
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +57 -6
- package/es/src/pro-form/table-form-inner.vue.d.ts +34 -5
- package/es/src/pro-form/table-form.vue.d.ts +29 -4
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
- package/es/src/pro-table/components/header-cell.vue.d.ts +9 -726
- 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 +11 -8
- 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 +24 -10
- package/es/src/pro-table/components/table-footer.vue.d.ts +30 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +31 -15
- package/es/src/pro-table/components/table-image.vue.d.ts +32 -3
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
- package/es/src/pro-table/components/table-title.vue.d.ts +13 -7
- package/es/src/pro-table/pro-table.vue.d.ts +61 -8
- package/es/src/prompt/dialog.vue.d.ts +11 -2
- package/es/src/scroll-bar/bar-item.d.ts +9 -10
- package/es/src/scroll-bar/index.d.ts +135 -12
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
- package/es/src/strength-meter/index.d.ts +55 -12
- package/es/src/strength-meter/strength-meter.vue.d.ts +26 -5
- package/es/src/tests/wrapper.d.ts +6 -3
- package/es/src/theme/antd-global-overwrite/admin/button.css +3 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +3 -0
- package/es/src/theme/antd-global-overwrite/aplus/button.css +3 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +3 -0
- package/es/src/theme/ap-label/ap-label.css +26 -1
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +25 -13
- package/es/src/transition/index.d.ts +193 -88
- 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 +15 -6
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +30 -3
- package/lib/src/ap-action/item/index.vue.d.ts +30 -3
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
- package/lib/src/ap-action/item-modal/index.vue.d.ts +33 -6
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
- package/lib/src/ap-custom-column/column-select.vue.d.ts +14 -5
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +14 -5
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
- package/lib/src/ap-download/ap-download.vue.d.ts +28 -3
- package/lib/src/ap-field/checkbox/index.vue.d.ts +31 -40
- package/lib/src/ap-field/date/index.vue.d.ts +64 -19
- package/lib/src/ap-field/date-range/index.vue.d.ts +66 -20
- package/lib/src/ap-field/interface.d.ts +4 -0
- package/lib/src/ap-field/number/index.vue.d.ts +42 -138
- package/lib/src/ap-field/radio/index.vue.d.ts +31 -51
- package/lib/src/ap-field/rate/index.vue.d.ts +39 -46
- package/lib/src/ap-field/segmented/index.vue.d.ts +32 -47
- package/lib/src/ap-field/select/index.vue.d.ts +65 -192
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +40 -115
- package/lib/src/ap-field/switch/index.vue.d.ts +35 -60
- package/lib/src/ap-field/text/index.vue.d.ts +38 -105
- package/lib/src/ap-field/text/password.vue.d.ts +45 -113
- package/lib/src/ap-field/text-area/index.vue.d.ts +38 -117
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
- 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 +38 -128
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +11 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +36 -238
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
- package/lib/src/ap-form/items/date/index.vue.d.ts +37 -131
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +37 -131
- package/lib/src/ap-form/items/number/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/radio/index.vue.d.ts +38 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/switch/index.vue.d.ts +39 -7
- package/lib/src/ap-form/items/text/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/text/password.vue.d.ts +38 -132
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +38 -9
- package/lib/src/ap-form/modal-form/index.vue.d.ts +52 -17
- package/lib/src/ap-form/search-form/index.vue.d.ts +50 -254
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +30 -3
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -1
- 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/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +24 -3
- package/lib/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/lib/src/ap-table/constants.d.ts +12396 -4527
- 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 -10
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/interface.d.ts +13 -1
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +28 -3
- package/lib/src/ap-upload/apUpload.vue.d.ts +48 -23
- 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 +24 -3
- package/lib/src/base-button/index.d.ts +110 -7
- package/lib/src/base-button/modal-button.vue.d.ts +14 -8
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +10 -7
- package/lib/src/basic/arrow.vue.d.ts +11 -2
- package/lib/src/basic/help.vue.d.ts +50 -324
- package/lib/src/basic/index.d.ts +202 -667
- package/lib/src/basic/title.vue.d.ts +24 -3
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/interface.d.ts +4 -0
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +40 -45
- package/lib/src/business/ap-label/ApLabel.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabelGroup.d.ts +43 -0
- package/lib/src/business/ap-label/ApLabelGroup.js +1 -0
- package/lib/src/business/ap-label/constans.d.ts +20 -0
- package/lib/src/business/ap-label/constans.js +1 -0
- package/lib/src/business/ap-label/interface.d.ts +21 -2
- package/lib/src/business/ap-label/style.css +26 -1
- 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 +28 -3
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
- package/lib/src/business/index.d.ts +995 -201
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.d.ts +32 -3
- package/lib/src/button/button.vue.d.ts +11 -2
- package/lib/src/button/index.d.ts +32 -16
- package/lib/src/check-card/group.vue.d.ts +41 -17
- package/lib/src/check-card/index.vue.d.ts +35 -20
- package/lib/src/config-provider/config-provider.d.ts +137 -41
- package/lib/src/config-provider/index.d.ts +545 -161
- package/lib/src/container/collapse/header.vue.d.ts +13 -11
- package/lib/src/container/collapse/index.vue.d.ts +40 -11
- package/lib/src/container/index.d.ts +119 -40
- package/lib/src/container/scroll-container.vue.d.ts +12 -3
- package/lib/src/count-down/button.vue.d.ts +24 -3
- package/lib/src/count-down/index.d.ts +111 -12
- package/lib/src/count-down/input.vue.d.ts +24 -3
- package/lib/src/cropper/cropper-avatar.vue.d.ts +33 -6
- package/lib/src/cropper/cropper-image.vue.d.ts +36 -5
- package/lib/src/cropper/cropper-modal.vue.d.ts +21 -13
- package/lib/src/cropper/index.d.ts +269 -24
- package/lib/src/description/description.vue.d.ts +45 -15
- package/lib/src/description/index.d.ts +171 -51
- package/lib/src/dropdown/dropdown.vue.d.ts +30 -5
- package/lib/src/dropdown/index.d.ts +76 -12
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +4 -4
- package/lib/src/hooks/useControllableValue.d.ts +1 -1
- package/lib/src/icon/icon.vue.d.ts +29 -3
- package/lib/src/icon/index.d.ts +159 -12
- package/lib/src/icon/svg-icon.vue.d.ts +28 -3
- package/lib/src/icon-picker/icon-picker.vue.d.ts +38 -5
- package/lib/src/icon-picker/index.d.ts +139 -12
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +117 -147
- package/lib/src/modal/components/modal-close.vue.d.ts +26 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +116 -146
- package/lib/src/modal/components/modal-header.vue.d.ts +11 -2
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +43 -19
- package/lib/src/modal/components/modal.d.ts +115 -145
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +462 -287
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +38 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
- package/lib/src/pro-form/components/api-select.vue.d.ts +38 -5
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +40 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +28 -5
- package/lib/src/pro-form/components/form-action.vue.d.ts +38 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +34 -14
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +57 -6
- package/lib/src/pro-form/table-form-inner.vue.d.ts +34 -5
- package/lib/src/pro-form/table-form.vue.d.ts +29 -4
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
- package/lib/src/pro-table/components/header-cell.vue.d.ts +9 -726
- 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 +11 -8
- 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 +24 -10
- package/lib/src/pro-table/components/table-footer.vue.d.ts +30 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +31 -15
- package/lib/src/pro-table/components/table-image.vue.d.ts +32 -3
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
- package/lib/src/pro-table/components/table-title.vue.d.ts +13 -7
- package/lib/src/pro-table/pro-table.vue.d.ts +61 -8
- package/lib/src/prompt/dialog.vue.d.ts +11 -2
- package/lib/src/scroll-bar/bar-item.d.ts +9 -10
- package/lib/src/scroll-bar/index.d.ts +135 -12
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
- package/lib/src/strength-meter/index.d.ts +55 -12
- package/lib/src/strength-meter/strength-meter.vue.d.ts +26 -5
- package/lib/src/tests/wrapper.d.ts +6 -3
- package/lib/src/theme/antd-global-overwrite/admin/button.css +3 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +3 -0
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +3 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +3 -0
- package/lib/src/theme/ap-label/ap-label.css +26 -1
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +25 -13
- package/lib/src/transition/index.d.ts +193 -88
- 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 +15 -6
- package/package.json +4 -4
package/es/index.mjs
CHANGED
|
@@ -2,11 +2,11 @@ import * as e from "./src/index.mjs";
|
|
|
2
2
|
import "./src/hooks/index.mjs";
|
|
3
3
|
import { Icon as l, SvgIcon as s } from "./src/icon/index.mjs";
|
|
4
4
|
import { configProviderProps as x } from "./src/config-provider/config-provider-props.mjs";
|
|
5
|
-
import { configProviderContextKey as
|
|
5
|
+
import { configProviderContextKey as u, tableDefaultConfig as n } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as T } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
-
import { buildLocaleContext as S, buildTranslator as
|
|
8
|
-
import { defaultNamespace as D, namespaceContextKey as R, useGetDerivedNamespace as v, useNamespace as
|
|
9
|
-
import { ConfigProvider as
|
|
7
|
+
import { buildLocaleContext as S, buildTranslator as b, localeContextKey as I, translate as g, useLocale as P } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { defaultNamespace as D, namespaceContextKey as R, useGetDerivedNamespace as v, useNamespace as G } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as B, globalConfigCached as k } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as L } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { Scrollbar as E } from "./src/scroll-bar/index.mjs";
|
|
12
12
|
import { CollapseContainer as X, ScrollContainer as K } from "./src/container/index.mjs";
|
|
@@ -16,15 +16,15 @@ import { default as U } from "./src/locale/lang/en.mjs";
|
|
|
16
16
|
import { BasicArrow as $, BasicHelp as j, BasicTitle as q } from "./src/basic/index.mjs";
|
|
17
17
|
import { default as Q } from "./src/transition/collapse-transition.vue.mjs";
|
|
18
18
|
import { ExpandTransition as _, ExpandXTransition as oo, FadeTransition as eo, ScaleRotateTransition as ro, ScaleTransition as to, ScrollXReverseTransition as ao, ScrollXTransition as po, ScrollYReverseTransition as fo, ScrollYTransition as mo, SlideXReverseTransition as lo, SlideXTransition as so, SlideYReverseTransition as xo, SlideYTransition as io } from "./src/transition/index.mjs";
|
|
19
|
-
import { useDescription as
|
|
19
|
+
import { useDescription as no } from "./src/description/use-description.mjs";
|
|
20
20
|
import { Description as co } from "./src/description/index.mjs";
|
|
21
21
|
import { useComponentRegister as To } from "./src/pro-form/hooks/use-component-register.mjs";
|
|
22
22
|
import { useForm as So } from "./src/pro-form/hooks/use-form.mjs";
|
|
23
|
-
import { isComponentFormSchema as
|
|
23
|
+
import { isComponentFormSchema as Io, isSlotFormSchema as go } from "./src/pro-form/types/form.mjs";
|
|
24
24
|
import { Field as ho } from "./src/pro-form/index.mjs";
|
|
25
25
|
import { default as Ro } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
26
|
+
import { default as Go } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
|
+
import { default as Bo } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
28
|
import { default as wo } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
29
29
|
import { default as yo } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
30
30
|
import { default as No } from "./src/pro-form/components/radio-button-group.vue.mjs";
|
|
@@ -41,15 +41,15 @@ import { useModal as te, useModalInner as ae } from "./src/modal/hooks/use-modal
|
|
|
41
41
|
import { BaseModal as fe } from "./src/modal/index.mjs";
|
|
42
42
|
import { CropperAvatar as le, CropperImage as se } from "./src/cropper/index.mjs";
|
|
43
43
|
import { CountdownButton as xe, CountdownInput as ie } from "./src/count-down/index.mjs";
|
|
44
|
-
import { createPrompt as
|
|
44
|
+
import { createPrompt as ne } from "./src/prompt/index.mjs";
|
|
45
45
|
import { Dropdown as ce } from "./src/dropdown/index.mjs";
|
|
46
46
|
import { default as Te } from "./src/pro-table/pro-table.vue.mjs";
|
|
47
47
|
import { default as Se } from "./src/pro-table/components/table-action.vue.mjs";
|
|
48
|
-
import { default as
|
|
48
|
+
import { default as Ie } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
49
49
|
import { default as Pe } from "./src/pro-table/components/table-image.vue.mjs";
|
|
50
50
|
import { useTable as De } from "./src/pro-table/hooks/use-table.mjs";
|
|
51
51
|
import { ApFormItemText as ve } from "./src/ap-form/items/text/index.mjs";
|
|
52
|
-
import { default as
|
|
52
|
+
import { default as Me } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
53
53
|
import { default as ke } from "./src/ap-form/items/number/index.vue.mjs";
|
|
54
54
|
import { default as Le } from "./src/ap-form/items/date/index.vue.mjs";
|
|
55
55
|
import { default as Ee } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
@@ -68,15 +68,15 @@ import { ApField as fr } from "./src/ap-field/index.mjs";
|
|
|
68
68
|
import { ApFieldText as lr } from "./src/ap-field/text/index.mjs";
|
|
69
69
|
import { default as dr } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
70
70
|
import { default as ir } from "./src/ap-field/date/index.vue.mjs";
|
|
71
|
-
import { default as
|
|
71
|
+
import { default as nr } from "./src/ap-field/number/index.vue.mjs";
|
|
72
72
|
import { default as cr } from "./src/ap-field/radio/index.vue.mjs";
|
|
73
73
|
import { default as Tr } from "./src/ap-field/switch/index.vue.mjs";
|
|
74
74
|
import { default as Sr } from "./src/ap-field/text-area/index.vue.mjs";
|
|
75
|
-
import { default as
|
|
75
|
+
import { default as Ir } from "./src/ap-field/date-range/index.vue.mjs";
|
|
76
76
|
import { default as Pr } from "./src/ap-field/select/index.vue.mjs";
|
|
77
77
|
import { default as Dr } from "./src/ap-field/text/password.vue.mjs";
|
|
78
78
|
import { default as vr } from "./src/ap-field/slider/index.vue.mjs";
|
|
79
|
-
import { default as
|
|
79
|
+
import { default as Mr } from "./src/ap-field/segmented/index.vue.mjs";
|
|
80
80
|
import { default as kr } from "./src/ap-field/rate/index.vue.mjs";
|
|
81
81
|
import { adminToken as Lr, aplusToken as yr } from "./src/design-token/index.mjs";
|
|
82
82
|
import { ApActionItem as Nr } from "./src/ap-action/index.mjs";
|
|
@@ -94,21 +94,21 @@ import { default as pt } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
|
94
94
|
import { default as mt } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
95
95
|
import { default as st } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
96
96
|
import { default as xt } from "./src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
|
|
97
|
-
import { NeedNameKeyDefault as
|
|
97
|
+
import { NeedNameKeyDefault as ut } from "./src/ap-upload/apUploadTypes.mjs";
|
|
98
98
|
import { default as At } from "./src/ap-upload/apUpload.vue.mjs";
|
|
99
99
|
import { default as Ft } from "./src/ap-download/ap-download.vue.mjs";
|
|
100
100
|
import { CheckCard as Ct } from "./src/check-card/index.mjs";
|
|
101
|
-
import { default as
|
|
101
|
+
import { default as bt } from "./src/check-card/group.vue.mjs";
|
|
102
102
|
import { ApModal as gt } from "./src/ap-modal/index.mjs";
|
|
103
103
|
import { default as ht } from "./src/ap-list/index.vue.mjs";
|
|
104
|
-
import { ApBatchAction as Rt, ApExpandAlert as vt, ApExportGroup as
|
|
105
|
-
import { useTablePaging as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { useMessage as
|
|
111
|
-
import { useControllableValue as
|
|
104
|
+
import { ApBatchAction as Rt, ApExpandAlert as vt, ApExportGroup as Gt, ApInputRadio as Mt, ApLabel as Bt, ApLabelGroup as kt, ApSelectLayout as wt, ApStatus as Lt, ApStatusGroup as yt, ApTitle as Et } from "./src/business/index.mjs";
|
|
105
|
+
import { useTablePaging as Xt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
106
|
+
import { default as Yt } from "./src/ap-table/ap-table.vue.mjs";
|
|
107
|
+
import { default as Ht } from "./src/editable-table/index.vue.mjs";
|
|
108
|
+
import { default as zt } from "./src/editable-table/form-item.vue.mjs";
|
|
109
|
+
import { default as Vt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
110
|
+
import { useMessage as jt } from "./src/hooks/useMessage.mjs";
|
|
111
|
+
import { useControllableValue as Jt } from "./src/hooks/useControllableValue.mjs";
|
|
112
112
|
const p = {
|
|
113
113
|
install: (r) => {
|
|
114
114
|
for (const t in e) {
|
|
@@ -127,19 +127,19 @@ export {
|
|
|
127
127
|
Rt as ApBatchAction,
|
|
128
128
|
Qr as ApCustomColumn,
|
|
129
129
|
_r as ApCustomSelect,
|
|
130
|
-
|
|
130
|
+
Vt as ApDescriptions,
|
|
131
131
|
Ft as ApDownload,
|
|
132
132
|
vt as ApExpandAlert,
|
|
133
|
-
|
|
133
|
+
Gt as ApExportGroup,
|
|
134
134
|
fr as ApField,
|
|
135
135
|
dr as ApFieldCheckbox,
|
|
136
136
|
ir as ApFieldDate,
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
Ir as ApFieldDateRange,
|
|
138
|
+
nr as ApFieldNumber,
|
|
139
139
|
Dr as ApFieldPassword,
|
|
140
140
|
cr as ApFieldRadio,
|
|
141
141
|
kr as ApFieldRate,
|
|
142
|
-
|
|
142
|
+
Mr as ApFieldSegmented,
|
|
143
143
|
Pr as ApFieldSelect,
|
|
144
144
|
vr as ApFieldSlider,
|
|
145
145
|
Tr as ApFieldSwitch,
|
|
@@ -156,27 +156,28 @@ export {
|
|
|
156
156
|
Ye as ApFormItemSelect,
|
|
157
157
|
He as ApFormItemSwitch,
|
|
158
158
|
ve as ApFormItemText,
|
|
159
|
-
|
|
159
|
+
Me as ApFormItemTextArea,
|
|
160
160
|
Ve as ApFormItemTextPassword,
|
|
161
161
|
or as ApFormList,
|
|
162
162
|
ar as ApFormModalForm,
|
|
163
163
|
rr as ApFormSearchForm,
|
|
164
164
|
xt as ApInfoLayout,
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
Mt as ApInputRadio,
|
|
166
|
+
Bt as ApLabel,
|
|
167
|
+
kt as ApLabelGroup,
|
|
167
168
|
ht as ApList,
|
|
168
169
|
gt as ApModal,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
wt as ApSelectLayout,
|
|
171
|
+
Lt as ApStatus,
|
|
172
|
+
yt as ApStatusGroup,
|
|
173
|
+
Yt as ApTable,
|
|
173
174
|
mt as ApTag,
|
|
174
175
|
st as ApTagGroup,
|
|
175
|
-
|
|
176
|
+
Et as ApTitle,
|
|
176
177
|
At as ApUpload,
|
|
177
178
|
Ro as ApiCascader,
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
Go as ApiRadioGroup,
|
|
180
|
+
Bo as ApiSelect,
|
|
180
181
|
wo as ApiTransfer,
|
|
181
182
|
yo as ApiTree,
|
|
182
183
|
Oo as ApiTreeSelect,
|
|
@@ -186,10 +187,10 @@ export {
|
|
|
186
187
|
j as BasicHelp,
|
|
187
188
|
q as BasicTitle,
|
|
188
189
|
Ct as CheckCard,
|
|
189
|
-
|
|
190
|
+
bt as CheckCardGroup,
|
|
190
191
|
X as CollapseContainer,
|
|
191
192
|
Q as CollapseTransition,
|
|
192
|
-
|
|
193
|
+
B as ConfigProvider,
|
|
193
194
|
xe as CountdownButton,
|
|
194
195
|
ie as CountdownInput,
|
|
195
196
|
le as CropperAvatar,
|
|
@@ -197,9 +198,9 @@ export {
|
|
|
197
198
|
co as Description,
|
|
198
199
|
et as DictCode,
|
|
199
200
|
ce as Dropdown,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
Ie as EditTableHeaderIcon,
|
|
202
|
+
Ht as EditableTable,
|
|
203
|
+
zt as EditableTableFormItem,
|
|
203
204
|
_ as ExpandTransition,
|
|
204
205
|
oo as ExpandXTransition,
|
|
205
206
|
eo as FadeTransition,
|
|
@@ -207,7 +208,7 @@ export {
|
|
|
207
208
|
l as Icon,
|
|
208
209
|
O as IconPicker,
|
|
209
210
|
$o as ModalButton,
|
|
210
|
-
|
|
211
|
+
ut as NeedNameKeyDefault,
|
|
211
212
|
qo as PopConfirmButton,
|
|
212
213
|
Ko as ProForm,
|
|
213
214
|
Te as ProTable,
|
|
@@ -234,38 +235,38 @@ export {
|
|
|
234
235
|
Lr as adminToken,
|
|
235
236
|
yr as aplusToken,
|
|
236
237
|
S as buildLocaleContext,
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
b as buildTranslator,
|
|
239
|
+
u as configProviderContextKey,
|
|
239
240
|
x as configProviderProps,
|
|
240
|
-
|
|
241
|
+
ne as createPrompt,
|
|
241
242
|
tt as createWorkOrderModal,
|
|
242
243
|
p as default,
|
|
243
244
|
D as defaultNamespace,
|
|
244
245
|
U as en,
|
|
245
246
|
$r as generateTableList,
|
|
246
247
|
k as globalConfigCached,
|
|
247
|
-
|
|
248
|
+
Io as isComponentFormSchema,
|
|
248
249
|
go as isSlotFormSchema,
|
|
249
250
|
c as keysOf,
|
|
250
|
-
|
|
251
|
+
I as localeContextKey,
|
|
251
252
|
R as namespaceContextKey,
|
|
252
253
|
F as provideGlobalConfig,
|
|
253
|
-
|
|
254
|
+
n as tableDefaultConfig,
|
|
254
255
|
g as translate,
|
|
255
256
|
qr as useCacheColumnSetting,
|
|
256
257
|
To as useComponentRegister,
|
|
257
|
-
|
|
258
|
-
|
|
258
|
+
Jt as useControllableValue,
|
|
259
|
+
no as useDescription,
|
|
259
260
|
So as useForm,
|
|
260
261
|
v as useGetDerivedNamespace,
|
|
261
262
|
T as useGlobalConfig,
|
|
262
263
|
P as useLocale,
|
|
263
|
-
|
|
264
|
+
jt as useMessage,
|
|
264
265
|
te as useModal,
|
|
265
266
|
ee as useModalContext,
|
|
266
267
|
ae as useModalInner,
|
|
267
|
-
|
|
268
|
+
G as useNamespace,
|
|
268
269
|
De as useTable,
|
|
269
|
-
|
|
270
|
+
Xt as useTablePaging,
|
|
270
271
|
W as zhCn
|
|
271
272
|
};
|
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
import { ApActionGroupProps, GroupActionTypes } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { Trigger } from 'ant-design-vue/es/dropdown/props';
|
|
4
|
-
declare const _default: DefineComponent<
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
5
|
+
count: number;
|
|
6
|
+
trigger: () => string[];
|
|
7
|
+
placement: string;
|
|
8
|
+
actions: () => never[];
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
10
|
+
count: number;
|
|
11
|
+
trigger: () => string[];
|
|
12
|
+
placement: string;
|
|
13
|
+
actions: () => never[];
|
|
14
|
+
}>>>, {
|
|
5
15
|
placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
|
|
6
16
|
trigger: Trigger | Trigger[];
|
|
7
17
|
count: number;
|
|
8
18
|
actions: GroupActionTypes[];
|
|
9
|
-
}, {}
|
|
19
|
+
}, {}>;
|
|
10
20
|
export default _default;
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Prettify<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
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,16 +1,43 @@
|
|
|
1
1
|
import { ApActionItemProps, ApActionItemSlots, ActionColor } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
4
|
-
declare const __VLS_component: DefineComponent<
|
|
4
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
|
|
5
|
+
color: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
|
|
10
|
+
color: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
}>>>, {
|
|
5
15
|
visible: boolean;
|
|
6
16
|
loading: boolean;
|
|
7
17
|
disabled: boolean;
|
|
8
18
|
color: ActionColor;
|
|
9
|
-
}, {}
|
|
19
|
+
}, {}>;
|
|
10
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
21
|
export default _default;
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
12
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
31
|
new (): {
|
|
14
32
|
$slots: S;
|
|
15
33
|
};
|
|
16
34
|
};
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToOption<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -1,16 +1,28 @@
|
|
|
1
|
-
import { ApActionItemDropdownProps,
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
import { DropdownProps } from 'ant-design-vue';
|
|
1
|
+
import { ApActionItemDropdownProps, ActionColor, MixedActionTypes } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
3
|
import { Trigger } from 'ant-design-vue/es/dropdown/props';
|
|
5
4
|
declare function __VLS_template(): {
|
|
6
5
|
default?(_: {}): any;
|
|
7
6
|
};
|
|
8
|
-
declare const __VLS_component: DefineComponent<ApActionItemDropdownProps
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
|
|
8
|
+
color: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
trigger: () => string[];
|
|
13
|
+
placement: string;
|
|
14
|
+
actions: () => never[];
|
|
15
|
+
showIcon: boolean;
|
|
16
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
|
|
17
|
+
color: string;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
visible: boolean;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
trigger: () => string[];
|
|
22
|
+
placement: string;
|
|
23
|
+
actions: () => never[];
|
|
24
|
+
showIcon: boolean;
|
|
25
|
+
}>>>, {
|
|
14
26
|
placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
|
|
15
27
|
visible: boolean;
|
|
16
28
|
loading: boolean;
|
|
@@ -19,11 +31,28 @@ declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}
|
|
|
19
31
|
trigger: Trigger | Trigger[];
|
|
20
32
|
showIcon: boolean;
|
|
21
33
|
actions: MixedActionTypes[];
|
|
22
|
-
}, {}
|
|
34
|
+
}, {}>;
|
|
23
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
36
|
export default _default;
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_Prettify<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
25
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
46
|
new (): {
|
|
27
47
|
$slots: S;
|
|
28
48
|
};
|
|
29
49
|
};
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToOption<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -1,20 +1,47 @@
|
|
|
1
|
-
import { ApActionItemModalProps, ApActionItemSlots,
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { ApActionItemModalProps, ApActionItemSlots, ActionColor } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
4
4
|
declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
5
|
-
declare const __VLS_component: DefineComponent<ApActionItemModalProps
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
|
|
6
|
+
color: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
visible: boolean;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
modalProps: () => {};
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
|
|
12
|
+
color: string;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
visible: boolean;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
modalProps: () => {};
|
|
17
|
+
}>>>, {
|
|
8
18
|
visible: boolean;
|
|
9
19
|
loading: boolean;
|
|
10
20
|
disabled: boolean;
|
|
11
21
|
color: ActionColor;
|
|
12
22
|
modalProps: Omit< ModalFuncProps, "type">;
|
|
13
|
-
}, {}
|
|
23
|
+
}, {}>;
|
|
14
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
25
|
export default _default;
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
16
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
35
|
new (): {
|
|
18
36
|
$slots: S;
|
|
19
37
|
};
|
|
20
38
|
};
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToOption<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ApActionItemPopconfirmProps, ApActionItemSlots,
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties
|
|
3
|
-
import { PopconfirmProps } from 'ant-design-vue';
|
|
1
|
+
import { ApActionItemPopconfirmProps, ApActionItemSlots, ActionColor } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
4
3
|
import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
5
4
|
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
6
5
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
@@ -11,9 +10,19 @@ import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
|
11
10
|
import { PresetColorType } from 'ant-design-vue/es/_util/colors';
|
|
12
11
|
import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
|
|
13
12
|
declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
14
|
-
declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
|
|
14
|
+
color: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
visible: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
popconfirmProps: () => {};
|
|
19
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
|
|
20
|
+
color: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
visible: boolean;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
popconfirmProps: () => {};
|
|
25
|
+
}>>>, {
|
|
17
26
|
visible: boolean;
|
|
18
27
|
loading: boolean;
|
|
19
28
|
disabled: boolean;
|
|
@@ -313,11 +322,28 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
313
322
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
314
323
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
315
324
|
}>>;
|
|
316
|
-
}, {}
|
|
325
|
+
}, {}>;
|
|
317
326
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
318
327
|
export default _default;
|
|
328
|
+
type __VLS_WithDefaults<P, D> = {
|
|
329
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
330
|
+
default: D[K];
|
|
331
|
+
}> : P[K];
|
|
332
|
+
};
|
|
333
|
+
type __VLS_Prettify<T> = {
|
|
334
|
+
[K in keyof T]: T[K];
|
|
335
|
+
} & {};
|
|
319
336
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
320
337
|
new (): {
|
|
321
338
|
$slots: S;
|
|
322
339
|
};
|
|
323
340
|
};
|
|
341
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
342
|
+
type __VLS_TypePropsToOption<T> = {
|
|
343
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
344
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
345
|
+
} : {
|
|
346
|
+
type: PropType<T[K]>;
|
|
347
|
+
required: true;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { ColumnSelectProps, FieldInfo } from './interfaces';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<ColumnSelectProps
|
|
4
|
-
updateColumns: (list: FieldInfo[]) =>
|
|
5
|
-
}, string, PublicProps, Readonly<ColumnSelectProps & {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<ColumnSelectProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
updateColumns: (list: FieldInfo[]) => void;
|
|
5
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ColumnSelectProps>>> & {
|
|
6
6
|
onUpdateColumns?: ((list: FieldInfo[]) => any) | undefined;
|
|
7
|
-
}
|
|
7
|
+
}, {}, {}>;
|
|
8
8
|
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|