@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,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
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("ant-design-vue");require("../config-provider/index.js");require("./styles/column-select.css");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("ant-design-vue");require("../config-provider/index.js");require("./styles/column-select.css");const x=require("../config-provider/hooks/use-global-config.js"),b=require("../config-provider/hooks/use-namespace.js"),k=e.defineComponent({__name:"column-select",props:{columns:{}},emits:["updateColumns"],setup(d,{emit:i}){const o=e.ref(!1),r=e.ref(!1),a=e.ref([]),m=x.useGlobalConfig("uiMode"),{b:p,e:c}=b.useNamespace(m.value==="aplus"?"column-select":"column-select-admin"),{columns:n}=d,f=i,h=t=>{const s=t.target.checked;a.value=s?n.map(l=>l.dataIndex):n.filter(l=>l.disabled&&l.selected).map(l=>l.dataIndex)},v=t=>{a.value=t};e.watch(()=>n,()=>{a.value=n.filter(t=>t.selected).map(t=>t.dataIndex)},{deep:!0,immediate:!0}),e.watch(a,()=>{r.value=a.value.length>0&&a.value.length!==n.length,o.value=a.value.length===n.length},{deep:!0,immediate:!0}),e.watch(a,()=>{const t=n.map(s=>({...s,selected:a.value.includes(s.dataIndex)}));f("updateColumns",t)},{deep:!0});const g=e.computed(()=>n.map(t=>({label:t.title,value:t.dataIndex,disabled:t.disabled})));return(t,s)=>(e.openBlock(),e.createBlock(e.unref(u.Flex),{vertical:"",class:e.normalizeClass(e.unref(p)())},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass(e.unref(c)("des"))},"请选择需要展示在表格的字段",2),e.createVNode(e.unref(u.Flex),{class:e.normalizeClass(e.unref(c)("all")),justify:"space-between",align:"center"},{default:e.withCtx(()=>{var l;return[e.createVNode(e.unref(u.Checkbox),{style:{padding:"0 6px;"},checked:o.value,"onUpdate:checked":s[0]||(s[0]=C=>o.value=C),indeterminate:r.value,onChange:h},{default:e.withCtx(()=>[e.createTextVNode("全选")]),_:1},8,["checked","indeterminate"]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(c)("statistics"))},e.toDisplayString((l=a.value)==null?void 0:l.length)+"/"+e.toDisplayString(t.columns.length),3)]}),_:1},8,["class"]),e.createVNode(e.unref(u.Divider),{style:{margin:"12px 0 4px 0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("content"))},[e.createVNode(e.unref(u.CheckboxGroup),{value:a.value,"onUpdate:value":v,options:g.value},null,8,["value","options"])],2)]),_:1},8,["class"]))}});exports.default=k;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { CustomColumnProps, FieldInfo } from './interfaces';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<CustomColumnProps
|
|
4
|
-
"update:columns": (list: FieldInfo[]) =>
|
|
5
|
-
}, string, PublicProps, Readonly<CustomColumnProps & {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<CustomColumnProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
"update:columns": (list: FieldInfo[]) => void;
|
|
5
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<CustomColumnProps>>> & {
|
|
6
6
|
"onUpdate:columns"?: ((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
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@ant-design/icons-vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("@ant-design/icons-vue"),r=require("ant-design-vue");require("./column-select.vue2.js");require("./styles/custom-column.css");require("../config-provider/index.js");const y=require("../config-provider/hooks/use-global-config.js"),q=require("../config-provider/hooks/use-namespace.js"),w=require("./column-select.vue.js"),x=e.defineComponent({__name:"custom-column",props:{columns:{},baseContainerSelector:{},fullContentSelector:{}},emits:["update:columns"],setup(d,{emit:m}){const p=y.useGlobalConfig("uiMode"),{b:f,e:C}=q.useNamespace(p.value==="aplus"?"custom-column":"custom-column-admin"),{baseContainerSelector:s,columns:N,fullContentSelector:_}=d,h=m,g=t=>{h("update:columns",t)},u=e.ref(!1),n=e.ref(0),v=()=>{var t,o;if(s){const l=document.querySelector(s),c=document.querySelector(_);l?n.value=Math.max((t=l==null?void 0:l.getBoundingClientRect())==null?void 0:t.top,((o=c==null?void 0:c.getBoundingClientRect())==null?void 0:o.top)||0):n.value=0}u.value=!0},a=()=>{u.value=!1},S=e.computed(()=>window.innerHeight-n.value-57-40);return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(f)())},[e.createVNode(e.unref(r.Tooltip),null,{title:e.withCtx(()=>[e.createTextVNode("自定义表格")]),default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{style:{minWidth:"auto"},onClick:v},{icon:e.withCtx(()=>[e.createVNode(e.unref(i.SettingOutlined))]),_:1})]),_:1}),e.createVNode(e.unref(r.Drawer),{open:u.value,width:280,title:"自定义表格",closable:!1,contentWrapperStyle:{top:`${n.value}px`},bodyStyle:{overflow:"hidden",padding:"20px"},mask:!0,"root-class-name":e.unref(C)("drawer"),onClose:a},{extra:e.withCtx(()=>[e.createVNode(e.unref(i.CloseOutlined),{onClick:a})]),default:e.withCtx(()=>[e.createVNode(w.default,{style:e.normalizeStyle({height:`${S.value}px`}),columns:t.columns,onUpdateColumns:g},null,8,["style","columns"])]),_:1},8,["open","contentWrapperStyle","root-class-name"])],2))}});exports.default=x;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DisplayInfoProps } from './interface';
|
|
2
|
-
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
4
4
|
index: number;
|
|
5
5
|
item: VNode<RendererNode, RendererElement, {
|
|
@@ -9,7 +9,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
9
9
|
[x: string]: any;
|
|
10
10
|
} | undefined;
|
|
11
11
|
}) => any>>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<DisplayInfoProps
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<DisplayInfoProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<DisplayInfoProps>>>, {}, {}>;
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -17,3 +17,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
17
17
|
$slots: S;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: DefineComponent<{
|
|
5
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
|
|
6
6
|
helpMessage?: string;
|
|
7
|
-
}
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
8
|
helpMessage?: string;
|
|
9
|
-
}
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -14,3 +14,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
14
14
|
$slots: S;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,17 +1,42 @@
|
|
|
1
1
|
import { ApDownLoadProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
icon?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps>, {
|
|
7
|
+
size: string;
|
|
8
|
+
color: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps>, {
|
|
11
|
+
size: string;
|
|
12
|
+
color: string;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
}>>>, {
|
|
7
15
|
size: "small" | "middle" | "large";
|
|
8
16
|
disabled: boolean;
|
|
9
17
|
color: string;
|
|
10
|
-
}, {}
|
|
18
|
+
}, {}>;
|
|
11
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
12
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
|
+
} & {};
|
|
13
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
30
|
new (): {
|
|
15
31
|
$slots: S;
|
|
16
32
|
};
|
|
17
33
|
};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -1,47 +1,38 @@
|
|
|
1
1
|
import { ApFieldCheckboxProps, FieldMode } from '../interface';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { CheckboxOptionType } from 'ant-design-vue';
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
|
|
5
|
+
emptyText: string;
|
|
6
|
+
mode: string;
|
|
7
|
+
options: () => never[];
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
9
|
"update:value": (...args: any[]) => void;
|
|
7
|
-
}, string, PublicProps, Readonly<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} &
|
|
12
|
-
defaultValue: {
|
|
13
|
-
type: PropType<CheckboxValueType[]>;
|
|
14
|
-
default: CheckboxValueType[];
|
|
15
|
-
};
|
|
16
|
-
value: {
|
|
17
|
-
type: PropType<CheckboxValueType[]>;
|
|
18
|
-
default: CheckboxValueType[];
|
|
19
|
-
};
|
|
20
|
-
onChange: {
|
|
21
|
-
type: PropType<(checkedValue: Array<CheckboxValueType>) => void>;
|
|
22
|
-
default: (checkedValue: Array<CheckboxValueType>) => void;
|
|
23
|
-
};
|
|
24
|
-
'onUpdate:value': {
|
|
25
|
-
type: PropType<(checkedValue: Array<CheckboxValueType>) => void>;
|
|
26
|
-
default: (checkedValue: Array<CheckboxValueType>) => void;
|
|
27
|
-
};
|
|
28
|
-
name: StringConstructor;
|
|
29
|
-
prefixCls: StringConstructor;
|
|
30
|
-
options: {
|
|
31
|
-
type: PropType<(string | number | CheckboxOptionType)[]>;
|
|
32
|
-
default: (string | number | CheckboxOptionType)[];
|
|
33
|
-
};
|
|
34
|
-
disabled: BooleanConstructor;
|
|
35
|
-
id: StringConstructor;
|
|
36
|
-
}>> & {
|
|
37
|
-
emptyText?: string;
|
|
38
|
-
request?: () => Promise< CheckboxGroupProps["options"]>;
|
|
39
|
-
vertical?: boolean;
|
|
40
|
-
} & {
|
|
10
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
|
|
11
|
+
emptyText: string;
|
|
12
|
+
mode: string;
|
|
13
|
+
options: () => never[];
|
|
14
|
+
}>>> & {
|
|
41
15
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
}
|
|
16
|
+
}, {
|
|
43
17
|
mode: FieldMode;
|
|
44
18
|
options: (string | number | CheckboxOptionType)[];
|
|
45
19
|
emptyText: string;
|
|
46
|
-
}, {}
|
|
20
|
+
}, {}>;
|
|
47
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
|
+
} & {};
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { default as dayjs } from 'dayjs';
|
|
2
2
|
import { ApFieldDateProps, FieldMode } from '../interface';
|
|
3
3
|
import { ApFormatPresetType } from './interface';
|
|
4
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, RendererNode, RendererElement,
|
|
5
|
-
import { DatePickerProps } from 'ant-design-vue';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
|
|
6
5
|
import { LiteralUnion } from '../../type';
|
|
7
|
-
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
8
6
|
import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
|
9
7
|
type ApFieldDataSlots = {
|
|
10
8
|
dateRender: any;
|
|
@@ -20,23 +18,53 @@ type ApFieldDataSlots = {
|
|
|
20
18
|
default?: any;
|
|
21
19
|
};
|
|
22
20
|
declare function __VLS_template(): Readonly<ApFieldDataSlots> & ApFieldDataSlots;
|
|
23
|
-
declare const __VLS_component: DefineComponent<ApFieldDateProps
|
|
21
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
|
|
22
|
+
format: string;
|
|
23
|
+
mode: string;
|
|
24
|
+
emptyText: string;
|
|
25
|
+
allowClear: boolean;
|
|
26
|
+
autofocus: undefined;
|
|
27
|
+
bordered: undefined;
|
|
28
|
+
clearIcon: undefined;
|
|
29
|
+
defaultOpen: undefined;
|
|
30
|
+
disabled: undefined;
|
|
31
|
+
hideDisabledOptions: undefined;
|
|
32
|
+
inputReadOnly: undefined;
|
|
33
|
+
open: undefined;
|
|
34
|
+
showHour: undefined;
|
|
35
|
+
showMinute: undefined;
|
|
36
|
+
showNow: undefined;
|
|
37
|
+
showSecond: undefined;
|
|
38
|
+
showTime: undefined;
|
|
39
|
+
showToday: undefined;
|
|
40
|
+
suffixIcon: undefined;
|
|
41
|
+
use12Hours: undefined;
|
|
42
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
43
|
"update:value": (...args: any[]) => void;
|
|
25
|
-
}, string, PublicProps, Readonly<{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
|
|
45
|
+
format: string;
|
|
46
|
+
mode: string;
|
|
47
|
+
emptyText: string;
|
|
48
|
+
allowClear: boolean;
|
|
49
|
+
autofocus: undefined;
|
|
50
|
+
bordered: undefined;
|
|
51
|
+
clearIcon: undefined;
|
|
52
|
+
defaultOpen: undefined;
|
|
53
|
+
disabled: undefined;
|
|
54
|
+
hideDisabledOptions: undefined;
|
|
55
|
+
inputReadOnly: undefined;
|
|
56
|
+
open: undefined;
|
|
57
|
+
showHour: undefined;
|
|
58
|
+
showMinute: undefined;
|
|
59
|
+
showNow: undefined;
|
|
60
|
+
showSecond: undefined;
|
|
61
|
+
showTime: undefined;
|
|
62
|
+
showToday: undefined;
|
|
63
|
+
suffixIcon: undefined;
|
|
64
|
+
use12Hours: undefined;
|
|
65
|
+
}>>> & {
|
|
38
66
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}
|
|
67
|
+
}, {
|
|
40
68
|
mode: FieldMode;
|
|
41
69
|
open: boolean;
|
|
42
70
|
disabled: boolean;
|
|
@@ -63,11 +91,28 @@ declare const __VLS_component: DefineComponent<ApFieldDateProps, {}, {}, {}, {},
|
|
|
63
91
|
showToday: boolean;
|
|
64
92
|
showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
|
|
65
93
|
emptyText: string;
|
|
66
|
-
}, {}
|
|
94
|
+
}, {}>;
|
|
67
95
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
68
96
|
export default _default;
|
|
97
|
+
type __VLS_WithDefaults<P, D> = {
|
|
98
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
99
|
+
default: D[K];
|
|
100
|
+
}> : P[K];
|
|
101
|
+
};
|
|
102
|
+
type __VLS_Prettify<T> = {
|
|
103
|
+
[K in keyof T]: T[K];
|
|
104
|
+
} & {};
|
|
69
105
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
106
|
new (): {
|
|
71
107
|
$slots: S;
|
|
72
108
|
};
|
|
73
109
|
};
|
|
110
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
111
|
+
type __VLS_TypePropsToOption<T> = {
|
|
112
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
113
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
114
|
+
} : {
|
|
115
|
+
type: PropType<T[K]>;
|
|
116
|
+
required: true;
|
|
117
|
+
};
|
|
118
|
+
};
|