@dt-frames/ui 1.0.29 → 1.0.31
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/curd/src/components/dialog.d.ts +15 -0
- package/es/components/curd/src/types/curd.type.d.ts +1 -0
- package/es/components/forms/src/components/formIcon.d.ts +16 -0
- package/es/components/forms/src/components/formItem.d.ts +14 -15
- package/es/components/icons/index.less +6 -0
- package/es/components/modal/src/components/modal.d.ts +6 -0
- package/es/components/modal/src/index.d.ts +15 -0
- package/es/components/modal/src/props.d.ts +3 -0
- package/es/components/table/index.less +6 -0
- package/es/components/table/src/components/setting/Download.d.ts +15 -0
- package/es/components/table/src/components/setting/DownloadCtrl.d.ts +15 -0
- package/es/components/table/src/index.d.ts +8 -12
- package/es/components/table/src/props.d.ts +0 -1
- package/es/components/table/src/types/table.type.d.ts +1 -1
- package/es/components/tree/index.less +12 -0
- package/es/components/upload/src/helper.d.ts +2 -2
- package/es/components/upload/src/props.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +7 -10
- package/es/index.js +267 -241
- package/es/theme/header/components/index.d.ts +2 -1
- package/es/theme/header/components/lang-picker.d.ts +1 -0
- package/es/theme/header/components/size.d.ts +274 -0
- package/es/theme/header/index.less +9 -0
- package/es/theme/sider/components/basic-menu/basic-menu-item.d.ts +1 -0
- package/es/theme/sider/components/basic-menu/basic-menu.d.ts +2 -0
- package/es/theme/sider/components/basic-menu/basic-sub-menu-item.d.ts +2 -0
- package/es/theme/sider/components/basic-menu/menu-item-content.d.ts +1 -0
- package/es/theme/sider/index.less +9 -0
- package/package.json +1 -1
|
@@ -289,6 +289,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
289
289
|
};
|
|
290
290
|
closeFunc: FunctionConstructor;
|
|
291
291
|
} & {
|
|
292
|
+
t: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
};
|
|
292
295
|
defaultFullscreen: {
|
|
293
296
|
type: BooleanConstructor;
|
|
294
297
|
};
|
|
@@ -381,6 +384,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
381
384
|
};
|
|
382
385
|
closeFunc: FunctionConstructor;
|
|
383
386
|
} & {
|
|
387
|
+
t: {
|
|
388
|
+
type: StringConstructor;
|
|
389
|
+
};
|
|
384
390
|
defaultFullscreen: {
|
|
385
391
|
type: BooleanConstructor;
|
|
386
392
|
};
|
|
@@ -491,6 +497,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
491
497
|
};
|
|
492
498
|
closeFunc: FunctionConstructor;
|
|
493
499
|
} & {
|
|
500
|
+
t: {
|
|
501
|
+
type: StringConstructor;
|
|
502
|
+
};
|
|
494
503
|
defaultFullscreen: {
|
|
495
504
|
type: BooleanConstructor;
|
|
496
505
|
};
|
|
@@ -578,6 +587,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
578
587
|
};
|
|
579
588
|
closeFunc: FunctionConstructor;
|
|
580
589
|
} & {
|
|
590
|
+
t: {
|
|
591
|
+
type: StringConstructor;
|
|
592
|
+
};
|
|
581
593
|
defaultFullscreen: {
|
|
582
594
|
type: BooleanConstructor;
|
|
583
595
|
};
|
|
@@ -1325,6 +1337,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1325
1337
|
};
|
|
1326
1338
|
closeFunc: FunctionConstructor;
|
|
1327
1339
|
} & {
|
|
1340
|
+
t: {
|
|
1341
|
+
type: StringConstructor;
|
|
1342
|
+
};
|
|
1328
1343
|
defaultFullscreen: {
|
|
1329
1344
|
type: BooleanConstructor;
|
|
1330
1345
|
};
|
|
@@ -2,6 +2,7 @@ import { Recordable, ButtonProps } from "@dt-frames/core";
|
|
|
2
2
|
import { ComputedRef, VNodeChild } from "vue";
|
|
3
3
|
import { FormSchema, FormProps } from "../../../forms/src/types/form.type";
|
|
4
4
|
export declare type CrudOptType = {
|
|
5
|
+
t?: string;
|
|
5
6
|
title?: string | ComputedRef;
|
|
6
7
|
width?: string | number;
|
|
7
8
|
schemas: FormSchema[];
|
|
@@ -2,6 +2,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2
2
|
value: StringConstructor;
|
|
3
3
|
placeholder: StringConstructor;
|
|
4
4
|
}, {
|
|
5
|
+
getUiSize: import("vue").ComputedRef<import("@dt-frames/core/es/types/app.type").UiSize>;
|
|
5
6
|
iconRef: any;
|
|
6
7
|
register: import("../../../modal/src/types/modal.type").RegisterFn;
|
|
7
8
|
openModal: <T = any>(props?: boolean, data?: T, openOnSet?: boolean) => void;
|
|
@@ -1675,6 +1676,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1675
1676
|
};
|
|
1676
1677
|
closeFunc: FunctionConstructor;
|
|
1677
1678
|
} & {
|
|
1679
|
+
t: {
|
|
1680
|
+
type: StringConstructor;
|
|
1681
|
+
};
|
|
1678
1682
|
defaultFullscreen: {
|
|
1679
1683
|
type: BooleanConstructor;
|
|
1680
1684
|
};
|
|
@@ -1767,6 +1771,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1767
1771
|
};
|
|
1768
1772
|
closeFunc: FunctionConstructor;
|
|
1769
1773
|
} & {
|
|
1774
|
+
t: {
|
|
1775
|
+
type: StringConstructor;
|
|
1776
|
+
};
|
|
1770
1777
|
defaultFullscreen: {
|
|
1771
1778
|
type: BooleanConstructor;
|
|
1772
1779
|
};
|
|
@@ -1877,6 +1884,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1877
1884
|
};
|
|
1878
1885
|
closeFunc: FunctionConstructor;
|
|
1879
1886
|
} & {
|
|
1887
|
+
t: {
|
|
1888
|
+
type: StringConstructor;
|
|
1889
|
+
};
|
|
1880
1890
|
defaultFullscreen: {
|
|
1881
1891
|
type: BooleanConstructor;
|
|
1882
1892
|
};
|
|
@@ -1964,6 +1974,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1964
1974
|
};
|
|
1965
1975
|
closeFunc: FunctionConstructor;
|
|
1966
1976
|
} & {
|
|
1977
|
+
t: {
|
|
1978
|
+
type: StringConstructor;
|
|
1979
|
+
};
|
|
1967
1980
|
defaultFullscreen: {
|
|
1968
1981
|
type: BooleanConstructor;
|
|
1969
1982
|
};
|
|
@@ -2711,6 +2724,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2711
2724
|
};
|
|
2712
2725
|
closeFunc: FunctionConstructor;
|
|
2713
2726
|
} & {
|
|
2727
|
+
t: {
|
|
2728
|
+
type: StringConstructor;
|
|
2729
|
+
};
|
|
2714
2730
|
defaultFullscreen: {
|
|
2715
2731
|
type: BooleanConstructor;
|
|
2716
2732
|
};
|
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
1
|
import { Recordable } from "@dt-frames/core";
|
|
3
2
|
import { FormSchema, FormProps, FormActionType } from '../types/form.type';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
schema: {
|
|
6
|
-
type: PropType<FormSchema>;
|
|
5
|
+
type: import("vue").PropType<FormSchema>;
|
|
7
6
|
};
|
|
8
7
|
formProps: {
|
|
9
|
-
type: PropType<FormProps>;
|
|
8
|
+
type: import("vue").PropType<FormProps>;
|
|
10
9
|
default: () => {};
|
|
11
10
|
};
|
|
12
11
|
defaultValues: {
|
|
13
|
-
type: PropType<Recordable<any>>;
|
|
12
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
14
13
|
default: () => {};
|
|
15
14
|
};
|
|
16
15
|
formModel: {
|
|
17
|
-
type: PropType<Recordable<any>>;
|
|
16
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
18
17
|
default: () => {};
|
|
19
18
|
};
|
|
20
19
|
setFormModel: {
|
|
21
|
-
type: PropType<(key: string, value: any) => void>;
|
|
20
|
+
type: import("vue").PropType<(key: string, value: any) => void>;
|
|
22
21
|
};
|
|
23
22
|
formActionType: {
|
|
24
|
-
type: PropType<FormActionType>;
|
|
23
|
+
type: import("vue").PropType<FormActionType>;
|
|
25
24
|
};
|
|
26
25
|
style: {
|
|
27
|
-
type: PropType<Recordable<any>>;
|
|
26
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
28
27
|
};
|
|
29
28
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
29
|
schema: {
|
|
31
|
-
type: PropType<FormSchema>;
|
|
30
|
+
type: import("vue").PropType<FormSchema>;
|
|
32
31
|
};
|
|
33
32
|
formProps: {
|
|
34
|
-
type: PropType<FormProps>;
|
|
33
|
+
type: import("vue").PropType<FormProps>;
|
|
35
34
|
default: () => {};
|
|
36
35
|
};
|
|
37
36
|
defaultValues: {
|
|
38
|
-
type: PropType<Recordable<any>>;
|
|
37
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
39
38
|
default: () => {};
|
|
40
39
|
};
|
|
41
40
|
formModel: {
|
|
42
|
-
type: PropType<Recordable<any>>;
|
|
41
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
43
42
|
default: () => {};
|
|
44
43
|
};
|
|
45
44
|
setFormModel: {
|
|
46
|
-
type: PropType<(key: string, value: any) => void>;
|
|
45
|
+
type: import("vue").PropType<(key: string, value: any) => void>;
|
|
47
46
|
};
|
|
48
47
|
formActionType: {
|
|
49
|
-
type: PropType<FormActionType>;
|
|
48
|
+
type: import("vue").PropType<FormActionType>;
|
|
50
49
|
};
|
|
51
50
|
style: {
|
|
52
|
-
type: PropType<Recordable<any>>;
|
|
51
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
53
52
|
};
|
|
54
53
|
}>>, {
|
|
55
54
|
formProps: {};
|
|
@@ -18,6 +18,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
closeFunc: FunctionConstructor;
|
|
20
20
|
} & {
|
|
21
|
+
t: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
21
24
|
defaultFullscreen: {
|
|
22
25
|
type: BooleanConstructor;
|
|
23
26
|
};
|
|
@@ -105,6 +108,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
108
|
};
|
|
106
109
|
closeFunc: FunctionConstructor;
|
|
107
110
|
} & {
|
|
111
|
+
t: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
108
114
|
defaultFullscreen: {
|
|
109
115
|
type: BooleanConstructor;
|
|
110
116
|
};
|
|
@@ -20,6 +20,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
closeFunc: FunctionConstructor;
|
|
22
22
|
} & {
|
|
23
|
+
t: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
23
26
|
defaultFullscreen: {
|
|
24
27
|
type: BooleanConstructor;
|
|
25
28
|
};
|
|
@@ -112,6 +115,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
112
115
|
};
|
|
113
116
|
closeFunc: FunctionConstructor;
|
|
114
117
|
} & {
|
|
118
|
+
t: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
};
|
|
115
121
|
defaultFullscreen: {
|
|
116
122
|
type: BooleanConstructor;
|
|
117
123
|
};
|
|
@@ -222,6 +228,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
222
228
|
};
|
|
223
229
|
closeFunc: FunctionConstructor;
|
|
224
230
|
} & {
|
|
231
|
+
t: {
|
|
232
|
+
type: StringConstructor;
|
|
233
|
+
};
|
|
225
234
|
defaultFullscreen: {
|
|
226
235
|
type: BooleanConstructor;
|
|
227
236
|
};
|
|
@@ -309,6 +318,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
309
318
|
};
|
|
310
319
|
closeFunc: FunctionConstructor;
|
|
311
320
|
} & {
|
|
321
|
+
t: {
|
|
322
|
+
type: StringConstructor;
|
|
323
|
+
};
|
|
312
324
|
defaultFullscreen: {
|
|
313
325
|
type: BooleanConstructor;
|
|
314
326
|
};
|
|
@@ -1056,6 +1068,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1056
1068
|
};
|
|
1057
1069
|
closeFunc: FunctionConstructor;
|
|
1058
1070
|
} & {
|
|
1071
|
+
t: {
|
|
1072
|
+
type: StringConstructor;
|
|
1073
|
+
};
|
|
1059
1074
|
defaultFullscreen: {
|
|
1060
1075
|
type: BooleanConstructor;
|
|
1061
1076
|
};
|
|
@@ -1900,6 +1900,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1900
1900
|
};
|
|
1901
1901
|
closeFunc: FunctionConstructor;
|
|
1902
1902
|
} & {
|
|
1903
|
+
t: {
|
|
1904
|
+
type: StringConstructor;
|
|
1905
|
+
};
|
|
1903
1906
|
defaultFullscreen: {
|
|
1904
1907
|
type: BooleanConstructor;
|
|
1905
1908
|
};
|
|
@@ -1992,6 +1995,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1992
1995
|
};
|
|
1993
1996
|
closeFunc: FunctionConstructor;
|
|
1994
1997
|
} & {
|
|
1998
|
+
t: {
|
|
1999
|
+
type: StringConstructor;
|
|
2000
|
+
};
|
|
1995
2001
|
defaultFullscreen: {
|
|
1996
2002
|
type: BooleanConstructor;
|
|
1997
2003
|
};
|
|
@@ -2102,6 +2108,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2102
2108
|
};
|
|
2103
2109
|
closeFunc: FunctionConstructor;
|
|
2104
2110
|
} & {
|
|
2111
|
+
t: {
|
|
2112
|
+
type: StringConstructor;
|
|
2113
|
+
};
|
|
2105
2114
|
defaultFullscreen: {
|
|
2106
2115
|
type: BooleanConstructor;
|
|
2107
2116
|
};
|
|
@@ -2189,6 +2198,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2189
2198
|
};
|
|
2190
2199
|
closeFunc: FunctionConstructor;
|
|
2191
2200
|
} & {
|
|
2201
|
+
t: {
|
|
2202
|
+
type: StringConstructor;
|
|
2203
|
+
};
|
|
2192
2204
|
defaultFullscreen: {
|
|
2193
2205
|
type: BooleanConstructor;
|
|
2194
2206
|
};
|
|
@@ -2936,6 +2948,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2936
2948
|
};
|
|
2937
2949
|
closeFunc: FunctionConstructor;
|
|
2938
2950
|
} & {
|
|
2951
|
+
t: {
|
|
2952
|
+
type: StringConstructor;
|
|
2953
|
+
};
|
|
2939
2954
|
defaultFullscreen: {
|
|
2940
2955
|
type: BooleanConstructor;
|
|
2941
2956
|
};
|
|
@@ -751,6 +751,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
751
751
|
};
|
|
752
752
|
closeFunc: FunctionConstructor;
|
|
753
753
|
} & {
|
|
754
|
+
t: {
|
|
755
|
+
type: StringConstructor;
|
|
756
|
+
};
|
|
754
757
|
defaultFullscreen: {
|
|
755
758
|
type: BooleanConstructor;
|
|
756
759
|
};
|
|
@@ -843,6 +846,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
843
846
|
};
|
|
844
847
|
closeFunc: FunctionConstructor;
|
|
845
848
|
} & {
|
|
849
|
+
t: {
|
|
850
|
+
type: StringConstructor;
|
|
851
|
+
};
|
|
846
852
|
defaultFullscreen: {
|
|
847
853
|
type: BooleanConstructor;
|
|
848
854
|
};
|
|
@@ -953,6 +959,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
953
959
|
};
|
|
954
960
|
closeFunc: FunctionConstructor;
|
|
955
961
|
} & {
|
|
962
|
+
t: {
|
|
963
|
+
type: StringConstructor;
|
|
964
|
+
};
|
|
956
965
|
defaultFullscreen: {
|
|
957
966
|
type: BooleanConstructor;
|
|
958
967
|
};
|
|
@@ -1040,6 +1049,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1040
1049
|
};
|
|
1041
1050
|
closeFunc: FunctionConstructor;
|
|
1042
1051
|
} & {
|
|
1052
|
+
t: {
|
|
1053
|
+
type: StringConstructor;
|
|
1054
|
+
};
|
|
1043
1055
|
defaultFullscreen: {
|
|
1044
1056
|
type: BooleanConstructor;
|
|
1045
1057
|
};
|
|
@@ -1787,6 +1799,9 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1787
1799
|
};
|
|
1788
1800
|
closeFunc: FunctionConstructor;
|
|
1789
1801
|
} & {
|
|
1802
|
+
t: {
|
|
1803
|
+
type: StringConstructor;
|
|
1804
|
+
};
|
|
1790
1805
|
defaultFullscreen: {
|
|
1791
1806
|
type: BooleanConstructor;
|
|
1792
1807
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ExtractPropTypes } from "vue";
|
|
2
1
|
import { SizeType } from "./types/table.type";
|
|
3
2
|
import { Recordable } from "@dt-frames/core";
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -86,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
85
|
default: boolean;
|
|
87
86
|
};
|
|
88
87
|
pagination: {
|
|
89
|
-
type: import("vue").PropType<boolean | Partial<ExtractPropTypes<{
|
|
88
|
+
type: import("vue").PropType<boolean | Partial<import("vue").ExtractPropTypes<{
|
|
90
89
|
total: NumberConstructor;
|
|
91
90
|
defaultCurrent: NumberConstructor;
|
|
92
91
|
disabled: {
|
|
@@ -161,7 +160,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
160
|
};
|
|
162
161
|
size: {
|
|
163
162
|
type: import("vue").PropType<SizeType>;
|
|
164
|
-
default: string;
|
|
165
163
|
};
|
|
166
164
|
onTableChange: {
|
|
167
165
|
type: FunctionConstructor;
|
|
@@ -212,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
210
|
y: string | number;
|
|
213
211
|
scrollToFirstRowOnChange: boolean;
|
|
214
212
|
};
|
|
215
|
-
loading: (boolean | Partial<ExtractPropTypes<{
|
|
213
|
+
loading: (boolean | Partial<import("vue").ExtractPropTypes<{
|
|
216
214
|
prefixCls: StringConstructor;
|
|
217
215
|
spinning: {
|
|
218
216
|
type: BooleanConstructor;
|
|
@@ -225,7 +223,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
225
223
|
indicator: import("vue-types").VueTypeValidableDef<any>;
|
|
226
224
|
}>>) & boolean;
|
|
227
225
|
dataSource: any[];
|
|
228
|
-
pagination: boolean | Partial<ExtractPropTypes<{
|
|
226
|
+
pagination: boolean | Partial<import("vue").ExtractPropTypes<{
|
|
229
227
|
total: NumberConstructor;
|
|
230
228
|
defaultCurrent: NumberConstructor;
|
|
231
229
|
disabled: {
|
|
@@ -297,13 +295,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
295
|
onMouseleave: (event: Event) => void;
|
|
298
296
|
};
|
|
299
297
|
dropdownPrefixCls?: string;
|
|
300
|
-
size
|
|
298
|
+
size?: "small" | "middle";
|
|
301
299
|
bordered: boolean;
|
|
302
300
|
locale?: import("ant-design-vue/lib/table/interface").TableLocale;
|
|
303
301
|
onChange?: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/lib/table/interface").FilterValue>, sorter: import("ant-design-vue/lib/table/interface").SorterResult<any> | import("ant-design-vue/lib/table/interface").SorterResult<any>[], extra: import("ant-design-vue/lib/table/interface").TableCurrentDataSource<any>) => void;
|
|
304
302
|
getPopupContainer?: import("ant-design-vue/lib/table/interface").GetPopupContainer;
|
|
305
303
|
sortDirections?: import("ant-design-vue/lib/table/interface").SortOrder[];
|
|
306
|
-
showSorterTooltip?: boolean | Partial<ExtractPropTypes<{
|
|
304
|
+
showSorterTooltip?: boolean | Partial<import("vue").ExtractPropTypes<{
|
|
307
305
|
title: import("vue-types").VueTypeValidableDef<any>;
|
|
308
306
|
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
309
307
|
visible: {
|
|
@@ -404,7 +402,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
402
|
onColumnsChange?: (data: import("./types/table.type").ColumnChangeParam[]) => void;
|
|
405
403
|
}>;
|
|
406
404
|
getRowClassName: (record: any, index: number) => string;
|
|
407
|
-
handleTableChange: (pagination: Partial<ExtractPropTypes<{
|
|
405
|
+
handleTableChange: (pagination: Partial<import("vue").ExtractPropTypes<{
|
|
408
406
|
total: NumberConstructor;
|
|
409
407
|
defaultCurrent: NumberConstructor;
|
|
410
408
|
disabled: {
|
|
@@ -463,7 +461,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
463
461
|
}>>, filters: Partial<Recordable<string[]>>, sorter: import("./types/table.type").SorterResult) => any;
|
|
464
462
|
getSelectRows: () => Recordable<any>[];
|
|
465
463
|
handleResizeColumn: (w: any, col: any) => void;
|
|
466
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "columns-change" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "expanded-rows-change" | "edit-change")[], "register" | "columns-change" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "expanded-rows-change" | "edit-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
464
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "columns-change" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "expanded-rows-change" | "edit-change")[], "register" | "columns-change" | "selection-change" | "row-click" | "row-dbClick" | "row-contextmenu" | "row-mouseenter" | "row-mouseleave" | "expanded-rows-change" | "edit-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
467
465
|
clickRowSelect: {
|
|
468
466
|
type: BooleanConstructor;
|
|
469
467
|
default: boolean;
|
|
@@ -548,7 +546,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
548
546
|
default: boolean;
|
|
549
547
|
};
|
|
550
548
|
pagination: {
|
|
551
|
-
type: import("vue").PropType<boolean | Partial<ExtractPropTypes<{
|
|
549
|
+
type: import("vue").PropType<boolean | Partial<import("vue").ExtractPropTypes<{
|
|
552
550
|
total: NumberConstructor;
|
|
553
551
|
defaultCurrent: NumberConstructor;
|
|
554
552
|
disabled: {
|
|
@@ -623,7 +621,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
623
621
|
};
|
|
624
622
|
size: {
|
|
625
623
|
type: import("vue").PropType<SizeType>;
|
|
626
|
-
default: string;
|
|
627
624
|
};
|
|
628
625
|
onTableChange: {
|
|
629
626
|
type: FunctionConstructor;
|
|
@@ -678,7 +675,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
678
675
|
"onExpanded-rows-change"?: (...args: any[]) => any;
|
|
679
676
|
"onEdit-change"?: (...args: any[]) => any;
|
|
680
677
|
}, {
|
|
681
|
-
size: SizeType;
|
|
682
678
|
loading: boolean;
|
|
683
679
|
bordered: boolean;
|
|
684
680
|
onDownload: Function;
|
|
@@ -13,7 +13,6 @@ export interface TableRowSelection<T = any> extends ITableRowSelection {
|
|
|
13
13
|
}
|
|
14
14
|
export declare type TableSetting = {
|
|
15
15
|
download?: boolean;
|
|
16
|
-
size?: boolean;
|
|
17
16
|
setting?: boolean;
|
|
18
17
|
fullscreen?: boolean;
|
|
19
18
|
};
|
|
@@ -74,6 +73,7 @@ export declare type LableValOptions = {
|
|
|
74
73
|
[key: string]: string | number | boolean;
|
|
75
74
|
}[];
|
|
76
75
|
export interface BasicColumn extends ColumnProps {
|
|
76
|
+
t?: string;
|
|
77
77
|
children?: BasicColumn[];
|
|
78
78
|
defaultHidden?: boolean;
|
|
79
79
|
ifShow?: boolean | ((row: Recordable) => boolean);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from "vue";
|
|
2
|
-
export declare function useHelpers(acceptRef: Ref<string[]>, helpTextRef: Ref<string>, maxNumberRef: Ref<number>, maxSizeRef: Ref<number>): {
|
|
2
|
+
export declare function useHelpers(acceptRef: Ref<string[]>, helpTextRef: Ref<string | false>, maxNumberRef: Ref<number>, maxSizeRef: Ref<number>): {
|
|
3
3
|
getStringAccept: import("vue").ComputedRef<string>;
|
|
4
|
-
getHelpText: import("vue").ComputedRef<string>;
|
|
4
|
+
getHelpText: import("vue").ComputedRef<string | false>;
|
|
5
5
|
};
|
|
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
default: () => void;
|
|
13
13
|
};
|
|
14
14
|
helpText: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
15
|
+
type: import("vue").PropType<string | false>;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
multiple: {
|
|
@@ -60,7 +60,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
60
60
|
default: () => void;
|
|
61
61
|
};
|
|
62
62
|
helpText: {
|
|
63
|
-
type: import("vue").PropType<string>;
|
|
63
|
+
type: import("vue").PropType<string | false>;
|
|
64
64
|
default: string;
|
|
65
65
|
};
|
|
66
66
|
multiple: {
|
|
@@ -90,11 +90,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
90
90
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any);
|
|
91
91
|
}>>;
|
|
92
92
|
accept: import("vue").Ref<string[]>;
|
|
93
|
-
helpText: import("vue").Ref<string>;
|
|
93
|
+
helpText: import("vue").Ref<string | false>;
|
|
94
94
|
maxNumber: import("vue").Ref<number>;
|
|
95
95
|
maxSize: import("vue").Ref<number>;
|
|
96
96
|
getStringAccept: import("vue").ComputedRef<string>;
|
|
97
|
-
getHelpText: import("vue").ComputedRef<string>;
|
|
97
|
+
getHelpText: import("vue").ComputedRef<string | false>;
|
|
98
98
|
isImage: (fileType: string) => boolean;
|
|
99
99
|
registerTable: (...args: any) => void;
|
|
100
100
|
beforeUpload: (file: File) => boolean;
|
|
@@ -1185,7 +1185,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1185
1185
|
};
|
|
1186
1186
|
size: {
|
|
1187
1187
|
type: import("vue").PropType<import("../../table/src/types/table.type").SizeType>;
|
|
1188
|
-
default: string;
|
|
1189
1188
|
};
|
|
1190
1189
|
onTableChange: {
|
|
1191
1190
|
type: FunctionConstructor;
|
|
@@ -1321,7 +1320,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1321
1320
|
onMouseleave: (event: Event) => void;
|
|
1322
1321
|
};
|
|
1323
1322
|
dropdownPrefixCls?: string;
|
|
1324
|
-
size
|
|
1323
|
+
size?: "small" | "middle";
|
|
1325
1324
|
bordered: boolean;
|
|
1326
1325
|
locale?: import("ant-design-vue/lib/table/interface").TableLocale;
|
|
1327
1326
|
onChange?: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/lib/table/interface").FilterValue>, sorter: import("ant-design-vue/lib/table/interface").SorterResult<any> | import("ant-design-vue/lib/table/interface").SorterResult<any>[], extra: import("ant-design-vue/lib/table/interface").TableCurrentDataSource<any>) => void;
|
|
@@ -1647,7 +1646,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1647
1646
|
};
|
|
1648
1647
|
size: {
|
|
1649
1648
|
type: import("vue").PropType<import("../../table/src/types/table.type").SizeType>;
|
|
1650
|
-
default: string;
|
|
1651
1649
|
};
|
|
1652
1650
|
onTableChange: {
|
|
1653
1651
|
type: FunctionConstructor;
|
|
@@ -1702,7 +1700,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1702
1700
|
"onExpanded-rows-change"?: (...args: any[]) => any;
|
|
1703
1701
|
"onEdit-change"?: (...args: any[]) => any;
|
|
1704
1702
|
}, {
|
|
1705
|
-
size: import("../../table/src/types/table.type").SizeType;
|
|
1706
1703
|
loading: boolean;
|
|
1707
1704
|
bordered: boolean;
|
|
1708
1705
|
onDownload: Function;
|
|
@@ -1749,7 +1746,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1749
1746
|
default: () => void;
|
|
1750
1747
|
};
|
|
1751
1748
|
helpText: {
|
|
1752
|
-
type: import("vue").PropType<string>;
|
|
1749
|
+
type: import("vue").PropType<string | false>;
|
|
1753
1750
|
default: string;
|
|
1754
1751
|
};
|
|
1755
1752
|
multiple: {
|
|
@@ -1779,7 +1776,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1779
1776
|
uploadText: string;
|
|
1780
1777
|
showTemplateDownload: boolean;
|
|
1781
1778
|
templateDownload: import("@vueuse/shared").Fn;
|
|
1782
|
-
helpText: string;
|
|
1779
|
+
helpText: string | false;
|
|
1783
1780
|
multiple: boolean;
|
|
1784
1781
|
accept: string[];
|
|
1785
1782
|
maxNumber: number;
|