@aspire-ui/element-component-pro 1.0.13 → 1.0.14
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/README.md +1 -0
- package/dist/ProTable/ProTable.vue.d.ts +7 -1
- package/dist/ProTable/types/index.d.ts +1 -0
- package/dist/ProTableForm/ProTableForm.vue.d.ts +164 -0
- package/dist/ProTableForm/index.d.ts +5 -0
- package/dist/ProTableForm/types.d.ts +69 -0
- package/dist/element-component-pro.es.js +1201 -911
- package/dist/element-component-pro.es.js.map +1 -1
- package/dist/element-component-pro.umd.js +2 -2
- package/dist/element-component-pro.umd.js.map +1 -1
- package/dist/index.d.ts +782 -243
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/useComponentSetting.d.ts +9 -4
- package/package.json +1 -1
- package/src/ProDescriptions/ProDescriptions.vue +2 -2
- package/src/ProTable/ProTable.vue +36 -5
- package/src/ProTable/types/index.ts +1 -0
- package/src/ProTableForm/ProTableForm.vue +555 -0
- package/src/ProTableForm/index.ts +9 -0
- package/src/ProTableForm/types.ts +72 -0
- package/src/index.ts +10 -0
- package/src/types/index.ts +1 -0
- package/src/useComponentSetting.ts +63 -8
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { VueConstructor } from 'vue';
|
|
|
2
2
|
import { default as ProTable, TableAction } from './ProTable';
|
|
3
3
|
import { default as ProForm, ProFormItem, FormActions, FormattedNumberInput } from './ProForm';
|
|
4
4
|
import { default as ProDescriptions } from './ProDescriptions';
|
|
5
|
+
import { ProTableForm } from './ProTableForm';
|
|
5
6
|
import { useForm } from './ProForm/useForm';
|
|
6
7
|
import { useDescription } from './ProDescriptions/useDescription';
|
|
7
8
|
import { useProTable } from './ProTable/useProTable';
|
|
@@ -10,6 +11,8 @@ import { useComponentSetting } from './useComponentSetting';
|
|
|
10
11
|
export { ProForm, ProFormItem, FormActions, FormattedNumberInput, useForm };
|
|
11
12
|
export { ProTable, useProTable, TableAction };
|
|
12
13
|
export { ProDescriptions, useDescription };
|
|
14
|
+
export { ProTableForm };
|
|
15
|
+
export type { ProTableFormColumn, ProTableFormFixedRow, ProTableFormProps, ProTableFormActionColumn, } from './ProTableForm/types';
|
|
13
16
|
export { useComponentSetting };
|
|
14
17
|
export type { UseComponentSettingReturn } from './useComponentSetting';
|
|
15
18
|
export type { UseProTableReturn, UseProTablePropsReactive } from './ProTable/useProTable';
|
|
@@ -63,19 +66,6 @@ declare const _default: {
|
|
|
63
66
|
children?: string;
|
|
64
67
|
}>;
|
|
65
68
|
};
|
|
66
|
-
rowSelection: {
|
|
67
|
-
type: import('vue').PropType<{
|
|
68
|
-
type?: "checkbox" | "radio";
|
|
69
|
-
width?: number;
|
|
70
|
-
fixed?: "left" | "right";
|
|
71
|
-
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
72
|
-
disabled?: boolean;
|
|
73
|
-
};
|
|
74
|
-
getRadioProps?: (r: Record<string, unknown>) => {
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
};
|
|
77
|
-
}>;
|
|
78
|
-
};
|
|
79
69
|
columns: {
|
|
80
70
|
type: import('vue').PropType<import('./ProTable').ProColumn[]>;
|
|
81
71
|
};
|
|
@@ -113,6 +103,19 @@ declare const _default: {
|
|
|
113
103
|
actionColumn: {
|
|
114
104
|
type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
|
|
115
105
|
};
|
|
106
|
+
rowSelection: {
|
|
107
|
+
type: import('vue').PropType<{
|
|
108
|
+
type?: "checkbox" | "radio";
|
|
109
|
+
width?: number;
|
|
110
|
+
fixed?: "left" | "right";
|
|
111
|
+
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
112
|
+
disabled?: boolean;
|
|
113
|
+
};
|
|
114
|
+
getRadioProps?: (r: Record<string, unknown>) => {
|
|
115
|
+
disabled?: boolean;
|
|
116
|
+
};
|
|
117
|
+
}>;
|
|
118
|
+
};
|
|
116
119
|
clearSelectOnPageChange: {
|
|
117
120
|
type: import('vue').PropType<boolean>;
|
|
118
121
|
default: boolean;
|
|
@@ -122,6 +125,8 @@ declare const _default: {
|
|
|
122
125
|
pageSize?: number;
|
|
123
126
|
pageSizes?: number[];
|
|
124
127
|
layout?: string;
|
|
128
|
+
small?: boolean;
|
|
129
|
+
background?: boolean;
|
|
125
130
|
props?: Record<string, unknown>;
|
|
126
131
|
}>;
|
|
127
132
|
default: () => {
|
|
@@ -129,17 +134,6 @@ declare const _default: {
|
|
|
129
134
|
pageSizes: number[];
|
|
130
135
|
};
|
|
131
136
|
};
|
|
132
|
-
tableSetting: {
|
|
133
|
-
type: import('vue').PropType<{
|
|
134
|
-
redo?: boolean;
|
|
135
|
-
size?: boolean;
|
|
136
|
-
setting?: boolean;
|
|
137
|
-
fullScreen?: boolean;
|
|
138
|
-
}>;
|
|
139
|
-
default: () => {
|
|
140
|
-
redo: boolean;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
137
|
fetchSetting: {
|
|
144
138
|
type: import('vue').PropType<import('./ProTable').FetchSetting>;
|
|
145
139
|
default: () => {
|
|
@@ -158,21 +152,6 @@ declare const _default: {
|
|
|
158
152
|
searchInfo: {
|
|
159
153
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
160
154
|
};
|
|
161
|
-
defaultSort: {
|
|
162
|
-
type: import('vue').PropType<{
|
|
163
|
-
prop: string;
|
|
164
|
-
order: "ascending" | "descending";
|
|
165
|
-
}>;
|
|
166
|
-
};
|
|
167
|
-
tableProps: {
|
|
168
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
169
|
-
};
|
|
170
|
-
rowClassName: {
|
|
171
|
-
type: import('vue').PropType<string | ((params: {
|
|
172
|
-
row: Record<string, unknown>;
|
|
173
|
-
rowIndex: number;
|
|
174
|
-
}) => string)>;
|
|
175
|
-
};
|
|
176
155
|
spanMethod: {
|
|
177
156
|
type: import('vue').PropType<(params: {
|
|
178
157
|
row: Record<string, unknown>;
|
|
@@ -190,6 +169,32 @@ declare const _default: {
|
|
|
190
169
|
expandRowKeys: {
|
|
191
170
|
type: import('vue').PropType<(string | number)[]>;
|
|
192
171
|
};
|
|
172
|
+
tableSetting: {
|
|
173
|
+
type: import('vue').PropType<{
|
|
174
|
+
redo?: boolean;
|
|
175
|
+
size?: boolean;
|
|
176
|
+
setting?: boolean;
|
|
177
|
+
fullScreen?: boolean;
|
|
178
|
+
}>;
|
|
179
|
+
default: () => {
|
|
180
|
+
redo: boolean;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
defaultSort: {
|
|
184
|
+
type: import('vue').PropType<{
|
|
185
|
+
prop: string;
|
|
186
|
+
order: "ascending" | "descending";
|
|
187
|
+
}>;
|
|
188
|
+
};
|
|
189
|
+
tableProps: {
|
|
190
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
191
|
+
};
|
|
192
|
+
rowClassName: {
|
|
193
|
+
type: import('vue').PropType<string | ((params: {
|
|
194
|
+
row: Record<string, unknown>;
|
|
195
|
+
rowIndex: number;
|
|
196
|
+
}) => string)>;
|
|
197
|
+
};
|
|
193
198
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
194
199
|
title: {
|
|
195
200
|
type: import('vue').PropType<string>;
|
|
@@ -233,19 +238,6 @@ declare const _default: {
|
|
|
233
238
|
children?: string;
|
|
234
239
|
}>;
|
|
235
240
|
};
|
|
236
|
-
rowSelection: {
|
|
237
|
-
type: import('vue').PropType<{
|
|
238
|
-
type?: "checkbox" | "radio";
|
|
239
|
-
width?: number;
|
|
240
|
-
fixed?: "left" | "right";
|
|
241
|
-
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
242
|
-
disabled?: boolean;
|
|
243
|
-
};
|
|
244
|
-
getRadioProps?: (r: Record<string, unknown>) => {
|
|
245
|
-
disabled?: boolean;
|
|
246
|
-
};
|
|
247
|
-
}>;
|
|
248
|
-
};
|
|
249
241
|
columns: {
|
|
250
242
|
type: import('vue').PropType<import('./ProTable').ProColumn[]>;
|
|
251
243
|
};
|
|
@@ -283,6 +275,19 @@ declare const _default: {
|
|
|
283
275
|
actionColumn: {
|
|
284
276
|
type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
|
|
285
277
|
};
|
|
278
|
+
rowSelection: {
|
|
279
|
+
type: import('vue').PropType<{
|
|
280
|
+
type?: "checkbox" | "radio";
|
|
281
|
+
width?: number;
|
|
282
|
+
fixed?: "left" | "right";
|
|
283
|
+
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
284
|
+
disabled?: boolean;
|
|
285
|
+
};
|
|
286
|
+
getRadioProps?: (r: Record<string, unknown>) => {
|
|
287
|
+
disabled?: boolean;
|
|
288
|
+
};
|
|
289
|
+
}>;
|
|
290
|
+
};
|
|
286
291
|
clearSelectOnPageChange: {
|
|
287
292
|
type: import('vue').PropType<boolean>;
|
|
288
293
|
default: boolean;
|
|
@@ -292,6 +297,8 @@ declare const _default: {
|
|
|
292
297
|
pageSize?: number;
|
|
293
298
|
pageSizes?: number[];
|
|
294
299
|
layout?: string;
|
|
300
|
+
small?: boolean;
|
|
301
|
+
background?: boolean;
|
|
295
302
|
props?: Record<string, unknown>;
|
|
296
303
|
}>;
|
|
297
304
|
default: () => {
|
|
@@ -299,17 +306,6 @@ declare const _default: {
|
|
|
299
306
|
pageSizes: number[];
|
|
300
307
|
};
|
|
301
308
|
};
|
|
302
|
-
tableSetting: {
|
|
303
|
-
type: import('vue').PropType<{
|
|
304
|
-
redo?: boolean;
|
|
305
|
-
size?: boolean;
|
|
306
|
-
setting?: boolean;
|
|
307
|
-
fullScreen?: boolean;
|
|
308
|
-
}>;
|
|
309
|
-
default: () => {
|
|
310
|
-
redo: boolean;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
309
|
fetchSetting: {
|
|
314
310
|
type: import('vue').PropType<import('./ProTable').FetchSetting>;
|
|
315
311
|
default: () => {
|
|
@@ -328,21 +324,6 @@ declare const _default: {
|
|
|
328
324
|
searchInfo: {
|
|
329
325
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
330
326
|
};
|
|
331
|
-
defaultSort: {
|
|
332
|
-
type: import('vue').PropType<{
|
|
333
|
-
prop: string;
|
|
334
|
-
order: "ascending" | "descending";
|
|
335
|
-
}>;
|
|
336
|
-
};
|
|
337
|
-
tableProps: {
|
|
338
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
339
|
-
};
|
|
340
|
-
rowClassName: {
|
|
341
|
-
type: import('vue').PropType<string | ((params: {
|
|
342
|
-
row: Record<string, unknown>;
|
|
343
|
-
rowIndex: number;
|
|
344
|
-
}) => string)>;
|
|
345
|
-
};
|
|
346
327
|
spanMethod: {
|
|
347
328
|
type: import('vue').PropType<(params: {
|
|
348
329
|
row: Record<string, unknown>;
|
|
@@ -360,6 +341,32 @@ declare const _default: {
|
|
|
360
341
|
expandRowKeys: {
|
|
361
342
|
type: import('vue').PropType<(string | number)[]>;
|
|
362
343
|
};
|
|
344
|
+
tableSetting: {
|
|
345
|
+
type: import('vue').PropType<{
|
|
346
|
+
redo?: boolean;
|
|
347
|
+
size?: boolean;
|
|
348
|
+
setting?: boolean;
|
|
349
|
+
fullScreen?: boolean;
|
|
350
|
+
}>;
|
|
351
|
+
default: () => {
|
|
352
|
+
redo: boolean;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
defaultSort: {
|
|
356
|
+
type: import('vue').PropType<{
|
|
357
|
+
prop: string;
|
|
358
|
+
order: "ascending" | "descending";
|
|
359
|
+
}>;
|
|
360
|
+
};
|
|
361
|
+
tableProps: {
|
|
362
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
363
|
+
};
|
|
364
|
+
rowClassName: {
|
|
365
|
+
type: import('vue').PropType<string | ((params: {
|
|
366
|
+
row: Record<string, unknown>;
|
|
367
|
+
rowIndex: number;
|
|
368
|
+
}) => string)>;
|
|
369
|
+
};
|
|
363
370
|
}>>, {
|
|
364
371
|
register: (action: import('./ProTable').TableActionType) => void;
|
|
365
372
|
"fetch-success": (data: {
|
|
@@ -392,15 +399,17 @@ declare const _default: {
|
|
|
392
399
|
pageSize?: number;
|
|
393
400
|
pageSizes?: number[];
|
|
394
401
|
layout?: string;
|
|
402
|
+
small?: boolean;
|
|
403
|
+
background?: boolean;
|
|
395
404
|
props?: Record<string, unknown>;
|
|
396
405
|
} | Record<string, unknown>;
|
|
406
|
+
fetchSetting: import('./ProTable').FetchSetting;
|
|
397
407
|
tableSetting: {
|
|
398
408
|
redo?: boolean;
|
|
399
409
|
size?: boolean;
|
|
400
410
|
setting?: boolean;
|
|
401
411
|
fullScreen?: boolean;
|
|
402
412
|
};
|
|
403
|
-
fetchSetting: import('./ProTable').FetchSetting;
|
|
404
413
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
405
414
|
title: {
|
|
406
415
|
type: import('vue').PropType<string>;
|
|
@@ -444,19 +453,6 @@ declare const _default: {
|
|
|
444
453
|
children?: string;
|
|
445
454
|
}>;
|
|
446
455
|
};
|
|
447
|
-
rowSelection: {
|
|
448
|
-
type: import('vue').PropType<{
|
|
449
|
-
type?: "checkbox" | "radio";
|
|
450
|
-
width?: number;
|
|
451
|
-
fixed?: "left" | "right";
|
|
452
|
-
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
453
|
-
disabled?: boolean;
|
|
454
|
-
};
|
|
455
|
-
getRadioProps?: (r: Record<string, unknown>) => {
|
|
456
|
-
disabled?: boolean;
|
|
457
|
-
};
|
|
458
|
-
}>;
|
|
459
|
-
};
|
|
460
456
|
columns: {
|
|
461
457
|
type: import('vue').PropType<import('./ProTable').ProColumn[]>;
|
|
462
458
|
};
|
|
@@ -494,6 +490,19 @@ declare const _default: {
|
|
|
494
490
|
actionColumn: {
|
|
495
491
|
type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
|
|
496
492
|
};
|
|
493
|
+
rowSelection: {
|
|
494
|
+
type: import('vue').PropType<{
|
|
495
|
+
type?: "checkbox" | "radio";
|
|
496
|
+
width?: number;
|
|
497
|
+
fixed?: "left" | "right";
|
|
498
|
+
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
499
|
+
disabled?: boolean;
|
|
500
|
+
};
|
|
501
|
+
getRadioProps?: (r: Record<string, unknown>) => {
|
|
502
|
+
disabled?: boolean;
|
|
503
|
+
};
|
|
504
|
+
}>;
|
|
505
|
+
};
|
|
497
506
|
clearSelectOnPageChange: {
|
|
498
507
|
type: import('vue').PropType<boolean>;
|
|
499
508
|
default: boolean;
|
|
@@ -503,6 +512,8 @@ declare const _default: {
|
|
|
503
512
|
pageSize?: number;
|
|
504
513
|
pageSizes?: number[];
|
|
505
514
|
layout?: string;
|
|
515
|
+
small?: boolean;
|
|
516
|
+
background?: boolean;
|
|
506
517
|
props?: Record<string, unknown>;
|
|
507
518
|
}>;
|
|
508
519
|
default: () => {
|
|
@@ -510,17 +521,6 @@ declare const _default: {
|
|
|
510
521
|
pageSizes: number[];
|
|
511
522
|
};
|
|
512
523
|
};
|
|
513
|
-
tableSetting: {
|
|
514
|
-
type: import('vue').PropType<{
|
|
515
|
-
redo?: boolean;
|
|
516
|
-
size?: boolean;
|
|
517
|
-
setting?: boolean;
|
|
518
|
-
fullScreen?: boolean;
|
|
519
|
-
}>;
|
|
520
|
-
default: () => {
|
|
521
|
-
redo: boolean;
|
|
522
|
-
};
|
|
523
|
-
};
|
|
524
524
|
fetchSetting: {
|
|
525
525
|
type: import('vue').PropType<import('./ProTable').FetchSetting>;
|
|
526
526
|
default: () => {
|
|
@@ -539,21 +539,6 @@ declare const _default: {
|
|
|
539
539
|
searchInfo: {
|
|
540
540
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
541
541
|
};
|
|
542
|
-
defaultSort: {
|
|
543
|
-
type: import('vue').PropType<{
|
|
544
|
-
prop: string;
|
|
545
|
-
order: "ascending" | "descending";
|
|
546
|
-
}>;
|
|
547
|
-
};
|
|
548
|
-
tableProps: {
|
|
549
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
550
|
-
};
|
|
551
|
-
rowClassName: {
|
|
552
|
-
type: import('vue').PropType<string | ((params: {
|
|
553
|
-
row: Record<string, unknown>;
|
|
554
|
-
rowIndex: number;
|
|
555
|
-
}) => string)>;
|
|
556
|
-
};
|
|
557
542
|
spanMethod: {
|
|
558
543
|
type: import('vue').PropType<(params: {
|
|
559
544
|
row: Record<string, unknown>;
|
|
@@ -571,6 +556,32 @@ declare const _default: {
|
|
|
571
556
|
expandRowKeys: {
|
|
572
557
|
type: import('vue').PropType<(string | number)[]>;
|
|
573
558
|
};
|
|
559
|
+
tableSetting: {
|
|
560
|
+
type: import('vue').PropType<{
|
|
561
|
+
redo?: boolean;
|
|
562
|
+
size?: boolean;
|
|
563
|
+
setting?: boolean;
|
|
564
|
+
fullScreen?: boolean;
|
|
565
|
+
}>;
|
|
566
|
+
default: () => {
|
|
567
|
+
redo: boolean;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
defaultSort: {
|
|
571
|
+
type: import('vue').PropType<{
|
|
572
|
+
prop: string;
|
|
573
|
+
order: "ascending" | "descending";
|
|
574
|
+
}>;
|
|
575
|
+
};
|
|
576
|
+
tableProps: {
|
|
577
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
578
|
+
};
|
|
579
|
+
rowClassName: {
|
|
580
|
+
type: import('vue').PropType<string | ((params: {
|
|
581
|
+
row: Record<string, unknown>;
|
|
582
|
+
rowIndex: number;
|
|
583
|
+
}) => string)>;
|
|
584
|
+
};
|
|
574
585
|
}>>> & import('vue').ShallowUnwrapRef<{
|
|
575
586
|
setProps: (props: Partial<import('./ProTable').ProTableProps>) => void;
|
|
576
587
|
reload: (opt?: import('./ProTable').FetchParams) => Promise<void>;
|
|
@@ -648,19 +659,6 @@ declare const _default: {
|
|
|
648
659
|
children?: string;
|
|
649
660
|
}>;
|
|
650
661
|
};
|
|
651
|
-
rowSelection: {
|
|
652
|
-
type: import('vue').PropType<{
|
|
653
|
-
type?: "checkbox" | "radio";
|
|
654
|
-
width?: number;
|
|
655
|
-
fixed?: "left" | "right";
|
|
656
|
-
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
657
|
-
disabled?: boolean;
|
|
658
|
-
};
|
|
659
|
-
getRadioProps?: (r: Record<string, unknown>) => {
|
|
660
|
-
disabled?: boolean;
|
|
661
|
-
};
|
|
662
|
-
}>;
|
|
663
|
-
};
|
|
664
662
|
columns: {
|
|
665
663
|
type: import('vue').PropType<import('./ProTable').ProColumn[]>;
|
|
666
664
|
};
|
|
@@ -698,15 +696,30 @@ declare const _default: {
|
|
|
698
696
|
actionColumn: {
|
|
699
697
|
type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
|
|
700
698
|
};
|
|
701
|
-
|
|
702
|
-
type: import('vue').PropType<
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
699
|
+
rowSelection: {
|
|
700
|
+
type: import('vue').PropType<{
|
|
701
|
+
type?: "checkbox" | "radio";
|
|
702
|
+
width?: number;
|
|
703
|
+
fixed?: "left" | "right";
|
|
704
|
+
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
705
|
+
disabled?: boolean;
|
|
706
|
+
};
|
|
707
|
+
getRadioProps?: (r: Record<string, unknown>) => {
|
|
708
|
+
disabled?: boolean;
|
|
709
|
+
};
|
|
710
|
+
}>;
|
|
711
|
+
};
|
|
712
|
+
clearSelectOnPageChange: {
|
|
713
|
+
type: import('vue').PropType<boolean>;
|
|
714
|
+
default: boolean;
|
|
715
|
+
};
|
|
716
|
+
pagination: {
|
|
717
|
+
type: import('vue').PropType<false | Record<string, unknown> | {
|
|
718
|
+
pageSize?: number;
|
|
708
719
|
pageSizes?: number[];
|
|
709
720
|
layout?: string;
|
|
721
|
+
small?: boolean;
|
|
722
|
+
background?: boolean;
|
|
710
723
|
props?: Record<string, unknown>;
|
|
711
724
|
}>;
|
|
712
725
|
default: () => {
|
|
@@ -714,17 +727,6 @@ declare const _default: {
|
|
|
714
727
|
pageSizes: number[];
|
|
715
728
|
};
|
|
716
729
|
};
|
|
717
|
-
tableSetting: {
|
|
718
|
-
type: import('vue').PropType<{
|
|
719
|
-
redo?: boolean;
|
|
720
|
-
size?: boolean;
|
|
721
|
-
setting?: boolean;
|
|
722
|
-
fullScreen?: boolean;
|
|
723
|
-
}>;
|
|
724
|
-
default: () => {
|
|
725
|
-
redo: boolean;
|
|
726
|
-
};
|
|
727
|
-
};
|
|
728
730
|
fetchSetting: {
|
|
729
731
|
type: import('vue').PropType<import('./ProTable').FetchSetting>;
|
|
730
732
|
default: () => {
|
|
@@ -743,21 +745,6 @@ declare const _default: {
|
|
|
743
745
|
searchInfo: {
|
|
744
746
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
745
747
|
};
|
|
746
|
-
defaultSort: {
|
|
747
|
-
type: import('vue').PropType<{
|
|
748
|
-
prop: string;
|
|
749
|
-
order: "ascending" | "descending";
|
|
750
|
-
}>;
|
|
751
|
-
};
|
|
752
|
-
tableProps: {
|
|
753
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
754
|
-
};
|
|
755
|
-
rowClassName: {
|
|
756
|
-
type: import('vue').PropType<string | ((params: {
|
|
757
|
-
row: Record<string, unknown>;
|
|
758
|
-
rowIndex: number;
|
|
759
|
-
}) => string)>;
|
|
760
|
-
};
|
|
761
748
|
spanMethod: {
|
|
762
749
|
type: import('vue').PropType<(params: {
|
|
763
750
|
row: Record<string, unknown>;
|
|
@@ -775,6 +762,32 @@ declare const _default: {
|
|
|
775
762
|
expandRowKeys: {
|
|
776
763
|
type: import('vue').PropType<(string | number)[]>;
|
|
777
764
|
};
|
|
765
|
+
tableSetting: {
|
|
766
|
+
type: import('vue').PropType<{
|
|
767
|
+
redo?: boolean;
|
|
768
|
+
size?: boolean;
|
|
769
|
+
setting?: boolean;
|
|
770
|
+
fullScreen?: boolean;
|
|
771
|
+
}>;
|
|
772
|
+
default: () => {
|
|
773
|
+
redo: boolean;
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
defaultSort: {
|
|
777
|
+
type: import('vue').PropType<{
|
|
778
|
+
prop: string;
|
|
779
|
+
order: "ascending" | "descending";
|
|
780
|
+
}>;
|
|
781
|
+
};
|
|
782
|
+
tableProps: {
|
|
783
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
784
|
+
};
|
|
785
|
+
rowClassName: {
|
|
786
|
+
type: import('vue').PropType<string | ((params: {
|
|
787
|
+
row: Record<string, unknown>;
|
|
788
|
+
rowIndex: number;
|
|
789
|
+
}) => string)>;
|
|
790
|
+
};
|
|
778
791
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
779
792
|
title: {
|
|
780
793
|
type: import('vue').PropType<string>;
|
|
@@ -818,19 +831,6 @@ declare const _default: {
|
|
|
818
831
|
children?: string;
|
|
819
832
|
}>;
|
|
820
833
|
};
|
|
821
|
-
rowSelection: {
|
|
822
|
-
type: import('vue').PropType<{
|
|
823
|
-
type?: "checkbox" | "radio";
|
|
824
|
-
width?: number;
|
|
825
|
-
fixed?: "left" | "right";
|
|
826
|
-
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
827
|
-
disabled?: boolean;
|
|
828
|
-
};
|
|
829
|
-
getRadioProps?: (r: Record<string, unknown>) => {
|
|
830
|
-
disabled?: boolean;
|
|
831
|
-
};
|
|
832
|
-
}>;
|
|
833
|
-
};
|
|
834
834
|
columns: {
|
|
835
835
|
type: import('vue').PropType<import('./ProTable').ProColumn[]>;
|
|
836
836
|
};
|
|
@@ -868,6 +868,19 @@ declare const _default: {
|
|
|
868
868
|
actionColumn: {
|
|
869
869
|
type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
|
|
870
870
|
};
|
|
871
|
+
rowSelection: {
|
|
872
|
+
type: import('vue').PropType<{
|
|
873
|
+
type?: "checkbox" | "radio";
|
|
874
|
+
width?: number;
|
|
875
|
+
fixed?: "left" | "right";
|
|
876
|
+
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
877
|
+
disabled?: boolean;
|
|
878
|
+
};
|
|
879
|
+
getRadioProps?: (r: Record<string, unknown>) => {
|
|
880
|
+
disabled?: boolean;
|
|
881
|
+
};
|
|
882
|
+
}>;
|
|
883
|
+
};
|
|
871
884
|
clearSelectOnPageChange: {
|
|
872
885
|
type: import('vue').PropType<boolean>;
|
|
873
886
|
default: boolean;
|
|
@@ -877,6 +890,8 @@ declare const _default: {
|
|
|
877
890
|
pageSize?: number;
|
|
878
891
|
pageSizes?: number[];
|
|
879
892
|
layout?: string;
|
|
893
|
+
small?: boolean;
|
|
894
|
+
background?: boolean;
|
|
880
895
|
props?: Record<string, unknown>;
|
|
881
896
|
}>;
|
|
882
897
|
default: () => {
|
|
@@ -884,17 +899,6 @@ declare const _default: {
|
|
|
884
899
|
pageSizes: number[];
|
|
885
900
|
};
|
|
886
901
|
};
|
|
887
|
-
tableSetting: {
|
|
888
|
-
type: import('vue').PropType<{
|
|
889
|
-
redo?: boolean;
|
|
890
|
-
size?: boolean;
|
|
891
|
-
setting?: boolean;
|
|
892
|
-
fullScreen?: boolean;
|
|
893
|
-
}>;
|
|
894
|
-
default: () => {
|
|
895
|
-
redo: boolean;
|
|
896
|
-
};
|
|
897
|
-
};
|
|
898
902
|
fetchSetting: {
|
|
899
903
|
type: import('vue').PropType<import('./ProTable').FetchSetting>;
|
|
900
904
|
default: () => {
|
|
@@ -913,21 +917,6 @@ declare const _default: {
|
|
|
913
917
|
searchInfo: {
|
|
914
918
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
915
919
|
};
|
|
916
|
-
defaultSort: {
|
|
917
|
-
type: import('vue').PropType<{
|
|
918
|
-
prop: string;
|
|
919
|
-
order: "ascending" | "descending";
|
|
920
|
-
}>;
|
|
921
|
-
};
|
|
922
|
-
tableProps: {
|
|
923
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
924
|
-
};
|
|
925
|
-
rowClassName: {
|
|
926
|
-
type: import('vue').PropType<string | ((params: {
|
|
927
|
-
row: Record<string, unknown>;
|
|
928
|
-
rowIndex: number;
|
|
929
|
-
}) => string)>;
|
|
930
|
-
};
|
|
931
920
|
spanMethod: {
|
|
932
921
|
type: import('vue').PropType<(params: {
|
|
933
922
|
row: Record<string, unknown>;
|
|
@@ -945,6 +934,32 @@ declare const _default: {
|
|
|
945
934
|
expandRowKeys: {
|
|
946
935
|
type: import('vue').PropType<(string | number)[]>;
|
|
947
936
|
};
|
|
937
|
+
tableSetting: {
|
|
938
|
+
type: import('vue').PropType<{
|
|
939
|
+
redo?: boolean;
|
|
940
|
+
size?: boolean;
|
|
941
|
+
setting?: boolean;
|
|
942
|
+
fullScreen?: boolean;
|
|
943
|
+
}>;
|
|
944
|
+
default: () => {
|
|
945
|
+
redo: boolean;
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
defaultSort: {
|
|
949
|
+
type: import('vue').PropType<{
|
|
950
|
+
prop: string;
|
|
951
|
+
order: "ascending" | "descending";
|
|
952
|
+
}>;
|
|
953
|
+
};
|
|
954
|
+
tableProps: {
|
|
955
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
956
|
+
};
|
|
957
|
+
rowClassName: {
|
|
958
|
+
type: import('vue').PropType<string | ((params: {
|
|
959
|
+
row: Record<string, unknown>;
|
|
960
|
+
rowIndex: number;
|
|
961
|
+
}) => string)>;
|
|
962
|
+
};
|
|
948
963
|
}>>, {
|
|
949
964
|
setProps: (props: Partial<import('./ProTable').ProTableProps>) => void;
|
|
950
965
|
reload: (opt?: import('./ProTable').FetchParams) => Promise<void>;
|
|
@@ -1011,15 +1026,17 @@ declare const _default: {
|
|
|
1011
1026
|
pageSize?: number;
|
|
1012
1027
|
pageSizes?: number[];
|
|
1013
1028
|
layout?: string;
|
|
1029
|
+
small?: boolean;
|
|
1030
|
+
background?: boolean;
|
|
1014
1031
|
props?: Record<string, unknown>;
|
|
1015
1032
|
} | Record<string, unknown>;
|
|
1033
|
+
fetchSetting: import('./ProTable').FetchSetting;
|
|
1016
1034
|
tableSetting: {
|
|
1017
1035
|
redo?: boolean;
|
|
1018
1036
|
size?: boolean;
|
|
1019
1037
|
setting?: boolean;
|
|
1020
1038
|
fullScreen?: boolean;
|
|
1021
1039
|
};
|
|
1022
|
-
fetchSetting: import('./ProTable').FetchSetting;
|
|
1023
1040
|
}> & {
|
|
1024
1041
|
props: {
|
|
1025
1042
|
title: {
|
|
@@ -1064,19 +1081,6 @@ declare const _default: {
|
|
|
1064
1081
|
children?: string;
|
|
1065
1082
|
}>;
|
|
1066
1083
|
};
|
|
1067
|
-
rowSelection: {
|
|
1068
|
-
type: import('vue').PropType<{
|
|
1069
|
-
type?: "checkbox" | "radio";
|
|
1070
|
-
width?: number;
|
|
1071
|
-
fixed?: "left" | "right";
|
|
1072
|
-
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
1073
|
-
disabled?: boolean;
|
|
1074
|
-
};
|
|
1075
|
-
getRadioProps?: (r: Record<string, unknown>) => {
|
|
1076
|
-
disabled?: boolean;
|
|
1077
|
-
};
|
|
1078
|
-
}>;
|
|
1079
|
-
};
|
|
1080
1084
|
columns: {
|
|
1081
1085
|
type: import('vue').PropType<import('./ProTable').ProColumn[]>;
|
|
1082
1086
|
};
|
|
@@ -1114,6 +1118,19 @@ declare const _default: {
|
|
|
1114
1118
|
actionColumn: {
|
|
1115
1119
|
type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
|
|
1116
1120
|
};
|
|
1121
|
+
rowSelection: {
|
|
1122
|
+
type: import('vue').PropType<{
|
|
1123
|
+
type?: "checkbox" | "radio";
|
|
1124
|
+
width?: number;
|
|
1125
|
+
fixed?: "left" | "right";
|
|
1126
|
+
getCheckboxProps?: (r: Record<string, unknown>) => {
|
|
1127
|
+
disabled?: boolean;
|
|
1128
|
+
};
|
|
1129
|
+
getRadioProps?: (r: Record<string, unknown>) => {
|
|
1130
|
+
disabled?: boolean;
|
|
1131
|
+
};
|
|
1132
|
+
}>;
|
|
1133
|
+
};
|
|
1117
1134
|
clearSelectOnPageChange: {
|
|
1118
1135
|
type: import('vue').PropType<boolean>;
|
|
1119
1136
|
default: boolean;
|
|
@@ -1123,6 +1140,8 @@ declare const _default: {
|
|
|
1123
1140
|
pageSize?: number;
|
|
1124
1141
|
pageSizes?: number[];
|
|
1125
1142
|
layout?: string;
|
|
1143
|
+
small?: boolean;
|
|
1144
|
+
background?: boolean;
|
|
1126
1145
|
props?: Record<string, unknown>;
|
|
1127
1146
|
}>;
|
|
1128
1147
|
default: () => {
|
|
@@ -1130,17 +1149,6 @@ declare const _default: {
|
|
|
1130
1149
|
pageSizes: number[];
|
|
1131
1150
|
};
|
|
1132
1151
|
};
|
|
1133
|
-
tableSetting: {
|
|
1134
|
-
type: import('vue').PropType<{
|
|
1135
|
-
redo?: boolean;
|
|
1136
|
-
size?: boolean;
|
|
1137
|
-
setting?: boolean;
|
|
1138
|
-
fullScreen?: boolean;
|
|
1139
|
-
}>;
|
|
1140
|
-
default: () => {
|
|
1141
|
-
redo: boolean;
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
1152
|
fetchSetting: {
|
|
1145
1153
|
type: import('vue').PropType<import('./ProTable').FetchSetting>;
|
|
1146
1154
|
default: () => {
|
|
@@ -1159,21 +1167,6 @@ declare const _default: {
|
|
|
1159
1167
|
searchInfo: {
|
|
1160
1168
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1161
1169
|
};
|
|
1162
|
-
defaultSort: {
|
|
1163
|
-
type: import('vue').PropType<{
|
|
1164
|
-
prop: string;
|
|
1165
|
-
order: "ascending" | "descending";
|
|
1166
|
-
}>;
|
|
1167
|
-
};
|
|
1168
|
-
tableProps: {
|
|
1169
|
-
type: import('vue').PropType<Record<string, unknown>>;
|
|
1170
|
-
};
|
|
1171
|
-
rowClassName: {
|
|
1172
|
-
type: import('vue').PropType<string | ((params: {
|
|
1173
|
-
row: Record<string, unknown>;
|
|
1174
|
-
rowIndex: number;
|
|
1175
|
-
}) => string)>;
|
|
1176
|
-
};
|
|
1177
1170
|
spanMethod: {
|
|
1178
1171
|
type: import('vue').PropType<(params: {
|
|
1179
1172
|
row: Record<string, unknown>;
|
|
@@ -1191,6 +1184,32 @@ declare const _default: {
|
|
|
1191
1184
|
expandRowKeys: {
|
|
1192
1185
|
type: import('vue').PropType<(string | number)[]>;
|
|
1193
1186
|
};
|
|
1187
|
+
tableSetting: {
|
|
1188
|
+
type: import('vue').PropType<{
|
|
1189
|
+
redo?: boolean;
|
|
1190
|
+
size?: boolean;
|
|
1191
|
+
setting?: boolean;
|
|
1192
|
+
fullScreen?: boolean;
|
|
1193
|
+
}>;
|
|
1194
|
+
default: () => {
|
|
1195
|
+
redo: boolean;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
defaultSort: {
|
|
1199
|
+
type: import('vue').PropType<{
|
|
1200
|
+
prop: string;
|
|
1201
|
+
order: "ascending" | "descending";
|
|
1202
|
+
}>;
|
|
1203
|
+
};
|
|
1204
|
+
tableProps: {
|
|
1205
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
1206
|
+
};
|
|
1207
|
+
rowClassName: {
|
|
1208
|
+
type: import('vue').PropType<string | ((params: {
|
|
1209
|
+
row: Record<string, unknown>;
|
|
1210
|
+
rowIndex: number;
|
|
1211
|
+
}) => string)>;
|
|
1212
|
+
};
|
|
1194
1213
|
};
|
|
1195
1214
|
} & (new () => {
|
|
1196
1215
|
$scopedSlots: Partial<Record<`header-${string}`, (_: {
|
|
@@ -2632,5 +2651,525 @@ declare const _default: {
|
|
|
2632
2651
|
rounding: import('.').FormattedNumberRounding;
|
|
2633
2652
|
inputLimit: boolean;
|
|
2634
2653
|
}>;
|
|
2654
|
+
ProTableForm: import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2655
|
+
bordered: {
|
|
2656
|
+
type: import('vue').PropType<boolean>;
|
|
2657
|
+
default: boolean;
|
|
2658
|
+
};
|
|
2659
|
+
modelValue: {
|
|
2660
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2661
|
+
default: () => {};
|
|
2662
|
+
};
|
|
2663
|
+
labelWidth: {
|
|
2664
|
+
type: import('vue').PropType<string>;
|
|
2665
|
+
default: string;
|
|
2666
|
+
};
|
|
2667
|
+
rules: {
|
|
2668
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2669
|
+
};
|
|
2670
|
+
columns: {
|
|
2671
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormColumn[]>;
|
|
2672
|
+
required: true;
|
|
2673
|
+
};
|
|
2674
|
+
actionColumn: {
|
|
2675
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormActionColumn>;
|
|
2676
|
+
};
|
|
2677
|
+
fixedRows: {
|
|
2678
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormFixedRow[]>;
|
|
2679
|
+
required: true;
|
|
2680
|
+
};
|
|
2681
|
+
competitorsKey: {
|
|
2682
|
+
type: import('vue').PropType<string>;
|
|
2683
|
+
default: string;
|
|
2684
|
+
};
|
|
2685
|
+
competitorNameKey: {
|
|
2686
|
+
type: import('vue').PropType<string>;
|
|
2687
|
+
default: string;
|
|
2688
|
+
};
|
|
2689
|
+
firstColumnTitle: {
|
|
2690
|
+
type: import('vue').PropType<string>;
|
|
2691
|
+
default: string;
|
|
2692
|
+
};
|
|
2693
|
+
competitorNamePlaceholder: {
|
|
2694
|
+
type: import('vue').PropType<string>;
|
|
2695
|
+
default: string;
|
|
2696
|
+
};
|
|
2697
|
+
metricPlaceholder: {
|
|
2698
|
+
type: import('vue').PropType<string>;
|
|
2699
|
+
default: string;
|
|
2700
|
+
};
|
|
2701
|
+
addCompetitorText: {
|
|
2702
|
+
type: import('vue').PropType<string>;
|
|
2703
|
+
default: string;
|
|
2704
|
+
};
|
|
2705
|
+
minCompetitors: {
|
|
2706
|
+
type: import('vue').PropType<number>;
|
|
2707
|
+
default: number;
|
|
2708
|
+
};
|
|
2709
|
+
firstColMinWidth: {
|
|
2710
|
+
type: import('vue').PropType<number>;
|
|
2711
|
+
default: number;
|
|
2712
|
+
};
|
|
2713
|
+
actionWidth: {
|
|
2714
|
+
type: import('vue').PropType<number>;
|
|
2715
|
+
default: number;
|
|
2716
|
+
};
|
|
2717
|
+
showFirstColumn: {
|
|
2718
|
+
type: import('vue').PropType<boolean>;
|
|
2719
|
+
default: boolean;
|
|
2720
|
+
};
|
|
2721
|
+
showActionColumn: {
|
|
2722
|
+
type: import('vue').PropType<boolean>;
|
|
2723
|
+
default: boolean;
|
|
2724
|
+
};
|
|
2725
|
+
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
2726
|
+
bordered: {
|
|
2727
|
+
type: import('vue').PropType<boolean>;
|
|
2728
|
+
default: boolean;
|
|
2729
|
+
};
|
|
2730
|
+
modelValue: {
|
|
2731
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2732
|
+
default: () => {};
|
|
2733
|
+
};
|
|
2734
|
+
labelWidth: {
|
|
2735
|
+
type: import('vue').PropType<string>;
|
|
2736
|
+
default: string;
|
|
2737
|
+
};
|
|
2738
|
+
rules: {
|
|
2739
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2740
|
+
};
|
|
2741
|
+
columns: {
|
|
2742
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormColumn[]>;
|
|
2743
|
+
required: true;
|
|
2744
|
+
};
|
|
2745
|
+
actionColumn: {
|
|
2746
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormActionColumn>;
|
|
2747
|
+
};
|
|
2748
|
+
fixedRows: {
|
|
2749
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormFixedRow[]>;
|
|
2750
|
+
required: true;
|
|
2751
|
+
};
|
|
2752
|
+
competitorsKey: {
|
|
2753
|
+
type: import('vue').PropType<string>;
|
|
2754
|
+
default: string;
|
|
2755
|
+
};
|
|
2756
|
+
competitorNameKey: {
|
|
2757
|
+
type: import('vue').PropType<string>;
|
|
2758
|
+
default: string;
|
|
2759
|
+
};
|
|
2760
|
+
firstColumnTitle: {
|
|
2761
|
+
type: import('vue').PropType<string>;
|
|
2762
|
+
default: string;
|
|
2763
|
+
};
|
|
2764
|
+
competitorNamePlaceholder: {
|
|
2765
|
+
type: import('vue').PropType<string>;
|
|
2766
|
+
default: string;
|
|
2767
|
+
};
|
|
2768
|
+
metricPlaceholder: {
|
|
2769
|
+
type: import('vue').PropType<string>;
|
|
2770
|
+
default: string;
|
|
2771
|
+
};
|
|
2772
|
+
addCompetitorText: {
|
|
2773
|
+
type: import('vue').PropType<string>;
|
|
2774
|
+
default: string;
|
|
2775
|
+
};
|
|
2776
|
+
minCompetitors: {
|
|
2777
|
+
type: import('vue').PropType<number>;
|
|
2778
|
+
default: number;
|
|
2779
|
+
};
|
|
2780
|
+
firstColMinWidth: {
|
|
2781
|
+
type: import('vue').PropType<number>;
|
|
2782
|
+
default: number;
|
|
2783
|
+
};
|
|
2784
|
+
actionWidth: {
|
|
2785
|
+
type: import('vue').PropType<number>;
|
|
2786
|
+
default: number;
|
|
2787
|
+
};
|
|
2788
|
+
showFirstColumn: {
|
|
2789
|
+
type: import('vue').PropType<boolean>;
|
|
2790
|
+
default: boolean;
|
|
2791
|
+
};
|
|
2792
|
+
showActionColumn: {
|
|
2793
|
+
type: import('vue').PropType<boolean>;
|
|
2794
|
+
default: boolean;
|
|
2795
|
+
};
|
|
2796
|
+
}>>, {
|
|
2797
|
+
"update:modelValue": (v: Record<string, unknown>) => void;
|
|
2798
|
+
}, {
|
|
2799
|
+
bordered: boolean;
|
|
2800
|
+
modelValue: Record<string, unknown>;
|
|
2801
|
+
labelWidth: string;
|
|
2802
|
+
competitorsKey: string;
|
|
2803
|
+
competitorNameKey: string;
|
|
2804
|
+
firstColumnTitle: string;
|
|
2805
|
+
competitorNamePlaceholder: string;
|
|
2806
|
+
metricPlaceholder: string;
|
|
2807
|
+
addCompetitorText: string;
|
|
2808
|
+
minCompetitors: number;
|
|
2809
|
+
firstColMinWidth: number;
|
|
2810
|
+
actionWidth: number;
|
|
2811
|
+
showFirstColumn: boolean;
|
|
2812
|
+
showActionColumn: boolean;
|
|
2813
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
2814
|
+
bordered: {
|
|
2815
|
+
type: import('vue').PropType<boolean>;
|
|
2816
|
+
default: boolean;
|
|
2817
|
+
};
|
|
2818
|
+
modelValue: {
|
|
2819
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2820
|
+
default: () => {};
|
|
2821
|
+
};
|
|
2822
|
+
labelWidth: {
|
|
2823
|
+
type: import('vue').PropType<string>;
|
|
2824
|
+
default: string;
|
|
2825
|
+
};
|
|
2826
|
+
rules: {
|
|
2827
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2828
|
+
};
|
|
2829
|
+
columns: {
|
|
2830
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormColumn[]>;
|
|
2831
|
+
required: true;
|
|
2832
|
+
};
|
|
2833
|
+
actionColumn: {
|
|
2834
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormActionColumn>;
|
|
2835
|
+
};
|
|
2836
|
+
fixedRows: {
|
|
2837
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormFixedRow[]>;
|
|
2838
|
+
required: true;
|
|
2839
|
+
};
|
|
2840
|
+
competitorsKey: {
|
|
2841
|
+
type: import('vue').PropType<string>;
|
|
2842
|
+
default: string;
|
|
2843
|
+
};
|
|
2844
|
+
competitorNameKey: {
|
|
2845
|
+
type: import('vue').PropType<string>;
|
|
2846
|
+
default: string;
|
|
2847
|
+
};
|
|
2848
|
+
firstColumnTitle: {
|
|
2849
|
+
type: import('vue').PropType<string>;
|
|
2850
|
+
default: string;
|
|
2851
|
+
};
|
|
2852
|
+
competitorNamePlaceholder: {
|
|
2853
|
+
type: import('vue').PropType<string>;
|
|
2854
|
+
default: string;
|
|
2855
|
+
};
|
|
2856
|
+
metricPlaceholder: {
|
|
2857
|
+
type: import('vue').PropType<string>;
|
|
2858
|
+
default: string;
|
|
2859
|
+
};
|
|
2860
|
+
addCompetitorText: {
|
|
2861
|
+
type: import('vue').PropType<string>;
|
|
2862
|
+
default: string;
|
|
2863
|
+
};
|
|
2864
|
+
minCompetitors: {
|
|
2865
|
+
type: import('vue').PropType<number>;
|
|
2866
|
+
default: number;
|
|
2867
|
+
};
|
|
2868
|
+
firstColMinWidth: {
|
|
2869
|
+
type: import('vue').PropType<number>;
|
|
2870
|
+
default: number;
|
|
2871
|
+
};
|
|
2872
|
+
actionWidth: {
|
|
2873
|
+
type: import('vue').PropType<number>;
|
|
2874
|
+
default: number;
|
|
2875
|
+
};
|
|
2876
|
+
showFirstColumn: {
|
|
2877
|
+
type: import('vue').PropType<boolean>;
|
|
2878
|
+
default: boolean;
|
|
2879
|
+
};
|
|
2880
|
+
showActionColumn: {
|
|
2881
|
+
type: import('vue').PropType<boolean>;
|
|
2882
|
+
default: boolean;
|
|
2883
|
+
};
|
|
2884
|
+
}>>> & import('vue').ShallowUnwrapRef<{
|
|
2885
|
+
validate: () => Promise<boolean>;
|
|
2886
|
+
clearValidate: (propsArg?: string | string[]) => void;
|
|
2887
|
+
addCompetitor: () => void;
|
|
2888
|
+
removeCompetitor: (index: number) => void;
|
|
2889
|
+
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
2890
|
+
bordered: {
|
|
2891
|
+
type: import('vue').PropType<boolean>;
|
|
2892
|
+
default: boolean;
|
|
2893
|
+
};
|
|
2894
|
+
modelValue: {
|
|
2895
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2896
|
+
default: () => {};
|
|
2897
|
+
};
|
|
2898
|
+
labelWidth: {
|
|
2899
|
+
type: import('vue').PropType<string>;
|
|
2900
|
+
default: string;
|
|
2901
|
+
};
|
|
2902
|
+
rules: {
|
|
2903
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2904
|
+
};
|
|
2905
|
+
columns: {
|
|
2906
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormColumn[]>;
|
|
2907
|
+
required: true;
|
|
2908
|
+
};
|
|
2909
|
+
actionColumn: {
|
|
2910
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormActionColumn>;
|
|
2911
|
+
};
|
|
2912
|
+
fixedRows: {
|
|
2913
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormFixedRow[]>;
|
|
2914
|
+
required: true;
|
|
2915
|
+
};
|
|
2916
|
+
competitorsKey: {
|
|
2917
|
+
type: import('vue').PropType<string>;
|
|
2918
|
+
default: string;
|
|
2919
|
+
};
|
|
2920
|
+
competitorNameKey: {
|
|
2921
|
+
type: import('vue').PropType<string>;
|
|
2922
|
+
default: string;
|
|
2923
|
+
};
|
|
2924
|
+
firstColumnTitle: {
|
|
2925
|
+
type: import('vue').PropType<string>;
|
|
2926
|
+
default: string;
|
|
2927
|
+
};
|
|
2928
|
+
competitorNamePlaceholder: {
|
|
2929
|
+
type: import('vue').PropType<string>;
|
|
2930
|
+
default: string;
|
|
2931
|
+
};
|
|
2932
|
+
metricPlaceholder: {
|
|
2933
|
+
type: import('vue').PropType<string>;
|
|
2934
|
+
default: string;
|
|
2935
|
+
};
|
|
2936
|
+
addCompetitorText: {
|
|
2937
|
+
type: import('vue').PropType<string>;
|
|
2938
|
+
default: string;
|
|
2939
|
+
};
|
|
2940
|
+
minCompetitors: {
|
|
2941
|
+
type: import('vue').PropType<number>;
|
|
2942
|
+
default: number;
|
|
2943
|
+
};
|
|
2944
|
+
firstColMinWidth: {
|
|
2945
|
+
type: import('vue').PropType<number>;
|
|
2946
|
+
default: number;
|
|
2947
|
+
};
|
|
2948
|
+
actionWidth: {
|
|
2949
|
+
type: import('vue').PropType<number>;
|
|
2950
|
+
default: number;
|
|
2951
|
+
};
|
|
2952
|
+
showFirstColumn: {
|
|
2953
|
+
type: import('vue').PropType<boolean>;
|
|
2954
|
+
default: boolean;
|
|
2955
|
+
};
|
|
2956
|
+
showActionColumn: {
|
|
2957
|
+
type: import('vue').PropType<boolean>;
|
|
2958
|
+
default: boolean;
|
|
2959
|
+
};
|
|
2960
|
+
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2961
|
+
bordered: {
|
|
2962
|
+
type: import('vue').PropType<boolean>;
|
|
2963
|
+
default: boolean;
|
|
2964
|
+
};
|
|
2965
|
+
modelValue: {
|
|
2966
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2967
|
+
default: () => {};
|
|
2968
|
+
};
|
|
2969
|
+
labelWidth: {
|
|
2970
|
+
type: import('vue').PropType<string>;
|
|
2971
|
+
default: string;
|
|
2972
|
+
};
|
|
2973
|
+
rules: {
|
|
2974
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2975
|
+
};
|
|
2976
|
+
columns: {
|
|
2977
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormColumn[]>;
|
|
2978
|
+
required: true;
|
|
2979
|
+
};
|
|
2980
|
+
actionColumn: {
|
|
2981
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormActionColumn>;
|
|
2982
|
+
};
|
|
2983
|
+
fixedRows: {
|
|
2984
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormFixedRow[]>;
|
|
2985
|
+
required: true;
|
|
2986
|
+
};
|
|
2987
|
+
competitorsKey: {
|
|
2988
|
+
type: import('vue').PropType<string>;
|
|
2989
|
+
default: string;
|
|
2990
|
+
};
|
|
2991
|
+
competitorNameKey: {
|
|
2992
|
+
type: import('vue').PropType<string>;
|
|
2993
|
+
default: string;
|
|
2994
|
+
};
|
|
2995
|
+
firstColumnTitle: {
|
|
2996
|
+
type: import('vue').PropType<string>;
|
|
2997
|
+
default: string;
|
|
2998
|
+
};
|
|
2999
|
+
competitorNamePlaceholder: {
|
|
3000
|
+
type: import('vue').PropType<string>;
|
|
3001
|
+
default: string;
|
|
3002
|
+
};
|
|
3003
|
+
metricPlaceholder: {
|
|
3004
|
+
type: import('vue').PropType<string>;
|
|
3005
|
+
default: string;
|
|
3006
|
+
};
|
|
3007
|
+
addCompetitorText: {
|
|
3008
|
+
type: import('vue').PropType<string>;
|
|
3009
|
+
default: string;
|
|
3010
|
+
};
|
|
3011
|
+
minCompetitors: {
|
|
3012
|
+
type: import('vue').PropType<number>;
|
|
3013
|
+
default: number;
|
|
3014
|
+
};
|
|
3015
|
+
firstColMinWidth: {
|
|
3016
|
+
type: import('vue').PropType<number>;
|
|
3017
|
+
default: number;
|
|
3018
|
+
};
|
|
3019
|
+
actionWidth: {
|
|
3020
|
+
type: import('vue').PropType<number>;
|
|
3021
|
+
default: number;
|
|
3022
|
+
};
|
|
3023
|
+
showFirstColumn: {
|
|
3024
|
+
type: import('vue').PropType<boolean>;
|
|
3025
|
+
default: boolean;
|
|
3026
|
+
};
|
|
3027
|
+
showActionColumn: {
|
|
3028
|
+
type: import('vue').PropType<boolean>;
|
|
3029
|
+
default: boolean;
|
|
3030
|
+
};
|
|
3031
|
+
}>>, {
|
|
3032
|
+
validate: () => Promise<boolean>;
|
|
3033
|
+
clearValidate: (propsArg?: string | string[]) => void;
|
|
3034
|
+
addCompetitor: () => void;
|
|
3035
|
+
removeCompetitor: (index: number) => void;
|
|
3036
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3037
|
+
"update:modelValue": (v: Record<string, unknown>) => void;
|
|
3038
|
+
}, string, {
|
|
3039
|
+
bordered: boolean;
|
|
3040
|
+
modelValue: Record<string, unknown>;
|
|
3041
|
+
labelWidth: string;
|
|
3042
|
+
competitorsKey: string;
|
|
3043
|
+
competitorNameKey: string;
|
|
3044
|
+
firstColumnTitle: string;
|
|
3045
|
+
competitorNamePlaceholder: string;
|
|
3046
|
+
metricPlaceholder: string;
|
|
3047
|
+
addCompetitorText: string;
|
|
3048
|
+
minCompetitors: number;
|
|
3049
|
+
firstColMinWidth: number;
|
|
3050
|
+
actionWidth: number;
|
|
3051
|
+
showFirstColumn: boolean;
|
|
3052
|
+
showActionColumn: boolean;
|
|
3053
|
+
}> & {
|
|
3054
|
+
props: {
|
|
3055
|
+
bordered: {
|
|
3056
|
+
type: import('vue').PropType<boolean>;
|
|
3057
|
+
default: boolean;
|
|
3058
|
+
};
|
|
3059
|
+
modelValue: {
|
|
3060
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
3061
|
+
default: () => {};
|
|
3062
|
+
};
|
|
3063
|
+
labelWidth: {
|
|
3064
|
+
type: import('vue').PropType<string>;
|
|
3065
|
+
default: string;
|
|
3066
|
+
};
|
|
3067
|
+
rules: {
|
|
3068
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
3069
|
+
};
|
|
3070
|
+
columns: {
|
|
3071
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormColumn[]>;
|
|
3072
|
+
required: true;
|
|
3073
|
+
};
|
|
3074
|
+
actionColumn: {
|
|
3075
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormActionColumn>;
|
|
3076
|
+
};
|
|
3077
|
+
fixedRows: {
|
|
3078
|
+
type: import('vue').PropType<import('./ProTableForm').ProTableFormFixedRow[]>;
|
|
3079
|
+
required: true;
|
|
3080
|
+
};
|
|
3081
|
+
competitorsKey: {
|
|
3082
|
+
type: import('vue').PropType<string>;
|
|
3083
|
+
default: string;
|
|
3084
|
+
};
|
|
3085
|
+
competitorNameKey: {
|
|
3086
|
+
type: import('vue').PropType<string>;
|
|
3087
|
+
default: string;
|
|
3088
|
+
};
|
|
3089
|
+
firstColumnTitle: {
|
|
3090
|
+
type: import('vue').PropType<string>;
|
|
3091
|
+
default: string;
|
|
3092
|
+
};
|
|
3093
|
+
competitorNamePlaceholder: {
|
|
3094
|
+
type: import('vue').PropType<string>;
|
|
3095
|
+
default: string;
|
|
3096
|
+
};
|
|
3097
|
+
metricPlaceholder: {
|
|
3098
|
+
type: import('vue').PropType<string>;
|
|
3099
|
+
default: string;
|
|
3100
|
+
};
|
|
3101
|
+
addCompetitorText: {
|
|
3102
|
+
type: import('vue').PropType<string>;
|
|
3103
|
+
default: string;
|
|
3104
|
+
};
|
|
3105
|
+
minCompetitors: {
|
|
3106
|
+
type: import('vue').PropType<number>;
|
|
3107
|
+
default: number;
|
|
3108
|
+
};
|
|
3109
|
+
firstColMinWidth: {
|
|
3110
|
+
type: import('vue').PropType<number>;
|
|
3111
|
+
default: number;
|
|
3112
|
+
};
|
|
3113
|
+
actionWidth: {
|
|
3114
|
+
type: import('vue').PropType<number>;
|
|
3115
|
+
default: number;
|
|
3116
|
+
};
|
|
3117
|
+
showFirstColumn: {
|
|
3118
|
+
type: import('vue').PropType<boolean>;
|
|
3119
|
+
default: boolean;
|
|
3120
|
+
};
|
|
3121
|
+
showActionColumn: {
|
|
3122
|
+
type: import('vue').PropType<boolean>;
|
|
3123
|
+
default: boolean;
|
|
3124
|
+
};
|
|
3125
|
+
};
|
|
3126
|
+
} & (new () => {
|
|
3127
|
+
$scopedSlots: Partial<Record<string, (_: {
|
|
3128
|
+
column: import('./ProTableForm').ProTableFormColumn;
|
|
3129
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
3130
|
+
column: import('./ProTableForm').ProTableFormColumn;
|
|
3131
|
+
row: any;
|
|
3132
|
+
value: unknown;
|
|
3133
|
+
updateValue: (v: unknown) => void;
|
|
3134
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
3135
|
+
column: import('./ProTableForm').ProTableFormColumn;
|
|
3136
|
+
row: any;
|
|
3137
|
+
value: unknown;
|
|
3138
|
+
updateValue: (v: unknown) => void;
|
|
3139
|
+
}) => any>> & {
|
|
3140
|
+
firstColumnHeader?(_: {}): any;
|
|
3141
|
+
firstColumn?(_: {
|
|
3142
|
+
row: {
|
|
3143
|
+
_type: "fixed";
|
|
3144
|
+
rowKey: string;
|
|
3145
|
+
rowLabel: string;
|
|
3146
|
+
};
|
|
3147
|
+
rowType: "fixed";
|
|
3148
|
+
rowKey: string;
|
|
3149
|
+
rowLabel: string;
|
|
3150
|
+
rowIndex?: undefined;
|
|
3151
|
+
value?: undefined;
|
|
3152
|
+
updateValue?: undefined;
|
|
3153
|
+
} | {
|
|
3154
|
+
row: {
|
|
3155
|
+
_type: "competitor";
|
|
3156
|
+
_index: number;
|
|
3157
|
+
};
|
|
3158
|
+
rowType: "competitor";
|
|
3159
|
+
rowIndex: number;
|
|
3160
|
+
value: string;
|
|
3161
|
+
updateValue: (v: string) => void;
|
|
3162
|
+
rowKey?: undefined;
|
|
3163
|
+
rowLabel?: undefined;
|
|
3164
|
+
}): any;
|
|
3165
|
+
actionHeader?(_: {}): any;
|
|
3166
|
+
action?(_: {
|
|
3167
|
+
row: any;
|
|
3168
|
+
canDelete: boolean;
|
|
3169
|
+
addCompetitor: () => void;
|
|
3170
|
+
removeCompetitor: (index: number) => void;
|
|
3171
|
+
}): any;
|
|
3172
|
+
};
|
|
3173
|
+
});
|
|
2635
3174
|
};
|
|
2636
3175
|
export default _default;
|