@a2simcode/ui 0.0.66 → 0.0.67

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.
@@ -36,6 +36,10 @@ declare const JComp: {
36
36
  type: BooleanConstructor;
37
37
  default: boolean;
38
38
  };
39
+ getTableProvide: {
40
+ type: FunctionConstructor;
41
+ default: undefined;
42
+ };
39
43
  }>> & Readonly<{
40
44
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
41
45
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -52,6 +56,7 @@ declare const JComp: {
52
56
  getCompConfig: Function;
53
57
  row: Record<string, any>;
54
58
  isTableCell: boolean;
59
+ getTableProvide: Function;
55
60
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
56
61
  compRef: unknown;
57
62
  }, any, import('vue').ComponentProvideOptions, {
@@ -98,6 +103,10 @@ declare const JComp: {
98
103
  type: BooleanConstructor;
99
104
  default: boolean;
100
105
  };
106
+ getTableProvide: {
107
+ type: FunctionConstructor;
108
+ default: undefined;
109
+ };
101
110
  }>> & Readonly<{
102
111
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
103
112
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -111,6 +120,7 @@ declare const JComp: {
111
120
  getCompConfig: Function;
112
121
  row: Record<string, any>;
113
122
  isTableCell: boolean;
123
+ getTableProvide: Function;
114
124
  }>;
115
125
  __isFragment?: never;
116
126
  __isTeleport?: never;
@@ -152,6 +162,10 @@ declare const JComp: {
152
162
  type: BooleanConstructor;
153
163
  default: boolean;
154
164
  };
165
+ getTableProvide: {
166
+ type: FunctionConstructor;
167
+ default: undefined;
168
+ };
155
169
  }>> & Readonly<{
156
170
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
157
171
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -168,6 +182,7 @@ declare const JComp: {
168
182
  getCompConfig: Function;
169
183
  row: Record<string, any>;
170
184
  isTableCell: boolean;
185
+ getTableProvide: Function;
171
186
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
172
187
  install: (app: import('vue').App) => void;
173
188
  };
@@ -65,6 +65,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
65
65
  type: BooleanConstructor;
66
66
  default: boolean;
67
67
  };
68
+ /**
69
+ * @zh 获取表格提供的方法
70
+ */
71
+ getTableProvide: {
72
+ type: FunctionConstructor;
73
+ default: undefined;
74
+ };
68
75
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
69
76
  "update:modelValue": (value: string | number | boolean | any[] | Record<string, any> | undefined) => any;
70
77
  change: ((...args: unknown[]) => any) | (() => any);
@@ -133,6 +140,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
133
140
  type: BooleanConstructor;
134
141
  default: boolean;
135
142
  };
143
+ /**
144
+ * @zh 获取表格提供的方法
145
+ */
146
+ getTableProvide: {
147
+ type: FunctionConstructor;
148
+ default: undefined;
149
+ };
136
150
  }>> & Readonly<{
137
151
  "onUpdate:modelValue"?: ((value: string | number | boolean | any[] | Record<string, any> | undefined) => any) | undefined;
138
152
  onChange?: ((...args: unknown[] & []) => any) | undefined;
@@ -146,6 +160,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
146
160
  getCompConfig: Function;
147
161
  row: Record<string, any>;
148
162
  isTableCell: boolean;
163
+ getTableProvide: Function;
149
164
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
150
165
  compRef: unknown;
151
166
  }, any>;
@@ -90,6 +90,26 @@ declare const JTable: {
90
90
  type: import('vue').PropType<import('..').EditConfigType>;
91
91
  default: () => {};
92
92
  };
93
+ emptyTipText: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ subColumns: {
98
+ type: import('vue').PropType<any[]>;
99
+ default: () => never[];
100
+ };
101
+ isSubShowNumber: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ subActions: {
106
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
107
+ default: () => never[];
108
+ };
109
+ loadChildren: {
110
+ type: import('vue').PropType<(record: Record<string, any>) => Promise<any[]>>;
111
+ default: null;
112
+ };
93
113
  }>> & Readonly<{
94
114
  "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
95
115
  onChange?: ((data: {
@@ -157,6 +177,11 @@ declare const JTable: {
157
177
  maxHeight: string | number;
158
178
  highlightMode: "row" | "cross" | "column" | "cell";
159
179
  editConfig: import('..').EditConfigType;
180
+ emptyTipText: string;
181
+ subColumns: any[];
182
+ isSubShowNumber: boolean;
183
+ subActions: import('..').ButtonCompType[];
184
+ loadChildren: (record: Record<string, any>) => Promise<any[]>;
160
185
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
161
186
  tableContainer: HTMLDivElement;
162
187
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -257,6 +282,26 @@ declare const JTable: {
257
282
  type: import('vue').PropType<import('..').EditConfigType>;
258
283
  default: () => {};
259
284
  };
285
+ emptyTipText: {
286
+ type: StringConstructor;
287
+ default: string;
288
+ };
289
+ subColumns: {
290
+ type: import('vue').PropType<any[]>;
291
+ default: () => never[];
292
+ };
293
+ isSubShowNumber: {
294
+ type: BooleanConstructor;
295
+ default: boolean;
296
+ };
297
+ subActions: {
298
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
299
+ default: () => never[];
300
+ };
301
+ loadChildren: {
302
+ type: import('vue').PropType<(record: Record<string, any>) => Promise<any[]>>;
303
+ default: null;
304
+ };
260
305
  }>> & Readonly<{
261
306
  "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
262
307
  onChange?: ((data: {
@@ -305,6 +350,11 @@ declare const JTable: {
305
350
  maxHeight: string | number;
306
351
  highlightMode: "row" | "cross" | "column" | "cell";
307
352
  editConfig: import('..').EditConfigType;
353
+ emptyTipText: string;
354
+ subColumns: any[];
355
+ isSubShowNumber: boolean;
356
+ subActions: import('..').ButtonCompType[];
357
+ loadChildren: (record: Record<string, any>) => Promise<any[]>;
308
358
  }>;
309
359
  __isFragment?: never;
310
360
  __isTeleport?: never;
@@ -400,6 +450,26 @@ declare const JTable: {
400
450
  type: import('vue').PropType<import('..').EditConfigType>;
401
451
  default: () => {};
402
452
  };
453
+ emptyTipText: {
454
+ type: StringConstructor;
455
+ default: string;
456
+ };
457
+ subColumns: {
458
+ type: import('vue').PropType<any[]>;
459
+ default: () => never[];
460
+ };
461
+ isSubShowNumber: {
462
+ type: BooleanConstructor;
463
+ default: boolean;
464
+ };
465
+ subActions: {
466
+ type: import('vue').PropType<import('..').ButtonCompType[]>;
467
+ default: () => never[];
468
+ };
469
+ loadChildren: {
470
+ type: import('vue').PropType<(record: Record<string, any>) => Promise<any[]>>;
471
+ default: null;
472
+ };
403
473
  }>> & Readonly<{
404
474
  "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
405
475
  onChange?: ((data: {
@@ -467,6 +537,11 @@ declare const JTable: {
467
537
  maxHeight: string | number;
468
538
  highlightMode: "row" | "cross" | "column" | "cell";
469
539
  editConfig: import('..').EditConfigType;
540
+ emptyTipText: string;
541
+ subColumns: any[];
542
+ isSubShowNumber: boolean;
543
+ subActions: import('..').ButtonCompType[];
544
+ loadChildren: (record: Record<string, any>) => Promise<any[]>;
470
545
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
471
546
  install: (app: import('vue').App) => void;
472
547
  };
@@ -160,6 +160,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
160
160
  type: PropType<EditConfigType>;
161
161
  default: () => {};
162
162
  };
163
+ /**
164
+ * @zh 空数据提示文本
165
+ */
166
+ emptyTipText: {
167
+ type: StringConstructor;
168
+ default: string;
169
+ };
170
+ /**
171
+ * @zh 子表列配置
172
+ */
173
+ subColumns: {
174
+ type: PropType<any[]>;
175
+ default: () => never[];
176
+ };
177
+ /**
178
+ * @zh 是否显示子表序号
179
+ */
180
+ isSubShowNumber: {
181
+ type: BooleanConstructor;
182
+ default: boolean;
183
+ };
184
+ /**
185
+ * @zh 子表行内操作按钮配置
186
+ */
187
+ subActions: {
188
+ type: PropType<ButtonCompType[]>;
189
+ default: () => never[];
190
+ };
191
+ /**
192
+ * @zh 懒加载子节点数据
193
+ */
194
+ loadChildren: {
195
+ type: PropType<(record: Record<string, any>) => Promise<any[]>>;
196
+ default: null;
197
+ };
163
198
  }>, {
164
199
  getInstance: () => any;
165
200
  setRecords: (records: Record<string, any>[]) => void;
@@ -343,6 +378,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
343
378
  type: PropType<EditConfigType>;
344
379
  default: () => {};
345
380
  };
381
+ /**
382
+ * @zh 空数据提示文本
383
+ */
384
+ emptyTipText: {
385
+ type: StringConstructor;
386
+ default: string;
387
+ };
388
+ /**
389
+ * @zh 子表列配置
390
+ */
391
+ subColumns: {
392
+ type: PropType<any[]>;
393
+ default: () => never[];
394
+ };
395
+ /**
396
+ * @zh 是否显示子表序号
397
+ */
398
+ isSubShowNumber: {
399
+ type: BooleanConstructor;
400
+ default: boolean;
401
+ };
402
+ /**
403
+ * @zh 子表行内操作按钮配置
404
+ */
405
+ subActions: {
406
+ type: PropType<ButtonCompType[]>;
407
+ default: () => never[];
408
+ };
409
+ /**
410
+ * @zh 懒加载子节点数据
411
+ */
412
+ loadChildren: {
413
+ type: PropType<(record: Record<string, any>) => Promise<any[]>>;
414
+ default: null;
415
+ };
346
416
  }>> & Readonly<{
347
417
  "onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
348
418
  onChange?: ((data: {
@@ -385,6 +455,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
385
455
  maxHeight: string | number;
386
456
  highlightMode: "row" | "cross" | "column" | "cell";
387
457
  editConfig: EditConfigType;
458
+ emptyTipText: string;
459
+ subColumns: any[];
460
+ isSubShowNumber: boolean;
461
+ subActions: ButtonCompType[];
462
+ loadChildren: (record: Record<string, any>) => Promise<any[]>;
388
463
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
389
464
  tableContainer: HTMLDivElement;
390
465
  }, HTMLDivElement>;