cc1-form 1.2.1 → 1.2.2

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.
@@ -97,12 +97,17 @@ export declare const curdConf: (props: {
97
97
  on?: any;
98
98
  } | undefined;
99
99
  switch?: {
100
+ [x: string]: any;
100
101
  on?: Record<string, any> | undefined;
101
102
  activeValue?: any;
102
- activeLabel?: string | undefined;
103
+ activeText?: string | undefined;
103
104
  inactiveValue?: any;
104
- inactiveLabel?: string | undefined;
105
+ inactiveText?: string | undefined;
105
106
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
107
+ tableConfig?: {
108
+ confirm?: boolean | undefined;
109
+ loadList?: boolean | undefined;
110
+ } | undefined;
106
111
  } | undefined;
107
112
  select?: {
108
113
  [x: string]: any;
@@ -176,12 +181,17 @@ export declare const curdConf: (props: {
176
181
  on?: any;
177
182
  } | undefined;
178
183
  switch?: {
184
+ [x: string]: any;
179
185
  on?: Record<string, any> | undefined;
180
186
  activeValue?: any;
181
- activeLabel?: string | undefined;
187
+ activeText?: string | undefined;
182
188
  inactiveValue?: any;
183
- inactiveLabel?: string | undefined;
189
+ inactiveText?: string | undefined;
184
190
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
191
+ tableConfig?: {
192
+ confirm?: boolean | undefined;
193
+ loadList?: boolean | undefined;
194
+ } | undefined;
185
195
  } | undefined;
186
196
  select?: {
187
197
  [x: string]: any;
@@ -255,12 +265,17 @@ export declare const curdConf: (props: {
255
265
  on?: any;
256
266
  } | undefined;
257
267
  switch?: {
268
+ [x: string]: any;
258
269
  on?: Record<string, any> | undefined;
259
270
  activeValue?: any;
260
- activeLabel?: string | undefined;
271
+ activeText?: string | undefined;
261
272
  inactiveValue?: any;
262
- inactiveLabel?: string | undefined;
273
+ inactiveText?: string | undefined;
263
274
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
275
+ tableConfig?: {
276
+ confirm?: boolean | undefined;
277
+ loadList?: boolean | undefined;
278
+ } | undefined;
264
279
  } | undefined;
265
280
  select?: {
266
281
  [x: string]: any;
@@ -318,12 +333,17 @@ export declare const curdConf: (props: {
318
333
  on?: any;
319
334
  } | undefined;
320
335
  switch?: {
336
+ [x: string]: any;
321
337
  on?: Record<string, any> | undefined;
322
338
  activeValue?: any;
323
- activeLabel?: string | undefined;
339
+ activeText?: string | undefined;
324
340
  inactiveValue?: any;
325
- inactiveLabel?: string | undefined;
341
+ inactiveText?: string | undefined;
326
342
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
343
+ tableConfig?: {
344
+ confirm?: boolean | undefined;
345
+ loadList?: boolean | undefined;
346
+ } | undefined;
327
347
  } | undefined;
328
348
  select?: {
329
349
  [x: string]: any;
@@ -522,12 +542,17 @@ export declare const curdConf: (props: {
522
542
  on?: any;
523
543
  } | undefined;
524
544
  switch?: {
545
+ [x: string]: any;
525
546
  on?: Record<string, any> | undefined;
526
547
  activeValue?: any;
527
- activeLabel?: string | undefined;
548
+ activeText?: string | undefined;
528
549
  inactiveValue?: any;
529
- inactiveLabel?: string | undefined;
550
+ inactiveText?: string | undefined;
530
551
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
552
+ tableConfig?: {
553
+ confirm?: boolean | undefined;
554
+ loadList?: boolean | undefined;
555
+ } | undefined;
531
556
  } | undefined;
532
557
  select?: {
533
558
  [x: string]: any;
@@ -601,12 +626,17 @@ export declare const curdConf: (props: {
601
626
  on?: any;
602
627
  } | undefined;
603
628
  switch?: {
629
+ [x: string]: any;
604
630
  on?: Record<string, any> | undefined;
605
631
  activeValue?: any;
606
- activeLabel?: string | undefined;
632
+ activeText?: string | undefined;
607
633
  inactiveValue?: any;
608
- inactiveLabel?: string | undefined;
634
+ inactiveText?: string | undefined;
609
635
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
636
+ tableConfig?: {
637
+ confirm?: boolean | undefined;
638
+ loadList?: boolean | undefined;
639
+ } | undefined;
610
640
  } | undefined;
611
641
  select?: {
612
642
  [x: string]: any;
@@ -680,12 +710,17 @@ export declare const curdConf: (props: {
680
710
  on?: any;
681
711
  } | undefined;
682
712
  switch?: {
713
+ [x: string]: any;
683
714
  on?: Record<string, any> | undefined;
684
715
  activeValue?: any;
685
- activeLabel?: string | undefined;
716
+ activeText?: string | undefined;
686
717
  inactiveValue?: any;
687
- inactiveLabel?: string | undefined;
718
+ inactiveText?: string | undefined;
688
719
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
720
+ tableConfig?: {
721
+ confirm?: boolean | undefined;
722
+ loadList?: boolean | undefined;
723
+ } | undefined;
689
724
  } | undefined;
690
725
  select?: {
691
726
  [x: string]: any;
@@ -743,12 +778,17 @@ export declare const curdConf: (props: {
743
778
  on?: any;
744
779
  } | undefined;
745
780
  switch?: {
781
+ [x: string]: any;
746
782
  on?: Record<string, any> | undefined;
747
783
  activeValue?: any;
748
- activeLabel?: string | undefined;
784
+ activeText?: string | undefined;
749
785
  inactiveValue?: any;
750
- inactiveLabel?: string | undefined;
786
+ inactiveText?: string | undefined;
751
787
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
788
+ tableConfig?: {
789
+ confirm?: boolean | undefined;
790
+ loadList?: boolean | undefined;
791
+ } | undefined;
752
792
  } | undefined;
753
793
  select?: {
754
794
  [x: string]: any;
@@ -904,12 +944,17 @@ export declare const curdConf: (props: {
904
944
  on?: any;
905
945
  } | undefined;
906
946
  switch?: {
947
+ [x: string]: any;
907
948
  on?: Record<string, any> | undefined;
908
949
  activeValue?: any;
909
- activeLabel?: string | undefined;
950
+ activeText?: string | undefined;
910
951
  inactiveValue?: any;
911
- inactiveLabel?: string | undefined;
952
+ inactiveText?: string | undefined;
912
953
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
954
+ tableConfig?: {
955
+ confirm?: boolean | undefined;
956
+ loadList?: boolean | undefined;
957
+ } | undefined;
913
958
  } | undefined;
914
959
  select?: {
915
960
  [x: string]: any;
@@ -983,12 +1028,17 @@ export declare const curdConf: (props: {
983
1028
  on?: any;
984
1029
  } | undefined;
985
1030
  switch?: {
1031
+ [x: string]: any;
986
1032
  on?: Record<string, any> | undefined;
987
1033
  activeValue?: any;
988
- activeLabel?: string | undefined;
1034
+ activeText?: string | undefined;
989
1035
  inactiveValue?: any;
990
- inactiveLabel?: string | undefined;
1036
+ inactiveText?: string | undefined;
991
1037
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1038
+ tableConfig?: {
1039
+ confirm?: boolean | undefined;
1040
+ loadList?: boolean | undefined;
1041
+ } | undefined;
992
1042
  } | undefined;
993
1043
  select?: {
994
1044
  [x: string]: any;
@@ -1062,12 +1112,17 @@ export declare const curdConf: (props: {
1062
1112
  on?: any;
1063
1113
  } | undefined;
1064
1114
  switch?: {
1115
+ [x: string]: any;
1065
1116
  on?: Record<string, any> | undefined;
1066
1117
  activeValue?: any;
1067
- activeLabel?: string | undefined;
1118
+ activeText?: string | undefined;
1068
1119
  inactiveValue?: any;
1069
- inactiveLabel?: string | undefined;
1120
+ inactiveText?: string | undefined;
1070
1121
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1122
+ tableConfig?: {
1123
+ confirm?: boolean | undefined;
1124
+ loadList?: boolean | undefined;
1125
+ } | undefined;
1071
1126
  } | undefined;
1072
1127
  select?: {
1073
1128
  [x: string]: any;
@@ -1125,12 +1180,17 @@ export declare const curdConf: (props: {
1125
1180
  on?: any;
1126
1181
  } | undefined;
1127
1182
  switch?: {
1183
+ [x: string]: any;
1128
1184
  on?: Record<string, any> | undefined;
1129
1185
  activeValue?: any;
1130
- activeLabel?: string | undefined;
1186
+ activeText?: string | undefined;
1131
1187
  inactiveValue?: any;
1132
- inactiveLabel?: string | undefined;
1188
+ inactiveText?: string | undefined;
1133
1189
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1190
+ tableConfig?: {
1191
+ confirm?: boolean | undefined;
1192
+ loadList?: boolean | undefined;
1193
+ } | undefined;
1134
1194
  } | undefined;
1135
1195
  select?: {
1136
1196
  [x: string]: any;
@@ -1308,12 +1368,17 @@ export declare const curdConf: (props: {
1308
1368
  on?: any;
1309
1369
  } | undefined;
1310
1370
  switch?: {
1371
+ [x: string]: any;
1311
1372
  on?: Record<string, any> | undefined;
1312
1373
  activeValue?: any;
1313
- activeLabel?: string | undefined;
1374
+ activeText?: string | undefined;
1314
1375
  inactiveValue?: any;
1315
- inactiveLabel?: string | undefined;
1376
+ inactiveText?: string | undefined;
1316
1377
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1378
+ tableConfig?: {
1379
+ confirm?: boolean | undefined;
1380
+ loadList?: boolean | undefined;
1381
+ } | undefined;
1317
1382
  } | undefined;
1318
1383
  select?: {
1319
1384
  [x: string]: any;
@@ -1387,12 +1452,17 @@ export declare const curdConf: (props: {
1387
1452
  on?: any;
1388
1453
  } | undefined;
1389
1454
  switch?: {
1455
+ [x: string]: any;
1390
1456
  on?: Record<string, any> | undefined;
1391
1457
  activeValue?: any;
1392
- activeLabel?: string | undefined;
1458
+ activeText?: string | undefined;
1393
1459
  inactiveValue?: any;
1394
- inactiveLabel?: string | undefined;
1460
+ inactiveText?: string | undefined;
1395
1461
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1462
+ tableConfig?: {
1463
+ confirm?: boolean | undefined;
1464
+ loadList?: boolean | undefined;
1465
+ } | undefined;
1396
1466
  } | undefined;
1397
1467
  select?: {
1398
1468
  [x: string]: any;
@@ -1466,12 +1536,17 @@ export declare const curdConf: (props: {
1466
1536
  on?: any;
1467
1537
  } | undefined;
1468
1538
  switch?: {
1539
+ [x: string]: any;
1469
1540
  on?: Record<string, any> | undefined;
1470
1541
  activeValue?: any;
1471
- activeLabel?: string | undefined;
1542
+ activeText?: string | undefined;
1472
1543
  inactiveValue?: any;
1473
- inactiveLabel?: string | undefined;
1544
+ inactiveText?: string | undefined;
1474
1545
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1546
+ tableConfig?: {
1547
+ confirm?: boolean | undefined;
1548
+ loadList?: boolean | undefined;
1549
+ } | undefined;
1475
1550
  } | undefined;
1476
1551
  select?: {
1477
1552
  [x: string]: any;
@@ -1529,12 +1604,17 @@ export declare const curdConf: (props: {
1529
1604
  on?: any;
1530
1605
  } | undefined;
1531
1606
  switch?: {
1607
+ [x: string]: any;
1532
1608
  on?: Record<string, any> | undefined;
1533
1609
  activeValue?: any;
1534
- activeLabel?: string | undefined;
1610
+ activeText?: string | undefined;
1535
1611
  inactiveValue?: any;
1536
- inactiveLabel?: string | undefined;
1612
+ inactiveText?: string | undefined;
1537
1613
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1614
+ tableConfig?: {
1615
+ confirm?: boolean | undefined;
1616
+ loadList?: boolean | undefined;
1617
+ } | undefined;
1538
1618
  } | undefined;
1539
1619
  select?: {
1540
1620
  [x: string]: any;
@@ -1718,12 +1798,17 @@ export declare const curdConf: (props: {
1718
1798
  on?: any;
1719
1799
  } | undefined;
1720
1800
  switch?: {
1801
+ [x: string]: any;
1721
1802
  on?: Record<string, any> | undefined;
1722
1803
  activeValue?: any;
1723
- activeLabel?: string | undefined;
1804
+ activeText?: string | undefined;
1724
1805
  inactiveValue?: any;
1725
- inactiveLabel?: string | undefined;
1806
+ inactiveText?: string | undefined;
1726
1807
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1808
+ tableConfig?: {
1809
+ confirm?: boolean | undefined;
1810
+ loadList?: boolean | undefined;
1811
+ } | undefined;
1727
1812
  } | undefined;
1728
1813
  select?: {
1729
1814
  [x: string]: any;
@@ -1797,12 +1882,17 @@ export declare const curdConf: (props: {
1797
1882
  on?: any;
1798
1883
  } | undefined;
1799
1884
  switch?: {
1885
+ [x: string]: any;
1800
1886
  on?: Record<string, any> | undefined;
1801
1887
  activeValue?: any;
1802
- activeLabel?: string | undefined;
1888
+ activeText?: string | undefined;
1803
1889
  inactiveValue?: any;
1804
- inactiveLabel?: string | undefined;
1890
+ inactiveText?: string | undefined;
1805
1891
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1892
+ tableConfig?: {
1893
+ confirm?: boolean | undefined;
1894
+ loadList?: boolean | undefined;
1895
+ } | undefined;
1806
1896
  } | undefined;
1807
1897
  select?: {
1808
1898
  [x: string]: any;
@@ -1876,12 +1966,17 @@ export declare const curdConf: (props: {
1876
1966
  on?: any;
1877
1967
  } | undefined;
1878
1968
  switch?: {
1969
+ [x: string]: any;
1879
1970
  on?: Record<string, any> | undefined;
1880
1971
  activeValue?: any;
1881
- activeLabel?: string | undefined;
1972
+ activeText?: string | undefined;
1882
1973
  inactiveValue?: any;
1883
- inactiveLabel?: string | undefined;
1974
+ inactiveText?: string | undefined;
1884
1975
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1976
+ tableConfig?: {
1977
+ confirm?: boolean | undefined;
1978
+ loadList?: boolean | undefined;
1979
+ } | undefined;
1885
1980
  } | undefined;
1886
1981
  select?: {
1887
1982
  [x: string]: any;
@@ -1939,12 +2034,17 @@ export declare const curdConf: (props: {
1939
2034
  on?: any;
1940
2035
  } | undefined;
1941
2036
  switch?: {
2037
+ [x: string]: any;
1942
2038
  on?: Record<string, any> | undefined;
1943
2039
  activeValue?: any;
1944
- activeLabel?: string | undefined;
2040
+ activeText?: string | undefined;
1945
2041
  inactiveValue?: any;
1946
- inactiveLabel?: string | undefined;
2042
+ inactiveText?: string | undefined;
1947
2043
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
2044
+ tableConfig?: {
2045
+ confirm?: boolean | undefined;
2046
+ loadList?: boolean | undefined;
2047
+ } | undefined;
1948
2048
  } | undefined;
1949
2049
  select?: {
1950
2050
  [x: string]: any;
@@ -2059,11 +2159,6 @@ export declare const curdConf: (props: {
2059
2159
  submit: () => void;
2060
2160
  close: () => void;
2061
2161
  };
2062
- inlineEdit: {
2063
- data: any;
2064
- open: (row: any) => void;
2065
- close: () => void;
2066
- };
2067
2162
  remove: {
2068
2163
  title: string;
2069
2164
  show: boolean;