@aplus-frontend/ui 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +57 -56
- package/es/src/ap-action/group/index.vue.d.ts +30 -3
- package/es/src/ap-action/item/index.vue.d.ts +30 -3
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
- package/es/src/ap-action/item-modal/index.vue.d.ts +33 -6
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
- package/es/src/ap-custom-column/column-select.vue.d.ts +14 -5
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +14 -5
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
- package/es/src/ap-download/ap-download.vue.d.ts +28 -3
- package/es/src/ap-field/checkbox/index.vue.d.ts +31 -40
- package/es/src/ap-field/date/index.vue.d.ts +64 -19
- package/es/src/ap-field/date-range/index.vue.d.ts +66 -20
- package/es/src/ap-field/number/index.vue.d.ts +42 -138
- package/es/src/ap-field/radio/index.vue.d.ts +31 -51
- package/es/src/ap-field/rate/index.vue.d.ts +39 -46
- package/es/src/ap-field/segmented/index.vue.d.ts +32 -47
- package/es/src/ap-field/select/index.vue.d.ts +59 -192
- package/es/src/ap-field/slider/index.vue.d.ts +40 -115
- package/es/src/ap-field/switch/index.vue.d.ts +35 -60
- package/es/src/ap-field/text/index.vue.d.ts +38 -105
- package/es/src/ap-field/text/password.vue.d.ts +45 -113
- package/es/src/ap-field/text-area/index.vue.d.ts +38 -117
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +25 -30
- package/es/src/ap-form/ap-form-item.vue.d.ts +38 -128
- package/es/src/ap-form/ap-form-item.vue.mjs +52 -42
- package/es/src/ap-form/ap-form-list.vue.d.ts +11 -2
- package/es/src/ap-form/ap-form.vue.d.ts +36 -238
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
- package/es/src/ap-form/items/date/index.vue.d.ts +37 -131
- package/es/src/ap-form/items/date-range/index.vue.d.ts +37 -131
- package/es/src/ap-form/items/number/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/radio/index.vue.d.ts +38 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/switch/index.vue.d.ts +39 -7
- package/es/src/ap-form/items/text/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/text/password.vue.d.ts +38 -132
- package/es/src/ap-form/items/text-area/index.vue.d.ts +38 -9
- package/es/src/ap-form/modal-form/index.vue.d.ts +52 -17
- package/es/src/ap-form/search-form/index.vue.d.ts +50 -254
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +26 -3
- package/es/src/ap-list/index.vue.d.ts +3 -3
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/components/index/index.vue.d.ts +24 -3
- package/es/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/es/src/ap-table/constants.d.ts +12370 -4527
- package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-paging.d.ts +3 -7
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +93 -91
- package/es/src/ap-tag/ap-tag.vue.d.ts +28 -3
- package/es/src/ap-upload/apUpload.vue.d.ts +48 -23
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/base-button/button.vue.d.ts +24 -3
- package/es/src/base-button/index.d.ts +110 -7
- package/es/src/base-button/modal-button.vue.d.ts +14 -8
- package/es/src/base-button/pop-confirm-button.vue.d.ts +10 -7
- package/es/src/basic/arrow.vue.d.ts +11 -2
- package/es/src/basic/help.vue.d.ts +50 -324
- package/es/src/basic/index.d.ts +202 -667
- package/es/src/basic/title.vue.d.ts +24 -3
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
- package/es/src/business/ap-label/ApLabel.vue.d.ts +40 -45
- package/es/src/business/ap-label/ApLabel.vue2.mjs +53 -39
- package/es/src/business/ap-label/ApLabelGroup.d.ts +25 -0
- package/es/src/business/ap-label/ApLabelGroup.mjs +36 -0
- package/es/src/business/ap-label/constans.d.ts +12 -0
- package/es/src/business/ap-label/constans.mjs +13 -0
- package/es/src/business/ap-label/interface.d.ts +16 -2
- package/es/src/business/ap-label/style.css +26 -1
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
- package/es/src/business/ap-status/ApStatus.vue.d.ts +28 -3
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
- package/es/src/business/index.d.ts +965 -201
- package/es/src/business/index.mjs +21 -19
- package/es/src/business/title/ApTitle.vue.d.ts +32 -3
- package/es/src/button/button.vue.d.ts +11 -2
- package/es/src/button/index.d.ts +32 -16
- package/es/src/check-card/group.vue.d.ts +41 -17
- package/es/src/check-card/index.vue.d.ts +35 -20
- package/es/src/config-provider/config-provider.d.ts +137 -41
- package/es/src/config-provider/index.d.ts +545 -161
- package/es/src/container/collapse/header.vue.d.ts +13 -11
- package/es/src/container/collapse/index.vue.d.ts +40 -11
- package/es/src/container/index.d.ts +119 -40
- package/es/src/container/scroll-container.vue.d.ts +12 -3
- package/es/src/count-down/button.vue.d.ts +24 -3
- package/es/src/count-down/index.d.ts +111 -12
- package/es/src/count-down/input.vue.d.ts +24 -3
- package/es/src/cropper/cropper-avatar.vue.d.ts +33 -6
- package/es/src/cropper/cropper-image.vue.d.ts +36 -5
- package/es/src/cropper/cropper-modal.vue.d.ts +21 -13
- package/es/src/cropper/index.d.ts +269 -24
- package/es/src/description/description.vue.d.ts +45 -15
- package/es/src/description/index.d.ts +171 -51
- package/es/src/dropdown/dropdown.vue.d.ts +30 -5
- package/es/src/dropdown/index.d.ts +76 -12
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +4 -4
- package/es/src/hooks/useControllableValue.d.ts +1 -1
- package/es/src/icon/icon.vue.d.ts +29 -3
- package/es/src/icon/index.d.ts +159 -12
- package/es/src/icon/svg-icon.vue.d.ts +28 -3
- package/es/src/icon-picker/icon-picker.vue.d.ts +38 -5
- package/es/src/icon-picker/index.d.ts +139 -12
- package/es/src/index.mjs +184 -183
- package/es/src/modal/basic.vue.d.ts +117 -147
- package/es/src/modal/components/modal-close.vue.d.ts +26 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +116 -146
- package/es/src/modal/components/modal-header.vue.d.ts +11 -2
- package/es/src/modal/components/modal-wrapper.vue.d.ts +43 -19
- package/es/src/modal/components/modal.d.ts +115 -145
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +462 -287
- package/es/src/pro-form/components/api-cascader.vue.d.ts +38 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
- package/es/src/pro-form/components/api-select.vue.d.ts +38 -5
- package/es/src/pro-form/components/api-transfer.vue.d.ts +40 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +28 -5
- package/es/src/pro-form/components/form-action.vue.d.ts +38 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +34 -14
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +57 -6
- package/es/src/pro-form/table-form-inner.vue.d.ts +34 -5
- package/es/src/pro-form/table-form.vue.d.ts +29 -4
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
- package/es/src/pro-table/components/header-cell.vue.d.ts +9 -726
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/index.vue.d.ts +11 -8
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +24 -10
- package/es/src/pro-table/components/table-footer.vue.d.ts +30 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +31 -15
- package/es/src/pro-table/components/table-image.vue.d.ts +32 -3
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
- package/es/src/pro-table/components/table-title.vue.d.ts +13 -7
- package/es/src/pro-table/pro-table.vue.d.ts +61 -8
- package/es/src/prompt/dialog.vue.d.ts +11 -2
- package/es/src/scroll-bar/bar-item.d.ts +9 -10
- package/es/src/scroll-bar/index.d.ts +135 -12
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
- package/es/src/strength-meter/index.d.ts +55 -12
- package/es/src/strength-meter/strength-meter.vue.d.ts +26 -5
- package/es/src/tests/wrapper.d.ts +6 -3
- package/es/src/theme/ap-label/ap-label.css +26 -1
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +25 -13
- package/es/src/transition/index.d.ts +193 -88
- package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +15 -6
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +30 -3
- package/lib/src/ap-action/item/index.vue.d.ts +30 -3
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
- package/lib/src/ap-action/item-modal/index.vue.d.ts +33 -6
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
- package/lib/src/ap-custom-column/column-select.vue.d.ts +14 -5
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +14 -5
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
- package/lib/src/ap-download/ap-download.vue.d.ts +28 -3
- package/lib/src/ap-field/checkbox/index.vue.d.ts +31 -40
- package/lib/src/ap-field/date/index.vue.d.ts +64 -19
- package/lib/src/ap-field/date-range/index.vue.d.ts +66 -20
- package/lib/src/ap-field/number/index.vue.d.ts +42 -138
- package/lib/src/ap-field/radio/index.vue.d.ts +31 -51
- package/lib/src/ap-field/rate/index.vue.d.ts +39 -46
- package/lib/src/ap-field/segmented/index.vue.d.ts +32 -47
- package/lib/src/ap-field/select/index.vue.d.ts +59 -192
- package/lib/src/ap-field/slider/index.vue.d.ts +40 -115
- package/lib/src/ap-field/switch/index.vue.d.ts +35 -60
- package/lib/src/ap-field/text/index.vue.d.ts +38 -105
- package/lib/src/ap-field/text/password.vue.d.ts +45 -113
- package/lib/src/ap-field/text-area/index.vue.d.ts +38 -117
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +38 -128
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +11 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +36 -238
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
- package/lib/src/ap-form/items/date/index.vue.d.ts +37 -131
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +37 -131
- package/lib/src/ap-form/items/number/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/radio/index.vue.d.ts +38 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/switch/index.vue.d.ts +39 -7
- package/lib/src/ap-form/items/text/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/text/password.vue.d.ts +38 -132
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +38 -9
- package/lib/src/ap-form/modal-form/index.vue.d.ts +52 -17
- package/lib/src/ap-form/search-form/index.vue.d.ts +50 -254
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +26 -3
- package/lib/src/ap-list/index.vue.d.ts +3 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/components/index/index.vue.d.ts +24 -3
- package/lib/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/lib/src/ap-table/constants.d.ts +12370 -4527
- package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +3 -7
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +28 -3
- package/lib/src/ap-upload/apUpload.vue.d.ts +48 -23
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +24 -3
- package/lib/src/base-button/index.d.ts +110 -7
- package/lib/src/base-button/modal-button.vue.d.ts +14 -8
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +10 -7
- package/lib/src/basic/arrow.vue.d.ts +11 -2
- package/lib/src/basic/help.vue.d.ts +50 -324
- package/lib/src/basic/index.d.ts +202 -667
- package/lib/src/basic/title.vue.d.ts +24 -3
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +40 -45
- package/lib/src/business/ap-label/ApLabel.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabelGroup.d.ts +25 -0
- package/lib/src/business/ap-label/ApLabelGroup.js +1 -0
- package/lib/src/business/ap-label/constans.d.ts +12 -0
- package/lib/src/business/ap-label/constans.js +1 -0
- package/lib/src/business/ap-label/interface.d.ts +16 -2
- package/lib/src/business/ap-label/style.css +26 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +28 -3
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
- package/lib/src/business/index.d.ts +965 -201
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.d.ts +32 -3
- package/lib/src/button/button.vue.d.ts +11 -2
- package/lib/src/button/index.d.ts +32 -16
- package/lib/src/check-card/group.vue.d.ts +41 -17
- package/lib/src/check-card/index.vue.d.ts +35 -20
- package/lib/src/config-provider/config-provider.d.ts +137 -41
- package/lib/src/config-provider/index.d.ts +545 -161
- package/lib/src/container/collapse/header.vue.d.ts +13 -11
- package/lib/src/container/collapse/index.vue.d.ts +40 -11
- package/lib/src/container/index.d.ts +119 -40
- package/lib/src/container/scroll-container.vue.d.ts +12 -3
- package/lib/src/count-down/button.vue.d.ts +24 -3
- package/lib/src/count-down/index.d.ts +111 -12
- package/lib/src/count-down/input.vue.d.ts +24 -3
- package/lib/src/cropper/cropper-avatar.vue.d.ts +33 -6
- package/lib/src/cropper/cropper-image.vue.d.ts +36 -5
- package/lib/src/cropper/cropper-modal.vue.d.ts +21 -13
- package/lib/src/cropper/index.d.ts +269 -24
- package/lib/src/description/description.vue.d.ts +45 -15
- package/lib/src/description/index.d.ts +171 -51
- package/lib/src/dropdown/dropdown.vue.d.ts +30 -5
- package/lib/src/dropdown/index.d.ts +76 -12
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +4 -4
- package/lib/src/hooks/useControllableValue.d.ts +1 -1
- package/lib/src/icon/icon.vue.d.ts +29 -3
- package/lib/src/icon/index.d.ts +159 -12
- package/lib/src/icon/svg-icon.vue.d.ts +28 -3
- package/lib/src/icon-picker/icon-picker.vue.d.ts +38 -5
- package/lib/src/icon-picker/index.d.ts +139 -12
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +117 -147
- package/lib/src/modal/components/modal-close.vue.d.ts +26 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +116 -146
- package/lib/src/modal/components/modal-header.vue.d.ts +11 -2
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +43 -19
- package/lib/src/modal/components/modal.d.ts +115 -145
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +462 -287
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +38 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
- package/lib/src/pro-form/components/api-select.vue.d.ts +38 -5
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +40 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +28 -5
- package/lib/src/pro-form/components/form-action.vue.d.ts +38 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +34 -14
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +57 -6
- package/lib/src/pro-form/table-form-inner.vue.d.ts +34 -5
- package/lib/src/pro-form/table-form.vue.d.ts +29 -4
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
- package/lib/src/pro-table/components/header-cell.vue.d.ts +9 -726
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/index.vue.d.ts +11 -8
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +24 -10
- package/lib/src/pro-table/components/table-footer.vue.d.ts +30 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +31 -15
- package/lib/src/pro-table/components/table-image.vue.d.ts +32 -3
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
- package/lib/src/pro-table/components/table-title.vue.d.ts +13 -7
- package/lib/src/pro-table/pro-table.vue.d.ts +61 -8
- package/lib/src/prompt/dialog.vue.d.ts +11 -2
- package/lib/src/scroll-bar/bar-item.d.ts +9 -10
- package/lib/src/scroll-bar/index.d.ts +135 -12
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
- package/lib/src/strength-meter/index.d.ts +55 -12
- package/lib/src/strength-meter/strength-meter.vue.d.ts +26 -5
- package/lib/src/tests/wrapper.d.ts +6 -3
- package/lib/src/theme/ap-label/ap-label.css +26 -1
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +25 -13
- package/lib/src/transition/index.d.ts +193 -88
- package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +15 -6
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as
|
|
3
|
-
import { pick as
|
|
1
|
+
import { isVNode as C, defineComponent as h, useSlots as w, watch as k, shallowRef as _, computed as P, unref as n, createVNode as R, mergeProps as c, openBlock as a, createBlock as u, withCtx as S, createElementBlock as b, Fragment as x, renderList as B, resolveDynamicComponent as N } from "vue";
|
|
2
|
+
import { Col as j, Row as v } from "ant-design-vue";
|
|
3
|
+
import { pick as F, isBoolean as D, omit as I } from "lodash-unified";
|
|
4
4
|
import { apFormItemColPropKeys as O } from "../constant.mjs";
|
|
5
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(t) {
|
|
11
|
+
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !C(t);
|
|
12
12
|
}
|
|
13
|
-
const U = /* @__PURE__ */
|
|
13
|
+
const U = /* @__PURE__ */ h({
|
|
14
14
|
name: "ApFormItemGroup",
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -22,43 +22,38 @@ const U = /* @__PURE__ */ P({
|
|
|
22
22
|
},
|
|
23
23
|
wrap: {
|
|
24
24
|
type: Boolean,
|
|
25
|
-
default:
|
|
26
|
-
}
|
|
25
|
+
default: void 0
|
|
27
26
|
},
|
|
28
27
|
countPerRow: {
|
|
29
28
|
default: 3
|
|
30
29
|
}
|
|
31
30
|
},
|
|
32
|
-
setup(
|
|
31
|
+
setup(t) {
|
|
33
32
|
const {
|
|
34
|
-
b:
|
|
35
|
-
} = E("ap-form-item-group"),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
k(() => l.default(), (e) => {
|
|
39
|
-
u.value = d(e);
|
|
33
|
+
b: p
|
|
34
|
+
} = E("ap-form-item-group"), s = t, i = w();
|
|
35
|
+
k(() => i.default(), (o) => {
|
|
36
|
+
l.value = d(o);
|
|
40
37
|
});
|
|
41
|
-
const
|
|
42
|
-
const
|
|
38
|
+
const l = _(d(i.default())), f = P(() => n(l).map((o, m) => {
|
|
39
|
+
const e = o.props, r = F(e, O), g = r != null && r.span ? {} : V(s.countPerRow), y = D(e.hidden) ? !!e.hidden : A(e.hidden);
|
|
43
40
|
return {
|
|
44
|
-
key: `${
|
|
45
|
-
node:
|
|
46
|
-
class:
|
|
47
|
-
}), G(
|
|
48
|
-
default: () => [
|
|
41
|
+
key: `${m}-${$(e.name)}`,
|
|
42
|
+
node: R(j, c(g, r, {
|
|
43
|
+
class: y ? p("col-hidden") : ""
|
|
44
|
+
}), G(o) ? o : {
|
|
45
|
+
default: () => [o]
|
|
49
46
|
})
|
|
50
47
|
};
|
|
51
48
|
}));
|
|
52
|
-
return (
|
|
53
|
-
class: n(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
default: B(() => [(a(!0), N(j, null, x(f.value, (t) => (a(), m(v(t.node), {
|
|
58
|
-
key: t.key
|
|
49
|
+
return (o, m) => (a(), u(n(v), c({
|
|
50
|
+
class: n(p)()
|
|
51
|
+
}, n(I)(s, ["countPerRow"])), {
|
|
52
|
+
default: S(() => [(a(!0), b(x, null, B(f.value, (e) => (a(), u(N(e.node), {
|
|
53
|
+
key: e.key
|
|
59
54
|
}))), 128))]),
|
|
60
55
|
_: 1
|
|
61
|
-
}, 16, ["class"
|
|
56
|
+
}, 16, ["class"]));
|
|
62
57
|
}
|
|
63
58
|
});
|
|
64
59
|
export {
|
|
@@ -1,141 +1,34 @@
|
|
|
1
|
-
import { ApFormItemProps, ApFormItemSlots
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
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';
|
|
1
|
+
import { ApFormItemProps, ApFormItemSlots } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
7
3
|
declare function onFieldBlur(): void;
|
|
8
4
|
declare function onFieldChange(): void;
|
|
9
5
|
declare function clearValidate(): void;
|
|
10
6
|
declare function resetField(): void;
|
|
11
7
|
declare function getFieldValue(): any;
|
|
12
8
|
declare function __VLS_template(): Readonly<ApFormItemSlots> & ApFormItemSlots;
|
|
13
|
-
declare const __VLS_component: DefineComponent<ApFormItemProps
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemProps>, {
|
|
10
|
+
hasFeedback: boolean;
|
|
11
|
+
colon: undefined;
|
|
12
|
+
autoLink: boolean;
|
|
13
|
+
required: undefined;
|
|
14
|
+
validateFirst: undefined;
|
|
15
|
+
bordered: boolean;
|
|
16
|
+
valuePropName: string;
|
|
17
|
+
}>, {
|
|
14
18
|
onFieldBlur: typeof onFieldBlur;
|
|
15
19
|
onFieldChange: typeof onFieldChange;
|
|
16
20
|
clearValidate: typeof clearValidate;
|
|
17
21
|
resetField: typeof resetField;
|
|
18
22
|
getFieldValue: typeof getFieldValue;
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
} & {}>, {
|
|
23
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemProps>, {
|
|
24
|
+
hasFeedback: boolean;
|
|
25
|
+
colon: undefined;
|
|
26
|
+
autoLink: boolean;
|
|
27
|
+
required: undefined;
|
|
28
|
+
validateFirst: undefined;
|
|
29
|
+
bordered: boolean;
|
|
30
|
+
valuePropName: string;
|
|
31
|
+
}>>>, {
|
|
139
32
|
required: boolean;
|
|
140
33
|
bordered: boolean;
|
|
141
34
|
colon: boolean;
|
|
@@ -143,11 +36,28 @@ declare const __VLS_component: DefineComponent<ApFormItemProps, {
|
|
|
143
36
|
autoLink: boolean;
|
|
144
37
|
validateFirst: boolean;
|
|
145
38
|
valuePropName: string;
|
|
146
|
-
}, {}
|
|
39
|
+
}, {}>;
|
|
147
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
148
41
|
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
|
+
} & {};
|
|
149
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
150
51
|
new (): {
|
|
151
52
|
$slots: S;
|
|
152
53
|
};
|
|
153
54
|
};
|
|
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,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as D, ref as f, onMounted as E, computed as
|
|
2
|
-
import { Form as ee, Tooltip as oe } from "ant-design-vue";
|
|
1
|
+
import { defineComponent as q, useSlots as D, ref as f, onMounted as E, computed as h, unref as l, watch as K, cloneVNode as O, openBlock as C, createBlock as k, mergeProps as Q, createSlots as U, withCtx as i, resolveDynamicComponent as w, createCommentVNode as G, createElementVNode as H, normalizeClass as J, createVNode as p, normalizeStyle as M, renderList as W, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
|
|
2
|
+
import { Form as ee, Tooltip as oe, Typography as le } from "ant-design-vue";
|
|
3
3
|
import { useToken as te } from "ant-design-vue/es/theme/internal";
|
|
4
|
-
import { isArray as
|
|
4
|
+
import { isArray as ae, omit as V } from "lodash-unified";
|
|
5
5
|
import { apFormItemColPropKeys as re } from "./constant.mjs";
|
|
6
|
-
import { QuestionCircleOutlined as
|
|
6
|
+
import { QuestionCircleOutlined as ne } from "@ant-design/icons-vue";
|
|
7
7
|
import "../config-provider/index.mjs";
|
|
8
|
-
import { useInjectForm as
|
|
8
|
+
import { useInjectForm as ie } from "./context.mjs";
|
|
9
9
|
import "./style/ap-form-item.css";
|
|
10
10
|
import { useNamespace as ue } from "../config-provider/hooks/use-namespace.mjs";
|
|
11
|
-
const
|
|
11
|
+
const Be = /* @__PURE__ */ q({
|
|
12
12
|
name: "ApFormItem",
|
|
13
13
|
__name: "ap-form-item",
|
|
14
14
|
props: {
|
|
@@ -52,84 +52,84 @@ const be = /* @__PURE__ */ q({
|
|
|
52
52
|
_signal: {}
|
|
53
53
|
},
|
|
54
54
|
setup(N, { expose: P }) {
|
|
55
|
-
var F,
|
|
56
|
-
const o = N,
|
|
55
|
+
var F, B;
|
|
56
|
+
const o = N, t = D(), { model: u, updateModel: s, internalInstance: d } = ie(), { m: c, b: S } = ue("ap-form-item"), m = f(!1), a = f(), [, x] = te();
|
|
57
57
|
E(() => {
|
|
58
|
-
|
|
58
|
+
d == null || d.registerField({
|
|
59
59
|
name: o.name,
|
|
60
60
|
initialValue: o.initialValue
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
const
|
|
63
|
+
const y = h(() => o.name ? ae(o.name) ? o.name.reduce((e, r) => e == null ? void 0 : e[r], l(u)) : u == null ? void 0 : u.value[o.name] : null), v = f((B = (F = t.default) == null ? void 0 : F.call(t)) == null ? void 0 : B[0]);
|
|
64
64
|
K(
|
|
65
65
|
() => {
|
|
66
66
|
var e;
|
|
67
|
-
return (e =
|
|
67
|
+
return (e = t.default) == null ? void 0 : e.call(t);
|
|
68
68
|
},
|
|
69
69
|
(e) => {
|
|
70
70
|
v.value = e == null ? void 0 : e[0];
|
|
71
71
|
}
|
|
72
72
|
);
|
|
73
|
-
function
|
|
74
|
-
|
|
73
|
+
function I(e) {
|
|
74
|
+
s == null || s(o.name, e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function T() {
|
|
77
77
|
m.value = !0;
|
|
78
78
|
}
|
|
79
79
|
function z() {
|
|
80
80
|
m.value = !1;
|
|
81
81
|
}
|
|
82
|
-
const
|
|
83
|
-
var
|
|
82
|
+
const b = h(() => {
|
|
83
|
+
var r, n;
|
|
84
84
|
if (!o.name)
|
|
85
|
-
return (
|
|
86
|
-
const e =
|
|
85
|
+
return (r = t.default()) == null ? void 0 : r[0];
|
|
86
|
+
const e = l(v);
|
|
87
87
|
return e ? O(e, {
|
|
88
|
-
[o.valuePropName]:
|
|
89
|
-
[`onUpdate:${o.valuePropName}`]:
|
|
88
|
+
[o.valuePropName]: l(y),
|
|
89
|
+
[`onUpdate:${o.valuePropName}`]: I,
|
|
90
90
|
bordered: o.bordered ? !1 : (n = e == null ? void 0 : e.props) == null ? void 0 : n.bordered,
|
|
91
|
-
onFocus:
|
|
91
|
+
onFocus: T,
|
|
92
92
|
onBlur: z
|
|
93
93
|
}) : null;
|
|
94
94
|
});
|
|
95
95
|
function A() {
|
|
96
96
|
var e;
|
|
97
|
-
(e =
|
|
97
|
+
(e = a.value) == null || e.onFieldBlur();
|
|
98
98
|
}
|
|
99
99
|
function R() {
|
|
100
100
|
var e;
|
|
101
|
-
(e =
|
|
101
|
+
(e = a.value) == null || e.onFieldChange();
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function _() {
|
|
104
104
|
var e;
|
|
105
|
-
(e =
|
|
105
|
+
(e = a.value) == null || e.clearValidate();
|
|
106
106
|
}
|
|
107
107
|
function L() {
|
|
108
108
|
var e;
|
|
109
|
-
(e =
|
|
109
|
+
(e = a.value) == null || e.resetField();
|
|
110
110
|
}
|
|
111
111
|
function $() {
|
|
112
|
-
return
|
|
112
|
+
return l(y);
|
|
113
113
|
}
|
|
114
114
|
return P({
|
|
115
115
|
onFieldBlur: A,
|
|
116
116
|
onFieldChange: R,
|
|
117
|
-
clearValidate:
|
|
117
|
+
clearValidate: _,
|
|
118
118
|
resetField: L,
|
|
119
119
|
getFieldValue: $
|
|
120
|
-
}), (e,
|
|
120
|
+
}), (e, r) => (C(), k(l(ee).Item, Q({
|
|
121
121
|
ref_key: "formItemRef",
|
|
122
|
-
ref:
|
|
123
|
-
},
|
|
122
|
+
ref: a
|
|
123
|
+
}, l(V)(o, [...l(re), "tooltip", "label"]), {
|
|
124
124
|
class: {
|
|
125
|
-
[
|
|
126
|
-
[
|
|
127
|
-
[
|
|
125
|
+
[l(c)("bordered")]: e.bordered,
|
|
126
|
+
[l(c)("focused")]: e.bordered && m.value,
|
|
127
|
+
[l(S)()]: !0
|
|
128
128
|
},
|
|
129
129
|
colon: e.bordered ? !1 : o.colon
|
|
130
130
|
}), U({
|
|
131
131
|
default: i(() => [
|
|
132
|
-
|
|
132
|
+
b.value ? (C(), k(w(b.value), { key: 0 })) : G("", !0)
|
|
133
133
|
]),
|
|
134
134
|
_: 2
|
|
135
135
|
}, [
|
|
@@ -139,12 +139,12 @@ const be = /* @__PURE__ */ q({
|
|
|
139
139
|
H("span", {
|
|
140
140
|
class: J(n)
|
|
141
141
|
}, [
|
|
142
|
-
|
|
142
|
+
p(l(oe), {
|
|
143
143
|
title: o.tooltip
|
|
144
144
|
}, {
|
|
145
145
|
default: i(() => [
|
|
146
|
-
|
|
147
|
-
style: M({ color:
|
|
146
|
+
p(l(ne), {
|
|
147
|
+
style: M({ color: l(x).colorPrimary })
|
|
148
148
|
}, null, 8, ["style"])
|
|
149
149
|
]),
|
|
150
150
|
_: 1
|
|
@@ -153,15 +153,25 @@ const be = /* @__PURE__ */ q({
|
|
|
153
153
|
]),
|
|
154
154
|
key: "0"
|
|
155
155
|
} : void 0,
|
|
156
|
-
|
|
157
|
-
name:
|
|
156
|
+
e.label ? {
|
|
157
|
+
name: "label",
|
|
158
|
+
fn: i(() => [
|
|
159
|
+
p(l(le).Text, {
|
|
160
|
+
ellipsis: { tooltip: e.label },
|
|
161
|
+
content: e.label
|
|
162
|
+
}, null, 8, ["ellipsis", "content"])
|
|
163
|
+
]),
|
|
164
|
+
key: "1"
|
|
165
|
+
} : void 0,
|
|
166
|
+
W(l(V)(t, "default"), (n, g) => ({
|
|
167
|
+
name: g,
|
|
158
168
|
fn: i((j) => [
|
|
159
|
-
X(e.$slots,
|
|
169
|
+
X(e.$slots, g, Y(Z(j || {})))
|
|
160
170
|
])
|
|
161
171
|
}))
|
|
162
172
|
]), 1040, ["class", "colon"]));
|
|
163
173
|
}
|
|
164
174
|
});
|
|
165
175
|
export {
|
|
166
|
-
|
|
176
|
+
Be as default
|
|
167
177
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFormListProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } 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<ApFormListProps
|
|
20
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ApFormListProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApFormListProps>>>, {}, {}>;
|
|
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,3 +25,12 @@ 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
|
+
};
|