cc1-form 1.2.3 → 1.2.5
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 +992 -1016
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +28 -28
- package/dist/components/TCurd/formColumn.vue.d.ts +20 -20
- package/dist/components/TCurd/index.d.ts +21 -21
- package/dist/components/TCurd/index.vue.d.ts +46 -46
- package/dist/components/TCurd/indexType.d.ts +3 -3
- package/package.json +1 -1
|
@@ -112,7 +112,7 @@ declare const conf: {
|
|
|
112
112
|
change?: boolean | undefined;
|
|
113
113
|
confirm?: boolean | undefined;
|
|
114
114
|
loadList?: boolean | undefined;
|
|
115
|
-
api?: ((data: any) => any) | undefined;
|
|
115
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
116
116
|
} | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
select?: {
|
|
@@ -198,7 +198,7 @@ declare const conf: {
|
|
|
198
198
|
change?: boolean | undefined;
|
|
199
199
|
confirm?: boolean | undefined;
|
|
200
200
|
loadList?: boolean | undefined;
|
|
201
|
-
api?: ((data: any) => any) | undefined;
|
|
201
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
202
202
|
} | undefined;
|
|
203
203
|
} | undefined;
|
|
204
204
|
select?: {
|
|
@@ -284,7 +284,7 @@ declare const conf: {
|
|
|
284
284
|
change?: boolean | undefined;
|
|
285
285
|
confirm?: boolean | undefined;
|
|
286
286
|
loadList?: boolean | undefined;
|
|
287
|
-
api?: ((data: any) => any) | undefined;
|
|
287
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
288
288
|
} | undefined;
|
|
289
289
|
} | undefined;
|
|
290
290
|
select?: {
|
|
@@ -354,7 +354,7 @@ declare const conf: {
|
|
|
354
354
|
change?: boolean | undefined;
|
|
355
355
|
confirm?: boolean | undefined;
|
|
356
356
|
loadList?: boolean | undefined;
|
|
357
|
-
api?: ((data: any) => any) | undefined;
|
|
357
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
358
358
|
} | undefined;
|
|
359
359
|
} | undefined;
|
|
360
360
|
select?: {
|
|
@@ -565,7 +565,7 @@ declare const conf: {
|
|
|
565
565
|
change?: boolean | undefined;
|
|
566
566
|
confirm?: boolean | undefined;
|
|
567
567
|
loadList?: boolean | undefined;
|
|
568
|
-
api?: ((data: any) => any) | undefined;
|
|
568
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
569
569
|
} | undefined;
|
|
570
570
|
} | undefined;
|
|
571
571
|
select?: {
|
|
@@ -651,7 +651,7 @@ declare const conf: {
|
|
|
651
651
|
change?: boolean | undefined;
|
|
652
652
|
confirm?: boolean | undefined;
|
|
653
653
|
loadList?: boolean | undefined;
|
|
654
|
-
api?: ((data: any) => any) | undefined;
|
|
654
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
655
655
|
} | undefined;
|
|
656
656
|
} | undefined;
|
|
657
657
|
select?: {
|
|
@@ -737,7 +737,7 @@ declare const conf: {
|
|
|
737
737
|
change?: boolean | undefined;
|
|
738
738
|
confirm?: boolean | undefined;
|
|
739
739
|
loadList?: boolean | undefined;
|
|
740
|
-
api?: ((data: any) => any) | undefined;
|
|
740
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
741
741
|
} | undefined;
|
|
742
742
|
} | undefined;
|
|
743
743
|
select?: {
|
|
@@ -807,7 +807,7 @@ declare const conf: {
|
|
|
807
807
|
change?: boolean | undefined;
|
|
808
808
|
confirm?: boolean | undefined;
|
|
809
809
|
loadList?: boolean | undefined;
|
|
810
|
-
api?: ((data: any) => any) | undefined;
|
|
810
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
811
811
|
} | undefined;
|
|
812
812
|
} | undefined;
|
|
813
813
|
select?: {
|
|
@@ -907,7 +907,7 @@ declare const conf: {
|
|
|
907
907
|
api: {
|
|
908
908
|
list: (param?: any) => any;
|
|
909
909
|
create?: ((param?: any) => any) | undefined;
|
|
910
|
-
update?: ((param?: any) => any) | undefined;
|
|
910
|
+
update?: ((param?: any, type?: "switch") => any) | undefined;
|
|
911
911
|
delete?: ((param?: ({
|
|
912
912
|
items: any[];
|
|
913
913
|
} & Record<string, any>) | undefined) => any) | undefined;
|
|
@@ -975,7 +975,7 @@ declare const conf: {
|
|
|
975
975
|
change?: boolean | undefined;
|
|
976
976
|
confirm?: boolean | undefined;
|
|
977
977
|
loadList?: boolean | undefined;
|
|
978
|
-
api?: ((data: any) => any) | undefined;
|
|
978
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
979
979
|
} | undefined;
|
|
980
980
|
} | undefined;
|
|
981
981
|
select?: {
|
|
@@ -1061,7 +1061,7 @@ declare const conf: {
|
|
|
1061
1061
|
change?: boolean | undefined;
|
|
1062
1062
|
confirm?: boolean | undefined;
|
|
1063
1063
|
loadList?: boolean | undefined;
|
|
1064
|
-
api?: ((data: any) => any) | undefined;
|
|
1064
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1065
1065
|
} | undefined;
|
|
1066
1066
|
} | undefined;
|
|
1067
1067
|
select?: {
|
|
@@ -1147,7 +1147,7 @@ declare const conf: {
|
|
|
1147
1147
|
change?: boolean | undefined;
|
|
1148
1148
|
confirm?: boolean | undefined;
|
|
1149
1149
|
loadList?: boolean | undefined;
|
|
1150
|
-
api?: ((data: any) => any) | undefined;
|
|
1150
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1151
1151
|
} | undefined;
|
|
1152
1152
|
} | undefined;
|
|
1153
1153
|
select?: {
|
|
@@ -1217,7 +1217,7 @@ declare const conf: {
|
|
|
1217
1217
|
change?: boolean | undefined;
|
|
1218
1218
|
confirm?: boolean | undefined;
|
|
1219
1219
|
loadList?: boolean | undefined;
|
|
1220
|
-
api?: ((data: any) => any) | undefined;
|
|
1220
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1221
1221
|
} | undefined;
|
|
1222
1222
|
} | undefined;
|
|
1223
1223
|
select?: {
|
|
@@ -1407,7 +1407,7 @@ declare const conf: {
|
|
|
1407
1407
|
change?: boolean | undefined;
|
|
1408
1408
|
confirm?: boolean | undefined;
|
|
1409
1409
|
loadList?: boolean | undefined;
|
|
1410
|
-
api?: ((data: any) => any) | undefined;
|
|
1410
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1411
1411
|
} | undefined;
|
|
1412
1412
|
} | undefined;
|
|
1413
1413
|
select?: {
|
|
@@ -1493,7 +1493,7 @@ declare const conf: {
|
|
|
1493
1493
|
change?: boolean | undefined;
|
|
1494
1494
|
confirm?: boolean | undefined;
|
|
1495
1495
|
loadList?: boolean | undefined;
|
|
1496
|
-
api?: ((data: any) => any) | undefined;
|
|
1496
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1497
1497
|
} | undefined;
|
|
1498
1498
|
} | undefined;
|
|
1499
1499
|
select?: {
|
|
@@ -1579,7 +1579,7 @@ declare const conf: {
|
|
|
1579
1579
|
change?: boolean | undefined;
|
|
1580
1580
|
confirm?: boolean | undefined;
|
|
1581
1581
|
loadList?: boolean | undefined;
|
|
1582
|
-
api?: ((data: any) => any) | undefined;
|
|
1582
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1583
1583
|
} | undefined;
|
|
1584
1584
|
} | undefined;
|
|
1585
1585
|
select?: {
|
|
@@ -1649,7 +1649,7 @@ declare const conf: {
|
|
|
1649
1649
|
change?: boolean | undefined;
|
|
1650
1650
|
confirm?: boolean | undefined;
|
|
1651
1651
|
loadList?: boolean | undefined;
|
|
1652
|
-
api?: ((data: any) => any) | undefined;
|
|
1652
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1653
1653
|
} | undefined;
|
|
1654
1654
|
} | undefined;
|
|
1655
1655
|
select?: {
|
|
@@ -1845,7 +1845,7 @@ declare const conf: {
|
|
|
1845
1845
|
change?: boolean | undefined;
|
|
1846
1846
|
confirm?: boolean | undefined;
|
|
1847
1847
|
loadList?: boolean | undefined;
|
|
1848
|
-
api?: ((data: any) => any) | undefined;
|
|
1848
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1849
1849
|
} | undefined;
|
|
1850
1850
|
} | undefined;
|
|
1851
1851
|
select?: {
|
|
@@ -1931,7 +1931,7 @@ declare const conf: {
|
|
|
1931
1931
|
change?: boolean | undefined;
|
|
1932
1932
|
confirm?: boolean | undefined;
|
|
1933
1933
|
loadList?: boolean | undefined;
|
|
1934
|
-
api?: ((data: any) => any) | undefined;
|
|
1934
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1935
1935
|
} | undefined;
|
|
1936
1936
|
} | undefined;
|
|
1937
1937
|
select?: {
|
|
@@ -2017,7 +2017,7 @@ declare const conf: {
|
|
|
2017
2017
|
change?: boolean | undefined;
|
|
2018
2018
|
confirm?: boolean | undefined;
|
|
2019
2019
|
loadList?: boolean | undefined;
|
|
2020
|
-
api?: ((data: any) => any) | undefined;
|
|
2020
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2021
2021
|
} | undefined;
|
|
2022
2022
|
} | undefined;
|
|
2023
2023
|
select?: {
|
|
@@ -2087,7 +2087,7 @@ declare const conf: {
|
|
|
2087
2087
|
change?: boolean | undefined;
|
|
2088
2088
|
confirm?: boolean | undefined;
|
|
2089
2089
|
loadList?: boolean | undefined;
|
|
2090
|
-
api?: ((data: any) => any) | undefined;
|
|
2090
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2091
2091
|
} | undefined;
|
|
2092
2092
|
} | undefined;
|
|
2093
2093
|
select?: {
|
|
@@ -2300,7 +2300,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2300
2300
|
change?: boolean | undefined;
|
|
2301
2301
|
confirm?: boolean | undefined;
|
|
2302
2302
|
loadList?: boolean | undefined;
|
|
2303
|
-
api?: ((data: any) => any) | undefined;
|
|
2303
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2304
2304
|
} | undefined;
|
|
2305
2305
|
} | undefined;
|
|
2306
2306
|
select?: {
|
|
@@ -2386,7 +2386,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2386
2386
|
change?: boolean | undefined;
|
|
2387
2387
|
confirm?: boolean | undefined;
|
|
2388
2388
|
loadList?: boolean | undefined;
|
|
2389
|
-
api?: ((data: any) => any) | undefined;
|
|
2389
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2390
2390
|
} | undefined;
|
|
2391
2391
|
} | undefined;
|
|
2392
2392
|
select?: {
|
|
@@ -2472,7 +2472,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2472
2472
|
change?: boolean | undefined;
|
|
2473
2473
|
confirm?: boolean | undefined;
|
|
2474
2474
|
loadList?: boolean | undefined;
|
|
2475
|
-
api?: ((data: any) => any) | undefined;
|
|
2475
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2476
2476
|
} | undefined;
|
|
2477
2477
|
} | undefined;
|
|
2478
2478
|
select?: {
|
|
@@ -2542,7 +2542,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
2542
2542
|
change?: boolean | undefined;
|
|
2543
2543
|
confirm?: boolean | undefined;
|
|
2544
2544
|
loadList?: boolean | undefined;
|
|
2545
|
-
api?: ((data: any) => any) | undefined;
|
|
2545
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2546
2546
|
} | undefined;
|
|
2547
2547
|
} | undefined;
|
|
2548
2548
|
select?: {
|
|
@@ -2826,7 +2826,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2826
2826
|
change?: boolean | undefined;
|
|
2827
2827
|
confirm?: boolean | undefined;
|
|
2828
2828
|
loadList?: boolean | undefined;
|
|
2829
|
-
api?: ((data: any) => any) | undefined;
|
|
2829
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2830
2830
|
} | undefined;
|
|
2831
2831
|
} | undefined;
|
|
2832
2832
|
select?: {
|
|
@@ -2912,7 +2912,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2912
2912
|
change?: boolean | undefined;
|
|
2913
2913
|
confirm?: boolean | undefined;
|
|
2914
2914
|
loadList?: boolean | undefined;
|
|
2915
|
-
api?: ((data: any) => any) | undefined;
|
|
2915
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2916
2916
|
} | undefined;
|
|
2917
2917
|
} | undefined;
|
|
2918
2918
|
select?: {
|
|
@@ -2998,7 +2998,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
2998
2998
|
change?: boolean | undefined;
|
|
2999
2999
|
confirm?: boolean | undefined;
|
|
3000
3000
|
loadList?: boolean | undefined;
|
|
3001
|
-
api?: ((data: any) => any) | undefined;
|
|
3001
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3002
3002
|
} | undefined;
|
|
3003
3003
|
} | undefined;
|
|
3004
3004
|
select?: {
|
|
@@ -3068,7 +3068,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3068
3068
|
change?: boolean | undefined;
|
|
3069
3069
|
confirm?: boolean | undefined;
|
|
3070
3070
|
loadList?: boolean | undefined;
|
|
3071
|
-
api?: ((data: any) => any) | undefined;
|
|
3071
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3072
3072
|
} | undefined;
|
|
3073
3073
|
} | undefined;
|
|
3074
3074
|
select?: {
|
|
@@ -3279,7 +3279,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3279
3279
|
change?: boolean | undefined;
|
|
3280
3280
|
confirm?: boolean | undefined;
|
|
3281
3281
|
loadList?: boolean | undefined;
|
|
3282
|
-
api?: ((data: any) => any) | undefined;
|
|
3282
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3283
3283
|
} | undefined;
|
|
3284
3284
|
} | undefined;
|
|
3285
3285
|
select?: {
|
|
@@ -3365,7 +3365,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3365
3365
|
change?: boolean | undefined;
|
|
3366
3366
|
confirm?: boolean | undefined;
|
|
3367
3367
|
loadList?: boolean | undefined;
|
|
3368
|
-
api?: ((data: any) => any) | undefined;
|
|
3368
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3369
3369
|
} | undefined;
|
|
3370
3370
|
} | undefined;
|
|
3371
3371
|
select?: {
|
|
@@ -3451,7 +3451,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3451
3451
|
change?: boolean | undefined;
|
|
3452
3452
|
confirm?: boolean | undefined;
|
|
3453
3453
|
loadList?: boolean | undefined;
|
|
3454
|
-
api?: ((data: any) => any) | undefined;
|
|
3454
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3455
3455
|
} | undefined;
|
|
3456
3456
|
} | undefined;
|
|
3457
3457
|
select?: {
|
|
@@ -3521,7 +3521,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3521
3521
|
change?: boolean | undefined;
|
|
3522
3522
|
confirm?: boolean | undefined;
|
|
3523
3523
|
loadList?: boolean | undefined;
|
|
3524
|
-
api?: ((data: any) => any) | undefined;
|
|
3524
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3525
3525
|
} | undefined;
|
|
3526
3526
|
} | undefined;
|
|
3527
3527
|
select?: {
|
|
@@ -3621,7 +3621,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3621
3621
|
api: {
|
|
3622
3622
|
list: (param?: any) => any;
|
|
3623
3623
|
create?: ((param?: any) => any) | undefined;
|
|
3624
|
-
update?: ((param?: any) => any) | undefined;
|
|
3624
|
+
update?: ((param?: any, type?: "switch") => any) | undefined;
|
|
3625
3625
|
delete?: ((param?: ({
|
|
3626
3626
|
items: any[];
|
|
3627
3627
|
} & Record<string, any>) | undefined) => any) | undefined;
|
|
@@ -3689,7 +3689,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3689
3689
|
change?: boolean | undefined;
|
|
3690
3690
|
confirm?: boolean | undefined;
|
|
3691
3691
|
loadList?: boolean | undefined;
|
|
3692
|
-
api?: ((data: any) => any) | undefined;
|
|
3692
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3693
3693
|
} | undefined;
|
|
3694
3694
|
} | undefined;
|
|
3695
3695
|
select?: {
|
|
@@ -3775,7 +3775,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3775
3775
|
change?: boolean | undefined;
|
|
3776
3776
|
confirm?: boolean | undefined;
|
|
3777
3777
|
loadList?: boolean | undefined;
|
|
3778
|
-
api?: ((data: any) => any) | undefined;
|
|
3778
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3779
3779
|
} | undefined;
|
|
3780
3780
|
} | undefined;
|
|
3781
3781
|
select?: {
|
|
@@ -3861,7 +3861,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3861
3861
|
change?: boolean | undefined;
|
|
3862
3862
|
confirm?: boolean | undefined;
|
|
3863
3863
|
loadList?: boolean | undefined;
|
|
3864
|
-
api?: ((data: any) => any) | undefined;
|
|
3864
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3865
3865
|
} | undefined;
|
|
3866
3866
|
} | undefined;
|
|
3867
3867
|
select?: {
|
|
@@ -3931,7 +3931,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
3931
3931
|
change?: boolean | undefined;
|
|
3932
3932
|
confirm?: boolean | undefined;
|
|
3933
3933
|
loadList?: boolean | undefined;
|
|
3934
|
-
api?: ((data: any) => any) | undefined;
|
|
3934
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
3935
3935
|
} | undefined;
|
|
3936
3936
|
} | undefined;
|
|
3937
3937
|
select?: {
|
|
@@ -4121,7 +4121,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4121
4121
|
change?: boolean | undefined;
|
|
4122
4122
|
confirm?: boolean | undefined;
|
|
4123
4123
|
loadList?: boolean | undefined;
|
|
4124
|
-
api?: ((data: any) => any) | undefined;
|
|
4124
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4125
4125
|
} | undefined;
|
|
4126
4126
|
} | undefined;
|
|
4127
4127
|
select?: {
|
|
@@ -4207,7 +4207,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4207
4207
|
change?: boolean | undefined;
|
|
4208
4208
|
confirm?: boolean | undefined;
|
|
4209
4209
|
loadList?: boolean | undefined;
|
|
4210
|
-
api?: ((data: any) => any) | undefined;
|
|
4210
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4211
4211
|
} | undefined;
|
|
4212
4212
|
} | undefined;
|
|
4213
4213
|
select?: {
|
|
@@ -4293,7 +4293,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4293
4293
|
change?: boolean | undefined;
|
|
4294
4294
|
confirm?: boolean | undefined;
|
|
4295
4295
|
loadList?: boolean | undefined;
|
|
4296
|
-
api?: ((data: any) => any) | undefined;
|
|
4296
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4297
4297
|
} | undefined;
|
|
4298
4298
|
} | undefined;
|
|
4299
4299
|
select?: {
|
|
@@ -4363,7 +4363,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4363
4363
|
change?: boolean | undefined;
|
|
4364
4364
|
confirm?: boolean | undefined;
|
|
4365
4365
|
loadList?: boolean | undefined;
|
|
4366
|
-
api?: ((data: any) => any) | undefined;
|
|
4366
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4367
4367
|
} | undefined;
|
|
4368
4368
|
} | undefined;
|
|
4369
4369
|
select?: {
|
|
@@ -4559,7 +4559,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4559
4559
|
change?: boolean | undefined;
|
|
4560
4560
|
confirm?: boolean | undefined;
|
|
4561
4561
|
loadList?: boolean | undefined;
|
|
4562
|
-
api?: ((data: any) => any) | undefined;
|
|
4562
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4563
4563
|
} | undefined;
|
|
4564
4564
|
} | undefined;
|
|
4565
4565
|
select?: {
|
|
@@ -4645,7 +4645,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4645
4645
|
change?: boolean | undefined;
|
|
4646
4646
|
confirm?: boolean | undefined;
|
|
4647
4647
|
loadList?: boolean | undefined;
|
|
4648
|
-
api?: ((data: any) => any) | undefined;
|
|
4648
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4649
4649
|
} | undefined;
|
|
4650
4650
|
} | undefined;
|
|
4651
4651
|
select?: {
|
|
@@ -4731,7 +4731,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4731
4731
|
change?: boolean | undefined;
|
|
4732
4732
|
confirm?: boolean | undefined;
|
|
4733
4733
|
loadList?: boolean | undefined;
|
|
4734
|
-
api?: ((data: any) => any) | undefined;
|
|
4734
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4735
4735
|
} | undefined;
|
|
4736
4736
|
} | undefined;
|
|
4737
4737
|
select?: {
|
|
@@ -4801,7 +4801,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
4801
4801
|
change?: boolean | undefined;
|
|
4802
4802
|
confirm?: boolean | undefined;
|
|
4803
4803
|
loadList?: boolean | undefined;
|
|
4804
|
-
api?: ((data: any) => any) | undefined;
|
|
4804
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
4805
4805
|
} | undefined;
|
|
4806
4806
|
} | undefined;
|
|
4807
4807
|
select?: {
|
|
@@ -346,9 +346,9 @@ export interface CurdConfig<T = any> {
|
|
|
346
346
|
*/
|
|
347
347
|
create?: (param?: T) => any;
|
|
348
348
|
/**
|
|
349
|
-
* 编辑
|
|
349
|
+
* 编辑 - 如果有switch类型可以在table中直接修改并没有传入api接口,默认调用更新接口,会传入第二个参数type: 'switch'
|
|
350
350
|
*/
|
|
351
|
-
update?: (param?: T) => any;
|
|
351
|
+
update?: (param?: T, type?: 'switch') => any;
|
|
352
352
|
/**
|
|
353
353
|
* 删除
|
|
354
354
|
*/
|
|
@@ -687,7 +687,7 @@ export type CurdOptions<T = any> = {
|
|
|
687
687
|
/** 表格直接操作切换后是否重新加载列表 默认需要重新加载列表 */
|
|
688
688
|
loadList: boolean;
|
|
689
689
|
/** 切换绑定api,用于切换后执行处理 */
|
|
690
|
-
api: (data: T) => any;
|
|
690
|
+
api: (data: T, type: 'switch') => any;
|
|
691
691
|
}>;
|
|
692
692
|
}>;
|
|
693
693
|
/**
|