@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.3

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 (253) hide show
  1. package/es/index.mjs +124 -118
  2. package/es/src/ap-field/checkbox/helper.d.ts +6 -0
  3. package/es/src/ap-field/date/constant.d.ts +1 -0
  4. package/es/src/ap-field/index.d.ts +5 -0
  5. package/es/src/ap-field/interface.d.ts +29 -0
  6. package/es/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
  7. package/es/src/ap-form/ap-form-item-group/helper.mjs +14 -0
  8. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
  9. package/es/src/ap-form/ap-form-item-group/index.vue.mjs +58 -0
  10. package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +4 -0
  11. package/es/src/ap-form/ap-form-item.vue.d.ts +47 -0
  12. package/es/src/ap-form/ap-form-item.vue.mjs +76 -0
  13. package/es/src/ap-form/ap-form-item.vue2.mjs +4 -0
  14. package/es/src/ap-form/ap-form.d.ts +1681 -0
  15. package/es/src/ap-form/ap-form.mjs +5 -0
  16. package/es/src/ap-form/constant.d.ts +3 -0
  17. package/es/src/ap-form/constant.mjs +17 -0
  18. package/es/src/ap-form/index.d.ts +2593 -0
  19. package/es/src/ap-form/index.mjs +10 -0
  20. package/es/src/ap-form/interface.d.ts +7 -0
  21. package/es/src/ap-form/style/ap-form-item-group.css +9 -0
  22. package/es/src/base-button/button.vue.d.ts +5 -5
  23. package/es/src/base-button/index.d.ts +53 -48
  24. package/es/src/base-button/modal-button.vue.d.ts +8 -6
  25. package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
  26. package/es/src/basic/arrow.vue.d.ts +4 -3
  27. package/es/src/basic/help.vue.d.ts +6 -6
  28. package/es/src/basic/index.d.ts +196 -70
  29. package/es/src/basic/title.vue.d.ts +5 -4
  30. package/es/src/button/index.d.ts +20 -15
  31. package/es/src/config-provider/config-provider-props.d.ts +28 -16
  32. package/es/src/config-provider/config-provider-props.mjs +8 -4
  33. package/es/src/config-provider/config-provider.d.ts +92 -68
  34. package/es/src/config-provider/constants.d.ts +3 -0
  35. package/es/src/config-provider/hooks/use-global-config.d.ts +47 -32
  36. package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
  37. package/es/src/config-provider/index.d.ts +532 -156
  38. package/es/src/container/collapse/header.vue.d.ts +3 -3
  39. package/es/src/container/collapse/index.vue.d.ts +4 -4
  40. package/es/src/container/index.d.ts +119 -38
  41. package/es/src/container/scroll-container.vue.d.ts +5 -4
  42. package/es/src/count-down/button.vue.d.ts +5 -4
  43. package/es/src/count-down/index.d.ts +88 -41
  44. package/es/src/count-down/input.vue.d.ts +5 -4
  45. package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
  46. package/es/src/cropper/cropper-image.vue.d.ts +7 -7
  47. package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
  48. package/es/src/cropper/index.d.ts +308 -93
  49. package/es/src/description/description.vue.d.ts +6 -6
  50. package/es/src/description/index.d.ts +169 -48
  51. package/es/src/dropdown/dropdown.vue.d.ts +6 -5
  52. package/es/src/dropdown/index.d.ts +35 -28
  53. package/es/src/hooks/index.d.ts +1 -0
  54. package/es/src/hooks/useControllableValue.d.ts +13 -0
  55. package/es/src/hooks/useControllableValue.mjs +24 -0
  56. package/es/src/hooks/useMessage.d.ts +9 -7
  57. package/es/src/icon/icon.vue.d.ts +5 -4
  58. package/es/src/icon/index.d.ts +175 -52
  59. package/es/src/icon/svg-icon.vue.d.ts +5 -4
  60. package/es/src/icon-picker/icon-picker.vue.d.ts +9 -8
  61. package/es/src/icon-picker/index.d.ts +160 -51
  62. package/es/src/index.d.ts +1 -0
  63. package/es/src/index.mjs +79 -75
  64. package/es/src/modal/basic.vue.d.ts +70 -64
  65. package/es/src/modal/components/modal-close.vue.d.ts +6 -5
  66. package/es/src/modal/components/modal-footer.vue.d.ts +69 -64
  67. package/es/src/modal/components/modal-header.vue.d.ts +4 -3
  68. package/es/src/modal/components/modal-wrapper.vue.d.ts +5 -4
  69. package/es/src/modal/components/modal.d.ts +69 -63
  70. package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
  71. package/es/src/modal/index.d.ts +144 -134
  72. package/es/src/modal/props.d.ts +19 -16
  73. package/es/src/pro-form/component-map.d.ts +2 -2
  74. package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
  75. package/es/src/pro-form/components/api-radio-group.vue.d.ts +7 -6
  76. package/es/src/pro-form/components/api-select.vue.d.ts +8 -7
  77. package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
  78. package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
  79. package/es/src/pro-form/components/api-tree.vue.d.ts +7 -6
  80. package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
  81. package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
  82. package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
  83. package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
  84. package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
  85. package/es/src/pro-form/hooks/use-label-width.d.ts +51 -50
  86. package/es/src/pro-form/pro-form.vue.d.ts +16 -13
  87. package/es/src/pro-table/component-map.d.ts +2 -2
  88. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
  89. package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
  90. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
  91. package/es/src/pro-table/components/editable/index.d.ts +2 -2
  92. package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
  93. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
  94. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
  95. package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
  96. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
  97. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
  98. package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
  99. package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
  100. package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
  101. package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
  102. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
  103. package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
  104. package/es/src/pro-table/const.d.ts +3 -0
  105. package/es/src/pro-table/const.mjs +10 -4
  106. package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
  107. package/es/src/pro-table/interface.d.ts +4 -0
  108. package/es/src/pro-table/pro-table.vue.d.ts +45 -36
  109. package/es/src/pro-table/pro-table.vue.mjs +221 -211
  110. package/es/src/pro-table/style/pro-table.css +10 -5
  111. package/es/src/prompt/dialog.vue.d.ts +4 -3
  112. package/es/src/prompt/index.d.ts +2 -2
  113. package/es/src/scroll-bar/bar-item.d.ts +4 -3
  114. package/es/src/scroll-bar/index.d.ts +52 -53
  115. package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
  116. package/es/src/scroll-bar/scroll-bar.vue.mjs +44 -44
  117. package/es/src/strength-meter/index.d.ts +26 -21
  118. package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
  119. package/es/src/theme/ap-form/ap-form-item-group.css +9 -0
  120. package/es/src/theme/pro-table/pro-table.css +10 -5
  121. package/es/src/transition/collapse-transition.vue.d.ts +2 -1
  122. package/es/src/transition/create-transition.d.ts +5 -5
  123. package/es/src/transition/index.d.ts +97 -96
  124. package/es/src/utils/slot.d.ts +2 -2
  125. package/lib/index.js +1 -1
  126. package/lib/src/ap-field/checkbox/helper.d.ts +6 -0
  127. package/lib/src/ap-field/date/constant.d.ts +1 -0
  128. package/lib/src/ap-field/index.d.ts +5 -0
  129. package/lib/src/ap-field/interface.d.ts +29 -0
  130. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
  131. package/lib/src/ap-form/ap-form-item-group/helper.js +1 -0
  132. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
  133. package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -0
  134. package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -0
  135. package/lib/src/ap-form/ap-form-item.vue.d.ts +47 -0
  136. package/lib/src/ap-form/ap-form-item.vue.js +1 -0
  137. package/lib/src/ap-form/ap-form-item.vue2.js +1 -0
  138. package/lib/src/ap-form/ap-form.d.ts +1681 -0
  139. package/lib/src/ap-form/ap-form.js +1 -0
  140. package/lib/src/ap-form/constant.d.ts +3 -0
  141. package/lib/src/ap-form/constant.js +1 -0
  142. package/lib/src/ap-form/index.d.ts +2593 -0
  143. package/lib/src/ap-form/index.js +1 -0
  144. package/lib/src/ap-form/interface.d.ts +7 -0
  145. package/lib/src/ap-form/style/ap-form-item-group.css +9 -0
  146. package/lib/src/base-button/button.vue.d.ts +5 -5
  147. package/lib/src/base-button/index.d.ts +53 -48
  148. package/lib/src/base-button/modal-button.vue.d.ts +8 -6
  149. package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
  150. package/lib/src/basic/arrow.vue.d.ts +4 -3
  151. package/lib/src/basic/help.vue.d.ts +6 -6
  152. package/lib/src/basic/index.d.ts +196 -70
  153. package/lib/src/basic/title.vue.d.ts +5 -4
  154. package/lib/src/button/index.d.ts +20 -15
  155. package/lib/src/config-provider/config-provider-props.d.ts +28 -16
  156. package/lib/src/config-provider/config-provider-props.js +1 -1
  157. package/lib/src/config-provider/config-provider.d.ts +92 -68
  158. package/lib/src/config-provider/constants.d.ts +3 -0
  159. package/lib/src/config-provider/hooks/use-global-config.d.ts +47 -32
  160. package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
  161. package/lib/src/config-provider/index.d.ts +532 -156
  162. package/lib/src/container/collapse/header.vue.d.ts +3 -3
  163. package/lib/src/container/collapse/index.vue.d.ts +4 -4
  164. package/lib/src/container/index.d.ts +119 -38
  165. package/lib/src/container/scroll-container.vue.d.ts +5 -4
  166. package/lib/src/count-down/button.vue.d.ts +5 -4
  167. package/lib/src/count-down/index.d.ts +88 -41
  168. package/lib/src/count-down/input.vue.d.ts +5 -4
  169. package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
  170. package/lib/src/cropper/cropper-image.vue.d.ts +7 -7
  171. package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
  172. package/lib/src/cropper/index.d.ts +308 -93
  173. package/lib/src/description/description.vue.d.ts +6 -6
  174. package/lib/src/description/index.d.ts +169 -48
  175. package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
  176. package/lib/src/dropdown/index.d.ts +35 -28
  177. package/lib/src/hooks/index.d.ts +1 -0
  178. package/lib/src/hooks/useControllableValue.d.ts +13 -0
  179. package/lib/src/hooks/useControllableValue.js +1 -0
  180. package/lib/src/hooks/useMessage.d.ts +9 -7
  181. package/lib/src/icon/icon.vue.d.ts +5 -4
  182. package/lib/src/icon/index.d.ts +175 -52
  183. package/lib/src/icon/svg-icon.vue.d.ts +5 -4
  184. package/lib/src/icon-picker/icon-picker.vue.d.ts +9 -8
  185. package/lib/src/icon-picker/index.d.ts +160 -51
  186. package/lib/src/index.d.ts +1 -0
  187. package/lib/src/index.js +1 -1
  188. package/lib/src/modal/basic.vue.d.ts +70 -64
  189. package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
  190. package/lib/src/modal/components/modal-footer.vue.d.ts +69 -64
  191. package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
  192. package/lib/src/modal/components/modal-wrapper.vue.d.ts +5 -4
  193. package/lib/src/modal/components/modal.d.ts +69 -63
  194. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
  195. package/lib/src/modal/index.d.ts +144 -134
  196. package/lib/src/modal/props.d.ts +19 -16
  197. package/lib/src/pro-form/component-map.d.ts +2 -2
  198. package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
  199. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +7 -6
  200. package/lib/src/pro-form/components/api-select.vue.d.ts +8 -7
  201. package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
  202. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
  203. package/lib/src/pro-form/components/api-tree.vue.d.ts +7 -6
  204. package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
  205. package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
  206. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
  207. package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
  208. package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
  209. package/lib/src/pro-form/hooks/use-label-width.d.ts +51 -50
  210. package/lib/src/pro-form/pro-form.vue.d.ts +16 -13
  211. package/lib/src/pro-table/component-map.d.ts +2 -2
  212. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
  213. package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
  214. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
  215. package/lib/src/pro-table/components/editable/index.d.ts +2 -2
  216. package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
  217. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
  218. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
  219. package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
  220. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
  221. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
  222. package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
  223. package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
  224. package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
  225. package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
  226. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
  227. package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
  228. package/lib/src/pro-table/const.d.ts +3 -0
  229. package/lib/src/pro-table/const.js +1 -1
  230. package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
  231. package/lib/src/pro-table/interface.d.ts +4 -0
  232. package/lib/src/pro-table/pro-table.vue.d.ts +45 -36
  233. package/lib/src/pro-table/pro-table.vue.js +1 -1
  234. package/lib/src/pro-table/style/pro-table.css +10 -5
  235. package/lib/src/prompt/dialog.vue.d.ts +4 -3
  236. package/lib/src/prompt/index.d.ts +2 -2
  237. package/lib/src/scroll-bar/bar-item.d.ts +4 -3
  238. package/lib/src/scroll-bar/index.d.ts +52 -53
  239. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
  240. package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
  241. package/lib/src/strength-meter/index.d.ts +26 -21
  242. package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
  243. package/lib/src/theme/ap-form/ap-form-item-group.css +9 -0
  244. package/lib/src/theme/pro-table/pro-table.css +10 -5
  245. package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
  246. package/lib/src/transition/create-transition.d.ts +5 -5
  247. package/lib/src/transition/index.d.ts +97 -96
  248. package/lib/src/utils/slot.d.ts +2 -2
  249. package/package.json +2 -2
  250. package/es/src/constants/component-setting.d.ts +0 -74
  251. package/es/src/constants/component-setting.mjs +0 -90
  252. package/lib/src/constants/component-setting.d.ts +0 -74
  253. package/lib/src/constants/component-setting.js +0 -1
@@ -1,6 +1,6 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
 
3
- declare const _default: import('vue').DefineComponent<{
3
+ declare const _default: DefineComponent<{
4
4
  title: {
5
5
  type: PropType<string | ((data: any) => string)>;
6
6
  };
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<{
10
10
  helpMessage: {
11
11
  type: PropType<string | string[]>;
12
12
  };
13
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
14
14
  title: {
15
15
  type: PropType<string | ((data: any) => string)>;
16
16
  };
@@ -1,4 +1,7 @@
1
+ import { SizeType } from './types/table';
2
+
1
3
  export declare const ROW_KEY = "key";
2
4
  export declare const DEFAULT_ALIGN = "left";
3
5
  export declare const INDEX_COLUMN_FLAG = "INDEX";
4
6
  export declare const ACTION_COLUMN_FLAG = "ACTION";
7
+ export declare const formTableDivideSpaceMap: Record<SizeType, number>;
@@ -1,7 +1,13 @@
1
- const N = "key", t = "left", A = "INDEX", L = "ACTION";
1
+ const e = "key", t = "left", l = "INDEX", o = "ACTION", N = {
2
+ default: 16,
3
+ small: 8,
4
+ middle: 12,
5
+ large: 16
6
+ };
2
7
  export {
3
- L as ACTION_COLUMN_FLAG,
8
+ o as ACTION_COLUMN_FLAG,
4
9
  t as DEFAULT_ALIGN,
5
- A as INDEX_COLUMN_FLAG,
6
- N as ROW_KEY
10
+ l as INDEX_COLUMN_FLAG,
11
+ e as ROW_KEY,
12
+ N as formTableDivideSpaceMap
7
13
  };
@@ -3,6 +3,7 @@ import { PaginationProps } from '../types/pagination';
3
3
  import { ComputedRef, Ref } from 'vue';
4
4
  import { Key } from 'ant-design-vue/lib/table/interface';
5
5
  import { EmitType, Recordable } from '../../type';
6
+ import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
6
7
 
7
8
  interface ActionType {
8
9
  getPaginationInfo: ComputedRef<boolean | PaginationProps>;
@@ -16,7 +17,7 @@ export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, {
16
17
  getDataSourceRef: ComputedRef<Recordable<any>[]>;
17
18
  getDataSource: <T = Recordable<any>>() => T[];
18
19
  getRawDataSource: <T_1 = Recordable<any>>() => T_1;
19
- getRowKey: ComputedRef<string | import('ant-design-vue/es/vc-table/interface').GetRowKey<any> | undefined>;
20
+ getRowKey: ComputedRef<string | GetRowKey<any> | undefined>;
20
21
  setTableData: <T_2 = Recordable<any>>(values: T_2[]) => void;
21
22
  getAutoCreateKey: ComputedRef<boolean | undefined>;
22
23
  fetch: (opt?: FetchParams) => Promise<any>;
@@ -58,5 +58,9 @@ export type ProTableProps = {
58
58
  value: any;
59
59
  }) => Promise<any>;
60
60
  size?: SizeType;
61
+ /**
62
+ * Form和Table的分割尺寸
63
+ */
64
+ divideSpace?: number | SizeType;
61
65
  };
62
66
  export {};
@@ -1,8 +1,14 @@
1
- import { BasicTableProps, SizeType } from './types/table';
1
+ import { BasicTableProps, SizeType, FetchParams, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from './types/table';
2
2
  import { ProTableProps } from './interface';
3
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { Recordable } from '../type';
5
+ import { Key } from 'ant-design-vue/es/table/interface';
6
+ import { PaginationProps } from '.';
7
+ import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
8
+ import { TableColumnType } from 'ant-design-vue';
3
9
 
4
10
  type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
11
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
6
12
  clickToRowSelect: boolean;
7
13
  tableSetting: () => {};
8
14
  autoCreateKey: boolean;
@@ -18,44 +24,45 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
18
24
  canResize: boolean;
19
25
  resizeHeightOffset: number;
20
26
  rowKey: string;
27
+ divideSpace: string;
21
28
  }>, {
22
- reload: (opt?: import('./types/table').FetchParams | undefined) => Promise<import('../type').Recordable<any>[] | undefined>;
23
- setSelectedRows: (rows: import('../type').Recordable<any>[]) => void;
24
- getSelectRows: <T = import('../type').Recordable<any>>() => T[];
29
+ reload: (opt?: FetchParams | undefined) => Promise< Recordable<any>[] | undefined>;
30
+ setSelectedRows: (rows: Recordable<any>[]) => void;
31
+ getSelectRows: <T = Recordable<any>>() => T[];
25
32
  clearSelectedRowKeys: () => void;
26
33
  expandAll: () => void;
27
34
  collapseAll: () => void;
28
- expandRows: (keyValues: import('ant-design-vue/es/table/interface').Key[]) => void;
29
- collapseRows: (keyValues: import('ant-design-vue/es/table/interface').Key[]) => void;
35
+ expandRows: (keyValues: Key[]) => void;
36
+ collapseRows: (keyValues: Key[]) => void;
30
37
  scrollTo: (pos: string) => void;
31
- getSelectRowKeys: () => import('ant-design-vue/es/table/interface').Key[];
32
- deleteSelectRowByKey: (keyValue: import('ant-design-vue/es/table/interface').Key) => void;
33
- setPagination: (info: Partial<import('.').PaginationProps>) => void;
34
- setTableData: <T_1 = import('../type').Recordable<any>>(values: T_1[]) => void;
35
- updateTableDataRecord: (keyValue: import('ant-design-vue/es/table/interface').Key, record: import('../type').Recordable<any>) => void | import('../type').Recordable<any>;
36
- deleteTableDataRecord: (keyValues: import('ant-design-vue/es/table/interface').Key | import('ant-design-vue/es/table/interface').Key[]) => void;
37
- insertTableDataRecord: (record: import('../type').Recordable<any> | import('../type').Recordable<any>[], index?: number | undefined) => void | import('../type').Recordable<any>[];
38
- findTableDataRecord: (keyValue: import('ant-design-vue/es/table/interface').Key) => void | import('../type').Recordable<any>;
39
- getColumns: (opt?: import('./types/table').GetColumnsParams | undefined) => import('./types/table').BasicColumn[];
40
- setColumns: (columns: string[] | import('./types/table').BasicColumn[]) => void;
41
- getDataSource: <T_2 = import('../type').Recordable<any>>() => T_2[];
42
- getRawDataSource: <T_3 = import('../type').Recordable<any>>() => T_3;
38
+ getSelectRowKeys: () => Key[];
39
+ deleteSelectRowByKey: (keyValue: Key) => void;
40
+ setPagination: (info: Partial< PaginationProps>) => void;
41
+ setTableData: <T_1 = Recordable<any>>(values: T_1[]) => void;
42
+ updateTableDataRecord: (keyValue: Key, record: Recordable<any>) => void | Recordable<any>;
43
+ deleteTableDataRecord: (keyValues: Key | Key[]) => void;
44
+ insertTableDataRecord: (record: Recordable<any> | Recordable<any>[], index?: number | undefined) => void | Recordable<any>[];
45
+ findTableDataRecord: (keyValue: Key) => void | Recordable<any>;
46
+ getColumns: (opt?: GetColumnsParams | undefined) => BasicColumn[];
47
+ setColumns: (columns: string[] | BasicColumn[]) => void;
48
+ getDataSource: <T_2 = Recordable<any>>() => T_2[];
49
+ getRawDataSource: <T_3 = Recordable<any>>() => T_3;
43
50
  setLoading: (loading: boolean) => void;
44
51
  setProps: (props: Partial<BasicTableProps<any>>) => void;
45
52
  redoHeight: () => void;
46
- setSelectedRowKeys: (keyValues: import('ant-design-vue/es/table/interface').Key[]) => void;
47
- getPaginationRef: () => boolean | import('.').PaginationProps;
53
+ setSelectedRowKeys: (keyValues: Key[]) => void;
54
+ getPaginationRef: () => boolean | PaginationProps;
48
55
  getSize: () => SizeType;
49
- getRowSelection: () => import('./types/table').TableRowSelection<import('../type').Recordable<any>>;
50
- getCacheColumns: () => import('./types/table').BasicColumn[];
56
+ getRowSelection: () => TableRowSelection<Recordable<any>>;
57
+ getCacheColumns: () => BasicColumn[];
51
58
  emit?: ((...args: any[]) => any) | ((evt: string, ...args: any[]) => void) | undefined;
52
- updateTableData: (index: number, key: string, value: any) => import('../type').Recordable<any>;
59
+ updateTableData: (index: number, key: string, value: any) => Recordable<any>;
53
60
  setShowPagination: (show: boolean) => Promise<void>;
54
61
  getShowPagination: () => boolean;
55
- setCacheColumnsByField?: ((dataIndex: string | undefined, value: import('./types/table').BasicColumn) => void) | undefined;
56
- setCacheColumns?: ((columns: import('./types/table').BasicColumn[]) => void) | undefined;
57
- tableElRef: import('vue').Ref<null>;
58
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
+ setCacheColumnsByField?: ((dataIndex: string | undefined, value: BasicColumn) => void) | undefined;
63
+ setCacheColumns?: ((columns: BasicColumn[]) => void) | undefined;
64
+ tableElRef: Ref<null>;
65
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
59
66
  change: (...args: any[]) => void;
60
67
  register: (...args: any[]) => void;
61
68
  "edit-change": (...args: any[]) => void;
@@ -72,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
72
79
  "row-mouseleave": (...args: any[]) => void;
73
80
  "columns-change": (...args: any[]) => void;
74
81
  "expanded-rows-change": (...args: any[]) => void;
75
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
82
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
76
83
  clickToRowSelect: boolean;
77
84
  tableSetting: () => {};
78
85
  autoCreateKey: boolean;
@@ -88,6 +95,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
88
95
  canResize: boolean;
89
96
  resizeHeightOffset: number;
90
97
  rowKey: string;
98
+ divideSpace: string;
91
99
  }>>> & {
92
100
  onChange?: ((...args: any[]) => any) | undefined;
93
101
  onRegister?: ((...args: any[]) => any) | undefined;
@@ -107,9 +115,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
107
115
  "onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
108
116
  }, {
109
117
  immediate: boolean;
110
- columns: import('./types/table').BasicColumn[];
118
+ columns: BasicColumn[];
111
119
  ellipsis: boolean;
112
- rowKey: string | import('ant-design-vue/es/vc-table/interface').GetRowKey<any>;
120
+ rowKey: string | GetRowKey<any>;
113
121
  indentSize: number;
114
122
  showIndexColumn: boolean;
115
123
  canResize: boolean;
@@ -117,29 +125,30 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
117
125
  resizeHeightOffset: number;
118
126
  clickToRowSelect: boolean;
119
127
  striped: boolean;
120
- tableSetting: import('./types/table').TableSetting;
128
+ tableSetting: TableSetting;
121
129
  autoCreateKey: boolean;
122
130
  canColDrag: boolean;
123
131
  emptyDataIsShowTable: boolean;
132
+ divideSpace: number | SizeType;
124
133
  }, {}>, Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<ProTableSlots>, (_: any) => any>> & {
125
134
  headerCell?(_: {
126
- column: import('ant-design-vue').TableColumnType<any>;
135
+ column: TableColumnType<any>;
127
136
  }): any;
128
137
  bodyCell?(_: {
129
138
  text: any;
130
139
  value: any;
131
140
  record: Record<string, any>;
132
141
  index: number;
133
- column: import('ant-design-vue').TableColumnType<any>;
142
+ column: TableColumnType<any>;
134
143
  }): any;
135
144
  }>;
136
145
  export default _default;
137
146
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
138
147
  type __VLS_TypePropsToRuntimeProps<T> = {
139
148
  [K in keyof T]-?: {} extends Pick<T, K> ? {
140
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
149
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
141
150
  } : {
142
- type: import('vue').PropType<T[K]>;
151
+ type: PropType<T[K]>;
143
152
  required: true;
144
153
  };
145
154
  };