@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,7 +1,7 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
3
|
"columns-change": (...args: any[]) => void;
|
|
4
|
-
}, string, PublicProps, Readonly<{
|
|
4
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{}>> & {
|
|
5
5
|
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
6
|
-
}
|
|
6
|
+
}, {}, {}>;
|
|
7
7
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import { PropType, DefineComponent,
|
|
1
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { TableSetting } from '../../types/table';
|
|
3
|
-
declare const _default: DefineComponent<
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
4
|
setting: {
|
|
5
5
|
type: PropType<TableSetting>;
|
|
6
6
|
default: () => {};
|
|
7
7
|
};
|
|
8
|
-
}
|
|
8
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
9
|
"columns-change": (...args: any[]) => void;
|
|
10
|
-
}, string, PublicProps, Readonly<{
|
|
11
|
-
setting:
|
|
12
|
-
|
|
10
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
11
|
+
setting: {
|
|
12
|
+
type: PropType<TableSetting>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
}>> & {
|
|
13
16
|
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}
|
|
17
|
+
}, {
|
|
15
18
|
setting: TableSetting;
|
|
16
|
-
}, {}
|
|
19
|
+
}, {}>;
|
|
17
20
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PropType, DefineComponent,
|
|
1
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ActionItem } from '../types/table-action';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
more?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<{
|
|
7
7
|
actions: {
|
|
8
8
|
type: PropType<ActionItem[]>;
|
|
9
9
|
default: null;
|
|
@@ -23,19 +23,33 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
|
+
actions: {
|
|
28
|
+
type: PropType<ActionItem[]>;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
dropDownActions: {
|
|
32
|
+
type: PropType<ActionItem[]>;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
divider: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
outside: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
};
|
|
42
|
+
stopButtonPropagation: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>>, {
|
|
33
47
|
outside: boolean;
|
|
34
48
|
actions: ActionItem[];
|
|
35
49
|
dropDownActions: ActionItem[];
|
|
36
50
|
divider: boolean;
|
|
37
51
|
stopButtonPropagation: boolean;
|
|
38
|
-
}, {}
|
|
52
|
+
}, {}>;
|
|
39
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
54
|
export default _default;
|
|
41
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,20 +1,45 @@
|
|
|
1
1
|
import { BasicTableProps } from '../types/table';
|
|
2
2
|
import { Fn, Recordable } from '../../type';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
|
|
5
|
-
declare const _default: DefineComponent<{
|
|
5
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
6
|
summaryFunc?: Fn | null;
|
|
7
7
|
summaryData?: Recordable[] | null;
|
|
8
8
|
scroll?: BasicTableProps["scroll"];
|
|
9
9
|
rowKey?: BasicTableProps["rowKey"];
|
|
10
|
-
}
|
|
10
|
+
}>, {
|
|
11
|
+
summaryFunc: null;
|
|
12
|
+
summaryData: null;
|
|
13
|
+
rowKey: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
11
15
|
summaryFunc?: Fn | null;
|
|
12
16
|
summaryData?: Recordable[] | null;
|
|
13
17
|
scroll?: BasicTableProps["scroll"];
|
|
14
18
|
rowKey?: BasicTableProps["rowKey"];
|
|
15
|
-
}
|
|
19
|
+
}>, {
|
|
20
|
+
summaryFunc: null;
|
|
21
|
+
summaryData: null;
|
|
22
|
+
rowKey: string;
|
|
23
|
+
}>>>, {
|
|
16
24
|
rowKey: string | GetRowKey<any>;
|
|
17
25
|
summaryFunc: Fn | null;
|
|
18
26
|
summaryData: Recordable[] | null;
|
|
19
|
-
}, {}
|
|
27
|
+
}, {}>;
|
|
20
28
|
export default _default;
|
|
29
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TableSetting, TableActionType } from '../types/table';
|
|
2
|
-
import { PropType, DefineComponent,
|
|
2
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
headerTop?(_: {}): any;
|
|
5
5
|
tableTitle?(_: {}): any;
|
|
6
6
|
toolbar?(_: {}): any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: DefineComponent<
|
|
8
|
+
declare const __VLS_component: DefineComponent<{
|
|
9
9
|
title: {
|
|
10
10
|
type: PropType<string | ((data: any) => string)>;
|
|
11
11
|
};
|
|
@@ -30,25 +30,41 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
30
30
|
type: BooleanConstructor;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
|
-
}
|
|
33
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
34
|
"columns-change": (...args: any[]) => void;
|
|
35
|
-
}, string, PublicProps, Readonly<{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
35
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
36
|
+
title: {
|
|
37
|
+
type: PropType<string | ((data: any) => string)>;
|
|
38
|
+
};
|
|
39
|
+
tableSetting: {
|
|
40
|
+
type: PropType<TableSetting>;
|
|
41
|
+
};
|
|
42
|
+
showTableSetting: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
};
|
|
45
|
+
titleHelpMessage: {
|
|
46
|
+
type: PropType<string | string[]>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
clearSelectedRowKeys: {
|
|
50
|
+
type: PropType<TableActionType["clearSelectedRowKeys"]>;
|
|
51
|
+
};
|
|
52
|
+
count: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
showSelectionBar: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
}>> & {
|
|
45
61
|
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
46
|
-
}
|
|
62
|
+
}, {
|
|
47
63
|
count: number;
|
|
48
64
|
showTableSetting: boolean;
|
|
49
65
|
titleHelpMessage: string | string[];
|
|
50
66
|
showSelectionBar: boolean;
|
|
51
|
-
}, {}
|
|
67
|
+
}, {}>;
|
|
52
68
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
53
69
|
export default _default;
|
|
54
70
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
type TableImageProps = {
|
|
3
3
|
imgList?: string[];
|
|
4
4
|
size?: number;
|
|
@@ -8,11 +8,40 @@ type TableImageProps = {
|
|
|
8
8
|
srcPrefix?: string;
|
|
9
9
|
fallback?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: DefineComponent<
|
|
11
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TableImageProps>, {
|
|
12
|
+
size: number;
|
|
13
|
+
showBadge: boolean;
|
|
14
|
+
margin: number;
|
|
15
|
+
srcPrefix: string;
|
|
16
|
+
fallback: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TableImageProps>, {
|
|
18
|
+
size: number;
|
|
19
|
+
showBadge: boolean;
|
|
20
|
+
margin: number;
|
|
21
|
+
srcPrefix: string;
|
|
22
|
+
fallback: string;
|
|
23
|
+
}>>>, {
|
|
12
24
|
size: number;
|
|
13
25
|
margin: number;
|
|
14
26
|
showBadge: boolean;
|
|
15
27
|
srcPrefix: string;
|
|
16
28
|
fallback: string;
|
|
17
|
-
}, {}
|
|
29
|
+
}, {}>;
|
|
18
30
|
export default _default;
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
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,12 +1,33 @@
|
|
|
1
1
|
import { TableActionType } from '../types/table';
|
|
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<{
|
|
4
4
|
count?: number;
|
|
5
5
|
clearSelectedRowKeys: TableActionType["clearSelectedRowKeys"];
|
|
6
|
-
}
|
|
6
|
+
}>, {
|
|
7
|
+
count: () => 0;
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
9
|
count?: number;
|
|
8
10
|
clearSelectedRowKeys: TableActionType["clearSelectedRowKeys"];
|
|
9
|
-
}
|
|
11
|
+
}>, {
|
|
12
|
+
count: () => 0;
|
|
13
|
+
}>>>, {
|
|
10
14
|
count: number;
|
|
11
|
-
}, {}
|
|
15
|
+
}, {}>;
|
|
12
16
|
export default _default;
|
|
17
|
+
type __VLS_WithDefaults<P, D> = {
|
|
18
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
+
default: D[K];
|
|
20
|
+
}> : P[K];
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Prettify<T> = {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} & {};
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType, DefineComponent,
|
|
2
|
-
declare const _default: DefineComponent<
|
|
1
|
+
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
3
|
title: {
|
|
4
4
|
type: PropType<string | ((data: any) => string)>;
|
|
5
5
|
};
|
|
@@ -9,9 +9,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
9
9
|
helpMessage: {
|
|
10
10
|
type: PropType<string | string[]>;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
13
|
-
title
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
13
|
+
title: {
|
|
14
|
+
type: PropType<string | ((data: any) => string)>;
|
|
15
|
+
};
|
|
16
|
+
getSelectRows: {
|
|
17
|
+
type: PropType<() => any[]>;
|
|
18
|
+
};
|
|
19
|
+
helpMessage: {
|
|
20
|
+
type: PropType<string | string[]>;
|
|
21
|
+
};
|
|
22
|
+
}>>, {}, {}>;
|
|
17
23
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasicTableProps, SizeType, FetchParams, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from './types/table';
|
|
2
2
|
import { ProTableProps } from './interface';
|
|
3
3
|
import { TableColumnType, ColumnType } from 'ant-design-vue';
|
|
4
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps,
|
|
4
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
5
|
import { Recordable } from '../type';
|
|
6
6
|
import { Key } from 'ant-design-vue/es/table/interface';
|
|
7
7
|
import { PaginationProps } from '.';
|
|
@@ -19,7 +19,25 @@ declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Pa
|
|
|
19
19
|
column: ColumnType<any>;
|
|
20
20
|
}): any;
|
|
21
21
|
};
|
|
22
|
-
declare const __VLS_component: DefineComponent<ProTableProps
|
|
22
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ProTableProps>, {
|
|
23
|
+
clickToRowSelect: boolean;
|
|
24
|
+
tableSetting: () => {};
|
|
25
|
+
autoCreateKey: boolean;
|
|
26
|
+
striped: boolean;
|
|
27
|
+
indentSize: number;
|
|
28
|
+
canColDrag: boolean;
|
|
29
|
+
immediate: boolean;
|
|
30
|
+
emptyDataIsShowTable: boolean;
|
|
31
|
+
columns: () => never[];
|
|
32
|
+
showIndexColumn: boolean;
|
|
33
|
+
ellipsis: boolean;
|
|
34
|
+
isCanResizeParent: boolean;
|
|
35
|
+
canResize: boolean;
|
|
36
|
+
resizeHeightOffset: number;
|
|
37
|
+
rowKey: string;
|
|
38
|
+
divideSpace: string;
|
|
39
|
+
pagination: null;
|
|
40
|
+
}>, {
|
|
23
41
|
reload: (opt?: FetchParams) => Promise< Recordable<any>[] | undefined>;
|
|
24
42
|
setSelectedRows: (rows: Recordable[]) => void;
|
|
25
43
|
getSelectRows: <T = Recordable>() => T[];
|
|
@@ -55,8 +73,8 @@ declare const __VLS_component: DefineComponent<ProTableProps, {
|
|
|
55
73
|
getShowPagination: () => boolean;
|
|
56
74
|
setCacheColumnsByField?: (dataIndex: string | undefined, value: BasicColumn) => void;
|
|
57
75
|
setCacheColumns?: (columns: BasicColumn[]) => void;
|
|
58
|
-
tableElRef: Ref<null
|
|
59
|
-
},
|
|
76
|
+
tableElRef: Ref<null>;
|
|
77
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
60
78
|
change: (...args: any[]) => void;
|
|
61
79
|
register: (...args: any[]) => void;
|
|
62
80
|
"edit-change": (...args: any[]) => void;
|
|
@@ -73,9 +91,28 @@ declare const __VLS_component: DefineComponent<ProTableProps, {
|
|
|
73
91
|
"row-mouseleave": (...args: any[]) => void;
|
|
74
92
|
"columns-change": (...args: any[]) => void;
|
|
75
93
|
"expanded-rows-change": (...args: any[]) => void;
|
|
76
|
-
}, string, PublicProps, Readonly<ProTableProps
|
|
94
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProTableProps>, {
|
|
95
|
+
clickToRowSelect: boolean;
|
|
96
|
+
tableSetting: () => {};
|
|
97
|
+
autoCreateKey: boolean;
|
|
98
|
+
striped: boolean;
|
|
99
|
+
indentSize: number;
|
|
100
|
+
canColDrag: boolean;
|
|
101
|
+
immediate: boolean;
|
|
102
|
+
emptyDataIsShowTable: boolean;
|
|
103
|
+
columns: () => never[];
|
|
104
|
+
showIndexColumn: boolean;
|
|
105
|
+
ellipsis: boolean;
|
|
106
|
+
isCanResizeParent: boolean;
|
|
107
|
+
canResize: boolean;
|
|
108
|
+
resizeHeightOffset: number;
|
|
109
|
+
rowKey: string;
|
|
110
|
+
divideSpace: string;
|
|
111
|
+
pagination: null;
|
|
112
|
+
}>>> & {
|
|
77
113
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
114
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
79
116
|
"onEdit-change"?: ((...args: any[]) => any) | undefined;
|
|
80
117
|
"onEdit-end"?: ((...args: any[]) => any) | undefined;
|
|
81
118
|
"onEdit-cancel"?: ((...args: any[]) => any) | undefined;
|
|
@@ -88,9 +125,8 @@ declare const __VLS_component: DefineComponent<ProTableProps, {
|
|
|
88
125
|
"onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
|
|
89
126
|
"onRow-mouseenter"?: ((...args: any[]) => any) | undefined;
|
|
90
127
|
"onRow-mouseleave"?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
92
128
|
"onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
|
|
93
|
-
}
|
|
129
|
+
}, {
|
|
94
130
|
ellipsis: boolean;
|
|
95
131
|
pagination: PaginationProps | boolean | null;
|
|
96
132
|
immediate: boolean;
|
|
@@ -108,11 +144,28 @@ declare const __VLS_component: DefineComponent<ProTableProps, {
|
|
|
108
144
|
canColDrag: boolean;
|
|
109
145
|
emptyDataIsShowTable: boolean;
|
|
110
146
|
divideSpace: number | SizeType;
|
|
111
|
-
}, {}
|
|
147
|
+
}, {}>;
|
|
112
148
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
113
149
|
export default _default;
|
|
150
|
+
type __VLS_WithDefaults<P, D> = {
|
|
151
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
152
|
+
default: D[K];
|
|
153
|
+
}> : P[K];
|
|
154
|
+
};
|
|
155
|
+
type __VLS_Prettify<T> = {
|
|
156
|
+
[K in keyof T]: T[K];
|
|
157
|
+
} & {};
|
|
114
158
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
115
159
|
new (): {
|
|
116
160
|
$slots: S;
|
|
117
161
|
};
|
|
118
162
|
};
|
|
163
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
164
|
+
type __VLS_TypePropsToOption<T> = {
|
|
165
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
166
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
167
|
+
} : {
|
|
168
|
+
type: PropType<T[K]>;
|
|
169
|
+
required: true;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { PromptDialogProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<PromptDialogProps
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<PromptDialogProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PromptDialogProps>>>, {}, {}>;
|
|
4
4
|
export default _default;
|
|
5
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
+
type __VLS_TypePropsToOption<T> = {
|
|
7
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
+
} : {
|
|
10
|
+
type: PropType<T[K]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
2
|
-
declare const _default: DefineComponent<
|
|
1
|
+
import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
3
|
vertical: BooleanConstructor;
|
|
4
4
|
size: StringConstructor;
|
|
5
5
|
move: NumberConstructor;
|
|
6
|
-
}
|
|
6
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>,
|
|
9
|
-
vertical:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} & {}>, {
|
|
8
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
9
|
+
vertical: BooleanConstructor;
|
|
10
|
+
size: StringConstructor;
|
|
11
|
+
move: NumberConstructor;
|
|
12
|
+
}>>, {
|
|
14
13
|
vertical: boolean;
|
|
15
|
-
}, {}
|
|
14
|
+
}, {}>;
|
|
16
15
|
export default _default;
|