cc1-form 1.2.5 → 1.2.7
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/dist/cc1-form.css +1 -1
- package/dist/cc1-form.js +1402 -1165
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +77 -7
- package/dist/components/TCurd/formColumn.vue.d.ts +55 -5
- package/dist/components/TCurd/icon/CirclePlusFilled.vue.d.ts +2 -0
- package/dist/components/TCurd/icon/Collapse.vue.d.ts +2 -0
- package/dist/components/TCurd/icon/Expand.vue.d.ts +2 -0
- package/dist/components/TCurd/icon/RemoveFilled.vue.d.ts +2 -0
- package/dist/components/TCurd/index.d.ts +67 -7
- package/dist/components/TCurd/index.vue.d.ts +162 -29
- package/dist/components/TCurd/indexType.d.ts +25 -2
- package/dist/components/TCurd/tableColumn.vue.d.ts +17 -3
- package/dist/utils/TFormConfig.d.ts +4 -0
- package/dist/utils/TFormI18n.d.ts +4 -0
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ import IconRefresh from './icon/refresh.vue';
|
|
|
7
7
|
import { ElButton, ElDatePicker, ElDialog, ElDropdown, ElDropdownItem, ElDropdownMenu, ElForm, ElFormItem, ElInput, ElOption, ElPagination, ElSelect, ElTable, ElTableColumn } from 'element-plus';
|
|
8
8
|
import TableColumn from './tableColumn.vue';
|
|
9
9
|
import FormColumn from './formColumn.vue';
|
|
10
|
+
import Collapse from './icon/Collapse.vue';
|
|
11
|
+
import Expand from './icon/Expand.vue';
|
|
10
12
|
declare const EDialog: {
|
|
11
13
|
Add: any;
|
|
12
14
|
Update: any;
|
|
@@ -46,6 +48,7 @@ declare const conf: {
|
|
|
46
48
|
} | undefined;
|
|
47
49
|
} | undefined;
|
|
48
50
|
table?: {
|
|
51
|
+
editMode?: boolean | undefined;
|
|
49
52
|
rowKey?: string | undefined;
|
|
50
53
|
border?: boolean | undefined;
|
|
51
54
|
selectable?: boolean | ((data: any) => boolean) | {
|
|
@@ -59,6 +62,7 @@ declare const conf: {
|
|
|
59
62
|
value?: any;
|
|
60
63
|
children?: /*elided*/ any[] | undefined;
|
|
61
64
|
disabled?: {
|
|
65
|
+
table?: boolean | undefined;
|
|
62
66
|
create?: boolean | undefined;
|
|
63
67
|
update?: boolean | undefined;
|
|
64
68
|
search?: boolean | undefined;
|
|
@@ -98,6 +102,7 @@ declare const conf: {
|
|
|
98
102
|
} | undefined;
|
|
99
103
|
input?: {
|
|
100
104
|
[x: string]: any;
|
|
105
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
101
106
|
on?: any;
|
|
102
107
|
} | undefined;
|
|
103
108
|
switch?: {
|
|
@@ -184,6 +189,7 @@ declare const conf: {
|
|
|
184
189
|
} | undefined;
|
|
185
190
|
input?: {
|
|
186
191
|
[x: string]: any;
|
|
192
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
187
193
|
on?: any;
|
|
188
194
|
} | undefined;
|
|
189
195
|
switch?: {
|
|
@@ -270,6 +276,7 @@ declare const conf: {
|
|
|
270
276
|
} | undefined;
|
|
271
277
|
input?: {
|
|
272
278
|
[x: string]: any;
|
|
279
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
273
280
|
on?: any;
|
|
274
281
|
} | undefined;
|
|
275
282
|
switch?: {
|
|
@@ -340,6 +347,7 @@ declare const conf: {
|
|
|
340
347
|
} | undefined;
|
|
341
348
|
input?: {
|
|
342
349
|
[x: string]: any;
|
|
350
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
343
351
|
on?: any;
|
|
344
352
|
} | undefined;
|
|
345
353
|
switch?: {
|
|
@@ -428,7 +436,12 @@ declare const conf: {
|
|
|
428
436
|
callback?: ((data: any) => void) | undefined;
|
|
429
437
|
color?: string | undefined;
|
|
430
438
|
} | undefined;
|
|
431
|
-
|
|
439
|
+
header?: {
|
|
440
|
+
tooltip?: string | undefined;
|
|
441
|
+
group?: boolean | undefined;
|
|
442
|
+
groupKey?: string | number | symbol | undefined;
|
|
443
|
+
show?: boolean | undefined;
|
|
444
|
+
} | undefined;
|
|
432
445
|
} | undefined;
|
|
433
446
|
rules?: any[] | boolean | undefined;
|
|
434
447
|
text?: {
|
|
@@ -473,6 +486,7 @@ declare const conf: {
|
|
|
473
486
|
refresh?: boolean | undefined;
|
|
474
487
|
expand?: boolean | undefined;
|
|
475
488
|
search?: boolean | undefined;
|
|
489
|
+
expandColumn?: boolean | undefined;
|
|
476
490
|
reset?: boolean | undefined;
|
|
477
491
|
add?: boolean | ((data: any) => boolean) | undefined;
|
|
478
492
|
delete?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -512,6 +526,7 @@ declare const conf: {
|
|
|
512
526
|
value?: any;
|
|
513
527
|
children?: /*elided*/ any[] | undefined;
|
|
514
528
|
disabled?: {
|
|
529
|
+
table?: boolean | undefined;
|
|
515
530
|
create?: boolean | undefined;
|
|
516
531
|
update?: boolean | undefined;
|
|
517
532
|
search?: boolean | undefined;
|
|
@@ -551,6 +566,7 @@ declare const conf: {
|
|
|
551
566
|
} | undefined;
|
|
552
567
|
input?: {
|
|
553
568
|
[x: string]: any;
|
|
569
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
554
570
|
on?: any;
|
|
555
571
|
} | undefined;
|
|
556
572
|
switch?: {
|
|
@@ -637,6 +653,7 @@ declare const conf: {
|
|
|
637
653
|
} | undefined;
|
|
638
654
|
input?: {
|
|
639
655
|
[x: string]: any;
|
|
656
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
640
657
|
on?: any;
|
|
641
658
|
} | undefined;
|
|
642
659
|
switch?: {
|
|
@@ -723,6 +740,7 @@ declare const conf: {
|
|
|
723
740
|
} | undefined;
|
|
724
741
|
input?: {
|
|
725
742
|
[x: string]: any;
|
|
743
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
726
744
|
on?: any;
|
|
727
745
|
} | undefined;
|
|
728
746
|
switch?: {
|
|
@@ -793,6 +811,7 @@ declare const conf: {
|
|
|
793
811
|
} | undefined;
|
|
794
812
|
input?: {
|
|
795
813
|
[x: string]: any;
|
|
814
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
796
815
|
on?: any;
|
|
797
816
|
} | undefined;
|
|
798
817
|
switch?: {
|
|
@@ -881,7 +900,12 @@ declare const conf: {
|
|
|
881
900
|
callback?: ((data: any) => void) | undefined;
|
|
882
901
|
color?: string | undefined;
|
|
883
902
|
} | undefined;
|
|
884
|
-
|
|
903
|
+
header?: {
|
|
904
|
+
tooltip?: string | undefined;
|
|
905
|
+
group?: boolean | undefined;
|
|
906
|
+
groupKey?: string | number | symbol | undefined;
|
|
907
|
+
show?: boolean | undefined;
|
|
908
|
+
} | undefined;
|
|
885
909
|
} | undefined;
|
|
886
910
|
rules?: any[] | boolean | undefined;
|
|
887
911
|
text?: {
|
|
@@ -922,6 +946,7 @@ declare const conf: {
|
|
|
922
946
|
value?: any;
|
|
923
947
|
children?: /*elided*/ any[] | undefined;
|
|
924
948
|
disabled?: {
|
|
949
|
+
table?: boolean | undefined;
|
|
925
950
|
create?: boolean | undefined;
|
|
926
951
|
update?: boolean | undefined;
|
|
927
952
|
search?: boolean | undefined;
|
|
@@ -961,6 +986,7 @@ declare const conf: {
|
|
|
961
986
|
} | undefined;
|
|
962
987
|
input?: {
|
|
963
988
|
[x: string]: any;
|
|
989
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
964
990
|
on?: any;
|
|
965
991
|
} | undefined;
|
|
966
992
|
switch?: {
|
|
@@ -1047,6 +1073,7 @@ declare const conf: {
|
|
|
1047
1073
|
} | undefined;
|
|
1048
1074
|
input?: {
|
|
1049
1075
|
[x: string]: any;
|
|
1076
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1050
1077
|
on?: any;
|
|
1051
1078
|
} | undefined;
|
|
1052
1079
|
switch?: {
|
|
@@ -1133,6 +1160,7 @@ declare const conf: {
|
|
|
1133
1160
|
} | undefined;
|
|
1134
1161
|
input?: {
|
|
1135
1162
|
[x: string]: any;
|
|
1163
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1136
1164
|
on?: any;
|
|
1137
1165
|
} | undefined;
|
|
1138
1166
|
switch?: {
|
|
@@ -1203,6 +1231,7 @@ declare const conf: {
|
|
|
1203
1231
|
} | undefined;
|
|
1204
1232
|
input?: {
|
|
1205
1233
|
[x: string]: any;
|
|
1234
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1206
1235
|
on?: any;
|
|
1207
1236
|
} | undefined;
|
|
1208
1237
|
switch?: {
|
|
@@ -1291,7 +1320,12 @@ declare const conf: {
|
|
|
1291
1320
|
callback?: ((data: any) => void) | undefined;
|
|
1292
1321
|
color?: string | undefined;
|
|
1293
1322
|
} | undefined;
|
|
1294
|
-
|
|
1323
|
+
header?: {
|
|
1324
|
+
tooltip?: string | undefined;
|
|
1325
|
+
group?: boolean | undefined;
|
|
1326
|
+
groupKey?: string | number | symbol | undefined;
|
|
1327
|
+
show?: boolean | undefined;
|
|
1328
|
+
} | undefined;
|
|
1295
1329
|
} | undefined;
|
|
1296
1330
|
rules?: any[] | boolean | undefined;
|
|
1297
1331
|
text?: {
|
|
@@ -1354,6 +1388,7 @@ declare const conf: {
|
|
|
1354
1388
|
value?: any;
|
|
1355
1389
|
children?: /*elided*/ any[] | undefined;
|
|
1356
1390
|
disabled?: {
|
|
1391
|
+
table?: boolean | undefined;
|
|
1357
1392
|
create?: boolean | undefined;
|
|
1358
1393
|
update?: boolean | undefined;
|
|
1359
1394
|
search?: boolean | undefined;
|
|
@@ -1393,6 +1428,7 @@ declare const conf: {
|
|
|
1393
1428
|
} | undefined;
|
|
1394
1429
|
input?: {
|
|
1395
1430
|
[x: string]: any;
|
|
1431
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1396
1432
|
on?: any;
|
|
1397
1433
|
} | undefined;
|
|
1398
1434
|
switch?: {
|
|
@@ -1479,6 +1515,7 @@ declare const conf: {
|
|
|
1479
1515
|
} | undefined;
|
|
1480
1516
|
input?: {
|
|
1481
1517
|
[x: string]: any;
|
|
1518
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1482
1519
|
on?: any;
|
|
1483
1520
|
} | undefined;
|
|
1484
1521
|
switch?: {
|
|
@@ -1565,6 +1602,7 @@ declare const conf: {
|
|
|
1565
1602
|
} | undefined;
|
|
1566
1603
|
input?: {
|
|
1567
1604
|
[x: string]: any;
|
|
1605
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1568
1606
|
on?: any;
|
|
1569
1607
|
} | undefined;
|
|
1570
1608
|
switch?: {
|
|
@@ -1635,6 +1673,7 @@ declare const conf: {
|
|
|
1635
1673
|
} | undefined;
|
|
1636
1674
|
input?: {
|
|
1637
1675
|
[x: string]: any;
|
|
1676
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1638
1677
|
on?: any;
|
|
1639
1678
|
} | undefined;
|
|
1640
1679
|
switch?: {
|
|
@@ -1723,7 +1762,12 @@ declare const conf: {
|
|
|
1723
1762
|
callback?: ((data: any) => void) | undefined;
|
|
1724
1763
|
color?: string | undefined;
|
|
1725
1764
|
} | undefined;
|
|
1726
|
-
|
|
1765
|
+
header?: {
|
|
1766
|
+
tooltip?: string | undefined;
|
|
1767
|
+
group?: boolean | undefined;
|
|
1768
|
+
groupKey?: string | number | symbol | undefined;
|
|
1769
|
+
show?: boolean | undefined;
|
|
1770
|
+
} | undefined;
|
|
1727
1771
|
} | undefined;
|
|
1728
1772
|
rules?: any[] | boolean | undefined;
|
|
1729
1773
|
text?: {
|
|
@@ -1751,10 +1795,17 @@ declare const conf: {
|
|
|
1751
1795
|
list: any[];
|
|
1752
1796
|
};
|
|
1753
1797
|
};
|
|
1798
|
+
header: {
|
|
1799
|
+
group: {
|
|
1800
|
+
expand: boolean;
|
|
1801
|
+
toggleExpandAll: () => void;
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1754
1804
|
getList: () => Promise<void>;
|
|
1755
1805
|
selection: {
|
|
1756
1806
|
list: any[];
|
|
1757
1807
|
change: (selection: any[]) => void;
|
|
1808
|
+
setList: (list: any[], callback?: (item: any) => any) => void;
|
|
1758
1809
|
};
|
|
1759
1810
|
sort: {
|
|
1760
1811
|
prop: string;
|
|
@@ -1792,6 +1843,7 @@ declare const conf: {
|
|
|
1792
1843
|
value?: any;
|
|
1793
1844
|
children?: /*elided*/ any[] | undefined;
|
|
1794
1845
|
disabled?: {
|
|
1846
|
+
table?: boolean | undefined;
|
|
1795
1847
|
create?: boolean | undefined;
|
|
1796
1848
|
update?: boolean | undefined;
|
|
1797
1849
|
search?: boolean | undefined;
|
|
@@ -1831,6 +1883,7 @@ declare const conf: {
|
|
|
1831
1883
|
} | undefined;
|
|
1832
1884
|
input?: {
|
|
1833
1885
|
[x: string]: any;
|
|
1886
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1834
1887
|
on?: any;
|
|
1835
1888
|
} | undefined;
|
|
1836
1889
|
switch?: {
|
|
@@ -1917,6 +1970,7 @@ declare const conf: {
|
|
|
1917
1970
|
} | undefined;
|
|
1918
1971
|
input?: {
|
|
1919
1972
|
[x: string]: any;
|
|
1973
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1920
1974
|
on?: any;
|
|
1921
1975
|
} | undefined;
|
|
1922
1976
|
switch?: {
|
|
@@ -2003,6 +2057,7 @@ declare const conf: {
|
|
|
2003
2057
|
} | undefined;
|
|
2004
2058
|
input?: {
|
|
2005
2059
|
[x: string]: any;
|
|
2060
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2006
2061
|
on?: any;
|
|
2007
2062
|
} | undefined;
|
|
2008
2063
|
switch?: {
|
|
@@ -2073,6 +2128,7 @@ declare const conf: {
|
|
|
2073
2128
|
} | undefined;
|
|
2074
2129
|
input?: {
|
|
2075
2130
|
[x: string]: any;
|
|
2131
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2076
2132
|
on?: any;
|
|
2077
2133
|
} | undefined;
|
|
2078
2134
|
switch?: {
|
|
@@ -2161,7 +2217,12 @@ declare const conf: {
|
|
|
2161
2217
|
callback?: ((data: any) => void) | undefined;
|
|
2162
2218
|
color?: string | undefined;
|
|
2163
2219
|
} | undefined;
|
|
2164
|
-
|
|
2220
|
+
header?: {
|
|
2221
|
+
tooltip?: string | undefined;
|
|
2222
|
+
group?: boolean | undefined;
|
|
2223
|
+
groupKey?: string | number | symbol | undefined;
|
|
2224
|
+
show?: boolean | undefined;
|
|
2225
|
+
} | undefined;
|
|
2165
2226
|
} | undefined;
|
|
2166
2227
|
rules?: any[] | boolean | undefined;
|
|
2167
2228
|
text?: {
|
|
@@ -2189,7 +2250,7 @@ declare const conf: {
|
|
|
2189
2250
|
}[][];
|
|
2190
2251
|
getDisabled: (item: import("./indexType").CurdConfigColumn) => boolean | undefined;
|
|
2191
2252
|
getBind: (item: import("./indexType").CurdConfigColumn) => any;
|
|
2192
|
-
getOn: (item: import("./indexType").CurdConfigColumn) => any
|
|
2253
|
+
getOn: (item: import("./indexType").CurdConfigColumn, row?: any) => Record<string, any>;
|
|
2193
2254
|
getOptions: <T = any>(key: string) => {
|
|
2194
2255
|
options: import("./indexType").CurdConfigColumn<T>["options"];
|
|
2195
2256
|
bind: Omit<import("./indexType").CurdConfigColumn<T>["options"], "formAdd" | "formUpdate">;
|
|
@@ -2219,7 +2280,7 @@ declare const conf: {
|
|
|
2219
2280
|
initColumnOptions: () => void;
|
|
2220
2281
|
getColumnSpan: (column: import("./indexType").CurdFormColumn, itemConfig: import("./indexType").CurdFormColumn[]) => number | undefined;
|
|
2221
2282
|
initColumnForm: () => void;
|
|
2222
|
-
}, switchConfirmRef: import("vue").Ref<any, any>, ruleFormRef: import("vue").Ref<import("element-plus").FormInstance | undefined, import("element-plus").FormInstance | undefined>;
|
|
2283
|
+
}, switchConfirmRef: import("vue").Ref<any, any>, ruleFormRef: import("vue").Ref<import("element-plus").FormInstance | undefined, import("element-plus").FormInstance | undefined>, tableRef: import("vue").Ref<import("element-plus").TableInstance | undefined, import("element-plus").TableInstance | undefined>;
|
|
2223
2284
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2224
2285
|
declare var __VLS_1: {}, __VLS_7: {
|
|
2225
2286
|
row: Record<string, any>;
|
|
@@ -2231,15 +2292,15 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2231
2292
|
row: Record<string, any>;
|
|
2232
2293
|
}, __VLS_75: {
|
|
2233
2294
|
row: Record<string, any>;
|
|
2234
|
-
}, __VLS_137: {}, __VLS_139: {},
|
|
2295
|
+
}, __VLS_137: {}, __VLS_139: {}, __VLS_183: string | number, __VLS_184: any, __VLS_190: {}, __VLS_196: {
|
|
2235
2296
|
row: any;
|
|
2236
|
-
},
|
|
2297
|
+
}, __VLS_214: {
|
|
2237
2298
|
row: any;
|
|
2238
|
-
},
|
|
2299
|
+
}, __VLS_248: {
|
|
2239
2300
|
row: any;
|
|
2240
|
-
},
|
|
2301
|
+
}, __VLS_259: {}, __VLS_271: {
|
|
2241
2302
|
row: any;
|
|
2242
|
-
},
|
|
2303
|
+
}, __VLS_277: string | number, __VLS_278: {
|
|
2243
2304
|
row: any;
|
|
2244
2305
|
item: {
|
|
2245
2306
|
key: string;
|
|
@@ -2247,6 +2308,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2247
2308
|
value?: any;
|
|
2248
2309
|
children?: /*elided*/ any[] | undefined;
|
|
2249
2310
|
disabled?: {
|
|
2311
|
+
table?: boolean | undefined;
|
|
2250
2312
|
create?: boolean | undefined;
|
|
2251
2313
|
update?: boolean | undefined;
|
|
2252
2314
|
search?: boolean | undefined;
|
|
@@ -2286,6 +2348,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2286
2348
|
} | undefined;
|
|
2287
2349
|
input?: {
|
|
2288
2350
|
[x: string]: any;
|
|
2351
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2289
2352
|
on?: any;
|
|
2290
2353
|
} | undefined;
|
|
2291
2354
|
switch?: {
|
|
@@ -2372,6 +2435,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2372
2435
|
} | undefined;
|
|
2373
2436
|
input?: {
|
|
2374
2437
|
[x: string]: any;
|
|
2438
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2375
2439
|
on?: any;
|
|
2376
2440
|
} | undefined;
|
|
2377
2441
|
switch?: {
|
|
@@ -2458,6 +2522,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2458
2522
|
} | undefined;
|
|
2459
2523
|
input?: {
|
|
2460
2524
|
[x: string]: any;
|
|
2525
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2461
2526
|
on?: any;
|
|
2462
2527
|
} | undefined;
|
|
2463
2528
|
switch?: {
|
|
@@ -2528,6 +2593,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2528
2593
|
} | undefined;
|
|
2529
2594
|
input?: {
|
|
2530
2595
|
[x: string]: any;
|
|
2596
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2531
2597
|
on?: any;
|
|
2532
2598
|
} | undefined;
|
|
2533
2599
|
switch?: {
|
|
@@ -2616,7 +2682,12 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2616
2682
|
callback?: ((data: any) => void) | undefined;
|
|
2617
2683
|
color?: string | undefined;
|
|
2618
2684
|
} | undefined;
|
|
2619
|
-
|
|
2685
|
+
header?: {
|
|
2686
|
+
tooltip?: string | undefined;
|
|
2687
|
+
group?: boolean | undefined;
|
|
2688
|
+
groupKey?: string | number | symbol | undefined;
|
|
2689
|
+
show?: boolean | undefined;
|
|
2690
|
+
} | undefined;
|
|
2620
2691
|
} | undefined;
|
|
2621
2692
|
rules?: any[] | boolean | undefined;
|
|
2622
2693
|
text?: {
|
|
@@ -2639,7 +2710,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2639
2710
|
form?: number | undefined;
|
|
2640
2711
|
} | undefined;
|
|
2641
2712
|
};
|
|
2642
|
-
},
|
|
2713
|
+
}, __VLS_280: {
|
|
2643
2714
|
row: any;
|
|
2644
2715
|
};
|
|
2645
2716
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -2647,9 +2718,9 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
2647
2718
|
} & {
|
|
2648
2719
|
[K in NonNullable<typeof __VLS_50>]?: (props: typeof __VLS_51) => any;
|
|
2649
2720
|
} & {
|
|
2650
|
-
[K in NonNullable<typeof
|
|
2721
|
+
[K in NonNullable<typeof __VLS_183>]?: (props: typeof __VLS_184) => any;
|
|
2651
2722
|
} & {
|
|
2652
|
-
[K in NonNullable<typeof
|
|
2723
|
+
[K in NonNullable<typeof __VLS_277>]?: (props: typeof __VLS_278) => any;
|
|
2653
2724
|
} & {
|
|
2654
2725
|
'box-left'?: (props: typeof __VLS_1) => any;
|
|
2655
2726
|
} & {
|
|
@@ -2663,19 +2734,19 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
2663
2734
|
} & {
|
|
2664
2735
|
'tools-right'?: (props: typeof __VLS_139) => any;
|
|
2665
2736
|
} & {
|
|
2666
|
-
'table-header-op'?: (props: typeof
|
|
2737
|
+
'table-header-op'?: (props: typeof __VLS_190) => any;
|
|
2667
2738
|
} & {
|
|
2668
|
-
'table-op-left'?: (props: typeof
|
|
2739
|
+
'table-op-left'?: (props: typeof __VLS_196) => any;
|
|
2669
2740
|
} & {
|
|
2670
|
-
'table-op-edit-right'?: (props: typeof
|
|
2741
|
+
'table-op-edit-right'?: (props: typeof __VLS_214) => any;
|
|
2671
2742
|
} & {
|
|
2672
|
-
'table-op-right'?: (props: typeof
|
|
2743
|
+
'table-op-right'?: (props: typeof __VLS_248) => any;
|
|
2673
2744
|
} & {
|
|
2674
|
-
'box-right'?: (props: typeof
|
|
2745
|
+
'box-right'?: (props: typeof __VLS_259) => any;
|
|
2675
2746
|
} & {
|
|
2676
|
-
'form-start'?: (props: typeof
|
|
2747
|
+
'form-start'?: (props: typeof __VLS_271) => any;
|
|
2677
2748
|
} & {
|
|
2678
|
-
'form-end'?: (props: typeof
|
|
2749
|
+
'form-end'?: (props: typeof __VLS_280) => any;
|
|
2679
2750
|
}>;
|
|
2680
2751
|
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2681
2752
|
/**
|
|
@@ -2705,11 +2776,14 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2705
2776
|
ElTableColumn: typeof ElTableColumn;
|
|
2706
2777
|
TableColumn: typeof TableColumn;
|
|
2707
2778
|
FormColumn: typeof FormColumn;
|
|
2779
|
+
Collapse: typeof Collapse;
|
|
2780
|
+
Expand: typeof Expand;
|
|
2708
2781
|
EDialog: typeof EDialog;
|
|
2709
2782
|
isFun: typeof isFun;
|
|
2710
2783
|
conf: typeof conf;
|
|
2711
2784
|
switchConfirmRef: typeof switchConfirmRef;
|
|
2712
2785
|
ruleFormRef: typeof ruleFormRef;
|
|
2786
|
+
tableRef: typeof tableRef;
|
|
2713
2787
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2714
2788
|
/**
|
|
2715
2789
|
* 配置
|
|
@@ -2760,6 +2834,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2760
2834
|
} | undefined;
|
|
2761
2835
|
} | undefined;
|
|
2762
2836
|
table?: {
|
|
2837
|
+
editMode?: boolean | undefined;
|
|
2763
2838
|
rowKey?: string | undefined;
|
|
2764
2839
|
border?: boolean | undefined;
|
|
2765
2840
|
selectable?: boolean | ((data: any) => boolean) | {
|
|
@@ -2773,6 +2848,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2773
2848
|
value?: any;
|
|
2774
2849
|
children?: /*elided*/ any[] | undefined;
|
|
2775
2850
|
disabled?: {
|
|
2851
|
+
table?: boolean | undefined;
|
|
2776
2852
|
create?: boolean | undefined;
|
|
2777
2853
|
update?: boolean | undefined;
|
|
2778
2854
|
search?: boolean | undefined;
|
|
@@ -2812,6 +2888,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2812
2888
|
} | undefined;
|
|
2813
2889
|
input?: {
|
|
2814
2890
|
[x: string]: any;
|
|
2891
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2815
2892
|
on?: any;
|
|
2816
2893
|
} | undefined;
|
|
2817
2894
|
switch?: {
|
|
@@ -2898,6 +2975,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2898
2975
|
} | undefined;
|
|
2899
2976
|
input?: {
|
|
2900
2977
|
[x: string]: any;
|
|
2978
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2901
2979
|
on?: any;
|
|
2902
2980
|
} | undefined;
|
|
2903
2981
|
switch?: {
|
|
@@ -2984,6 +3062,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2984
3062
|
} | undefined;
|
|
2985
3063
|
input?: {
|
|
2986
3064
|
[x: string]: any;
|
|
3065
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2987
3066
|
on?: any;
|
|
2988
3067
|
} | undefined;
|
|
2989
3068
|
switch?: {
|
|
@@ -3054,6 +3133,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3054
3133
|
} | undefined;
|
|
3055
3134
|
input?: {
|
|
3056
3135
|
[x: string]: any;
|
|
3136
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3057
3137
|
on?: any;
|
|
3058
3138
|
} | undefined;
|
|
3059
3139
|
switch?: {
|
|
@@ -3142,7 +3222,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3142
3222
|
callback?: ((data: any) => void) | undefined;
|
|
3143
3223
|
color?: string | undefined;
|
|
3144
3224
|
} | undefined;
|
|
3145
|
-
|
|
3225
|
+
header?: {
|
|
3226
|
+
tooltip?: string | undefined;
|
|
3227
|
+
group?: boolean | undefined;
|
|
3228
|
+
groupKey?: string | number | symbol | undefined;
|
|
3229
|
+
show?: boolean | undefined;
|
|
3230
|
+
} | undefined;
|
|
3146
3231
|
} | undefined;
|
|
3147
3232
|
rules?: any[] | boolean | undefined;
|
|
3148
3233
|
text?: {
|
|
@@ -3187,6 +3272,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3187
3272
|
refresh?: boolean | undefined;
|
|
3188
3273
|
expand?: boolean | undefined;
|
|
3189
3274
|
search?: boolean | undefined;
|
|
3275
|
+
expandColumn?: boolean | undefined;
|
|
3190
3276
|
reset?: boolean | undefined;
|
|
3191
3277
|
add?: boolean | ((data: any) => boolean) | undefined;
|
|
3192
3278
|
delete?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -3226,6 +3312,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3226
3312
|
value?: any;
|
|
3227
3313
|
children?: /*elided*/ any[] | undefined;
|
|
3228
3314
|
disabled?: {
|
|
3315
|
+
table?: boolean | undefined;
|
|
3229
3316
|
create?: boolean | undefined;
|
|
3230
3317
|
update?: boolean | undefined;
|
|
3231
3318
|
search?: boolean | undefined;
|
|
@@ -3265,6 +3352,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3265
3352
|
} | undefined;
|
|
3266
3353
|
input?: {
|
|
3267
3354
|
[x: string]: any;
|
|
3355
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3268
3356
|
on?: any;
|
|
3269
3357
|
} | undefined;
|
|
3270
3358
|
switch?: {
|
|
@@ -3351,6 +3439,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3351
3439
|
} | undefined;
|
|
3352
3440
|
input?: {
|
|
3353
3441
|
[x: string]: any;
|
|
3442
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3354
3443
|
on?: any;
|
|
3355
3444
|
} | undefined;
|
|
3356
3445
|
switch?: {
|
|
@@ -3437,6 +3526,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3437
3526
|
} | undefined;
|
|
3438
3527
|
input?: {
|
|
3439
3528
|
[x: string]: any;
|
|
3529
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3440
3530
|
on?: any;
|
|
3441
3531
|
} | undefined;
|
|
3442
3532
|
switch?: {
|
|
@@ -3507,6 +3597,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3507
3597
|
} | undefined;
|
|
3508
3598
|
input?: {
|
|
3509
3599
|
[x: string]: any;
|
|
3600
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3510
3601
|
on?: any;
|
|
3511
3602
|
} | undefined;
|
|
3512
3603
|
switch?: {
|
|
@@ -3595,7 +3686,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3595
3686
|
callback?: ((data: any) => void) | undefined;
|
|
3596
3687
|
color?: string | undefined;
|
|
3597
3688
|
} | undefined;
|
|
3598
|
-
|
|
3689
|
+
header?: {
|
|
3690
|
+
tooltip?: string | undefined;
|
|
3691
|
+
group?: boolean | undefined;
|
|
3692
|
+
groupKey?: string | number | symbol | undefined;
|
|
3693
|
+
show?: boolean | undefined;
|
|
3694
|
+
} | undefined;
|
|
3599
3695
|
} | undefined;
|
|
3600
3696
|
rules?: any[] | boolean | undefined;
|
|
3601
3697
|
text?: {
|
|
@@ -3636,6 +3732,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3636
3732
|
value?: any;
|
|
3637
3733
|
children?: /*elided*/ any[] | undefined;
|
|
3638
3734
|
disabled?: {
|
|
3735
|
+
table?: boolean | undefined;
|
|
3639
3736
|
create?: boolean | undefined;
|
|
3640
3737
|
update?: boolean | undefined;
|
|
3641
3738
|
search?: boolean | undefined;
|
|
@@ -3675,6 +3772,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3675
3772
|
} | undefined;
|
|
3676
3773
|
input?: {
|
|
3677
3774
|
[x: string]: any;
|
|
3775
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3678
3776
|
on?: any;
|
|
3679
3777
|
} | undefined;
|
|
3680
3778
|
switch?: {
|
|
@@ -3761,6 +3859,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3761
3859
|
} | undefined;
|
|
3762
3860
|
input?: {
|
|
3763
3861
|
[x: string]: any;
|
|
3862
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3764
3863
|
on?: any;
|
|
3765
3864
|
} | undefined;
|
|
3766
3865
|
switch?: {
|
|
@@ -3847,6 +3946,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3847
3946
|
} | undefined;
|
|
3848
3947
|
input?: {
|
|
3849
3948
|
[x: string]: any;
|
|
3949
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3850
3950
|
on?: any;
|
|
3851
3951
|
} | undefined;
|
|
3852
3952
|
switch?: {
|
|
@@ -3917,6 +4017,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3917
4017
|
} | undefined;
|
|
3918
4018
|
input?: {
|
|
3919
4019
|
[x: string]: any;
|
|
4020
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3920
4021
|
on?: any;
|
|
3921
4022
|
} | undefined;
|
|
3922
4023
|
switch?: {
|
|
@@ -4005,7 +4106,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4005
4106
|
callback?: ((data: any) => void) | undefined;
|
|
4006
4107
|
color?: string | undefined;
|
|
4007
4108
|
} | undefined;
|
|
4008
|
-
|
|
4109
|
+
header?: {
|
|
4110
|
+
tooltip?: string | undefined;
|
|
4111
|
+
group?: boolean | undefined;
|
|
4112
|
+
groupKey?: string | number | symbol | undefined;
|
|
4113
|
+
show?: boolean | undefined;
|
|
4114
|
+
} | undefined;
|
|
4009
4115
|
} | undefined;
|
|
4010
4116
|
rules?: any[] | boolean | undefined;
|
|
4011
4117
|
text?: {
|
|
@@ -4068,6 +4174,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4068
4174
|
value?: any;
|
|
4069
4175
|
children?: /*elided*/ any[] | undefined;
|
|
4070
4176
|
disabled?: {
|
|
4177
|
+
table?: boolean | undefined;
|
|
4071
4178
|
create?: boolean | undefined;
|
|
4072
4179
|
update?: boolean | undefined;
|
|
4073
4180
|
search?: boolean | undefined;
|
|
@@ -4107,6 +4214,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4107
4214
|
} | undefined;
|
|
4108
4215
|
input?: {
|
|
4109
4216
|
[x: string]: any;
|
|
4217
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4110
4218
|
on?: any;
|
|
4111
4219
|
} | undefined;
|
|
4112
4220
|
switch?: {
|
|
@@ -4193,6 +4301,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4193
4301
|
} | undefined;
|
|
4194
4302
|
input?: {
|
|
4195
4303
|
[x: string]: any;
|
|
4304
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4196
4305
|
on?: any;
|
|
4197
4306
|
} | undefined;
|
|
4198
4307
|
switch?: {
|
|
@@ -4279,6 +4388,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4279
4388
|
} | undefined;
|
|
4280
4389
|
input?: {
|
|
4281
4390
|
[x: string]: any;
|
|
4391
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4282
4392
|
on?: any;
|
|
4283
4393
|
} | undefined;
|
|
4284
4394
|
switch?: {
|
|
@@ -4349,6 +4459,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4349
4459
|
} | undefined;
|
|
4350
4460
|
input?: {
|
|
4351
4461
|
[x: string]: any;
|
|
4462
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4352
4463
|
on?: any;
|
|
4353
4464
|
} | undefined;
|
|
4354
4465
|
switch?: {
|
|
@@ -4437,7 +4548,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4437
4548
|
callback?: ((data: any) => void) | undefined;
|
|
4438
4549
|
color?: string | undefined;
|
|
4439
4550
|
} | undefined;
|
|
4440
|
-
|
|
4551
|
+
header?: {
|
|
4552
|
+
tooltip?: string | undefined;
|
|
4553
|
+
group?: boolean | undefined;
|
|
4554
|
+
groupKey?: string | number | symbol | undefined;
|
|
4555
|
+
show?: boolean | undefined;
|
|
4556
|
+
} | undefined;
|
|
4441
4557
|
} | undefined;
|
|
4442
4558
|
rules?: any[] | boolean | undefined;
|
|
4443
4559
|
text?: {
|
|
@@ -4465,10 +4581,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4465
4581
|
list: any[];
|
|
4466
4582
|
};
|
|
4467
4583
|
};
|
|
4584
|
+
header: {
|
|
4585
|
+
group: {
|
|
4586
|
+
expand: boolean;
|
|
4587
|
+
toggleExpandAll: () => void;
|
|
4588
|
+
};
|
|
4589
|
+
};
|
|
4468
4590
|
getList: () => Promise<void>;
|
|
4469
4591
|
selection: {
|
|
4470
4592
|
list: any[];
|
|
4471
4593
|
change: (selection: any[]) => void;
|
|
4594
|
+
setList: (list: any[], callback?: (item: any) => any) => void;
|
|
4472
4595
|
};
|
|
4473
4596
|
sort: {
|
|
4474
4597
|
prop: string;
|
|
@@ -4506,6 +4629,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4506
4629
|
value?: any;
|
|
4507
4630
|
children?: /*elided*/ any[] | undefined;
|
|
4508
4631
|
disabled?: {
|
|
4632
|
+
table?: boolean | undefined;
|
|
4509
4633
|
create?: boolean | undefined;
|
|
4510
4634
|
update?: boolean | undefined;
|
|
4511
4635
|
search?: boolean | undefined;
|
|
@@ -4545,6 +4669,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4545
4669
|
} | undefined;
|
|
4546
4670
|
input?: {
|
|
4547
4671
|
[x: string]: any;
|
|
4672
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4548
4673
|
on?: any;
|
|
4549
4674
|
} | undefined;
|
|
4550
4675
|
switch?: {
|
|
@@ -4631,6 +4756,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4631
4756
|
} | undefined;
|
|
4632
4757
|
input?: {
|
|
4633
4758
|
[x: string]: any;
|
|
4759
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4634
4760
|
on?: any;
|
|
4635
4761
|
} | undefined;
|
|
4636
4762
|
switch?: {
|
|
@@ -4717,6 +4843,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4717
4843
|
} | undefined;
|
|
4718
4844
|
input?: {
|
|
4719
4845
|
[x: string]: any;
|
|
4846
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4720
4847
|
on?: any;
|
|
4721
4848
|
} | undefined;
|
|
4722
4849
|
switch?: {
|
|
@@ -4787,6 +4914,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4787
4914
|
} | undefined;
|
|
4788
4915
|
input?: {
|
|
4789
4916
|
[x: string]: any;
|
|
4917
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4790
4918
|
on?: any;
|
|
4791
4919
|
} | undefined;
|
|
4792
4920
|
switch?: {
|
|
@@ -4875,7 +5003,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4875
5003
|
callback?: ((data: any) => void) | undefined;
|
|
4876
5004
|
color?: string | undefined;
|
|
4877
5005
|
} | undefined;
|
|
4878
|
-
|
|
5006
|
+
header?: {
|
|
5007
|
+
tooltip?: string | undefined;
|
|
5008
|
+
group?: boolean | undefined;
|
|
5009
|
+
groupKey?: string | number | symbol | undefined;
|
|
5010
|
+
show?: boolean | undefined;
|
|
5011
|
+
} | undefined;
|
|
4879
5012
|
} | undefined;
|
|
4880
5013
|
rules?: any[] | boolean | undefined;
|
|
4881
5014
|
text?: {
|
|
@@ -4903,7 +5036,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4903
5036
|
}[][];
|
|
4904
5037
|
getDisabled: (item: import("./indexType").CurdConfigColumn) => boolean | undefined;
|
|
4905
5038
|
getBind: (item: import("./indexType").CurdConfigColumn) => any;
|
|
4906
|
-
getOn: (item: import("./indexType").CurdConfigColumn) => any
|
|
5039
|
+
getOn: (item: import("./indexType").CurdConfigColumn, row?: any) => Record<string, any>;
|
|
4907
5040
|
getOptions: <T = any>(key: string) => {
|
|
4908
5041
|
options: import("./indexType").CurdConfigColumn<T>["options"];
|
|
4909
5042
|
bind: Omit<import("./indexType").CurdConfigColumn<T>["options"], "formAdd" | "formUpdate">;
|