@sprawlify/vue 0.0.65 → 0.0.67

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