@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,51 +1,130 @@
|
|
|
1
1
|
import { ApFieldTextAreaProps, FieldMode } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
|
-
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
allowClear: boolean;
|
|
11
|
-
}>, {
|
|
3
|
+
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { AutoSizeType } from 'ant-design-vue/es/input/inputProps';
|
|
5
|
+
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
6
|
+
import { SizeType } from 'ant-design-vue/es/button';
|
|
7
|
+
import { ShowCountProps } from 'ant-design-vue/es/vc-input/inputProps';
|
|
8
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
9
|
+
declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
12
10
|
focus: (options?: InputFocusOptions) => void;
|
|
13
11
|
blur: () => void;
|
|
14
12
|
resizableTextArea: ComputedRef<any>;
|
|
15
|
-
},
|
|
13
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
14
|
"update:value": (...args: any[]) => void;
|
|
17
|
-
}, string, PublicProps, Readonly<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
}, string, PublicProps, Readonly<{
|
|
16
|
+
mode?: FieldMode;
|
|
17
|
+
class?: unknown;
|
|
18
|
+
style?: unknown;
|
|
19
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
20
|
+
rows: NumberConstructor;
|
|
21
|
+
autosize: {
|
|
22
|
+
type: PropType<boolean | AutoSizeType>;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
autoSize: {
|
|
26
|
+
type: PropType<boolean | AutoSizeType>;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
onResize: {
|
|
30
|
+
type: PropType<(size: {
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
}) => void>;
|
|
34
|
+
};
|
|
35
|
+
onCompositionstart: {
|
|
36
|
+
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
37
|
+
};
|
|
38
|
+
onCompositionend: {
|
|
39
|
+
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
40
|
+
};
|
|
41
|
+
valueModifiers: ObjectConstructor;
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<SizeType>;
|
|
44
|
+
};
|
|
45
|
+
value: {
|
|
46
|
+
type: PropType<string | number>;
|
|
47
|
+
default: any;
|
|
48
|
+
};
|
|
49
|
+
name: StringConstructor;
|
|
50
|
+
type: {
|
|
51
|
+
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">;
|
|
52
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
53
|
+
};
|
|
54
|
+
onFocus: PropType<FocusEventHandler>;
|
|
55
|
+
onBlur: PropType<FocusEventHandler>;
|
|
56
|
+
onChange: PropType<ChangeEventHandler>;
|
|
57
|
+
onInput: PropType<ChangeEventHandler>;
|
|
58
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
59
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
60
|
+
focused: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: any;
|
|
63
|
+
};
|
|
64
|
+
hidden: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
disabled: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: any;
|
|
71
|
+
};
|
|
72
|
+
prefixCls: StringConstructor;
|
|
73
|
+
id: StringConstructor;
|
|
74
|
+
autofocus: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: any;
|
|
77
|
+
};
|
|
78
|
+
autocomplete: StringConstructor;
|
|
79
|
+
readonly: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: any;
|
|
82
|
+
};
|
|
83
|
+
status: PropType<"" | "error" | "warning">;
|
|
84
|
+
defaultValue: {
|
|
85
|
+
type: PropType<string | number>;
|
|
86
|
+
default: any;
|
|
87
|
+
};
|
|
88
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
89
|
+
placeholder: {
|
|
90
|
+
type: PropType<string | number>;
|
|
91
|
+
};
|
|
92
|
+
loading: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: any;
|
|
95
|
+
};
|
|
96
|
+
lazy: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
maxlength: NumberConstructor;
|
|
101
|
+
bordered: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: any;
|
|
104
|
+
};
|
|
105
|
+
showCount: {
|
|
106
|
+
type: PropType<boolean | ShowCountProps>;
|
|
107
|
+
};
|
|
108
|
+
htmlSize: NumberConstructor;
|
|
109
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
110
|
+
inputElement: VueTypeValidableDef<any>;
|
|
111
|
+
triggerFocus: PropType<() => void>;
|
|
112
|
+
handleReset: PropType<MouseEventHandler>;
|
|
113
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
114
|
+
allowClear: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: any;
|
|
117
|
+
};
|
|
118
|
+
}>>, "autosize"> & {
|
|
119
|
+
emptyText?: string;
|
|
120
|
+
} & {
|
|
25
121
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
}
|
|
122
|
+
}>, {
|
|
27
123
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
|
|
28
124
|
mode: FieldMode;
|
|
125
|
+
lazy: boolean;
|
|
29
126
|
bordered: boolean;
|
|
30
127
|
allowClear: boolean;
|
|
31
|
-
lazy: boolean;
|
|
32
128
|
emptyText: string;
|
|
33
|
-
}, {}>;
|
|
129
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
34
130
|
export default _default;
|
|
35
|
-
type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
|
-
type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
43
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
type __VLS_TypePropsToOption<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -1,46 +1,64 @@
|
|
|
1
1
|
import { ApFormItemGroupProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { Breakpoint } from 'ant-design-vue/es/_util/responsiveObserve';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, ComponentProvideOptions } from 'vue';
|
|
4
3
|
import { Gutter } from 'ant-design-vue/es/grid/Row';
|
|
5
4
|
declare function __VLS_template(): Readonly<{
|
|
6
5
|
default(): any[];
|
|
7
6
|
}> & {
|
|
8
7
|
default(): any[];
|
|
9
8
|
};
|
|
10
|
-
declare const __VLS_component: DefineComponent<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
9
|
+
declare const __VLS_component: DefineComponent<ApFormItemGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< ExtractPropTypes<{
|
|
10
|
+
align: {
|
|
11
|
+
type: PropType<"top" | "bottom" | "stretch" | "middle" | {
|
|
12
|
+
xxl?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
13
|
+
xl?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
14
|
+
lg?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
15
|
+
md?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
16
|
+
sm?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
17
|
+
xs?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
default: "top" | "bottom" | "stretch" | "middle" | {
|
|
20
|
+
xxl?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
21
|
+
xl?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
22
|
+
lg?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
23
|
+
md?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
24
|
+
sm?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
25
|
+
xs?: "top" | "middle" | "bottom" | "stretch" | undefined;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
justify: {
|
|
29
|
+
type: PropType<"center" | "end" | "start" | "space-around" | "space-between" | "space-evenly" | {
|
|
30
|
+
xxl?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
31
|
+
xl?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
32
|
+
lg?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
33
|
+
md?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
34
|
+
sm?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
35
|
+
xs?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
default: "center" | "end" | "start" | "space-around" | "space-between" | "space-evenly" | {
|
|
38
|
+
xxl?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
39
|
+
xl?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
40
|
+
lg?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
41
|
+
md?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
42
|
+
sm?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
43
|
+
xs?: "center" | "start" | "space-around" | "space-between" | "space-evenly" | "end" | undefined;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
prefixCls: StringConstructor;
|
|
47
|
+
gutter: {
|
|
48
|
+
type: PropType< Gutter | [ Gutter, Gutter]>;
|
|
49
|
+
default: Gutter | [ Gutter, Gutter];
|
|
50
|
+
};
|
|
51
|
+
wrap: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
}>> & {
|
|
56
|
+
countPerRow?: number;
|
|
57
|
+
} & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
23
58
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
59
|
export default _default;
|
|
25
|
-
type __VLS_WithDefaults<P, D> = {
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
33
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
61
|
new (): {
|
|
35
62
|
$slots: S;
|
|
36
63
|
};
|
|
37
64
|
};
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToOption<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as
|
|
1
|
+
import { isVNode as y, defineComponent as P, createPropsRestProxy as C, useSlots as h, watch as k, shallowRef as R, computed as S, unref as n, createVNode as b, mergeProps as i, openBlock as a, createBlock as m, withCtx as B, createElementBlock as N, Fragment as j, renderList as x, resolveDynamicComponent as v } from "vue";
|
|
2
|
+
import { Col as F, Row as _ } from "ant-design-vue";
|
|
3
3
|
import { pick as D, isBoolean as I } from "lodash-unified";
|
|
4
4
|
import { apFormItemColPropKeys as O } from "../constant.mjs";
|
|
5
|
-
import { genRealChildren as
|
|
5
|
+
import { genRealChildren as d, buildColSpan as V, getStringName as $ } from "./helper.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import "../style/ap-form-item-group.css";
|
|
8
8
|
import { isDef as A } from "../../utils/index.mjs";
|
|
9
9
|
import { useNamespace as E } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
-
function G(
|
|
11
|
-
return typeof
|
|
10
|
+
function G(o) {
|
|
11
|
+
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !y(o);
|
|
12
12
|
}
|
|
13
|
-
const U = /* @__PURE__ */
|
|
13
|
+
const U = /* @__PURE__ */ P({
|
|
14
14
|
name: "ApFormItemGroup",
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -22,41 +22,43 @@ const U = /* @__PURE__ */ k({
|
|
|
22
22
|
},
|
|
23
23
|
wrap: {
|
|
24
24
|
type: Boolean,
|
|
25
|
-
default:
|
|
25
|
+
default: () => {
|
|
26
|
+
}
|
|
26
27
|
},
|
|
27
28
|
countPerRow: {
|
|
28
29
|
default: 3
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
|
-
setup(
|
|
32
|
+
setup(o) {
|
|
32
33
|
const {
|
|
33
|
-
b:
|
|
34
|
-
} = E("ap-form-item-group"),
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
l.value = u(o);
|
|
34
|
+
b: s
|
|
35
|
+
} = E("ap-form-item-group"), p = C(o, ["countPerRow", "gutter", "wrap"]);
|
|
36
|
+
console.log("restProps", p);
|
|
37
|
+
const l = h();
|
|
38
|
+
k(() => l.default(), (e) => {
|
|
39
|
+
u.value = d(e);
|
|
40
40
|
});
|
|
41
|
-
const
|
|
42
|
-
const
|
|
41
|
+
const u = R(d(l.default())), f = S(() => n(u).map((e, c) => {
|
|
42
|
+
const t = e.props, r = D(t, O), g = r != null && r.span ? {} : V(o.countPerRow), w = I(t.hidden) ? !!t.hidden : A(t.hidden);
|
|
43
43
|
return {
|
|
44
|
-
key: `${
|
|
45
|
-
node: b(
|
|
46
|
-
class:
|
|
47
|
-
}), G(
|
|
48
|
-
default: () => [
|
|
44
|
+
key: `${c}-${$(t.name)}`,
|
|
45
|
+
node: b(F, i(g, r, {
|
|
46
|
+
class: w ? s("col-hidden") : ""
|
|
47
|
+
}), G(e) ? e : {
|
|
48
|
+
default: () => [e]
|
|
49
49
|
})
|
|
50
50
|
};
|
|
51
51
|
}));
|
|
52
|
-
return (
|
|
53
|
-
class: n(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
return (e, c) => (a(), m(n(_), i({
|
|
53
|
+
class: n(s)(),
|
|
54
|
+
gutter: e.gutter,
|
|
55
|
+
wrap: e.wrap
|
|
56
|
+
}, p), {
|
|
57
|
+
default: B(() => [(a(!0), N(j, null, x(f.value, (t) => (a(), m(v(t.node), {
|
|
58
|
+
key: t.key
|
|
57
59
|
}))), 128))]),
|
|
58
60
|
_: 1
|
|
59
|
-
}, 16, ["class"]));
|
|
61
|
+
}, 16, ["class", "gutter", "wrap"]));
|
|
60
62
|
}
|
|
61
63
|
});
|
|
62
64
|
export {
|
|
@@ -1,34 +1,141 @@
|
|
|
1
|
-
import { ApFormItemProps, ApFormItemSlots } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import { ApFormItemProps, ApFormItemSlots, ApFormColProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { VueTypeValidableDef, VueTypeDef } from '../../node_modules/vue-types';
|
|
4
|
+
import { ColSize } from 'ant-design-vue/es/grid';
|
|
5
|
+
import { FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
6
|
+
import { RuleObject } from 'ant-design-vue/es/form';
|
|
3
7
|
declare function onFieldBlur(): void;
|
|
4
8
|
declare function onFieldChange(): void;
|
|
5
9
|
declare function clearValidate(): void;
|
|
6
10
|
declare function resetField(): void;
|
|
7
11
|
declare function getFieldValue(): any;
|
|
8
12
|
declare function __VLS_template(): Readonly<ApFormItemSlots> & ApFormItemSlots;
|
|
9
|
-
declare const __VLS_component: DefineComponent<
|
|
10
|
-
hasFeedback: boolean;
|
|
11
|
-
colon: undefined;
|
|
12
|
-
autoLink: boolean;
|
|
13
|
-
required: undefined;
|
|
14
|
-
validateFirst: undefined;
|
|
15
|
-
bordered: boolean;
|
|
16
|
-
valuePropName: string;
|
|
17
|
-
}>, {
|
|
13
|
+
declare const __VLS_component: DefineComponent<ApFormItemProps, {
|
|
18
14
|
onFieldBlur: typeof onFieldBlur;
|
|
19
15
|
onFieldChange: typeof onFieldChange;
|
|
20
16
|
clearValidate: typeof clearValidate;
|
|
21
17
|
resetField: typeof resetField;
|
|
22
18
|
getFieldValue: typeof getFieldValue;
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< ExtractPropTypes<{
|
|
20
|
+
htmlFor: StringConstructor;
|
|
21
|
+
prefixCls: StringConstructor;
|
|
22
|
+
label: VueTypeValidableDef<any>;
|
|
23
|
+
help: VueTypeValidableDef<any>;
|
|
24
|
+
extra: VueTypeValidableDef<any>;
|
|
25
|
+
labelCol: {
|
|
26
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
27
|
+
span: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
order: (StringConstructor | NumberConstructor)[];
|
|
29
|
+
offset: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
push: (StringConstructor | NumberConstructor)[];
|
|
31
|
+
pull: (StringConstructor | NumberConstructor)[];
|
|
32
|
+
xs: {
|
|
33
|
+
type: PropType<string | number | ColSize>;
|
|
34
|
+
default: string | number | ColSize;
|
|
35
|
+
};
|
|
36
|
+
sm: {
|
|
37
|
+
type: PropType<string | number | ColSize>;
|
|
38
|
+
default: string | number | ColSize;
|
|
39
|
+
};
|
|
40
|
+
md: {
|
|
41
|
+
type: PropType<string | number | ColSize>;
|
|
42
|
+
default: string | number | ColSize;
|
|
43
|
+
};
|
|
44
|
+
lg: {
|
|
45
|
+
type: PropType<string | number | ColSize>;
|
|
46
|
+
default: string | number | ColSize;
|
|
47
|
+
};
|
|
48
|
+
xl: {
|
|
49
|
+
type: PropType<string | number | ColSize>;
|
|
50
|
+
default: string | number | ColSize;
|
|
51
|
+
};
|
|
52
|
+
xxl: {
|
|
53
|
+
type: PropType<string | number | ColSize>;
|
|
54
|
+
default: string | number | ColSize;
|
|
55
|
+
};
|
|
56
|
+
prefixCls: StringConstructor;
|
|
57
|
+
flex: (StringConstructor | NumberConstructor)[];
|
|
58
|
+
}>> & HTMLAttributes>;
|
|
59
|
+
};
|
|
60
|
+
wrapperCol: {
|
|
61
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
62
|
+
span: (StringConstructor | NumberConstructor)[];
|
|
63
|
+
order: (StringConstructor | NumberConstructor)[];
|
|
64
|
+
offset: (StringConstructor | NumberConstructor)[];
|
|
65
|
+
push: (StringConstructor | NumberConstructor)[];
|
|
66
|
+
pull: (StringConstructor | NumberConstructor)[];
|
|
67
|
+
xs: {
|
|
68
|
+
type: PropType<string | number | ColSize>;
|
|
69
|
+
default: string | number | ColSize;
|
|
70
|
+
};
|
|
71
|
+
sm: {
|
|
72
|
+
type: PropType<string | number | ColSize>;
|
|
73
|
+
default: string | number | ColSize;
|
|
74
|
+
};
|
|
75
|
+
md: {
|
|
76
|
+
type: PropType<string | number | ColSize>;
|
|
77
|
+
default: string | number | ColSize;
|
|
78
|
+
};
|
|
79
|
+
lg: {
|
|
80
|
+
type: PropType<string | number | ColSize>;
|
|
81
|
+
default: string | number | ColSize;
|
|
82
|
+
};
|
|
83
|
+
xl: {
|
|
84
|
+
type: PropType<string | number | ColSize>;
|
|
85
|
+
default: string | number | ColSize;
|
|
86
|
+
};
|
|
87
|
+
xxl: {
|
|
88
|
+
type: PropType<string | number | ColSize>;
|
|
89
|
+
default: string | number | ColSize;
|
|
90
|
+
};
|
|
91
|
+
prefixCls: StringConstructor;
|
|
92
|
+
flex: (StringConstructor | NumberConstructor)[];
|
|
93
|
+
}>> & HTMLAttributes>;
|
|
94
|
+
};
|
|
95
|
+
hasFeedback: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
colon: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: any;
|
|
102
|
+
};
|
|
103
|
+
labelAlign: PropType<FormLabelAlign>;
|
|
104
|
+
prop: {
|
|
105
|
+
type: PropType<string | number | (string | number)[]>;
|
|
106
|
+
};
|
|
107
|
+
name: {
|
|
108
|
+
type: PropType<string | number | (string | number)[]>;
|
|
109
|
+
};
|
|
110
|
+
rules: PropType< RuleObject | RuleObject[]>;
|
|
111
|
+
autoLink: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
required: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: any;
|
|
118
|
+
};
|
|
119
|
+
validateFirst: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: any;
|
|
122
|
+
};
|
|
123
|
+
validateStatus: VueTypeDef<string>;
|
|
124
|
+
validateTrigger: {
|
|
125
|
+
type: PropType<string | string[]>;
|
|
126
|
+
};
|
|
127
|
+
messageVariables: {
|
|
128
|
+
type: PropType<Record<string, string>>;
|
|
129
|
+
};
|
|
130
|
+
hidden: BooleanConstructor;
|
|
131
|
+
noStyle: BooleanConstructor;
|
|
132
|
+
tooltip: StringConstructor;
|
|
133
|
+
}>> & Partial< ApFormColProps> & {
|
|
134
|
+
bordered?: boolean;
|
|
135
|
+
valuePropName?: string;
|
|
136
|
+
initialValue?: any;
|
|
137
|
+
_signal?: number;
|
|
138
|
+
} & {}>, {
|
|
32
139
|
required: boolean;
|
|
33
140
|
bordered: boolean;
|
|
34
141
|
colon: boolean;
|
|
@@ -36,28 +143,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
36
143
|
autoLink: boolean;
|
|
37
144
|
validateFirst: boolean;
|
|
38
145
|
valuePropName: string;
|
|
39
|
-
}, {}>;
|
|
146
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
40
147
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
41
148
|
export default _default;
|
|
42
|
-
type __VLS_WithDefaults<P, D> = {
|
|
43
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
-
default: D[K];
|
|
45
|
-
}> : P[K];
|
|
46
|
-
};
|
|
47
|
-
type __VLS_Prettify<T> = {
|
|
48
|
-
[K in keyof T]: T[K];
|
|
49
|
-
} & {};
|
|
50
149
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
150
|
new (): {
|
|
52
151
|
$slots: S;
|
|
53
152
|
};
|
|
54
153
|
};
|
|
55
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
type __VLS_TypePropsToOption<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFormListProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type FormListField = {
|
|
4
4
|
key: number;
|
|
5
5
|
name: (string | number)[];
|
|
@@ -17,7 +17,7 @@ type ApFormListSlots = {
|
|
|
17
17
|
}): any;
|
|
18
18
|
};
|
|
19
19
|
declare function __VLS_template(): Readonly<ApFormListSlots> & ApFormListSlots;
|
|
20
|
-
declare const __VLS_component: DefineComponent<
|
|
20
|
+
declare const __VLS_component: DefineComponent<ApFormListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormListProps & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
22
22
|
export default _default;
|
|
23
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -25,12 +25,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
25
25
|
$slots: S;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToOption<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|