@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,5 +1,8 @@
|
|
|
1
|
-
import { ApFieldSliderProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import { ApFieldSliderProps, FieldMode } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
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';
|
|
3
6
|
type ApFieldSliderSlots = {
|
|
4
7
|
default?: any;
|
|
5
8
|
mark?: (option: {
|
|
@@ -10,30 +13,119 @@ type ApFieldSliderSlots = {
|
|
|
10
13
|
declare function focus(): void;
|
|
11
14
|
declare function blur(): void;
|
|
12
15
|
declare function __VLS_template(): Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
|
|
13
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
-
included: boolean;
|
|
15
|
-
min: number;
|
|
16
|
-
max: number;
|
|
17
|
-
step: number;
|
|
18
|
-
tooltipOpen: undefined;
|
|
19
|
-
tooltipVisible: undefined;
|
|
20
|
-
emptyText: string;
|
|
21
|
-
}>, {
|
|
16
|
+
declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
22
17
|
focus: typeof focus;
|
|
23
18
|
blur: typeof blur;
|
|
24
|
-
},
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
20
|
"update:value": (...args: any[]) => void;
|
|
26
|
-
}, string, PublicProps, Readonly<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
}, string, PublicProps, Readonly<{
|
|
22
|
+
mode?: FieldMode;
|
|
23
|
+
class?: unknown;
|
|
24
|
+
style?: unknown;
|
|
25
|
+
} & Partial< ExtractPropTypes<{
|
|
26
|
+
id: StringConstructor;
|
|
27
|
+
prefixCls: StringConstructor;
|
|
28
|
+
tooltipPrefixCls: StringConstructor;
|
|
29
|
+
range: {
|
|
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
|
+
} & {
|
|
35
127
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}
|
|
128
|
+
}>, {
|
|
37
129
|
min: number;
|
|
38
130
|
max: number;
|
|
39
131
|
step: number;
|
|
@@ -41,28 +133,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
41
133
|
tooltipOpen: boolean;
|
|
42
134
|
tooltipVisible: boolean;
|
|
43
135
|
emptyText: string;
|
|
44
|
-
}, {}>;
|
|
136
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
45
137
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
138
|
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
|
-
} & {};
|
|
55
139
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
140
|
new (): {
|
|
57
141
|
$slots: S;
|
|
58
142
|
};
|
|
59
143
|
};
|
|
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,55 +1,80 @@
|
|
|
1
|
-
import { ApFieldSwitchProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import { ApFieldSwitchProps, FieldMode } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
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';
|
|
3
6
|
type ApFieldSwitchSlots = {
|
|
4
7
|
checkedChildren: any;
|
|
5
8
|
unCheckedChildren: any;
|
|
6
9
|
default: any;
|
|
7
10
|
};
|
|
8
11
|
declare function __VLS_template(): Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
|
|
9
|
-
declare const __VLS_component: DefineComponent<
|
|
10
|
-
emptyText: string;
|
|
11
|
-
checkedValue: boolean;
|
|
12
|
-
unCheckedValue: boolean;
|
|
13
|
-
size: string;
|
|
14
|
-
loading: undefined;
|
|
15
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_component: DefineComponent<ApFieldSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
13
|
"update:checked": (...args: any[]) => void;
|
|
17
|
-
}, string, PublicProps, Readonly<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
}, string, PublicProps, Readonly<{
|
|
15
|
+
mode?: FieldMode;
|
|
16
|
+
class?: unknown;
|
|
17
|
+
style?: unknown;
|
|
18
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
19
|
+
id: StringConstructor;
|
|
20
|
+
prefixCls: StringConstructor;
|
|
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
|
+
} & {
|
|
24
66
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}
|
|
67
|
+
}>, {
|
|
26
68
|
size: "small" | "default";
|
|
27
69
|
loading: boolean;
|
|
28
70
|
checkedValue: string | number | boolean;
|
|
29
71
|
unCheckedValue: string | number | boolean;
|
|
30
72
|
emptyText: string;
|
|
31
|
-
}, {}>;
|
|
73
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
32
74
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
75
|
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
76
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
77
|
new (): {
|
|
44
78
|
$slots: S;
|
|
45
79
|
};
|
|
46
80
|
};
|
|
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
|
-
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ApFieldTextProps, FieldMode } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { SizeType } from 'ant-design-vue/es/button';
|
|
5
|
+
import { ShowCountProps } from 'ant-design-vue/es/vc-input/inputProps';
|
|
6
|
+
import { KeyboardEventHandler, FocusEventHandler, ChangeEventHandler, CompositionEventHandler, MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
7
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
8
|
type ApFieldTextSlots = {
|
|
5
9
|
addonAfter?: any;
|
|
6
10
|
addonBefore?: any;
|
|
@@ -9,59 +13,122 @@ type ApFieldTextSlots = {
|
|
|
9
13
|
clearIcon?: any;
|
|
10
14
|
};
|
|
11
15
|
declare function __VLS_template(): Readonly<ApFieldTextSlots> & ApFieldTextSlots;
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
-
emptyText: string;
|
|
14
|
-
mode: string;
|
|
15
|
-
bordered: boolean;
|
|
16
|
-
type: string;
|
|
17
|
-
lazy: boolean;
|
|
18
|
-
allowClear: boolean;
|
|
19
|
-
}>, {
|
|
16
|
+
declare const __VLS_component: DefineComponent<ApFieldTextProps, {
|
|
20
17
|
focus: (options?: InputFocusOptions) => void;
|
|
21
18
|
blur: () => void;
|
|
22
19
|
input: any;
|
|
23
20
|
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
24
21
|
select: () => void;
|
|
25
|
-
},
|
|
22
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
23
|
"update:value": (...args: any[]) => void;
|
|
27
|
-
}, string, PublicProps, Readonly<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
24
|
+
}, string, PublicProps, Readonly<{
|
|
25
|
+
mode?: FieldMode;
|
|
26
|
+
class?: unknown;
|
|
27
|
+
style?: unknown;
|
|
28
|
+
} & Partial< ExtractPropTypes<Omit<{
|
|
29
|
+
id: StringConstructor;
|
|
30
|
+
placeholder: {
|
|
31
|
+
type: PropType<string | number>;
|
|
32
|
+
};
|
|
33
|
+
autocomplete: StringConstructor;
|
|
34
|
+
type: {
|
|
35
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
36
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
37
|
+
};
|
|
38
|
+
name: StringConstructor;
|
|
39
|
+
size: {
|
|
40
|
+
type: PropType<SizeType>;
|
|
41
|
+
};
|
|
42
|
+
autofocus: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
lazy: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
maxlength: NumberConstructor;
|
|
51
|
+
loading: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
bordered: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: any;
|
|
58
|
+
};
|
|
59
|
+
showCount: {
|
|
60
|
+
type: PropType<boolean | ShowCountProps>;
|
|
61
|
+
};
|
|
62
|
+
htmlSize: NumberConstructor;
|
|
63
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
64
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
65
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
66
|
+
onFocus: PropType<FocusEventHandler>;
|
|
67
|
+
onBlur: PropType<FocusEventHandler>;
|
|
68
|
+
onChange: PropType<ChangeEventHandler>;
|
|
69
|
+
onInput: PropType<ChangeEventHandler>;
|
|
70
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
71
|
+
onCompositionstart: PropType<CompositionEventHandler>;
|
|
72
|
+
onCompositionend: PropType<CompositionEventHandler>;
|
|
73
|
+
valueModifiers: ObjectConstructor;
|
|
74
|
+
hidden: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: any;
|
|
77
|
+
};
|
|
78
|
+
status: PropType<"" | "error" | "warning">;
|
|
79
|
+
value: {
|
|
80
|
+
type: PropType<string | number>;
|
|
81
|
+
default: any;
|
|
82
|
+
};
|
|
83
|
+
defaultValue: {
|
|
84
|
+
type: PropType<string | number>;
|
|
85
|
+
default: any;
|
|
86
|
+
};
|
|
87
|
+
inputElement: VueTypeValidableDef<any>;
|
|
88
|
+
prefixCls: StringConstructor;
|
|
89
|
+
disabled: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: any;
|
|
92
|
+
};
|
|
93
|
+
focused: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: any;
|
|
96
|
+
};
|
|
97
|
+
triggerFocus: PropType<() => void>;
|
|
98
|
+
readonly: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: any;
|
|
101
|
+
};
|
|
102
|
+
handleReset: PropType<MouseEventHandler>;
|
|
103
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
104
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
105
|
+
prefix: VueTypeValidableDef<any>;
|
|
106
|
+
suffix: VueTypeValidableDef<any>;
|
|
107
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
108
|
+
affixWrapperClassName: StringConstructor;
|
|
109
|
+
groupClassName: StringConstructor;
|
|
110
|
+
wrapperClassName: StringConstructor;
|
|
111
|
+
inputClassName: StringConstructor;
|
|
112
|
+
allowClear: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: any;
|
|
115
|
+
};
|
|
116
|
+
}, "wrapperClassName" | "affixWrapperClassName" | "groupClassName" | "inputClassName">>> & {
|
|
117
|
+
emptyText?: string;
|
|
118
|
+
} & {
|
|
35
119
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}
|
|
120
|
+
}>, {
|
|
37
121
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
|
|
38
122
|
mode: FieldMode;
|
|
123
|
+
lazy: boolean;
|
|
39
124
|
bordered: boolean;
|
|
40
125
|
allowClear: boolean;
|
|
41
|
-
lazy: boolean;
|
|
42
126
|
emptyText: string;
|
|
43
|
-
}, {}>;
|
|
127
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
44
128
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
129
|
export default _default;
|
|
46
|
-
type __VLS_WithDefaults<P, D> = {
|
|
47
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
-
default: D[K];
|
|
49
|
-
}> : P[K];
|
|
50
|
-
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
54
130
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
131
|
new (): {
|
|
56
132
|
$slots: S;
|
|
57
133
|
};
|
|
58
134
|
};
|
|
59
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
-
type __VLS_TypePropsToOption<T> = {
|
|
61
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
-
} : {
|
|
64
|
-
type: PropType<T[K]>;
|
|
65
|
-
required: true;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ApFieldTextPasswordProps, FieldMode } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { SizeType } from 'ant-design-vue/es/button';
|
|
4
|
+
import { ShowCountProps } from 'ant-design-vue/es/vc-input/inputProps';
|
|
5
|
+
import { KeyboardEventHandler, FocusEventHandler, ChangeEventHandler, CompositionEventHandler, MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
6
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
3
7
|
type ApFieldTextPasswordSlots = {
|
|
4
8
|
addonAfter: any;
|
|
5
9
|
addonBefore: any;
|
|
@@ -9,67 +13,131 @@ type ApFieldTextPasswordSlots = {
|
|
|
9
13
|
iconRender: any;
|
|
10
14
|
};
|
|
11
15
|
declare function __VLS_template(): Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
-
emptyText: string;
|
|
14
|
-
mode: string;
|
|
15
|
-
bordered: boolean;
|
|
16
|
-
type: string;
|
|
17
|
-
lazy: boolean;
|
|
18
|
-
allowClear: boolean;
|
|
19
|
-
visibilityToggle: boolean;
|
|
20
|
-
action: string;
|
|
21
|
-
visible: undefined;
|
|
22
|
-
}>, {
|
|
16
|
+
declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
|
|
23
17
|
focus: () => void;
|
|
24
18
|
blur: () => void;
|
|
25
|
-
},
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
20
|
"update:value": (...args: any[]) => void;
|
|
27
21
|
"update:visible": (...args: any[]) => void;
|
|
28
|
-
}, string, PublicProps, Readonly<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
22
|
+
}, string, PublicProps, Readonly<{
|
|
23
|
+
mode?: FieldMode;
|
|
24
|
+
class?: unknown;
|
|
25
|
+
style?: unknown;
|
|
26
|
+
} & Partial< ExtractPropTypes<Omit<{
|
|
27
|
+
id: StringConstructor;
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: PropType<string | number>;
|
|
30
|
+
};
|
|
31
|
+
autocomplete: StringConstructor;
|
|
32
|
+
type: {
|
|
33
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
34
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
35
|
+
};
|
|
36
|
+
name: StringConstructor;
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<SizeType>;
|
|
39
|
+
};
|
|
40
|
+
autofocus: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
lazy: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
maxlength: NumberConstructor;
|
|
49
|
+
loading: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
bordered: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: any;
|
|
56
|
+
};
|
|
57
|
+
showCount: {
|
|
58
|
+
type: PropType<boolean | ShowCountProps>;
|
|
59
|
+
};
|
|
60
|
+
htmlSize: NumberConstructor;
|
|
61
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
62
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
63
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
64
|
+
onFocus: PropType<FocusEventHandler>;
|
|
65
|
+
onBlur: PropType<FocusEventHandler>;
|
|
66
|
+
onChange: PropType<ChangeEventHandler>;
|
|
67
|
+
onInput: PropType<ChangeEventHandler>;
|
|
68
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
69
|
+
onCompositionstart: PropType<CompositionEventHandler>;
|
|
70
|
+
onCompositionend: PropType<CompositionEventHandler>;
|
|
71
|
+
valueModifiers: ObjectConstructor;
|
|
72
|
+
hidden: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: any;
|
|
75
|
+
};
|
|
76
|
+
status: PropType<"" | "error" | "warning">;
|
|
77
|
+
value: {
|
|
78
|
+
type: PropType<string | number>;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
defaultValue: {
|
|
82
|
+
type: PropType<string | number>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
inputElement: VueTypeValidableDef<any>;
|
|
86
|
+
prefixCls: StringConstructor;
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: any;
|
|
90
|
+
};
|
|
91
|
+
focused: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: any;
|
|
94
|
+
};
|
|
95
|
+
triggerFocus: PropType<() => void>;
|
|
96
|
+
readonly: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: any;
|
|
99
|
+
};
|
|
100
|
+
handleReset: PropType<MouseEventHandler>;
|
|
101
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
102
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
103
|
+
prefix: VueTypeValidableDef<any>;
|
|
104
|
+
suffix: VueTypeValidableDef<any>;
|
|
105
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
106
|
+
affixWrapperClassName: StringConstructor;
|
|
107
|
+
groupClassName: StringConstructor;
|
|
108
|
+
wrapperClassName: StringConstructor;
|
|
109
|
+
inputClassName: StringConstructor;
|
|
110
|
+
allowClear: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: any;
|
|
113
|
+
};
|
|
114
|
+
}, "wrapperClassName" | "affixWrapperClassName" | "groupClassName" | "inputClassName">>> & {
|
|
115
|
+
prefixCls?: string;
|
|
116
|
+
inputPrefixCls?: string;
|
|
117
|
+
action?: string;
|
|
118
|
+
visibilityToggle?: boolean;
|
|
119
|
+
visible?: boolean;
|
|
120
|
+
'onUpdate:visible'?: (visible: boolean) => void;
|
|
121
|
+
} & {
|
|
122
|
+
emptyText?: string;
|
|
123
|
+
} & {
|
|
40
124
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
|
|
125
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
}>, {
|
|
42
127
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
|
|
43
128
|
mode: FieldMode;
|
|
44
129
|
visible: boolean;
|
|
130
|
+
lazy: boolean;
|
|
45
131
|
bordered: boolean;
|
|
46
132
|
allowClear: boolean;
|
|
47
|
-
lazy: boolean;
|
|
48
133
|
action: string;
|
|
49
134
|
visibilityToggle: boolean;
|
|
50
135
|
emptyText: string;
|
|
51
|
-
}, {}>;
|
|
136
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
52
137
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
53
138
|
export default _default;
|
|
54
|
-
type __VLS_WithDefaults<P, D> = {
|
|
55
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
-
default: D[K];
|
|
57
|
-
}> : P[K];
|
|
58
|
-
};
|
|
59
|
-
type __VLS_Prettify<T> = {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} & {};
|
|
62
139
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
140
|
new (): {
|
|
64
141
|
$slots: S;
|
|
65
142
|
};
|
|
66
143
|
};
|
|
67
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
-
type __VLS_TypePropsToOption<T> = {
|
|
69
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
-
} : {
|
|
72
|
-
type: PropType<T[K]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
};
|