cc1-form 1.2.1 → 1.2.3

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,19 @@ 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
+ change?: boolean | undefined;
109
+ confirm?: boolean | undefined;
110
+ loadList?: boolean | undefined;
111
+ api?: ((data: any) => any) | undefined;
112
+ } | undefined;
106
113
  } | undefined;
107
114
  select?: {
108
115
  [x: string]: any;
@@ -176,12 +183,19 @@ export declare const curdConf: (props: {
176
183
  on?: any;
177
184
  } | undefined;
178
185
  switch?: {
186
+ [x: string]: any;
179
187
  on?: Record<string, any> | undefined;
180
188
  activeValue?: any;
181
- activeLabel?: string | undefined;
189
+ activeText?: string | undefined;
182
190
  inactiveValue?: any;
183
- inactiveLabel?: string | undefined;
191
+ inactiveText?: string | undefined;
184
192
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
193
+ tableConfig?: {
194
+ change?: boolean | undefined;
195
+ confirm?: boolean | undefined;
196
+ loadList?: boolean | undefined;
197
+ api?: ((data: any) => any) | undefined;
198
+ } | undefined;
185
199
  } | undefined;
186
200
  select?: {
187
201
  [x: string]: any;
@@ -255,12 +269,19 @@ export declare const curdConf: (props: {
255
269
  on?: any;
256
270
  } | undefined;
257
271
  switch?: {
272
+ [x: string]: any;
258
273
  on?: Record<string, any> | undefined;
259
274
  activeValue?: any;
260
- activeLabel?: string | undefined;
275
+ activeText?: string | undefined;
261
276
  inactiveValue?: any;
262
- inactiveLabel?: string | undefined;
277
+ inactiveText?: string | undefined;
263
278
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
279
+ tableConfig?: {
280
+ change?: boolean | undefined;
281
+ confirm?: boolean | undefined;
282
+ loadList?: boolean | undefined;
283
+ api?: ((data: any) => any) | undefined;
284
+ } | undefined;
264
285
  } | undefined;
265
286
  select?: {
266
287
  [x: string]: any;
@@ -318,12 +339,19 @@ export declare const curdConf: (props: {
318
339
  on?: any;
319
340
  } | undefined;
320
341
  switch?: {
342
+ [x: string]: any;
321
343
  on?: Record<string, any> | undefined;
322
344
  activeValue?: any;
323
- activeLabel?: string | undefined;
345
+ activeText?: string | undefined;
324
346
  inactiveValue?: any;
325
- inactiveLabel?: string | undefined;
347
+ inactiveText?: string | undefined;
326
348
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
349
+ tableConfig?: {
350
+ change?: boolean | undefined;
351
+ confirm?: boolean | undefined;
352
+ loadList?: boolean | undefined;
353
+ api?: ((data: any) => any) | undefined;
354
+ } | undefined;
327
355
  } | undefined;
328
356
  select?: {
329
357
  [x: string]: any;
@@ -522,12 +550,19 @@ export declare const curdConf: (props: {
522
550
  on?: any;
523
551
  } | undefined;
524
552
  switch?: {
553
+ [x: string]: any;
525
554
  on?: Record<string, any> | undefined;
526
555
  activeValue?: any;
527
- activeLabel?: string | undefined;
556
+ activeText?: string | undefined;
528
557
  inactiveValue?: any;
529
- inactiveLabel?: string | undefined;
558
+ inactiveText?: string | undefined;
530
559
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
560
+ tableConfig?: {
561
+ change?: boolean | undefined;
562
+ confirm?: boolean | undefined;
563
+ loadList?: boolean | undefined;
564
+ api?: ((data: any) => any) | undefined;
565
+ } | undefined;
531
566
  } | undefined;
532
567
  select?: {
533
568
  [x: string]: any;
@@ -601,12 +636,19 @@ export declare const curdConf: (props: {
601
636
  on?: any;
602
637
  } | undefined;
603
638
  switch?: {
639
+ [x: string]: any;
604
640
  on?: Record<string, any> | undefined;
605
641
  activeValue?: any;
606
- activeLabel?: string | undefined;
642
+ activeText?: string | undefined;
607
643
  inactiveValue?: any;
608
- inactiveLabel?: string | undefined;
644
+ inactiveText?: string | undefined;
609
645
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
646
+ tableConfig?: {
647
+ change?: boolean | undefined;
648
+ confirm?: boolean | undefined;
649
+ loadList?: boolean | undefined;
650
+ api?: ((data: any) => any) | undefined;
651
+ } | undefined;
610
652
  } | undefined;
611
653
  select?: {
612
654
  [x: string]: any;
@@ -680,12 +722,19 @@ export declare const curdConf: (props: {
680
722
  on?: any;
681
723
  } | undefined;
682
724
  switch?: {
725
+ [x: string]: any;
683
726
  on?: Record<string, any> | undefined;
684
727
  activeValue?: any;
685
- activeLabel?: string | undefined;
728
+ activeText?: string | undefined;
686
729
  inactiveValue?: any;
687
- inactiveLabel?: string | undefined;
730
+ inactiveText?: string | undefined;
688
731
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
732
+ tableConfig?: {
733
+ change?: boolean | undefined;
734
+ confirm?: boolean | undefined;
735
+ loadList?: boolean | undefined;
736
+ api?: ((data: any) => any) | undefined;
737
+ } | undefined;
689
738
  } | undefined;
690
739
  select?: {
691
740
  [x: string]: any;
@@ -743,12 +792,19 @@ export declare const curdConf: (props: {
743
792
  on?: any;
744
793
  } | undefined;
745
794
  switch?: {
795
+ [x: string]: any;
746
796
  on?: Record<string, any> | undefined;
747
797
  activeValue?: any;
748
- activeLabel?: string | undefined;
798
+ activeText?: string | undefined;
749
799
  inactiveValue?: any;
750
- inactiveLabel?: string | undefined;
800
+ inactiveText?: string | undefined;
751
801
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
802
+ tableConfig?: {
803
+ change?: boolean | undefined;
804
+ confirm?: boolean | undefined;
805
+ loadList?: boolean | undefined;
806
+ api?: ((data: any) => any) | undefined;
807
+ } | undefined;
752
808
  } | undefined;
753
809
  select?: {
754
810
  [x: string]: any;
@@ -904,12 +960,19 @@ export declare const curdConf: (props: {
904
960
  on?: any;
905
961
  } | undefined;
906
962
  switch?: {
963
+ [x: string]: any;
907
964
  on?: Record<string, any> | undefined;
908
965
  activeValue?: any;
909
- activeLabel?: string | undefined;
966
+ activeText?: string | undefined;
910
967
  inactiveValue?: any;
911
- inactiveLabel?: string | undefined;
968
+ inactiveText?: string | undefined;
912
969
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
970
+ tableConfig?: {
971
+ change?: boolean | undefined;
972
+ confirm?: boolean | undefined;
973
+ loadList?: boolean | undefined;
974
+ api?: ((data: any) => any) | undefined;
975
+ } | undefined;
913
976
  } | undefined;
914
977
  select?: {
915
978
  [x: string]: any;
@@ -983,12 +1046,19 @@ export declare const curdConf: (props: {
983
1046
  on?: any;
984
1047
  } | undefined;
985
1048
  switch?: {
1049
+ [x: string]: any;
986
1050
  on?: Record<string, any> | undefined;
987
1051
  activeValue?: any;
988
- activeLabel?: string | undefined;
1052
+ activeText?: string | undefined;
989
1053
  inactiveValue?: any;
990
- inactiveLabel?: string | undefined;
1054
+ inactiveText?: string | undefined;
991
1055
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1056
+ tableConfig?: {
1057
+ change?: boolean | undefined;
1058
+ confirm?: boolean | undefined;
1059
+ loadList?: boolean | undefined;
1060
+ api?: ((data: any) => any) | undefined;
1061
+ } | undefined;
992
1062
  } | undefined;
993
1063
  select?: {
994
1064
  [x: string]: any;
@@ -1062,12 +1132,19 @@ export declare const curdConf: (props: {
1062
1132
  on?: any;
1063
1133
  } | undefined;
1064
1134
  switch?: {
1135
+ [x: string]: any;
1065
1136
  on?: Record<string, any> | undefined;
1066
1137
  activeValue?: any;
1067
- activeLabel?: string | undefined;
1138
+ activeText?: string | undefined;
1068
1139
  inactiveValue?: any;
1069
- inactiveLabel?: string | undefined;
1140
+ inactiveText?: string | undefined;
1070
1141
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1142
+ tableConfig?: {
1143
+ change?: boolean | undefined;
1144
+ confirm?: boolean | undefined;
1145
+ loadList?: boolean | undefined;
1146
+ api?: ((data: any) => any) | undefined;
1147
+ } | undefined;
1071
1148
  } | undefined;
1072
1149
  select?: {
1073
1150
  [x: string]: any;
@@ -1125,12 +1202,19 @@ export declare const curdConf: (props: {
1125
1202
  on?: any;
1126
1203
  } | undefined;
1127
1204
  switch?: {
1205
+ [x: string]: any;
1128
1206
  on?: Record<string, any> | undefined;
1129
1207
  activeValue?: any;
1130
- activeLabel?: string | undefined;
1208
+ activeText?: string | undefined;
1131
1209
  inactiveValue?: any;
1132
- inactiveLabel?: string | undefined;
1210
+ inactiveText?: string | undefined;
1133
1211
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1212
+ tableConfig?: {
1213
+ change?: boolean | undefined;
1214
+ confirm?: boolean | undefined;
1215
+ loadList?: boolean | undefined;
1216
+ api?: ((data: any) => any) | undefined;
1217
+ } | undefined;
1134
1218
  } | undefined;
1135
1219
  select?: {
1136
1220
  [x: string]: any;
@@ -1308,12 +1392,19 @@ export declare const curdConf: (props: {
1308
1392
  on?: any;
1309
1393
  } | undefined;
1310
1394
  switch?: {
1395
+ [x: string]: any;
1311
1396
  on?: Record<string, any> | undefined;
1312
1397
  activeValue?: any;
1313
- activeLabel?: string | undefined;
1398
+ activeText?: string | undefined;
1314
1399
  inactiveValue?: any;
1315
- inactiveLabel?: string | undefined;
1400
+ inactiveText?: string | undefined;
1316
1401
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1402
+ tableConfig?: {
1403
+ change?: boolean | undefined;
1404
+ confirm?: boolean | undefined;
1405
+ loadList?: boolean | undefined;
1406
+ api?: ((data: any) => any) | undefined;
1407
+ } | undefined;
1317
1408
  } | undefined;
1318
1409
  select?: {
1319
1410
  [x: string]: any;
@@ -1387,12 +1478,19 @@ export declare const curdConf: (props: {
1387
1478
  on?: any;
1388
1479
  } | undefined;
1389
1480
  switch?: {
1481
+ [x: string]: any;
1390
1482
  on?: Record<string, any> | undefined;
1391
1483
  activeValue?: any;
1392
- activeLabel?: string | undefined;
1484
+ activeText?: string | undefined;
1393
1485
  inactiveValue?: any;
1394
- inactiveLabel?: string | undefined;
1486
+ inactiveText?: string | undefined;
1395
1487
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1488
+ tableConfig?: {
1489
+ change?: boolean | undefined;
1490
+ confirm?: boolean | undefined;
1491
+ loadList?: boolean | undefined;
1492
+ api?: ((data: any) => any) | undefined;
1493
+ } | undefined;
1396
1494
  } | undefined;
1397
1495
  select?: {
1398
1496
  [x: string]: any;
@@ -1466,12 +1564,19 @@ export declare const curdConf: (props: {
1466
1564
  on?: any;
1467
1565
  } | undefined;
1468
1566
  switch?: {
1567
+ [x: string]: any;
1469
1568
  on?: Record<string, any> | undefined;
1470
1569
  activeValue?: any;
1471
- activeLabel?: string | undefined;
1570
+ activeText?: string | undefined;
1472
1571
  inactiveValue?: any;
1473
- inactiveLabel?: string | undefined;
1572
+ inactiveText?: string | undefined;
1474
1573
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1574
+ tableConfig?: {
1575
+ change?: boolean | undefined;
1576
+ confirm?: boolean | undefined;
1577
+ loadList?: boolean | undefined;
1578
+ api?: ((data: any) => any) | undefined;
1579
+ } | undefined;
1475
1580
  } | undefined;
1476
1581
  select?: {
1477
1582
  [x: string]: any;
@@ -1529,12 +1634,19 @@ export declare const curdConf: (props: {
1529
1634
  on?: any;
1530
1635
  } | undefined;
1531
1636
  switch?: {
1637
+ [x: string]: any;
1532
1638
  on?: Record<string, any> | undefined;
1533
1639
  activeValue?: any;
1534
- activeLabel?: string | undefined;
1640
+ activeText?: string | undefined;
1535
1641
  inactiveValue?: any;
1536
- inactiveLabel?: string | undefined;
1642
+ inactiveText?: string | undefined;
1537
1643
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1644
+ tableConfig?: {
1645
+ change?: boolean | undefined;
1646
+ confirm?: boolean | undefined;
1647
+ loadList?: boolean | undefined;
1648
+ api?: ((data: any) => any) | undefined;
1649
+ } | undefined;
1538
1650
  } | undefined;
1539
1651
  select?: {
1540
1652
  [x: string]: any;
@@ -1718,12 +1830,19 @@ export declare const curdConf: (props: {
1718
1830
  on?: any;
1719
1831
  } | undefined;
1720
1832
  switch?: {
1833
+ [x: string]: any;
1721
1834
  on?: Record<string, any> | undefined;
1722
1835
  activeValue?: any;
1723
- activeLabel?: string | undefined;
1836
+ activeText?: string | undefined;
1724
1837
  inactiveValue?: any;
1725
- inactiveLabel?: string | undefined;
1838
+ inactiveText?: string | undefined;
1726
1839
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1840
+ tableConfig?: {
1841
+ change?: boolean | undefined;
1842
+ confirm?: boolean | undefined;
1843
+ loadList?: boolean | undefined;
1844
+ api?: ((data: any) => any) | undefined;
1845
+ } | undefined;
1727
1846
  } | undefined;
1728
1847
  select?: {
1729
1848
  [x: string]: any;
@@ -1797,12 +1916,19 @@ export declare const curdConf: (props: {
1797
1916
  on?: any;
1798
1917
  } | undefined;
1799
1918
  switch?: {
1919
+ [x: string]: any;
1800
1920
  on?: Record<string, any> | undefined;
1801
1921
  activeValue?: any;
1802
- activeLabel?: string | undefined;
1922
+ activeText?: string | undefined;
1803
1923
  inactiveValue?: any;
1804
- inactiveLabel?: string | undefined;
1924
+ inactiveText?: string | undefined;
1805
1925
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
1926
+ tableConfig?: {
1927
+ change?: boolean | undefined;
1928
+ confirm?: boolean | undefined;
1929
+ loadList?: boolean | undefined;
1930
+ api?: ((data: any) => any) | undefined;
1931
+ } | undefined;
1806
1932
  } | undefined;
1807
1933
  select?: {
1808
1934
  [x: string]: any;
@@ -1876,12 +2002,19 @@ export declare const curdConf: (props: {
1876
2002
  on?: any;
1877
2003
  } | undefined;
1878
2004
  switch?: {
2005
+ [x: string]: any;
1879
2006
  on?: Record<string, any> | undefined;
1880
2007
  activeValue?: any;
1881
- activeLabel?: string | undefined;
2008
+ activeText?: string | undefined;
1882
2009
  inactiveValue?: any;
1883
- inactiveLabel?: string | undefined;
2010
+ inactiveText?: string | undefined;
1884
2011
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
2012
+ tableConfig?: {
2013
+ change?: boolean | undefined;
2014
+ confirm?: boolean | undefined;
2015
+ loadList?: boolean | undefined;
2016
+ api?: ((data: any) => any) | undefined;
2017
+ } | undefined;
1885
2018
  } | undefined;
1886
2019
  select?: {
1887
2020
  [x: string]: any;
@@ -1939,12 +2072,19 @@ export declare const curdConf: (props: {
1939
2072
  on?: any;
1940
2073
  } | undefined;
1941
2074
  switch?: {
2075
+ [x: string]: any;
1942
2076
  on?: Record<string, any> | undefined;
1943
2077
  activeValue?: any;
1944
- activeLabel?: string | undefined;
2078
+ activeText?: string | undefined;
1945
2079
  inactiveValue?: any;
1946
- inactiveLabel?: string | undefined;
2080
+ inactiveText?: string | undefined;
1947
2081
  tableBeforeChange?: ((key: string, data: any) => any) | undefined;
2082
+ tableConfig?: {
2083
+ change?: boolean | undefined;
2084
+ confirm?: boolean | undefined;
2085
+ loadList?: boolean | undefined;
2086
+ api?: ((data: any) => any) | undefined;
2087
+ } | undefined;
1948
2088
  } | undefined;
1949
2089
  select?: {
1950
2090
  [x: string]: any;
@@ -2059,11 +2199,6 @@ export declare const curdConf: (props: {
2059
2199
  submit: () => void;
2060
2200
  close: () => void;
2061
2201
  };
2062
- inlineEdit: {
2063
- data: any;
2064
- open: (row: any) => void;
2065
- close: () => void;
2066
- };
2067
2202
  remove: {
2068
2203
  title: string;
2069
2204
  show: boolean;