@opentinyvue/vue-grid 3.26.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/lib/index.js +584 -345
- package/package.json +17 -17
- package/src/body/src/body.d.ts +2 -0
- package/src/composable/index.d.ts +1 -0
- package/src/composable/useNormalData.d.ts +8 -0
- package/src/config.d.ts +381 -20
- package/src/table/src/methods.d.ts +15 -1
- package/src/table/src/table.d.ts +22 -9
- package/src/validator/src/methods.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-grid",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
12
|
-
"@opentinyvue/vue-common": "~3.
|
|
13
|
-
"@opentinyvue/vue-directive": "~3.
|
|
14
|
-
"@opentinyvue/vue-dropdown": "~3.
|
|
15
|
-
"@opentinyvue/vue-dropdown-item": "~3.
|
|
16
|
-
"@opentinyvue/vue-dropdown-menu": "~3.
|
|
17
|
-
"@opentinyvue/vue-exception": "~3.
|
|
18
|
-
"@opentinyvue/vue-icon": "~3.
|
|
19
|
-
"@opentinyvue/vue-loading": "~3.
|
|
20
|
-
"@opentinyvue/vue-locale": "~3.
|
|
21
|
-
"@opentinyvue/vue-modal": "~3.
|
|
22
|
-
"@opentinyvue/vue-pager": "~3.
|
|
23
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
24
|
-
"@opentinyvue/vue-tag": "~3.
|
|
25
|
-
"@opentinyvue/vue-theme": "~3.
|
|
26
|
-
"@opentinyvue/vue-tooltip": "~3.
|
|
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": {
|
package/src/body/src/body.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ declare const _default: hooks.DefineComponent<{
|
|
|
48
48
|
thead: hooks.Ref<any>;
|
|
49
49
|
tbody: hooks.Ref<any>;
|
|
50
50
|
ySpace: hooks.Ref<any>;
|
|
51
|
+
alignXBar: hooks.Ref<any>;
|
|
52
|
+
alignYBar: hooks.Ref<any>;
|
|
51
53
|
normalRows: hooks.ShallowRef<{}>;
|
|
52
54
|
footerRows: hooks.ShallowRef<{}>;
|
|
53
55
|
resetStickyWrapperScrollPos: () => void;
|
package/src/config.d.ts
CHANGED
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
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<{
|
|
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, {
|
|
5
22
|
[key: string]: any;
|
|
6
|
-
}>,
|
|
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
|
+
}, {}>>;
|
|
7
44
|
};
|
|
8
45
|
editConfig: {
|
|
9
46
|
trigger: string;
|
|
@@ -39,35 +76,359 @@ declare const GlobalConfig: {
|
|
|
39
76
|
};
|
|
40
77
|
};
|
|
41
78
|
icon: {
|
|
42
|
-
sortAsc: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
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, {
|
|
43
96
|
[key: string]: any;
|
|
44
|
-
}>,
|
|
45
|
-
|
|
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, {
|
|
46
135
|
[key: string]: any;
|
|
47
|
-
}>,
|
|
48
|
-
|
|
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, {
|
|
49
174
|
[key: string]: any;
|
|
50
|
-
}>,
|
|
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
|
+
}, {}>>;
|
|
51
196
|
required: string;
|
|
52
|
-
filter: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
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, {
|
|
53
214
|
[key: string]: any;
|
|
54
|
-
}>,
|
|
55
|
-
|
|
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, {
|
|
56
253
|
[key: string]: any;
|
|
57
|
-
}>,
|
|
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
|
+
}, {}>>;
|
|
58
275
|
tree: string;
|
|
59
|
-
refresh: import("@vue/reactivity").Raw<import("@vue/runtime-core").DefineComponent<{
|
|
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, {
|
|
60
293
|
[key: string]: any;
|
|
61
|
-
}>,
|
|
62
|
-
|
|
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, {
|
|
63
332
|
[key: string]: any;
|
|
64
|
-
}>,
|
|
65
|
-
|
|
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, {
|
|
66
371
|
[key: string]: any;
|
|
67
|
-
}>,
|
|
68
|
-
|
|
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, {
|
|
69
410
|
[key: string]: any;
|
|
70
|
-
}>,
|
|
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
|
+
}, {}>>;
|
|
71
432
|
jumpPrev: string;
|
|
72
433
|
jumpNext: string;
|
|
73
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>;
|
package/src/table/src/table.d.ts
CHANGED
|
@@ -255,6 +255,8 @@ declare const _default: hooks.DefineComponent<{
|
|
|
255
255
|
bodyWrapperHeight: hooks.Ref<any>;
|
|
256
256
|
bodyWrapperMinHeight: hooks.Ref<any>;
|
|
257
257
|
bodyWrapperMaxHeight: hooks.Ref<any>;
|
|
258
|
+
containerScrollWidth: hooks.Ref<number>;
|
|
259
|
+
containerScrollHeight: hooks.Ref<number>;
|
|
258
260
|
bodyTableWidth: hooks.Ref<any>;
|
|
259
261
|
scrollLoadScrollHeight: hooks.Ref<any>;
|
|
260
262
|
columnStore: hooks.Ref<{
|
|
@@ -269,6 +271,18 @@ declare const _default: hooks.DefineComponent<{
|
|
|
269
271
|
scaleMinList: never[];
|
|
270
272
|
}>;
|
|
271
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: {};
|
|
272
286
|
}, {
|
|
273
287
|
asyncRenderMap: {};
|
|
274
288
|
ctxMenuStore: {
|
|
@@ -301,6 +315,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
301
315
|
columns: never[];
|
|
302
316
|
};
|
|
303
317
|
insertList: never[];
|
|
318
|
+
insertMap: Map<any, any>;
|
|
304
319
|
removeList: never[];
|
|
305
320
|
selected: {
|
|
306
321
|
column: null;
|
|
@@ -321,6 +336,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
321
336
|
multi: boolean;
|
|
322
337
|
options: never[];
|
|
323
338
|
visible: boolean;
|
|
339
|
+
searchValue: string;
|
|
324
340
|
};
|
|
325
341
|
headerCheckDisabled: boolean;
|
|
326
342
|
isAllSelected: boolean;
|
|
@@ -360,13 +376,6 @@ declare const _default: hooks.DefineComponent<{
|
|
|
360
376
|
validTipContent: string;
|
|
361
377
|
validatedMap: {};
|
|
362
378
|
parentHeight: number;
|
|
363
|
-
horizonScroll: {
|
|
364
|
-
fixed: boolean;
|
|
365
|
-
threshold: number;
|
|
366
|
-
max: number;
|
|
367
|
-
isLeft: boolean;
|
|
368
|
-
isRight: boolean;
|
|
369
|
-
};
|
|
370
379
|
}, {
|
|
371
380
|
bodyCtxMenu(): any;
|
|
372
381
|
ctxMenuList(): never[];
|
|
@@ -401,12 +410,16 @@ declare const _default: hooks.DefineComponent<{
|
|
|
401
410
|
loadTableData(datas: any, notRefresh: any): any;
|
|
402
411
|
reloadData(datas: any): any;
|
|
403
412
|
loadData(datas: any): Promise<unknown>;
|
|
413
|
+
updateRawData(datas: any): void;
|
|
404
414
|
getOriginRow(row: any): any;
|
|
405
415
|
setOriginRow(row: any, record: any): void;
|
|
406
416
|
reloadRow(row: any, record: any, field: any): any;
|
|
407
417
|
reloadColumn(columns: any): any;
|
|
408
418
|
loadColumn(columns: any): Promise<any>;
|
|
409
419
|
updateCache(backup?: boolean, deepCopy?: boolean): void;
|
|
420
|
+
getRaw(object: any): any;
|
|
421
|
+
deepUnwrap(data: any): any;
|
|
422
|
+
cloneMapAndUnwrap(originalMap: any): any;
|
|
410
423
|
cacheColumnMap(options: any): void;
|
|
411
424
|
getRowNode(tr: any): {
|
|
412
425
|
item: any;
|
|
@@ -421,7 +434,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
421
434
|
getRowIndex(row: any): any;
|
|
422
435
|
getColumnIndex(column: any): any;
|
|
423
436
|
hasIndexColumn(column: any): boolean;
|
|
424
|
-
defineField(row: any, copy: any): any;
|
|
437
|
+
defineField(row: any, copy: any, editorColumns: any, cache: any): any;
|
|
425
438
|
isTemporaryRow(row: any): any;
|
|
426
439
|
createData(records: any, copy: any): Promise<unknown>;
|
|
427
440
|
createRow(records: any): Promise<unknown>;
|
|
@@ -773,7 +786,6 @@ declare const _default: hooks.DefineComponent<{
|
|
|
773
786
|
startIndex: number;
|
|
774
787
|
align: string;
|
|
775
788
|
tooltipConfig: Record<string, any>;
|
|
776
|
-
viewType: string;
|
|
777
789
|
dropConfig: Record<string, any>;
|
|
778
790
|
resizable: boolean;
|
|
779
791
|
headerAlign: string;
|
|
@@ -791,6 +803,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
791
803
|
keyboardConfig: Record<string, any>;
|
|
792
804
|
remoteFilter: boolean;
|
|
793
805
|
fit: boolean;
|
|
806
|
+
viewType: string;
|
|
794
807
|
isAsyncColumn: boolean;
|
|
795
808
|
rowKey: boolean;
|
|
796
809
|
mfShow: string;
|
|
@@ -35,6 +35,7 @@ declare const _default: {
|
|
|
35
35
|
*/
|
|
36
36
|
validCellRules(type: any, row: any, column: any, defaultValue: any): Promise<void>;
|
|
37
37
|
_clearValidate(): any;
|
|
38
|
+
clearValidateMap(): void;
|
|
38
39
|
triggerValidate(type: any): Promise<void>;
|
|
39
40
|
showValidTooltip(params: any): void;
|
|
40
41
|
clostValidTooltip(): any;
|