@aplus-frontend/ui 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.d.ts +3 -30
- package/es/src/ap-action/item/index.vue.d.ts +3 -30
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/es/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/es/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/es/src/ap-download/ap-download.vue.d.ts +3 -28
- package/es/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/es/src/ap-field/date/index.vue.d.ts +19 -64
- package/es/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/es/src/ap-field/number/index.vue.d.ts +138 -42
- package/es/src/ap-field/radio/index.vue.d.ts +51 -31
- package/es/src/ap-field/rate/index.vue.d.ts +46 -39
- package/es/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/es/src/ap-field/select/index.vue.d.ts +192 -59
- package/es/src/ap-field/select/index.vue.mjs +10 -8
- package/es/src/ap-field/slider/index.vue.d.ts +115 -40
- package/es/src/ap-field/switch/index.vue.d.ts +60 -35
- package/es/src/ap-field/text/index.vue.d.ts +105 -38
- package/es/src/ap-field/text/password.vue.d.ts +113 -45
- package/es/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -28
- package/es/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/es/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/es/src/ap-form/ap-form.vue.d.ts +238 -36
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/es/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/es/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/es/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/es/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/es/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- package/es/src/ap-list/index.vue.d.ts +3 -3
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/es/src/ap-table/constants.d.ts +4015 -11858
- package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/es/src/ap-tag/ap-tag-group.vue.mjs +78 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +23 -48
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/base-button/button.vue.d.ts +3 -24
- package/es/src/base-button/index.d.ts +7 -110
- package/es/src/base-button/modal-button.vue.d.ts +8 -14
- package/es/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/es/src/basic/arrow.vue.d.ts +2 -11
- package/es/src/basic/help.vue.d.ts +324 -50
- package/es/src/basic/index.d.ts +667 -202
- package/es/src/basic/title.vue.d.ts +3 -24
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/es/src/business/ap-batch-action/interface.d.ts +10 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/es/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
- package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/es/src/business/index.d.ts +196 -927
- package/es/src/business/title/ApTitle.vue.d.ts +3 -32
- package/es/src/button/button.vue.d.ts +2 -11
- package/es/src/button/index.d.ts +16 -32
- package/es/src/check-card/group.vue.d.ts +17 -41
- package/es/src/check-card/index.vue.d.ts +20 -35
- package/es/src/config-provider/config-provider.d.ts +41 -137
- package/es/src/config-provider/index.d.ts +161 -545
- package/es/src/container/collapse/header.vue.d.ts +11 -13
- package/es/src/container/collapse/index.vue.d.ts +11 -40
- package/es/src/container/index.d.ts +40 -119
- package/es/src/container/scroll-container.vue.d.ts +3 -12
- package/es/src/count-down/button.vue.d.ts +3 -24
- package/es/src/count-down/index.d.ts +12 -111
- package/es/src/count-down/input.vue.d.ts +3 -24
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/es/src/cropper/cropper-image.vue.d.ts +5 -36
- package/es/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/es/src/cropper/index.d.ts +24 -269
- package/es/src/description/description.vue.d.ts +15 -45
- package/es/src/description/index.d.ts +51 -171
- package/es/src/dropdown/dropdown.vue.d.ts +5 -30
- package/es/src/dropdown/index.d.ts +12 -76
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +6 -7
- package/es/src/hooks/useControllableValue.d.ts +2 -2
- package/es/src/icon/icon.vue.d.ts +3 -29
- package/es/src/icon/index.d.ts +12 -159
- package/es/src/icon/svg-icon.vue.d.ts +3 -28
- package/es/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/es/src/icon-picker/index.d.ts +12 -139
- package/es/src/modal/basic.vue.d.ts +147 -117
- package/es/src/modal/components/modal-close.vue.d.ts +5 -26
- package/es/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/es/src/modal/components/modal-header.vue.d.ts +2 -11
- package/es/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/es/src/modal/components/modal.d.ts +145 -115
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +287 -462
- package/es/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/es/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/es/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +6 -57
- package/es/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/es/src/pro-form/table-form.vue.d.ts +4 -29
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/es/src/pro-table/components/header-cell.vue.d.ts +726 -9
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/index.vue.d.ts +8 -11
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +10 -24
- package/es/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/es/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/es/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/es/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/es/src/pro-table/pro-table.vue.d.ts +8 -61
- package/es/src/prompt/dialog.vue.d.ts +2 -11
- package/es/src/scroll-bar/bar-item.d.ts +10 -9
- package/es/src/scroll-bar/index.d.ts +12 -135
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/es/src/strength-meter/index.d.ts +12 -55
- package/es/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/es/src/tests/wrapper.d.ts +3 -6
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +13 -25
- package/es/src/transition/index.d.ts +88 -193
- package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/lib/src/ap-action/group/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/lib/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/lib/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -28
- package/lib/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/lib/src/ap-field/date/index.vue.d.ts +19 -64
- package/lib/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/lib/src/ap-field/number/index.vue.d.ts +138 -42
- package/lib/src/ap-field/radio/index.vue.d.ts +51 -31
- package/lib/src/ap-field/rate/index.vue.d.ts +46 -39
- package/lib/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/lib/src/ap-field/select/index.vue.d.ts +192 -59
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +115 -40
- package/lib/src/ap-field/switch/index.vue.d.ts +60 -35
- package/lib/src/ap-field/text/index.vue.d.ts +105 -38
- package/lib/src/ap-field/text/password.vue.d.ts +113 -45
- package/lib/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/lib/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/lib/src/ap-form/ap-form.vue.d.ts +238 -36
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/lib/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/lib/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/lib/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/lib/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/lib/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- package/lib/src/ap-list/index.vue.d.ts +3 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/lib/src/ap-table/constants.d.ts +4015 -11858
- package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +23 -48
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +3 -24
- package/lib/src/base-button/index.d.ts +7 -110
- package/lib/src/base-button/modal-button.vue.d.ts +8 -14
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/lib/src/basic/arrow.vue.d.ts +2 -11
- package/lib/src/basic/help.vue.d.ts +324 -50
- package/lib/src/basic/index.d.ts +667 -202
- package/lib/src/basic/title.vue.d.ts +3 -24
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/lib/src/business/ap-batch-action/interface.d.ts +10 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/lib/src/business/index.d.ts +196 -927
- package/lib/src/business/title/ApTitle.vue.d.ts +3 -32
- package/lib/src/button/button.vue.d.ts +2 -11
- package/lib/src/button/index.d.ts +16 -32
- package/lib/src/check-card/group.vue.d.ts +17 -41
- package/lib/src/check-card/index.vue.d.ts +20 -35
- package/lib/src/config-provider/config-provider.d.ts +41 -137
- package/lib/src/config-provider/index.d.ts +161 -545
- package/lib/src/container/collapse/header.vue.d.ts +11 -13
- package/lib/src/container/collapse/index.vue.d.ts +11 -40
- package/lib/src/container/index.d.ts +40 -119
- package/lib/src/container/scroll-container.vue.d.ts +3 -12
- package/lib/src/count-down/button.vue.d.ts +3 -24
- package/lib/src/count-down/index.d.ts +12 -111
- package/lib/src/count-down/input.vue.d.ts +3 -24
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/lib/src/cropper/cropper-image.vue.d.ts +5 -36
- package/lib/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/lib/src/cropper/index.d.ts +24 -269
- package/lib/src/description/description.vue.d.ts +15 -45
- package/lib/src/description/index.d.ts +51 -171
- package/lib/src/dropdown/dropdown.vue.d.ts +5 -30
- package/lib/src/dropdown/index.d.ts +12 -76
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +6 -7
- package/lib/src/hooks/useControllableValue.d.ts +2 -2
- package/lib/src/icon/icon.vue.d.ts +3 -29
- package/lib/src/icon/index.d.ts +12 -159
- package/lib/src/icon/svg-icon.vue.d.ts +3 -28
- package/lib/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/lib/src/icon-picker/index.d.ts +12 -139
- package/lib/src/modal/basic.vue.d.ts +147 -117
- package/lib/src/modal/components/modal-close.vue.d.ts +5 -26
- package/lib/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -11
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/lib/src/modal/components/modal.d.ts +145 -115
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +287 -462
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/lib/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/lib/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +6 -57
- package/lib/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/lib/src/pro-form/table-form.vue.d.ts +4 -29
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/lib/src/pro-table/components/header-cell.vue.d.ts +726 -9
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/index.vue.d.ts +8 -11
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +10 -24
- package/lib/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/lib/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/lib/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/lib/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/lib/src/pro-table/pro-table.vue.d.ts +8 -61
- package/lib/src/prompt/dialog.vue.d.ts +2 -11
- package/lib/src/scroll-bar/bar-item.d.ts +10 -9
- package/lib/src/scroll-bar/index.d.ts +12 -135
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/lib/src/strength-meter/index.d.ts +12 -55
- package/lib/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/lib/src/tests/wrapper.d.ts +3 -6
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +13 -25
- package/lib/src/transition/index.d.ts +88 -193
- package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/package.json +2 -2
|
@@ -1,94 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CollapseContainerOptions } from '..';
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
|
|
3
2
|
import { DescItem } from './interface';
|
|
3
|
+
import { CollapseContainerOptions } from '..';
|
|
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
|
-
|
|
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
|
-
}>> & {
|
|
7
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
8
|
+
size: string;
|
|
9
|
+
title: string;
|
|
10
|
+
column: number | Record<string, any>;
|
|
11
|
+
bordered: boolean;
|
|
12
|
+
schema: DescItem[];
|
|
13
|
+
useCollapse: boolean;
|
|
14
|
+
collapseOptions: CollapseContainerOptions;
|
|
15
|
+
} & {
|
|
16
|
+
data?: Record<string, any> | undefined;
|
|
17
|
+
} & {
|
|
48
18
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
}>> & {
|
|
19
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "register"[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<{
|
|
20
|
+
size: string;
|
|
21
|
+
title: string;
|
|
22
|
+
column: number | Record<string, any>;
|
|
23
|
+
bordered: boolean;
|
|
24
|
+
schema: DescItem[];
|
|
25
|
+
useCollapse: boolean;
|
|
26
|
+
collapseOptions: CollapseContainerOptions;
|
|
27
|
+
} & {
|
|
28
|
+
data?: Record<string, any> | undefined;
|
|
29
|
+
} & {
|
|
90
30
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
}
|
|
31
|
+
}>, {
|
|
92
32
|
size: string;
|
|
93
33
|
title: string;
|
|
94
34
|
column: number | Record<string, any>;
|
|
@@ -96,56 +36,26 @@ export declare const Description: {
|
|
|
96
36
|
schema: DescItem[];
|
|
97
37
|
useCollapse: boolean;
|
|
98
38
|
collapseOptions: CollapseContainerOptions;
|
|
99
|
-
}, true, {}, {}, {
|
|
39
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, ComponentProvideOptions, {
|
|
100
40
|
P: {};
|
|
101
41
|
B: {};
|
|
102
42
|
D: {};
|
|
103
43
|
C: {};
|
|
104
44
|
M: {};
|
|
105
45
|
Defaults: {};
|
|
106
|
-
}, Readonly<
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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
|
-
}>> & {
|
|
46
|
+
}, Readonly<{
|
|
47
|
+
size: string;
|
|
48
|
+
title: string;
|
|
49
|
+
column: number | Record<string, any>;
|
|
50
|
+
bordered: boolean;
|
|
51
|
+
schema: DescItem[];
|
|
52
|
+
useCollapse: boolean;
|
|
53
|
+
collapseOptions: CollapseContainerOptions;
|
|
54
|
+
} & {
|
|
55
|
+
data?: Record<string, any> | undefined;
|
|
56
|
+
} & {
|
|
147
57
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
148
|
-
}
|
|
58
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
149
59
|
size: string;
|
|
150
60
|
title: string;
|
|
151
61
|
column: number | Record<string, any>;
|
|
@@ -157,49 +67,19 @@ export declare const Description: {
|
|
|
157
67
|
__isFragment?: never;
|
|
158
68
|
__isTeleport?: never;
|
|
159
69
|
__isSuspense?: never;
|
|
160
|
-
} & ComponentOptionsBase<Readonly<
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
-
}>> & {
|
|
70
|
+
} & ComponentOptionsBase<Readonly<{
|
|
71
|
+
size: string;
|
|
72
|
+
title: string;
|
|
73
|
+
column: number | Record<string, any>;
|
|
74
|
+
bordered: boolean;
|
|
75
|
+
schema: DescItem[];
|
|
76
|
+
useCollapse: boolean;
|
|
77
|
+
collapseOptions: CollapseContainerOptions;
|
|
78
|
+
} & {
|
|
79
|
+
data?: Record<string, any> | undefined;
|
|
80
|
+
} & {
|
|
201
81
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
202
|
-
}
|
|
82
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "register"[], "register", {
|
|
203
83
|
size: string;
|
|
204
84
|
title: string;
|
|
205
85
|
column: number | Record<string, any>;
|
|
@@ -207,7 +87,7 @@ export declare const Description: {
|
|
|
207
87
|
schema: DescItem[];
|
|
208
88
|
useCollapse: boolean;
|
|
209
89
|
collapseOptions: CollapseContainerOptions;
|
|
210
|
-
}, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
90
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
211
91
|
$props: {
|
|
212
92
|
onClick?: () => void;
|
|
213
93
|
};
|
|
@@ -1,47 +1,22 @@
|
|
|
1
1
|
import { DropdownProps, DropMenu } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
8
|
-
trigger: () => string[];
|
|
9
|
-
dropMenuList: () => never[];
|
|
10
|
-
selectedKeys: () => never[];
|
|
11
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
|
+
declare const __VLS_component: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
8
|
menuEvent: (...args: any[]) => void;
|
|
13
|
-
}, string, PublicProps, Readonly<
|
|
14
|
-
trigger: () => string[];
|
|
15
|
-
dropMenuList: () => never[];
|
|
16
|
-
selectedKeys: () => never[];
|
|
17
|
-
}>>> & {
|
|
9
|
+
}, string, PublicProps, Readonly<DropdownProps & {
|
|
18
10
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}
|
|
11
|
+
}>, {
|
|
20
12
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
21
13
|
selectedKeys: string[];
|
|
22
14
|
dropMenuList: Array<DropMenu & Recordable<any>>;
|
|
23
|
-
}, {}>;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
24
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
17
|
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
|
-
} & {};
|
|
34
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
19
|
new (): {
|
|
36
20
|
$slots: S;
|
|
37
21
|
};
|
|
38
22
|
};
|
|
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,76 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DropMenu } from './interface';
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
+
import { DropdownProps, DropMenu } from './interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
export declare const Dropdown: {
|
|
6
|
-
new (...args: any[]):
|
|
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
|
-
}>> & {
|
|
6
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< DropdownProps & {
|
|
23
7
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
}
|
|
8
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
9
|
menuEvent: (...args: any[]) => void;
|
|
26
|
-
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<
|
|
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
|
-
}>> & {
|
|
10
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< DropdownProps & {
|
|
43
11
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}
|
|
12
|
+
}>, {
|
|
45
13
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
46
14
|
selectedKeys: string[];
|
|
47
15
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
48
|
-
},
|
|
16
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, ComponentProvideOptions, {
|
|
49
17
|
P: {};
|
|
50
18
|
B: {};
|
|
51
19
|
D: {};
|
|
52
20
|
C: {};
|
|
53
21
|
M: {};
|
|
54
22
|
Defaults: {};
|
|
55
|
-
}, Readonly<
|
|
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
|
-
}>> & {
|
|
23
|
+
}, Readonly< DropdownProps & {
|
|
72
24
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}
|
|
25
|
+
}>, {}, {}, {}, {}, {
|
|
74
26
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
75
27
|
selectedKeys: string[];
|
|
76
28
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
@@ -78,31 +30,15 @@ export declare const Dropdown: {
|
|
|
78
30
|
__isFragment?: never;
|
|
79
31
|
__isTeleport?: never;
|
|
80
32
|
__isSuspense?: never;
|
|
81
|
-
} & ComponentOptionsBase<Readonly<
|
|
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
|
-
}>> & {
|
|
33
|
+
} & ComponentOptionsBase<Readonly< DropdownProps & {
|
|
98
34
|
onMenuEvent?: ((...args: any[]) => any) | undefined;
|
|
99
|
-
}
|
|
35
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
100
36
|
menuEvent: (...args: any[]) => void;
|
|
101
37
|
}, string, {
|
|
102
38
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
103
39
|
selectedKeys: string[];
|
|
104
40
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
105
|
-
}, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
41
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
106
42
|
$slots: {
|
|
107
43
|
default?(_: {}): any;
|
|
108
44
|
};
|
|
@@ -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,
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, 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<{}>, 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) => UnwrapRefSimple<RecordType>;
|
|
11
|
-
getRowsData: () => UnwrapRefSimple<RecordType>[];
|
|
10
|
+
getRowData: (index: number) => RecordType | UnwrapRefSimple<RecordType>;
|
|
11
|
+
getRowsData: () => RecordType[] | 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,21 +2,20 @@ 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,
|
|
6
|
-
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
7
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<{
|
|
8
7
|
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
8
|
+
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<{
|
|
9
10
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}
|
|
11
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
|
|
11
|
+
}>, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
|
|
13
12
|
expose(exposed: ShallowUnwrapRef<{
|
|
14
13
|
resetFields: () => void;
|
|
15
14
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
16
15
|
add: (defaultValue?: Partial<RecordType>, insertIndex?: number) => void;
|
|
17
16
|
remove: (index: number | number[]) => void;
|
|
18
|
-
getRowData: (index: number) =>
|
|
19
|
-
getRowsData: () =>
|
|
17
|
+
getRowData: (index: number) => RecordType;
|
|
18
|
+
getRowsData: () => RecordType[];
|
|
20
19
|
setRowData: (index: number, payload: any) => void;
|
|
21
20
|
addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
|
|
22
21
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import { Recordable } from '../type';
|
|
2
|
-
import { Ref, UnwrapRef } from 'vue';
|
|
3
3
|
type Options = {
|
|
4
4
|
defaultValue?: any;
|
|
5
5
|
defaultValuePropName?: string;
|
|
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<
|
|
9
|
+
value: Ref<ValueType, ValueType>;
|
|
10
10
|
updateValue: (newValue: any) => void;
|
|
11
11
|
};
|
|
12
12
|
export {};
|
|
@@ -1,34 +1,8 @@
|
|
|
1
1
|
import { IconProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
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
|
-
}>>>, {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconProps & {}>, {
|
|
12
4
|
size: string | number;
|
|
13
5
|
prefix: string;
|
|
14
6
|
spin: boolean;
|
|
15
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
16
8
|
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
|
-
};
|