@dt-frames/ui 2.0.10 → 2.0.12
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 +2 -93
- package/es/components/curd/index.js +7 -2966
- package/es/components/curd/src/components/Curd.d.ts +19 -891
- package/es/components/curd/src/hooks/useCurd.d.ts +2 -2
- package/es/components/curd/src/props.d.ts +6 -4
- package/es/components/curd/src/types/curd.type.d.ts +2 -2
- package/es/components/drawer/index.d.ts +10 -167
- package/es/components/drawer/index.js +24 -462
- package/es/components/drawer/src/components/DrawerFooter.d.ts +1 -84
- package/es/components/drawer/src/index.d.ts +10 -167
- package/es/components/drawer/src/types/index.type.d.ts +2 -2
- package/es/components/form/index.d.ts +5 -1
- package/es/components/form/index.js +81 -485
- package/es/components/form/src/components/FormItem.d.ts +3 -1
- package/es/components/form/src/components/formIcon.d.ts +3 -11
- package/es/components/form/src/components/formInputUseDialog.d.ts +2 -2
- package/es/components/form/src/props.d.ts +7 -5
- package/es/components/form/src/types/form.type.d.ts +3 -0
- package/es/components/form/src/types/items.type.d.ts +6 -4
- package/es/components/icons/index.d.ts +497 -497
- package/es/components/iframe/index.d.ts +2 -0
- package/es/components/iframe/index.js +72 -0
- package/es/components/iframe/index.less +29 -0
- package/es/components/iframe/src/index.d.ts +38 -0
- package/es/components/modal/index.d.ts +2 -1
- package/es/components/modal/index.js +23 -475
- package/es/components/modal/src/components/Modal.d.ts +1 -1
- package/es/components/modal/src/components/ModalFooter.d.ts +2 -95
- package/es/components/modal/src/components/ModalWrap.d.ts +1 -75
- package/es/components/modal/src/index.d.ts +14 -179
- package/es/components/table/index.js +328 -2030
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/components/editTable/EditTableCell.d.ts +1 -1
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +1 -877
- package/es/components/table/src/index.d.ts +10 -10
- package/es/components/tree/src/components/TreeHeader.d.ts +1 -1
- package/es/components/tree/src/index.d.ts +2 -2
- package/es/components/upload/index.d.ts +2 -0
- package/es/components/upload/index.js +419 -0
- package/es/components/upload/index.less +37 -0
- package/es/components/upload/src/basicProps.d.ts +89 -0
- package/es/components/upload/src/components/PdfView.d.ts +9 -0
- package/es/components/upload/src/hooks/useFile.d.ts +15 -0
- package/es/components/upload/src/index.d.ts +236 -0
- package/es/components/upload/src/type/file.d.ts +10 -0
- package/es/components/upload/src/utils/upload.d.ts +2 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +98 -145
- package/es/theme/index.less +5 -1
- package/es/theme/src/components/content/index.d.ts +2 -0
- package/es/theme/src/components/header/index.d.ts +809 -809
- package/es/theme/src/components/header/multiple-header.d.ts +918 -918
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +2059 -2057
- package/index.d.ts +3 -1
- package/index.js +24 -2
- package/manualContentPath.js +124 -0
- package/package.json +8 -3
- package/vite.config.ts +19 -4
- package/es/components/curd/index.less +0 -2
- package/es/components/form/src/index.d.ts +0 -2922
- package/es/components/table/src/components/TableHeader.d.ts +0 -1136
- package/es/components/table/src/components/tableSetting/Download.d.ts +0 -922
- package/es/components/table/src/components/tableSetting/index.d.ts +0 -1030
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { UploadRequestOption } from 'ant-design-vue/es/vc-upload/interface';
|
|
2
|
+
import type { UploadFile } from './type/file';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
uploadUrl: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
downloadUrl: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: any;
|
|
11
|
+
};
|
|
12
|
+
buttonText: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
preIcon: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
data: {
|
|
21
|
+
type: import("vue").PropType<object | ((file: UploadFile) => object)>;
|
|
22
|
+
default: {};
|
|
23
|
+
};
|
|
24
|
+
filename: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
accept: {
|
|
29
|
+
type: import("vue").PropType<string[]>;
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
beforeUpload: {
|
|
33
|
+
type: import("vue").PropType<(<T = any>(file: UploadFile, fileList: UploadFile[]) => boolean | Promise<T>)>;
|
|
34
|
+
};
|
|
35
|
+
customRequest: {
|
|
36
|
+
type: import("vue").PropType<(params: UploadRequestOption<any>) => void>;
|
|
37
|
+
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: import("vue").PropType<Boolean | import("vue").Ref<Boolean> | import("vue").ComputedRef<Boolean>>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
defaultFiles: {
|
|
43
|
+
type: import("vue").PropType<UploadFile[]>;
|
|
44
|
+
default: () => any[];
|
|
45
|
+
};
|
|
46
|
+
headers: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
};
|
|
49
|
+
listType: {
|
|
50
|
+
type: import("vue").PropType<"text" | "picture-card">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
maxCount: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
};
|
|
56
|
+
maxSize: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
helpText: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
multiple: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
onChange: {
|
|
69
|
+
type: import("vue").PropType<(ids: string[] | number[], files: UploadFile[]) => void>;
|
|
70
|
+
};
|
|
71
|
+
extraParams: {
|
|
72
|
+
type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
|
|
73
|
+
default: () => {};
|
|
74
|
+
};
|
|
75
|
+
showView: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
showDownload: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
showDelete: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
registerPdf: import("../../modal/src/types/modal.type").RegisterFn;
|
|
89
|
+
openPdfModal: <T_1 = any, U = any>(params?: T_1, afterClose?: (res: U) => void) => void;
|
|
90
|
+
message: import("ant-design-vue/es/message").MessageApi;
|
|
91
|
+
props: any;
|
|
92
|
+
fileListRef: import("vue").Ref<UploadFile[]>;
|
|
93
|
+
acceptRef: import("vue").Ref<string[]>;
|
|
94
|
+
helpTextRef: import("vue").Ref<string>;
|
|
95
|
+
maxCountRef: import("vue").Ref<number>;
|
|
96
|
+
maxSizeRef: import("vue").Ref<number>;
|
|
97
|
+
getStringAccept: import("vue").ComputedRef<string>;
|
|
98
|
+
getHelpText: import("vue").ComputedRef<string>;
|
|
99
|
+
getFileList: () => UploadFile[];
|
|
100
|
+
beforeUpload: (file: File) => void;
|
|
101
|
+
btns: ({
|
|
102
|
+
class: string;
|
|
103
|
+
show: (file: UploadFile) => boolean;
|
|
104
|
+
click: (file: UploadFile) => Promise<void>;
|
|
105
|
+
} | {
|
|
106
|
+
class: string;
|
|
107
|
+
show: () => boolean;
|
|
108
|
+
click: (file: UploadFile) => void;
|
|
109
|
+
})[];
|
|
110
|
+
getBind: import("vue").ComputedRef<any>;
|
|
111
|
+
imgVisable: import("vue").Ref<boolean>;
|
|
112
|
+
imgSrcRef: import("vue").Ref<any>;
|
|
113
|
+
bindImg: import("vue").ComputedRef<{
|
|
114
|
+
preview: {
|
|
115
|
+
width: number;
|
|
116
|
+
visible: boolean;
|
|
117
|
+
onVisibleChange: (v: any) => any;
|
|
118
|
+
};
|
|
119
|
+
src: any;
|
|
120
|
+
}>;
|
|
121
|
+
uploadFile: ({ file, onSuccess, onError, onProgress }: UploadRequestOption) => Promise<void>;
|
|
122
|
+
fileView: (file: UploadFile) => Promise<void>;
|
|
123
|
+
download: () => void;
|
|
124
|
+
readonly getFileThumb: (filename: string) => string;
|
|
125
|
+
PdfView: import("vue").DefineComponent<{}, {
|
|
126
|
+
exeReduce: import("vue").Ref<number>;
|
|
127
|
+
pdfUrlRef: import("vue").Ref<any>;
|
|
128
|
+
register: import("../../modal/src/types/modal.type").RegisterFn;
|
|
129
|
+
toggleFullscreen: (isFullscreen: boolean) => void;
|
|
130
|
+
readonly DtModal: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
131
|
+
readonly DtIframe: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
132
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
133
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
uploadUrl: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: any;
|
|
137
|
+
};
|
|
138
|
+
downloadUrl: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: any;
|
|
141
|
+
};
|
|
142
|
+
buttonText: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
preIcon: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
data: {
|
|
151
|
+
type: import("vue").PropType<object | ((file: UploadFile) => object)>;
|
|
152
|
+
default: {};
|
|
153
|
+
};
|
|
154
|
+
filename: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
accept: {
|
|
159
|
+
type: import("vue").PropType<string[]>;
|
|
160
|
+
default: () => any[];
|
|
161
|
+
};
|
|
162
|
+
beforeUpload: {
|
|
163
|
+
type: import("vue").PropType<(<T = any>(file: UploadFile, fileList: UploadFile[]) => boolean | Promise<T>)>;
|
|
164
|
+
};
|
|
165
|
+
customRequest: {
|
|
166
|
+
type: import("vue").PropType<(params: UploadRequestOption<any>) => void>;
|
|
167
|
+
};
|
|
168
|
+
disabled: {
|
|
169
|
+
type: import("vue").PropType<Boolean | import("vue").Ref<Boolean> | import("vue").ComputedRef<Boolean>>;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
defaultFiles: {
|
|
173
|
+
type: import("vue").PropType<UploadFile[]>;
|
|
174
|
+
default: () => any[];
|
|
175
|
+
};
|
|
176
|
+
headers: {
|
|
177
|
+
type: ObjectConstructor;
|
|
178
|
+
};
|
|
179
|
+
listType: {
|
|
180
|
+
type: import("vue").PropType<"text" | "picture-card">;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
maxCount: {
|
|
184
|
+
type: NumberConstructor;
|
|
185
|
+
};
|
|
186
|
+
maxSize: {
|
|
187
|
+
type: NumberConstructor;
|
|
188
|
+
default: number;
|
|
189
|
+
};
|
|
190
|
+
helpText: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
multiple: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
onChange: {
|
|
199
|
+
type: import("vue").PropType<(ids: string[] | number[], files: UploadFile[]) => void>;
|
|
200
|
+
};
|
|
201
|
+
extraParams: {
|
|
202
|
+
type: import("vue").PropType<import("@dt-frames/core").Recordable<any>>;
|
|
203
|
+
default: () => {};
|
|
204
|
+
};
|
|
205
|
+
showView: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
showDownload: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
showDelete: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
}>>, {
|
|
218
|
+
filename: string;
|
|
219
|
+
data: object | ((file: UploadFile) => object);
|
|
220
|
+
uploadUrl: string;
|
|
221
|
+
downloadUrl: string;
|
|
222
|
+
buttonText: string;
|
|
223
|
+
preIcon: string;
|
|
224
|
+
accept: string[];
|
|
225
|
+
disabled: Boolean | import("vue").Ref<Boolean> | import("vue").ComputedRef<Boolean>;
|
|
226
|
+
defaultFiles: UploadFile[];
|
|
227
|
+
listType: "text" | "picture-card";
|
|
228
|
+
maxSize: number;
|
|
229
|
+
helpText: string;
|
|
230
|
+
multiple: boolean;
|
|
231
|
+
extraParams: {};
|
|
232
|
+
showView: boolean;
|
|
233
|
+
showDownload: boolean;
|
|
234
|
+
showDelete: boolean;
|
|
235
|
+
}>;
|
|
236
|
+
export default _sfc_main;
|
package/es/theme/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type { ThemeOptions, HeadOptions, MenuOptions, FooterOptions, RouteReuseO
|
|
|
6
6
|
import { Component } from 'vue';
|
|
7
7
|
import { SFCWithInstall } from '../utils/withInstall';
|
|
8
8
|
import { UiSize, ContentMode, MenuMode, MenuType } from './src/enums/theme.enum';
|
|
9
|
+
import { useMenu, useHeader, useMultipleTab, useTheme } from './src/hooks';
|
|
9
10
|
declare const DtTheme: SFCWithInstall<Component>;
|
|
10
|
-
export { UiSize, ContentMode, MenuMode, MenuType, uiLang, DtTheme, useThemeStore, useRouteReuseStore, defaultThemeConf };
|
|
11
|
+
export { UiSize, ContentMode, MenuMode, MenuType, uiLang, DtTheme, useMenu, useHeader, useMultipleTab, useTheme, useThemeStore, useRouteReuseStore, defaultThemeConf };
|
|
11
12
|
export type { ThemeOptions, HeadOptions, MenuOptions, FooterOptions, RouteReuseOptions };
|