@sprawlify/vue 0.0.65 → 0.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clean-props-BDv2zb5M.js +9 -0
- package/dist/collapsible-DQfAISmg.js +259 -0
- package/dist/collection-Ba0Aeh5P.js +218 -0
- package/dist/components/accordion/index.d.ts +195 -0
- package/dist/components/accordion/index.js +361 -0
- package/dist/components/angle-slider/index.d.ts +230 -0
- package/dist/components/angle-slider/index.js +371 -0
- package/dist/components/avatar/index.d.ts +116 -0
- package/dist/components/avatar/index.js +177 -0
- package/dist/components/bottom-sheet/index.d.ts +241 -0
- package/dist/components/bottom-sheet/index.js +429 -0
- package/dist/components/carousel/index.d.ts +306 -0
- package/dist/components/carousel/index.js +500 -0
- package/dist/components/checkbox/index.d.ts +273 -0
- package/dist/components/checkbox/index.js +500 -0
- package/dist/components/client-only/index.d.ts +20 -0
- package/dist/components/client-only/index.js +22 -0
- package/dist/components/clipboard/index.d.ts +204 -0
- package/dist/components/clipboard/index.js +297 -0
- package/dist/components/collapsible/index.d.ts +15 -23
- package/dist/components/collapsible/index.js +5 -325
- package/dist/components/collection/index.d.ts +2 -0
- package/dist/components/collection/index.js +4 -0
- package/dist/components/color-picker/index.d.ts +610 -0
- package/dist/components/color-picker/index.js +1127 -0
- package/dist/components/combobox/index.d.ts +618 -0
- package/dist/components/combobox/index.js +802 -0
- package/dist/components/date-picker/index.d.ts +597 -0
- package/dist/components/date-picker/index.js +1110 -0
- package/dist/components/dialog/index.d.ts +270 -0
- package/dist/components/dialog/index.js +433 -0
- package/dist/components/download-trigger/index.d.ts +29 -0
- package/dist/components/download-trigger/index.js +68 -0
- package/dist/components/editable/index.d.ts +288 -0
- package/dist/components/editable/index.js +459 -0
- package/dist/components/field/index.d.ts +326 -0
- package/dist/components/field/index.js +7 -0
- package/dist/components/fieldset/index.d.ts +161 -0
- package/dist/components/fieldset/index.js +7 -0
- package/dist/components/highlight/index.d.ts +35 -0
- package/dist/components/highlight/index.js +57 -0
- package/dist/components/menu/index.d.ts +498 -0
- package/dist/components/menu/index.js +885 -0
- package/dist/components/presence/index.d.ts +3 -0
- package/dist/components/presence/index.js +6 -0
- package/dist/components/select/index.d.ts +430 -0
- package/dist/components/select/index.js +769 -0
- package/dist/{use-forward-expose-BIk4OI3R.js → core-DNndr38p.js} +2 -170
- package/dist/create-split-props-YZ3qgXe_.js +11 -0
- package/dist/factory-BH3WrWd2.js +68 -0
- package/dist/factory-D_ge_w76.d.ts +8 -0
- package/dist/field-DnHnX3Tf.js +501 -0
- package/dist/fieldset-DzhN7Zrg.js +278 -0
- package/dist/{types-BQfkZGpL.d.ts → index-B66Om_3U.d.ts} +1 -9
- package/dist/index-BBHms9-0.d.ts +91 -0
- package/dist/index-CDQghZtv.d.ts +57 -0
- package/dist/index-DqRk-Yea.d.ts +199 -0
- package/dist/index.d.ts +4 -92
- package/dist/index.js +4 -50
- package/dist/presence-CvUnYMZQ.js +105 -0
- package/dist/presence-types-Bv1E60Cw.d.ts +13 -0
- package/dist/providers-B2CNPFg1.js +108 -0
- package/dist/types-Bj-dS2Hc.d.ts +9 -0
- package/dist/use-forward-expose-4p5AGAI3.js +67 -0
- package/dist/use-render-strategy-BkxoN6ll.js +7 -0
- package/dist/use-render-strategy-CHj_pCfT.d.ts +9 -0
- package/dist/utils-B4FuOOE-.js +51 -0
- package/package.json +86 -2
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D_ge_w76.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-Bj-dS2Hc.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-B66Om_3U.js";
|
|
4
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-CHj_pCfT.js";
|
|
5
|
+
import * as vue43 from "vue";
|
|
6
|
+
import { ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
|
+
import * as bottomSheet from "@sprawlify/primitives/machines/bottom-sheet";
|
|
8
|
+
import { ContentProps, OpenChangeDetails, OpenChangeDetails as BottomSheetOpenChangeDetails, anatomy as bottomSheetAnatomy } from "@sprawlify/primitives/machines/bottom-sheet";
|
|
9
|
+
|
|
10
|
+
//#region src/components/bottom-sheet/bottom-sheet-backdrop.vue.d.ts
|
|
11
|
+
interface BottomSheetBackdropBaseProps extends PolymorphicProps {}
|
|
12
|
+
interface BottomSheetBackdropProps extends BottomSheetBackdropBaseProps,
|
|
13
|
+
/**
|
|
14
|
+
* @vue-ignore
|
|
15
|
+
*/
|
|
16
|
+
HTMLAttributes {}
|
|
17
|
+
declare const _default: typeof __VLS_export$9;
|
|
18
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue43.DefineComponent<BottomSheetBackdropProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
19
|
+
default?: (props: {}) => any;
|
|
20
|
+
}>;
|
|
21
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/bottom-sheet/bottom-sheet-close-trigger.vue.d.ts
|
|
28
|
+
interface BottomSheetCloseTriggerBaseProps extends PolymorphicProps {}
|
|
29
|
+
interface BottomSheetCloseTriggerProps extends BottomSheetCloseTriggerBaseProps,
|
|
30
|
+
/**
|
|
31
|
+
* @vue-ignore
|
|
32
|
+
*/
|
|
33
|
+
HTMLAttributes {}
|
|
34
|
+
declare const _default$1: typeof __VLS_export$8;
|
|
35
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue43.DefineComponent<BottomSheetCloseTriggerProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
36
|
+
default?: (props: {}) => any;
|
|
37
|
+
}>;
|
|
38
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/bottom-sheet/bottom-sheet-content.vue.d.ts
|
|
45
|
+
interface BottomSheetContentBaseProps extends PolymorphicProps, ContentProps {}
|
|
46
|
+
interface BottomSheetContentProps extends BottomSheetContentBaseProps,
|
|
47
|
+
/**
|
|
48
|
+
* @vue-ignore
|
|
49
|
+
*/
|
|
50
|
+
Omit<HTMLAttributes, 'draggable'> {}
|
|
51
|
+
declare const _default$2: typeof __VLS_export$7;
|
|
52
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue43.DefineComponent<BottomSheetContentProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetContentProps> & Readonly<{}>, {
|
|
53
|
+
draggable: boolean;
|
|
54
|
+
}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
55
|
+
default?: (props: {}) => any;
|
|
56
|
+
}>;
|
|
57
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/components/bottom-sheet/bottom-sheet-types.d.ts
|
|
64
|
+
interface RootProps {
|
|
65
|
+
id?: string;
|
|
66
|
+
ids?: Partial<{
|
|
67
|
+
backdrop: string;
|
|
68
|
+
content: string;
|
|
69
|
+
trigger: string;
|
|
70
|
+
grabber: string;
|
|
71
|
+
grabberIndicator: string;
|
|
72
|
+
closeTrigger: string;
|
|
73
|
+
}>;
|
|
74
|
+
trapFocus?: boolean;
|
|
75
|
+
preventScroll?: boolean;
|
|
76
|
+
modal?: boolean;
|
|
77
|
+
initialFocusEl?: () => HTMLElement | null;
|
|
78
|
+
finalFocusEl?: () => HTMLElement | null;
|
|
79
|
+
restoreFocus?: boolean;
|
|
80
|
+
role?: 'dialog' | 'alertdialog';
|
|
81
|
+
open?: boolean;
|
|
82
|
+
defaultOpen?: boolean;
|
|
83
|
+
closeOnInteractOutside?: boolean;
|
|
84
|
+
closeOnEscape?: boolean;
|
|
85
|
+
snapPoints?: (number | string)[];
|
|
86
|
+
swipeVelocityThreshold?: number;
|
|
87
|
+
closeThreshold?: number;
|
|
88
|
+
preventDragOnScroll?: boolean;
|
|
89
|
+
activeSnapPoint?: number | string;
|
|
90
|
+
defaultActiveSnapPoint?: number | string;
|
|
91
|
+
}
|
|
92
|
+
type RootEmits = {
|
|
93
|
+
openChange: [details: bottomSheet.OpenChangeDetails];
|
|
94
|
+
activeSnapPointChange: [details: {
|
|
95
|
+
snapPoint: number | string;
|
|
96
|
+
}];
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/components/bottom-sheet/use-bottom-sheet.d.ts
|
|
100
|
+
interface UseBottomSheetProps extends Optional<Omit<bottomSheet.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
101
|
+
interface UseBottomSheetReturn extends ComputedRef<bottomSheet.Api<PropTypes>> {}
|
|
102
|
+
declare const useBottomSheet: (props?: MaybeRef<UseBottomSheetProps>, emit?: EmitFn$1<RootEmits>) => UseBottomSheetReturn;
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/components/bottom-sheet/use-bottom-sheet-context.d.ts
|
|
105
|
+
interface UseBottomSheetContext extends UseBottomSheetReturn {}
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region src/components/bottom-sheet/bottom-sheet-context.vue.d.ts
|
|
108
|
+
interface BottomSheetContextProps extends SlotsType<{
|
|
109
|
+
default: UnwrapRef<UseBottomSheetContext>;
|
|
110
|
+
}> {}
|
|
111
|
+
declare const _default$3: typeof __VLS_export$6;
|
|
112
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue43.DefineComponent<{}, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, true, {}, any>, {
|
|
113
|
+
default(bottomSheet: UnwrapRef<UseBottomSheetContext>): unknown;
|
|
114
|
+
}>;
|
|
115
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
116
|
+
new (): {
|
|
117
|
+
$slots: S;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/components/bottom-sheet/bottom-sheet-grabber.vue.d.ts
|
|
122
|
+
interface BottomSheetGrabberBaseProps extends PolymorphicProps {}
|
|
123
|
+
interface BottomSheetGrabberProps extends BottomSheetGrabberBaseProps,
|
|
124
|
+
/**
|
|
125
|
+
* @vue-ignore
|
|
126
|
+
*/
|
|
127
|
+
HTMLAttributes {}
|
|
128
|
+
declare const _default$4: typeof __VLS_export$5;
|
|
129
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue43.DefineComponent<BottomSheetGrabberProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetGrabberProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
130
|
+
default?: (props: {}) => any;
|
|
131
|
+
}>;
|
|
132
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
133
|
+
new (): {
|
|
134
|
+
$slots: S;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/components/bottom-sheet/bottom-sheet-grabber-indicator.vue.d.ts
|
|
139
|
+
interface BottomSheetGrabberIndicatorBaseProps extends PolymorphicProps {}
|
|
140
|
+
interface BottomSheetGrabberIndicatorProps extends BottomSheetGrabberIndicatorBaseProps,
|
|
141
|
+
/**
|
|
142
|
+
* @vue-ignore
|
|
143
|
+
*/
|
|
144
|
+
HTMLAttributes {}
|
|
145
|
+
declare const _default$5: typeof __VLS_export$4;
|
|
146
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue43.DefineComponent<BottomSheetGrabberIndicatorProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetGrabberIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
147
|
+
default?: (props: {}) => any;
|
|
148
|
+
}>;
|
|
149
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
150
|
+
new (): {
|
|
151
|
+
$slots: S;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/components/bottom-sheet/bottom-sheet-root.vue.d.ts
|
|
156
|
+
interface BottomSheetRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
157
|
+
interface BottomSheetRootProps extends BottomSheetRootBaseProps {}
|
|
158
|
+
declare const _default$6: typeof __VLS_export$3;
|
|
159
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue43.DefineComponent<BottomSheetRootProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {
|
|
160
|
+
openChange: (details: bottomSheet.OpenChangeDetails) => any;
|
|
161
|
+
activeSnapPointChange: (details: {
|
|
162
|
+
snapPoint: number | string;
|
|
163
|
+
}) => any;
|
|
164
|
+
}, string, vue43.PublicProps, Readonly<BottomSheetRootProps> & Readonly<{
|
|
165
|
+
onOpenChange?: ((details: bottomSheet.OpenChangeDetails) => any) | undefined;
|
|
166
|
+
onActiveSnapPointChange?: ((details: {
|
|
167
|
+
snapPoint: number | string;
|
|
168
|
+
}) => any) | undefined;
|
|
169
|
+
}>, {
|
|
170
|
+
defaultOpen: boolean;
|
|
171
|
+
open: boolean;
|
|
172
|
+
trapFocus: boolean;
|
|
173
|
+
preventScroll: boolean;
|
|
174
|
+
modal: boolean;
|
|
175
|
+
restoreFocus: boolean;
|
|
176
|
+
closeOnInteractOutside: boolean;
|
|
177
|
+
closeOnEscape: boolean;
|
|
178
|
+
preventDragOnScroll: boolean;
|
|
179
|
+
}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
180
|
+
default?: (props: {}) => any;
|
|
181
|
+
}>;
|
|
182
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
183
|
+
new (): {
|
|
184
|
+
$slots: S;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region src/components/bottom-sheet/bottom-sheet-root-provider.vue.d.ts
|
|
189
|
+
interface RootProviderProps {
|
|
190
|
+
value: UnwrapRef<UseBottomSheetReturn>;
|
|
191
|
+
}
|
|
192
|
+
interface BottomSheetRootProviderBaseProps extends RootProviderProps, RenderStrategyProps {}
|
|
193
|
+
interface BottomSheetRootProviderProps extends BottomSheetRootProviderBaseProps {}
|
|
194
|
+
declare const _default$7: typeof __VLS_export$2;
|
|
195
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue43.DefineComponent<BottomSheetRootProviderProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
196
|
+
default?: (props: {}) => any;
|
|
197
|
+
}>;
|
|
198
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
199
|
+
new (): {
|
|
200
|
+
$slots: S;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/components/bottom-sheet/bottom-sheet-title.vue.d.ts
|
|
205
|
+
interface BottomSheetTitleBaseProps extends PolymorphicProps {}
|
|
206
|
+
interface BottomSheetTitleProps extends BottomSheetTitleBaseProps,
|
|
207
|
+
/**
|
|
208
|
+
* @vue-ignore
|
|
209
|
+
*/
|
|
210
|
+
HTMLAttributes {}
|
|
211
|
+
declare const _default$8: typeof __VLS_export$1;
|
|
212
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue43.DefineComponent<BottomSheetTitleProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
213
|
+
default?: (props: {}) => any;
|
|
214
|
+
}>;
|
|
215
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
216
|
+
new (): {
|
|
217
|
+
$slots: S;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
//#endregion
|
|
221
|
+
//#region src/components/bottom-sheet/bottom-sheet-trigger.vue.d.ts
|
|
222
|
+
interface BottomSheetTriggerBaseProps extends PolymorphicProps {}
|
|
223
|
+
interface BottomSheetTriggerProps extends BottomSheetTriggerBaseProps,
|
|
224
|
+
/**
|
|
225
|
+
* @vue-ignore
|
|
226
|
+
*/
|
|
227
|
+
HTMLAttributes {}
|
|
228
|
+
declare const _default$9: typeof __VLS_export;
|
|
229
|
+
declare const __VLS_export: __VLS_WithSlots<vue43.DefineComponent<BottomSheetTriggerProps, {}, {}, {}, {}, vue43.ComponentOptionsMixin, vue43.ComponentOptionsMixin, {}, string, vue43.PublicProps, Readonly<BottomSheetTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue43.ComponentProvideOptions, false, {}, any>, {
|
|
230
|
+
default?: (props: {}) => any;
|
|
231
|
+
}>;
|
|
232
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
233
|
+
new (): {
|
|
234
|
+
$slots: S;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
declare namespace bottom_sheet_d_exports {
|
|
238
|
+
export { _default as Backdrop, BottomSheetBackdropBaseProps as BackdropBaseProps, BottomSheetBackdropProps as BackdropProps, _default$1 as CloseTrigger, BottomSheetCloseTriggerBaseProps as CloseTriggerBaseProps, BottomSheetCloseTriggerProps as CloseTriggerProps, _default$2 as Content, BottomSheetContentBaseProps as ContentBaseProps, BottomSheetContentProps as ContentProps, _default$3 as Context, BottomSheetContextProps as ContextProps, _default$4 as Grabber, BottomSheetGrabberBaseProps as GrabberBaseProps, _default$5 as GrabberIndicator, BottomSheetGrabberIndicatorBaseProps as GrabberIndicatorBaseProps, BottomSheetGrabberIndicatorProps as GrabberIndicatorProps, BottomSheetGrabberProps as GrabberProps, OpenChangeDetails, _default$6 as Root, BottomSheetRootBaseProps as RootBaseProps, BottomSheetRootProps as RootProps, _default$7 as RootProvider, BottomSheetRootProviderBaseProps as RootProviderBaseProps, BottomSheetRootProviderProps as RootProviderProps, _default$8 as Title, BottomSheetTitleBaseProps as TitleBaseProps, BottomSheetTitleProps as TitleProps, _default$9 as Trigger, BottomSheetTriggerBaseProps as TriggerBaseProps, BottomSheetTriggerProps as TriggerProps };
|
|
239
|
+
}
|
|
240
|
+
//#endregion
|
|
241
|
+
export { bottom_sheet_d_exports as BottomSheet, _default as BottomSheetBackdrop, type BottomSheetBackdropBaseProps, type BottomSheetBackdropProps, _default$1 as BottomSheetCloseTrigger, type BottomSheetCloseTriggerBaseProps, type BottomSheetCloseTriggerProps, _default$2 as BottomSheetContent, type BottomSheetContentBaseProps, type BottomSheetContentProps, _default$3 as BottomSheetContext, type BottomSheetContextProps, _default$4 as BottomSheetGrabber, type BottomSheetGrabberBaseProps, _default$5 as BottomSheetGrabberIndicator, type BottomSheetGrabberIndicatorBaseProps, type BottomSheetGrabberIndicatorProps, type BottomSheetGrabberProps, type BottomSheetOpenChangeDetails, _default$6 as BottomSheetRoot, type BottomSheetRootBaseProps, type BottomSheetRootProps, _default$7 as BottomSheetRootProvider, type BottomSheetRootProviderBaseProps, type BottomSheetRootProviderProps, _default$8 as BottomSheetTitle, type BottomSheetTitleBaseProps, type BottomSheetTitleProps, _default$9 as BottomSheetTrigger, type BottomSheetTriggerBaseProps, type BottomSheetTriggerProps, type UseBottomSheetContext, type UseBottomSheetProps, type UseBottomSheetReturn, bottomSheetAnatomy, useBottomSheet, useBottomSheetContext };
|
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
import { t as __exportAll } from "../../chunk-BN_g-Awi.js";
|
|
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-B2CNPFg1.js";
|
|
4
|
+
import { r as createContext, t as useForwardExpose } from "../../use-forward-expose-4p5AGAI3.js";
|
|
5
|
+
import "../../utils-B4FuOOE-.js";
|
|
6
|
+
import { t as sprawlify } from "../../factory-BH3WrWd2.js";
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-BDv2zb5M.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-YZ3qgXe_.js";
|
|
9
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-BkxoN6ll.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-CvUnYMZQ.js";
|
|
11
|
+
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
|
+
import * as bottomSheet from "@sprawlify/primitives/machines/bottom-sheet";
|
|
13
|
+
import { anatomy as bottomSheetAnatomy } from "@sprawlify/primitives/machines/bottom-sheet";
|
|
14
|
+
|
|
15
|
+
//#region src/components/bottom-sheet/use-bottom-sheet-context.ts
|
|
16
|
+
const [BottomSheetProvider, useBottomSheetContext] = createContext("BottomSheetContext");
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/components/bottom-sheet/bottom-sheet-backdrop.vue?vue&type=script&setup=true&lang.ts
|
|
20
|
+
var bottom_sheet_backdrop_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
21
|
+
__name: "bottom-sheet-backdrop",
|
|
22
|
+
props: { asChild: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
required: false
|
|
25
|
+
} },
|
|
26
|
+
setup(__props) {
|
|
27
|
+
const bottomSheet = useBottomSheetContext();
|
|
28
|
+
const renderStrategy = useRenderStrategyProps();
|
|
29
|
+
const presence = usePresence(computed(() => ({
|
|
30
|
+
...renderStrategy.value,
|
|
31
|
+
present: bottomSheet.value.open
|
|
32
|
+
})));
|
|
33
|
+
const mergedProps = computed(() => mergeProps$1(bottomSheet.value.getBackdropProps(), presence.value.presenceProps));
|
|
34
|
+
useForwardExpose();
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return !unref(presence).unmounted ? (openBlock(), createBlock(unref(sprawlify).div, mergeProps({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
|
|
37
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 16, ["as-child"])) : createCommentVNode("v-if", true);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/bottom-sheet/bottom-sheet-backdrop.vue
|
|
46
|
+
var bottom_sheet_backdrop_default = bottom_sheet_backdrop_vue_vue_type_script_setup_true_lang_default;
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/components/bottom-sheet/bottom-sheet-close-trigger.vue?vue&type=script&setup=true&lang.ts
|
|
50
|
+
var bottom_sheet_close_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
51
|
+
__name: "bottom-sheet-close-trigger",
|
|
52
|
+
props: { asChild: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
required: false
|
|
55
|
+
} },
|
|
56
|
+
setup(__props) {
|
|
57
|
+
const bottomSheet = useBottomSheetContext();
|
|
58
|
+
useForwardExpose();
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return openBlock(), createBlock(unref(sprawlify).button, mergeProps(unref(bottomSheet).getCloseTriggerProps(), { "as-child": __props.asChild }), {
|
|
61
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
62
|
+
_: 3
|
|
63
|
+
}, 16, ["as-child"]);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/components/bottom-sheet/bottom-sheet-close-trigger.vue
|
|
70
|
+
var bottom_sheet_close_trigger_default = bottom_sheet_close_trigger_vue_vue_type_script_setup_true_lang_default;
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/components/bottom-sheet/bottom-sheet-content.vue?vue&type=script&setup=true&lang.ts
|
|
74
|
+
var bottom_sheet_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
75
|
+
__name: "bottom-sheet-content",
|
|
76
|
+
props: {
|
|
77
|
+
asChild: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
required: false
|
|
80
|
+
},
|
|
81
|
+
draggable: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
required: false,
|
|
84
|
+
skipCheck: true,
|
|
85
|
+
default: true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
setup(__props) {
|
|
89
|
+
const props = __props;
|
|
90
|
+
const [contentProps, localProps] = createSplitProps()(props, ["draggable"]);
|
|
91
|
+
const bottomSheet = useBottomSheetContext();
|
|
92
|
+
const presence = usePresenceContext();
|
|
93
|
+
const mergedProps = computed(() => mergeProps$1(bottomSheet.value.getContentProps({
|
|
94
|
+
draggable: true,
|
|
95
|
+
...contentProps
|
|
96
|
+
}), presence.value.presenceProps, localProps));
|
|
97
|
+
useForwardExpose();
|
|
98
|
+
return (_ctx, _cache) => {
|
|
99
|
+
return !unref(presence).unmounted ? (openBlock(), createBlock(unref(sprawlify).div, mergeProps({ key: 0 }, mergedProps.value, { "as-child": __props.asChild }), {
|
|
100
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
101
|
+
_: 3
|
|
102
|
+
}, 16, ["as-child"])) : createCommentVNode("v-if", true);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/components/bottom-sheet/bottom-sheet-content.vue
|
|
109
|
+
var bottom_sheet_content_default = bottom_sheet_content_vue_vue_type_script_setup_true_lang_default;
|
|
110
|
+
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/components/bottom-sheet/bottom-sheet-context.vue?vue&type=script&setup=true&lang.ts
|
|
113
|
+
var bottom_sheet_context_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
114
|
+
__name: "bottom-sheet-context",
|
|
115
|
+
setup(__props) {
|
|
116
|
+
const bottomSheet = useBottomSheetContext();
|
|
117
|
+
return (_ctx, _cache) => {
|
|
118
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(bottomSheet))));
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/components/bottom-sheet/bottom-sheet-context.vue
|
|
125
|
+
var bottom_sheet_context_default = bottom_sheet_context_vue_vue_type_script_setup_true_lang_default;
|
|
126
|
+
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/bottom-sheet/bottom-sheet-grabber.vue?vue&type=script&setup=true&lang.ts
|
|
129
|
+
var bottom_sheet_grabber_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
130
|
+
__name: "bottom-sheet-grabber",
|
|
131
|
+
props: { asChild: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
required: false
|
|
134
|
+
} },
|
|
135
|
+
setup(__props) {
|
|
136
|
+
const bottomSheet = useBottomSheetContext();
|
|
137
|
+
useForwardExpose();
|
|
138
|
+
return (_ctx, _cache) => {
|
|
139
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(bottomSheet).getGrabberProps(), { "as-child": __props.asChild }), {
|
|
140
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
141
|
+
_: 3
|
|
142
|
+
}, 16, ["as-child"]);
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/components/bottom-sheet/bottom-sheet-grabber.vue
|
|
149
|
+
var bottom_sheet_grabber_default = bottom_sheet_grabber_vue_vue_type_script_setup_true_lang_default;
|
|
150
|
+
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/components/bottom-sheet/bottom-sheet-grabber-indicator.vue?vue&type=script&setup=true&lang.ts
|
|
153
|
+
var bottom_sheet_grabber_indicator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
154
|
+
__name: "bottom-sheet-grabber-indicator",
|
|
155
|
+
props: { asChild: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
required: false
|
|
158
|
+
} },
|
|
159
|
+
setup(__props) {
|
|
160
|
+
const bottomSheet = useBottomSheetContext();
|
|
161
|
+
useForwardExpose();
|
|
162
|
+
return (_ctx, _cache) => {
|
|
163
|
+
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(bottomSheet).getGrabberIndicatorProps(), { "as-child": __props.asChild }), {
|
|
164
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
165
|
+
_: 3
|
|
166
|
+
}, 16, ["as-child"]);
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/components/bottom-sheet/bottom-sheet-grabber-indicator.vue
|
|
173
|
+
var bottom_sheet_grabber_indicator_default = bottom_sheet_grabber_indicator_vue_vue_type_script_setup_true_lang_default;
|
|
174
|
+
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region src/components/bottom-sheet/use-bottom-sheet.ts
|
|
177
|
+
const useBottomSheet = (props = {}, emit) => {
|
|
178
|
+
const id = useId();
|
|
179
|
+
const env = useEnvironmentContext(DEFAULT_ENVIRONMENT);
|
|
180
|
+
const locale = useLocaleContext(DEFAULT_LOCALE);
|
|
181
|
+
const context = computed(() => {
|
|
182
|
+
const localeProps = toValue(props);
|
|
183
|
+
return {
|
|
184
|
+
id,
|
|
185
|
+
dir: locale.value.dir,
|
|
186
|
+
getRootNode: env?.value.getRootNode,
|
|
187
|
+
...cleanProps(localeProps),
|
|
188
|
+
onOpenChange: (details) => {
|
|
189
|
+
emit?.("openChange", details);
|
|
190
|
+
localeProps.onOpenChange?.(details);
|
|
191
|
+
},
|
|
192
|
+
onActiveSnapPointChange: (details) => {
|
|
193
|
+
emit?.("activeSnapPointChange", details);
|
|
194
|
+
localeProps.onActiveSnapPointChange?.(details);
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
});
|
|
198
|
+
const service = useMachine(bottomSheet.machine, context);
|
|
199
|
+
return computed(() => bottomSheet.connect(service, normalizeProps$1));
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region src/components/bottom-sheet/bottom-sheet-root.vue?vue&type=script&setup=true&lang.ts
|
|
204
|
+
var bottom_sheet_root_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
205
|
+
__name: "bottom-sheet-root",
|
|
206
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
207
|
+
id: {
|
|
208
|
+
type: String,
|
|
209
|
+
required: false
|
|
210
|
+
},
|
|
211
|
+
ids: {
|
|
212
|
+
type: Object,
|
|
213
|
+
required: false
|
|
214
|
+
},
|
|
215
|
+
trapFocus: {
|
|
216
|
+
type: Boolean,
|
|
217
|
+
required: false
|
|
218
|
+
},
|
|
219
|
+
preventScroll: {
|
|
220
|
+
type: Boolean,
|
|
221
|
+
required: false
|
|
222
|
+
},
|
|
223
|
+
modal: {
|
|
224
|
+
type: Boolean,
|
|
225
|
+
required: false
|
|
226
|
+
},
|
|
227
|
+
initialFocusEl: {
|
|
228
|
+
type: Function,
|
|
229
|
+
required: false
|
|
230
|
+
},
|
|
231
|
+
finalFocusEl: {
|
|
232
|
+
type: Function,
|
|
233
|
+
required: false
|
|
234
|
+
},
|
|
235
|
+
restoreFocus: {
|
|
236
|
+
type: Boolean,
|
|
237
|
+
required: false
|
|
238
|
+
},
|
|
239
|
+
role: {
|
|
240
|
+
type: String,
|
|
241
|
+
required: false
|
|
242
|
+
},
|
|
243
|
+
open: {
|
|
244
|
+
type: Boolean,
|
|
245
|
+
required: false
|
|
246
|
+
},
|
|
247
|
+
defaultOpen: {
|
|
248
|
+
type: Boolean,
|
|
249
|
+
required: false
|
|
250
|
+
},
|
|
251
|
+
closeOnInteractOutside: {
|
|
252
|
+
type: Boolean,
|
|
253
|
+
required: false
|
|
254
|
+
},
|
|
255
|
+
closeOnEscape: {
|
|
256
|
+
type: Boolean,
|
|
257
|
+
required: false
|
|
258
|
+
},
|
|
259
|
+
snapPoints: {
|
|
260
|
+
type: Array,
|
|
261
|
+
required: false
|
|
262
|
+
},
|
|
263
|
+
swipeVelocityThreshold: {
|
|
264
|
+
type: Number,
|
|
265
|
+
required: false
|
|
266
|
+
},
|
|
267
|
+
closeThreshold: {
|
|
268
|
+
type: Number,
|
|
269
|
+
required: false
|
|
270
|
+
},
|
|
271
|
+
preventDragOnScroll: {
|
|
272
|
+
type: Boolean,
|
|
273
|
+
required: false
|
|
274
|
+
},
|
|
275
|
+
activeSnapPoint: {
|
|
276
|
+
type: [Number, String],
|
|
277
|
+
required: false
|
|
278
|
+
},
|
|
279
|
+
defaultActiveSnapPoint: {
|
|
280
|
+
type: [Number, String],
|
|
281
|
+
required: false
|
|
282
|
+
},
|
|
283
|
+
lazyMount: {
|
|
284
|
+
type: Boolean,
|
|
285
|
+
required: false
|
|
286
|
+
},
|
|
287
|
+
unmountOnExit: {
|
|
288
|
+
type: Boolean,
|
|
289
|
+
required: false
|
|
290
|
+
}
|
|
291
|
+
}, {
|
|
292
|
+
closeOnEscape: void 0,
|
|
293
|
+
closeOnInteractOutside: void 0,
|
|
294
|
+
defaultOpen: void 0,
|
|
295
|
+
modal: void 0,
|
|
296
|
+
open: void 0,
|
|
297
|
+
preventScroll: void 0,
|
|
298
|
+
restoreFocus: void 0,
|
|
299
|
+
trapFocus: void 0,
|
|
300
|
+
preventDragOnScroll: void 0
|
|
301
|
+
}),
|
|
302
|
+
emits: ["openChange", "activeSnapPointChange"],
|
|
303
|
+
setup(__props, { emit: __emit }) {
|
|
304
|
+
const props = __props;
|
|
305
|
+
const bottomSheet = useBottomSheet(props, __emit);
|
|
306
|
+
BottomSheetProvider(bottomSheet);
|
|
307
|
+
RenderStrategyPropsProvider(computed(() => ({
|
|
308
|
+
lazyMount: props.lazyMount,
|
|
309
|
+
unmountOnExit: props.unmountOnExit
|
|
310
|
+
})));
|
|
311
|
+
PresenceProvider(usePresence(computed(() => ({
|
|
312
|
+
present: bottomSheet.value.open,
|
|
313
|
+
lazyMount: props.lazyMount,
|
|
314
|
+
unmountOnExit: props.unmountOnExit
|
|
315
|
+
}))));
|
|
316
|
+
useForwardExpose();
|
|
317
|
+
return (_ctx, _cache) => {
|
|
318
|
+
return renderSlot(_ctx.$slots, "default");
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
|
|
323
|
+
//#endregion
|
|
324
|
+
//#region src/components/bottom-sheet/bottom-sheet-root.vue
|
|
325
|
+
var bottom_sheet_root_default = bottom_sheet_root_vue_vue_type_script_setup_true_lang_default;
|
|
326
|
+
|
|
327
|
+
//#endregion
|
|
328
|
+
//#region src/components/bottom-sheet/bottom-sheet-root-provider.vue?vue&type=script&setup=true&lang.ts
|
|
329
|
+
var bottom_sheet_root_provider_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
330
|
+
__name: "bottom-sheet-root-provider",
|
|
331
|
+
props: {
|
|
332
|
+
value: {
|
|
333
|
+
type: null,
|
|
334
|
+
required: true
|
|
335
|
+
},
|
|
336
|
+
lazyMount: {
|
|
337
|
+
type: Boolean,
|
|
338
|
+
required: false
|
|
339
|
+
},
|
|
340
|
+
unmountOnExit: {
|
|
341
|
+
type: Boolean,
|
|
342
|
+
required: false
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
setup(__props) {
|
|
346
|
+
const props = __props;
|
|
347
|
+
const bottomSheet = computed(() => props.value);
|
|
348
|
+
BottomSheetProvider(bottomSheet);
|
|
349
|
+
RenderStrategyPropsProvider(computed(() => ({
|
|
350
|
+
lazyMount: props.lazyMount,
|
|
351
|
+
unmountOnExit: props.unmountOnExit
|
|
352
|
+
})));
|
|
353
|
+
PresenceProvider(usePresence(computed(() => ({ present: bottomSheet.value.open }))));
|
|
354
|
+
useForwardExpose();
|
|
355
|
+
return (_ctx, _cache) => {
|
|
356
|
+
return renderSlot(_ctx.$slots, "default");
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
//#endregion
|
|
362
|
+
//#region src/components/bottom-sheet/bottom-sheet-root-provider.vue
|
|
363
|
+
var bottom_sheet_root_provider_default = bottom_sheet_root_provider_vue_vue_type_script_setup_true_lang_default;
|
|
364
|
+
|
|
365
|
+
//#endregion
|
|
366
|
+
//#region src/components/bottom-sheet/bottom-sheet-title.vue?vue&type=script&setup=true&lang.ts
|
|
367
|
+
var bottom_sheet_title_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
368
|
+
__name: "bottom-sheet-title",
|
|
369
|
+
props: { asChild: {
|
|
370
|
+
type: Boolean,
|
|
371
|
+
required: false
|
|
372
|
+
} },
|
|
373
|
+
setup(__props) {
|
|
374
|
+
const bottomSheet = useBottomSheetContext();
|
|
375
|
+
useForwardExpose();
|
|
376
|
+
return (_ctx, _cache) => {
|
|
377
|
+
return openBlock(), createBlock(unref(sprawlify).h2, mergeProps(unref(bottomSheet).getTitleProps(), { "as-child": __props.asChild }), {
|
|
378
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
379
|
+
_: 3
|
|
380
|
+
}, 16, ["as-child"]);
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
|
|
385
|
+
//#endregion
|
|
386
|
+
//#region src/components/bottom-sheet/bottom-sheet-title.vue
|
|
387
|
+
var bottom_sheet_title_default = bottom_sheet_title_vue_vue_type_script_setup_true_lang_default;
|
|
388
|
+
|
|
389
|
+
//#endregion
|
|
390
|
+
//#region src/components/bottom-sheet/bottom-sheet-trigger.vue?vue&type=script&setup=true&lang.ts
|
|
391
|
+
var bottom_sheet_trigger_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
392
|
+
__name: "bottom-sheet-trigger",
|
|
393
|
+
props: { asChild: {
|
|
394
|
+
type: Boolean,
|
|
395
|
+
required: false
|
|
396
|
+
} },
|
|
397
|
+
setup(__props) {
|
|
398
|
+
const bottomSheet = useBottomSheetContext();
|
|
399
|
+
useForwardExpose();
|
|
400
|
+
return (_ctx, _cache) => {
|
|
401
|
+
return openBlock(), createBlock(unref(sprawlify).button, mergeProps(unref(bottomSheet).getTriggerProps(), { "as-child": __props.asChild }), {
|
|
402
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
403
|
+
_: 3
|
|
404
|
+
}, 16, ["as-child"]);
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
//#endregion
|
|
410
|
+
//#region src/components/bottom-sheet/bottom-sheet-trigger.vue
|
|
411
|
+
var bottom_sheet_trigger_default = bottom_sheet_trigger_vue_vue_type_script_setup_true_lang_default;
|
|
412
|
+
|
|
413
|
+
//#endregion
|
|
414
|
+
//#region src/components/bottom-sheet/bottom-sheet.ts
|
|
415
|
+
var bottom_sheet_exports = /* @__PURE__ */ __exportAll({
|
|
416
|
+
Backdrop: () => bottom_sheet_backdrop_default,
|
|
417
|
+
CloseTrigger: () => bottom_sheet_close_trigger_default,
|
|
418
|
+
Content: () => bottom_sheet_content_default,
|
|
419
|
+
Context: () => bottom_sheet_context_default,
|
|
420
|
+
Grabber: () => bottom_sheet_grabber_default,
|
|
421
|
+
GrabberIndicator: () => bottom_sheet_grabber_indicator_default,
|
|
422
|
+
Root: () => bottom_sheet_root_default,
|
|
423
|
+
RootProvider: () => bottom_sheet_root_provider_default,
|
|
424
|
+
Title: () => bottom_sheet_title_default,
|
|
425
|
+
Trigger: () => bottom_sheet_trigger_default
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
//#endregion
|
|
429
|
+
export { bottom_sheet_exports as BottomSheet, bottom_sheet_backdrop_default as BottomSheetBackdrop, bottom_sheet_close_trigger_default as BottomSheetCloseTrigger, bottom_sheet_content_default as BottomSheetContent, bottom_sheet_context_default as BottomSheetContext, bottom_sheet_grabber_default as BottomSheetGrabber, bottom_sheet_grabber_indicator_default as BottomSheetGrabberIndicator, bottom_sheet_root_default as BottomSheetRoot, bottom_sheet_root_provider_default as BottomSheetRootProvider, bottom_sheet_title_default as BottomSheetTitle, bottom_sheet_trigger_default as BottomSheetTrigger, bottomSheetAnatomy, useBottomSheet, useBottomSheetContext };
|