@vtj/designer 0.16.12 → 0.16.13
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/Editor-Ce_uPB1q.js +4 -0
- package/dist/{index-BcDCHfhg.js → index-Cm-7k5DS.js} +1397 -1391
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/hooks/useAI.d.ts +1 -1
- package/types/components/hooks/useOpenApi.d.ts +1 -1
- package/types/components/setters/image.d.ts +42 -267
- package/types/components/setters/index.d.ts +42 -266
- package/types/components/shared/binder.d.ts +56 -304
- package/types/components/shared/panel.d.ts +5 -13
- package/types/components/shared/viewer.d.ts +1231 -199
- package/types/components/widgets/ai/image-input.d.ts +42 -267
- package/types/components/widgets/ai/index.d.ts +4 -10
- package/types/components/widgets/ai/json-input.d.ts +120 -570
- package/types/components/widgets/apis/form.d.ts +32 -163
- package/types/components/widgets/apis/swagger.d.ts +2 -4
- package/types/components/widgets/designer/index.d.ts +2 -4
- package/types/components/widgets/devtools/index.d.ts +4 -10
- package/types/components/widgets/docs/index.d.ts +4 -10
- package/types/components/widgets/env/index.d.ts +2 -4
- package/types/components/widgets/i18n/index.d.ts +2 -4
- package/types/components/widgets/index.d.ts +16 -46
- package/types/components/widgets/market/index.d.ts +4 -10
- package/types/components/widgets/scripts/group.d.ts +38 -220
- package/types/components/widgets/style/spacing-input.d.ts +2 -4
- package/types/framework/openapi.d.ts +1 -1
- package/types/utils.d.ts +20 -16
- package/types/version.d.ts +2 -2
- package/dist/Editor-D7fdOY8E.js +0 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { UploadFile, UploadData, UploadRawFile,
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase,
|
|
3
|
-
import { Awaitable
|
|
4
|
-
import { UploadFile } from 'element-plus/es/components/upload/src/upload.mjs';
|
|
1
|
+
import { UploadFile, UploadHooks, Crossorigin, UploadData, UploadRawFile, UploadUserFile, ListType, UploadRequestHandler, UploadProps, UploadStatus } from 'element-plus';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
+
import { Awaitable } from 'element-plus/es/utils/typescript.mjs';
|
|
5
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
5
|
export interface Props {
|
|
7
6
|
loading?: boolean;
|
|
@@ -14,58 +13,36 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
14
13
|
uploadRef: ({
|
|
15
14
|
$: ComponentInternalInstance;
|
|
16
15
|
$data: {};
|
|
17
|
-
$props:
|
|
18
|
-
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
name: string;
|
|
21
|
-
onProgress: UploadHooks["onProgress"];
|
|
22
|
-
onChange: UploadHooks["onChange"];
|
|
23
|
-
onError: UploadHooks["onError"];
|
|
24
|
-
method: string;
|
|
25
|
-
action: string;
|
|
26
|
-
accept: string;
|
|
27
|
-
beforeUpload: UploadHooks["beforeUpload"];
|
|
28
|
-
onRemove: UploadHooks["onRemove"];
|
|
29
|
-
onPreview: UploadHooks["onPreview"];
|
|
30
|
-
onSuccess: UploadHooks["onSuccess"];
|
|
31
|
-
onExceed: UploadHooks["onExceed"];
|
|
32
|
-
showFileList: boolean;
|
|
33
|
-
fileList: UploadUserFile[];
|
|
34
|
-
autoUpload: boolean;
|
|
35
|
-
listType: ListType;
|
|
36
|
-
httpRequest: UploadRequestHandler;
|
|
37
|
-
}> & Omit<{
|
|
38
|
-
readonly name: string;
|
|
39
|
-
readonly method: string;
|
|
40
|
-
readonly data: Awaitable<UploadData> | ((rawFile: UploadRawFile) => Awaitable<UploadData>);
|
|
41
|
-
readonly onChange: UploadHooks["onChange"];
|
|
42
|
-
readonly onError: UploadHooks["onError"];
|
|
43
|
-
readonly onProgress: UploadHooks["onProgress"];
|
|
44
|
-
readonly beforeUpload: UploadHooks["beforeUpload"];
|
|
45
|
-
readonly onRemove: UploadHooks["onRemove"];
|
|
46
|
-
readonly onPreview: UploadHooks["onPreview"];
|
|
47
|
-
readonly onSuccess: UploadHooks["onSuccess"];
|
|
48
|
-
readonly onExceed: UploadHooks["onExceed"];
|
|
49
|
-
readonly action: string;
|
|
50
|
-
readonly showFileList: boolean;
|
|
51
|
-
readonly accept: string;
|
|
52
|
-
readonly fileList: UploadUserFile[];
|
|
53
|
-
readonly autoUpload: boolean;
|
|
54
|
-
readonly listType: ListType;
|
|
55
|
-
readonly httpRequest: UploadRequestHandler;
|
|
56
|
-
readonly disabled?: boolean | undefined;
|
|
57
|
-
readonly headers?: (Headers | Record<string, any>) | undefined;
|
|
58
|
-
readonly crossorigin?: Crossorigin | undefined;
|
|
16
|
+
$props: {
|
|
17
|
+
readonly beforeUpload?: UploadHooks["beforeUpload"] | undefined;
|
|
59
18
|
readonly beforeRemove?: UploadHooks["beforeRemove"] | undefined;
|
|
19
|
+
readonly onRemove?: UploadHooks["onRemove"] | undefined;
|
|
20
|
+
readonly onChange?: UploadHooks["onChange"] | undefined;
|
|
21
|
+
readonly onPreview?: UploadHooks["onPreview"] | undefined;
|
|
22
|
+
readonly onSuccess?: UploadHooks["onSuccess"] | undefined;
|
|
23
|
+
readonly onProgress?: UploadHooks["onProgress"] | undefined;
|
|
24
|
+
readonly onError?: UploadHooks["onError"] | undefined;
|
|
25
|
+
readonly onExceed?: UploadHooks["onExceed"] | undefined;
|
|
26
|
+
readonly crossorigin?: Crossorigin | undefined;
|
|
27
|
+
readonly action?: string | undefined;
|
|
28
|
+
readonly headers?: (Headers | Record<string, any>) | undefined;
|
|
29
|
+
readonly method?: string | undefined;
|
|
30
|
+
readonly data?: ( Awaitable<UploadData> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)) | undefined;
|
|
60
31
|
readonly multiple?: boolean | undefined;
|
|
32
|
+
readonly name?: string | undefined;
|
|
61
33
|
readonly drag?: boolean | undefined;
|
|
62
34
|
readonly withCredentials?: boolean | undefined;
|
|
35
|
+
readonly showFileList?: boolean | undefined;
|
|
36
|
+
readonly accept?: string | undefined;
|
|
37
|
+
readonly fileList?: UploadUserFile[] | undefined;
|
|
38
|
+
readonly autoUpload?: boolean | undefined;
|
|
39
|
+
readonly listType?: ListType | undefined;
|
|
40
|
+
readonly httpRequest?: UploadRequestHandler | undefined;
|
|
41
|
+
readonly disabled?: boolean | undefined;
|
|
63
42
|
readonly limit?: number | undefined;
|
|
64
43
|
readonly directory?: boolean | undefined;
|
|
65
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
66
|
-
$attrs:
|
|
67
|
-
[x: string]: unknown;
|
|
68
|
-
};
|
|
44
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
45
|
+
$attrs: Attrs;
|
|
69
46
|
$refs: {
|
|
70
47
|
[x: string]: unknown;
|
|
71
48
|
};
|
|
@@ -77,129 +54,28 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
77
54
|
$host: Element | null;
|
|
78
55
|
$emit: (event: string, ...args: any[]) => void;
|
|
79
56
|
$el: any;
|
|
80
|
-
$options: ComponentOptionsBase<Readonly<
|
|
81
|
-
name: {
|
|
82
|
-
type: PropType<string>;
|
|
83
|
-
default: "file";
|
|
84
|
-
};
|
|
85
|
-
method: {
|
|
86
|
-
type: PropType<string>;
|
|
87
|
-
default: "post";
|
|
88
|
-
};
|
|
89
|
-
disabled: {
|
|
90
|
-
type: PropType<boolean>;
|
|
91
|
-
default: undefined;
|
|
92
|
-
};
|
|
93
|
-
headers: {
|
|
94
|
-
type: PropType<Record<string, any> | Headers>;
|
|
95
|
-
};
|
|
96
|
-
data: {
|
|
97
|
-
type: PropType< Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)>;
|
|
98
|
-
default: () => Mutable<{}>;
|
|
99
|
-
};
|
|
100
|
-
onChange: {
|
|
101
|
-
type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
102
|
-
default: () => void;
|
|
103
|
-
};
|
|
104
|
-
onError: {
|
|
105
|
-
type: PropType<(error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
106
|
-
default: () => void;
|
|
107
|
-
};
|
|
108
|
-
onProgress: {
|
|
109
|
-
type: PropType<(evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
110
|
-
default: () => void;
|
|
111
|
-
};
|
|
112
|
-
crossorigin: {
|
|
113
|
-
type: PropType<Crossorigin>;
|
|
114
|
-
};
|
|
115
|
-
beforeUpload: {
|
|
116
|
-
type: PropType<(rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>>;
|
|
117
|
-
default: () => void;
|
|
118
|
-
};
|
|
119
|
-
beforeRemove: {
|
|
120
|
-
type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>>;
|
|
121
|
-
};
|
|
122
|
-
onRemove: {
|
|
123
|
-
type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
124
|
-
default: () => void;
|
|
125
|
-
};
|
|
126
|
-
onPreview: {
|
|
127
|
-
type: PropType<(uploadFile: UploadFile) => void>;
|
|
128
|
-
default: () => void;
|
|
129
|
-
};
|
|
130
|
-
onSuccess: {
|
|
131
|
-
type: PropType<(response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
132
|
-
default: () => void;
|
|
133
|
-
};
|
|
134
|
-
onExceed: {
|
|
135
|
-
type: PropType<(files: File[], uploadFiles: UploadUserFile[]) => void>;
|
|
136
|
-
default: () => void;
|
|
137
|
-
};
|
|
138
|
-
action: {
|
|
139
|
-
type: PropType<string>;
|
|
140
|
-
default: "#";
|
|
141
|
-
};
|
|
142
|
-
multiple: {
|
|
143
|
-
type: PropType<boolean>;
|
|
144
|
-
};
|
|
145
|
-
drag: {
|
|
146
|
-
type: PropType<boolean>;
|
|
147
|
-
};
|
|
148
|
-
withCredentials: {
|
|
149
|
-
type: PropType<boolean>;
|
|
150
|
-
};
|
|
151
|
-
showFileList: {
|
|
152
|
-
type: PropType<boolean>;
|
|
153
|
-
default: true;
|
|
154
|
-
};
|
|
155
|
-
accept: {
|
|
156
|
-
type: PropType<string>;
|
|
157
|
-
default: "";
|
|
158
|
-
};
|
|
159
|
-
fileList: {
|
|
160
|
-
type: PropType< UploadUserFile[]>;
|
|
161
|
-
default: () => never[];
|
|
162
|
-
};
|
|
163
|
-
autoUpload: {
|
|
164
|
-
type: PropType<boolean>;
|
|
165
|
-
default: true;
|
|
166
|
-
};
|
|
167
|
-
listType: {
|
|
168
|
-
type: PropType<ListType>;
|
|
169
|
-
default: "text";
|
|
170
|
-
};
|
|
171
|
-
httpRequest: {
|
|
172
|
-
type: PropType<UploadRequestHandler>;
|
|
173
|
-
default: UploadRequestHandler;
|
|
174
|
-
};
|
|
175
|
-
limit: {
|
|
176
|
-
type: PropType<number>;
|
|
177
|
-
};
|
|
178
|
-
directory: {
|
|
179
|
-
type: PropType<boolean>;
|
|
180
|
-
};
|
|
181
|
-
}>>, {
|
|
57
|
+
$options: ComponentOptionsBase<Readonly< UploadProps> & Readonly<{}>, {
|
|
182
58
|
abort: (file?: UploadFile) => void;
|
|
183
59
|
submit: () => void;
|
|
184
60
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
185
61
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
186
62
|
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
187
|
-
},
|
|
188
|
-
data: Awaitable<UploadData> | ((rawFile: UploadRawFile) => Awaitable<UploadData>);
|
|
63
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
189
64
|
disabled: boolean;
|
|
190
|
-
|
|
191
|
-
onProgress: UploadHooks["onProgress"];
|
|
65
|
+
data: Awaitable<UploadData> | ((rawFile: UploadRawFile) => Awaitable<UploadData>);
|
|
192
66
|
onChange: UploadHooks["onChange"];
|
|
67
|
+
name: string;
|
|
193
68
|
onError: UploadHooks["onError"];
|
|
194
|
-
|
|
195
|
-
action: string;
|
|
196
|
-
accept: string;
|
|
69
|
+
onProgress: UploadHooks["onProgress"];
|
|
197
70
|
beforeUpload: UploadHooks["beforeUpload"];
|
|
198
71
|
onRemove: UploadHooks["onRemove"];
|
|
199
72
|
onPreview: UploadHooks["onPreview"];
|
|
200
73
|
onSuccess: UploadHooks["onSuccess"];
|
|
201
74
|
onExceed: UploadHooks["onExceed"];
|
|
75
|
+
action: string;
|
|
76
|
+
method: string;
|
|
202
77
|
showFileList: boolean;
|
|
78
|
+
accept: string;
|
|
203
79
|
fileList: UploadUserFile[];
|
|
204
80
|
autoUpload: boolean;
|
|
205
81
|
listType: ListType;
|
|
@@ -225,127 +101,26 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
225
101
|
$nextTick: nextTick;
|
|
226
102
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
227
103
|
} & Readonly<{
|
|
228
|
-
data: Awaitable<UploadData> | ((rawFile: UploadRawFile) => Awaitable<UploadData>);
|
|
229
104
|
disabled: boolean;
|
|
230
|
-
|
|
231
|
-
onProgress: UploadHooks["onProgress"];
|
|
105
|
+
data: Awaitable<UploadData> | ((rawFile: UploadRawFile) => Awaitable<UploadData>);
|
|
232
106
|
onChange: UploadHooks["onChange"];
|
|
107
|
+
name: string;
|
|
233
108
|
onError: UploadHooks["onError"];
|
|
234
|
-
|
|
235
|
-
action: string;
|
|
236
|
-
accept: string;
|
|
109
|
+
onProgress: UploadHooks["onProgress"];
|
|
237
110
|
beforeUpload: UploadHooks["beforeUpload"];
|
|
238
111
|
onRemove: UploadHooks["onRemove"];
|
|
239
112
|
onPreview: UploadHooks["onPreview"];
|
|
240
113
|
onSuccess: UploadHooks["onSuccess"];
|
|
241
114
|
onExceed: UploadHooks["onExceed"];
|
|
115
|
+
action: string;
|
|
116
|
+
method: string;
|
|
242
117
|
showFileList: boolean;
|
|
118
|
+
accept: string;
|
|
243
119
|
fileList: UploadUserFile[];
|
|
244
120
|
autoUpload: boolean;
|
|
245
121
|
listType: ListType;
|
|
246
122
|
httpRequest: UploadRequestHandler;
|
|
247
|
-
}> & Omit<Readonly<
|
|
248
|
-
name: {
|
|
249
|
-
type: PropType<string>;
|
|
250
|
-
default: "file";
|
|
251
|
-
};
|
|
252
|
-
method: {
|
|
253
|
-
type: PropType<string>;
|
|
254
|
-
default: "post";
|
|
255
|
-
};
|
|
256
|
-
disabled: {
|
|
257
|
-
type: PropType<boolean>;
|
|
258
|
-
default: undefined;
|
|
259
|
-
};
|
|
260
|
-
headers: {
|
|
261
|
-
type: PropType<Record<string, any> | Headers>;
|
|
262
|
-
};
|
|
263
|
-
data: {
|
|
264
|
-
type: PropType< Awaitable<Mutable<Record<string, any>>> | ((rawFile: UploadRawFile) => Awaitable<UploadData>)>;
|
|
265
|
-
default: () => Mutable<{}>;
|
|
266
|
-
};
|
|
267
|
-
onChange: {
|
|
268
|
-
type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
269
|
-
default: () => void;
|
|
270
|
-
};
|
|
271
|
-
onError: {
|
|
272
|
-
type: PropType<(error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
273
|
-
default: () => void;
|
|
274
|
-
};
|
|
275
|
-
onProgress: {
|
|
276
|
-
type: PropType<(evt: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
277
|
-
default: () => void;
|
|
278
|
-
};
|
|
279
|
-
crossorigin: {
|
|
280
|
-
type: PropType<Crossorigin>;
|
|
281
|
-
};
|
|
282
|
-
beforeUpload: {
|
|
283
|
-
type: PropType<(rawFile: UploadRawFile) => Awaitable<void | undefined | null | boolean | File | Blob>>;
|
|
284
|
-
default: () => void;
|
|
285
|
-
};
|
|
286
|
-
beforeRemove: {
|
|
287
|
-
type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => Awaitable<boolean>>;
|
|
288
|
-
};
|
|
289
|
-
onRemove: {
|
|
290
|
-
type: PropType<(uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
291
|
-
default: () => void;
|
|
292
|
-
};
|
|
293
|
-
onPreview: {
|
|
294
|
-
type: PropType<(uploadFile: UploadFile) => void>;
|
|
295
|
-
default: () => void;
|
|
296
|
-
};
|
|
297
|
-
onSuccess: {
|
|
298
|
-
type: PropType<(response: any, uploadFile: UploadFile, uploadFiles: UploadFiles) => void>;
|
|
299
|
-
default: () => void;
|
|
300
|
-
};
|
|
301
|
-
onExceed: {
|
|
302
|
-
type: PropType<(files: File[], uploadFiles: UploadUserFile[]) => void>;
|
|
303
|
-
default: () => void;
|
|
304
|
-
};
|
|
305
|
-
action: {
|
|
306
|
-
type: PropType<string>;
|
|
307
|
-
default: "#";
|
|
308
|
-
};
|
|
309
|
-
multiple: {
|
|
310
|
-
type: PropType<boolean>;
|
|
311
|
-
};
|
|
312
|
-
drag: {
|
|
313
|
-
type: PropType<boolean>;
|
|
314
|
-
};
|
|
315
|
-
withCredentials: {
|
|
316
|
-
type: PropType<boolean>;
|
|
317
|
-
};
|
|
318
|
-
showFileList: {
|
|
319
|
-
type: PropType<boolean>;
|
|
320
|
-
default: true;
|
|
321
|
-
};
|
|
322
|
-
accept: {
|
|
323
|
-
type: PropType<string>;
|
|
324
|
-
default: "";
|
|
325
|
-
};
|
|
326
|
-
fileList: {
|
|
327
|
-
type: PropType< UploadUserFile[]>;
|
|
328
|
-
default: () => never[];
|
|
329
|
-
};
|
|
330
|
-
autoUpload: {
|
|
331
|
-
type: PropType<boolean>;
|
|
332
|
-
default: true;
|
|
333
|
-
};
|
|
334
|
-
listType: {
|
|
335
|
-
type: PropType<ListType>;
|
|
336
|
-
default: "text";
|
|
337
|
-
};
|
|
338
|
-
httpRequest: {
|
|
339
|
-
type: PropType<UploadRequestHandler>;
|
|
340
|
-
default: UploadRequestHandler;
|
|
341
|
-
};
|
|
342
|
-
limit: {
|
|
343
|
-
type: PropType<number>;
|
|
344
|
-
};
|
|
345
|
-
directory: {
|
|
346
|
-
type: PropType<boolean>;
|
|
347
|
-
};
|
|
348
|
-
}>>, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
|
|
123
|
+
}> & Omit<Readonly< UploadProps> & Readonly<{}>, "name" | "method" | "disabled" | "data" | "onChange" | "onError" | "onProgress" | "submit" | "beforeUpload" | "onRemove" | "onPreview" | "onSuccess" | "onExceed" | "action" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "abort" | "clearFiles" | "handleStart" | "handleRemove"> & ShallowUnwrapRef<{
|
|
349
124
|
abort: (file?: UploadFile) => void;
|
|
350
125
|
submit: () => void;
|
|
351
126
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
|
2
2
|
import { AISendData } from '../../hooks';
|
|
3
3
|
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -30,9 +30,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
30
30
|
readonly onRemove?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
readonly onSave?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
33
|
-
$attrs:
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
33
|
+
$attrs: Attrs;
|
|
36
34
|
$refs: {
|
|
37
35
|
[x: string]: unknown;
|
|
38
36
|
} & {
|
|
@@ -213,9 +211,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
213
211
|
}>>> | null | undefined;
|
|
214
212
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
|
215
213
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
|
216
|
-
$attrs:
|
|
217
|
-
[x: string]: unknown;
|
|
218
|
-
};
|
|
214
|
+
$attrs: Attrs;
|
|
219
215
|
$refs: {
|
|
220
216
|
[x: string]: unknown;
|
|
221
217
|
} & {
|
|
@@ -258,9 +254,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
258
254
|
readonly height?: string | number | undefined;
|
|
259
255
|
readonly overflow?: "hidden" | "auto" | "visible" | undefined;
|
|
260
256
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
|
|
261
|
-
$attrs:
|
|
262
|
-
[x: string]: unknown;
|
|
263
|
-
};
|
|
257
|
+
$attrs: Attrs;
|
|
264
258
|
$refs: {
|
|
265
259
|
[x: string]: unknown;
|
|
266
260
|
} & {
|