@opentinyvue/vue-grid 3.27.0 → 3.28.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.28.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.28.0",
12
+ "@opentinyvue/vue-common": "~3.28.0",
13
+ "@opentinyvue/vue-directive": "~3.28.0",
14
+ "@opentinyvue/vue-dropdown": "~3.28.0",
15
+ "@opentinyvue/vue-dropdown-item": "~3.28.0",
16
+ "@opentinyvue/vue-dropdown-menu": "~3.28.0",
17
+ "@opentinyvue/vue-exception": "~3.28.0",
18
+ "@opentinyvue/vue-icon": "~3.28.0",
19
+ "@opentinyvue/vue-loading": "~3.28.0",
20
+ "@opentinyvue/vue-locale": "~3.28.0",
21
+ "@opentinyvue/vue-modal": "~3.28.0",
22
+ "@opentinyvue/vue-pager": "~3.28.0",
23
+ "@opentinyvue/vue-renderless": "~3.28.0",
24
+ "@opentinyvue/vue-tag": "~3.28.0",
25
+ "@opentinyvue/vue-theme": "~3.28.0",
26
+ "@opentinyvue/vue-tooltip": "~3.28.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;
@@ -40,35 +76,359 @@ declare const GlobalConfig: {
40
76
  };
41
77
  };
42
78
  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, {
79
+ sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
80
+ shape: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ };
84
+ firstColor: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ secondColor: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ underlay: {
93
+ type: ObjectConstructor;
94
+ };
95
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
44
96
  [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, {
97
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
98
+ shape: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ firstColor: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ secondColor: {
107
+ type: StringConstructor;
108
+ default: string;
109
+ };
110
+ underlay: {
111
+ type: ObjectConstructor;
112
+ };
113
+ }>>, {
114
+ shape: string;
115
+ firstColor: string;
116
+ secondColor: string;
117
+ }, {}>>;
118
+ sortDesc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
119
+ shape: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ firstColor: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ secondColor: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ underlay: {
132
+ type: ObjectConstructor;
133
+ };
134
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
47
135
  [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, {
136
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
137
+ shape: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ firstColor: {
142
+ type: StringConstructor;
143
+ default: string;
144
+ };
145
+ secondColor: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ underlay: {
150
+ type: ObjectConstructor;
151
+ };
152
+ }>>, {
153
+ shape: string;
154
+ firstColor: string;
155
+ secondColor: string;
156
+ }, {}>>;
157
+ sortDefault: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
158
+ shape: {
159
+ type: StringConstructor;
160
+ default: string;
161
+ };
162
+ firstColor: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ secondColor: {
167
+ type: StringConstructor;
168
+ default: string;
169
+ };
170
+ underlay: {
171
+ type: ObjectConstructor;
172
+ };
173
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
50
174
  [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<{}>>, {}, {}>>;
175
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
176
+ shape: {
177
+ type: StringConstructor;
178
+ default: string;
179
+ };
180
+ firstColor: {
181
+ type: StringConstructor;
182
+ default: string;
183
+ };
184
+ secondColor: {
185
+ type: StringConstructor;
186
+ default: string;
187
+ };
188
+ underlay: {
189
+ type: ObjectConstructor;
190
+ };
191
+ }>>, {
192
+ shape: string;
193
+ firstColor: string;
194
+ secondColor: string;
195
+ }, {}>>;
52
196
  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, {
197
+ filter: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
198
+ shape: {
199
+ type: StringConstructor;
200
+ default: string;
201
+ };
202
+ firstColor: {
203
+ type: StringConstructor;
204
+ default: string;
205
+ };
206
+ secondColor: {
207
+ type: StringConstructor;
208
+ default: string;
209
+ };
210
+ underlay: {
211
+ type: ObjectConstructor;
212
+ };
213
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
54
214
  [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, {
215
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
216
+ shape: {
217
+ type: StringConstructor;
218
+ default: string;
219
+ };
220
+ firstColor: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ secondColor: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ underlay: {
229
+ type: ObjectConstructor;
230
+ };
231
+ }>>, {
232
+ shape: string;
233
+ firstColor: string;
234
+ secondColor: string;
235
+ }, {}>>;
236
+ edit: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
237
+ shape: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ };
241
+ firstColor: {
242
+ type: StringConstructor;
243
+ default: string;
244
+ };
245
+ secondColor: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ };
249
+ underlay: {
250
+ type: ObjectConstructor;
251
+ };
252
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
57
253
  [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<{}>>, {}, {}>>;
254
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
255
+ shape: {
256
+ type: StringConstructor;
257
+ default: string;
258
+ };
259
+ firstColor: {
260
+ type: StringConstructor;
261
+ default: string;
262
+ };
263
+ secondColor: {
264
+ type: StringConstructor;
265
+ default: string;
266
+ };
267
+ underlay: {
268
+ type: ObjectConstructor;
269
+ };
270
+ }>>, {
271
+ shape: string;
272
+ firstColor: string;
273
+ secondColor: string;
274
+ }, {}>>;
59
275
  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, {
276
+ refresh: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
277
+ shape: {
278
+ type: StringConstructor;
279
+ default: string;
280
+ };
281
+ firstColor: {
282
+ type: StringConstructor;
283
+ default: string;
284
+ };
285
+ secondColor: {
286
+ type: StringConstructor;
287
+ default: string;
288
+ };
289
+ underlay: {
290
+ type: ObjectConstructor;
291
+ };
292
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
61
293
  [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, {
294
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
295
+ shape: {
296
+ type: StringConstructor;
297
+ default: string;
298
+ };
299
+ firstColor: {
300
+ type: StringConstructor;
301
+ default: string;
302
+ };
303
+ secondColor: {
304
+ type: StringConstructor;
305
+ default: string;
306
+ };
307
+ underlay: {
308
+ type: ObjectConstructor;
309
+ };
310
+ }>>, {
311
+ shape: string;
312
+ firstColor: string;
313
+ secondColor: string;
314
+ }, {}>>;
315
+ minscreen: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
316
+ shape: {
317
+ type: StringConstructor;
318
+ default: string;
319
+ };
320
+ firstColor: {
321
+ type: StringConstructor;
322
+ default: string;
323
+ };
324
+ secondColor: {
325
+ type: StringConstructor;
326
+ default: string;
327
+ };
328
+ underlay: {
329
+ type: ObjectConstructor;
330
+ };
331
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
64
332
  [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, {
333
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
334
+ shape: {
335
+ type: StringConstructor;
336
+ default: string;
337
+ };
338
+ firstColor: {
339
+ type: StringConstructor;
340
+ default: string;
341
+ };
342
+ secondColor: {
343
+ type: StringConstructor;
344
+ default: string;
345
+ };
346
+ underlay: {
347
+ type: ObjectConstructor;
348
+ };
349
+ }>>, {
350
+ shape: string;
351
+ firstColor: string;
352
+ secondColor: string;
353
+ }, {}>>;
354
+ fullscreen: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
355
+ shape: {
356
+ type: StringConstructor;
357
+ default: string;
358
+ };
359
+ firstColor: {
360
+ type: StringConstructor;
361
+ default: string;
362
+ };
363
+ secondColor: {
364
+ type: StringConstructor;
365
+ default: string;
366
+ };
367
+ underlay: {
368
+ type: ObjectConstructor;
369
+ };
370
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
67
371
  [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, {
372
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
373
+ shape: {
374
+ type: StringConstructor;
375
+ default: string;
376
+ };
377
+ firstColor: {
378
+ type: StringConstructor;
379
+ default: string;
380
+ };
381
+ secondColor: {
382
+ type: StringConstructor;
383
+ default: string;
384
+ };
385
+ underlay: {
386
+ type: ObjectConstructor;
387
+ };
388
+ }>>, {
389
+ shape: string;
390
+ firstColor: string;
391
+ secondColor: string;
392
+ }, {}>>;
393
+ custom: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
394
+ shape: {
395
+ type: StringConstructor;
396
+ default: string;
397
+ };
398
+ firstColor: {
399
+ type: StringConstructor;
400
+ default: string;
401
+ };
402
+ secondColor: {
403
+ type: StringConstructor;
404
+ default: string;
405
+ };
406
+ underlay: {
407
+ type: ObjectConstructor;
408
+ };
409
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
70
410
  [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<{}>>, {}, {}>>;
411
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
412
+ shape: {
413
+ type: StringConstructor;
414
+ default: string;
415
+ };
416
+ firstColor: {
417
+ type: StringConstructor;
418
+ default: string;
419
+ };
420
+ secondColor: {
421
+ type: StringConstructor;
422
+ default: string;
423
+ };
424
+ underlay: {
425
+ type: ObjectConstructor;
426
+ };
427
+ }>>, {
428
+ shape: string;
429
+ firstColor: string;
430
+ secondColor: string;
431
+ }, {}>>;
72
432
  jumpPrev: string;
73
433
  jumpNext: string;
74
434
  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,18 @@ 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: {};
274
286
  }, {
275
287
  asyncRenderMap: {};
276
288
  ctxMenuStore: {
@@ -303,6 +315,7 @@ declare const _default: hooks.DefineComponent<{
303
315
  columns: never[];
304
316
  };
305
317
  insertList: never[];
318
+ insertMap: Map<any, any>;
306
319
  removeList: never[];
307
320
  selected: {
308
321
  column: null;
@@ -363,13 +376,6 @@ declare const _default: hooks.DefineComponent<{
363
376
  validTipContent: string;
364
377
  validatedMap: {};
365
378
  parentHeight: number;
366
- horizonScroll: {
367
- fixed: boolean;
368
- threshold: number;
369
- max: number;
370
- isLeft: boolean;
371
- isRight: boolean;
372
- };
373
379
  }, {
374
380
  bodyCtxMenu(): any;
375
381
  ctxMenuList(): never[];
@@ -404,12 +410,16 @@ declare const _default: hooks.DefineComponent<{
404
410
  loadTableData(datas: any, notRefresh: any): any;
405
411
  reloadData(datas: any): any;
406
412
  loadData(datas: any): Promise<unknown>;
413
+ updateRawData(datas: any): void;
407
414
  getOriginRow(row: any): any;
408
415
  setOriginRow(row: any, record: any): void;
409
416
  reloadRow(row: any, record: any, field: any): any;
410
417
  reloadColumn(columns: any): any;
411
418
  loadColumn(columns: any): Promise<any>;
412
419
  updateCache(backup?: boolean, deepCopy?: boolean): void;
420
+ getRaw(object: any): any;
421
+ deepUnwrap(data: any): any;
422
+ cloneMapAndUnwrap(originalMap: any): any;
413
423
  cacheColumnMap(options: any): void;
414
424
  getRowNode(tr: any): {
415
425
  item: any;
@@ -424,7 +434,7 @@ declare const _default: hooks.DefineComponent<{
424
434
  getRowIndex(row: any): any;
425
435
  getColumnIndex(column: any): any;
426
436
  hasIndexColumn(column: any): boolean;
427
- defineField(row: any, copy: any): any;
437
+ defineField(row: any, copy: any, editorColumns: any, cache: any): any;
428
438
  isTemporaryRow(row: any): any;
429
439
  createData(records: any, copy: any): Promise<unknown>;
430
440
  createRow(records: any): Promise<unknown>;
@@ -776,7 +786,6 @@ declare const _default: hooks.DefineComponent<{
776
786
  startIndex: number;
777
787
  align: string;
778
788
  tooltipConfig: Record<string, any>;
779
- viewType: string;
780
789
  dropConfig: Record<string, any>;
781
790
  resizable: boolean;
782
791
  headerAlign: string;
@@ -794,6 +803,7 @@ declare const _default: hooks.DefineComponent<{
794
803
  keyboardConfig: Record<string, any>;
795
804
  remoteFilter: boolean;
796
805
  fit: boolean;
806
+ viewType: string;
797
807
  isAsyncColumn: boolean;
798
808
  rowKey: boolean;
799
809
  mfShow: string;