@dt-frames/ui 2.0.2 → 2.0.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.
- package/es/components/container/index.d.ts +4 -3
- package/es/components/container/index.js +24 -22
- package/es/components/container/src/slot-container.d.ts +5 -3
- package/es/components/curd/index.js +304 -282
- package/es/components/curd/src/components/Curd.d.ts +126 -331
- package/es/components/curd/src/props.d.ts +14 -15
- package/es/components/drawer/index.d.ts +2 -4
- package/es/components/drawer/index.js +64 -63
- package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
- package/es/components/drawer/src/index.d.ts +2 -4
- package/es/components/form/index.d.ts +196 -344
- package/es/components/form/index.js +140 -139
- package/es/components/form/src/components/FormButtons.d.ts +3 -3
- package/es/components/form/src/components/FormItem.d.ts +156 -304
- package/es/components/form/src/components/formIcon.d.ts +10 -10
- package/es/components/form/src/components/formInputUseDialog.d.ts +5 -5
- package/es/components/form/src/index.d.ts +186 -334
- package/es/components/form/src/props.d.ts +7 -7
- package/es/components/form/src/types/form.type.d.ts +1 -1
- package/es/components/icons/index.d.ts +496 -2
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/modal/index.js +87 -86
- package/es/components/modal/src/components/Modal.d.ts +108 -215
- package/es/components/modal/src/index.d.ts +107 -214
- package/es/components/source/index.js +1 -0
- package/es/components/table/index.js +357 -788
- package/es/components/table/index.less +9 -0
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/components/TableHeader.d.ts +109 -216
- package/es/components/table/src/components/TableRender.d.ts +13 -9
- package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
- package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
- package/es/components/table/src/hooks/usePagination.d.ts +3 -118
- package/es/components/table/src/index.d.ts +79 -425
- package/es/components/table/src/props.d.ts +11 -70
- package/es/components/table/src/types/actions.type.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +9 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -3240
- package/es/theme/index.js +406 -393
- package/es/theme/src/components/header/components/logo.d.ts +0 -1
- package/es/theme/src/components/header/components/notify.d.ts +4 -3
- package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
- package/es/theme/src/components/header/components/size.d.ts +5 -5
- package/es/theme/src/components/header/components/user-info.d.ts +4 -3
- package/es/theme/src/components/header/index.d.ts +13 -12
- package/es/theme/src/components/header/multiple-header.d.ts +26 -28
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +27 -28
- package/es/theme/src/types/theme.type.d.ts +1 -1
- package/package.json +3 -2
- package/vite.config.ts +0 -27
|
@@ -8,7 +8,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
8
8
|
};
|
|
9
9
|
schemas: {
|
|
10
10
|
type: import("vue").PropType<import("../../../form/src/types/form.type").FormSchema[]>;
|
|
11
|
-
default: any[];
|
|
11
|
+
default: () => any[];
|
|
12
12
|
};
|
|
13
13
|
footer: {
|
|
14
14
|
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
@@ -34,7 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
};
|
|
35
35
|
model: {
|
|
36
36
|
type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
|
|
37
|
-
default: {};
|
|
37
|
+
default: () => {};
|
|
38
38
|
};
|
|
39
39
|
layout: {
|
|
40
40
|
type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
|
|
@@ -54,11 +54,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
54
54
|
};
|
|
55
55
|
labelCol: {
|
|
56
56
|
type: import("vue").PropType<Partial<import("../../../form/src/types/form.type").ColEx>>;
|
|
57
|
-
default: () =>
|
|
57
|
+
default: () => {};
|
|
58
58
|
};
|
|
59
59
|
wrapperCol: {
|
|
60
60
|
type: import("vue").PropType<Partial<import("../../../form/src/types/form.type").ColEx>>;
|
|
61
|
-
default: () =>
|
|
61
|
+
default: () => {};
|
|
62
62
|
};
|
|
63
63
|
rowProps: {
|
|
64
64
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -74,11 +74,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
74
74
|
default: any;
|
|
75
75
|
};
|
|
76
76
|
}>>>;
|
|
77
|
-
default: () =>
|
|
77
|
+
default: () => {};
|
|
78
78
|
};
|
|
79
79
|
colProps: {
|
|
80
80
|
type: import("vue").PropType<Partial<import("../../../form/src/types/form.type").ColEx>>;
|
|
81
|
-
default: () =>
|
|
81
|
+
default: () => {};
|
|
82
82
|
};
|
|
83
83
|
size: {
|
|
84
84
|
type: import("vue").PropType<"small" | "middle" | "large">;
|
|
@@ -163,15 +163,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
163
163
|
};
|
|
164
164
|
onSave: {
|
|
165
165
|
type: import("vue").PropType<() => void>;
|
|
166
|
-
default: () =>
|
|
166
|
+
default: () => {};
|
|
167
167
|
};
|
|
168
168
|
onDeletes: {
|
|
169
169
|
type: import("vue").PropType<(keys: import("ant-design-vue/es/table/interface").Key[]) => void>;
|
|
170
|
-
default: (keys: import("ant-design-vue/es/table/interface").Key[]) =>
|
|
170
|
+
default: (keys: import("ant-design-vue/es/table/interface").Key[]) => {};
|
|
171
171
|
};
|
|
172
172
|
onQueryById: {
|
|
173
173
|
type: import("vue").PropType<(id: import("ant-design-vue/es/table/interface").Key) => Promise<any>>;
|
|
174
|
-
default: (id: import("ant-design-vue/es/table/interface").Key) =>
|
|
174
|
+
default: (id: import("ant-design-vue/es/table/interface").Key) => {};
|
|
175
175
|
};
|
|
176
176
|
onRegister: {
|
|
177
177
|
type: import("vue").PropType<import("../../../modal/src/types/modal.type").RegisterFn>;
|
|
@@ -182,104 +182,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
182
182
|
}, {
|
|
183
183
|
props: any;
|
|
184
184
|
registerDialog: import("../../../modal/src/types/modal.type").RegisterFn;
|
|
185
|
-
setModalProps: (props: Partial<import("vue").ExtractPropTypes<{
|
|
186
|
-
t: {
|
|
187
|
-
type: StringConstructor;
|
|
188
|
-
};
|
|
189
|
-
visible: {
|
|
190
|
-
type: BooleanConstructor;
|
|
191
|
-
};
|
|
192
|
-
closable: {
|
|
193
|
-
type: BooleanConstructor;
|
|
194
|
-
default: boolean;
|
|
195
|
-
};
|
|
196
|
-
destroyOnClose: {
|
|
197
|
-
type: BooleanConstructor;
|
|
198
|
-
};
|
|
199
|
-
scrollTop: {
|
|
200
|
-
type: BooleanConstructor;
|
|
201
|
-
default: boolean;
|
|
202
|
-
};
|
|
203
|
-
height: {
|
|
204
|
-
type: NumberConstructor;
|
|
205
|
-
};
|
|
206
|
-
minHeight: {
|
|
207
|
-
type: NumberConstructor;
|
|
208
|
-
};
|
|
209
|
-
width: {
|
|
210
|
-
type: import("vue").PropType<String | Number>;
|
|
211
|
-
};
|
|
212
|
-
draggable: {
|
|
213
|
-
type: BooleanConstructor;
|
|
214
|
-
default: boolean;
|
|
215
|
-
};
|
|
216
|
-
defaultFullscreen: {
|
|
217
|
-
type: BooleanConstructor;
|
|
218
|
-
};
|
|
219
|
-
canFullscreen: {
|
|
220
|
-
type: BooleanConstructor;
|
|
221
|
-
default: boolean;
|
|
222
|
-
};
|
|
223
|
-
title: {
|
|
224
|
-
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
225
|
-
};
|
|
226
|
-
loading: {
|
|
227
|
-
type: BooleanConstructor;
|
|
228
|
-
default: boolean;
|
|
229
|
-
};
|
|
230
|
-
loadingTip: {
|
|
231
|
-
type: StringConstructor;
|
|
232
|
-
default: string;
|
|
233
|
-
};
|
|
234
|
-
useWrapper: {
|
|
235
|
-
type: BooleanConstructor;
|
|
236
|
-
default: boolean;
|
|
237
|
-
};
|
|
238
|
-
wrapClassName: {
|
|
239
|
-
type: StringConstructor;
|
|
240
|
-
};
|
|
241
|
-
zIndex: {
|
|
242
|
-
type: NumberConstructor;
|
|
243
|
-
};
|
|
244
|
-
centered: {
|
|
245
|
-
type: BooleanConstructor;
|
|
246
|
-
};
|
|
247
|
-
showOkBtn: {
|
|
248
|
-
type: BooleanConstructor;
|
|
249
|
-
default: boolean;
|
|
250
|
-
};
|
|
251
|
-
showCancelBtn: {
|
|
252
|
-
type: BooleanConstructor;
|
|
253
|
-
default: boolean;
|
|
254
|
-
};
|
|
255
|
-
okText: {
|
|
256
|
-
type: StringConstructor;
|
|
257
|
-
};
|
|
258
|
-
cancelText: {
|
|
259
|
-
type: StringConstructor;
|
|
260
|
-
};
|
|
261
|
-
mask: {
|
|
262
|
-
type: BooleanConstructor;
|
|
263
|
-
default: boolean;
|
|
264
|
-
};
|
|
265
|
-
maskClosable: {
|
|
266
|
-
type: BooleanConstructor;
|
|
267
|
-
default: boolean;
|
|
268
|
-
};
|
|
269
|
-
keyboard: {
|
|
270
|
-
type: BooleanConstructor;
|
|
271
|
-
default: boolean;
|
|
272
|
-
};
|
|
273
|
-
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
274
|
-
footer: {
|
|
275
|
-
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
276
|
-
};
|
|
277
|
-
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
278
|
-
wrapperProps: ObjectConstructor;
|
|
279
|
-
getContainer: import("vue").PropType<() => any>;
|
|
280
|
-
closeFunc: import("vue").PropType<() => Promise<boolean>>;
|
|
281
|
-
afterClose: FunctionConstructor;
|
|
282
|
-
}>>) => void;
|
|
283
185
|
handleSave: () => void;
|
|
284
186
|
readonly DtModal: import("vue").DefineComponent<{
|
|
285
187
|
t: {
|
|
@@ -592,220 +494,113 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
592
494
|
handleSave: () => void;
|
|
593
495
|
handleCancel: (e?: Event) => Promise<void>;
|
|
594
496
|
readonly omit: any;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
};
|
|
703
|
-
destroyOnClose: {
|
|
704
|
-
type: BooleanConstructor;
|
|
705
|
-
};
|
|
706
|
-
scrollTop: {
|
|
707
|
-
type: BooleanConstructor;
|
|
708
|
-
default: boolean;
|
|
709
|
-
};
|
|
710
|
-
height: {
|
|
711
|
-
type: NumberConstructor;
|
|
712
|
-
};
|
|
713
|
-
minHeight: {
|
|
714
|
-
type: NumberConstructor;
|
|
715
|
-
};
|
|
716
|
-
width: {
|
|
717
|
-
type: import("vue").PropType<String | Number>;
|
|
718
|
-
};
|
|
719
|
-
draggable: {
|
|
720
|
-
type: BooleanConstructor;
|
|
721
|
-
default: boolean;
|
|
722
|
-
};
|
|
723
|
-
defaultFullscreen: {
|
|
724
|
-
type: BooleanConstructor;
|
|
725
|
-
};
|
|
726
|
-
canFullscreen: {
|
|
727
|
-
type: BooleanConstructor;
|
|
728
|
-
default: boolean;
|
|
729
|
-
};
|
|
730
|
-
title: {
|
|
731
|
-
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
732
|
-
};
|
|
733
|
-
loading: {
|
|
734
|
-
type: BooleanConstructor;
|
|
735
|
-
default: boolean;
|
|
736
|
-
};
|
|
737
|
-
loadingTip: {
|
|
738
|
-
type: StringConstructor;
|
|
739
|
-
default: string;
|
|
740
|
-
};
|
|
741
|
-
useWrapper: {
|
|
742
|
-
type: BooleanConstructor;
|
|
743
|
-
default: boolean;
|
|
744
|
-
};
|
|
745
|
-
wrapClassName: {
|
|
746
|
-
type: StringConstructor;
|
|
747
|
-
};
|
|
748
|
-
zIndex: {
|
|
749
|
-
type: NumberConstructor;
|
|
750
|
-
};
|
|
751
|
-
centered: {
|
|
752
|
-
type: BooleanConstructor;
|
|
753
|
-
};
|
|
754
|
-
showOkBtn: {
|
|
755
|
-
type: BooleanConstructor;
|
|
756
|
-
default: boolean;
|
|
757
|
-
};
|
|
758
|
-
showCancelBtn: {
|
|
759
|
-
type: BooleanConstructor;
|
|
760
|
-
default: boolean;
|
|
761
|
-
};
|
|
762
|
-
okText: {
|
|
763
|
-
type: StringConstructor;
|
|
764
|
-
};
|
|
765
|
-
cancelText: {
|
|
766
|
-
type: StringConstructor;
|
|
767
|
-
};
|
|
768
|
-
mask: {
|
|
769
|
-
type: BooleanConstructor;
|
|
770
|
-
default: boolean;
|
|
771
|
-
};
|
|
772
|
-
maskClosable: {
|
|
773
|
-
type: BooleanConstructor;
|
|
774
|
-
default: boolean;
|
|
775
|
-
};
|
|
776
|
-
keyboard: {
|
|
777
|
-
type: BooleanConstructor;
|
|
778
|
-
default: boolean;
|
|
779
|
-
};
|
|
780
|
-
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
781
|
-
footer: {
|
|
782
|
-
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
783
|
-
};
|
|
784
|
-
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
785
|
-
wrapperProps: ObjectConstructor;
|
|
786
|
-
getContainer: import("vue").PropType<() => any>;
|
|
787
|
-
closeFunc: import("vue").PropType<() => Promise<boolean>>;
|
|
788
|
-
afterClose: FunctionConstructor;
|
|
789
|
-
}>> & {
|
|
790
|
-
onCancel?: (...args: any[]) => any;
|
|
791
|
-
}, {
|
|
792
|
-
loading: boolean;
|
|
793
|
-
visible: boolean;
|
|
794
|
-
mask: boolean;
|
|
795
|
-
closable: boolean;
|
|
796
|
-
destroyOnClose: boolean;
|
|
797
|
-
scrollTop: boolean;
|
|
798
|
-
draggable: boolean;
|
|
799
|
-
defaultFullscreen: boolean;
|
|
800
|
-
canFullscreen: boolean;
|
|
801
|
-
loadingTip: string;
|
|
802
|
-
useWrapper: boolean;
|
|
803
|
-
centered: boolean;
|
|
804
|
-
showOkBtn: boolean;
|
|
805
|
-
showCancelBtn: boolean;
|
|
806
|
-
maskClosable: boolean;
|
|
807
|
-
keyboard: boolean;
|
|
808
|
-
}>;
|
|
497
|
+
Modal: {
|
|
498
|
+
name: string;
|
|
499
|
+
inheritAttrs: boolean;
|
|
500
|
+
props: {
|
|
501
|
+
t: {
|
|
502
|
+
type: StringConstructor;
|
|
503
|
+
};
|
|
504
|
+
visible: {
|
|
505
|
+
type: BooleanConstructor;
|
|
506
|
+
};
|
|
507
|
+
closable: {
|
|
508
|
+
type: BooleanConstructor;
|
|
509
|
+
default: boolean;
|
|
510
|
+
};
|
|
511
|
+
destroyOnClose: {
|
|
512
|
+
type: BooleanConstructor;
|
|
513
|
+
};
|
|
514
|
+
scrollTop: {
|
|
515
|
+
type: BooleanConstructor;
|
|
516
|
+
default: boolean;
|
|
517
|
+
};
|
|
518
|
+
height: {
|
|
519
|
+
type: NumberConstructor;
|
|
520
|
+
};
|
|
521
|
+
minHeight: {
|
|
522
|
+
type: NumberConstructor;
|
|
523
|
+
};
|
|
524
|
+
width: {
|
|
525
|
+
type: import("vue").PropType<String | Number>;
|
|
526
|
+
};
|
|
527
|
+
draggable: {
|
|
528
|
+
type: BooleanConstructor;
|
|
529
|
+
default: boolean;
|
|
530
|
+
};
|
|
531
|
+
defaultFullscreen: {
|
|
532
|
+
type: BooleanConstructor;
|
|
533
|
+
};
|
|
534
|
+
canFullscreen: {
|
|
535
|
+
type: BooleanConstructor;
|
|
536
|
+
default: boolean;
|
|
537
|
+
};
|
|
538
|
+
title: {
|
|
539
|
+
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
540
|
+
};
|
|
541
|
+
loading: {
|
|
542
|
+
type: BooleanConstructor;
|
|
543
|
+
default: boolean;
|
|
544
|
+
};
|
|
545
|
+
loadingTip: {
|
|
546
|
+
type: StringConstructor;
|
|
547
|
+
default: string;
|
|
548
|
+
};
|
|
549
|
+
useWrapper: {
|
|
550
|
+
type: BooleanConstructor;
|
|
551
|
+
default: boolean;
|
|
552
|
+
};
|
|
553
|
+
wrapClassName: {
|
|
554
|
+
type: StringConstructor;
|
|
555
|
+
};
|
|
556
|
+
zIndex: {
|
|
557
|
+
type: NumberConstructor;
|
|
558
|
+
};
|
|
559
|
+
centered: {
|
|
560
|
+
type: BooleanConstructor;
|
|
561
|
+
};
|
|
562
|
+
showOkBtn: {
|
|
563
|
+
type: BooleanConstructor;
|
|
564
|
+
default: boolean;
|
|
565
|
+
};
|
|
566
|
+
showCancelBtn: {
|
|
567
|
+
type: BooleanConstructor;
|
|
568
|
+
default: boolean;
|
|
569
|
+
};
|
|
570
|
+
okText: {
|
|
571
|
+
type: StringConstructor;
|
|
572
|
+
};
|
|
573
|
+
cancelText: {
|
|
574
|
+
type: StringConstructor;
|
|
575
|
+
};
|
|
576
|
+
mask: {
|
|
577
|
+
type: BooleanConstructor;
|
|
578
|
+
default: boolean;
|
|
579
|
+
};
|
|
580
|
+
maskClosable: {
|
|
581
|
+
type: BooleanConstructor;
|
|
582
|
+
default: boolean;
|
|
583
|
+
};
|
|
584
|
+
keyboard: {
|
|
585
|
+
type: BooleanConstructor;
|
|
586
|
+
default: boolean;
|
|
587
|
+
};
|
|
588
|
+
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
589
|
+
footer: {
|
|
590
|
+
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
591
|
+
};
|
|
592
|
+
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
593
|
+
wrapperProps: ObjectConstructor;
|
|
594
|
+
getContainer: import("vue").PropType<() => any>;
|
|
595
|
+
closeFunc: import("vue").PropType<() => Promise<boolean>>;
|
|
596
|
+
afterClose: FunctionConstructor;
|
|
597
|
+
};
|
|
598
|
+
emits: string[];
|
|
599
|
+
setup(props: any, { slots, emit }: {
|
|
600
|
+
slots: any;
|
|
601
|
+
emit: any;
|
|
602
|
+
}): () => JSX.Element;
|
|
603
|
+
};
|
|
809
604
|
CloseIcon: import("vue").DefineComponent<{
|
|
810
605
|
canFullscreen: {
|
|
811
606
|
type: BooleanConstructor;
|
|
@@ -1265,7 +1060,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1265
1060
|
};
|
|
1266
1061
|
schemas: {
|
|
1267
1062
|
type: import("vue").PropType<import("../../../form/src/types/form.type").FormSchema[]>;
|
|
1268
|
-
default: any[];
|
|
1063
|
+
default: () => any[];
|
|
1269
1064
|
};
|
|
1270
1065
|
footer: {
|
|
1271
1066
|
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
@@ -1291,7 +1086,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1291
1086
|
};
|
|
1292
1087
|
model: {
|
|
1293
1088
|
type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
|
|
1294
|
-
default: {};
|
|
1089
|
+
default: () => {};
|
|
1295
1090
|
};
|
|
1296
1091
|
layout: {
|
|
1297
1092
|
type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
|
|
@@ -1311,11 +1106,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1311
1106
|
};
|
|
1312
1107
|
labelCol: {
|
|
1313
1108
|
type: import("vue").PropType<Partial<import("../../../form/src/types/form.type").ColEx>>;
|
|
1314
|
-
default: () =>
|
|
1109
|
+
default: () => {};
|
|
1315
1110
|
};
|
|
1316
1111
|
wrapperCol: {
|
|
1317
1112
|
type: import("vue").PropType<Partial<import("../../../form/src/types/form.type").ColEx>>;
|
|
1318
|
-
default: () =>
|
|
1113
|
+
default: () => {};
|
|
1319
1114
|
};
|
|
1320
1115
|
rowProps: {
|
|
1321
1116
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -1331,11 +1126,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1331
1126
|
default: any;
|
|
1332
1127
|
};
|
|
1333
1128
|
}>>>;
|
|
1334
|
-
default: () =>
|
|
1129
|
+
default: () => {};
|
|
1335
1130
|
};
|
|
1336
1131
|
colProps: {
|
|
1337
1132
|
type: import("vue").PropType<Partial<import("../../../form/src/types/form.type").ColEx>>;
|
|
1338
|
-
default: () =>
|
|
1133
|
+
default: () => {};
|
|
1339
1134
|
};
|
|
1340
1135
|
size: {
|
|
1341
1136
|
type: import("vue").PropType<"small" | "middle" | "large">;
|
|
@@ -1420,15 +1215,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1420
1215
|
};
|
|
1421
1216
|
onSave: {
|
|
1422
1217
|
type: import("vue").PropType<() => void>;
|
|
1423
|
-
default: () =>
|
|
1218
|
+
default: () => {};
|
|
1424
1219
|
};
|
|
1425
1220
|
onDeletes: {
|
|
1426
1221
|
type: import("vue").PropType<(keys: import("ant-design-vue/es/table/interface").Key[]) => void>;
|
|
1427
|
-
default: (keys: import("ant-design-vue/es/table/interface").Key[]) =>
|
|
1222
|
+
default: (keys: import("ant-design-vue/es/table/interface").Key[]) => {};
|
|
1428
1223
|
};
|
|
1429
1224
|
onQueryById: {
|
|
1430
1225
|
type: import("vue").PropType<(id: import("ant-design-vue/es/table/interface").Key) => Promise<any>>;
|
|
1431
|
-
default: (id: import("ant-design-vue/es/table/interface").Key) =>
|
|
1226
|
+
default: (id: import("ant-design-vue/es/table/interface").Key) => {};
|
|
1432
1227
|
};
|
|
1433
1228
|
onRegister: {
|
|
1434
1229
|
type: import("vue").PropType<import("../../../modal/src/types/modal.type").RegisterFn>;
|
|
@@ -1439,11 +1234,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1439
1234
|
}>>, {
|
|
1440
1235
|
schemas: import("../../../form/src/types/form.type").FormSchema[];
|
|
1441
1236
|
width: String | Number;
|
|
1442
|
-
formProps: {};
|
|
1443
1237
|
onSave: () => void;
|
|
1444
1238
|
footer: import("../../../form/src/types/form.type").ButtonProps[];
|
|
1445
1239
|
showFullscreen: boolean;
|
|
1446
1240
|
showClosable: boolean;
|
|
1241
|
+
formProps: {};
|
|
1447
1242
|
primaryKey: String | Number;
|
|
1448
1243
|
onDeletes: (keys: import("ant-design-vue/es/table/interface").Key[]) => void;
|
|
1449
1244
|
onQueryById: (id: import("ant-design-vue/es/table/interface").Key) => Promise<any>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonProps, FormSchema } from '../../form/src/types/form.type';
|
|
2
|
-
import { Recordable } from "@dt-frames/core";
|
|
3
2
|
import { Key } from "ant-design-vue/es/table/interface";
|
|
4
3
|
import { ComputedRef, PropType, Ref } from "vue";
|
|
5
4
|
import { CurdActionType } from "./types/curd.type";
|
|
@@ -14,7 +13,7 @@ export declare const basicProps: {
|
|
|
14
13
|
};
|
|
15
14
|
schemas: {
|
|
16
15
|
type: PropType<FormSchema[]>;
|
|
17
|
-
default: any[];
|
|
16
|
+
default: () => any[];
|
|
18
17
|
};
|
|
19
18
|
footer: {
|
|
20
19
|
type: PropType<ButtonProps[]>;
|
|
@@ -39,8 +38,8 @@ export declare const basicProps: {
|
|
|
39
38
|
default: boolean;
|
|
40
39
|
};
|
|
41
40
|
model: {
|
|
42
|
-
type: PropType<Recordable<any>>;
|
|
43
|
-
default: {};
|
|
41
|
+
type: PropType<import("@dt-frames/core").Recordable<any>>;
|
|
42
|
+
default: () => {};
|
|
44
43
|
};
|
|
45
44
|
layout: {
|
|
46
45
|
type: PropType<"vertical" | "horizontal" | "inline">;
|
|
@@ -60,11 +59,11 @@ export declare const basicProps: {
|
|
|
60
59
|
};
|
|
61
60
|
labelCol: {
|
|
62
61
|
type: PropType<Partial<import('../../form/src/types/form.type').ColEx>>;
|
|
63
|
-
default: () =>
|
|
62
|
+
default: () => {};
|
|
64
63
|
};
|
|
65
64
|
wrapperCol: {
|
|
66
65
|
type: PropType<Partial<import('../../form/src/types/form.type').ColEx>>;
|
|
67
|
-
default: () =>
|
|
66
|
+
default: () => {};
|
|
68
67
|
};
|
|
69
68
|
rowProps: {
|
|
70
69
|
type: PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -80,11 +79,11 @@ export declare const basicProps: {
|
|
|
80
79
|
default: any;
|
|
81
80
|
};
|
|
82
81
|
}>>>;
|
|
83
|
-
default: () =>
|
|
82
|
+
default: () => {};
|
|
84
83
|
};
|
|
85
84
|
colProps: {
|
|
86
85
|
type: PropType<Partial<import('../../form/src/types/form.type').ColEx>>;
|
|
87
|
-
default: () =>
|
|
86
|
+
default: () => {};
|
|
88
87
|
};
|
|
89
88
|
size: {
|
|
90
89
|
type: PropType<"small" | "middle" | "large">;
|
|
@@ -140,12 +139,12 @@ export declare const basicProps: {
|
|
|
140
139
|
};
|
|
141
140
|
};
|
|
142
141
|
onSearch: {
|
|
143
|
-
type: PropType<(params: Recordable<any>) => void>;
|
|
144
|
-
default: (params: Recordable<any>) => void;
|
|
142
|
+
type: PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
|
|
143
|
+
default: (params: import("@dt-frames/core").Recordable<any>) => void;
|
|
145
144
|
};
|
|
146
145
|
onReset: {
|
|
147
|
-
type: PropType<(params: Recordable<any>) => void>;
|
|
148
|
-
default: (params: Recordable<any>) => void;
|
|
146
|
+
type: PropType<(params: import("@dt-frames/core").Recordable<any>) => void>;
|
|
147
|
+
default: (params: import("@dt-frames/core").Recordable<any>) => void;
|
|
149
148
|
};
|
|
150
149
|
buttons: {
|
|
151
150
|
type: PropType<boolean | ButtonProps[]>;
|
|
@@ -169,15 +168,15 @@ export declare const basicProps: {
|
|
|
169
168
|
};
|
|
170
169
|
onSave: {
|
|
171
170
|
type: PropType<() => void>;
|
|
172
|
-
default: () =>
|
|
171
|
+
default: () => {};
|
|
173
172
|
};
|
|
174
173
|
onDeletes: {
|
|
175
174
|
type: PropType<(keys: Key[]) => void>;
|
|
176
|
-
default: (keys: Key[]) =>
|
|
175
|
+
default: (keys: Key[]) => {};
|
|
177
176
|
};
|
|
178
177
|
onQueryById: {
|
|
179
178
|
type: PropType<(id: Key) => Promise<any>>;
|
|
180
|
-
default: (id: Key) =>
|
|
179
|
+
default: (id: Key) => {};
|
|
181
180
|
};
|
|
182
181
|
onRegister: {
|
|
183
182
|
type: PropType<RegisterFn>;
|