@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.
- package/dist/{collapsible-BBV8R9Wm.js → collapsible-D1Mx4C0H.js} +4 -3
- package/dist/components/accordion/index.d.ts +18 -18
- package/dist/components/accordion/index.js +7 -6
- package/dist/components/angle-slider/index.d.ts +17 -17
- package/dist/components/angle-slider/index.js +4 -3
- package/dist/components/avatar/index.d.ts +11 -11
- package/dist/components/avatar/index.js +4 -3
- package/dist/components/bottom-sheet/index.d.ts +19 -19
- package/dist/components/bottom-sheet/index.js +7 -6
- package/dist/components/carousel/index.d.ts +25 -25
- package/dist/components/carousel/index.js +4 -3
- package/dist/components/checkbox/index.d.ts +24 -24
- package/dist/components/checkbox/index.js +6 -5
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +17 -17
- package/dist/components/clipboard/index.js +4 -3
- package/dist/components/collapsible/index.d.ts +16 -16
- package/dist/components/collapsible/index.js +5 -4
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +610 -0
- package/dist/components/color-picker/index.js +1128 -0
- package/dist/components/combobox/index.d.ts +618 -0
- package/dist/components/combobox/index.js +803 -0
- package/dist/components/date-picker/index.d.ts +597 -0
- package/dist/components/date-picker/index.js +1111 -0
- package/dist/components/dialog/index.d.ts +270 -0
- package/dist/components/dialog/index.js +434 -0
- package/dist/components/download-trigger/index.d.ts +29 -0
- package/dist/components/download-trigger/index.js +69 -0
- package/dist/components/editable/index.d.ts +288 -0
- package/dist/components/editable/index.js +460 -0
- package/dist/components/field/index.d.ts +26 -26
- package/dist/components/field/index.js +5 -4
- package/dist/components/fieldset/index.d.ts +13 -13
- package/dist/components/fieldset/index.js +5 -4
- package/dist/components/file-upload/index.d.ts +329 -0
- package/dist/components/file-upload/index.js +597 -0
- package/dist/components/floating-panel/index.d.ts +326 -0
- package/dist/components/floating-panel/index.js +568 -0
- package/dist/components/focus-trap/index.d.ts +48 -0
- package/dist/components/focus-trap/index.js +96 -0
- package/dist/components/format/index.d.ts +40 -0
- package/dist/components/format/index.js +148 -0
- package/dist/components/frame/index.d.ts +39 -0
- package/dist/components/frame/index.js +111 -0
- package/dist/components/highlight/index.d.ts +35 -0
- package/dist/components/highlight/index.js +57 -0
- package/dist/components/hover-card/index.d.ts +200 -0
- package/dist/components/hover-card/index.js +335 -0
- package/dist/components/image-cropper/index.d.ts +211 -0
- package/dist/components/image-cropper/index.js +381 -0
- package/dist/components/json-tree-view/index.d.ts +91 -0
- package/dist/components/json-tree-view/index.js +490 -0
- package/dist/components/listbox/index.d.ts +325 -0
- package/dist/components/listbox/index.js +533 -0
- package/dist/components/marquee/index.d.ts +268 -0
- package/dist/components/marquee/index.js +340 -0
- package/dist/components/menu/index.d.ts +498 -0
- package/dist/components/menu/index.js +886 -0
- package/dist/components/navigation-menu/index.d.ts +272 -0
- package/dist/components/navigation-menu/index.js +559 -0
- package/dist/components/number-input/index.d.ts +253 -0
- package/dist/components/number-input/index.js +427 -0
- package/dist/components/pagination/index.d.ts +211 -0
- package/dist/components/pagination/index.js +346 -0
- package/dist/components/password-input/index.d.ts +213 -0
- package/dist/components/password-input/index.js +325 -0
- package/dist/components/pin-input/index.d.ts +198 -0
- package/dist/components/pin-input/index.js +346 -0
- package/dist/components/popover/index.d.ts +318 -0
- package/dist/components/popover/index.js +486 -0
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +4 -3
- package/dist/components/select/index.d.ts +36 -35
- package/dist/components/select/index.js +8 -7
- package/dist/components/tree-view/index.d.ts +6 -0
- package/dist/components/tree-view/index.js +11 -0
- package/dist/create-context-Ds1GbsVc.js +16 -0
- package/dist/{field-DnHnX3Tf.js → field-CtPR24u6.js} +4 -3
- package/dist/{fieldset-DzhN7Zrg.js → fieldset-D5SznrKY.js} +4 -3
- package/dist/index-ByYmM8LZ.d.ts +447 -0
- package/dist/{index-rHf4D8np.d.ts → index-Cjk1WhUx.d.ts} +11 -11
- package/dist/index-D0_ID5xv.d.ts +91 -0
- package/dist/index.d.ts +4 -93
- package/dist/index.js +3 -2
- package/dist/{presence-CvUnYMZQ.js → presence-BK6rPXK7.js} +3 -2
- package/dist/{providers-B2CNPFg1.js → providers-DNBWT-O_.js} +1 -1
- package/dist/tree-view-CzfDgztL.js +737 -0
- package/dist/{use-forward-expose-4p5AGAI3.js → use-forward-expose-CCAmHTUB.js} +2 -15
- package/dist/{use-render-strategy-BkxoN6ll.js → use-render-strategy-DMa_QmB6.js} +1 -1
- package/package.json +102 -2
- /package/dist/{collection-DR2kMzrX.js → collection-DiwGNCAy.js} +0 -0
- /package/dist/{create-split-props-YZ3qgXe_.js → create-split-props-BDJ_VWs3.js} +0 -0
- /package/dist/{factory-BH3WrWd2.js → factory-Co08Aw8u.js} +0 -0
- /package/dist/{factory-D_ge_w76.d.ts → factory-Dg6Whljf.d.ts} +0 -0
- /package/dist/{index-B66Om_3U.d.ts → index-DI09ccnU.d.ts} +0 -0
- /package/dist/{index-DqRk-Yea.d.ts → index-ECeveDvH.d.ts} +0 -0
- /package/dist/{presence-types-Bv1E60Cw.d.ts → presence-types-BaQ7PILD.d.ts} +0 -0
- /package/dist/{types-Bj-dS2Hc.d.ts → types-BkS9kMJ5.d.ts} +0 -0
- /package/dist/{use-render-strategy-CHj_pCfT.d.ts → use-render-strategy-bdLKqL57.d.ts} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { t as RootEmits$1 } from "../../presence-types-
|
|
3
|
-
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
5
|
-
import { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
6
|
-
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-
|
|
7
|
-
import * as
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-Dg6Whljf.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-BaQ7PILD.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-BkS9kMJ5.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-DI09ccnU.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-bdLKqL57.js";
|
|
6
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-ECeveDvH.js";
|
|
7
|
+
import * as vue1785 from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, UnwrapRef } from "vue";
|
|
9
|
+
import * as _sprawlify_primitives_machines_bottom_sheet37 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
9
10
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
10
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";
|
|
11
12
|
|
|
@@ -17,7 +18,7 @@ interface SelectClearTriggerProps extends SelectClearTriggerBaseProps,
|
|
|
17
18
|
*/
|
|
18
19
|
ButtonHTMLAttributes {}
|
|
19
20
|
declare const _default: typeof __VLS_export$18;
|
|
20
|
-
declare const __VLS_export$18: __VLS_WithSlots$14<
|
|
21
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<vue1785.DefineComponent<SelectClearTriggerProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
21
22
|
default?: (props: {}) => any;
|
|
22
23
|
}>;
|
|
23
24
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -34,7 +35,7 @@ interface SelectContentProps extends SelectContentBaseProps,
|
|
|
34
35
|
*/
|
|
35
36
|
HTMLAttributes {}
|
|
36
37
|
declare const _default$1: typeof __VLS_export$17;
|
|
37
|
-
declare const __VLS_export$17: __VLS_WithSlots$13<
|
|
38
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<vue1785.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
38
39
|
default?: (props: {}) => any;
|
|
39
40
|
}>;
|
|
40
41
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -51,7 +52,7 @@ interface SelectControlProps extends SelectControlBaseProps,
|
|
|
51
52
|
*/
|
|
52
53
|
HTMLAttributes {}
|
|
53
54
|
declare const _default$3: typeof __VLS_export$16;
|
|
54
|
-
declare const __VLS_export$16: __VLS_WithSlots$12<
|
|
55
|
+
declare const __VLS_export$16: __VLS_WithSlots$12<vue1785.DefineComponent<SelectControlProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
55
56
|
default?: (props: {}) => any;
|
|
56
57
|
}>;
|
|
57
58
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -68,7 +69,7 @@ interface SelectHiddenSelectProps extends SelectHiddenSelectBaseProps,
|
|
|
68
69
|
*/
|
|
69
70
|
SelectHTMLAttributes {}
|
|
70
71
|
declare const _default$4: typeof __VLS_export$15;
|
|
71
|
-
declare const __VLS_export$15:
|
|
72
|
+
declare const __VLS_export$15: vue1785.DefineComponent<SelectHiddenSelectProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectHiddenSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>;
|
|
72
73
|
//#endregion
|
|
73
74
|
//#region src/components/select/select-indicator.vue.d.ts
|
|
74
75
|
interface SelectIndicatorBaseProps extends PolymorphicProps {}
|
|
@@ -78,7 +79,7 @@ interface SelectIndicatorProps extends SelectIndicatorBaseProps,
|
|
|
78
79
|
*/
|
|
79
80
|
HTMLAttributes {}
|
|
80
81
|
declare const _default$5: typeof __VLS_export$14;
|
|
81
|
-
declare const __VLS_export$14: __VLS_WithSlots$11<
|
|
82
|
+
declare const __VLS_export$14: __VLS_WithSlots$11<vue1785.DefineComponent<SelectIndicatorProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
82
83
|
default?: (props: {}) => any;
|
|
83
84
|
}>;
|
|
84
85
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -95,7 +96,7 @@ interface SelectListProps extends SelectListBaseProps,
|
|
|
95
96
|
*/
|
|
96
97
|
HTMLAttributes {}
|
|
97
98
|
declare const _default$13: typeof __VLS_export$13;
|
|
98
|
-
declare const __VLS_export$13: __VLS_WithSlots$10<
|
|
99
|
+
declare const __VLS_export$13: __VLS_WithSlots$10<vue1785.DefineComponent<SelectListProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
99
100
|
default?: (props: {}) => any;
|
|
100
101
|
}>;
|
|
101
102
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -112,7 +113,7 @@ interface SelectItemContextProps extends SlotsType<{
|
|
|
112
113
|
default: UnwrapRef<UseSelectItemContext>;
|
|
113
114
|
}> {}
|
|
114
115
|
declare const _default$7: typeof __VLS_export$12;
|
|
115
|
-
declare const __VLS_export$12: __VLS_WithSlots$9<
|
|
116
|
+
declare const __VLS_export$12: __VLS_WithSlots$9<vue1785.DefineComponent<{}, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, true, {}, any>, {
|
|
116
117
|
default(item: UnwrapRef<UseSelectItemContext>): unknown;
|
|
117
118
|
}>;
|
|
118
119
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -129,7 +130,7 @@ interface SelectItemGroupLabelProps extends SelectItemGroupLabelBaseProps,
|
|
|
129
130
|
*/
|
|
130
131
|
HTMLAttributes {}
|
|
131
132
|
declare const _default$9: typeof __VLS_export$11;
|
|
132
|
-
declare const __VLS_export$11: __VLS_WithSlots$8<
|
|
133
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<vue1785.DefineComponent<SelectItemGroupLabelProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
133
134
|
default?: (props: {}) => any;
|
|
134
135
|
}>;
|
|
135
136
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -146,7 +147,7 @@ interface SelectItemGroupProps extends SelectItemGroupBaseProps,
|
|
|
146
147
|
*/
|
|
147
148
|
HTMLAttributes {}
|
|
148
149
|
declare const _default$8: typeof __VLS_export$10;
|
|
149
|
-
declare const __VLS_export$10: __VLS_WithSlots$7<
|
|
150
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<vue1785.DefineComponent<SelectItemGroupProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
150
151
|
default?: (props: {}) => any;
|
|
151
152
|
}>;
|
|
152
153
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -163,7 +164,7 @@ interface SelectItemIndicatorProps extends SelectItemIndicatorBaseProps,
|
|
|
163
164
|
*/
|
|
164
165
|
HTMLAttributes {}
|
|
165
166
|
declare const _default$10: typeof __VLS_export$9;
|
|
166
|
-
declare const __VLS_export$9: __VLS_WithSlots$6<
|
|
167
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<vue1785.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
167
168
|
default?: (props: {}) => any;
|
|
168
169
|
}>;
|
|
169
170
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -180,7 +181,7 @@ interface SelectItemTextProps extends SelectItemTextBaseProps,
|
|
|
180
181
|
*/
|
|
181
182
|
HTMLAttributes {}
|
|
182
183
|
declare const _default$11: typeof __VLS_export$8;
|
|
183
|
-
declare const __VLS_export$8: __VLS_WithSlots$5<
|
|
184
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<vue1785.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
184
185
|
default?: (props: {}) => any;
|
|
185
186
|
}>;
|
|
186
187
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -197,7 +198,7 @@ interface SelectItemProps extends SelectItemBaseProps,
|
|
|
197
198
|
*/
|
|
198
199
|
HTMLAttributes {}
|
|
199
200
|
declare const _default$6: typeof __VLS_export$7;
|
|
200
|
-
declare const __VLS_export$7: __VLS_WithSlots$4<
|
|
201
|
+
declare const __VLS_export$7: __VLS_WithSlots$4<vue1785.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
201
202
|
default?: (props: {}) => any;
|
|
202
203
|
}>;
|
|
203
204
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -214,7 +215,7 @@ interface SelectLabelProps extends SelectLabelBaseProps,
|
|
|
214
215
|
*/
|
|
215
216
|
LabelHTMLAttributes {}
|
|
216
217
|
declare const _default$12: typeof __VLS_export$6;
|
|
217
|
-
declare const __VLS_export$6: __VLS_WithSlots$3<
|
|
218
|
+
declare const __VLS_export$6: __VLS_WithSlots$3<vue1785.DefineComponent<SelectLabelProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
218
219
|
default?: (props: {}) => any;
|
|
219
220
|
}>;
|
|
220
221
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -231,7 +232,7 @@ interface SelectPositionerProps extends SelectPositionerBaseProps,
|
|
|
231
232
|
*/
|
|
232
233
|
HTMLAttributes {}
|
|
233
234
|
declare const _default$14: typeof __VLS_export$5;
|
|
234
|
-
declare const __VLS_export$5: __VLS_WithSlots$2<
|
|
235
|
+
declare const __VLS_export$5: __VLS_WithSlots$2<vue1785.DefineComponent<SelectPositionerProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
235
236
|
default?: (props: {}) => any;
|
|
236
237
|
}>;
|
|
237
238
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -254,7 +255,7 @@ type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Ass
|
|
|
254
255
|
interface SelectRootProviderEmits extends RootEmits$1 {}
|
|
255
256
|
declare const _default$16: typeof __VLS_export$4;
|
|
256
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<{
|
|
257
|
-
props:
|
|
258
|
+
props: vue1785.PublicProps & __VLS_PrettifyLocal$2<SelectRootProviderProps<T> & {
|
|
258
259
|
onExitComplete?: (() => any) | undefined;
|
|
259
260
|
}> & (typeof globalThis extends {
|
|
260
261
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -265,7 +266,7 @@ declare const __VLS_export$4: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
265
266
|
default?: (props: {}) => any;
|
|
266
267
|
};
|
|
267
268
|
emit: (evt: "exitComplete") => void;
|
|
268
|
-
}>) =>
|
|
269
|
+
}>) => vue1785.VNode & {
|
|
269
270
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
270
271
|
};
|
|
271
272
|
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -332,17 +333,17 @@ type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}>
|
|
|
332
333
|
type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => any;
|
|
333
334
|
declare const _default$15: typeof __VLS_export$3;
|
|
334
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<{
|
|
335
|
-
props:
|
|
336
|
+
props: vue1785.PublicProps & __VLS_PrettifyLocal$1<SelectRootProps<T> & {
|
|
336
337
|
onSelect?: ((details: select.SelectionDetails) => any) | undefined;
|
|
337
|
-
|
|
338
|
+
onOpenChange?: ((details: select.OpenChangeDetails) => any) | undefined;
|
|
338
339
|
onValueChange?: ((details: select.ValueChangeDetails<T>) => any) | undefined;
|
|
339
340
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
340
|
-
|
|
341
|
+
onExitComplete?: (() => any) | undefined;
|
|
341
342
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
342
|
-
onFocusOutside?: ((event:
|
|
343
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet37.FocusOutsideEvent) => any) | undefined;
|
|
344
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet37.InteractOutsideEvent) => any) | undefined;
|
|
345
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet37.PointerDownOutsideEvent) => any) | undefined;
|
|
343
346
|
onHighlightChange?: ((details: select.HighlightChangeDetails<T>) => any) | undefined;
|
|
344
|
-
onInteractOutside?: ((event: select.InteractOutsideEvent) => any) | undefined;
|
|
345
|
-
onPointerDownOutside?: ((event: select.PointerDownOutsideEvent) => any) | undefined;
|
|
346
347
|
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
347
348
|
}> & (typeof globalThis extends {
|
|
348
349
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -352,8 +353,8 @@ declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
352
353
|
slots: {
|
|
353
354
|
default?: (props: {}) => any;
|
|
354
355
|
};
|
|
355
|
-
emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "
|
|
356
|
-
}>) =>
|
|
356
|
+
emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "openChange", details: select.OpenChangeDetails) => void) & ((evt: "valueChange", details: select.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "exitComplete") => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "focusOutside", event: _sprawlify_primitives_machines_bottom_sheet37.FocusOutsideEvent) => void) & ((evt: "interactOutside", event: _sprawlify_primitives_machines_bottom_sheet37.InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: _sprawlify_primitives_machines_bottom_sheet37.PointerDownOutsideEvent) => void) & ((evt: "highlightChange", details: select.HighlightChangeDetails<T>) => void) & ((evt: "update:highlightedValue", value: string | null) => void);
|
|
357
|
+
}>) => vue1785.VNode & {
|
|
357
358
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
358
359
|
};
|
|
359
360
|
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -366,7 +367,7 @@ interface SelectTriggerProps extends SelectTriggerBaseProps,
|
|
|
366
367
|
*/
|
|
367
368
|
ButtonHTMLAttributes {}
|
|
368
369
|
declare const _default$17: typeof __VLS_export$2;
|
|
369
|
-
declare const __VLS_export$2: __VLS_WithSlots$1<
|
|
370
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<vue1785.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, {
|
|
370
371
|
default?: (props: {}) => any;
|
|
371
372
|
}>;
|
|
372
373
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -385,7 +386,7 @@ HTMLAttributes {
|
|
|
385
386
|
placeholder?: string;
|
|
386
387
|
}
|
|
387
388
|
declare const _default$18: typeof __VLS_export$1;
|
|
388
|
-
declare const __VLS_export$1: __VLS_WithSlots<
|
|
389
|
+
declare const __VLS_export$1: __VLS_WithSlots<vue1785.DefineComponent<SelectValueTextProps, {}, {}, {}, {}, vue1785.ComponentOptionsMixin, vue1785.ComponentOptionsMixin, {}, string, vue1785.PublicProps, Readonly<SelectValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1785.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
389
390
|
type __VLS_WithSlots<T, S> = T & {
|
|
390
391
|
new (): {
|
|
391
392
|
$slots: S;
|
|
@@ -412,7 +413,7 @@ interface SelectContextProps<T extends CollectionItem> extends SlotsType<{
|
|
|
412
413
|
}> {}
|
|
413
414
|
declare const _default$2: typeof __VLS_export;
|
|
414
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<{
|
|
415
|
-
props:
|
|
416
|
+
props: vue1785.PublicProps & (typeof globalThis extends {
|
|
416
417
|
__VLS_PROPS_FALLBACK: infer P;
|
|
417
418
|
} ? P : {});
|
|
418
419
|
expose: (exposed: {}) => void;
|
|
@@ -421,7 +422,7 @@ declare const __VLS_export: <T extends CollectionItem>(__VLS_props: NonNullable<
|
|
|
421
422
|
default(select: UnwrapRef<UseSelectContext<T>>): unknown;
|
|
422
423
|
};
|
|
423
424
|
emit: {};
|
|
424
|
-
}>) =>
|
|
425
|
+
}>) => vue1785.VNode & {
|
|
425
426
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
426
427
|
};
|
|
427
428
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
2
2
|
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DNndr38p.js";
|
|
3
|
-
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
3
|
+
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
|
+
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
|
+
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
6
7
|
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
7
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
8
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
9
|
-
import { m as useFieldContext } from "../../field-
|
|
10
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
8
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BK6rPXK7.js";
|
|
10
|
+
import { m as useFieldContext } from "../../field-CtPR24u6.js";
|
|
11
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-DiwGNCAy.js";
|
|
11
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
12
13
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
13
14
|
import { anatomy as selectAnatomy } from "@sprawlify/primitives/machines/select";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "../../factory-Dg6Whljf.js";
|
|
2
|
+
import "../../index-DI09ccnU.js";
|
|
3
|
+
import "../../use-render-strategy-bdLKqL57.js";
|
|
4
|
+
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-ECeveDvH.js";
|
|
5
|
+
import { $ as _default$9, A as _default$14, B as TreeViewNodeCheckboxProps, C as TreeViewRootProviderComponent, Ct as TreeViewBranchControlProps, D as TreeViewNodeProviderProps, Dt as _default$1, E as TreeViewNodeProviderBaseProps, Et as TreeViewBranchContentProps, F as _default$16, G as TreeViewItemBaseProps, H as TreeViewLabelBaseProps, I as TreeViewNodeCheckboxIndicatorBaseProps, J as TreeViewItemTextBaseProps, K as TreeViewItemProps, L as TreeViewNodeCheckboxIndicatorProps, M as useTreeViewNodeContext, N as TreeViewNodeRenameInputBaseProps, O as _default$15, P as TreeViewNodeRenameInputProps, Q as TreeViewItemIndicatorProps, R as _default$13, S as TreeViewRootProviderBaseProps, St as TreeViewBranchControlBaseProps, T as _default$18, Tt as TreeViewBranchContentBaseProps, U as TreeViewLabelProps, V as _default$12, W as _default$11, X as _default$10, Y as TreeViewItemTextProps, Z as TreeViewItemIndicatorBaseProps, _ as TreeViewRootBaseProps, _t as TreeViewBranchIndicatorProps, a as TreeViewLoadChildrenDetails, at as UseTreeViewReturn, b as TreeViewRootProps, bt as TreeViewBranchIndentGuideProps, c as TreeViewNodeState, ct as TreeViewBranchProps, d as TreeViewSelectionChangeDetails, dt as TreeViewBranchTriggerProps, et as TreeViewContextProps, f as tree_view_d_exports, ft as _default$6, g as _default$19, gt as TreeViewBranchIndicatorBaseProps, h as TreeViewTreeProps, ht as _default$5, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewProps, j as UseTreeViewNodeContext, k as TreeViewNodeContextProps, l as TreeViewRenameCompleteDetails, lt as _default, m as TreeViewTreeBaseProps, mt as TreeViewBranchTextProps, n as TreeViewExpandedChangeDetails, nt as UseTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as useTreeView, p as treeViewAnatomy, pt as TreeViewBranchTextBaseProps, q as _default$8, r as TreeViewFocusChangeDetails, rt as useTreeViewContext, s as TreeViewNodeProps, st as TreeViewBranchBaseProps, t as TreeViewCheckedChangeDetails, tt as _default$7, u as TreeViewRenameStartDetails, ut as TreeViewBranchTriggerBaseProps, v as TreeViewRootComponent, vt as _default$4, w as TreeViewRootProviderProps, wt as _default$2, x as _default$17, xt as _default$3, y as TreeViewRootComponentProps, yt as TreeViewBranchIndentGuideBaseProps, z as TreeViewNodeCheckboxBaseProps } from "../../index-ByYmM8LZ.js";
|
|
6
|
+
export { TreeCollection, TreeNode, tree_view_d_exports as TreeView, _default as TreeViewBranch, TreeViewBranchBaseProps, _default$1 as TreeViewBranchContent, TreeViewBranchContentBaseProps, TreeViewBranchContentProps, _default$2 as TreeViewBranchControl, TreeViewBranchControlBaseProps, TreeViewBranchControlProps, _default$3 as TreeViewBranchIndentGuide, TreeViewBranchIndentGuideBaseProps, TreeViewBranchIndentGuideProps, _default$4 as TreeViewBranchIndicator, TreeViewBranchIndicatorBaseProps, TreeViewBranchIndicatorProps, TreeViewBranchProps, _default$5 as TreeViewBranchText, TreeViewBranchTextBaseProps, TreeViewBranchTextProps, _default$6 as TreeViewBranchTrigger, TreeViewBranchTriggerBaseProps, TreeViewBranchTriggerProps, TreeViewCheckedChangeDetails, _default$7 as TreeViewContext, TreeViewContextProps, TreeViewExpandedChangeDetails, TreeViewFocusChangeDetails, _default$8 as TreeViewItem, TreeViewItemBaseProps, _default$9 as TreeViewItemIndicator, TreeViewItemIndicatorBaseProps, TreeViewItemIndicatorProps, TreeViewItemProps, _default$10 as TreeViewItemText, TreeViewItemTextBaseProps, TreeViewItemTextProps, _default$11 as TreeViewLabel, TreeViewLabelBaseProps, TreeViewLabelProps, TreeViewLoadChildrenCompleteDetails, TreeViewLoadChildrenDetails, TreeViewLoadChildrenErrorDetails, _default$12 as TreeViewNodeCheckbox, TreeViewNodeCheckboxBaseProps, _default$13 as TreeViewNodeCheckboxIndicator, TreeViewNodeCheckboxIndicatorBaseProps, TreeViewNodeCheckboxIndicatorProps, TreeViewNodeCheckboxProps, _default$14 as TreeViewNodeContext, TreeViewNodeContextProps, TreeViewNodeProps, _default$15 as TreeViewNodeProvider, TreeViewNodeProviderBaseProps, TreeViewNodeProviderProps, _default$16 as TreeViewNodeRenameInput, TreeViewNodeRenameInputBaseProps, TreeViewNodeRenameInputProps, TreeViewNodeState, TreeViewRenameCompleteDetails, TreeViewRenameStartDetails, _default$17 as TreeViewRoot, TreeViewRootBaseProps, TreeViewRootComponent, TreeViewRootComponentProps, TreeViewRootProps, _default$18 as TreeViewRootProvider, TreeViewRootProviderBaseProps, TreeViewRootProviderComponent, TreeViewRootProviderProps, TreeViewSelectionChangeDetails, _default$19 as TreeViewTree, TreeViewTreeBaseProps, TreeViewTreeProps, UseTreeViewContext, UseTreeViewNodeContext, UseTreeViewProps, UseTreeViewReturn, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../../core-DNndr38p.js";
|
|
2
|
+
import "../../providers-DNBWT-O_.js";
|
|
3
|
+
import "../../create-context-Ds1GbsVc.js";
|
|
4
|
+
import "../../use-forward-expose-CCAmHTUB.js";
|
|
5
|
+
import "../../factory-Co08Aw8u.js";
|
|
6
|
+
import "../../use-render-strategy-DMa_QmB6.js";
|
|
7
|
+
import "../../collapsible-D1Mx4C0H.js";
|
|
8
|
+
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-DiwGNCAy.js";
|
|
9
|
+
import { C as tree_view_branch_control_default, S as tree_view_branch_indent_guide_default, T as useTreeViewContext, _ as tree_view_branch_default, a as useTreeView, b as tree_view_branch_text_default, c as tree_view_node_context_default, d as tree_view_node_checkbox_default, f as tree_view_label_default, g as tree_view_context_default, h as tree_view_item_indicator_default, i as tree_view_root_default, l as tree_view_node_rename_input_default, m as tree_view_item_text_default, n as treeViewAnatomy, o as tree_view_root_provider_default, p as tree_view_item_default, r as tree_view_tree_default, s as tree_view_node_provider_default, t as tree_view_exports, u as tree_view_node_checkbox_indicator_default, v as useTreeViewNodeContext, w as tree_view_branch_content_default, x as tree_view_branch_indicator_default, y as tree_view_branch_trigger_default } from "../../tree-view-CzfDgztL.js";
|
|
10
|
+
|
|
11
|
+
export { tree_view_exports as TreeView, tree_view_branch_default as TreeViewBranch, tree_view_branch_content_default as TreeViewBranchContent, tree_view_branch_control_default as TreeViewBranchControl, tree_view_branch_indent_guide_default as TreeViewBranchIndentGuide, tree_view_branch_indicator_default as TreeViewBranchIndicator, tree_view_branch_text_default as TreeViewBranchText, tree_view_branch_trigger_default as TreeViewBranchTrigger, tree_view_context_default as TreeViewContext, tree_view_item_default as TreeViewItem, tree_view_item_indicator_default as TreeViewItemIndicator, tree_view_item_text_default as TreeViewItemText, tree_view_label_default as TreeViewLabel, tree_view_node_checkbox_default as TreeViewNodeCheckbox, tree_view_node_checkbox_indicator_default as TreeViewNodeCheckboxIndicator, tree_view_node_context_default as TreeViewNodeContext, tree_view_node_provider_default as TreeViewNodeProvider, tree_view_node_rename_input_default as TreeViewNodeRenameInput, tree_view_root_default as TreeViewRoot, tree_view_root_provider_default as TreeViewRootProvider, tree_view_tree_default as TreeViewTree, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { inject, provide } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/utils/create-context.ts
|
|
4
|
+
const createContext = (id) => {
|
|
5
|
+
const contextId = Symbol(id);
|
|
6
|
+
const provider = (value) => provide(contextId, value);
|
|
7
|
+
const consumer = (fallback) => inject(contextId, fallback);
|
|
8
|
+
return [
|
|
9
|
+
provider,
|
|
10
|
+
consumer,
|
|
11
|
+
contextId
|
|
12
|
+
];
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { createContext as t };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "./providers-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
2
|
+
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "./providers-DNBWT-O_.js";
|
|
3
|
+
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
4
|
+
import { n as unrefElement, t as useForwardExpose } from "./use-forward-expose-CCAmHTUB.js";
|
|
5
|
+
import { t as sprawlify } from "./factory-Co08Aw8u.js";
|
|
5
6
|
import { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, onBeforeUnmount, onMounted, openBlock, reactive, ref, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
6
7
|
import { ariaAttr, dataAttr } from "@sprawlify/primitives/dom-query";
|
|
7
8
|
import { createAnatomy } from "@sprawlify/primitives/anatomy";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
-
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "./providers-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
2
|
+
import { c as useEnvironmentContext, s as DEFAULT_ENVIRONMENT } from "./providers-DNBWT-O_.js";
|
|
3
|
+
import { t as createContext } from "./create-context-Ds1GbsVc.js";
|
|
4
|
+
import { n as unrefElement, t as useForwardExpose } from "./use-forward-expose-CCAmHTUB.js";
|
|
5
|
+
import { t as sprawlify } from "./factory-Co08Aw8u.js";
|
|
5
6
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, onBeforeUnmount, onMounted, openBlock, reactive, ref, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
6
7
|
import { dataAttr } from "@sprawlify/primitives/dom-query";
|
|
7
8
|
import { createAnatomy } from "@sprawlify/primitives/anatomy";
|