@sprawlify/vue 0.0.72 → 0.0.73
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-jX9S7WYj.js → collapsible-SXAS3iFc.js} +1 -1
- package/dist/{collection-DGKjEgOz.js → collection-C_ZHBDQD.js} +1 -1
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/angle-slider/index.d.ts +15 -15
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +16 -16
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +23 -23
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +16 -16
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +48 -48
- package/dist/components/color-picker/index.js +3 -3
- package/dist/components/combobox/index.d.ts +31 -31
- package/dist/components/combobox/index.js +4 -4
- package/dist/components/date-picker/index.d.ts +42 -42
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +28 -28
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +24 -24
- package/dist/components/editable/index.js +1 -1
- package/dist/components/field/index.d.ts +23 -23
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/file-upload/index.d.ts +20 -20
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-panel/index.d.ts +19 -19
- package/dist/components/floating-panel/index.js +2 -2
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +1 -1
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +21 -21
- package/dist/components/hover-card/index.js +3 -3
- package/dist/components/image-cropper/index.d.ts +13 -13
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +7 -7
- package/dist/components/json-tree-view/index.js +5 -5
- package/dist/components/listbox/index.d.ts +22 -22
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +20 -20
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.d.ts +45 -45
- package/dist/components/menu/index.js +3 -3
- package/dist/components/navigation-menu/index.d.ts +16 -16
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +15 -15
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.d.ts +14 -14
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +20 -20
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/pin-input/index.d.ts +12 -12
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.d.ts +31 -31
- package/dist/components/popover/index.js +3 -3
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +1 -1
- package/dist/components/progress/index.d.ts +12 -12
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +8 -8
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +15 -15
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rating-group/index.d.ts +13 -13
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/scroll-area/index.d.ts +9 -9
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +30 -30
- package/dist/components/select/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +12 -12
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.ts +20 -20
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.d.ts +9 -9
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.d.ts +14 -14
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +14 -14
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tags-input/index.d.ts +27 -27
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/timer/index.d.ts +11 -11
- package/dist/components/timer/index.js +1 -1
- package/dist/components/toast/index.d.ts +154 -0
- package/dist/components/toast/index.js +265 -0
- package/dist/components/toggle/index.d.ts +101 -0
- package/dist/components/toggle/index.js +131 -0
- package/dist/components/toggle-group/index.d.ts +127 -0
- package/dist/components/toggle-group/index.js +207 -0
- package/dist/components/tooltip/index.d.ts +201 -0
- package/dist/components/tooltip/index.js +349 -0
- package/dist/components/tour/index.d.ts +308 -0
- package/dist/components/tour/index.js +505 -0
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +4 -4
- package/dist/{index-B_UiXhk3.d.ts → index-8bjPAUl0.d.ts} +9 -9
- package/dist/{index-xb1q4_02.d.ts → index-BnYwp0nl.d.ts} +7 -7
- package/dist/{index-DwWFWpls.d.ts → index-CmCVWB7e.d.ts} +28 -28
- package/dist/index.d.ts +1 -1
- package/dist/{tree-view-Ctpu5RjE.js → tree-view-N6ShNmpe.js} +4 -4
- package/package.json +22 -2
- /package/dist/{clean-props-D2R4tz5e.js → clean-props-ChPEW0vT.js} +0 -0
- /package/dist/{create-split-props-0RD5_O4P.js → create-split-props-BDJ_VWs3.js} +0 -0
- /package/dist/{presence-B4-UhJY9.js → presence-BK6rPXK7.js} +0 -0
- /package/dist/{use-render-strategy-DA33j31C.js → use-render-strategy-DMa_QmB6.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1849 from "vue";
|
|
5
5
|
import { ComputedRef, HTMLAttributes, MaybeRef, UnwrapRef } from "vue";
|
|
6
6
|
import * as marquee from "@sprawlify/primitives/machines/marquee";
|
|
7
7
|
import { EdgeProps, PauseStatusDetails, PauseStatusDetails as MarqueePauseStatusDetails, Side, Side as MarqueeSide, anatomy as marqueeAnatomy } from "@sprawlify/primitives/machines/marquee";
|
|
@@ -14,7 +14,7 @@ interface MarqueeContentProps extends MarqueeContentBaseProps,
|
|
|
14
14
|
*/
|
|
15
15
|
HTMLAttributes {}
|
|
16
16
|
declare const _default: typeof __VLS_export$6;
|
|
17
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
17
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1849.DefineComponent<MarqueeContentProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<MarqueeContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>, {
|
|
18
18
|
default?: (props: {}) => any;
|
|
19
19
|
}>;
|
|
20
20
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -120,7 +120,7 @@ interface MarqueeContextProps {
|
|
|
120
120
|
children: (context: UseMarqueeContext) => any;
|
|
121
121
|
}
|
|
122
122
|
declare const _default$1: typeof __VLS_export$5;
|
|
123
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
123
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1849.DefineComponent<{}, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, true, {}, any>, {
|
|
124
124
|
default?: (props: {
|
|
125
125
|
paused: boolean;
|
|
126
126
|
orientation: "horizontal" | "vertical";
|
|
@@ -131,25 +131,25 @@ declare const __VLS_export$5: __VLS_WithSlots$5<vue557.DefineComponent<{}, {}, {
|
|
|
131
131
|
resume: VoidFunction;
|
|
132
132
|
togglePause: VoidFunction;
|
|
133
133
|
restart: VoidFunction;
|
|
134
|
-
getRootProps: () =>
|
|
134
|
+
getRootProps: () => vue1849.HTMLAttributes & {
|
|
135
135
|
key?: string | number | symbol | undefined;
|
|
136
|
-
ref?:
|
|
136
|
+
ref?: vue1849.VNodeRef | undefined;
|
|
137
137
|
};
|
|
138
|
-
getViewportProps: () =>
|
|
138
|
+
getViewportProps: () => vue1849.HTMLAttributes & {
|
|
139
139
|
key?: string | number | symbol | undefined;
|
|
140
|
-
ref?:
|
|
140
|
+
ref?: vue1849.VNodeRef | undefined;
|
|
141
141
|
};
|
|
142
|
-
getContentProps: (props: marquee.ContentProps) =>
|
|
142
|
+
getContentProps: (props: marquee.ContentProps) => vue1849.HTMLAttributes & {
|
|
143
143
|
key?: string | number | symbol | undefined;
|
|
144
|
-
ref?:
|
|
144
|
+
ref?: vue1849.VNodeRef | undefined;
|
|
145
145
|
};
|
|
146
|
-
getEdgeProps: (props: marquee.EdgeProps) =>
|
|
146
|
+
getEdgeProps: (props: marquee.EdgeProps) => vue1849.HTMLAttributes & {
|
|
147
147
|
key?: string | number | symbol | undefined;
|
|
148
|
-
ref?:
|
|
148
|
+
ref?: vue1849.VNodeRef | undefined;
|
|
149
149
|
};
|
|
150
|
-
getItemProps: () =>
|
|
150
|
+
getItemProps: () => vue1849.HTMLAttributes & {
|
|
151
151
|
key?: string | number | symbol | undefined;
|
|
152
|
-
ref?:
|
|
152
|
+
ref?: vue1849.VNodeRef | undefined;
|
|
153
153
|
};
|
|
154
154
|
}) => any;
|
|
155
155
|
}>;
|
|
@@ -167,7 +167,7 @@ interface MarqueeEdgeProps extends MarqueeEdgeBaseProps,
|
|
|
167
167
|
*/
|
|
168
168
|
HTMLAttributes {}
|
|
169
169
|
declare const _default$2: typeof __VLS_export$4;
|
|
170
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
170
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1849.DefineComponent<MarqueeEdgeProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<MarqueeEdgeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>, {
|
|
171
171
|
default?: (props: {}) => any;
|
|
172
172
|
}>;
|
|
173
173
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -184,7 +184,7 @@ interface MarqueeItemProps extends MarqueeItemBaseProps,
|
|
|
184
184
|
*/
|
|
185
185
|
HTMLAttributes {}
|
|
186
186
|
declare const _default$3: typeof __VLS_export$3;
|
|
187
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
187
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1849.DefineComponent<MarqueeItemProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<MarqueeItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>, {
|
|
188
188
|
default?: (props: {}) => any;
|
|
189
189
|
}>;
|
|
190
190
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -202,11 +202,11 @@ interface MarqueeRootProps extends MarqueeRootBaseProps,
|
|
|
202
202
|
HTMLAttributes {}
|
|
203
203
|
interface MarqueeRootEmits extends RootEmits {}
|
|
204
204
|
declare const _default$4: typeof __VLS_export$2;
|
|
205
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
205
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1849.DefineComponent<MarqueeRootProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {
|
|
206
206
|
complete: () => any;
|
|
207
207
|
loopComplete: () => any;
|
|
208
208
|
pauseChange: (details: marquee.PauseStatusDetails) => any;
|
|
209
|
-
}, string,
|
|
209
|
+
}, string, vue1849.PublicProps, Readonly<MarqueeRootProps> & Readonly<{
|
|
210
210
|
onComplete?: (() => any) | undefined;
|
|
211
211
|
onLoopComplete?: (() => any) | undefined;
|
|
212
212
|
onPauseChange?: ((details: marquee.PauseStatusDetails) => any) | undefined;
|
|
@@ -216,7 +216,7 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue557.DefineComponent<MarqueeRo
|
|
|
216
216
|
defaultPaused: boolean;
|
|
217
217
|
pauseOnInteraction: boolean;
|
|
218
218
|
paused: boolean;
|
|
219
|
-
}, {}, {}, {}, string,
|
|
219
|
+
}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>, {
|
|
220
220
|
default?: (props: {}) => any;
|
|
221
221
|
}>;
|
|
222
222
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -236,7 +236,7 @@ interface MarqueeRootProviderProps extends MarqueeRootProviderBaseProps,
|
|
|
236
236
|
*/
|
|
237
237
|
HTMLAttributes {}
|
|
238
238
|
declare const _default$5: typeof __VLS_export$1;
|
|
239
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
239
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1849.DefineComponent<MarqueeRootProviderProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<MarqueeRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>, {
|
|
240
240
|
default?: (props: {}) => any;
|
|
241
241
|
}>;
|
|
242
242
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -253,7 +253,7 @@ interface MarqueeViewportProps extends MarqueeViewportBaseProps,
|
|
|
253
253
|
*/
|
|
254
254
|
HTMLAttributes {}
|
|
255
255
|
declare const _default$6: typeof __VLS_export;
|
|
256
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
256
|
+
declare const __VLS_export: __VLS_WithSlots<vue1849.DefineComponent<MarqueeViewportProps, {}, {}, {}, {}, vue1849.ComponentOptionsMixin, vue1849.ComponentOptionsMixin, {}, string, vue1849.PublicProps, Readonly<MarqueeViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1849.ComponentProvideOptions, false, {}, any>, {
|
|
257
257
|
default?: (props: {}) => any;
|
|
258
258
|
}>;
|
|
259
259
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,7 +4,7 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
8
8
|
import { hasProp, isString } from "@sprawlify/primitives/utils";
|
|
9
9
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, getCurrentInstance, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toValue, unref, useAttrs, useId, withCtx } from "vue";
|
|
10
10
|
import * as marquee from "@sprawlify/primitives/machines/marquee";
|
|
@@ -3,8 +3,8 @@ import { t as RootEmits$1 } from "../../presence-types-BJRr8tqd.js";
|
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-U5NxU252.js";
|
|
6
|
-
import "../../index-
|
|
7
|
-
import * as
|
|
6
|
+
import "../../index-BnYwp0nl.js";
|
|
7
|
+
import * as vue1119 from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
9
|
import * as menu from "@sprawlify/primitives/machines/menu";
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as MenuFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as MenuHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as MenuInteractOutsideEvent, ItemGroupProps, ItemProps, OpenChangeDetails, OpenChangeDetails as MenuOpenChangeDetails, OptionItemProps, OptionItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as MenuPointerDownOutsideEvent, SelectionDetails, SelectionDetails as MenuSelectionDetails, anatomy as menuAnatomy } from "@sprawlify/primitives/machines/menu";
|
|
@@ -17,7 +17,7 @@ interface MenuArrowTipProps extends MenuArrowTipBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default$1: typeof __VLS_export$20;
|
|
20
|
-
declare const __VLS_export$20: __VLS_WithSlots$19<
|
|
20
|
+
declare const __VLS_export$20: __VLS_WithSlots$19<vue1119.DefineComponent<MenuArrowTipProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface MenuArrowProps extends MenuArrowBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
HTMLAttributes {}
|
|
36
36
|
declare const _default: typeof __VLS_export$19;
|
|
37
|
-
declare const __VLS_export$19: __VLS_WithSlots$18<
|
|
37
|
+
declare const __VLS_export$19: __VLS_WithSlots$18<vue1119.DefineComponent<MenuArrowProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
@@ -55,15 +55,15 @@ type MenuCheckboxItemEmits = {
|
|
|
55
55
|
'update:checked': [value: boolean];
|
|
56
56
|
};
|
|
57
57
|
declare const _default$2: typeof __VLS_export$18;
|
|
58
|
-
declare const __VLS_export$18: __VLS_WithSlots$17<
|
|
58
|
+
declare const __VLS_export$18: __VLS_WithSlots$17<vue1119.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {
|
|
59
59
|
"update:checked": (value: boolean) => any;
|
|
60
|
-
}, string,
|
|
60
|
+
}, string, vue1119.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
|
|
61
61
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
|
-
checked: boolean;
|
|
64
63
|
disabled: boolean;
|
|
64
|
+
checked: boolean;
|
|
65
65
|
closeOnSelect: boolean;
|
|
66
|
-
}, {}, {}, {}, string,
|
|
66
|
+
}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
67
67
|
default?: (props: {}) => any;
|
|
68
68
|
}>;
|
|
69
69
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
@@ -80,7 +80,7 @@ interface MenuContentProps extends MenuContentBaseProps,
|
|
|
80
80
|
*/
|
|
81
81
|
HTMLAttributes {}
|
|
82
82
|
declare const _default$3: typeof __VLS_export$17;
|
|
83
|
-
declare const __VLS_export$17: __VLS_WithSlots$16<
|
|
83
|
+
declare const __VLS_export$17: __VLS_WithSlots$16<vue1119.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
84
84
|
default?: (props: {}) => any;
|
|
85
85
|
}>;
|
|
86
86
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
@@ -97,7 +97,7 @@ interface MenuContextTriggerProps extends MenuContextTriggerBaseProps,
|
|
|
97
97
|
*/
|
|
98
98
|
ButtonHTMLAttributes {}
|
|
99
99
|
declare const _default$5: typeof __VLS_export$16;
|
|
100
|
-
declare const __VLS_export$16: __VLS_WithSlots$15<
|
|
100
|
+
declare const __VLS_export$16: __VLS_WithSlots$15<vue1119.DefineComponent<MenuContextTriggerProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuContextTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
101
101
|
default?: (props: {}) => any;
|
|
102
102
|
}>;
|
|
103
103
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -114,7 +114,7 @@ interface MenuIndicatorProps extends MenuIndicatorBaseProps,
|
|
|
114
114
|
*/
|
|
115
115
|
HTMLAttributes {}
|
|
116
116
|
declare const _default$6: typeof __VLS_export$15;
|
|
117
|
-
declare const __VLS_export$15: __VLS_WithSlots$14<
|
|
117
|
+
declare const __VLS_export$15: __VLS_WithSlots$14<vue1119.DefineComponent<MenuIndicatorProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
118
118
|
default?: (props: {}) => any;
|
|
119
119
|
}>;
|
|
120
120
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -131,7 +131,7 @@ interface MenuItemContextProps extends SlotsType<{
|
|
|
131
131
|
default: UnwrapRef<UseMenuItemContext>;
|
|
132
132
|
}> {}
|
|
133
133
|
declare const _default$8: typeof __VLS_export$14;
|
|
134
|
-
declare const __VLS_export$14: __VLS_WithSlots$13<
|
|
134
|
+
declare const __VLS_export$14: __VLS_WithSlots$13<vue1119.DefineComponent<{}, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, true, {}, any>, {
|
|
135
135
|
default(item: UnwrapRef<UseMenuItemContext>): unknown;
|
|
136
136
|
}>;
|
|
137
137
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -148,7 +148,7 @@ interface MenuItemGroupLabelProps extends MenuItemGroupLabelBaseProps,
|
|
|
148
148
|
*/
|
|
149
149
|
HTMLAttributes {}
|
|
150
150
|
declare const _default$10: typeof __VLS_export$13;
|
|
151
|
-
declare const __VLS_export$13: __VLS_WithSlots$12<
|
|
151
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<vue1119.DefineComponent<MenuItemGroupLabelProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
152
152
|
default?: (props: {}) => any;
|
|
153
153
|
}>;
|
|
154
154
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -165,7 +165,7 @@ interface MenuItemGroupProps extends MenuItemGroupBaseProps,
|
|
|
165
165
|
*/
|
|
166
166
|
HTMLAttributes {}
|
|
167
167
|
declare const _default$9: typeof __VLS_export$12;
|
|
168
|
-
declare const __VLS_export$12: __VLS_WithSlots$11<
|
|
168
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<vue1119.DefineComponent<MenuItemGroupProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
169
169
|
default?: (props: {}) => any;
|
|
170
170
|
}>;
|
|
171
171
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -182,7 +182,7 @@ interface MenuItemIndicatorProps extends MenuItemIndicatorBaseProps,
|
|
|
182
182
|
*/
|
|
183
183
|
HTMLAttributes {}
|
|
184
184
|
declare const _default$11: typeof __VLS_export$11;
|
|
185
|
-
declare const __VLS_export$11: __VLS_WithSlots$10<
|
|
185
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<vue1119.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
186
186
|
default?: (props: {}) => any;
|
|
187
187
|
}>;
|
|
188
188
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -199,7 +199,7 @@ interface MenuItemTextProps extends MenuItemTextBaseProps,
|
|
|
199
199
|
*/
|
|
200
200
|
HTMLAttributes {}
|
|
201
201
|
declare const _default$12: typeof __VLS_export$10;
|
|
202
|
-
declare const __VLS_export$10: __VLS_WithSlots$9<
|
|
202
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<vue1119.DefineComponent<MenuItemTextProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
203
203
|
default?: (props: {}) => any;
|
|
204
204
|
}>;
|
|
205
205
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -216,14 +216,14 @@ interface MenuItemProps extends MenuItemBaseProps,
|
|
|
216
216
|
*/
|
|
217
217
|
Omit<HTMLAttributes, 'onSelect'> {}
|
|
218
218
|
declare const _default$7: typeof __VLS_export$9;
|
|
219
|
-
declare const __VLS_export$9: __VLS_WithSlots$8<
|
|
219
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<vue1119.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {} & {
|
|
220
220
|
select: () => any;
|
|
221
|
-
}, string,
|
|
221
|
+
}, string, vue1119.PublicProps, Readonly<MenuItemProps> & Readonly<{
|
|
222
222
|
onSelect?: (() => any) | undefined;
|
|
223
223
|
}>, {
|
|
224
224
|
disabled: boolean;
|
|
225
225
|
closeOnSelect: boolean;
|
|
226
|
-
}, {}, {}, {}, string,
|
|
226
|
+
}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
227
227
|
default?: (props: {}) => any;
|
|
228
228
|
}>;
|
|
229
229
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -240,7 +240,7 @@ interface MenuPositionerProps extends MenuPositionerBaseProps,
|
|
|
240
240
|
*/
|
|
241
241
|
HTMLAttributes {}
|
|
242
242
|
declare const _default$13: typeof __VLS_export$8;
|
|
243
|
-
declare const __VLS_export$8: __VLS_WithSlots$7<
|
|
243
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue1119.DefineComponent<MenuPositionerProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
244
244
|
default?: (props: {}) => any;
|
|
245
245
|
}>;
|
|
246
246
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -263,11 +263,11 @@ type MenuRadioItemGroupEmits = {
|
|
|
263
263
|
'update:modelValue': [value: string];
|
|
264
264
|
};
|
|
265
265
|
declare const _default$15: typeof __VLS_export$7;
|
|
266
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
266
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue1119.DefineComponent<MenuRadioItemGroupProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {
|
|
267
267
|
"update:modelValue": (value: string) => any;
|
|
268
|
-
}, string,
|
|
268
|
+
}, string, vue1119.PublicProps, Readonly<MenuRadioItemGroupProps> & Readonly<{
|
|
269
269
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
270
|
-
}>, {}, {}, {}, {}, string,
|
|
270
|
+
}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
271
271
|
default?: (props: {}) => any;
|
|
272
272
|
}>;
|
|
273
273
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -285,10 +285,10 @@ interface MenuRadioItemProps extends MenuRadioItemBaseProps,
|
|
|
285
285
|
*/
|
|
286
286
|
HTMLAttributes {}
|
|
287
287
|
declare const _default$14: typeof __VLS_export$6;
|
|
288
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
288
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue1119.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{}>, {
|
|
289
289
|
disabled: boolean;
|
|
290
290
|
closeOnSelect: boolean;
|
|
291
|
-
}, {}, {}, {}, string,
|
|
291
|
+
}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
292
292
|
default?: (props: {}) => any;
|
|
293
293
|
}>;
|
|
294
294
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -305,11 +305,11 @@ interface MenuRootProviderBaseProps extends RootProviderProps, RenderStrategyPro
|
|
|
305
305
|
interface MenuRootProviderProps extends MenuRootProviderBaseProps {}
|
|
306
306
|
interface MenuRootProviderEmits extends RootEmits$1 {}
|
|
307
307
|
declare const _default$17: typeof __VLS_export$5;
|
|
308
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
308
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue1119.DefineComponent<MenuRootProviderProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {
|
|
309
309
|
exitComplete: () => any;
|
|
310
|
-
}, string,
|
|
310
|
+
}, string, vue1119.PublicProps, Readonly<MenuRootProviderProps> & Readonly<{
|
|
311
311
|
onExitComplete?: (() => any) | undefined;
|
|
312
|
-
}>, {}, {}, {}, {}, string,
|
|
312
|
+
}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
313
313
|
default?: (props: {}) => any;
|
|
314
314
|
}>;
|
|
315
315
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -367,48 +367,48 @@ interface MenuRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicP
|
|
|
367
367
|
interface MenuRootProps extends MenuRootBaseProps {}
|
|
368
368
|
interface MenuRootEmits extends RootEmits {}
|
|
369
369
|
declare const _default$16: typeof __VLS_export$4;
|
|
370
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
370
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue1119.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {
|
|
371
371
|
select: (details: menu.SelectionDetails) => any;
|
|
372
372
|
exitComplete: () => any;
|
|
373
|
-
|
|
373
|
+
openChange: (details: menu.OpenChangeDetails) => any;
|
|
374
|
+
"update:open": (open: boolean) => any;
|
|
374
375
|
focusOutside: (event: menu.FocusOutsideEvent) => any;
|
|
376
|
+
highlightChange: (details: menu.HighlightChangeDetails) => any;
|
|
375
377
|
interactOutside: (event: menu.InteractOutsideEvent) => any;
|
|
376
|
-
openChange: (details: menu.OpenChangeDetails) => any;
|
|
377
378
|
pointerDownOutside: (event: menu.PointerDownOutsideEvent) => any;
|
|
379
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
378
380
|
requestDismiss: (event: CustomEvent<{
|
|
379
381
|
originalLayer: HTMLElement;
|
|
380
382
|
targetLayer: HTMLElement | undefined;
|
|
381
383
|
originalIndex: number;
|
|
382
384
|
targetIndex: number;
|
|
383
385
|
}>) => any;
|
|
384
|
-
"update:open": (open: boolean) => any;
|
|
385
|
-
highlightChange: (details: menu.HighlightChangeDetails) => any;
|
|
386
386
|
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
387
|
-
}, string,
|
|
387
|
+
}, string, vue1119.PublicProps, Readonly<MenuRootProps> & Readonly<{
|
|
388
388
|
onSelect?: ((details: menu.SelectionDetails) => any) | undefined;
|
|
389
389
|
onExitComplete?: (() => any) | undefined;
|
|
390
|
-
|
|
390
|
+
onOpenChange?: ((details: menu.OpenChangeDetails) => any) | undefined;
|
|
391
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
391
392
|
onFocusOutside?: ((event: menu.FocusOutsideEvent) => any) | undefined;
|
|
393
|
+
onHighlightChange?: ((details: menu.HighlightChangeDetails) => any) | undefined;
|
|
392
394
|
onInteractOutside?: ((event: menu.InteractOutsideEvent) => any) | undefined;
|
|
393
|
-
onOpenChange?: ((details: menu.OpenChangeDetails) => any) | undefined;
|
|
394
395
|
onPointerDownOutside?: ((event: menu.PointerDownOutsideEvent) => any) | undefined;
|
|
396
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
395
397
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
396
398
|
originalLayer: HTMLElement;
|
|
397
399
|
targetLayer: HTMLElement | undefined;
|
|
398
400
|
originalIndex: number;
|
|
399
401
|
targetIndex: number;
|
|
400
402
|
}>) => any) | undefined;
|
|
401
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
402
|
-
onHighlightChange?: ((details: menu.HighlightChangeDetails) => any) | undefined;
|
|
403
403
|
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
404
404
|
}>, {
|
|
405
405
|
open: boolean;
|
|
406
|
-
typeahead: boolean;
|
|
407
406
|
defaultOpen: boolean;
|
|
408
|
-
|
|
407
|
+
typeahead: boolean;
|
|
409
408
|
loopFocus: boolean;
|
|
409
|
+
composite: boolean;
|
|
410
410
|
closeOnSelect: boolean;
|
|
411
|
-
}, {}, {}, {}, string,
|
|
411
|
+
}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
412
412
|
default?: (props: {}) => any;
|
|
413
413
|
}>;
|
|
414
414
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -425,7 +425,7 @@ interface MenuSeparatorProps extends MenuSeparatorBaseProps,
|
|
|
425
425
|
*/
|
|
426
426
|
HTMLAttributes {}
|
|
427
427
|
declare const _default$18: typeof __VLS_export$3;
|
|
428
|
-
declare const __VLS_export$3:
|
|
428
|
+
declare const __VLS_export$3: vue1119.DefineComponent<MenuSeparatorProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>;
|
|
429
429
|
//#endregion
|
|
430
430
|
//#region src/components/menu/menu-trigger-item.vue.d.ts
|
|
431
431
|
interface MenuTriggerItemBaseProps extends PolymorphicProps {}
|
|
@@ -435,7 +435,7 @@ interface MenuTriggerItemProps extends MenuTriggerItemBaseProps,
|
|
|
435
435
|
*/
|
|
436
436
|
HTMLAttributes {}
|
|
437
437
|
declare const _default$20: typeof __VLS_export$2;
|
|
438
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
438
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1119.DefineComponent<MenuTriggerItemProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuTriggerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
439
439
|
default?: (props: {}) => any;
|
|
440
440
|
}>;
|
|
441
441
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -452,7 +452,7 @@ interface MenuTriggerProps extends MenuTriggerBaseProps,
|
|
|
452
452
|
*/
|
|
453
453
|
ButtonHTMLAttributes {}
|
|
454
454
|
declare const _default$19: typeof __VLS_export$1;
|
|
455
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
455
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1119.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, false, {}, any>, {
|
|
456
456
|
default?: (props: {}) => any;
|
|
457
457
|
}>;
|
|
458
458
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -485,7 +485,7 @@ interface MenuContextProps extends SlotsType<{
|
|
|
485
485
|
default: UnwrapRef<UseMenuContext>;
|
|
486
486
|
}> {}
|
|
487
487
|
declare const _default$4: typeof __VLS_export;
|
|
488
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
488
|
+
declare const __VLS_export: __VLS_WithSlots<vue1119.DefineComponent<{}, {}, {}, {}, {}, vue1119.ComponentOptionsMixin, vue1119.ComponentOptionsMixin, {}, string, vue1119.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1119.ComponentProvideOptions, true, {}, any>, {
|
|
489
489
|
default(menu: UnwrapRef<UseMenuContext>): unknown;
|
|
490
490
|
}>;
|
|
491
491
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,9 +4,9 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
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
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, onBeforeUnmount, onMounted, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as menu from "@sprawlify/primitives/machines/menu";
|
|
12
12
|
import { anatomy as menuAnatomy } from "@sprawlify/primitives/machines/menu";
|
|
@@ -2,7 +2,7 @@ import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
4
|
import { t as RenderStrategyProps } from "../../use-render-strategy-U5NxU252.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue2691 from "vue";
|
|
6
6
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as navigationMenu from "@sprawlify/primitives/machines/navigation-menu";
|
|
8
8
|
import { ContentProps, ItemProps, LinkProps, ValueChangeDetails, ValueChangeDetails as NavigationMenuValueChangeDetails, ViewportProps, anatomy as navigationMenuAnatomy } from "@sprawlify/primitives/machines/navigation-menu";
|
|
@@ -15,7 +15,7 @@ interface NavigationMenuArrowProps extends NavigationMenuArrowBaseProps,
|
|
|
15
15
|
*/
|
|
16
16
|
HTMLAttributes {}
|
|
17
17
|
declare const _default: typeof __VLS_export$12;
|
|
18
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<
|
|
18
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<vue2691.DefineComponent<NavigationMenuArrowProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
19
19
|
default?: (props: {}) => any;
|
|
20
20
|
}>;
|
|
21
21
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -32,7 +32,7 @@ interface NavigationMenuContentProps extends NavigationMenuContentBaseProps,
|
|
|
32
32
|
*/
|
|
33
33
|
Omit<HTMLAttributes, 'onSelect'> {}
|
|
34
34
|
declare const _default$1: typeof __VLS_export$11;
|
|
35
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<
|
|
35
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<vue2691.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
36
36
|
default?: (props: {}) => any;
|
|
37
37
|
} & {
|
|
38
38
|
default?: (props: {}) => any;
|
|
@@ -81,7 +81,7 @@ interface NavigationMenuContextProps extends SlotsType<{
|
|
|
81
81
|
default: UnwrapRef<UseNavigationMenuContext>;
|
|
82
82
|
}> {}
|
|
83
83
|
declare const _default$2: typeof __VLS_export$10;
|
|
84
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
84
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue2691.DefineComponent<{}, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, true, {}, any>, {
|
|
85
85
|
default(navigationMenu: UnwrapRef<UseNavigationMenuContext>): unknown;
|
|
86
86
|
}>;
|
|
87
87
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -98,7 +98,7 @@ interface NavigationMenuIndicatorProps extends NavigationMenuIndicatorBaseProps,
|
|
|
98
98
|
*/
|
|
99
99
|
HTMLAttributes {}
|
|
100
100
|
declare const _default$3: typeof __VLS_export$9;
|
|
101
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
101
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue2691.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
102
102
|
default?: (props: {}) => any;
|
|
103
103
|
}>;
|
|
104
104
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -115,7 +115,7 @@ interface NavigationMenuItemProps extends NavigationMenuItemBaseProps,
|
|
|
115
115
|
*/
|
|
116
116
|
HTMLAttributes {}
|
|
117
117
|
declare const _default$4: typeof __VLS_export$8;
|
|
118
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
118
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue2691.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
119
119
|
default?: (props: {}) => any;
|
|
120
120
|
}>;
|
|
121
121
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -132,7 +132,7 @@ interface NavigationMenuItemIndicatorProps extends NavigationMenuItemIndicatorBa
|
|
|
132
132
|
*/
|
|
133
133
|
HTMLAttributes {}
|
|
134
134
|
declare const _default$5: typeof __VLS_export$7;
|
|
135
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
135
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue2691.DefineComponent<NavigationMenuItemIndicatorProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
136
136
|
default?: (props: {}) => any;
|
|
137
137
|
}>;
|
|
138
138
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -149,7 +149,7 @@ interface NavigationMenuLinkProps extends NavigationMenuLinkBaseProps,
|
|
|
149
149
|
*/
|
|
150
150
|
Omit<AnchorHTMLAttributes, 'current' | 'onSelect'> {}
|
|
151
151
|
declare const _default$6: typeof __VLS_export$6;
|
|
152
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
152
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2691.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
153
153
|
default?: (props: {}) => any;
|
|
154
154
|
}>;
|
|
155
155
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -166,7 +166,7 @@ interface NavigationMenuListProps extends NavigationMenuListBaseProps,
|
|
|
166
166
|
*/
|
|
167
167
|
HTMLAttributes {}
|
|
168
168
|
declare const _default$7: typeof __VLS_export$5;
|
|
169
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
169
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2691.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
170
170
|
default?: (props: {}) => any;
|
|
171
171
|
}>;
|
|
172
172
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -180,17 +180,17 @@ interface NavigationMenuRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
180
180
|
interface NavigationMenuRootProps extends NavigationMenuRootBaseProps {}
|
|
181
181
|
interface NavigationMenuRootEmits extends RootEmits {}
|
|
182
182
|
declare const _default$8: typeof __VLS_export$4;
|
|
183
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
183
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2691.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {
|
|
184
184
|
valueChange: (details: navigationMenu.ValueChangeDetails) => any;
|
|
185
185
|
"update:value": (value: string) => any;
|
|
186
|
-
}, string,
|
|
186
|
+
}, string, vue2691.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
187
187
|
onValueChange?: ((details: navigationMenu.ValueChangeDetails) => any) | undefined;
|
|
188
188
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
189
189
|
}>, {
|
|
190
190
|
disableClickTrigger: boolean;
|
|
191
191
|
disableHoverTrigger: boolean;
|
|
192
192
|
disablePointerLeaveClose: boolean;
|
|
193
|
-
}, {}, {}, {}, string,
|
|
193
|
+
}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
194
194
|
default?: (props: {}) => any;
|
|
195
195
|
}>;
|
|
196
196
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -206,7 +206,7 @@ interface RootProviderProps {
|
|
|
206
206
|
interface NavigationMenuRootProviderBaseProps extends RootProviderProps, RenderStrategyProps {}
|
|
207
207
|
interface NavigationMenuRootProviderProps extends NavigationMenuRootProviderBaseProps {}
|
|
208
208
|
declare const _default$9: typeof __VLS_export$3;
|
|
209
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
209
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2691.DefineComponent<NavigationMenuRootProviderProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
210
210
|
default?: (props: {}) => any;
|
|
211
211
|
}>;
|
|
212
212
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -223,7 +223,7 @@ interface NavigationMenuTriggerProps extends NavigationMenuTriggerBaseProps,
|
|
|
223
223
|
*/
|
|
224
224
|
Omit<ButtonHTMLAttributes, 'disabled' | 'value'> {}
|
|
225
225
|
declare const _default$10: typeof __VLS_export$2;
|
|
226
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
226
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2691.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
227
227
|
default?: (props: {}) => any;
|
|
228
228
|
}>;
|
|
229
229
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -240,7 +240,7 @@ interface NavigationMenuViewportProps extends NavigationMenuViewportBaseProps,
|
|
|
240
240
|
*/
|
|
241
241
|
HTMLAttributes {}
|
|
242
242
|
declare const _default$11: typeof __VLS_export$1;
|
|
243
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
243
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2691.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
244
244
|
default?: (props: {}) => any;
|
|
245
245
|
}>;
|
|
246
246
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -257,7 +257,7 @@ interface NavigationMenuViewportPositionerProps extends NavigationMenuViewportPo
|
|
|
257
257
|
*/
|
|
258
258
|
HTMLAttributes {}
|
|
259
259
|
declare const _default$12: typeof __VLS_export;
|
|
260
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
260
|
+
declare const __VLS_export: __VLS_WithSlots<vue2691.DefineComponent<NavigationMenuViewportPositionerProps, {}, {}, {}, {}, vue2691.ComponentOptionsMixin, vue2691.ComponentOptionsMixin, {}, string, vue2691.PublicProps, Readonly<NavigationMenuViewportPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2691.ComponentProvideOptions, false, {}, any>, {
|
|
261
261
|
default?: (props: {}) => any;
|
|
262
262
|
}>;
|
|
263
263
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,9 +4,9 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
8
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { i as usePresence } from "../../presence-BK6rPXK7.js";
|
|
10
10
|
import { ensure } from "@sprawlify/primitives/utils";
|
|
11
11
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useAttrs, useId, withCtx } from "vue";
|
|
12
12
|
import * as navigationMenu from "@sprawlify/primitives/machines/navigation-menu";
|