@vuetify/v0 0.0.2-beta.1 → 0.0.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.mts +5 -0
- package/dist/components/index.mjs +7 -0
- package/dist/components-B5iiovK7.mjs +579 -0
- package/dist/composables/index.d.mts +5 -0
- package/dist/composables/index.mjs +7 -0
- package/dist/composables-C6dl5kjP.mjs +614 -0
- package/dist/createTrinity-CwGvQ2ng.mjs +79 -0
- package/dist/factories/index.d.mts +3 -0
- package/dist/factories/index.mjs +4 -0
- package/dist/factories-DOLmqhVS.mjs +0 -0
- package/dist/index-BA3ZFBnL.d.mts +11 -0
- package/dist/index-CZRh0I2w.d.mts +19 -0
- package/dist/index-ChaaTPKp.d.mts +421 -0
- package/dist/index-Cya5Y9pB.d.mts +412 -0
- package/dist/index-D4Grk5x1.d.mts +23 -0
- package/dist/index-DfahEz6s.d.mts +18 -0
- package/dist/index-jG0yrC1F.d.mts +467 -0
- package/dist/index-oCBJwhpG.d.mts +43 -0
- package/dist/index.d.mts +9 -1378
- package/dist/index.mjs +7 -2586
- package/dist/transformers/index.d.mts +2 -0
- package/dist/transformers/index.mjs +4 -0
- package/dist/transformers-BTjuwbOV.mjs +122 -0
- package/dist/types/index.d.mts +2 -0
- package/dist/types/index.mjs +0 -0
- package/dist/useTheme-tY7MoBKr.mjs +1198 -0
- package/dist/utilities/index.d.mts +3 -0
- package/dist/utilities/index.mjs +3 -0
- package/dist/utilities-lZSfrXgw.mjs +86 -0
- package/package.json +51 -9
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
import { DOMElement, ID } from "./index-BA3ZFBnL.mjs";
|
|
2
|
+
import { BreakpointsContext, BreakpointsOptions, GroupContext, GroupOptions, GroupTicket, HydrationContext, StepContext, StepOptions, ThemeContext } from "./index-ChaaTPKp.mjs";
|
|
3
|
+
import * as vue197 from "vue";
|
|
4
|
+
import { InjectionKey, ModelRef, ShallowRef, TemplateRef, UnwrapNestedRefs } from "vue";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Atom/Atom.vue.d.ts
|
|
7
|
+
interface AtomProps {
|
|
8
|
+
as?: DOMElement | null;
|
|
9
|
+
renderless?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface AtomSlots<T> {
|
|
12
|
+
default: (props: T) => any;
|
|
13
|
+
}
|
|
14
|
+
interface AtomExpose {
|
|
15
|
+
element: TemplateRef<HTMLElement | null>;
|
|
16
|
+
}
|
|
17
|
+
interface AtomPrivateProps extends AtomProps {}
|
|
18
|
+
declare const _default$2: <T extends Record<string, any> = {}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
19
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps, never>, never> & AtomPrivateProps & Partial<{}>> & vue197.PublicProps;
|
|
20
|
+
expose(exposed: vue197.ShallowUnwrapRef<AtomExpose>): void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: AtomSlots<T>;
|
|
23
|
+
emit: {};
|
|
24
|
+
}>) => vue197.VNode & {
|
|
25
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/components/Breakpoints/BreakpointsItem.vue.d.ts
|
|
30
|
+
interface BreakpointsSlots {
|
|
31
|
+
default: (scope: BreakpointsContext) => any;
|
|
32
|
+
xs?: (scope: BreakpointsContext) => any;
|
|
33
|
+
sm?: (scope: BreakpointsContext) => any;
|
|
34
|
+
md?: (scope: BreakpointsContext) => any;
|
|
35
|
+
lg?: (scope: BreakpointsContext) => any;
|
|
36
|
+
xl?: (scope: BreakpointsContext) => any;
|
|
37
|
+
xxl?: (scope: BreakpointsContext) => any;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/components/Breakpoints/BreakpointsRoot.vue.d.ts
|
|
41
|
+
interface BreakpointsRootProps extends BreakpointsOptions {}
|
|
42
|
+
interface BreakpointsRootSlots {
|
|
43
|
+
default: (scope: BreakpointsContext) => any;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/Breakpoints/index.d.ts
|
|
47
|
+
declare const Breakpoints: {
|
|
48
|
+
Item: {
|
|
49
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, vue197.PublicProps, {}, true, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
57
|
+
__isFragment?: never;
|
|
58
|
+
__isTeleport?: never;
|
|
59
|
+
__isSuspense?: never;
|
|
60
|
+
} & vue197.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
61
|
+
$slots: BreakpointsSlots;
|
|
62
|
+
});
|
|
63
|
+
Root: {
|
|
64
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<BreakpointsRootProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
65
|
+
P: {};
|
|
66
|
+
B: {};
|
|
67
|
+
D: {};
|
|
68
|
+
C: {};
|
|
69
|
+
M: {};
|
|
70
|
+
Defaults: {};
|
|
71
|
+
}, Readonly<BreakpointsRootProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
72
|
+
__isFragment?: never;
|
|
73
|
+
__isTeleport?: never;
|
|
74
|
+
__isSuspense?: never;
|
|
75
|
+
} & vue197.ComponentOptionsBase<Readonly<BreakpointsRootProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
76
|
+
$slots: BreakpointsRootSlots;
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/components/Context/ContextItem.vue.d.ts
|
|
81
|
+
interface ContextSlots<T> {
|
|
82
|
+
default: (props: {
|
|
83
|
+
value: T;
|
|
84
|
+
}) => any;
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/Context/ContextRoot.vue.d.ts
|
|
88
|
+
interface ContextRootSlots {
|
|
89
|
+
default: () => any;
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region src/components/Context/index.d.ts
|
|
93
|
+
declare const Context: {
|
|
94
|
+
Item: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
95
|
+
attrs: any;
|
|
96
|
+
emit: {};
|
|
97
|
+
slots: ContextSlots<T>;
|
|
98
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
99
|
+
props: {
|
|
100
|
+
contextKey?: string | vue197.InjectionKey<T> | undefined;
|
|
101
|
+
value?: T | undefined;
|
|
102
|
+
} & vue197.PublicProps;
|
|
103
|
+
expose(exposed: vue197.ShallowUnwrapRef<{}>): void;
|
|
104
|
+
attrs: any;
|
|
105
|
+
slots: ContextSlots<T>;
|
|
106
|
+
emit: {};
|
|
107
|
+
}>) => vue197.VNode & {
|
|
108
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
109
|
+
};
|
|
110
|
+
Root: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
111
|
+
attrs: any;
|
|
112
|
+
emit: {};
|
|
113
|
+
slots: ContextRootSlots;
|
|
114
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
115
|
+
props: {
|
|
116
|
+
contextKey: string | vue197.InjectionKey<T>;
|
|
117
|
+
value: T;
|
|
118
|
+
} & vue197.PublicProps;
|
|
119
|
+
expose(exposed: vue197.ShallowUnwrapRef<{}>): void;
|
|
120
|
+
attrs: any;
|
|
121
|
+
slots: ContextRootSlots;
|
|
122
|
+
emit: {};
|
|
123
|
+
}>) => vue197.VNode & {
|
|
124
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/Group/GroupItem.vue.d.ts
|
|
129
|
+
interface GroupItemProps {
|
|
130
|
+
id?: string;
|
|
131
|
+
value?: any;
|
|
132
|
+
disabled?: boolean;
|
|
133
|
+
namespace?: string;
|
|
134
|
+
}
|
|
135
|
+
interface GroupItemSlots {
|
|
136
|
+
default: (scope: UnwrapNestedRefs<GroupTicket>) => any;
|
|
137
|
+
}
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/components/Group/GroupRoot.vue.d.ts
|
|
140
|
+
interface GroupRootProps extends GroupOptions {
|
|
141
|
+
namespace?: string;
|
|
142
|
+
}
|
|
143
|
+
interface GroupRootSlots {
|
|
144
|
+
default: (scope: GroupContext & {
|
|
145
|
+
model: ModelRef<any>;
|
|
146
|
+
}) => any;
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/components/Group/index.d.ts
|
|
150
|
+
declare const Group: {
|
|
151
|
+
Item: {
|
|
152
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<GroupItemProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
153
|
+
P: {};
|
|
154
|
+
B: {};
|
|
155
|
+
D: {};
|
|
156
|
+
C: {};
|
|
157
|
+
M: {};
|
|
158
|
+
Defaults: {};
|
|
159
|
+
}, Readonly<GroupItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
160
|
+
__isFragment?: never;
|
|
161
|
+
__isTeleport?: never;
|
|
162
|
+
__isSuspense?: never;
|
|
163
|
+
} & vue197.ComponentOptionsBase<Readonly<GroupItemProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
164
|
+
$slots: GroupItemSlots;
|
|
165
|
+
});
|
|
166
|
+
Root: {
|
|
167
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<GroupRootProps & {
|
|
168
|
+
modelValue?: any;
|
|
169
|
+
}> & Readonly<{
|
|
170
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
171
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
172
|
+
"update:modelValue": (value: any) => any;
|
|
173
|
+
}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
174
|
+
P: {};
|
|
175
|
+
B: {};
|
|
176
|
+
D: {};
|
|
177
|
+
C: {};
|
|
178
|
+
M: {};
|
|
179
|
+
Defaults: {};
|
|
180
|
+
}, Readonly<GroupRootProps & {
|
|
181
|
+
modelValue?: any;
|
|
182
|
+
}> & Readonly<{
|
|
183
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
184
|
+
}>, {}, {}, {}, {}, {}>;
|
|
185
|
+
__isFragment?: never;
|
|
186
|
+
__isTeleport?: never;
|
|
187
|
+
__isSuspense?: never;
|
|
188
|
+
} & vue197.ComponentOptionsBase<Readonly<GroupRootProps & {
|
|
189
|
+
modelValue?: any;
|
|
190
|
+
}> & Readonly<{
|
|
191
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
192
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
193
|
+
"update:modelValue": (value: any) => any;
|
|
194
|
+
}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
195
|
+
$slots: GroupRootSlots;
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region src/components/Hydration/Hydration.vue.d.ts
|
|
200
|
+
interface HydrationSlots {
|
|
201
|
+
default: (scope: HydrationContext) => any;
|
|
202
|
+
}
|
|
203
|
+
declare const _default$1: __VLS_WithSlots$1<vue197.DefineComponent<{}, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, vue197.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue197.ComponentProvideOptions, true, {}, any>, HydrationSlots>;
|
|
204
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
205
|
+
new (): {
|
|
206
|
+
$slots: S;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/components/Hydration/HydrationRoot.vue.d.ts
|
|
211
|
+
interface HydrationRootSlots {
|
|
212
|
+
default: (scope: HydrationContext) => any;
|
|
213
|
+
}
|
|
214
|
+
declare const _default: __VLS_WithSlots<vue197.DefineComponent<{}, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, vue197.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue197.ComponentProvideOptions, true, {}, any>, HydrationRootSlots>;
|
|
215
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
216
|
+
new (): {
|
|
217
|
+
$slots: S;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
//#region src/components/Popover/PopoverRoot.vue.d.ts
|
|
222
|
+
interface PopoverContext {
|
|
223
|
+
isActive: ShallowRef<boolean>;
|
|
224
|
+
id: string;
|
|
225
|
+
toggle: () => void;
|
|
226
|
+
}
|
|
227
|
+
interface PopoverRootProps extends AtomProps {
|
|
228
|
+
id?: string;
|
|
229
|
+
}
|
|
230
|
+
declare const usePopoverContext: (namespace?: string) => PopoverContext, providePopoverContext: (context: PopoverContext, app?: vue197.App) => PopoverContext;
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region src/components/Popover/PopoverAnchor.vue.d.ts
|
|
233
|
+
interface PopoverAnchorProps extends AtomProps {
|
|
234
|
+
target?: string;
|
|
235
|
+
}
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/components/Popover/PopoverContent.vue.d.ts
|
|
238
|
+
interface PopoverContentProps extends AtomProps {
|
|
239
|
+
id?: string;
|
|
240
|
+
positionArea?: string;
|
|
241
|
+
positionTry?: string;
|
|
242
|
+
}
|
|
243
|
+
interface PopoverContentEmits {
|
|
244
|
+
beforetoggle: [e: ToggleEvent];
|
|
245
|
+
}
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/components/Popover/index.d.ts
|
|
248
|
+
declare const Popover: {
|
|
249
|
+
Root: {
|
|
250
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<PopoverRootProps & {
|
|
251
|
+
modelValue?: boolean;
|
|
252
|
+
}> & Readonly<{
|
|
253
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
254
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
255
|
+
"update:modelValue": (value: boolean) => any;
|
|
256
|
+
}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
257
|
+
P: {};
|
|
258
|
+
B: {};
|
|
259
|
+
D: {};
|
|
260
|
+
C: {};
|
|
261
|
+
M: {};
|
|
262
|
+
Defaults: {};
|
|
263
|
+
}, Readonly<PopoverRootProps & {
|
|
264
|
+
modelValue?: boolean;
|
|
265
|
+
}> & Readonly<{
|
|
266
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
267
|
+
}>, {}, {}, {}, {}, {}>;
|
|
268
|
+
__isFragment?: never;
|
|
269
|
+
__isTeleport?: never;
|
|
270
|
+
__isSuspense?: never;
|
|
271
|
+
} & vue197.ComponentOptionsBase<Readonly<PopoverRootProps & {
|
|
272
|
+
modelValue?: boolean;
|
|
273
|
+
}> & Readonly<{
|
|
274
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
275
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
276
|
+
"update:modelValue": (value: boolean) => any;
|
|
277
|
+
}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
278
|
+
$slots: {
|
|
279
|
+
default: (props: {
|
|
280
|
+
id: Readonly<vue197.Ref<string, string>>;
|
|
281
|
+
isActive: vue197.ModelRef<boolean, string, boolean, boolean>;
|
|
282
|
+
toggle: () => void;
|
|
283
|
+
}) => any;
|
|
284
|
+
};
|
|
285
|
+
});
|
|
286
|
+
Anchor: {
|
|
287
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<PopoverAnchorProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
288
|
+
P: {};
|
|
289
|
+
B: {};
|
|
290
|
+
D: {};
|
|
291
|
+
C: {};
|
|
292
|
+
M: {};
|
|
293
|
+
Defaults: {};
|
|
294
|
+
}, Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
295
|
+
__isFragment?: never;
|
|
296
|
+
__isTeleport?: never;
|
|
297
|
+
__isSuspense?: never;
|
|
298
|
+
} & vue197.ComponentOptionsBase<Readonly<PopoverAnchorProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
299
|
+
$slots: {
|
|
300
|
+
default?: (props: {}) => any;
|
|
301
|
+
};
|
|
302
|
+
});
|
|
303
|
+
Content: {
|
|
304
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<PopoverContentProps> & Readonly<{
|
|
305
|
+
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
306
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
307
|
+
beforetoggle: (e: ToggleEvent) => any;
|
|
308
|
+
}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
309
|
+
P: {};
|
|
310
|
+
B: {};
|
|
311
|
+
D: {};
|
|
312
|
+
C: {};
|
|
313
|
+
M: {};
|
|
314
|
+
Defaults: {};
|
|
315
|
+
}, Readonly<PopoverContentProps> & Readonly<{
|
|
316
|
+
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
317
|
+
}>, {}, {}, {}, {}, {}>;
|
|
318
|
+
__isFragment?: never;
|
|
319
|
+
__isTeleport?: never;
|
|
320
|
+
__isSuspense?: never;
|
|
321
|
+
} & vue197.ComponentOptionsBase<Readonly<PopoverContentProps> & Readonly<{
|
|
322
|
+
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
323
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
324
|
+
beforetoggle: (e: ToggleEvent) => any;
|
|
325
|
+
}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
326
|
+
$slots: {
|
|
327
|
+
default?: (props: {}) => any;
|
|
328
|
+
};
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/components/Step/StepItem.vue.d.ts
|
|
333
|
+
interface StepItemProps {
|
|
334
|
+
id?: string;
|
|
335
|
+
value?: any;
|
|
336
|
+
disabled?: boolean;
|
|
337
|
+
namespace?: string;
|
|
338
|
+
}
|
|
339
|
+
interface StepItemSlots {
|
|
340
|
+
default: (scope: UnwrapNestedRefs<GroupTicket>) => any;
|
|
341
|
+
}
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region src/components/Step/StepRoot.vue.d.ts
|
|
344
|
+
interface StepRootProps extends StepOptions {
|
|
345
|
+
namespace?: string;
|
|
346
|
+
}
|
|
347
|
+
interface StepRootSlots {
|
|
348
|
+
default: (scope: StepContext & {
|
|
349
|
+
model: ModelRef<any>;
|
|
350
|
+
}) => any;
|
|
351
|
+
}
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region src/components/Step/index.d.ts
|
|
354
|
+
declare const Step: {
|
|
355
|
+
Item: {
|
|
356
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<StepItemProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
357
|
+
P: {};
|
|
358
|
+
B: {};
|
|
359
|
+
D: {};
|
|
360
|
+
C: {};
|
|
361
|
+
M: {};
|
|
362
|
+
Defaults: {};
|
|
363
|
+
}, Readonly<StepItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
364
|
+
__isFragment?: never;
|
|
365
|
+
__isTeleport?: never;
|
|
366
|
+
__isSuspense?: never;
|
|
367
|
+
} & vue197.ComponentOptionsBase<Readonly<StepItemProps> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
368
|
+
$slots: StepItemSlots;
|
|
369
|
+
});
|
|
370
|
+
Root: {
|
|
371
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<StepRootProps & {
|
|
372
|
+
modelValue?: any;
|
|
373
|
+
}> & Readonly<{
|
|
374
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
375
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
376
|
+
"update:modelValue": (value: any) => any;
|
|
377
|
+
}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
378
|
+
P: {};
|
|
379
|
+
B: {};
|
|
380
|
+
D: {};
|
|
381
|
+
C: {};
|
|
382
|
+
M: {};
|
|
383
|
+
Defaults: {};
|
|
384
|
+
}, Readonly<StepRootProps & {
|
|
385
|
+
modelValue?: any;
|
|
386
|
+
}> & Readonly<{
|
|
387
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
388
|
+
}>, {}, {}, {}, {}, {}>;
|
|
389
|
+
__isFragment?: never;
|
|
390
|
+
__isTeleport?: never;
|
|
391
|
+
__isSuspense?: never;
|
|
392
|
+
} & vue197.ComponentOptionsBase<Readonly<StepRootProps & {
|
|
393
|
+
modelValue?: any;
|
|
394
|
+
}> & Readonly<{
|
|
395
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
396
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
397
|
+
"update:modelValue": (value: any) => any;
|
|
398
|
+
}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
399
|
+
$slots: StepRootSlots;
|
|
400
|
+
});
|
|
401
|
+
};
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region src/components/Theme/ThemeItem.vue.d.ts
|
|
404
|
+
interface ThemeSlots {
|
|
405
|
+
default: (scope: ThemeContext) => any;
|
|
406
|
+
}
|
|
407
|
+
//#endregion
|
|
408
|
+
//#region src/components/Theme/ThemeRoot.vue.d.ts
|
|
409
|
+
interface ThemeRootProps {
|
|
410
|
+
namespace?: string;
|
|
411
|
+
themes?: ThemeItem[];
|
|
412
|
+
}
|
|
413
|
+
interface ThemeRootSlots {
|
|
414
|
+
default: (scope: ThemeContext) => any;
|
|
415
|
+
}
|
|
416
|
+
//#endregion
|
|
417
|
+
//#region src/components/Theme/index.d.ts
|
|
418
|
+
declare const Theme: {
|
|
419
|
+
Item: {
|
|
420
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, vue197.PublicProps, {}, true, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
421
|
+
P: {};
|
|
422
|
+
B: {};
|
|
423
|
+
D: {};
|
|
424
|
+
C: {};
|
|
425
|
+
M: {};
|
|
426
|
+
Defaults: {};
|
|
427
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
428
|
+
__isFragment?: never;
|
|
429
|
+
__isTeleport?: never;
|
|
430
|
+
__isSuspense?: never;
|
|
431
|
+
} & vue197.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
432
|
+
$slots: ThemeSlots;
|
|
433
|
+
});
|
|
434
|
+
Root: {
|
|
435
|
+
new (...args: any[]): vue197.CreateComponentPublicInstanceWithMixins<Readonly<ThemeRootProps & {
|
|
436
|
+
modelValue?: ID;
|
|
437
|
+
}> & Readonly<{
|
|
438
|
+
"onUpdate:modelValue"?: ((value: ID) => any) | undefined;
|
|
439
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
440
|
+
"update:modelValue": (value: ID) => any;
|
|
441
|
+
}, vue197.PublicProps, {}, false, {}, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, {}, any, vue197.ComponentProvideOptions, {
|
|
442
|
+
P: {};
|
|
443
|
+
B: {};
|
|
444
|
+
D: {};
|
|
445
|
+
C: {};
|
|
446
|
+
M: {};
|
|
447
|
+
Defaults: {};
|
|
448
|
+
}, Readonly<ThemeRootProps & {
|
|
449
|
+
modelValue?: ID;
|
|
450
|
+
}> & Readonly<{
|
|
451
|
+
"onUpdate:modelValue"?: ((value: ID) => any) | undefined;
|
|
452
|
+
}>, {}, {}, {}, {}, {}>;
|
|
453
|
+
__isFragment?: never;
|
|
454
|
+
__isTeleport?: never;
|
|
455
|
+
__isSuspense?: never;
|
|
456
|
+
} & vue197.ComponentOptionsBase<Readonly<ThemeRootProps & {
|
|
457
|
+
modelValue?: ID;
|
|
458
|
+
}> & Readonly<{
|
|
459
|
+
"onUpdate:modelValue"?: ((value: ID) => any) | undefined;
|
|
460
|
+
}>, void, {}, {}, {}, vue197.ComponentOptionsMixin, vue197.ComponentOptionsMixin, {
|
|
461
|
+
"update:modelValue": (value: ID) => any;
|
|
462
|
+
}, string, {}, {}, string, {}, vue197.GlobalComponents, vue197.GlobalDirectives, string, vue197.ComponentProvideOptions> & vue197.VNodeProps & vue197.AllowedComponentProps & vue197.ComponentCustomProps & (new () => {
|
|
463
|
+
$slots: ThemeRootSlots;
|
|
464
|
+
});
|
|
465
|
+
};
|
|
466
|
+
//#endregion
|
|
467
|
+
export { AtomExpose, AtomProps, AtomSlots, Breakpoints, Context, Group, type GroupItemProps, type GroupItemSlots, type GroupRootProps, type GroupRootSlots, Popover, type PopoverAnchorProps, type PopoverContentEmits, type PopoverContentProps, type PopoverContext, type PopoverRootProps, Step, type StepItemProps, type StepItemSlots, type StepRootProps, type StepRootSlots, Theme, type ThemeRootProps, type ThemeRootSlots, type ThemeSlots, _default, _default$1, _default$2, providePopoverContext, usePopoverContext };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { App, InjectionKey } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/factories/createContext/index.d.ts
|
|
4
|
+
type ContextKey<Z> = InjectionKey<Z> | string;
|
|
5
|
+
/**
|
|
6
|
+
* A simple wrapper for tapping into a v0 namespace
|
|
7
|
+
* @param key The provided string or InjectionKey
|
|
8
|
+
* @template Z The type values for the context.
|
|
9
|
+
* @returns A function that retrieves context
|
|
10
|
+
* @throws Error if namespace is not found.
|
|
11
|
+
*
|
|
12
|
+
* @see https://vuejs.org/api/composition-api-dependency-injection.html#inject
|
|
13
|
+
*/
|
|
14
|
+
declare function useContext<Z>(key: ContextKey<Z>): (namespace?: string) => Z;
|
|
15
|
+
/**
|
|
16
|
+
* A simple wrapper for Vues provide & inject systems
|
|
17
|
+
* to create context for managing application state
|
|
18
|
+
* @param key The provided string or InjectionKey
|
|
19
|
+
* @template Z The type values for the context.
|
|
20
|
+
* @returns A tuple containing provide/inject
|
|
21
|
+
*
|
|
22
|
+
* @see https://vuejs.org/api/composition-api-dependency-injection.html#provide
|
|
23
|
+
* @see https://0.vuetifyjs.com/composables/foundation/create-context
|
|
24
|
+
*/
|
|
25
|
+
declare function createContext<Z>(key: ContextKey<Z>): readonly [(namespace?: string) => Z, (context: Z, app?: App) => Z];
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/factories/createPlugin/index.d.ts
|
|
28
|
+
interface PluginOptions {
|
|
29
|
+
namespace: string;
|
|
30
|
+
provide: (app: App) => void;
|
|
31
|
+
setup?: (app: App) => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A universal plugin factory to reduce boilerplate code for Vue plugin creation
|
|
35
|
+
* @param options Configurable object with namespace and provide/setup methods
|
|
36
|
+
* @returns A Vue plugin object with install method that runs app w/ context
|
|
37
|
+
*
|
|
38
|
+
* @see https://vuejs.org/api/application.html#app-runwithcontext
|
|
39
|
+
* @see https://0.vuetifyjs.com/factories/create-plugin
|
|
40
|
+
*/
|
|
41
|
+
declare function createPlugin<Z>(options: PluginOptions): Z;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { ContextKey, PluginOptions, createContext, createPlugin, useContext };
|