@dazhicheng/ui 1.6.24 → 1.6.25

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.
Files changed (130) hide show
  1. package/dist/components/tt-api-component/index.d.ts +24 -35
  2. package/dist/components/tt-area/TtArea.d.ts +3 -0
  3. package/dist/components/tt-area/index.d.ts +1 -1
  4. package/dist/components/tt-button/components/AddButton.d.ts +3 -0
  5. package/dist/components/tt-button/index.d.ts +260 -589
  6. package/dist/components/tt-checkbox/index.d.ts +26 -35
  7. package/dist/components/tt-drawer/index.d.ts +306 -299
  8. package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
  9. package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
  10. package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
  11. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
  12. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
  13. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
  14. package/dist/components/tt-empty/index.d.ts +10 -8
  15. package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
  16. package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
  17. package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
  18. package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
  19. package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
  20. package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
  21. package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
  22. package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
  23. package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
  24. package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
  25. package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
  26. package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
  27. package/dist/components/tt-form/src/form/index.d.ts +8 -8
  28. package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
  29. package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
  30. package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
  31. package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
  32. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
  33. package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
  34. package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
  35. package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
  36. package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
  37. package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
  38. package/dist/components/tt-form/src/formApi.d.ts +3 -3
  39. package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
  40. package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
  41. package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
  42. package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
  43. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
  44. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
  45. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
  46. package/dist/components/tt-form/src/index.d.ts +217 -0
  47. package/dist/components/tt-form/src/useForm.d.ts +2 -1
  48. package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
  49. package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
  50. package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
  51. package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
  52. package/dist/components/tt-icon/index.d.ts +24 -115
  53. package/dist/components/tt-image/index.d.ts +45 -41
  54. package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
  55. package/dist/components/tt-image/tt-image.d.ts +36 -34
  56. package/dist/components/tt-loading/index.d.ts +5 -2
  57. package/dist/components/tt-loading/src/loading.d.ts +13 -0
  58. package/dist/components/tt-log/index.d.ts +7 -6
  59. package/dist/components/tt-modal/index.d.ts +371 -364
  60. package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
  61. package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
  62. package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
  63. package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
  64. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
  65. package/dist/components/tt-modal/src/typing.d.ts +2 -2
  66. package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
  67. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
  68. package/dist/components/tt-modal-form/index.d.ts +46 -2
  69. package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
  70. package/dist/components/tt-nav-anchor/index.d.ts +15 -12
  71. package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
  72. package/dist/components/tt-panel-select/index.d.ts +1 -1
  73. package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
  74. package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
  75. package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
  76. package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
  77. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
  78. package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
  79. package/dist/components/tt-radio-group/index.d.ts +31 -50
  80. package/dist/components/tt-select/index.d.ts +1 -1
  81. package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
  82. package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
  83. package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
  84. package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
  85. package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
  86. package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
  87. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  88. package/dist/components/tt-table/index.d.ts +287 -279
  89. package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
  90. package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
  91. package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
  92. package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
  93. package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
  94. package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
  95. package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
  96. package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
  97. package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
  98. package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
  99. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
  100. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
  101. package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
  102. package/dist/components/tt-table/src/props.d.ts +19 -17
  103. package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
  104. package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
  105. package/dist/components/tt-text/index.d.ts +34 -59
  106. package/dist/components/tt-upload/index.d.ts +317 -311
  107. package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
  108. package/dist/components/tt-upload/src/typing.d.ts +49 -47
  109. package/dist/hooks/useLoading.d.ts +2 -2
  110. package/dist/hooks/useScreenshotOss.d.ts +2 -2
  111. package/dist/index.d.ts +2 -1
  112. package/package.json +2 -2
  113. package/dist/components/tt-api-component/index.vue.d.ts +0 -34
  114. package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
  115. package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
  116. package/dist/components/tt-button/index.vue.d.ts +0 -466
  117. package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
  118. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
  119. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
  120. package/dist/components/tt-form/src/index.vue.d.ts +0 -216
  121. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
  122. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
  123. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
  124. package/dist/components/tt-icon/index.vue.d.ts +0 -32
  125. package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
  126. package/dist/components/tt-log/index.vue.d.ts +0 -5
  127. package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
  128. package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
  129. package/dist/components/tt-text/index.vue.d.ts +0 -50
  130. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
@@ -2,6 +2,7 @@ import { ComputedRef, Ref } from 'vue';
2
2
  import { VxeGridDefines, VxeGridInstance, VxeGridPropTypes, VxeTableDefines, VxeTablePropTypes } from 'vxe-table';
3
3
  import { Recordable } from '../../../../../../utils/src';
4
4
  import { TtTableProps } from '../types/table';
5
+ import { VxeComponentSlotType } from 'vxe-pc-ui';
5
6
  /** 表格列配置类型 */
6
7
  type ColumnOptions = VxeTableDefines.ColumnOptions;
7
8
  type ColumnsEmit = {
@@ -23,28 +24,28 @@ export declare function useColumns(propsRef: ComputedRef<TtTableProps>, grid: Re
23
24
  children?: {
24
25
  children?: /*elided*/ any[] | undefined;
25
26
  slots?: {
26
- title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
27
- sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
28
- radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
29
- checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
30
- default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
31
- header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
32
- footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
33
- content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
34
- filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
35
- floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
36
- 'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
37
- edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
38
- valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
39
- rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
40
- 'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
41
- columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
42
- 'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
43
- groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
44
- 'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
45
- groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
46
- 'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
47
- icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
27
+ title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
28
+ sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
29
+ radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
30
+ checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
31
+ default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
32
+ header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
33
+ footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
34
+ content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
35
+ filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
36
+ floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
37
+ 'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
38
+ edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
39
+ valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
40
+ rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
41
+ 'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
42
+ columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
43
+ 'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
44
+ groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
45
+ 'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
46
+ groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
47
+ 'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
48
+ icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
48
49
  } | undefined;
49
50
  colId?: import("vxe-table").VxeColumnPropTypes.ColId | undefined;
50
51
  type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
@@ -265,28 +266,28 @@ export declare function useColumns(propsRef: ComputedRef<TtTableProps>, grid: Re
265
266
  params?: import("vxe-table").VxeColumnPropTypes.Params;
266
267
  }[] | undefined;
267
268
  slots?: {
268
- title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
269
- sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
270
- radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
271
- checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
272
- default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
273
- header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
274
- footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
275
- content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
276
- filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
277
- floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
278
- 'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
279
- edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
280
- valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
281
- rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
282
- 'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
283
- columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
284
- 'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
285
- groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
286
- 'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
287
- groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
288
- 'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
289
- icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
269
+ title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
270
+ sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
271
+ radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
272
+ checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
273
+ default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
274
+ header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
275
+ footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
276
+ content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
277
+ filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
278
+ floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
279
+ 'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
280
+ edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
281
+ valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
282
+ rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
283
+ 'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
284
+ columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
285
+ 'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
286
+ groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
287
+ 'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
288
+ groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
289
+ 'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
290
+ icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
290
291
  } | undefined;
291
292
  colId?: import("vxe-table").VxeColumnPropTypes.ColId | undefined;
292
293
  type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
@@ -1,6 +1,6 @@
1
- import { ComputedRef } from 'vue';
1
+ import { ComputedRef, Ref } from 'vue';
2
2
  import { VxeGridPropTypes } from 'vxe-table';
3
- import { VxePagerDefines, VxePagerEvents } from 'vxe-pc-ui';
3
+ import { VxePagerDefines, VxePagerEvents, VxeComponentSlotType } from 'vxe-pc-ui';
4
4
  import { TtTableProps } from '../types/table';
5
5
  /** 分页配置类型 */
6
6
  type PagerConfig = VxeGridPropTypes.PagerConfig;
@@ -10,24 +10,24 @@ type PagerConfig = VxeGridPropTypes.PagerConfig;
10
10
  * @param emit 组件 emit
11
11
  */
12
12
  export declare function usePagination(propsRef: ComputedRef<TtTableProps>, emit: (event: "page-change", data: any) => void): {
13
- pagination: import('vue').Ref<{
13
+ pagination: Ref<{
14
14
  enabled?: boolean | undefined;
15
15
  slots?: {
16
- left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
17
- right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
18
- home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
19
- prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
20
- prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
21
- nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
22
- nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
23
- end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
24
- number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
25
- numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
26
- sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
27
- fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
28
- jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
29
- pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
30
- total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
16
+ left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
17
+ right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
18
+ home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
19
+ prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
20
+ prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
21
+ nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
22
+ nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
23
+ end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
24
+ number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
25
+ numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
26
+ sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
27
+ fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
28
+ jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
29
+ pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
30
+ total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
31
31
  } | undefined;
32
32
  size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
33
33
  layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
@@ -58,21 +58,21 @@ export declare function usePagination(propsRef: ComputedRef<TtTableProps>, emit:
58
58
  }, VxeGridPropTypes.PagerConfig | {
59
59
  enabled?: boolean | undefined;
60
60
  slots?: {
61
- left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
62
- right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
63
- home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
64
- prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
65
- prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
66
- nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
67
- nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
68
- end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
69
- number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
70
- numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
71
- sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
72
- fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
73
- jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
74
- pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
75
- total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
61
+ left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
62
+ right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
63
+ home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
64
+ prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
65
+ prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
66
+ nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
67
+ nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
68
+ end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
69
+ number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
70
+ numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
71
+ sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
72
+ fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
73
+ jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
74
+ pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
75
+ total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
76
76
  } | undefined;
77
77
  size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
78
78
  layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
1
+ import { ComputedRef, Ref, ShallowRef } from 'vue';
2
2
  import { VxeGridInstance, VxeGridPropTypes } from 'vxe-table';
3
3
  import { Recordable } from '../../../../../../utils/src';
4
4
  import { FetchParams, TtTableProps } from '../types/table';
@@ -36,6 +36,6 @@ export declare function useQuery(propsRef: ComputedRef<TtTableProps>, ctx: Query
36
36
  query: (opt: FetchParams) => Promise<void>;
37
37
  reload: (opt?: FetchParams) => Promise<void>;
38
38
  reloadFilter: (type?: "sort" | "filter" | "page") => Promise<void>;
39
- isLoaded: import('vue').ShallowRef<boolean, boolean>;
39
+ isLoaded: ShallowRef<boolean, boolean>;
40
40
  };
41
41
  export {};
@@ -1,4 +1,4 @@
1
- import { ComputedRef, Ref } from 'vue';
1
+ import { ComputedRef, Ref, ShallowRef } from 'vue';
2
2
  import { VxeGridDefines, VxeGridEvents, VxeGridInstance, VxeTableExtendCellAreaDefines } from 'vxe-table';
3
3
  import { Recordable } from '../../../../../../utils/src';
4
4
  import { TtSelectRowKeysType, TtSelectRowsType, TtTableProps, TtTableSelectionPayload } from '../types/table';
@@ -27,7 +27,7 @@ type RowSelectionIdentity = {
27
27
  */
28
28
  export declare function useRowSelection(propsRef: ComputedRef<TtTableProps>, grid: Ref<undefined | VxeGridInstance<Recordable>>, emit: SelectionEmit, identity: RowSelectionIdentity): {
29
29
  selectedKeys: Ref<any, any>;
30
- selectedRows: import('vue').ShallowRef<any, any>;
30
+ selectedRows: ShallowRef<any, any>;
31
31
  selectedKeyList: ComputedRef<(string | number)[]>;
32
32
  getSelectRowKeys: () => any;
33
33
  getSelectRows: () => TtSelectRowsType;