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