cc1-form 1.4.3 → 1.4.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 +877 -880
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +24 -0
- package/dist/components/TCurd/com/form/field.vue.d.ts +14 -11
- package/dist/components/TCurd/core/table.d.ts +3 -2
- package/dist/components/TCurd/index.d.ts +40 -2
- package/dist/components/TCurd/index.vue.d.ts +134 -22
- package/dist/components/TCurd/indexType.d.ts +10 -0
- package/dist/utils/TFormConfig.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ declare const conf: {
|
|
|
19
19
|
key: string;
|
|
20
20
|
label: string;
|
|
21
21
|
value?: any;
|
|
22
|
+
tip?: string | undefined;
|
|
22
23
|
children?: /*elided*/ any[] | undefined;
|
|
23
24
|
disabled?: {
|
|
24
25
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -77,6 +78,7 @@ declare const conf: {
|
|
|
77
78
|
change?: boolean | undefined;
|
|
78
79
|
confirm?: boolean | undefined;
|
|
79
80
|
loadList?: boolean | undefined;
|
|
81
|
+
needTip?: boolean | undefined;
|
|
80
82
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
81
83
|
} | undefined;
|
|
82
84
|
} | undefined;
|
|
@@ -165,6 +167,7 @@ declare const conf: {
|
|
|
165
167
|
change?: boolean | undefined;
|
|
166
168
|
confirm?: boolean | undefined;
|
|
167
169
|
loadList?: boolean | undefined;
|
|
170
|
+
needTip?: boolean | undefined;
|
|
168
171
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
169
172
|
} | undefined;
|
|
170
173
|
} | undefined;
|
|
@@ -253,6 +256,7 @@ declare const conf: {
|
|
|
253
256
|
change?: boolean | undefined;
|
|
254
257
|
confirm?: boolean | undefined;
|
|
255
258
|
loadList?: boolean | undefined;
|
|
259
|
+
needTip?: boolean | undefined;
|
|
256
260
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
257
261
|
} | undefined;
|
|
258
262
|
} | undefined;
|
|
@@ -325,6 +329,7 @@ declare const conf: {
|
|
|
325
329
|
change?: boolean | undefined;
|
|
326
330
|
confirm?: boolean | undefined;
|
|
327
331
|
loadList?: boolean | undefined;
|
|
332
|
+
needTip?: boolean | undefined;
|
|
328
333
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
329
334
|
} | undefined;
|
|
330
335
|
} | undefined;
|
|
@@ -422,6 +427,7 @@ declare const conf: {
|
|
|
422
427
|
} | undefined;
|
|
423
428
|
form?: {
|
|
424
429
|
label?: string | undefined;
|
|
430
|
+
tip?: string | undefined;
|
|
425
431
|
} | undefined;
|
|
426
432
|
} | undefined;
|
|
427
433
|
show?: {
|
|
@@ -447,6 +453,7 @@ declare const conf: {
|
|
|
447
453
|
key: string;
|
|
448
454
|
label: string;
|
|
449
455
|
value?: any;
|
|
456
|
+
tip?: string | undefined;
|
|
450
457
|
children?: /*elided*/ any[] | undefined;
|
|
451
458
|
disabled?: {
|
|
452
459
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -505,6 +512,7 @@ declare const conf: {
|
|
|
505
512
|
change?: boolean | undefined;
|
|
506
513
|
confirm?: boolean | undefined;
|
|
507
514
|
loadList?: boolean | undefined;
|
|
515
|
+
needTip?: boolean | undefined;
|
|
508
516
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
509
517
|
} | undefined;
|
|
510
518
|
} | undefined;
|
|
@@ -593,6 +601,7 @@ declare const conf: {
|
|
|
593
601
|
change?: boolean | undefined;
|
|
594
602
|
confirm?: boolean | undefined;
|
|
595
603
|
loadList?: boolean | undefined;
|
|
604
|
+
needTip?: boolean | undefined;
|
|
596
605
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
597
606
|
} | undefined;
|
|
598
607
|
} | undefined;
|
|
@@ -681,6 +690,7 @@ declare const conf: {
|
|
|
681
690
|
change?: boolean | undefined;
|
|
682
691
|
confirm?: boolean | undefined;
|
|
683
692
|
loadList?: boolean | undefined;
|
|
693
|
+
needTip?: boolean | undefined;
|
|
684
694
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
685
695
|
} | undefined;
|
|
686
696
|
} | undefined;
|
|
@@ -753,6 +763,7 @@ declare const conf: {
|
|
|
753
763
|
change?: boolean | undefined;
|
|
754
764
|
confirm?: boolean | undefined;
|
|
755
765
|
loadList?: boolean | undefined;
|
|
766
|
+
needTip?: boolean | undefined;
|
|
756
767
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
757
768
|
} | undefined;
|
|
758
769
|
} | undefined;
|
|
@@ -850,6 +861,7 @@ declare const conf: {
|
|
|
850
861
|
} | undefined;
|
|
851
862
|
form?: {
|
|
852
863
|
label?: string | undefined;
|
|
864
|
+
tip?: string | undefined;
|
|
853
865
|
} | undefined;
|
|
854
866
|
} | undefined;
|
|
855
867
|
show?: {
|
|
@@ -990,6 +1002,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
990
1002
|
key: string;
|
|
991
1003
|
label: string;
|
|
992
1004
|
value?: any;
|
|
1005
|
+
tip?: string | undefined;
|
|
993
1006
|
children?: /*elided*/ any[] | undefined;
|
|
994
1007
|
disabled?: {
|
|
995
1008
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -1048,6 +1061,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1048
1061
|
change?: boolean | undefined;
|
|
1049
1062
|
confirm?: boolean | undefined;
|
|
1050
1063
|
loadList?: boolean | undefined;
|
|
1064
|
+
needTip?: boolean | undefined;
|
|
1051
1065
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1052
1066
|
} | undefined;
|
|
1053
1067
|
} | undefined;
|
|
@@ -1136,6 +1150,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1136
1150
|
change?: boolean | undefined;
|
|
1137
1151
|
confirm?: boolean | undefined;
|
|
1138
1152
|
loadList?: boolean | undefined;
|
|
1153
|
+
needTip?: boolean | undefined;
|
|
1139
1154
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1140
1155
|
} | undefined;
|
|
1141
1156
|
} | undefined;
|
|
@@ -1224,6 +1239,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1224
1239
|
change?: boolean | undefined;
|
|
1225
1240
|
confirm?: boolean | undefined;
|
|
1226
1241
|
loadList?: boolean | undefined;
|
|
1242
|
+
needTip?: boolean | undefined;
|
|
1227
1243
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1228
1244
|
} | undefined;
|
|
1229
1245
|
} | undefined;
|
|
@@ -1296,6 +1312,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1296
1312
|
change?: boolean | undefined;
|
|
1297
1313
|
confirm?: boolean | undefined;
|
|
1298
1314
|
loadList?: boolean | undefined;
|
|
1315
|
+
needTip?: boolean | undefined;
|
|
1299
1316
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1300
1317
|
} | undefined;
|
|
1301
1318
|
} | undefined;
|
|
@@ -1393,6 +1410,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1393
1410
|
} | undefined;
|
|
1394
1411
|
form?: {
|
|
1395
1412
|
label?: string | undefined;
|
|
1413
|
+
tip?: string | undefined;
|
|
1396
1414
|
} | undefined;
|
|
1397
1415
|
} | undefined;
|
|
1398
1416
|
show?: {
|
|
@@ -1418,6 +1436,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1418
1436
|
key: string;
|
|
1419
1437
|
label: string;
|
|
1420
1438
|
value?: any;
|
|
1439
|
+
tip?: string | undefined;
|
|
1421
1440
|
children?: /*elided*/ any[] | undefined;
|
|
1422
1441
|
disabled?: {
|
|
1423
1442
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -1476,6 +1495,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1476
1495
|
change?: boolean | undefined;
|
|
1477
1496
|
confirm?: boolean | undefined;
|
|
1478
1497
|
loadList?: boolean | undefined;
|
|
1498
|
+
needTip?: boolean | undefined;
|
|
1479
1499
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1480
1500
|
} | undefined;
|
|
1481
1501
|
} | undefined;
|
|
@@ -1564,6 +1584,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1564
1584
|
change?: boolean | undefined;
|
|
1565
1585
|
confirm?: boolean | undefined;
|
|
1566
1586
|
loadList?: boolean | undefined;
|
|
1587
|
+
needTip?: boolean | undefined;
|
|
1567
1588
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1568
1589
|
} | undefined;
|
|
1569
1590
|
} | undefined;
|
|
@@ -1652,6 +1673,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1652
1673
|
change?: boolean | undefined;
|
|
1653
1674
|
confirm?: boolean | undefined;
|
|
1654
1675
|
loadList?: boolean | undefined;
|
|
1676
|
+
needTip?: boolean | undefined;
|
|
1655
1677
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1656
1678
|
} | undefined;
|
|
1657
1679
|
} | undefined;
|
|
@@ -1724,6 +1746,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1724
1746
|
change?: boolean | undefined;
|
|
1725
1747
|
confirm?: boolean | undefined;
|
|
1726
1748
|
loadList?: boolean | undefined;
|
|
1749
|
+
needTip?: boolean | undefined;
|
|
1727
1750
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1728
1751
|
} | undefined;
|
|
1729
1752
|
} | undefined;
|
|
@@ -1821,6 +1844,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1821
1844
|
} | undefined;
|
|
1822
1845
|
form?: {
|
|
1823
1846
|
label?: string | undefined;
|
|
1847
|
+
tip?: string | undefined;
|
|
1824
1848
|
} | undefined;
|
|
1825
1849
|
} | undefined;
|
|
1826
1850
|
show?: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import TForm from '../../../../utils/TForm';
|
|
2
2
|
import FormList from './list.vue';
|
|
3
|
-
import { ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElInputNumber, ElDatePicker, ElFormItem, ElInput, ElOption, ElRadio, ElRadioButton, ElRadioGroup, ElSelect, ElSwitch, ElTreeSelect, ElColorPicker, ElSlider } from 'element-plus';
|
|
3
|
+
import { ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElInputNumber, ElDatePicker, ElFormItem, ElInput, ElOption, ElRadio, ElRadioButton, ElRadioGroup, ElSelect, ElSwitch, ElTreeSelect, ElColorPicker, ElSlider, ElTooltip } from 'element-plus';
|
|
4
4
|
import type { CurdConfigColumn } from '../../indexType';
|
|
5
|
+
import questionFilled from '../../icon/questionFilled.vue';
|
|
5
6
|
type __VLS_Props = {
|
|
6
7
|
item: CurdConfigColumn;
|
|
7
8
|
form: Record<string, any>;
|
|
@@ -13,32 +14,32 @@ type __VLS_Props = {
|
|
|
13
14
|
};
|
|
14
15
|
declare const formItemRef: import("vue").Ref<any, any>;
|
|
15
16
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
16
|
-
declare var
|
|
17
|
+
declare var __VLS_15: string, __VLS_16: {
|
|
17
18
|
row: Record<string, any>;
|
|
18
19
|
item: CurdConfigColumn<any>;
|
|
19
|
-
},
|
|
20
|
+
}, __VLS_19: string, __VLS_20: {
|
|
20
21
|
row: Record<string, any>;
|
|
21
22
|
item: CurdConfigColumn<any>;
|
|
22
|
-
},
|
|
23
|
+
}, __VLS_98: string, __VLS_99: {
|
|
23
24
|
row: Record<string, any>;
|
|
24
25
|
item: CurdConfigColumn<any>;
|
|
25
|
-
},
|
|
26
|
+
}, __VLS_102: string, __VLS_103: {
|
|
26
27
|
row: Record<string, any>;
|
|
27
28
|
item: CurdConfigColumn<any>;
|
|
28
|
-
},
|
|
29
|
+
}, __VLS_106: string, __VLS_107: {
|
|
29
30
|
row: Record<string, any>;
|
|
30
31
|
item: CurdConfigColumn<any>;
|
|
31
32
|
};
|
|
32
33
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
33
|
-
[K in NonNullable<typeof
|
|
34
|
+
[K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
|
|
34
35
|
} & {
|
|
35
|
-
[K in NonNullable<typeof
|
|
36
|
+
[K in NonNullable<typeof __VLS_19>]?: (props: typeof __VLS_20) => any;
|
|
36
37
|
} & {
|
|
37
|
-
[K in NonNullable<typeof
|
|
38
|
+
[K in NonNullable<typeof __VLS_98>]?: (props: typeof __VLS_99) => any;
|
|
38
39
|
} & {
|
|
39
|
-
[K in NonNullable<typeof
|
|
40
|
+
[K in NonNullable<typeof __VLS_102>]?: (props: typeof __VLS_103) => any;
|
|
40
41
|
} & {
|
|
41
|
-
[K in NonNullable<typeof
|
|
42
|
+
[K in NonNullable<typeof __VLS_106>]?: (props: typeof __VLS_107) => any;
|
|
42
43
|
}>;
|
|
43
44
|
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
44
45
|
TForm: typeof TForm;
|
|
@@ -59,6 +60,8 @@ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
|
59
60
|
ElTreeSelect: typeof ElTreeSelect;
|
|
60
61
|
ElColorPicker: typeof ElColorPicker;
|
|
61
62
|
ElSlider: typeof ElSlider;
|
|
63
|
+
ElTooltip: typeof ElTooltip;
|
|
64
|
+
questionFilled: typeof questionFilled;
|
|
62
65
|
formItemRef: typeof formItemRef;
|
|
63
66
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
64
67
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -39,6 +39,7 @@ export declare const createTableModule: (_getConf: CurdConfGetter, props: CurdPr
|
|
|
39
39
|
page: boolean;
|
|
40
40
|
scroll: boolean;
|
|
41
41
|
field: string;
|
|
42
|
+
order: "asc" | "desc";
|
|
42
43
|
onEnd: (data: any[]) => any;
|
|
43
44
|
rule: "index" | "value";
|
|
44
45
|
api: Partial<{
|
|
@@ -75,6 +76,7 @@ export declare const createTableModule: (_getConf: CurdConfGetter, props: CurdPr
|
|
|
75
76
|
page: boolean;
|
|
76
77
|
scroll: boolean;
|
|
77
78
|
field: string;
|
|
79
|
+
order: "asc" | "desc";
|
|
78
80
|
onEnd: (data: any[]) => any;
|
|
79
81
|
rule: "index" | "value";
|
|
80
82
|
api: Partial<{
|
|
@@ -112,7 +114,7 @@ export declare const createTableModule: (_getConf: CurdConfGetter, props: CurdPr
|
|
|
112
114
|
destroy: () => void;
|
|
113
115
|
getBody: () => HTMLElement | null;
|
|
114
116
|
loadModule: () => Promise<any>;
|
|
115
|
-
applyRule: (data: any[], field: string, rule: "index" | "value", values: any[]) => void;
|
|
117
|
+
applyRule: (data: any[], field: string, rule: "index" | "value", values: any[], order?: "asc" | "desc") => void;
|
|
116
118
|
sync: () => Promise<void>;
|
|
117
119
|
refreshList: () => Promise<void>;
|
|
118
120
|
/** 临时保存fitHeight,用于排序时临时关闭 */
|
|
@@ -120,7 +122,6 @@ export declare const createTableModule: (_getConf: CurdConfGetter, props: CurdPr
|
|
|
120
122
|
start: () => Promise<void>;
|
|
121
123
|
exit: () => Promise<void>;
|
|
122
124
|
save: () => Promise<void>;
|
|
123
|
-
command: (command: "save" | "exit") => Promise<void>;
|
|
124
125
|
};
|
|
125
126
|
header: {
|
|
126
127
|
group: {
|
|
@@ -32,6 +32,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
32
32
|
key: string;
|
|
33
33
|
label: string;
|
|
34
34
|
value?: any;
|
|
35
|
+
tip?: string | undefined;
|
|
35
36
|
children?: /*elided*/ any[] | undefined;
|
|
36
37
|
disabled?: {
|
|
37
38
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -90,6 +91,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
90
91
|
change?: boolean | undefined;
|
|
91
92
|
confirm?: boolean | undefined;
|
|
92
93
|
loadList?: boolean | undefined;
|
|
94
|
+
needTip?: boolean | undefined;
|
|
93
95
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
94
96
|
} | undefined;
|
|
95
97
|
} | undefined;
|
|
@@ -178,6 +180,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
178
180
|
change?: boolean | undefined;
|
|
179
181
|
confirm?: boolean | undefined;
|
|
180
182
|
loadList?: boolean | undefined;
|
|
183
|
+
needTip?: boolean | undefined;
|
|
181
184
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
182
185
|
} | undefined;
|
|
183
186
|
} | undefined;
|
|
@@ -266,6 +269,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
266
269
|
change?: boolean | undefined;
|
|
267
270
|
confirm?: boolean | undefined;
|
|
268
271
|
loadList?: boolean | undefined;
|
|
272
|
+
needTip?: boolean | undefined;
|
|
269
273
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
270
274
|
} | undefined;
|
|
271
275
|
} | undefined;
|
|
@@ -338,6 +342,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
338
342
|
change?: boolean | undefined;
|
|
339
343
|
confirm?: boolean | undefined;
|
|
340
344
|
loadList?: boolean | undefined;
|
|
345
|
+
needTip?: boolean | undefined;
|
|
341
346
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
342
347
|
} | undefined;
|
|
343
348
|
} | undefined;
|
|
@@ -435,6 +440,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
435
440
|
} | undefined;
|
|
436
441
|
form?: {
|
|
437
442
|
label?: string | undefined;
|
|
443
|
+
tip?: string | undefined;
|
|
438
444
|
} | undefined;
|
|
439
445
|
} | undefined;
|
|
440
446
|
show?: {
|
|
@@ -460,6 +466,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
460
466
|
key: string;
|
|
461
467
|
label: string;
|
|
462
468
|
value?: any;
|
|
469
|
+
tip?: string | undefined;
|
|
463
470
|
children?: /*elided*/ any[] | undefined;
|
|
464
471
|
disabled?: {
|
|
465
472
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -518,6 +525,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
518
525
|
change?: boolean | undefined;
|
|
519
526
|
confirm?: boolean | undefined;
|
|
520
527
|
loadList?: boolean | undefined;
|
|
528
|
+
needTip?: boolean | undefined;
|
|
521
529
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
522
530
|
} | undefined;
|
|
523
531
|
} | undefined;
|
|
@@ -606,6 +614,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
606
614
|
change?: boolean | undefined;
|
|
607
615
|
confirm?: boolean | undefined;
|
|
608
616
|
loadList?: boolean | undefined;
|
|
617
|
+
needTip?: boolean | undefined;
|
|
609
618
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
610
619
|
} | undefined;
|
|
611
620
|
} | undefined;
|
|
@@ -694,6 +703,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
694
703
|
change?: boolean | undefined;
|
|
695
704
|
confirm?: boolean | undefined;
|
|
696
705
|
loadList?: boolean | undefined;
|
|
706
|
+
needTip?: boolean | undefined;
|
|
697
707
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
698
708
|
} | undefined;
|
|
699
709
|
} | undefined;
|
|
@@ -766,6 +776,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
766
776
|
change?: boolean | undefined;
|
|
767
777
|
confirm?: boolean | undefined;
|
|
768
778
|
loadList?: boolean | undefined;
|
|
779
|
+
needTip?: boolean | undefined;
|
|
769
780
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
770
781
|
} | undefined;
|
|
771
782
|
} | undefined;
|
|
@@ -863,6 +874,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
863
874
|
} | undefined;
|
|
864
875
|
form?: {
|
|
865
876
|
label?: string | undefined;
|
|
877
|
+
tip?: string | undefined;
|
|
866
878
|
} | undefined;
|
|
867
879
|
} | undefined;
|
|
868
880
|
show?: {
|
|
@@ -943,6 +955,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
943
955
|
key: string;
|
|
944
956
|
label: string;
|
|
945
957
|
value?: any;
|
|
958
|
+
tip?: string | undefined;
|
|
946
959
|
children?: /*elided*/ any[] | undefined;
|
|
947
960
|
disabled?: {
|
|
948
961
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -1001,6 +1014,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1001
1014
|
change?: boolean | undefined;
|
|
1002
1015
|
confirm?: boolean | undefined;
|
|
1003
1016
|
loadList?: boolean | undefined;
|
|
1017
|
+
needTip?: boolean | undefined;
|
|
1004
1018
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1005
1019
|
} | undefined;
|
|
1006
1020
|
} | undefined;
|
|
@@ -1089,6 +1103,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1089
1103
|
change?: boolean | undefined;
|
|
1090
1104
|
confirm?: boolean | undefined;
|
|
1091
1105
|
loadList?: boolean | undefined;
|
|
1106
|
+
needTip?: boolean | undefined;
|
|
1092
1107
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1093
1108
|
} | undefined;
|
|
1094
1109
|
} | undefined;
|
|
@@ -1177,6 +1192,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1177
1192
|
change?: boolean | undefined;
|
|
1178
1193
|
confirm?: boolean | undefined;
|
|
1179
1194
|
loadList?: boolean | undefined;
|
|
1195
|
+
needTip?: boolean | undefined;
|
|
1180
1196
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1181
1197
|
} | undefined;
|
|
1182
1198
|
} | undefined;
|
|
@@ -1249,6 +1265,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1249
1265
|
change?: boolean | undefined;
|
|
1250
1266
|
confirm?: boolean | undefined;
|
|
1251
1267
|
loadList?: boolean | undefined;
|
|
1268
|
+
needTip?: boolean | undefined;
|
|
1252
1269
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1253
1270
|
} | undefined;
|
|
1254
1271
|
} | undefined;
|
|
@@ -1346,6 +1363,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1346
1363
|
} | undefined;
|
|
1347
1364
|
form?: {
|
|
1348
1365
|
label?: string | undefined;
|
|
1366
|
+
tip?: string | undefined;
|
|
1349
1367
|
} | undefined;
|
|
1350
1368
|
} | undefined;
|
|
1351
1369
|
show?: {
|
|
@@ -1388,6 +1406,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1388
1406
|
page: boolean;
|
|
1389
1407
|
scroll: boolean;
|
|
1390
1408
|
field: string;
|
|
1409
|
+
order: "asc" | "desc";
|
|
1391
1410
|
onEnd: (data: any[]) => any;
|
|
1392
1411
|
rule: "index" | "value";
|
|
1393
1412
|
api: Partial<{
|
|
@@ -1424,6 +1443,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1424
1443
|
page: boolean;
|
|
1425
1444
|
scroll: boolean;
|
|
1426
1445
|
field: string;
|
|
1446
|
+
order: "asc" | "desc";
|
|
1427
1447
|
onEnd: (data: any[]) => any;
|
|
1428
1448
|
rule: "index" | "value";
|
|
1429
1449
|
api: Partial<{
|
|
@@ -1461,14 +1481,13 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1461
1481
|
destroy: () => void;
|
|
1462
1482
|
getBody: () => HTMLElement | null;
|
|
1463
1483
|
loadModule: () => Promise<any>;
|
|
1464
|
-
applyRule: (data: any[], field: string, rule: "index" | "value", values: any[]) => void;
|
|
1484
|
+
applyRule: (data: any[], field: string, rule: "index" | "value", values: any[], order?: "asc" | "desc") => void;
|
|
1465
1485
|
sync: () => Promise<void>;
|
|
1466
1486
|
refreshList: () => Promise<void>;
|
|
1467
1487
|
fitHeight: boolean;
|
|
1468
1488
|
start: () => Promise<void>;
|
|
1469
1489
|
exit: () => Promise<void>;
|
|
1470
1490
|
save: () => Promise<void>;
|
|
1471
|
-
command: (command: "save" | "exit") => Promise<void>;
|
|
1472
1491
|
};
|
|
1473
1492
|
header: {
|
|
1474
1493
|
group: {
|
|
@@ -1519,6 +1538,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1519
1538
|
key: string;
|
|
1520
1539
|
label: string;
|
|
1521
1540
|
value?: any;
|
|
1541
|
+
tip?: string | undefined;
|
|
1522
1542
|
children?: /*elided*/ any[] | undefined;
|
|
1523
1543
|
disabled?: {
|
|
1524
1544
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -1577,6 +1597,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1577
1597
|
change?: boolean | undefined;
|
|
1578
1598
|
confirm?: boolean | undefined;
|
|
1579
1599
|
loadList?: boolean | undefined;
|
|
1600
|
+
needTip?: boolean | undefined;
|
|
1580
1601
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1581
1602
|
} | undefined;
|
|
1582
1603
|
} | undefined;
|
|
@@ -1665,6 +1686,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1665
1686
|
change?: boolean | undefined;
|
|
1666
1687
|
confirm?: boolean | undefined;
|
|
1667
1688
|
loadList?: boolean | undefined;
|
|
1689
|
+
needTip?: boolean | undefined;
|
|
1668
1690
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1669
1691
|
} | undefined;
|
|
1670
1692
|
} | undefined;
|
|
@@ -1753,6 +1775,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1753
1775
|
change?: boolean | undefined;
|
|
1754
1776
|
confirm?: boolean | undefined;
|
|
1755
1777
|
loadList?: boolean | undefined;
|
|
1778
|
+
needTip?: boolean | undefined;
|
|
1756
1779
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1757
1780
|
} | undefined;
|
|
1758
1781
|
} | undefined;
|
|
@@ -1825,6 +1848,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1825
1848
|
change?: boolean | undefined;
|
|
1826
1849
|
confirm?: boolean | undefined;
|
|
1827
1850
|
loadList?: boolean | undefined;
|
|
1851
|
+
needTip?: boolean | undefined;
|
|
1828
1852
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
1829
1853
|
} | undefined;
|
|
1830
1854
|
} | undefined;
|
|
@@ -1922,6 +1946,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
1922
1946
|
} | undefined;
|
|
1923
1947
|
form?: {
|
|
1924
1948
|
label?: string | undefined;
|
|
1949
|
+
tip?: string | undefined;
|
|
1925
1950
|
} | undefined;
|
|
1926
1951
|
} | undefined;
|
|
1927
1952
|
show?: {
|
|
@@ -2002,6 +2027,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2002
2027
|
page?: boolean | undefined;
|
|
2003
2028
|
scroll?: boolean | undefined;
|
|
2004
2029
|
field?: string | undefined;
|
|
2030
|
+
order?: "asc" | "desc" | undefined;
|
|
2005
2031
|
onEnd?: ((data: any[]) => any) | undefined;
|
|
2006
2032
|
rule?: "index" | "value" | undefined;
|
|
2007
2033
|
api?: {
|
|
@@ -2018,6 +2044,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2018
2044
|
key: string;
|
|
2019
2045
|
label: string;
|
|
2020
2046
|
value?: any;
|
|
2047
|
+
tip?: string | undefined;
|
|
2021
2048
|
children?: /*elided*/ any[] | undefined;
|
|
2022
2049
|
disabled?: {
|
|
2023
2050
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -2076,6 +2103,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2076
2103
|
change?: boolean | undefined;
|
|
2077
2104
|
confirm?: boolean | undefined;
|
|
2078
2105
|
loadList?: boolean | undefined;
|
|
2106
|
+
needTip?: boolean | undefined;
|
|
2079
2107
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2080
2108
|
} | undefined;
|
|
2081
2109
|
} | undefined;
|
|
@@ -2164,6 +2192,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2164
2192
|
change?: boolean | undefined;
|
|
2165
2193
|
confirm?: boolean | undefined;
|
|
2166
2194
|
loadList?: boolean | undefined;
|
|
2195
|
+
needTip?: boolean | undefined;
|
|
2167
2196
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2168
2197
|
} | undefined;
|
|
2169
2198
|
} | undefined;
|
|
@@ -2252,6 +2281,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2252
2281
|
change?: boolean | undefined;
|
|
2253
2282
|
confirm?: boolean | undefined;
|
|
2254
2283
|
loadList?: boolean | undefined;
|
|
2284
|
+
needTip?: boolean | undefined;
|
|
2255
2285
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2256
2286
|
} | undefined;
|
|
2257
2287
|
} | undefined;
|
|
@@ -2324,6 +2354,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2324
2354
|
change?: boolean | undefined;
|
|
2325
2355
|
confirm?: boolean | undefined;
|
|
2326
2356
|
loadList?: boolean | undefined;
|
|
2357
|
+
needTip?: boolean | undefined;
|
|
2327
2358
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2328
2359
|
} | undefined;
|
|
2329
2360
|
} | undefined;
|
|
@@ -2421,6 +2452,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2421
2452
|
} | undefined;
|
|
2422
2453
|
form?: {
|
|
2423
2454
|
label?: string | undefined;
|
|
2455
|
+
tip?: string | undefined;
|
|
2424
2456
|
} | undefined;
|
|
2425
2457
|
} | undefined;
|
|
2426
2458
|
show?: {
|
|
@@ -2497,6 +2529,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2497
2529
|
key: string;
|
|
2498
2530
|
label: string;
|
|
2499
2531
|
value?: any;
|
|
2532
|
+
tip?: string | undefined;
|
|
2500
2533
|
children?: /*elided*/ any[] | undefined;
|
|
2501
2534
|
disabled?: {
|
|
2502
2535
|
table?: boolean | ((data: any) => boolean) | undefined;
|
|
@@ -2555,6 +2588,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2555
2588
|
change?: boolean | undefined;
|
|
2556
2589
|
confirm?: boolean | undefined;
|
|
2557
2590
|
loadList?: boolean | undefined;
|
|
2591
|
+
needTip?: boolean | undefined;
|
|
2558
2592
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2559
2593
|
} | undefined;
|
|
2560
2594
|
} | undefined;
|
|
@@ -2643,6 +2677,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2643
2677
|
change?: boolean | undefined;
|
|
2644
2678
|
confirm?: boolean | undefined;
|
|
2645
2679
|
loadList?: boolean | undefined;
|
|
2680
|
+
needTip?: boolean | undefined;
|
|
2646
2681
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2647
2682
|
} | undefined;
|
|
2648
2683
|
} | undefined;
|
|
@@ -2731,6 +2766,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2731
2766
|
change?: boolean | undefined;
|
|
2732
2767
|
confirm?: boolean | undefined;
|
|
2733
2768
|
loadList?: boolean | undefined;
|
|
2769
|
+
needTip?: boolean | undefined;
|
|
2734
2770
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2735
2771
|
} | undefined;
|
|
2736
2772
|
} | undefined;
|
|
@@ -2803,6 +2839,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2803
2839
|
change?: boolean | undefined;
|
|
2804
2840
|
confirm?: boolean | undefined;
|
|
2805
2841
|
loadList?: boolean | undefined;
|
|
2842
|
+
needTip?: boolean | undefined;
|
|
2806
2843
|
api?: ((data: any, type: "switch") => any) | undefined;
|
|
2807
2844
|
} | undefined;
|
|
2808
2845
|
} | undefined;
|
|
@@ -2900,6 +2937,7 @@ export declare const curdConf: (props: CurdProps) => {
|
|
|
2900
2937
|
} | undefined;
|
|
2901
2938
|
form?: {
|
|
2902
2939
|
label?: string | undefined;
|
|
2940
|
+
tip?: string | undefined;
|
|
2903
2941
|
} | undefined;
|
|
2904
2942
|
} | undefined;
|
|
2905
2943
|
show?: {
|