@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,13 +1,5 @@
|
|
|
1
|
-
import { DefaultOptionType, SelectValue, LabeledValue } from 'ant-design-vue/es/select';
|
|
2
1
|
import { ApFieldSelectProps, FieldMode } from '../interface';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
4
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
6
|
-
import { VueNode } from 'ant-design-vue/es/_util/type';
|
|
7
|
-
import { SelectHandler, FieldNames, FilterFunc } from 'ant-design-vue/es/vc-select/Select';
|
|
8
|
-
import { RenderDOMFunc, DropdownRender, CustomTagProps } from 'ant-design-vue/es/vc-select/BaseSelect';
|
|
9
|
-
import { AlignType } from 'ant-design-vue/es/vc-trigger/interface';
|
|
10
|
-
import { SelectProps } from 'ant-design-vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
11
3
|
type ApFieldSelectSlots = {
|
|
12
4
|
notFoundContent: any;
|
|
13
5
|
suffixIcon: any;
|
|
@@ -26,193 +18,55 @@ declare function requestIfNeeded(clear?: boolean): Promise<void>;
|
|
|
26
18
|
declare function focus(): void;
|
|
27
19
|
declare function blur(): void;
|
|
28
20
|
declare function __VLS_template(): Readonly<ApFieldSelectSlots> & ApFieldSelectSlots;
|
|
29
|
-
declare const __VLS_component: DefineComponent<ApFieldSelectProps
|
|
21
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSelectProps>, {
|
|
22
|
+
mode: string;
|
|
23
|
+
emptyText: string;
|
|
24
|
+
bordered: undefined;
|
|
25
|
+
open: undefined;
|
|
26
|
+
disabled: undefined;
|
|
27
|
+
autofocus: undefined;
|
|
28
|
+
virtual: undefined;
|
|
29
|
+
loading: undefined;
|
|
30
|
+
allowClear: boolean;
|
|
31
|
+
showSearch: undefined;
|
|
32
|
+
defaultOpen: undefined;
|
|
33
|
+
showArrow: undefined;
|
|
34
|
+
autoClearSearchValue: undefined;
|
|
35
|
+
defaultActiveFirstOption: undefined;
|
|
36
|
+
labelInValue: undefined;
|
|
37
|
+
multiple: undefined;
|
|
38
|
+
searchMode: string;
|
|
39
|
+
refetchOnFocus: boolean;
|
|
40
|
+
lazy: boolean;
|
|
41
|
+
}>, {
|
|
30
42
|
focus: typeof focus;
|
|
31
43
|
blur: typeof blur;
|
|
32
44
|
request: typeof requestIfNeeded;
|
|
33
|
-
},
|
|
45
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
46
|
"update:value": (...args: any[]) => void;
|
|
35
|
-
}, string, PublicProps, Readonly<{
|
|
36
|
-
mode
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
57
|
-
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
58
|
-
};
|
|
59
|
-
bordered: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
transitionName: StringConstructor;
|
|
64
|
-
choiceTransitionName: {
|
|
65
|
-
type: PropType<"">;
|
|
66
|
-
default: "";
|
|
67
|
-
};
|
|
68
|
-
popupClassName: StringConstructor;
|
|
69
|
-
dropdownClassName: StringConstructor;
|
|
70
|
-
placement: {
|
|
71
|
-
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
72
|
-
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
73
|
-
};
|
|
74
|
-
status: {
|
|
75
|
-
type: PropType<"" | "error" | "warning">;
|
|
76
|
-
default: "" | "error" | "warning";
|
|
77
|
-
};
|
|
78
|
-
'onUpdate:value': {
|
|
79
|
-
type: PropType<(val: SelectValue) => void>;
|
|
80
|
-
default: (val: SelectValue) => void;
|
|
81
|
-
};
|
|
82
|
-
children: PropType< VueNode[]>;
|
|
83
|
-
listHeight: NumberConstructor;
|
|
84
|
-
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
85
|
-
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
86
|
-
tabindex: NumberConstructor;
|
|
87
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
88
|
-
onFocus: {
|
|
89
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
90
|
-
};
|
|
91
|
-
onBlur: {
|
|
92
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
93
|
-
};
|
|
94
|
-
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
95
|
-
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
96
|
-
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
97
|
-
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
98
|
-
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
99
|
-
open: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: any;
|
|
102
|
-
};
|
|
103
|
-
animation: StringConstructor;
|
|
104
|
-
direction: {
|
|
105
|
-
type: PropType<"rtl" | "ltr">;
|
|
106
|
-
};
|
|
107
|
-
disabled: {
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
default: any;
|
|
110
|
-
};
|
|
111
|
-
prefixCls: StringConstructor;
|
|
112
|
-
id: StringConstructor;
|
|
113
|
-
autofocus: BooleanConstructor;
|
|
114
|
-
getPopupContainer: {
|
|
115
|
-
type: PropType<RenderDOMFunc>;
|
|
116
|
-
};
|
|
117
|
-
virtual: {
|
|
118
|
-
type: BooleanConstructor;
|
|
119
|
-
default: any;
|
|
120
|
-
};
|
|
121
|
-
dropdownMatchSelectWidth: {
|
|
122
|
-
type: PropType<number | boolean>;
|
|
123
|
-
default: any;
|
|
124
|
-
};
|
|
125
|
-
options: PropType<DefaultOptionType[]>;
|
|
126
|
-
showAction: {
|
|
127
|
-
type: PropType<("click" | "focus")[]>;
|
|
128
|
-
};
|
|
129
|
-
placeholder: VueTypeValidableDef<any>;
|
|
130
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
131
|
-
loading: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
default: any;
|
|
134
|
-
};
|
|
135
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
136
|
-
allowClear: {
|
|
137
|
-
type: BooleanConstructor;
|
|
138
|
-
default: any;
|
|
139
|
-
};
|
|
140
|
-
onSearch: PropType<(value: string) => void>;
|
|
141
|
-
fieldNames: PropType<FieldNames>;
|
|
142
|
-
dropdownStyle: {
|
|
143
|
-
type: PropType<CSSProperties>;
|
|
144
|
-
};
|
|
145
|
-
dropdownRender: {
|
|
146
|
-
type: PropType<DropdownRender>;
|
|
147
|
-
};
|
|
148
|
-
dropdownAlign: PropType<AlignType>;
|
|
149
|
-
showSearch: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
default: any;
|
|
152
|
-
};
|
|
153
|
-
searchValue: StringConstructor;
|
|
154
|
-
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
155
|
-
removeIcon: VueTypeValidableDef<any>;
|
|
156
|
-
maxTagCount: {
|
|
157
|
-
type: PropType<number | "responsive">;
|
|
158
|
-
};
|
|
159
|
-
maxTagTextLength: NumberConstructor;
|
|
160
|
-
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
161
|
-
tokenSeparators: {
|
|
162
|
-
type: PropType<string[]>;
|
|
163
|
-
};
|
|
164
|
-
tagRender: {
|
|
165
|
-
type: PropType<(props: CustomTagProps) => any>;
|
|
166
|
-
};
|
|
167
|
-
optionLabelRender: {
|
|
168
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
169
|
-
};
|
|
170
|
-
onClear: PropType<() => void>;
|
|
171
|
-
defaultOpen: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: any;
|
|
174
|
-
};
|
|
175
|
-
onDropdownVisibleChange: {
|
|
176
|
-
type: PropType<(open: boolean) => void>;
|
|
177
|
-
};
|
|
178
|
-
showArrow: {
|
|
179
|
-
type: BooleanConstructor;
|
|
180
|
-
default: any;
|
|
181
|
-
};
|
|
182
|
-
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
183
|
-
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
184
|
-
listItemHeight: NumberConstructor;
|
|
185
|
-
inputValue: StringConstructor;
|
|
186
|
-
autoClearSearchValue: {
|
|
187
|
-
type: BooleanConstructor;
|
|
188
|
-
default: any;
|
|
189
|
-
};
|
|
190
|
-
filterOption: {
|
|
191
|
-
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
192
|
-
default: any;
|
|
193
|
-
};
|
|
194
|
-
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
195
|
-
optionFilterProp: StringConstructor;
|
|
196
|
-
optionLabelProp: StringConstructor;
|
|
197
|
-
defaultActiveFirstOption: {
|
|
198
|
-
type: BooleanConstructor;
|
|
199
|
-
default: any;
|
|
200
|
-
};
|
|
201
|
-
labelInValue: {
|
|
202
|
-
type: BooleanConstructor;
|
|
203
|
-
default: any;
|
|
204
|
-
};
|
|
205
|
-
}>>, "mode" | "value" | "onUpdate:value" | "onSearch"> & {
|
|
206
|
-
emptyText?: string;
|
|
207
|
-
request?: (value?: string) => Promise< SelectProps["options"]>;
|
|
208
|
-
multiple?: boolean;
|
|
209
|
-
value?: SelectProps["value"];
|
|
210
|
-
'onUpdate:value'?: SelectProps["onUpdate:value"];
|
|
211
|
-
searchMode?: "filter" | "request";
|
|
212
|
-
refetchOnFocus?: boolean;
|
|
213
|
-
} & {
|
|
47
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSelectProps>, {
|
|
48
|
+
mode: string;
|
|
49
|
+
emptyText: string;
|
|
50
|
+
bordered: undefined;
|
|
51
|
+
open: undefined;
|
|
52
|
+
disabled: undefined;
|
|
53
|
+
autofocus: undefined;
|
|
54
|
+
virtual: undefined;
|
|
55
|
+
loading: undefined;
|
|
56
|
+
allowClear: boolean;
|
|
57
|
+
showSearch: undefined;
|
|
58
|
+
defaultOpen: undefined;
|
|
59
|
+
showArrow: undefined;
|
|
60
|
+
autoClearSearchValue: undefined;
|
|
61
|
+
defaultActiveFirstOption: undefined;
|
|
62
|
+
labelInValue: undefined;
|
|
63
|
+
multiple: undefined;
|
|
64
|
+
searchMode: string;
|
|
65
|
+
refetchOnFocus: boolean;
|
|
66
|
+
lazy: boolean;
|
|
67
|
+
}>>> & {
|
|
214
68
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
215
|
-
}
|
|
69
|
+
}, {
|
|
216
70
|
mode: FieldMode;
|
|
217
71
|
virtual: boolean;
|
|
218
72
|
open: boolean;
|
|
@@ -228,13 +82,32 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
|
228
82
|
defaultActiveFirstOption: boolean;
|
|
229
83
|
labelInValue: boolean;
|
|
230
84
|
multiple: boolean;
|
|
85
|
+
lazy: boolean;
|
|
231
86
|
emptyText: string;
|
|
232
87
|
searchMode: "filter" | "request";
|
|
233
|
-
|
|
88
|
+
refetchOnFocus: boolean;
|
|
89
|
+
}, {}>;
|
|
234
90
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
235
91
|
export default _default;
|
|
92
|
+
type __VLS_WithDefaults<P, D> = {
|
|
93
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
94
|
+
default: D[K];
|
|
95
|
+
}> : P[K];
|
|
96
|
+
};
|
|
97
|
+
type __VLS_Prettify<T> = {
|
|
98
|
+
[K in keyof T]: T[K];
|
|
99
|
+
} & {};
|
|
236
100
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
237
101
|
new (): {
|
|
238
102
|
$slots: S;
|
|
239
103
|
};
|
|
240
104
|
};
|
|
105
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
106
|
+
type __VLS_TypePropsToOption<T> = {
|
|
107
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
108
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
109
|
+
} : {
|
|
110
|
+
type: PropType<T[K]>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),d=require("lodash-unified"),v=require("ant-design-vue");require("../../hooks/index.js");const P=require("../../utils/index.js"),V=require("../hooks/use-default-placeholder.js"),O=require("../../hooks/useControllableValue.js"),M={key:0},k=t.defineComponent({name:"ApFieldSelect",__name:"index",props:{mode:{default:"edit"},class:{},style:{},defaultValue:{},notFoundContent:{},suffixIcon:{},itemIcon:{},size:{},bordered:{type:Boolean,default:void 0},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean,default:void 0},animation:{},direction:{},disabled:{type:Boolean,default:void 0},prefixCls:{},id:{},autofocus:{type:Boolean,default:void 0},getPopupContainer:{},virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{},options:{},showAction:{},placeholder:{},onDeselect:{},loading:{type:Boolean,default:void 0},clearIcon:{},allowClear:{type:Boolean,default:!0},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean,default:void 0},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{},showArrow:{type:Boolean,default:void 0},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean,default:void 0},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean,default:void 0},labelInValue:{type:Boolean,default:void 0},emptyText:{default:"--"},request:{},multiple:{type:Boolean,default:void 0},value:{},"onUpdate:value":{},searchMode:{default:"filter"},refetchOnFocus:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1}},emits:["update:value"],setup(h,{expose:m,emit:y}){let a=0;const g=d.debounce(o=>{if(!d.isFunction(e.request))return;a+=1;const n=a;i.value=[],u.value=!0,e.request(o).then(l=>{a===n&&(i.value=l)}).finally(()=>{u.value=!1})},300),e=h,w=(o,n)=>{var r;const l=((r=e.fieldNames)==null?void 0:r.label)||"label";return typeof(n==null?void 0:n.label)=="string"&&n[l].indexOf(o)>-1},i=t.ref((e==null?void 0:e.options)||[]),s=t.ref(),u=t.ref((e==null?void 0:e.loading)||!1),S=y;async function c(o=!0){if(!d.isFunction(e.request))return;u.value=!0,a+=1;const n=a;try{o&&(i.value=[]);const l=await e.request();if(n!==a)return;i.value=l}finally{u.value=!1}}function B(o){var n;(n=e.onFocus)==null||n.call(e,o),e.refetchOnFocus&&a>0&&!u.value&&c(!0)}t.onMounted(()=>{if(e.lazy){a+=1;return}c()});const{value:p,updateValue:b}=O.useControllableValue(e,S),F=V.useDefaultPlaceholder("Select",e),C=t.computed(()=>{const o=t.unref(p);if(!o)return e.emptyText;if(d.isArray(o))return o.map(l=>{var r;return(r=t.unref(i).find(f=>f.value===l))==null?void 0:r.label}).filter(Boolean).join("、")||e.emptyText;const n=t.unref(i).find(l=>l.value===o);return(n==null?void 0:n.label)||e.emptyText}),q=t.computed(()=>{const o=!!(e!=null&&e.showSearch),n=e.searchMode;let l={};return o&&(l=n==="request"?{showArrow:!1,defaultActiveFirstOption:!1,onSearch:g,notFoundContent:u.value?void 0:null}:{showArrow:!0,filterOption:d.isNil(e==null?void 0:e.filterOption)?w:e==null?void 0:e.filterOption}),{...P.omitUndefined(d.omit(e,["mode","value","onUpdate:value","onSearch","request","searchMode","onFocus"])),placeholder:t.unref(F),...l}});function x(){var o;(o=s.value)==null||o.focus()}function I(){var o;(o=s.value)==null||o.blur()}return m({focus:x,blur:I,request:c}),(o,n)=>o.mode==="read"?(t.openBlock(),t.createElementBlock("span",M,t.toDisplayString(C.value),1)):(t.openBlock(),t.createBlock(t.unref(v.Select),t.mergeProps({key:1,"allow-clear":"",ref_key:"selectRef",ref:s},q.value,{mode:o.multiple?"multiple":void 0,value:t.unref(p),"onUpdate:value":t.unref(b),options:i.value,loading:u.value,onFocus:B}),t.createSlots({_:2},[t.renderList(o.$slots,(l,r)=>({name:r,fn:t.withCtx(f=>[t.renderSlot(o.$slots,r,t.normalizeProps(t.guardReactiveProps(f||{})))])})),u.value?{name:"notFoundContent",fn:t.withCtx(()=>[t.createVNode(t.unref(v.Spin),{size:"small"})]),key:"0"}:void 0]),1040,["mode","value","onUpdate:value","options","loading"]))}});exports.default=k;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { ApFieldSliderProps
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
3
|
-
import { SliderRange, SliderMarks } from 'ant-design-vue/es/slider';
|
|
4
|
-
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
5
|
-
import { FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
1
|
+
import { ApFieldSliderProps } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
6
3
|
type ApFieldSliderSlots = {
|
|
7
4
|
default?: any;
|
|
8
5
|
mark?: (option: {
|
|
@@ -13,119 +10,30 @@ type ApFieldSliderSlots = {
|
|
|
13
10
|
declare function focus(): void;
|
|
14
11
|
declare function blur(): void;
|
|
15
12
|
declare function __VLS_template(): Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
|
|
16
|
-
declare const __VLS_component: DefineComponent<ApFieldSliderProps
|
|
13
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSliderProps>, {
|
|
14
|
+
included: boolean;
|
|
15
|
+
min: number;
|
|
16
|
+
max: number;
|
|
17
|
+
step: number;
|
|
18
|
+
tooltipOpen: undefined;
|
|
19
|
+
tooltipVisible: undefined;
|
|
20
|
+
emptyText: string;
|
|
21
|
+
}>, {
|
|
17
22
|
focus: typeof focus;
|
|
18
23
|
blur: typeof blur;
|
|
19
|
-
},
|
|
24
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
25
|
"update:value": (...args: any[]) => void;
|
|
21
|
-
}, string, PublicProps, Readonly<{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
type: PropType<boolean | SliderRange>;
|
|
31
|
-
default: boolean | SliderRange;
|
|
32
|
-
};
|
|
33
|
-
reverse: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
min: NumberConstructor;
|
|
38
|
-
max: NumberConstructor;
|
|
39
|
-
step: {
|
|
40
|
-
type: PropType<number>;
|
|
41
|
-
default: number;
|
|
42
|
-
};
|
|
43
|
-
marks: {
|
|
44
|
-
type: PropType<SliderMarks>;
|
|
45
|
-
default: SliderMarks;
|
|
46
|
-
};
|
|
47
|
-
dots: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
value: {
|
|
52
|
-
type: PropType<number | [number, number]>;
|
|
53
|
-
default: number | [number, number];
|
|
54
|
-
};
|
|
55
|
-
defaultValue: {
|
|
56
|
-
type: PropType<number | [number, number]>;
|
|
57
|
-
default: number | [number, number];
|
|
58
|
-
};
|
|
59
|
-
included: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
vertical: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
tipFormatter: {
|
|
72
|
-
type: PropType<(value?: number) => any>;
|
|
73
|
-
default: (value?: number) => any;
|
|
74
|
-
};
|
|
75
|
-
tooltipOpen: {
|
|
76
|
-
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
tooltipVisible: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
tooltipPlacement: {
|
|
84
|
-
type: PropType<TooltipPlacement>;
|
|
85
|
-
default: TooltipPlacement;
|
|
86
|
-
};
|
|
87
|
-
getTooltipPopupContainer: {
|
|
88
|
-
type: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
89
|
-
default: (triggerNode: HTMLElement) => HTMLElement;
|
|
90
|
-
};
|
|
91
|
-
autofocus: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
handleStyle: {
|
|
96
|
-
type: PropType< CSSProperties | CSSProperties[]>;
|
|
97
|
-
default: CSSProperties | CSSProperties[];
|
|
98
|
-
};
|
|
99
|
-
trackStyle: {
|
|
100
|
-
type: PropType< CSSProperties | CSSProperties[]>;
|
|
101
|
-
default: CSSProperties | CSSProperties[];
|
|
102
|
-
};
|
|
103
|
-
onChange: {
|
|
104
|
-
type: PropType<(value: number | [number, number]) => void>;
|
|
105
|
-
default: (value: number | [number, number]) => void;
|
|
106
|
-
};
|
|
107
|
-
onAfterChange: {
|
|
108
|
-
type: PropType<(value: number | [number, number]) => void>;
|
|
109
|
-
default: (value: number | [number, number]) => void;
|
|
110
|
-
};
|
|
111
|
-
onFocus: {
|
|
112
|
-
type: PropType<FocusEventHandler>;
|
|
113
|
-
default: FocusEventHandler;
|
|
114
|
-
};
|
|
115
|
-
onBlur: {
|
|
116
|
-
type: PropType<FocusEventHandler>;
|
|
117
|
-
default: FocusEventHandler;
|
|
118
|
-
};
|
|
119
|
-
'onUpdate:value': {
|
|
120
|
-
type: PropType<(value: number | [number, number]) => void>;
|
|
121
|
-
default: (value: number | [number, number]) => void;
|
|
122
|
-
};
|
|
123
|
-
}>> & {
|
|
124
|
-
emptyText?: string;
|
|
125
|
-
defaultValue?: number | [number, number];
|
|
126
|
-
} & {
|
|
26
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSliderProps>, {
|
|
27
|
+
included: boolean;
|
|
28
|
+
min: number;
|
|
29
|
+
max: number;
|
|
30
|
+
step: number;
|
|
31
|
+
tooltipOpen: undefined;
|
|
32
|
+
tooltipVisible: undefined;
|
|
33
|
+
emptyText: string;
|
|
34
|
+
}>>> & {
|
|
127
35
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
128
|
-
}
|
|
36
|
+
}, {
|
|
129
37
|
min: number;
|
|
130
38
|
max: number;
|
|
131
39
|
step: number;
|
|
@@ -133,11 +41,28 @@ declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
|
133
41
|
tooltipOpen: boolean;
|
|
134
42
|
tooltipVisible: boolean;
|
|
135
43
|
emptyText: string;
|
|
136
|
-
}, {}
|
|
44
|
+
}, {}>;
|
|
137
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
138
46
|
export default _default;
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
139
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
140
56
|
new (): {
|
|
141
57
|
$slots: S;
|
|
142
58
|
};
|
|
143
59
|
};
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToOption<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -1,80 +1,55 @@
|
|
|
1
|
-
import { ApFieldSwitchProps
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
3
|
-
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
5
|
-
import { PopconfirmProps } from 'ant-design-vue';
|
|
1
|
+
import { ApFieldSwitchProps } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
6
3
|
type ApFieldSwitchSlots = {
|
|
7
4
|
checkedChildren: any;
|
|
8
5
|
unCheckedChildren: any;
|
|
9
6
|
default: any;
|
|
10
7
|
};
|
|
11
8
|
declare function __VLS_template(): Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
|
|
12
|
-
declare const __VLS_component: DefineComponent<ApFieldSwitchProps
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSwitchProps>, {
|
|
10
|
+
emptyText: string;
|
|
11
|
+
checkedValue: boolean;
|
|
12
|
+
unCheckedValue: boolean;
|
|
13
|
+
size: string;
|
|
14
|
+
loading: undefined;
|
|
15
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
16
|
"update:checked": (...args: any[]) => void;
|
|
14
|
-
}, string, PublicProps, Readonly<{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
size: VueTypeDef<"default" | "small">;
|
|
22
|
-
disabled: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: any;
|
|
25
|
-
};
|
|
26
|
-
checkedChildren: VueTypeValidableDef<any>;
|
|
27
|
-
unCheckedChildren: VueTypeValidableDef<any>;
|
|
28
|
-
tabindex: VueTypeDef<string | number>;
|
|
29
|
-
autofocus: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: any;
|
|
32
|
-
};
|
|
33
|
-
loading: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: any;
|
|
36
|
-
};
|
|
37
|
-
checked: VueTypeDef<string | number | boolean>;
|
|
38
|
-
checkedValue: VueTypeDef<string | number | boolean> & {
|
|
39
|
-
default: string | number | boolean;
|
|
40
|
-
};
|
|
41
|
-
unCheckedValue: VueTypeDef<string | number | boolean> & {
|
|
42
|
-
default: string | number | boolean;
|
|
43
|
-
};
|
|
44
|
-
onChange: {
|
|
45
|
-
type: PropType<(checked: string | number | boolean, e: Event) => void>;
|
|
46
|
-
};
|
|
47
|
-
onClick: {
|
|
48
|
-
type: PropType<(checked: string | number | boolean, e: Event) => void>;
|
|
49
|
-
};
|
|
50
|
-
onKeydown: {
|
|
51
|
-
type: PropType<(e: Event) => void>;
|
|
52
|
-
};
|
|
53
|
-
onMouseup: {
|
|
54
|
-
type: PropType<(e: Event) => void>;
|
|
55
|
-
};
|
|
56
|
-
'onUpdate:checked': {
|
|
57
|
-
type: PropType<(checked: string | number | boolean) => void>;
|
|
58
|
-
};
|
|
59
|
-
onBlur: PropType<FocusEventHandler>;
|
|
60
|
-
onFocus: PropType<FocusEventHandler>;
|
|
61
|
-
}>>, "onClick"> & {
|
|
62
|
-
emptyText?: string;
|
|
63
|
-
onAction?: (checked: string | boolean | number, e?: Event) => boolean | Promise<boolean>;
|
|
64
|
-
confirm?: Pick< PopconfirmProps, "title" | "okText" | "cancelText" | "description" | "showCancel" | "icon" | "okType" | "onCancel">;
|
|
65
|
-
} & {
|
|
17
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSwitchProps>, {
|
|
18
|
+
emptyText: string;
|
|
19
|
+
checkedValue: boolean;
|
|
20
|
+
unCheckedValue: boolean;
|
|
21
|
+
size: string;
|
|
22
|
+
loading: undefined;
|
|
23
|
+
}>>> & {
|
|
66
24
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
}
|
|
25
|
+
}, {
|
|
68
26
|
size: "small" | "default";
|
|
69
27
|
loading: boolean;
|
|
70
28
|
checkedValue: string | number | boolean;
|
|
71
29
|
unCheckedValue: string | number | boolean;
|
|
72
30
|
emptyText: string;
|
|
73
|
-
}, {}
|
|
31
|
+
}, {}>;
|
|
74
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
75
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
|
+
} & {};
|
|
76
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
43
|
new (): {
|
|
78
44
|
$slots: S;
|
|
79
45
|
};
|
|
80
46
|
};
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToOption<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|