@vuetify/v0 0.0.2 → 0.0.3
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/README.md +12 -13
- package/dist/browser/index.js +884 -808
- package/dist/components/index.d.ts +4 -4
- package/dist/components/index.js +5 -6
- package/dist/{components-Cc48kKWf.js → components-DVuB4lnH.js} +14 -187
- package/dist/composables/index.d.ts +4 -4
- package/dist/composables/index.js +6 -6
- package/dist/{composables-7Cbs2sdO.js → composables-yeVk-ULz.js} +368 -101
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/factories/index.d.ts +2 -2
- package/dist/factories/index.js +2 -2
- package/dist/{factories-CPq2yMlr.js → factories-BEpawPUw.js} +32 -15
- package/dist/{globals--2b7sF4-.js → globals-DZvNEOB4.js} +1 -1
- package/dist/{index-BqrLvboW.d.ts → index-Ckt12ON6.d.ts} +38 -24
- package/dist/{index-BnsMFYhs.d.ts → index-D0L_ydyW.d.ts} +364 -375
- package/dist/{index-z_zwVNP8.d.ts → index-DVKeyWc5.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/transformers/index.js +1 -1
- package/dist/{transformers-BAeg3QJF.js → transformers-CWrxLIkw.js} +1 -1
- package/dist/{useTheme-DSYiiz0R.js → useTheme-DCXkw_kv.js} +153 -189
- package/package.json +12 -38
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DOMElement, ID, MaybeArray } from "./index-LBy5OPMu.js";
|
|
2
|
-
import { ContextTrinity, Plugin } from "./index-
|
|
3
|
-
import * as
|
|
4
|
-
import { App, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter,
|
|
2
|
+
import { ContextKey, ContextTrinity, Plugin } from "./index-Ckt12ON6.js";
|
|
3
|
+
import * as vue124 from "vue";
|
|
4
|
+
import { App, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowRef, TemplateRef } from "vue";
|
|
5
5
|
import { AnyARecord } from "node:dns";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Atom/Atom.vue.d.ts
|
|
@@ -17,12 +17,12 @@ interface AtomExpose {
|
|
|
17
17
|
}
|
|
18
18
|
interface AtomPrivateProps extends AtomProps {}
|
|
19
19
|
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<{
|
|
20
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} &
|
|
21
|
-
expose(exposed:
|
|
20
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps, never>, never> & AtomPrivateProps & {}> & vue124.PublicProps;
|
|
21
|
+
expose(exposed: vue124.ShallowUnwrapRef<AtomExpose>): void;
|
|
22
22
|
attrs: any;
|
|
23
23
|
slots: AtomSlots<T>;
|
|
24
24
|
emit: {};
|
|
25
|
-
}>) =>
|
|
25
|
+
}>) => vue124.VNode & {
|
|
26
26
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
27
|
};
|
|
28
28
|
type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
@@ -31,33 +31,33 @@ type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
|
|
|
31
31
|
type BreakpointName = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
32
32
|
interface BreakpointsContext {
|
|
33
33
|
breakpoints: Readonly<Record<BreakpointName, number>>;
|
|
34
|
-
name: BreakpointName
|
|
35
|
-
width: number
|
|
36
|
-
height: number
|
|
37
|
-
isMobile: boolean
|
|
38
|
-
xs: boolean
|
|
39
|
-
sm: boolean
|
|
40
|
-
md: boolean
|
|
41
|
-
lg: boolean
|
|
42
|
-
xl: boolean
|
|
43
|
-
xxl: boolean
|
|
44
|
-
smAndUp: boolean
|
|
45
|
-
mdAndUp: boolean
|
|
46
|
-
lgAndUp: boolean
|
|
47
|
-
xlAndUp: boolean
|
|
48
|
-
xxlAndUp: boolean
|
|
49
|
-
smAndDown: boolean
|
|
50
|
-
mdAndDown: boolean
|
|
51
|
-
lgAndDown: boolean
|
|
52
|
-
xlAndDown: boolean
|
|
53
|
-
xxlAndDown: boolean
|
|
34
|
+
name: Readonly<Ref<BreakpointName>>;
|
|
35
|
+
width: Readonly<Ref<number>>;
|
|
36
|
+
height: Readonly<Ref<number>>;
|
|
37
|
+
isMobile: Readonly<Ref<boolean>>;
|
|
38
|
+
xs: Readonly<Ref<boolean>>;
|
|
39
|
+
sm: Readonly<Ref<boolean>>;
|
|
40
|
+
md: Readonly<Ref<boolean>>;
|
|
41
|
+
lg: Readonly<Ref<boolean>>;
|
|
42
|
+
xl: Readonly<Ref<boolean>>;
|
|
43
|
+
xxl: Readonly<Ref<boolean>>;
|
|
44
|
+
smAndUp: Readonly<Ref<boolean>>;
|
|
45
|
+
mdAndUp: Readonly<Ref<boolean>>;
|
|
46
|
+
lgAndUp: Readonly<Ref<boolean>>;
|
|
47
|
+
xlAndUp: Readonly<Ref<boolean>>;
|
|
48
|
+
xxlAndUp: Readonly<Ref<boolean>>;
|
|
49
|
+
smAndDown: Readonly<Ref<boolean>>;
|
|
50
|
+
mdAndDown: Readonly<Ref<boolean>>;
|
|
51
|
+
lgAndDown: Readonly<Ref<boolean>>;
|
|
52
|
+
xlAndDown: Readonly<Ref<boolean>>;
|
|
53
|
+
xxlAndDown: Readonly<Ref<boolean>>;
|
|
54
54
|
update: () => void;
|
|
55
55
|
}
|
|
56
56
|
interface BreakpointsOptions {
|
|
57
57
|
mobileBreakpoint?: BreakpointName | number;
|
|
58
58
|
breakpoints?: Partial<Record<BreakpointName, number>>;
|
|
59
59
|
}
|
|
60
|
-
declare const useBreakpointsContext: (
|
|
60
|
+
declare const useBreakpointsContext: (key?: ContextKey<BreakpointsContext>) => BreakpointsContext, provideBreakpointsContext: (context: BreakpointsContext, app?: App) => BreakpointsContext;
|
|
61
61
|
/**
|
|
62
62
|
* Simple hook to access the breakpoints context.
|
|
63
63
|
*
|
|
@@ -72,7 +72,7 @@ declare function useBreakpoints(): BreakpointsContext;
|
|
|
72
72
|
* @param options Optional configuration for breakpoint thresholds and mobile breakpoint.
|
|
73
73
|
* @returns A breakpoints context object with reactive state and utility methods.
|
|
74
74
|
*/
|
|
75
|
-
declare function createBreakpoints(options?: BreakpointsOptions):
|
|
75
|
+
declare function createBreakpoints(options?: BreakpointsOptions): {
|
|
76
76
|
breakpoints: {
|
|
77
77
|
readonly xs: 0;
|
|
78
78
|
readonly sm: 600;
|
|
@@ -81,28 +81,28 @@ declare function createBreakpoints(options?: BreakpointsOptions): vue189.Shallow
|
|
|
81
81
|
readonly xl: 1920;
|
|
82
82
|
readonly xxl: 2560;
|
|
83
83
|
};
|
|
84
|
-
name: BreakpointName
|
|
85
|
-
width: number
|
|
86
|
-
height: number
|
|
87
|
-
isMobile: boolean
|
|
88
|
-
xs: boolean
|
|
89
|
-
sm: boolean
|
|
90
|
-
md: boolean
|
|
91
|
-
lg: boolean
|
|
92
|
-
xl: boolean
|
|
93
|
-
xxl: boolean
|
|
94
|
-
smAndUp: boolean
|
|
95
|
-
mdAndUp: boolean
|
|
96
|
-
lgAndUp: boolean
|
|
97
|
-
xlAndUp: boolean
|
|
98
|
-
xxlAndUp: boolean
|
|
99
|
-
smAndDown: boolean
|
|
100
|
-
mdAndDown: boolean
|
|
101
|
-
lgAndDown: boolean
|
|
102
|
-
xlAndDown: boolean
|
|
103
|
-
xxlAndDown: boolean
|
|
84
|
+
name: Readonly<Ref<BreakpointName, BreakpointName>>;
|
|
85
|
+
width: Readonly<Ref<number, number>>;
|
|
86
|
+
height: Readonly<Ref<number, number>>;
|
|
87
|
+
isMobile: Readonly<Ref<boolean, boolean>>;
|
|
88
|
+
xs: Readonly<Ref<boolean, boolean>>;
|
|
89
|
+
sm: Readonly<Ref<boolean, boolean>>;
|
|
90
|
+
md: Readonly<Ref<boolean, boolean>>;
|
|
91
|
+
lg: Readonly<Ref<boolean, boolean>>;
|
|
92
|
+
xl: Readonly<Ref<boolean, boolean>>;
|
|
93
|
+
xxl: Readonly<Ref<boolean, boolean>>;
|
|
94
|
+
smAndUp: Readonly<Ref<boolean, boolean>>;
|
|
95
|
+
mdAndUp: Readonly<Ref<boolean, boolean>>;
|
|
96
|
+
lgAndUp: Readonly<Ref<boolean, boolean>>;
|
|
97
|
+
xlAndUp: Readonly<Ref<boolean, boolean>>;
|
|
98
|
+
xxlAndUp: Readonly<Ref<boolean, boolean>>;
|
|
99
|
+
smAndDown: Readonly<Ref<boolean, boolean>>;
|
|
100
|
+
mdAndDown: Readonly<Ref<boolean, boolean>>;
|
|
101
|
+
lgAndDown: Readonly<Ref<boolean, boolean>>;
|
|
102
|
+
xlAndDown: Readonly<Ref<boolean, boolean>>;
|
|
103
|
+
xxlAndDown: Readonly<Ref<boolean, boolean>>;
|
|
104
104
|
update: () => void;
|
|
105
|
-
}
|
|
105
|
+
};
|
|
106
106
|
/**
|
|
107
107
|
* Creates a Vue plugin for managing responsive breakpoints with automatic updates.
|
|
108
108
|
* This plugin sets up breakpoint tracking and updates the context when the window
|
|
@@ -133,7 +133,7 @@ interface BreakpointsRootSlots {
|
|
|
133
133
|
//#region src/components/Breakpoints/index.d.ts
|
|
134
134
|
declare const Breakpoints: {
|
|
135
135
|
Item: {
|
|
136
|
-
new (...args: any[]):
|
|
136
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, vue124.PublicProps, {}, true, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
137
137
|
P: {};
|
|
138
138
|
B: {};
|
|
139
139
|
D: {};
|
|
@@ -144,11 +144,11 @@ declare const Breakpoints: {
|
|
|
144
144
|
__isFragment?: never;
|
|
145
145
|
__isTeleport?: never;
|
|
146
146
|
__isSuspense?: never;
|
|
147
|
-
} &
|
|
147
|
+
} & vue124.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
148
148
|
$slots: BreakpointsSlots;
|
|
149
149
|
});
|
|
150
150
|
Root: {
|
|
151
|
-
new (...args: any[]):
|
|
151
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<BreakpointsRootProps> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, vue124.PublicProps, {}, false, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
152
152
|
P: {};
|
|
153
153
|
B: {};
|
|
154
154
|
D: {};
|
|
@@ -159,7 +159,7 @@ declare const Breakpoints: {
|
|
|
159
159
|
__isFragment?: never;
|
|
160
160
|
__isTeleport?: never;
|
|
161
161
|
__isSuspense?: never;
|
|
162
|
-
} &
|
|
162
|
+
} & vue124.ComponentOptionsBase<Readonly<BreakpointsRootProps> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
163
163
|
$slots: BreakpointsRootSlots;
|
|
164
164
|
});
|
|
165
165
|
};
|
|
@@ -184,14 +184,14 @@ declare const Context: {
|
|
|
184
184
|
slots: ContextSlots<T>;
|
|
185
185
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
186
186
|
props: {
|
|
187
|
-
contextKey?: string |
|
|
187
|
+
contextKey?: string | vue124.InjectionKey<T> | undefined;
|
|
188
188
|
value?: T | undefined;
|
|
189
|
-
} &
|
|
190
|
-
expose(exposed:
|
|
189
|
+
} & vue124.PublicProps;
|
|
190
|
+
expose(exposed: vue124.ShallowUnwrapRef<{}>): void;
|
|
191
191
|
attrs: any;
|
|
192
192
|
slots: ContextSlots<T>;
|
|
193
193
|
emit: {};
|
|
194
|
-
}>) =>
|
|
194
|
+
}>) => vue124.VNode & {
|
|
195
195
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
196
196
|
};
|
|
197
197
|
Root: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
@@ -200,18 +200,92 @@ declare const Context: {
|
|
|
200
200
|
slots: ContextRootSlots;
|
|
201
201
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
202
202
|
props: {
|
|
203
|
-
contextKey: string |
|
|
203
|
+
contextKey: string | vue124.InjectionKey<T>;
|
|
204
204
|
value: T;
|
|
205
|
-
} &
|
|
206
|
-
expose(exposed:
|
|
205
|
+
} & vue124.PublicProps;
|
|
206
|
+
expose(exposed: vue124.ShallowUnwrapRef<{}>): void;
|
|
207
207
|
attrs: any;
|
|
208
208
|
slots: ContextRootSlots;
|
|
209
209
|
emit: {};
|
|
210
|
-
}>) =>
|
|
210
|
+
}>) => vue124.VNode & {
|
|
211
211
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
214
|
//#endregion
|
|
215
|
+
//#region src/composables/useEventListener/index.d.ts
|
|
216
|
+
type CleanupFunction = () => void;
|
|
217
|
+
type EventHandler<E = Event> = (event: E) => void;
|
|
218
|
+
/**
|
|
219
|
+
* Attaches event listeners to the window object with automatic cleanup.
|
|
220
|
+
* This overload provides type-safe event handling for window-specific events
|
|
221
|
+
* with proper event map typing and automatic listener removal on scope disposal.
|
|
222
|
+
*
|
|
223
|
+
* @param target Window object to attach listeners to.
|
|
224
|
+
* @param event Event name(s) to listen for from WindowEventMap.
|
|
225
|
+
* @param listener Event handler function(s) with proper window event typing.
|
|
226
|
+
* @param options Optional event listener configuration.
|
|
227
|
+
* @returns Function to manually remove all attached listeners.
|
|
228
|
+
*/
|
|
229
|
+
declare function useEventListener<E extends keyof WindowEventMap>(target: Window, event: MaybeRefOrGetter<MaybeArray<E>>, listener: MaybeRef<MaybeArray<(this: Window, event: WindowEventMap[E]) => any>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
230
|
+
/**
|
|
231
|
+
* Attaches event listeners to the document object with automatic cleanup.
|
|
232
|
+
* This overload provides type-safe event handling for document-specific events
|
|
233
|
+
* with proper event map typing and automatic listener removal on scope disposal.
|
|
234
|
+
*
|
|
235
|
+
* @param target Document object to attach listeners to.
|
|
236
|
+
* @param event Event name(s) to listen for from DocumentEventMap.
|
|
237
|
+
* @param listener Event handler function(s) with proper document event typing.
|
|
238
|
+
* @param options Optional event listener configuration.
|
|
239
|
+
* @returns Function to manually remove all attached listeners.
|
|
240
|
+
*/
|
|
241
|
+
declare function useEventListener<E extends keyof DocumentEventMap>(target: Document, event: MaybeRefOrGetter<MaybeArray<E>>, listener: MaybeRef<MaybeArray<(this: Document, event: DocumentEventMap[E]) => any>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
242
|
+
/**
|
|
243
|
+
* Attaches event listeners to HTML elements with automatic cleanup.
|
|
244
|
+
* This overload provides type-safe event handling for HTML element events
|
|
245
|
+
* with reactive target support and automatic listener removal on scope disposal.
|
|
246
|
+
*
|
|
247
|
+
* @param target HTML element or reactive reference to element.
|
|
248
|
+
* @param event Event name(s) to listen for from HTMLElementEventMap.
|
|
249
|
+
* @param listener Event handler function(s) with proper HTML element event typing.
|
|
250
|
+
* @param options Optional event listener configuration.
|
|
251
|
+
* @returns Function to manually remove all attached listeners.
|
|
252
|
+
*/
|
|
253
|
+
declare function useEventListener<E extends keyof HTMLElementEventMap>(target: MaybeRefOrGetter<HTMLElement | null | undefined>, event: MaybeRefOrGetter<MaybeArray<E>>, listener: MaybeRef<MaybeArray<(this: HTMLElement, event: HTMLElementEventMap[E]) => any>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
254
|
+
/**
|
|
255
|
+
* Attaches event listeners to any EventTarget with automatic cleanup.
|
|
256
|
+
* This overload provides flexible event handling for any EventTarget implementation
|
|
257
|
+
* with reactive target support and automatic listener removal on scope disposal.
|
|
258
|
+
*
|
|
259
|
+
* @param target EventTarget or reactive reference to target.
|
|
260
|
+
* @param event Event name(s) to listen for as string identifiers.
|
|
261
|
+
* @param listener Event handler function(s) with customizable event typing.
|
|
262
|
+
* @param options Optional event listener configuration.
|
|
263
|
+
* @returns Function to manually remove all attached listeners.
|
|
264
|
+
*/
|
|
265
|
+
declare function useEventListener<EventType = Event>(target: MaybeRefOrGetter<EventTarget | null | undefined>, event: MaybeRefOrGetter<MaybeArray<string>>, listener: MaybeRef<MaybeArray<EventHandler<EventType>>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
266
|
+
/**
|
|
267
|
+
* Convenience function for attaching event listeners to the window object.
|
|
268
|
+
* This function provides a simplified API by pre-binding the window target,
|
|
269
|
+
* making it easier to handle window-specific events with automatic cleanup.
|
|
270
|
+
*
|
|
271
|
+
* @param event Event name(s) to listen for from WindowEventMap.
|
|
272
|
+
* @param listener Event handler function(s) with proper window event typing.
|
|
273
|
+
* @param options Optional event listener configuration.
|
|
274
|
+
* @returns Function to manually remove all attached listeners.
|
|
275
|
+
*/
|
|
276
|
+
declare function useWindowEventListener<E extends keyof WindowEventMap>(event: MaybeRefOrGetter<MaybeArray<E>>, listener: MaybeRef<MaybeArray<(this: Window, event: WindowEventMap[E]) => any>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
277
|
+
/**
|
|
278
|
+
* Convenience function for attaching event listeners to the document object.
|
|
279
|
+
* This function provides a simplified API by pre-binding the document target,
|
|
280
|
+
* making it easier to handle document-specific events with automatic cleanup.
|
|
281
|
+
*
|
|
282
|
+
* @param event Event name(s) to listen for from DocumentEventMap.
|
|
283
|
+
* @param listener Event handler function(s) with proper document event typing.
|
|
284
|
+
* @param options Optional event listener configuration.
|
|
285
|
+
* @returns Function to manually remove all attached listeners.
|
|
286
|
+
*/
|
|
287
|
+
declare function useDocumentEventListener<E extends keyof DocumentEventMap>(event: MaybeRefOrGetter<MaybeArray<E>>, listener: MaybeRef<MaybeArray<(this: Document, event: DocumentEventMap[E]) => any>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
288
|
+
//#endregion
|
|
215
289
|
//#region src/composables/useRegistry/index.d.ts
|
|
216
290
|
interface RegistryTicket {
|
|
217
291
|
/** The unique identifier. Is randomly generated if not provided. */
|
|
@@ -276,6 +350,8 @@ interface RegistryOptions {
|
|
|
276
350
|
* @template Z The type of items managed by the registry.
|
|
277
351
|
* @template E The type of the registry context.
|
|
278
352
|
* @returns The registry context object.
|
|
353
|
+
*
|
|
354
|
+
* @see https://0.vuetifyjs.com/composables/registration/use-registry
|
|
279
355
|
*/
|
|
280
356
|
declare function useRegistry<Z extends RegistryTicket = RegistryTicket, E extends RegistryContext<Z> = RegistryContext<Z>>(options?: RegistryOptions): E;
|
|
281
357
|
/**
|
|
@@ -293,7 +369,7 @@ declare function createRegistryContext<Z extends RegistryTicket = RegistryTicket
|
|
|
293
369
|
//#region src/composables/useSelection/index.d.ts
|
|
294
370
|
interface SelectionTicket extends RegistryTicket {
|
|
295
371
|
disabled: boolean;
|
|
296
|
-
|
|
372
|
+
isSelected: Readonly<Ref<boolean, boolean>>;
|
|
297
373
|
/** Select self */
|
|
298
374
|
select: () => void;
|
|
299
375
|
/** Unselect self */
|
|
@@ -313,6 +389,8 @@ interface SelectionContext<Z extends SelectionTicket> extends RegistryContext<Z>
|
|
|
313
389
|
unselect: (id: ID) => void;
|
|
314
390
|
/** Toggles a ticket ON and OFF by ID */
|
|
315
391
|
toggle: (id: ID) => void;
|
|
392
|
+
/** Check if a ticket is selected by ID */
|
|
393
|
+
selected: (id: ID) => boolean;
|
|
316
394
|
/** Mandates selected ID based on "mandatory" Option */
|
|
317
395
|
mandate: () => void;
|
|
318
396
|
}
|
|
@@ -331,6 +409,17 @@ interface SelectionOptions extends RegistryOptions {
|
|
|
331
409
|
* @returns The selection context object.
|
|
332
410
|
*/
|
|
333
411
|
declare function useSelection<Z extends SelectionTicket = SelectionTicket, E extends SelectionContext<Z> = SelectionContext<Z>>(options?: SelectionOptions): E;
|
|
412
|
+
/**
|
|
413
|
+
* Creates a selection registry context with full injection/provision control.
|
|
414
|
+
* Returns the complete trinity for advanced usage scenarios.
|
|
415
|
+
*
|
|
416
|
+
* @param namespace The namespace for the selection registry context
|
|
417
|
+
* @param options Optional configuration for selection behavior.
|
|
418
|
+
* @template Z The structure of the registry selection items.
|
|
419
|
+
* @template E The available methods for the selection's context.
|
|
420
|
+
* @returns A tuple containing the inject function, provide function, and the selection context.
|
|
421
|
+
*/
|
|
422
|
+
declare function createSelectionContext<Z extends SelectionTicket = SelectionTicket, E extends SelectionContext<Z> = SelectionContext<Z>>(namespace: string, options?: SelectionOptions): ContextTrinity<E>;
|
|
334
423
|
//#endregion
|
|
335
424
|
//#region src/composables/useGroup/index.d.ts
|
|
336
425
|
interface GroupTicket extends SelectionTicket {}
|
|
@@ -354,151 +443,111 @@ interface GroupOptions extends SelectionOptions {}
|
|
|
354
443
|
* @returns The group selection context object.
|
|
355
444
|
*/
|
|
356
445
|
declare function useGroup<Z extends GroupTicket = GroupTicket, E extends GroupContext<Z> = GroupContext<Z>>(options?: GroupOptions): E;
|
|
446
|
+
/**
|
|
447
|
+
* Creates a group selection registry context with full injection/provision control.
|
|
448
|
+
* Returns the complete trinity for advanced usage scenarios.
|
|
449
|
+
*
|
|
450
|
+
* @param namespace The namespace for the group selection registry context
|
|
451
|
+
* @param options Optional configuration for group selection behavior.
|
|
452
|
+
* @template Z The structure of the registry group selection items.
|
|
453
|
+
* @template E The available methods for the group's context.
|
|
454
|
+
* @returns A tuple containing the inject function, provide function, and the group selection context.
|
|
455
|
+
*/
|
|
456
|
+
declare function createGroupContext<Z extends GroupTicket = GroupTicket, E extends GroupContext<Z> = GroupContext<Z>>(namespace: string, options?: GroupOptions): ContextTrinity<E>;
|
|
357
457
|
//#endregion
|
|
358
|
-
//#region src/
|
|
359
|
-
interface
|
|
360
|
-
|
|
361
|
-
value
|
|
362
|
-
|
|
363
|
-
|
|
458
|
+
//#region src/composables/useTokens/index.d.ts
|
|
459
|
+
interface TokenAlias<T = unknown> {
|
|
460
|
+
[key: string]: unknown;
|
|
461
|
+
$value: T;
|
|
462
|
+
$type?: string;
|
|
463
|
+
$description?: string;
|
|
464
|
+
$extensions?: Record<string, unknown>;
|
|
465
|
+
$deprecated?: boolean | string;
|
|
364
466
|
}
|
|
365
|
-
|
|
366
|
-
|
|
467
|
+
type TokenPrimitive = string | number | boolean;
|
|
468
|
+
type TokenValue = TokenPrimitive | TokenAlias;
|
|
469
|
+
interface TokenCollection {
|
|
470
|
+
[key: string]: TokenValue | TokenCollection;
|
|
367
471
|
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
472
|
+
type FlatTokenCollection = {
|
|
473
|
+
id: string;
|
|
474
|
+
value: TokenValue;
|
|
475
|
+
};
|
|
476
|
+
interface TokenTicket extends RegistryTicket {}
|
|
477
|
+
interface TokenContext<Z extends TokenTicket> extends RegistryContext<Z> {
|
|
478
|
+
isAlias: (token: unknown) => token is string;
|
|
479
|
+
resolve: (token: string | TokenAlias) => unknown | undefined;
|
|
372
480
|
}
|
|
373
|
-
interface
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
}) => any;
|
|
481
|
+
interface TokenOptions {
|
|
482
|
+
flat?: boolean;
|
|
483
|
+
prefix?: string;
|
|
377
484
|
}
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/components/Group/index.d.ts
|
|
380
|
-
declare const Group: {
|
|
381
|
-
Item: {
|
|
382
|
-
new (...args: any[]): vue189.CreateComponentPublicInstanceWithMixins<Readonly<GroupItemProps> & Readonly<{}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {}, vue189.PublicProps, {}, false, {}, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, {}, any, vue189.ComponentProvideOptions, {
|
|
383
|
-
P: {};
|
|
384
|
-
B: {};
|
|
385
|
-
D: {};
|
|
386
|
-
C: {};
|
|
387
|
-
M: {};
|
|
388
|
-
Defaults: {};
|
|
389
|
-
}, Readonly<GroupItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
390
|
-
__isFragment?: never;
|
|
391
|
-
__isTeleport?: never;
|
|
392
|
-
__isSuspense?: never;
|
|
393
|
-
} & vue189.ComponentOptionsBase<Readonly<GroupItemProps> & Readonly<{}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, vue189.ComponentProvideOptions> & vue189.VNodeProps & vue189.AllowedComponentProps & vue189.ComponentCustomProps & (new () => {
|
|
394
|
-
$slots: GroupItemSlots;
|
|
395
|
-
});
|
|
396
|
-
Root: {
|
|
397
|
-
new (...args: any[]): vue189.CreateComponentPublicInstanceWithMixins<Readonly<GroupRootProps & {
|
|
398
|
-
modelValue?: any;
|
|
399
|
-
}> & Readonly<{
|
|
400
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
401
|
-
}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
402
|
-
"update:modelValue": (value: any) => any;
|
|
403
|
-
}, vue189.PublicProps, {}, false, {}, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, {}, any, vue189.ComponentProvideOptions, {
|
|
404
|
-
P: {};
|
|
405
|
-
B: {};
|
|
406
|
-
D: {};
|
|
407
|
-
C: {};
|
|
408
|
-
M: {};
|
|
409
|
-
Defaults: {};
|
|
410
|
-
}, Readonly<GroupRootProps & {
|
|
411
|
-
modelValue?: any;
|
|
412
|
-
}> & Readonly<{
|
|
413
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
414
|
-
}>, {}, {}, {}, {}, {}>;
|
|
415
|
-
__isFragment?: never;
|
|
416
|
-
__isTeleport?: never;
|
|
417
|
-
__isSuspense?: never;
|
|
418
|
-
} & vue189.ComponentOptionsBase<Readonly<GroupRootProps & {
|
|
419
|
-
modelValue?: any;
|
|
420
|
-
}> & Readonly<{
|
|
421
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
422
|
-
}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
423
|
-
"update:modelValue": (value: any) => any;
|
|
424
|
-
}, string, {}, {}, string, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, vue189.ComponentProvideOptions> & vue189.VNodeProps & vue189.AllowedComponentProps & vue189.ComponentCustomProps & (new () => {
|
|
425
|
-
$slots: GroupRootSlots;
|
|
426
|
-
});
|
|
427
|
-
};
|
|
428
|
-
//#endregion
|
|
429
|
-
//#region src/composables/useEventListener/index.d.ts
|
|
430
|
-
type CleanupFunction = () => void;
|
|
431
|
-
type EventHandler<E = Event> = (event: E) => void;
|
|
432
485
|
/**
|
|
433
|
-
*
|
|
434
|
-
*
|
|
435
|
-
* with proper event map typing and automatic listener removal on scope disposal.
|
|
486
|
+
* Creates a token registry for managing design token collections with alias resolution.
|
|
487
|
+
* Returns the token context directly for simple usage.
|
|
436
488
|
*
|
|
437
|
-
* @param
|
|
438
|
-
* @
|
|
439
|
-
* @
|
|
440
|
-
* @
|
|
441
|
-
* @returns Function to manually remove all attached listeners.
|
|
442
|
-
*/
|
|
443
|
-
declare function useEventListener<E extends keyof WindowEventMap>(target: Window, event: MaybeRefOrGetter<MaybeArray<E>>, listener: MaybeRef<MaybeArray<(this: Window, event: WindowEventMap[E]) => any>>, options?: MaybeRefOrGetter<boolean | AddEventListenerOptions>): CleanupFunction;
|
|
444
|
-
/**
|
|
445
|
-
* Attaches event listeners to the document object with automatic cleanup.
|
|
446
|
-
* This overload provides type-safe event handling for document-specific events
|
|
447
|
-
* with proper event map typing and automatic listener removal on scope disposal.
|
|
489
|
+
* @param tokens A collection of tokens to initialize with
|
|
490
|
+
* @template Z The structure of the registry token items.
|
|
491
|
+
* @template E The available methods for the token's context.
|
|
492
|
+
* @returns The token context object.
|
|
448
493
|
*
|
|
449
|
-
* @
|
|
450
|
-
* @
|
|
451
|
-
* @param listener Event handler function(s) with proper document event typing.
|
|
452
|
-
* @param options Optional event listener configuration.
|
|
453
|
-
* @returns Function to manually remove all attached listeners.
|
|
494
|
+
* @see https://0.vuetifyjs.com/composables/registration/use-tokens
|
|
495
|
+
* @see https://www.designtokens.org/tr/drafts/format/
|
|
454
496
|
*/
|
|
455
|
-
declare function
|
|
497
|
+
declare function useTokens<Z extends TokenTicket = TokenTicket, E extends TokenContext<Z> = TokenContext<Z>>(tokens?: TokenCollection, options?: TokenOptions): E;
|
|
456
498
|
/**
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
* with reactive target support and automatic listener removal on scope disposal.
|
|
499
|
+
* Creates a token registry context with full injection/provision control.
|
|
500
|
+
* Returns the complete trinity for advanced usage scenarios.
|
|
460
501
|
*
|
|
461
|
-
* @param
|
|
462
|
-
* @param
|
|
463
|
-
* @
|
|
464
|
-
* @
|
|
465
|
-
* @returns
|
|
502
|
+
* @param namespace The namespace for the token registry context
|
|
503
|
+
* @param tokens An optional collection of tokens to initialize
|
|
504
|
+
* @template Z The structure of the registry token items.
|
|
505
|
+
* @template E The available methods for the token's context.
|
|
506
|
+
* @returns A tuple containing the inject function, provide function, and the token context.
|
|
466
507
|
*/
|
|
467
|
-
declare function
|
|
508
|
+
declare function createTokensContext<Z extends TokenTicket = TokenTicket, E extends TokenContext<Z> = TokenContext<Z>>(namespace: string, tokens?: TokenCollection): ContextTrinity<E>;
|
|
509
|
+
//#endregion
|
|
510
|
+
//#region src/composables/useFeatures/index.d.ts
|
|
511
|
+
interface FeatureTicket extends GroupTicket {
|
|
512
|
+
value: TokenValue;
|
|
513
|
+
}
|
|
514
|
+
interface FeatureContext<Z extends FeatureTicket = FeatureTicket> extends GroupContext<Z> {
|
|
515
|
+
variation: (id: ID, fallback?: any) => any;
|
|
516
|
+
}
|
|
517
|
+
interface FeatureOptions extends FeaturePluginOptions {}
|
|
518
|
+
interface FeaturePluginOptions {
|
|
519
|
+
features?: Record<ID, boolean | TokenCollection>;
|
|
520
|
+
}
|
|
468
521
|
/**
|
|
469
|
-
* Attaches event listeners to any EventTarget with automatic cleanup.
|
|
470
|
-
* This overload provides flexible event handling for any EventTarget implementation
|
|
471
|
-
* with reactive target support and automatic listener removal on scope disposal.
|
|
472
522
|
*
|
|
473
|
-
* @param
|
|
474
|
-
* @param
|
|
475
|
-
* @
|
|
476
|
-
* @
|
|
477
|
-
* @returns
|
|
523
|
+
* @param namespace The namespace for the feature context
|
|
524
|
+
* @param options Configure initial features to register
|
|
525
|
+
* @template Z The type of feature ticket
|
|
526
|
+
* @template E The type of feature context
|
|
527
|
+
* @returns A context trinity for the features context
|
|
528
|
+
*
|
|
529
|
+
* @see https://0.vuetifyjs.com/composables/plugins/create-features
|
|
478
530
|
*/
|
|
479
|
-
declare function
|
|
531
|
+
declare function createFeatures<Z extends FeatureTicket = FeatureTicket, E extends FeatureContext<Z> = FeatureContext<Z>>(namespace?: string, options?: FeatureOptions): ContextTrinity<E>;
|
|
480
532
|
/**
|
|
481
|
-
*
|
|
482
|
-
* This function provides a simplified API by pre-binding the window target,
|
|
483
|
-
* making it easier to handle window-specific events with automatic cleanup.
|
|
533
|
+
* Simple hook to access the theme context.
|
|
484
534
|
*
|
|
485
|
-
* @
|
|
486
|
-
*
|
|
487
|
-
* @
|
|
488
|
-
* @returns Function to manually remove all attached listeners.
|
|
535
|
+
* @returns The features context containing current theme state and utilities.
|
|
536
|
+
*
|
|
537
|
+
* @see https://0.vuetifyjs.com/composables/plugins/create-features
|
|
489
538
|
*/
|
|
490
|
-
declare function
|
|
539
|
+
declare function useFeatures<Z extends FeatureTicket = FeatureTicket>(): FeatureContext<Z>;
|
|
491
540
|
/**
|
|
492
|
-
*
|
|
493
|
-
* This function provides a simplified API by pre-binding the document target,
|
|
494
|
-
* making it easier to handle document-specific events with automatic cleanup.
|
|
541
|
+
* Creates a Vue plugin for feature management with variation support.
|
|
495
542
|
*
|
|
496
|
-
* @param
|
|
497
|
-
* @
|
|
498
|
-
* @
|
|
499
|
-
* @returns
|
|
543
|
+
* @param options Configuration for initial features to register.
|
|
544
|
+
* @template Z The type of feature ticket.
|
|
545
|
+
* @template E The type of feature context.
|
|
546
|
+
* @returns A Vue plugin object with install method.
|
|
547
|
+
*
|
|
548
|
+
* @see https://0.vuetifyjs.com/composables/plugins/create-features
|
|
500
549
|
*/
|
|
501
|
-
declare function
|
|
550
|
+
declare function createFeaturesPlugin<Z extends FeatureTicket = FeatureTicket, E extends FeatureContext<Z> = FeatureContext<Z>>(options?: FeaturePluginOptions): Plugin;
|
|
502
551
|
//#endregion
|
|
503
552
|
//#region src/composables/useFilter/index.d.ts
|
|
504
553
|
type Primitive = string | number | boolean;
|
|
@@ -619,33 +668,6 @@ declare function useKeydown(handlers: KeyHandler[] | KeyHandler): {
|
|
|
619
668
|
stopListening: () => void;
|
|
620
669
|
};
|
|
621
670
|
//#endregion
|
|
622
|
-
//#region src/composables/useLayout/index.d.ts
|
|
623
|
-
type LayoutLocation = 'top' | 'bottom' | 'left' | 'right';
|
|
624
|
-
interface LayoutTicket extends GroupTicket {
|
|
625
|
-
order: number;
|
|
626
|
-
position: LayoutLocation;
|
|
627
|
-
value: number;
|
|
628
|
-
}
|
|
629
|
-
interface LayoutContext<Z extends LayoutTicket> extends GroupContext<Z> {
|
|
630
|
-
bounds: {
|
|
631
|
-
top: ComputedRef<number>;
|
|
632
|
-
bottom: ComputedRef<number>;
|
|
633
|
-
left: ComputedRef<number>;
|
|
634
|
-
right: ComputedRef<number>;
|
|
635
|
-
};
|
|
636
|
-
main: {
|
|
637
|
-
x: ComputedRef<number>;
|
|
638
|
-
y: ComputedRef<number>;
|
|
639
|
-
width: ComputedRef<number>;
|
|
640
|
-
height: ComputedRef<number>;
|
|
641
|
-
};
|
|
642
|
-
sizes: ShallowReactive<Map<ID, number>>;
|
|
643
|
-
height: ShallowRef<number>;
|
|
644
|
-
width: ShallowRef<number>;
|
|
645
|
-
}
|
|
646
|
-
interface LayoutOptions extends GroupOptions {}
|
|
647
|
-
declare function useLayout<Z extends LayoutTicket = LayoutTicket, E extends LayoutContext<Z> = LayoutContext<Z>>(_options?: LayoutOptions): E;
|
|
648
|
-
//#endregion
|
|
649
671
|
//#region src/composables/useSingle/index.d.ts
|
|
650
672
|
interface SingleTicket extends SelectionTicket {}
|
|
651
673
|
interface SingleContext<Z extends SingleTicket> extends SelectionContext<Z> {
|
|
@@ -665,51 +687,17 @@ interface SingleOptions extends SelectionOptions {}
|
|
|
665
687
|
* @returns The single selection context object.
|
|
666
688
|
*/
|
|
667
689
|
declare function useSingle<Z extends SingleTicket = SingleTicket, E extends SingleContext<Z> = SingleContext<Z>>(options?: SingleOptions): E;
|
|
668
|
-
//#endregion
|
|
669
|
-
//#region src/composables/useTokens/index.d.ts
|
|
670
|
-
interface TokenAlias<T = unknown> {
|
|
671
|
-
[key: string]: unknown;
|
|
672
|
-
$value: T;
|
|
673
|
-
$type?: string;
|
|
674
|
-
$description?: string;
|
|
675
|
-
$extensions?: Record<string, unknown>;
|
|
676
|
-
$deprecated?: boolean | string;
|
|
677
|
-
}
|
|
678
|
-
type TokenPrimitive = string | number | boolean;
|
|
679
|
-
type TokenValue = TokenPrimitive | TokenAlias;
|
|
680
|
-
interface TokenCollection {
|
|
681
|
-
[key: string]: TokenValue | TokenCollection;
|
|
682
|
-
}
|
|
683
|
-
type FlatTokenCollection = {
|
|
684
|
-
id: string;
|
|
685
|
-
value: TokenValue;
|
|
686
|
-
};
|
|
687
|
-
interface TokenTicket extends RegistryTicket {}
|
|
688
|
-
interface TokenContext<Z extends TokenTicket> extends RegistryContext<Z> {
|
|
689
|
-
resolve: (token: string | TokenAlias) => unknown | undefined;
|
|
690
|
-
}
|
|
691
690
|
/**
|
|
692
|
-
* Creates a
|
|
693
|
-
* Returns the token context directly for simple usage.
|
|
694
|
-
*
|
|
695
|
-
* @param tokens A collection of tokens to initialize with
|
|
696
|
-
* @template Z The structure of the registry token items.
|
|
697
|
-
* @template E The available methods for the token's context.
|
|
698
|
-
* @returns The token context object.
|
|
699
|
-
* @see https://www.designtokens.org/tr/drafts/format/
|
|
700
|
-
*/
|
|
701
|
-
declare function useTokens<Z extends TokenTicket = TokenTicket, E extends TokenContext<Z> = TokenContext<Z>>(tokens?: TokenCollection): E;
|
|
702
|
-
/**
|
|
703
|
-
* Creates a token registry context with full injection/provision control.
|
|
691
|
+
* Creates a single selection registry context with full injection/provision control.
|
|
704
692
|
* Returns the complete trinity for advanced usage scenarios.
|
|
705
693
|
*
|
|
706
|
-
* @param namespace The namespace for the
|
|
707
|
-
* @param
|
|
708
|
-
* @template Z The structure of the registry
|
|
709
|
-
* @template E The available methods for the
|
|
710
|
-
* @returns A tuple containing the inject function, provide function, and the
|
|
694
|
+
* @param namespace The namespace for the single selection registry context
|
|
695
|
+
* @param options Optional configuration for single selection behavior.
|
|
696
|
+
* @template Z The structure of the registry single selection items.
|
|
697
|
+
* @template E The available methods for the single's context.
|
|
698
|
+
* @returns A tuple containing the inject function, provide function, and the single selection context.
|
|
711
699
|
*/
|
|
712
|
-
declare function
|
|
700
|
+
declare function createSingleContext<Z extends SingleTicket = SingleTicket, E extends SingleContext<Z> = SingleContext<Z>>(namespace: string, options?: SingleOptions): ContextTrinity<E>;
|
|
713
701
|
//#endregion
|
|
714
702
|
//#region src/composables/useLocale/adapters/adapter.d.ts
|
|
715
703
|
interface LocaleAdapter {
|
|
@@ -905,6 +893,58 @@ declare function useMutationObserver(target: Ref<Element | undefined>, callback:
|
|
|
905
893
|
stop: () => void;
|
|
906
894
|
};
|
|
907
895
|
//#endregion
|
|
896
|
+
//#region src/composables/usePermissions/adapters/adapter.d.ts
|
|
897
|
+
interface PermissionAdapterInterface {
|
|
898
|
+
can: <Z extends PermissionTicket = PermissionTicket>(role: ID, action: string, subject: string, context: Record<string, any>, permissions: PermissionContext<Z>) => boolean;
|
|
899
|
+
}
|
|
900
|
+
declare abstract class PermissionAdapter implements PermissionAdapterInterface {
|
|
901
|
+
abstract can<Z extends PermissionTicket = PermissionTicket>(role: ID, action: string, subject: string, context: Record<string, any>, permissions: PermissionContext<Z>): boolean;
|
|
902
|
+
}
|
|
903
|
+
//#endregion
|
|
904
|
+
//#region src/composables/usePermissions/index.d.ts
|
|
905
|
+
interface PermissionTicket extends TokenTicket {
|
|
906
|
+
value: boolean | ((context: Record<string, any>) => boolean);
|
|
907
|
+
}
|
|
908
|
+
interface PermissionContext<Z extends PermissionTicket = PermissionTicket> extends TokenContext<Z> {
|
|
909
|
+
can: (id: ID, action: string, subject: string, context?: Record<string, any>) => boolean;
|
|
910
|
+
}
|
|
911
|
+
interface PermissionOptions extends PermissionPluginOptions {}
|
|
912
|
+
interface PermissionPluginOptions {
|
|
913
|
+
adapter?: PermissionAdapter;
|
|
914
|
+
permissions?: Record<ID, any>;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @param namespace The namespace for the permissions context
|
|
919
|
+
* @param options Configure initial permissions and adapter
|
|
920
|
+
* @template Z The type of permission ticket
|
|
921
|
+
* @template E The type of permission context
|
|
922
|
+
* @returns A context trinity for the permissions context
|
|
923
|
+
*
|
|
924
|
+
* @see https://0.vuetifyjs.com/composables/plugins/create-permissions
|
|
925
|
+
*/
|
|
926
|
+
declare function createPermissions<Z extends PermissionTicket = PermissionTicket, E extends PermissionContext<Z> = PermissionContext<Z>>(namespace?: string, options?: PermissionOptions): ContextTrinity<E>;
|
|
927
|
+
/**
|
|
928
|
+
* Simple hook to access the permissions context
|
|
929
|
+
*
|
|
930
|
+
* @returns The permissions context
|
|
931
|
+
* @template Z The type of permission ticket
|
|
932
|
+
*
|
|
933
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-permissions
|
|
934
|
+
*/
|
|
935
|
+
declare function usePermissions<Z extends PermissionTicket = PermissionTicket>(): PermissionContext<Z>;
|
|
936
|
+
/**
|
|
937
|
+
* Factory function to create a permissions plugin
|
|
938
|
+
*
|
|
939
|
+
* @param options Configuration options for the permissions plugin
|
|
940
|
+
* @template Z The type of permission ticket
|
|
941
|
+
* @template E The type of permission context
|
|
942
|
+
* @returns A Vue plugin object for permissions management
|
|
943
|
+
*
|
|
944
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-permissions
|
|
945
|
+
*/
|
|
946
|
+
declare function createPermissionsPlugin<Z extends PermissionTicket = PermissionTicket, E extends PermissionContext<Z> = PermissionContext<Z>>(options?: PermissionOptions): Plugin;
|
|
947
|
+
//#endregion
|
|
908
948
|
//#region src/composables/useProxyModel/index.d.ts
|
|
909
949
|
interface ProxyModelOptions {
|
|
910
950
|
/** Whether to use deep reactivity for the model */
|
|
@@ -918,7 +958,7 @@ interface ProxyModelOptions {
|
|
|
918
958
|
* @template E The type of the selection context.
|
|
919
959
|
* @returns The proxy model for two-way binding with the selection context.
|
|
920
960
|
*/
|
|
921
|
-
declare function useProxyModel<Z extends SelectionTicket>(registry: SelectionContext<Z>, initial?: Z | Z[], options?: ProxyModelOptions, _transformIn?: (val: Z[] | Z) => Z[], _transformOut?: (val: Z[]) => Z | Z[]):
|
|
961
|
+
declare function useProxyModel<Z extends SelectionTicket>(registry: SelectionContext<Z>, initial?: Z | Z[], options?: ProxyModelOptions, _transformIn?: (val: Z[] | Z) => Z[], _transformOut?: (val: Z[]) => Z | Z[]): vue124.WritableComputedRef<Z | Z[] | undefined, Z[]>;
|
|
922
962
|
//#endregion
|
|
923
963
|
//#region src/composables/useResizeObserver/index.d.ts
|
|
924
964
|
interface ResizeObserverEntry {
|
|
@@ -957,8 +997,8 @@ declare function useResizeObserver(target: Ref<Element | undefined>, callback: (
|
|
|
957
997
|
* @returns Reactive width and height
|
|
958
998
|
*/
|
|
959
999
|
declare function useElementSize(target: Ref<Element | undefined>): {
|
|
960
|
-
width:
|
|
961
|
-
height:
|
|
1000
|
+
width: vue124.ShallowRef<number, number>;
|
|
1001
|
+
height: vue124.ShallowRef<number, number>;
|
|
962
1002
|
};
|
|
963
1003
|
//#endregion
|
|
964
1004
|
//#region src/composables/useStep/index.d.ts
|
|
@@ -986,6 +1026,17 @@ interface StepOptions extends SingleOptions {}
|
|
|
986
1026
|
* @returns The step selection context object.
|
|
987
1027
|
*/
|
|
988
1028
|
declare function useStep<Z extends StepTicket = StepTicket, E extends StepContext<Z> = StepContext<Z>>(options?: StepOptions): E;
|
|
1029
|
+
/**
|
|
1030
|
+
* Creates a step selection registry context with full injection/provision control.
|
|
1031
|
+
* Returns the complete trinity for advanced usage scenarios.
|
|
1032
|
+
*
|
|
1033
|
+
* @param namespace The namespace for the step selection registry context
|
|
1034
|
+
* @param options Optional configuration for step selection behavior.
|
|
1035
|
+
* @template Z The structure of the registry step selection items.
|
|
1036
|
+
* @template E The available methods for the step's context.
|
|
1037
|
+
* @returns A tuple containing the inject function, provide function, and the step selection context.
|
|
1038
|
+
*/
|
|
1039
|
+
declare function createStepContext<Z extends StepTicket = StepTicket, E extends StepContext<Z> = StepContext<Z>>(namespace: string, options?: StepOptions): ContextTrinity<E>;
|
|
989
1040
|
//#endregion
|
|
990
1041
|
//#region src/composables/useStorage/adapters/index.d.ts
|
|
991
1042
|
interface StorageAdapter {
|
|
@@ -1011,7 +1062,7 @@ interface StorageOptions {
|
|
|
1011
1062
|
write: (value: any) => string;
|
|
1012
1063
|
};
|
|
1013
1064
|
}
|
|
1014
|
-
declare const useStorageContext: (
|
|
1065
|
+
declare const useStorageContext: (key?: ContextKey<StorageContext>) => StorageContext, provideStorageContext: (context: StorageContext, app?: App) => StorageContext;
|
|
1015
1066
|
/**
|
|
1016
1067
|
* Creates a reactive storage system with automatic persistence and cross-adapter support.
|
|
1017
1068
|
* This function provides a consistent interface for storing and retrieving reactive values
|
|
@@ -1085,12 +1136,16 @@ interface ThemePluginOptions<Z extends ThemeRecord = ThemeRecord> {
|
|
|
1085
1136
|
* @template Z The type of theme context.
|
|
1086
1137
|
* @template E The type of theme items managed by the registry.
|
|
1087
1138
|
* @returns A tuple containing inject, provide functions and the theme context.
|
|
1139
|
+
*
|
|
1140
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-theme
|
|
1088
1141
|
*/
|
|
1089
1142
|
declare function createTheme<Z extends ThemeTicket = ThemeTicket, E extends ThemeContext<Z> = ThemeContext<Z>>(namespace?: string, options?: ThemeOptions): ContextTrinity<E>;
|
|
1090
1143
|
/**
|
|
1091
1144
|
* Simple hook to access the theme context.
|
|
1092
1145
|
*
|
|
1093
1146
|
* @returns The theme context containing current theme state and utilities.
|
|
1147
|
+
*
|
|
1148
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-theme
|
|
1094
1149
|
*/
|
|
1095
1150
|
declare function useTheme(): ThemeContext<ThemeTicket>;
|
|
1096
1151
|
/**
|
|
@@ -1101,18 +1156,39 @@ declare function useTheme(): ThemeContext<ThemeTicket>;
|
|
|
1101
1156
|
* @param options Configuration for themes, palette, and adapter.
|
|
1102
1157
|
* @template Z The type of theme context.
|
|
1103
1158
|
* @template E The type of theme items.
|
|
1104
|
-
* @template R The type of token context.
|
|
1105
|
-
* @template O The type of token items.
|
|
1106
1159
|
* @returns A Vue plugin object with install method.
|
|
1160
|
+
*
|
|
1161
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-theme
|
|
1162
|
+
*/
|
|
1163
|
+
declare function createThemePlugin<Z extends ThemeTicket = ThemeTicket, E extends ThemeContext<Z> = ThemeContext<Z>>(_options?: ThemePluginOptions): Plugin;
|
|
1164
|
+
//#endregion
|
|
1165
|
+
//#region src/composables/useTimeline/index.d.ts
|
|
1166
|
+
interface TimelineContext<Z extends TimelineTicket> extends RegistryContext<Z> {
|
|
1167
|
+
undo: () => void;
|
|
1168
|
+
redo: () => void;
|
|
1169
|
+
}
|
|
1170
|
+
interface TimelineTicket extends RegistryTicket {}
|
|
1171
|
+
interface TimelineOptions extends RegistryOptions {
|
|
1172
|
+
size?: number;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* Creates a registry with timeline capabilities (undo/redo)
|
|
1176
|
+
*
|
|
1177
|
+
* @param _options Optional configuration for timeline
|
|
1178
|
+
* @template Z The type of ticket to be stored in the timeline
|
|
1179
|
+
* @template E The type of the timeline context
|
|
1180
|
+
* @returns The timeline context object
|
|
1181
|
+
*
|
|
1182
|
+
* @see https://0.vuetifyjs.com/composables/registration/use-timeline
|
|
1107
1183
|
*/
|
|
1108
|
-
declare function
|
|
1184
|
+
declare function useTimeline<Z extends TimelineTicket = TimelineTicket, E extends TimelineContext<Z> = TimelineContext<Z>>(_options?: TimelineOptions): E;
|
|
1109
1185
|
//#endregion
|
|
1110
1186
|
//#region src/composables/useHydration/index.d.ts
|
|
1111
1187
|
interface HydrationContext {
|
|
1112
1188
|
isHydrated: Readonly<ShallowRef<boolean>>;
|
|
1113
1189
|
hydrate: () => void;
|
|
1114
1190
|
}
|
|
1115
|
-
declare const useHydrationContext: (
|
|
1191
|
+
declare const useHydrationContext: (key?: ContextKey<HydrationContext>) => HydrationContext, provideHydrationContext: (context: HydrationContext, app?: App) => HydrationContext;
|
|
1116
1192
|
/**
|
|
1117
1193
|
* Creates a hydration context for tracking client-side hydration state in SSR applications.
|
|
1118
1194
|
* This function provides a way to determine when the application has been fully hydrated
|
|
@@ -1140,7 +1216,7 @@ declare function createHydrationPlugin(): Plugin;
|
|
|
1140
1216
|
interface HydrationSlots {
|
|
1141
1217
|
default: (scope: HydrationContext) => any;
|
|
1142
1218
|
}
|
|
1143
|
-
declare const _default$1: __VLS_WithSlots$1<
|
|
1219
|
+
declare const _default$1: __VLS_WithSlots$1<vue124.DefineComponent<{}, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, vue124.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue124.ComponentProvideOptions, true, {}, any>, HydrationSlots>;
|
|
1144
1220
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1145
1221
|
new (): {
|
|
1146
1222
|
$slots: S;
|
|
@@ -1151,7 +1227,7 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
1151
1227
|
interface HydrationRootSlots {
|
|
1152
1228
|
default: (scope: HydrationContext) => any;
|
|
1153
1229
|
}
|
|
1154
|
-
declare const _default: __VLS_WithSlots<
|
|
1230
|
+
declare const _default: __VLS_WithSlots<vue124.DefineComponent<{}, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, vue124.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue124.ComponentProvideOptions, true, {}, any>, HydrationRootSlots>;
|
|
1155
1231
|
type __VLS_WithSlots<T, S> = T & {
|
|
1156
1232
|
new (): {
|
|
1157
1233
|
$slots: S;
|
|
@@ -1160,14 +1236,14 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
1160
1236
|
//#endregion
|
|
1161
1237
|
//#region src/components/Popover/PopoverRoot.vue.d.ts
|
|
1162
1238
|
interface PopoverContext {
|
|
1163
|
-
|
|
1239
|
+
isSelected: ShallowRef<boolean>;
|
|
1164
1240
|
id: string;
|
|
1165
1241
|
toggle: () => void;
|
|
1166
1242
|
}
|
|
1167
1243
|
interface PopoverRootProps extends AtomProps {
|
|
1168
1244
|
id?: string;
|
|
1169
1245
|
}
|
|
1170
|
-
declare const usePopoverContext: (
|
|
1246
|
+
declare const usePopoverContext: (key?: ContextKey<PopoverContext>) => PopoverContext, providePopoverContext: (context: PopoverContext, app?: vue124.App) => PopoverContext;
|
|
1171
1247
|
//#endregion
|
|
1172
1248
|
//#region src/components/Popover/PopoverAnchor.vue.d.ts
|
|
1173
1249
|
interface PopoverAnchorProps extends AtomProps {
|
|
@@ -1187,13 +1263,13 @@ interface PopoverContentEmits {
|
|
|
1187
1263
|
//#region src/components/Popover/index.d.ts
|
|
1188
1264
|
declare const Popover: {
|
|
1189
1265
|
Root: {
|
|
1190
|
-
new (...args: any[]):
|
|
1266
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<PopoverRootProps & {
|
|
1191
1267
|
modelValue?: boolean;
|
|
1192
1268
|
}> & Readonly<{
|
|
1193
1269
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1194
|
-
}>,
|
|
1270
|
+
}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {
|
|
1195
1271
|
"update:modelValue": (value: boolean) => any;
|
|
1196
|
-
},
|
|
1272
|
+
}, vue124.PublicProps, {}, false, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
1197
1273
|
P: {};
|
|
1198
1274
|
B: {};
|
|
1199
1275
|
D: {};
|
|
@@ -1208,23 +1284,23 @@ declare const Popover: {
|
|
|
1208
1284
|
__isFragment?: never;
|
|
1209
1285
|
__isTeleport?: never;
|
|
1210
1286
|
__isSuspense?: never;
|
|
1211
|
-
} &
|
|
1287
|
+
} & vue124.ComponentOptionsBase<Readonly<PopoverRootProps & {
|
|
1212
1288
|
modelValue?: boolean;
|
|
1213
1289
|
}> & Readonly<{
|
|
1214
1290
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1215
|
-
}>,
|
|
1291
|
+
}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {
|
|
1216
1292
|
"update:modelValue": (value: boolean) => any;
|
|
1217
|
-
}, string, {}, {}, string, {},
|
|
1293
|
+
}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
1218
1294
|
$slots: {
|
|
1219
1295
|
default: (props: {
|
|
1220
|
-
id: Readonly<
|
|
1221
|
-
|
|
1296
|
+
id: Readonly<vue124.Ref<string, string>>;
|
|
1297
|
+
isSelected: vue124.ModelRef<boolean, string, boolean, boolean>;
|
|
1222
1298
|
toggle: () => void;
|
|
1223
1299
|
}) => any;
|
|
1224
1300
|
};
|
|
1225
1301
|
});
|
|
1226
1302
|
Anchor: {
|
|
1227
|
-
new (...args: any[]):
|
|
1303
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, vue124.PublicProps, {}, false, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
1228
1304
|
P: {};
|
|
1229
1305
|
B: {};
|
|
1230
1306
|
D: {};
|
|
@@ -1235,17 +1311,17 @@ declare const Popover: {
|
|
|
1235
1311
|
__isFragment?: never;
|
|
1236
1312
|
__isTeleport?: never;
|
|
1237
1313
|
__isSuspense?: never;
|
|
1238
|
-
} &
|
|
1314
|
+
} & vue124.ComponentOptionsBase<Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
1239
1315
|
$slots: {
|
|
1240
1316
|
default?: (props: {}) => any;
|
|
1241
1317
|
};
|
|
1242
1318
|
});
|
|
1243
1319
|
Content: {
|
|
1244
|
-
new (...args: any[]):
|
|
1320
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<PopoverContentProps> & Readonly<{
|
|
1245
1321
|
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
1246
|
-
}>,
|
|
1322
|
+
}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {
|
|
1247
1323
|
beforetoggle: (e: ToggleEvent) => any;
|
|
1248
|
-
},
|
|
1324
|
+
}, vue124.PublicProps, {}, false, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
1249
1325
|
P: {};
|
|
1250
1326
|
B: {};
|
|
1251
1327
|
D: {};
|
|
@@ -1258,88 +1334,17 @@ declare const Popover: {
|
|
|
1258
1334
|
__isFragment?: never;
|
|
1259
1335
|
__isTeleport?: never;
|
|
1260
1336
|
__isSuspense?: never;
|
|
1261
|
-
} &
|
|
1337
|
+
} & vue124.ComponentOptionsBase<Readonly<PopoverContentProps> & Readonly<{
|
|
1262
1338
|
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
1263
|
-
}>,
|
|
1339
|
+
}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {
|
|
1264
1340
|
beforetoggle: (e: ToggleEvent) => any;
|
|
1265
|
-
}, string, {}, {}, string, {},
|
|
1341
|
+
}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
1266
1342
|
$slots: {
|
|
1267
1343
|
default?: (props: {}) => any;
|
|
1268
1344
|
};
|
|
1269
1345
|
});
|
|
1270
1346
|
};
|
|
1271
1347
|
//#endregion
|
|
1272
|
-
//#region src/components/Step/StepItem.vue.d.ts
|
|
1273
|
-
interface StepItemProps {
|
|
1274
|
-
id?: string;
|
|
1275
|
-
value?: any;
|
|
1276
|
-
disabled?: boolean;
|
|
1277
|
-
namespace?: string;
|
|
1278
|
-
}
|
|
1279
|
-
interface StepItemSlots {
|
|
1280
|
-
default: (scope: UnwrapNestedRefs<GroupTicket>) => any;
|
|
1281
|
-
}
|
|
1282
|
-
//#endregion
|
|
1283
|
-
//#region src/components/Step/StepRoot.vue.d.ts
|
|
1284
|
-
interface StepRootProps extends StepOptions {
|
|
1285
|
-
namespace?: string;
|
|
1286
|
-
}
|
|
1287
|
-
interface StepRootSlots {
|
|
1288
|
-
default: (scope: StepContext & {
|
|
1289
|
-
model: ModelRef<any>;
|
|
1290
|
-
}) => any;
|
|
1291
|
-
}
|
|
1292
|
-
//#endregion
|
|
1293
|
-
//#region src/components/Step/index.d.ts
|
|
1294
|
-
declare const Step: {
|
|
1295
|
-
Item: {
|
|
1296
|
-
new (...args: any[]): vue189.CreateComponentPublicInstanceWithMixins<Readonly<StepItemProps> & Readonly<{}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {}, vue189.PublicProps, {}, false, {}, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, {}, any, vue189.ComponentProvideOptions, {
|
|
1297
|
-
P: {};
|
|
1298
|
-
B: {};
|
|
1299
|
-
D: {};
|
|
1300
|
-
C: {};
|
|
1301
|
-
M: {};
|
|
1302
|
-
Defaults: {};
|
|
1303
|
-
}, Readonly<StepItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1304
|
-
__isFragment?: never;
|
|
1305
|
-
__isTeleport?: never;
|
|
1306
|
-
__isSuspense?: never;
|
|
1307
|
-
} & vue189.ComponentOptionsBase<Readonly<StepItemProps> & Readonly<{}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, vue189.ComponentProvideOptions> & vue189.VNodeProps & vue189.AllowedComponentProps & vue189.ComponentCustomProps & (new () => {
|
|
1308
|
-
$slots: StepItemSlots;
|
|
1309
|
-
});
|
|
1310
|
-
Root: {
|
|
1311
|
-
new (...args: any[]): vue189.CreateComponentPublicInstanceWithMixins<Readonly<StepRootProps & {
|
|
1312
|
-
modelValue?: any;
|
|
1313
|
-
}> & Readonly<{
|
|
1314
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1315
|
-
}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
1316
|
-
"update:modelValue": (value: any) => any;
|
|
1317
|
-
}, vue189.PublicProps, {}, false, {}, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, {}, any, vue189.ComponentProvideOptions, {
|
|
1318
|
-
P: {};
|
|
1319
|
-
B: {};
|
|
1320
|
-
D: {};
|
|
1321
|
-
C: {};
|
|
1322
|
-
M: {};
|
|
1323
|
-
Defaults: {};
|
|
1324
|
-
}, Readonly<StepRootProps & {
|
|
1325
|
-
modelValue?: any;
|
|
1326
|
-
}> & Readonly<{
|
|
1327
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1328
|
-
}>, {}, {}, {}, {}, {}>;
|
|
1329
|
-
__isFragment?: never;
|
|
1330
|
-
__isTeleport?: never;
|
|
1331
|
-
__isSuspense?: never;
|
|
1332
|
-
} & vue189.ComponentOptionsBase<Readonly<StepRootProps & {
|
|
1333
|
-
modelValue?: any;
|
|
1334
|
-
}> & Readonly<{
|
|
1335
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1336
|
-
}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
1337
|
-
"update:modelValue": (value: any) => any;
|
|
1338
|
-
}, string, {}, {}, string, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, vue189.ComponentProvideOptions> & vue189.VNodeProps & vue189.AllowedComponentProps & vue189.ComponentCustomProps & (new () => {
|
|
1339
|
-
$slots: StepRootSlots;
|
|
1340
|
-
});
|
|
1341
|
-
};
|
|
1342
|
-
//#endregion
|
|
1343
1348
|
//#region src/components/Theme/ThemeItem.vue.d.ts
|
|
1344
1349
|
interface ThemeSlots {
|
|
1345
1350
|
default: (scope: ThemeContext<ThemeTicket>) => any;
|
|
@@ -1357,7 +1362,7 @@ interface ThemeRootSlots {
|
|
|
1357
1362
|
//#region src/components/Theme/index.d.ts
|
|
1358
1363
|
declare const Theme: {
|
|
1359
1364
|
Item: {
|
|
1360
|
-
new (...args: any[]):
|
|
1365
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, vue124.PublicProps, {}, true, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
1361
1366
|
P: {};
|
|
1362
1367
|
B: {};
|
|
1363
1368
|
D: {};
|
|
@@ -1368,40 +1373,24 @@ declare const Theme: {
|
|
|
1368
1373
|
__isFragment?: never;
|
|
1369
1374
|
__isTeleport?: never;
|
|
1370
1375
|
__isSuspense?: never;
|
|
1371
|
-
} &
|
|
1376
|
+
} & vue124.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
1372
1377
|
$slots: ThemeSlots;
|
|
1373
1378
|
});
|
|
1374
1379
|
Root: {
|
|
1375
|
-
new (...args: any[]):
|
|
1376
|
-
modelValue?: ID;
|
|
1377
|
-
}> & Readonly<{
|
|
1378
|
-
"onUpdate:modelValue"?: ((value: ID) => any) | undefined;
|
|
1379
|
-
}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
1380
|
-
"update:modelValue": (value: ID) => any;
|
|
1381
|
-
}, vue189.PublicProps, {}, false, {}, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, {}, any, vue189.ComponentProvideOptions, {
|
|
1380
|
+
new (...args: any[]): vue124.CreateComponentPublicInstanceWithMixins<Readonly<ThemeRootProps> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, vue124.PublicProps, {}, false, {}, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, {}, any, vue124.ComponentProvideOptions, {
|
|
1382
1381
|
P: {};
|
|
1383
1382
|
B: {};
|
|
1384
1383
|
D: {};
|
|
1385
1384
|
C: {};
|
|
1386
1385
|
M: {};
|
|
1387
1386
|
Defaults: {};
|
|
1388
|
-
}, Readonly<ThemeRootProps & {
|
|
1389
|
-
modelValue?: ID;
|
|
1390
|
-
}> & Readonly<{
|
|
1391
|
-
"onUpdate:modelValue"?: ((value: ID) => any) | undefined;
|
|
1392
|
-
}>, {}, {}, {}, {}, {}>;
|
|
1387
|
+
}, Readonly<ThemeRootProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1393
1388
|
__isFragment?: never;
|
|
1394
1389
|
__isTeleport?: never;
|
|
1395
1390
|
__isSuspense?: never;
|
|
1396
|
-
} &
|
|
1397
|
-
modelValue?: ID;
|
|
1398
|
-
}> & Readonly<{
|
|
1399
|
-
"onUpdate:modelValue"?: ((value: ID) => any) | undefined;
|
|
1400
|
-
}>, void, {}, {}, {}, vue189.ComponentOptionsMixin, vue189.ComponentOptionsMixin, {
|
|
1401
|
-
"update:modelValue": (value: ID) => any;
|
|
1402
|
-
}, string, {}, {}, string, {}, vue189.GlobalComponents, vue189.GlobalDirectives, string, vue189.ComponentProvideOptions> & vue189.VNodeProps & vue189.AllowedComponentProps & vue189.ComponentCustomProps & (new () => {
|
|
1391
|
+
} & vue124.ComponentOptionsBase<Readonly<ThemeRootProps> & Readonly<{}>, {}, {}, {}, {}, vue124.ComponentOptionsMixin, vue124.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue124.GlobalComponents, vue124.GlobalDirectives, string, vue124.ComponentProvideOptions> & vue124.VNodeProps & vue124.AllowedComponentProps & vue124.ComponentCustomProps & (new () => {
|
|
1403
1392
|
$slots: ThemeRootSlots;
|
|
1404
1393
|
});
|
|
1405
1394
|
};
|
|
1406
1395
|
//#endregion
|
|
1407
|
-
export { AtomExpose, AtomProps, AtomSlots, BreakpointName, Breakpoints, BreakpointsContext, BreakpointsOptions, CleanupFunction, Colors, ConsolaLoggerAdapter, Context, EventHandler, FilterFunction, FilterItem, FilterMode, FilterQuery, FlatTokenCollection, FormContext, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue,
|
|
1396
|
+
export { AtomExpose, AtomProps, AtomSlots, BreakpointName, Breakpoints, BreakpointsContext, BreakpointsOptions, CleanupFunction, Colors, ConsolaLoggerAdapter, Context, EventHandler, FeatureContext, FeatureOptions, FeaturePluginOptions, FeatureTicket, FilterFunction, FilterItem, FilterMode, FilterQuery, FlatTokenCollection, FormContext, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue, GroupContext, GroupOptions, GroupTicket, HydrationContext, IntersectionObserverEntry, IntersectionObserverOptions, KeyHandler, LocaleContext, LocaleOptions, LocalePluginOptions, LocaleTicket, type LogLevel, type LoggerAdapter, LoggerContext, LoggerOptions, MutationObserverRecord, PermissionContext, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, Popover, type PopoverAnchorProps, type PopoverContentEmits, type PopoverContentProps, type PopoverContext, type PopoverRootProps, Primitive, ProxyModelOptions, RegistryContext, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SelectionContext, SelectionOptions, SelectionTicket, SingleContext, SingleOptions, SingleTicket, StepContext, StepOptions, StepTicket, StorageContext, StorageOptions, Theme, ThemeColors, ThemeContext, ThemeOptions, ThemePluginOptions, ThemeRecord, type ThemeRootProps, type ThemeRootSlots, type ThemeSlots, ThemeTicket, TimelineContext, TimelineOptions, TimelineTicket, TokenAlias, TokenCollection, TokenContext, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseFilterOptions, UseFilterResult, UseMutationObserverOptions, Vuetify0LoggerAdapter, _default, _default$1, _default$2, createBreakpoints, createBreakpointsPlugin, createFeatures, createFeaturesPlugin, createGroupContext, createHydration, createHydrationPlugin, createLocale, createLocalePlugin, createLogger, createLoggerPlugin, createPermissions, createPermissionsPlugin, createRegistryContext, createSelectionContext, createSingleContext, createStepContext, createStorage, createStoragePlugin, createTheme, createThemePlugin, createTokensContext, provideBreakpointsContext, provideHydrationContext, providePopoverContext, provideStorageContext, useBreakpoints, useBreakpointsContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useHydrationContext, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, usePermissions, usePopoverContext, useProxyModel, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useStorageContext, useTheme, useTimeline, useTokens, useWindowEventListener };
|