@sprawlify/vue 0.0.73 → 0.0.74
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/accordion-anatomy-SnniqySz.js +3 -0
- package/dist/accordion-anatomy-rCL5aWqn.d.ts +2 -0
- package/dist/angle-slider-anatomy-BcpYlzjU.js +3 -0
- package/dist/angle-slider-anatomy-Dx77gXPi.d.ts +2 -0
- package/dist/avatar-anatomy-DkaRck8U.js +3 -0
- package/dist/avatar-anatomy-DqwdmVib.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-CATwdEhi.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-lHEnPDuf.js +3 -0
- package/dist/carousel-anatomy-CP646ljY.d.ts +6 -0
- package/dist/carousel-anatomy-Dozyhz87.js +7 -0
- package/dist/checkbox-anatomy-DGrjF6ri.d.ts +6 -0
- package/dist/checkbox-anatomy-DrTfnRdC.js +7 -0
- package/dist/clipboard-anatomy-Btcms62_.js +3 -0
- package/dist/clipboard-anatomy-BtxJPw4p.d.ts +2 -0
- package/dist/collapsible-anatomy-Bz0a8LAr.js +3 -0
- package/dist/collapsible-anatomy-C-2X58M2.d.ts +2 -0
- package/dist/{collapsible-SXAS3iFc.js → collapsible-kw6uns8K.js} +3 -4
- package/dist/{collection-C_ZHBDQD.js → collection-BHgAE3BH.js} +1 -1
- package/dist/color-picker-anatomy-C18pJhHu.d.ts +6 -0
- package/dist/color-picker-anatomy-DJP6gg1F.js +7 -0
- package/dist/combobox-anatomy-CwdkDJPn.d.ts +6 -0
- package/dist/combobox-anatomy-DccBa7f5.js +7 -0
- package/dist/components/accordion/index.d.ts +22 -21
- package/dist/components/accordion/index.js +6 -6
- package/dist/components/anatomy.d.ts +51 -0
- package/dist/components/anatomy.js +53 -0
- package/dist/components/angle-slider/index.d.ts +20 -19
- package/dist/components/angle-slider/index.js +3 -3
- package/dist/components/avatar/index.d.ts +13 -12
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/bottom-sheet/index.d.ts +23 -22
- package/dist/components/bottom-sheet/index.js +6 -6
- package/dist/components/carousel/index.d.ts +20 -23
- package/dist/components/carousel/index.js +3 -7
- package/dist/components/checkbox/index.d.ts +24 -27
- package/dist/components/checkbox/index.js +8 -10
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +21 -20
- package/dist/components/clipboard/index.js +3 -3
- package/dist/components/collapsible/index.d.ts +17 -16
- package/dist/components/collapsible/index.js +3 -2
- 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 +55 -58
- package/dist/components/color-picker/index.js +8 -10
- package/dist/components/combobox/index.d.ts +38 -41
- package/dist/components/combobox/index.js +8 -11
- package/dist/components/date-picker/index.d.ts +46 -49
- package/dist/components/date-picker/index.js +6 -9
- package/dist/components/dialog/index.d.ts +32 -31
- package/dist/components/dialog/index.js +5 -5
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/editable/index.d.ts +30 -29
- package/dist/components/editable/index.js +5 -4
- package/dist/components/field/index.d.ts +24 -27
- package/dist/components/field/index.js +3 -2
- package/dist/components/fieldset/index.d.ts +12 -15
- package/dist/components/fieldset/index.js +3 -2
- package/dist/components/file-upload/index.d.ts +27 -26
- package/dist/components/file-upload/index.js +5 -4
- package/dist/components/floating-panel/index.d.ts +28 -26
- package/dist/components/floating-panel/index.js +4 -4
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +2 -2
- 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 +28 -27
- package/dist/components/hover-card/index.js +5 -5
- package/dist/components/image-cropper/index.d.ts +15 -18
- package/dist/components/image-cropper/index.js +4 -7
- package/dist/components/json-tree-view/index.d.ts +12 -12
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +25 -28
- package/dist/components/listbox/index.js +4 -8
- package/dist/components/marquee/index.d.ts +25 -24
- package/dist/components/marquee/index.js +3 -3
- package/dist/components/menu/index.d.ts +56 -54
- package/dist/components/menu/index.js +5 -5
- package/dist/components/navigation-menu/index.d.ts +22 -21
- package/dist/components/navigation-menu/index.js +5 -5
- package/dist/components/number-input/index.d.ts +24 -23
- package/dist/components/number-input/index.js +5 -4
- package/dist/components/pagination/index.d.ts +17 -16
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/password-input/index.d.ts +26 -25
- package/dist/components/password-input/index.js +5 -4
- package/dist/components/pin-input/index.d.ts +21 -20
- package/dist/components/pin-input/index.js +5 -4
- package/dist/components/popover/index.d.ts +36 -35
- package/dist/components/popover/index.js +5 -5
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +2 -2
- package/dist/components/progress/index.d.ts +17 -16
- package/dist/components/progress/index.js +3 -3
- package/dist/components/qr-code/index.d.ts +13 -12
- package/dist/components/qr-code/index.js +3 -3
- package/dist/components/radio-group/index.d.ts +21 -20
- package/dist/components/radio-group/index.js +6 -5
- package/dist/components/rating-group/index.d.ts +19 -18
- package/dist/components/rating-group/index.js +5 -4
- package/dist/components/scroll-area/index.d.ts +14 -13
- package/dist/components/scroll-area/index.js +3 -3
- package/dist/components/segment-group/index.d.ts +19 -22
- package/dist/components/segment-group/index.js +3 -8
- package/dist/components/select/index.d.ts +41 -40
- package/dist/components/select/index.js +8 -7
- package/dist/components/signature-pad/index.d.ts +18 -17
- package/dist/components/signature-pad/index.js +5 -4
- package/dist/components/slider/index.d.ts +25 -24
- package/dist/components/slider/index.js +3 -3
- package/dist/components/splitter/index.d.ts +14 -13
- package/dist/components/splitter/index.js +4 -3
- package/dist/components/steps/index.d.ts +22 -21
- package/dist/components/steps/index.js +3 -3
- package/dist/components/switch/index.d.ts +18 -17
- package/dist/components/switch/index.js +5 -4
- package/dist/components/tabs/index.d.ts +22 -21
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tags-input/index.d.ts +36 -35
- package/dist/components/tags-input/index.js +5 -4
- package/dist/components/timer/index.d.ts +16 -15
- package/dist/components/timer/index.js +3 -3
- package/dist/components/toast/index.d.ts +13 -12
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle/index.d.ts +10 -13
- package/dist/components/toggle/index.js +3 -8
- package/dist/components/toggle-group/index.d.ts +16 -15
- package/dist/components/toggle-group/index.js +3 -3
- package/dist/components/tooltip/index.d.ts +23 -22
- package/dist/components/tooltip/index.js +5 -5
- package/dist/components/tour/index.d.ts +32 -35
- package/dist/components/tour/index.js +6 -9
- package/dist/components/tree-view/index.d.ts +6 -5
- package/dist/components/tree-view/index.js +6 -5
- package/dist/date-picker-anatomy-B3KhAu53.d.ts +6 -0
- package/dist/date-picker-anatomy-BbB7oLLk.js +7 -0
- package/dist/dialog-anatomy--8BPzYvc.d.ts +2 -0
- package/dist/dialog-anatomy-DZW7OUW_.js +3 -0
- package/dist/editable-anatomy-D1eyySPH.js +3 -0
- package/dist/editable-anatomy-qX6giV4Y.d.ts +2 -0
- package/dist/{field-CtPR24u6.js → field-C6iB3Tje.js} +3 -8
- package/dist/field-anatomy-DOCpzb4B.js +8 -0
- package/dist/field-anatomy-meDug-96.d.ts +6 -0
- package/dist/{fieldset-D5SznrKY.js → fieldset-B1bn9yHW.js} +3 -8
- package/dist/fieldset-anatomy-BENizr4L.d.ts +6 -0
- package/dist/fieldset-anatomy-DmZTaMK6.js +8 -0
- package/dist/file-upload-anatomy-BFGZTW-d.d.ts +2 -0
- package/dist/file-upload-anatomy-CZ2VnScd.js +3 -0
- package/dist/floating-panel-anatomy-DBrl1Bp0.js +3 -0
- package/dist/floating-panel-anatomy-aRL0nEuA.d.ts +2 -0
- package/dist/hover-card-anatomy-BL8G0P5L.d.ts +2 -0
- package/dist/hover-card-anatomy-D3wEfkuu.js +3 -0
- package/dist/image-cropper-anatomy-Q-TC-Ntz.d.ts +6 -0
- package/dist/image-cropper-anatomy-vcTNTTGP.js +7 -0
- package/dist/{index-CmCVWB7e.d.ts → index-CKLWua9t.d.ts} +32 -32
- package/dist/{index-8bjPAUl0.d.ts → index-DLfVD7U5.d.ts} +10 -10
- package/dist/{index-BnYwp0nl.d.ts → index-_AirUBz0.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/listbox-anatomy-CHgk_go8.d.ts +6 -0
- package/dist/listbox-anatomy-D2r-4uq6.js +7 -0
- package/dist/marquee-anatomy-BSMR6X4B.d.ts +2 -0
- package/dist/marquee-anatomy-sKw9g-dJ.js +3 -0
- package/dist/menu-anatomy-2i8La6ak.d.ts +2 -0
- package/dist/menu-anatomy-DbCORryZ.js +3 -0
- package/dist/navigation-menu-anatomy-kSlLw4EL.d.ts +2 -0
- package/dist/navigation-menu-anatomy-nwZUxyMV.js +3 -0
- package/dist/number-input-anatomy-BrKnd1U3.d.ts +2 -0
- package/dist/number-input-anatomy-hB3PpB4j.js +3 -0
- package/dist/pagination-anatomy-D8yk0Puf.js +3 -0
- package/dist/pagination-anatomy-NpCn-mYm.d.ts +2 -0
- package/dist/password-input-anatomy-BJPXSE6T.d.ts +2 -0
- package/dist/password-input-anatomy-D0nhl7MJ.js +3 -0
- package/dist/pin-input-anatomy-Blh9Y2sq.js +3 -0
- package/dist/pin-input-anatomy-OckZj-cF.d.ts +2 -0
- package/dist/popover-anatomy-Ce31QPso.d.ts +2 -0
- package/dist/popover-anatomy-DXWeYlnF.js +3 -0
- package/dist/{presence-BK6rPXK7.js → presence-Byk0B_Vq.js} +1 -1
- package/dist/progress-anatomy-DUD4W7vg.d.ts +2 -0
- package/dist/progress-anatomy-lioRhIrB.js +3 -0
- package/dist/qr-code-anatomy-CIy9Wai6.js +3 -0
- package/dist/qr-code-anatomy-Dmh5IV3m.d.ts +2 -0
- package/dist/radio-group-anatomy-C7L8dkhn.js +3 -0
- package/dist/radio-group-anatomy-CXwS1OoR.d.ts +2 -0
- package/dist/rating-group-anatomy-CBhzoESK.js +3 -0
- package/dist/rating-group-anatomy-DMTutKxa.d.ts +2 -0
- package/dist/scroll-area-anatomy-B-FlUOdc.js +3 -0
- package/dist/scroll-area-anatomy-Cxkrq_al.d.ts +2 -0
- package/dist/segment-group-anatomy-CNtzx5Yr.d.ts +6 -0
- package/dist/segment-group-anatomy-CPdu1efW.js +8 -0
- package/dist/select-anatomy-CiNHi2Kx.js +3 -0
- package/dist/select-anatomy-Elu3b3Op.d.ts +2 -0
- package/dist/signature-pad-anatomy-B-OK1170.d.ts +2 -0
- package/dist/signature-pad-anatomy-Mz3w_i5B.js +3 -0
- package/dist/slider-anatomy-3KpCBnz3.js +3 -0
- package/dist/slider-anatomy-Ctfd4geR.d.ts +2 -0
- package/dist/splitter-anatomy-CN7s6WdQ.d.ts +2 -0
- package/dist/splitter-anatomy-D2RNa-hA.js +3 -0
- package/dist/steps-anatomy-CSfgiyVI.js +3 -0
- package/dist/steps-anatomy-DrtAi5Mk.d.ts +2 -0
- package/dist/switch-anatomy-DDL1v5Fs.js +3 -0
- package/dist/switch-anatomy-Z4qGqnte.d.ts +2 -0
- package/dist/tabs-anatomy-BL3YLH_t.d.ts +2 -0
- package/dist/tabs-anatomy-DlQHg-E8.js +3 -0
- package/dist/tags-input-anatomy-AHepxK3s.d.ts +2 -0
- package/dist/tags-input-anatomy-DYSi98Bx.js +3 -0
- package/dist/timer-anatomy-Be-Fa71t.d.ts +2 -0
- package/dist/timer-anatomy-C9bTbrUf.js +3 -0
- package/dist/toast-anatomy-CssUp7TT.js +3 -0
- package/dist/toast-anatomy-_k_zeUjw.d.ts +2 -0
- package/dist/toggle-anatomy-D8XJQLnW.js +8 -0
- package/dist/toggle-anatomy-DFzkjtVR.d.ts +6 -0
- package/dist/toggle-group-anatomy-DD8PvB75.js +3 -0
- package/dist/toggle-group-anatomy-L0_56E8r.d.ts +2 -0
- package/dist/tooltip-anatomy-CPw1wOXd.js +3 -0
- package/dist/tooltip-anatomy-jbsTMGov.d.ts +2 -0
- package/dist/tour-anatomy-CDmnjoPR.js +7 -0
- package/dist/tour-anatomy-CgFQsxyi.d.ts +6 -0
- package/dist/{tree-view-N6ShNmpe.js → tree-view-BBC0paRq.js} +6 -7
- package/dist/tree-view-anatomy-BM2MLpUa.d.ts +2 -0
- package/dist/tree-view-anatomy-BW_ruJ-g.js +3 -0
- package/package.json +6 -2
- /package/dist/{boolean-CpMsIRK4.js → boolean-L5YmbZkb.js} +0 -0
- /package/dist/{clean-props-ChPEW0vT.js → clean-props-DsGHTEpm.js} +0 -0
- /package/dist/{create-split-props-BDJ_VWs3.js → create-split-props-BQ6yvpdF.js} +0 -0
- /package/dist/{factory-B5zr8_kk.d.ts → factory-D5HMCjkS.d.ts} +0 -0
- /package/dist/{factory-Co08Aw8u.js → factory-DxZQviAU.js} +0 -0
- /package/dist/{index-CCRVRFFQ.d.ts → index-DmKzfNVe.d.ts} +0 -0
- /package/dist/{index-DhFoJHfp.d.ts → index-e9UjgIag.d.ts} +0 -0
- /package/dist/{presence-types-BJRr8tqd.d.ts → presence-types-CaUy1bPc.d.ts} +0 -0
- /package/dist/{types-DIEO6uP3.d.ts → types-DVbnnQPS.d.ts} +0 -0
- /package/dist/{use-render-strategy-DMa_QmB6.js → use-render-strategy-Bx4OiQlo.js} +0 -0
- /package/dist/{use-render-strategy-U5NxU252.d.ts → use-render-strategy-DsagWQCm.d.ts} +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as marqueeAnatomy } from "../../marquee-anatomy-BSMR6X4B.js";
|
|
5
|
+
import * as vue2481 from "vue";
|
|
5
6
|
import { ComputedRef, HTMLAttributes, MaybeRef, UnwrapRef } from "vue";
|
|
6
7
|
import * as marquee from "@sprawlify/primitives/machines/marquee";
|
|
7
|
-
import { EdgeProps, PauseStatusDetails, PauseStatusDetails as MarqueePauseStatusDetails, Side, Side as MarqueeSide
|
|
8
|
+
import { EdgeProps, PauseStatusDetails, PauseStatusDetails as MarqueePauseStatusDetails, Side, Side as MarqueeSide } from "@sprawlify/primitives/machines/marquee";
|
|
8
9
|
|
|
9
10
|
//#region src/components/marquee/marquee-content.vue.d.ts
|
|
10
11
|
interface MarqueeContentBaseProps extends PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface MarqueeContentProps extends MarqueeContentBaseProps,
|
|
|
14
15
|
*/
|
|
15
16
|
HTMLAttributes {}
|
|
16
17
|
declare const _default: typeof __VLS_export$6;
|
|
17
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
18
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2481.DefineComponent<MarqueeContentProps, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {}, string, vue2481.PublicProps, Readonly<MarqueeContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2481.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -120,7 +121,7 @@ interface MarqueeContextProps {
|
|
|
120
121
|
children: (context: UseMarqueeContext) => any;
|
|
121
122
|
}
|
|
122
123
|
declare const _default$1: typeof __VLS_export$5;
|
|
123
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
124
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2481.DefineComponent<{}, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {}, string, vue2481.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2481.ComponentProvideOptions, true, {}, any>, {
|
|
124
125
|
default?: (props: {
|
|
125
126
|
paused: boolean;
|
|
126
127
|
orientation: "horizontal" | "vertical";
|
|
@@ -131,25 +132,25 @@ declare const __VLS_export$5: __VLS_WithSlots$5<vue1849.DefineComponent<{}, {},
|
|
|
131
132
|
resume: VoidFunction;
|
|
132
133
|
togglePause: VoidFunction;
|
|
133
134
|
restart: VoidFunction;
|
|
134
|
-
getRootProps: () =>
|
|
135
|
+
getRootProps: () => vue2481.HTMLAttributes & {
|
|
135
136
|
key?: string | number | symbol | undefined;
|
|
136
|
-
ref?:
|
|
137
|
+
ref?: vue2481.VNodeRef | undefined;
|
|
137
138
|
};
|
|
138
|
-
getViewportProps: () =>
|
|
139
|
+
getViewportProps: () => vue2481.HTMLAttributes & {
|
|
139
140
|
key?: string | number | symbol | undefined;
|
|
140
|
-
ref?:
|
|
141
|
+
ref?: vue2481.VNodeRef | undefined;
|
|
141
142
|
};
|
|
142
|
-
getContentProps: (props: marquee.ContentProps) =>
|
|
143
|
+
getContentProps: (props: marquee.ContentProps) => vue2481.HTMLAttributes & {
|
|
143
144
|
key?: string | number | symbol | undefined;
|
|
144
|
-
ref?:
|
|
145
|
+
ref?: vue2481.VNodeRef | undefined;
|
|
145
146
|
};
|
|
146
|
-
getEdgeProps: (props: marquee.EdgeProps) =>
|
|
147
|
+
getEdgeProps: (props: marquee.EdgeProps) => vue2481.HTMLAttributes & {
|
|
147
148
|
key?: string | number | symbol | undefined;
|
|
148
|
-
ref?:
|
|
149
|
+
ref?: vue2481.VNodeRef | undefined;
|
|
149
150
|
};
|
|
150
|
-
getItemProps: () =>
|
|
151
|
+
getItemProps: () => vue2481.HTMLAttributes & {
|
|
151
152
|
key?: string | number | symbol | undefined;
|
|
152
|
-
ref?:
|
|
153
|
+
ref?: vue2481.VNodeRef | undefined;
|
|
153
154
|
};
|
|
154
155
|
}) => any;
|
|
155
156
|
}>;
|
|
@@ -167,7 +168,7 @@ interface MarqueeEdgeProps extends MarqueeEdgeBaseProps,
|
|
|
167
168
|
*/
|
|
168
169
|
HTMLAttributes {}
|
|
169
170
|
declare const _default$2: typeof __VLS_export$4;
|
|
170
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
171
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2481.DefineComponent<MarqueeEdgeProps, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {}, string, vue2481.PublicProps, Readonly<MarqueeEdgeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2481.ComponentProvideOptions, false, {}, any>, {
|
|
171
172
|
default?: (props: {}) => any;
|
|
172
173
|
}>;
|
|
173
174
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -184,7 +185,7 @@ interface MarqueeItemProps extends MarqueeItemBaseProps,
|
|
|
184
185
|
*/
|
|
185
186
|
HTMLAttributes {}
|
|
186
187
|
declare const _default$3: typeof __VLS_export$3;
|
|
187
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
188
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2481.DefineComponent<MarqueeItemProps, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {}, string, vue2481.PublicProps, Readonly<MarqueeItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2481.ComponentProvideOptions, false, {}, any>, {
|
|
188
189
|
default?: (props: {}) => any;
|
|
189
190
|
}>;
|
|
190
191
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -202,11 +203,11 @@ interface MarqueeRootProps extends MarqueeRootBaseProps,
|
|
|
202
203
|
HTMLAttributes {}
|
|
203
204
|
interface MarqueeRootEmits extends RootEmits {}
|
|
204
205
|
declare const _default$4: typeof __VLS_export$2;
|
|
205
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
206
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2481.DefineComponent<MarqueeRootProps, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {
|
|
206
207
|
complete: () => any;
|
|
207
208
|
loopComplete: () => any;
|
|
208
209
|
pauseChange: (details: marquee.PauseStatusDetails) => any;
|
|
209
|
-
}, string,
|
|
210
|
+
}, string, vue2481.PublicProps, Readonly<MarqueeRootProps> & Readonly<{
|
|
210
211
|
onComplete?: (() => any) | undefined;
|
|
211
212
|
onLoopComplete?: (() => any) | undefined;
|
|
212
213
|
onPauseChange?: ((details: marquee.PauseStatusDetails) => any) | undefined;
|
|
@@ -216,7 +217,7 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue1849.DefineComponent<MarqueeR
|
|
|
216
217
|
defaultPaused: boolean;
|
|
217
218
|
pauseOnInteraction: boolean;
|
|
218
219
|
paused: boolean;
|
|
219
|
-
}, {}, {}, {}, string,
|
|
220
|
+
}, {}, {}, {}, string, vue2481.ComponentProvideOptions, false, {}, any>, {
|
|
220
221
|
default?: (props: {}) => any;
|
|
221
222
|
}>;
|
|
222
223
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -236,7 +237,7 @@ interface MarqueeRootProviderProps extends MarqueeRootProviderBaseProps,
|
|
|
236
237
|
*/
|
|
237
238
|
HTMLAttributes {}
|
|
238
239
|
declare const _default$5: typeof __VLS_export$1;
|
|
239
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
240
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2481.DefineComponent<MarqueeRootProviderProps, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {}, string, vue2481.PublicProps, Readonly<MarqueeRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2481.ComponentProvideOptions, false, {}, any>, {
|
|
240
241
|
default?: (props: {}) => any;
|
|
241
242
|
}>;
|
|
242
243
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -253,7 +254,7 @@ interface MarqueeViewportProps extends MarqueeViewportBaseProps,
|
|
|
253
254
|
*/
|
|
254
255
|
HTMLAttributes {}
|
|
255
256
|
declare const _default$6: typeof __VLS_export;
|
|
256
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
257
|
+
declare const __VLS_export: __VLS_WithSlots<vue2481.DefineComponent<MarqueeViewportProps, {}, {}, {}, {}, vue2481.ComponentOptionsMixin, vue2481.ComponentOptionsMixin, {}, string, vue2481.PublicProps, Readonly<MarqueeViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2481.ComponentProvideOptions, false, {}, any>, {
|
|
257
258
|
default?: (props: {}) => any;
|
|
258
259
|
}>;
|
|
259
260
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,12 +3,12 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
6
|
+
import { t as marqueeAnatomy } from "../../marquee-anatomy-sKw9g-dJ.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
9
|
import { hasProp, isString } from "@sprawlify/primitives/utils";
|
|
9
10
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, getCurrentInstance, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toValue, unref, useAttrs, useId, withCtx } from "vue";
|
|
10
11
|
import * as marquee from "@sprawlify/primitives/machines/marquee";
|
|
11
|
-
import { anatomy as marqueeAnatomy } from "@sprawlify/primitives/machines/marquee";
|
|
12
12
|
|
|
13
13
|
//#region src/utils/use-scope-id.ts
|
|
14
14
|
function hasVnodeScopeId(vnode) {
|
|
@@ -1,13 +1,15 @@
|
|
|
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 } from "../../types-
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
5
|
-
import { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
6
|
-
import "../../
|
|
7
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-CaUy1bPc.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-DsagWQCm.js";
|
|
6
|
+
import { t as menuAnatomy } from "../../menu-anatomy-2i8La6ak.js";
|
|
7
|
+
import "../../index-_AirUBz0.js";
|
|
8
|
+
import * as vue1926 from "vue";
|
|
8
9
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
10
|
+
import * as _sprawlify_primitives_machines_bottom_sheet49 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
9
11
|
import * as menu from "@sprawlify/primitives/machines/menu";
|
|
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
|
|
12
|
+
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 } from "@sprawlify/primitives/machines/menu";
|
|
11
13
|
|
|
12
14
|
//#region src/components/menu/menu-arrow-tip.vue.d.ts
|
|
13
15
|
interface MenuArrowTipBaseProps extends PolymorphicProps {}
|
|
@@ -17,7 +19,7 @@ interface MenuArrowTipProps extends MenuArrowTipBaseProps,
|
|
|
17
19
|
*/
|
|
18
20
|
HTMLAttributes {}
|
|
19
21
|
declare const _default$1: typeof __VLS_export$20;
|
|
20
|
-
declare const __VLS_export$20: __VLS_WithSlots$19<
|
|
22
|
+
declare const __VLS_export$20: __VLS_WithSlots$19<vue1926.DefineComponent<MenuArrowTipProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
21
23
|
default?: (props: {}) => any;
|
|
22
24
|
}>;
|
|
23
25
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
@@ -34,7 +36,7 @@ interface MenuArrowProps extends MenuArrowBaseProps,
|
|
|
34
36
|
*/
|
|
35
37
|
HTMLAttributes {}
|
|
36
38
|
declare const _default: typeof __VLS_export$19;
|
|
37
|
-
declare const __VLS_export$19: __VLS_WithSlots$18<
|
|
39
|
+
declare const __VLS_export$19: __VLS_WithSlots$18<vue1926.DefineComponent<MenuArrowProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
38
40
|
default?: (props: {}) => any;
|
|
39
41
|
}>;
|
|
40
42
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
@@ -55,15 +57,15 @@ type MenuCheckboxItemEmits = {
|
|
|
55
57
|
'update:checked': [value: boolean];
|
|
56
58
|
};
|
|
57
59
|
declare const _default$2: typeof __VLS_export$18;
|
|
58
|
-
declare const __VLS_export$18: __VLS_WithSlots$17<
|
|
60
|
+
declare const __VLS_export$18: __VLS_WithSlots$17<vue1926.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {
|
|
59
61
|
"update:checked": (value: boolean) => any;
|
|
60
|
-
}, string,
|
|
62
|
+
}, string, vue1926.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
|
|
61
63
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
62
64
|
}>, {
|
|
63
65
|
disabled: boolean;
|
|
64
66
|
checked: boolean;
|
|
65
67
|
closeOnSelect: boolean;
|
|
66
|
-
}, {}, {}, {}, string,
|
|
68
|
+
}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
67
69
|
default?: (props: {}) => any;
|
|
68
70
|
}>;
|
|
69
71
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
@@ -80,7 +82,7 @@ interface MenuContentProps extends MenuContentBaseProps,
|
|
|
80
82
|
*/
|
|
81
83
|
HTMLAttributes {}
|
|
82
84
|
declare const _default$3: typeof __VLS_export$17;
|
|
83
|
-
declare const __VLS_export$17: __VLS_WithSlots$16<
|
|
85
|
+
declare const __VLS_export$17: __VLS_WithSlots$16<vue1926.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
84
86
|
default?: (props: {}) => any;
|
|
85
87
|
}>;
|
|
86
88
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
@@ -97,7 +99,7 @@ interface MenuContextTriggerProps extends MenuContextTriggerBaseProps,
|
|
|
97
99
|
*/
|
|
98
100
|
ButtonHTMLAttributes {}
|
|
99
101
|
declare const _default$5: typeof __VLS_export$16;
|
|
100
|
-
declare const __VLS_export$16: __VLS_WithSlots$15<
|
|
102
|
+
declare const __VLS_export$16: __VLS_WithSlots$15<vue1926.DefineComponent<MenuContextTriggerProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuContextTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
101
103
|
default?: (props: {}) => any;
|
|
102
104
|
}>;
|
|
103
105
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -114,7 +116,7 @@ interface MenuIndicatorProps extends MenuIndicatorBaseProps,
|
|
|
114
116
|
*/
|
|
115
117
|
HTMLAttributes {}
|
|
116
118
|
declare const _default$6: typeof __VLS_export$15;
|
|
117
|
-
declare const __VLS_export$15: __VLS_WithSlots$14<
|
|
119
|
+
declare const __VLS_export$15: __VLS_WithSlots$14<vue1926.DefineComponent<MenuIndicatorProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
118
120
|
default?: (props: {}) => any;
|
|
119
121
|
}>;
|
|
120
122
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -131,7 +133,7 @@ interface MenuItemContextProps extends SlotsType<{
|
|
|
131
133
|
default: UnwrapRef<UseMenuItemContext>;
|
|
132
134
|
}> {}
|
|
133
135
|
declare const _default$8: typeof __VLS_export$14;
|
|
134
|
-
declare const __VLS_export$14: __VLS_WithSlots$13<
|
|
136
|
+
declare const __VLS_export$14: __VLS_WithSlots$13<vue1926.DefineComponent<{}, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, true, {}, any>, {
|
|
135
137
|
default(item: UnwrapRef<UseMenuItemContext>): unknown;
|
|
136
138
|
}>;
|
|
137
139
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -148,7 +150,7 @@ interface MenuItemGroupLabelProps extends MenuItemGroupLabelBaseProps,
|
|
|
148
150
|
*/
|
|
149
151
|
HTMLAttributes {}
|
|
150
152
|
declare const _default$10: typeof __VLS_export$13;
|
|
151
|
-
declare const __VLS_export$13: __VLS_WithSlots$12<
|
|
153
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<vue1926.DefineComponent<MenuItemGroupLabelProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
152
154
|
default?: (props: {}) => any;
|
|
153
155
|
}>;
|
|
154
156
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -165,7 +167,7 @@ interface MenuItemGroupProps extends MenuItemGroupBaseProps,
|
|
|
165
167
|
*/
|
|
166
168
|
HTMLAttributes {}
|
|
167
169
|
declare const _default$9: typeof __VLS_export$12;
|
|
168
|
-
declare const __VLS_export$12: __VLS_WithSlots$11<
|
|
170
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<vue1926.DefineComponent<MenuItemGroupProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
169
171
|
default?: (props: {}) => any;
|
|
170
172
|
}>;
|
|
171
173
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -182,7 +184,7 @@ interface MenuItemIndicatorProps extends MenuItemIndicatorBaseProps,
|
|
|
182
184
|
*/
|
|
183
185
|
HTMLAttributes {}
|
|
184
186
|
declare const _default$11: typeof __VLS_export$11;
|
|
185
|
-
declare const __VLS_export$11: __VLS_WithSlots$10<
|
|
187
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<vue1926.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
186
188
|
default?: (props: {}) => any;
|
|
187
189
|
}>;
|
|
188
190
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -199,7 +201,7 @@ interface MenuItemTextProps extends MenuItemTextBaseProps,
|
|
|
199
201
|
*/
|
|
200
202
|
HTMLAttributes {}
|
|
201
203
|
declare const _default$12: typeof __VLS_export$10;
|
|
202
|
-
declare const __VLS_export$10: __VLS_WithSlots$9<
|
|
204
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<vue1926.DefineComponent<MenuItemTextProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
203
205
|
default?: (props: {}) => any;
|
|
204
206
|
}>;
|
|
205
207
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -216,14 +218,14 @@ interface MenuItemProps extends MenuItemBaseProps,
|
|
|
216
218
|
*/
|
|
217
219
|
Omit<HTMLAttributes, 'onSelect'> {}
|
|
218
220
|
declare const _default$7: typeof __VLS_export$9;
|
|
219
|
-
declare const __VLS_export$9: __VLS_WithSlots$8<
|
|
221
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<vue1926.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {} & {
|
|
220
222
|
select: () => any;
|
|
221
|
-
}, string,
|
|
223
|
+
}, string, vue1926.PublicProps, Readonly<MenuItemProps> & Readonly<{
|
|
222
224
|
onSelect?: (() => any) | undefined;
|
|
223
225
|
}>, {
|
|
224
226
|
disabled: boolean;
|
|
225
227
|
closeOnSelect: boolean;
|
|
226
|
-
}, {}, {}, {}, string,
|
|
228
|
+
}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
227
229
|
default?: (props: {}) => any;
|
|
228
230
|
}>;
|
|
229
231
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -240,7 +242,7 @@ interface MenuPositionerProps extends MenuPositionerBaseProps,
|
|
|
240
242
|
*/
|
|
241
243
|
HTMLAttributes {}
|
|
242
244
|
declare const _default$13: typeof __VLS_export$8;
|
|
243
|
-
declare const __VLS_export$8: __VLS_WithSlots$7<
|
|
245
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue1926.DefineComponent<MenuPositionerProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
244
246
|
default?: (props: {}) => any;
|
|
245
247
|
}>;
|
|
246
248
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -263,11 +265,11 @@ type MenuRadioItemGroupEmits = {
|
|
|
263
265
|
'update:modelValue': [value: string];
|
|
264
266
|
};
|
|
265
267
|
declare const _default$15: typeof __VLS_export$7;
|
|
266
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
268
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue1926.DefineComponent<MenuRadioItemGroupProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {
|
|
267
269
|
"update:modelValue": (value: string) => any;
|
|
268
|
-
}, string,
|
|
270
|
+
}, string, vue1926.PublicProps, Readonly<MenuRadioItemGroupProps> & Readonly<{
|
|
269
271
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
270
|
-
}>, {}, {}, {}, {}, string,
|
|
272
|
+
}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
271
273
|
default?: (props: {}) => any;
|
|
272
274
|
}>;
|
|
273
275
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -285,10 +287,10 @@ interface MenuRadioItemProps extends MenuRadioItemBaseProps,
|
|
|
285
287
|
*/
|
|
286
288
|
HTMLAttributes {}
|
|
287
289
|
declare const _default$14: typeof __VLS_export$6;
|
|
288
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
290
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue1926.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{}>, {
|
|
289
291
|
disabled: boolean;
|
|
290
292
|
closeOnSelect: boolean;
|
|
291
|
-
}, {}, {}, {}, string,
|
|
293
|
+
}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
292
294
|
default?: (props: {}) => any;
|
|
293
295
|
}>;
|
|
294
296
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -305,11 +307,11 @@ interface MenuRootProviderBaseProps extends RootProviderProps, RenderStrategyPro
|
|
|
305
307
|
interface MenuRootProviderProps extends MenuRootProviderBaseProps {}
|
|
306
308
|
interface MenuRootProviderEmits extends RootEmits$1 {}
|
|
307
309
|
declare const _default$17: typeof __VLS_export$5;
|
|
308
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
310
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue1926.DefineComponent<MenuRootProviderProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {
|
|
309
311
|
exitComplete: () => any;
|
|
310
|
-
}, string,
|
|
312
|
+
}, string, vue1926.PublicProps, Readonly<MenuRootProviderProps> & Readonly<{
|
|
311
313
|
onExitComplete?: (() => any) | undefined;
|
|
312
|
-
}>, {}, {}, {}, {}, string,
|
|
314
|
+
}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
313
315
|
default?: (props: {}) => any;
|
|
314
316
|
}>;
|
|
315
317
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -367,15 +369,16 @@ interface MenuRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicP
|
|
|
367
369
|
interface MenuRootProps extends MenuRootBaseProps {}
|
|
368
370
|
interface MenuRootEmits extends RootEmits {}
|
|
369
371
|
declare const _default$16: typeof __VLS_export$4;
|
|
370
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
372
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue1926.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {
|
|
371
373
|
select: (details: menu.SelectionDetails) => any;
|
|
372
374
|
exitComplete: () => any;
|
|
375
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet49.FocusOutsideEvent) => any;
|
|
376
|
+
highlightChange: (details: menu.HighlightChangeDetails) => any;
|
|
377
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet49.InteractOutsideEvent) => any;
|
|
373
378
|
openChange: (details: menu.OpenChangeDetails) => any;
|
|
379
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet49.PointerDownOutsideEvent) => any;
|
|
380
|
+
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
374
381
|
"update:open": (open: boolean) => any;
|
|
375
|
-
focusOutside: (event: menu.FocusOutsideEvent) => any;
|
|
376
|
-
highlightChange: (details: menu.HighlightChangeDetails) => any;
|
|
377
|
-
interactOutside: (event: menu.InteractOutsideEvent) => any;
|
|
378
|
-
pointerDownOutside: (event: menu.PointerDownOutsideEvent) => any;
|
|
379
382
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
380
383
|
requestDismiss: (event: CustomEvent<{
|
|
381
384
|
originalLayer: HTMLElement;
|
|
@@ -383,16 +386,16 @@ declare const __VLS_export$4: __VLS_WithSlots$3<vue1119.DefineComponent<MenuRoot
|
|
|
383
386
|
originalIndex: number;
|
|
384
387
|
targetIndex: number;
|
|
385
388
|
}>) => any;
|
|
386
|
-
|
|
387
|
-
}, string, vue1119.PublicProps, Readonly<MenuRootProps> & Readonly<{
|
|
389
|
+
}, string, vue1926.PublicProps, Readonly<MenuRootProps> & Readonly<{
|
|
388
390
|
onSelect?: ((details: menu.SelectionDetails) => any) | undefined;
|
|
389
391
|
onExitComplete?: (() => any) | undefined;
|
|
392
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet49.FocusOutsideEvent) => any) | undefined;
|
|
393
|
+
onHighlightChange?: ((details: menu.HighlightChangeDetails) => any) | undefined;
|
|
394
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet49.InteractOutsideEvent) => any) | undefined;
|
|
390
395
|
onOpenChange?: ((details: menu.OpenChangeDetails) => any) | undefined;
|
|
396
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet49.PointerDownOutsideEvent) => any) | undefined;
|
|
397
|
+
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
391
398
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
392
|
-
onFocusOutside?: ((event: menu.FocusOutsideEvent) => any) | undefined;
|
|
393
|
-
onHighlightChange?: ((details: menu.HighlightChangeDetails) => any) | undefined;
|
|
394
|
-
onInteractOutside?: ((event: menu.InteractOutsideEvent) => any) | undefined;
|
|
395
|
-
onPointerDownOutside?: ((event: menu.PointerDownOutsideEvent) => any) | undefined;
|
|
396
399
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
397
400
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
398
401
|
originalLayer: HTMLElement;
|
|
@@ -400,15 +403,14 @@ declare const __VLS_export$4: __VLS_WithSlots$3<vue1119.DefineComponent<MenuRoot
|
|
|
400
403
|
originalIndex: number;
|
|
401
404
|
targetIndex: number;
|
|
402
405
|
}>) => any) | undefined;
|
|
403
|
-
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
404
406
|
}>, {
|
|
405
|
-
open: boolean;
|
|
406
|
-
defaultOpen: boolean;
|
|
407
|
-
typeahead: boolean;
|
|
408
|
-
loopFocus: boolean;
|
|
409
407
|
composite: boolean;
|
|
408
|
+
loopFocus: boolean;
|
|
410
409
|
closeOnSelect: boolean;
|
|
411
|
-
|
|
410
|
+
defaultOpen: boolean;
|
|
411
|
+
open: boolean;
|
|
412
|
+
typeahead: boolean;
|
|
413
|
+
}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
412
414
|
default?: (props: {}) => any;
|
|
413
415
|
}>;
|
|
414
416
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -425,7 +427,7 @@ interface MenuSeparatorProps extends MenuSeparatorBaseProps,
|
|
|
425
427
|
*/
|
|
426
428
|
HTMLAttributes {}
|
|
427
429
|
declare const _default$18: typeof __VLS_export$3;
|
|
428
|
-
declare const __VLS_export$3:
|
|
430
|
+
declare const __VLS_export$3: vue1926.DefineComponent<MenuSeparatorProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>;
|
|
429
431
|
//#endregion
|
|
430
432
|
//#region src/components/menu/menu-trigger-item.vue.d.ts
|
|
431
433
|
interface MenuTriggerItemBaseProps extends PolymorphicProps {}
|
|
@@ -435,7 +437,7 @@ interface MenuTriggerItemProps extends MenuTriggerItemBaseProps,
|
|
|
435
437
|
*/
|
|
436
438
|
HTMLAttributes {}
|
|
437
439
|
declare const _default$20: typeof __VLS_export$2;
|
|
438
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
440
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1926.DefineComponent<MenuTriggerItemProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuTriggerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
439
441
|
default?: (props: {}) => any;
|
|
440
442
|
}>;
|
|
441
443
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -452,7 +454,7 @@ interface MenuTriggerProps extends MenuTriggerBaseProps,
|
|
|
452
454
|
*/
|
|
453
455
|
ButtonHTMLAttributes {}
|
|
454
456
|
declare const _default$19: typeof __VLS_export$1;
|
|
455
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
457
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1926.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, false, {}, any>, {
|
|
456
458
|
default?: (props: {}) => any;
|
|
457
459
|
}>;
|
|
458
460
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -485,7 +487,7 @@ interface MenuContextProps extends SlotsType<{
|
|
|
485
487
|
default: UnwrapRef<UseMenuContext>;
|
|
486
488
|
}> {}
|
|
487
489
|
declare const _default$4: typeof __VLS_export;
|
|
488
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
490
|
+
declare const __VLS_export: __VLS_WithSlots<vue1926.DefineComponent<{}, {}, {}, {}, {}, vue1926.ComponentOptionsMixin, vue1926.ComponentOptionsMixin, {}, string, vue1926.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1926.ComponentProvideOptions, true, {}, any>, {
|
|
489
491
|
default(menu: UnwrapRef<UseMenuContext>): unknown;
|
|
490
492
|
}>;
|
|
491
493
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,13 +3,13 @@ import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../..
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
6
|
+
import { t as menuAnatomy } from "../../menu-anatomy-DbCORryZ.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
9
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-Bx4OiQlo.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-Byk0B_Vq.js";
|
|
10
11
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, onBeforeUnmount, onMounted, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
12
|
import * as menu from "@sprawlify/primitives/machines/menu";
|
|
12
|
-
import { anatomy as menuAnatomy } from "@sprawlify/primitives/machines/menu";
|
|
13
13
|
|
|
14
14
|
//#region src/components/menu/use-menu-context.ts
|
|
15
15
|
const [MenuProvider, useMenuContext] = createContext("MenuContext");
|