@vuetify/v0 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -13
- package/dist/browser/index.js +3347 -2056
- package/dist/components/index.d.ts +4 -7
- package/dist/components/index.js +6 -8
- package/dist/{components-Cc48kKWf.js → components-B5k361i-.js} +173 -190
- package/dist/composables/index.d.ts +3 -7
- package/dist/composables/index.js +4 -7
- package/dist/composables-CAbYjAkR.js +3746 -0
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +3 -3
- package/dist/{globals--2b7sF4-.js → globals-CHVv7nNV.js} +2 -2
- package/dist/{htmlElements-SjqYu0am.js → htmlElements-lF7PGahL.js} +1 -1
- package/dist/{index-z_zwVNP8.d.ts → index-BKc0YiL1.d.ts} +1 -1
- package/dist/index-BQfe0WBZ.d.ts +410 -0
- package/dist/index-BhPlroXd.d.ts +2764 -0
- package/dist/{index-LBy5OPMu.d.ts → index-C_lAPFXS.d.ts} +1 -1
- package/dist/{index-BozA2pze.d.ts → index-DIX3zaZG.d.ts} +3 -10
- package/dist/index.d.ts +6 -7
- package/dist/index.js +7 -10
- package/dist/types/index.d.ts +1 -1
- package/dist/utilities/index.d.ts +3 -3
- package/dist/utilities/index.js +2 -2
- package/dist/{utilities-D9rWEgQK.js → utilities-rsKHgU2m.js} +5 -32
- package/package.json +10 -38
- package/dist/composables-7Cbs2sdO.js +0 -1003
- package/dist/factories/index.d.ts +0 -2
- package/dist/factories/index.js +0 -3
- package/dist/factories-CPq2yMlr.js +0 -79
- package/dist/index-BnsMFYhs.d.ts +0 -1407
- package/dist/index-BqrLvboW.d.ts +0 -61
- package/dist/index-tUyghL98.d.ts +0 -19
- package/dist/transformers/index.d.ts +0 -2
- package/dist/transformers/index.js +0 -4
- package/dist/transformers-BAeg3QJF.js +0 -122
- package/dist/useTheme-DSYiiz0R.js +0 -1244
- /package/dist/{constants-DiTCgvMU.js → constants-De5c3_aB.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as isSelfClosingTag, c as SUPPORTS_MATCH_MEDIA, d as SUPPORTS_TOUCH, f as __LOGGER_ENABLED__, i as SelfClosingElement, l as SUPPORTS_MUTATION_OBSERVER, n as HTMLElementName, o as IN_BROWSER, p as version, r as SELF_CLOSING_TAGS, s as SUPPORTS_INTERSECTION_OBSERVER, t as COMMON_ELEMENTS, u as SUPPORTS_OBSERVER } from "../index-BKc0YiL1.js";
|
|
2
2
|
export { COMMON_ELEMENTS, HTMLElementName, IN_BROWSER, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, SelfClosingElement, __LOGGER_ENABLED__, isSelfClosingTag, version };
|
package/dist/constants/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "../constants-
|
|
1
|
+
import { n as SELF_CLOSING_TAGS, r as isSelfClosingTag, t as COMMON_ELEMENTS } from "../htmlElements-lF7PGahL.js";
|
|
2
|
+
import { a as SUPPORTS_OBSERVER, c as version, i as SUPPORTS_MUTATION_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, o as SUPPORTS_TOUCH, r as SUPPORTS_MATCH_MEDIA, s as __LOGGER_ENABLED__, t as IN_BROWSER } from "../globals-CHVv7nNV.js";
|
|
3
|
+
import "../constants-De5c3_aB.js";
|
|
4
4
|
|
|
5
5
|
export { COMMON_ELEMENTS, IN_BROWSER, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, __LOGGER_ENABLED__, isSelfClosingTag, version };
|
|
@@ -5,8 +5,8 @@ const SUPPORTS_MATCH_MEDIA = IN_BROWSER && "matchMedia" in window && typeof wind
|
|
|
5
5
|
const SUPPORTS_OBSERVER = IN_BROWSER && "ResizeObserver" in window;
|
|
6
6
|
const SUPPORTS_INTERSECTION_OBSERVER = IN_BROWSER && "IntersectionObserver" in window;
|
|
7
7
|
const SUPPORTS_MUTATION_OBSERVER = IN_BROWSER && "MutationObserver" in window;
|
|
8
|
-
const version = "0.0.
|
|
8
|
+
const version = "0.0.6";
|
|
9
9
|
const __LOGGER_ENABLED__ = process.env.NODE_ENV !== "production" || process.env.VITE_LOGGER_ENABLED === "true";
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export {
|
|
12
|
+
export { SUPPORTS_OBSERVER as a, version as c, SUPPORTS_MUTATION_OBSERVER as i, SUPPORTS_INTERSECTION_OBSERVER as n, SUPPORTS_TOUCH as o, SUPPORTS_MATCH_MEDIA as r, __LOGGER_ENABLED__ as s, IN_BROWSER as t };
|
|
@@ -76,4 +76,4 @@ type HTMLElementName = keyof HTMLElementTagNameMap;
|
|
|
76
76
|
*/
|
|
77
77
|
type SelfClosingElement = keyof typeof selfClosingTags;
|
|
78
78
|
//#endregion
|
|
79
|
-
export {
|
|
79
|
+
export { isSelfClosingTag as a, SUPPORTS_MATCH_MEDIA as c, SUPPORTS_TOUCH as d, __LOGGER_ENABLED__ as f, SelfClosingElement as i, SUPPORTS_MUTATION_OBSERVER as l, HTMLElementName as n, IN_BROWSER as o, version as p, SELF_CLOSING_TAGS as r, SUPPORTS_INTERSECTION_OBSERVER as s, COMMON_ELEMENTS as t, SUPPORTS_OBSERVER as u };
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
import { t as DOMElement } from "./index-C_lAPFXS.js";
|
|
2
|
+
import { Dn as RegistryContext, Nt as HydrationContext, Rn as BreakpointsContext, Zn as ContextKey, d as ThemeTicket, kn as RegistryTicket, s as ThemeContext, zn as BreakpointsOptions } from "./index-BhPlroXd.js";
|
|
3
|
+
import * as vue172 from "vue";
|
|
4
|
+
import { ComputedGetter, InjectionKey, ShallowRef, TemplateRef } 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<{} & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps, never>, never> & AtomPrivateProps & {}> & vue172.PublicProps;
|
|
20
|
+
expose(exposed: vue172.ShallowUnwrapRef<AtomExpose>): void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: AtomSlots<T>;
|
|
23
|
+
emit: {};
|
|
24
|
+
}>) => vue172.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/Avatar/AvatarFallback.vue.d.ts
|
|
30
|
+
interface AvatarFallbackProps extends AtomProps {}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/components/Avatar/AvatarImage.vue.d.ts
|
|
33
|
+
interface AvatarImageProps extends AtomProps {
|
|
34
|
+
src?: string;
|
|
35
|
+
priority?: number;
|
|
36
|
+
}
|
|
37
|
+
interface AvatarImageEmits {
|
|
38
|
+
load: [e: Event];
|
|
39
|
+
error: [e: Event];
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/components/Avatar/AvatarRoot.vue.d.ts
|
|
43
|
+
interface AvatarRootProps extends AtomProps {}
|
|
44
|
+
interface AvatarTicket extends RegistryTicket {
|
|
45
|
+
type: 'image' | 'fallback';
|
|
46
|
+
priority: number;
|
|
47
|
+
status: 'idle' | 'loading' | 'loaded' | 'error';
|
|
48
|
+
isVisible: Readonly<ComputedGetter<boolean>>;
|
|
49
|
+
}
|
|
50
|
+
interface AvatarContext extends RegistryContext<AvatarTicket> {
|
|
51
|
+
reset: () => void;
|
|
52
|
+
}
|
|
53
|
+
declare const useAvatarContext: () => AvatarContext, provideAvatarContext: (context?: AvatarContext | undefined, app?: vue172.App) => AvatarContext, registry: AvatarContext;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/components/Avatar/index.d.ts
|
|
56
|
+
declare const Avatar: {
|
|
57
|
+
Fallback: {
|
|
58
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
59
|
+
P: {};
|
|
60
|
+
B: {};
|
|
61
|
+
D: {};
|
|
62
|
+
C: {};
|
|
63
|
+
M: {};
|
|
64
|
+
Defaults: {};
|
|
65
|
+
}, Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
66
|
+
__isFragment?: never;
|
|
67
|
+
__isTeleport?: never;
|
|
68
|
+
__isSuspense?: never;
|
|
69
|
+
} & vue172.ComponentOptionsBase<Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
70
|
+
$slots: {
|
|
71
|
+
default?: (props: {}) => any;
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
Image: {
|
|
75
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<AvatarImageProps> & Readonly<{
|
|
76
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
77
|
+
onError?: ((e: Event) => any) | undefined;
|
|
78
|
+
}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {
|
|
79
|
+
load: (e: Event) => any;
|
|
80
|
+
error: (e: Event) => any;
|
|
81
|
+
}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
82
|
+
P: {};
|
|
83
|
+
B: {};
|
|
84
|
+
D: {};
|
|
85
|
+
C: {};
|
|
86
|
+
M: {};
|
|
87
|
+
Defaults: {};
|
|
88
|
+
}, Readonly<AvatarImageProps> & Readonly<{
|
|
89
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
90
|
+
onError?: ((e: Event) => any) | undefined;
|
|
91
|
+
}>, {}, {}, {}, {}, {}>;
|
|
92
|
+
__isFragment?: never;
|
|
93
|
+
__isTeleport?: never;
|
|
94
|
+
__isSuspense?: never;
|
|
95
|
+
} & vue172.ComponentOptionsBase<Readonly<AvatarImageProps> & Readonly<{
|
|
96
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
97
|
+
onError?: ((e: Event) => any) | undefined;
|
|
98
|
+
}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {
|
|
99
|
+
load: (e: Event) => any;
|
|
100
|
+
error: (e: Event) => any;
|
|
101
|
+
}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
102
|
+
$slots: {
|
|
103
|
+
default: (props: {
|
|
104
|
+
src: string;
|
|
105
|
+
onError: (e: Event) => void;
|
|
106
|
+
onLoad: (e: Event) => void;
|
|
107
|
+
role: string;
|
|
108
|
+
}) => any;
|
|
109
|
+
};
|
|
110
|
+
});
|
|
111
|
+
Root: {
|
|
112
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
113
|
+
P: {};
|
|
114
|
+
B: {};
|
|
115
|
+
D: {};
|
|
116
|
+
C: {};
|
|
117
|
+
M: {};
|
|
118
|
+
Defaults: {};
|
|
119
|
+
}, Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
120
|
+
__isFragment?: never;
|
|
121
|
+
__isTeleport?: never;
|
|
122
|
+
__isSuspense?: never;
|
|
123
|
+
} & vue172.ComponentOptionsBase<Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
124
|
+
$slots: {
|
|
125
|
+
default?: (props: {}) => any;
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/components/Breakpoints/BreakpointsItem.vue.d.ts
|
|
131
|
+
interface BreakpointsSlots {
|
|
132
|
+
default: (scope: BreakpointsContext) => any;
|
|
133
|
+
xs?: (scope: BreakpointsContext) => any;
|
|
134
|
+
sm?: (scope: BreakpointsContext) => any;
|
|
135
|
+
md?: (scope: BreakpointsContext) => any;
|
|
136
|
+
lg?: (scope: BreakpointsContext) => any;
|
|
137
|
+
xl?: (scope: BreakpointsContext) => any;
|
|
138
|
+
xxl?: (scope: BreakpointsContext) => any;
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/components/Breakpoints/BreakpointsRoot.vue.d.ts
|
|
142
|
+
interface BreakpointsRootProps extends BreakpointsOptions {}
|
|
143
|
+
interface BreakpointsRootSlots {
|
|
144
|
+
default: (scope: BreakpointsContext) => any;
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/components/Breakpoints/index.d.ts
|
|
148
|
+
declare const Breakpoints: {
|
|
149
|
+
Item: {
|
|
150
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, true, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
151
|
+
P: {};
|
|
152
|
+
B: {};
|
|
153
|
+
D: {};
|
|
154
|
+
C: {};
|
|
155
|
+
M: {};
|
|
156
|
+
Defaults: {};
|
|
157
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
158
|
+
__isFragment?: never;
|
|
159
|
+
__isTeleport?: never;
|
|
160
|
+
__isSuspense?: never;
|
|
161
|
+
} & vue172.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
162
|
+
$slots: BreakpointsSlots;
|
|
163
|
+
});
|
|
164
|
+
Root: {
|
|
165
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<BreakpointsRootProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
166
|
+
P: {};
|
|
167
|
+
B: {};
|
|
168
|
+
D: {};
|
|
169
|
+
C: {};
|
|
170
|
+
M: {};
|
|
171
|
+
Defaults: {};
|
|
172
|
+
}, Readonly<BreakpointsRootProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
173
|
+
__isFragment?: never;
|
|
174
|
+
__isTeleport?: never;
|
|
175
|
+
__isSuspense?: never;
|
|
176
|
+
} & vue172.ComponentOptionsBase<Readonly<BreakpointsRootProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
177
|
+
$slots: BreakpointsRootSlots;
|
|
178
|
+
});
|
|
179
|
+
};
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/Context/ContextItem.vue.d.ts
|
|
182
|
+
interface ContextSlots<T> {
|
|
183
|
+
default: (props: {
|
|
184
|
+
value: T;
|
|
185
|
+
}) => any;
|
|
186
|
+
}
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region src/components/Context/ContextRoot.vue.d.ts
|
|
189
|
+
interface ContextRootSlots {
|
|
190
|
+
default: () => any;
|
|
191
|
+
}
|
|
192
|
+
//#endregion
|
|
193
|
+
//#region src/components/Context/index.d.ts
|
|
194
|
+
declare const Context: {
|
|
195
|
+
Item: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
196
|
+
attrs: any;
|
|
197
|
+
emit: {};
|
|
198
|
+
slots: ContextSlots<T>;
|
|
199
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
200
|
+
props: {
|
|
201
|
+
contextKey?: string | vue172.InjectionKey<T> | undefined;
|
|
202
|
+
value?: T | undefined;
|
|
203
|
+
} & vue172.PublicProps;
|
|
204
|
+
expose(exposed: vue172.ShallowUnwrapRef<{}>): void;
|
|
205
|
+
attrs: any;
|
|
206
|
+
slots: ContextSlots<T>;
|
|
207
|
+
emit: {};
|
|
208
|
+
}>) => vue172.VNode & {
|
|
209
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
210
|
+
};
|
|
211
|
+
Root: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
212
|
+
attrs: any;
|
|
213
|
+
emit: {};
|
|
214
|
+
slots: ContextRootSlots;
|
|
215
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
216
|
+
props: {
|
|
217
|
+
contextKey: string | vue172.InjectionKey<T>;
|
|
218
|
+
value: T;
|
|
219
|
+
} & vue172.PublicProps;
|
|
220
|
+
expose(exposed: vue172.ShallowUnwrapRef<{}>): void;
|
|
221
|
+
attrs: any;
|
|
222
|
+
slots: ContextRootSlots;
|
|
223
|
+
emit: {};
|
|
224
|
+
}>) => vue172.VNode & {
|
|
225
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region src/components/Hydration/Hydration.vue.d.ts
|
|
230
|
+
interface HydrationSlots {
|
|
231
|
+
default: (scope: HydrationContext) => any;
|
|
232
|
+
}
|
|
233
|
+
declare const _default$1: __VLS_WithSlots$1<vue172.DefineComponent<{}, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, vue172.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue172.ComponentProvideOptions, true, {}, any>, HydrationSlots>;
|
|
234
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
235
|
+
new (): {
|
|
236
|
+
$slots: S;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
//#endregion
|
|
240
|
+
//#region src/components/Hydration/HydrationRoot.vue.d.ts
|
|
241
|
+
interface HydrationRootSlots {
|
|
242
|
+
default: (scope: HydrationContext) => any;
|
|
243
|
+
}
|
|
244
|
+
declare const _default: __VLS_WithSlots<vue172.DefineComponent<{}, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, vue172.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue172.ComponentProvideOptions, true, {}, any>, HydrationRootSlots>;
|
|
245
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
246
|
+
new (): {
|
|
247
|
+
$slots: S;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/components/Popover/PopoverRoot.vue.d.ts
|
|
252
|
+
interface PopoverContext {
|
|
253
|
+
isSelected: ShallowRef<boolean>;
|
|
254
|
+
id: string;
|
|
255
|
+
toggle: () => void;
|
|
256
|
+
}
|
|
257
|
+
interface PopoverRootProps extends AtomProps {
|
|
258
|
+
id?: string;
|
|
259
|
+
}
|
|
260
|
+
declare const usePopoverContext: (key?: ContextKey<PopoverContext>) => PopoverContext, providePopoverContext: (context: PopoverContext, app?: vue172.App) => PopoverContext;
|
|
261
|
+
//#endregion
|
|
262
|
+
//#region src/components/Popover/PopoverAnchor.vue.d.ts
|
|
263
|
+
interface PopoverAnchorProps extends AtomProps {
|
|
264
|
+
target?: string;
|
|
265
|
+
}
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region src/components/Popover/PopoverContent.vue.d.ts
|
|
268
|
+
interface PopoverContentProps extends AtomProps {
|
|
269
|
+
id?: string;
|
|
270
|
+
positionArea?: string;
|
|
271
|
+
positionTry?: string;
|
|
272
|
+
}
|
|
273
|
+
interface PopoverContentEmits {
|
|
274
|
+
beforetoggle: [e: ToggleEvent];
|
|
275
|
+
}
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region src/components/Popover/index.d.ts
|
|
278
|
+
declare const Popover: {
|
|
279
|
+
Root: {
|
|
280
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<PopoverRootProps & {
|
|
281
|
+
modelValue?: boolean;
|
|
282
|
+
}> & Readonly<{
|
|
283
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
284
|
+
}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {
|
|
285
|
+
"update:modelValue": (value: boolean) => any;
|
|
286
|
+
}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
287
|
+
P: {};
|
|
288
|
+
B: {};
|
|
289
|
+
D: {};
|
|
290
|
+
C: {};
|
|
291
|
+
M: {};
|
|
292
|
+
Defaults: {};
|
|
293
|
+
}, Readonly<PopoverRootProps & {
|
|
294
|
+
modelValue?: boolean;
|
|
295
|
+
}> & Readonly<{
|
|
296
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
297
|
+
}>, {}, {}, {}, {}, {}>;
|
|
298
|
+
__isFragment?: never;
|
|
299
|
+
__isTeleport?: never;
|
|
300
|
+
__isSuspense?: never;
|
|
301
|
+
} & vue172.ComponentOptionsBase<Readonly<PopoverRootProps & {
|
|
302
|
+
modelValue?: boolean;
|
|
303
|
+
}> & Readonly<{
|
|
304
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
305
|
+
}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {
|
|
306
|
+
"update:modelValue": (value: boolean) => any;
|
|
307
|
+
}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
308
|
+
$slots: {
|
|
309
|
+
default: (props: {
|
|
310
|
+
id: Readonly<vue172.Ref<string, string>>;
|
|
311
|
+
isSelected: vue172.ModelRef<boolean, string, boolean, boolean>;
|
|
312
|
+
toggle: () => void;
|
|
313
|
+
}) => any;
|
|
314
|
+
};
|
|
315
|
+
});
|
|
316
|
+
Anchor: {
|
|
317
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
318
|
+
P: {};
|
|
319
|
+
B: {};
|
|
320
|
+
D: {};
|
|
321
|
+
C: {};
|
|
322
|
+
M: {};
|
|
323
|
+
Defaults: {};
|
|
324
|
+
}, Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
325
|
+
__isFragment?: never;
|
|
326
|
+
__isTeleport?: never;
|
|
327
|
+
__isSuspense?: never;
|
|
328
|
+
} & vue172.ComponentOptionsBase<Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
329
|
+
$slots: {
|
|
330
|
+
default?: (props: {}) => any;
|
|
331
|
+
};
|
|
332
|
+
});
|
|
333
|
+
Content: {
|
|
334
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<PopoverContentProps> & Readonly<{
|
|
335
|
+
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
336
|
+
}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {
|
|
337
|
+
beforetoggle: (e: ToggleEvent) => any;
|
|
338
|
+
}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
339
|
+
P: {};
|
|
340
|
+
B: {};
|
|
341
|
+
D: {};
|
|
342
|
+
C: {};
|
|
343
|
+
M: {};
|
|
344
|
+
Defaults: {};
|
|
345
|
+
}, Readonly<PopoverContentProps> & Readonly<{
|
|
346
|
+
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
347
|
+
}>, {}, {}, {}, {}, {}>;
|
|
348
|
+
__isFragment?: never;
|
|
349
|
+
__isTeleport?: never;
|
|
350
|
+
__isSuspense?: never;
|
|
351
|
+
} & vue172.ComponentOptionsBase<Readonly<PopoverContentProps> & Readonly<{
|
|
352
|
+
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
353
|
+
}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {
|
|
354
|
+
beforetoggle: (e: ToggleEvent) => any;
|
|
355
|
+
}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
356
|
+
$slots: {
|
|
357
|
+
default?: (props: {}) => any;
|
|
358
|
+
};
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
//#endregion
|
|
362
|
+
//#region src/components/Theme/ThemeItem.vue.d.ts
|
|
363
|
+
interface ThemeSlots {
|
|
364
|
+
default: (scope: ThemeContext<ThemeTicket>) => any;
|
|
365
|
+
}
|
|
366
|
+
//#endregion
|
|
367
|
+
//#region src/components/Theme/ThemeRoot.vue.d.ts
|
|
368
|
+
interface ThemeRootProps {
|
|
369
|
+
namespace?: string;
|
|
370
|
+
themes?: ThemeTicket[];
|
|
371
|
+
}
|
|
372
|
+
interface ThemeRootSlots {
|
|
373
|
+
default: (scope: ThemeContext<ThemeTicket>) => any;
|
|
374
|
+
}
|
|
375
|
+
//#endregion
|
|
376
|
+
//#region src/components/Theme/index.d.ts
|
|
377
|
+
declare const Theme: {
|
|
378
|
+
Item: {
|
|
379
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, true, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
380
|
+
P: {};
|
|
381
|
+
B: {};
|
|
382
|
+
D: {};
|
|
383
|
+
C: {};
|
|
384
|
+
M: {};
|
|
385
|
+
Defaults: {};
|
|
386
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
387
|
+
__isFragment?: never;
|
|
388
|
+
__isTeleport?: never;
|
|
389
|
+
__isSuspense?: never;
|
|
390
|
+
} & vue172.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
391
|
+
$slots: ThemeSlots;
|
|
392
|
+
});
|
|
393
|
+
Root: {
|
|
394
|
+
new (...args: any[]): vue172.CreateComponentPublicInstanceWithMixins<Readonly<ThemeRootProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, vue172.PublicProps, {}, false, {}, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, {}, any, vue172.ComponentProvideOptions, {
|
|
395
|
+
P: {};
|
|
396
|
+
B: {};
|
|
397
|
+
D: {};
|
|
398
|
+
C: {};
|
|
399
|
+
M: {};
|
|
400
|
+
Defaults: {};
|
|
401
|
+
}, Readonly<ThemeRootProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
402
|
+
__isFragment?: never;
|
|
403
|
+
__isTeleport?: never;
|
|
404
|
+
__isSuspense?: never;
|
|
405
|
+
} & vue172.ComponentOptionsBase<Readonly<ThemeRootProps> & Readonly<{}>, {}, {}, {}, {}, vue172.ComponentOptionsMixin, vue172.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue172.GlobalComponents, vue172.GlobalDirectives, string, vue172.ComponentProvideOptions> & vue172.VNodeProps & vue172.AllowedComponentProps & vue172.ComponentCustomProps & (new () => {
|
|
406
|
+
$slots: ThemeRootSlots;
|
|
407
|
+
});
|
|
408
|
+
};
|
|
409
|
+
//#endregion
|
|
410
|
+
export { AvatarImageEmits as C, AtomProps as D, AtomExpose as E, AtomSlots as O, useAvatarContext as S, AvatarFallbackProps as T, Avatar as _, Popover as a, provideAvatarContext as b, PopoverAnchorProps as c, providePopoverContext as d, usePopoverContext as f, Breakpoints as g, Context as h, ThemeSlots as i, _default$2 as k, PopoverContext as l, _default$1 as m, ThemeRootProps as n, PopoverContentEmits as o, _default as p, ThemeRootSlots as r, PopoverContentProps as s, Theme as t, PopoverRootProps as u, AvatarContext as v, AvatarImageProps as w, registry as x, AvatarRootProps as y };
|