@opentinyvue/vue-grid 3.27.0 → 3.29.0

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/package.json CHANGED
@@ -1,29 +1,29 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-grid",
3
3
  "type": "module",
4
- "version": "3.27.0",
4
+ "version": "3.29.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/utils": "~3.27.0",
12
- "@opentinyvue/vue-common": "~3.27.0",
13
- "@opentinyvue/vue-directive": "~3.27.0",
14
- "@opentinyvue/vue-dropdown": "~3.27.0",
15
- "@opentinyvue/vue-dropdown-item": "~3.27.0",
16
- "@opentinyvue/vue-dropdown-menu": "~3.27.0",
17
- "@opentinyvue/vue-exception": "~3.27.0",
18
- "@opentinyvue/vue-icon": "~3.27.0",
19
- "@opentinyvue/vue-loading": "~3.27.0",
20
- "@opentinyvue/vue-locale": "~3.27.0",
21
- "@opentinyvue/vue-modal": "~3.27.0",
22
- "@opentinyvue/vue-pager": "~3.27.0",
23
- "@opentinyvue/vue-renderless": "~3.27.0",
24
- "@opentinyvue/vue-tag": "~3.27.0",
25
- "@opentinyvue/vue-theme": "~3.27.0",
26
- "@opentinyvue/vue-tooltip": "~3.27.0"
11
+ "@opentinyvue/utils": "~3.29.0",
12
+ "@opentinyvue/vue-common": "~3.29.0",
13
+ "@opentinyvue/vue-directive": "~3.29.0",
14
+ "@opentinyvue/vue-dropdown": "~3.29.0",
15
+ "@opentinyvue/vue-dropdown-item": "~3.29.0",
16
+ "@opentinyvue/vue-dropdown-menu": "~3.29.0",
17
+ "@opentinyvue/vue-exception": "~3.29.0",
18
+ "@opentinyvue/vue-icon": "~3.29.0",
19
+ "@opentinyvue/vue-loading": "~3.29.0",
20
+ "@opentinyvue/vue-locale": "~3.29.0",
21
+ "@opentinyvue/vue-modal": "~3.29.0",
22
+ "@opentinyvue/vue-pager": "~3.29.0",
23
+ "@opentinyvue/vue-renderless": "~3.29.0",
24
+ "@opentinyvue/vue-tag": "~3.29.0",
25
+ "@opentinyvue/vue-theme": "~3.29.0",
26
+ "@opentinyvue/vue-tooltip": "~3.29.0"
27
27
  },
28
28
  "types": "index.d.ts",
29
29
  "scripts": {
@@ -5,3 +5,4 @@ export * from './useData';
5
5
  export * from './useHeader';
6
6
  export * from './useCellEvent';
7
7
  export * from './useCellSpan';
8
+ export * from './useNormalData';
@@ -0,0 +1,8 @@
1
+ import { hooks } from '@opentinyvue/vue-common';
2
+ export declare const useNormalData: ({ props, tableFullColumn }: {
3
+ props: any;
4
+ tableFullColumn: any;
5
+ }) => {
6
+ rawData: hooks.Ref<never[]>;
7
+ rawDataVersion: hooks.Ref<number>;
8
+ };
package/src/config.d.ts CHANGED
@@ -2,9 +2,45 @@ declare const GlobalConfig: {
2
2
  validConfig: {
3
3
  message: string;
4
4
  highlightError: boolean;
5
- icon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
5
+ icon: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
6
+ shape: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ firstColor: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ secondColor: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ underlay: {
19
+ type: ObjectConstructor;
20
+ };
21
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
6
22
  [key: string]: any;
7
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
23
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
24
+ shape: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ firstColor: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ secondColor: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ underlay: {
37
+ type: ObjectConstructor;
38
+ };
39
+ }>>, {
40
+ shape: string;
41
+ firstColor: string;
42
+ secondColor: string;
43
+ }, {}>>;
8
44
  };
9
45
  editConfig: {
10
46
  trigger: string;
@@ -27,6 +63,7 @@ declare const GlobalConfig: {
27
63
  defaultTreeIndent: number;
28
64
  defaultTreeSpacing: number;
29
65
  rowId: string;
66
+ $rowIndex: symbol;
30
67
  version: number;
31
68
  optimization: {
32
69
  animat: boolean;
@@ -40,35 +77,359 @@ declare const GlobalConfig: {
40
77
  };
41
78
  };
42
79
  icon: {
43
- sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
80
+ sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
81
+ shape: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ firstColor: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ secondColor: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ underlay: {
94
+ type: ObjectConstructor;
95
+ };
96
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
44
97
  [key: string]: any;
45
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
46
- sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
98
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
99
+ shape: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ firstColor: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ secondColor: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ underlay: {
112
+ type: ObjectConstructor;
113
+ };
114
+ }>>, {
115
+ shape: string;
116
+ firstColor: string;
117
+ secondColor: string;
118
+ }, {}>>;
119
+ sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
120
+ shape: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ firstColor: {
125
+ type: StringConstructor;
126
+ default: string;
127
+ };
128
+ secondColor: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
132
+ underlay: {
133
+ type: ObjectConstructor;
134
+ };
135
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
47
136
  [key: string]: any;
48
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
49
- sortDefault: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
137
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
138
+ shape: {
139
+ type: StringConstructor;
140
+ default: string;
141
+ };
142
+ firstColor: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ secondColor: {
147
+ type: StringConstructor;
148
+ default: string;
149
+ };
150
+ underlay: {
151
+ type: ObjectConstructor;
152
+ };
153
+ }>>, {
154
+ shape: string;
155
+ firstColor: string;
156
+ secondColor: string;
157
+ }, {}>>;
158
+ sortDefault: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
159
+ shape: {
160
+ type: StringConstructor;
161
+ default: string;
162
+ };
163
+ firstColor: {
164
+ type: StringConstructor;
165
+ default: string;
166
+ };
167
+ secondColor: {
168
+ type: StringConstructor;
169
+ default: string;
170
+ };
171
+ underlay: {
172
+ type: ObjectConstructor;
173
+ };
174
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
50
175
  [key: string]: any;
51
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
176
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
177
+ shape: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ firstColor: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ secondColor: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ underlay: {
190
+ type: ObjectConstructor;
191
+ };
192
+ }>>, {
193
+ shape: string;
194
+ firstColor: string;
195
+ secondColor: string;
196
+ }, {}>>;
52
197
  required: string;
53
- filter: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
198
+ filter: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
199
+ shape: {
200
+ type: StringConstructor;
201
+ default: string;
202
+ };
203
+ firstColor: {
204
+ type: StringConstructor;
205
+ default: string;
206
+ };
207
+ secondColor: {
208
+ type: StringConstructor;
209
+ default: string;
210
+ };
211
+ underlay: {
212
+ type: ObjectConstructor;
213
+ };
214
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
54
215
  [key: string]: any;
55
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
56
- edit: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
216
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
217
+ shape: {
218
+ type: StringConstructor;
219
+ default: string;
220
+ };
221
+ firstColor: {
222
+ type: StringConstructor;
223
+ default: string;
224
+ };
225
+ secondColor: {
226
+ type: StringConstructor;
227
+ default: string;
228
+ };
229
+ underlay: {
230
+ type: ObjectConstructor;
231
+ };
232
+ }>>, {
233
+ shape: string;
234
+ firstColor: string;
235
+ secondColor: string;
236
+ }, {}>>;
237
+ edit: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
238
+ shape: {
239
+ type: StringConstructor;
240
+ default: string;
241
+ };
242
+ firstColor: {
243
+ type: StringConstructor;
244
+ default: string;
245
+ };
246
+ secondColor: {
247
+ type: StringConstructor;
248
+ default: string;
249
+ };
250
+ underlay: {
251
+ type: ObjectConstructor;
252
+ };
253
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
57
254
  [key: string]: any;
58
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
255
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
256
+ shape: {
257
+ type: StringConstructor;
258
+ default: string;
259
+ };
260
+ firstColor: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
264
+ secondColor: {
265
+ type: StringConstructor;
266
+ default: string;
267
+ };
268
+ underlay: {
269
+ type: ObjectConstructor;
270
+ };
271
+ }>>, {
272
+ shape: string;
273
+ firstColor: string;
274
+ secondColor: string;
275
+ }, {}>>;
59
276
  tree: string;
60
- refresh: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
277
+ refresh: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
278
+ shape: {
279
+ type: StringConstructor;
280
+ default: string;
281
+ };
282
+ firstColor: {
283
+ type: StringConstructor;
284
+ default: string;
285
+ };
286
+ secondColor: {
287
+ type: StringConstructor;
288
+ default: string;
289
+ };
290
+ underlay: {
291
+ type: ObjectConstructor;
292
+ };
293
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
61
294
  [key: string]: any;
62
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
63
- minscreen: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
295
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
296
+ shape: {
297
+ type: StringConstructor;
298
+ default: string;
299
+ };
300
+ firstColor: {
301
+ type: StringConstructor;
302
+ default: string;
303
+ };
304
+ secondColor: {
305
+ type: StringConstructor;
306
+ default: string;
307
+ };
308
+ underlay: {
309
+ type: ObjectConstructor;
310
+ };
311
+ }>>, {
312
+ shape: string;
313
+ firstColor: string;
314
+ secondColor: string;
315
+ }, {}>>;
316
+ minscreen: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
317
+ shape: {
318
+ type: StringConstructor;
319
+ default: string;
320
+ };
321
+ firstColor: {
322
+ type: StringConstructor;
323
+ default: string;
324
+ };
325
+ secondColor: {
326
+ type: StringConstructor;
327
+ default: string;
328
+ };
329
+ underlay: {
330
+ type: ObjectConstructor;
331
+ };
332
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
64
333
  [key: string]: any;
65
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
66
- fullscreen: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
334
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
335
+ shape: {
336
+ type: StringConstructor;
337
+ default: string;
338
+ };
339
+ firstColor: {
340
+ type: StringConstructor;
341
+ default: string;
342
+ };
343
+ secondColor: {
344
+ type: StringConstructor;
345
+ default: string;
346
+ };
347
+ underlay: {
348
+ type: ObjectConstructor;
349
+ };
350
+ }>>, {
351
+ shape: string;
352
+ firstColor: string;
353
+ secondColor: string;
354
+ }, {}>>;
355
+ fullscreen: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
356
+ shape: {
357
+ type: StringConstructor;
358
+ default: string;
359
+ };
360
+ firstColor: {
361
+ type: StringConstructor;
362
+ default: string;
363
+ };
364
+ secondColor: {
365
+ type: StringConstructor;
366
+ default: string;
367
+ };
368
+ underlay: {
369
+ type: ObjectConstructor;
370
+ };
371
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
67
372
  [key: string]: any;
68
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
69
- custom: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
373
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
374
+ shape: {
375
+ type: StringConstructor;
376
+ default: string;
377
+ };
378
+ firstColor: {
379
+ type: StringConstructor;
380
+ default: string;
381
+ };
382
+ secondColor: {
383
+ type: StringConstructor;
384
+ default: string;
385
+ };
386
+ underlay: {
387
+ type: ObjectConstructor;
388
+ };
389
+ }>>, {
390
+ shape: string;
391
+ firstColor: string;
392
+ secondColor: string;
393
+ }, {}>>;
394
+ custom: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
395
+ shape: {
396
+ type: StringConstructor;
397
+ default: string;
398
+ };
399
+ firstColor: {
400
+ type: StringConstructor;
401
+ default: string;
402
+ };
403
+ secondColor: {
404
+ type: StringConstructor;
405
+ default: string;
406
+ };
407
+ underlay: {
408
+ type: ObjectConstructor;
409
+ };
410
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
70
411
  [key: string]: any;
71
- }>, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>>;
412
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
413
+ shape: {
414
+ type: StringConstructor;
415
+ default: string;
416
+ };
417
+ firstColor: {
418
+ type: StringConstructor;
419
+ default: string;
420
+ };
421
+ secondColor: {
422
+ type: StringConstructor;
423
+ default: string;
424
+ };
425
+ underlay: {
426
+ type: ObjectConstructor;
427
+ };
428
+ }>>, {
429
+ shape: string;
430
+ firstColor: string;
431
+ secondColor: string;
432
+ }, {}>>;
72
433
  jumpPrev: string;
73
434
  jumpNext: string;
74
435
  prevPage: string;
@@ -13,6 +13,7 @@ declare const Methods: {
13
13
  loadTableData(datas: any, notRefresh: any): any;
14
14
  reloadData(datas: any): any;
15
15
  loadData(datas: any): Promise<unknown>;
16
+ updateRawData(datas: any): void;
16
17
  getOriginRow(row: any): any;
17
18
  setOriginRow(row: any, record: any): void;
18
19
  reloadRow(row: any, record: any, field: any): any;
@@ -20,6 +21,19 @@ declare const Methods: {
20
21
  loadColumn(columns: any): Promise<any>;
21
22
  /** 设置数据查找缓存,对数据进行备份,深度克隆 */
22
23
  updateCache(backup?: boolean, deepCopy?: boolean): void;
24
+ getRaw(object: any): any;
25
+ /**
26
+ * 递归地将 Proxy 对象(如 Vue 3 的响应式对象)转换为普通对象。
27
+ * @param {any} data 待处理的数据
28
+ * @returns {any} 转换后的普通对象或原始数据
29
+ */
30
+ deepUnwrap(data: any): any;
31
+ /**
32
+ * 复制 Map,并递归地将 Map 的值中包含的 Proxy 转换为普通对象。
33
+ * @param {Map<any, any>} originalMap 原始 Map
34
+ * @returns {Map<any, any>} 复制并解包后的新 Map
35
+ */
36
+ cloneMapAndUnwrap(originalMap: any): any;
23
37
  cacheColumnMap(options: any): void;
24
38
  getRowNode(tr: any): {
25
39
  item: any;
@@ -34,7 +48,7 @@ declare const Methods: {
34
48
  getRowIndex(row: any): any;
35
49
  getColumnIndex(column: any): any;
36
50
  hasIndexColumn(column: any): boolean;
37
- defineField(row: any, copy: any): any;
51
+ defineField(row: any, copy: any, editorColumns: any, cache: any): any;
38
52
  isTemporaryRow(row: any): any;
39
53
  createData(records: any, copy: any): Promise<unknown>;
40
54
  createRow(records: any): Promise<unknown>;
@@ -271,6 +271,19 @@ declare const _default: hooks.DefineComponent<{
271
271
  scaleMinList: never[];
272
272
  }>;
273
273
  tiledLength: hooks.Ref<number>;
274
+ rawDataVersion: hooks.Ref<number>;
275
+ rawData: hooks.Ref<never[]>;
276
+ markColumnIndex: hooks.Ref<number>;
277
+ rowidCacheMap: Map<any, any>;
278
+ horizonScroll: hooks.Ref<{
279
+ fixed: boolean;
280
+ threshold: number;
281
+ max: number;
282
+ isLeft: boolean;
283
+ isRight: boolean;
284
+ }>;
285
+ resolveMap: {};
286
+ columnSlotsWeakMap: WeakMap<object, any>;
274
287
  }, {
275
288
  asyncRenderMap: {};
276
289
  ctxMenuStore: {
@@ -303,6 +316,7 @@ declare const _default: hooks.DefineComponent<{
303
316
  columns: never[];
304
317
  };
305
318
  insertList: never[];
319
+ insertMap: Map<any, any>;
306
320
  removeList: never[];
307
321
  selected: {
308
322
  column: null;
@@ -363,13 +377,6 @@ declare const _default: hooks.DefineComponent<{
363
377
  validTipContent: string;
364
378
  validatedMap: {};
365
379
  parentHeight: number;
366
- horizonScroll: {
367
- fixed: boolean;
368
- threshold: number;
369
- max: number;
370
- isLeft: boolean;
371
- isRight: boolean;
372
- };
373
380
  }, {
374
381
  bodyCtxMenu(): any;
375
382
  ctxMenuList(): never[];
@@ -404,12 +411,16 @@ declare const _default: hooks.DefineComponent<{
404
411
  loadTableData(datas: any, notRefresh: any): any;
405
412
  reloadData(datas: any): any;
406
413
  loadData(datas: any): Promise<unknown>;
414
+ updateRawData(datas: any): void;
407
415
  getOriginRow(row: any): any;
408
416
  setOriginRow(row: any, record: any): void;
409
417
  reloadRow(row: any, record: any, field: any): any;
410
418
  reloadColumn(columns: any): any;
411
419
  loadColumn(columns: any): Promise<any>;
412
420
  updateCache(backup?: boolean, deepCopy?: boolean): void;
421
+ getRaw(object: any): any;
422
+ deepUnwrap(data: any): any;
423
+ cloneMapAndUnwrap(originalMap: any): any;
413
424
  cacheColumnMap(options: any): void;
414
425
  getRowNode(tr: any): {
415
426
  item: any;
@@ -424,7 +435,7 @@ declare const _default: hooks.DefineComponent<{
424
435
  getRowIndex(row: any): any;
425
436
  getColumnIndex(column: any): any;
426
437
  hasIndexColumn(column: any): boolean;
427
- defineField(row: any, copy: any): any;
438
+ defineField(row: any, copy: any, editorColumns: any, cache: any): any;
428
439
  isTemporaryRow(row: any): any;
429
440
  createData(records: any, copy: any): Promise<unknown>;
430
441
  createRow(records: any): Promise<unknown>;
@@ -776,7 +787,6 @@ declare const _default: hooks.DefineComponent<{
776
787
  startIndex: number;
777
788
  align: string;
778
789
  tooltipConfig: Record<string, any>;
779
- viewType: string;
780
790
  dropConfig: Record<string, any>;
781
791
  resizable: boolean;
782
792
  headerAlign: string;
@@ -794,6 +804,7 @@ declare const _default: hooks.DefineComponent<{
794
804
  keyboardConfig: Record<string, any>;
795
805
  remoteFilter: boolean;
796
806
  fit: boolean;
807
+ viewType: string;
797
808
  isAsyncColumn: boolean;
798
809
  rowKey: boolean;
799
810
  mfShow: string;