@sprawlify/vue 0.0.67 → 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-DQfAISmg.js → collapsible-D1Mx4C0H.js} +5 -4
- package/dist/{collection-Ba0Aeh5P.js → collection-DiwGNCAy.js} +1 -1
- package/dist/components/accordion/index.d.ts +20 -20
- package/dist/components/accordion/index.js +8 -7
- package/dist/components/angle-slider/index.d.ts +19 -19
- package/dist/components/angle-slider/index.js +5 -4
- package/dist/components/avatar/index.d.ts +11 -11
- package/dist/components/avatar/index.js +5 -4
- package/dist/components/bottom-sheet/index.d.ts +20 -20
- package/dist/components/bottom-sheet/index.js +8 -7
- package/dist/components/carousel/index.d.ts +25 -25
- package/dist/components/carousel/index.js +5 -4
- package/dist/components/checkbox/index.d.ts +27 -27
- package/dist/components/checkbox/index.js +7 -6
- 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 +5 -4
- package/dist/components/collapsible/index.d.ts +17 -17
- 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 +59 -59
- package/dist/components/color-picker/index.js +8 -7
- package/dist/components/combobox/index.d.ts +39 -39
- package/dist/components/combobox/index.js +9 -8
- package/dist/components/date-picker/index.d.ts +55 -55
- package/dist/components/date-picker/index.js +7 -6
- package/dist/components/dialog/index.d.ts +31 -31
- package/dist/components/dialog/index.js +7 -6
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +4 -3
- package/dist/components/editable/index.d.ts +20 -20
- package/dist/components/editable/index.js +6 -5
- package/dist/components/field/index.d.ts +25 -25
- 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 +5 -5
- package/dist/components/highlight/index.js +1 -1
- 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 +53 -53
- package/dist/components/menu/index.js +7 -6
- 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 +37 -37
- package/dist/components/select/index.js +9 -8
- 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-CDQghZtv.d.ts → index-Cjk1WhUx.d.ts} +9 -9
- package/dist/{index-BBHms9-0.d.ts → index-D0_ID5xv.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- 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 +70 -2
- /package/dist/{clean-props-BDv2zb5M.js → clean-props-ChPEW0vT.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,12 +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
|
|
9
|
+
import * as _sprawlify_primitives_machines_bottom_sheet37 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
10
10
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
11
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
12
|
|
|
@@ -18,7 +18,7 @@ interface SelectClearTriggerProps extends SelectClearTriggerBaseProps,
|
|
|
18
18
|
*/
|
|
19
19
|
ButtonHTMLAttributes {}
|
|
20
20
|
declare const _default: typeof __VLS_export$18;
|
|
21
|
-
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>, {
|
|
22
22
|
default?: (props: {}) => any;
|
|
23
23
|
}>;
|
|
24
24
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -35,7 +35,7 @@ interface SelectContentProps extends SelectContentBaseProps,
|
|
|
35
35
|
*/
|
|
36
36
|
HTMLAttributes {}
|
|
37
37
|
declare const _default$1: typeof __VLS_export$17;
|
|
38
|
-
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>, {
|
|
39
39
|
default?: (props: {}) => any;
|
|
40
40
|
}>;
|
|
41
41
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -52,7 +52,7 @@ interface SelectControlProps extends SelectControlBaseProps,
|
|
|
52
52
|
*/
|
|
53
53
|
HTMLAttributes {}
|
|
54
54
|
declare const _default$3: typeof __VLS_export$16;
|
|
55
|
-
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>, {
|
|
56
56
|
default?: (props: {}) => any;
|
|
57
57
|
}>;
|
|
58
58
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -69,7 +69,7 @@ interface SelectHiddenSelectProps extends SelectHiddenSelectBaseProps,
|
|
|
69
69
|
*/
|
|
70
70
|
SelectHTMLAttributes {}
|
|
71
71
|
declare const _default$4: typeof __VLS_export$15;
|
|
72
|
-
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>;
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region src/components/select/select-indicator.vue.d.ts
|
|
75
75
|
interface SelectIndicatorBaseProps extends PolymorphicProps {}
|
|
@@ -79,7 +79,7 @@ interface SelectIndicatorProps extends SelectIndicatorBaseProps,
|
|
|
79
79
|
*/
|
|
80
80
|
HTMLAttributes {}
|
|
81
81
|
declare const _default$5: typeof __VLS_export$14;
|
|
82
|
-
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>, {
|
|
83
83
|
default?: (props: {}) => any;
|
|
84
84
|
}>;
|
|
85
85
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -96,7 +96,7 @@ interface SelectListProps extends SelectListBaseProps,
|
|
|
96
96
|
*/
|
|
97
97
|
HTMLAttributes {}
|
|
98
98
|
declare const _default$13: typeof __VLS_export$13;
|
|
99
|
-
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>, {
|
|
100
100
|
default?: (props: {}) => any;
|
|
101
101
|
}>;
|
|
102
102
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -113,7 +113,7 @@ interface SelectItemContextProps extends SlotsType<{
|
|
|
113
113
|
default: UnwrapRef<UseSelectItemContext>;
|
|
114
114
|
}> {}
|
|
115
115
|
declare const _default$7: typeof __VLS_export$12;
|
|
116
|
-
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>, {
|
|
117
117
|
default(item: UnwrapRef<UseSelectItemContext>): unknown;
|
|
118
118
|
}>;
|
|
119
119
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -130,7 +130,7 @@ interface SelectItemGroupLabelProps extends SelectItemGroupLabelBaseProps,
|
|
|
130
130
|
*/
|
|
131
131
|
HTMLAttributes {}
|
|
132
132
|
declare const _default$9: typeof __VLS_export$11;
|
|
133
|
-
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>, {
|
|
134
134
|
default?: (props: {}) => any;
|
|
135
135
|
}>;
|
|
136
136
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -147,7 +147,7 @@ interface SelectItemGroupProps extends SelectItemGroupBaseProps,
|
|
|
147
147
|
*/
|
|
148
148
|
HTMLAttributes {}
|
|
149
149
|
declare const _default$8: typeof __VLS_export$10;
|
|
150
|
-
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>, {
|
|
151
151
|
default?: (props: {}) => any;
|
|
152
152
|
}>;
|
|
153
153
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -164,7 +164,7 @@ interface SelectItemIndicatorProps extends SelectItemIndicatorBaseProps,
|
|
|
164
164
|
*/
|
|
165
165
|
HTMLAttributes {}
|
|
166
166
|
declare const _default$10: typeof __VLS_export$9;
|
|
167
|
-
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>, {
|
|
168
168
|
default?: (props: {}) => any;
|
|
169
169
|
}>;
|
|
170
170
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -181,7 +181,7 @@ interface SelectItemTextProps extends SelectItemTextBaseProps,
|
|
|
181
181
|
*/
|
|
182
182
|
HTMLAttributes {}
|
|
183
183
|
declare const _default$11: typeof __VLS_export$8;
|
|
184
|
-
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>, {
|
|
185
185
|
default?: (props: {}) => any;
|
|
186
186
|
}>;
|
|
187
187
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -198,7 +198,7 @@ interface SelectItemProps extends SelectItemBaseProps,
|
|
|
198
198
|
*/
|
|
199
199
|
HTMLAttributes {}
|
|
200
200
|
declare const _default$6: typeof __VLS_export$7;
|
|
201
|
-
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>, {
|
|
202
202
|
default?: (props: {}) => any;
|
|
203
203
|
}>;
|
|
204
204
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -215,7 +215,7 @@ interface SelectLabelProps extends SelectLabelBaseProps,
|
|
|
215
215
|
*/
|
|
216
216
|
LabelHTMLAttributes {}
|
|
217
217
|
declare const _default$12: typeof __VLS_export$6;
|
|
218
|
-
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>, {
|
|
219
219
|
default?: (props: {}) => any;
|
|
220
220
|
}>;
|
|
221
221
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -232,7 +232,7 @@ interface SelectPositionerProps extends SelectPositionerBaseProps,
|
|
|
232
232
|
*/
|
|
233
233
|
HTMLAttributes {}
|
|
234
234
|
declare const _default$14: typeof __VLS_export$5;
|
|
235
|
-
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>, {
|
|
236
236
|
default?: (props: {}) => any;
|
|
237
237
|
}>;
|
|
238
238
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -255,7 +255,7 @@ type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Ass
|
|
|
255
255
|
interface SelectRootProviderEmits extends RootEmits$1 {}
|
|
256
256
|
declare const _default$16: typeof __VLS_export$4;
|
|
257
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:
|
|
258
|
+
props: vue1785.PublicProps & __VLS_PrettifyLocal$2<SelectRootProviderProps<T> & {
|
|
259
259
|
onExitComplete?: (() => any) | undefined;
|
|
260
260
|
}> & (typeof globalThis extends {
|
|
261
261
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -266,7 +266,7 @@ declare const __VLS_export$4: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
266
266
|
default?: (props: {}) => any;
|
|
267
267
|
};
|
|
268
268
|
emit: (evt: "exitComplete") => void;
|
|
269
|
-
}>) =>
|
|
269
|
+
}>) => vue1785.VNode & {
|
|
270
270
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
271
271
|
};
|
|
272
272
|
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -333,18 +333,18 @@ type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}>
|
|
|
333
333
|
type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => any;
|
|
334
334
|
declare const _default$15: typeof __VLS_export$3;
|
|
335
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:
|
|
336
|
+
props: vue1785.PublicProps & __VLS_PrettifyLocal$1<SelectRootProps<T> & {
|
|
337
337
|
onSelect?: ((details: select.SelectionDetails) => any) | undefined;
|
|
338
|
-
onExitComplete?: (() => any) | undefined;
|
|
339
338
|
onOpenChange?: ((details: select.OpenChangeDetails) => any) | undefined;
|
|
340
|
-
|
|
339
|
+
onValueChange?: ((details: select.ValueChangeDetails<T>) => any) | undefined;
|
|
341
340
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
342
|
-
|
|
341
|
+
onExitComplete?: (() => any) | undefined;
|
|
342
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
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: _sprawlify_primitives_machines_bottom_sheet13.InteractOutsideEvent) => any) | undefined;
|
|
345
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet13.PointerDownOutsideEvent) => any) | undefined;
|
|
346
347
|
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
347
|
-
onValueChange?: ((details: select.ValueChangeDetails<T>) => any) | undefined;
|
|
348
348
|
}> & (typeof globalThis extends {
|
|
349
349
|
__VLS_PROPS_FALLBACK: infer P;
|
|
350
350
|
} ? P : {});
|
|
@@ -353,8 +353,8 @@ declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
353
353
|
slots: {
|
|
354
354
|
default?: (props: {}) => any;
|
|
355
355
|
};
|
|
356
|
-
emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "
|
|
357
|
-
}>) =>
|
|
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 & {
|
|
358
358
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
359
359
|
};
|
|
360
360
|
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -367,7 +367,7 @@ interface SelectTriggerProps extends SelectTriggerBaseProps,
|
|
|
367
367
|
*/
|
|
368
368
|
ButtonHTMLAttributes {}
|
|
369
369
|
declare const _default$17: typeof __VLS_export$2;
|
|
370
|
-
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>, {
|
|
371
371
|
default?: (props: {}) => any;
|
|
372
372
|
}>;
|
|
373
373
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -386,7 +386,7 @@ HTMLAttributes {
|
|
|
386
386
|
placeholder?: string;
|
|
387
387
|
}
|
|
388
388
|
declare const _default$18: typeof __VLS_export$1;
|
|
389
|
-
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>;
|
|
390
390
|
type __VLS_WithSlots<T, S> = T & {
|
|
391
391
|
new (): {
|
|
392
392
|
$slots: S;
|
|
@@ -413,7 +413,7 @@ interface SelectContextProps<T extends CollectionItem> extends SlotsType<{
|
|
|
413
413
|
}> {}
|
|
414
414
|
declare const _default$2: typeof __VLS_export;
|
|
415
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:
|
|
416
|
+
props: vue1785.PublicProps & (typeof globalThis extends {
|
|
417
417
|
__VLS_PROPS_FALLBACK: infer P;
|
|
418
418
|
} ? P : {});
|
|
419
419
|
expose: (exposed: {}) => void;
|
|
@@ -422,7 +422,7 @@ declare const __VLS_export: <T extends CollectionItem>(__VLS_props: NonNullable<
|
|
|
422
422
|
default(select: UnwrapRef<UseSelectContext<T>>): unknown;
|
|
423
423
|
};
|
|
424
424
|
emit: {};
|
|
425
|
-
}>) =>
|
|
425
|
+
}>) => vue1785.VNode & {
|
|
426
426
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
427
427
|
};
|
|
428
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
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
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";
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
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";
|