@dt-frames/ui 2.0.2 → 2.0.4
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/assets/locales/en.ts +1 -1
- 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 +261 -229
- 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 +3 -5
- package/es/components/drawer/index.js +55 -54
- package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
- package/es/components/drawer/src/index.d.ts +4 -7
- package/es/components/form/index.d.ts +213 -361
- package/es/components/form/index.js +210 -163
- package/es/components/form/index.less +206 -8
- package/es/components/form/src/components/FormButtons.d.ts +3 -3
- package/es/components/form/src/components/FormItem.d.ts +152 -304
- package/es/components/form/src/components/formIcon.d.ts +4 -4
- package/es/components/form/src/components/formInputUseDialog.d.ts +3 -3
- package/es/components/form/src/enums/index.d.ts +1 -1
- package/es/components/form/src/index.d.ts +199 -347
- package/es/components/form/src/props.d.ts +8 -12
- package/es/components/form/src/types/form.type.d.ts +2 -2
- package/es/components/icons/index.d.ts +496 -2
- package/es/components/icons/index.less +5 -0
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/modal/index.js +76 -74
- package/es/components/modal/index.less +10 -0
- package/es/components/modal/src/components/Modal.d.ts +108 -215
- package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +116 -223
- package/es/components/source/hooks/useSource.d.ts +14 -0
- package/es/components/source/index.js +66 -27
- package/es/components/source/types/source.type.d.ts +4 -8
- package/es/components/table/index.js +452 -820
- package/es/components/table/index.less +50 -14
- 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 +99 -435
- package/es/components/table/src/props.d.ts +19 -74
- package/es/components/table/src/types/actions.type.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +13 -8
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -3240
- package/es/theme/index.js +688 -453
- package/es/theme/index.less +150 -0
- 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/user-info.d.ts +4 -3
- package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
- package/es/theme/src/components/header/index.d.ts +8 -7
- package/es/theme/src/components/header/multiple-header.d.ts +22 -25
- package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
- package/es/theme/src/components/sider/index.d.ts +147 -3
- package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
- package/es/theme/src/enums/theme.enum.d.ts +2 -1
- package/es/theme/src/hooks/useMenu.d.ts +4 -2
- package/es/theme/src/index.d.ts +166 -23
- package/es/theme/src/stores/theme.store.d.ts +3 -0
- package/es/theme/src/types/theme.type.d.ts +2 -1
- package/package.json +3 -4
- package/vite.config.ts +0 -27
|
@@ -1,215 +1,108 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
destroyOnClose: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
};
|
|
112
|
-
scrollTop: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
height: {
|
|
117
|
-
type: NumberConstructor;
|
|
118
|
-
};
|
|
119
|
-
minHeight: {
|
|
120
|
-
type: NumberConstructor;
|
|
121
|
-
};
|
|
122
|
-
width: {
|
|
123
|
-
type: import("vue").PropType<String | Number>;
|
|
124
|
-
};
|
|
125
|
-
draggable: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
defaultFullscreen: {
|
|
130
|
-
type: BooleanConstructor;
|
|
131
|
-
};
|
|
132
|
-
canFullscreen: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
default: boolean;
|
|
135
|
-
};
|
|
136
|
-
title: {
|
|
137
|
-
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
138
|
-
};
|
|
139
|
-
loading: {
|
|
140
|
-
type: BooleanConstructor;
|
|
141
|
-
default: boolean;
|
|
142
|
-
};
|
|
143
|
-
loadingTip: {
|
|
144
|
-
type: StringConstructor;
|
|
145
|
-
default: string;
|
|
146
|
-
};
|
|
147
|
-
useWrapper: {
|
|
148
|
-
type: BooleanConstructor;
|
|
149
|
-
default: boolean;
|
|
150
|
-
};
|
|
151
|
-
wrapClassName: {
|
|
152
|
-
type: StringConstructor;
|
|
153
|
-
};
|
|
154
|
-
zIndex: {
|
|
155
|
-
type: NumberConstructor;
|
|
156
|
-
};
|
|
157
|
-
centered: {
|
|
158
|
-
type: BooleanConstructor;
|
|
159
|
-
};
|
|
160
|
-
showOkBtn: {
|
|
161
|
-
type: BooleanConstructor;
|
|
162
|
-
default: boolean;
|
|
163
|
-
};
|
|
164
|
-
showCancelBtn: {
|
|
165
|
-
type: BooleanConstructor;
|
|
166
|
-
default: boolean;
|
|
167
|
-
};
|
|
168
|
-
okText: {
|
|
169
|
-
type: StringConstructor;
|
|
170
|
-
};
|
|
171
|
-
cancelText: {
|
|
172
|
-
type: StringConstructor;
|
|
173
|
-
};
|
|
174
|
-
mask: {
|
|
175
|
-
type: BooleanConstructor;
|
|
176
|
-
default: boolean;
|
|
177
|
-
};
|
|
178
|
-
maskClosable: {
|
|
179
|
-
type: BooleanConstructor;
|
|
180
|
-
default: boolean;
|
|
181
|
-
};
|
|
182
|
-
keyboard: {
|
|
183
|
-
type: BooleanConstructor;
|
|
184
|
-
default: boolean;
|
|
185
|
-
};
|
|
186
|
-
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
187
|
-
footer: {
|
|
188
|
-
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
189
|
-
};
|
|
190
|
-
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
191
|
-
wrapperProps: ObjectConstructor;
|
|
192
|
-
getContainer: import("vue").PropType<() => any>;
|
|
193
|
-
closeFunc: import("vue").PropType<() => Promise<boolean>>;
|
|
194
|
-
afterClose: FunctionConstructor;
|
|
195
|
-
}>> & {
|
|
196
|
-
onCancel?: (...args: any[]) => any;
|
|
197
|
-
}, {
|
|
198
|
-
loading: boolean;
|
|
199
|
-
visible: boolean;
|
|
200
|
-
mask: boolean;
|
|
201
|
-
closable: boolean;
|
|
202
|
-
destroyOnClose: boolean;
|
|
203
|
-
scrollTop: boolean;
|
|
204
|
-
draggable: boolean;
|
|
205
|
-
defaultFullscreen: boolean;
|
|
206
|
-
canFullscreen: boolean;
|
|
207
|
-
loadingTip: string;
|
|
208
|
-
useWrapper: boolean;
|
|
209
|
-
centered: boolean;
|
|
210
|
-
showOkBtn: boolean;
|
|
211
|
-
showCancelBtn: boolean;
|
|
212
|
-
maskClosable: boolean;
|
|
213
|
-
keyboard: boolean;
|
|
214
|
-
}>;
|
|
215
|
-
export default _default;
|
|
1
|
+
declare const _sfc_main: {
|
|
2
|
+
name: string;
|
|
3
|
+
inheritAttrs: boolean;
|
|
4
|
+
props: {
|
|
5
|
+
t: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
visible: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
};
|
|
11
|
+
closable: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
destroyOnClose: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
};
|
|
18
|
+
scrollTop: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
height: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
};
|
|
25
|
+
minHeight: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
};
|
|
28
|
+
width: {
|
|
29
|
+
type: import("vue").PropType<String | Number>;
|
|
30
|
+
};
|
|
31
|
+
draggable: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
defaultFullscreen: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
};
|
|
38
|
+
canFullscreen: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
title: {
|
|
43
|
+
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
44
|
+
};
|
|
45
|
+
loading: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
loadingTip: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
useWrapper: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
wrapClassName: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
};
|
|
60
|
+
zIndex: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
};
|
|
63
|
+
centered: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
};
|
|
66
|
+
showOkBtn: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
showCancelBtn: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
okText: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
};
|
|
77
|
+
cancelText: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
};
|
|
80
|
+
mask: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
maskClosable: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
keyboard: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
93
|
+
footer: {
|
|
94
|
+
type: import("vue").PropType<import("../../../form/src/types/form.type").ButtonProps[]>;
|
|
95
|
+
};
|
|
96
|
+
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
97
|
+
wrapperProps: ObjectConstructor;
|
|
98
|
+
getContainer: import("vue").PropType<() => any>;
|
|
99
|
+
closeFunc: import("vue").PropType<() => Promise<boolean>>;
|
|
100
|
+
afterClose: FunctionConstructor;
|
|
101
|
+
};
|
|
102
|
+
emits: string[];
|
|
103
|
+
setup(props: any, { slots, emit }: {
|
|
104
|
+
slots: any;
|
|
105
|
+
emit: any;
|
|
106
|
+
}): () => JSX.Element;
|
|
107
|
+
};
|
|
108
|
+
export default _sfc_main;
|
|
@@ -107,11 +107,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
107
107
|
"onHandle-method"?: (...args: any[]) => any;
|
|
108
108
|
}, {
|
|
109
109
|
mode: "search" | "dialog";
|
|
110
|
-
minShowColumn: number;
|
|
111
|
-
showAdvancedButton: boolean;
|
|
112
110
|
show: boolean;
|
|
113
|
-
|
|
111
|
+
showAdvancedButton: boolean;
|
|
112
|
+
minShowColumn: number;
|
|
114
113
|
buttonList: ButtonProps[];
|
|
114
|
+
isAdvanced: boolean;
|
|
115
115
|
}>;
|
|
116
116
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
117
|
buttons: PropType<ButtonProps[]>;
|