@vtj/ui 0.10.4 → 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 +180 -180
  2. package/dist/index.umd.js +3 -3
  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,272 +1,126 @@
1
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, Ref, PublicProps } from 'vue';
2
- import { ContainerWrap, ContainerDirection, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, ContainerProps } from '../container';
3
- import { OnCleanup } from '@vue/reactivity';
1
+ import { XContainer, XHeader } from '../';
2
+ import { Ref, ComputedRef, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  import { BaseSize } from '../shared';
4
+ import { IconParam } from '../icon';
5
5
  import { HeaderProps } from '../header';
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- header?(_: {}): any;
10
- title?(_: {}): any;
11
- actions?(_: {}): any;
12
- default?(_: {}): any;
13
- footer?(_: {}): any;
14
- };
15
- refs: {
16
- bodyRef: ({
17
- $: ComponentInternalInstance;
18
- $data: {};
19
- $props: Partial<{
20
- padding: boolean;
21
- tag: string;
22
- wrap: ContainerWrap;
23
- fit: boolean;
24
- flex: boolean;
25
- inline: boolean;
26
- direction: ContainerDirection;
27
- justify: ContainerJustifyContent;
28
- align: ContainerAlignItems;
29
- alignContent: ContainerAlignContent;
30
- grow: boolean;
31
- shrink: boolean;
32
- alignSelf: "auto" | ContainerAlignItems;
33
- gap: boolean;
34
- autoPointer: boolean;
35
- }> & Omit<{
36
- readonly padding: boolean;
37
- readonly tag: string;
38
- readonly wrap: ContainerWrap;
39
- readonly fit: boolean;
40
- readonly flex: boolean;
41
- readonly inline: boolean;
42
- readonly direction: ContainerDirection;
43
- readonly justify: ContainerJustifyContent;
44
- readonly align: ContainerAlignItems;
45
- readonly alignContent: ContainerAlignContent;
46
- readonly grow: boolean;
47
- readonly shrink: boolean;
48
- readonly alignSelf: "auto" | ContainerAlignItems;
49
- readonly gap: boolean;
50
- readonly autoPointer: boolean;
51
- readonly width?: string | number | undefined;
52
- readonly height?: string | number | undefined;
53
- readonly overflow?: "hidden" | "auto" | "visible" | undefined;
54
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
55
- $attrs: {
56
- [x: string]: unknown;
57
- };
58
- $refs: {
59
- [x: string]: unknown;
60
- } & {
61
- elRef: unknown;
62
- };
63
- $slots: Readonly<{
64
- [name: string]: Slot<any> | undefined;
65
- }>;
66
- $root: ComponentPublicInstance | null;
67
- $parent: ComponentPublicInstance | null;
68
- $host: Element | null;
69
- $emit: (event: string, ...args: any[]) => void;
70
- $el: any;
71
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
72
- tag: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- fit: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- width: {
81
- type: (StringConstructor | NumberConstructor)[];
82
- };
83
- height: {
84
- type: (StringConstructor | NumberConstructor)[];
85
- };
86
- flex: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- inline: {
91
- type: BooleanConstructor;
92
- };
93
- direction: {
94
- type: PropType<ContainerDirection>;
95
- default: string;
96
- };
97
- wrap: {
98
- type: PropType<ContainerWrap>;
99
- default: string;
100
- };
101
- justify: {
102
- type: PropType<ContainerJustifyContent>;
103
- default: string;
104
- };
105
- align: {
106
- type: PropType<ContainerAlignItems>;
107
- default: string;
108
- };
109
- alignContent: {
110
- type: PropType<ContainerAlignContent>;
111
- default: string;
112
- };
113
- grow: {
114
- type: BooleanConstructor;
115
- default: boolean;
116
- };
117
- shrink: {
118
- type: BooleanConstructor;
119
- default: boolean;
120
- };
121
- alignSelf: {
122
- type: PropType<"auto" | ContainerAlignItems>;
123
- default: string;
124
- };
125
- overflow: {
126
- type: PropType<"auto" | "hidden" | "visible">;
127
- };
128
- padding: {
129
- type: BooleanConstructor;
130
- default: boolean;
131
- };
132
- gap: {
133
- type: BooleanConstructor;
134
- };
135
- autoPointer: {
136
- type: BooleanConstructor;
137
- };
138
- }>> & Readonly<{}>, {
139
- $vtjEl: ComputedRef<any>;
140
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
141
- padding: boolean;
142
- tag: string;
143
- wrap: ContainerWrap;
144
- fit: boolean;
145
- flex: boolean;
146
- inline: boolean;
147
- direction: ContainerDirection;
148
- justify: ContainerJustifyContent;
149
- align: ContainerAlignItems;
150
- alignContent: ContainerAlignContent;
151
- grow: boolean;
152
- shrink: boolean;
153
- alignSelf: "auto" | ContainerAlignItems;
154
- gap: boolean;
155
- autoPointer: boolean;
156
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
157
- beforeCreate?: (() => void) | (() => void)[];
158
- created?: (() => void) | (() => void)[];
159
- beforeMount?: (() => void) | (() => void)[];
160
- mounted?: (() => void) | (() => void)[];
161
- beforeUpdate?: (() => void) | (() => void)[];
162
- updated?: (() => void) | (() => void)[];
163
- activated?: (() => void) | (() => void)[];
164
- deactivated?: (() => void) | (() => void)[];
165
- beforeDestroy?: (() => void) | (() => void)[];
166
- beforeUnmount?: (() => void) | (() => void)[];
167
- destroyed?: (() => void) | (() => void)[];
168
- unmounted?: (() => void) | (() => void)[];
169
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
170
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
171
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
172
- };
173
- $forceUpdate: () => void;
174
- $nextTick: nextTick;
175
- $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;
176
- } & Readonly<{
177
- padding: boolean;
178
- tag: string;
179
- wrap: ContainerWrap;
180
- fit: boolean;
181
- flex: boolean;
182
- inline: boolean;
183
- direction: ContainerDirection;
184
- justify: ContainerJustifyContent;
185
- align: ContainerAlignItems;
186
- alignContent: ContainerAlignContent;
187
- grow: boolean;
188
- shrink: boolean;
189
- alignSelf: "auto" | ContainerAlignItems;
190
- gap: boolean;
191
- autoPointer: boolean;
192
- }> & Omit<Readonly< ExtractPropTypes<{
193
- tag: {
194
- type: StringConstructor;
195
- default: string;
196
- };
197
- fit: {
198
- type: BooleanConstructor;
199
- default: boolean;
200
- };
201
- width: {
202
- type: (StringConstructor | NumberConstructor)[];
203
- };
204
- height: {
205
- type: (StringConstructor | NumberConstructor)[];
206
- };
207
- flex: {
208
- type: BooleanConstructor;
209
- default: boolean;
210
- };
211
- inline: {
212
- type: BooleanConstructor;
213
- };
214
- direction: {
215
- type: PropType<ContainerDirection>;
216
- default: string;
217
- };
218
- wrap: {
219
- type: PropType<ContainerWrap>;
220
- default: string;
221
- };
222
- justify: {
223
- type: PropType<ContainerJustifyContent>;
224
- default: string;
225
- };
226
- align: {
227
- type: PropType<ContainerAlignItems>;
228
- default: string;
229
- };
230
- alignContent: {
231
- type: PropType<ContainerAlignContent>;
232
- default: string;
233
- };
234
- grow: {
235
- type: BooleanConstructor;
236
- default: boolean;
237
- };
238
- shrink: {
239
- type: BooleanConstructor;
240
- default: boolean;
241
- };
242
- alignSelf: {
243
- type: PropType<"auto" | ContainerAlignItems>;
244
- default: string;
245
- };
246
- overflow: {
247
- type: PropType<"auto" | "hidden" | "visible">;
248
- };
249
- padding: {
250
- type: BooleanConstructor;
251
- default: boolean;
252
- };
253
- gap: {
254
- type: BooleanConstructor;
255
- };
256
- autoPointer: {
257
- type: BooleanConstructor;
258
- };
259
- }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
260
- $vtjEl: ComputedRef<any>;
261
- }> & {} & ComponentCustomProperties & {} & {
262
- $slots: {
263
- default?(_: {}): any;
264
- };
265
- }) | null;
266
- };
267
- rootEl: any;
268
- };
269
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
6
+ import { ContainerProps } from '../container';
7
+ declare const bodyRef: Ref<any, any>;
8
+ declare const classes: ComputedRef<{
9
+ [x: string]: boolean;
10
+ 'x-panel--card': boolean;
11
+ 'x-panel--default': boolean;
12
+ 'is-border': boolean;
13
+ 'is-radius': boolean;
14
+ }>;
15
+ declare const headerProps: ComputedRef<{
16
+ size: BaseSize | undefined;
17
+ content?: string | undefined;
18
+ border?: boolean | undefined;
19
+ more?: boolean | undefined;
20
+ icon?: IconParam | undefined;
21
+ subtitle?: string | undefined;
22
+ } | null>;
23
+ declare const bodyOverflow: ComputedRef<"auto" | undefined>;
24
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
25
+ declare var __VLS_10: {}, __VLS_16: {}, __VLS_18: {}, __VLS_26: {}, __VLS_32: {};
26
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
27
+ header?: (props: typeof __VLS_10) => any;
28
+ } & {
29
+ title?: (props: typeof __VLS_16) => any;
30
+ } & {
31
+ actions?: (props: typeof __VLS_18) => any;
32
+ } & {
33
+ default?: (props: typeof __VLS_26) => any;
34
+ } & {
35
+ footer?: (props: typeof __VLS_32) => any;
36
+ }>;
37
+ declare const __VLS_self: DefineComponent<ExtractPropTypes<{
38
+ fit: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ width: {
43
+ type: (StringConstructor | NumberConstructor)[];
44
+ };
45
+ height: {
46
+ type: (StringConstructor | NumberConstructor)[];
47
+ };
48
+ border: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ radius: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ card: {
57
+ type: BooleanConstructor;
58
+ };
59
+ size: {
60
+ type: PropType<BaseSize>;
61
+ };
62
+ shadow: {
63
+ type: PropType<"none" | "always" | "hover">;
64
+ };
65
+ header: {
66
+ type: PropType<string | HeaderProps | null>;
67
+ };
68
+ body: {
69
+ type: PropType<ContainerProps>;
70
+ };
71
+ footer: {
72
+ type: PropType<ContainerProps>;
73
+ };
74
+ }>, {
75
+ XContainer: typeof XContainer;
76
+ XHeader: typeof XHeader;
77
+ bodyRef: typeof bodyRef;
78
+ classes: typeof classes;
79
+ headerProps: typeof headerProps;
80
+ bodyOverflow: typeof bodyOverflow;
81
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
82
+ fit: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ width: {
87
+ type: (StringConstructor | NumberConstructor)[];
88
+ };
89
+ height: {
90
+ type: (StringConstructor | NumberConstructor)[];
91
+ };
92
+ border: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ radius: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ card: {
101
+ type: BooleanConstructor;
102
+ };
103
+ size: {
104
+ type: PropType<BaseSize>;
105
+ };
106
+ shadow: {
107
+ type: PropType<"none" | "always" | "hover">;
108
+ };
109
+ header: {
110
+ type: PropType<string | HeaderProps | null>;
111
+ };
112
+ body: {
113
+ type: PropType<ContainerProps>;
114
+ };
115
+ footer: {
116
+ type: PropType<ContainerProps>;
117
+ };
118
+ }>> & Readonly<{}>, {
119
+ radius: boolean;
120
+ fit: boolean;
121
+ border: boolean;
122
+ card: boolean;
123
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
270
124
  declare const __VLS_component: DefineComponent<ExtractPropTypes<{
271
125
  fit: {
272
126
  type: BooleanConstructor;
@@ -348,261 +202,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
348
202
  fit: boolean;
349
203
  border: boolean;
350
204
  card: boolean;
351
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
352
- bodyRef: ({
353
- $: ComponentInternalInstance;
354
- $data: {};
355
- $props: Partial<{
356
- padding: boolean;
357
- tag: string;
358
- wrap: ContainerWrap;
359
- fit: boolean;
360
- flex: boolean;
361
- inline: boolean;
362
- direction: ContainerDirection;
363
- justify: ContainerJustifyContent;
364
- align: ContainerAlignItems;
365
- alignContent: ContainerAlignContent;
366
- grow: boolean;
367
- shrink: boolean;
368
- alignSelf: "auto" | ContainerAlignItems;
369
- gap: boolean;
370
- autoPointer: boolean;
371
- }> & Omit<{
372
- readonly padding: boolean;
373
- readonly tag: string;
374
- readonly wrap: ContainerWrap;
375
- readonly fit: boolean;
376
- readonly flex: boolean;
377
- readonly inline: boolean;
378
- readonly direction: ContainerDirection;
379
- readonly justify: ContainerJustifyContent;
380
- readonly align: ContainerAlignItems;
381
- readonly alignContent: ContainerAlignContent;
382
- readonly grow: boolean;
383
- readonly shrink: boolean;
384
- readonly alignSelf: "auto" | ContainerAlignItems;
385
- readonly gap: boolean;
386
- readonly autoPointer: boolean;
387
- readonly width?: string | number | undefined;
388
- readonly height?: string | number | undefined;
389
- readonly overflow?: "hidden" | "auto" | "visible" | undefined;
390
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
391
- $attrs: {
392
- [x: string]: unknown;
393
- };
394
- $refs: {
395
- [x: string]: unknown;
396
- } & {
397
- elRef: unknown;
398
- };
399
- $slots: Readonly<{
400
- [name: string]: Slot<any> | undefined;
401
- }>;
402
- $root: ComponentPublicInstance | null;
403
- $parent: ComponentPublicInstance | null;
404
- $host: Element | null;
405
- $emit: (event: string, ...args: any[]) => void;
406
- $el: any;
407
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
408
- tag: {
409
- type: StringConstructor;
410
- default: string;
411
- };
412
- fit: {
413
- type: BooleanConstructor;
414
- default: boolean;
415
- };
416
- width: {
417
- type: (StringConstructor | NumberConstructor)[];
418
- };
419
- height: {
420
- type: (StringConstructor | NumberConstructor)[];
421
- };
422
- flex: {
423
- type: BooleanConstructor;
424
- default: boolean;
425
- };
426
- inline: {
427
- type: BooleanConstructor;
428
- };
429
- direction: {
430
- type: PropType<ContainerDirection>;
431
- default: string;
432
- };
433
- wrap: {
434
- type: PropType<ContainerWrap>;
435
- default: string;
436
- };
437
- justify: {
438
- type: PropType<ContainerJustifyContent>;
439
- default: string;
440
- };
441
- align: {
442
- type: PropType<ContainerAlignItems>;
443
- default: string;
444
- };
445
- alignContent: {
446
- type: PropType<ContainerAlignContent>;
447
- default: string;
448
- };
449
- grow: {
450
- type: BooleanConstructor;
451
- default: boolean;
452
- };
453
- shrink: {
454
- type: BooleanConstructor;
455
- default: boolean;
456
- };
457
- alignSelf: {
458
- type: PropType<"auto" | ContainerAlignItems>;
459
- default: string;
460
- };
461
- overflow: {
462
- type: PropType<"auto" | "hidden" | "visible">;
463
- };
464
- padding: {
465
- type: BooleanConstructor;
466
- default: boolean;
467
- };
468
- gap: {
469
- type: BooleanConstructor;
470
- };
471
- autoPointer: {
472
- type: BooleanConstructor;
473
- };
474
- }>> & Readonly<{}>, {
475
- $vtjEl: ComputedRef<any>;
476
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
477
- padding: boolean;
478
- tag: string;
479
- wrap: ContainerWrap;
480
- fit: boolean;
481
- flex: boolean;
482
- inline: boolean;
483
- direction: ContainerDirection;
484
- justify: ContainerJustifyContent;
485
- align: ContainerAlignItems;
486
- alignContent: ContainerAlignContent;
487
- grow: boolean;
488
- shrink: boolean;
489
- alignSelf: "auto" | ContainerAlignItems;
490
- gap: boolean;
491
- autoPointer: boolean;
492
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
493
- beforeCreate?: (() => void) | (() => void)[];
494
- created?: (() => void) | (() => void)[];
495
- beforeMount?: (() => void) | (() => void)[];
496
- mounted?: (() => void) | (() => void)[];
497
- beforeUpdate?: (() => void) | (() => void)[];
498
- updated?: (() => void) | (() => void)[];
499
- activated?: (() => void) | (() => void)[];
500
- deactivated?: (() => void) | (() => void)[];
501
- beforeDestroy?: (() => void) | (() => void)[];
502
- beforeUnmount?: (() => void) | (() => void)[];
503
- destroyed?: (() => void) | (() => void)[];
504
- unmounted?: (() => void) | (() => void)[];
505
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
506
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
507
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
508
- };
509
- $forceUpdate: () => void;
510
- $nextTick: nextTick;
511
- $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;
512
- } & Readonly<{
513
- padding: boolean;
514
- tag: string;
515
- wrap: ContainerWrap;
516
- fit: boolean;
517
- flex: boolean;
518
- inline: boolean;
519
- direction: ContainerDirection;
520
- justify: ContainerJustifyContent;
521
- align: ContainerAlignItems;
522
- alignContent: ContainerAlignContent;
523
- grow: boolean;
524
- shrink: boolean;
525
- alignSelf: "auto" | ContainerAlignItems;
526
- gap: boolean;
527
- autoPointer: boolean;
528
- }> & Omit<Readonly< ExtractPropTypes<{
529
- tag: {
530
- type: StringConstructor;
531
- default: string;
532
- };
533
- fit: {
534
- type: BooleanConstructor;
535
- default: boolean;
536
- };
537
- width: {
538
- type: (StringConstructor | NumberConstructor)[];
539
- };
540
- height: {
541
- type: (StringConstructor | NumberConstructor)[];
542
- };
543
- flex: {
544
- type: BooleanConstructor;
545
- default: boolean;
546
- };
547
- inline: {
548
- type: BooleanConstructor;
549
- };
550
- direction: {
551
- type: PropType<ContainerDirection>;
552
- default: string;
553
- };
554
- wrap: {
555
- type: PropType<ContainerWrap>;
556
- default: string;
557
- };
558
- justify: {
559
- type: PropType<ContainerJustifyContent>;
560
- default: string;
561
- };
562
- align: {
563
- type: PropType<ContainerAlignItems>;
564
- default: string;
565
- };
566
- alignContent: {
567
- type: PropType<ContainerAlignContent>;
568
- default: string;
569
- };
570
- grow: {
571
- type: BooleanConstructor;
572
- default: boolean;
573
- };
574
- shrink: {
575
- type: BooleanConstructor;
576
- default: boolean;
577
- };
578
- alignSelf: {
579
- type: PropType<"auto" | ContainerAlignItems>;
580
- default: string;
581
- };
582
- overflow: {
583
- type: PropType<"auto" | "hidden" | "visible">;
584
- };
585
- padding: {
586
- type: BooleanConstructor;
587
- default: boolean;
588
- };
589
- gap: {
590
- type: BooleanConstructor;
591
- };
592
- autoPointer: {
593
- type: BooleanConstructor;
594
- };
595
- }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
596
- $vtjEl: ComputedRef<any>;
597
- }> & {} & ComponentCustomProperties & {} & {
598
- $slots: {
599
- default?(_: {}): any;
600
- };
601
- }) | null;
602
- }, any>;
603
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
205
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
206
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
604
207
  export default _default;
605
- type __VLS_WithTemplateSlots<T, S> = T & {
208
+ type __VLS_WithSlots<T, S> = T & {
606
209
  new (): {
607
210
  $slots: S;
608
211
  };