@vtj/ui 0.10.5 → 0.10.6

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 (43) hide show
  1. package/dist/index.mjs +2 -2
  2. package/dist/index.umd.js +2 -2
  3. package/package.json +3 -3
  4. package/types/components/action/Action.d.ts +3 -10
  5. package/types/components/attachment/Attachment.d.ts +274 -805
  6. package/types/components/container/Container.d.ts +178 -15
  7. package/types/components/data-item/DataItem.d.ts +517 -18
  8. package/types/components/dialog/Dialog.d.ts +372 -1143
  9. package/types/components/dialog-form/DialogForm.d.ts +104 -3049
  10. package/types/components/dialog-grid/DialogGrid.d.ts +69 -4907
  11. package/types/components/field/Field.d.ts +222 -353
  12. package/types/components/field/editors/SelectEditor.d.ts +21 -12
  13. package/types/components/form/Form.d.ts +116 -389
  14. package/types/components/grid/Grid.d.ts +787 -57
  15. package/types/components/grid/renderers/components/DateEdit.d.ts +2 -255
  16. package/types/components/grid/renderers/components/DateFilter.d.ts +1 -1
  17. package/types/components/grid/renderers/components/GridEdit.d.ts +2 -410
  18. package/types/components/grid/renderers/components/InputFilter.d.ts +1 -1
  19. package/types/components/grid/renderers/components/NumberFilter.d.ts +1 -1
  20. package/types/components/grid/renderers/components/PickerEdit.d.ts +2 -1926
  21. package/types/components/grid/renderers/components/SelectFilter.d.ts +1 -1
  22. package/types/components/grid-editor/GridEditor.d.ts +2 -375
  23. package/types/components/header/Header.d.ts +76 -14
  24. package/types/components/import-button/ImportButton.d.ts +47 -10
  25. package/types/components/list/List.d.ts +155 -30
  26. package/types/components/mask/Mask.d.ts +546 -562
  27. package/types/components/mask/components/Avatar.d.ts +16 -11
  28. package/types/components/mask/components/Brand.d.ts +17 -12
  29. package/types/components/mask/components/Content.d.ts +13 -12
  30. package/types/components/mask/components/Sidebar.d.ts +15 -12
  31. package/types/components/mask/components/Tabs.d.ts +2 -255
  32. package/types/components/mask/components/ThemeSwitch.d.ts +1 -1
  33. package/types/components/mask/components/Toolbar.d.ts +55 -13
  34. package/types/components/panel/Panel.d.ts +124 -521
  35. package/types/components/picker/Dialog.d.ts +2 -1291
  36. package/types/components/picker/Picker.d.ts +2 -1730
  37. package/types/components/qr-code/QrCode.d.ts +35 -13
  38. package/types/components/query-form/QueryForm.d.ts +418 -1105
  39. package/types/components/startup/Startup.d.ts +1 -1
  40. package/types/components/tabs/Tabs.d.ts +297 -53
  41. package/types/components/test/Test.d.ts +268 -41
  42. package/types/version.d.ts +2 -2
  43. package/types/components/icon/Icon.d.ts +0 -74
@@ -1,585 +1,374 @@
1
- import { nextTick, ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, DefineComponent, VNode, PublicProps } from 'vue';
2
- import { BaseSize } from '../shared';
3
- import { ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, ContainerProps } from '../container';
4
- import { IconParam } from '../icon';
5
- import { OnCleanup } from '@vue/reactivity';
6
- import { HeaderProps } from '../header';
7
- import { DraggableOptions, ResizableOptions } from '../..';
1
+ import { RawClose, Popup, Maximize, Minimize } from '@vtj/icons';
2
+ import { ElButton } from 'element-plus';
3
+ import { XPanel, XAction, XContainer } from '../';
4
+ import { vDraggable, vResizable } from '../../directives';
5
+ import { Ref, ComputedRef, DefineComponent, ExtractPropTypes, PropType, VNode, ComponentOptionsMixin, ComponentInternalInstance, PublicProps, ComponentProvideOptions } from 'vue';
8
6
  import { DialogMode } from './types';
7
+ import { DraggableOptions, ResizableOptions } from '../..';
8
+ import { IconParam } from '../icon';
9
+ import { BaseSize } from '../shared';
9
10
  import { UseMouseSourceType, Position } from '@vueuse/core';
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- actions?(_: {}): any;
14
- default?(_: {}): any;
15
- footer?(_: {}): any;
16
- extra?(_: {}): any;
17
- handle?(_: {}): any;
18
- };
19
- refs: {
20
- wrapper: HTMLDivElement;
21
- panelRef: ({
22
- $: ComponentInternalInstance;
23
- $data: {};
24
- $props: Partial<{
25
- radius: boolean;
26
- fit: boolean;
27
- border: boolean;
28
- card: boolean;
29
- }> & Omit<{
30
- readonly radius: boolean;
31
- readonly fit: boolean;
32
- readonly border: boolean;
33
- readonly card: boolean;
34
- readonly size?: BaseSize | undefined;
35
- readonly body?: Readonly<Partial< ExtractPropTypes<{
36
- tag: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- fit: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- width: {
45
- type: (StringConstructor | NumberConstructor)[];
46
- };
47
- height: {
48
- type: (StringConstructor | NumberConstructor)[];
49
- };
50
- flex: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- inline: {
55
- type: BooleanConstructor;
56
- };
57
- direction: {
58
- type: PropType<ContainerDirection>;
59
- default: string;
60
- };
61
- wrap: {
62
- type: PropType<ContainerWrap>;
63
- default: string;
64
- };
65
- justify: {
66
- type: PropType<ContainerJustifyContent>;
67
- default: string;
68
- };
69
- align: {
70
- type: PropType<ContainerAlignItems>;
71
- default: string;
72
- };
73
- alignContent: {
74
- type: PropType<ContainerAlignContent>;
75
- default: string;
76
- };
77
- grow: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- shrink: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- alignSelf: {
86
- type: PropType<"auto" | ContainerAlignItems>;
87
- default: string;
88
- };
89
- overflow: {
90
- type: PropType<"auto" | "hidden" | "visible">;
91
- };
92
- padding: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- gap: {
97
- type: BooleanConstructor;
98
- };
99
- autoPointer: {
100
- type: BooleanConstructor;
101
- };
102
- }>>> | undefined;
103
- readonly footer?: Readonly<Partial< ExtractPropTypes<{
104
- tag: {
105
- type: StringConstructor;
106
- default: string;
107
- };
108
- fit: {
109
- type: BooleanConstructor;
110
- default: boolean;
111
- };
112
- width: {
113
- type: (StringConstructor | NumberConstructor)[];
114
- };
115
- height: {
116
- type: (StringConstructor | NumberConstructor)[];
117
- };
118
- flex: {
119
- type: BooleanConstructor;
120
- default: boolean;
121
- };
122
- inline: {
123
- type: BooleanConstructor;
124
- };
125
- direction: {
126
- type: PropType<ContainerDirection>;
127
- default: string;
128
- };
129
- wrap: {
130
- type: PropType<ContainerWrap>;
131
- default: string;
132
- };
133
- justify: {
134
- type: PropType<ContainerJustifyContent>;
135
- default: string;
136
- };
137
- align: {
138
- type: PropType<ContainerAlignItems>;
139
- default: string;
140
- };
141
- alignContent: {
142
- type: PropType<ContainerAlignContent>;
143
- default: string;
144
- };
145
- grow: {
146
- type: BooleanConstructor;
147
- default: boolean;
148
- };
149
- shrink: {
150
- type: BooleanConstructor;
151
- default: boolean;
152
- };
153
- alignSelf: {
154
- type: PropType<"auto" | ContainerAlignItems>;
155
- default: string;
156
- };
157
- overflow: {
158
- type: PropType<"auto" | "hidden" | "visible">;
159
- };
160
- padding: {
161
- type: BooleanConstructor;
162
- default: boolean;
163
- };
164
- gap: {
165
- type: BooleanConstructor;
166
- };
167
- autoPointer: {
168
- type: BooleanConstructor;
169
- };
170
- }>>> | undefined;
171
- readonly header?: string | Readonly<Partial< ExtractPropTypes<{
172
- size: {
173
- type: PropType<BaseSize>;
174
- default: string;
175
- };
176
- content: {
177
- type: StringConstructor;
178
- default: string;
179
- };
180
- subtitle: {
181
- type: StringConstructor;
182
- };
183
- icon: {
184
- type: PropType<IconParam>;
185
- };
186
- border: {
187
- type: BooleanConstructor;
188
- };
189
- more: {
190
- type: BooleanConstructor;
191
- };
192
- }>>> | null | undefined;
193
- readonly width?: string | number | undefined;
194
- readonly height?: string | number | undefined;
195
- readonly shadow?: "none" | "hover" | "always" | undefined;
196
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
197
- $attrs: {
198
- [x: string]: unknown;
199
- };
200
- $refs: {
201
- [x: string]: unknown;
202
- } & {
203
- bodyRef: ({
204
- $: ComponentInternalInstance;
205
- $data: {};
206
- $props: Partial<{
207
- padding: boolean;
208
- tag: string;
209
- wrap: ContainerWrap;
210
- fit: boolean;
211
- flex: boolean;
212
- inline: boolean;
213
- direction: ContainerDirection;
214
- justify: ContainerJustifyContent;
215
- align: ContainerAlignItems;
216
- alignContent: ContainerAlignContent;
217
- grow: boolean;
218
- shrink: boolean;
219
- alignSelf: "auto" | ContainerAlignItems;
220
- gap: boolean;
221
- autoPointer: boolean;
222
- }> & Omit<{
223
- readonly padding: boolean;
224
- readonly tag: string;
225
- readonly wrap: ContainerWrap;
226
- readonly fit: boolean;
227
- readonly flex: boolean;
228
- readonly inline: boolean;
229
- readonly direction: ContainerDirection;
230
- readonly justify: ContainerJustifyContent;
231
- readonly align: ContainerAlignItems;
232
- readonly alignContent: ContainerAlignContent;
233
- readonly grow: boolean;
234
- readonly shrink: boolean;
235
- readonly alignSelf: "auto" | ContainerAlignItems;
236
- readonly gap: boolean;
237
- readonly autoPointer: boolean;
238
- readonly width?: string | number | undefined;
239
- readonly height?: string | number | undefined;
240
- readonly overflow?: "hidden" | "auto" | "visible" | undefined;
241
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
242
- $attrs: {
243
- [x: string]: unknown;
244
- };
245
- $refs: {
246
- [x: string]: unknown;
247
- } & {
248
- elRef: unknown;
249
- };
250
- $slots: Readonly<{
251
- [name: string]: Slot<any> | undefined;
252
- }>;
253
- $root: ComponentPublicInstance | null;
254
- $parent: ComponentPublicInstance | null;
255
- $host: Element | null;
256
- $emit: (event: string, ...args: any[]) => void;
257
- $el: any;
258
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
259
- tag: {
260
- type: StringConstructor;
261
- default: string;
262
- };
263
- fit: {
264
- type: BooleanConstructor;
265
- default: boolean;
266
- };
267
- width: {
268
- type: (StringConstructor | NumberConstructor)[];
269
- };
270
- height: {
271
- type: (StringConstructor | NumberConstructor)[];
272
- };
273
- flex: {
274
- type: BooleanConstructor;
275
- default: boolean;
276
- };
277
- inline: {
278
- type: BooleanConstructor;
279
- };
280
- direction: {
281
- type: PropType<ContainerDirection>;
282
- default: string;
283
- };
284
- wrap: {
285
- type: PropType<ContainerWrap>;
286
- default: string;
287
- };
288
- justify: {
289
- type: PropType<ContainerJustifyContent>;
290
- default: string;
291
- };
292
- align: {
293
- type: PropType<ContainerAlignItems>;
294
- default: string;
295
- };
296
- alignContent: {
297
- type: PropType<ContainerAlignContent>;
298
- default: string;
299
- };
300
- grow: {
301
- type: BooleanConstructor;
302
- default: boolean;
303
- };
304
- shrink: {
305
- type: BooleanConstructor;
306
- default: boolean;
307
- };
308
- alignSelf: {
309
- type: PropType<"auto" | ContainerAlignItems>;
310
- default: string;
311
- };
312
- overflow: {
313
- type: PropType<"auto" | "hidden" | "visible">;
314
- };
315
- padding: {
316
- type: BooleanConstructor;
317
- default: boolean;
318
- };
319
- gap: {
320
- type: BooleanConstructor;
321
- };
322
- autoPointer: {
323
- type: BooleanConstructor;
324
- };
325
- }>> & Readonly<{}>, {
326
- $vtjEl: ComputedRef<any>;
327
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
328
- padding: boolean;
329
- tag: string;
330
- wrap: ContainerWrap;
331
- fit: boolean;
332
- flex: boolean;
333
- inline: boolean;
334
- direction: ContainerDirection;
335
- justify: ContainerJustifyContent;
336
- align: ContainerAlignItems;
337
- alignContent: ContainerAlignContent;
338
- grow: boolean;
339
- shrink: boolean;
340
- alignSelf: "auto" | ContainerAlignItems;
341
- gap: boolean;
342
- autoPointer: boolean;
343
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
344
- beforeCreate?: (() => void) | (() => void)[];
345
- created?: (() => void) | (() => void)[];
346
- beforeMount?: (() => void) | (() => void)[];
347
- mounted?: (() => void) | (() => void)[];
348
- beforeUpdate?: (() => void) | (() => void)[];
349
- updated?: (() => void) | (() => void)[];
350
- activated?: (() => void) | (() => void)[];
351
- deactivated?: (() => void) | (() => void)[];
352
- beforeDestroy?: (() => void) | (() => void)[];
353
- beforeUnmount?: (() => void) | (() => void)[];
354
- destroyed?: (() => void) | (() => void)[];
355
- unmounted?: (() => void) | (() => void)[];
356
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
357
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
358
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
359
- };
360
- $forceUpdate: () => void;
361
- $nextTick: typeof nextTick;
362
- $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;
363
- } & Readonly<{
364
- padding: boolean;
365
- tag: string;
366
- wrap: ContainerWrap;
367
- fit: boolean;
368
- flex: boolean;
369
- inline: boolean;
370
- direction: ContainerDirection;
371
- justify: ContainerJustifyContent;
372
- align: ContainerAlignItems;
373
- alignContent: ContainerAlignContent;
374
- grow: boolean;
375
- shrink: boolean;
376
- alignSelf: "auto" | ContainerAlignItems;
377
- gap: boolean;
378
- autoPointer: boolean;
379
- }> & Omit<Readonly< ExtractPropTypes<{
380
- tag: {
381
- type: StringConstructor;
382
- default: string;
383
- };
384
- fit: {
385
- type: BooleanConstructor;
386
- default: boolean;
387
- };
388
- width: {
389
- type: (StringConstructor | NumberConstructor)[];
390
- };
391
- height: {
392
- type: (StringConstructor | NumberConstructor)[];
393
- };
394
- flex: {
395
- type: BooleanConstructor;
396
- default: boolean;
397
- };
398
- inline: {
399
- type: BooleanConstructor;
400
- };
401
- direction: {
402
- type: PropType<ContainerDirection>;
403
- default: string;
404
- };
405
- wrap: {
406
- type: PropType<ContainerWrap>;
407
- default: string;
408
- };
409
- justify: {
410
- type: PropType<ContainerJustifyContent>;
411
- default: string;
412
- };
413
- align: {
414
- type: PropType<ContainerAlignItems>;
415
- default: string;
416
- };
417
- alignContent: {
418
- type: PropType<ContainerAlignContent>;
419
- default: string;
420
- };
421
- grow: {
422
- type: BooleanConstructor;
423
- default: boolean;
424
- };
425
- shrink: {
426
- type: BooleanConstructor;
427
- default: boolean;
428
- };
429
- alignSelf: {
430
- type: PropType<"auto" | ContainerAlignItems>;
431
- default: string;
432
- };
433
- overflow: {
434
- type: PropType<"auto" | "hidden" | "visible">;
435
- };
436
- padding: {
437
- type: BooleanConstructor;
438
- default: boolean;
439
- };
440
- gap: {
441
- type: BooleanConstructor;
442
- };
443
- autoPointer: {
444
- type: BooleanConstructor;
445
- };
446
- }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
447
- $vtjEl: ComputedRef<any>;
448
- }> & {} & ComponentCustomProperties & {} & {
449
- $slots: {
450
- default?(_: {}): any;
451
- };
452
- }) | null;
453
- };
454
- $slots: Readonly<{
455
- [name: string]: Slot<any> | undefined;
456
- }>;
457
- $root: ComponentPublicInstance | null;
458
- $parent: ComponentPublicInstance | null;
459
- $host: Element | null;
460
- $emit: (event: string, ...args: any[]) => void;
461
- $el: any;
462
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
463
- fit: {
464
- type: BooleanConstructor;
465
- default: boolean;
466
- };
467
- width: {
468
- type: (StringConstructor | NumberConstructor)[];
469
- };
470
- height: {
471
- type: (StringConstructor | NumberConstructor)[];
472
- };
473
- border: {
474
- type: BooleanConstructor;
475
- default: boolean;
476
- };
477
- radius: {
478
- type: BooleanConstructor;
479
- default: boolean;
480
- };
481
- card: {
482
- type: BooleanConstructor;
483
- };
484
- size: {
485
- type: PropType<BaseSize>;
486
- };
487
- shadow: {
488
- type: PropType<"none" | "always" | "hover">;
489
- };
490
- header: {
491
- type: PropType<string | HeaderProps | null>;
492
- };
493
- body: {
494
- type: PropType<ContainerProps>;
495
- };
496
- footer: {
497
- type: PropType<ContainerProps>;
498
- };
499
- }>> & Readonly<{}>, {
500
- bodyRef: Ref<any, any>;
501
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
502
- radius: boolean;
503
- fit: boolean;
504
- border: boolean;
505
- card: boolean;
506
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
507
- beforeCreate?: (() => void) | (() => void)[];
508
- created?: (() => void) | (() => void)[];
509
- beforeMount?: (() => void) | (() => void)[];
510
- mounted?: (() => void) | (() => void)[];
511
- beforeUpdate?: (() => void) | (() => void)[];
512
- updated?: (() => void) | (() => void)[];
513
- activated?: (() => void) | (() => void)[];
514
- deactivated?: (() => void) | (() => void)[];
515
- beforeDestroy?: (() => void) | (() => void)[];
516
- beforeUnmount?: (() => void) | (() => void)[];
517
- destroyed?: (() => void) | (() => void)[];
518
- unmounted?: (() => void) | (() => void)[];
519
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
520
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
521
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
522
- };
523
- $forceUpdate: () => void;
524
- $nextTick: typeof nextTick;
525
- $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;
526
- } & Readonly<{
527
- radius: boolean;
528
- fit: boolean;
529
- border: boolean;
530
- card: boolean;
531
- }> & Omit<Readonly< ExtractPropTypes<{
532
- fit: {
533
- type: BooleanConstructor;
534
- default: boolean;
535
- };
536
- width: {
537
- type: (StringConstructor | NumberConstructor)[];
538
- };
539
- height: {
540
- type: (StringConstructor | NumberConstructor)[];
541
- };
542
- border: {
543
- type: BooleanConstructor;
544
- default: boolean;
545
- };
546
- radius: {
547
- type: BooleanConstructor;
548
- default: boolean;
549
- };
550
- card: {
551
- type: BooleanConstructor;
552
- };
553
- size: {
554
- type: PropType<BaseSize>;
555
- };
556
- shadow: {
557
- type: PropType<"none" | "always" | "hover">;
558
- };
559
- header: {
560
- type: PropType<string | HeaderProps | null>;
561
- };
562
- body: {
563
- type: PropType<ContainerProps>;
564
- };
565
- footer: {
566
- type: PropType<ContainerProps>;
567
- };
568
- }>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> & ShallowUnwrapRef<{
569
- bodyRef: Ref<any, any>;
570
- }> & {} & ComponentCustomProperties & {} & {
571
- $slots: {
572
- header?(_: {}): any;
573
- title?(_: {}): any;
574
- actions?(_: {}): any;
575
- default?(_: {}): any;
576
- footer?(_: {}): any;
577
- };
578
- }) | null;
579
- };
580
- rootEl: any;
581
- };
582
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const wrapper: Ref<any, any>;
12
+ declare const panelRef: Ref<any, any>;
13
+ declare const normal: ComputedRef<boolean>;
14
+ declare const styles: ComputedRef<{
15
+ width: string;
16
+ height: string;
17
+ top: string;
18
+ left: string;
19
+ zIndex: number;
20
+ }>, classes: ComputedRef<{
21
+ [x: string]: boolean;
22
+ "is-draggable": boolean;
23
+ "is-resizable": boolean;
24
+ 'is-primary': boolean;
25
+ 'is-pure': boolean;
26
+ }>, wrapperClass: ComputedRef<{
27
+ [x: string]: boolean;
28
+ 'is-dragging': boolean;
29
+ 'is-resizing': boolean;
30
+ }>, modalStyle: ComputedRef<{
31
+ zIndex: number;
32
+ }>, zIndexStyle: ComputedRef<{
33
+ zIndex: number;
34
+ }>;
35
+ declare const changeMode: (mode: DialogMode) => void, active: (e: any) => void, close: () => Promise<void>, submit: () => void, cancel: () => void;
36
+ declare const draggable: ComputedRef<DraggableOptions>;
37
+ declare const resizable: ComputedRef<ResizableOptions>;
38
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
39
+ declare var __VLS_15: {}, __VLS_49: {}, __VLS_55: {}, __VLS_61: {}, __VLS_67: {};
40
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
41
+ actions?: (props: typeof __VLS_15) => any;
42
+ } & {
43
+ default?: (props: typeof __VLS_49) => any;
44
+ } & {
45
+ footer?: (props: typeof __VLS_55) => any;
46
+ } & {
47
+ extra?: (props: typeof __VLS_61) => any;
48
+ } & {
49
+ handle?: (props: typeof __VLS_67) => any;
50
+ }>;
51
+ declare const __VLS_self: DefineComponent<ExtractPropTypes<{
52
+ modelValue: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ title: {
57
+ type: StringConstructor;
58
+ };
59
+ subtitle: {
60
+ type: StringConstructor;
61
+ };
62
+ icon: {
63
+ type: PropType<IconParam>;
64
+ };
65
+ size: {
66
+ type: PropType<BaseSize>;
67
+ default: string;
68
+ };
69
+ width: {
70
+ type: (StringConstructor | NumberConstructor)[];
71
+ default: string;
72
+ };
73
+ height: {
74
+ type: (StringConstructor | NumberConstructor)[];
75
+ default: string;
76
+ };
77
+ left: {
78
+ type: (StringConstructor | NumberConstructor)[];
79
+ };
80
+ top: {
81
+ type: (StringConstructor | NumberConstructor)[];
82
+ };
83
+ modal: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ draggable: {
88
+ type: PropType<boolean | DraggableOptions>;
89
+ default: boolean;
90
+ };
91
+ resizable: {
92
+ type: PropType<boolean | ResizableOptions>;
93
+ };
94
+ closable: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ maximizable: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ minimizable: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ mode: {
107
+ type: PropType<DialogMode>;
108
+ default: string;
109
+ };
110
+ content: {
111
+ type: PropType< VNode | DefineComponent<any, any, any, any> | Record<string, any>>;
112
+ };
113
+ src: {
114
+ type: StringConstructor;
115
+ };
116
+ componentInstance: {
117
+ type: PropType<Record<string, any> | null>;
118
+ };
119
+ beforeClose: {
120
+ type: PropType<() => boolean | Promise<boolean>>;
121
+ };
122
+ submit: {
123
+ type: (BooleanConstructor | StringConstructor)[];
124
+ };
125
+ cancel: {
126
+ type: (BooleanConstructor | StringConstructor)[];
127
+ };
128
+ bodyPadding: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ primary: {
133
+ type: BooleanConstructor;
134
+ };
135
+ pure: {
136
+ type: BooleanConstructor;
137
+ };
138
+ }>, {
139
+ RawClose: typeof RawClose;
140
+ Popup: typeof Popup;
141
+ Maximize: typeof Maximize;
142
+ Minimize: typeof Minimize;
143
+ ElButton: typeof ElButton;
144
+ XPanel: typeof XPanel;
145
+ XAction: typeof XAction;
146
+ XContainer: typeof XContainer;
147
+ vDraggable: typeof vDraggable;
148
+ vResizable: typeof vResizable;
149
+ wrapper: typeof wrapper;
150
+ panelRef: typeof panelRef;
151
+ normal: typeof normal;
152
+ styles: typeof styles;
153
+ classes: typeof classes;
154
+ wrapperClass: typeof wrapperClass;
155
+ modalStyle: typeof modalStyle;
156
+ zIndexStyle: typeof zIndexStyle;
157
+ changeMode: typeof changeMode;
158
+ active: typeof active;
159
+ close: typeof close;
160
+ submit: typeof submit;
161
+ cancel: typeof cancel;
162
+ draggable: typeof draggable;
163
+ resizable: typeof resizable;
164
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
165
+ close: () => any;
166
+ open: (instance: ComponentInternalInstance) => any;
167
+ cancel: () => any;
168
+ submit: () => any;
169
+ resizing: (dir: string, mie: {
170
+ x: Ref<number, number>;
171
+ y: Ref<number, number>;
172
+ sourceType: Ref<UseMouseSourceType, UseMouseSourceType>;
173
+ elementX: Ref<number, number>;
174
+ elementY: Ref<number, number>;
175
+ elementPositionX: Ref<number, number>;
176
+ elementPositionY: Ref<number, number>;
177
+ elementHeight: Ref<number, number>;
178
+ elementWidth: Ref<number, number>;
179
+ isOutside: Ref<boolean, boolean>;
180
+ stop: () => void;
181
+ }) => any;
182
+ normal: () => any;
183
+ maximized: () => any;
184
+ minimized: () => any;
185
+ dragging: (position: Position) => any;
186
+ "update:modelValue": (value: boolean) => any;
187
+ destroy: () => any;
188
+ modeChange: (mode: DialogMode) => any;
189
+ dragStart: (position: Position) => any;
190
+ dragEnd: (position: Position) => any;
191
+ resizeStart: (dir: string, mie: {
192
+ x: Ref<number, number>;
193
+ y: Ref<number, number>;
194
+ sourceType: Ref<UseMouseSourceType, UseMouseSourceType>;
195
+ elementX: Ref<number, number>;
196
+ elementY: Ref<number, number>;
197
+ elementPositionX: Ref<number, number>;
198
+ elementPositionY: Ref<number, number>;
199
+ elementHeight: Ref<number, number>;
200
+ elementWidth: Ref<number, number>;
201
+ isOutside: Ref<boolean, boolean>;
202
+ stop: () => void;
203
+ }) => any;
204
+ resizeEnd: (dir: string, mie: {
205
+ x: Ref<number, number>;
206
+ y: Ref<number, number>;
207
+ sourceType: Ref<UseMouseSourceType, UseMouseSourceType>;
208
+ elementX: Ref<number, number>;
209
+ elementY: Ref<number, number>;
210
+ elementPositionX: Ref<number, number>;
211
+ elementPositionY: Ref<number, number>;
212
+ elementHeight: Ref<number, number>;
213
+ elementWidth: Ref<number, number>;
214
+ isOutside: Ref<boolean, boolean>;
215
+ stop: () => void;
216
+ }) => any;
217
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
218
+ modelValue: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
222
+ title: {
223
+ type: StringConstructor;
224
+ };
225
+ subtitle: {
226
+ type: StringConstructor;
227
+ };
228
+ icon: {
229
+ type: PropType<IconParam>;
230
+ };
231
+ size: {
232
+ type: PropType<BaseSize>;
233
+ default: string;
234
+ };
235
+ width: {
236
+ type: (StringConstructor | NumberConstructor)[];
237
+ default: string;
238
+ };
239
+ height: {
240
+ type: (StringConstructor | NumberConstructor)[];
241
+ default: string;
242
+ };
243
+ left: {
244
+ type: (StringConstructor | NumberConstructor)[];
245
+ };
246
+ top: {
247
+ type: (StringConstructor | NumberConstructor)[];
248
+ };
249
+ modal: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ draggable: {
254
+ type: PropType<boolean | DraggableOptions>;
255
+ default: boolean;
256
+ };
257
+ resizable: {
258
+ type: PropType<boolean | ResizableOptions>;
259
+ };
260
+ closable: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
264
+ maximizable: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
268
+ minimizable: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ mode: {
273
+ type: PropType<DialogMode>;
274
+ default: string;
275
+ };
276
+ content: {
277
+ type: PropType< VNode | DefineComponent<any, any, any, any> | Record<string, any>>;
278
+ };
279
+ src: {
280
+ type: StringConstructor;
281
+ };
282
+ componentInstance: {
283
+ type: PropType<Record<string, any> | null>;
284
+ };
285
+ beforeClose: {
286
+ type: PropType<() => boolean | Promise<boolean>>;
287
+ };
288
+ submit: {
289
+ type: (BooleanConstructor | StringConstructor)[];
290
+ };
291
+ cancel: {
292
+ type: (BooleanConstructor | StringConstructor)[];
293
+ };
294
+ bodyPadding: {
295
+ type: BooleanConstructor;
296
+ default: boolean;
297
+ };
298
+ primary: {
299
+ type: BooleanConstructor;
300
+ };
301
+ pure: {
302
+ type: BooleanConstructor;
303
+ };
304
+ }>> & Readonly<{
305
+ onClose?: (() => any) | undefined;
306
+ onOpen?: ((instance: ComponentInternalInstance) => any) | undefined;
307
+ onCancel?: (() => any) | undefined;
308
+ onSubmit?: (() => any) | undefined;
309
+ onResizing?: ((dir: string, mie: {
310
+ x: Ref<number, number>;
311
+ y: Ref<number, number>;
312
+ sourceType: Ref<UseMouseSourceType, UseMouseSourceType>;
313
+ elementX: Ref<number, number>;
314
+ elementY: Ref<number, number>;
315
+ elementPositionX: Ref<number, number>;
316
+ elementPositionY: Ref<number, number>;
317
+ elementHeight: Ref<number, number>;
318
+ elementWidth: Ref<number, number>;
319
+ isOutside: Ref<boolean, boolean>;
320
+ stop: () => void;
321
+ }) => any) | undefined;
322
+ onNormal?: (() => any) | undefined;
323
+ onMaximized?: (() => any) | undefined;
324
+ onMinimized?: (() => any) | undefined;
325
+ onDragging?: ((position: Position) => any) | undefined;
326
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
327
+ onDestroy?: (() => any) | undefined;
328
+ onModeChange?: ((mode: DialogMode) => any) | undefined;
329
+ onDragStart?: ((position: Position) => any) | undefined;
330
+ onDragEnd?: ((position: Position) => any) | undefined;
331
+ onResizeStart?: ((dir: string, mie: {
332
+ x: Ref<number, number>;
333
+ y: Ref<number, number>;
334
+ sourceType: Ref<UseMouseSourceType, UseMouseSourceType>;
335
+ elementX: Ref<number, number>;
336
+ elementY: Ref<number, number>;
337
+ elementPositionX: Ref<number, number>;
338
+ elementPositionY: Ref<number, number>;
339
+ elementHeight: Ref<number, number>;
340
+ elementWidth: Ref<number, number>;
341
+ isOutside: Ref<boolean, boolean>;
342
+ stop: () => void;
343
+ }) => any) | undefined;
344
+ onResizeEnd?: ((dir: string, mie: {
345
+ x: Ref<number, number>;
346
+ y: Ref<number, number>;
347
+ sourceType: Ref<UseMouseSourceType, UseMouseSourceType>;
348
+ elementX: Ref<number, number>;
349
+ elementY: Ref<number, number>;
350
+ elementPositionX: Ref<number, number>;
351
+ elementPositionY: Ref<number, number>;
352
+ elementHeight: Ref<number, number>;
353
+ elementWidth: Ref<number, number>;
354
+ isOutside: Ref<boolean, boolean>;
355
+ stop: () => void;
356
+ }) => any) | undefined;
357
+ }>, {
358
+ size: BaseSize;
359
+ primary: boolean;
360
+ mode: DialogMode;
361
+ pure: boolean;
362
+ draggable: boolean | DraggableOptions;
363
+ width: string | number;
364
+ height: string | number;
365
+ modelValue: boolean;
366
+ modal: boolean;
367
+ closable: boolean;
368
+ maximizable: boolean;
369
+ minimizable: boolean;
370
+ bodyPadding: boolean;
371
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
583
372
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
584
373
  modelValue: {
585
374
  type: BooleanConstructor;
@@ -900,570 +689,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
900
689
  maximizable: boolean;
901
690
  minimizable: boolean;
902
691
  bodyPadding: boolean;
903
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
904
- wrapper: HTMLDivElement;
905
- panelRef: ({
906
- $: ComponentInternalInstance;
907
- $data: {};
908
- $props: Partial<{
909
- radius: boolean;
910
- fit: boolean;
911
- border: boolean;
912
- card: boolean;
913
- }> & Omit<{
914
- readonly radius: boolean;
915
- readonly fit: boolean;
916
- readonly border: boolean;
917
- readonly card: boolean;
918
- readonly size?: BaseSize | undefined;
919
- readonly body?: Readonly<Partial< ExtractPropTypes<{
920
- tag: {
921
- type: StringConstructor;
922
- default: string;
923
- };
924
- fit: {
925
- type: BooleanConstructor;
926
- default: boolean;
927
- };
928
- width: {
929
- type: (StringConstructor | NumberConstructor)[];
930
- };
931
- height: {
932
- type: (StringConstructor | NumberConstructor)[];
933
- };
934
- flex: {
935
- type: BooleanConstructor;
936
- default: boolean;
937
- };
938
- inline: {
939
- type: BooleanConstructor;
940
- };
941
- direction: {
942
- type: PropType<ContainerDirection>;
943
- default: string;
944
- };
945
- wrap: {
946
- type: PropType<ContainerWrap>;
947
- default: string;
948
- };
949
- justify: {
950
- type: PropType<ContainerJustifyContent>;
951
- default: string;
952
- };
953
- align: {
954
- type: PropType<ContainerAlignItems>;
955
- default: string;
956
- };
957
- alignContent: {
958
- type: PropType<ContainerAlignContent>;
959
- default: string;
960
- };
961
- grow: {
962
- type: BooleanConstructor;
963
- default: boolean;
964
- };
965
- shrink: {
966
- type: BooleanConstructor;
967
- default: boolean;
968
- };
969
- alignSelf: {
970
- type: PropType<"auto" | ContainerAlignItems>;
971
- default: string;
972
- };
973
- overflow: {
974
- type: PropType<"auto" | "hidden" | "visible">;
975
- };
976
- padding: {
977
- type: BooleanConstructor;
978
- default: boolean;
979
- };
980
- gap: {
981
- type: BooleanConstructor;
982
- };
983
- autoPointer: {
984
- type: BooleanConstructor;
985
- };
986
- }>>> | undefined;
987
- readonly footer?: Readonly<Partial< ExtractPropTypes<{
988
- tag: {
989
- type: StringConstructor;
990
- default: string;
991
- };
992
- fit: {
993
- type: BooleanConstructor;
994
- default: boolean;
995
- };
996
- width: {
997
- type: (StringConstructor | NumberConstructor)[];
998
- };
999
- height: {
1000
- type: (StringConstructor | NumberConstructor)[];
1001
- };
1002
- flex: {
1003
- type: BooleanConstructor;
1004
- default: boolean;
1005
- };
1006
- inline: {
1007
- type: BooleanConstructor;
1008
- };
1009
- direction: {
1010
- type: PropType<ContainerDirection>;
1011
- default: string;
1012
- };
1013
- wrap: {
1014
- type: PropType<ContainerWrap>;
1015
- default: string;
1016
- };
1017
- justify: {
1018
- type: PropType<ContainerJustifyContent>;
1019
- default: string;
1020
- };
1021
- align: {
1022
- type: PropType<ContainerAlignItems>;
1023
- default: string;
1024
- };
1025
- alignContent: {
1026
- type: PropType<ContainerAlignContent>;
1027
- default: string;
1028
- };
1029
- grow: {
1030
- type: BooleanConstructor;
1031
- default: boolean;
1032
- };
1033
- shrink: {
1034
- type: BooleanConstructor;
1035
- default: boolean;
1036
- };
1037
- alignSelf: {
1038
- type: PropType<"auto" | ContainerAlignItems>;
1039
- default: string;
1040
- };
1041
- overflow: {
1042
- type: PropType<"auto" | "hidden" | "visible">;
1043
- };
1044
- padding: {
1045
- type: BooleanConstructor;
1046
- default: boolean;
1047
- };
1048
- gap: {
1049
- type: BooleanConstructor;
1050
- };
1051
- autoPointer: {
1052
- type: BooleanConstructor;
1053
- };
1054
- }>>> | undefined;
1055
- readonly header?: string | Readonly<Partial< ExtractPropTypes<{
1056
- size: {
1057
- type: PropType<BaseSize>;
1058
- default: string;
1059
- };
1060
- content: {
1061
- type: StringConstructor;
1062
- default: string;
1063
- };
1064
- subtitle: {
1065
- type: StringConstructor;
1066
- };
1067
- icon: {
1068
- type: PropType<IconParam>;
1069
- };
1070
- border: {
1071
- type: BooleanConstructor;
1072
- };
1073
- more: {
1074
- type: BooleanConstructor;
1075
- };
1076
- }>>> | null | undefined;
1077
- readonly width?: string | number | undefined;
1078
- readonly height?: string | number | undefined;
1079
- readonly shadow?: "none" | "hover" | "always" | undefined;
1080
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
1081
- $attrs: {
1082
- [x: string]: unknown;
1083
- };
1084
- $refs: {
1085
- [x: string]: unknown;
1086
- } & {
1087
- bodyRef: ({
1088
- $: ComponentInternalInstance;
1089
- $data: {};
1090
- $props: Partial<{
1091
- padding: boolean;
1092
- tag: string;
1093
- wrap: ContainerWrap;
1094
- fit: boolean;
1095
- flex: boolean;
1096
- inline: boolean;
1097
- direction: ContainerDirection;
1098
- justify: ContainerJustifyContent;
1099
- align: ContainerAlignItems;
1100
- alignContent: ContainerAlignContent;
1101
- grow: boolean;
1102
- shrink: boolean;
1103
- alignSelf: "auto" | ContainerAlignItems;
1104
- gap: boolean;
1105
- autoPointer: boolean;
1106
- }> & Omit<{
1107
- readonly padding: boolean;
1108
- readonly tag: string;
1109
- readonly wrap: ContainerWrap;
1110
- readonly fit: boolean;
1111
- readonly flex: boolean;
1112
- readonly inline: boolean;
1113
- readonly direction: ContainerDirection;
1114
- readonly justify: ContainerJustifyContent;
1115
- readonly align: ContainerAlignItems;
1116
- readonly alignContent: ContainerAlignContent;
1117
- readonly grow: boolean;
1118
- readonly shrink: boolean;
1119
- readonly alignSelf: "auto" | ContainerAlignItems;
1120
- readonly gap: boolean;
1121
- readonly autoPointer: boolean;
1122
- readonly width?: string | number | undefined;
1123
- readonly height?: string | number | undefined;
1124
- readonly overflow?: "hidden" | "auto" | "visible" | undefined;
1125
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
1126
- $attrs: {
1127
- [x: string]: unknown;
1128
- };
1129
- $refs: {
1130
- [x: string]: unknown;
1131
- } & {
1132
- elRef: unknown;
1133
- };
1134
- $slots: Readonly<{
1135
- [name: string]: Slot<any> | undefined;
1136
- }>;
1137
- $root: ComponentPublicInstance | null;
1138
- $parent: ComponentPublicInstance | null;
1139
- $host: Element | null;
1140
- $emit: (event: string, ...args: any[]) => void;
1141
- $el: any;
1142
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1143
- tag: {
1144
- type: StringConstructor;
1145
- default: string;
1146
- };
1147
- fit: {
1148
- type: BooleanConstructor;
1149
- default: boolean;
1150
- };
1151
- width: {
1152
- type: (StringConstructor | NumberConstructor)[];
1153
- };
1154
- height: {
1155
- type: (StringConstructor | NumberConstructor)[];
1156
- };
1157
- flex: {
1158
- type: BooleanConstructor;
1159
- default: boolean;
1160
- };
1161
- inline: {
1162
- type: BooleanConstructor;
1163
- };
1164
- direction: {
1165
- type: PropType<ContainerDirection>;
1166
- default: string;
1167
- };
1168
- wrap: {
1169
- type: PropType<ContainerWrap>;
1170
- default: string;
1171
- };
1172
- justify: {
1173
- type: PropType<ContainerJustifyContent>;
1174
- default: string;
1175
- };
1176
- align: {
1177
- type: PropType<ContainerAlignItems>;
1178
- default: string;
1179
- };
1180
- alignContent: {
1181
- type: PropType<ContainerAlignContent>;
1182
- default: string;
1183
- };
1184
- grow: {
1185
- type: BooleanConstructor;
1186
- default: boolean;
1187
- };
1188
- shrink: {
1189
- type: BooleanConstructor;
1190
- default: boolean;
1191
- };
1192
- alignSelf: {
1193
- type: PropType<"auto" | ContainerAlignItems>;
1194
- default: string;
1195
- };
1196
- overflow: {
1197
- type: PropType<"auto" | "hidden" | "visible">;
1198
- };
1199
- padding: {
1200
- type: BooleanConstructor;
1201
- default: boolean;
1202
- };
1203
- gap: {
1204
- type: BooleanConstructor;
1205
- };
1206
- autoPointer: {
1207
- type: BooleanConstructor;
1208
- };
1209
- }>> & Readonly<{}>, {
1210
- $vtjEl: ComputedRef<any>;
1211
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1212
- padding: boolean;
1213
- tag: string;
1214
- wrap: ContainerWrap;
1215
- fit: boolean;
1216
- flex: boolean;
1217
- inline: boolean;
1218
- direction: ContainerDirection;
1219
- justify: ContainerJustifyContent;
1220
- align: ContainerAlignItems;
1221
- alignContent: ContainerAlignContent;
1222
- grow: boolean;
1223
- shrink: boolean;
1224
- alignSelf: "auto" | ContainerAlignItems;
1225
- gap: boolean;
1226
- autoPointer: boolean;
1227
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1228
- beforeCreate?: (() => void) | (() => void)[];
1229
- created?: (() => void) | (() => void)[];
1230
- beforeMount?: (() => void) | (() => void)[];
1231
- mounted?: (() => void) | (() => void)[];
1232
- beforeUpdate?: (() => void) | (() => void)[];
1233
- updated?: (() => void) | (() => void)[];
1234
- activated?: (() => void) | (() => void)[];
1235
- deactivated?: (() => void) | (() => void)[];
1236
- beforeDestroy?: (() => void) | (() => void)[];
1237
- beforeUnmount?: (() => void) | (() => void)[];
1238
- destroyed?: (() => void) | (() => void)[];
1239
- unmounted?: (() => void) | (() => void)[];
1240
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1241
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1242
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1243
- };
1244
- $forceUpdate: () => void;
1245
- $nextTick: typeof nextTick;
1246
- $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;
1247
- } & Readonly<{
1248
- padding: boolean;
1249
- tag: string;
1250
- wrap: ContainerWrap;
1251
- fit: boolean;
1252
- flex: boolean;
1253
- inline: boolean;
1254
- direction: ContainerDirection;
1255
- justify: ContainerJustifyContent;
1256
- align: ContainerAlignItems;
1257
- alignContent: ContainerAlignContent;
1258
- grow: boolean;
1259
- shrink: boolean;
1260
- alignSelf: "auto" | ContainerAlignItems;
1261
- gap: boolean;
1262
- autoPointer: boolean;
1263
- }> & Omit<Readonly< ExtractPropTypes<{
1264
- tag: {
1265
- type: StringConstructor;
1266
- default: string;
1267
- };
1268
- fit: {
1269
- type: BooleanConstructor;
1270
- default: boolean;
1271
- };
1272
- width: {
1273
- type: (StringConstructor | NumberConstructor)[];
1274
- };
1275
- height: {
1276
- type: (StringConstructor | NumberConstructor)[];
1277
- };
1278
- flex: {
1279
- type: BooleanConstructor;
1280
- default: boolean;
1281
- };
1282
- inline: {
1283
- type: BooleanConstructor;
1284
- };
1285
- direction: {
1286
- type: PropType<ContainerDirection>;
1287
- default: string;
1288
- };
1289
- wrap: {
1290
- type: PropType<ContainerWrap>;
1291
- default: string;
1292
- };
1293
- justify: {
1294
- type: PropType<ContainerJustifyContent>;
1295
- default: string;
1296
- };
1297
- align: {
1298
- type: PropType<ContainerAlignItems>;
1299
- default: string;
1300
- };
1301
- alignContent: {
1302
- type: PropType<ContainerAlignContent>;
1303
- default: string;
1304
- };
1305
- grow: {
1306
- type: BooleanConstructor;
1307
- default: boolean;
1308
- };
1309
- shrink: {
1310
- type: BooleanConstructor;
1311
- default: boolean;
1312
- };
1313
- alignSelf: {
1314
- type: PropType<"auto" | ContainerAlignItems>;
1315
- default: string;
1316
- };
1317
- overflow: {
1318
- type: PropType<"auto" | "hidden" | "visible">;
1319
- };
1320
- padding: {
1321
- type: BooleanConstructor;
1322
- default: boolean;
1323
- };
1324
- gap: {
1325
- type: BooleanConstructor;
1326
- };
1327
- autoPointer: {
1328
- type: BooleanConstructor;
1329
- };
1330
- }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
1331
- $vtjEl: ComputedRef<any>;
1332
- }> & {} & ComponentCustomProperties & {} & {
1333
- $slots: {
1334
- default?(_: {}): any;
1335
- };
1336
- }) | null;
1337
- };
1338
- $slots: Readonly<{
1339
- [name: string]: Slot<any> | undefined;
1340
- }>;
1341
- $root: ComponentPublicInstance | null;
1342
- $parent: ComponentPublicInstance | null;
1343
- $host: Element | null;
1344
- $emit: (event: string, ...args: any[]) => void;
1345
- $el: any;
1346
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1347
- fit: {
1348
- type: BooleanConstructor;
1349
- default: boolean;
1350
- };
1351
- width: {
1352
- type: (StringConstructor | NumberConstructor)[];
1353
- };
1354
- height: {
1355
- type: (StringConstructor | NumberConstructor)[];
1356
- };
1357
- border: {
1358
- type: BooleanConstructor;
1359
- default: boolean;
1360
- };
1361
- radius: {
1362
- type: BooleanConstructor;
1363
- default: boolean;
1364
- };
1365
- card: {
1366
- type: BooleanConstructor;
1367
- };
1368
- size: {
1369
- type: PropType<BaseSize>;
1370
- };
1371
- shadow: {
1372
- type: PropType<"none" | "always" | "hover">;
1373
- };
1374
- header: {
1375
- type: PropType<string | HeaderProps | null>;
1376
- };
1377
- body: {
1378
- type: PropType<ContainerProps>;
1379
- };
1380
- footer: {
1381
- type: PropType<ContainerProps>;
1382
- };
1383
- }>> & Readonly<{}>, {
1384
- bodyRef: Ref<any, any>;
1385
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1386
- radius: boolean;
1387
- fit: boolean;
1388
- border: boolean;
1389
- card: boolean;
1390
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1391
- beforeCreate?: (() => void) | (() => void)[];
1392
- created?: (() => void) | (() => void)[];
1393
- beforeMount?: (() => void) | (() => void)[];
1394
- mounted?: (() => void) | (() => void)[];
1395
- beforeUpdate?: (() => void) | (() => void)[];
1396
- updated?: (() => void) | (() => void)[];
1397
- activated?: (() => void) | (() => void)[];
1398
- deactivated?: (() => void) | (() => void)[];
1399
- beforeDestroy?: (() => void) | (() => void)[];
1400
- beforeUnmount?: (() => void) | (() => void)[];
1401
- destroyed?: (() => void) | (() => void)[];
1402
- unmounted?: (() => void) | (() => void)[];
1403
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1404
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1405
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1406
- };
1407
- $forceUpdate: () => void;
1408
- $nextTick: typeof nextTick;
1409
- $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;
1410
- } & Readonly<{
1411
- radius: boolean;
1412
- fit: boolean;
1413
- border: boolean;
1414
- card: boolean;
1415
- }> & Omit<Readonly< ExtractPropTypes<{
1416
- fit: {
1417
- type: BooleanConstructor;
1418
- default: boolean;
1419
- };
1420
- width: {
1421
- type: (StringConstructor | NumberConstructor)[];
1422
- };
1423
- height: {
1424
- type: (StringConstructor | NumberConstructor)[];
1425
- };
1426
- border: {
1427
- type: BooleanConstructor;
1428
- default: boolean;
1429
- };
1430
- radius: {
1431
- type: BooleanConstructor;
1432
- default: boolean;
1433
- };
1434
- card: {
1435
- type: BooleanConstructor;
1436
- };
1437
- size: {
1438
- type: PropType<BaseSize>;
1439
- };
1440
- shadow: {
1441
- type: PropType<"none" | "always" | "hover">;
1442
- };
1443
- header: {
1444
- type: PropType<string | HeaderProps | null>;
1445
- };
1446
- body: {
1447
- type: PropType<ContainerProps>;
1448
- };
1449
- footer: {
1450
- type: PropType<ContainerProps>;
1451
- };
1452
- }>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> & ShallowUnwrapRef<{
1453
- bodyRef: Ref<any, any>;
1454
- }> & {} & ComponentCustomProperties & {} & {
1455
- $slots: {
1456
- header?(_: {}): any;
1457
- title?(_: {}): any;
1458
- actions?(_: {}): any;
1459
- default?(_: {}): any;
1460
- footer?(_: {}): any;
1461
- };
1462
- }) | null;
1463
- }, any>;
1464
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
692
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
693
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
1465
694
  export default _default;
1466
- type __VLS_WithTemplateSlots<T, S> = T & {
695
+ type __VLS_WithSlots<T, S> = T & {
1467
696
  new (): {
1468
697
  $slots: S;
1469
698
  };