@sprawlify/vue 0.0.66 → 0.0.70

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 (101) hide show
  1. package/dist/{collapsible-BBV8R9Wm.js → collapsible-D1Mx4C0H.js} +4 -3
  2. package/dist/components/accordion/index.d.ts +18 -18
  3. package/dist/components/accordion/index.js +7 -6
  4. package/dist/components/angle-slider/index.d.ts +17 -17
  5. package/dist/components/angle-slider/index.js +4 -3
  6. package/dist/components/avatar/index.d.ts +11 -11
  7. package/dist/components/avatar/index.js +4 -3
  8. package/dist/components/bottom-sheet/index.d.ts +19 -19
  9. package/dist/components/bottom-sheet/index.js +7 -6
  10. package/dist/components/carousel/index.d.ts +25 -25
  11. package/dist/components/carousel/index.js +4 -3
  12. package/dist/components/checkbox/index.d.ts +24 -24
  13. package/dist/components/checkbox/index.js +6 -5
  14. package/dist/components/client-only/index.d.ts +2 -2
  15. package/dist/components/clipboard/index.d.ts +17 -17
  16. package/dist/components/clipboard/index.js +4 -3
  17. package/dist/components/collapsible/index.d.ts +16 -16
  18. package/dist/components/collapsible/index.js +5 -4
  19. package/dist/components/collection/index.d.ts +1 -1
  20. package/dist/components/collection/index.js +1 -1
  21. package/dist/components/color-picker/index.d.ts +610 -0
  22. package/dist/components/color-picker/index.js +1128 -0
  23. package/dist/components/combobox/index.d.ts +618 -0
  24. package/dist/components/combobox/index.js +803 -0
  25. package/dist/components/date-picker/index.d.ts +597 -0
  26. package/dist/components/date-picker/index.js +1111 -0
  27. package/dist/components/dialog/index.d.ts +270 -0
  28. package/dist/components/dialog/index.js +434 -0
  29. package/dist/components/download-trigger/index.d.ts +29 -0
  30. package/dist/components/download-trigger/index.js +69 -0
  31. package/dist/components/editable/index.d.ts +288 -0
  32. package/dist/components/editable/index.js +460 -0
  33. package/dist/components/field/index.d.ts +26 -26
  34. package/dist/components/field/index.js +5 -4
  35. package/dist/components/fieldset/index.d.ts +13 -13
  36. package/dist/components/fieldset/index.js +5 -4
  37. package/dist/components/file-upload/index.d.ts +329 -0
  38. package/dist/components/file-upload/index.js +597 -0
  39. package/dist/components/floating-panel/index.d.ts +326 -0
  40. package/dist/components/floating-panel/index.js +568 -0
  41. package/dist/components/focus-trap/index.d.ts +48 -0
  42. package/dist/components/focus-trap/index.js +96 -0
  43. package/dist/components/format/index.d.ts +40 -0
  44. package/dist/components/format/index.js +148 -0
  45. package/dist/components/frame/index.d.ts +39 -0
  46. package/dist/components/frame/index.js +111 -0
  47. package/dist/components/highlight/index.d.ts +35 -0
  48. package/dist/components/highlight/index.js +57 -0
  49. package/dist/components/hover-card/index.d.ts +200 -0
  50. package/dist/components/hover-card/index.js +335 -0
  51. package/dist/components/image-cropper/index.d.ts +211 -0
  52. package/dist/components/image-cropper/index.js +381 -0
  53. package/dist/components/json-tree-view/index.d.ts +91 -0
  54. package/dist/components/json-tree-view/index.js +490 -0
  55. package/dist/components/listbox/index.d.ts +325 -0
  56. package/dist/components/listbox/index.js +533 -0
  57. package/dist/components/marquee/index.d.ts +268 -0
  58. package/dist/components/marquee/index.js +340 -0
  59. package/dist/components/menu/index.d.ts +498 -0
  60. package/dist/components/menu/index.js +886 -0
  61. package/dist/components/navigation-menu/index.d.ts +272 -0
  62. package/dist/components/navigation-menu/index.js +559 -0
  63. package/dist/components/number-input/index.d.ts +253 -0
  64. package/dist/components/number-input/index.js +427 -0
  65. package/dist/components/pagination/index.d.ts +211 -0
  66. package/dist/components/pagination/index.js +346 -0
  67. package/dist/components/password-input/index.d.ts +213 -0
  68. package/dist/components/password-input/index.js +325 -0
  69. package/dist/components/pin-input/index.d.ts +198 -0
  70. package/dist/components/pin-input/index.js +346 -0
  71. package/dist/components/popover/index.d.ts +318 -0
  72. package/dist/components/popover/index.js +486 -0
  73. package/dist/components/presence/index.d.ts +2 -2
  74. package/dist/components/presence/index.js +4 -3
  75. package/dist/components/select/index.d.ts +36 -35
  76. package/dist/components/select/index.js +8 -7
  77. package/dist/components/tree-view/index.d.ts +6 -0
  78. package/dist/components/tree-view/index.js +11 -0
  79. package/dist/create-context-Ds1GbsVc.js +16 -0
  80. package/dist/{field-DnHnX3Tf.js → field-CtPR24u6.js} +4 -3
  81. package/dist/{fieldset-DzhN7Zrg.js → fieldset-D5SznrKY.js} +4 -3
  82. package/dist/index-ByYmM8LZ.d.ts +447 -0
  83. package/dist/{index-rHf4D8np.d.ts → index-Cjk1WhUx.d.ts} +11 -11
  84. package/dist/index-D0_ID5xv.d.ts +91 -0
  85. package/dist/index.d.ts +4 -93
  86. package/dist/index.js +3 -2
  87. package/dist/{presence-CvUnYMZQ.js → presence-BK6rPXK7.js} +3 -2
  88. package/dist/{providers-B2CNPFg1.js → providers-DNBWT-O_.js} +1 -1
  89. package/dist/tree-view-CzfDgztL.js +737 -0
  90. package/dist/{use-forward-expose-4p5AGAI3.js → use-forward-expose-CCAmHTUB.js} +2 -15
  91. package/dist/{use-render-strategy-BkxoN6ll.js → use-render-strategy-DMa_QmB6.js} +1 -1
  92. package/package.json +102 -2
  93. /package/dist/{collection-DR2kMzrX.js → collection-DiwGNCAy.js} +0 -0
  94. /package/dist/{create-split-props-YZ3qgXe_.js → create-split-props-BDJ_VWs3.js} +0 -0
  95. /package/dist/{factory-BH3WrWd2.js → factory-Co08Aw8u.js} +0 -0
  96. /package/dist/{factory-D_ge_w76.d.ts → factory-Dg6Whljf.d.ts} +0 -0
  97. /package/dist/{index-B66Om_3U.d.ts → index-DI09ccnU.d.ts} +0 -0
  98. /package/dist/{index-DqRk-Yea.d.ts → index-ECeveDvH.d.ts} +0 -0
  99. /package/dist/{presence-types-Bv1E60Cw.d.ts → presence-types-BaQ7PILD.d.ts} +0 -0
  100. /package/dist/{types-Bj-dS2Hc.d.ts → types-BkS9kMJ5.d.ts} +0 -0
  101. /package/dist/{use-render-strategy-CHj_pCfT.d.ts → use-render-strategy-bdLKqL57.d.ts} +0 -0
@@ -0,0 +1,325 @@
1
+ import { t as PolymorphicProps } from "../../factory-Dg6Whljf.js";
2
+ import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-BkS9kMJ5.js";
3
+ import { r as PropTypes } from "../../index-DI09ccnU.js";
4
+ import { _ as CollectionItem, b as createListCollection, y as ListCollection } from "../../index-ECeveDvH.js";
5
+ import * as vue1073 from "vue";
6
+ import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
7
+ import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
8
+ import * as listbox from "@sprawlify/primitives/machines/listbox";
9
+ import { HighlightChangeDetails, HighlightChangeDetails as ListboxHighlightChangeDetails, ItemGroupProps, ItemProps, ItemState, ScrollToIndexDetails, ScrollToIndexDetails as ListboxScrollToIndexDetails, SelectionDetails, SelectionDetails as ListboxSelectionDetails, SelectionMode, SelectionMode as ListboxSelectionMode, ValueChangeDetails, ValueChangeDetails as ListboxValueChangeDetails } from "@sprawlify/primitives/machines/listbox";
10
+
11
+ //#region src/components/listbox/listbox-content.vue.d.ts
12
+ interface ListboxContentBaseProps extends PolymorphicProps {}
13
+ interface ListboxContentProps extends ListboxContentBaseProps,
14
+ /**
15
+ * @vue-ignore
16
+ */
17
+ HTMLAttributes {}
18
+ declare const _default: typeof __VLS_export$13;
19
+ declare const __VLS_export$13: __VLS_WithSlots$10<vue1073.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
20
+ default?: (props: {}) => any;
21
+ }>;
22
+ type __VLS_WithSlots$10<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
27
+ //#endregion
28
+ //#region src/components/listbox/listbox-empty.vue.d.ts
29
+ interface ListboxEmptyBaseProps extends PolymorphicProps {}
30
+ interface ListboxEmptyProps extends ListboxEmptyBaseProps,
31
+ /**
32
+ * @vue-ignore
33
+ */
34
+ HTMLAttributes {}
35
+ declare const _default$2: typeof __VLS_export$12;
36
+ declare const __VLS_export$12: __VLS_WithSlots$9<vue1073.DefineComponent<ListboxEmptyProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxEmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
37
+ default?: (props: {}) => any;
38
+ }>;
39
+ type __VLS_WithSlots$9<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
44
+ //#endregion
45
+ //#region src/components/listbox/listbox-input.vue.d.ts
46
+ interface ListboxInputBaseProps extends PolymorphicProps {}
47
+ interface ListboxInputProps extends ListboxInputBaseProps,
48
+ /**
49
+ * @vue-ignore
50
+ */
51
+ InputHTMLAttributes {}
52
+ declare const _default$3: typeof __VLS_export$11;
53
+ declare const __VLS_export$11: __VLS_WithSlots$8<vue1073.DefineComponent<ListboxInputProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
54
+ default?: (props: {}) => any;
55
+ }>;
56
+ type __VLS_WithSlots$8<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
61
+ //#endregion
62
+ //#region src/components/listbox/use-listbox-item-context.d.ts
63
+ interface UseListboxItemContext extends ComputedRef<ItemState> {}
64
+ //#endregion
65
+ //#region src/components/listbox/listbox-item-context.vue.d.ts
66
+ interface ListboxItemContextProps extends SlotsType<{
67
+ default: UnwrapRef<UseListboxItemContext>;
68
+ }> {}
69
+ declare const _default$5: typeof __VLS_export$10;
70
+ declare const __VLS_export$10: __VLS_WithSlots$7<vue1073.DefineComponent<{}, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, true, {}, any>, {
71
+ default(context: UnwrapRef<UseListboxItemContext>): unknown;
72
+ }>;
73
+ type __VLS_WithSlots$7<T, S> = T & {
74
+ new (): {
75
+ $slots: S;
76
+ };
77
+ };
78
+ //#endregion
79
+ //#region src/components/listbox/listbox-item-group-label.vue.d.ts
80
+ interface ListboxItemGroupLabelBaseProps extends PolymorphicProps {}
81
+ interface ListboxItemGroupLabelProps extends ListboxItemGroupLabelBaseProps,
82
+ /**
83
+ * @vue-ignore
84
+ */
85
+ HTMLAttributes {}
86
+ declare const _default$7: typeof __VLS_export$9;
87
+ declare const __VLS_export$9: __VLS_WithSlots$6<vue1073.DefineComponent<ListboxItemGroupLabelProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
88
+ default?: (props: {}) => any;
89
+ }>;
90
+ type __VLS_WithSlots$6<T, S> = T & {
91
+ new (): {
92
+ $slots: S;
93
+ };
94
+ };
95
+ //#endregion
96
+ //#region src/components/listbox/listbox-item-group.vue.d.ts
97
+ interface ListboxItemGroupBaseProps extends Partial<ItemGroupProps>, PolymorphicProps {}
98
+ interface ListboxItemGroupProps extends ListboxItemGroupBaseProps,
99
+ /**
100
+ * @vue-ignore
101
+ */
102
+ HTMLAttributes {}
103
+ declare const _default$6: typeof __VLS_export$8;
104
+ declare const __VLS_export$8: __VLS_WithSlots$5<vue1073.DefineComponent<ListboxItemGroupProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
105
+ default?: (props: {}) => any;
106
+ }>;
107
+ type __VLS_WithSlots$5<T, S> = T & {
108
+ new (): {
109
+ $slots: S;
110
+ };
111
+ };
112
+ //#endregion
113
+ //#region src/components/listbox/listbox-item-indicator.vue.d.ts
114
+ interface ListboxItemIndicatorBaseProps extends PolymorphicProps {}
115
+ interface ListboxItemIndicatorProps extends ListboxItemIndicatorBaseProps,
116
+ /**
117
+ * @vue-ignore
118
+ */
119
+ HTMLAttributes {}
120
+ declare const _default$8: typeof __VLS_export$7;
121
+ declare const __VLS_export$7: __VLS_WithSlots$4<vue1073.DefineComponent<ListboxItemIndicatorProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
122
+ default?: (props: {}) => any;
123
+ }>;
124
+ type __VLS_WithSlots$4<T, S> = T & {
125
+ new (): {
126
+ $slots: S;
127
+ };
128
+ };
129
+ //#endregion
130
+ //#region src/components/listbox/listbox-item-text.vue.d.ts
131
+ interface ListboxItemTextBaseProps extends PolymorphicProps {}
132
+ interface ListboxItemTextProps extends ListboxItemTextBaseProps,
133
+ /**
134
+ * @vue-ignore
135
+ */
136
+ HTMLAttributes {}
137
+ declare const _default$9: typeof __VLS_export$6;
138
+ declare const __VLS_export$6: __VLS_WithSlots$3<vue1073.DefineComponent<ListboxItemTextProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
139
+ default?: (props: {}) => any;
140
+ }>;
141
+ type __VLS_WithSlots$3<T, S> = T & {
142
+ new (): {
143
+ $slots: S;
144
+ };
145
+ };
146
+ //#endregion
147
+ //#region src/components/listbox/listbox-item.vue.d.ts
148
+ interface ListboxItemBaseProps extends ItemProps, PolymorphicProps {}
149
+ interface ListboxItemProps extends ListboxItemBaseProps,
150
+ /**
151
+ * @vue-ignore
152
+ */
153
+ HTMLAttributes {}
154
+ declare const _default$4: typeof __VLS_export$5;
155
+ declare const __VLS_export$5: __VLS_WithSlots$2<vue1073.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
156
+ default?: (props: {}) => any;
157
+ }>;
158
+ type __VLS_WithSlots$2<T, S> = T & {
159
+ new (): {
160
+ $slots: S;
161
+ };
162
+ };
163
+ //#endregion
164
+ //#region src/components/listbox/listbox-label.vue.d.ts
165
+ interface ListboxLabelBaseProps extends PolymorphicProps {}
166
+ interface ListboxLabelProps extends ListboxLabelBaseProps,
167
+ /**
168
+ * @vue-ignore
169
+ */
170
+ LabelHTMLAttributes {}
171
+ declare const _default$10: typeof __VLS_export$4;
172
+ declare const __VLS_export$4: __VLS_WithSlots$1<vue1073.DefineComponent<ListboxLabelProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, {
173
+ default?: (props: {}) => any;
174
+ }>;
175
+ type __VLS_WithSlots$1<T, S> = T & {
176
+ new (): {
177
+ $slots: S;
178
+ };
179
+ };
180
+ //#endregion
181
+ //#region src/components/listbox/listbox-root-provider.vue.d.ts
182
+ interface RootProviderProps<T extends CollectionItem> {
183
+ value: UnwrapRef<UseListboxReturn<T>>;
184
+ }
185
+ interface ListboxRootProviderBaseProps<T extends CollectionItem> extends RootProviderProps<T>, PolymorphicProps {}
186
+ interface ListboxRootProviderProps<T extends CollectionItem> extends ListboxRootProviderBaseProps<T>,
187
+ /**
188
+ * @vue-ignore
189
+ */
190
+ HTMLAttributes {}
191
+ type ListboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProviderProps<T>, P>) => any;
192
+ declare const _default$12: typeof __VLS_export$3;
193
+ declare const __VLS_export$3: <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<{
194
+ props: vue1073.PublicProps & __VLS_PrettifyLocal$2<ListboxRootProviderProps<T>> & (typeof globalThis extends {
195
+ __VLS_PROPS_FALLBACK: infer P;
196
+ } ? P : {});
197
+ expose: (exposed: {}) => void;
198
+ attrs: any;
199
+ slots: {
200
+ default?: (props: {}) => any;
201
+ };
202
+ emit: {};
203
+ }>) => vue1073.VNode & {
204
+ __ctx?: Awaited<typeof __VLS_setup>;
205
+ };
206
+ type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
207
+ //#endregion
208
+ //#region src/components/listbox/listbox-types.d.ts
209
+ interface RootProps<T extends CollectionItem> {
210
+ collection: ListCollection<T>;
211
+ defaultHighlightedValue?: string;
212
+ defaultValue?: string[];
213
+ deselectable?: boolean;
214
+ disabled?: boolean;
215
+ disallowSelectAll?: boolean;
216
+ highlightedValue?: string;
217
+ id?: string;
218
+ ids?: Partial<{
219
+ root: string;
220
+ content: string;
221
+ label: string;
222
+ item(id: string | number): string;
223
+ itemGroup(id: string | number): string;
224
+ itemGroupLabel(id: string | number): string;
225
+ }>;
226
+ loopFocus?: boolean;
227
+ modelValue?: string[];
228
+ orientation?: 'horizontal' | 'vertical';
229
+ scrollToIndexFn?: (details: listbox.ScrollToIndexDetails) => void;
230
+ selectOnHighlight?: boolean;
231
+ selectionMode?: listbox.SelectionMode;
232
+ typeahead?: boolean;
233
+ }
234
+ type RootEmits<T extends CollectionItem> = {
235
+ highlightChange: [details: listbox.HighlightChangeDetails<T>];
236
+ select: [details: listbox.SelectionDetails];
237
+ valueChange: [details: listbox.ValueChangeDetails<T>];
238
+ 'update:modelValue': [value: string[]];
239
+ };
240
+ //#endregion
241
+ //#region src/components/listbox/listbox-root.vue.d.ts
242
+ interface ListboxRootBaseProps<T extends CollectionItem> extends RootProps<T>, PolymorphicProps {}
243
+ interface ListboxRootProps<T extends CollectionItem> extends ListboxRootBaseProps<T>,
244
+ /**
245
+ * @vue-ignore
246
+ */
247
+ HTMLAttributes {}
248
+ type ListboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ListboxRootProps<T>, P>;
249
+ type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: ListboxRootComponentProps<T, P>) => any;
250
+ declare const _default$11: typeof __VLS_export$2;
251
+ declare const __VLS_export$2: <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<{
252
+ props: vue1073.PublicProps & __VLS_PrettifyLocal$1<ListboxRootBaseProps<T> & {
253
+ onSelect?: ((details: listbox.SelectionDetails) => any) | undefined;
254
+ onValueChange?: ((details: listbox.ValueChangeDetails<T>) => any) | undefined;
255
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
256
+ onHighlightChange?: ((details: listbox.HighlightChangeDetails<T>) => any) | undefined;
257
+ }> & (typeof globalThis extends {
258
+ __VLS_PROPS_FALLBACK: infer P;
259
+ } ? P : {});
260
+ expose: (exposed: {}) => void;
261
+ attrs: any;
262
+ slots: {
263
+ default?: (props: {}) => any;
264
+ };
265
+ emit: ((evt: "select", details: listbox.SelectionDetails) => void) & ((evt: "valueChange", details: listbox.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "highlightChange", details: listbox.HighlightChangeDetails<T>) => void);
266
+ }>) => vue1073.VNode & {
267
+ __ctx?: Awaited<typeof __VLS_setup>;
268
+ };
269
+ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
270
+ //#endregion
271
+ //#region src/components/listbox/listbox-value-text.vue.d.ts
272
+ interface ListboxValueTextBaseProps extends PolymorphicProps {}
273
+ interface ListboxValueTextProps extends ListboxValueTextBaseProps,
274
+ /**
275
+ * @vue-ignore
276
+ */
277
+ HTMLAttributes {
278
+ placeholder?: string;
279
+ }
280
+ declare const _default$13: typeof __VLS_export$1;
281
+ declare const __VLS_export$1: __VLS_WithSlots<vue1073.DefineComponent<ListboxValueTextProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {}, string, vue1073.PublicProps, Readonly<ListboxValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
282
+ type __VLS_WithSlots<T, S> = T & {
283
+ new (): {
284
+ $slots: S;
285
+ };
286
+ };
287
+ declare namespace listbox_d_exports {
288
+ export { _default as Content, ListboxContentBaseProps as ContentBaseProps, ListboxContentProps as ContentProps, _default$1 as Context, ListboxContextProps as ContextProps, _default$2 as Empty, ListboxEmptyBaseProps as EmptyBaseProps, ListboxEmptyProps as EmptyProps, HighlightChangeDetails, _default$3 as Input, ListboxInputBaseProps as InputBaseProps, ListboxInputProps as InputProps, _default$4 as Item, ListboxItemBaseProps as ItemBaseProps, _default$5 as ItemContext, ListboxItemContextProps as ItemContextProps, _default$6 as ItemGroup, ListboxItemGroupBaseProps as ItemGroupBaseProps, _default$7 as ItemGroupLabel, ListboxItemGroupLabelBaseProps as ItemGroupLabelBaseProps, ListboxItemGroupLabelProps as ItemGroupLabelProps, ListboxItemGroupProps as ItemGroupProps, _default$8 as ItemIndicator, ListboxItemIndicatorBaseProps as ItemIndicatorBaseProps, ListboxItemIndicatorProps as ItemIndicatorProps, ListboxItemProps as ItemProps, _default$9 as ItemText, ListboxItemTextBaseProps as ItemTextBaseProps, ListboxItemTextProps as ItemTextProps, _default$10 as Label, ListboxLabelBaseProps as LabelBaseProps, ListboxLabelProps as LabelProps, _default$11 as Root, ListboxRootBaseProps as RootBaseProps, ListboxRootComponent as RootComponent, ListboxRootComponentProps as RootComponentProps, RootEmits, ListboxRootProps as RootProps, _default$12 as RootProvider, ListboxRootProviderBaseProps as RootProviderBaseProps, ListboxRootProviderComponent as RootProviderComponent, ListboxRootProviderProps as RootProviderProps, ScrollToIndexDetails, SelectionDetails, SelectionMode, ValueChangeDetails, _default$13 as ValueText, ListboxValueTextBaseProps as ValueTextBaseProps, ListboxValueTextProps as ValueTextProps };
289
+ }
290
+ //#endregion
291
+ //#region src/components/listbox/use-listbox.d.ts
292
+ interface UseListboxProps<T extends CollectionItem> extends Optional<Omit<listbox.Props<T>, 'dir' | 'getRootNode' | 'collection'>, 'id'> {
293
+ modelValue?: listbox.Props<T>['value'];
294
+ collection: ListCollection<T>;
295
+ }
296
+ interface UseListboxReturn<T extends CollectionItem> extends ComputedRef<listbox.Api<PropTypes, T>> {}
297
+ declare const useListbox: <T extends CollectionItem>(props: MaybeRef<UseListboxProps<T>>, emit?: EmitFn$1<RootEmits<T>>) => UseListboxReturn<T>;
298
+ //#endregion
299
+ //#region src/components/listbox/use-listbox-context.d.ts
300
+ interface UseListboxContext<T extends CollectionItem> extends UseListboxReturn<T> {}
301
+ //#endregion
302
+ //#region src/components/listbox/listbox-context.vue.d.ts
303
+ interface ListboxContextProps<T extends CollectionItem> extends SlotsType<{
304
+ default: UnwrapRef<UseListboxContext<T>>;
305
+ }> {}
306
+ declare const _default$1: typeof __VLS_export;
307
+ 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<{
308
+ props: vue1073.PublicProps & (typeof globalThis extends {
309
+ __VLS_PROPS_FALLBACK: infer P;
310
+ } ? P : {});
311
+ expose: (exposed: {}) => void;
312
+ attrs: any;
313
+ slots: {
314
+ default(listbox: UnwrapRef<UseListboxContext<T>>): unknown;
315
+ };
316
+ emit: {};
317
+ }>) => vue1073.VNode & {
318
+ __ctx?: Awaited<typeof __VLS_setup>;
319
+ };
320
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
321
+ //#endregion
322
+ //#region src/components/listbox/listbox-anatomy.d.ts
323
+ declare const listboxAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"input" | "label" | "root" | "content" | "item" | "itemGroup" | "valueText" | "itemIndicator" | "itemText" | "itemGroupLabel" | "empty">;
324
+ //#endregion
325
+ export { type CollectionItem, type ListCollection, listbox_d_exports as Listbox, _default as ListboxContent, type ListboxContentBaseProps, type ListboxContentProps, _default$1 as ListboxContext, type ListboxContextProps, _default$2 as ListboxEmpty, type ListboxEmptyBaseProps, type ListboxEmptyProps, type ListboxHighlightChangeDetails, _default$3 as ListboxInput, type ListboxInputBaseProps, type ListboxInputProps, _default$4 as ListboxItem, type ListboxItemBaseProps, _default$5 as ListboxItemContext, type ListboxItemContextProps, _default$6 as ListboxItemGroup, type ListboxItemGroupBaseProps, _default$7 as ListboxItemGroupLabel, type ListboxItemGroupLabelBaseProps, type ListboxItemGroupLabelProps, type ListboxItemGroupProps, _default$8 as ListboxItemIndicator, type ListboxItemIndicatorBaseProps, type ListboxItemIndicatorProps, type ListboxItemProps, _default$9 as ListboxItemText, type ListboxItemTextBaseProps, type ListboxItemTextProps, _default$10 as ListboxLabel, type ListboxLabelBaseProps, type ListboxLabelProps, _default$11 as ListboxRoot, type ListboxRootBaseProps, type ListboxRootComponent, type ListboxRootComponentProps, type RootEmits as ListboxRootEmits, type ListboxRootProps, _default$12 as ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderComponent, type ListboxRootProviderProps, type ListboxScrollToIndexDetails, type ListboxSelectionDetails, type ListboxSelectionMode, type ListboxValueChangeDetails, _default$13 as ListboxValueText, type ListboxValueTextBaseProps, type ListboxValueTextProps, type UseListboxContext, type UseListboxItemContext, type UseListboxProps, type UseListboxReturn, createListCollection, listboxAnatomy, useListbox, useListboxContext, useListboxItemContext };