@vtj/designer 0.11.16 → 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.
Files changed (39) hide show
  1. package/dist/Editor-DN_yRaGC.js +4 -0
  2. package/dist/index-BW1rPE3i.js +17483 -0
  3. package/dist/index.mjs +69 -13063
  4. package/dist/style.css +1 -1
  5. package/package.json +10 -8
  6. package/types/components/hooks/index.d.ts +1 -0
  7. package/types/components/hooks/useAI.d.ts +188 -0
  8. package/types/components/hooks/useOpenApi.d.ts +15 -25
  9. package/types/components/hooks/useTemplates.d.ts +1 -1
  10. package/types/components/regions/apps.d.ts +32 -3
  11. package/types/components/regions/index.d.ts +30 -1
  12. package/types/components/shared/binder.d.ts +10 -10
  13. package/types/components/shared/item.d.ts +2 -0
  14. package/types/components/shared/panel.d.ts +1129 -5
  15. package/types/components/widgets/ai/avatar.d.ts +3 -0
  16. package/types/components/widgets/ai/bubble.d.ts +22 -0
  17. package/types/components/widgets/ai/chat-input.d.ts +27 -0
  18. package/types/components/widgets/ai/detail.d.ts +98 -0
  19. package/types/components/widgets/ai/index.d.ts +671 -0
  20. package/types/components/widgets/ai/invite-tip.d.ts +8 -0
  21. package/types/components/widgets/ai/login-tip.d.ts +3 -0
  22. package/types/components/widgets/ai/new-topic.d.ts +19 -0
  23. package/types/components/widgets/ai/no-file-tip.d.ts +3 -0
  24. package/types/components/widgets/ai/pay-tip.d.ts +11 -0
  25. package/types/components/widgets/ai/records.d.ts +18 -0
  26. package/types/components/widgets/ai/stream-markdown.d.ts +13 -0
  27. package/types/components/widgets/apis/form.d.ts +8 -8
  28. package/types/components/widgets/docs/index.d.ts +574 -5
  29. package/types/components/widgets/index.d.ts +1811 -7
  30. package/types/components/widgets/market/index.d.ts +574 -5
  31. package/types/framework/engine.d.ts +50 -1
  32. package/types/framework/index.d.ts +1 -0
  33. package/types/framework/openapi.d.ts +100 -0
  34. package/types/framework/report.d.ts +1 -1
  35. package/types/framework/types.d.ts +4 -0
  36. package/types/managers/widget.d.ts +11 -0
  37. package/types/utils.d.ts +2 -2
  38. package/types/version.d.ts +2 -2
  39. package/dist/Editor-7SLplEph.js +0 -67
@@ -1,5 +1,6 @@
1
- import { ActionMenuItem } from '@vtj/ui';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
2
+ import { ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick, DefineComponent, PublicProps } from 'vue';
3
+ import { OnCleanup } from '@vue/reactivity';
3
4
  export interface Props {
4
5
  title?: string;
5
6
  subtitle?: string;
@@ -20,11 +21,575 @@ declare function __VLS_template(): {
20
21
  default?(_: {}): any;
21
22
  footer?(_: {}): any;
22
23
  };
23
- refs: {};
24
+ refs: {
25
+ panelRef: ({
26
+ $: ComponentInternalInstance;
27
+ $data: {};
28
+ $props: Partial<{
29
+ radius: boolean;
30
+ fit: boolean;
31
+ border: boolean;
32
+ card: boolean;
33
+ }> & Omit<{
34
+ readonly fit: boolean;
35
+ readonly radius: boolean;
36
+ readonly border: boolean;
37
+ readonly card: boolean;
38
+ readonly size?: BaseSize | undefined;
39
+ readonly height?: string | number | undefined;
40
+ readonly width?: string | number | undefined;
41
+ readonly body?: Readonly<Partial< ExtractPropTypes<{
42
+ tag: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ fit: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ width: {
51
+ type: (StringConstructor | NumberConstructor)[];
52
+ };
53
+ height: {
54
+ type: (StringConstructor | NumberConstructor)[];
55
+ };
56
+ flex: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ inline: {
61
+ type: BooleanConstructor;
62
+ };
63
+ direction: {
64
+ type: PropType<ContainerDirection>;
65
+ default: string;
66
+ };
67
+ wrap: {
68
+ type: PropType<ContainerWrap>;
69
+ default: string;
70
+ };
71
+ justify: {
72
+ type: PropType<ContainerJustifyContent>;
73
+ default: string;
74
+ };
75
+ align: {
76
+ type: PropType<ContainerAlignItems>;
77
+ default: string;
78
+ };
79
+ alignContent: {
80
+ type: PropType<ContainerAlignContent>;
81
+ default: string;
82
+ };
83
+ grow: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ shrink: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ alignSelf: {
92
+ type: PropType<"auto" | ContainerAlignItems>;
93
+ default: string;
94
+ };
95
+ overflow: {
96
+ type: PropType<"auto" | "hidden" | "visible">;
97
+ };
98
+ padding: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ gap: {
103
+ type: BooleanConstructor;
104
+ };
105
+ autoPointer: {
106
+ type: BooleanConstructor;
107
+ };
108
+ }>>> | undefined;
109
+ readonly footer?: Readonly<Partial< ExtractPropTypes<{
110
+ tag: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
114
+ fit: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ width: {
119
+ type: (StringConstructor | NumberConstructor)[];
120
+ };
121
+ height: {
122
+ type: (StringConstructor | NumberConstructor)[];
123
+ };
124
+ flex: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ inline: {
129
+ type: BooleanConstructor;
130
+ };
131
+ direction: {
132
+ type: PropType<ContainerDirection>;
133
+ default: string;
134
+ };
135
+ wrap: {
136
+ type: PropType<ContainerWrap>;
137
+ default: string;
138
+ };
139
+ justify: {
140
+ type: PropType<ContainerJustifyContent>;
141
+ default: string;
142
+ };
143
+ align: {
144
+ type: PropType<ContainerAlignItems>;
145
+ default: string;
146
+ };
147
+ alignContent: {
148
+ type: PropType<ContainerAlignContent>;
149
+ default: string;
150
+ };
151
+ grow: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ shrink: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ alignSelf: {
160
+ type: PropType<"auto" | ContainerAlignItems>;
161
+ default: string;
162
+ };
163
+ overflow: {
164
+ type: PropType<"auto" | "hidden" | "visible">;
165
+ };
166
+ padding: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
170
+ gap: {
171
+ type: BooleanConstructor;
172
+ };
173
+ autoPointer: {
174
+ type: BooleanConstructor;
175
+ };
176
+ }>>> | undefined;
177
+ readonly header?: string | Readonly<Partial< ExtractPropTypes<{
178
+ size: {
179
+ type: PropType<BaseSize>;
180
+ default: string;
181
+ };
182
+ content: {
183
+ type: StringConstructor;
184
+ default: string;
185
+ };
186
+ subtitle: {
187
+ type: StringConstructor;
188
+ };
189
+ icon: {
190
+ type: PropType<IconParam>;
191
+ };
192
+ border: {
193
+ type: BooleanConstructor;
194
+ };
195
+ more: {
196
+ type: BooleanConstructor;
197
+ };
198
+ }>>> | null | undefined;
199
+ readonly shadow?: "hover" | "none" | "always" | undefined;
200
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
201
+ $attrs: {
202
+ [x: string]: unknown;
203
+ };
204
+ $refs: {
205
+ [x: string]: unknown;
206
+ } & {
207
+ bodyRef: ({
208
+ $: ComponentInternalInstance;
209
+ $data: {};
210
+ $props: Partial<{
211
+ padding: boolean;
212
+ tag: string;
213
+ wrap: ContainerWrap;
214
+ fit: boolean;
215
+ flex: boolean;
216
+ inline: boolean;
217
+ direction: ContainerDirection;
218
+ justify: ContainerJustifyContent;
219
+ align: ContainerAlignItems;
220
+ alignContent: ContainerAlignContent;
221
+ grow: boolean;
222
+ shrink: boolean;
223
+ alignSelf: "auto" | ContainerAlignItems;
224
+ gap: boolean;
225
+ autoPointer: boolean;
226
+ }> & Omit<{
227
+ readonly padding: boolean;
228
+ readonly tag: string;
229
+ readonly wrap: ContainerWrap;
230
+ readonly fit: boolean;
231
+ readonly flex: boolean;
232
+ readonly inline: boolean;
233
+ readonly direction: ContainerDirection;
234
+ readonly justify: ContainerJustifyContent;
235
+ readonly align: ContainerAlignItems;
236
+ readonly alignContent: ContainerAlignContent;
237
+ readonly grow: boolean;
238
+ readonly shrink: boolean;
239
+ readonly alignSelf: "auto" | ContainerAlignItems;
240
+ readonly gap: boolean;
241
+ readonly autoPointer: boolean;
242
+ readonly width?: string | number | undefined;
243
+ readonly height?: string | number | undefined;
244
+ readonly overflow?: "hidden" | "auto" | "visible" | undefined;
245
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
246
+ $attrs: {
247
+ [x: string]: unknown;
248
+ };
249
+ $refs: {
250
+ [x: string]: unknown;
251
+ } & {
252
+ elRef: unknown;
253
+ };
254
+ $slots: Readonly<{
255
+ [name: string]: Slot<any> | undefined;
256
+ }>;
257
+ $root: ComponentPublicInstance | null;
258
+ $parent: ComponentPublicInstance | null;
259
+ $host: Element | null;
260
+ $emit: (event: string, ...args: any[]) => void;
261
+ $el: any;
262
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
263
+ tag: {
264
+ type: StringConstructor;
265
+ default: string;
266
+ };
267
+ fit: {
268
+ type: BooleanConstructor;
269
+ default: boolean;
270
+ };
271
+ width: {
272
+ type: (StringConstructor | NumberConstructor)[];
273
+ };
274
+ height: {
275
+ type: (StringConstructor | NumberConstructor)[];
276
+ };
277
+ flex: {
278
+ type: BooleanConstructor;
279
+ default: boolean;
280
+ };
281
+ inline: {
282
+ type: BooleanConstructor;
283
+ };
284
+ direction: {
285
+ type: PropType<ContainerDirection>;
286
+ default: string;
287
+ };
288
+ wrap: {
289
+ type: PropType<ContainerWrap>;
290
+ default: string;
291
+ };
292
+ justify: {
293
+ type: PropType<ContainerJustifyContent>;
294
+ default: string;
295
+ };
296
+ align: {
297
+ type: PropType<ContainerAlignItems>;
298
+ default: string;
299
+ };
300
+ alignContent: {
301
+ type: PropType<ContainerAlignContent>;
302
+ default: string;
303
+ };
304
+ grow: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ shrink: {
309
+ type: BooleanConstructor;
310
+ default: boolean;
311
+ };
312
+ alignSelf: {
313
+ type: PropType<"auto" | ContainerAlignItems>;
314
+ default: string;
315
+ };
316
+ overflow: {
317
+ type: PropType<"auto" | "hidden" | "visible">;
318
+ };
319
+ padding: {
320
+ type: BooleanConstructor;
321
+ default: boolean;
322
+ };
323
+ gap: {
324
+ type: BooleanConstructor;
325
+ };
326
+ autoPointer: {
327
+ type: BooleanConstructor;
328
+ };
329
+ }>> & Readonly<{}>, {
330
+ $vtjEl: ComputedRef<any>;
331
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
332
+ padding: boolean;
333
+ tag: string;
334
+ wrap: ContainerWrap;
335
+ fit: boolean;
336
+ flex: boolean;
337
+ inline: boolean;
338
+ direction: ContainerDirection;
339
+ justify: ContainerJustifyContent;
340
+ align: ContainerAlignItems;
341
+ alignContent: ContainerAlignContent;
342
+ grow: boolean;
343
+ shrink: boolean;
344
+ alignSelf: "auto" | ContainerAlignItems;
345
+ gap: boolean;
346
+ autoPointer: boolean;
347
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
348
+ beforeCreate?: (() => void) | (() => void)[];
349
+ created?: (() => void) | (() => void)[];
350
+ beforeMount?: (() => void) | (() => void)[];
351
+ mounted?: (() => void) | (() => void)[];
352
+ beforeUpdate?: (() => void) | (() => void)[];
353
+ updated?: (() => void) | (() => void)[];
354
+ activated?: (() => void) | (() => void)[];
355
+ deactivated?: (() => void) | (() => void)[];
356
+ beforeDestroy?: (() => void) | (() => void)[];
357
+ beforeUnmount?: (() => void) | (() => void)[];
358
+ destroyed?: (() => void) | (() => void)[];
359
+ unmounted?: (() => void) | (() => void)[];
360
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
361
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
362
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
363
+ };
364
+ $forceUpdate: () => void;
365
+ $nextTick: nextTick;
366
+ $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;
367
+ } & Readonly<{
368
+ padding: boolean;
369
+ tag: string;
370
+ wrap: ContainerWrap;
371
+ fit: boolean;
372
+ flex: boolean;
373
+ inline: boolean;
374
+ direction: ContainerDirection;
375
+ justify: ContainerJustifyContent;
376
+ align: ContainerAlignItems;
377
+ alignContent: ContainerAlignContent;
378
+ grow: boolean;
379
+ shrink: boolean;
380
+ alignSelf: "auto" | ContainerAlignItems;
381
+ gap: boolean;
382
+ autoPointer: boolean;
383
+ }> & Omit<Readonly< ExtractPropTypes<{
384
+ tag: {
385
+ type: StringConstructor;
386
+ default: string;
387
+ };
388
+ fit: {
389
+ type: BooleanConstructor;
390
+ default: boolean;
391
+ };
392
+ width: {
393
+ type: (StringConstructor | NumberConstructor)[];
394
+ };
395
+ height: {
396
+ type: (StringConstructor | NumberConstructor)[];
397
+ };
398
+ flex: {
399
+ type: BooleanConstructor;
400
+ default: boolean;
401
+ };
402
+ inline: {
403
+ type: BooleanConstructor;
404
+ };
405
+ direction: {
406
+ type: PropType<ContainerDirection>;
407
+ default: string;
408
+ };
409
+ wrap: {
410
+ type: PropType<ContainerWrap>;
411
+ default: string;
412
+ };
413
+ justify: {
414
+ type: PropType<ContainerJustifyContent>;
415
+ default: string;
416
+ };
417
+ align: {
418
+ type: PropType<ContainerAlignItems>;
419
+ default: string;
420
+ };
421
+ alignContent: {
422
+ type: PropType<ContainerAlignContent>;
423
+ default: string;
424
+ };
425
+ grow: {
426
+ type: BooleanConstructor;
427
+ default: boolean;
428
+ };
429
+ shrink: {
430
+ type: BooleanConstructor;
431
+ default: boolean;
432
+ };
433
+ alignSelf: {
434
+ type: PropType<"auto" | ContainerAlignItems>;
435
+ default: string;
436
+ };
437
+ overflow: {
438
+ type: PropType<"auto" | "hidden" | "visible">;
439
+ };
440
+ padding: {
441
+ type: BooleanConstructor;
442
+ default: boolean;
443
+ };
444
+ gap: {
445
+ type: BooleanConstructor;
446
+ };
447
+ autoPointer: {
448
+ type: BooleanConstructor;
449
+ };
450
+ }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
451
+ $vtjEl: ComputedRef<any>;
452
+ }> & {} & ComponentCustomProperties & {} & {
453
+ $slots: {
454
+ default?(_: {}): any;
455
+ };
456
+ }) | null;
457
+ };
458
+ $slots: Readonly<{
459
+ [name: string]: Slot<any> | undefined;
460
+ }>;
461
+ $root: ComponentPublicInstance | null;
462
+ $parent: ComponentPublicInstance | null;
463
+ $host: Element | null;
464
+ $emit: (event: string, ...args: any[]) => void;
465
+ $el: any;
466
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
467
+ fit: {
468
+ type: BooleanConstructor;
469
+ default: boolean;
470
+ };
471
+ width: {
472
+ type: (StringConstructor | NumberConstructor)[];
473
+ };
474
+ height: {
475
+ type: (StringConstructor | NumberConstructor)[];
476
+ };
477
+ border: {
478
+ type: BooleanConstructor;
479
+ default: boolean;
480
+ };
481
+ radius: {
482
+ type: BooleanConstructor;
483
+ default: boolean;
484
+ };
485
+ card: {
486
+ type: BooleanConstructor;
487
+ };
488
+ size: {
489
+ type: PropType<BaseSize>;
490
+ };
491
+ shadow: {
492
+ type: PropType<"none" | "always" | "hover">;
493
+ };
494
+ header: {
495
+ type: PropType<string | HeaderProps | null>;
496
+ };
497
+ body: {
498
+ type: PropType<ContainerProps>;
499
+ };
500
+ footer: {
501
+ type: PropType<ContainerProps>;
502
+ };
503
+ }>> & Readonly<{}>, {
504
+ bodyRef: Ref<any, any>;
505
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
506
+ radius: boolean;
507
+ fit: boolean;
508
+ border: boolean;
509
+ card: boolean;
510
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
511
+ beforeCreate?: (() => void) | (() => void)[];
512
+ created?: (() => void) | (() => void)[];
513
+ beforeMount?: (() => void) | (() => void)[];
514
+ mounted?: (() => void) | (() => void)[];
515
+ beforeUpdate?: (() => void) | (() => void)[];
516
+ updated?: (() => void) | (() => void)[];
517
+ activated?: (() => void) | (() => void)[];
518
+ deactivated?: (() => void) | (() => void)[];
519
+ beforeDestroy?: (() => void) | (() => void)[];
520
+ beforeUnmount?: (() => void) | (() => void)[];
521
+ destroyed?: (() => void) | (() => void)[];
522
+ unmounted?: (() => void) | (() => void)[];
523
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
524
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
525
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
526
+ };
527
+ $forceUpdate: () => void;
528
+ $nextTick: nextTick;
529
+ $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;
530
+ } & Readonly<{
531
+ radius: boolean;
532
+ fit: boolean;
533
+ border: boolean;
534
+ card: boolean;
535
+ }> & Omit<Readonly< ExtractPropTypes<{
536
+ fit: {
537
+ type: BooleanConstructor;
538
+ default: boolean;
539
+ };
540
+ width: {
541
+ type: (StringConstructor | NumberConstructor)[];
542
+ };
543
+ height: {
544
+ type: (StringConstructor | NumberConstructor)[];
545
+ };
546
+ border: {
547
+ type: BooleanConstructor;
548
+ default: boolean;
549
+ };
550
+ radius: {
551
+ type: BooleanConstructor;
552
+ default: boolean;
553
+ };
554
+ card: {
555
+ type: BooleanConstructor;
556
+ };
557
+ size: {
558
+ type: PropType<BaseSize>;
559
+ };
560
+ shadow: {
561
+ type: PropType<"none" | "always" | "hover">;
562
+ };
563
+ header: {
564
+ type: PropType<string | HeaderProps | null>;
565
+ };
566
+ body: {
567
+ type: PropType<ContainerProps>;
568
+ };
569
+ footer: {
570
+ type: PropType<ContainerProps>;
571
+ };
572
+ }>> & Readonly<{}>, "fit" | "radius" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
573
+ bodyRef: Ref<any, any>;
574
+ }> & {} & ComponentCustomProperties & {} & {
575
+ $slots: {
576
+ header?(_: {}): any;
577
+ title?(_: {}): any;
578
+ actions?(_: {}): any;
579
+ default?(_: {}): any;
580
+ footer?(_: {}): any;
581
+ };
582
+ }) | null;
583
+ };
24
584
  rootEl: any;
25
585
  };
26
586
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
587
+ declare const __VLS_component: DefineComponent<Props, {
588
+ panelRef: Ref<any, any>;
589
+ scrollToBottom: () => void;
590
+ autoScrollToBottom: (diff?: number) => void;
591
+ scrollToTop: () => void;
592
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
28
593
  command: (...args: any[]) => void;
29
594
  refresh: (...args: any[]) => void;
30
595
  plus: (...args: any[]) => void;
@@ -43,7 +608,566 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
43
608
  }>, {
44
609
  header: boolean;
45
610
  menus: ActionMenuItem[];
46
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
611
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
612
+ panelRef: ({
613
+ $: ComponentInternalInstance;
614
+ $data: {};
615
+ $props: Partial<{
616
+ radius: boolean;
617
+ fit: boolean;
618
+ border: boolean;
619
+ card: boolean;
620
+ }> & Omit<{
621
+ readonly fit: boolean;
622
+ readonly radius: boolean;
623
+ readonly border: boolean;
624
+ readonly card: boolean;
625
+ readonly size?: BaseSize | undefined;
626
+ readonly height?: string | number | undefined;
627
+ readonly width?: string | number | undefined;
628
+ readonly body?: Readonly<Partial< ExtractPropTypes<{
629
+ tag: {
630
+ type: StringConstructor;
631
+ default: string;
632
+ };
633
+ fit: {
634
+ type: BooleanConstructor;
635
+ default: boolean;
636
+ };
637
+ width: {
638
+ type: (StringConstructor | NumberConstructor)[];
639
+ };
640
+ height: {
641
+ type: (StringConstructor | NumberConstructor)[];
642
+ };
643
+ flex: {
644
+ type: BooleanConstructor;
645
+ default: boolean;
646
+ };
647
+ inline: {
648
+ type: BooleanConstructor;
649
+ };
650
+ direction: {
651
+ type: PropType<ContainerDirection>;
652
+ default: string;
653
+ };
654
+ wrap: {
655
+ type: PropType<ContainerWrap>;
656
+ default: string;
657
+ };
658
+ justify: {
659
+ type: PropType<ContainerJustifyContent>;
660
+ default: string;
661
+ };
662
+ align: {
663
+ type: PropType<ContainerAlignItems>;
664
+ default: string;
665
+ };
666
+ alignContent: {
667
+ type: PropType<ContainerAlignContent>;
668
+ default: string;
669
+ };
670
+ grow: {
671
+ type: BooleanConstructor;
672
+ default: boolean;
673
+ };
674
+ shrink: {
675
+ type: BooleanConstructor;
676
+ default: boolean;
677
+ };
678
+ alignSelf: {
679
+ type: PropType<"auto" | ContainerAlignItems>;
680
+ default: string;
681
+ };
682
+ overflow: {
683
+ type: PropType<"auto" | "hidden" | "visible">;
684
+ };
685
+ padding: {
686
+ type: BooleanConstructor;
687
+ default: boolean;
688
+ };
689
+ gap: {
690
+ type: BooleanConstructor;
691
+ };
692
+ autoPointer: {
693
+ type: BooleanConstructor;
694
+ };
695
+ }>>> | undefined;
696
+ readonly footer?: Readonly<Partial< ExtractPropTypes<{
697
+ tag: {
698
+ type: StringConstructor;
699
+ default: string;
700
+ };
701
+ fit: {
702
+ type: BooleanConstructor;
703
+ default: boolean;
704
+ };
705
+ width: {
706
+ type: (StringConstructor | NumberConstructor)[];
707
+ };
708
+ height: {
709
+ type: (StringConstructor | NumberConstructor)[];
710
+ };
711
+ flex: {
712
+ type: BooleanConstructor;
713
+ default: boolean;
714
+ };
715
+ inline: {
716
+ type: BooleanConstructor;
717
+ };
718
+ direction: {
719
+ type: PropType<ContainerDirection>;
720
+ default: string;
721
+ };
722
+ wrap: {
723
+ type: PropType<ContainerWrap>;
724
+ default: string;
725
+ };
726
+ justify: {
727
+ type: PropType<ContainerJustifyContent>;
728
+ default: string;
729
+ };
730
+ align: {
731
+ type: PropType<ContainerAlignItems>;
732
+ default: string;
733
+ };
734
+ alignContent: {
735
+ type: PropType<ContainerAlignContent>;
736
+ default: string;
737
+ };
738
+ grow: {
739
+ type: BooleanConstructor;
740
+ default: boolean;
741
+ };
742
+ shrink: {
743
+ type: BooleanConstructor;
744
+ default: boolean;
745
+ };
746
+ alignSelf: {
747
+ type: PropType<"auto" | ContainerAlignItems>;
748
+ default: string;
749
+ };
750
+ overflow: {
751
+ type: PropType<"auto" | "hidden" | "visible">;
752
+ };
753
+ padding: {
754
+ type: BooleanConstructor;
755
+ default: boolean;
756
+ };
757
+ gap: {
758
+ type: BooleanConstructor;
759
+ };
760
+ autoPointer: {
761
+ type: BooleanConstructor;
762
+ };
763
+ }>>> | undefined;
764
+ readonly header?: string | Readonly<Partial< ExtractPropTypes<{
765
+ size: {
766
+ type: PropType<BaseSize>;
767
+ default: string;
768
+ };
769
+ content: {
770
+ type: StringConstructor;
771
+ default: string;
772
+ };
773
+ subtitle: {
774
+ type: StringConstructor;
775
+ };
776
+ icon: {
777
+ type: PropType<IconParam>;
778
+ };
779
+ border: {
780
+ type: BooleanConstructor;
781
+ };
782
+ more: {
783
+ type: BooleanConstructor;
784
+ };
785
+ }>>> | null | undefined;
786
+ readonly shadow?: "hover" | "none" | "always" | undefined;
787
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "fit" | "radius" | "border" | "card">;
788
+ $attrs: {
789
+ [x: string]: unknown;
790
+ };
791
+ $refs: {
792
+ [x: string]: unknown;
793
+ } & {
794
+ bodyRef: ({
795
+ $: ComponentInternalInstance;
796
+ $data: {};
797
+ $props: Partial<{
798
+ padding: boolean;
799
+ tag: string;
800
+ wrap: ContainerWrap;
801
+ fit: boolean;
802
+ flex: boolean;
803
+ inline: boolean;
804
+ direction: ContainerDirection;
805
+ justify: ContainerJustifyContent;
806
+ align: ContainerAlignItems;
807
+ alignContent: ContainerAlignContent;
808
+ grow: boolean;
809
+ shrink: boolean;
810
+ alignSelf: "auto" | ContainerAlignItems;
811
+ gap: boolean;
812
+ autoPointer: boolean;
813
+ }> & Omit<{
814
+ readonly padding: boolean;
815
+ readonly tag: string;
816
+ readonly wrap: ContainerWrap;
817
+ readonly fit: boolean;
818
+ readonly flex: boolean;
819
+ readonly inline: boolean;
820
+ readonly direction: ContainerDirection;
821
+ readonly justify: ContainerJustifyContent;
822
+ readonly align: ContainerAlignItems;
823
+ readonly alignContent: ContainerAlignContent;
824
+ readonly grow: boolean;
825
+ readonly shrink: boolean;
826
+ readonly alignSelf: "auto" | ContainerAlignItems;
827
+ readonly gap: boolean;
828
+ readonly autoPointer: boolean;
829
+ readonly width?: string | number | undefined;
830
+ readonly height?: string | number | undefined;
831
+ readonly overflow?: "hidden" | "auto" | "visible" | undefined;
832
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
833
+ $attrs: {
834
+ [x: string]: unknown;
835
+ };
836
+ $refs: {
837
+ [x: string]: unknown;
838
+ } & {
839
+ elRef: unknown;
840
+ };
841
+ $slots: Readonly<{
842
+ [name: string]: Slot<any> | undefined;
843
+ }>;
844
+ $root: ComponentPublicInstance | null;
845
+ $parent: ComponentPublicInstance | null;
846
+ $host: Element | null;
847
+ $emit: (event: string, ...args: any[]) => void;
848
+ $el: any;
849
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
850
+ tag: {
851
+ type: StringConstructor;
852
+ default: string;
853
+ };
854
+ fit: {
855
+ type: BooleanConstructor;
856
+ default: boolean;
857
+ };
858
+ width: {
859
+ type: (StringConstructor | NumberConstructor)[];
860
+ };
861
+ height: {
862
+ type: (StringConstructor | NumberConstructor)[];
863
+ };
864
+ flex: {
865
+ type: BooleanConstructor;
866
+ default: boolean;
867
+ };
868
+ inline: {
869
+ type: BooleanConstructor;
870
+ };
871
+ direction: {
872
+ type: PropType<ContainerDirection>;
873
+ default: string;
874
+ };
875
+ wrap: {
876
+ type: PropType<ContainerWrap>;
877
+ default: string;
878
+ };
879
+ justify: {
880
+ type: PropType<ContainerJustifyContent>;
881
+ default: string;
882
+ };
883
+ align: {
884
+ type: PropType<ContainerAlignItems>;
885
+ default: string;
886
+ };
887
+ alignContent: {
888
+ type: PropType<ContainerAlignContent>;
889
+ default: string;
890
+ };
891
+ grow: {
892
+ type: BooleanConstructor;
893
+ default: boolean;
894
+ };
895
+ shrink: {
896
+ type: BooleanConstructor;
897
+ default: boolean;
898
+ };
899
+ alignSelf: {
900
+ type: PropType<"auto" | ContainerAlignItems>;
901
+ default: string;
902
+ };
903
+ overflow: {
904
+ type: PropType<"auto" | "hidden" | "visible">;
905
+ };
906
+ padding: {
907
+ type: BooleanConstructor;
908
+ default: boolean;
909
+ };
910
+ gap: {
911
+ type: BooleanConstructor;
912
+ };
913
+ autoPointer: {
914
+ type: BooleanConstructor;
915
+ };
916
+ }>> & Readonly<{}>, {
917
+ $vtjEl: ComputedRef<any>;
918
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
919
+ padding: boolean;
920
+ tag: string;
921
+ wrap: ContainerWrap;
922
+ fit: boolean;
923
+ flex: boolean;
924
+ inline: boolean;
925
+ direction: ContainerDirection;
926
+ justify: ContainerJustifyContent;
927
+ align: ContainerAlignItems;
928
+ alignContent: ContainerAlignContent;
929
+ grow: boolean;
930
+ shrink: boolean;
931
+ alignSelf: "auto" | ContainerAlignItems;
932
+ gap: boolean;
933
+ autoPointer: boolean;
934
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
935
+ beforeCreate?: (() => void) | (() => void)[];
936
+ created?: (() => void) | (() => void)[];
937
+ beforeMount?: (() => void) | (() => void)[];
938
+ mounted?: (() => void) | (() => void)[];
939
+ beforeUpdate?: (() => void) | (() => void)[];
940
+ updated?: (() => void) | (() => void)[];
941
+ activated?: (() => void) | (() => void)[];
942
+ deactivated?: (() => void) | (() => void)[];
943
+ beforeDestroy?: (() => void) | (() => void)[];
944
+ beforeUnmount?: (() => void) | (() => void)[];
945
+ destroyed?: (() => void) | (() => void)[];
946
+ unmounted?: (() => void) | (() => void)[];
947
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
948
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
949
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
950
+ };
951
+ $forceUpdate: () => void;
952
+ $nextTick: nextTick;
953
+ $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;
954
+ } & Readonly<{
955
+ padding: boolean;
956
+ tag: string;
957
+ wrap: ContainerWrap;
958
+ fit: boolean;
959
+ flex: boolean;
960
+ inline: boolean;
961
+ direction: ContainerDirection;
962
+ justify: ContainerJustifyContent;
963
+ align: ContainerAlignItems;
964
+ alignContent: ContainerAlignContent;
965
+ grow: boolean;
966
+ shrink: boolean;
967
+ alignSelf: "auto" | ContainerAlignItems;
968
+ gap: boolean;
969
+ autoPointer: boolean;
970
+ }> & Omit<Readonly< ExtractPropTypes<{
971
+ tag: {
972
+ type: StringConstructor;
973
+ default: string;
974
+ };
975
+ fit: {
976
+ type: BooleanConstructor;
977
+ default: boolean;
978
+ };
979
+ width: {
980
+ type: (StringConstructor | NumberConstructor)[];
981
+ };
982
+ height: {
983
+ type: (StringConstructor | NumberConstructor)[];
984
+ };
985
+ flex: {
986
+ type: BooleanConstructor;
987
+ default: boolean;
988
+ };
989
+ inline: {
990
+ type: BooleanConstructor;
991
+ };
992
+ direction: {
993
+ type: PropType<ContainerDirection>;
994
+ default: string;
995
+ };
996
+ wrap: {
997
+ type: PropType<ContainerWrap>;
998
+ default: string;
999
+ };
1000
+ justify: {
1001
+ type: PropType<ContainerJustifyContent>;
1002
+ default: string;
1003
+ };
1004
+ align: {
1005
+ type: PropType<ContainerAlignItems>;
1006
+ default: string;
1007
+ };
1008
+ alignContent: {
1009
+ type: PropType<ContainerAlignContent>;
1010
+ default: string;
1011
+ };
1012
+ grow: {
1013
+ type: BooleanConstructor;
1014
+ default: boolean;
1015
+ };
1016
+ shrink: {
1017
+ type: BooleanConstructor;
1018
+ default: boolean;
1019
+ };
1020
+ alignSelf: {
1021
+ type: PropType<"auto" | ContainerAlignItems>;
1022
+ default: string;
1023
+ };
1024
+ overflow: {
1025
+ type: PropType<"auto" | "hidden" | "visible">;
1026
+ };
1027
+ padding: {
1028
+ type: BooleanConstructor;
1029
+ default: boolean;
1030
+ };
1031
+ gap: {
1032
+ type: BooleanConstructor;
1033
+ };
1034
+ autoPointer: {
1035
+ type: BooleanConstructor;
1036
+ };
1037
+ }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
1038
+ $vtjEl: ComputedRef<any>;
1039
+ }> & {} & ComponentCustomProperties & {} & {
1040
+ $slots: {
1041
+ default?(_: {}): any;
1042
+ };
1043
+ }) | null;
1044
+ };
1045
+ $slots: Readonly<{
1046
+ [name: string]: Slot<any> | undefined;
1047
+ }>;
1048
+ $root: ComponentPublicInstance | null;
1049
+ $parent: ComponentPublicInstance | null;
1050
+ $host: Element | null;
1051
+ $emit: (event: string, ...args: any[]) => void;
1052
+ $el: any;
1053
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1054
+ fit: {
1055
+ type: BooleanConstructor;
1056
+ default: boolean;
1057
+ };
1058
+ width: {
1059
+ type: (StringConstructor | NumberConstructor)[];
1060
+ };
1061
+ height: {
1062
+ type: (StringConstructor | NumberConstructor)[];
1063
+ };
1064
+ border: {
1065
+ type: BooleanConstructor;
1066
+ default: boolean;
1067
+ };
1068
+ radius: {
1069
+ type: BooleanConstructor;
1070
+ default: boolean;
1071
+ };
1072
+ card: {
1073
+ type: BooleanConstructor;
1074
+ };
1075
+ size: {
1076
+ type: PropType<BaseSize>;
1077
+ };
1078
+ shadow: {
1079
+ type: PropType<"none" | "always" | "hover">;
1080
+ };
1081
+ header: {
1082
+ type: PropType<string | HeaderProps | null>;
1083
+ };
1084
+ body: {
1085
+ type: PropType<ContainerProps>;
1086
+ };
1087
+ footer: {
1088
+ type: PropType<ContainerProps>;
1089
+ };
1090
+ }>> & Readonly<{}>, {
1091
+ bodyRef: Ref<any, any>;
1092
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1093
+ radius: boolean;
1094
+ fit: boolean;
1095
+ border: boolean;
1096
+ card: boolean;
1097
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1098
+ beforeCreate?: (() => void) | (() => void)[];
1099
+ created?: (() => void) | (() => void)[];
1100
+ beforeMount?: (() => void) | (() => void)[];
1101
+ mounted?: (() => void) | (() => void)[];
1102
+ beforeUpdate?: (() => void) | (() => void)[];
1103
+ updated?: (() => void) | (() => void)[];
1104
+ activated?: (() => void) | (() => void)[];
1105
+ deactivated?: (() => void) | (() => void)[];
1106
+ beforeDestroy?: (() => void) | (() => void)[];
1107
+ beforeUnmount?: (() => void) | (() => void)[];
1108
+ destroyed?: (() => void) | (() => void)[];
1109
+ unmounted?: (() => void) | (() => void)[];
1110
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1111
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1112
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1113
+ };
1114
+ $forceUpdate: () => void;
1115
+ $nextTick: nextTick;
1116
+ $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;
1117
+ } & Readonly<{
1118
+ radius: boolean;
1119
+ fit: boolean;
1120
+ border: boolean;
1121
+ card: boolean;
1122
+ }> & Omit<Readonly< ExtractPropTypes<{
1123
+ fit: {
1124
+ type: BooleanConstructor;
1125
+ default: boolean;
1126
+ };
1127
+ width: {
1128
+ type: (StringConstructor | NumberConstructor)[];
1129
+ };
1130
+ height: {
1131
+ type: (StringConstructor | NumberConstructor)[];
1132
+ };
1133
+ border: {
1134
+ type: BooleanConstructor;
1135
+ default: boolean;
1136
+ };
1137
+ radius: {
1138
+ type: BooleanConstructor;
1139
+ default: boolean;
1140
+ };
1141
+ card: {
1142
+ type: BooleanConstructor;
1143
+ };
1144
+ size: {
1145
+ type: PropType<BaseSize>;
1146
+ };
1147
+ shadow: {
1148
+ type: PropType<"none" | "always" | "hover">;
1149
+ };
1150
+ header: {
1151
+ type: PropType<string | HeaderProps | null>;
1152
+ };
1153
+ body: {
1154
+ type: PropType<ContainerProps>;
1155
+ };
1156
+ footer: {
1157
+ type: PropType<ContainerProps>;
1158
+ };
1159
+ }>> & Readonly<{}>, "fit" | "radius" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
1160
+ bodyRef: Ref<any, any>;
1161
+ }> & {} & ComponentCustomProperties & {} & {
1162
+ $slots: {
1163
+ header?(_: {}): any;
1164
+ title?(_: {}): any;
1165
+ actions?(_: {}): any;
1166
+ default?(_: {}): any;
1167
+ footer?(_: {}): any;
1168
+ };
1169
+ }) | null;
1170
+ }, any>;
47
1171
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
1172
  export default _default;
49
1173
  type __VLS_WithTemplateSlots<T, S> = T & {