@vuetify/v0 0.0.21 → 0.0.23
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 +34 -27
- package/dist/browser/index.js +7353 -4921
- package/dist/components/index.d.mts +4 -4
- package/dist/components/index.mjs +5 -5
- package/dist/{components-BomyjmT3.mjs → components-BI9xdoz5.mjs} +1171 -122
- package/dist/composables/index.d.mts +4 -4
- package/dist/composables/index.mjs +4 -5
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +2 -2
- package/dist/{globals-C3JrEDXZ.mjs → globals-WKdFmgwy.mjs} +1 -1
- package/dist/{index-MLb3LH9a.d.mts → index-Bby5ljat.d.mts} +55 -55
- package/dist/{index-CxeZr8jO.d.mts → index-C8YcMooA.d.mts} +6 -2
- package/dist/index-_y91DmIS.d.mts +4019 -0
- package/dist/{index-OU0IRbIS.d.mts → index-rcTqb9U3.d.mts} +610 -71
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +6 -7
- package/dist/json/attributes.json +898 -0
- package/dist/json/importMap.json +176 -0
- package/dist/json/tags.json +441 -0
- package/dist/json/web-types.json +2132 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/useClickOutside-B47X8X6-.mjs +7656 -0
- package/dist/utilities/index.d.mts +3 -3
- package/dist/utilities/index.mjs +2 -2
- package/dist/{utilities-CjDz-Xvn.mjs → utilities-9i1hJnMd.mjs} +28 -1
- package/package.json +10 -4
- package/dist/composables-CbAPZabd.mjs +0 -3113
- package/dist/index-B0QJdwz9.d.mts +0 -2488
- package/dist/useStep-CfgBbrJB.mjs +0 -3192
- /package/dist/{constants-DypzAkYp.mjs → constants-3l8TGg5J.mjs} +0 -0
- /package/dist/{index-B9mKi4pr.d.mts → index-DMQJJUrv.d.mts} +0 -0
- /package/dist/{index-4jSy8KIt.d.mts → index-DYSwiS9k.d.mts} +0 -0
|
@@ -1,2488 +0,0 @@
|
|
|
1
|
-
import { i as ID, t as DOMElement } from "./index-4jSy8KIt.mjs";
|
|
2
|
-
import { B as RegistryTicket, I as RegistryContext, M as SelectionTicket, S as GroupContext, T as GroupTicket, c as SingleContext, d as SingleTicket, h as PaginationContext, i as StepTicket, k as SelectionContext, t as StepContext, v as PaginationTicket } from "./index-MLb3LH9a.mjs";
|
|
3
|
-
import * as vue370 from "vue";
|
|
4
|
-
import { MaybeRef, Ref, ShallowRef, TemplateRef } from "vue";
|
|
5
|
-
|
|
6
|
-
//#region src/components/Atom/Atom.vue.d.ts
|
|
7
|
-
/**
|
|
8
|
-
* Props for the Atom component
|
|
9
|
-
*/
|
|
10
|
-
interface AtomProps {
|
|
11
|
-
/**
|
|
12
|
-
* The HTML element to render as, or null for renderless mode
|
|
13
|
-
* @default 'div'
|
|
14
|
-
*/
|
|
15
|
-
as?: DOMElement | null;
|
|
16
|
-
/**
|
|
17
|
-
* When true, renders slot content directly without a wrapper element
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
renderless?: boolean;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Slot types for the Atom component
|
|
24
|
-
* @template T - The type of props passed to the slot
|
|
25
|
-
*/
|
|
26
|
-
interface AtomSlots<T> {
|
|
27
|
-
/**
|
|
28
|
-
* Default slot that receives all forwarded attributes as props
|
|
29
|
-
*/
|
|
30
|
-
default: (props: T) => any;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Values exposed by the Atom component via defineExpose
|
|
34
|
-
*/
|
|
35
|
-
interface AtomExpose {
|
|
36
|
-
/**
|
|
37
|
-
* Template ref to the rendered HTML element (null in renderless mode)
|
|
38
|
-
*/
|
|
39
|
-
element: TemplateRef<HTMLElement | null>;
|
|
40
|
-
}
|
|
41
|
-
interface AtomPrivateProps extends AtomProps {}
|
|
42
|
-
declare const _default$27: typeof __VLS_export$27;
|
|
43
|
-
declare const __VLS_export$27: <T extends Record<string, any> = {}>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$11<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
44
|
-
props: __VLS_PrettifyLocal$11<AtomPrivateProps> & vue370.PublicProps & (typeof globalThis extends {
|
|
45
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
46
|
-
} ? P : {});
|
|
47
|
-
expose: (exposed: vue370.ShallowUnwrapRef<AtomExpose>) => void;
|
|
48
|
-
attrs: any;
|
|
49
|
-
slots: AtomSlots<T>;
|
|
50
|
-
emit: {};
|
|
51
|
-
}>) => vue370.VNode & {
|
|
52
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
53
|
-
};
|
|
54
|
-
type __VLS_PrettifyLocal$11<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region src/components/Avatar/AvatarRoot.vue.d.ts
|
|
57
|
-
interface AvatarRootProps extends AtomProps {
|
|
58
|
-
/** Namespace for dependency injection */
|
|
59
|
-
namespace?: string;
|
|
60
|
-
}
|
|
61
|
-
interface AvatarTicket extends SelectionTicket {
|
|
62
|
-
type?: 'image' | 'fallback';
|
|
63
|
-
priority?: number;
|
|
64
|
-
}
|
|
65
|
-
interface AvatarContext extends SelectionContext<AvatarTicket> {}
|
|
66
|
-
declare const useAvatarRoot: (key: string, defaultValue?: AvatarContext | undefined) => AvatarContext, provideAvatarContext: (key: string, context: AvatarContext, app?: vue370.App) => AvatarContext;
|
|
67
|
-
declare const _default$26: typeof __VLS_export$26;
|
|
68
|
-
declare const __VLS_export$26: __VLS_WithSlots$15<vue370.DefineComponent<AvatarRootProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
69
|
-
default?: (props: {}) => any;
|
|
70
|
-
}>;
|
|
71
|
-
type __VLS_WithSlots$15<T, S> = T & {
|
|
72
|
-
new (): {
|
|
73
|
-
$slots: S;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
//#endregion
|
|
77
|
-
//#region src/components/Avatar/AvatarImage.vue.d.ts
|
|
78
|
-
interface AvatarImageProps extends AtomProps {
|
|
79
|
-
/** Image source URL */
|
|
80
|
-
src?: string;
|
|
81
|
-
/** Priority for display order (higher = more preferred) */
|
|
82
|
-
priority?: number;
|
|
83
|
-
/** Namespace for retrieving avatar context */
|
|
84
|
-
namespace?: string;
|
|
85
|
-
}
|
|
86
|
-
interface AvatarImageEmits {
|
|
87
|
-
load: [e: Event];
|
|
88
|
-
error: [e: Event];
|
|
89
|
-
}
|
|
90
|
-
interface AvatarImageSlotProps {
|
|
91
|
-
/** Whether this image is currently visible */
|
|
92
|
-
isSelected: boolean;
|
|
93
|
-
/** Attributes to bind to the image element */
|
|
94
|
-
attrs: {
|
|
95
|
-
role: 'img';
|
|
96
|
-
src?: string;
|
|
97
|
-
onLoad: (e: Event) => void;
|
|
98
|
-
onError: (e: Event) => void;
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
declare const _default$25: typeof __VLS_export$25;
|
|
102
|
-
declare const __VLS_export$25: __VLS_WithSlots$14<vue370.DefineComponent<AvatarImageProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
103
|
-
error: (e: Event) => any;
|
|
104
|
-
load: (e: Event) => any;
|
|
105
|
-
}, string, vue370.PublicProps, Readonly<AvatarImageProps> & Readonly<{
|
|
106
|
-
onError?: ((e: Event) => any) | undefined;
|
|
107
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
108
|
-
}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
109
|
-
default: (props: AvatarImageSlotProps) => any;
|
|
110
|
-
}>;
|
|
111
|
-
type __VLS_WithSlots$14<T, S> = T & {
|
|
112
|
-
new (): {
|
|
113
|
-
$slots: S;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
//#endregion
|
|
117
|
-
//#region src/components/Avatar/AvatarFallback.vue.d.ts
|
|
118
|
-
interface AvatarFallbackProps extends AtomProps {
|
|
119
|
-
/** Namespace for retrieving avatar context */
|
|
120
|
-
namespace?: string;
|
|
121
|
-
}
|
|
122
|
-
interface AvatarFallbackSlotProps {
|
|
123
|
-
/** Whether this fallback is currently visible */
|
|
124
|
-
isSelected: boolean;
|
|
125
|
-
}
|
|
126
|
-
declare const _default$24: typeof __VLS_export$24;
|
|
127
|
-
declare const __VLS_export$24: __VLS_WithSlots$13<vue370.DefineComponent<AvatarFallbackProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
128
|
-
default: (props: AvatarFallbackSlotProps) => any;
|
|
129
|
-
}>;
|
|
130
|
-
type __VLS_WithSlots$13<T, S> = T & {
|
|
131
|
-
new (): {
|
|
132
|
-
$slots: S;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region src/components/Avatar/index.d.ts
|
|
137
|
-
/**
|
|
138
|
-
* Avatar component with sub-components for building avatars.
|
|
139
|
-
*
|
|
140
|
-
* @see https://0.vuetifyjs.com/components/avatar
|
|
141
|
-
*/
|
|
142
|
-
declare const Avatar: {
|
|
143
|
-
/**
|
|
144
|
-
* Root component for avatars.
|
|
145
|
-
*
|
|
146
|
-
* @see https://0.vuetifyjs.com/components/avatar
|
|
147
|
-
*
|
|
148
|
-
* @example
|
|
149
|
-
* ```vue
|
|
150
|
-
* <script lang="ts" setup>
|
|
151
|
-
* import { Avatar } from '@vuetify/v0'
|
|
152
|
-
* </script>
|
|
153
|
-
*
|
|
154
|
-
* <template>
|
|
155
|
-
* <Avatar.Root>
|
|
156
|
-
* <Avatar.Image src="/avatar.jpg" />
|
|
157
|
-
*
|
|
158
|
-
* <Avatar.Fallback>JD</Avatar.Fallback>
|
|
159
|
-
* </Avatar.Root>
|
|
160
|
-
* </template>
|
|
161
|
-
* ```
|
|
162
|
-
*/
|
|
163
|
-
Root: {
|
|
164
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
165
|
-
P: {};
|
|
166
|
-
B: {};
|
|
167
|
-
D: {};
|
|
168
|
-
C: {};
|
|
169
|
-
M: {};
|
|
170
|
-
Defaults: {};
|
|
171
|
-
}, Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
172
|
-
__isFragment?: never;
|
|
173
|
-
__isTeleport?: never;
|
|
174
|
-
__isSuspense?: never;
|
|
175
|
-
} & vue370.ComponentOptionsBase<Readonly<AvatarRootProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
176
|
-
$slots: {
|
|
177
|
-
default?: (props: {}) => any;
|
|
178
|
-
};
|
|
179
|
-
});
|
|
180
|
-
/**
|
|
181
|
-
* Component for displaying the avatar image.
|
|
182
|
-
*
|
|
183
|
-
* @see https://0.vuetifyjs.com/components/avatar#avatarimage
|
|
184
|
-
*
|
|
185
|
-
* @example
|
|
186
|
-
* ```vue
|
|
187
|
-
* <script lang="ts" setup>
|
|
188
|
-
* import { Avatar } from '@vuetify/v0'
|
|
189
|
-
* </script>
|
|
190
|
-
*
|
|
191
|
-
* <template>
|
|
192
|
-
* <Avatar.Image src="/avatar.jpg" alt="User avatar" />
|
|
193
|
-
* </template>
|
|
194
|
-
* ```
|
|
195
|
-
*/
|
|
196
|
-
Image: {
|
|
197
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<AvatarImageProps> & Readonly<{
|
|
198
|
-
onError?: ((e: Event) => any) | undefined;
|
|
199
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
200
|
-
}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
201
|
-
error: (e: Event) => any;
|
|
202
|
-
load: (e: Event) => any;
|
|
203
|
-
}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
204
|
-
P: {};
|
|
205
|
-
B: {};
|
|
206
|
-
D: {};
|
|
207
|
-
C: {};
|
|
208
|
-
M: {};
|
|
209
|
-
Defaults: {};
|
|
210
|
-
}, Readonly<AvatarImageProps> & Readonly<{
|
|
211
|
-
onError?: ((e: Event) => any) | undefined;
|
|
212
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
213
|
-
}>, {}, {}, {}, {}, {}>;
|
|
214
|
-
__isFragment?: never;
|
|
215
|
-
__isTeleport?: never;
|
|
216
|
-
__isSuspense?: never;
|
|
217
|
-
} & vue370.ComponentOptionsBase<Readonly<AvatarImageProps> & Readonly<{
|
|
218
|
-
onError?: ((e: Event) => any) | undefined;
|
|
219
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
220
|
-
}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
221
|
-
error: (e: Event) => any;
|
|
222
|
-
load: (e: Event) => any;
|
|
223
|
-
}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
224
|
-
$slots: {
|
|
225
|
-
default: (props: AvatarImageSlotProps) => any;
|
|
226
|
-
};
|
|
227
|
-
});
|
|
228
|
-
/**
|
|
229
|
-
* Component for displaying fallback content when image fails to load.
|
|
230
|
-
*
|
|
231
|
-
* @see https://0.vuetifyjs.com/components/avatar#avatarfallback
|
|
232
|
-
*
|
|
233
|
-
* @example
|
|
234
|
-
* ```vue
|
|
235
|
-
* <script lang="ts" setup>
|
|
236
|
-
* import { Avatar } from '@vuetify/v0'
|
|
237
|
-
* </script>
|
|
238
|
-
*
|
|
239
|
-
* <template>
|
|
240
|
-
* <Avatar.Fallback>
|
|
241
|
-
* JD
|
|
242
|
-
* </Avatar.Fallback>
|
|
243
|
-
* </template>
|
|
244
|
-
* ```
|
|
245
|
-
*/
|
|
246
|
-
Fallback: {
|
|
247
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
248
|
-
P: {};
|
|
249
|
-
B: {};
|
|
250
|
-
D: {};
|
|
251
|
-
C: {};
|
|
252
|
-
M: {};
|
|
253
|
-
Defaults: {};
|
|
254
|
-
}, Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
255
|
-
__isFragment?: never;
|
|
256
|
-
__isTeleport?: never;
|
|
257
|
-
__isSuspense?: never;
|
|
258
|
-
} & vue370.ComponentOptionsBase<Readonly<AvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
259
|
-
$slots: {
|
|
260
|
-
default: (props: AvatarFallbackSlotProps) => any;
|
|
261
|
-
};
|
|
262
|
-
});
|
|
263
|
-
};
|
|
264
|
-
//#endregion
|
|
265
|
-
//#region src/components/ExpansionPanel/ExpansionPanelRoot.vue.d.ts
|
|
266
|
-
interface ExpansionPanelOptionsContext {
|
|
267
|
-
/** Disabled state of the entire expansion panel */
|
|
268
|
-
isDisabled: Readonly<Ref<boolean>>;
|
|
269
|
-
}
|
|
270
|
-
interface ExpansionPanelRootProps extends AtomProps {
|
|
271
|
-
/** Namespace for dependency injection (default: 'v0:expansion-panel') */
|
|
272
|
-
namespace?: string;
|
|
273
|
-
/** Disables the entire expansion panel instance and all items */
|
|
274
|
-
disabled?: boolean;
|
|
275
|
-
/** Auto-expand non-disabled items when registered */
|
|
276
|
-
enroll?: boolean;
|
|
277
|
-
/**
|
|
278
|
-
* Mandatory expansion behavior:
|
|
279
|
-
* - false (default): All panels can be collapsed
|
|
280
|
-
* - true: Prevents collapsing the last expanded panel
|
|
281
|
-
* - 'force': Automatically expands the first non-disabled panel
|
|
282
|
-
*/
|
|
283
|
-
mandatory?: boolean | 'force';
|
|
284
|
-
/**
|
|
285
|
-
* Enable multi-expansion mode
|
|
286
|
-
* - false (default): Single panel expanded at a time (accordion mode)
|
|
287
|
-
* - true: Multiple panels can be expanded simultaneously
|
|
288
|
-
* Note: Changes v-model type from T to T[]
|
|
289
|
-
*/
|
|
290
|
-
multiple?: boolean;
|
|
291
|
-
}
|
|
292
|
-
interface ExpansionPanelRootSlotProps {
|
|
293
|
-
/** Disables the entire expansion panel instance and all registered items */
|
|
294
|
-
isDisabled: Readonly<Ref<boolean>>;
|
|
295
|
-
/** Select a panel by ID */
|
|
296
|
-
select: (id: ID) => void;
|
|
297
|
-
/** Unselect a panel by ID */
|
|
298
|
-
unselect: (id: ID) => void;
|
|
299
|
-
/** Toggle a panel's expansion state by ID */
|
|
300
|
-
toggle: (id: ID) => void;
|
|
301
|
-
}
|
|
302
|
-
declare const useExpansionPanelRoot: (key: string, defaultValue?: SelectionContext<SelectionTicket<unknown>> | undefined) => SelectionContext<SelectionTicket<unknown>>, provideExpansionPanelSelection: (key: string, context: SelectionContext<SelectionTicket<unknown>>, app?: vue370.App) => SelectionContext<SelectionTicket<unknown>>;
|
|
303
|
-
declare const _default$23: typeof __VLS_export$23;
|
|
304
|
-
declare const __VLS_export$23: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$10<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
305
|
-
props: __VLS_PrettifyLocal$10<(ExpansionPanelRootProps & {
|
|
306
|
-
modelValue?: T | T[];
|
|
307
|
-
}) & {
|
|
308
|
-
[x: `on${Capitalize<string>}`]: ((...args: any) => any) | undefined;
|
|
309
|
-
}> & vue370.PublicProps & (typeof globalThis extends {
|
|
310
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
311
|
-
} ? P : {});
|
|
312
|
-
expose: (exposed: {}) => void;
|
|
313
|
-
attrs: any;
|
|
314
|
-
slots: {
|
|
315
|
-
default: (props: ExpansionPanelRootSlotProps) => any;
|
|
316
|
-
};
|
|
317
|
-
emit: ((evt: "update:model-value", ...args: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
318
|
-
}>) => vue370.VNode & {
|
|
319
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
320
|
-
};
|
|
321
|
-
type __VLS_PrettifyLocal$10<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region src/components/ExpansionPanel/ExpansionPanelItem.vue.d.ts
|
|
324
|
-
interface ExpansionPanelItemProps<V = unknown> extends AtomProps {
|
|
325
|
-
/** Unique identifier for the panel item (auto-generated if not provided) */
|
|
326
|
-
id?: string;
|
|
327
|
-
/** Value associated with this panel item for v-model binding */
|
|
328
|
-
value?: V;
|
|
329
|
-
/** Disables this specific panel item */
|
|
330
|
-
disabled?: MaybeRef<boolean>;
|
|
331
|
-
/** Namespace to retrieve the parent ExpansionPanelRoot context (default: 'v0:expansion-panel') */
|
|
332
|
-
namespace?: string;
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Context provided to child components (ExpansionPanelActivator and ExpansionPanelContent)
|
|
336
|
-
* via dependency injection using the itemNamespace.
|
|
337
|
-
*/
|
|
338
|
-
interface ExpansionPanelItemContext {
|
|
339
|
-
/** Selection ticket from the parent ExpansionPanel registry */
|
|
340
|
-
ticket: SelectionTicket;
|
|
341
|
-
/** Unique ID for the header/activator element (for aria-controls) */
|
|
342
|
-
headerId: Readonly<Ref<string>>;
|
|
343
|
-
/** Unique ID for the content region (for aria-labelledby) */
|
|
344
|
-
contentId: Readonly<Ref<string>>;
|
|
345
|
-
/** Combined disabled state from item and parent */
|
|
346
|
-
isDisabled: Readonly<Ref<boolean>>;
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
* Slot props provided to the default slot of ExpansionPanelItem
|
|
350
|
-
*/
|
|
351
|
-
interface ExpansionPanelItemSlotProps {
|
|
352
|
-
/** Whether this panel is currently selected/expanded */
|
|
353
|
-
isSelected: boolean;
|
|
354
|
-
/** Combined disabled state from item and parent */
|
|
355
|
-
isDisabled: boolean;
|
|
356
|
-
/** Attributes to bind to the root element for accessibility */
|
|
357
|
-
attrs: {
|
|
358
|
-
/** Data attribute for selected state */
|
|
359
|
-
'data-selected': true | undefined;
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
declare const useExpansionPanelItem: (key: string, defaultValue?: ExpansionPanelItemContext | undefined) => ExpansionPanelItemContext, provideExpansionPanelItem: (key: string, context: ExpansionPanelItemContext, app?: vue370.App) => ExpansionPanelItemContext;
|
|
363
|
-
declare const _default$22: typeof __VLS_export$22;
|
|
364
|
-
declare const __VLS_export$22: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$9<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
365
|
-
props: __VLS_PrettifyLocal$9<ExpansionPanelItemProps<V>> & vue370.PublicProps & (typeof globalThis extends {
|
|
366
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
367
|
-
} ? P : {});
|
|
368
|
-
expose: (exposed: {}) => void;
|
|
369
|
-
attrs: any;
|
|
370
|
-
slots: {
|
|
371
|
-
default: (props: ExpansionPanelItemSlotProps) => any;
|
|
372
|
-
};
|
|
373
|
-
emit: {};
|
|
374
|
-
}>) => vue370.VNode & {
|
|
375
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
376
|
-
};
|
|
377
|
-
type __VLS_PrettifyLocal$9<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue.d.ts
|
|
380
|
-
interface ExpansionPanelHeaderProps extends AtomProps {
|
|
381
|
-
/** Namespace for retrieving the parent ExpansionPanelItem context (default: 'v0:expansion-panel') */
|
|
382
|
-
namespace?: string;
|
|
383
|
-
}
|
|
384
|
-
interface ExpansionPanelHeaderSlotProps {
|
|
385
|
-
/** Whether this panel is currently selected/expanded */
|
|
386
|
-
isSelected: boolean;
|
|
387
|
-
/** Attributes to bind to the root element for accessibility */
|
|
388
|
-
attrs: {
|
|
389
|
-
/** Data attribute for selected state */
|
|
390
|
-
'data-selected': true | undefined;
|
|
391
|
-
};
|
|
392
|
-
}
|
|
393
|
-
declare const _default$21: typeof __VLS_export$21;
|
|
394
|
-
declare const __VLS_export$21: __VLS_WithSlots$12<vue370.DefineComponent<ExpansionPanelHeaderProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<ExpansionPanelHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
395
|
-
default: (props: ExpansionPanelHeaderSlotProps) => any;
|
|
396
|
-
}>;
|
|
397
|
-
type __VLS_WithSlots$12<T, S> = T & {
|
|
398
|
-
new (): {
|
|
399
|
-
$slots: S;
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
//#endregion
|
|
403
|
-
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue.d.ts
|
|
404
|
-
interface ExpansionPanelActivatorProps extends AtomProps {
|
|
405
|
-
namespace?: string;
|
|
406
|
-
}
|
|
407
|
-
interface ExpansionPanelActivatorSlotProps {
|
|
408
|
-
/** Disabled state */
|
|
409
|
-
isDisabled: boolean;
|
|
410
|
-
/** Whether this panel is currently selected/expanded */
|
|
411
|
-
isSelected: boolean;
|
|
412
|
-
/** Toggle the panels expansion state */
|
|
413
|
-
toggle: () => void;
|
|
414
|
-
/** Attributes to bind to the activator element for accessibility */
|
|
415
|
-
attrs: {
|
|
416
|
-
/** Unique ID for the header/activator element */
|
|
417
|
-
'id': string;
|
|
418
|
-
/** ARIA role for accessibility (only set when not using native button) */
|
|
419
|
-
'role': 'button' | undefined;
|
|
420
|
-
/** Tab index for keyboard navigation */
|
|
421
|
-
'tabindex': number;
|
|
422
|
-
/** ARIA expanded state */
|
|
423
|
-
'aria-expanded': boolean;
|
|
424
|
-
/** ARIA controls attribute pointing to content region */
|
|
425
|
-
'aria-controls': string;
|
|
426
|
-
/** ARIA disabled state */
|
|
427
|
-
'aria-disabled': boolean;
|
|
428
|
-
/** Data attribute for disabled state */
|
|
429
|
-
'data-disabled': true | undefined;
|
|
430
|
-
/** Data attribute for selected state */
|
|
431
|
-
'data-selected': true | undefined;
|
|
432
|
-
/** Disabled attribute for native button elements */
|
|
433
|
-
'disabled': boolean | undefined;
|
|
434
|
-
/** Type attribute for native button elements */
|
|
435
|
-
'type': 'button' | undefined;
|
|
436
|
-
/** Click handler to toggle panel */
|
|
437
|
-
'onClick': () => void;
|
|
438
|
-
/** Keyboard handler for Enter and Space keys */
|
|
439
|
-
'onKeydown': (e: KeyboardEvent) => void;
|
|
440
|
-
};
|
|
441
|
-
}
|
|
442
|
-
declare const _default$19: typeof __VLS_export$20;
|
|
443
|
-
declare const __VLS_export$20: __VLS_WithSlots$11<vue370.DefineComponent<ExpansionPanelActivatorProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<ExpansionPanelActivatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
444
|
-
default: (props: ExpansionPanelActivatorSlotProps) => any;
|
|
445
|
-
}>;
|
|
446
|
-
type __VLS_WithSlots$11<T, S> = T & {
|
|
447
|
-
new (): {
|
|
448
|
-
$slots: S;
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
//#endregion
|
|
452
|
-
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue.d.ts
|
|
453
|
-
interface ExpansionPanelContentProps extends AtomProps {
|
|
454
|
-
namespace?: string;
|
|
455
|
-
}
|
|
456
|
-
interface ExpansionPanelContentSlotProps {
|
|
457
|
-
/** Whether this panel is currently selected/expanded */
|
|
458
|
-
isSelected: boolean;
|
|
459
|
-
/** Attributes to bind to the content element for accessibility */
|
|
460
|
-
attrs: {
|
|
461
|
-
/** Data attribute for selected state */
|
|
462
|
-
'data-selected': boolean;
|
|
463
|
-
/** Unique ID for the content region */
|
|
464
|
-
'id': string;
|
|
465
|
-
/** ARIA role for accessibility */
|
|
466
|
-
'role': 'region';
|
|
467
|
-
/** ARIA labelledby attribute pointing to header element */
|
|
468
|
-
'aria-labelledby': string;
|
|
469
|
-
/** Whether the content is hidden */
|
|
470
|
-
'hidden': boolean;
|
|
471
|
-
};
|
|
472
|
-
}
|
|
473
|
-
declare const _default$20: typeof __VLS_export$19;
|
|
474
|
-
declare const __VLS_export$19: __VLS_WithSlots$10<vue370.DefineComponent<ExpansionPanelContentProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<ExpansionPanelContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
475
|
-
default: (props: ExpansionPanelContentSlotProps) => any;
|
|
476
|
-
}>;
|
|
477
|
-
type __VLS_WithSlots$10<T, S> = T & {
|
|
478
|
-
new (): {
|
|
479
|
-
$slots: S;
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
//#endregion
|
|
483
|
-
//#region src/components/ExpansionPanel/index.d.ts
|
|
484
|
-
/**
|
|
485
|
-
* ExpansionPanel component with sub-components for building expansion panels.
|
|
486
|
-
*
|
|
487
|
-
* @see https://0.vuetifyjs.com/components/expansion-panels
|
|
488
|
-
*/
|
|
489
|
-
declare const ExpansionPanel: {
|
|
490
|
-
/**
|
|
491
|
-
* Root component for expansion panels.
|
|
492
|
-
*
|
|
493
|
-
* @see https://0.vuetifyjs.com/components/expansion-panels
|
|
494
|
-
*
|
|
495
|
-
* @example
|
|
496
|
-
* ```vue
|
|
497
|
-
* <script lang="ts" setup>
|
|
498
|
-
* import { ExpansionPanel } from '@vuetify/v0'
|
|
499
|
-
* </script>
|
|
500
|
-
*
|
|
501
|
-
* <template>
|
|
502
|
-
* <ExpansionPanel.Root>
|
|
503
|
-
* <ExpansionPanel.Item>
|
|
504
|
-
* <ExpansionPanel.Header>
|
|
505
|
-
* <ExpansionPanel.Activator>
|
|
506
|
-
* Click to expand
|
|
507
|
-
* </ExpansionPanel.Activator>
|
|
508
|
-
* </ExpansionPanel.Header>
|
|
509
|
-
*
|
|
510
|
-
* <ExpansionPanel.Content>
|
|
511
|
-
* Content goes here.
|
|
512
|
-
* </ExpansionPanel.Content>
|
|
513
|
-
* </ExpansionPanel.Item>
|
|
514
|
-
* </ExpansionPanel.Root>
|
|
515
|
-
* </template>
|
|
516
|
-
* ```
|
|
517
|
-
*/
|
|
518
|
-
Root: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
519
|
-
attrs: any;
|
|
520
|
-
emit: ((evt: "update:model-value", ...args: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
521
|
-
slots: {
|
|
522
|
-
default: (props: ExpansionPanelRootSlotProps) => any;
|
|
523
|
-
};
|
|
524
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
525
|
-
props: {
|
|
526
|
-
[x: `on${Capitalize<string>}`]: ((...args: any) => any) | undefined;
|
|
527
|
-
namespace?: string | undefined;
|
|
528
|
-
disabled?: boolean | undefined;
|
|
529
|
-
enroll?: boolean | undefined;
|
|
530
|
-
mandatory?: boolean | "force" | undefined;
|
|
531
|
-
multiple?: boolean | undefined;
|
|
532
|
-
as?: (DOMElement | null) | undefined;
|
|
533
|
-
renderless?: boolean | undefined;
|
|
534
|
-
modelValue?: (T | T[]) | undefined;
|
|
535
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
536
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
537
|
-
} ? P : {});
|
|
538
|
-
expose: (exposed: {}) => void;
|
|
539
|
-
attrs: any;
|
|
540
|
-
slots: {
|
|
541
|
-
default: (props: ExpansionPanelRootSlotProps) => any;
|
|
542
|
-
};
|
|
543
|
-
emit: ((evt: "update:model-value", ...args: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
544
|
-
}>) => vue370.VNode & {
|
|
545
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
546
|
-
};
|
|
547
|
-
/**
|
|
548
|
-
* Component representing a single expansion panel item.
|
|
549
|
-
*
|
|
550
|
-
* @see https://0.vuetifyjs.com/components/expansion-panels#expansionpanelitem
|
|
551
|
-
*
|
|
552
|
-
* @example
|
|
553
|
-
* ```vue
|
|
554
|
-
* <script lang="ts" setup>
|
|
555
|
-
* import { ExpansionPanel } from '@vuetify/v0'
|
|
556
|
-
* </script>
|
|
557
|
-
*
|
|
558
|
-
* <template>
|
|
559
|
-
* <ExpansionPanel.Item>
|
|
560
|
-
* <ExpansionPanel.Header>
|
|
561
|
-
* <ExpansionPanel.Activator>
|
|
562
|
-
* Click to expand
|
|
563
|
-
* </ExpansionPanel.Activator>
|
|
564
|
-
* </ExpansionPanel.Header>
|
|
565
|
-
*
|
|
566
|
-
* <ExpansionPanel.Content>
|
|
567
|
-
* Content goes here.
|
|
568
|
-
* </ExpansionPanel.Content>
|
|
569
|
-
* </ExpansionPanel.Item>
|
|
570
|
-
* </template>
|
|
571
|
-
* ```
|
|
572
|
-
*/
|
|
573
|
-
Item: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
574
|
-
attrs: any;
|
|
575
|
-
emit: {};
|
|
576
|
-
slots: {
|
|
577
|
-
default: (props: ExpansionPanelItemSlotProps) => any;
|
|
578
|
-
};
|
|
579
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
580
|
-
props: {
|
|
581
|
-
id?: string | undefined;
|
|
582
|
-
value?: V | undefined;
|
|
583
|
-
disabled?: vue370.MaybeRef<boolean> | undefined;
|
|
584
|
-
namespace?: string | undefined;
|
|
585
|
-
as?: (DOMElement | null) | undefined;
|
|
586
|
-
renderless?: boolean | undefined;
|
|
587
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
588
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
589
|
-
} ? P : {});
|
|
590
|
-
expose: (exposed: {}) => void;
|
|
591
|
-
attrs: any;
|
|
592
|
-
slots: {
|
|
593
|
-
default: (props: ExpansionPanelItemSlotProps) => any;
|
|
594
|
-
};
|
|
595
|
-
emit: {};
|
|
596
|
-
}>) => vue370.VNode & {
|
|
597
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
598
|
-
};
|
|
599
|
-
/**
|
|
600
|
-
* (optional) Component for the header section of an expansion panel item.
|
|
601
|
-
*
|
|
602
|
-
* @see https://0.vuetifyjs.com/components/expansion-panels#expansionpanelheader
|
|
603
|
-
*
|
|
604
|
-
* @example
|
|
605
|
-
* ```vue
|
|
606
|
-
* <script lang="ts" setup>
|
|
607
|
-
* import { ExpansionPanel } from '@vuetify/v0'
|
|
608
|
-
* </script>
|
|
609
|
-
*
|
|
610
|
-
* <template>
|
|
611
|
-
* <ExpansionPanel.Header>
|
|
612
|
-
* <ExpansionPanel.Activator>
|
|
613
|
-
* Click to expand
|
|
614
|
-
* </ExpansionPanel.Activator>
|
|
615
|
-
* </ExpansionPanel.Header>
|
|
616
|
-
* </template>
|
|
617
|
-
* ```
|
|
618
|
-
*/
|
|
619
|
-
Header: {
|
|
620
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<ExpansionPanelHeaderProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
621
|
-
P: {};
|
|
622
|
-
B: {};
|
|
623
|
-
D: {};
|
|
624
|
-
C: {};
|
|
625
|
-
M: {};
|
|
626
|
-
Defaults: {};
|
|
627
|
-
}, Readonly<ExpansionPanelHeaderProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
628
|
-
__isFragment?: never;
|
|
629
|
-
__isTeleport?: never;
|
|
630
|
-
__isSuspense?: never;
|
|
631
|
-
} & vue370.ComponentOptionsBase<Readonly<ExpansionPanelHeaderProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
632
|
-
$slots: {
|
|
633
|
-
default: (props: ExpansionPanelHeaderSlotProps) => any;
|
|
634
|
-
};
|
|
635
|
-
});
|
|
636
|
-
/**
|
|
637
|
-
* Component for the activator section of an expansion panel header.
|
|
638
|
-
*
|
|
639
|
-
* @see https://0.vuetifyjs.com/components/expansion-panels#expansionpanelactivator
|
|
640
|
-
*
|
|
641
|
-
* @example
|
|
642
|
-
* ```vue
|
|
643
|
-
* <script lang="ts" setup>
|
|
644
|
-
* import { ExpansionPanel } from '@vuetify/v0'
|
|
645
|
-
* </script>
|
|
646
|
-
*
|
|
647
|
-
* <template>
|
|
648
|
-
* <ExpansionPanel.Activator>
|
|
649
|
-
* Click to expand
|
|
650
|
-
* </ExpansionPanel.Activator>
|
|
651
|
-
* </template>
|
|
652
|
-
* ```
|
|
653
|
-
*/
|
|
654
|
-
Activator: {
|
|
655
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<ExpansionPanelActivatorProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
656
|
-
P: {};
|
|
657
|
-
B: {};
|
|
658
|
-
D: {};
|
|
659
|
-
C: {};
|
|
660
|
-
M: {};
|
|
661
|
-
Defaults: {};
|
|
662
|
-
}, Readonly<ExpansionPanelActivatorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
663
|
-
__isFragment?: never;
|
|
664
|
-
__isTeleport?: never;
|
|
665
|
-
__isSuspense?: never;
|
|
666
|
-
} & vue370.ComponentOptionsBase<Readonly<ExpansionPanelActivatorProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
667
|
-
$slots: {
|
|
668
|
-
default: (props: ExpansionPanelActivatorSlotProps) => any;
|
|
669
|
-
};
|
|
670
|
-
});
|
|
671
|
-
/**
|
|
672
|
-
* Component for the content section of an expansion panel item.
|
|
673
|
-
*
|
|
674
|
-
* @see https://0.vuetifyjs.com/components/expansion-panels#expansionpanelcontent
|
|
675
|
-
*
|
|
676
|
-
* @example
|
|
677
|
-
* ```vue
|
|
678
|
-
* <script lang="ts" setup>
|
|
679
|
-
* import { ExpansionPanel } from '@vuetify/v0'
|
|
680
|
-
* </script>
|
|
681
|
-
*
|
|
682
|
-
* <template>
|
|
683
|
-
* <ExpansionPanel.Content>
|
|
684
|
-
* Content goes here.
|
|
685
|
-
* </ExpansionPanel.Content>
|
|
686
|
-
* </template>
|
|
687
|
-
* ```
|
|
688
|
-
*/
|
|
689
|
-
Content: {
|
|
690
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<ExpansionPanelContentProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
691
|
-
P: {};
|
|
692
|
-
B: {};
|
|
693
|
-
D: {};
|
|
694
|
-
C: {};
|
|
695
|
-
M: {};
|
|
696
|
-
Defaults: {};
|
|
697
|
-
}, Readonly<ExpansionPanelContentProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
698
|
-
__isFragment?: never;
|
|
699
|
-
__isTeleport?: never;
|
|
700
|
-
__isSuspense?: never;
|
|
701
|
-
} & vue370.ComponentOptionsBase<Readonly<ExpansionPanelContentProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
702
|
-
$slots: {
|
|
703
|
-
default: (props: ExpansionPanelContentSlotProps) => any;
|
|
704
|
-
};
|
|
705
|
-
});
|
|
706
|
-
};
|
|
707
|
-
//#endregion
|
|
708
|
-
//#region src/components/Group/GroupRoot.vue.d.ts
|
|
709
|
-
interface GroupRootProps {
|
|
710
|
-
/** Namespace for dependency injection (must match GroupItem namespace) */
|
|
711
|
-
namespace?: string;
|
|
712
|
-
/** Disables the entire group instance */
|
|
713
|
-
disabled?: boolean;
|
|
714
|
-
/** Auto-select non-disabled items on registration */
|
|
715
|
-
enroll?: boolean;
|
|
716
|
-
/**
|
|
717
|
-
* Controls mandatory group behavior:
|
|
718
|
-
* - false (default): No mandatory group enforcement
|
|
719
|
-
* - true: Prevents deselecting the last selected item
|
|
720
|
-
* - `force`: Automatically selects the first non-disabled item on registration
|
|
721
|
-
*/
|
|
722
|
-
mandatory?: boolean | 'force';
|
|
723
|
-
}
|
|
724
|
-
interface GroupRootSlotProps {
|
|
725
|
-
/** Whether the group instance is disabled */
|
|
726
|
-
isDisabled: boolean;
|
|
727
|
-
/** Whether no items are currently selected */
|
|
728
|
-
isNoneSelected: boolean;
|
|
729
|
-
/** Whether all selectable (non-disabled) items are selected */
|
|
730
|
-
isAllSelected: boolean;
|
|
731
|
-
/** Whether some but not all selectable items are selected */
|
|
732
|
-
isMixed: boolean;
|
|
733
|
-
/** Select an item by ID */
|
|
734
|
-
select: (id: ID | ID[]) => void;
|
|
735
|
-
/** Unselect an item by ID */
|
|
736
|
-
unselect: (id: ID | ID[]) => void;
|
|
737
|
-
/** Toggle an item's group state by ID */
|
|
738
|
-
toggle: (id: ID | ID[]) => void;
|
|
739
|
-
/** Select all selectable (non-disabled) items */
|
|
740
|
-
selectAll: () => void;
|
|
741
|
-
/** Unselect all items (respects mandatory option) */
|
|
742
|
-
unselectAll: () => void;
|
|
743
|
-
/** Toggle between all selected and none selected */
|
|
744
|
-
toggleAll: () => void;
|
|
745
|
-
/** Attributes to bind to the root element */
|
|
746
|
-
attrs: {
|
|
747
|
-
'aria-multiselectable': true;
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
declare const useGroupRoot: (key: string, defaultValue?: GroupContext<GroupTicket<unknown>> | undefined) => GroupContext<GroupTicket<unknown>>, provideGroupRoot: (key: string, context: GroupContext<GroupTicket<unknown>>, app?: vue370.App) => GroupContext<GroupTicket<unknown>>;
|
|
751
|
-
declare const _default$18: typeof __VLS_export$18;
|
|
752
|
-
declare const __VLS_export$18: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$8<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
753
|
-
props: __VLS_PrettifyLocal$8<(GroupRootProps & {
|
|
754
|
-
modelValue?: T | T[];
|
|
755
|
-
}) & {
|
|
756
|
-
"onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
|
|
757
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
758
|
-
}> & vue370.PublicProps & (typeof globalThis extends {
|
|
759
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
760
|
-
} ? P : {});
|
|
761
|
-
expose: (exposed: {}) => void;
|
|
762
|
-
attrs: any;
|
|
763
|
-
slots: {
|
|
764
|
-
default: (props: GroupRootSlotProps) => any;
|
|
765
|
-
};
|
|
766
|
-
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
767
|
-
}>) => vue370.VNode & {
|
|
768
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
769
|
-
};
|
|
770
|
-
type __VLS_PrettifyLocal$8<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
771
|
-
//#endregion
|
|
772
|
-
//#region src/components/Group/GroupItem.vue.d.ts
|
|
773
|
-
interface GroupItemProps<V = unknown> {
|
|
774
|
-
/** Unique identifier (auto-generated if not provided) */
|
|
775
|
-
id?: string;
|
|
776
|
-
/** Optional display label (passed through to slot, not used in registration) */
|
|
777
|
-
label?: string;
|
|
778
|
-
/** Value associated with this item */
|
|
779
|
-
value?: V;
|
|
780
|
-
/** Disables this specific item */
|
|
781
|
-
disabled?: MaybeRef<boolean>;
|
|
782
|
-
/** Sets the indeterminate state (for checkboxes) */
|
|
783
|
-
indeterminate?: MaybeRef<boolean>;
|
|
784
|
-
/** Namespace for dependency injection */
|
|
785
|
-
namespace?: string;
|
|
786
|
-
}
|
|
787
|
-
interface GroupItemSlotProps<V = unknown> {
|
|
788
|
-
/** Unique identifier */
|
|
789
|
-
id: string;
|
|
790
|
-
/** Optional display label */
|
|
791
|
-
label?: string;
|
|
792
|
-
/** Value associated with this item */
|
|
793
|
-
value: V | undefined;
|
|
794
|
-
/** Whether this item is currently selected */
|
|
795
|
-
isSelected: boolean;
|
|
796
|
-
/** Whether this item is in a mixed/indeterminate state */
|
|
797
|
-
isMixed: boolean;
|
|
798
|
-
/** Whether this item is disabled */
|
|
799
|
-
isDisabled: boolean;
|
|
800
|
-
/** Select this item */
|
|
801
|
-
select: () => void;
|
|
802
|
-
/** Unselect this item */
|
|
803
|
-
unselect: () => void;
|
|
804
|
-
/** Toggle this item's group state */
|
|
805
|
-
toggle: () => void;
|
|
806
|
-
/** Set this item to mixed/indeterminate state */
|
|
807
|
-
mix: () => void;
|
|
808
|
-
/** Clear mixed/indeterminate state from this item */
|
|
809
|
-
unmix: () => void;
|
|
810
|
-
/** Attributes to bind to the item element */
|
|
811
|
-
attrs: {
|
|
812
|
-
'role': 'checkbox';
|
|
813
|
-
'aria-checked': boolean | 'mixed';
|
|
814
|
-
'aria-disabled': boolean;
|
|
815
|
-
'data-selected': true | undefined;
|
|
816
|
-
'data-disabled': true | undefined;
|
|
817
|
-
'data-mixed': true | undefined;
|
|
818
|
-
};
|
|
819
|
-
}
|
|
820
|
-
declare const _default$17: typeof __VLS_export$17;
|
|
821
|
-
declare const __VLS_export$17: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$7<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
822
|
-
props: __VLS_PrettifyLocal$7<GroupItemProps<V>> & vue370.PublicProps & (typeof globalThis extends {
|
|
823
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
824
|
-
} ? P : {});
|
|
825
|
-
expose: (exposed: {}) => void;
|
|
826
|
-
attrs: any;
|
|
827
|
-
slots: {
|
|
828
|
-
default: (props: GroupItemSlotProps<V>) => unknown;
|
|
829
|
-
};
|
|
830
|
-
emit: {};
|
|
831
|
-
}>) => vue370.VNode & {
|
|
832
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
833
|
-
};
|
|
834
|
-
type __VLS_PrettifyLocal$7<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
835
|
-
//#endregion
|
|
836
|
-
//#region src/components/Group/index.d.ts
|
|
837
|
-
/**
|
|
838
|
-
* Group component with sub-components for multi-selection.
|
|
839
|
-
*
|
|
840
|
-
* @see https://0.vuetifyjs.com/components/group
|
|
841
|
-
*/
|
|
842
|
-
declare const Group: {
|
|
843
|
-
/**
|
|
844
|
-
* Root component for multi-selection groups.
|
|
845
|
-
*
|
|
846
|
-
* @see https://0.vuetifyjs.com/components/group
|
|
847
|
-
*
|
|
848
|
-
* @example
|
|
849
|
-
* ```vue
|
|
850
|
-
* <script lang="ts" setup>
|
|
851
|
-
* import { Group } from '@vuetify/v0'
|
|
852
|
-
* </script>
|
|
853
|
-
*
|
|
854
|
-
* <template>
|
|
855
|
-
* <Group.Root v-model="selected">
|
|
856
|
-
* <Group.Item value="a">Option A</Group.Item>
|
|
857
|
-
*
|
|
858
|
-
* <Group.Item value="b">Option B</Group.Item>
|
|
859
|
-
* </Group.Root>
|
|
860
|
-
* </template>
|
|
861
|
-
* ```
|
|
862
|
-
*/
|
|
863
|
-
Root: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
864
|
-
attrs: any;
|
|
865
|
-
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
866
|
-
slots: {
|
|
867
|
-
default: (props: GroupRootSlotProps) => any;
|
|
868
|
-
};
|
|
869
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
870
|
-
props: {
|
|
871
|
-
namespace?: string | undefined;
|
|
872
|
-
disabled?: boolean | undefined;
|
|
873
|
-
enroll?: boolean | undefined;
|
|
874
|
-
mandatory?: boolean | "force" | undefined;
|
|
875
|
-
modelValue?: (T | T[]) | undefined;
|
|
876
|
-
"onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
|
|
877
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
878
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
879
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
880
|
-
} ? P : {});
|
|
881
|
-
expose: (exposed: {}) => void;
|
|
882
|
-
attrs: any;
|
|
883
|
-
slots: {
|
|
884
|
-
default: (props: GroupRootSlotProps) => any;
|
|
885
|
-
};
|
|
886
|
-
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
887
|
-
}>) => vue370.VNode & {
|
|
888
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
889
|
-
};
|
|
890
|
-
/**
|
|
891
|
-
* Item component for multi-selection groups.
|
|
892
|
-
*
|
|
893
|
-
* @see https://0.vuetifyjs.com/components/group#groupitem
|
|
894
|
-
*
|
|
895
|
-
* @example
|
|
896
|
-
* ```vue
|
|
897
|
-
* <script lang="ts" setup>
|
|
898
|
-
* import { Group } from '@vuetify/v0'
|
|
899
|
-
* </script>
|
|
900
|
-
*
|
|
901
|
-
* <template>
|
|
902
|
-
* <Group.Item value="a">
|
|
903
|
-
* Option A
|
|
904
|
-
* </Group.Item>
|
|
905
|
-
* </template>
|
|
906
|
-
* ```
|
|
907
|
-
*/
|
|
908
|
-
Item: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
909
|
-
attrs: any;
|
|
910
|
-
emit: {};
|
|
911
|
-
slots: {
|
|
912
|
-
default: (props: GroupItemSlotProps<V>) => unknown;
|
|
913
|
-
};
|
|
914
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
915
|
-
props: {
|
|
916
|
-
id?: string | undefined;
|
|
917
|
-
label?: string | undefined;
|
|
918
|
-
value?: V | undefined;
|
|
919
|
-
disabled?: vue370.MaybeRef<boolean> | undefined;
|
|
920
|
-
indeterminate?: vue370.MaybeRef<boolean> | undefined;
|
|
921
|
-
namespace?: string | undefined;
|
|
922
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
923
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
924
|
-
} ? P : {});
|
|
925
|
-
expose: (exposed: {}) => void;
|
|
926
|
-
attrs: any;
|
|
927
|
-
slots: {
|
|
928
|
-
default: (props: GroupItemSlotProps<V>) => unknown;
|
|
929
|
-
};
|
|
930
|
-
emit: {};
|
|
931
|
-
}>) => vue370.VNode & {
|
|
932
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
933
|
-
};
|
|
934
|
-
};
|
|
935
|
-
//#endregion
|
|
936
|
-
//#region src/components/Pagination/PaginationRoot.vue.d.ts
|
|
937
|
-
declare const usePaginationRoot: (key: string, defaultValue?: PaginationContext | undefined) => PaginationContext, providePaginationRoot: (key: string, context: PaginationContext, app?: vue370.App) => PaginationContext;
|
|
938
|
-
declare const usePaginationControls: (key: string, defaultValue?: RegistryContext<RegistryTicket<unknown>> | undefined) => RegistryContext<RegistryTicket<unknown>>, providePaginationControls: (key: string, context: RegistryContext<RegistryTicket<unknown>>, app?: vue370.App) => RegistryContext<RegistryTicket<unknown>>;
|
|
939
|
-
declare const usePaginationItems: (key: string, defaultValue?: RegistryContext<RegistryTicket<unknown>> | undefined) => RegistryContext<RegistryTicket<unknown>>, providePaginationItems: (key: string, context: RegistryContext<RegistryTicket<unknown>>, app?: vue370.App) => RegistryContext<RegistryTicket<unknown>>;
|
|
940
|
-
interface PaginationRootProps extends AtomProps {
|
|
941
|
-
/** Namespace for dependency injection */
|
|
942
|
-
namespace?: string;
|
|
943
|
-
/** Total number of items */
|
|
944
|
-
size?: number;
|
|
945
|
-
/**
|
|
946
|
-
* Number of visible page buttons.
|
|
947
|
-
* If undefined, auto-calculates based on container width.
|
|
948
|
-
*/
|
|
949
|
-
totalVisible?: number;
|
|
950
|
-
/** Number of items per page */
|
|
951
|
-
itemsPerPage?: number;
|
|
952
|
-
/** Ellipsis character */
|
|
953
|
-
ellipsis?: string | false;
|
|
954
|
-
}
|
|
955
|
-
interface PaginationRootSlotProps {
|
|
956
|
-
/** Current page (1-indexed) */
|
|
957
|
-
page: number;
|
|
958
|
-
/** Total number of items */
|
|
959
|
-
size: number;
|
|
960
|
-
/** Total number of pages */
|
|
961
|
-
pages: number;
|
|
962
|
-
/** Items per page */
|
|
963
|
-
itemsPerPage: number;
|
|
964
|
-
/** Visible page items for rendering */
|
|
965
|
-
items: PaginationTicket[];
|
|
966
|
-
/** Start index of items on current page (0-indexed) */
|
|
967
|
-
pageStart: number;
|
|
968
|
-
/** End index of items on current page (exclusive) */
|
|
969
|
-
pageStop: number;
|
|
970
|
-
/** Whether on first page */
|
|
971
|
-
isFirst: boolean;
|
|
972
|
-
/** Whether on last page */
|
|
973
|
-
isLast: boolean;
|
|
974
|
-
/** Go to first page */
|
|
975
|
-
first: () => void;
|
|
976
|
-
/** Go to last page */
|
|
977
|
-
last: () => void;
|
|
978
|
-
/** Go to next page */
|
|
979
|
-
next: () => void;
|
|
980
|
-
/** Go to previous page */
|
|
981
|
-
prev: () => void;
|
|
982
|
-
/** Go to specific page */
|
|
983
|
-
select: (page: number) => void;
|
|
984
|
-
/** Attributes to bind to the root element */
|
|
985
|
-
attrs: {
|
|
986
|
-
'aria-label': string;
|
|
987
|
-
'role': 'navigation' | undefined;
|
|
988
|
-
};
|
|
989
|
-
}
|
|
990
|
-
declare const _default$15: typeof __VLS_export$16;
|
|
991
|
-
declare const __VLS_export$16: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
992
|
-
props: __VLS_PrettifyLocal$6<(PaginationRootProps & {
|
|
993
|
-
modelValue?: number;
|
|
994
|
-
}) & {
|
|
995
|
-
[x: `on${Capitalize<string>}`]: ((...args: any) => any) | undefined;
|
|
996
|
-
}> & vue370.PublicProps & (typeof globalThis extends {
|
|
997
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
998
|
-
} ? P : {});
|
|
999
|
-
expose: (exposed: {}) => void;
|
|
1000
|
-
attrs: any;
|
|
1001
|
-
slots: {
|
|
1002
|
-
default: (props: PaginationRootSlotProps) => any;
|
|
1003
|
-
};
|
|
1004
|
-
emit: ((evt: "update:model-value", ...args: T | T[]) => void) & ((evt: "update:modelValue", value: number) => void);
|
|
1005
|
-
}>) => vue370.VNode & {
|
|
1006
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1007
|
-
};
|
|
1008
|
-
type __VLS_PrettifyLocal$6<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
1009
|
-
//#endregion
|
|
1010
|
-
//#region src/components/Pagination/PaginationItem.vue.d.ts
|
|
1011
|
-
interface PaginationItemProps extends AtomProps {
|
|
1012
|
-
/** Namespace for dependency injection */
|
|
1013
|
-
namespace?: string;
|
|
1014
|
-
/** Page number this item represents */
|
|
1015
|
-
value: number;
|
|
1016
|
-
/** Override disabled state */
|
|
1017
|
-
disabled?: boolean;
|
|
1018
|
-
/** Unique identifier for registration */
|
|
1019
|
-
id?: string;
|
|
1020
|
-
}
|
|
1021
|
-
interface PaginationItemSlotProps {
|
|
1022
|
-
/** Page number */
|
|
1023
|
-
page: number;
|
|
1024
|
-
/** Whether this page is currently selected */
|
|
1025
|
-
isSelected: boolean;
|
|
1026
|
-
/** Whether this item is disabled */
|
|
1027
|
-
isDisabled: boolean;
|
|
1028
|
-
/** Go to this page */
|
|
1029
|
-
select: () => void;
|
|
1030
|
-
/** Attributes to bind to the item element */
|
|
1031
|
-
attrs: {
|
|
1032
|
-
'aria-label': string;
|
|
1033
|
-
'aria-current': 'page' | undefined;
|
|
1034
|
-
'aria-disabled': boolean;
|
|
1035
|
-
'data-selected': true | undefined;
|
|
1036
|
-
'data-disabled': true | undefined;
|
|
1037
|
-
'disabled': boolean | undefined;
|
|
1038
|
-
'tabindex': number;
|
|
1039
|
-
'type': 'button' | undefined;
|
|
1040
|
-
'onClick': () => void;
|
|
1041
|
-
};
|
|
1042
|
-
}
|
|
1043
|
-
declare const _default$11: typeof __VLS_export$15;
|
|
1044
|
-
declare const __VLS_export$15: __VLS_WithSlots$9<vue370.DefineComponent<PaginationItemProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1045
|
-
default: (props: PaginationItemSlotProps) => any;
|
|
1046
|
-
}>;
|
|
1047
|
-
type __VLS_WithSlots$9<T, S> = T & {
|
|
1048
|
-
new (): {
|
|
1049
|
-
$slots: S;
|
|
1050
|
-
};
|
|
1051
|
-
};
|
|
1052
|
-
//#endregion
|
|
1053
|
-
//#region src/components/Pagination/PaginationFirst.vue.d.ts
|
|
1054
|
-
interface PaginationFirstProps extends AtomProps {
|
|
1055
|
-
/** Namespace for dependency injection */
|
|
1056
|
-
namespace?: string;
|
|
1057
|
-
/** Override disabled state */
|
|
1058
|
-
disabled?: boolean;
|
|
1059
|
-
/** Unique identifier for registration */
|
|
1060
|
-
id?: string;
|
|
1061
|
-
}
|
|
1062
|
-
interface PaginationFirstSlotProps {
|
|
1063
|
-
/** Whether button is disabled */
|
|
1064
|
-
isDisabled: boolean;
|
|
1065
|
-
/** Go to first page */
|
|
1066
|
-
first: () => void;
|
|
1067
|
-
/** Attributes to bind to the button element */
|
|
1068
|
-
attrs: {
|
|
1069
|
-
'aria-label': string;
|
|
1070
|
-
'aria-disabled': boolean;
|
|
1071
|
-
'data-disabled': true | undefined;
|
|
1072
|
-
'disabled': boolean | undefined;
|
|
1073
|
-
'tabindex': number;
|
|
1074
|
-
'type': 'button' | undefined;
|
|
1075
|
-
'onClick': () => void;
|
|
1076
|
-
};
|
|
1077
|
-
}
|
|
1078
|
-
declare const _default$10: typeof __VLS_export$14;
|
|
1079
|
-
declare const __VLS_export$14: __VLS_WithSlots$8<vue370.DefineComponent<PaginationFirstProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationFirstProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1080
|
-
default: (props: PaginationFirstSlotProps) => any;
|
|
1081
|
-
}>;
|
|
1082
|
-
type __VLS_WithSlots$8<T, S> = T & {
|
|
1083
|
-
new (): {
|
|
1084
|
-
$slots: S;
|
|
1085
|
-
};
|
|
1086
|
-
};
|
|
1087
|
-
//#endregion
|
|
1088
|
-
//#region src/components/Pagination/PaginationPrev.vue.d.ts
|
|
1089
|
-
interface PaginationPrevProps extends AtomProps {
|
|
1090
|
-
/** Namespace for dependency injection */
|
|
1091
|
-
namespace?: string;
|
|
1092
|
-
/** Override disabled state */
|
|
1093
|
-
disabled?: boolean;
|
|
1094
|
-
/** Unique identifier for registration */
|
|
1095
|
-
id?: string;
|
|
1096
|
-
}
|
|
1097
|
-
interface PaginationPrevSlotProps {
|
|
1098
|
-
/** Whether button is disabled */
|
|
1099
|
-
isDisabled: boolean;
|
|
1100
|
-
/** Go to previous page */
|
|
1101
|
-
prev: () => void;
|
|
1102
|
-
/** Attributes to bind to the button element */
|
|
1103
|
-
attrs: {
|
|
1104
|
-
'aria-label': string;
|
|
1105
|
-
'aria-disabled': boolean;
|
|
1106
|
-
'data-disabled': true | undefined;
|
|
1107
|
-
'disabled': boolean | undefined;
|
|
1108
|
-
'tabindex': number;
|
|
1109
|
-
'type': 'button' | undefined;
|
|
1110
|
-
'onClick': () => void;
|
|
1111
|
-
};
|
|
1112
|
-
}
|
|
1113
|
-
declare const _default$14: typeof __VLS_export$13;
|
|
1114
|
-
declare const __VLS_export$13: __VLS_WithSlots$7<vue370.DefineComponent<PaginationPrevProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationPrevProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1115
|
-
default: (props: PaginationPrevSlotProps) => any;
|
|
1116
|
-
}>;
|
|
1117
|
-
type __VLS_WithSlots$7<T, S> = T & {
|
|
1118
|
-
new (): {
|
|
1119
|
-
$slots: S;
|
|
1120
|
-
};
|
|
1121
|
-
};
|
|
1122
|
-
//#endregion
|
|
1123
|
-
//#region src/components/Pagination/PaginationEllipsis.vue.d.ts
|
|
1124
|
-
interface PaginationEllipsisProps extends AtomProps {
|
|
1125
|
-
/** Namespace for dependency injection */
|
|
1126
|
-
namespace?: string;
|
|
1127
|
-
/** Ellipsis character to display (overrides context) */
|
|
1128
|
-
ellipsis?: string;
|
|
1129
|
-
/** Unique identifier for registration */
|
|
1130
|
-
id?: string;
|
|
1131
|
-
}
|
|
1132
|
-
interface PaginationEllipsisSlotProps {
|
|
1133
|
-
/** Ellipsis character */
|
|
1134
|
-
ellipsis: string | false;
|
|
1135
|
-
/** Attributes to bind to the ellipsis element */
|
|
1136
|
-
attrs: {
|
|
1137
|
-
'aria-hidden': 'true';
|
|
1138
|
-
};
|
|
1139
|
-
}
|
|
1140
|
-
declare const _default$9: typeof __VLS_export$12;
|
|
1141
|
-
declare const __VLS_export$12: __VLS_WithSlots$6<vue370.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1142
|
-
default: (props: PaginationEllipsisSlotProps) => any;
|
|
1143
|
-
}>;
|
|
1144
|
-
type __VLS_WithSlots$6<T, S> = T & {
|
|
1145
|
-
new (): {
|
|
1146
|
-
$slots: S;
|
|
1147
|
-
};
|
|
1148
|
-
};
|
|
1149
|
-
//#endregion
|
|
1150
|
-
//#region src/components/Pagination/PaginationNext.vue.d.ts
|
|
1151
|
-
interface PaginationNextProps extends AtomProps {
|
|
1152
|
-
/** Namespace for dependency injection */
|
|
1153
|
-
namespace?: string;
|
|
1154
|
-
/** Override disabled state */
|
|
1155
|
-
disabled?: boolean;
|
|
1156
|
-
/** Unique identifier for registration */
|
|
1157
|
-
id?: string;
|
|
1158
|
-
}
|
|
1159
|
-
interface PaginationNextSlotProps {
|
|
1160
|
-
/** Whether button is disabled */
|
|
1161
|
-
isDisabled: boolean;
|
|
1162
|
-
/** Go to next page */
|
|
1163
|
-
next: () => void;
|
|
1164
|
-
/** Attributes to bind to the button element */
|
|
1165
|
-
attrs: {
|
|
1166
|
-
'aria-label': string;
|
|
1167
|
-
'aria-disabled': boolean;
|
|
1168
|
-
'data-disabled': true | undefined;
|
|
1169
|
-
'disabled': boolean | undefined;
|
|
1170
|
-
'tabindex': number;
|
|
1171
|
-
'type': 'button' | undefined;
|
|
1172
|
-
'onClick': () => void;
|
|
1173
|
-
};
|
|
1174
|
-
}
|
|
1175
|
-
declare const _default$13: typeof __VLS_export$11;
|
|
1176
|
-
declare const __VLS_export$11: __VLS_WithSlots$5<vue370.DefineComponent<PaginationNextProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationNextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1177
|
-
default: (props: PaginationNextSlotProps) => any;
|
|
1178
|
-
}>;
|
|
1179
|
-
type __VLS_WithSlots$5<T, S> = T & {
|
|
1180
|
-
new (): {
|
|
1181
|
-
$slots: S;
|
|
1182
|
-
};
|
|
1183
|
-
};
|
|
1184
|
-
//#endregion
|
|
1185
|
-
//#region src/components/Pagination/PaginationLast.vue.d.ts
|
|
1186
|
-
interface PaginationLastProps extends AtomProps {
|
|
1187
|
-
/** Namespace for dependency injection */
|
|
1188
|
-
namespace?: string;
|
|
1189
|
-
/** Override disabled state */
|
|
1190
|
-
disabled?: boolean;
|
|
1191
|
-
/** Unique identifier for registration */
|
|
1192
|
-
id?: string;
|
|
1193
|
-
}
|
|
1194
|
-
interface PaginationLastSlotProps {
|
|
1195
|
-
/** Whether button is disabled */
|
|
1196
|
-
isDisabled: boolean;
|
|
1197
|
-
/** Go to last page */
|
|
1198
|
-
last: () => void;
|
|
1199
|
-
/** Attributes to bind to the button element */
|
|
1200
|
-
attrs: {
|
|
1201
|
-
'aria-label': string;
|
|
1202
|
-
'aria-disabled': boolean;
|
|
1203
|
-
'data-disabled': true | undefined;
|
|
1204
|
-
'disabled': boolean | undefined;
|
|
1205
|
-
'tabindex': number;
|
|
1206
|
-
'type': 'button' | undefined;
|
|
1207
|
-
'onClick': () => void;
|
|
1208
|
-
};
|
|
1209
|
-
}
|
|
1210
|
-
declare const _default$12: typeof __VLS_export$10;
|
|
1211
|
-
declare const __VLS_export$10: __VLS_WithSlots$4<vue370.DefineComponent<PaginationLastProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationLastProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1212
|
-
default: (props: PaginationLastSlotProps) => any;
|
|
1213
|
-
}>;
|
|
1214
|
-
type __VLS_WithSlots$4<T, S> = T & {
|
|
1215
|
-
new (): {
|
|
1216
|
-
$slots: S;
|
|
1217
|
-
};
|
|
1218
|
-
};
|
|
1219
|
-
//#endregion
|
|
1220
|
-
//#region src/components/Pagination/PaginationStatus.vue.d.ts
|
|
1221
|
-
interface PaginationStatusProps extends AtomProps {
|
|
1222
|
-
/** Namespace for dependency injection */
|
|
1223
|
-
namespace?: string;
|
|
1224
|
-
}
|
|
1225
|
-
interface PaginationStatusSlotProps {
|
|
1226
|
-
/** Current page (1-indexed) */
|
|
1227
|
-
page: number;
|
|
1228
|
-
/** Total number of pages */
|
|
1229
|
-
pages: number;
|
|
1230
|
-
/** Announcement text */
|
|
1231
|
-
text: string;
|
|
1232
|
-
/** Attributes to bind to the status element */
|
|
1233
|
-
attrs: {
|
|
1234
|
-
'aria-atomic': true;
|
|
1235
|
-
'aria-live': 'polite';
|
|
1236
|
-
'role': 'status';
|
|
1237
|
-
};
|
|
1238
|
-
}
|
|
1239
|
-
declare const _default$16: typeof __VLS_export$9;
|
|
1240
|
-
declare const __VLS_export$9: __VLS_WithSlots$3<vue370.DefineComponent<PaginationStatusProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PaginationStatusProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1241
|
-
default: (props: PaginationStatusSlotProps) => any;
|
|
1242
|
-
}>;
|
|
1243
|
-
type __VLS_WithSlots$3<T, S> = T & {
|
|
1244
|
-
new (): {
|
|
1245
|
-
$slots: S;
|
|
1246
|
-
};
|
|
1247
|
-
};
|
|
1248
|
-
//#endregion
|
|
1249
|
-
//#region src/components/Pagination/index.d.ts
|
|
1250
|
-
/**
|
|
1251
|
-
* Pagination component with sub-components for building pagination controls.
|
|
1252
|
-
*
|
|
1253
|
-
* @see https://0.vuetifyjs.com/components/pagination
|
|
1254
|
-
*/
|
|
1255
|
-
declare const Pagination: {
|
|
1256
|
-
/**
|
|
1257
|
-
* Root component for pagination controls.
|
|
1258
|
-
*
|
|
1259
|
-
* @see https://0.vuetifyjs.com/components/pagination
|
|
1260
|
-
*
|
|
1261
|
-
* @example
|
|
1262
|
-
* ```vue
|
|
1263
|
-
* <script lang="ts" setup>
|
|
1264
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1265
|
-
* </script>
|
|
1266
|
-
*
|
|
1267
|
-
* <template>
|
|
1268
|
-
* <Pagination.Root v-model="page" :size="100">
|
|
1269
|
-
* <Pagination.First />
|
|
1270
|
-
*
|
|
1271
|
-
* <Pagination.Prev />
|
|
1272
|
-
*
|
|
1273
|
-
* <template v-for="item in items" :key="item.value">
|
|
1274
|
-
* <Pagination.Item v-if="item.type === 'page'" :value="item.value" />
|
|
1275
|
-
*
|
|
1276
|
-
* <Pagination.Ellipsis v-else />
|
|
1277
|
-
* </template>
|
|
1278
|
-
*
|
|
1279
|
-
* <Pagination.Next />
|
|
1280
|
-
*
|
|
1281
|
-
* <Pagination.Last />
|
|
1282
|
-
* </Pagination.Root>
|
|
1283
|
-
* </template>
|
|
1284
|
-
* ```
|
|
1285
|
-
*/
|
|
1286
|
-
Root: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1287
|
-
attrs: any;
|
|
1288
|
-
emit: ((evt: "update:model-value", ...args: T | T[]) => void) & ((evt: "update:modelValue", value: number) => void);
|
|
1289
|
-
slots: {
|
|
1290
|
-
default: (props: PaginationRootSlotProps) => any;
|
|
1291
|
-
};
|
|
1292
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1293
|
-
props: {
|
|
1294
|
-
[x: `on${Capitalize<string>}`]: ((...args: any) => any) | undefined;
|
|
1295
|
-
namespace?: string | undefined;
|
|
1296
|
-
size?: number | undefined;
|
|
1297
|
-
totalVisible?: number | undefined;
|
|
1298
|
-
itemsPerPage?: number | undefined;
|
|
1299
|
-
ellipsis?: string | false | undefined;
|
|
1300
|
-
as?: (DOMElement | null) | undefined;
|
|
1301
|
-
renderless?: boolean | undefined;
|
|
1302
|
-
modelValue?: number | undefined;
|
|
1303
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
1304
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
1305
|
-
} ? P : {});
|
|
1306
|
-
expose: (exposed: {}) => void;
|
|
1307
|
-
attrs: any;
|
|
1308
|
-
slots: {
|
|
1309
|
-
default: (props: PaginationRootSlotProps) => any;
|
|
1310
|
-
};
|
|
1311
|
-
emit: ((evt: "update:model-value", ...args: T | T[]) => void) & ((evt: "update:modelValue", value: number) => void);
|
|
1312
|
-
}>) => vue370.VNode & {
|
|
1313
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1314
|
-
};
|
|
1315
|
-
/**
|
|
1316
|
-
* Individual page button that navigates to a specific page number.
|
|
1317
|
-
*
|
|
1318
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationitem
|
|
1319
|
-
*
|
|
1320
|
-
* @example
|
|
1321
|
-
* ```vue
|
|
1322
|
-
* <script lang="ts" setup>
|
|
1323
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1324
|
-
* </script>
|
|
1325
|
-
*
|
|
1326
|
-
* <template>
|
|
1327
|
-
* <Pagination.Item :value="1">1</Pagination.Item>
|
|
1328
|
-
*
|
|
1329
|
-
* <!-- With slot props -->
|
|
1330
|
-
* <Pagination.Item :value="2" v-slot="{ isSelected }">
|
|
1331
|
-
* <span :class="{ 'font-bold': isSelected }">2</span>
|
|
1332
|
-
* </Pagination.Item>
|
|
1333
|
-
* </template>
|
|
1334
|
-
* ```
|
|
1335
|
-
*/
|
|
1336
|
-
Item: {
|
|
1337
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationItemProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1338
|
-
P: {};
|
|
1339
|
-
B: {};
|
|
1340
|
-
D: {};
|
|
1341
|
-
C: {};
|
|
1342
|
-
M: {};
|
|
1343
|
-
Defaults: {};
|
|
1344
|
-
}, Readonly<PaginationItemProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1345
|
-
__isFragment?: never;
|
|
1346
|
-
__isTeleport?: never;
|
|
1347
|
-
__isSuspense?: never;
|
|
1348
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationItemProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1349
|
-
$slots: {
|
|
1350
|
-
default: (props: PaginationItemSlotProps) => any;
|
|
1351
|
-
};
|
|
1352
|
-
});
|
|
1353
|
-
/**
|
|
1354
|
-
* Navigation button that jumps to the first page. Automatically
|
|
1355
|
-
* disables when already on the first page.
|
|
1356
|
-
*
|
|
1357
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationfirst
|
|
1358
|
-
*
|
|
1359
|
-
* @example
|
|
1360
|
-
* ```vue
|
|
1361
|
-
* <script lang="ts" setup>
|
|
1362
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1363
|
-
* </script>
|
|
1364
|
-
*
|
|
1365
|
-
* <template>
|
|
1366
|
-
* <Pagination.First>First</Pagination.First>
|
|
1367
|
-
*
|
|
1368
|
-
* <!-- With slot props -->
|
|
1369
|
-
* <Pagination.First v-slot="{ isDisabled }">
|
|
1370
|
-
* <span :class="{ 'opacity-50': isDisabled }">«</span>
|
|
1371
|
-
* </Pagination.First>
|
|
1372
|
-
*
|
|
1373
|
-
* <!-- With data attributes -->
|
|
1374
|
-
* <Pagination.First class="data-[disabled]:opacity-50">
|
|
1375
|
-
* First
|
|
1376
|
-
* </Pagination.First>
|
|
1377
|
-
* </template>
|
|
1378
|
-
* ```
|
|
1379
|
-
*/
|
|
1380
|
-
First: {
|
|
1381
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationFirstProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1382
|
-
P: {};
|
|
1383
|
-
B: {};
|
|
1384
|
-
D: {};
|
|
1385
|
-
C: {};
|
|
1386
|
-
M: {};
|
|
1387
|
-
Defaults: {};
|
|
1388
|
-
}, Readonly<PaginationFirstProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1389
|
-
__isFragment?: never;
|
|
1390
|
-
__isTeleport?: never;
|
|
1391
|
-
__isSuspense?: never;
|
|
1392
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationFirstProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1393
|
-
$slots: {
|
|
1394
|
-
default: (props: PaginationFirstSlotProps) => any;
|
|
1395
|
-
};
|
|
1396
|
-
});
|
|
1397
|
-
/**
|
|
1398
|
-
* Navigation button that moves to the previous page. Automatically
|
|
1399
|
-
* disables when already on the first page.
|
|
1400
|
-
*
|
|
1401
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationprev
|
|
1402
|
-
*
|
|
1403
|
-
* @example
|
|
1404
|
-
* ```vue
|
|
1405
|
-
* <script lang="ts" setup>
|
|
1406
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1407
|
-
* </script>
|
|
1408
|
-
*
|
|
1409
|
-
* <template>
|
|
1410
|
-
* <Pagination.Prev>Prev</Pagination.Prev>
|
|
1411
|
-
*
|
|
1412
|
-
* <!-- With slot props -->
|
|
1413
|
-
* <Pagination.Prev v-slot="{ isDisabled }">
|
|
1414
|
-
* <span :class="{ 'opacity-50': isDisabled }">‹</span>
|
|
1415
|
-
* </Pagination.Prev>
|
|
1416
|
-
*
|
|
1417
|
-
* <!-- With data attributes -->
|
|
1418
|
-
* <Pagination.Prev class="data-[disabled]:opacity-50">
|
|
1419
|
-
* Prev
|
|
1420
|
-
* </Pagination.Prev>
|
|
1421
|
-
* </template>
|
|
1422
|
-
* ```
|
|
1423
|
-
*/
|
|
1424
|
-
Prev: {
|
|
1425
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationPrevProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1426
|
-
P: {};
|
|
1427
|
-
B: {};
|
|
1428
|
-
D: {};
|
|
1429
|
-
C: {};
|
|
1430
|
-
M: {};
|
|
1431
|
-
Defaults: {};
|
|
1432
|
-
}, Readonly<PaginationPrevProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1433
|
-
__isFragment?: never;
|
|
1434
|
-
__isTeleport?: never;
|
|
1435
|
-
__isSuspense?: never;
|
|
1436
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationPrevProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1437
|
-
$slots: {
|
|
1438
|
-
default: (props: PaginationPrevSlotProps) => any;
|
|
1439
|
-
};
|
|
1440
|
-
});
|
|
1441
|
-
/**
|
|
1442
|
-
* Visual indicator for omitted page numbers. Hidden from screen
|
|
1443
|
-
* readers via aria-hidden. Inherits ellipsis character from Root
|
|
1444
|
-
* or can be overridden via prop.
|
|
1445
|
-
*
|
|
1446
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationellipsis
|
|
1447
|
-
*
|
|
1448
|
-
* @example
|
|
1449
|
-
* ```vue
|
|
1450
|
-
* <script lang="ts" setup>
|
|
1451
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1452
|
-
* </script>
|
|
1453
|
-
*
|
|
1454
|
-
* <template>
|
|
1455
|
-
* <!-- Uses default "..." from Root -->
|
|
1456
|
-
* <Pagination.Ellipsis />
|
|
1457
|
-
*
|
|
1458
|
-
* <!-- Override ellipsis character -->
|
|
1459
|
-
* <Pagination.Ellipsis ellipsis="…" />
|
|
1460
|
-
* </template>
|
|
1461
|
-
* ```
|
|
1462
|
-
*/
|
|
1463
|
-
Ellipsis: {
|
|
1464
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1465
|
-
P: {};
|
|
1466
|
-
B: {};
|
|
1467
|
-
D: {};
|
|
1468
|
-
C: {};
|
|
1469
|
-
M: {};
|
|
1470
|
-
Defaults: {};
|
|
1471
|
-
}, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1472
|
-
__isFragment?: never;
|
|
1473
|
-
__isTeleport?: never;
|
|
1474
|
-
__isSuspense?: never;
|
|
1475
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1476
|
-
$slots: {
|
|
1477
|
-
default: (props: PaginationEllipsisSlotProps) => any;
|
|
1478
|
-
};
|
|
1479
|
-
});
|
|
1480
|
-
/**
|
|
1481
|
-
* Navigation button that moves to the next page. Automatically
|
|
1482
|
-
* disables when already on the last page.
|
|
1483
|
-
*
|
|
1484
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationnext
|
|
1485
|
-
*
|
|
1486
|
-
* @example
|
|
1487
|
-
* ```vue
|
|
1488
|
-
* <script lang="ts" setup>
|
|
1489
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1490
|
-
* </script>
|
|
1491
|
-
*
|
|
1492
|
-
* <template>
|
|
1493
|
-
* <Pagination.Next>Next</Pagination.Next>
|
|
1494
|
-
*
|
|
1495
|
-
* <!-- With slot props -->
|
|
1496
|
-
* <Pagination.Next v-slot="{ isDisabled }">
|
|
1497
|
-
* <span :class="{ 'opacity-50': isDisabled }">›</span>
|
|
1498
|
-
* </Pagination.Next>
|
|
1499
|
-
*
|
|
1500
|
-
* <!-- With data attributes -->
|
|
1501
|
-
* <Pagination.Next class="data-[disabled]:opacity-50">
|
|
1502
|
-
* Next
|
|
1503
|
-
* </Pagination.Next>
|
|
1504
|
-
* </template>
|
|
1505
|
-
* ```
|
|
1506
|
-
*/
|
|
1507
|
-
Next: {
|
|
1508
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationNextProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1509
|
-
P: {};
|
|
1510
|
-
B: {};
|
|
1511
|
-
D: {};
|
|
1512
|
-
C: {};
|
|
1513
|
-
M: {};
|
|
1514
|
-
Defaults: {};
|
|
1515
|
-
}, Readonly<PaginationNextProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1516
|
-
__isFragment?: never;
|
|
1517
|
-
__isTeleport?: never;
|
|
1518
|
-
__isSuspense?: never;
|
|
1519
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationNextProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1520
|
-
$slots: {
|
|
1521
|
-
default: (props: PaginationNextSlotProps) => any;
|
|
1522
|
-
};
|
|
1523
|
-
});
|
|
1524
|
-
/**
|
|
1525
|
-
* Navigation button that jumps to the last page. Automatically
|
|
1526
|
-
* disables when already on the last page.
|
|
1527
|
-
*
|
|
1528
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationlast
|
|
1529
|
-
*
|
|
1530
|
-
* @example
|
|
1531
|
-
* ```vue
|
|
1532
|
-
* <script lang="ts" setup>
|
|
1533
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1534
|
-
* </script>
|
|
1535
|
-
*
|
|
1536
|
-
* <template>
|
|
1537
|
-
* <Pagination.Last>Last</Pagination.Last>
|
|
1538
|
-
*
|
|
1539
|
-
* <!-- With slot props -->
|
|
1540
|
-
* <Pagination.Last v-slot="{ isDisabled }">
|
|
1541
|
-
* <span :class="{ 'opacity-50': isDisabled }">»</span>
|
|
1542
|
-
* </Pagination.Last>
|
|
1543
|
-
*
|
|
1544
|
-
* <!-- With data attributes -->
|
|
1545
|
-
* <Pagination.Last class="data-[disabled]:opacity-50">
|
|
1546
|
-
* Last
|
|
1547
|
-
* </Pagination.Last>
|
|
1548
|
-
* </template>
|
|
1549
|
-
* ```
|
|
1550
|
-
*/
|
|
1551
|
-
Last: {
|
|
1552
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationLastProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1553
|
-
P: {};
|
|
1554
|
-
B: {};
|
|
1555
|
-
D: {};
|
|
1556
|
-
C: {};
|
|
1557
|
-
M: {};
|
|
1558
|
-
Defaults: {};
|
|
1559
|
-
}, Readonly<PaginationLastProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1560
|
-
__isFragment?: never;
|
|
1561
|
-
__isTeleport?: never;
|
|
1562
|
-
__isSuspense?: never;
|
|
1563
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationLastProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1564
|
-
$slots: {
|
|
1565
|
-
default: (props: PaginationLastSlotProps) => any;
|
|
1566
|
-
};
|
|
1567
|
-
});
|
|
1568
|
-
/**
|
|
1569
|
-
* Visually-hidden live region that announces page changes to screen
|
|
1570
|
-
* readers. Should be styled with sr-only/visually-hidden CSS.
|
|
1571
|
-
*
|
|
1572
|
-
* @see https://0.vuetifyjs.com/components/pagination#paginationstatus
|
|
1573
|
-
*
|
|
1574
|
-
* @example
|
|
1575
|
-
* ```vue
|
|
1576
|
-
* <script lang="ts" setup>
|
|
1577
|
-
* import { Pagination } from '@vuetify/v0'
|
|
1578
|
-
* </script>
|
|
1579
|
-
*
|
|
1580
|
-
* <template>
|
|
1581
|
-
* <Pagination.Root v-model="page" :size="100">
|
|
1582
|
-
* <Pagination.Status class="sr-only" />
|
|
1583
|
-
* <!-- other pagination items -->
|
|
1584
|
-
* </Pagination.Root>
|
|
1585
|
-
* </template>
|
|
1586
|
-
* ```
|
|
1587
|
-
*/
|
|
1588
|
-
Status: {
|
|
1589
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PaginationStatusProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1590
|
-
P: {};
|
|
1591
|
-
B: {};
|
|
1592
|
-
D: {};
|
|
1593
|
-
C: {};
|
|
1594
|
-
M: {};
|
|
1595
|
-
Defaults: {};
|
|
1596
|
-
}, Readonly<PaginationStatusProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1597
|
-
__isFragment?: never;
|
|
1598
|
-
__isTeleport?: never;
|
|
1599
|
-
__isSuspense?: never;
|
|
1600
|
-
} & vue370.ComponentOptionsBase<Readonly<PaginationStatusProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1601
|
-
$slots: {
|
|
1602
|
-
default: (props: PaginationStatusSlotProps) => any;
|
|
1603
|
-
};
|
|
1604
|
-
});
|
|
1605
|
-
};
|
|
1606
|
-
//#endregion
|
|
1607
|
-
//#region src/components/Popover/PopoverRoot.vue.d.ts
|
|
1608
|
-
interface PopoverContext {
|
|
1609
|
-
isSelected: ShallowRef<boolean>;
|
|
1610
|
-
id: string;
|
|
1611
|
-
toggle: () => void;
|
|
1612
|
-
}
|
|
1613
|
-
interface PopoverRootProps extends AtomProps {
|
|
1614
|
-
/** Unique identifier for the popover (auto-generated if not provided) */
|
|
1615
|
-
id?: string;
|
|
1616
|
-
}
|
|
1617
|
-
interface PopoverRootSlotProps {
|
|
1618
|
-
/** Unique identifier */
|
|
1619
|
-
id: string;
|
|
1620
|
-
/** Whether the popover is currently open */
|
|
1621
|
-
isSelected: boolean;
|
|
1622
|
-
/** Toggle the popover open/closed state */
|
|
1623
|
-
toggle: () => void;
|
|
1624
|
-
}
|
|
1625
|
-
declare const usePopoverContext: () => PopoverContext, providePopoverContext: (context: PopoverContext, app?: vue370.App) => PopoverContext;
|
|
1626
|
-
declare const _default$8: typeof __VLS_export$8;
|
|
1627
|
-
declare const __VLS_export$8: __VLS_WithSlots$2<vue370.DefineComponent<PopoverRootProps & {
|
|
1628
|
-
modelValue?: boolean;
|
|
1629
|
-
}, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
1630
|
-
"update:modelValue": (value: boolean) => any;
|
|
1631
|
-
}, string, vue370.PublicProps, Readonly<PopoverRootProps & {
|
|
1632
|
-
modelValue?: boolean;
|
|
1633
|
-
}> & Readonly<{
|
|
1634
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1635
|
-
}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1636
|
-
default: (props: PopoverRootSlotProps) => any;
|
|
1637
|
-
}>;
|
|
1638
|
-
type __VLS_WithSlots$2<T, S> = T & {
|
|
1639
|
-
new (): {
|
|
1640
|
-
$slots: S;
|
|
1641
|
-
};
|
|
1642
|
-
};
|
|
1643
|
-
//#endregion
|
|
1644
|
-
//#region src/components/Popover/PopoverAnchor.vue.d.ts
|
|
1645
|
-
interface PopoverAnchorProps extends AtomProps {
|
|
1646
|
-
/** Target popover ID (defaults to parent PopoverRoot id) */
|
|
1647
|
-
target?: string;
|
|
1648
|
-
}
|
|
1649
|
-
interface PopoverAnchorSlotProps {
|
|
1650
|
-
/** Whether the popover is currently open */
|
|
1651
|
-
isOpen: boolean;
|
|
1652
|
-
/** Attributes to bind to the anchor element */
|
|
1653
|
-
attrs: {
|
|
1654
|
-
'popovertarget': string;
|
|
1655
|
-
'type': 'button' | undefined;
|
|
1656
|
-
'data-popover-open': '' | undefined;
|
|
1657
|
-
};
|
|
1658
|
-
}
|
|
1659
|
-
declare const _default$6: typeof __VLS_export$7;
|
|
1660
|
-
declare const __VLS_export$7: __VLS_WithSlots$1<vue370.DefineComponent<PopoverAnchorProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, vue370.PublicProps, Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1661
|
-
default: (props: PopoverAnchorSlotProps) => any;
|
|
1662
|
-
}>;
|
|
1663
|
-
type __VLS_WithSlots$1<T, S> = T & {
|
|
1664
|
-
new (): {
|
|
1665
|
-
$slots: S;
|
|
1666
|
-
};
|
|
1667
|
-
};
|
|
1668
|
-
//#endregion
|
|
1669
|
-
//#region src/components/Popover/PopoverContent.vue.d.ts
|
|
1670
|
-
interface PopoverContentProps extends AtomProps {
|
|
1671
|
-
/** Unique identifier (defaults to parent PopoverRoot id) */
|
|
1672
|
-
id?: string;
|
|
1673
|
-
/** CSS position-area value for anchor positioning */
|
|
1674
|
-
positionArea?: string;
|
|
1675
|
-
/** CSS position-try value for fallback positioning */
|
|
1676
|
-
positionTry?: string;
|
|
1677
|
-
}
|
|
1678
|
-
interface PopoverContentEmits {
|
|
1679
|
-
beforetoggle: [e: ToggleEvent];
|
|
1680
|
-
}
|
|
1681
|
-
interface PopoverContentSlotProps {
|
|
1682
|
-
/** Whether the popover is currently open */
|
|
1683
|
-
isOpen: boolean;
|
|
1684
|
-
/** Attributes to bind to the content element */
|
|
1685
|
-
attrs: {
|
|
1686
|
-
id: string;
|
|
1687
|
-
popover: '';
|
|
1688
|
-
};
|
|
1689
|
-
}
|
|
1690
|
-
declare const _default$7: typeof __VLS_export$6;
|
|
1691
|
-
declare const __VLS_export$6: __VLS_WithSlots<vue370.DefineComponent<PopoverContentProps, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
1692
|
-
beforetoggle: (e: ToggleEvent) => any;
|
|
1693
|
-
}, string, vue370.PublicProps, Readonly<PopoverContentProps> & Readonly<{
|
|
1694
|
-
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
1695
|
-
}>, {}, {}, {}, {}, string, vue370.ComponentProvideOptions, false, {}, any>, {
|
|
1696
|
-
default: (props: PopoverContentSlotProps) => any;
|
|
1697
|
-
}>;
|
|
1698
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
1699
|
-
new (): {
|
|
1700
|
-
$slots: S;
|
|
1701
|
-
};
|
|
1702
|
-
};
|
|
1703
|
-
//#endregion
|
|
1704
|
-
//#region src/components/Popover/index.d.ts
|
|
1705
|
-
/**
|
|
1706
|
-
* Popover component with sub-components for building popovers.
|
|
1707
|
-
*
|
|
1708
|
-
* @see https://0.vuetifyjs.com/components/popover
|
|
1709
|
-
*/
|
|
1710
|
-
declare const Popover: {
|
|
1711
|
-
/**
|
|
1712
|
-
* Root component for popovers.
|
|
1713
|
-
*
|
|
1714
|
-
* @see https://0.vuetifyjs.com/components/popover
|
|
1715
|
-
*
|
|
1716
|
-
* @example
|
|
1717
|
-
* ```vue
|
|
1718
|
-
* <script lang="ts" setup>
|
|
1719
|
-
* import { Popover } from '@vuetify/v0'
|
|
1720
|
-
* </script>
|
|
1721
|
-
*
|
|
1722
|
-
* <template>
|
|
1723
|
-
* <Popover.Root>
|
|
1724
|
-
* <Popover.Anchor>
|
|
1725
|
-
* Click to toggle
|
|
1726
|
-
* </Popover.Anchor>
|
|
1727
|
-
*
|
|
1728
|
-
* <Popover.Content>
|
|
1729
|
-
* Popover content goes here.
|
|
1730
|
-
* </Popover.Content>
|
|
1731
|
-
* </Popover.Root>
|
|
1732
|
-
* </template>
|
|
1733
|
-
* ```
|
|
1734
|
-
*/
|
|
1735
|
-
Root: {
|
|
1736
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PopoverRootProps & {
|
|
1737
|
-
modelValue?: boolean;
|
|
1738
|
-
}> & Readonly<{
|
|
1739
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1740
|
-
}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
1741
|
-
"update:modelValue": (value: boolean) => any;
|
|
1742
|
-
}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1743
|
-
P: {};
|
|
1744
|
-
B: {};
|
|
1745
|
-
D: {};
|
|
1746
|
-
C: {};
|
|
1747
|
-
M: {};
|
|
1748
|
-
Defaults: {};
|
|
1749
|
-
}, Readonly<PopoverRootProps & {
|
|
1750
|
-
modelValue?: boolean;
|
|
1751
|
-
}> & Readonly<{
|
|
1752
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1753
|
-
}>, {}, {}, {}, {}, {}>;
|
|
1754
|
-
__isFragment?: never;
|
|
1755
|
-
__isTeleport?: never;
|
|
1756
|
-
__isSuspense?: never;
|
|
1757
|
-
} & vue370.ComponentOptionsBase<Readonly<PopoverRootProps & {
|
|
1758
|
-
modelValue?: boolean;
|
|
1759
|
-
}> & Readonly<{
|
|
1760
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1761
|
-
}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
1762
|
-
"update:modelValue": (value: boolean) => any;
|
|
1763
|
-
}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1764
|
-
$slots: {
|
|
1765
|
-
default: (props: PopoverRootSlotProps) => any;
|
|
1766
|
-
};
|
|
1767
|
-
});
|
|
1768
|
-
/**
|
|
1769
|
-
* Component for the anchor/trigger of a popover.
|
|
1770
|
-
*
|
|
1771
|
-
* @see https://0.vuetifyjs.com/components/popover#popoveranchor
|
|
1772
|
-
*
|
|
1773
|
-
* @example
|
|
1774
|
-
* ```vue
|
|
1775
|
-
* <script lang="ts" setup>
|
|
1776
|
-
* import { Popover } from '@vuetify/v0'
|
|
1777
|
-
* </script>
|
|
1778
|
-
*
|
|
1779
|
-
* <template>
|
|
1780
|
-
* <Popover.Anchor>
|
|
1781
|
-
* Click to toggle
|
|
1782
|
-
* </Popover.Anchor>
|
|
1783
|
-
* </template>
|
|
1784
|
-
* ```
|
|
1785
|
-
*/
|
|
1786
|
-
Anchor: {
|
|
1787
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1788
|
-
P: {};
|
|
1789
|
-
B: {};
|
|
1790
|
-
D: {};
|
|
1791
|
-
C: {};
|
|
1792
|
-
M: {};
|
|
1793
|
-
Defaults: {};
|
|
1794
|
-
}, Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
1795
|
-
__isFragment?: never;
|
|
1796
|
-
__isTeleport?: never;
|
|
1797
|
-
__isSuspense?: never;
|
|
1798
|
-
} & vue370.ComponentOptionsBase<Readonly<PopoverAnchorProps> & Readonly<{}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1799
|
-
$slots: {
|
|
1800
|
-
default: (props: PopoverAnchorSlotProps) => any;
|
|
1801
|
-
};
|
|
1802
|
-
});
|
|
1803
|
-
/**
|
|
1804
|
-
* Component for the content section of a popover.
|
|
1805
|
-
*
|
|
1806
|
-
* @see https://0.vuetifyjs.com/components/popover#popovercontent
|
|
1807
|
-
*
|
|
1808
|
-
* @example
|
|
1809
|
-
* ```vue
|
|
1810
|
-
* <script lang="ts" setup>
|
|
1811
|
-
* import { Popover } from '@vuetify/v0'
|
|
1812
|
-
* </script>
|
|
1813
|
-
*
|
|
1814
|
-
* <template>
|
|
1815
|
-
* <Popover.Content>
|
|
1816
|
-
* Popover content goes here.
|
|
1817
|
-
* </Popover.Content>
|
|
1818
|
-
* </template>
|
|
1819
|
-
* ```
|
|
1820
|
-
*/
|
|
1821
|
-
Content: {
|
|
1822
|
-
new (...args: any[]): vue370.CreateComponentPublicInstanceWithMixins<Readonly<PopoverContentProps> & Readonly<{
|
|
1823
|
-
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
1824
|
-
}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
1825
|
-
beforetoggle: (e: ToggleEvent) => any;
|
|
1826
|
-
}, vue370.PublicProps, {}, false, {}, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, {}, any, vue370.ComponentProvideOptions, {
|
|
1827
|
-
P: {};
|
|
1828
|
-
B: {};
|
|
1829
|
-
D: {};
|
|
1830
|
-
C: {};
|
|
1831
|
-
M: {};
|
|
1832
|
-
Defaults: {};
|
|
1833
|
-
}, Readonly<PopoverContentProps> & Readonly<{
|
|
1834
|
-
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
1835
|
-
}>, {}, {}, {}, {}, {}>;
|
|
1836
|
-
__isFragment?: never;
|
|
1837
|
-
__isTeleport?: never;
|
|
1838
|
-
__isSuspense?: never;
|
|
1839
|
-
} & vue370.ComponentOptionsBase<Readonly<PopoverContentProps> & Readonly<{
|
|
1840
|
-
onBeforetoggle?: ((e: ToggleEvent) => any) | undefined;
|
|
1841
|
-
}>, {}, {}, {}, {}, vue370.ComponentOptionsMixin, vue370.ComponentOptionsMixin, {
|
|
1842
|
-
beforetoggle: (e: ToggleEvent) => any;
|
|
1843
|
-
}, string, {}, {}, string, {}, vue370.GlobalComponents, vue370.GlobalDirectives, string, vue370.ComponentProvideOptions> & vue370.VNodeProps & vue370.AllowedComponentProps & vue370.ComponentCustomProps & (new () => {
|
|
1844
|
-
$slots: {
|
|
1845
|
-
default: (props: PopoverContentSlotProps) => any;
|
|
1846
|
-
};
|
|
1847
|
-
});
|
|
1848
|
-
};
|
|
1849
|
-
//#endregion
|
|
1850
|
-
//#region src/components/Selection/SelectionRoot.vue.d.ts
|
|
1851
|
-
interface SelectionRootProps {
|
|
1852
|
-
/** Namespace for dependency injection (must match SelectionItem namespace) */
|
|
1853
|
-
namespace?: string;
|
|
1854
|
-
/** Disables the entire selection instance */
|
|
1855
|
-
disabled?: boolean;
|
|
1856
|
-
/** Auto-select non-disabled items on registration */
|
|
1857
|
-
enroll?: boolean;
|
|
1858
|
-
/**
|
|
1859
|
-
* Controls mandatory selection behavior:
|
|
1860
|
-
* - false (default): No mandatory selection enforcement
|
|
1861
|
-
* - true: Prevents deselecting the last selected item
|
|
1862
|
-
* - `force`: Automatically selects the first non-disabled item on registration
|
|
1863
|
-
*/
|
|
1864
|
-
mandatory?: boolean | 'force';
|
|
1865
|
-
/** Enable multi-selection mode (array v-model) */
|
|
1866
|
-
multiple?: boolean;
|
|
1867
|
-
}
|
|
1868
|
-
interface SelectionRootSlotProps {
|
|
1869
|
-
/** Whether the selection instance is disabled */
|
|
1870
|
-
isDisabled: boolean;
|
|
1871
|
-
/** Enable multi-selection mode (array v-model) */
|
|
1872
|
-
multiple: boolean;
|
|
1873
|
-
/** Select an item by ID */
|
|
1874
|
-
select: (id: ID) => void;
|
|
1875
|
-
/** Unselect an item by ID */
|
|
1876
|
-
unselect: (id: ID) => void;
|
|
1877
|
-
/** Toggle an item's selection state by ID */
|
|
1878
|
-
toggle: (id: ID) => void;
|
|
1879
|
-
/** Attributes to bind to the root element */
|
|
1880
|
-
attrs: {
|
|
1881
|
-
'aria-multiselectable': boolean;
|
|
1882
|
-
};
|
|
1883
|
-
}
|
|
1884
|
-
declare const useSelectionRoot: (key: string, defaultValue?: SelectionContext<SelectionTicket<unknown>> | undefined) => SelectionContext<SelectionTicket<unknown>>, provideSelectionRoot: (key: string, context: SelectionContext<SelectionTicket<unknown>>, app?: vue370.App) => SelectionContext<SelectionTicket<unknown>>;
|
|
1885
|
-
declare const _default$5: typeof __VLS_export$5;
|
|
1886
|
-
declare const __VLS_export$5: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1887
|
-
props: __VLS_PrettifyLocal$5<(SelectionRootProps & {
|
|
1888
|
-
modelValue?: T | T[];
|
|
1889
|
-
}) & {
|
|
1890
|
-
"onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
|
|
1891
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
1892
|
-
}> & vue370.PublicProps & (typeof globalThis extends {
|
|
1893
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
1894
|
-
} ? P : {});
|
|
1895
|
-
expose: (exposed: {}) => void;
|
|
1896
|
-
attrs: any;
|
|
1897
|
-
slots: {
|
|
1898
|
-
default: (props: SelectionRootSlotProps) => any;
|
|
1899
|
-
};
|
|
1900
|
-
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
1901
|
-
}>) => vue370.VNode & {
|
|
1902
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1903
|
-
};
|
|
1904
|
-
type __VLS_PrettifyLocal$5<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
1905
|
-
//#endregion
|
|
1906
|
-
//#region src/components/Selection/SelectionItem.vue.d.ts
|
|
1907
|
-
interface SelectionItemProps<V = unknown> {
|
|
1908
|
-
/** Unique identifier (auto-generated if not provided) */
|
|
1909
|
-
id?: string;
|
|
1910
|
-
/** Optional display label (passed through to slot, not used in registration) */
|
|
1911
|
-
label?: string;
|
|
1912
|
-
/** Value associated with this item */
|
|
1913
|
-
value?: V;
|
|
1914
|
-
/** Disables this specific item */
|
|
1915
|
-
disabled?: MaybeRef<boolean>;
|
|
1916
|
-
/** Namespace for dependency injection */
|
|
1917
|
-
namespace?: string;
|
|
1918
|
-
}
|
|
1919
|
-
interface SelectionItemSlotProps<V = unknown> {
|
|
1920
|
-
/** Unique identifier */
|
|
1921
|
-
id: string;
|
|
1922
|
-
/** Optional display label */
|
|
1923
|
-
label?: string;
|
|
1924
|
-
/** Value associated with this item */
|
|
1925
|
-
value: V | undefined;
|
|
1926
|
-
/** Whether this item is currently selected */
|
|
1927
|
-
isSelected: boolean;
|
|
1928
|
-
/** Whether this item is disabled */
|
|
1929
|
-
isDisabled: boolean;
|
|
1930
|
-
/** Select this item */
|
|
1931
|
-
select: () => void;
|
|
1932
|
-
/** Unselect this item */
|
|
1933
|
-
unselect: () => void;
|
|
1934
|
-
/** Toggle this item's selection state */
|
|
1935
|
-
toggle: () => void;
|
|
1936
|
-
/** Attributes to bind to the item element */
|
|
1937
|
-
attrs: {
|
|
1938
|
-
'aria-selected': boolean;
|
|
1939
|
-
'aria-disabled': boolean;
|
|
1940
|
-
'data-selected': true | undefined;
|
|
1941
|
-
'data-disabled': true | undefined;
|
|
1942
|
-
};
|
|
1943
|
-
}
|
|
1944
|
-
declare const _default$4: typeof __VLS_export$4;
|
|
1945
|
-
declare const __VLS_export$4: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1946
|
-
props: __VLS_PrettifyLocal$4<SelectionItemProps<V>> & vue370.PublicProps & (typeof globalThis extends {
|
|
1947
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
1948
|
-
} ? P : {});
|
|
1949
|
-
expose: (exposed: {}) => void;
|
|
1950
|
-
attrs: any;
|
|
1951
|
-
slots: {
|
|
1952
|
-
default: (props: SelectionItemSlotProps<V>) => unknown;
|
|
1953
|
-
};
|
|
1954
|
-
emit: {};
|
|
1955
|
-
}>) => vue370.VNode & {
|
|
1956
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1957
|
-
};
|
|
1958
|
-
type __VLS_PrettifyLocal$4<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
1959
|
-
//#endregion
|
|
1960
|
-
//#region src/components/Selection/index.d.ts
|
|
1961
|
-
/**
|
|
1962
|
-
* Selection component with sub-components for managing item selection state.
|
|
1963
|
-
*
|
|
1964
|
-
* @see https://0.vuetifyjs.com/components/selection
|
|
1965
|
-
*/
|
|
1966
|
-
declare const Selection: {
|
|
1967
|
-
/**
|
|
1968
|
-
* Root component for selection contexts.
|
|
1969
|
-
*
|
|
1970
|
-
* @see https://0.vuetifyjs.com/components/selection#selectionroot
|
|
1971
|
-
*
|
|
1972
|
-
* @example
|
|
1973
|
-
* ```vue
|
|
1974
|
-
* <script lang="ts" setup>
|
|
1975
|
-
* import { Selection } from '@vuetify/v0'
|
|
1976
|
-
* </script>
|
|
1977
|
-
*
|
|
1978
|
-
* <template>
|
|
1979
|
-
* <Selection.Root v-model="selected" multiple>
|
|
1980
|
-
* <Selection.Item value="a" v-slot="{ attrs }">
|
|
1981
|
-
* <button v-bind="attrs">Option A</button>
|
|
1982
|
-
* </Selection.Item>
|
|
1983
|
-
*
|
|
1984
|
-
* <Selection.Item value="b" v-slot="{ attrs }">
|
|
1985
|
-
* <button v-bind="attrs">Option B</button>
|
|
1986
|
-
* </Selection.Item>
|
|
1987
|
-
* </Selection.Root>
|
|
1988
|
-
* </template>
|
|
1989
|
-
* ```
|
|
1990
|
-
*/
|
|
1991
|
-
Root: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1992
|
-
attrs: any;
|
|
1993
|
-
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
1994
|
-
slots: {
|
|
1995
|
-
default: (props: SelectionRootSlotProps) => any;
|
|
1996
|
-
};
|
|
1997
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1998
|
-
props: {
|
|
1999
|
-
namespace?: string | undefined;
|
|
2000
|
-
disabled?: boolean | undefined;
|
|
2001
|
-
enroll?: boolean | undefined;
|
|
2002
|
-
mandatory?: boolean | "force" | undefined;
|
|
2003
|
-
multiple?: boolean | undefined;
|
|
2004
|
-
modelValue?: (T | T[]) | undefined;
|
|
2005
|
-
"onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
|
|
2006
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
2007
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
2008
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2009
|
-
} ? P : {});
|
|
2010
|
-
expose: (exposed: {}) => void;
|
|
2011
|
-
attrs: any;
|
|
2012
|
-
slots: {
|
|
2013
|
-
default: (props: SelectionRootSlotProps) => any;
|
|
2014
|
-
};
|
|
2015
|
-
emit: ((evt: "update:model-value", value: T | T[]) => void) & ((evt: "update:modelValue", value: T | T[] | undefined) => void);
|
|
2016
|
-
}>) => vue370.VNode & {
|
|
2017
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2018
|
-
};
|
|
2019
|
-
/**
|
|
2020
|
-
* Item component for selection contexts.
|
|
2021
|
-
*
|
|
2022
|
-
* @see https://0.vuetifyjs.com/components/selection#selectionitem
|
|
2023
|
-
*
|
|
2024
|
-
* @example
|
|
2025
|
-
* ```vue
|
|
2026
|
-
* <script lang="ts" setup>
|
|
2027
|
-
* import { Selection } from '@vuetify/v0'
|
|
2028
|
-
* </script>
|
|
2029
|
-
*
|
|
2030
|
-
* <template>
|
|
2031
|
-
* <Selection.Item value="a" v-slot="{ attrs }">
|
|
2032
|
-
* <button v-bind="attrs">Option A</button>
|
|
2033
|
-
* </Selection.Item>
|
|
2034
|
-
* </template>
|
|
2035
|
-
* ```
|
|
2036
|
-
*/
|
|
2037
|
-
Item: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
2038
|
-
attrs: any;
|
|
2039
|
-
emit: {};
|
|
2040
|
-
slots: {
|
|
2041
|
-
default: (props: SelectionItemSlotProps<V>) => unknown;
|
|
2042
|
-
};
|
|
2043
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2044
|
-
props: {
|
|
2045
|
-
id?: string | undefined;
|
|
2046
|
-
label?: string | undefined;
|
|
2047
|
-
value?: V | undefined;
|
|
2048
|
-
disabled?: vue370.MaybeRef<boolean> | undefined;
|
|
2049
|
-
namespace?: string | undefined;
|
|
2050
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
2051
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2052
|
-
} ? P : {});
|
|
2053
|
-
expose: (exposed: {}) => void;
|
|
2054
|
-
attrs: any;
|
|
2055
|
-
slots: {
|
|
2056
|
-
default: (props: SelectionItemSlotProps<V>) => unknown;
|
|
2057
|
-
};
|
|
2058
|
-
emit: {};
|
|
2059
|
-
}>) => vue370.VNode & {
|
|
2060
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2061
|
-
};
|
|
2062
|
-
};
|
|
2063
|
-
//#endregion
|
|
2064
|
-
//#region src/components/Single/SingleRoot.vue.d.ts
|
|
2065
|
-
interface SingleRootProps {
|
|
2066
|
-
/** Namespace for dependency injection (must match SingleItem namespace) */
|
|
2067
|
-
namespace?: string;
|
|
2068
|
-
/** Disables the entire single instance */
|
|
2069
|
-
disabled?: boolean;
|
|
2070
|
-
/** Auto-select non-disabled items on registration */
|
|
2071
|
-
enroll?: boolean;
|
|
2072
|
-
/**
|
|
2073
|
-
* Controls mandatory single behavior:
|
|
2074
|
-
* - false (default): No mandatory single enforcement
|
|
2075
|
-
* - true: Prevents deselecting the last selected item
|
|
2076
|
-
* - `force`: Automatically selects the first non-disabled item on registration
|
|
2077
|
-
*/
|
|
2078
|
-
mandatory?: boolean | 'force';
|
|
2079
|
-
}
|
|
2080
|
-
interface SingleRootSlotProps {
|
|
2081
|
-
/** Whether the single instance is disabled */
|
|
2082
|
-
isDisabled: boolean;
|
|
2083
|
-
/** Select an item by ID */
|
|
2084
|
-
select: (id: ID) => void;
|
|
2085
|
-
/** Unselect an item by ID */
|
|
2086
|
-
unselect: (id: ID) => void;
|
|
2087
|
-
/** Toggle an item's single state by ID */
|
|
2088
|
-
toggle: (id: ID) => void;
|
|
2089
|
-
/** Attributes to bind to the root element */
|
|
2090
|
-
attrs: {
|
|
2091
|
-
'aria-multiselectable': false;
|
|
2092
|
-
};
|
|
2093
|
-
}
|
|
2094
|
-
declare const useSingleRoot: (key: string, defaultValue?: SingleContext<SingleTicket<unknown>> | undefined) => SingleContext<SingleTicket<unknown>>, provideSingleRoot: (key: string, context: SingleContext<SingleTicket<unknown>>, app?: vue370.App) => SingleContext<SingleTicket<unknown>>;
|
|
2095
|
-
declare const _default$3: typeof __VLS_export$3;
|
|
2096
|
-
declare const __VLS_export$3: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2097
|
-
props: __VLS_PrettifyLocal$3<(SingleRootProps & {
|
|
2098
|
-
modelValue?: T | T[];
|
|
2099
|
-
}) & {
|
|
2100
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
2101
|
-
}> & vue370.PublicProps & (typeof globalThis extends {
|
|
2102
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2103
|
-
} ? P : {});
|
|
2104
|
-
expose: (exposed: {}) => void;
|
|
2105
|
-
attrs: any;
|
|
2106
|
-
slots: {
|
|
2107
|
-
default: (props: SingleRootSlotProps) => any;
|
|
2108
|
-
};
|
|
2109
|
-
emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
|
|
2110
|
-
}>) => vue370.VNode & {
|
|
2111
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2112
|
-
};
|
|
2113
|
-
type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
2114
|
-
//#endregion
|
|
2115
|
-
//#region src/components/Single/SingleItem.vue.d.ts
|
|
2116
|
-
interface SingleItemProps<V = unknown> {
|
|
2117
|
-
/** Unique identifier (auto-generated if not provided) */
|
|
2118
|
-
id?: string;
|
|
2119
|
-
/** Optional display label (passed through to slot, not used in registration) */
|
|
2120
|
-
label?: string;
|
|
2121
|
-
/** Value associated with this item */
|
|
2122
|
-
value?: V;
|
|
2123
|
-
/** Disables this specific item */
|
|
2124
|
-
disabled?: MaybeRef<boolean>;
|
|
2125
|
-
/** Namespace for dependency injection */
|
|
2126
|
-
namespace?: string;
|
|
2127
|
-
}
|
|
2128
|
-
interface SingleItemSlotProps<V = unknown> {
|
|
2129
|
-
/** Unique identifier */
|
|
2130
|
-
id: string;
|
|
2131
|
-
/** Optional display label */
|
|
2132
|
-
label?: string;
|
|
2133
|
-
/** Value associated with this item */
|
|
2134
|
-
value: V | undefined;
|
|
2135
|
-
/** Whether this item is currently selected */
|
|
2136
|
-
isSelected: boolean;
|
|
2137
|
-
/** Whether this item is disabled */
|
|
2138
|
-
isDisabled: boolean;
|
|
2139
|
-
/** Select this item */
|
|
2140
|
-
select: () => void;
|
|
2141
|
-
/** Unselect this item */
|
|
2142
|
-
unselect: () => void;
|
|
2143
|
-
/** Toggle this item's single state */
|
|
2144
|
-
toggle: () => void;
|
|
2145
|
-
/** Attributes to bind to the item element */
|
|
2146
|
-
attrs: {
|
|
2147
|
-
'aria-selected': boolean;
|
|
2148
|
-
'aria-disabled': boolean;
|
|
2149
|
-
'data-selected': true | undefined;
|
|
2150
|
-
'data-disabled': true | undefined;
|
|
2151
|
-
};
|
|
2152
|
-
}
|
|
2153
|
-
declare const _default$2: typeof __VLS_export$2;
|
|
2154
|
-
declare const __VLS_export$2: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2155
|
-
props: __VLS_PrettifyLocal$2<SingleItemProps<V>> & vue370.PublicProps & (typeof globalThis extends {
|
|
2156
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2157
|
-
} ? P : {});
|
|
2158
|
-
expose: (exposed: {}) => void;
|
|
2159
|
-
attrs: any;
|
|
2160
|
-
slots: {
|
|
2161
|
-
default: (props: SingleItemSlotProps<V>) => unknown;
|
|
2162
|
-
};
|
|
2163
|
-
emit: {};
|
|
2164
|
-
}>) => vue370.VNode & {
|
|
2165
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2166
|
-
};
|
|
2167
|
-
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
2168
|
-
//#endregion
|
|
2169
|
-
//#region src/components/Single/index.d.ts
|
|
2170
|
-
/**
|
|
2171
|
-
* Single component with sub-components for building single-selection interfaces.
|
|
2172
|
-
*
|
|
2173
|
-
* @see https://0.vuetifyjs.com/components/single
|
|
2174
|
-
*/
|
|
2175
|
-
declare const Single: {
|
|
2176
|
-
/**
|
|
2177
|
-
* Root component for single-selection. Only one item can be selected at a time.
|
|
2178
|
-
*
|
|
2179
|
-
* @see https://0.vuetifyjs.com/components/single#singleroot
|
|
2180
|
-
*
|
|
2181
|
-
* @example
|
|
2182
|
-
* ```vue
|
|
2183
|
-
* <script lang="ts" setup>
|
|
2184
|
-
* import { Single } from '@vuetify/v0'
|
|
2185
|
-
* </script>
|
|
2186
|
-
*
|
|
2187
|
-
* <template>
|
|
2188
|
-
* <Single.Root v-model="selected">
|
|
2189
|
-
* <Single.Item value="option1">
|
|
2190
|
-
* Option 1
|
|
2191
|
-
* </Single.Item>
|
|
2192
|
-
*
|
|
2193
|
-
* <Single.Item value="option2">
|
|
2194
|
-
* Option 2
|
|
2195
|
-
* </Single.Item>
|
|
2196
|
-
* </Single.Root>
|
|
2197
|
-
* </template>
|
|
2198
|
-
* ```
|
|
2199
|
-
*/
|
|
2200
|
-
Root: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
2201
|
-
attrs: any;
|
|
2202
|
-
emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
|
|
2203
|
-
slots: {
|
|
2204
|
-
default: (props: SingleRootSlotProps) => any;
|
|
2205
|
-
};
|
|
2206
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2207
|
-
props: {
|
|
2208
|
-
namespace?: string | undefined;
|
|
2209
|
-
disabled?: boolean | undefined;
|
|
2210
|
-
enroll?: boolean | undefined;
|
|
2211
|
-
mandatory?: boolean | "force" | undefined;
|
|
2212
|
-
modelValue?: (T | T[]) | undefined;
|
|
2213
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
2214
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
2215
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2216
|
-
} ? P : {});
|
|
2217
|
-
expose: (exposed: {}) => void;
|
|
2218
|
-
attrs: any;
|
|
2219
|
-
slots: {
|
|
2220
|
-
default: (props: SingleRootSlotProps) => any;
|
|
2221
|
-
};
|
|
2222
|
-
emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
|
|
2223
|
-
}>) => vue370.VNode & {
|
|
2224
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2225
|
-
};
|
|
2226
|
-
/**
|
|
2227
|
-
* Component representing a selectable item within Single.Root.
|
|
2228
|
-
*
|
|
2229
|
-
* @see https://0.vuetifyjs.com/components/single#singleitem
|
|
2230
|
-
*
|
|
2231
|
-
* @example
|
|
2232
|
-
* ```vue
|
|
2233
|
-
* <script lang="ts" setup>
|
|
2234
|
-
* import { Single } from '@vuetify/v0'
|
|
2235
|
-
* </script>
|
|
2236
|
-
*
|
|
2237
|
-
* <template>
|
|
2238
|
-
* <Single.Item value="option1" #default="{ isSelected }">
|
|
2239
|
-
* <div :class="{ selected: isSelected }">
|
|
2240
|
-
* Option 1
|
|
2241
|
-
* </div>
|
|
2242
|
-
* </Single.Item>
|
|
2243
|
-
* </template>
|
|
2244
|
-
* ```
|
|
2245
|
-
*/
|
|
2246
|
-
Item: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
2247
|
-
attrs: any;
|
|
2248
|
-
emit: {};
|
|
2249
|
-
slots: {
|
|
2250
|
-
default: (props: SingleItemSlotProps<V>) => unknown;
|
|
2251
|
-
};
|
|
2252
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2253
|
-
props: {
|
|
2254
|
-
id?: string | undefined;
|
|
2255
|
-
label?: string | undefined;
|
|
2256
|
-
value?: V | undefined;
|
|
2257
|
-
disabled?: vue370.MaybeRef<boolean> | undefined;
|
|
2258
|
-
namespace?: string | undefined;
|
|
2259
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
2260
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2261
|
-
} ? P : {});
|
|
2262
|
-
expose: (exposed: {}) => void;
|
|
2263
|
-
attrs: any;
|
|
2264
|
-
slots: {
|
|
2265
|
-
default: (props: SingleItemSlotProps<V>) => unknown;
|
|
2266
|
-
};
|
|
2267
|
-
emit: {};
|
|
2268
|
-
}>) => vue370.VNode & {
|
|
2269
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2270
|
-
};
|
|
2271
|
-
};
|
|
2272
|
-
//#endregion
|
|
2273
|
-
//#region src/components/Step/StepRoot.vue.d.ts
|
|
2274
|
-
interface StepRootProps {
|
|
2275
|
-
/** Namespace for dependency injection (must match StepItem namespace) */
|
|
2276
|
-
namespace?: string;
|
|
2277
|
-
/** Disables the entire step instance */
|
|
2278
|
-
disabled?: boolean;
|
|
2279
|
-
/** Auto-select non-disabled items on registration */
|
|
2280
|
-
enroll?: boolean;
|
|
2281
|
-
/**
|
|
2282
|
-
* Controls mandatory step behavior:
|
|
2283
|
-
* - false (default): No mandatory step enforcement
|
|
2284
|
-
* - true: Prevents deselecting the last selected item
|
|
2285
|
-
* - `force`: Automatically selects the first non-disabled item on registration
|
|
2286
|
-
*/
|
|
2287
|
-
mandatory?: boolean | 'force';
|
|
2288
|
-
}
|
|
2289
|
-
interface StepRootSlotProps {
|
|
2290
|
-
/** Whether the step instance is disabled */
|
|
2291
|
-
isDisabled: boolean;
|
|
2292
|
-
/** Select the first item */
|
|
2293
|
-
first: () => void;
|
|
2294
|
-
/** Select the last item */
|
|
2295
|
-
last: () => void;
|
|
2296
|
-
/** Select the next item */
|
|
2297
|
-
next: () => void;
|
|
2298
|
-
/** Select the previous item */
|
|
2299
|
-
prev: () => void;
|
|
2300
|
-
/** Step forward or backward by a specific count */
|
|
2301
|
-
step: (count: number) => void;
|
|
2302
|
-
/** Select an item by ID */
|
|
2303
|
-
select: (id: ID) => void;
|
|
2304
|
-
/** Unselect an item by ID */
|
|
2305
|
-
unselect: (id: ID) => void;
|
|
2306
|
-
/** Toggle an item's step state by ID */
|
|
2307
|
-
toggle: (id: ID) => void;
|
|
2308
|
-
/** Attributes to bind to the root element */
|
|
2309
|
-
attrs: {
|
|
2310
|
-
'aria-multiselectable': false;
|
|
2311
|
-
};
|
|
2312
|
-
}
|
|
2313
|
-
declare const useStepRoot: (key: string, defaultValue?: StepContext<StepTicket<unknown>> | undefined) => StepContext<StepTicket<unknown>>, provideStepRoot: (key: string, context: StepContext<StepTicket<unknown>>, app?: vue370.App) => StepContext<StepTicket<unknown>>;
|
|
2314
|
-
declare const _default$1: typeof __VLS_export$1;
|
|
2315
|
-
declare const __VLS_export$1: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2316
|
-
props: __VLS_PrettifyLocal$1<(StepRootProps & {
|
|
2317
|
-
modelValue?: T | T[];
|
|
2318
|
-
}) & {
|
|
2319
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
2320
|
-
}> & vue370.PublicProps & (typeof globalThis extends {
|
|
2321
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2322
|
-
} ? P : {});
|
|
2323
|
-
expose: (exposed: {}) => void;
|
|
2324
|
-
attrs: any;
|
|
2325
|
-
slots: {
|
|
2326
|
-
default: (props: StepRootSlotProps) => any;
|
|
2327
|
-
};
|
|
2328
|
-
emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
|
|
2329
|
-
}>) => vue370.VNode & {
|
|
2330
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2331
|
-
};
|
|
2332
|
-
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
2333
|
-
//#endregion
|
|
2334
|
-
//#region src/components/Step/StepItem.vue.d.ts
|
|
2335
|
-
interface StepItemProps<V = unknown> {
|
|
2336
|
-
/** Unique identifier (auto-generated if not provided) */
|
|
2337
|
-
id?: string;
|
|
2338
|
-
/** Optional display label (passed through to slot, not used in registration) */
|
|
2339
|
-
label?: string;
|
|
2340
|
-
/** Value associated with this item */
|
|
2341
|
-
value?: V;
|
|
2342
|
-
/** Disables this specific item */
|
|
2343
|
-
disabled?: MaybeRef<boolean>;
|
|
2344
|
-
/** Namespace for dependency injection */
|
|
2345
|
-
namespace?: string;
|
|
2346
|
-
}
|
|
2347
|
-
interface StepItemSlotProps<V = unknown> {
|
|
2348
|
-
/** Unique identifier */
|
|
2349
|
-
id: string;
|
|
2350
|
-
/** Optional display label */
|
|
2351
|
-
label?: string;
|
|
2352
|
-
/** Value associated with this item */
|
|
2353
|
-
value: V | undefined;
|
|
2354
|
-
/** Whether this item is currently selected */
|
|
2355
|
-
isSelected: boolean;
|
|
2356
|
-
/** Whether this item is disabled */
|
|
2357
|
-
isDisabled: boolean;
|
|
2358
|
-
/** Select this item */
|
|
2359
|
-
select: () => void;
|
|
2360
|
-
/** Unselect this item */
|
|
2361
|
-
unselect: () => void;
|
|
2362
|
-
/** Toggle this item's step state */
|
|
2363
|
-
toggle: () => void;
|
|
2364
|
-
/** Attributes to bind to the item element */
|
|
2365
|
-
attrs: {
|
|
2366
|
-
'aria-selected': boolean;
|
|
2367
|
-
'aria-disabled': boolean;
|
|
2368
|
-
'data-selected': true | undefined;
|
|
2369
|
-
'data-disabled': true | undefined;
|
|
2370
|
-
};
|
|
2371
|
-
}
|
|
2372
|
-
declare const _default: typeof __VLS_export;
|
|
2373
|
-
declare const __VLS_export: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2374
|
-
props: __VLS_PrettifyLocal<StepItemProps<V>> & vue370.PublicProps & (typeof globalThis extends {
|
|
2375
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2376
|
-
} ? P : {});
|
|
2377
|
-
expose: (exposed: {}) => void;
|
|
2378
|
-
attrs: any;
|
|
2379
|
-
slots: {
|
|
2380
|
-
default: (props: StepItemSlotProps<V>) => unknown;
|
|
2381
|
-
};
|
|
2382
|
-
emit: {};
|
|
2383
|
-
}>) => vue370.VNode & {
|
|
2384
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2385
|
-
};
|
|
2386
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
2387
|
-
//#endregion
|
|
2388
|
-
//#region src/components/Step/index.d.ts
|
|
2389
|
-
/**
|
|
2390
|
-
* Step component with sub-components for building stepper navigation.
|
|
2391
|
-
*
|
|
2392
|
-
* @see https://0.vuetifyjs.com/components/step
|
|
2393
|
-
*/
|
|
2394
|
-
declare const Step: {
|
|
2395
|
-
/**
|
|
2396
|
-
* Root component for step navigation.
|
|
2397
|
-
*
|
|
2398
|
-
* @see https://0.vuetifyjs.com/components/step
|
|
2399
|
-
*
|
|
2400
|
-
* @example
|
|
2401
|
-
* ```vue
|
|
2402
|
-
* <script lang="ts" setup>
|
|
2403
|
-
* import { Step } from '@vuetify/v0'
|
|
2404
|
-
* </script>
|
|
2405
|
-
*
|
|
2406
|
-
* <template>
|
|
2407
|
-
* <Step.Root>
|
|
2408
|
-
* <Step.Item value="account">Account</Step.Item>
|
|
2409
|
-
*
|
|
2410
|
-
* <Step.Item value="profile">Profile</Step.Item>
|
|
2411
|
-
*
|
|
2412
|
-
* <Step.Item value="review">Review</Step.Item>
|
|
2413
|
-
* </Step.Root>
|
|
2414
|
-
* </template>
|
|
2415
|
-
* ```
|
|
2416
|
-
*/
|
|
2417
|
-
Root: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
2418
|
-
attrs: any;
|
|
2419
|
-
emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
|
|
2420
|
-
slots: {
|
|
2421
|
-
default: (props: StepRootSlotProps) => any;
|
|
2422
|
-
};
|
|
2423
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2424
|
-
props: {
|
|
2425
|
-
namespace?: string | undefined;
|
|
2426
|
-
disabled?: boolean | undefined;
|
|
2427
|
-
enroll?: boolean | undefined;
|
|
2428
|
-
mandatory?: boolean | "force" | undefined;
|
|
2429
|
-
modelValue?: (T | T[]) | undefined;
|
|
2430
|
-
"onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
2431
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
2432
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2433
|
-
} ? P : {});
|
|
2434
|
-
expose: (exposed: {}) => void;
|
|
2435
|
-
attrs: any;
|
|
2436
|
-
slots: {
|
|
2437
|
-
default: (props: StepRootSlotProps) => any;
|
|
2438
|
-
};
|
|
2439
|
-
emit: (evt: "update:modelValue", value: T | T[] | undefined) => void;
|
|
2440
|
-
}>) => vue370.VNode & {
|
|
2441
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2442
|
-
};
|
|
2443
|
-
/**
|
|
2444
|
-
* Component representing a single step item.
|
|
2445
|
-
*
|
|
2446
|
-
* @see https://0.vuetifyjs.com/components/step#stepitem
|
|
2447
|
-
*
|
|
2448
|
-
* @example
|
|
2449
|
-
* ```vue
|
|
2450
|
-
* <script lang="ts" setup>
|
|
2451
|
-
* import { Step } from '@vuetify/v0'
|
|
2452
|
-
* </script>
|
|
2453
|
-
*
|
|
2454
|
-
* <template>
|
|
2455
|
-
* <Step.Item value="account">
|
|
2456
|
-
* Account Setup
|
|
2457
|
-
* </Step.Item>
|
|
2458
|
-
* </template>
|
|
2459
|
-
* ```
|
|
2460
|
-
*/
|
|
2461
|
-
Item: <V = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
2462
|
-
attrs: any;
|
|
2463
|
-
emit: {};
|
|
2464
|
-
slots: {
|
|
2465
|
-
default: (props: StepItemSlotProps<V>) => unknown;
|
|
2466
|
-
};
|
|
2467
|
-
}, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2468
|
-
props: {
|
|
2469
|
-
id?: string | undefined;
|
|
2470
|
-
label?: string | undefined;
|
|
2471
|
-
value?: V | undefined;
|
|
2472
|
-
disabled?: vue370.MaybeRef<boolean> | undefined;
|
|
2473
|
-
namespace?: string | undefined;
|
|
2474
|
-
} & vue370.PublicProps & (typeof globalThis extends {
|
|
2475
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
2476
|
-
} ? P : {});
|
|
2477
|
-
expose: (exposed: {}) => void;
|
|
2478
|
-
attrs: any;
|
|
2479
|
-
slots: {
|
|
2480
|
-
default: (props: StepItemSlotProps<V>) => unknown;
|
|
2481
|
-
};
|
|
2482
|
-
emit: {};
|
|
2483
|
-
}>) => vue370.VNode & {
|
|
2484
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2485
|
-
};
|
|
2486
|
-
};
|
|
2487
|
-
//#endregion
|
|
2488
|
-
export { PaginationEllipsisSlotProps as $, _default$24 as $t, PopoverContentProps as A, ExpansionPanelContentSlotProps as At, providePopoverContext as B, ExpansionPanelItemSlotProps as Bt, SelectionRootProps as C, GroupRootProps as Ct, useSelectionRoot as D, useGroupRoot as Dt, provideSelectionRoot as E, provideGroupRoot as Et, _default$6 as F, ExpansionPanelHeaderProps as Ft, _default$16 as G, ExpansionPanelRootProps as Gt, Pagination as H, provideExpansionPanelItem as Ht, PopoverContext as I, ExpansionPanelHeaderSlotProps as It, _default$12 as J, provideExpansionPanelSelection as Jt, PaginationLastProps as K, ExpansionPanelRootSlotProps as Kt, PopoverRootProps as L, _default$21 as Lt, _default$7 as M, ExpansionPanelActivatorProps as Mt, PopoverAnchorProps as N, ExpansionPanelActivatorSlotProps as Nt, Popover as O, ExpansionPanel as Ot, PopoverAnchorSlotProps as P, _default$19 as Pt, PaginationEllipsisProps as Q, AvatarFallbackSlotProps as Qt, PopoverRootSlotProps as R, ExpansionPanelItemContext as Rt, _default$4 as S, _default$17 as St, _default$5 as T, _default$18 as Tt, PaginationStatusProps as U, useExpansionPanelItem as Ut, usePopoverContext as V, _default$22 as Vt, PaginationStatusSlotProps as W, ExpansionPanelOptionsContext as Wt, PaginationNextSlotProps as X, Avatar as Xt, PaginationNextProps as Y, useExpansionPanelRoot as Yt, _default$13 as Z, AvatarFallbackProps as Zt, provideSingleRoot as _, usePaginationItems as _t, StepRootProps as a, AvatarRootProps as an, PaginationFirstSlotProps as at, SelectionItemProps as b, GroupItemProps as bt, provideStepRoot as c, provideAvatarContext as cn, PaginationItemSlotProps as ct, SingleItemProps as d, AtomProps as dn, PaginationRootSlotProps as dt, AvatarImageEmits as en, _default$9 as et, SingleItemSlotProps as f, AtomSlots as fn, _default$15 as ft, _default$3 as g, usePaginationControls as gt, SingleRootSlotProps as h, providePaginationRoot as ht, _default as i, AvatarContext as in, PaginationFirstProps as it, PopoverContentSlotProps as j, _default$20 as jt, PopoverContentEmits as k, ExpansionPanelContentProps as kt, useStepRoot as l, useAvatarRoot as ln, _default$11 as lt, SingleRootProps as m, providePaginationItems as mt, StepItemProps as n, AvatarImageSlotProps as nn, PaginationPrevSlotProps as nt, StepRootSlotProps as o, AvatarTicket as on, _default$10 as ot, _default$2 as p, _default$27 as pn, providePaginationControls as pt, PaginationLastSlotProps as q, _default$23 as qt, StepItemSlotProps as r, _default$25 as rn, _default$14 as rt, _default$1 as s, _default$26 as sn, PaginationItemProps as st, Step as t, AvatarImageProps as tn, PaginationPrevProps as tt, Single as u, AtomExpose as un, PaginationRootProps as ut, useSingleRoot as v, usePaginationRoot as vt, SelectionRootSlotProps as w, GroupRootSlotProps as wt, SelectionItemSlotProps as x, GroupItemSlotProps as xt, Selection as y, Group as yt, _default$8 as z, ExpansionPanelItemProps as zt };
|