@aplus-frontend/ui 0.1.7 → 0.1.9
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/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 +59 -192
- 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 +26 -3
- package/es/src/ap-list/index.vue.d.ts +3 -3
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/components/index/index.vue.d.ts +24 -3
- package/es/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/es/src/ap-table/constants.d.ts +12370 -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 +3 -7
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +93 -91
- 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-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 +53 -39
- package/es/src/business/ap-label/ApLabelGroup.d.ts +25 -0
- package/es/src/business/ap-label/ApLabelGroup.mjs +36 -0
- package/es/src/business/ap-label/constans.d.ts +12 -0
- package/es/src/business/ap-label/constans.mjs +13 -0
- package/es/src/business/ap-label/interface.d.ts +16 -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 +965 -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/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/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 +59 -192
- 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 +26 -3
- package/lib/src/ap-list/index.vue.d.ts +3 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/components/index/index.vue.d.ts +24 -3
- package/lib/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/lib/src/ap-table/constants.d.ts +12370 -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 +3 -7
- 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-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 +25 -0
- package/lib/src/business/ap-label/ApLabelGroup.js +1 -0
- package/lib/src/business/ap-label/constans.d.ts +12 -0
- package/lib/src/business/ap-label/constans.js +1 -0
- package/lib/src/business/ap-label/interface.d.ts +16 -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 +965 -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/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 +2 -2
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ApFieldDateRangeProps, FieldMode } from '../interface';
|
|
2
2
|
import { ApFormatPresetType } from '../date/interface';
|
|
3
|
-
import {
|
|
4
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
|
|
5
|
-
import { RangePickerProps } from 'ant-design-vue/es/date-picker';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
|
|
6
4
|
import { LiteralUnion } from '../../type';
|
|
7
|
-
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
8
5
|
type ApFieldDateRangeSlots = {
|
|
9
6
|
suffixIcon?: any;
|
|
10
7
|
prevIcon?: any;
|
|
@@ -22,23 +19,55 @@ type ApFieldDateRangeSlots = {
|
|
|
22
19
|
clearIcon?: any;
|
|
23
20
|
};
|
|
24
21
|
declare function __VLS_template(): Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
|
|
25
|
-
declare const __VLS_component: DefineComponent<ApFieldDateRangeProps
|
|
22
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateRangeProps>, {
|
|
23
|
+
emptyText: string;
|
|
24
|
+
mode: string;
|
|
25
|
+
format: string;
|
|
26
|
+
allowClear: boolean;
|
|
27
|
+
autofocus: undefined;
|
|
28
|
+
clearIcon: undefined;
|
|
29
|
+
defaultOpen: undefined;
|
|
30
|
+
disabled: undefined;
|
|
31
|
+
hideDisabledOptions: undefined;
|
|
32
|
+
inputReadOnly: undefined;
|
|
33
|
+
open: undefined;
|
|
34
|
+
order: undefined;
|
|
35
|
+
separator: undefined;
|
|
36
|
+
showHour: undefined;
|
|
37
|
+
showMinute: undefined;
|
|
38
|
+
showNow: undefined;
|
|
39
|
+
showSecond: undefined;
|
|
40
|
+
showTime: undefined;
|
|
41
|
+
suffixIcon: undefined;
|
|
42
|
+
use12Hours: undefined;
|
|
43
|
+
bordered: undefined;
|
|
44
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
45
|
"update:value": (...args: any[]) => void;
|
|
27
|
-
}, string, PublicProps, Readonly<{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateRangeProps>, {
|
|
47
|
+
emptyText: string;
|
|
48
|
+
mode: string;
|
|
49
|
+
format: string;
|
|
50
|
+
allowClear: boolean;
|
|
51
|
+
autofocus: undefined;
|
|
52
|
+
clearIcon: undefined;
|
|
53
|
+
defaultOpen: undefined;
|
|
54
|
+
disabled: undefined;
|
|
55
|
+
hideDisabledOptions: undefined;
|
|
56
|
+
inputReadOnly: undefined;
|
|
57
|
+
open: undefined;
|
|
58
|
+
order: undefined;
|
|
59
|
+
separator: undefined;
|
|
60
|
+
showHour: undefined;
|
|
61
|
+
showMinute: undefined;
|
|
62
|
+
showNow: undefined;
|
|
63
|
+
showSecond: undefined;
|
|
64
|
+
showTime: undefined;
|
|
65
|
+
suffixIcon: undefined;
|
|
66
|
+
use12Hours: undefined;
|
|
67
|
+
bordered: undefined;
|
|
68
|
+
}>>> & {
|
|
40
69
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
}
|
|
70
|
+
}, {
|
|
42
71
|
mode: FieldMode;
|
|
43
72
|
open: boolean;
|
|
44
73
|
disabled: boolean | [boolean, boolean];
|
|
@@ -70,11 +99,28 @@ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}
|
|
|
70
99
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
71
100
|
inputReadOnly: boolean;
|
|
72
101
|
emptyText: string;
|
|
73
|
-
}, {}
|
|
102
|
+
}, {}>;
|
|
74
103
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
75
104
|
export default _default;
|
|
105
|
+
type __VLS_WithDefaults<P, D> = {
|
|
106
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
107
|
+
default: D[K];
|
|
108
|
+
}> : P[K];
|
|
109
|
+
};
|
|
110
|
+
type __VLS_Prettify<T> = {
|
|
111
|
+
[K in keyof T]: T[K];
|
|
112
|
+
} & {};
|
|
76
113
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
114
|
new (): {
|
|
78
115
|
$slots: S;
|
|
79
116
|
};
|
|
80
117
|
};
|
|
118
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
119
|
+
type __VLS_TypePropsToOption<T> = {
|
|
120
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
121
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
122
|
+
} : {
|
|
123
|
+
type: PropType<T[K]>;
|
|
124
|
+
required: true;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { ApFieldNumberProps
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
3
|
-
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
4
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
1
|
+
import { ApFieldNumberProps } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
3
|
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
6
|
-
import { KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
7
4
|
type ApFieldNumberSlots = {
|
|
8
5
|
addonBefore?: any;
|
|
9
6
|
addonAfter?: any;
|
|
@@ -15,142 +12,32 @@ type ApFieldNumberSlots = {
|
|
|
15
12
|
declare function focus(): void;
|
|
16
13
|
declare function blur(): void;
|
|
17
14
|
declare function __VLS_template(): Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
|
|
18
|
-
declare const __VLS_component: DefineComponent<ApFieldNumberProps
|
|
15
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldNumberProps>, {
|
|
16
|
+
emptyText: string;
|
|
17
|
+
thousands: boolean;
|
|
18
|
+
bordered: boolean;
|
|
19
|
+
controls: boolean;
|
|
20
|
+
keyboard: boolean;
|
|
21
|
+
max: number;
|
|
22
|
+
min: number;
|
|
23
|
+
step: number;
|
|
24
|
+
}>, {
|
|
19
25
|
focus: typeof focus;
|
|
20
26
|
blur: typeof blur;
|
|
21
|
-
},
|
|
27
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
28
|
"update:value": (...args: any[]) => void;
|
|
23
|
-
}, string, PublicProps, Readonly<{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
placeholder: StringConstructor;
|
|
37
|
-
name: StringConstructor;
|
|
38
|
-
id: StringConstructor;
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
addonBefore: VueTypeValidableDef<any>;
|
|
41
|
-
addonAfter: VueTypeValidableDef<any>;
|
|
42
|
-
prefix: VueTypeValidableDef<any>;
|
|
43
|
-
'onUpdate:value': {
|
|
44
|
-
type: PropType<(value: ValueType) => void>;
|
|
45
|
-
default: (value: ValueType) => void;
|
|
46
|
-
};
|
|
47
|
-
valueModifiers: ObjectConstructor;
|
|
48
|
-
status: {
|
|
49
|
-
type: PropType<"" | "error" | "warning">;
|
|
50
|
-
default: "" | "error" | "warning";
|
|
51
|
-
};
|
|
52
|
-
stringMode: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
defaultValue: {
|
|
57
|
-
type: PropType<ValueType>;
|
|
58
|
-
default: ValueType;
|
|
59
|
-
};
|
|
60
|
-
value: {
|
|
61
|
-
type: PropType<ValueType>;
|
|
62
|
-
default: ValueType;
|
|
63
|
-
};
|
|
64
|
-
prefixCls: {
|
|
65
|
-
type: PropType<string>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
min: {
|
|
69
|
-
type: PropType<ValueType>;
|
|
70
|
-
default: ValueType;
|
|
71
|
-
};
|
|
72
|
-
max: {
|
|
73
|
-
type: PropType<ValueType>;
|
|
74
|
-
default: ValueType;
|
|
75
|
-
};
|
|
76
|
-
step: {
|
|
77
|
-
type: PropType<ValueType>;
|
|
78
|
-
default: ValueType;
|
|
79
|
-
};
|
|
80
|
-
tabindex: NumberConstructor;
|
|
81
|
-
controls: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
readonly: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
disabled: {
|
|
90
|
-
type: BooleanConstructor;
|
|
91
|
-
default: boolean;
|
|
92
|
-
};
|
|
93
|
-
autofocus: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
|
-
keyboard: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
parser: {
|
|
102
|
-
type: PropType<(displayValue: string) => ValueType>;
|
|
103
|
-
default: (displayValue: string) => ValueType;
|
|
104
|
-
};
|
|
105
|
-
formatter: {
|
|
106
|
-
type: PropType<(value: ValueType, info: {
|
|
107
|
-
userTyping: boolean;
|
|
108
|
-
input: string;
|
|
109
|
-
}) => string>;
|
|
110
|
-
default: (value: ValueType, info: {
|
|
111
|
-
userTyping: boolean;
|
|
112
|
-
input: string;
|
|
113
|
-
}) => string;
|
|
114
|
-
};
|
|
115
|
-
precision: NumberConstructor;
|
|
116
|
-
decimalSeparator: StringConstructor;
|
|
117
|
-
onInput: {
|
|
118
|
-
type: PropType<(text: string) => void>;
|
|
119
|
-
default: (text: string) => void;
|
|
120
|
-
};
|
|
121
|
-
onChange: {
|
|
122
|
-
type: PropType<(value: ValueType) => void>;
|
|
123
|
-
default: (value: ValueType) => void;
|
|
124
|
-
};
|
|
125
|
-
onPressEnter: {
|
|
126
|
-
type: PropType<KeyboardEventHandler>;
|
|
127
|
-
default: KeyboardEventHandler;
|
|
128
|
-
};
|
|
129
|
-
onStep: {
|
|
130
|
-
type: PropType<(value: ValueType, info: {
|
|
131
|
-
offset: ValueType;
|
|
132
|
-
type: "up" | "down";
|
|
133
|
-
}) => void>;
|
|
134
|
-
default: (value: ValueType, info: {
|
|
135
|
-
offset: ValueType;
|
|
136
|
-
type: "up" | "down";
|
|
137
|
-
}) => void;
|
|
138
|
-
};
|
|
139
|
-
onBlur: {
|
|
140
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
141
|
-
default: (e: FocusEvent) => void;
|
|
142
|
-
};
|
|
143
|
-
onFocus: {
|
|
144
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
145
|
-
default: (e: FocusEvent) => void;
|
|
146
|
-
};
|
|
147
|
-
}>> & {
|
|
148
|
-
emptyText?: string;
|
|
149
|
-
thousands?: boolean;
|
|
150
|
-
limitDecimalsRetain?: boolean;
|
|
151
|
-
} & {
|
|
29
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldNumberProps>, {
|
|
30
|
+
emptyText: string;
|
|
31
|
+
thousands: boolean;
|
|
32
|
+
bordered: boolean;
|
|
33
|
+
controls: boolean;
|
|
34
|
+
keyboard: boolean;
|
|
35
|
+
max: number;
|
|
36
|
+
min: number;
|
|
37
|
+
step: number;
|
|
38
|
+
}>>> & {
|
|
152
39
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
153
|
-
}
|
|
40
|
+
}, {
|
|
154
41
|
keyboard: boolean;
|
|
155
42
|
bordered: boolean;
|
|
156
43
|
min: ValueType;
|
|
@@ -159,11 +46,28 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
159
46
|
controls: boolean;
|
|
160
47
|
emptyText: string;
|
|
161
48
|
thousands: boolean;
|
|
162
|
-
}, {}
|
|
49
|
+
}, {}>;
|
|
163
50
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
164
51
|
export default _default;
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
165
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
166
61
|
new (): {
|
|
167
62
|
$slots: S;
|
|
168
63
|
};
|
|
169
64
|
};
|
|
65
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
|
+
type __VLS_TypePropsToOption<T> = {
|
|
67
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
68
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
+
} : {
|
|
70
|
+
type: PropType<T[K]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -1,62 +1,42 @@
|
|
|
1
1
|
import { ApFieldRadioProps, FieldMode } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
3
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { RadioGroupChildOption } from 'ant-design-vue/es/radio/Group';
|
|
5
|
-
import { RadioGroupButtonStyle, RadioGroupOptionType } from 'ant-design-vue/es/radio/interface';
|
|
6
|
-
import { RadioChangeEvent, RadioGroupProps } from 'ant-design-vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
7
3
|
declare function focus(): void;
|
|
8
4
|
declare function blur(): void;
|
|
9
|
-
declare const _default: DefineComponent<ApFieldRadioProps
|
|
5
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRadioProps>, {
|
|
6
|
+
emptyText: string;
|
|
7
|
+
mode: string;
|
|
8
|
+
vertical: boolean;
|
|
9
|
+
}>, {
|
|
10
10
|
focus: typeof focus;
|
|
11
11
|
blur: typeof blur;
|
|
12
|
-
},
|
|
12
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
13
|
"update:value": (...args: any[]) => void;
|
|
14
|
-
}, string, PublicProps, Readonly<{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} &
|
|
19
|
-
prefixCls: StringConstructor;
|
|
20
|
-
value: VueTypeValidableDef<any>;
|
|
21
|
-
size: {
|
|
22
|
-
type: PropType<"default" | "small" | "large">;
|
|
23
|
-
default: "default" | "small" | "large";
|
|
24
|
-
};
|
|
25
|
-
options: {
|
|
26
|
-
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
27
|
-
default: (string | number | RadioGroupChildOption)[];
|
|
28
|
-
};
|
|
29
|
-
disabled: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
name: StringConstructor;
|
|
34
|
-
buttonStyle: {
|
|
35
|
-
type: PropType<RadioGroupButtonStyle>;
|
|
36
|
-
default: RadioGroupButtonStyle;
|
|
37
|
-
};
|
|
38
|
-
id: StringConstructor;
|
|
39
|
-
optionType: {
|
|
40
|
-
type: PropType<RadioGroupOptionType>;
|
|
41
|
-
default: RadioGroupOptionType;
|
|
42
|
-
};
|
|
43
|
-
onChange: {
|
|
44
|
-
type: PropType<(e: RadioChangeEvent) => void>;
|
|
45
|
-
default: (e: RadioChangeEvent) => void;
|
|
46
|
-
};
|
|
47
|
-
'onUpdate:value': {
|
|
48
|
-
type: PropType<(val: any) => void>;
|
|
49
|
-
default: (val: any) => void;
|
|
50
|
-
};
|
|
51
|
-
}>> & {
|
|
52
|
-
emptyText?: string;
|
|
53
|
-
request?: () => Promise< RadioGroupProps["options"]>;
|
|
54
|
-
vertical?: boolean;
|
|
55
|
-
} & {
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRadioProps>, {
|
|
15
|
+
emptyText: string;
|
|
16
|
+
mode: string;
|
|
17
|
+
vertical: boolean;
|
|
18
|
+
}>>> & {
|
|
56
19
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}
|
|
20
|
+
}, {
|
|
58
21
|
mode: FieldMode;
|
|
59
22
|
vertical: boolean;
|
|
60
23
|
emptyText: string;
|
|
61
|
-
}, {}
|
|
24
|
+
}, {}>;
|
|
62
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
|
+
} & {};
|
|
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,8 +1,5 @@
|
|
|
1
1
|
import { ApFieldRateProps, FieldMode } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
3
|
-
import { VueTypeValidableDef, VueTypeDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { Direction } from 'ant-design-vue/es/config-provider';
|
|
5
|
-
import { FocusEventHandler, KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
6
3
|
declare function focus(): void;
|
|
7
4
|
declare function blur(): void;
|
|
8
5
|
declare function __VLS_template(): Readonly<{
|
|
@@ -10,51 +7,30 @@ declare function __VLS_template(): Readonly<{
|
|
|
10
7
|
}> & {
|
|
11
8
|
character: any;
|
|
12
9
|
};
|
|
13
|
-
declare const __VLS_component: DefineComponent<ApFieldRateProps
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRateProps>, {
|
|
11
|
+
mode: string;
|
|
12
|
+
allowClear: boolean;
|
|
13
|
+
allowHalf: boolean;
|
|
14
|
+
autofocus: boolean;
|
|
15
|
+
count: number;
|
|
16
|
+
character: undefined;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}>, {
|
|
14
19
|
focus: typeof focus;
|
|
15
20
|
blur: typeof blur;
|
|
16
|
-
},
|
|
21
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
22
|
"update:value": (...args: any[]) => void;
|
|
18
|
-
}, string, PublicProps, Readonly<{
|
|
19
|
-
mode
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: any;
|
|
29
|
-
};
|
|
30
|
-
allowClear: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: any;
|
|
33
|
-
};
|
|
34
|
-
tooltips: PropType<string[]>;
|
|
35
|
-
disabled: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: any;
|
|
38
|
-
};
|
|
39
|
-
character: VueTypeValidableDef<any>;
|
|
40
|
-
autofocus: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: any;
|
|
43
|
-
};
|
|
44
|
-
tabindex: VueTypeDef<string | number>;
|
|
45
|
-
direction: PropType<Direction>;
|
|
46
|
-
id: StringConstructor;
|
|
47
|
-
onChange: PropType<(value: number) => void>;
|
|
48
|
-
onHoverChange: PropType<(value: number) => void>;
|
|
49
|
-
'onUpdate:value': PropType<(value: number) => void>;
|
|
50
|
-
onFocus: PropType<FocusEventHandler>;
|
|
51
|
-
onBlur: PropType<FocusEventHandler>;
|
|
52
|
-
onKeydown: PropType<KeyboardEventHandler>;
|
|
53
|
-
}>> & {
|
|
54
|
-
defaultValue?: number;
|
|
55
|
-
} & {
|
|
23
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRateProps>, {
|
|
24
|
+
mode: string;
|
|
25
|
+
allowClear: boolean;
|
|
26
|
+
allowHalf: boolean;
|
|
27
|
+
autofocus: boolean;
|
|
28
|
+
count: number;
|
|
29
|
+
character: undefined;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
}>>> & {
|
|
56
32
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}
|
|
33
|
+
}, {
|
|
58
34
|
mode: FieldMode;
|
|
59
35
|
disabled: boolean;
|
|
60
36
|
autofocus: boolean;
|
|
@@ -62,11 +38,28 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
62
38
|
count: number;
|
|
63
39
|
allowHalf: boolean;
|
|
64
40
|
character: any;
|
|
65
|
-
}, {}
|
|
41
|
+
}, {}>;
|
|
66
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
67
43
|
export default _default;
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
68
52
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
53
|
new (): {
|
|
70
54
|
$slots: S;
|
|
71
55
|
};
|
|
72
56
|
};
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToOption<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ApFieldSegmentedProps, FieldMode } from '../interface';
|
|
2
|
-
import {
|
|
3
|
-
import { SegmentedOption, segmentedSize, SegmentedValue } from 'ant-design-vue/es/segmented/src/segmented';
|
|
4
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
3
|
declare function __VLS_template(): {
|
|
6
4
|
label?(_: {
|
|
7
5
|
value: string | number;
|
|
@@ -11,60 +9,47 @@ declare function __VLS_template(): {
|
|
|
11
9
|
className?: string;
|
|
12
10
|
}): any;
|
|
13
11
|
};
|
|
14
|
-
declare const __VLS_component: DefineComponent<ApFieldSegmentedProps
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSegmentedProps>, {
|
|
13
|
+
mode: string;
|
|
14
|
+
emptyText: string;
|
|
15
|
+
block: undefined;
|
|
16
|
+
disabled: undefined;
|
|
17
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
18
|
"update:value": (...args: any[]) => void;
|
|
16
|
-
}, string, PublicProps, Readonly<{
|
|
17
|
-
mode
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
options: {
|
|
23
|
-
type: PropType<(string | number | SegmentedOption)[]>;
|
|
24
|
-
default: (string | number | SegmentedOption)[];
|
|
25
|
-
};
|
|
26
|
-
block: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
disabled: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
type: PropType<segmentedSize>;
|
|
36
|
-
default: segmentedSize;
|
|
37
|
-
};
|
|
38
|
-
value: {
|
|
39
|
-
required: boolean;
|
|
40
|
-
type: PropType<SegmentedValue>;
|
|
41
|
-
default: SegmentedValue;
|
|
42
|
-
};
|
|
43
|
-
motionName: StringConstructor;
|
|
44
|
-
onChange: {
|
|
45
|
-
type: PropType<(val: SegmentedValue) => void>;
|
|
46
|
-
default: (val: SegmentedValue) => void;
|
|
47
|
-
};
|
|
48
|
-
'onUpdate:value': {
|
|
49
|
-
type: PropType<(val: SegmentedValue) => void>;
|
|
50
|
-
default: (val: SegmentedValue) => void;
|
|
51
|
-
};
|
|
52
|
-
}>> & {
|
|
53
|
-
emptyText?: string;
|
|
54
|
-
defaultValue?: string | number;
|
|
55
|
-
request?: () => Promise<SegmentedProps["options"]>;
|
|
56
|
-
} & {
|
|
19
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSegmentedProps>, {
|
|
20
|
+
mode: string;
|
|
21
|
+
emptyText: string;
|
|
22
|
+
block: undefined;
|
|
23
|
+
disabled: undefined;
|
|
24
|
+
}>>> & {
|
|
57
25
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}
|
|
26
|
+
}, {
|
|
59
27
|
mode: FieldMode;
|
|
60
28
|
disabled: boolean;
|
|
61
29
|
block: boolean;
|
|
62
30
|
emptyText: string;
|
|
63
|
-
}, {}
|
|
31
|
+
}, {}>;
|
|
64
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
65
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
|
+
} & {};
|
|
66
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
43
|
new (): {
|
|
68
44
|
$slots: S;
|
|
69
45
|
};
|
|
70
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
|
+
};
|