@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
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
import { ApiCascaderProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<ApiCascaderProps
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiCascaderProps>, {
|
|
4
|
+
resultField: string;
|
|
5
|
+
labelField: string;
|
|
6
|
+
valueField: string;
|
|
7
|
+
childrenField: string;
|
|
8
|
+
apiParamKey: string;
|
|
9
|
+
immediate: boolean;
|
|
10
|
+
initFetchParams: () => {};
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
12
|
change: (...args: any[]) => void;
|
|
5
13
|
defaultChange: (...args: any[]) => void;
|
|
6
|
-
}, string, PublicProps, Readonly<ApiCascaderProps
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiCascaderProps>, {
|
|
15
|
+
resultField: string;
|
|
16
|
+
labelField: string;
|
|
17
|
+
valueField: string;
|
|
18
|
+
childrenField: string;
|
|
19
|
+
apiParamKey: string;
|
|
20
|
+
immediate: boolean;
|
|
21
|
+
initFetchParams: () => {};
|
|
22
|
+
}>>> & {
|
|
7
23
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
24
|
onDefaultChange?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
}
|
|
25
|
+
}, {
|
|
10
26
|
immediate: boolean;
|
|
11
27
|
resultField: string;
|
|
12
28
|
labelField: string;
|
|
@@ -14,5 +30,22 @@ declare const _default: DefineComponent<ApiCascaderProps, {}, {}, {}, {}, Compon
|
|
|
14
30
|
childrenField: string;
|
|
15
31
|
apiParamKey: string;
|
|
16
32
|
initFetchParams: Record<string, any>;
|
|
17
|
-
}, {}
|
|
33
|
+
}, {}>;
|
|
18
34
|
export default _default;
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -1,19 +1,50 @@
|
|
|
1
1
|
import { ApiRadioGroupProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<ApiRadioGroupProps
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiRadioGroupProps>, {
|
|
4
|
+
params: () => {};
|
|
5
|
+
isBtn: boolean;
|
|
6
|
+
resultField: string;
|
|
7
|
+
labelField: string;
|
|
8
|
+
valueField: string;
|
|
9
|
+
immediate: boolean;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
11
|
change: (...args: any[]) => void;
|
|
5
12
|
"options-change": (...args: any[]) => void;
|
|
6
13
|
"update:value": (...args: any[]) => void;
|
|
7
|
-
}, string, PublicProps, Readonly<ApiRadioGroupProps
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiRadioGroupProps>, {
|
|
15
|
+
params: () => {};
|
|
16
|
+
isBtn: boolean;
|
|
17
|
+
resultField: string;
|
|
18
|
+
labelField: string;
|
|
19
|
+
valueField: string;
|
|
20
|
+
immediate: boolean;
|
|
21
|
+
}>>> & {
|
|
8
22
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
9
23
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
10
24
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}
|
|
25
|
+
}, {
|
|
12
26
|
immediate: boolean;
|
|
13
27
|
params: string | Record<string, any>;
|
|
14
28
|
resultField: string;
|
|
15
29
|
labelField: string;
|
|
16
30
|
valueField: string;
|
|
17
31
|
isBtn: boolean;
|
|
18
|
-
}, {}
|
|
32
|
+
}, {}>;
|
|
19
33
|
export default _default;
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
42
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
+
type __VLS_TypePropsToOption<T> = {
|
|
44
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
+
} : {
|
|
47
|
+
type: PropType<T[K]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiSelectProps, ApiSelectOption } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
type SelectSlotsType = {
|
|
4
4
|
notFoundContent: any;
|
|
5
5
|
suffixIcon: any;
|
|
@@ -15,15 +15,31 @@ type SelectSlotsType = {
|
|
|
15
15
|
default: any;
|
|
16
16
|
};
|
|
17
17
|
declare function __VLS_template(): Partial<Record<NonNullable<keyof SelectSlotsType>, (_: any) => any>>;
|
|
18
|
-
declare const __VLS_component: DefineComponent<ApiSelectProps
|
|
18
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiSelectProps>, {
|
|
19
|
+
params: () => {};
|
|
20
|
+
resultField: string;
|
|
21
|
+
labelField: string;
|
|
22
|
+
valueField: string;
|
|
23
|
+
immediate: boolean;
|
|
24
|
+
alwaysLoad: boolean;
|
|
25
|
+
options: () => never[];
|
|
26
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
27
|
change: (...args: any[]) => void;
|
|
20
28
|
"options-change": (...args: any[]) => void;
|
|
21
29
|
"update:value": (...args: any[]) => void;
|
|
22
|
-
}, string, PublicProps, Readonly<ApiSelectProps
|
|
30
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiSelectProps>, {
|
|
31
|
+
params: () => {};
|
|
32
|
+
resultField: string;
|
|
33
|
+
labelField: string;
|
|
34
|
+
valueField: string;
|
|
35
|
+
immediate: boolean;
|
|
36
|
+
alwaysLoad: boolean;
|
|
37
|
+
options: () => never[];
|
|
38
|
+
}>>> & {
|
|
23
39
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
40
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
25
41
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
}
|
|
42
|
+
}, {
|
|
27
43
|
immediate: boolean;
|
|
28
44
|
options: ApiSelectOption[];
|
|
29
45
|
params: Record<string, any>;
|
|
@@ -31,11 +47,28 @@ declare const __VLS_component: DefineComponent<ApiSelectProps, {}, {}, {}, {}, C
|
|
|
31
47
|
labelField: string;
|
|
32
48
|
valueField: string;
|
|
33
49
|
alwaysLoad: boolean;
|
|
34
|
-
}, {}
|
|
50
|
+
}, {}>;
|
|
35
51
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
52
|
export default _default;
|
|
53
|
+
type __VLS_WithDefaults<P, D> = {
|
|
54
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
+
default: D[K];
|
|
56
|
+
}> : P[K];
|
|
57
|
+
};
|
|
58
|
+
type __VLS_Prettify<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
37
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
62
|
new (): {
|
|
39
63
|
$slots: S;
|
|
40
64
|
};
|
|
41
65
|
};
|
|
66
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
+
type __VLS_TypePropsToOption<T> = {
|
|
68
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
+
} : {
|
|
71
|
+
type: PropType<T[K]>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import { ApiTransferProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<ApiTransferProps
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTransferProps>, {
|
|
4
|
+
resultField: string;
|
|
5
|
+
immediate: boolean;
|
|
6
|
+
alwaysLoad: boolean;
|
|
7
|
+
labelField: string;
|
|
8
|
+
valueField: string;
|
|
9
|
+
showSearch: boolean;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
showSelectAll: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
13
|
change: (...args: any[]) => void;
|
|
5
14
|
"options-change": (...args: any[]) => void;
|
|
6
|
-
}, string, PublicProps, Readonly<ApiTransferProps
|
|
15
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTransferProps>, {
|
|
16
|
+
resultField: string;
|
|
17
|
+
immediate: boolean;
|
|
18
|
+
alwaysLoad: boolean;
|
|
19
|
+
labelField: string;
|
|
20
|
+
valueField: string;
|
|
21
|
+
showSearch: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
showSelectAll: boolean;
|
|
24
|
+
}>>> & {
|
|
7
25
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
8
26
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
}
|
|
27
|
+
}, {
|
|
10
28
|
immediate: boolean;
|
|
11
29
|
disabled: boolean;
|
|
12
30
|
resultField: string;
|
|
@@ -15,5 +33,22 @@ declare const _default: DefineComponent<ApiTransferProps, {}, {}, {}, {}, Compon
|
|
|
15
33
|
alwaysLoad: boolean;
|
|
16
34
|
showSearch: boolean;
|
|
17
35
|
showSelectAll: boolean;
|
|
18
|
-
}, {}
|
|
36
|
+
}, {}>;
|
|
19
37
|
export default _default;
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,27 +1,58 @@
|
|
|
1
1
|
import { ApiTreeSelectProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
type AntdTreeSelectSlotNames = 'title' | 'titleRender' | 'placeholder' | 'maxTagPlaceholder' | 'treeIcon' | 'switcherIcon' | 'notFoundContent' | 'default' | 'leafIcon' | 'tagRender' | 'suffixIcon';
|
|
4
4
|
declare function __VLS_template(): Partial<Record<NonNullable<AntdTreeSelectSlotNames>, (_: any) => any>>;
|
|
5
|
-
declare const __VLS_component: DefineComponent<ApiTreeSelectProps
|
|
5
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTreeSelectProps>, {
|
|
6
|
+
immediate: boolean;
|
|
7
|
+
async: boolean;
|
|
8
|
+
resultField: string;
|
|
9
|
+
labelField: string;
|
|
10
|
+
valueField: string;
|
|
11
|
+
childrenField: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
13
|
change: (...args: any[]) => void;
|
|
7
14
|
"options-change": (...args: any[]) => void;
|
|
8
15
|
"load-data": (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly<ApiTreeSelectProps
|
|
16
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTreeSelectProps>, {
|
|
17
|
+
immediate: boolean;
|
|
18
|
+
async: boolean;
|
|
19
|
+
resultField: string;
|
|
20
|
+
labelField: string;
|
|
21
|
+
valueField: string;
|
|
22
|
+
childrenField: string;
|
|
23
|
+
}>>> & {
|
|
10
24
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
25
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
12
26
|
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}
|
|
27
|
+
}, {
|
|
14
28
|
immediate: boolean;
|
|
15
29
|
resultField: string;
|
|
16
30
|
labelField: string;
|
|
17
31
|
valueField: string;
|
|
18
32
|
async: boolean;
|
|
19
33
|
childrenField: string;
|
|
20
|
-
}, {}
|
|
34
|
+
}, {}>;
|
|
21
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
22
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
|
+
} & {};
|
|
23
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
46
|
new (): {
|
|
25
47
|
$slots: S;
|
|
26
48
|
};
|
|
27
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,23 +1,46 @@
|
|
|
1
1
|
import { ApiTreeProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
type AntdTreeSlotNames = 'icon' | 'title' | 'switcherIcon' | 'titleRender' | 'default' | 'leafIcon';
|
|
4
4
|
declare function __VLS_template(): Partial<Record<NonNullable<AntdTreeSlotNames>, (_: any) => any>>;
|
|
5
|
-
declare const __VLS_component: DefineComponent<ApiTreeProps
|
|
5
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTreeProps>, {
|
|
6
|
+
immediate: boolean;
|
|
7
|
+
resultField: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
9
|
change: (...args: any[]) => void;
|
|
7
10
|
"options-change": (...args: any[]) => void;
|
|
8
11
|
"update:value": (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly<ApiTreeProps
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTreeProps>, {
|
|
13
|
+
immediate: boolean;
|
|
14
|
+
resultField: string;
|
|
15
|
+
}>>> & {
|
|
10
16
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
11
17
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
12
18
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}
|
|
19
|
+
}, {
|
|
14
20
|
immediate: boolean;
|
|
15
21
|
resultField: string;
|
|
16
|
-
}, {}
|
|
22
|
+
}, {}>;
|
|
17
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
24
|
export default _default;
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
19
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
34
|
new (): {
|
|
21
35
|
$slots: S;
|
|
22
36
|
};
|
|
23
37
|
};
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
import { ColEx } from '../types';
|
|
2
2
|
import { ButtonProps } from '../../base-button';
|
|
3
3
|
import { FormActionProps } from './interface';
|
|
4
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
resetBefore?(_: {}): any;
|
|
7
7
|
submitBefore?(_: {}): any;
|
|
8
8
|
advanceBefore?(_: {}): any;
|
|
9
9
|
advanceAfter?(_: {}): any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: DefineComponent<FormActionProps
|
|
11
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<FormActionProps>, {
|
|
12
|
+
showActionButtonGroup: boolean;
|
|
13
|
+
showResetButton: boolean;
|
|
14
|
+
showSubmitButton: boolean;
|
|
15
|
+
showAdvancedButton: boolean;
|
|
16
|
+
resetButtonOptions: () => {};
|
|
17
|
+
actionColOptions: () => {};
|
|
18
|
+
actionSpan: number;
|
|
19
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
20
|
"toggle-advanced": (...args: any[]) => void;
|
|
13
|
-
}, string, PublicProps, Readonly<FormActionProps
|
|
21
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<FormActionProps>, {
|
|
22
|
+
showActionButtonGroup: boolean;
|
|
23
|
+
showResetButton: boolean;
|
|
24
|
+
showSubmitButton: boolean;
|
|
25
|
+
showAdvancedButton: boolean;
|
|
26
|
+
resetButtonOptions: () => {};
|
|
27
|
+
actionColOptions: () => {};
|
|
28
|
+
actionSpan: number;
|
|
29
|
+
}>>> & {
|
|
14
30
|
"onToggle-advanced"?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}
|
|
31
|
+
}, {
|
|
16
32
|
showAdvancedButton: boolean;
|
|
17
33
|
showActionButtonGroup: boolean;
|
|
18
34
|
showResetButton: boolean;
|
|
@@ -20,11 +36,28 @@ declare const __VLS_component: DefineComponent<FormActionProps, {}, {}, {}, {},
|
|
|
20
36
|
resetButtonOptions: ButtonProps;
|
|
21
37
|
actionColOptions: Partial<ColEx>;
|
|
22
38
|
actionSpan: number;
|
|
23
|
-
}, {}
|
|
39
|
+
}, {}>;
|
|
24
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
41
|
export default _default;
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
26
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
51
|
new (): {
|
|
28
52
|
$slots: S;
|
|
29
53
|
};
|
|
30
54
|
};
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropType, DefineComponent,
|
|
1
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { FormActionType, ProFormProps, FormSchemaInner as FormSchema } from '../types/form';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
|
-
declare const _default: DefineComponent<
|
|
4
|
+
declare const _default: DefineComponent<{
|
|
5
5
|
schema: {
|
|
6
6
|
type: PropType<FormSchema>;
|
|
7
7
|
default: () => {};
|
|
@@ -31,22 +31,42 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
31
31
|
isAdvanced: {
|
|
32
32
|
type: BooleanConstructor;
|
|
33
33
|
};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
}, () => false | import("vue/jsx-runtime").JSX.Element | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
35
|
+
schema: {
|
|
36
|
+
type: PropType<FormSchema>;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
39
|
+
formProps: {
|
|
40
|
+
type: PropType<ProFormProps>;
|
|
41
|
+
default: () => {};
|
|
42
|
+
};
|
|
43
|
+
allDefaultValues: {
|
|
44
|
+
type: PropType<Recordable<any>>;
|
|
45
|
+
default: () => {};
|
|
46
|
+
};
|
|
47
|
+
formModel: {
|
|
48
|
+
type: PropType<Recordable<any>>;
|
|
49
|
+
default: () => {};
|
|
50
|
+
};
|
|
51
|
+
setFormModel: {
|
|
52
|
+
type: PropType<(key: string, value: any, schema: FormSchema) => void>;
|
|
53
|
+
default: null;
|
|
54
|
+
};
|
|
55
|
+
tableAction: {
|
|
56
|
+
type: PropType<any>;
|
|
57
|
+
};
|
|
58
|
+
formActionType: {
|
|
59
|
+
type: PropType<FormActionType>;
|
|
60
|
+
};
|
|
61
|
+
isAdvanced: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
};
|
|
64
|
+
}>>, {
|
|
45
65
|
isAdvanced: boolean;
|
|
46
66
|
schema: FormSchema;
|
|
47
67
|
formProps: ProFormProps;
|
|
48
68
|
allDefaultValues: Recordable<any>;
|
|
49
69
|
formModel: Recordable<any>;
|
|
50
70
|
setFormModel: (key: string, value: any, schema: FormSchema) => void;
|
|
51
|
-
}, {}
|
|
71
|
+
}, {}>;
|
|
52
72
|
export default _default;
|
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
import { RadioButtonGroupProps, RadioButtonOptionsItem } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioButtonGroupProps>, {
|
|
4
|
+
options: () => never[];
|
|
5
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioButtonGroupProps>, {
|
|
6
|
+
options: () => never[];
|
|
7
|
+
}>>>, {
|
|
4
8
|
options: (string | RadioButtonOptionsItem)[];
|
|
5
|
-
}, {}
|
|
9
|
+
}, {}>;
|
|
6
10
|
export default _default;
|
|
11
|
+
type __VLS_WithDefaults<P, D> = {
|
|
12
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
13
|
+
default: D[K];
|
|
14
|
+
}> : P[K];
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Prettify<T> = {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} & {};
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProFormProps, FormSchemaInner as FormSchema, FormSchema, FieldMapToTime } from './types/form';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
import { NamePath } from 'ant-design-vue/lib/form/interface';
|
|
5
5
|
import { ColEx } from './types';
|
|
6
6
|
declare function setProps(formProps: Partial<ProFormProps>): Promise<void>;
|
|
@@ -8,7 +8,24 @@ declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Pa
|
|
|
8
8
|
formHeader?(_: {}): any;
|
|
9
9
|
formFooter?(_: {}): any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: DefineComponent<ProFormProps
|
|
11
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ProFormProps>, {
|
|
12
|
+
model: () => {};
|
|
13
|
+
labelWidth: number;
|
|
14
|
+
fieldMapToTime: () => never[];
|
|
15
|
+
schemas: () => never[];
|
|
16
|
+
autoSetPlaceHolder: boolean;
|
|
17
|
+
autoSubmitOnEnter: boolean;
|
|
18
|
+
size: string;
|
|
19
|
+
emptySpan: number;
|
|
20
|
+
transformDateFunc: (date: any) => any;
|
|
21
|
+
rulesMessageJoinLabel: boolean;
|
|
22
|
+
autoAdvancedLine: number;
|
|
23
|
+
alwaysShowLines: number;
|
|
24
|
+
showActionButtonGroup: boolean;
|
|
25
|
+
showResetButton: boolean;
|
|
26
|
+
showSubmitButton: boolean;
|
|
27
|
+
layout: string;
|
|
28
|
+
}>, {
|
|
12
29
|
getFieldsValue: () => Recordable;
|
|
13
30
|
setFieldsValue: (values: Recordable) => Promise<void>;
|
|
14
31
|
resetFields: () => Promise<void>;
|
|
@@ -22,19 +39,36 @@ declare const __VLS_component: DefineComponent<ProFormProps, {
|
|
|
22
39
|
validate: (nameList?: NamePath[] | false | undefined) => Promise<any>;
|
|
23
40
|
submit: (e?: Event) => Promise<void>;
|
|
24
41
|
scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
|
|
25
|
-
},
|
|
42
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
43
|
reset: (...args: any[]) => void;
|
|
27
44
|
submit: (...args: any[]) => void;
|
|
28
45
|
register: (...args: any[]) => void;
|
|
29
46
|
"advanced-change": (...args: any[]) => void;
|
|
30
47
|
"field-value-change": (...args: any[]) => void;
|
|
31
|
-
}, string, PublicProps, Readonly<ProFormProps
|
|
48
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProFormProps>, {
|
|
49
|
+
model: () => {};
|
|
50
|
+
labelWidth: number;
|
|
51
|
+
fieldMapToTime: () => never[];
|
|
52
|
+
schemas: () => never[];
|
|
53
|
+
autoSetPlaceHolder: boolean;
|
|
54
|
+
autoSubmitOnEnter: boolean;
|
|
55
|
+
size: string;
|
|
56
|
+
emptySpan: number;
|
|
57
|
+
transformDateFunc: (date: any) => any;
|
|
58
|
+
rulesMessageJoinLabel: boolean;
|
|
59
|
+
autoAdvancedLine: number;
|
|
60
|
+
alwaysShowLines: number;
|
|
61
|
+
showActionButtonGroup: boolean;
|
|
62
|
+
showResetButton: boolean;
|
|
63
|
+
showSubmitButton: boolean;
|
|
64
|
+
layout: string;
|
|
65
|
+
}>>> & {
|
|
32
66
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
33
67
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
34
68
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
35
69
|
"onAdvanced-change"?: ((...args: any[]) => any) | undefined;
|
|
36
70
|
"onField-value-change"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}
|
|
71
|
+
}, {
|
|
38
72
|
size: "default" | "small" | "large";
|
|
39
73
|
layout: "vertical" | "inline" | "horizontal";
|
|
40
74
|
labelWidth: number | string;
|
|
@@ -51,11 +85,28 @@ declare const __VLS_component: DefineComponent<ProFormProps, {
|
|
|
51
85
|
autoAdvancedLine: number;
|
|
52
86
|
alwaysShowLines: number;
|
|
53
87
|
transformDateFunc: (date: any) => string;
|
|
54
|
-
}, {}
|
|
88
|
+
}, {}>;
|
|
55
89
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
56
90
|
export default _default;
|
|
91
|
+
type __VLS_WithDefaults<P, D> = {
|
|
92
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
93
|
+
default: D[K];
|
|
94
|
+
}> : P[K];
|
|
95
|
+
};
|
|
96
|
+
type __VLS_Prettify<T> = {
|
|
97
|
+
[K in keyof T]: T[K];
|
|
98
|
+
} & {};
|
|
57
99
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
100
|
new (): {
|
|
59
101
|
$slots: S;
|
|
60
102
|
};
|
|
61
103
|
};
|
|
104
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
105
|
+
type __VLS_TypePropsToOption<T> = {
|
|
106
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
107
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
108
|
+
} : {
|
|
109
|
+
type: PropType<T[K]>;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
};
|