@aplus-frontend/ui 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +60 -59
- 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/interface.d.ts +4 -0
- 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 +60 -53
- 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 +4014 -11845
- 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 +78 -78
- 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 +14 -0
- package/es/src/business/ap-batch-action/ApBatchAction.vue.mjs +4 -0
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +46 -0
- package/es/src/business/ap-batch-action/index.css +24 -0
- 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 +211 -896
- package/es/src/business/index.mjs +14 -11
- 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/index.vue.d.ts +20 -35
- 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/editable-table/utils.mjs +1 -1
- 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/index.mjs +176 -175
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- 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/theme/ap-batch-action/ap-batch-action.css +24 -0
- package/es/src/theme/css-var/index.mjs +17 -5
- 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/index.js +1 -1
- 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/interface.d.ts +4 -0
- 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 +4014 -11845
- 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 +14 -0
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.js +1 -0
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -0
- package/lib/src/business/ap-batch-action/index.css +24 -0
- 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 +211 -896
- package/lib/src/business/index.js +1 -1
- 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/index.vue.d.ts +20 -35
- 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/editable-table/utils.js +1 -1
- 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/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- 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/theme/ap-batch-action/ap-batch-action.css +24 -0
- package/lib/src/theme/css-var/index.js +1 -1
- 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 +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFormItemSwitchProps } from '../interface';
|
|
2
|
-
import { ApFormItemSlots } from '../../interface';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { ApFormItemSlots, ApFormItemProps } from '../../interface';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ApFieldSwitchProps } from '../../..';
|
|
5
5
|
declare function __VLS_template(): Readonly<{
|
|
6
6
|
checkedChildren: any;
|
|
@@ -11,25 +11,10 @@ declare function __VLS_template(): Readonly<{
|
|
|
11
11
|
unCheckedChildren: any;
|
|
12
12
|
default: any;
|
|
13
13
|
} & Omit<ApFormItemSlots, "default">;
|
|
14
|
-
declare const __VLS_component: DefineComponent<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
required: undefined;
|
|
19
|
-
validateFirst: undefined;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
valuePropName: string;
|
|
22
|
-
field: () => {};
|
|
23
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemSwitchProps>, {
|
|
24
|
-
hasFeedback: boolean;
|
|
25
|
-
colon: undefined;
|
|
26
|
-
autoLink: boolean;
|
|
27
|
-
required: undefined;
|
|
28
|
-
validateFirst: undefined;
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
valuePropName: string;
|
|
31
|
-
field: () => {};
|
|
32
|
-
}>>>, {
|
|
14
|
+
declare const __VLS_component: DefineComponent<ApFormItemSwitchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Omit< ApFormItemProps, "bordered"> & {
|
|
15
|
+
field?: Omit< ApFieldSwitchProps, "checked" | "onUpdate:checked">;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
} & {}>, {
|
|
33
18
|
disabled: boolean;
|
|
34
19
|
required: boolean;
|
|
35
20
|
field: Omit< ApFieldSwitchProps, "checked" | "onUpdate:checked">;
|
|
@@ -38,28 +23,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
38
23
|
autoLink: boolean;
|
|
39
24
|
validateFirst: boolean;
|
|
40
25
|
valuePropName: string;
|
|
41
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
42
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
28
|
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
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
30
|
new (): {
|
|
54
31
|
$slots: S;
|
|
55
32
|
};
|
|
56
33
|
};
|
|
57
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
-
type __VLS_TypePropsToOption<T> = {
|
|
59
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
-
} : {
|
|
62
|
-
type: PropType<T[K]>;
|
|
63
|
-
required: true;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ApFormItemTextProps } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
|
-
import { ApFormItemSlots } from '../../interface';
|
|
4
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { ApFormItemSlots, ApFormColProps } from '../../interface';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, ComponentProvideOptions } from 'vue';
|
|
5
|
+
import { VueTypeValidableDef, VueTypeDef } from '../../../../node_modules/vue-types';
|
|
6
|
+
import { ColSize } from 'ant-design-vue/es/grid';
|
|
7
|
+
import { FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
8
|
+
import { RuleObject } from 'ant-design-vue/es/form';
|
|
5
9
|
import { ApFieldTextProps } from '../../../ap-field';
|
|
6
10
|
declare function __VLS_template(): Readonly<{
|
|
7
11
|
addonAfter: any;
|
|
@@ -16,29 +20,136 @@ declare function __VLS_template(): Readonly<{
|
|
|
16
20
|
suffix: any;
|
|
17
21
|
clearIcon: any;
|
|
18
22
|
} & Omit<ApFormItemSlots, "default">;
|
|
19
|
-
declare const __VLS_component: DefineComponent<
|
|
20
|
-
hasFeedback: boolean;
|
|
21
|
-
colon: undefined;
|
|
22
|
-
autoLink: boolean;
|
|
23
|
-
required: undefined;
|
|
24
|
-
validateFirst: undefined;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
field: () => {};
|
|
27
|
-
}>, {
|
|
23
|
+
declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
28
24
|
focus: (options?: InputFocusOptions) => void;
|
|
29
25
|
blur: () => void;
|
|
30
26
|
input: any;
|
|
31
27
|
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
32
28
|
select: () => void;
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
29
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< ExtractPropTypes<{
|
|
30
|
+
htmlFor: StringConstructor;
|
|
31
|
+
prefixCls: StringConstructor;
|
|
32
|
+
label: VueTypeValidableDef<any>;
|
|
33
|
+
help: VueTypeValidableDef<any>;
|
|
34
|
+
extra: VueTypeValidableDef<any>;
|
|
35
|
+
labelCol: {
|
|
36
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
37
|
+
span: (StringConstructor | NumberConstructor)[];
|
|
38
|
+
order: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
offset: (StringConstructor | NumberConstructor)[];
|
|
40
|
+
push: (StringConstructor | NumberConstructor)[];
|
|
41
|
+
pull: (StringConstructor | NumberConstructor)[];
|
|
42
|
+
xs: {
|
|
43
|
+
type: PropType<string | number | ColSize>;
|
|
44
|
+
default: string | number | ColSize;
|
|
45
|
+
};
|
|
46
|
+
sm: {
|
|
47
|
+
type: PropType<string | number | ColSize>;
|
|
48
|
+
default: string | number | ColSize;
|
|
49
|
+
};
|
|
50
|
+
md: {
|
|
51
|
+
type: PropType<string | number | ColSize>;
|
|
52
|
+
default: string | number | ColSize;
|
|
53
|
+
};
|
|
54
|
+
lg: {
|
|
55
|
+
type: PropType<string | number | ColSize>;
|
|
56
|
+
default: string | number | ColSize;
|
|
57
|
+
};
|
|
58
|
+
xl: {
|
|
59
|
+
type: PropType<string | number | ColSize>;
|
|
60
|
+
default: string | number | ColSize;
|
|
61
|
+
};
|
|
62
|
+
xxl: {
|
|
63
|
+
type: PropType<string | number | ColSize>;
|
|
64
|
+
default: string | number | ColSize;
|
|
65
|
+
};
|
|
66
|
+
prefixCls: StringConstructor;
|
|
67
|
+
flex: (StringConstructor | NumberConstructor)[];
|
|
68
|
+
}>> & HTMLAttributes>;
|
|
69
|
+
};
|
|
70
|
+
wrapperCol: {
|
|
71
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
72
|
+
span: (StringConstructor | NumberConstructor)[];
|
|
73
|
+
order: (StringConstructor | NumberConstructor)[];
|
|
74
|
+
offset: (StringConstructor | NumberConstructor)[];
|
|
75
|
+
push: (StringConstructor | NumberConstructor)[];
|
|
76
|
+
pull: (StringConstructor | NumberConstructor)[];
|
|
77
|
+
xs: {
|
|
78
|
+
type: PropType<string | number | ColSize>;
|
|
79
|
+
default: string | number | ColSize;
|
|
80
|
+
};
|
|
81
|
+
sm: {
|
|
82
|
+
type: PropType<string | number | ColSize>;
|
|
83
|
+
default: string | number | ColSize;
|
|
84
|
+
};
|
|
85
|
+
md: {
|
|
86
|
+
type: PropType<string | number | ColSize>;
|
|
87
|
+
default: string | number | ColSize;
|
|
88
|
+
};
|
|
89
|
+
lg: {
|
|
90
|
+
type: PropType<string | number | ColSize>;
|
|
91
|
+
default: string | number | ColSize;
|
|
92
|
+
};
|
|
93
|
+
xl: {
|
|
94
|
+
type: PropType<string | number | ColSize>;
|
|
95
|
+
default: string | number | ColSize;
|
|
96
|
+
};
|
|
97
|
+
xxl: {
|
|
98
|
+
type: PropType<string | number | ColSize>;
|
|
99
|
+
default: string | number | ColSize;
|
|
100
|
+
};
|
|
101
|
+
prefixCls: StringConstructor;
|
|
102
|
+
flex: (StringConstructor | NumberConstructor)[];
|
|
103
|
+
}>> & HTMLAttributes>;
|
|
104
|
+
};
|
|
105
|
+
hasFeedback: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
colon: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: any;
|
|
112
|
+
};
|
|
113
|
+
labelAlign: PropType<FormLabelAlign>;
|
|
114
|
+
prop: {
|
|
115
|
+
type: PropType<string | number | (string | number)[]>;
|
|
116
|
+
};
|
|
117
|
+
name: {
|
|
118
|
+
type: PropType<string | number | (string | number)[]>;
|
|
119
|
+
};
|
|
120
|
+
rules: PropType< RuleObject | RuleObject[]>;
|
|
121
|
+
autoLink: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
required: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: any;
|
|
128
|
+
};
|
|
129
|
+
validateFirst: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: any;
|
|
132
|
+
};
|
|
133
|
+
validateStatus: VueTypeDef<string>;
|
|
134
|
+
validateTrigger: {
|
|
135
|
+
type: PropType<string | string[]>;
|
|
136
|
+
};
|
|
137
|
+
messageVariables: {
|
|
138
|
+
type: PropType<Record<string, string>>;
|
|
139
|
+
};
|
|
140
|
+
hidden: BooleanConstructor;
|
|
141
|
+
noStyle: BooleanConstructor;
|
|
142
|
+
tooltip: StringConstructor;
|
|
143
|
+
}>> & Partial< ApFormColProps> & {
|
|
144
|
+
bordered?: boolean;
|
|
145
|
+
valuePropName?: string;
|
|
146
|
+
initialValue?: any;
|
|
147
|
+
_signal?: number;
|
|
148
|
+
} & {
|
|
149
|
+
field?: Omit< ApFieldTextProps, "value" | "onUpdate:value">;
|
|
150
|
+
placeholder?: string;
|
|
151
|
+
disabled?: boolean;
|
|
152
|
+
} & {}>, {
|
|
42
153
|
disabled: boolean;
|
|
43
154
|
required: boolean;
|
|
44
155
|
field: Omit< ApFieldTextProps, "value" | "onUpdate:value">;
|
|
@@ -46,28 +157,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
46
157
|
hasFeedback: boolean;
|
|
47
158
|
autoLink: boolean;
|
|
48
159
|
validateFirst: boolean;
|
|
49
|
-
}, {}>;
|
|
160
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
50
161
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
51
162
|
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
163
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
164
|
new (): {
|
|
62
165
|
$slots: S;
|
|
63
166
|
};
|
|
64
167
|
};
|
|
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,6 +1,10 @@
|
|
|
1
1
|
import { ApFormItemTextPasswordProps } from '../interface';
|
|
2
|
-
import { ApFormItemSlots } from '../../interface';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ApFormItemSlots, ApFormColProps } from '../../interface';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { VueTypeValidableDef, VueTypeDef } from '../../../../node_modules/vue-types';
|
|
5
|
+
import { ColSize } from 'ant-design-vue/es/grid';
|
|
6
|
+
import { FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
7
|
+
import { RuleObject } from 'ant-design-vue/es/form';
|
|
4
8
|
import { ApFieldTextPasswordProps } from '../../../ap-field';
|
|
5
9
|
declare function __VLS_template(): Readonly<{
|
|
6
10
|
addonAfter: any;
|
|
@@ -17,26 +21,133 @@ declare function __VLS_template(): Readonly<{
|
|
|
17
21
|
clearIcon: any;
|
|
18
22
|
iconRender: any;
|
|
19
23
|
} & Omit<ApFormItemSlots, "default">;
|
|
20
|
-
declare const __VLS_component: DefineComponent<
|
|
21
|
-
hasFeedback: boolean;
|
|
22
|
-
colon: undefined;
|
|
23
|
-
autoLink: boolean;
|
|
24
|
-
required: undefined;
|
|
25
|
-
validateFirst: undefined;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
field: () => {};
|
|
28
|
-
}>, {
|
|
24
|
+
declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
29
25
|
focus: () => void;
|
|
30
26
|
blur: () => void;
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< ExtractPropTypes<{
|
|
28
|
+
htmlFor: StringConstructor;
|
|
29
|
+
prefixCls: StringConstructor;
|
|
30
|
+
label: VueTypeValidableDef<any>;
|
|
31
|
+
help: VueTypeValidableDef<any>;
|
|
32
|
+
extra: VueTypeValidableDef<any>;
|
|
33
|
+
labelCol: {
|
|
34
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
35
|
+
span: (StringConstructor | NumberConstructor)[];
|
|
36
|
+
order: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
offset: (StringConstructor | NumberConstructor)[];
|
|
38
|
+
push: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
pull: (StringConstructor | NumberConstructor)[];
|
|
40
|
+
xs: {
|
|
41
|
+
type: PropType<string | number | ColSize>;
|
|
42
|
+
default: string | number | ColSize;
|
|
43
|
+
};
|
|
44
|
+
sm: {
|
|
45
|
+
type: PropType<string | number | ColSize>;
|
|
46
|
+
default: string | number | ColSize;
|
|
47
|
+
};
|
|
48
|
+
md: {
|
|
49
|
+
type: PropType<string | number | ColSize>;
|
|
50
|
+
default: string | number | ColSize;
|
|
51
|
+
};
|
|
52
|
+
lg: {
|
|
53
|
+
type: PropType<string | number | ColSize>;
|
|
54
|
+
default: string | number | ColSize;
|
|
55
|
+
};
|
|
56
|
+
xl: {
|
|
57
|
+
type: PropType<string | number | ColSize>;
|
|
58
|
+
default: string | number | ColSize;
|
|
59
|
+
};
|
|
60
|
+
xxl: {
|
|
61
|
+
type: PropType<string | number | ColSize>;
|
|
62
|
+
default: string | number | ColSize;
|
|
63
|
+
};
|
|
64
|
+
prefixCls: StringConstructor;
|
|
65
|
+
flex: (StringConstructor | NumberConstructor)[];
|
|
66
|
+
}>> & HTMLAttributes>;
|
|
67
|
+
};
|
|
68
|
+
wrapperCol: {
|
|
69
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
70
|
+
span: (StringConstructor | NumberConstructor)[];
|
|
71
|
+
order: (StringConstructor | NumberConstructor)[];
|
|
72
|
+
offset: (StringConstructor | NumberConstructor)[];
|
|
73
|
+
push: (StringConstructor | NumberConstructor)[];
|
|
74
|
+
pull: (StringConstructor | NumberConstructor)[];
|
|
75
|
+
xs: {
|
|
76
|
+
type: PropType<string | number | ColSize>;
|
|
77
|
+
default: string | number | ColSize;
|
|
78
|
+
};
|
|
79
|
+
sm: {
|
|
80
|
+
type: PropType<string | number | ColSize>;
|
|
81
|
+
default: string | number | ColSize;
|
|
82
|
+
};
|
|
83
|
+
md: {
|
|
84
|
+
type: PropType<string | number | ColSize>;
|
|
85
|
+
default: string | number | ColSize;
|
|
86
|
+
};
|
|
87
|
+
lg: {
|
|
88
|
+
type: PropType<string | number | ColSize>;
|
|
89
|
+
default: string | number | ColSize;
|
|
90
|
+
};
|
|
91
|
+
xl: {
|
|
92
|
+
type: PropType<string | number | ColSize>;
|
|
93
|
+
default: string | number | ColSize;
|
|
94
|
+
};
|
|
95
|
+
xxl: {
|
|
96
|
+
type: PropType<string | number | ColSize>;
|
|
97
|
+
default: string | number | ColSize;
|
|
98
|
+
};
|
|
99
|
+
prefixCls: StringConstructor;
|
|
100
|
+
flex: (StringConstructor | NumberConstructor)[];
|
|
101
|
+
}>> & HTMLAttributes>;
|
|
102
|
+
};
|
|
103
|
+
hasFeedback: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
colon: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: any;
|
|
110
|
+
};
|
|
111
|
+
labelAlign: PropType<FormLabelAlign>;
|
|
112
|
+
prop: {
|
|
113
|
+
type: PropType<string | number | (string | number)[]>;
|
|
114
|
+
};
|
|
115
|
+
name: {
|
|
116
|
+
type: PropType<string | number | (string | number)[]>;
|
|
117
|
+
};
|
|
118
|
+
rules: PropType< RuleObject | RuleObject[]>;
|
|
119
|
+
autoLink: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
required: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: any;
|
|
126
|
+
};
|
|
127
|
+
validateFirst: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: any;
|
|
130
|
+
};
|
|
131
|
+
validateStatus: VueTypeDef<string>;
|
|
132
|
+
validateTrigger: {
|
|
133
|
+
type: PropType<string | string[]>;
|
|
134
|
+
};
|
|
135
|
+
messageVariables: {
|
|
136
|
+
type: PropType<Record<string, string>>;
|
|
137
|
+
};
|
|
138
|
+
hidden: BooleanConstructor;
|
|
139
|
+
noStyle: BooleanConstructor;
|
|
140
|
+
tooltip: StringConstructor;
|
|
141
|
+
}>> & Partial< ApFormColProps> & {
|
|
142
|
+
bordered?: boolean;
|
|
143
|
+
valuePropName?: string;
|
|
144
|
+
initialValue?: any;
|
|
145
|
+
_signal?: number;
|
|
146
|
+
} & {
|
|
147
|
+
field?: Omit< ApFieldTextPasswordProps, "value" | "onUpdate:value">;
|
|
148
|
+
placeholder?: string;
|
|
149
|
+
disabled?: boolean;
|
|
150
|
+
} & {}>, {
|
|
40
151
|
disabled: boolean;
|
|
41
152
|
required: boolean;
|
|
42
153
|
field: Omit< ApFieldTextPasswordProps, "value" | "onUpdate:value">;
|
|
@@ -44,28 +155,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
44
155
|
hasFeedback: boolean;
|
|
45
156
|
autoLink: boolean;
|
|
46
157
|
validateFirst: boolean;
|
|
47
|
-
}, {}>;
|
|
158
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
48
159
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
49
160
|
export default _default;
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
58
161
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
162
|
new (): {
|
|
60
163
|
$slots: S;
|
|
61
164
|
};
|
|
62
165
|
};
|
|
63
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
-
type __VLS_TypePropsToOption<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
@@ -1,31 +1,19 @@
|
|
|
1
1
|
import { ApFormItemTextAreaProps } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
|
-
import { ApFormItemSlots } from '../../interface';
|
|
4
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { ApFormItemSlots, ApFormItemProps } from '../../interface';
|
|
4
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
5
|
import { ApFieldTextAreaProps } from '../../../ap-field';
|
|
6
6
|
type ApFormItemTextAreaSlots = Omit<ApFormItemSlots, 'default'>;
|
|
7
7
|
declare function __VLS_template(): Readonly<ApFormItemTextAreaSlots> & ApFormItemTextAreaSlots;
|
|
8
|
-
declare const __VLS_component: DefineComponent<
|
|
9
|
-
hasFeedback: boolean;
|
|
10
|
-
colon: undefined;
|
|
11
|
-
autoLink: boolean;
|
|
12
|
-
required: undefined;
|
|
13
|
-
validateFirst: undefined;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
field: () => {};
|
|
16
|
-
}>, {
|
|
8
|
+
declare const __VLS_component: DefineComponent<ApFormItemTextAreaProps, {
|
|
17
9
|
focus: (options?: InputFocusOptions) => void;
|
|
18
10
|
blur: () => void;
|
|
19
11
|
resizableTextArea: any;
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
validateFirst: undefined;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
field: () => {};
|
|
28
|
-
}>>>, {
|
|
12
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Omit< ApFormItemProps, "bordered"> & {
|
|
13
|
+
field?: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
} & {}>, {
|
|
29
17
|
disabled: boolean;
|
|
30
18
|
required: boolean;
|
|
31
19
|
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
@@ -33,28 +21,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
33
21
|
hasFeedback: boolean;
|
|
34
22
|
autoLink: boolean;
|
|
35
23
|
validateFirst: boolean;
|
|
36
|
-
}, {}>;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
37
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
38
26
|
export default _default;
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
47
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
28
|
new (): {
|
|
49
29
|
$slots: S;
|
|
50
30
|
};
|
|
51
31
|
};
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToOption<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApFormModalFormProps, ApFormInternalInstance, ApFormSubmitterConfig } from '../interface';
|
|
2
|
-
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties } from 'vue';
|
|
1
|
+
import { ApFormModalFormProps, ApFormInternalInstance, ApFormProps, ApFormSubmitterConfig } from '../interface';
|
|
2
|
+
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
4
|
+
import { ModalProps } from 'ant-design-vue';
|
|
4
5
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
6
|
import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
6
7
|
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
@@ -13,21 +14,7 @@ type ApModalFormSlots = {
|
|
|
13
14
|
submitter(defaultDoms: VNode[]): any;
|
|
14
15
|
};
|
|
15
16
|
declare function __VLS_template(): Readonly<ApModalFormSlots> & ApModalFormSlots;
|
|
16
|
-
declare const __VLS_component: DefineComponent<
|
|
17
|
-
layout: string;
|
|
18
|
-
hideRequiredMark: boolean;
|
|
19
|
-
colon: boolean;
|
|
20
|
-
labelAlign: string;
|
|
21
|
-
validateOnRuleChange: boolean;
|
|
22
|
-
validateTrigger: string;
|
|
23
|
-
modalProps: () => {};
|
|
24
|
-
width: number;
|
|
25
|
-
submitter: () => {
|
|
26
|
-
resetButtonProps: boolean;
|
|
27
|
-
};
|
|
28
|
-
open: undefined;
|
|
29
|
-
showCancel: boolean;
|
|
30
|
-
}>, {
|
|
17
|
+
declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
31
18
|
resetFields: () => void;
|
|
32
19
|
clearValidate: (name?: NamePath) => void;
|
|
33
20
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
@@ -37,25 +24,20 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
37
24
|
setFieldValue: (key: string, newValue: any) => void;
|
|
38
25
|
setFieldsValue: (values: Record<string, any>) => void;
|
|
39
26
|
getInternalInstance: (mark: string) => ApFormInternalInstance | undefined;
|
|
40
|
-
},
|
|
27
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
41
28
|
"update:open": (...args: any[]) => void;
|
|
42
|
-
}, string, PublicProps, Readonly<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
resetButtonProps: boolean;
|
|
53
|
-
};
|
|
54
|
-
open: undefined;
|
|
55
|
-
showCancel: boolean;
|
|
56
|
-
}>>> & {
|
|
29
|
+
}, string, PublicProps, Readonly<Omit< ApFormProps, "onFinish"> & {
|
|
30
|
+
open?: boolean;
|
|
31
|
+
'onUpdate:open'?: (open: boolean) => void;
|
|
32
|
+
modalProps?: Omit< ModalProps, "open" | "onUpdate:open" | "visible">;
|
|
33
|
+
title?: string;
|
|
34
|
+
width?: number;
|
|
35
|
+
onFinish?: (values: any) => Promise<boolean>;
|
|
36
|
+
submitter?: false | ApFormSubmitterConfig;
|
|
37
|
+
showCancel?: boolean;
|
|
38
|
+
} & {
|
|
57
39
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}
|
|
40
|
+
}>, {
|
|
59
41
|
width: number;
|
|
60
42
|
open: boolean;
|
|
61
43
|
showCancel: boolean;
|
|
@@ -353,28 +335,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
353
335
|
};
|
|
354
336
|
}>>, "open" | "visible" | "onUpdate:open">;
|
|
355
337
|
submitter: false | ApFormSubmitterConfig;
|
|
356
|
-
}, {}>;
|
|
338
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
357
339
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
358
340
|
export default _default;
|
|
359
|
-
type __VLS_WithDefaults<P, D> = {
|
|
360
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
361
|
-
default: D[K];
|
|
362
|
-
}> : P[K];
|
|
363
|
-
};
|
|
364
|
-
type __VLS_Prettify<T> = {
|
|
365
|
-
[K in keyof T]: T[K];
|
|
366
|
-
} & {};
|
|
367
341
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
368
342
|
new (): {
|
|
369
343
|
$slots: S;
|
|
370
344
|
};
|
|
371
345
|
};
|
|
372
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
373
|
-
type __VLS_TypePropsToOption<T> = {
|
|
374
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
375
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
376
|
-
} : {
|
|
377
|
-
type: PropType<T[K]>;
|
|
378
|
-
required: true;
|
|
379
|
-
};
|
|
380
|
-
};
|