@vtj/designer 0.11.15 → 0.12.0-alpha.0
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-DN_yRaGC.js +4 -0
- package/dist/index-BW1rPE3i.js +17483 -0
- package/dist/index.mjs +69 -13054
- package/dist/style.css +1 -1
- package/package.json +10 -8
- package/types/components/hooks/index.d.ts +1 -0
- package/types/components/hooks/useAI.d.ts +188 -0
- package/types/components/hooks/useOpenApi.d.ts +15 -25
- package/types/components/hooks/useTemplates.d.ts +1 -1
- package/types/components/regions/apps.d.ts +32 -3
- package/types/components/regions/index.d.ts +31 -1
- package/types/components/regions/workspace.d.ts +1 -0
- package/types/components/shared/binder.d.ts +10 -10
- package/types/components/shared/item.d.ts +2 -0
- package/types/components/shared/panel.d.ts +1129 -5
- package/types/components/widgets/ai/avatar.d.ts +3 -0
- package/types/components/widgets/ai/bubble.d.ts +22 -0
- package/types/components/widgets/ai/chat-input.d.ts +27 -0
- package/types/components/widgets/ai/detail.d.ts +98 -0
- package/types/components/widgets/ai/index.d.ts +671 -0
- package/types/components/widgets/ai/invite-tip.d.ts +8 -0
- package/types/components/widgets/ai/login-tip.d.ts +3 -0
- package/types/components/widgets/ai/new-topic.d.ts +19 -0
- package/types/components/widgets/ai/no-file-tip.d.ts +3 -0
- package/types/components/widgets/ai/pay-tip.d.ts +11 -0
- package/types/components/widgets/ai/records.d.ts +18 -0
- package/types/components/widgets/ai/stream-markdown.d.ts +13 -0
- package/types/components/widgets/apis/form.d.ts +8 -8
- package/types/components/widgets/docs/index.d.ts +574 -5
- package/types/components/widgets/index.d.ts +1811 -7
- package/types/components/widgets/market/index.d.ts +574 -5
- package/types/framework/engine.d.ts +50 -1
- package/types/framework/index.d.ts +1 -0
- package/types/framework/openapi.d.ts +100 -0
- package/types/framework/renderer.d.ts +1 -0
- package/types/framework/report.d.ts +1 -1
- package/types/framework/types.d.ts +4 -0
- package/types/managers/widget.d.ts +11 -0
- package/types/utils.d.ts +2 -2
- package/types/version.d.ts +2 -2
- package/dist/Editor-7SLplEph.js +0 -67
@@ -1,7 +1,7 @@
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent,
|
2
|
-
import { ActionMenuItem } from '@vtj/ui';
|
3
|
-
import { Props } from '../../shared/panel';
|
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';
|
2
|
+
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
4
3
|
import { OnCleanup } from '@vue/reactivity';
|
4
|
+
import { Props } from '../../shared/panel';
|
5
5
|
export interface Props {
|
6
6
|
url?: string;
|
7
7
|
}
|
@@ -39,6 +39,565 @@ declare const _default: DefineComponent<Props, {
|
|
39
39
|
};
|
40
40
|
$refs: {
|
41
41
|
[x: string]: unknown;
|
42
|
+
} & {
|
43
|
+
panelRef: ({
|
44
|
+
$: ComponentInternalInstance;
|
45
|
+
$data: {};
|
46
|
+
$props: Partial<{
|
47
|
+
radius: boolean;
|
48
|
+
fit: boolean;
|
49
|
+
border: boolean;
|
50
|
+
card: boolean;
|
51
|
+
}> & Omit<{
|
52
|
+
readonly fit: boolean;
|
53
|
+
readonly radius: boolean;
|
54
|
+
readonly border: boolean;
|
55
|
+
readonly card: boolean;
|
56
|
+
readonly size?: BaseSize | undefined;
|
57
|
+
readonly height?: string | number | undefined;
|
58
|
+
readonly width?: string | number | undefined;
|
59
|
+
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
60
|
+
tag: {
|
61
|
+
type: StringConstructor;
|
62
|
+
default: string;
|
63
|
+
};
|
64
|
+
fit: {
|
65
|
+
type: BooleanConstructor;
|
66
|
+
default: boolean;
|
67
|
+
};
|
68
|
+
width: {
|
69
|
+
type: (StringConstructor | NumberConstructor)[];
|
70
|
+
};
|
71
|
+
height: {
|
72
|
+
type: (StringConstructor | NumberConstructor)[];
|
73
|
+
};
|
74
|
+
flex: {
|
75
|
+
type: BooleanConstructor;
|
76
|
+
default: boolean;
|
77
|
+
};
|
78
|
+
inline: {
|
79
|
+
type: BooleanConstructor;
|
80
|
+
};
|
81
|
+
direction: {
|
82
|
+
type: PropType<ContainerDirection>;
|
83
|
+
default: string;
|
84
|
+
};
|
85
|
+
wrap: {
|
86
|
+
type: PropType<ContainerWrap>;
|
87
|
+
default: string;
|
88
|
+
};
|
89
|
+
justify: {
|
90
|
+
type: PropType<ContainerJustifyContent>;
|
91
|
+
default: string;
|
92
|
+
};
|
93
|
+
align: {
|
94
|
+
type: PropType<ContainerAlignItems>;
|
95
|
+
default: string;
|
96
|
+
};
|
97
|
+
alignContent: {
|
98
|
+
type: PropType<ContainerAlignContent>;
|
99
|
+
default: string;
|
100
|
+
};
|
101
|
+
grow: {
|
102
|
+
type: BooleanConstructor;
|
103
|
+
default: boolean;
|
104
|
+
};
|
105
|
+
shrink: {
|
106
|
+
type: BooleanConstructor;
|
107
|
+
default: boolean;
|
108
|
+
};
|
109
|
+
alignSelf: {
|
110
|
+
type: PropType<"auto" | ContainerAlignItems>;
|
111
|
+
default: string;
|
112
|
+
};
|
113
|
+
overflow: {
|
114
|
+
type: PropType<"auto" | "hidden" | "visible">;
|
115
|
+
};
|
116
|
+
padding: {
|
117
|
+
type: BooleanConstructor;
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
gap: {
|
121
|
+
type: BooleanConstructor;
|
122
|
+
};
|
123
|
+
autoPointer: {
|
124
|
+
type: BooleanConstructor;
|
125
|
+
};
|
126
|
+
}>>> | undefined;
|
127
|
+
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
128
|
+
tag: {
|
129
|
+
type: StringConstructor;
|
130
|
+
default: string;
|
131
|
+
};
|
132
|
+
fit: {
|
133
|
+
type: BooleanConstructor;
|
134
|
+
default: boolean;
|
135
|
+
};
|
136
|
+
width: {
|
137
|
+
type: (StringConstructor | NumberConstructor)[];
|
138
|
+
};
|
139
|
+
height: {
|
140
|
+
type: (StringConstructor | NumberConstructor)[];
|
141
|
+
};
|
142
|
+
flex: {
|
143
|
+
type: BooleanConstructor;
|
144
|
+
default: boolean;
|
145
|
+
};
|
146
|
+
inline: {
|
147
|
+
type: BooleanConstructor;
|
148
|
+
};
|
149
|
+
direction: {
|
150
|
+
type: PropType<ContainerDirection>;
|
151
|
+
default: string;
|
152
|
+
};
|
153
|
+
wrap: {
|
154
|
+
type: PropType<ContainerWrap>;
|
155
|
+
default: string;
|
156
|
+
};
|
157
|
+
justify: {
|
158
|
+
type: PropType<ContainerJustifyContent>;
|
159
|
+
default: string;
|
160
|
+
};
|
161
|
+
align: {
|
162
|
+
type: PropType<ContainerAlignItems>;
|
163
|
+
default: string;
|
164
|
+
};
|
165
|
+
alignContent: {
|
166
|
+
type: PropType<ContainerAlignContent>;
|
167
|
+
default: string;
|
168
|
+
};
|
169
|
+
grow: {
|
170
|
+
type: BooleanConstructor;
|
171
|
+
default: boolean;
|
172
|
+
};
|
173
|
+
shrink: {
|
174
|
+
type: BooleanConstructor;
|
175
|
+
default: boolean;
|
176
|
+
};
|
177
|
+
alignSelf: {
|
178
|
+
type: PropType<"auto" | ContainerAlignItems>;
|
179
|
+
default: string;
|
180
|
+
};
|
181
|
+
overflow: {
|
182
|
+
type: PropType<"auto" | "hidden" | "visible">;
|
183
|
+
};
|
184
|
+
padding: {
|
185
|
+
type: BooleanConstructor;
|
186
|
+
default: boolean;
|
187
|
+
};
|
188
|
+
gap: {
|
189
|
+
type: BooleanConstructor;
|
190
|
+
};
|
191
|
+
autoPointer: {
|
192
|
+
type: BooleanConstructor;
|
193
|
+
};
|
194
|
+
}>>> | undefined;
|
195
|
+
readonly header?: string | Readonly<Partial< ExtractPropTypes<{
|
196
|
+
size: {
|
197
|
+
type: PropType<BaseSize>;
|
198
|
+
default: string;
|
199
|
+
};
|
200
|
+
content: {
|
201
|
+
type: StringConstructor;
|
202
|
+
default: string;
|
203
|
+
};
|
204
|
+
subtitle: {
|
205
|
+
type: StringConstructor;
|
206
|
+
};
|
207
|
+
icon: {
|
208
|
+
type: PropType<IconParam>;
|
209
|
+
};
|
210
|
+
border: {
|
211
|
+
type: BooleanConstructor;
|
212
|
+
};
|
213
|
+
more: {
|
214
|
+
type: BooleanConstructor;
|
215
|
+
};
|
216
|
+
}>>> | null | undefined;
|
217
|
+
readonly shadow?: "hover" | "none" | "always" | undefined;
|
218
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
|
219
|
+
$attrs: {
|
220
|
+
[x: string]: unknown;
|
221
|
+
};
|
222
|
+
$refs: {
|
223
|
+
[x: string]: unknown;
|
224
|
+
} & {
|
225
|
+
bodyRef: ({
|
226
|
+
$: ComponentInternalInstance;
|
227
|
+
$data: {};
|
228
|
+
$props: Partial<{
|
229
|
+
padding: boolean;
|
230
|
+
tag: string;
|
231
|
+
wrap: ContainerWrap;
|
232
|
+
fit: boolean;
|
233
|
+
flex: boolean;
|
234
|
+
inline: boolean;
|
235
|
+
direction: ContainerDirection;
|
236
|
+
justify: ContainerJustifyContent;
|
237
|
+
align: ContainerAlignItems;
|
238
|
+
alignContent: ContainerAlignContent;
|
239
|
+
grow: boolean;
|
240
|
+
shrink: boolean;
|
241
|
+
alignSelf: "auto" | ContainerAlignItems;
|
242
|
+
gap: boolean;
|
243
|
+
autoPointer: boolean;
|
244
|
+
}> & Omit<{
|
245
|
+
readonly padding: boolean;
|
246
|
+
readonly tag: string;
|
247
|
+
readonly wrap: ContainerWrap;
|
248
|
+
readonly fit: boolean;
|
249
|
+
readonly flex: boolean;
|
250
|
+
readonly inline: boolean;
|
251
|
+
readonly direction: ContainerDirection;
|
252
|
+
readonly justify: ContainerJustifyContent;
|
253
|
+
readonly align: ContainerAlignItems;
|
254
|
+
readonly alignContent: ContainerAlignContent;
|
255
|
+
readonly grow: boolean;
|
256
|
+
readonly shrink: boolean;
|
257
|
+
readonly alignSelf: "auto" | ContainerAlignItems;
|
258
|
+
readonly gap: boolean;
|
259
|
+
readonly autoPointer: boolean;
|
260
|
+
readonly width?: string | number | undefined;
|
261
|
+
readonly height?: string | number | undefined;
|
262
|
+
readonly overflow?: "hidden" | "auto" | "visible" | undefined;
|
263
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
|
264
|
+
$attrs: {
|
265
|
+
[x: string]: unknown;
|
266
|
+
};
|
267
|
+
$refs: {
|
268
|
+
[x: string]: unknown;
|
269
|
+
} & {
|
270
|
+
elRef: unknown;
|
271
|
+
};
|
272
|
+
$slots: Readonly<{
|
273
|
+
[name: string]: Slot<any> | undefined;
|
274
|
+
}>;
|
275
|
+
$root: ComponentPublicInstance | null;
|
276
|
+
$parent: ComponentPublicInstance | null;
|
277
|
+
$host: Element | null;
|
278
|
+
$emit: (event: string, ...args: any[]) => void;
|
279
|
+
$el: any;
|
280
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
281
|
+
tag: {
|
282
|
+
type: StringConstructor;
|
283
|
+
default: string;
|
284
|
+
};
|
285
|
+
fit: {
|
286
|
+
type: BooleanConstructor;
|
287
|
+
default: boolean;
|
288
|
+
};
|
289
|
+
width: {
|
290
|
+
type: (StringConstructor | NumberConstructor)[];
|
291
|
+
};
|
292
|
+
height: {
|
293
|
+
type: (StringConstructor | NumberConstructor)[];
|
294
|
+
};
|
295
|
+
flex: {
|
296
|
+
type: BooleanConstructor;
|
297
|
+
default: boolean;
|
298
|
+
};
|
299
|
+
inline: {
|
300
|
+
type: BooleanConstructor;
|
301
|
+
};
|
302
|
+
direction: {
|
303
|
+
type: PropType<ContainerDirection>;
|
304
|
+
default: string;
|
305
|
+
};
|
306
|
+
wrap: {
|
307
|
+
type: PropType<ContainerWrap>;
|
308
|
+
default: string;
|
309
|
+
};
|
310
|
+
justify: {
|
311
|
+
type: PropType<ContainerJustifyContent>;
|
312
|
+
default: string;
|
313
|
+
};
|
314
|
+
align: {
|
315
|
+
type: PropType<ContainerAlignItems>;
|
316
|
+
default: string;
|
317
|
+
};
|
318
|
+
alignContent: {
|
319
|
+
type: PropType<ContainerAlignContent>;
|
320
|
+
default: string;
|
321
|
+
};
|
322
|
+
grow: {
|
323
|
+
type: BooleanConstructor;
|
324
|
+
default: boolean;
|
325
|
+
};
|
326
|
+
shrink: {
|
327
|
+
type: BooleanConstructor;
|
328
|
+
default: boolean;
|
329
|
+
};
|
330
|
+
alignSelf: {
|
331
|
+
type: PropType<"auto" | ContainerAlignItems>;
|
332
|
+
default: string;
|
333
|
+
};
|
334
|
+
overflow: {
|
335
|
+
type: PropType<"auto" | "hidden" | "visible">;
|
336
|
+
};
|
337
|
+
padding: {
|
338
|
+
type: BooleanConstructor;
|
339
|
+
default: boolean;
|
340
|
+
};
|
341
|
+
gap: {
|
342
|
+
type: BooleanConstructor;
|
343
|
+
};
|
344
|
+
autoPointer: {
|
345
|
+
type: BooleanConstructor;
|
346
|
+
};
|
347
|
+
}>> & Readonly<{}>, {
|
348
|
+
$vtjEl: ComputedRef<any>;
|
349
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
350
|
+
padding: boolean;
|
351
|
+
tag: string;
|
352
|
+
wrap: ContainerWrap;
|
353
|
+
fit: boolean;
|
354
|
+
flex: boolean;
|
355
|
+
inline: boolean;
|
356
|
+
direction: ContainerDirection;
|
357
|
+
justify: ContainerJustifyContent;
|
358
|
+
align: ContainerAlignItems;
|
359
|
+
alignContent: ContainerAlignContent;
|
360
|
+
grow: boolean;
|
361
|
+
shrink: boolean;
|
362
|
+
alignSelf: "auto" | ContainerAlignItems;
|
363
|
+
gap: boolean;
|
364
|
+
autoPointer: boolean;
|
365
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
366
|
+
beforeCreate?: (() => void) | (() => void)[];
|
367
|
+
created?: (() => void) | (() => void)[];
|
368
|
+
beforeMount?: (() => void) | (() => void)[];
|
369
|
+
mounted?: (() => void) | (() => void)[];
|
370
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
371
|
+
updated?: (() => void) | (() => void)[];
|
372
|
+
activated?: (() => void) | (() => void)[];
|
373
|
+
deactivated?: (() => void) | (() => void)[];
|
374
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
375
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
376
|
+
destroyed?: (() => void) | (() => void)[];
|
377
|
+
unmounted?: (() => void) | (() => void)[];
|
378
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
379
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
380
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
381
|
+
};
|
382
|
+
$forceUpdate: () => void;
|
383
|
+
$nextTick: nextTick;
|
384
|
+
$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;
|
385
|
+
} & Readonly<{
|
386
|
+
padding: boolean;
|
387
|
+
tag: string;
|
388
|
+
wrap: ContainerWrap;
|
389
|
+
fit: boolean;
|
390
|
+
flex: boolean;
|
391
|
+
inline: boolean;
|
392
|
+
direction: ContainerDirection;
|
393
|
+
justify: ContainerJustifyContent;
|
394
|
+
align: ContainerAlignItems;
|
395
|
+
alignContent: ContainerAlignContent;
|
396
|
+
grow: boolean;
|
397
|
+
shrink: boolean;
|
398
|
+
alignSelf: "auto" | ContainerAlignItems;
|
399
|
+
gap: boolean;
|
400
|
+
autoPointer: boolean;
|
401
|
+
}> & Omit<Readonly< ExtractPropTypes<{
|
402
|
+
tag: {
|
403
|
+
type: StringConstructor;
|
404
|
+
default: string;
|
405
|
+
};
|
406
|
+
fit: {
|
407
|
+
type: BooleanConstructor;
|
408
|
+
default: boolean;
|
409
|
+
};
|
410
|
+
width: {
|
411
|
+
type: (StringConstructor | NumberConstructor)[];
|
412
|
+
};
|
413
|
+
height: {
|
414
|
+
type: (StringConstructor | NumberConstructor)[];
|
415
|
+
};
|
416
|
+
flex: {
|
417
|
+
type: BooleanConstructor;
|
418
|
+
default: boolean;
|
419
|
+
};
|
420
|
+
inline: {
|
421
|
+
type: BooleanConstructor;
|
422
|
+
};
|
423
|
+
direction: {
|
424
|
+
type: PropType<ContainerDirection>;
|
425
|
+
default: string;
|
426
|
+
};
|
427
|
+
wrap: {
|
428
|
+
type: PropType<ContainerWrap>;
|
429
|
+
default: string;
|
430
|
+
};
|
431
|
+
justify: {
|
432
|
+
type: PropType<ContainerJustifyContent>;
|
433
|
+
default: string;
|
434
|
+
};
|
435
|
+
align: {
|
436
|
+
type: PropType<ContainerAlignItems>;
|
437
|
+
default: string;
|
438
|
+
};
|
439
|
+
alignContent: {
|
440
|
+
type: PropType<ContainerAlignContent>;
|
441
|
+
default: string;
|
442
|
+
};
|
443
|
+
grow: {
|
444
|
+
type: BooleanConstructor;
|
445
|
+
default: boolean;
|
446
|
+
};
|
447
|
+
shrink: {
|
448
|
+
type: BooleanConstructor;
|
449
|
+
default: boolean;
|
450
|
+
};
|
451
|
+
alignSelf: {
|
452
|
+
type: PropType<"auto" | ContainerAlignItems>;
|
453
|
+
default: string;
|
454
|
+
};
|
455
|
+
overflow: {
|
456
|
+
type: PropType<"auto" | "hidden" | "visible">;
|
457
|
+
};
|
458
|
+
padding: {
|
459
|
+
type: BooleanConstructor;
|
460
|
+
default: boolean;
|
461
|
+
};
|
462
|
+
gap: {
|
463
|
+
type: BooleanConstructor;
|
464
|
+
};
|
465
|
+
autoPointer: {
|
466
|
+
type: BooleanConstructor;
|
467
|
+
};
|
468
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
|
469
|
+
$vtjEl: ComputedRef<any>;
|
470
|
+
}> & {} & ComponentCustomProperties & {} & {
|
471
|
+
$slots: {
|
472
|
+
default?(_: {}): any;
|
473
|
+
};
|
474
|
+
}) | null;
|
475
|
+
};
|
476
|
+
$slots: Readonly<{
|
477
|
+
[name: string]: Slot<any> | undefined;
|
478
|
+
}>;
|
479
|
+
$root: ComponentPublicInstance | null;
|
480
|
+
$parent: ComponentPublicInstance | null;
|
481
|
+
$host: Element | null;
|
482
|
+
$emit: (event: string, ...args: any[]) => void;
|
483
|
+
$el: any;
|
484
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
485
|
+
fit: {
|
486
|
+
type: BooleanConstructor;
|
487
|
+
default: boolean;
|
488
|
+
};
|
489
|
+
width: {
|
490
|
+
type: (StringConstructor | NumberConstructor)[];
|
491
|
+
};
|
492
|
+
height: {
|
493
|
+
type: (StringConstructor | NumberConstructor)[];
|
494
|
+
};
|
495
|
+
border: {
|
496
|
+
type: BooleanConstructor;
|
497
|
+
default: boolean;
|
498
|
+
};
|
499
|
+
radius: {
|
500
|
+
type: BooleanConstructor;
|
501
|
+
default: boolean;
|
502
|
+
};
|
503
|
+
card: {
|
504
|
+
type: BooleanConstructor;
|
505
|
+
};
|
506
|
+
size: {
|
507
|
+
type: PropType<BaseSize>;
|
508
|
+
};
|
509
|
+
shadow: {
|
510
|
+
type: PropType<"none" | "always" | "hover">;
|
511
|
+
};
|
512
|
+
header: {
|
513
|
+
type: PropType<string | HeaderProps | null>;
|
514
|
+
};
|
515
|
+
body: {
|
516
|
+
type: PropType<ContainerProps>;
|
517
|
+
};
|
518
|
+
footer: {
|
519
|
+
type: PropType<ContainerProps>;
|
520
|
+
};
|
521
|
+
}>> & Readonly<{}>, {
|
522
|
+
bodyRef: Ref<any, any>;
|
523
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
524
|
+
radius: boolean;
|
525
|
+
fit: boolean;
|
526
|
+
border: boolean;
|
527
|
+
card: boolean;
|
528
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
529
|
+
beforeCreate?: (() => void) | (() => void)[];
|
530
|
+
created?: (() => void) | (() => void)[];
|
531
|
+
beforeMount?: (() => void) | (() => void)[];
|
532
|
+
mounted?: (() => void) | (() => void)[];
|
533
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
534
|
+
updated?: (() => void) | (() => void)[];
|
535
|
+
activated?: (() => void) | (() => void)[];
|
536
|
+
deactivated?: (() => void) | (() => void)[];
|
537
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
538
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
539
|
+
destroyed?: (() => void) | (() => void)[];
|
540
|
+
unmounted?: (() => void) | (() => void)[];
|
541
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
542
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
543
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
544
|
+
};
|
545
|
+
$forceUpdate: () => void;
|
546
|
+
$nextTick: nextTick;
|
547
|
+
$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;
|
548
|
+
} & Readonly<{
|
549
|
+
radius: boolean;
|
550
|
+
fit: boolean;
|
551
|
+
border: boolean;
|
552
|
+
card: boolean;
|
553
|
+
}> & Omit<Readonly< ExtractPropTypes<{
|
554
|
+
fit: {
|
555
|
+
type: BooleanConstructor;
|
556
|
+
default: boolean;
|
557
|
+
};
|
558
|
+
width: {
|
559
|
+
type: (StringConstructor | NumberConstructor)[];
|
560
|
+
};
|
561
|
+
height: {
|
562
|
+
type: (StringConstructor | NumberConstructor)[];
|
563
|
+
};
|
564
|
+
border: {
|
565
|
+
type: BooleanConstructor;
|
566
|
+
default: boolean;
|
567
|
+
};
|
568
|
+
radius: {
|
569
|
+
type: BooleanConstructor;
|
570
|
+
default: boolean;
|
571
|
+
};
|
572
|
+
card: {
|
573
|
+
type: BooleanConstructor;
|
574
|
+
};
|
575
|
+
size: {
|
576
|
+
type: PropType<BaseSize>;
|
577
|
+
};
|
578
|
+
shadow: {
|
579
|
+
type: PropType<"none" | "always" | "hover">;
|
580
|
+
};
|
581
|
+
header: {
|
582
|
+
type: PropType<string | HeaderProps | null>;
|
583
|
+
};
|
584
|
+
body: {
|
585
|
+
type: PropType<ContainerProps>;
|
586
|
+
};
|
587
|
+
footer: {
|
588
|
+
type: PropType<ContainerProps>;
|
589
|
+
};
|
590
|
+
}>> & Readonly<{}>, "fit" | "radius" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
591
|
+
bodyRef: Ref<any, any>;
|
592
|
+
}> & {} & ComponentCustomProperties & {} & {
|
593
|
+
$slots: {
|
594
|
+
header?(_: {}): any;
|
595
|
+
title?(_: {}): any;
|
596
|
+
actions?(_: {}): any;
|
597
|
+
default?(_: {}): any;
|
598
|
+
footer?(_: {}): any;
|
599
|
+
};
|
600
|
+
}) | null;
|
42
601
|
};
|
43
602
|
$slots: Readonly<{
|
44
603
|
[name: string]: Slot<any> | undefined;
|
@@ -56,7 +615,12 @@ declare const _default: DefineComponent<Props, {
|
|
56
615
|
onEdit?: ((...args: any[]) => any) | undefined;
|
57
616
|
onRemove?: ((...args: any[]) => any) | undefined;
|
58
617
|
onSave?: ((...args: any[]) => any) | undefined;
|
59
|
-
}>, {
|
618
|
+
}>, {
|
619
|
+
panelRef: Ref<any, any>;
|
620
|
+
scrollToBottom: () => void;
|
621
|
+
autoScrollToBottom: (diff?: number) => void;
|
622
|
+
scrollToTop: () => void;
|
623
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
60
624
|
command: (...args: any[]) => void;
|
61
625
|
refresh: (...args: any[]) => void;
|
62
626
|
plus: (...args: any[]) => void;
|
@@ -98,7 +662,12 @@ declare const _default: DefineComponent<Props, {
|
|
98
662
|
onEdit?: ((...args: any[]) => any) | undefined;
|
99
663
|
onRemove?: ((...args: any[]) => any) | undefined;
|
100
664
|
onSave?: ((...args: any[]) => any) | undefined;
|
101
|
-
}>, "
|
665
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("header" | "menus")> & ShallowUnwrapRef<{
|
666
|
+
panelRef: Ref<any, any>;
|
667
|
+
scrollToBottom: () => void;
|
668
|
+
autoScrollToBottom: (diff?: number) => void;
|
669
|
+
scrollToTop: () => void;
|
670
|
+
}> & {} & ComponentCustomProperties & {} & {
|
102
671
|
$slots: {
|
103
672
|
actions?(_: {}): any;
|
104
673
|
default?(_: {}): any;
|