@aplus-frontend/ui 0.1.5 → 0.1.7
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/src/ap-action/group/index.vue.d.ts +3 -30
- package/es/src/ap-action/item/index.vue.d.ts +3 -30
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/es/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/es/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/es/src/ap-download/ap-download.vue.d.ts +3 -28
- package/es/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/es/src/ap-field/date/index.vue.d.ts +19 -64
- package/es/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/es/src/ap-field/number/index.vue.d.ts +138 -42
- package/es/src/ap-field/radio/index.vue.d.ts +51 -31
- package/es/src/ap-field/rate/index.vue.d.ts +46 -39
- package/es/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/es/src/ap-field/select/index.vue.d.ts +192 -59
- package/es/src/ap-field/select/index.vue.mjs +10 -8
- package/es/src/ap-field/slider/index.vue.d.ts +115 -40
- package/es/src/ap-field/switch/index.vue.d.ts +60 -35
- package/es/src/ap-field/text/index.vue.d.ts +105 -38
- package/es/src/ap-field/text/password.vue.d.ts +113 -45
- package/es/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -28
- package/es/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/es/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/es/src/ap-form/ap-form.vue.d.ts +238 -36
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/es/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/es/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/es/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/es/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/es/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- 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 +3 -24
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/es/src/ap-table/constants.d.ts +4015 -11858
- 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 -3
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/es/src/ap-tag/ap-tag-group.vue.mjs +129 -113
- package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +23 -48
- 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 +3 -24
- package/es/src/base-button/index.d.ts +7 -110
- package/es/src/base-button/modal-button.vue.d.ts +8 -14
- package/es/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/es/src/basic/arrow.vue.d.ts +2 -11
- package/es/src/basic/help.vue.d.ts +324 -50
- package/es/src/basic/index.d.ts +667 -202
- package/es/src/basic/title.vue.d.ts +3 -24
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/es/src/business/ap-batch-action/interface.d.ts +10 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/es/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- 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 +3 -28
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/es/src/business/index.d.ts +196 -927
- package/es/src/business/title/ApTitle.vue.d.ts +3 -32
- package/es/src/button/button.vue.d.ts +2 -11
- package/es/src/button/index.d.ts +16 -32
- package/es/src/check-card/group.vue.d.ts +17 -41
- package/es/src/check-card/group.vue.mjs +1 -1
- package/es/src/check-card/index.vue.d.ts +20 -35
- package/es/src/check-card/interface.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +41 -137
- package/es/src/config-provider/index.d.ts +161 -545
- package/es/src/container/collapse/header.vue.d.ts +11 -13
- package/es/src/container/collapse/index.vue.d.ts +11 -40
- package/es/src/container/index.d.ts +40 -119
- package/es/src/container/scroll-container.vue.d.ts +3 -12
- package/es/src/count-down/button.vue.d.ts +3 -24
- package/es/src/count-down/index.d.ts +12 -111
- package/es/src/count-down/input.vue.d.ts +3 -24
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/es/src/cropper/cropper-image.vue.d.ts +5 -36
- package/es/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/es/src/cropper/index.d.ts +24 -269
- package/es/src/description/description.vue.d.ts +15 -45
- package/es/src/description/index.d.ts +51 -171
- package/es/src/dropdown/dropdown.vue.d.ts +5 -30
- package/es/src/dropdown/index.d.ts +12 -76
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +6 -7
- package/es/src/hooks/useControllableValue.d.ts +2 -2
- package/es/src/icon/icon.vue.d.ts +3 -29
- package/es/src/icon/index.d.ts +12 -159
- package/es/src/icon/svg-icon.vue.d.ts +3 -28
- package/es/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/es/src/icon-picker/index.d.ts +12 -139
- package/es/src/modal/basic.vue.d.ts +147 -117
- package/es/src/modal/components/modal-close.vue.d.ts +5 -26
- package/es/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/es/src/modal/components/modal-header.vue.d.ts +2 -11
- package/es/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/es/src/modal/components/modal.d.ts +145 -115
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +287 -462
- package/es/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/es/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/es/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +6 -57
- package/es/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/es/src/pro-form/table-form.vue.d.ts +4 -29
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/es/src/pro-table/components/header-cell.vue.d.ts +726 -9
- 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 +8 -11
- 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 +10 -24
- package/es/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/es/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/es/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/es/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/es/src/pro-table/pro-table.vue.d.ts +8 -61
- package/es/src/prompt/dialog.vue.d.ts +2 -11
- package/es/src/scroll-bar/bar-item.d.ts +10 -9
- package/es/src/scroll-bar/index.d.ts +12 -135
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/es/src/strength-meter/index.d.ts +12 -55
- package/es/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/es/src/tests/wrapper.d.ts +3 -6
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +13 -25
- package/es/src/transition/index.d.ts +88 -193
- 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 +6 -15
- package/lib/src/ap-action/group/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/lib/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/lib/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -28
- package/lib/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/lib/src/ap-field/date/index.vue.d.ts +19 -64
- package/lib/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/lib/src/ap-field/number/index.vue.d.ts +138 -42
- package/lib/src/ap-field/radio/index.vue.d.ts +51 -31
- package/lib/src/ap-field/rate/index.vue.d.ts +46 -39
- package/lib/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/lib/src/ap-field/select/index.vue.d.ts +192 -59
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +115 -40
- package/lib/src/ap-field/switch/index.vue.d.ts +60 -35
- package/lib/src/ap-field/text/index.vue.d.ts +105 -38
- package/lib/src/ap-field/text/password.vue.d.ts +113 -45
- package/lib/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- 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 +128 -38
- package/lib/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/lib/src/ap-form/ap-form.vue.d.ts +238 -36
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/lib/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/lib/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/lib/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/lib/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/lib/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- 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 +3 -24
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/lib/src/ap-table/constants.d.ts +4015 -11858
- 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 -3
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +23 -48
- 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 +3 -24
- package/lib/src/base-button/index.d.ts +7 -110
- package/lib/src/base-button/modal-button.vue.d.ts +8 -14
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/lib/src/basic/arrow.vue.d.ts +2 -11
- package/lib/src/basic/help.vue.d.ts +324 -50
- package/lib/src/basic/index.d.ts +667 -202
- package/lib/src/basic/title.vue.d.ts +3 -24
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/lib/src/business/ap-batch-action/interface.d.ts +10 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- 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 +3 -28
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/lib/src/business/index.d.ts +196 -927
- package/lib/src/business/title/ApTitle.vue.d.ts +3 -32
- package/lib/src/button/button.vue.d.ts +2 -11
- package/lib/src/button/index.d.ts +16 -32
- package/lib/src/check-card/group.vue.d.ts +17 -41
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.vue.d.ts +20 -35
- package/lib/src/check-card/interface.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +41 -137
- package/lib/src/config-provider/index.d.ts +161 -545
- package/lib/src/container/collapse/header.vue.d.ts +11 -13
- package/lib/src/container/collapse/index.vue.d.ts +11 -40
- package/lib/src/container/index.d.ts +40 -119
- package/lib/src/container/scroll-container.vue.d.ts +3 -12
- package/lib/src/count-down/button.vue.d.ts +3 -24
- package/lib/src/count-down/index.d.ts +12 -111
- package/lib/src/count-down/input.vue.d.ts +3 -24
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/lib/src/cropper/cropper-image.vue.d.ts +5 -36
- package/lib/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/lib/src/cropper/index.d.ts +24 -269
- package/lib/src/description/description.vue.d.ts +15 -45
- package/lib/src/description/index.d.ts +51 -171
- package/lib/src/dropdown/dropdown.vue.d.ts +5 -30
- package/lib/src/dropdown/index.d.ts +12 -76
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +6 -7
- package/lib/src/hooks/useControllableValue.d.ts +2 -2
- package/lib/src/icon/icon.vue.d.ts +3 -29
- package/lib/src/icon/index.d.ts +12 -159
- package/lib/src/icon/svg-icon.vue.d.ts +3 -28
- package/lib/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/lib/src/icon-picker/index.d.ts +12 -139
- package/lib/src/modal/basic.vue.d.ts +147 -117
- package/lib/src/modal/components/modal-close.vue.d.ts +5 -26
- package/lib/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -11
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/lib/src/modal/components/modal.d.ts +145 -115
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +287 -462
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/lib/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/lib/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +6 -57
- package/lib/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/lib/src/pro-form/table-form.vue.d.ts +4 -29
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/lib/src/pro-table/components/header-cell.vue.d.ts +726 -9
- 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 +8 -11
- 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 +10 -24
- package/lib/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/lib/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/lib/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/lib/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/lib/src/pro-table/pro-table.vue.d.ts +8 -61
- package/lib/src/prompt/dialog.vue.d.ts +2 -11
- package/lib/src/scroll-bar/bar-item.d.ts +10 -9
- package/lib/src/scroll-bar/index.d.ts +12 -135
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/lib/src/strength-meter/index.d.ts +12 -55
- package/lib/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/lib/src/tests/wrapper.d.ts +3 -6
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +13 -25
- package/lib/src/transition/index.d.ts +88 -193
- 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 +6 -15
- package/package.json +2 -2
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { ApFieldNumberProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import { ApFieldNumberProps, FieldMode } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
4
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
3
5
|
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
6
|
+
import { KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
4
7
|
type ApFieldNumberSlots = {
|
|
5
8
|
addonBefore?: any;
|
|
6
9
|
addonAfter?: any;
|
|
@@ -12,32 +15,142 @@ type ApFieldNumberSlots = {
|
|
|
12
15
|
declare function focus(): void;
|
|
13
16
|
declare function blur(): void;
|
|
14
17
|
declare function __VLS_template(): Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
|
|
15
|
-
declare const __VLS_component: DefineComponent<
|
|
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
|
-
}>, {
|
|
18
|
+
declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
25
19
|
focus: typeof focus;
|
|
26
20
|
blur: typeof blur;
|
|
27
|
-
},
|
|
21
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
22
|
"update:value": (...args: any[]) => void;
|
|
29
|
-
}, string, PublicProps, Readonly<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
23
|
+
}, string, PublicProps, Readonly<{
|
|
24
|
+
mode?: FieldMode;
|
|
25
|
+
class?: unknown;
|
|
26
|
+
style?: unknown;
|
|
27
|
+
} & Partial< ExtractPropTypes<{
|
|
28
|
+
size: {
|
|
29
|
+
type: PropType<ButtonSize>;
|
|
30
|
+
default: ButtonSize;
|
|
31
|
+
};
|
|
32
|
+
bordered: {
|
|
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
|
+
} & {
|
|
39
152
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}
|
|
153
|
+
}>, {
|
|
41
154
|
keyboard: boolean;
|
|
42
155
|
bordered: boolean;
|
|
43
156
|
min: ValueType;
|
|
@@ -46,28 +159,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
46
159
|
controls: boolean;
|
|
47
160
|
emptyText: string;
|
|
48
161
|
thousands: boolean;
|
|
49
|
-
}, {}>;
|
|
162
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
50
163
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
51
164
|
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
|
-
} & {};
|
|
60
165
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
166
|
new (): {
|
|
62
167
|
$slots: S;
|
|
63
168
|
};
|
|
64
169
|
};
|
|
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,42 +1,62 @@
|
|
|
1
1
|
import { ApFieldRadioProps, FieldMode } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
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';
|
|
3
7
|
declare function focus(): void;
|
|
4
8
|
declare function blur(): void;
|
|
5
|
-
declare const _default: DefineComponent<
|
|
6
|
-
emptyText: string;
|
|
7
|
-
mode: string;
|
|
8
|
-
vertical: boolean;
|
|
9
|
-
}>, {
|
|
9
|
+
declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
10
10
|
focus: typeof focus;
|
|
11
11
|
blur: typeof blur;
|
|
12
|
-
},
|
|
12
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
13
|
"update:value": (...args: any[]) => void;
|
|
14
|
-
}, string, PublicProps, Readonly<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
14
|
+
}, string, PublicProps, Readonly<{
|
|
15
|
+
mode?: FieldMode;
|
|
16
|
+
class?: unknown;
|
|
17
|
+
style?: unknown;
|
|
18
|
+
} & Partial< ExtractPropTypes<{
|
|
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
|
+
} & {
|
|
19
56
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
20
|
-
}
|
|
57
|
+
}>, {
|
|
21
58
|
mode: FieldMode;
|
|
22
59
|
vertical: boolean;
|
|
23
60
|
emptyText: string;
|
|
24
|
-
}, {}>;
|
|
61
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
25
62
|
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,5 +1,8 @@
|
|
|
1
1
|
import { ApFieldRateProps, FieldMode } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
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';
|
|
3
6
|
declare function focus(): void;
|
|
4
7
|
declare function blur(): void;
|
|
5
8
|
declare function __VLS_template(): Readonly<{
|
|
@@ -7,30 +10,51 @@ declare function __VLS_template(): Readonly<{
|
|
|
7
10
|
}> & {
|
|
8
11
|
character: any;
|
|
9
12
|
};
|
|
10
|
-
declare const __VLS_component: DefineComponent<
|
|
11
|
-
mode: string;
|
|
12
|
-
allowClear: boolean;
|
|
13
|
-
allowHalf: boolean;
|
|
14
|
-
autofocus: boolean;
|
|
15
|
-
count: number;
|
|
16
|
-
character: undefined;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
}>, {
|
|
13
|
+
declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
19
14
|
focus: typeof focus;
|
|
20
15
|
blur: typeof blur;
|
|
21
|
-
},
|
|
16
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
17
|
"update:value": (...args: any[]) => void;
|
|
23
|
-
}, string, PublicProps, Readonly<
|
|
24
|
-
mode
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
18
|
+
}, string, PublicProps, Readonly<{
|
|
19
|
+
mode?: FieldMode;
|
|
20
|
+
class?: unknown;
|
|
21
|
+
style?: unknown;
|
|
22
|
+
} & Partial< ExtractPropTypes<{
|
|
23
|
+
prefixCls: StringConstructor;
|
|
24
|
+
count: NumberConstructor;
|
|
25
|
+
value: NumberConstructor;
|
|
26
|
+
allowHalf: {
|
|
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
|
+
} & {
|
|
32
56
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}
|
|
57
|
+
}>, {
|
|
34
58
|
mode: FieldMode;
|
|
35
59
|
disabled: boolean;
|
|
36
60
|
autofocus: boolean;
|
|
@@ -38,28 +62,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
38
62
|
count: number;
|
|
39
63
|
allowHalf: boolean;
|
|
40
64
|
character: any;
|
|
41
|
-
}, {}>;
|
|
65
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
42
66
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
67
|
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
|
-
} & {};
|
|
52
68
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
69
|
new (): {
|
|
54
70
|
$slots: S;
|
|
55
71
|
};
|
|
56
72
|
};
|
|
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,5 +1,7 @@
|
|
|
1
1
|
import { ApFieldSegmentedProps, FieldMode } from '../interface';
|
|
2
|
-
import {
|
|
2
|
+
import { SegmentedProps } from 'ant-design-vue';
|
|
3
|
+
import { SegmentedOption, segmentedSize, SegmentedValue } from 'ant-design-vue/es/segmented/src/segmented';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
3
5
|
declare function __VLS_template(): {
|
|
4
6
|
label?(_: {
|
|
5
7
|
value: string | number;
|
|
@@ -9,47 +11,60 @@ declare function __VLS_template(): {
|
|
|
9
11
|
className?: string;
|
|
10
12
|
}): any;
|
|
11
13
|
};
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
-
mode: string;
|
|
14
|
-
emptyText: string;
|
|
15
|
-
block: undefined;
|
|
16
|
-
disabled: undefined;
|
|
17
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
declare const __VLS_component: DefineComponent<ApFieldSegmentedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
15
|
"update:value": (...args: any[]) => void;
|
|
19
|
-
}, string, PublicProps, Readonly<
|
|
20
|
-
mode
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
}, string, PublicProps, Readonly<{
|
|
17
|
+
mode?: FieldMode;
|
|
18
|
+
class?: unknown;
|
|
19
|
+
style?: unknown;
|
|
20
|
+
} & Partial< ExtractPropTypes<{
|
|
21
|
+
prefixCls: StringConstructor;
|
|
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
|
+
} & {
|
|
25
57
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
}
|
|
58
|
+
}>, {
|
|
27
59
|
mode: FieldMode;
|
|
28
60
|
disabled: boolean;
|
|
29
61
|
block: boolean;
|
|
30
62
|
emptyText: string;
|
|
31
|
-
}, {}>;
|
|
63
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
32
64
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
65
|
export default _default;
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
66
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
67
|
new (): {
|
|
44
68
|
$slots: S;
|
|
45
69
|
};
|
|
46
70
|
};
|
|
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
|
-
};
|