cc1-form 1.2.2 → 1.2.4
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.js +404 -394
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +56 -0
- package/dist/components/TCurd/formColumn.vue.d.ts +40 -0
- package/dist/components/TCurd/index.d.ts +41 -1
- package/dist/components/TCurd/index.vue.d.ts +90 -2
- package/dist/components/TCurd/indexType.d.ts +6 -2
- package/dist/utils/TFormConfig.d.ts +1 -0
- package/package.json +1 -1
|
@@ -105,8 +105,10 @@ export declare const curdConf: (props: {
|
|
|
105
105
|
inactiveText?: string | undefined;
|
|
106
106
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
107
107
|
tableConfig?: {
|
|
108
|
+
change?: boolean | undefined;
|
|
108
109
|
confirm?: boolean | undefined;
|
|
109
110
|
loadList?: boolean | undefined;
|
|
111
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
110
112
|
} | undefined;
|
|
111
113
|
} | undefined;
|
|
112
114
|
select?: {
|
|
@@ -189,8 +191,10 @@ export declare const curdConf: (props: {
|
|
|
189
191
|
inactiveText?: string | undefined;
|
|
190
192
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
191
193
|
tableConfig?: {
|
|
194
|
+
change?: boolean | undefined;
|
|
192
195
|
confirm?: boolean | undefined;
|
|
193
196
|
loadList?: boolean | undefined;
|
|
197
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
194
198
|
} | undefined;
|
|
195
199
|
} | undefined;
|
|
196
200
|
select?: {
|
|
@@ -273,8 +277,10 @@ export declare const curdConf: (props: {
|
|
|
273
277
|
inactiveText?: string | undefined;
|
|
274
278
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
275
279
|
tableConfig?: {
|
|
280
|
+
change?: boolean | undefined;
|
|
276
281
|
confirm?: boolean | undefined;
|
|
277
282
|
loadList?: boolean | undefined;
|
|
283
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
278
284
|
} | undefined;
|
|
279
285
|
} | undefined;
|
|
280
286
|
select?: {
|
|
@@ -341,8 +347,10 @@ export declare const curdConf: (props: {
|
|
|
341
347
|
inactiveText?: string | undefined;
|
|
342
348
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
343
349
|
tableConfig?: {
|
|
350
|
+
change?: boolean | undefined;
|
|
344
351
|
confirm?: boolean | undefined;
|
|
345
352
|
loadList?: boolean | undefined;
|
|
353
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
346
354
|
} | undefined;
|
|
347
355
|
} | undefined;
|
|
348
356
|
select?: {
|
|
@@ -550,8 +558,10 @@ export declare const curdConf: (props: {
|
|
|
550
558
|
inactiveText?: string | undefined;
|
|
551
559
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
552
560
|
tableConfig?: {
|
|
561
|
+
change?: boolean | undefined;
|
|
553
562
|
confirm?: boolean | undefined;
|
|
554
563
|
loadList?: boolean | undefined;
|
|
564
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
555
565
|
} | undefined;
|
|
556
566
|
} | undefined;
|
|
557
567
|
select?: {
|
|
@@ -634,8 +644,10 @@ export declare const curdConf: (props: {
|
|
|
634
644
|
inactiveText?: string | undefined;
|
|
635
645
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
636
646
|
tableConfig?: {
|
|
647
|
+
change?: boolean | undefined;
|
|
637
648
|
confirm?: boolean | undefined;
|
|
638
649
|
loadList?: boolean | undefined;
|
|
650
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
639
651
|
} | undefined;
|
|
640
652
|
} | undefined;
|
|
641
653
|
select?: {
|
|
@@ -718,8 +730,10 @@ export declare const curdConf: (props: {
|
|
|
718
730
|
inactiveText?: string | undefined;
|
|
719
731
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
720
732
|
tableConfig?: {
|
|
733
|
+
change?: boolean | undefined;
|
|
721
734
|
confirm?: boolean | undefined;
|
|
722
735
|
loadList?: boolean | undefined;
|
|
736
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
723
737
|
} | undefined;
|
|
724
738
|
} | undefined;
|
|
725
739
|
select?: {
|
|
@@ -786,8 +800,10 @@ export declare const curdConf: (props: {
|
|
|
786
800
|
inactiveText?: string | undefined;
|
|
787
801
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
788
802
|
tableConfig?: {
|
|
803
|
+
change?: boolean | undefined;
|
|
789
804
|
confirm?: boolean | undefined;
|
|
790
805
|
loadList?: boolean | undefined;
|
|
806
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
791
807
|
} | undefined;
|
|
792
808
|
} | undefined;
|
|
793
809
|
select?: {
|
|
@@ -887,7 +903,7 @@ export declare const curdConf: (props: {
|
|
|
887
903
|
api: {
|
|
888
904
|
list: (param?: any) => any;
|
|
889
905
|
create?: ((param?: any) => any) | undefined;
|
|
890
|
-
update?: ((param?: any) => any) | undefined;
|
|
906
|
+
update?: ((param?: any, type?: "switch") => any) | undefined;
|
|
891
907
|
delete?: ((param?: ({
|
|
892
908
|
items: any[];
|
|
893
909
|
} & Record<string, any>) | undefined) => any) | undefined;
|
|
@@ -952,8 +968,10 @@ export declare const curdConf: (props: {
|
|
|
952
968
|
inactiveText?: string | undefined;
|
|
953
969
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
954
970
|
tableConfig?: {
|
|
971
|
+
change?: boolean | undefined;
|
|
955
972
|
confirm?: boolean | undefined;
|
|
956
973
|
loadList?: boolean | undefined;
|
|
974
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
957
975
|
} | undefined;
|
|
958
976
|
} | undefined;
|
|
959
977
|
select?: {
|
|
@@ -1036,8 +1054,10 @@ export declare const curdConf: (props: {
|
|
|
1036
1054
|
inactiveText?: string | undefined;
|
|
1037
1055
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1038
1056
|
tableConfig?: {
|
|
1057
|
+
change?: boolean | undefined;
|
|
1039
1058
|
confirm?: boolean | undefined;
|
|
1040
1059
|
loadList?: boolean | undefined;
|
|
1060
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1041
1061
|
} | undefined;
|
|
1042
1062
|
} | undefined;
|
|
1043
1063
|
select?: {
|
|
@@ -1120,8 +1140,10 @@ export declare const curdConf: (props: {
|
|
|
1120
1140
|
inactiveText?: string | undefined;
|
|
1121
1141
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1122
1142
|
tableConfig?: {
|
|
1143
|
+
change?: boolean | undefined;
|
|
1123
1144
|
confirm?: boolean | undefined;
|
|
1124
1145
|
loadList?: boolean | undefined;
|
|
1146
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1125
1147
|
} | undefined;
|
|
1126
1148
|
} | undefined;
|
|
1127
1149
|
select?: {
|
|
@@ -1188,8 +1210,10 @@ export declare const curdConf: (props: {
|
|
|
1188
1210
|
inactiveText?: string | undefined;
|
|
1189
1211
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1190
1212
|
tableConfig?: {
|
|
1213
|
+
change?: boolean | undefined;
|
|
1191
1214
|
confirm?: boolean | undefined;
|
|
1192
1215
|
loadList?: boolean | undefined;
|
|
1216
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1193
1217
|
} | undefined;
|
|
1194
1218
|
} | undefined;
|
|
1195
1219
|
select?: {
|
|
@@ -1376,8 +1400,10 @@ export declare const curdConf: (props: {
|
|
|
1376
1400
|
inactiveText?: string | undefined;
|
|
1377
1401
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1378
1402
|
tableConfig?: {
|
|
1403
|
+
change?: boolean | undefined;
|
|
1379
1404
|
confirm?: boolean | undefined;
|
|
1380
1405
|
loadList?: boolean | undefined;
|
|
1406
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1381
1407
|
} | undefined;
|
|
1382
1408
|
} | undefined;
|
|
1383
1409
|
select?: {
|
|
@@ -1460,8 +1486,10 @@ export declare const curdConf: (props: {
|
|
|
1460
1486
|
inactiveText?: string | undefined;
|
|
1461
1487
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1462
1488
|
tableConfig?: {
|
|
1489
|
+
change?: boolean | undefined;
|
|
1463
1490
|
confirm?: boolean | undefined;
|
|
1464
1491
|
loadList?: boolean | undefined;
|
|
1492
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1465
1493
|
} | undefined;
|
|
1466
1494
|
} | undefined;
|
|
1467
1495
|
select?: {
|
|
@@ -1544,8 +1572,10 @@ export declare const curdConf: (props: {
|
|
|
1544
1572
|
inactiveText?: string | undefined;
|
|
1545
1573
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1546
1574
|
tableConfig?: {
|
|
1575
|
+
change?: boolean | undefined;
|
|
1547
1576
|
confirm?: boolean | undefined;
|
|
1548
1577
|
loadList?: boolean | undefined;
|
|
1578
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1549
1579
|
} | undefined;
|
|
1550
1580
|
} | undefined;
|
|
1551
1581
|
select?: {
|
|
@@ -1612,8 +1642,10 @@ export declare const curdConf: (props: {
|
|
|
1612
1642
|
inactiveText?: string | undefined;
|
|
1613
1643
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1614
1644
|
tableConfig?: {
|
|
1645
|
+
change?: boolean | undefined;
|
|
1615
1646
|
confirm?: boolean | undefined;
|
|
1616
1647
|
loadList?: boolean | undefined;
|
|
1648
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1617
1649
|
} | undefined;
|
|
1618
1650
|
} | undefined;
|
|
1619
1651
|
select?: {
|
|
@@ -1806,8 +1838,10 @@ export declare const curdConf: (props: {
|
|
|
1806
1838
|
inactiveText?: string | undefined;
|
|
1807
1839
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1808
1840
|
tableConfig?: {
|
|
1841
|
+
change?: boolean | undefined;
|
|
1809
1842
|
confirm?: boolean | undefined;
|
|
1810
1843
|
loadList?: boolean | undefined;
|
|
1844
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1811
1845
|
} | undefined;
|
|
1812
1846
|
} | undefined;
|
|
1813
1847
|
select?: {
|
|
@@ -1890,8 +1924,10 @@ export declare const curdConf: (props: {
|
|
|
1890
1924
|
inactiveText?: string | undefined;
|
|
1891
1925
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1892
1926
|
tableConfig?: {
|
|
1927
|
+
change?: boolean | undefined;
|
|
1893
1928
|
confirm?: boolean | undefined;
|
|
1894
1929
|
loadList?: boolean | undefined;
|
|
1930
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1895
1931
|
} | undefined;
|
|
1896
1932
|
} | undefined;
|
|
1897
1933
|
select?: {
|
|
@@ -1974,8 +2010,10 @@ export declare const curdConf: (props: {
|
|
|
1974
2010
|
inactiveText?: string | undefined;
|
|
1975
2011
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
1976
2012
|
tableConfig?: {
|
|
2013
|
+
change?: boolean | undefined;
|
|
1977
2014
|
confirm?: boolean | undefined;
|
|
1978
2015
|
loadList?: boolean | undefined;
|
|
2016
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1979
2017
|
} | undefined;
|
|
1980
2018
|
} | undefined;
|
|
1981
2019
|
select?: {
|
|
@@ -2042,8 +2080,10 @@ export declare const curdConf: (props: {
|
|
|
2042
2080
|
inactiveText?: string | undefined;
|
|
2043
2081
|
tableBeforeChange?: ((key: string, data: any) => any) | undefined;
|
|
2044
2082
|
tableConfig?: {
|
|
2083
|
+
change?: boolean | undefined;
|
|
2045
2084
|
confirm?: boolean | undefined;
|
|
2046
2085
|
loadList?: boolean | undefined;
|
|
2086
|
+
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2047
2087
|
} | undefined;
|
|
2048
2088
|
} | undefined;
|
|
2049
2089
|
select?: {
|