@sprawlify/vue 0.0.64 → 0.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/chunk-BN_g-Awi.js +18 -0
  2. package/dist/clean-props-ChPEW0vT.js +9 -0
  3. package/dist/collapsible-BBV8R9Wm.js +259 -0
  4. package/dist/collection-DR2kMzrX.js +218 -0
  5. package/dist/components/accordion/index.d.ts +195 -0
  6. package/dist/components/accordion/index.js +361 -0
  7. package/dist/components/angle-slider/index.d.ts +230 -0
  8. package/dist/components/angle-slider/index.js +371 -0
  9. package/dist/components/avatar/index.d.ts +116 -0
  10. package/dist/components/avatar/index.js +177 -0
  11. package/dist/components/bottom-sheet/index.d.ts +241 -0
  12. package/dist/components/bottom-sheet/index.js +429 -0
  13. package/dist/components/carousel/index.d.ts +306 -0
  14. package/dist/components/carousel/index.js +500 -0
  15. package/dist/components/checkbox/index.d.ts +273 -0
  16. package/dist/components/checkbox/index.js +500 -0
  17. package/dist/components/client-only/index.d.ts +20 -0
  18. package/dist/components/client-only/index.js +22 -0
  19. package/dist/components/clipboard/index.d.ts +204 -0
  20. package/dist/components/clipboard/index.js +297 -0
  21. package/dist/components/collapsible/index.d.ts +163 -0
  22. package/dist/components/collapsible/index.js +7 -0
  23. package/dist/components/collection/index.d.ts +2 -0
  24. package/dist/components/collection/index.js +4 -0
  25. package/dist/components/field/index.d.ts +326 -0
  26. package/dist/components/field/index.js +7 -0
  27. package/dist/components/fieldset/index.d.ts +161 -0
  28. package/dist/components/fieldset/index.js +7 -0
  29. package/dist/components/presence/index.d.ts +3 -0
  30. package/dist/components/presence/index.js +6 -0
  31. package/dist/components/select/index.d.ts +429 -0
  32. package/dist/components/select/index.js +769 -0
  33. package/dist/core-DNndr38p.js +337 -0
  34. package/dist/create-split-props-YZ3qgXe_.js +11 -0
  35. package/dist/factory-BH3WrWd2.js +68 -0
  36. package/dist/factory-D_ge_w76.d.ts +8 -0
  37. package/dist/field-DnHnX3Tf.js +501 -0
  38. package/dist/fieldset-DzhN7Zrg.js +278 -0
  39. package/dist/index-B66Om_3U.d.ts +22 -0
  40. package/dist/index-DqRk-Yea.d.ts +199 -0
  41. package/dist/index-rHf4D8np.d.ts +57 -0
  42. package/dist/index.d.ts +10 -34
  43. package/dist/index.js +4 -551
  44. package/dist/presence-CvUnYMZQ.js +105 -0
  45. package/dist/presence-types-Bv1E60Cw.d.ts +13 -0
  46. package/dist/providers-B2CNPFg1.js +108 -0
  47. package/dist/types-Bj-dS2Hc.d.ts +9 -0
  48. package/dist/use-forward-expose-4p5AGAI3.js +67 -0
  49. package/dist/use-render-strategy-BkxoN6ll.js +7 -0
  50. package/dist/use-render-strategy-CHj_pCfT.d.ts +9 -0
  51. package/dist/utils-B4FuOOE-.js +51 -0
  52. package/package.json +58 -2
@@ -0,0 +1,429 @@
1
+ import { t as PolymorphicProps } from "../../factory-D_ge_w76.js";
2
+ import { t as RootEmits$1 } from "../../presence-types-Bv1E60Cw.js";
3
+ import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-Bj-dS2Hc.js";
4
+ import { r as PropTypes } from "../../index-B66Om_3U.js";
5
+ import { t as RenderStrategyProps } from "../../use-render-strategy-CHj_pCfT.js";
6
+ import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-DqRk-Yea.js";
7
+ import * as vue318 from "vue";
8
+ import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, UnwrapRef } from "vue";
9
+ import * as select from "@sprawlify/primitives/machines/select";
10
+ import { FocusOutsideEvent, FocusOutsideEvent as SelectFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as SelectHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as SelectInteractOutsideEvent, ItemGroupProps, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as SelectOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as SelectPointerDownOutsideEvent, ValueChangeDetails, ValueChangeDetails as SelectValueChangeDetails, anatomy as selectAnatomy } from "@sprawlify/primitives/machines/select";
11
+
12
+ //#region src/components/select/select-clear-trigger.vue.d.ts
13
+ interface SelectClearTriggerBaseProps extends PolymorphicProps {}
14
+ interface SelectClearTriggerProps extends SelectClearTriggerBaseProps,
15
+ /**
16
+ * @vue-ignore
17
+ */
18
+ ButtonHTMLAttributes {}
19
+ declare const _default: typeof __VLS_export$18;
20
+ declare const __VLS_export$18: __VLS_WithSlots$14<vue318.DefineComponent<SelectClearTriggerProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
21
+ default?: (props: {}) => any;
22
+ }>;
23
+ type __VLS_WithSlots$14<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
28
+ //#endregion
29
+ //#region src/components/select/select-content.vue.d.ts
30
+ interface SelectContentBaseProps extends PolymorphicProps {}
31
+ interface SelectContentProps extends SelectContentBaseProps,
32
+ /**
33
+ * @vue-ignore
34
+ */
35
+ HTMLAttributes {}
36
+ declare const _default$1: typeof __VLS_export$17;
37
+ declare const __VLS_export$17: __VLS_WithSlots$13<vue318.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
38
+ default?: (props: {}) => any;
39
+ }>;
40
+ type __VLS_WithSlots$13<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
45
+ //#endregion
46
+ //#region src/components/select/select-control.vue.d.ts
47
+ interface SelectControlBaseProps extends PolymorphicProps {}
48
+ interface SelectControlProps extends SelectControlBaseProps,
49
+ /**
50
+ * @vue-ignore
51
+ */
52
+ HTMLAttributes {}
53
+ declare const _default$3: typeof __VLS_export$16;
54
+ declare const __VLS_export$16: __VLS_WithSlots$12<vue318.DefineComponent<SelectControlProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
55
+ default?: (props: {}) => any;
56
+ }>;
57
+ type __VLS_WithSlots$12<T, S> = T & {
58
+ new (): {
59
+ $slots: S;
60
+ };
61
+ };
62
+ //#endregion
63
+ //#region src/components/select/select-hidden-select.vue.d.ts
64
+ interface SelectHiddenSelectBaseProps extends PolymorphicProps {}
65
+ interface SelectHiddenSelectProps extends SelectHiddenSelectBaseProps,
66
+ /**
67
+ * @vue-ignore
68
+ */
69
+ SelectHTMLAttributes {}
70
+ declare const _default$4: typeof __VLS_export$15;
71
+ declare const __VLS_export$15: vue318.DefineComponent<SelectHiddenSelectProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectHiddenSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>;
72
+ //#endregion
73
+ //#region src/components/select/select-indicator.vue.d.ts
74
+ interface SelectIndicatorBaseProps extends PolymorphicProps {}
75
+ interface SelectIndicatorProps extends SelectIndicatorBaseProps,
76
+ /**
77
+ * @vue-ignore
78
+ */
79
+ HTMLAttributes {}
80
+ declare const _default$5: typeof __VLS_export$14;
81
+ declare const __VLS_export$14: __VLS_WithSlots$11<vue318.DefineComponent<SelectIndicatorProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
82
+ default?: (props: {}) => any;
83
+ }>;
84
+ type __VLS_WithSlots$11<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
89
+ //#endregion
90
+ //#region src/components/select/select-list.vue.d.ts
91
+ interface SelectListBaseProps extends PolymorphicProps {}
92
+ interface SelectListProps extends SelectListBaseProps,
93
+ /**
94
+ * @vue-ignore
95
+ */
96
+ HTMLAttributes {}
97
+ declare const _default$13: typeof __VLS_export$13;
98
+ declare const __VLS_export$13: __VLS_WithSlots$10<vue318.DefineComponent<SelectListProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
99
+ default?: (props: {}) => any;
100
+ }>;
101
+ type __VLS_WithSlots$10<T, S> = T & {
102
+ new (): {
103
+ $slots: S;
104
+ };
105
+ };
106
+ //#endregion
107
+ //#region src/components/select/use-select-item-context.d.ts
108
+ interface UseSelectItemContext extends ComputedRef<ItemState> {}
109
+ //#endregion
110
+ //#region src/components/select/select-item-context.vue.d.ts
111
+ interface SelectItemContextProps extends SlotsType<{
112
+ default: UnwrapRef<UseSelectItemContext>;
113
+ }> {}
114
+ declare const _default$7: typeof __VLS_export$12;
115
+ declare const __VLS_export$12: __VLS_WithSlots$9<vue318.DefineComponent<{}, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, true, {}, any>, {
116
+ default(item: UnwrapRef<UseSelectItemContext>): unknown;
117
+ }>;
118
+ type __VLS_WithSlots$9<T, S> = T & {
119
+ new (): {
120
+ $slots: S;
121
+ };
122
+ };
123
+ //#endregion
124
+ //#region src/components/select/select-item-group-label.vue.d.ts
125
+ interface SelectItemGroupLabelBaseProps extends PolymorphicProps {}
126
+ interface SelectItemGroupLabelProps extends SelectItemGroupLabelBaseProps,
127
+ /**
128
+ * @vue-ignore
129
+ */
130
+ HTMLAttributes {}
131
+ declare const _default$9: typeof __VLS_export$11;
132
+ declare const __VLS_export$11: __VLS_WithSlots$8<vue318.DefineComponent<SelectItemGroupLabelProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
133
+ default?: (props: {}) => any;
134
+ }>;
135
+ type __VLS_WithSlots$8<T, S> = T & {
136
+ new (): {
137
+ $slots: S;
138
+ };
139
+ };
140
+ //#endregion
141
+ //#region src/components/select/select-item-group.vue.d.ts
142
+ interface SelectItemGroupBaseProps extends Partial<ItemGroupProps>, PolymorphicProps {}
143
+ interface SelectItemGroupProps extends SelectItemGroupBaseProps,
144
+ /**
145
+ * @vue-ignore
146
+ */
147
+ HTMLAttributes {}
148
+ declare const _default$8: typeof __VLS_export$10;
149
+ declare const __VLS_export$10: __VLS_WithSlots$7<vue318.DefineComponent<SelectItemGroupProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
150
+ default?: (props: {}) => any;
151
+ }>;
152
+ type __VLS_WithSlots$7<T, S> = T & {
153
+ new (): {
154
+ $slots: S;
155
+ };
156
+ };
157
+ //#endregion
158
+ //#region src/components/select/select-item-indicator.vue.d.ts
159
+ interface SelectItemIndicatorBaseProps extends PolymorphicProps {}
160
+ interface SelectItemIndicatorProps extends SelectItemIndicatorBaseProps,
161
+ /**
162
+ * @vue-ignore
163
+ */
164
+ HTMLAttributes {}
165
+ declare const _default$10: typeof __VLS_export$9;
166
+ declare const __VLS_export$9: __VLS_WithSlots$6<vue318.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
167
+ default?: (props: {}) => any;
168
+ }>;
169
+ type __VLS_WithSlots$6<T, S> = T & {
170
+ new (): {
171
+ $slots: S;
172
+ };
173
+ };
174
+ //#endregion
175
+ //#region src/components/select/select-item-text.vue.d.ts
176
+ interface SelectItemTextBaseProps extends PolymorphicProps {}
177
+ interface SelectItemTextProps extends SelectItemTextBaseProps,
178
+ /**
179
+ * @vue-ignore
180
+ */
181
+ HTMLAttributes {}
182
+ declare const _default$11: typeof __VLS_export$8;
183
+ declare const __VLS_export$8: __VLS_WithSlots$5<vue318.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
184
+ default?: (props: {}) => any;
185
+ }>;
186
+ type __VLS_WithSlots$5<T, S> = T & {
187
+ new (): {
188
+ $slots: S;
189
+ };
190
+ };
191
+ //#endregion
192
+ //#region src/components/select/select-item.vue.d.ts
193
+ interface SelectItemBaseProps extends ItemProps, PolymorphicProps {}
194
+ interface SelectItemProps extends SelectItemBaseProps,
195
+ /**
196
+ * @vue-ignore
197
+ */
198
+ HTMLAttributes {}
199
+ declare const _default$6: typeof __VLS_export$7;
200
+ declare const __VLS_export$7: __VLS_WithSlots$4<vue318.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
201
+ default?: (props: {}) => any;
202
+ }>;
203
+ type __VLS_WithSlots$4<T, S> = T & {
204
+ new (): {
205
+ $slots: S;
206
+ };
207
+ };
208
+ //#endregion
209
+ //#region src/components/select/select-label.vue.d.ts
210
+ interface SelectLabelBaseProps extends PolymorphicProps {}
211
+ interface SelectLabelProps extends SelectLabelBaseProps,
212
+ /**
213
+ * @vue-ignore
214
+ */
215
+ LabelHTMLAttributes {}
216
+ declare const _default$12: typeof __VLS_export$6;
217
+ declare const __VLS_export$6: __VLS_WithSlots$3<vue318.DefineComponent<SelectLabelProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
218
+ default?: (props: {}) => any;
219
+ }>;
220
+ type __VLS_WithSlots$3<T, S> = T & {
221
+ new (): {
222
+ $slots: S;
223
+ };
224
+ };
225
+ //#endregion
226
+ //#region src/components/select/select-positioner.vue.d.ts
227
+ interface SelectPositionerBaseProps extends PolymorphicProps {}
228
+ interface SelectPositionerProps extends SelectPositionerBaseProps,
229
+ /**
230
+ * @vue-ignore
231
+ */
232
+ HTMLAttributes {}
233
+ declare const _default$14: typeof __VLS_export$5;
234
+ declare const __VLS_export$5: __VLS_WithSlots$2<vue318.DefineComponent<SelectPositionerProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
235
+ default?: (props: {}) => any;
236
+ }>;
237
+ type __VLS_WithSlots$2<T, S> = T & {
238
+ new (): {
239
+ $slots: S;
240
+ };
241
+ };
242
+ //#endregion
243
+ //#region src/components/select/select-root-provider.vue.d.ts
244
+ interface RootProviderProps<T extends CollectionItem> {
245
+ value: UnwrapRef<UseSelectReturn<T>>;
246
+ }
247
+ interface SelectRootProviderBaseProps<T extends CollectionItem> extends RootProviderProps<T>, RenderStrategyProps, PolymorphicProps {}
248
+ interface SelectRootProviderProps<T extends CollectionItem> extends SelectRootProviderBaseProps<T>,
249
+ /**
250
+ * @vue-ignore
251
+ */
252
+ HTMLAttributes {}
253
+ type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<SelectRootProviderProps<T>, P>) => any;
254
+ interface SelectRootProviderEmits extends RootEmits$1 {}
255
+ declare const _default$16: typeof __VLS_export$4;
256
+ declare const __VLS_export$4: <T extends CollectionItem>(__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<{
257
+ props: vue318.PublicProps & __VLS_PrettifyLocal$2<SelectRootProviderProps<T> & {
258
+ onExitComplete?: (() => any) | undefined;
259
+ }> & (typeof globalThis extends {
260
+ __VLS_PROPS_FALLBACK: infer P;
261
+ } ? P : {});
262
+ expose: (exposed: {}) => void;
263
+ attrs: any;
264
+ slots: {
265
+ default?: (props: {}) => any;
266
+ };
267
+ emit: (evt: "exitComplete") => void;
268
+ }>) => vue318.VNode & {
269
+ __ctx?: Awaited<typeof __VLS_setup>;
270
+ };
271
+ type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
272
+ //#endregion
273
+ //#region src/components/select/select-types.d.ts
274
+ interface RootProps<T extends CollectionItem> {
275
+ closeOnSelect?: boolean;
276
+ collection: ListCollection<T>;
277
+ composite?: boolean;
278
+ defaultHighlightedValue?: string;
279
+ defaultOpen?: boolean;
280
+ defaultValue?: string[];
281
+ deselectable?: boolean;
282
+ disabled?: boolean;
283
+ form?: string;
284
+ highlightedValue?: string;
285
+ id?: string;
286
+ ids?: Partial<{
287
+ root: string;
288
+ content: string;
289
+ control: string;
290
+ trigger: string;
291
+ clearTrigger: string;
292
+ label: string;
293
+ hiddenSelect: string;
294
+ positioner: string;
295
+ item(id: string | number): string;
296
+ itemGroup(id: string | number): string;
297
+ itemGroupLabel(id: string | number): string;
298
+ }>;
299
+ invalid?: boolean;
300
+ loopFocus?: boolean;
301
+ modelValue?: string[];
302
+ multiple?: boolean;
303
+ name?: string;
304
+ open?: boolean;
305
+ positioning?: select.PositioningOptions;
306
+ readOnly?: boolean;
307
+ required?: boolean;
308
+ scrollToIndexFn?: (details: select.ScrollToIndexDetails) => void;
309
+ }
310
+ type RootEmits<T extends CollectionItem> = {
311
+ exitComplete: [];
312
+ focusOutside: [event: select.FocusOutsideEvent];
313
+ highlightChange: [details: select.HighlightChangeDetails<T>];
314
+ interactOutside: [event: select.InteractOutsideEvent];
315
+ openChange: [details: select.OpenChangeDetails];
316
+ pointerDownOutside: [event: select.PointerDownOutsideEvent];
317
+ select: [details: select.SelectionDetails];
318
+ valueChange: [details: select.ValueChangeDetails<T>];
319
+ 'update:modelValue': [value: string[]];
320
+ 'update:open': [open: boolean];
321
+ 'update:highlightedValue': [value: string | null];
322
+ };
323
+ //#endregion
324
+ //#region src/components/select/select-root.vue.d.ts
325
+ interface SelectRootBaseProps<T extends CollectionItem> extends RootProps<T>, RenderStrategyProps, PolymorphicProps {}
326
+ interface SelectRootProps<T extends CollectionItem> extends SelectRootBaseProps<T>,
327
+ /**
328
+ * @vue-ignore
329
+ */
330
+ Omit<HTMLAttributes, 'onSelect'> {}
331
+ type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<SelectRootProps<T>, P>;
332
+ type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => any;
333
+ declare const _default$15: typeof __VLS_export$3;
334
+ declare const __VLS_export$3: <T extends CollectionItem>(__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<{
335
+ props: vue318.PublicProps & __VLS_PrettifyLocal$1<SelectRootProps<T> & {
336
+ onSelect?: ((details: select.SelectionDetails) => any) | undefined;
337
+ onExitComplete?: (() => any) | undefined;
338
+ onValueChange?: ((details: select.ValueChangeDetails<T>) => any) | undefined;
339
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
340
+ onOpenChange?: ((details: select.OpenChangeDetails) => any) | undefined;
341
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
342
+ onFocusOutside?: ((event: select.FocusOutsideEvent) => any) | undefined;
343
+ onHighlightChange?: ((details: select.HighlightChangeDetails<T>) => any) | undefined;
344
+ onInteractOutside?: ((event: select.InteractOutsideEvent) => any) | undefined;
345
+ onPointerDownOutside?: ((event: select.PointerDownOutsideEvent) => any) | undefined;
346
+ "onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
347
+ }> & (typeof globalThis extends {
348
+ __VLS_PROPS_FALLBACK: infer P;
349
+ } ? P : {});
350
+ expose: (exposed: {}) => void;
351
+ attrs: any;
352
+ slots: {
353
+ default?: (props: {}) => any;
354
+ };
355
+ emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "exitComplete") => void) & ((evt: "valueChange", details: select.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "openChange", details: select.OpenChangeDetails) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "focusOutside", event: select.FocusOutsideEvent) => void) & ((evt: "highlightChange", details: select.HighlightChangeDetails<T>) => void) & ((evt: "interactOutside", event: select.InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: select.PointerDownOutsideEvent) => void) & ((evt: "update:highlightedValue", value: string | null) => void);
356
+ }>) => vue318.VNode & {
357
+ __ctx?: Awaited<typeof __VLS_setup>;
358
+ };
359
+ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
360
+ //#endregion
361
+ //#region src/components/select/select-trigger.vue.d.ts
362
+ interface SelectTriggerBaseProps extends PolymorphicProps {}
363
+ interface SelectTriggerProps extends SelectTriggerBaseProps,
364
+ /**
365
+ * @vue-ignore
366
+ */
367
+ ButtonHTMLAttributes {}
368
+ declare const _default$17: typeof __VLS_export$2;
369
+ declare const __VLS_export$2: __VLS_WithSlots$1<vue318.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, {
370
+ default?: (props: {}) => any;
371
+ }>;
372
+ type __VLS_WithSlots$1<T, S> = T & {
373
+ new (): {
374
+ $slots: S;
375
+ };
376
+ };
377
+ //#endregion
378
+ //#region src/components/select/select-value-text.vue.d.ts
379
+ interface SelectValueTextBaseProps extends PolymorphicProps {}
380
+ interface SelectValueTextProps extends SelectValueTextBaseProps,
381
+ /**
382
+ * @vue-ignore
383
+ */
384
+ HTMLAttributes {
385
+ placeholder?: string;
386
+ }
387
+ declare const _default$18: typeof __VLS_export$1;
388
+ declare const __VLS_export$1: __VLS_WithSlots<vue318.DefineComponent<SelectValueTextProps, {}, {}, {}, {}, vue318.ComponentOptionsMixin, vue318.ComponentOptionsMixin, {}, string, vue318.PublicProps, Readonly<SelectValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue318.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
389
+ type __VLS_WithSlots<T, S> = T & {
390
+ new (): {
391
+ $slots: S;
392
+ };
393
+ };
394
+ declare namespace select_d_exports {
395
+ export { _default as ClearTrigger, SelectClearTriggerBaseProps as ClearTriggerBaseProps, SelectClearTriggerProps as ClearTriggerProps, CollectionItem, _default$1 as Content, SelectContentBaseProps as ContentBaseProps, SelectContentProps as ContentProps, _default$2 as Context, SelectContextProps as ContextProps, _default$3 as Control, SelectControlBaseProps as ControlBaseProps, SelectControlProps as ControlProps, FocusOutsideEvent, _default$4 as HiddenSelect, SelectHiddenSelectBaseProps as HiddenSelectBaseProps, SelectHiddenSelectProps as HiddenSelectProps, HighlightChangeDetails, _default$5 as Indicator, SelectIndicatorBaseProps as IndicatorBaseProps, SelectIndicatorProps as IndicatorProps, InteractOutsideEvent, _default$6 as Item, SelectItemBaseProps as ItemBaseProps, _default$7 as ItemContext, SelectItemContextProps as ItemContextProps, _default$8 as ItemGroup, SelectItemGroupBaseProps as ItemGroupBaseProps, _default$9 as ItemGroupLabel, SelectItemGroupLabelBaseProps as ItemGroupLabelBaseProps, SelectItemGroupLabelProps as ItemGroupLabelProps, SelectItemGroupProps as ItemGroupProps, _default$10 as ItemIndicator, SelectItemIndicatorBaseProps as ItemIndicatorBaseProps, SelectItemIndicatorProps as ItemIndicatorProps, SelectItemProps as ItemProps, _default$11 as ItemText, SelectItemTextBaseProps as ItemTextBaseProps, SelectItemTextProps as ItemTextProps, _default$12 as Label, SelectLabelBaseProps as LabelBaseProps, SelectLabelProps as LabelProps, _default$13 as List, SelectListBaseProps as ListBaseProps, ListCollection, SelectListProps as ListProps, OpenChangeDetails, PointerDownOutsideEvent, _default$14 as Positioner, SelectPositionerBaseProps as PositionerBaseProps, SelectPositionerProps as PositionerProps, _default$15 as Root, SelectRootBaseProps as RootBaseProps, SelectRootComponent as RootComponent, SelectRootComponentProps as RootComponentProps, RootEmits, SelectRootProps as RootProps, _default$16 as RootProvider, SelectRootProviderBaseProps as RootProviderBaseProps, SelectRootProviderComponent as RootProviderComponent, SelectRootProviderProps as RootProviderProps, _default$17 as Trigger, SelectTriggerBaseProps as TriggerBaseProps, SelectTriggerProps as TriggerProps, ValueChangeDetails, _default$18 as ValueText, SelectValueTextBaseProps as ValueTextBaseProps, SelectValueTextProps as ValueTextProps };
396
+ }
397
+ //#endregion
398
+ //#region src/components/select/use-select.d.ts
399
+ interface UseSelectProps<T extends CollectionItem> extends Optional<Omit<select.Props<T>, 'dir' | 'getRootNode' | 'collection'>, 'id'> {
400
+ modelValue?: select.Props<T>['value'];
401
+ collection: ListCollection<T>;
402
+ }
403
+ interface UseSelectReturn<T extends CollectionItem> extends ComputedRef<select.Api<PropTypes, T>> {}
404
+ declare const useSelect: <T extends CollectionItem>(props: MaybeRef<UseSelectProps<T>>, emit?: EmitFn$1<RootEmits<T>>) => UseSelectReturn<T>;
405
+ //#endregion
406
+ //#region src/components/select/use-select-context.d.ts
407
+ interface UseSelectContext<T extends CollectionItem> extends UseSelectReturn<T> {}
408
+ //#endregion
409
+ //#region src/components/select/select-context.vue.d.ts
410
+ interface SelectContextProps<T extends CollectionItem> extends SlotsType<{
411
+ default: UnwrapRef<UseSelectContext<T>>;
412
+ }> {}
413
+ declare const _default$2: typeof __VLS_export;
414
+ declare const __VLS_export: <T extends CollectionItem>(__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<{
415
+ props: vue318.PublicProps & (typeof globalThis extends {
416
+ __VLS_PROPS_FALLBACK: infer P;
417
+ } ? P : {});
418
+ expose: (exposed: {}) => void;
419
+ attrs: any;
420
+ slots: {
421
+ default(select: UnwrapRef<UseSelectContext<T>>): unknown;
422
+ };
423
+ emit: {};
424
+ }>) => vue318.VNode & {
425
+ __ctx?: Awaited<typeof __VLS_setup>;
426
+ };
427
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
428
+ //#endregion
429
+ export { type CollectionItem, type ListCollection, select_d_exports as Select, _default as SelectClearTrigger, type SelectClearTriggerBaseProps, type SelectClearTriggerProps, _default$1 as SelectContent, type SelectContentBaseProps, type SelectContentProps, _default$2 as SelectContext, type SelectContextProps, _default$3 as SelectControl, type SelectControlBaseProps, type SelectControlProps, type SelectFocusOutsideEvent, _default$4 as SelectHiddenSelect, type SelectHiddenSelectBaseProps, type SelectHiddenSelectProps, type SelectHighlightChangeDetails, _default$5 as SelectIndicator, type SelectIndicatorBaseProps, type SelectIndicatorProps, type SelectInteractOutsideEvent, _default$6 as SelectItem, type SelectItemBaseProps, _default$7 as SelectItemContext, type SelectItemContextProps, _default$8 as SelectItemGroup, type SelectItemGroupBaseProps, _default$9 as SelectItemGroupLabel, type SelectItemGroupLabelBaseProps, type SelectItemGroupLabelProps, type SelectItemGroupProps, _default$10 as SelectItemIndicator, type SelectItemIndicatorBaseProps, type SelectItemIndicatorProps, type SelectItemProps, _default$11 as SelectItemText, type SelectItemTextBaseProps, type SelectItemTextProps, _default$12 as SelectLabel, type SelectLabelBaseProps, type SelectLabelProps, _default$13 as SelectList, type SelectListBaseProps, type SelectListProps, type SelectOpenChangeDetails, type SelectPointerDownOutsideEvent, _default$14 as SelectPositioner, type SelectPositionerBaseProps, type SelectPositionerProps, _default$15 as SelectRoot, type SelectRootBaseProps, type SelectRootComponent, type SelectRootComponentProps, type RootEmits as SelectRootEmits, type SelectRootProps, _default$16 as SelectRootProvider, type SelectRootProviderBaseProps, type SelectRootProviderComponent, type SelectRootProviderEmits, type SelectRootProviderProps, _default$17 as SelectTrigger, type SelectTriggerBaseProps, type SelectTriggerProps, type SelectValueChangeDetails, _default$18 as SelectValueText, type SelectValueTextBaseProps, type SelectValueTextProps, type UseListCollectionProps, type UseSelectContext, type UseSelectItemContext, type UseSelectProps, type UseSelectReturn, createListCollection, selectAnatomy, useListCollection, useSelect, useSelectContext, useSelectItemContext };