@aplus-frontend/ui 0.0.1-beta.16 → 0.0.1-beta.17
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.d.ts +7 -7
- package/es/src/ap-action/group/index.vue.d.ts +35 -35
- package/es/src/ap-action/index.d.ts +9 -9
- package/es/src/ap-action/interface.d.ts +80 -80
- package/es/src/ap-action/item/index.vue.d.ts +42 -42
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +54 -54
- package/es/src/ap-action/item-modal/index.vue.d.ts +38 -38
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +332 -332
- package/es/src/ap-custom-column/column-select.vue.d.ts +16 -16
- package/es/src/ap-custom-column/custom-column.vue.d.ts +16 -16
- package/es/src/ap-custom-column/index.d.ts +5 -5
- package/es/src/ap-custom-column/interfaces.d.ts +40 -40
- package/es/src/ap-custom-column/storage.d.ts +8 -8
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +9 -9
- package/es/src/ap-custom-column/utils.d.ts +2 -2
- package/es/src/ap-field/checkbox/helper.d.ts +3 -3
- package/es/src/ap-field/checkbox/index.vue.d.ts +36 -36
- package/es/src/ap-field/date/constant.d.ts +9 -9
- package/es/src/ap-field/date/helper.d.ts +3 -3
- package/es/src/ap-field/date/index.vue.d.ts +54 -54
- package/es/src/ap-field/date/interface.d.ts +2 -2
- package/es/src/ap-field/date-range/index.vue.d.ts +56 -56
- package/es/src/ap-field/index.d.ts +15 -15
- package/es/src/ap-field/interface.d.ts +86 -86
- package/es/src/ap-field/number/helper.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +69 -69
- package/es/src/ap-field/radio/helper.d.ts +3 -3
- package/es/src/ap-field/radio/index.vue.d.ts +38 -38
- package/es/src/ap-field/select/index.vue.d.ts +226 -226
- package/es/src/ap-field/switch/index.vue.d.ts +52 -52
- package/es/src/ap-field/text/index.vue.d.ts +63 -63
- package/es/src/ap-field/text-area/index.vue.d.ts +46 -46
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +17 -17
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +41 -41
- package/es/src/ap-form/ap-form-item.vue.d.ts +66 -66
- package/es/src/ap-form/ap-form-list.vue.d.ts +33 -33
- package/es/src/ap-form/ap-form.vue.d.ts +63 -63
- package/es/src/ap-form/constant.d.ts +2 -2
- package/es/src/ap-form/context.d.ts +9 -9
- package/es/src/ap-form/index.d.ts +11 -11
- package/es/src/ap-form/interface.d.ts +46 -46
- package/es/src/ap-form/items/date/index.vue.d.ts +62 -62
- package/es/src/ap-form/items/date-range/index.vue.d.ts +61 -61
- package/es/src/ap-form/items/index.d.ts +2 -2
- package/es/src/ap-form/items/interface.d.ts +39 -39
- package/es/src/ap-form/items/number/index.vue.d.ts +60 -60
- package/es/src/ap-form/items/radio/index.vue.d.ts +47 -47
- package/es/src/ap-form/items/select/index.vue.d.ts +66 -66
- package/es/src/ap-form/items/switch/index.vue.d.ts +57 -57
- package/es/src/ap-form/items/text/index.vue.d.ts +62 -62
- package/es/src/ap-form/items/text-area/index.vue.d.ts +48 -48
- package/es/src/ap-form/search-form/index.vue.d.ts +73 -73
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +32 -32
- package/es/src/ap-tag/ap-tag.vue.d.ts +32 -32
- package/es/src/ap-tag/index.d.ts +3 -3
- package/es/src/ap-tag/interface.d.ts +35 -35
- package/es/src/ap-upload/apUpload.vue.d.ts +109 -109
- package/es/src/ap-upload/apUploadTypes.d.ts +89 -89
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +3 -3
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/hooks/useOss.d.ts +18 -18
- package/es/src/ap-upload/index.d.ts +4 -4
- package/es/src/ap-upload/utils/accept.d.ts +13 -13
- package/es/src/ap-upload/utils/returnData.d.ts +19 -19
- package/es/src/base-button/button.vue.d.ts +34 -34
- package/es/src/base-button/constants.d.ts +25 -25
- package/es/src/base-button/index.d.ts +134 -134
- package/es/src/base-button/interface.d.ts +15 -15
- package/es/src/base-button/modal-button.vue.d.ts +25 -25
- package/es/src/base-button/pop-confirm-button.vue.d.ts +16 -16
- package/es/src/basic/arrow.vue.d.ts +12 -12
- package/es/src/basic/help.vue.d.ts +103 -103
- package/es/src/basic/index.d.ts +276 -276
- package/es/src/basic/interface.d.ts +20 -20
- package/es/src/basic/title.vue.d.ts +33 -33
- package/es/src/button/__tests__/button.test.d.ts +1 -1
- package/es/src/button/index.d.ts +50 -50
- package/es/src/config-provider/config-provider-props.d.ts +143 -143
- package/es/src/config-provider/config-provider.d.ts +312 -312
- package/es/src/config-provider/constants.d.ts +27 -27
- package/es/src/config-provider/hooks/use-global-config.d.ts +142 -142
- package/es/src/config-provider/hooks/use-locale.d.ts +13 -13
- package/es/src/config-provider/hooks/use-namespace.d.ts +23 -23
- package/es/src/config-provider/index.d.ts +680 -680
- package/es/src/container/collapse/header.vue.d.ts +35 -35
- package/es/src/container/collapse/index.vue.d.ts +120 -120
- package/es/src/container/index.d.ts +177 -177
- package/es/src/container/interface.d.ts +18 -18
- package/es/src/container/scroll-container.vue.d.ts +22 -22
- package/es/src/count-down/button.vue.d.ts +26 -26
- package/es/src/count-down/index.d.ts +149 -149
- package/es/src/count-down/input.vue.d.ts +31 -31
- package/es/src/count-down/interface.d.ts +12 -12
- package/es/src/cropper/cropper-avatar.vue.d.ts +44 -44
- package/es/src/cropper/cropper-image.vue.d.ts +49 -49
- package/es/src/cropper/cropper-modal.vue.d.ts +46 -46
- package/es/src/cropper/index.d.ts +366 -366
- package/es/src/cropper/interface.d.ts +29 -29
- package/es/src/description/description.vue.d.ts +93 -93
- package/es/src/description/index.d.ts +211 -211
- package/es/src/description/interface.d.ts +37 -37
- package/es/src/description/use-description.d.ts +2 -2
- package/es/src/design-token/index.d.ts +3 -3
- package/es/src/dropdown/dropdown.vue.d.ts +43 -43
- package/es/src/dropdown/index.d.ts +110 -110
- package/es/src/dropdown/interface.d.ts +16 -16
- package/es/src/hooks/index.d.ts +2 -2
- package/es/src/hooks/useControllableValue.d.ts +11 -11
- package/es/src/hooks/useMessage.d.ts +59 -59
- package/es/src/icon/icon.vue.d.ts +32 -32
- package/es/src/icon/index.d.ts +207 -207
- package/es/src/icon/interface.d.ts +28 -28
- package/es/src/icon/svg-icon.vue.d.ts +32 -32
- package/es/src/icon-picker/data.d.ts +5 -5
- package/es/src/icon-picker/icon-picker.vue.d.ts +50 -50
- package/es/src/icon-picker/index.d.ts +189 -189
- package/es/src/icon-picker/interface.d.ts +13 -13
- package/es/src/index.d.ts +25 -25
- package/es/src/locale/index.d.ts +3 -3
- package/es/src/locale/interface.d.ts +8 -8
- package/es/src/locale/lang/en.d.ts +3 -3
- package/es/src/locale/lang/zh-cn.d.ts +3 -3
- package/es/src/modal/basic.vue.d.ts +459 -459
- package/es/src/modal/components/modal-close.vue.d.ts +32 -32
- package/es/src/modal/components/modal-footer.vue.d.ts +451 -451
- package/es/src/modal/components/modal-header.vue.d.ts +12 -12
- package/es/src/modal/components/modal-wrapper.vue.d.ts +101 -101
- package/es/src/modal/components/modal.d.ts +437 -437
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +11 -11
- package/es/src/modal/hooks/use-modal-context.d.ts +7 -7
- package/es/src/modal/hooks/use-modal-drag.d.ts +7 -7
- package/es/src/modal/hooks/use-modal.d.ts +6 -6
- package/es/src/modal/index.d.ts +957 -957
- package/es/src/modal/interface.d.ts +180 -180
- package/es/src/modal/props.d.ts +277 -277
- package/es/src/pro-form/component-map.d.ts +5 -5
- package/es/src/pro-form/components/api-cascader.vue.d.ts +50 -50
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +49 -49
- package/es/src/pro-form/components/api-select.vue.d.ts +71 -71
- package/es/src/pro-form/components/api-transfer.vue.d.ts +53 -53
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +55 -55
- package/es/src/pro-form/components/api-tree.vue.d.ts +43 -43
- package/es/src/pro-form/components/form-action.vue.d.ts +58 -58
- package/es/src/pro-form/components/form-item.vue.d.ts +70 -70
- package/es/src/pro-form/components/interface.d.ts +113 -113
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +26 -26
- package/es/src/pro-form/helper.d.ts +9 -9
- package/es/src/pro-form/hooks/use-advanced.d.ts +14 -14
- package/es/src/pro-form/hooks/use-auto-focus.d.ts +9 -9
- package/es/src/pro-form/hooks/use-break-point.d.ts +23 -23
- package/es/src/pro-form/hooks/use-component-register.d.ts +2 -2
- package/es/src/pro-form/hooks/use-form-context.d.ts +8 -8
- package/es/src/pro-form/hooks/use-form-events.d.ts +26 -26
- package/es/src/pro-form/hooks/use-form-item.d.ts +2 -2
- package/es/src/pro-form/hooks/use-form-values.d.ts +12 -12
- package/es/src/pro-form/hooks/use-form.d.ts +8 -8
- package/es/src/pro-form/hooks/use-label-width.d.ts +309 -309
- package/es/src/pro-form/index.d.ts +17 -17
- package/es/src/pro-form/interface.d.ts +4 -4
- package/es/src/pro-form/pro-form.vue.d.ts +106 -106
- package/es/src/pro-form/types/form-item.d.ts +80 -80
- package/es/src/pro-form/types/form.d.ts +147 -147
- package/es/src/pro-form/types/index.d.ts +158 -158
- package/es/src/pro-table/component-map.d.ts +6 -6
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +21 -21
- package/es/src/pro-table/components/editable/cell-component.d.ts +11 -11
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +80 -80
- package/es/src/pro-table/components/editable/helper.d.ts +5 -5
- package/es/src/pro-table/components/editable/index.d.ts +21 -21
- package/es/src/pro-table/components/header-cell.vue.d.ts +15 -15
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +7 -7
- 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 +19 -19
- 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 +56 -56
- package/es/src/pro-table/components/table-footer.vue.d.ts +42 -42
- package/es/src/pro-table/components/table-header.vue.d.ts +71 -71
- package/es/src/pro-table/components/table-image.vue.d.ts +47 -47
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +32 -32
- package/es/src/pro-table/components/table-title.vue.d.ts +23 -23
- package/es/src/pro-table/const.d.ts +6 -6
- package/es/src/pro-table/directives/click-outside.d.ts +3 -3
- package/es/src/pro-table/helper.d.ts +3 -3
- package/es/src/pro-table/hooks/use-columns.d.ts +12 -12
- package/es/src/pro-table/hooks/use-custom-row.d.ts +18 -18
- package/es/src/pro-table/hooks/use-data-source.d.ts +26 -26
- package/es/src/pro-table/hooks/use-loading.d.ts +5 -5
- package/es/src/pro-table/hooks/use-pagination.d.ts +8 -8
- package/es/src/pro-table/hooks/use-row-selection.d.ts +11 -11
- package/es/src/pro-table/hooks/use-scroll-to.d.ts +4 -4
- package/es/src/pro-table/hooks/use-table-context.d.ts +11 -11
- package/es/src/pro-table/hooks/use-table-expand.d.ts +16 -16
- package/es/src/pro-table/hooks/use-table-footer.d.ts +4 -4
- package/es/src/pro-table/hooks/use-table-form.d.ts +7 -7
- package/es/src/pro-table/hooks/use-table-header.d.ts +4 -4
- package/es/src/pro-table/hooks/use-table-scroll.d.ts +10 -10
- package/es/src/pro-table/hooks/use-table-style.d.ts +4 -4
- package/es/src/pro-table/hooks/use-table.d.ts +15 -15
- package/es/src/pro-table/index.d.ts +10 -10
- package/es/src/pro-table/interface.d.ts +62 -62
- package/es/src/pro-table/pro-table.vue.d.ts +162 -162
- package/es/src/pro-table/types/pagination.d.ts +92 -92
- package/es/src/pro-table/types/table-action.d.ts +22 -22
- package/es/src/pro-table/types/table.d.ts +376 -376
- package/es/src/prompt/dialog.vue.d.ts +12 -12
- package/es/src/prompt/index.d.ts +9 -9
- package/es/src/prompt/interface.d.ts +22 -22
- package/es/src/prompt/utils.d.ts +9 -9
- package/es/src/scroll-bar/bar-item.d.ts +15 -15
- package/es/src/scroll-bar/index.d.ts +174 -174
- package/es/src/scroll-bar/interface.d.ts +31 -31
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +50 -50
- package/es/src/scroll-bar/utils.d.ts +9 -9
- package/es/src/strength-meter/index.d.ts +88 -88
- package/es/src/strength-meter/interface.d.ts +5 -5
- package/es/src/strength-meter/strength-meter.vue.d.ts +37 -37
- package/es/src/transition/collapse-transition.vue.d.ts +10 -10
- package/es/src/transition/create-transition.d.ts +47 -47
- package/es/src/transition/expand-transition.d.ts +19 -19
- package/es/src/transition/index.d.ts +368 -368
- package/es/src/type.d.ts +29 -29
- package/es/src/utils/copy-text-to-clipboard.d.ts +1 -1
- package/es/src/utils/index.d.ts +14 -14
- package/es/src/utils/slot.d.ts +15 -15
- package/es/src/utils/tree.d.ts +38 -38
- package/es/src/utils/uuid.d.ts +2 -2
- package/lib/index.d.ts +7 -7
- package/lib/src/ap-action/group/index.vue.d.ts +35 -35
- package/lib/src/ap-action/index.d.ts +9 -9
- package/lib/src/ap-action/interface.d.ts +80 -80
- package/lib/src/ap-action/item/index.vue.d.ts +42 -42
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +54 -54
- package/lib/src/ap-action/item-modal/index.vue.d.ts +38 -38
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +332 -332
- package/lib/src/ap-custom-column/column-select.vue.d.ts +16 -16
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +16 -16
- package/lib/src/ap-custom-column/index.d.ts +5 -5
- package/lib/src/ap-custom-column/interfaces.d.ts +40 -40
- package/lib/src/ap-custom-column/storage.d.ts +8 -8
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +9 -9
- package/lib/src/ap-custom-column/utils.d.ts +2 -2
- package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
- package/lib/src/ap-field/checkbox/index.vue.d.ts +36 -36
- package/lib/src/ap-field/date/constant.d.ts +9 -9
- package/lib/src/ap-field/date/helper.d.ts +3 -3
- package/lib/src/ap-field/date/index.vue.d.ts +54 -54
- package/lib/src/ap-field/date/interface.d.ts +2 -2
- package/lib/src/ap-field/date-range/index.vue.d.ts +56 -56
- package/lib/src/ap-field/index.d.ts +15 -15
- package/lib/src/ap-field/interface.d.ts +86 -86
- package/lib/src/ap-field/number/helper.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +69 -69
- package/lib/src/ap-field/radio/helper.d.ts +3 -3
- package/lib/src/ap-field/radio/index.vue.d.ts +38 -38
- package/lib/src/ap-field/select/index.vue.d.ts +226 -226
- package/lib/src/ap-field/switch/index.vue.d.ts +52 -52
- package/lib/src/ap-field/text/index.vue.d.ts +63 -63
- package/lib/src/ap-field/text-area/index.vue.d.ts +46 -46
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +17 -17
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +41 -41
- package/lib/src/ap-form/ap-form-item.vue.d.ts +66 -66
- package/lib/src/ap-form/ap-form-list.vue.d.ts +33 -33
- package/lib/src/ap-form/ap-form.vue.d.ts +63 -63
- package/lib/src/ap-form/constant.d.ts +2 -2
- package/lib/src/ap-form/context.d.ts +9 -9
- package/lib/src/ap-form/index.d.ts +11 -11
- package/lib/src/ap-form/interface.d.ts +46 -46
- package/lib/src/ap-form/items/date/index.vue.d.ts +62 -62
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +61 -61
- package/lib/src/ap-form/items/index.d.ts +2 -2
- package/lib/src/ap-form/items/interface.d.ts +39 -39
- package/lib/src/ap-form/items/number/index.vue.d.ts +60 -60
- package/lib/src/ap-form/items/radio/index.vue.d.ts +47 -47
- package/lib/src/ap-form/items/select/index.vue.d.ts +66 -66
- package/lib/src/ap-form/items/switch/index.vue.d.ts +57 -57
- package/lib/src/ap-form/items/text/index.vue.d.ts +62 -62
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +48 -48
- package/lib/src/ap-form/search-form/index.vue.d.ts +73 -73
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +32 -32
- package/lib/src/ap-tag/ap-tag.vue.d.ts +32 -32
- package/lib/src/ap-tag/index.d.ts +3 -3
- package/lib/src/ap-tag/interface.d.ts +35 -35
- package/lib/src/ap-upload/apUpload.vue.d.ts +109 -109
- package/lib/src/ap-upload/apUploadTypes.d.ts +89 -89
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/hooks/useOss.d.ts +18 -18
- package/lib/src/ap-upload/index.d.ts +4 -4
- package/lib/src/ap-upload/utils/accept.d.ts +13 -13
- package/lib/src/ap-upload/utils/returnData.d.ts +19 -19
- package/lib/src/base-button/button.vue.d.ts +34 -34
- package/lib/src/base-button/constants.d.ts +25 -25
- package/lib/src/base-button/index.d.ts +134 -134
- package/lib/src/base-button/interface.d.ts +15 -15
- package/lib/src/base-button/modal-button.vue.d.ts +25 -25
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +16 -16
- package/lib/src/basic/arrow.vue.d.ts +12 -12
- package/lib/src/basic/help.vue.d.ts +103 -103
- package/lib/src/basic/index.d.ts +276 -276
- package/lib/src/basic/interface.d.ts +20 -20
- package/lib/src/basic/title.vue.d.ts +33 -33
- package/lib/src/button/__tests__/button.test.d.ts +1 -1
- package/lib/src/button/index.d.ts +50 -50
- package/lib/src/config-provider/config-provider-props.d.ts +143 -143
- package/lib/src/config-provider/config-provider.d.ts +312 -312
- package/lib/src/config-provider/constants.d.ts +27 -27
- package/lib/src/config-provider/hooks/use-global-config.d.ts +142 -142
- package/lib/src/config-provider/hooks/use-locale.d.ts +13 -13
- package/lib/src/config-provider/hooks/use-namespace.d.ts +23 -23
- package/lib/src/config-provider/index.d.ts +680 -680
- package/lib/src/container/collapse/header.vue.d.ts +35 -35
- package/lib/src/container/collapse/index.vue.d.ts +120 -120
- package/lib/src/container/index.d.ts +177 -177
- package/lib/src/container/interface.d.ts +18 -18
- package/lib/src/container/scroll-container.vue.d.ts +22 -22
- package/lib/src/count-down/button.vue.d.ts +26 -26
- package/lib/src/count-down/index.d.ts +149 -149
- package/lib/src/count-down/input.vue.d.ts +31 -31
- package/lib/src/count-down/interface.d.ts +12 -12
- package/lib/src/cropper/cropper-avatar.vue.d.ts +44 -44
- package/lib/src/cropper/cropper-image.vue.d.ts +49 -49
- package/lib/src/cropper/cropper-modal.vue.d.ts +46 -46
- package/lib/src/cropper/index.d.ts +366 -366
- package/lib/src/cropper/interface.d.ts +29 -29
- package/lib/src/description/description.vue.d.ts +93 -93
- package/lib/src/description/index.d.ts +211 -211
- package/lib/src/description/interface.d.ts +37 -37
- package/lib/src/description/use-description.d.ts +2 -2
- package/lib/src/design-token/index.d.ts +3 -3
- package/lib/src/dropdown/dropdown.vue.d.ts +43 -43
- package/lib/src/dropdown/index.d.ts +110 -110
- package/lib/src/dropdown/interface.d.ts +16 -16
- package/lib/src/hooks/index.d.ts +2 -2
- package/lib/src/hooks/useControllableValue.d.ts +11 -11
- package/lib/src/hooks/useMessage.d.ts +59 -59
- package/lib/src/icon/icon.vue.d.ts +32 -32
- package/lib/src/icon/index.d.ts +207 -207
- package/lib/src/icon/interface.d.ts +28 -28
- package/lib/src/icon/svg-icon.vue.d.ts +32 -32
- package/lib/src/icon-picker/data.d.ts +5 -5
- package/lib/src/icon-picker/icon-picker.vue.d.ts +50 -50
- package/lib/src/icon-picker/index.d.ts +189 -189
- package/lib/src/icon-picker/interface.d.ts +13 -13
- package/lib/src/index.d.ts +25 -25
- package/lib/src/locale/index.d.ts +3 -3
- package/lib/src/locale/interface.d.ts +8 -8
- package/lib/src/locale/lang/en.d.ts +3 -3
- package/lib/src/locale/lang/zh-cn.d.ts +3 -3
- package/lib/src/modal/basic.vue.d.ts +459 -459
- package/lib/src/modal/components/modal-close.vue.d.ts +32 -32
- package/lib/src/modal/components/modal-footer.vue.d.ts +451 -451
- package/lib/src/modal/components/modal-header.vue.d.ts +12 -12
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +101 -101
- package/lib/src/modal/components/modal.d.ts +437 -437
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +11 -11
- package/lib/src/modal/hooks/use-modal-context.d.ts +7 -7
- package/lib/src/modal/hooks/use-modal-drag.d.ts +7 -7
- package/lib/src/modal/hooks/use-modal.d.ts +6 -6
- package/lib/src/modal/index.d.ts +957 -957
- package/lib/src/modal/interface.d.ts +180 -180
- package/lib/src/modal/props.d.ts +277 -277
- package/lib/src/pro-form/component-map.d.ts +5 -5
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +50 -50
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +49 -49
- package/lib/src/pro-form/components/api-select.vue.d.ts +71 -71
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +53 -53
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +55 -55
- package/lib/src/pro-form/components/api-tree.vue.d.ts +43 -43
- package/lib/src/pro-form/components/form-action.vue.d.ts +58 -58
- package/lib/src/pro-form/components/form-item.vue.d.ts +70 -70
- package/lib/src/pro-form/components/interface.d.ts +113 -113
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +26 -26
- package/lib/src/pro-form/helper.d.ts +9 -9
- package/lib/src/pro-form/hooks/use-advanced.d.ts +14 -14
- package/lib/src/pro-form/hooks/use-auto-focus.d.ts +9 -9
- package/lib/src/pro-form/hooks/use-break-point.d.ts +23 -23
- package/lib/src/pro-form/hooks/use-component-register.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-form-context.d.ts +8 -8
- package/lib/src/pro-form/hooks/use-form-events.d.ts +26 -26
- package/lib/src/pro-form/hooks/use-form-item.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-form-values.d.ts +12 -12
- package/lib/src/pro-form/hooks/use-form.d.ts +8 -8
- package/lib/src/pro-form/hooks/use-label-width.d.ts +309 -309
- package/lib/src/pro-form/index.d.ts +17 -17
- package/lib/src/pro-form/interface.d.ts +4 -4
- package/lib/src/pro-form/pro-form.vue.d.ts +106 -106
- package/lib/src/pro-form/types/form-item.d.ts +80 -80
- package/lib/src/pro-form/types/form.d.ts +147 -147
- package/lib/src/pro-form/types/index.d.ts +158 -158
- package/lib/src/pro-table/component-map.d.ts +6 -6
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +21 -21
- package/lib/src/pro-table/components/editable/cell-component.d.ts +11 -11
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +80 -80
- package/lib/src/pro-table/components/editable/helper.d.ts +5 -5
- package/lib/src/pro-table/components/editable/index.d.ts +21 -21
- package/lib/src/pro-table/components/header-cell.vue.d.ts +15 -15
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +7 -7
- 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 +19 -19
- 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 +56 -56
- package/lib/src/pro-table/components/table-footer.vue.d.ts +42 -42
- package/lib/src/pro-table/components/table-header.vue.d.ts +71 -71
- package/lib/src/pro-table/components/table-image.vue.d.ts +47 -47
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +32 -32
- package/lib/src/pro-table/components/table-title.vue.d.ts +23 -23
- package/lib/src/pro-table/const.d.ts +6 -6
- package/lib/src/pro-table/directives/click-outside.d.ts +3 -3
- package/lib/src/pro-table/helper.d.ts +3 -3
- package/lib/src/pro-table/hooks/use-columns.d.ts +12 -12
- package/lib/src/pro-table/hooks/use-custom-row.d.ts +18 -18
- package/lib/src/pro-table/hooks/use-data-source.d.ts +26 -26
- package/lib/src/pro-table/hooks/use-loading.d.ts +5 -5
- package/lib/src/pro-table/hooks/use-pagination.d.ts +8 -8
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +11 -11
- package/lib/src/pro-table/hooks/use-scroll-to.d.ts +4 -4
- package/lib/src/pro-table/hooks/use-table-context.d.ts +11 -11
- package/lib/src/pro-table/hooks/use-table-expand.d.ts +16 -16
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +4 -4
- package/lib/src/pro-table/hooks/use-table-form.d.ts +7 -7
- package/lib/src/pro-table/hooks/use-table-header.d.ts +4 -4
- package/lib/src/pro-table/hooks/use-table-scroll.d.ts +10 -10
- package/lib/src/pro-table/hooks/use-table-style.d.ts +4 -4
- package/lib/src/pro-table/hooks/use-table.d.ts +15 -15
- package/lib/src/pro-table/index.d.ts +10 -10
- package/lib/src/pro-table/interface.d.ts +62 -62
- package/lib/src/pro-table/pro-table.vue.d.ts +162 -162
- package/lib/src/pro-table/types/pagination.d.ts +92 -92
- package/lib/src/pro-table/types/table-action.d.ts +22 -22
- package/lib/src/pro-table/types/table.d.ts +376 -376
- package/lib/src/prompt/dialog.vue.d.ts +12 -12
- package/lib/src/prompt/index.d.ts +9 -9
- package/lib/src/prompt/interface.d.ts +22 -22
- package/lib/src/prompt/utils.d.ts +9 -9
- package/lib/src/scroll-bar/bar-item.d.ts +15 -15
- package/lib/src/scroll-bar/index.d.ts +174 -174
- package/lib/src/scroll-bar/interface.d.ts +31 -31
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +50 -50
- package/lib/src/scroll-bar/utils.d.ts +9 -9
- package/lib/src/strength-meter/index.d.ts +88 -88
- package/lib/src/strength-meter/interface.d.ts +5 -5
- package/lib/src/strength-meter/strength-meter.vue.d.ts +37 -37
- package/lib/src/transition/collapse-transition.vue.d.ts +10 -10
- package/lib/src/transition/create-transition.d.ts +47 -47
- package/lib/src/transition/expand-transition.d.ts +19 -19
- package/lib/src/transition/index.d.ts +368 -368
- package/lib/src/type.d.ts +29 -29
- package/lib/src/utils/copy-text-to-clipboard.d.ts +1 -1
- package/lib/src/utils/index.d.ts +14 -14
- package/lib/src/utils/slot.d.ts +15 -15
- package/lib/src/utils/tree.d.ts +38 -38
- package/lib/src/utils/uuid.d.ts +2 -2
- package/package.json +5 -3
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { TableSetting } from '../types/table';
|
|
2
2
|
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
5
|
-
title: {
|
|
6
|
-
type: PropType<string | ((data: any) => string)>;
|
|
7
|
-
};
|
|
8
|
-
tableSetting: {
|
|
9
|
-
type: PropType<TableSetting>;
|
|
10
|
-
};
|
|
11
|
-
showTableSetting: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
};
|
|
14
|
-
titleHelpMessage: {
|
|
15
|
-
type: PropType<string | string[]>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
clearSelectedRowKeys: {
|
|
19
|
-
type: PropType<() => void>;
|
|
20
|
-
};
|
|
21
|
-
count: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
showSelectionBar: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
30
|
-
"columns-change": (...args: any[]) => void;
|
|
31
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
32
|
-
title: {
|
|
33
|
-
type: PropType<string | ((data: any) => string)>;
|
|
34
|
-
};
|
|
35
|
-
tableSetting: {
|
|
36
|
-
type: PropType<TableSetting>;
|
|
37
|
-
};
|
|
38
|
-
showTableSetting: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
};
|
|
41
|
-
titleHelpMessage: {
|
|
42
|
-
type: PropType<string | string[]>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
clearSelectedRowKeys: {
|
|
46
|
-
type: PropType<() => void>;
|
|
47
|
-
};
|
|
48
|
-
count: {
|
|
49
|
-
type: NumberConstructor;
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
showSelectionBar: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
}>> & {
|
|
57
|
-
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
count: number;
|
|
60
|
-
showTableSetting: boolean;
|
|
61
|
-
titleHelpMessage: string | string[];
|
|
62
|
-
showSelectionBar: boolean;
|
|
63
|
-
}, {}>, {
|
|
64
|
-
headerTop?(_: {}): any;
|
|
65
|
-
tableTitle?(_: {}): any;
|
|
66
|
-
toolbar?(_: {}): any;
|
|
67
|
-
}>;
|
|
68
|
-
export default _default;
|
|
69
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
-
new (): {
|
|
71
|
-
$slots: S;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
5
|
+
title: {
|
|
6
|
+
type: PropType<string | ((data: any) => string)>;
|
|
7
|
+
};
|
|
8
|
+
tableSetting: {
|
|
9
|
+
type: PropType<TableSetting>;
|
|
10
|
+
};
|
|
11
|
+
showTableSetting: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
titleHelpMessage: {
|
|
15
|
+
type: PropType<string | string[]>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
clearSelectedRowKeys: {
|
|
19
|
+
type: PropType<() => void>;
|
|
20
|
+
};
|
|
21
|
+
count: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
showSelectionBar: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
30
|
+
"columns-change": (...args: any[]) => void;
|
|
31
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
32
|
+
title: {
|
|
33
|
+
type: PropType<string | ((data: any) => string)>;
|
|
34
|
+
};
|
|
35
|
+
tableSetting: {
|
|
36
|
+
type: PropType<TableSetting>;
|
|
37
|
+
};
|
|
38
|
+
showTableSetting: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
};
|
|
41
|
+
titleHelpMessage: {
|
|
42
|
+
type: PropType<string | string[]>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
clearSelectedRowKeys: {
|
|
46
|
+
type: PropType<() => void>;
|
|
47
|
+
};
|
|
48
|
+
count: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
showSelectionBar: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}>> & {
|
|
57
|
+
"onColumns-change"?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
count: number;
|
|
60
|
+
showTableSetting: boolean;
|
|
61
|
+
titleHelpMessage: string | string[];
|
|
62
|
+
showSelectionBar: boolean;
|
|
63
|
+
}, {}>, {
|
|
64
|
+
headerTop?(_: {}): any;
|
|
65
|
+
tableTitle?(_: {}): any;
|
|
66
|
+
toolbar?(_: {}): any;
|
|
67
|
+
}>;
|
|
68
|
+
export default _default;
|
|
69
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
type TableImageProps = {
|
|
4
|
-
imgList?: string[];
|
|
5
|
-
size?: number;
|
|
6
|
-
simpleShow?: boolean;
|
|
7
|
-
showBadge?: boolean;
|
|
8
|
-
margin?: number;
|
|
9
|
-
srcPrefix?: string;
|
|
10
|
-
fallback?: string;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
|
|
13
|
-
size: number;
|
|
14
|
-
showBadge: boolean;
|
|
15
|
-
margin: number;
|
|
16
|
-
srcPrefix: string;
|
|
17
|
-
fallback: string;
|
|
18
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
|
|
19
|
-
size: number;
|
|
20
|
-
showBadge: boolean;
|
|
21
|
-
margin: number;
|
|
22
|
-
srcPrefix: string;
|
|
23
|
-
fallback: string;
|
|
24
|
-
}>>>, {
|
|
25
|
-
size: number;
|
|
26
|
-
margin: number;
|
|
27
|
-
showBadge: boolean;
|
|
28
|
-
srcPrefix: string;
|
|
29
|
-
fallback: string;
|
|
30
|
-
}, {}>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
|
-
type __VLS_Prettify<T> = {
|
|
47
|
-
[K in keyof T]: T[K];
|
|
48
|
-
} & {};
|
|
2
|
+
|
|
3
|
+
type TableImageProps = {
|
|
4
|
+
imgList?: string[];
|
|
5
|
+
size?: number;
|
|
6
|
+
simpleShow?: boolean;
|
|
7
|
+
showBadge?: boolean;
|
|
8
|
+
margin?: number;
|
|
9
|
+
srcPrefix?: string;
|
|
10
|
+
fallback?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
|
|
13
|
+
size: number;
|
|
14
|
+
showBadge: boolean;
|
|
15
|
+
margin: number;
|
|
16
|
+
srcPrefix: string;
|
|
17
|
+
fallback: string;
|
|
18
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
|
|
19
|
+
size: number;
|
|
20
|
+
showBadge: boolean;
|
|
21
|
+
margin: number;
|
|
22
|
+
srcPrefix: string;
|
|
23
|
+
fallback: string;
|
|
24
|
+
}>>>, {
|
|
25
|
+
size: number;
|
|
26
|
+
margin: number;
|
|
27
|
+
showBadge: boolean;
|
|
28
|
+
srcPrefix: string;
|
|
29
|
+
fallback: string;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { TableActionType } from '../types/table';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
count?: number | undefined;
|
|
6
|
-
clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
|
|
7
|
-
}>, {
|
|
8
|
-
count: () => 0;
|
|
9
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
count?: number | undefined;
|
|
11
|
-
clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
|
|
12
|
-
}>, {
|
|
13
|
-
count: () => 0;
|
|
14
|
-
}>>>, {
|
|
15
|
-
count: number;
|
|
16
|
-
}, {}>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
}> : P[K];
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Prettify<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
count?: number | undefined;
|
|
6
|
+
clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
|
|
7
|
+
}>, {
|
|
8
|
+
count: () => 0;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
count?: number | undefined;
|
|
11
|
+
clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
|
|
12
|
+
}>, {
|
|
13
|
+
count: () => 0;
|
|
14
|
+
}>>>, {
|
|
15
|
+
count: number;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const _default: DefineComponent<{
|
|
4
|
-
title: {
|
|
5
|
-
type: PropType<string | ((data: any) => string)>;
|
|
6
|
-
};
|
|
7
|
-
getSelectRows: {
|
|
8
|
-
type: PropType<() => any[]>;
|
|
9
|
-
};
|
|
10
|
-
helpMessage: {
|
|
11
|
-
type: PropType<string | string[]>;
|
|
12
|
-
};
|
|
13
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
14
|
-
title: {
|
|
15
|
-
type: PropType<string | ((data: any) => string)>;
|
|
16
|
-
};
|
|
17
|
-
getSelectRows: {
|
|
18
|
-
type: PropType<() => any[]>;
|
|
19
|
-
};
|
|
20
|
-
helpMessage: {
|
|
21
|
-
type: PropType<string | string[]>;
|
|
22
|
-
};
|
|
23
|
-
}>>, {}, {}>;
|
|
24
|
-
export default _default;
|
|
2
|
+
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
title: {
|
|
5
|
+
type: PropType<string | ((data: any) => string)>;
|
|
6
|
+
};
|
|
7
|
+
getSelectRows: {
|
|
8
|
+
type: PropType<() => any[]>;
|
|
9
|
+
};
|
|
10
|
+
helpMessage: {
|
|
11
|
+
type: PropType<string | string[]>;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
14
|
+
title: {
|
|
15
|
+
type: PropType<string | ((data: any) => string)>;
|
|
16
|
+
};
|
|
17
|
+
getSelectRows: {
|
|
18
|
+
type: PropType<() => any[]>;
|
|
19
|
+
};
|
|
20
|
+
helpMessage: {
|
|
21
|
+
type: PropType<string | string[]>;
|
|
22
|
+
};
|
|
23
|
+
}>>, {}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SizeType } from './types/table';
|
|
2
|
-
|
|
3
|
-
export declare const ROW_KEY = "key";
|
|
4
|
-
export declare const DEFAULT_ALIGN = "left";
|
|
5
|
-
export declare const INDEX_COLUMN_FLAG = "INDEX";
|
|
6
|
-
export declare const ACTION_COLUMN_FLAG = "ACTION";
|
|
7
|
-
export declare const formTableDivideSpaceMap: Record<SizeType, number>;
|
|
2
|
+
|
|
3
|
+
export declare const ROW_KEY = "key";
|
|
4
|
+
export declare const DEFAULT_ALIGN = "left";
|
|
5
|
+
export declare const INDEX_COLUMN_FLAG = "INDEX";
|
|
6
|
+
export declare const ACTION_COLUMN_FLAG = "ACTION";
|
|
7
|
+
export declare const formTableDivideSpaceMap: Record<SizeType, number>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ObjectDirective } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const ClickOutside: ObjectDirective;
|
|
4
|
-
export default ClickOutside;
|
|
2
|
+
|
|
3
|
+
declare const ClickOutside: ObjectDirective;
|
|
4
|
+
export default ClickOutside;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BasicTableProps } from './types/table';
|
|
2
|
-
|
|
3
|
-
export declare function parseRowKey<RecordType = any>(rowKey: BasicTableProps['rowKey'], record: RecordType, autoCreateKey?: boolean): number | string;
|
|
4
|
-
export declare function parseRowKeyValue<RecordType = any>(rowKey: BasicTableProps['rowKey'], record: RecordType, autoCreateKey?: boolean): number | string;
|
|
2
|
+
|
|
3
|
+
export declare function parseRowKey<RecordType = any>(rowKey: BasicTableProps['rowKey'], record: RecordType, autoCreateKey?: boolean): number | string;
|
|
4
|
+
export declare function parseRowKeyValue<RecordType = any>(rowKey: BasicTableProps['rowKey'], record: RecordType, autoCreateKey?: boolean): number | string;
|
|
@@ -3,15 +3,15 @@ import { PaginationProps } from '../types/pagination';
|
|
|
3
3
|
import { ComputedRef } from 'vue';
|
|
4
4
|
import { ColumnType } from 'ant-design-vue/es/table';
|
|
5
5
|
import { Recordable } from '../../type';
|
|
6
|
-
|
|
7
|
-
export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps>): {
|
|
8
|
-
getColumnsRef: ComputedRef<BasicColumn[]>;
|
|
9
|
-
getCacheColumns: () => BasicColumn[];
|
|
10
|
-
getColumns: (opt?: GetColumnsParams) => BasicColumn[];
|
|
11
|
-
setColumns: (columnList: Partial<BasicColumn>[] | (string | string[])[]) => void;
|
|
12
|
-
setColumnWidth: (w: number, col: ColumnType<BasicColumn>) => void;
|
|
13
|
-
getViewColumns: ComputedRef<any[]>;
|
|
14
|
-
setCacheColumnsByField: (dataIndex: string | undefined, value: Partial<BasicColumn>) => void;
|
|
15
|
-
setCacheColumns: (columns: BasicColumn[]) => void;
|
|
16
|
-
};
|
|
17
|
-
export declare function formatCell(text: string, format: CellFormat, record: Recordable, index: number): any;
|
|
6
|
+
|
|
7
|
+
export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps>): {
|
|
8
|
+
getColumnsRef: ComputedRef<BasicColumn[]>;
|
|
9
|
+
getCacheColumns: () => BasicColumn[];
|
|
10
|
+
getColumns: (opt?: GetColumnsParams) => BasicColumn[];
|
|
11
|
+
setColumns: (columnList: Partial<BasicColumn>[] | (string | string[])[]) => void;
|
|
12
|
+
setColumnWidth: (w: number, col: ColumnType<BasicColumn>) => void;
|
|
13
|
+
getViewColumns: ComputedRef<any[]>;
|
|
14
|
+
setCacheColumnsByField: (dataIndex: string | undefined, value: Partial<BasicColumn>) => void;
|
|
15
|
+
setCacheColumns: (columns: BasicColumn[]) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare function formatCell(text: string, format: CellFormat, record: Recordable, index: number): any;
|
|
@@ -2,21 +2,21 @@ import { ComputedRef } from 'vue';
|
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
3
|
import { Key } from 'ant-design-vue/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
|
-
|
|
6
|
-
interface Options {
|
|
7
|
-
setSelectedRowKeys: (keyValues: Key[]) => void;
|
|
8
|
-
getSelectRowKeys: () => Key[];
|
|
9
|
-
clearSelectedRowKeys: () => void;
|
|
10
|
-
emit: EmitType;
|
|
11
|
-
getAutoCreateKey: ComputedRef<boolean | undefined>;
|
|
12
|
-
}
|
|
13
|
-
export declare function useCustomRow(propsRef: ComputedRef<BasicTableProps>, { setSelectedRowKeys, getSelectRowKeys, getAutoCreateKey, clearSelectedRowKeys, emit }: Options): {
|
|
14
|
-
customRow: (record: Recordable, index: number) => {
|
|
15
|
-
onClick: (e: Event) => void;
|
|
16
|
-
onDblclick: (event: Event) => void;
|
|
17
|
-
onContextmenu: (event: Event) => void;
|
|
18
|
-
onMouseenter: (event: Event) => void;
|
|
19
|
-
onMouseleave: (event: Event) => void;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export {};
|
|
5
|
+
|
|
6
|
+
interface Options {
|
|
7
|
+
setSelectedRowKeys: (keyValues: Key[]) => void;
|
|
8
|
+
getSelectRowKeys: () => Key[];
|
|
9
|
+
clearSelectedRowKeys: () => void;
|
|
10
|
+
emit: EmitType;
|
|
11
|
+
getAutoCreateKey: ComputedRef<boolean | undefined>;
|
|
12
|
+
}
|
|
13
|
+
export declare function useCustomRow(propsRef: ComputedRef<BasicTableProps>, { setSelectedRowKeys, getSelectRowKeys, getAutoCreateKey, clearSelectedRowKeys, emit }: Options): {
|
|
14
|
+
customRow: (record: Recordable, index: number) => {
|
|
15
|
+
onClick: (e: Event) => void;
|
|
16
|
+
onDblclick: (event: Event) => void;
|
|
17
|
+
onContextmenu: (event: Event) => void;
|
|
18
|
+
onMouseenter: (event: Event) => void;
|
|
19
|
+
onMouseleave: (event: Event) => void;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -4,29 +4,29 @@ import { ComputedRef, Ref } from 'vue';
|
|
|
4
4
|
import { Key } from 'ant-design-vue/lib/table/interface';
|
|
5
5
|
import { EmitType, Recordable } from '../../type';
|
|
6
6
|
import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
|
|
7
|
-
|
|
8
|
-
interface ActionType {
|
|
9
|
-
getPaginationInfo: ComputedRef<boolean | PaginationProps>;
|
|
10
|
-
setPagination: (info: Partial<PaginationProps>) => void;
|
|
11
|
-
setLoading: (loading: boolean) => void;
|
|
12
|
-
getFieldsValue: () => Recordable;
|
|
13
|
-
clearSelectedRowKeys: () => void;
|
|
14
|
-
tableData: Ref<Recordable[]>;
|
|
15
|
-
}
|
|
16
|
-
export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, setLoading, getFieldsValue, clearSelectedRowKeys, tableData }: ActionType, emit: EmitType): {
|
|
17
|
-
getDataSourceRef: ComputedRef<Recordable<any>[]>;
|
|
18
|
-
getDataSource: <T = Recordable<any>>() => T[];
|
|
19
|
-
getRawDataSource: <T_1 = Recordable<any>>() => T_1;
|
|
20
|
-
getRowKey: ComputedRef<string | GetRowKey<any> | undefined>;
|
|
21
|
-
setTableData: <T_2 = Recordable<any>>(values: T_2[]) => void;
|
|
22
|
-
getAutoCreateKey: ComputedRef<boolean | undefined>;
|
|
23
|
-
fetch: (opt?: FetchParams) => Promise<any>;
|
|
24
|
-
reload: (opt?: FetchParams) => Promise<any>;
|
|
25
|
-
updateTableData: (index: number, key: Key, value: any) => Promise<Recordable<any>>;
|
|
26
|
-
updateTableDataRecord: (keyValue: Key, record: Recordable) => Recordable | undefined;
|
|
27
|
-
deleteTableDataRecord: (keyValues: Key | Key[]) => void;
|
|
28
|
-
insertTableDataRecord: (record: Recordable | Recordable[], index?: number) => Recordable[] | undefined;
|
|
29
|
-
findTableDataRecord: (keyValue: Key) => undefined;
|
|
30
|
-
handleTableChange: (pagination: PaginationProps, filters: Partial<Recordable<string[]>>, sorter: SorterResult) => void;
|
|
31
|
-
};
|
|
32
|
-
export {};
|
|
7
|
+
|
|
8
|
+
interface ActionType {
|
|
9
|
+
getPaginationInfo: ComputedRef<boolean | PaginationProps>;
|
|
10
|
+
setPagination: (info: Partial<PaginationProps>) => void;
|
|
11
|
+
setLoading: (loading: boolean) => void;
|
|
12
|
+
getFieldsValue: () => Recordable;
|
|
13
|
+
clearSelectedRowKeys: () => void;
|
|
14
|
+
tableData: Ref<Recordable[]>;
|
|
15
|
+
}
|
|
16
|
+
export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, setLoading, getFieldsValue, clearSelectedRowKeys, tableData }: ActionType, emit: EmitType): {
|
|
17
|
+
getDataSourceRef: ComputedRef<Recordable<any>[]>;
|
|
18
|
+
getDataSource: <T = Recordable<any>>() => T[];
|
|
19
|
+
getRawDataSource: <T_1 = Recordable<any>>() => T_1;
|
|
20
|
+
getRowKey: ComputedRef<string | GetRowKey<any> | undefined>;
|
|
21
|
+
setTableData: <T_2 = Recordable<any>>(values: T_2[]) => void;
|
|
22
|
+
getAutoCreateKey: ComputedRef<boolean | undefined>;
|
|
23
|
+
fetch: (opt?: FetchParams) => Promise<any>;
|
|
24
|
+
reload: (opt?: FetchParams) => Promise<any>;
|
|
25
|
+
updateTableData: (index: number, key: Key, value: any) => Promise<Recordable<any>>;
|
|
26
|
+
updateTableDataRecord: (keyValue: Key, record: Recordable) => Recordable | undefined;
|
|
27
|
+
deleteTableDataRecord: (keyValues: Key | Key[]) => void;
|
|
28
|
+
insertTableDataRecord: (record: Recordable | Recordable[], index?: number) => Recordable[] | undefined;
|
|
29
|
+
findTableDataRecord: (keyValue: Key) => undefined;
|
|
30
|
+
handleTableChange: (pagination: PaginationProps, filters: Partial<Recordable<string[]>>, sorter: SorterResult) => void;
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
|
-
|
|
4
|
-
export declare function useLoading(props: ComputedRef<BasicTableProps>): {
|
|
5
|
-
getLoading: ComputedRef<boolean | undefined>;
|
|
6
|
-
setLoading: (loading: boolean) => void;
|
|
7
|
-
};
|
|
3
|
+
|
|
4
|
+
export declare function useLoading(props: ComputedRef<BasicTableProps>): {
|
|
5
|
+
getLoading: ComputedRef<boolean | undefined>;
|
|
6
|
+
setLoading: (loading: boolean) => void;
|
|
7
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PaginationProps } from '../types/pagination';
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
3
|
import { ComputedRef } from 'vue';
|
|
4
|
-
|
|
5
|
-
export declare function usePagination(refProps: ComputedRef<BasicTableProps>): {
|
|
6
|
-
getPagination: () => boolean | PaginationProps;
|
|
7
|
-
getPaginationInfo: ComputedRef<boolean | PaginationProps>;
|
|
8
|
-
setShowPagination: (flag: boolean) => Promise<void>;
|
|
9
|
-
getShowPagination: () => boolean;
|
|
10
|
-
setPagination: (info: Partial<PaginationProps>) => void;
|
|
11
|
-
};
|
|
4
|
+
|
|
5
|
+
export declare function usePagination(refProps: ComputedRef<BasicTableProps>): {
|
|
6
|
+
getPagination: () => boolean | PaginationProps;
|
|
7
|
+
getPaginationInfo: ComputedRef<boolean | PaginationProps>;
|
|
8
|
+
setShowPagination: (flag: boolean) => Promise<void>;
|
|
9
|
+
getShowPagination: () => boolean;
|
|
10
|
+
setPagination: (info: Partial<PaginationProps>) => void;
|
|
11
|
+
};
|
|
@@ -2,14 +2,14 @@ import { BasicTableProps, TableRowSelection } from '../types/table';
|
|
|
2
2
|
import { ComputedRef, Ref } from 'vue';
|
|
3
3
|
import { Key } from 'ant-design-vue/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
|
-
|
|
6
|
-
export declare function useRowSelection(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
7
|
-
getRowSelection: () => TableRowSelection<any>;
|
|
8
|
-
getRowSelectionRef: ComputedRef<TableRowSelection<any> | null>;
|
|
9
|
-
getSelectRows: <T = Recordable<any>>() => T[];
|
|
10
|
-
getSelectRowKeys: () => Key[];
|
|
11
|
-
setSelectedRowKeys: (keyValues?: Key[]) => void;
|
|
12
|
-
clearSelectedRowKeys: () => void;
|
|
13
|
-
deleteSelectRowByKey: (key: Key) => void;
|
|
14
|
-
setSelectedRows: (rows: Recordable[]) => void;
|
|
15
|
-
};
|
|
5
|
+
|
|
6
|
+
export declare function useRowSelection(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
7
|
+
getRowSelection: () => TableRowSelection<any>;
|
|
8
|
+
getRowSelectionRef: ComputedRef<TableRowSelection<any> | null>;
|
|
9
|
+
getSelectRows: <T = Recordable<any>>() => T[];
|
|
10
|
+
getSelectRowKeys: () => Key[];
|
|
11
|
+
setSelectedRowKeys: (keyValues?: Key[]) => void;
|
|
12
|
+
clearSelectedRowKeys: () => void;
|
|
13
|
+
deleteSelectRowByKey: (key: Key) => void;
|
|
14
|
+
setSelectedRows: (rows: Recordable[]) => void;
|
|
15
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { ComponentRef, Recordable } from '../../type';
|
|
3
|
-
|
|
4
|
-
export declare function useTableScrollTo(tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable[]>): {
|
|
5
|
-
scrollTo: (pos: string) => void;
|
|
6
|
-
};
|
|
3
|
+
|
|
4
|
+
export declare function useTableScrollTo(tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable[]>): {
|
|
5
|
+
scrollTo: (pos: string) => void;
|
|
6
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Ref, ComputedRef } from 'vue';
|
|
2
2
|
import { BasicTableProps, TableActionType } from '../types/table';
|
|
3
3
|
import { Nullable, Recordable } from '../../type';
|
|
4
|
-
|
|
5
|
-
type Instance = TableActionType & {
|
|
6
|
-
wrapRef: Ref<Nullable<HTMLElement>>;
|
|
7
|
-
getBindValues: ComputedRef<Recordable>;
|
|
8
|
-
};
|
|
9
|
-
type RetInstance = Omit<Instance, 'getBindValues'> & {
|
|
10
|
-
getBindValues: ComputedRef<BasicTableProps>;
|
|
11
|
-
};
|
|
12
|
-
export declare function createTableContext(instance: Instance): void;
|
|
13
|
-
export declare function useTableContext(): RetInstance;
|
|
14
|
-
export {};
|
|
4
|
+
|
|
5
|
+
type Instance = TableActionType & {
|
|
6
|
+
wrapRef: Ref<Nullable<HTMLElement>>;
|
|
7
|
+
getBindValues: ComputedRef<Recordable>;
|
|
8
|
+
};
|
|
9
|
+
type RetInstance = Omit<Instance, 'getBindValues'> & {
|
|
10
|
+
getBindValues: ComputedRef<BasicTableProps>;
|
|
11
|
+
};
|
|
12
|
+
export declare function createTableContext(instance: Instance): void;
|
|
13
|
+
export declare function useTableContext(): RetInstance;
|
|
14
|
+
export {};
|
|
@@ -2,19 +2,19 @@ import { ComputedRef, Ref } from 'vue';
|
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
3
|
import { Key } from 'ant-design-vue/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
|
-
|
|
6
|
-
export declare function useTableExpand(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
7
|
-
getExpandOption: ComputedRef<{
|
|
8
|
-
expandedRowKeys?: undefined;
|
|
9
|
-
onExpandedRowsChange?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
expandedRowKeys: Key[];
|
|
12
|
-
onExpandedRowsChange: (keyValues: string[]) => void;
|
|
13
|
-
}>;
|
|
14
|
-
expandAll: () => void;
|
|
15
|
-
collapseAll: () => void;
|
|
16
|
-
expandRows: (keyValues: Key[]) => void;
|
|
17
|
-
collapseRows: (keyValues: Key[]) => void;
|
|
18
|
-
expandRowAccordion: (keyValue: Key) => void;
|
|
19
|
-
handleTableExpand: (expanded: boolean, record: Recordable) => void;
|
|
20
|
-
};
|
|
5
|
+
|
|
6
|
+
export declare function useTableExpand(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
7
|
+
getExpandOption: ComputedRef<{
|
|
8
|
+
expandedRowKeys?: undefined;
|
|
9
|
+
onExpandedRowsChange?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
expandedRowKeys: Key[];
|
|
12
|
+
onExpandedRowsChange: (keyValues: string[]) => void;
|
|
13
|
+
}>;
|
|
14
|
+
expandAll: () => void;
|
|
15
|
+
collapseAll: () => void;
|
|
16
|
+
expandRows: (keyValues: Key[]) => void;
|
|
17
|
+
collapseRows: (keyValues: Key[]) => void;
|
|
18
|
+
expandRowAccordion: (keyValue: Key) => void;
|
|
19
|
+
handleTableExpand: (expanded: boolean, record: Recordable) => void;
|
|
20
|
+
};
|