cc1-form 1.2.6 → 1.2.8
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 +1156 -994
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +70 -7
- package/dist/components/TCurd/formColumn.vue.d.ts +50 -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 +59 -7
- package/dist/components/TCurd/index.vue.d.ts +147 -30
- package/dist/components/TCurd/indexType.d.ts +19 -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;
|
|
@@ -100,6 +102,7 @@ declare const conf: {
|
|
|
100
102
|
} | undefined;
|
|
101
103
|
input?: {
|
|
102
104
|
[x: string]: any;
|
|
105
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
103
106
|
on?: any;
|
|
104
107
|
} | undefined;
|
|
105
108
|
switch?: {
|
|
@@ -186,6 +189,7 @@ declare const conf: {
|
|
|
186
189
|
} | undefined;
|
|
187
190
|
input?: {
|
|
188
191
|
[x: string]: any;
|
|
192
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
189
193
|
on?: any;
|
|
190
194
|
} | undefined;
|
|
191
195
|
switch?: {
|
|
@@ -272,6 +276,7 @@ declare const conf: {
|
|
|
272
276
|
} | undefined;
|
|
273
277
|
input?: {
|
|
274
278
|
[x: string]: any;
|
|
279
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
275
280
|
on?: any;
|
|
276
281
|
} | undefined;
|
|
277
282
|
switch?: {
|
|
@@ -342,6 +347,7 @@ declare const conf: {
|
|
|
342
347
|
} | undefined;
|
|
343
348
|
input?: {
|
|
344
349
|
[x: string]: any;
|
|
350
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
345
351
|
on?: any;
|
|
346
352
|
} | undefined;
|
|
347
353
|
switch?: {
|
|
@@ -430,7 +436,12 @@ declare const conf: {
|
|
|
430
436
|
callback?: ((data: any) => void) | undefined;
|
|
431
437
|
color?: string | undefined;
|
|
432
438
|
} | undefined;
|
|
433
|
-
|
|
439
|
+
header?: {
|
|
440
|
+
tooltip?: string | undefined;
|
|
441
|
+
group?: boolean | undefined;
|
|
442
|
+
groupKey?: string | number | symbol | undefined;
|
|
443
|
+
show?: boolean | undefined;
|
|
444
|
+
} | undefined;
|
|
434
445
|
} | undefined;
|
|
435
446
|
rules?: any[] | boolean | undefined;
|
|
436
447
|
text?: {
|
|
@@ -475,6 +486,7 @@ declare const conf: {
|
|
|
475
486
|
refresh?: boolean | undefined;
|
|
476
487
|
expand?: boolean | undefined;
|
|
477
488
|
search?: boolean | undefined;
|
|
489
|
+
expandColumn?: boolean | undefined;
|
|
478
490
|
reset?: boolean | undefined;
|
|
479
491
|
add?: boolean | ((data: any) => boolean) | undefined;
|
|
480
492
|
delete?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -554,6 +566,7 @@ declare const conf: {
|
|
|
554
566
|
} | undefined;
|
|
555
567
|
input?: {
|
|
556
568
|
[x: string]: any;
|
|
569
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
557
570
|
on?: any;
|
|
558
571
|
} | undefined;
|
|
559
572
|
switch?: {
|
|
@@ -640,6 +653,7 @@ declare const conf: {
|
|
|
640
653
|
} | undefined;
|
|
641
654
|
input?: {
|
|
642
655
|
[x: string]: any;
|
|
656
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
643
657
|
on?: any;
|
|
644
658
|
} | undefined;
|
|
645
659
|
switch?: {
|
|
@@ -726,6 +740,7 @@ declare const conf: {
|
|
|
726
740
|
} | undefined;
|
|
727
741
|
input?: {
|
|
728
742
|
[x: string]: any;
|
|
743
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
729
744
|
on?: any;
|
|
730
745
|
} | undefined;
|
|
731
746
|
switch?: {
|
|
@@ -796,6 +811,7 @@ declare const conf: {
|
|
|
796
811
|
} | undefined;
|
|
797
812
|
input?: {
|
|
798
813
|
[x: string]: any;
|
|
814
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
799
815
|
on?: any;
|
|
800
816
|
} | undefined;
|
|
801
817
|
switch?: {
|
|
@@ -884,7 +900,12 @@ declare const conf: {
|
|
|
884
900
|
callback?: ((data: any) => void) | undefined;
|
|
885
901
|
color?: string | undefined;
|
|
886
902
|
} | undefined;
|
|
887
|
-
|
|
903
|
+
header?: {
|
|
904
|
+
tooltip?: string | undefined;
|
|
905
|
+
group?: boolean | undefined;
|
|
906
|
+
groupKey?: string | number | symbol | undefined;
|
|
907
|
+
show?: boolean | undefined;
|
|
908
|
+
} | undefined;
|
|
888
909
|
} | undefined;
|
|
889
910
|
rules?: any[] | boolean | undefined;
|
|
890
911
|
text?: {
|
|
@@ -965,6 +986,7 @@ declare const conf: {
|
|
|
965
986
|
} | undefined;
|
|
966
987
|
input?: {
|
|
967
988
|
[x: string]: any;
|
|
989
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
968
990
|
on?: any;
|
|
969
991
|
} | undefined;
|
|
970
992
|
switch?: {
|
|
@@ -1051,6 +1073,7 @@ declare const conf: {
|
|
|
1051
1073
|
} | undefined;
|
|
1052
1074
|
input?: {
|
|
1053
1075
|
[x: string]: any;
|
|
1076
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1054
1077
|
on?: any;
|
|
1055
1078
|
} | undefined;
|
|
1056
1079
|
switch?: {
|
|
@@ -1137,6 +1160,7 @@ declare const conf: {
|
|
|
1137
1160
|
} | undefined;
|
|
1138
1161
|
input?: {
|
|
1139
1162
|
[x: string]: any;
|
|
1163
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1140
1164
|
on?: any;
|
|
1141
1165
|
} | undefined;
|
|
1142
1166
|
switch?: {
|
|
@@ -1207,6 +1231,7 @@ declare const conf: {
|
|
|
1207
1231
|
} | undefined;
|
|
1208
1232
|
input?: {
|
|
1209
1233
|
[x: string]: any;
|
|
1234
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1210
1235
|
on?: any;
|
|
1211
1236
|
} | undefined;
|
|
1212
1237
|
switch?: {
|
|
@@ -1295,7 +1320,12 @@ declare const conf: {
|
|
|
1295
1320
|
callback?: ((data: any) => void) | undefined;
|
|
1296
1321
|
color?: string | undefined;
|
|
1297
1322
|
} | undefined;
|
|
1298
|
-
|
|
1323
|
+
header?: {
|
|
1324
|
+
tooltip?: string | undefined;
|
|
1325
|
+
group?: boolean | undefined;
|
|
1326
|
+
groupKey?: string | number | symbol | undefined;
|
|
1327
|
+
show?: boolean | undefined;
|
|
1328
|
+
} | undefined;
|
|
1299
1329
|
} | undefined;
|
|
1300
1330
|
rules?: any[] | boolean | undefined;
|
|
1301
1331
|
text?: {
|
|
@@ -1398,6 +1428,7 @@ declare const conf: {
|
|
|
1398
1428
|
} | undefined;
|
|
1399
1429
|
input?: {
|
|
1400
1430
|
[x: string]: any;
|
|
1431
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1401
1432
|
on?: any;
|
|
1402
1433
|
} | undefined;
|
|
1403
1434
|
switch?: {
|
|
@@ -1484,6 +1515,7 @@ declare const conf: {
|
|
|
1484
1515
|
} | undefined;
|
|
1485
1516
|
input?: {
|
|
1486
1517
|
[x: string]: any;
|
|
1518
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1487
1519
|
on?: any;
|
|
1488
1520
|
} | undefined;
|
|
1489
1521
|
switch?: {
|
|
@@ -1570,6 +1602,7 @@ declare const conf: {
|
|
|
1570
1602
|
} | undefined;
|
|
1571
1603
|
input?: {
|
|
1572
1604
|
[x: string]: any;
|
|
1605
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1573
1606
|
on?: any;
|
|
1574
1607
|
} | undefined;
|
|
1575
1608
|
switch?: {
|
|
@@ -1640,6 +1673,7 @@ declare const conf: {
|
|
|
1640
1673
|
} | undefined;
|
|
1641
1674
|
input?: {
|
|
1642
1675
|
[x: string]: any;
|
|
1676
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1643
1677
|
on?: any;
|
|
1644
1678
|
} | undefined;
|
|
1645
1679
|
switch?: {
|
|
@@ -1728,7 +1762,12 @@ declare const conf: {
|
|
|
1728
1762
|
callback?: ((data: any) => void) | undefined;
|
|
1729
1763
|
color?: string | undefined;
|
|
1730
1764
|
} | undefined;
|
|
1731
|
-
|
|
1765
|
+
header?: {
|
|
1766
|
+
tooltip?: string | undefined;
|
|
1767
|
+
group?: boolean | undefined;
|
|
1768
|
+
groupKey?: string | number | symbol | undefined;
|
|
1769
|
+
show?: boolean | undefined;
|
|
1770
|
+
} | undefined;
|
|
1732
1771
|
} | undefined;
|
|
1733
1772
|
rules?: any[] | boolean | undefined;
|
|
1734
1773
|
text?: {
|
|
@@ -1756,11 +1795,17 @@ declare const conf: {
|
|
|
1756
1795
|
list: any[];
|
|
1757
1796
|
};
|
|
1758
1797
|
};
|
|
1798
|
+
header: {
|
|
1799
|
+
group: {
|
|
1800
|
+
expand: boolean;
|
|
1801
|
+
toggleExpandAll: () => void;
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1759
1804
|
getList: () => Promise<void>;
|
|
1760
1805
|
selection: {
|
|
1761
1806
|
list: any[];
|
|
1762
1807
|
change: (selection: any[]) => void;
|
|
1763
|
-
setList: (list: any[]) => void;
|
|
1808
|
+
setList: (list: any[], callback?: (item: any) => any) => void;
|
|
1764
1809
|
};
|
|
1765
1810
|
sort: {
|
|
1766
1811
|
prop: string;
|
|
@@ -1838,6 +1883,7 @@ declare const conf: {
|
|
|
1838
1883
|
} | undefined;
|
|
1839
1884
|
input?: {
|
|
1840
1885
|
[x: string]: any;
|
|
1886
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1841
1887
|
on?: any;
|
|
1842
1888
|
} | undefined;
|
|
1843
1889
|
switch?: {
|
|
@@ -1924,6 +1970,7 @@ declare const conf: {
|
|
|
1924
1970
|
} | undefined;
|
|
1925
1971
|
input?: {
|
|
1926
1972
|
[x: string]: any;
|
|
1973
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
1927
1974
|
on?: any;
|
|
1928
1975
|
} | undefined;
|
|
1929
1976
|
switch?: {
|
|
@@ -2010,6 +2057,7 @@ declare const conf: {
|
|
|
2010
2057
|
} | undefined;
|
|
2011
2058
|
input?: {
|
|
2012
2059
|
[x: string]: any;
|
|
2060
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2013
2061
|
on?: any;
|
|
2014
2062
|
} | undefined;
|
|
2015
2063
|
switch?: {
|
|
@@ -2080,6 +2128,7 @@ declare const conf: {
|
|
|
2080
2128
|
} | undefined;
|
|
2081
2129
|
input?: {
|
|
2082
2130
|
[x: string]: any;
|
|
2131
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2083
2132
|
on?: any;
|
|
2084
2133
|
} | undefined;
|
|
2085
2134
|
switch?: {
|
|
@@ -2168,7 +2217,12 @@ declare const conf: {
|
|
|
2168
2217
|
callback?: ((data: any) => void) | undefined;
|
|
2169
2218
|
color?: string | undefined;
|
|
2170
2219
|
} | undefined;
|
|
2171
|
-
|
|
2220
|
+
header?: {
|
|
2221
|
+
tooltip?: string | undefined;
|
|
2222
|
+
group?: boolean | undefined;
|
|
2223
|
+
groupKey?: string | number | symbol | undefined;
|
|
2224
|
+
show?: boolean | undefined;
|
|
2225
|
+
} | undefined;
|
|
2172
2226
|
} | undefined;
|
|
2173
2227
|
rules?: any[] | boolean | undefined;
|
|
2174
2228
|
text?: {
|
|
@@ -2196,7 +2250,7 @@ declare const conf: {
|
|
|
2196
2250
|
}[][];
|
|
2197
2251
|
getDisabled: (item: import("./indexType").CurdConfigColumn) => boolean | undefined;
|
|
2198
2252
|
getBind: (item: import("./indexType").CurdConfigColumn) => any;
|
|
2199
|
-
getOn: (item: import("./indexType").CurdConfigColumn) => any
|
|
2253
|
+
getOn: (item: import("./indexType").CurdConfigColumn, row?: any) => Record<string, any>;
|
|
2200
2254
|
getOptions: <T = any>(key: string) => {
|
|
2201
2255
|
options: import("./indexType").CurdConfigColumn<T>["options"];
|
|
2202
2256
|
bind: Omit<import("./indexType").CurdConfigColumn<T>["options"], "formAdd" | "formUpdate">;
|
|
@@ -2238,15 +2292,15 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2238
2292
|
row: Record<string, any>;
|
|
2239
2293
|
}, __VLS_75: {
|
|
2240
2294
|
row: Record<string, any>;
|
|
2241
|
-
}, __VLS_137: {}, __VLS_139: {},
|
|
2295
|
+
}, __VLS_137: {}, __VLS_139: {}, __VLS_183: string | number, __VLS_184: any, __VLS_190: {}, __VLS_196: {
|
|
2242
2296
|
row: any;
|
|
2243
|
-
},
|
|
2297
|
+
}, __VLS_214: {
|
|
2244
2298
|
row: any;
|
|
2245
|
-
},
|
|
2299
|
+
}, __VLS_248: {
|
|
2246
2300
|
row: any;
|
|
2247
|
-
},
|
|
2301
|
+
}, __VLS_259: {}, __VLS_271: {
|
|
2248
2302
|
row: any;
|
|
2249
|
-
},
|
|
2303
|
+
}, __VLS_277: string | number, __VLS_278: {
|
|
2250
2304
|
row: any;
|
|
2251
2305
|
item: {
|
|
2252
2306
|
key: string;
|
|
@@ -2294,6 +2348,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2294
2348
|
} | undefined;
|
|
2295
2349
|
input?: {
|
|
2296
2350
|
[x: string]: any;
|
|
2351
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2297
2352
|
on?: any;
|
|
2298
2353
|
} | undefined;
|
|
2299
2354
|
switch?: {
|
|
@@ -2380,6 +2435,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2380
2435
|
} | undefined;
|
|
2381
2436
|
input?: {
|
|
2382
2437
|
[x: string]: any;
|
|
2438
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2383
2439
|
on?: any;
|
|
2384
2440
|
} | undefined;
|
|
2385
2441
|
switch?: {
|
|
@@ -2466,6 +2522,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2466
2522
|
} | undefined;
|
|
2467
2523
|
input?: {
|
|
2468
2524
|
[x: string]: any;
|
|
2525
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2469
2526
|
on?: any;
|
|
2470
2527
|
} | undefined;
|
|
2471
2528
|
switch?: {
|
|
@@ -2536,6 +2593,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2536
2593
|
} | undefined;
|
|
2537
2594
|
input?: {
|
|
2538
2595
|
[x: string]: any;
|
|
2596
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2539
2597
|
on?: any;
|
|
2540
2598
|
} | undefined;
|
|
2541
2599
|
switch?: {
|
|
@@ -2624,7 +2682,12 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2624
2682
|
callback?: ((data: any) => void) | undefined;
|
|
2625
2683
|
color?: string | undefined;
|
|
2626
2684
|
} | undefined;
|
|
2627
|
-
|
|
2685
|
+
header?: {
|
|
2686
|
+
tooltip?: string | undefined;
|
|
2687
|
+
group?: boolean | undefined;
|
|
2688
|
+
groupKey?: string | number | symbol | undefined;
|
|
2689
|
+
show?: boolean | undefined;
|
|
2690
|
+
} | undefined;
|
|
2628
2691
|
} | undefined;
|
|
2629
2692
|
rules?: any[] | boolean | undefined;
|
|
2630
2693
|
text?: {
|
|
@@ -2647,7 +2710,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2647
2710
|
form?: number | undefined;
|
|
2648
2711
|
} | undefined;
|
|
2649
2712
|
};
|
|
2650
|
-
},
|
|
2713
|
+
}, __VLS_280: {
|
|
2651
2714
|
row: any;
|
|
2652
2715
|
};
|
|
2653
2716
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -2655,9 +2718,9 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
2655
2718
|
} & {
|
|
2656
2719
|
[K in NonNullable<typeof __VLS_50>]?: (props: typeof __VLS_51) => any;
|
|
2657
2720
|
} & {
|
|
2658
|
-
[K in NonNullable<typeof
|
|
2721
|
+
[K in NonNullable<typeof __VLS_183>]?: (props: typeof __VLS_184) => any;
|
|
2659
2722
|
} & {
|
|
2660
|
-
[K in NonNullable<typeof
|
|
2723
|
+
[K in NonNullable<typeof __VLS_277>]?: (props: typeof __VLS_278) => any;
|
|
2661
2724
|
} & {
|
|
2662
2725
|
'box-left'?: (props: typeof __VLS_1) => any;
|
|
2663
2726
|
} & {
|
|
@@ -2671,19 +2734,19 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
2671
2734
|
} & {
|
|
2672
2735
|
'tools-right'?: (props: typeof __VLS_139) => any;
|
|
2673
2736
|
} & {
|
|
2674
|
-
'table-header-op'?: (props: typeof
|
|
2737
|
+
'table-header-op'?: (props: typeof __VLS_190) => any;
|
|
2675
2738
|
} & {
|
|
2676
|
-
'table-op-left'?: (props: typeof
|
|
2739
|
+
'table-op-left'?: (props: typeof __VLS_196) => any;
|
|
2677
2740
|
} & {
|
|
2678
|
-
'table-op-edit-right'?: (props: typeof
|
|
2741
|
+
'table-op-edit-right'?: (props: typeof __VLS_214) => any;
|
|
2679
2742
|
} & {
|
|
2680
|
-
'table-op-right'?: (props: typeof
|
|
2743
|
+
'table-op-right'?: (props: typeof __VLS_248) => any;
|
|
2681
2744
|
} & {
|
|
2682
|
-
'box-right'?: (props: typeof
|
|
2745
|
+
'box-right'?: (props: typeof __VLS_259) => any;
|
|
2683
2746
|
} & {
|
|
2684
|
-
'form-start'?: (props: typeof
|
|
2747
|
+
'form-start'?: (props: typeof __VLS_271) => any;
|
|
2685
2748
|
} & {
|
|
2686
|
-
'form-end'?: (props: typeof
|
|
2749
|
+
'form-end'?: (props: typeof __VLS_280) => any;
|
|
2687
2750
|
}>;
|
|
2688
2751
|
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2689
2752
|
/**
|
|
@@ -2713,6 +2776,8 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2713
2776
|
ElTableColumn: typeof ElTableColumn;
|
|
2714
2777
|
TableColumn: typeof TableColumn;
|
|
2715
2778
|
FormColumn: typeof FormColumn;
|
|
2779
|
+
Collapse: typeof Collapse;
|
|
2780
|
+
Expand: typeof Expand;
|
|
2716
2781
|
EDialog: typeof EDialog;
|
|
2717
2782
|
isFun: typeof isFun;
|
|
2718
2783
|
conf: typeof conf;
|
|
@@ -2823,6 +2888,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2823
2888
|
} | undefined;
|
|
2824
2889
|
input?: {
|
|
2825
2890
|
[x: string]: any;
|
|
2891
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2826
2892
|
on?: any;
|
|
2827
2893
|
} | undefined;
|
|
2828
2894
|
switch?: {
|
|
@@ -2909,6 +2975,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2909
2975
|
} | undefined;
|
|
2910
2976
|
input?: {
|
|
2911
2977
|
[x: string]: any;
|
|
2978
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2912
2979
|
on?: any;
|
|
2913
2980
|
} | undefined;
|
|
2914
2981
|
switch?: {
|
|
@@ -2995,6 +3062,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2995
3062
|
} | undefined;
|
|
2996
3063
|
input?: {
|
|
2997
3064
|
[x: string]: any;
|
|
3065
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
2998
3066
|
on?: any;
|
|
2999
3067
|
} | undefined;
|
|
3000
3068
|
switch?: {
|
|
@@ -3065,6 +3133,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3065
3133
|
} | undefined;
|
|
3066
3134
|
input?: {
|
|
3067
3135
|
[x: string]: any;
|
|
3136
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3068
3137
|
on?: any;
|
|
3069
3138
|
} | undefined;
|
|
3070
3139
|
switch?: {
|
|
@@ -3153,7 +3222,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3153
3222
|
callback?: ((data: any) => void) | undefined;
|
|
3154
3223
|
color?: string | undefined;
|
|
3155
3224
|
} | undefined;
|
|
3156
|
-
|
|
3225
|
+
header?: {
|
|
3226
|
+
tooltip?: string | undefined;
|
|
3227
|
+
group?: boolean | undefined;
|
|
3228
|
+
groupKey?: string | number | symbol | undefined;
|
|
3229
|
+
show?: boolean | undefined;
|
|
3230
|
+
} | undefined;
|
|
3157
3231
|
} | undefined;
|
|
3158
3232
|
rules?: any[] | boolean | undefined;
|
|
3159
3233
|
text?: {
|
|
@@ -3198,6 +3272,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3198
3272
|
refresh?: boolean | undefined;
|
|
3199
3273
|
expand?: boolean | undefined;
|
|
3200
3274
|
search?: boolean | undefined;
|
|
3275
|
+
expandColumn?: boolean | undefined;
|
|
3201
3276
|
reset?: boolean | undefined;
|
|
3202
3277
|
add?: boolean | ((data: any) => boolean) | undefined;
|
|
3203
3278
|
delete?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -3277,6 +3352,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3277
3352
|
} | undefined;
|
|
3278
3353
|
input?: {
|
|
3279
3354
|
[x: string]: any;
|
|
3355
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3280
3356
|
on?: any;
|
|
3281
3357
|
} | undefined;
|
|
3282
3358
|
switch?: {
|
|
@@ -3363,6 +3439,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3363
3439
|
} | undefined;
|
|
3364
3440
|
input?: {
|
|
3365
3441
|
[x: string]: any;
|
|
3442
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3366
3443
|
on?: any;
|
|
3367
3444
|
} | undefined;
|
|
3368
3445
|
switch?: {
|
|
@@ -3449,6 +3526,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3449
3526
|
} | undefined;
|
|
3450
3527
|
input?: {
|
|
3451
3528
|
[x: string]: any;
|
|
3529
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3452
3530
|
on?: any;
|
|
3453
3531
|
} | undefined;
|
|
3454
3532
|
switch?: {
|
|
@@ -3519,6 +3597,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3519
3597
|
} | undefined;
|
|
3520
3598
|
input?: {
|
|
3521
3599
|
[x: string]: any;
|
|
3600
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3522
3601
|
on?: any;
|
|
3523
3602
|
} | undefined;
|
|
3524
3603
|
switch?: {
|
|
@@ -3607,7 +3686,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3607
3686
|
callback?: ((data: any) => void) | undefined;
|
|
3608
3687
|
color?: string | undefined;
|
|
3609
3688
|
} | undefined;
|
|
3610
|
-
|
|
3689
|
+
header?: {
|
|
3690
|
+
tooltip?: string | undefined;
|
|
3691
|
+
group?: boolean | undefined;
|
|
3692
|
+
groupKey?: string | number | symbol | undefined;
|
|
3693
|
+
show?: boolean | undefined;
|
|
3694
|
+
} | undefined;
|
|
3611
3695
|
} | undefined;
|
|
3612
3696
|
rules?: any[] | boolean | undefined;
|
|
3613
3697
|
text?: {
|
|
@@ -3688,6 +3772,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3688
3772
|
} | undefined;
|
|
3689
3773
|
input?: {
|
|
3690
3774
|
[x: string]: any;
|
|
3775
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3691
3776
|
on?: any;
|
|
3692
3777
|
} | undefined;
|
|
3693
3778
|
switch?: {
|
|
@@ -3774,6 +3859,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3774
3859
|
} | undefined;
|
|
3775
3860
|
input?: {
|
|
3776
3861
|
[x: string]: any;
|
|
3862
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3777
3863
|
on?: any;
|
|
3778
3864
|
} | undefined;
|
|
3779
3865
|
switch?: {
|
|
@@ -3860,6 +3946,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3860
3946
|
} | undefined;
|
|
3861
3947
|
input?: {
|
|
3862
3948
|
[x: string]: any;
|
|
3949
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3863
3950
|
on?: any;
|
|
3864
3951
|
} | undefined;
|
|
3865
3952
|
switch?: {
|
|
@@ -3930,6 +4017,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3930
4017
|
} | undefined;
|
|
3931
4018
|
input?: {
|
|
3932
4019
|
[x: string]: any;
|
|
4020
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
3933
4021
|
on?: any;
|
|
3934
4022
|
} | undefined;
|
|
3935
4023
|
switch?: {
|
|
@@ -4018,7 +4106,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4018
4106
|
callback?: ((data: any) => void) | undefined;
|
|
4019
4107
|
color?: string | undefined;
|
|
4020
4108
|
} | undefined;
|
|
4021
|
-
|
|
4109
|
+
header?: {
|
|
4110
|
+
tooltip?: string | undefined;
|
|
4111
|
+
group?: boolean | undefined;
|
|
4112
|
+
groupKey?: string | number | symbol | undefined;
|
|
4113
|
+
show?: boolean | undefined;
|
|
4114
|
+
} | undefined;
|
|
4022
4115
|
} | undefined;
|
|
4023
4116
|
rules?: any[] | boolean | undefined;
|
|
4024
4117
|
text?: {
|
|
@@ -4121,6 +4214,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4121
4214
|
} | undefined;
|
|
4122
4215
|
input?: {
|
|
4123
4216
|
[x: string]: any;
|
|
4217
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4124
4218
|
on?: any;
|
|
4125
4219
|
} | undefined;
|
|
4126
4220
|
switch?: {
|
|
@@ -4207,6 +4301,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4207
4301
|
} | undefined;
|
|
4208
4302
|
input?: {
|
|
4209
4303
|
[x: string]: any;
|
|
4304
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4210
4305
|
on?: any;
|
|
4211
4306
|
} | undefined;
|
|
4212
4307
|
switch?: {
|
|
@@ -4293,6 +4388,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4293
4388
|
} | undefined;
|
|
4294
4389
|
input?: {
|
|
4295
4390
|
[x: string]: any;
|
|
4391
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4296
4392
|
on?: any;
|
|
4297
4393
|
} | undefined;
|
|
4298
4394
|
switch?: {
|
|
@@ -4363,6 +4459,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4363
4459
|
} | undefined;
|
|
4364
4460
|
input?: {
|
|
4365
4461
|
[x: string]: any;
|
|
4462
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4366
4463
|
on?: any;
|
|
4367
4464
|
} | undefined;
|
|
4368
4465
|
switch?: {
|
|
@@ -4451,7 +4548,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4451
4548
|
callback?: ((data: any) => void) | undefined;
|
|
4452
4549
|
color?: string | undefined;
|
|
4453
4550
|
} | undefined;
|
|
4454
|
-
|
|
4551
|
+
header?: {
|
|
4552
|
+
tooltip?: string | undefined;
|
|
4553
|
+
group?: boolean | undefined;
|
|
4554
|
+
groupKey?: string | number | symbol | undefined;
|
|
4555
|
+
show?: boolean | undefined;
|
|
4556
|
+
} | undefined;
|
|
4455
4557
|
} | undefined;
|
|
4456
4558
|
rules?: any[] | boolean | undefined;
|
|
4457
4559
|
text?: {
|
|
@@ -4479,11 +4581,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4479
4581
|
list: any[];
|
|
4480
4582
|
};
|
|
4481
4583
|
};
|
|
4584
|
+
header: {
|
|
4585
|
+
group: {
|
|
4586
|
+
expand: boolean;
|
|
4587
|
+
toggleExpandAll: () => void;
|
|
4588
|
+
};
|
|
4589
|
+
};
|
|
4482
4590
|
getList: () => Promise<void>;
|
|
4483
4591
|
selection: {
|
|
4484
4592
|
list: any[];
|
|
4485
4593
|
change: (selection: any[]) => void;
|
|
4486
|
-
setList: (list: any[]) => void;
|
|
4594
|
+
setList: (list: any[], callback?: (item: any) => any) => void;
|
|
4487
4595
|
};
|
|
4488
4596
|
sort: {
|
|
4489
4597
|
prop: string;
|
|
@@ -4561,6 +4669,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4561
4669
|
} | undefined;
|
|
4562
4670
|
input?: {
|
|
4563
4671
|
[x: string]: any;
|
|
4672
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4564
4673
|
on?: any;
|
|
4565
4674
|
} | undefined;
|
|
4566
4675
|
switch?: {
|
|
@@ -4647,6 +4756,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4647
4756
|
} | undefined;
|
|
4648
4757
|
input?: {
|
|
4649
4758
|
[x: string]: any;
|
|
4759
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4650
4760
|
on?: any;
|
|
4651
4761
|
} | undefined;
|
|
4652
4762
|
switch?: {
|
|
@@ -4733,6 +4843,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4733
4843
|
} | undefined;
|
|
4734
4844
|
input?: {
|
|
4735
4845
|
[x: string]: any;
|
|
4846
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4736
4847
|
on?: any;
|
|
4737
4848
|
} | undefined;
|
|
4738
4849
|
switch?: {
|
|
@@ -4803,6 +4914,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4803
4914
|
} | undefined;
|
|
4804
4915
|
input?: {
|
|
4805
4916
|
[x: string]: any;
|
|
4917
|
+
prepend?: string | ((item: any) => string) | undefined;
|
|
4806
4918
|
on?: any;
|
|
4807
4919
|
} | undefined;
|
|
4808
4920
|
switch?: {
|
|
@@ -4891,7 +5003,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4891
5003
|
callback?: ((data: any) => void) | undefined;
|
|
4892
5004
|
color?: string | undefined;
|
|
4893
5005
|
} | undefined;
|
|
4894
|
-
|
|
5006
|
+
header?: {
|
|
5007
|
+
tooltip?: string | undefined;
|
|
5008
|
+
group?: boolean | undefined;
|
|
5009
|
+
groupKey?: string | number | symbol | undefined;
|
|
5010
|
+
show?: boolean | undefined;
|
|
5011
|
+
} | undefined;
|
|
4895
5012
|
} | undefined;
|
|
4896
5013
|
rules?: any[] | boolean | undefined;
|
|
4897
5014
|
text?: {
|
|
@@ -4919,7 +5036,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4919
5036
|
}[][];
|
|
4920
5037
|
getDisabled: (item: import("./indexType").CurdConfigColumn) => boolean | undefined;
|
|
4921
5038
|
getBind: (item: import("./indexType").CurdConfigColumn) => any;
|
|
4922
|
-
getOn: (item: import("./indexType").CurdConfigColumn) => any
|
|
5039
|
+
getOn: (item: import("./indexType").CurdConfigColumn, row?: any) => Record<string, any>;
|
|
4923
5040
|
getOptions: <T = any>(key: string) => {
|
|
4924
5041
|
options: import("./indexType").CurdConfigColumn<T>["options"];
|
|
4925
5042
|
bind: Omit<import("./indexType").CurdConfigColumn<T>["options"], "formAdd" | "formUpdate">;
|