cc1-form 1.1.22 → 1.1.24
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 +1000 -898
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +92 -11
- package/dist/components/TCurd/com/form/list.vue.d.ts +2 -2
- package/dist/components/TCurd/index.d.ts +61 -7
- package/dist/components/TCurd/index.vue.d.ts +280 -54
- package/dist/components/TCurd/indexType.d.ts +70 -40
- package/dist/components/TCurd/tableColumn.vue.d.ts +4 -0
- package/dist/index.d.ts +2 -1
- package/dist/utils/TFormConfig.d.ts +10 -0
- package/dist/utils/TFormI18n.d.ts +2 -0
- package/dist/utils/TSys.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import TForm from '../../utils/TForm';
|
|
2
2
|
import TFormI18n from '../../utils/TFormI18n';
|
|
3
|
+
import TSys from '../../utils/TSys';
|
|
3
4
|
import type { CurdConfig } from './indexType';
|
|
4
5
|
import SwitchConfirm from './com/dialog/switchConfirm.vue';
|
|
5
6
|
import IconRefresh from './icon/refresh.vue';
|
|
@@ -9,9 +10,10 @@ import FormColumn from './formColumn.vue';
|
|
|
9
10
|
declare const EDialog: {
|
|
10
11
|
Insert: any;
|
|
11
12
|
Update: any;
|
|
13
|
+
View: any;
|
|
12
14
|
Remove: any;
|
|
13
15
|
};
|
|
14
|
-
declare const isFun: (fun: any,
|
|
16
|
+
declare const isFun: (fun: any, ...args: any[]) => any;
|
|
15
17
|
declare const conf: {
|
|
16
18
|
search: {
|
|
17
19
|
column: {
|
|
@@ -74,6 +76,21 @@ declare const conf: {
|
|
|
74
76
|
inputWidth?: string | undefined;
|
|
75
77
|
inputClass?: string | undefined;
|
|
76
78
|
} | undefined;
|
|
79
|
+
radio?: {
|
|
80
|
+
[x: string]: any;
|
|
81
|
+
on?: any;
|
|
82
|
+
data?: {
|
|
83
|
+
[x: string]: any;
|
|
84
|
+
label: string;
|
|
85
|
+
value: string;
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
88
|
+
dataApiConfig?: {
|
|
89
|
+
once: boolean;
|
|
90
|
+
init: boolean;
|
|
91
|
+
update: boolean;
|
|
92
|
+
} | undefined;
|
|
93
|
+
} | undefined;
|
|
77
94
|
} | undefined;
|
|
78
95
|
form?: {
|
|
79
96
|
labelWidth?: string | undefined;
|
|
@@ -86,7 +103,7 @@ declare const conf: {
|
|
|
86
103
|
minWidth?: string | undefined;
|
|
87
104
|
width?: string | undefined;
|
|
88
105
|
fixed?: "left" | "right" | undefined;
|
|
89
|
-
align?: "
|
|
106
|
+
align?: "center" | "left" | "right" | undefined;
|
|
90
107
|
showOverflowTooltip?: boolean | undefined;
|
|
91
108
|
format?: ((data: any) => any) | undefined;
|
|
92
109
|
click?: {
|
|
@@ -108,7 +125,7 @@ declare const conf: {
|
|
|
108
125
|
show?: {
|
|
109
126
|
table?: boolean | undefined;
|
|
110
127
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
111
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
128
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
112
129
|
} | undefined;
|
|
113
130
|
sort?: {
|
|
114
131
|
search?: number | undefined;
|
|
@@ -203,6 +220,21 @@ declare const conf: {
|
|
|
203
220
|
inputWidth?: string | undefined;
|
|
204
221
|
inputClass?: string | undefined;
|
|
205
222
|
} | undefined;
|
|
223
|
+
radio?: {
|
|
224
|
+
[x: string]: any;
|
|
225
|
+
on?: any;
|
|
226
|
+
data?: {
|
|
227
|
+
[x: string]: any;
|
|
228
|
+
label: string;
|
|
229
|
+
value: string;
|
|
230
|
+
}[] | undefined;
|
|
231
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
232
|
+
dataApiConfig?: {
|
|
233
|
+
once: boolean;
|
|
234
|
+
init: boolean;
|
|
235
|
+
update: boolean;
|
|
236
|
+
} | undefined;
|
|
237
|
+
} | undefined;
|
|
206
238
|
} | undefined;
|
|
207
239
|
form?: {
|
|
208
240
|
labelWidth?: string | undefined;
|
|
@@ -215,7 +247,7 @@ declare const conf: {
|
|
|
215
247
|
minWidth?: string | undefined;
|
|
216
248
|
width?: string | undefined;
|
|
217
249
|
fixed?: "left" | "right" | undefined;
|
|
218
|
-
align?: "
|
|
250
|
+
align?: "center" | "left" | "right" | undefined;
|
|
219
251
|
showOverflowTooltip?: boolean | undefined;
|
|
220
252
|
format?: ((data: any) => any) | undefined;
|
|
221
253
|
click?: {
|
|
@@ -237,7 +269,7 @@ declare const conf: {
|
|
|
237
269
|
show?: {
|
|
238
270
|
table?: boolean | undefined;
|
|
239
271
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
240
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
272
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
241
273
|
} | undefined;
|
|
242
274
|
sort?: {
|
|
243
275
|
search?: number | undefined;
|
|
@@ -272,7 +304,12 @@ declare const conf: {
|
|
|
272
304
|
show: boolean;
|
|
273
305
|
showContent: boolean;
|
|
274
306
|
loading: boolean;
|
|
275
|
-
type:
|
|
307
|
+
type: {
|
|
308
|
+
Insert: any;
|
|
309
|
+
Update: any;
|
|
310
|
+
View: any;
|
|
311
|
+
Remove: any;
|
|
312
|
+
};
|
|
276
313
|
form: any;
|
|
277
314
|
formDefault: any;
|
|
278
315
|
formColumn: {
|
|
@@ -335,6 +372,21 @@ declare const conf: {
|
|
|
335
372
|
inputWidth?: string | undefined;
|
|
336
373
|
inputClass?: string | undefined;
|
|
337
374
|
} | undefined;
|
|
375
|
+
radio?: {
|
|
376
|
+
[x: string]: any;
|
|
377
|
+
on?: any;
|
|
378
|
+
data?: {
|
|
379
|
+
[x: string]: any;
|
|
380
|
+
label: string;
|
|
381
|
+
value: string;
|
|
382
|
+
}[] | undefined;
|
|
383
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
384
|
+
dataApiConfig?: {
|
|
385
|
+
once: boolean;
|
|
386
|
+
init: boolean;
|
|
387
|
+
update: boolean;
|
|
388
|
+
} | undefined;
|
|
389
|
+
} | undefined;
|
|
338
390
|
} | undefined;
|
|
339
391
|
form?: {
|
|
340
392
|
labelWidth?: string | undefined;
|
|
@@ -347,7 +399,7 @@ declare const conf: {
|
|
|
347
399
|
minWidth?: string | undefined;
|
|
348
400
|
width?: string | undefined;
|
|
349
401
|
fixed?: "left" | "right" | undefined;
|
|
350
|
-
align?: "
|
|
402
|
+
align?: "center" | "left" | "right" | undefined;
|
|
351
403
|
showOverflowTooltip?: boolean | undefined;
|
|
352
404
|
format?: ((data: any) => any) | undefined;
|
|
353
405
|
click?: {
|
|
@@ -369,7 +421,7 @@ declare const conf: {
|
|
|
369
421
|
show?: {
|
|
370
422
|
table?: boolean | undefined;
|
|
371
423
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
372
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
424
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
373
425
|
} | undefined;
|
|
374
426
|
sort?: {
|
|
375
427
|
search?: number | undefined;
|
|
@@ -385,9 +437,11 @@ declare const conf: {
|
|
|
385
437
|
data: any;
|
|
386
438
|
getApiData: (form: any) => any;
|
|
387
439
|
};
|
|
440
|
+
view: {};
|
|
388
441
|
open: (type: {
|
|
389
442
|
Insert: any;
|
|
390
443
|
Update: any;
|
|
444
|
+
View: any;
|
|
391
445
|
Remove: any;
|
|
392
446
|
}, item?: any) => void;
|
|
393
447
|
submit: () => void;
|
|
@@ -432,11 +486,11 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
432
486
|
row: any;
|
|
433
487
|
}, __VLS_180: {
|
|
434
488
|
row: any;
|
|
435
|
-
},
|
|
489
|
+
}, __VLS_214: {
|
|
436
490
|
row: any;
|
|
437
|
-
},
|
|
491
|
+
}, __VLS_225: {}, __VLS_237: {
|
|
438
492
|
row: any;
|
|
439
|
-
},
|
|
493
|
+
}, __VLS_244: string, __VLS_245: {
|
|
440
494
|
row: any;
|
|
441
495
|
item: {
|
|
442
496
|
key: string;
|
|
@@ -497,6 +551,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
497
551
|
inputWidth?: string | undefined;
|
|
498
552
|
inputClass?: string | undefined;
|
|
499
553
|
} | undefined;
|
|
554
|
+
radio?: {
|
|
555
|
+
[x: string]: any;
|
|
556
|
+
on?: any;
|
|
557
|
+
data?: {
|
|
558
|
+
[x: string]: any;
|
|
559
|
+
label: string;
|
|
560
|
+
value: string;
|
|
561
|
+
}[] | undefined;
|
|
562
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
563
|
+
dataApiConfig?: {
|
|
564
|
+
once: boolean;
|
|
565
|
+
init: boolean;
|
|
566
|
+
update: boolean;
|
|
567
|
+
} | undefined;
|
|
568
|
+
} | undefined;
|
|
500
569
|
} | undefined;
|
|
501
570
|
form?: {
|
|
502
571
|
labelWidth?: string | undefined;
|
|
@@ -509,7 +578,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
509
578
|
minWidth?: string | undefined;
|
|
510
579
|
width?: string | undefined;
|
|
511
580
|
fixed?: "left" | "right" | undefined;
|
|
512
|
-
align?: "
|
|
581
|
+
align?: "center" | "left" | "right" | undefined;
|
|
513
582
|
showOverflowTooltip?: boolean | undefined;
|
|
514
583
|
format?: ((data: any) => any) | undefined;
|
|
515
584
|
click?: {
|
|
@@ -531,7 +600,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
531
600
|
show?: {
|
|
532
601
|
table?: boolean | undefined;
|
|
533
602
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
534
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
603
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
535
604
|
} | undefined;
|
|
536
605
|
sort?: {
|
|
537
606
|
search?: number | undefined;
|
|
@@ -539,7 +608,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
539
608
|
form?: number | undefined;
|
|
540
609
|
} | undefined;
|
|
541
610
|
};
|
|
542
|
-
},
|
|
611
|
+
}, __VLS_248: string, __VLS_249: {
|
|
543
612
|
row: any;
|
|
544
613
|
item: {
|
|
545
614
|
key: string;
|
|
@@ -600,6 +669,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
600
669
|
inputWidth?: string | undefined;
|
|
601
670
|
inputClass?: string | undefined;
|
|
602
671
|
} | undefined;
|
|
672
|
+
radio?: {
|
|
673
|
+
[x: string]: any;
|
|
674
|
+
on?: any;
|
|
675
|
+
data?: {
|
|
676
|
+
[x: string]: any;
|
|
677
|
+
label: string;
|
|
678
|
+
value: string;
|
|
679
|
+
}[] | undefined;
|
|
680
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
681
|
+
dataApiConfig?: {
|
|
682
|
+
once: boolean;
|
|
683
|
+
init: boolean;
|
|
684
|
+
update: boolean;
|
|
685
|
+
} | undefined;
|
|
686
|
+
} | undefined;
|
|
603
687
|
} | undefined;
|
|
604
688
|
form?: {
|
|
605
689
|
labelWidth?: string | undefined;
|
|
@@ -612,7 +696,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
612
696
|
minWidth?: string | undefined;
|
|
613
697
|
width?: string | undefined;
|
|
614
698
|
fixed?: "left" | "right" | undefined;
|
|
615
|
-
align?: "
|
|
699
|
+
align?: "center" | "left" | "right" | undefined;
|
|
616
700
|
showOverflowTooltip?: boolean | undefined;
|
|
617
701
|
format?: ((data: any) => any) | undefined;
|
|
618
702
|
click?: {
|
|
@@ -634,7 +718,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
634
718
|
show?: {
|
|
635
719
|
table?: boolean | undefined;
|
|
636
720
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
637
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
721
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
638
722
|
} | undefined;
|
|
639
723
|
sort?: {
|
|
640
724
|
search?: number | undefined;
|
|
@@ -642,7 +726,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
642
726
|
form?: number | undefined;
|
|
643
727
|
} | undefined;
|
|
644
728
|
};
|
|
645
|
-
},
|
|
729
|
+
}, __VLS_255: string, __VLS_256: {
|
|
646
730
|
row: any;
|
|
647
731
|
item: {
|
|
648
732
|
key: string;
|
|
@@ -703,6 +787,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
703
787
|
inputWidth?: string | undefined;
|
|
704
788
|
inputClass?: string | undefined;
|
|
705
789
|
} | undefined;
|
|
790
|
+
radio?: {
|
|
791
|
+
[x: string]: any;
|
|
792
|
+
on?: any;
|
|
793
|
+
data?: {
|
|
794
|
+
[x: string]: any;
|
|
795
|
+
label: string;
|
|
796
|
+
value: string;
|
|
797
|
+
}[] | undefined;
|
|
798
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
799
|
+
dataApiConfig?: {
|
|
800
|
+
once: boolean;
|
|
801
|
+
init: boolean;
|
|
802
|
+
update: boolean;
|
|
803
|
+
} | undefined;
|
|
804
|
+
} | undefined;
|
|
706
805
|
} | undefined;
|
|
707
806
|
form?: {
|
|
708
807
|
labelWidth?: string | undefined;
|
|
@@ -715,7 +814,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
715
814
|
minWidth?: string | undefined;
|
|
716
815
|
width?: string | undefined;
|
|
717
816
|
fixed?: "left" | "right" | undefined;
|
|
718
|
-
align?: "
|
|
817
|
+
align?: "center" | "left" | "right" | undefined;
|
|
719
818
|
showOverflowTooltip?: boolean | undefined;
|
|
720
819
|
format?: ((data: any) => any) | undefined;
|
|
721
820
|
click?: {
|
|
@@ -737,7 +836,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
737
836
|
show?: {
|
|
738
837
|
table?: boolean | undefined;
|
|
739
838
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
740
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
839
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
741
840
|
} | undefined;
|
|
742
841
|
sort?: {
|
|
743
842
|
search?: number | undefined;
|
|
@@ -745,7 +844,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
745
844
|
form?: number | undefined;
|
|
746
845
|
} | undefined;
|
|
747
846
|
};
|
|
748
|
-
},
|
|
847
|
+
}, __VLS_259: string, __VLS_260: {
|
|
749
848
|
row: any;
|
|
750
849
|
item: {
|
|
751
850
|
key: string;
|
|
@@ -806,6 +905,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
806
905
|
inputWidth?: string | undefined;
|
|
807
906
|
inputClass?: string | undefined;
|
|
808
907
|
} | undefined;
|
|
908
|
+
radio?: {
|
|
909
|
+
[x: string]: any;
|
|
910
|
+
on?: any;
|
|
911
|
+
data?: {
|
|
912
|
+
[x: string]: any;
|
|
913
|
+
label: string;
|
|
914
|
+
value: string;
|
|
915
|
+
}[] | undefined;
|
|
916
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
917
|
+
dataApiConfig?: {
|
|
918
|
+
once: boolean;
|
|
919
|
+
init: boolean;
|
|
920
|
+
update: boolean;
|
|
921
|
+
} | undefined;
|
|
922
|
+
} | undefined;
|
|
809
923
|
} | undefined;
|
|
810
924
|
form?: {
|
|
811
925
|
labelWidth?: string | undefined;
|
|
@@ -818,7 +932,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
818
932
|
minWidth?: string | undefined;
|
|
819
933
|
width?: string | undefined;
|
|
820
934
|
fixed?: "left" | "right" | undefined;
|
|
821
|
-
align?: "
|
|
935
|
+
align?: "center" | "left" | "right" | undefined;
|
|
822
936
|
showOverflowTooltip?: boolean | undefined;
|
|
823
937
|
format?: ((data: any) => any) | undefined;
|
|
824
938
|
click?: {
|
|
@@ -840,7 +954,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
840
954
|
show?: {
|
|
841
955
|
table?: boolean | undefined;
|
|
842
956
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
843
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
957
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
844
958
|
} | undefined;
|
|
845
959
|
sort?: {
|
|
846
960
|
search?: number | undefined;
|
|
@@ -848,7 +962,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
848
962
|
form?: number | undefined;
|
|
849
963
|
} | undefined;
|
|
850
964
|
};
|
|
851
|
-
},
|
|
965
|
+
}, __VLS_267: string, __VLS_268: {
|
|
852
966
|
row: any;
|
|
853
967
|
item: {
|
|
854
968
|
key: string;
|
|
@@ -909,6 +1023,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
909
1023
|
inputWidth?: string | undefined;
|
|
910
1024
|
inputClass?: string | undefined;
|
|
911
1025
|
} | undefined;
|
|
1026
|
+
radio?: {
|
|
1027
|
+
[x: string]: any;
|
|
1028
|
+
on?: any;
|
|
1029
|
+
data?: {
|
|
1030
|
+
[x: string]: any;
|
|
1031
|
+
label: string;
|
|
1032
|
+
value: string;
|
|
1033
|
+
}[] | undefined;
|
|
1034
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1035
|
+
dataApiConfig?: {
|
|
1036
|
+
once: boolean;
|
|
1037
|
+
init: boolean;
|
|
1038
|
+
update: boolean;
|
|
1039
|
+
} | undefined;
|
|
1040
|
+
} | undefined;
|
|
912
1041
|
} | undefined;
|
|
913
1042
|
form?: {
|
|
914
1043
|
labelWidth?: string | undefined;
|
|
@@ -921,7 +1050,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
921
1050
|
minWidth?: string | undefined;
|
|
922
1051
|
width?: string | undefined;
|
|
923
1052
|
fixed?: "left" | "right" | undefined;
|
|
924
|
-
align?: "
|
|
1053
|
+
align?: "center" | "left" | "right" | undefined;
|
|
925
1054
|
showOverflowTooltip?: boolean | undefined;
|
|
926
1055
|
format?: ((data: any) => any) | undefined;
|
|
927
1056
|
click?: {
|
|
@@ -943,7 +1072,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
943
1072
|
show?: {
|
|
944
1073
|
table?: boolean | undefined;
|
|
945
1074
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
946
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1075
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
947
1076
|
} | undefined;
|
|
948
1077
|
sort?: {
|
|
949
1078
|
search?: number | undefined;
|
|
@@ -951,7 +1080,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
951
1080
|
form?: number | undefined;
|
|
952
1081
|
} | undefined;
|
|
953
1082
|
};
|
|
954
|
-
},
|
|
1083
|
+
}, __VLS_271: string, __VLS_272: {
|
|
955
1084
|
row: any;
|
|
956
1085
|
item: {
|
|
957
1086
|
key: string;
|
|
@@ -1012,6 +1141,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1012
1141
|
inputWidth?: string | undefined;
|
|
1013
1142
|
inputClass?: string | undefined;
|
|
1014
1143
|
} | undefined;
|
|
1144
|
+
radio?: {
|
|
1145
|
+
[x: string]: any;
|
|
1146
|
+
on?: any;
|
|
1147
|
+
data?: {
|
|
1148
|
+
[x: string]: any;
|
|
1149
|
+
label: string;
|
|
1150
|
+
value: string;
|
|
1151
|
+
}[] | undefined;
|
|
1152
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1153
|
+
dataApiConfig?: {
|
|
1154
|
+
once: boolean;
|
|
1155
|
+
init: boolean;
|
|
1156
|
+
update: boolean;
|
|
1157
|
+
} | undefined;
|
|
1158
|
+
} | undefined;
|
|
1015
1159
|
} | undefined;
|
|
1016
1160
|
form?: {
|
|
1017
1161
|
labelWidth?: string | undefined;
|
|
@@ -1024,7 +1168,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1024
1168
|
minWidth?: string | undefined;
|
|
1025
1169
|
width?: string | undefined;
|
|
1026
1170
|
fixed?: "left" | "right" | undefined;
|
|
1027
|
-
align?: "
|
|
1171
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1028
1172
|
showOverflowTooltip?: boolean | undefined;
|
|
1029
1173
|
format?: ((data: any) => any) | undefined;
|
|
1030
1174
|
click?: {
|
|
@@ -1046,7 +1190,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1046
1190
|
show?: {
|
|
1047
1191
|
table?: boolean | undefined;
|
|
1048
1192
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
1049
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1193
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
1050
1194
|
} | undefined;
|
|
1051
1195
|
sort?: {
|
|
1052
1196
|
search?: number | undefined;
|
|
@@ -1054,7 +1198,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1054
1198
|
form?: number | undefined;
|
|
1055
1199
|
} | undefined;
|
|
1056
1200
|
};
|
|
1057
|
-
},
|
|
1201
|
+
}, __VLS_278: string, __VLS_279: {
|
|
1058
1202
|
row: any;
|
|
1059
1203
|
item: {
|
|
1060
1204
|
key: string;
|
|
@@ -1115,6 +1259,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1115
1259
|
inputWidth?: string | undefined;
|
|
1116
1260
|
inputClass?: string | undefined;
|
|
1117
1261
|
} | undefined;
|
|
1262
|
+
radio?: {
|
|
1263
|
+
[x: string]: any;
|
|
1264
|
+
on?: any;
|
|
1265
|
+
data?: {
|
|
1266
|
+
[x: string]: any;
|
|
1267
|
+
label: string;
|
|
1268
|
+
value: string;
|
|
1269
|
+
}[] | undefined;
|
|
1270
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1271
|
+
dataApiConfig?: {
|
|
1272
|
+
once: boolean;
|
|
1273
|
+
init: boolean;
|
|
1274
|
+
update: boolean;
|
|
1275
|
+
} | undefined;
|
|
1276
|
+
} | undefined;
|
|
1118
1277
|
} | undefined;
|
|
1119
1278
|
form?: {
|
|
1120
1279
|
labelWidth?: string | undefined;
|
|
@@ -1127,7 +1286,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1127
1286
|
minWidth?: string | undefined;
|
|
1128
1287
|
width?: string | undefined;
|
|
1129
1288
|
fixed?: "left" | "right" | undefined;
|
|
1130
|
-
align?: "
|
|
1289
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1131
1290
|
showOverflowTooltip?: boolean | undefined;
|
|
1132
1291
|
format?: ((data: any) => any) | undefined;
|
|
1133
1292
|
click?: {
|
|
@@ -1149,7 +1308,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1149
1308
|
show?: {
|
|
1150
1309
|
table?: boolean | undefined;
|
|
1151
1310
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
1152
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1311
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
1153
1312
|
} | undefined;
|
|
1154
1313
|
sort?: {
|
|
1155
1314
|
search?: number | undefined;
|
|
@@ -1157,7 +1316,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1157
1316
|
form?: number | undefined;
|
|
1158
1317
|
} | undefined;
|
|
1159
1318
|
};
|
|
1160
|
-
},
|
|
1319
|
+
}, __VLS_282: string, __VLS_283: {
|
|
1161
1320
|
row: any;
|
|
1162
1321
|
item: {
|
|
1163
1322
|
key: string;
|
|
@@ -1218,6 +1377,21 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1218
1377
|
inputWidth?: string | undefined;
|
|
1219
1378
|
inputClass?: string | undefined;
|
|
1220
1379
|
} | undefined;
|
|
1380
|
+
radio?: {
|
|
1381
|
+
[x: string]: any;
|
|
1382
|
+
on?: any;
|
|
1383
|
+
data?: {
|
|
1384
|
+
[x: string]: any;
|
|
1385
|
+
label: string;
|
|
1386
|
+
value: string;
|
|
1387
|
+
}[] | undefined;
|
|
1388
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1389
|
+
dataApiConfig?: {
|
|
1390
|
+
once: boolean;
|
|
1391
|
+
init: boolean;
|
|
1392
|
+
update: boolean;
|
|
1393
|
+
} | undefined;
|
|
1394
|
+
} | undefined;
|
|
1221
1395
|
} | undefined;
|
|
1222
1396
|
form?: {
|
|
1223
1397
|
labelWidth?: string | undefined;
|
|
@@ -1230,7 +1404,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1230
1404
|
minWidth?: string | undefined;
|
|
1231
1405
|
width?: string | undefined;
|
|
1232
1406
|
fixed?: "left" | "right" | undefined;
|
|
1233
|
-
align?: "
|
|
1407
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1234
1408
|
showOverflowTooltip?: boolean | undefined;
|
|
1235
1409
|
format?: ((data: any) => any) | undefined;
|
|
1236
1410
|
click?: {
|
|
@@ -1252,7 +1426,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1252
1426
|
show?: {
|
|
1253
1427
|
table?: boolean | undefined;
|
|
1254
1428
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
1255
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1429
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
1256
1430
|
} | undefined;
|
|
1257
1431
|
sort?: {
|
|
1258
1432
|
search?: number | undefined;
|
|
@@ -1260,7 +1434,7 @@ declare var __VLS_1: {}, __VLS_7: {
|
|
|
1260
1434
|
form?: number | undefined;
|
|
1261
1435
|
} | undefined;
|
|
1262
1436
|
};
|
|
1263
|
-
},
|
|
1437
|
+
}, __VLS_285: {
|
|
1264
1438
|
row: any;
|
|
1265
1439
|
};
|
|
1266
1440
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
@@ -1270,21 +1444,21 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
1270
1444
|
} & {
|
|
1271
1445
|
[K in NonNullable<typeof __VLS_153>]?: (props: typeof __VLS_154) => any;
|
|
1272
1446
|
} & {
|
|
1273
|
-
[K in NonNullable<typeof
|
|
1447
|
+
[K in NonNullable<typeof __VLS_244>]?: (props: typeof __VLS_245) => any;
|
|
1274
1448
|
} & {
|
|
1275
|
-
[K in NonNullable<typeof
|
|
1449
|
+
[K in NonNullable<typeof __VLS_248>]?: (props: typeof __VLS_249) => any;
|
|
1276
1450
|
} & {
|
|
1277
|
-
[K in NonNullable<typeof
|
|
1278
|
-
} & {
|
|
1279
|
-
[K in NonNullable<typeof __VLS_251>]?: (props: typeof __VLS_252) => any;
|
|
1451
|
+
[K in NonNullable<typeof __VLS_255>]?: (props: typeof __VLS_256) => any;
|
|
1280
1452
|
} & {
|
|
1281
1453
|
[K in NonNullable<typeof __VLS_259>]?: (props: typeof __VLS_260) => any;
|
|
1282
1454
|
} & {
|
|
1283
|
-
[K in NonNullable<typeof
|
|
1455
|
+
[K in NonNullable<typeof __VLS_267>]?: (props: typeof __VLS_268) => any;
|
|
1456
|
+
} & {
|
|
1457
|
+
[K in NonNullable<typeof __VLS_271>]?: (props: typeof __VLS_272) => any;
|
|
1284
1458
|
} & {
|
|
1285
|
-
[K in NonNullable<typeof
|
|
1459
|
+
[K in NonNullable<typeof __VLS_278>]?: (props: typeof __VLS_279) => any;
|
|
1286
1460
|
} & {
|
|
1287
|
-
[K in NonNullable<typeof
|
|
1461
|
+
[K in NonNullable<typeof __VLS_282>]?: (props: typeof __VLS_283) => any;
|
|
1288
1462
|
} & {
|
|
1289
1463
|
'box-left'?: (props: typeof __VLS_1) => any;
|
|
1290
1464
|
} & {
|
|
@@ -1304,13 +1478,13 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
1304
1478
|
} & {
|
|
1305
1479
|
'table-op-edit-right'?: (props: typeof __VLS_180) => any;
|
|
1306
1480
|
} & {
|
|
1307
|
-
'table-op-right'?: (props: typeof
|
|
1481
|
+
'table-op-right'?: (props: typeof __VLS_214) => any;
|
|
1308
1482
|
} & {
|
|
1309
|
-
'box-right'?: (props: typeof
|
|
1483
|
+
'box-right'?: (props: typeof __VLS_225) => any;
|
|
1310
1484
|
} & {
|
|
1311
|
-
'form-start'?: (props: typeof
|
|
1485
|
+
'form-start'?: (props: typeof __VLS_237) => any;
|
|
1312
1486
|
} & {
|
|
1313
|
-
'form-end'?: (props: typeof
|
|
1487
|
+
'form-end'?: (props: typeof __VLS_285) => any;
|
|
1314
1488
|
}>;
|
|
1315
1489
|
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1316
1490
|
/**
|
|
@@ -1425,6 +1599,21 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1425
1599
|
inputWidth?: string | undefined;
|
|
1426
1600
|
inputClass?: string | undefined;
|
|
1427
1601
|
} | undefined;
|
|
1602
|
+
radio?: {
|
|
1603
|
+
[x: string]: any;
|
|
1604
|
+
on?: any;
|
|
1605
|
+
data?: {
|
|
1606
|
+
[x: string]: any;
|
|
1607
|
+
label: string;
|
|
1608
|
+
value: string;
|
|
1609
|
+
}[] | undefined;
|
|
1610
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1611
|
+
dataApiConfig?: {
|
|
1612
|
+
once: boolean;
|
|
1613
|
+
init: boolean;
|
|
1614
|
+
update: boolean;
|
|
1615
|
+
} | undefined;
|
|
1616
|
+
} | undefined;
|
|
1428
1617
|
} | undefined;
|
|
1429
1618
|
form?: {
|
|
1430
1619
|
labelWidth?: string | undefined;
|
|
@@ -1437,7 +1626,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1437
1626
|
minWidth?: string | undefined;
|
|
1438
1627
|
width?: string | undefined;
|
|
1439
1628
|
fixed?: "left" | "right" | undefined;
|
|
1440
|
-
align?: "
|
|
1629
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1441
1630
|
showOverflowTooltip?: boolean | undefined;
|
|
1442
1631
|
format?: ((data: any) => any) | undefined;
|
|
1443
1632
|
click?: {
|
|
@@ -1459,7 +1648,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1459
1648
|
show?: {
|
|
1460
1649
|
table?: boolean | undefined;
|
|
1461
1650
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
1462
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1651
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
1463
1652
|
} | undefined;
|
|
1464
1653
|
sort?: {
|
|
1465
1654
|
search?: number | undefined;
|
|
@@ -1554,6 +1743,21 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1554
1743
|
inputWidth?: string | undefined;
|
|
1555
1744
|
inputClass?: string | undefined;
|
|
1556
1745
|
} | undefined;
|
|
1746
|
+
radio?: {
|
|
1747
|
+
[x: string]: any;
|
|
1748
|
+
on?: any;
|
|
1749
|
+
data?: {
|
|
1750
|
+
[x: string]: any;
|
|
1751
|
+
label: string;
|
|
1752
|
+
value: string;
|
|
1753
|
+
}[] | undefined;
|
|
1754
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1755
|
+
dataApiConfig?: {
|
|
1756
|
+
once: boolean;
|
|
1757
|
+
init: boolean;
|
|
1758
|
+
update: boolean;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
} | undefined;
|
|
1557
1761
|
} | undefined;
|
|
1558
1762
|
form?: {
|
|
1559
1763
|
labelWidth?: string | undefined;
|
|
@@ -1566,7 +1770,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1566
1770
|
minWidth?: string | undefined;
|
|
1567
1771
|
width?: string | undefined;
|
|
1568
1772
|
fixed?: "left" | "right" | undefined;
|
|
1569
|
-
align?: "
|
|
1773
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1570
1774
|
showOverflowTooltip?: boolean | undefined;
|
|
1571
1775
|
format?: ((data: any) => any) | undefined;
|
|
1572
1776
|
click?: {
|
|
@@ -1588,7 +1792,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1588
1792
|
show?: {
|
|
1589
1793
|
table?: boolean | undefined;
|
|
1590
1794
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
1591
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1795
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
1592
1796
|
} | undefined;
|
|
1593
1797
|
sort?: {
|
|
1594
1798
|
search?: number | undefined;
|
|
@@ -1623,7 +1827,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1623
1827
|
show: boolean;
|
|
1624
1828
|
showContent: boolean;
|
|
1625
1829
|
loading: boolean;
|
|
1626
|
-
type:
|
|
1830
|
+
type: {
|
|
1831
|
+
Insert: any;
|
|
1832
|
+
Update: any;
|
|
1833
|
+
View: any;
|
|
1834
|
+
Remove: any;
|
|
1835
|
+
};
|
|
1627
1836
|
form: any;
|
|
1628
1837
|
formDefault: any;
|
|
1629
1838
|
formColumn: {
|
|
@@ -1686,6 +1895,21 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1686
1895
|
inputWidth?: string | undefined;
|
|
1687
1896
|
inputClass?: string | undefined;
|
|
1688
1897
|
} | undefined;
|
|
1898
|
+
radio?: {
|
|
1899
|
+
[x: string]: any;
|
|
1900
|
+
on?: any;
|
|
1901
|
+
data?: {
|
|
1902
|
+
[x: string]: any;
|
|
1903
|
+
label: string;
|
|
1904
|
+
value: string;
|
|
1905
|
+
}[] | undefined;
|
|
1906
|
+
dataApi?: ((param?: any) => import("./indexType").CurdSelectData[] | Promise<import("./indexType").CurdSelectData[]> | boolean) | undefined;
|
|
1907
|
+
dataApiConfig?: {
|
|
1908
|
+
once: boolean;
|
|
1909
|
+
init: boolean;
|
|
1910
|
+
update: boolean;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
} | undefined;
|
|
1689
1913
|
} | undefined;
|
|
1690
1914
|
form?: {
|
|
1691
1915
|
labelWidth?: string | undefined;
|
|
@@ -1698,7 +1922,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1698
1922
|
minWidth?: string | undefined;
|
|
1699
1923
|
width?: string | undefined;
|
|
1700
1924
|
fixed?: "left" | "right" | undefined;
|
|
1701
|
-
align?: "
|
|
1925
|
+
align?: "center" | "left" | "right" | undefined;
|
|
1702
1926
|
showOverflowTooltip?: boolean | undefined;
|
|
1703
1927
|
format?: ((data: any) => any) | undefined;
|
|
1704
1928
|
click?: {
|
|
@@ -1720,7 +1944,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1720
1944
|
show?: {
|
|
1721
1945
|
table?: boolean | undefined;
|
|
1722
1946
|
search?: boolean | ((data: any) => boolean) | undefined;
|
|
1723
|
-
form?: boolean | ((data: any) => boolean) | undefined;
|
|
1947
|
+
form?: boolean | ((data: any, type: typeof TSys.EDialog.Insert | typeof TSys.EDialog.Update | typeof TSys.EDialog.View) => boolean) | undefined;
|
|
1724
1948
|
} | undefined;
|
|
1725
1949
|
sort?: {
|
|
1726
1950
|
search?: number | undefined;
|
|
@@ -1736,9 +1960,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
1736
1960
|
data: any;
|
|
1737
1961
|
getApiData: (form: any) => any;
|
|
1738
1962
|
};
|
|
1963
|
+
view: {};
|
|
1739
1964
|
open: (type: {
|
|
1740
1965
|
Insert: any;
|
|
1741
1966
|
Update: any;
|
|
1967
|
+
View: any;
|
|
1742
1968
|
Remove: any;
|
|
1743
1969
|
}, item?: any) => void;
|
|
1744
1970
|
submit: () => void;
|