@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,34 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DescItem } from './interface';
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
3
2
|
import { CollapseContainerOptions } from '..';
|
|
3
|
+
import { DescItem } from './interface';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export { useDescription } from './use-description';
|
|
6
6
|
export declare const Description: {
|
|
7
|
-
new (...args: any[]):
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
+
useCollapse: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
validator: (v: string) => boolean;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
bordered: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
column: {
|
|
26
|
+
type: (NumberConstructor | ObjectConstructor)[];
|
|
27
|
+
default: () => {
|
|
28
|
+
xxl: number;
|
|
29
|
+
xl: number;
|
|
30
|
+
lg: number;
|
|
31
|
+
md: number;
|
|
32
|
+
sm: number;
|
|
33
|
+
xs: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
collapseOptions: {
|
|
37
|
+
type: PropType<CollapseContainerOptions>;
|
|
38
|
+
default: null;
|
|
39
|
+
};
|
|
40
|
+
schema: {
|
|
41
|
+
type: PropType< DescItem[]>;
|
|
42
|
+
default: () => never[];
|
|
43
|
+
};
|
|
44
|
+
data: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
18
48
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
49
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "register"[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
50
|
+
useCollapse: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
title: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
size: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
validator: (v: string) => boolean;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
bordered: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
column: {
|
|
68
|
+
type: (NumberConstructor | ObjectConstructor)[];
|
|
69
|
+
default: () => {
|
|
70
|
+
xxl: number;
|
|
71
|
+
xl: number;
|
|
72
|
+
lg: number;
|
|
73
|
+
md: number;
|
|
74
|
+
sm: number;
|
|
75
|
+
xs: number;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
collapseOptions: {
|
|
79
|
+
type: PropType<CollapseContainerOptions>;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
82
|
+
schema: {
|
|
83
|
+
type: PropType< DescItem[]>;
|
|
84
|
+
default: () => never[];
|
|
85
|
+
};
|
|
86
|
+
data: {
|
|
87
|
+
type: ObjectConstructor;
|
|
88
|
+
};
|
|
89
|
+
}>> & {
|
|
30
90
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
}
|
|
91
|
+
}, {
|
|
32
92
|
size: string;
|
|
33
93
|
title: string;
|
|
34
94
|
column: number | Record<string, any>;
|
|
@@ -36,26 +96,56 @@ export declare const Description: {
|
|
|
36
96
|
schema: DescItem[];
|
|
37
97
|
useCollapse: boolean;
|
|
38
98
|
collapseOptions: CollapseContainerOptions;
|
|
39
|
-
}, true, {}, {},
|
|
99
|
+
}, true, {}, {}, {
|
|
40
100
|
P: {};
|
|
41
101
|
B: {};
|
|
42
102
|
D: {};
|
|
43
103
|
C: {};
|
|
44
104
|
M: {};
|
|
45
105
|
Defaults: {};
|
|
46
|
-
}, Readonly<{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
106
|
+
}, Readonly< ExtractPropTypes<{
|
|
107
|
+
useCollapse: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
title: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
size: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
validator: (v: string) => boolean;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
bordered: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
column: {
|
|
125
|
+
type: (NumberConstructor | ObjectConstructor)[];
|
|
126
|
+
default: () => {
|
|
127
|
+
xxl: number;
|
|
128
|
+
xl: number;
|
|
129
|
+
lg: number;
|
|
130
|
+
md: number;
|
|
131
|
+
sm: number;
|
|
132
|
+
xs: number;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
collapseOptions: {
|
|
136
|
+
type: PropType<CollapseContainerOptions>;
|
|
137
|
+
default: null;
|
|
138
|
+
};
|
|
139
|
+
schema: {
|
|
140
|
+
type: PropType< DescItem[]>;
|
|
141
|
+
default: () => never[];
|
|
142
|
+
};
|
|
143
|
+
data: {
|
|
144
|
+
type: ObjectConstructor;
|
|
145
|
+
};
|
|
146
|
+
}>> & {
|
|
57
147
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}
|
|
148
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
59
149
|
size: string;
|
|
60
150
|
title: string;
|
|
61
151
|
column: number | Record<string, any>;
|
|
@@ -67,19 +157,49 @@ export declare const Description: {
|
|
|
67
157
|
__isFragment?: never;
|
|
68
158
|
__isTeleport?: never;
|
|
69
159
|
__isSuspense?: never;
|
|
70
|
-
} & ComponentOptionsBase<Readonly<{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
160
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
161
|
+
useCollapse: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
title: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
size: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
validator: (v: string) => boolean;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
bordered: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
column: {
|
|
179
|
+
type: (NumberConstructor | ObjectConstructor)[];
|
|
180
|
+
default: () => {
|
|
181
|
+
xxl: number;
|
|
182
|
+
xl: number;
|
|
183
|
+
lg: number;
|
|
184
|
+
md: number;
|
|
185
|
+
sm: number;
|
|
186
|
+
xs: number;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
collapseOptions: {
|
|
190
|
+
type: PropType<CollapseContainerOptions>;
|
|
191
|
+
default: null;
|
|
192
|
+
};
|
|
193
|
+
schema: {
|
|
194
|
+
type: PropType< DescItem[]>;
|
|
195
|
+
default: () => never[];
|
|
196
|
+
};
|
|
197
|
+
data: {
|
|
198
|
+
type: ObjectConstructor;
|
|
199
|
+
};
|
|
200
|
+
}>> & {
|
|
81
201
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
}
|
|
202
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "register"[], "register", {
|
|
83
203
|
size: string;
|
|
84
204
|
title: string;
|
|
85
205
|
column: number | Record<string, any>;
|
|
@@ -87,7 +207,7 @@ export declare const Description: {
|
|
|
87
207
|
schema: DescItem[];
|
|
88
208
|
useCollapse: boolean;
|
|
89
209
|
collapseOptions: CollapseContainerOptions;
|
|
90
|
-
}, {}, string, {}
|
|
210
|
+
}, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
91
211
|
$props: {
|
|
92
212
|
onClick?: () => void;
|
|
93
213
|
};
|
|
@@ -1,22 +1,47 @@
|
|
|
1
1
|
import { DropdownProps, DropMenu } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<DropdownProps
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DropdownProps>, {
|
|
8
|
+
trigger: () => string[];
|
|
9
|
+
dropMenuList: () => never[];
|
|
10
|
+
selectedKeys: () => never[];
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
12
|
menuEvent: (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly<DropdownProps
|
|
13
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DropdownProps>, {
|
|
14
|
+
trigger: () => string[];
|
|
15
|
+
dropMenuList: () => never[];
|
|
16
|
+
selectedKeys: () => never[];
|
|
17
|
+
}>>> & {
|
|
10
18
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}
|
|
19
|
+
}, {
|
|
12
20
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
13
21
|
selectedKeys: string[];
|
|
14
22
|
dropMenuList: Array<DropMenu & Recordable<any>>;
|
|
15
|
-
}, {}
|
|
23
|
+
}, {}>;
|
|
16
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
25
|
export default _default;
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
18
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
35
|
new (): {
|
|
20
36
|
$slots: S;
|
|
21
37
|
};
|
|
22
38
|
};
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToOption<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -1,28 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
+
import { DropMenu } from './interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export declare const Dropdown: {
|
|
6
|
-
new (...args: any[]):
|
|
6
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
+
trigger: {
|
|
8
|
+
type: PropType<("click" | "contextmenu" | "hover")[]>;
|
|
9
|
+
default: () => string[];
|
|
10
|
+
};
|
|
11
|
+
selectedKeys: {
|
|
12
|
+
type: PropType<string[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
popconfirm: {
|
|
16
|
+
type: PropType<boolean>;
|
|
17
|
+
};
|
|
18
|
+
dropMenuList: {
|
|
19
|
+
type: PropType<( DropMenu & Recordable<any>)[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
7
23
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}
|
|
24
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
25
|
menuEvent: (...args: any[]) => void;
|
|
10
|
-
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<
|
|
26
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
27
|
+
trigger: {
|
|
28
|
+
type: PropType<("click" | "contextmenu" | "hover")[]>;
|
|
29
|
+
default: () => string[];
|
|
30
|
+
};
|
|
31
|
+
selectedKeys: {
|
|
32
|
+
type: PropType<string[]>;
|
|
33
|
+
default: () => never[];
|
|
34
|
+
};
|
|
35
|
+
popconfirm: {
|
|
36
|
+
type: PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
dropMenuList: {
|
|
39
|
+
type: PropType<( DropMenu & Recordable<any>)[]>;
|
|
40
|
+
default: () => never[];
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
11
43
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}
|
|
44
|
+
}, {
|
|
13
45
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
14
46
|
selectedKeys: string[];
|
|
15
47
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
16
|
-
},
|
|
48
|
+
}, true, {}, {}, {
|
|
17
49
|
P: {};
|
|
18
50
|
B: {};
|
|
19
51
|
D: {};
|
|
20
52
|
C: {};
|
|
21
53
|
M: {};
|
|
22
54
|
Defaults: {};
|
|
23
|
-
}, Readonly<
|
|
55
|
+
}, Readonly< ExtractPropTypes<{
|
|
56
|
+
trigger: {
|
|
57
|
+
type: PropType<("click" | "contextmenu" | "hover")[]>;
|
|
58
|
+
default: () => string[];
|
|
59
|
+
};
|
|
60
|
+
selectedKeys: {
|
|
61
|
+
type: PropType<string[]>;
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
popconfirm: {
|
|
65
|
+
type: PropType<boolean>;
|
|
66
|
+
};
|
|
67
|
+
dropMenuList: {
|
|
68
|
+
type: PropType<( DropMenu & Recordable<any>)[]>;
|
|
69
|
+
default: () => never[];
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
24
72
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
}
|
|
73
|
+
}, {}, {}, {}, {}, {
|
|
26
74
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
27
75
|
selectedKeys: string[];
|
|
28
76
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
@@ -30,15 +78,31 @@ export declare const Dropdown: {
|
|
|
30
78
|
__isFragment?: never;
|
|
31
79
|
__isTeleport?: never;
|
|
32
80
|
__isSuspense?: never;
|
|
33
|
-
} & ComponentOptionsBase<Readonly<
|
|
81
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
82
|
+
trigger: {
|
|
83
|
+
type: PropType<("click" | "contextmenu" | "hover")[]>;
|
|
84
|
+
default: () => string[];
|
|
85
|
+
};
|
|
86
|
+
selectedKeys: {
|
|
87
|
+
type: PropType<string[]>;
|
|
88
|
+
default: () => never[];
|
|
89
|
+
};
|
|
90
|
+
popconfirm: {
|
|
91
|
+
type: PropType<boolean>;
|
|
92
|
+
};
|
|
93
|
+
dropMenuList: {
|
|
94
|
+
type: PropType<( DropMenu & Recordable<any>)[]>;
|
|
95
|
+
default: () => never[];
|
|
96
|
+
};
|
|
97
|
+
}>> & {
|
|
34
98
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}
|
|
99
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
36
100
|
menuEvent: (...args: any[]) => void;
|
|
37
101
|
}, string, {
|
|
38
102
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
39
103
|
selectedKeys: string[];
|
|
40
104
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
41
|
-
}, {}, string, {}
|
|
105
|
+
}, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
42
106
|
$slots: {
|
|
43
107
|
default?(_: {}): any;
|
|
44
108
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemProps } from './interface';
|
|
2
2
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
5
|
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<{}
|
|
6
|
+
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
add: (defaultValue?: any, insertIndex?: number) => void;
|
|
9
9
|
remove: (index: number | number[]) => void;
|
|
10
|
-
getRowData: (index: number) =>
|
|
11
|
-
getRowsData: () =>
|
|
10
|
+
getRowData: (index: number) => UnwrapRefSimple<RecordType>;
|
|
11
|
+
getRowsData: () => UnwrapRefSimple<RecordType>[];
|
|
12
12
|
setRowData: (index: number, payload: any) => void;
|
|
13
13
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
14
14
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
@@ -2,13 +2,13 @@ import { EditableTableProps, EditableColumnType } from './interface';
|
|
|
2
2
|
import { NamePath, ValidateOptions } from 'ant-design-vue/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
5
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
6
6
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
8
|
-
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<{
|
|
10
8
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}
|
|
9
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>> & {
|
|
10
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
|
|
12
12
|
expose(exposed: ShallowUnwrapRef<{
|
|
13
13
|
resetFields: () => void;
|
|
14
14
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
@@ -6,7 +6,7 @@ type Options = {
|
|
|
6
6
|
valuePropName?: string;
|
|
7
7
|
};
|
|
8
8
|
export declare function useControllableValue<ValueType = any>(props: Recordable, emit: (event: any, ...args: any[]) => void, options?: Options): {
|
|
9
|
-
value: Ref<ValueType
|
|
9
|
+
value: Ref<ValueType>;
|
|
10
10
|
updateValue: (newValue: any) => void;
|
|
11
11
|
};
|
|
12
12
|
export {};
|
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
import { IconProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IconProps>, {
|
|
4
|
+
size: number;
|
|
5
|
+
prefix: string;
|
|
6
|
+
spin: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IconProps>, {
|
|
8
|
+
size: number;
|
|
9
|
+
prefix: string;
|
|
10
|
+
spin: boolean;
|
|
11
|
+
}>>>, {
|
|
4
12
|
size: string | number;
|
|
5
13
|
prefix: string;
|
|
6
14
|
spin: boolean;
|
|
7
|
-
}, {}
|
|
15
|
+
}, {}>;
|
|
8
16
|
export default _default;
|
|
17
|
+
|
|
18
|
+
type __VLS_WithDefaults<P, D> = {
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
20
|
+
default: D[K];
|
|
21
|
+
}> : P[K];
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Prettify<T> = {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} & {};
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|