@dazhicheng/ui 1.4.21 → 1.4.23

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.
@@ -1085,7 +1085,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1085
1085
  keyboardConfig: import("vxe-table").VxeTablePropTypes.KeyboardConfig<any>;
1086
1086
  emptyText: string;
1087
1087
  clearTreeExpand: any;
1088
- toolTipErrorPlacement: "top" | "bottom" | "left" | "right";
1089
1088
  currentPageField: string;
1090
1089
  pageSizeField: string;
1091
1090
  totalField: string;
@@ -1136,6 +1135,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
1136
1135
  isDataCloneDeep: any;
1137
1136
  useSearchForm: any;
1138
1137
  testId: string;
1138
+ toolTipErrorPlacement: "top" | "bottom" | "left" | "right";
1139
1139
  isAreaCheckData: any;
1140
1140
  api: (...arg: any[]) => Promise<any>;
1141
1141
  afterFetch: ((data: import("vxe-table").VxeTablePropTypes.Row[], res: globalThis.Recordable) => Promise<import("vxe-table").VxeTablePropTypes.Row[]>) | undefined;
@@ -9,6 +9,25 @@ export type TtUiGlobalConfig = {
9
9
  */
10
10
  userId?: string | number;
11
11
  table?: {
12
+ /** 自定义列服务端配置接口 - 获取 */
13
+ getColumnsApi?: (params: {
14
+ columnsKey: string;
15
+ userId: string | number;
16
+ }) => Promise<{
17
+ data: any;
18
+ }>;
19
+ /** 自定义列服务端配置接口 - 当没有id值得时候 */
20
+ setColumnsApi?: (params: {
21
+ columnKey: string;
22
+ columns: string[];
23
+ userId: string | number;
24
+ }) => Promise<any>;
25
+ /** 自定义列服务端配置接口 - 当有id值得时候 */
26
+ updateColumnsApi?: (params: {
27
+ columnKey: string;
28
+ columns: string[];
29
+ userId: string | number;
30
+ }) => Promise<any>;
12
31
  /**
13
32
  * 是否开启服务端缓存
14
33
  * @default-false