@sprawlify/vue 0.0.79 → 0.0.80
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/{alert-dialog-anatomy-DMZO1oaM.d.ts → alert-dialog-anatomy-DkXaxq1b.d.ts} +1 -1
- package/dist/carousel-anatomy-B4Uf40Wk.d.ts +6 -0
- package/dist/{checkbox-anatomy-BwEm409M.d.ts → checkbox-anatomy-IMyYeHxd.d.ts} +1 -1
- package/dist/{collapsible-DLRrv-CU.js → collapsible-DjMeJSQq.js} +1 -1
- package/dist/{collection-Cp7jsgmq.js → collection-D_pMm6Yu.js} +1 -1
- package/dist/color-picker-anatomy-CieKbdb-.d.ts +6 -0
- package/dist/combobox-anatomy-BMLEIp-9.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +14 -14
- package/dist/components/accordion/index.js +5 -4
- package/dist/components/alert-dialog/index.d.ts +20 -20
- package/dist/components/alert-dialog/index.js +3 -3
- package/dist/components/anatomy.d.ts +13 -13
- package/dist/components/angle-slider/index.d.ts +15 -15
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/aspect-ratio/index.d.ts +6 -6
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/avatar/index.d.ts +9 -9
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +18 -18
- 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 +21 -21
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +13 -13
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +12 -12
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +55 -55
- package/dist/components/color-picker/index.js +4 -4
- package/dist/components/combobox/index.d.ts +32 -32
- package/dist/components/combobox/index.js +5 -5
- package/dist/components/date-picker/index.d.ts +46 -46
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +19 -19
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/dropdown-menu/index.d.ts +47 -47
- package/dist/components/dropdown-menu/index.js +3 -3
- package/dist/components/editable/index.d.ts +25 -25
- package/dist/components/editable/index.js +2 -2
- package/dist/components/field/index.d.ts +24 -24
- package/dist/components/field/index.js +1 -1
- package/dist/components/fieldset/index.d.ts +11 -11
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/file-upload/index.d.ts +23 -23
- package/dist/components/file-upload/index.js +2 -2
- package/dist/components/floating-panel/index.d.ts +22 -22
- 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 +22 -22
- 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 +8 -8
- package/dist/components/json-tree-view/index.js +6 -5
- package/dist/components/listbox/index.d.ts +20 -20
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +22 -22
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/navigation-menu/index.d.ts +17 -17
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +17 -17
- package/dist/components/number-input/index.js +2 -2
- package/dist/components/pagination/index.d.ts +15 -15
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +23 -23
- package/dist/components/password-input/index.js +2 -2
- package/dist/components/pin-input/index.d.ts +16 -16
- package/dist/components/pin-input/index.js +2 -2
- package/dist/components/popover/index.d.ts +27 -27
- 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 +13 -13
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +9 -9
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +16 -16
- package/dist/components/radio-group/index.js +3 -3
- package/dist/components/rating-group/index.d.ts +13 -13
- package/dist/components/rating-group/index.js +2 -2
- package/dist/components/scroll-area/index.d.ts +10 -10
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +15 -15
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +32 -32
- package/dist/components/select/index.js +5 -5
- package/dist/components/separator/index.d.ts +5 -5
- package/dist/components/separator/index.js +1 -1
- package/dist/components/signature-pad/index.d.ts +14 -14
- package/dist/components/signature-pad/index.js +2 -2
- package/dist/components/slider/index.d.ts +18 -18
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.d.ts +12 -12
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.d.ts +18 -18
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.d.ts +14 -14
- package/dist/components/switch/index.js +2 -2
- package/dist/components/tabs/index.d.ts +12 -12
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tags-input/index.d.ts +29 -29
- package/dist/components/tags-input/index.js +2 -2
- package/dist/components/timer/index.d.ts +12 -12
- package/dist/components/timer/index.js +1 -1
- package/dist/components/toast/index.d.ts +9 -9
- package/dist/components/toggle/index.d.ts +8 -8
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle-group/index.d.ts +9 -9
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/tooltip/index.d.ts +15 -15
- package/dist/components/tooltip/index.js +3 -3
- package/dist/components/tour/index.d.ts +27 -27
- package/dist/components/tour/index.js +3 -3
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/index.js +5 -4
- package/dist/date-picker-anatomy-D9rKz5BV.d.ts +6 -0
- package/dist/field-anatomy-Df_UsFB-.d.ts +6 -0
- package/dist/{fieldset-anatomy-JIjxInfF.d.ts → fieldset-anatomy-vzHem8gu.d.ts} +1 -1
- package/dist/{image-cropper-anatomy-D653Zi5L.d.ts → image-cropper-anatomy-B30SeuHb.d.ts} +1 -1
- package/dist/{index-CLgQxaLY.d.ts → index-B4xXPY7s.d.ts} +7 -7
- package/dist/{index-Gp2PxjGZ.d.ts → index-BX-2SxBL.d.ts} +26 -26
- package/dist/{index-C2XO6Bu5.d.ts → index-CB_-BfCY.d.ts} +2 -2
- package/dist/{index-DOWv-lNG.d.ts → index-D4xbWFd7.d.ts} +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/listbox-anatomy-BirAXuA4.d.ts +6 -0
- package/dist/{segment-group-anatomy-C0MnlQij.d.ts → segment-group-anatomy-B0wVrY5V.d.ts} +2 -2
- package/dist/toggle-anatomy-D_msAf8I.d.ts +6 -0
- package/dist/tour-anatomy-CpghGnk0.d.ts +6 -0
- package/dist/{tree-view-DNxj9zJu.js → tree-view-D0uubGi5.js} +4 -4
- package/package.json +2 -2
- package/dist/carousel-anatomy-CowY8V-J.d.ts +0 -6
- package/dist/color-picker-anatomy-DgvTw5Yh.d.ts +0 -6
- package/dist/combobox-anatomy-DNShli14.d.ts +0 -6
- package/dist/date-picker-anatomy-DV850Y1_.d.ts +0 -6
- package/dist/field-anatomy-CaySAbVn.d.ts +0 -6
- package/dist/listbox-anatomy-5UspVLuv.d.ts +0 -6
- package/dist/toggle-anatomy-om-9P9sX.d.ts +0 -6
- package/dist/tour-anatomy-B3Vov9hM.d.ts +0 -6
- /package/dist/{boolean-DRNklbLz.js → boolean-6Zl2NWRb.js} +0 -0
- /package/dist/{clean-props-jeo_b63H.js → clean-props-GbfPBIot.js} +0 -0
- /package/dist/{create-split-props-JMzYKf-E.js → create-split-props-D8oe6Rby.js} +0 -0
- /package/dist/{field-D5sIjqax.js → field-DMx_y6S-.js} +0 -0
- /package/dist/{fieldset-DvVWCARx.js → fieldset-4Y4cXm81.js} +0 -0
- /package/dist/{presence-BoJVvVf8.js → presence-BuHH-PkI.js} +0 -0
- /package/dist/{use-render-strategy-Bx4OiQlo.js → use-render-strategy-B0RVis2X.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-BiWWKx2m.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-Dp8j2-3x.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-D49hIhzQ.js";
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
+
import { r as PropTypes } from "../../index-CB_-BfCY.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-D82Q7KQ3.js";
|
|
6
6
|
import { t as dialogAnatomy } from "../../dialog-anatomy-CURzaSFr.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue1733 from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
9
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
10
10
|
import { FocusOutsideEvent, FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as DialogPointerDownOutsideEvent } from "@sprawlify/primitives/machines/dialog";
|
|
@@ -17,7 +17,7 @@ interface DialogBackdropProps extends DialogBackdropBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export$9;
|
|
20
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
20
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue1733.DefineComponent<DialogBackdropProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface DialogCloseTriggerProps extends DialogCloseTriggerBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
ButtonHTMLAttributes {}
|
|
36
36
|
declare const _default$1: typeof __VLS_export$8;
|
|
37
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
37
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue1733.DefineComponent<DialogCloseTriggerProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -51,7 +51,7 @@ interface DialogContentProps extends DialogContentBaseProps,
|
|
|
51
51
|
*/
|
|
52
52
|
HTMLAttributes {}
|
|
53
53
|
declare const _default$2: typeof __VLS_export$7;
|
|
54
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
54
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue1733.DefineComponent<DialogContentProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
55
55
|
default?: (props: {}) => any;
|
|
56
56
|
}>;
|
|
57
57
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -68,7 +68,7 @@ interface DialogDescriptionProps extends DialogDescriptionBaseProps,
|
|
|
68
68
|
*/
|
|
69
69
|
HTMLAttributes {}
|
|
70
70
|
declare const _default$4: typeof __VLS_export$6;
|
|
71
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
71
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1733.DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
72
72
|
default?: (props: {}) => any;
|
|
73
73
|
}>;
|
|
74
74
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -85,7 +85,7 @@ interface DialogPositionerProps extends DialogPositionerBaseProps,
|
|
|
85
85
|
*/
|
|
86
86
|
HTMLAttributes {}
|
|
87
87
|
declare const _default$5: typeof __VLS_export$5;
|
|
88
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
88
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1733.DefineComponent<DialogPositionerProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
89
89
|
default?: (props: {}) => any;
|
|
90
90
|
}>;
|
|
91
91
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -102,11 +102,11 @@ interface DialogRootProviderBaseProps extends RootProviderProps, RenderStrategyP
|
|
|
102
102
|
interface DialogRootProviderProps extends DialogRootProviderBaseProps {}
|
|
103
103
|
interface DialogRootProviderEmits extends RootEmits$1 {}
|
|
104
104
|
declare const _default$7: typeof __VLS_export$4;
|
|
105
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
105
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1733.DefineComponent<DialogRootProviderProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {
|
|
106
106
|
exitComplete: () => any;
|
|
107
|
-
}, string,
|
|
107
|
+
}, string, vue1733.PublicProps, Readonly<DialogRootProviderProps> & Readonly<{
|
|
108
108
|
onExitComplete?: (() => any) | undefined;
|
|
109
|
-
}>, {}, {}, {}, {}, string,
|
|
109
|
+
}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
110
110
|
default?: (props: {}) => any;
|
|
111
111
|
}>;
|
|
112
112
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -162,7 +162,7 @@ interface DialogRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
162
162
|
interface DialogRootProps extends DialogRootBaseProps {}
|
|
163
163
|
interface DialogRootEmits extends RootEmits {}
|
|
164
164
|
declare const _default$6: typeof __VLS_export$3;
|
|
165
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
165
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1733.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {
|
|
166
166
|
exitComplete: () => any;
|
|
167
167
|
focusOutside: (event: dialog.FocusOutsideEvent) => any;
|
|
168
168
|
interactOutside: (event: dialog.InteractOutsideEvent) => any;
|
|
@@ -176,7 +176,7 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue1177.DefineComponent<DialogRo
|
|
|
176
176
|
originalIndex: number;
|
|
177
177
|
targetIndex: number;
|
|
178
178
|
}>) => any;
|
|
179
|
-
}, string,
|
|
179
|
+
}, string, vue1733.PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
180
180
|
onExitComplete?: (() => any) | undefined;
|
|
181
181
|
onFocusOutside?: ((event: dialog.FocusOutsideEvent) => any) | undefined;
|
|
182
182
|
onInteractOutside?: ((event: dialog.InteractOutsideEvent) => any) | undefined;
|
|
@@ -194,12 +194,12 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue1177.DefineComponent<DialogRo
|
|
|
194
194
|
defaultOpen: boolean;
|
|
195
195
|
open: boolean;
|
|
196
196
|
closeOnEscape: boolean;
|
|
197
|
-
|
|
198
|
-
modal: boolean;
|
|
197
|
+
trapFocus: boolean;
|
|
199
198
|
preventScroll: boolean;
|
|
199
|
+
modal: boolean;
|
|
200
200
|
restoreFocus: boolean;
|
|
201
|
-
|
|
202
|
-
}, {}, {}, {}, string,
|
|
201
|
+
closeOnInteractOutside: boolean;
|
|
202
|
+
}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
203
203
|
default?: (props: {}) => any;
|
|
204
204
|
}>;
|
|
205
205
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -216,7 +216,7 @@ interface DialogTitleProps extends DialogTitleBaseProps,
|
|
|
216
216
|
*/
|
|
217
217
|
HTMLAttributes {}
|
|
218
218
|
declare const _default$8: typeof __VLS_export$2;
|
|
219
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
219
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1733.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
220
220
|
default?: (props: {}) => any;
|
|
221
221
|
}>;
|
|
222
222
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -233,7 +233,7 @@ interface DialogTriggerProps extends DialogTriggerBaseProps,
|
|
|
233
233
|
*/
|
|
234
234
|
ButtonHTMLAttributes {}
|
|
235
235
|
declare const _default$9: typeof __VLS_export$1;
|
|
236
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
236
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1733.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, false, {}, any>, {
|
|
237
237
|
default?: (props: {}) => any;
|
|
238
238
|
}>;
|
|
239
239
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -258,7 +258,7 @@ interface DialogContextProps extends SlotsType<{
|
|
|
258
258
|
default: UnwrapRef<UseDialogContext>;
|
|
259
259
|
}> {}
|
|
260
260
|
declare const _default$3: typeof __VLS_export;
|
|
261
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
261
|
+
declare const __VLS_export: __VLS_WithSlots<vue1733.DefineComponent<{}, {}, {}, {}, {}, vue1733.ComponentOptionsMixin, vue1733.ComponentOptionsMixin, {}, string, vue1733.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1733.ComponentProvideOptions, true, {}, any>, {
|
|
262
262
|
default(dialog: UnwrapRef<UseDialogContext>): unknown;
|
|
263
263
|
}>;
|
|
264
264
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,9 +5,9 @@ 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 dialogAnatomy } from "../../dialog-anatomy-DI8a_vZ_.js";
|
|
7
7
|
import { t as sprawlify } from "../../factory-yh31h0Rm.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
10
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-GbfPBIot.js";
|
|
9
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-B0RVis2X.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BuHH-PkI.js";
|
|
11
11
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
12
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-BiWWKx2m.js";
|
|
2
2
|
import { i as MaybePromise } from "../../types-D49hIhzQ.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1328 from "vue";
|
|
4
4
|
import { ButtonHTMLAttributes } from "vue";
|
|
5
5
|
import { FileMimeType } from "@sprawlify/primitives/file-utils";
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ interface DownloadTriggerProps extends DownloadTriggerBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
ButtonHTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<vue1328.DefineComponent<DownloadTriggerProps, {}, {}, {}, {}, vue1328.ComponentOptionsMixin, vue1328.ComponentOptionsMixin, {}, string, vue1328.PublicProps, Readonly<DownloadTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1328.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-BiWWKx2m.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-Dp8j2-3x.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-D49hIhzQ.js";
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
+
import { r as PropTypes } from "../../index-CB_-BfCY.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-D82Q7KQ3.js";
|
|
6
6
|
import { t as dropdownMenuAnatomy } from "../../dropdown-menu-anatomy-BqRBod4K.js";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import * as
|
|
7
|
+
import "../../index-B4xXPY7s.js";
|
|
8
|
+
import * as vue509 from "vue";
|
|
9
9
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_dialog5 from "@sprawlify/primitives/machines/dialog";
|
|
11
11
|
import * as dropdownMenu from "@sprawlify/primitives/machines/dropdown-menu";
|
|
12
12
|
import { FocusOutsideEvent, FocusOutsideEvent as DropdownMenuFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as DropdownMenuHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as DropdownMenuInteractOutsideEvent, ItemGroupProps, ItemProps, OpenChangeDetails, OpenChangeDetails as DropdownMenuOpenChangeDetails, OptionItemProps, OptionItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as DropdownMenuPointerDownOutsideEvent, SelectionDetails, SelectionDetails as DropdownMenuSelectionDetails } from "@sprawlify/primitives/machines/dropdown-menu";
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ interface DropdownMenuArrowTipProps extends DropdownMenuArrowTipBaseProps,
|
|
|
19
19
|
*/
|
|
20
20
|
HTMLAttributes {}
|
|
21
21
|
declare const _default$1: typeof __VLS_export$19;
|
|
22
|
-
declare const __VLS_export$19: __VLS_WithSlots$18<
|
|
22
|
+
declare const __VLS_export$19: __VLS_WithSlots$18<vue509.DefineComponent<DropdownMenuArrowTipProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
23
23
|
default?: (props: {}) => any;
|
|
24
24
|
}>;
|
|
25
25
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
@@ -36,7 +36,7 @@ interface DropdownMenuArrowProps extends DropdownMenuArrowBaseProps,
|
|
|
36
36
|
*/
|
|
37
37
|
HTMLAttributes {}
|
|
38
38
|
declare const _default: typeof __VLS_export$18;
|
|
39
|
-
declare const __VLS_export$18: __VLS_WithSlots$17<
|
|
39
|
+
declare const __VLS_export$18: __VLS_WithSlots$17<vue509.DefineComponent<DropdownMenuArrowProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
40
40
|
default?: (props: {}) => any;
|
|
41
41
|
}>;
|
|
42
42
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
@@ -57,15 +57,15 @@ type DropdownMenuCheckboxItemEmits = {
|
|
|
57
57
|
'update:checked': [value: boolean];
|
|
58
58
|
};
|
|
59
59
|
declare const _default$2: typeof __VLS_export$17;
|
|
60
|
-
declare const __VLS_export$17: __VLS_WithSlots$16<
|
|
60
|
+
declare const __VLS_export$17: __VLS_WithSlots$16<vue509.DefineComponent<DropdownMenuCheckboxItemProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {
|
|
61
61
|
"update:checked": (value: boolean) => any;
|
|
62
|
-
}, string,
|
|
62
|
+
}, string, vue509.PublicProps, Readonly<DropdownMenuCheckboxItemProps> & Readonly<{
|
|
63
63
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
64
64
|
}>, {
|
|
65
65
|
disabled: boolean;
|
|
66
66
|
checked: boolean;
|
|
67
67
|
closeOnSelect: boolean;
|
|
68
|
-
}, {}, {}, {}, string,
|
|
68
|
+
}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
69
69
|
default?: (props: {}) => any;
|
|
70
70
|
}>;
|
|
71
71
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
@@ -82,7 +82,7 @@ interface DropdownMenuContentProps extends DropdownMenuContentBaseProps,
|
|
|
82
82
|
*/
|
|
83
83
|
HTMLAttributes {}
|
|
84
84
|
declare const _default$3: typeof __VLS_export$16;
|
|
85
|
-
declare const __VLS_export$16: __VLS_WithSlots$15<
|
|
85
|
+
declare const __VLS_export$16: __VLS_WithSlots$15<vue509.DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
86
86
|
default?: (props: {}) => any;
|
|
87
87
|
}>;
|
|
88
88
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -99,7 +99,7 @@ interface DropdownMenuIndicatorProps extends DropdownMenuIndicatorBaseProps,
|
|
|
99
99
|
*/
|
|
100
100
|
HTMLAttributes {}
|
|
101
101
|
declare const _default$5: typeof __VLS_export$15;
|
|
102
|
-
declare const __VLS_export$15: __VLS_WithSlots$14<
|
|
102
|
+
declare const __VLS_export$15: __VLS_WithSlots$14<vue509.DefineComponent<DropdownMenuIndicatorProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
103
103
|
default?: (props: {}) => any;
|
|
104
104
|
}>;
|
|
105
105
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -116,7 +116,7 @@ interface DropdownMenuItemContextProps extends SlotsType<{
|
|
|
116
116
|
default: UnwrapRef<UseDropdownMenuItemContext>;
|
|
117
117
|
}> {}
|
|
118
118
|
declare const _default$7: typeof __VLS_export$14;
|
|
119
|
-
declare const __VLS_export$14: __VLS_WithSlots$13<
|
|
119
|
+
declare const __VLS_export$14: __VLS_WithSlots$13<vue509.DefineComponent<{}, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, true, {}, any>, {
|
|
120
120
|
default(item: UnwrapRef<UseDropdownMenuItemContext>): unknown;
|
|
121
121
|
}>;
|
|
122
122
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -133,7 +133,7 @@ interface DropdownMenuItemGroupLabelProps extends DropdownMenuItemGroupLabelBase
|
|
|
133
133
|
*/
|
|
134
134
|
HTMLAttributes {}
|
|
135
135
|
declare const _default$9: typeof __VLS_export$13;
|
|
136
|
-
declare const __VLS_export$13: __VLS_WithSlots$12<
|
|
136
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<vue509.DefineComponent<DropdownMenuItemGroupLabelProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
137
137
|
default?: (props: {}) => any;
|
|
138
138
|
}>;
|
|
139
139
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -150,7 +150,7 @@ interface DropdownMenuItemGroupProps extends DropdownMenuItemGroupBaseProps,
|
|
|
150
150
|
*/
|
|
151
151
|
HTMLAttributes {}
|
|
152
152
|
declare const _default$8: typeof __VLS_export$12;
|
|
153
|
-
declare const __VLS_export$12: __VLS_WithSlots$11<
|
|
153
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<vue509.DefineComponent<DropdownMenuItemGroupProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
154
154
|
default?: (props: {}) => any;
|
|
155
155
|
}>;
|
|
156
156
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -167,7 +167,7 @@ interface DropdownMenuItemIndicatorProps extends DropdownMenuItemIndicatorBasePr
|
|
|
167
167
|
*/
|
|
168
168
|
HTMLAttributes {}
|
|
169
169
|
declare const _default$10: typeof __VLS_export$11;
|
|
170
|
-
declare const __VLS_export$11: __VLS_WithSlots$10<
|
|
170
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<vue509.DefineComponent<DropdownMenuItemIndicatorProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
171
171
|
default?: (props: {}) => any;
|
|
172
172
|
}>;
|
|
173
173
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -184,7 +184,7 @@ interface DropdownMenuItemTextProps extends DropdownMenuItemTextBaseProps,
|
|
|
184
184
|
*/
|
|
185
185
|
HTMLAttributes {}
|
|
186
186
|
declare const _default$11: typeof __VLS_export$10;
|
|
187
|
-
declare const __VLS_export$10: __VLS_WithSlots$9<
|
|
187
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<vue509.DefineComponent<DropdownMenuItemTextProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
188
188
|
default?: (props: {}) => any;
|
|
189
189
|
}>;
|
|
190
190
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -201,14 +201,14 @@ interface DropdownMenuItemProps extends DropdownMenuItemBaseProps,
|
|
|
201
201
|
*/
|
|
202
202
|
Omit<HTMLAttributes, 'onSelect'> {}
|
|
203
203
|
declare const _default$6: typeof __VLS_export$9;
|
|
204
|
-
declare const __VLS_export$9: __VLS_WithSlots$8<
|
|
204
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<vue509.DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {} & {
|
|
205
205
|
select: () => any;
|
|
206
|
-
}, string,
|
|
206
|
+
}, string, vue509.PublicProps, Readonly<DropdownMenuItemProps> & Readonly<{
|
|
207
207
|
onSelect?: (() => any) | undefined;
|
|
208
208
|
}>, {
|
|
209
209
|
disabled: boolean;
|
|
210
210
|
closeOnSelect: boolean;
|
|
211
|
-
}, {}, {}, {}, string,
|
|
211
|
+
}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
212
212
|
default?: (props: {}) => any;
|
|
213
213
|
}>;
|
|
214
214
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -225,7 +225,7 @@ interface DropdownMenuPositionerProps extends DropdownMenuPositionerBaseProps,
|
|
|
225
225
|
*/
|
|
226
226
|
HTMLAttributes {}
|
|
227
227
|
declare const _default$12: typeof __VLS_export$8;
|
|
228
|
-
declare const __VLS_export$8: __VLS_WithSlots$7<
|
|
228
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue509.DefineComponent<DropdownMenuPositionerProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
229
229
|
default?: (props: {}) => any;
|
|
230
230
|
}>;
|
|
231
231
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -248,11 +248,11 @@ type DropdownMenuRadioItemGroupEmits = {
|
|
|
248
248
|
'update:modelValue': [value: string];
|
|
249
249
|
};
|
|
250
250
|
declare const _default$14: typeof __VLS_export$7;
|
|
251
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
251
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue509.DefineComponent<DropdownMenuRadioItemGroupProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {
|
|
252
252
|
"update:modelValue": (value: string) => any;
|
|
253
|
-
}, string,
|
|
253
|
+
}, string, vue509.PublicProps, Readonly<DropdownMenuRadioItemGroupProps> & Readonly<{
|
|
254
254
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
255
|
-
}>, {}, {}, {}, {}, string,
|
|
255
|
+
}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
256
256
|
default?: (props: {}) => any;
|
|
257
257
|
}>;
|
|
258
258
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -270,10 +270,10 @@ interface DropdownMenuRadioItemProps extends DropdownMenuRadioItemBaseProps,
|
|
|
270
270
|
*/
|
|
271
271
|
HTMLAttributes {}
|
|
272
272
|
declare const _default$13: typeof __VLS_export$6;
|
|
273
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
273
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue509.DefineComponent<DropdownMenuRadioItemProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuRadioItemProps> & Readonly<{}>, {
|
|
274
274
|
disabled: boolean;
|
|
275
275
|
closeOnSelect: boolean;
|
|
276
|
-
}, {}, {}, {}, string,
|
|
276
|
+
}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
277
277
|
default?: (props: {}) => any;
|
|
278
278
|
}>;
|
|
279
279
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -290,11 +290,11 @@ interface DropdownMenuRootProviderBaseProps extends RootProviderProps, RenderStr
|
|
|
290
290
|
interface DropdownMenuRootProviderProps extends DropdownMenuRootProviderBaseProps {}
|
|
291
291
|
interface DropdownMenuRootProviderEmits extends RootEmits$1 {}
|
|
292
292
|
declare const _default$16: typeof __VLS_export$5;
|
|
293
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
293
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue509.DefineComponent<DropdownMenuRootProviderProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {
|
|
294
294
|
exitComplete: () => any;
|
|
295
|
-
}, string,
|
|
295
|
+
}, string, vue509.PublicProps, Readonly<DropdownMenuRootProviderProps> & Readonly<{
|
|
296
296
|
onExitComplete?: (() => any) | undefined;
|
|
297
|
-
}>, {}, {}, {}, {}, string,
|
|
297
|
+
}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
298
298
|
default?: (props: {}) => any;
|
|
299
299
|
}>;
|
|
300
300
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -352,48 +352,48 @@ interface DropdownMenuRootBaseProps extends RootProps, RenderStrategyProps, Poly
|
|
|
352
352
|
interface DropdownMenuRootProps extends DropdownMenuRootBaseProps {}
|
|
353
353
|
interface DropdownMenuRootEmits extends RootEmits {}
|
|
354
354
|
declare const _default$15: typeof __VLS_export$4;
|
|
355
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
355
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue509.DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {
|
|
356
356
|
select: (details: dropdownMenu.SelectionDetails) => any;
|
|
357
357
|
exitComplete: () => any;
|
|
358
|
-
focusOutside: (event:
|
|
359
|
-
|
|
360
|
-
interactOutside: (event: _sprawlify_primitives_machines_dialog57.InteractOutsideEvent) => any;
|
|
358
|
+
focusOutside: (event: _sprawlify_primitives_machines_dialog5.FocusOutsideEvent) => any;
|
|
359
|
+
interactOutside: (event: _sprawlify_primitives_machines_dialog5.InteractOutsideEvent) => any;
|
|
361
360
|
openChange: (details: dropdownMenu.OpenChangeDetails) => any;
|
|
362
|
-
pointerDownOutside: (event:
|
|
361
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_dialog5.PointerDownOutsideEvent) => any;
|
|
363
362
|
"update:open": (open: boolean) => any;
|
|
364
|
-
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
365
363
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
364
|
+
highlightChange: (details: dropdownMenu.HighlightChangeDetails) => any;
|
|
366
365
|
requestDismiss: (event: CustomEvent<{
|
|
367
366
|
originalLayer: HTMLElement;
|
|
368
367
|
targetLayer: HTMLElement | undefined;
|
|
369
368
|
originalIndex: number;
|
|
370
369
|
targetIndex: number;
|
|
371
370
|
}>) => any;
|
|
372
|
-
|
|
371
|
+
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
372
|
+
}, string, vue509.PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
|
|
373
373
|
onSelect?: ((details: dropdownMenu.SelectionDetails) => any) | undefined;
|
|
374
374
|
onExitComplete?: (() => any) | undefined;
|
|
375
|
-
onFocusOutside?: ((event:
|
|
376
|
-
|
|
377
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog57.InteractOutsideEvent) => any) | undefined;
|
|
375
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_dialog5.FocusOutsideEvent) => any) | undefined;
|
|
376
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog5.InteractOutsideEvent) => any) | undefined;
|
|
378
377
|
onOpenChange?: ((details: dropdownMenu.OpenChangeDetails) => any) | undefined;
|
|
379
|
-
onPointerDownOutside?: ((event:
|
|
378
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog5.PointerDownOutsideEvent) => any) | undefined;
|
|
380
379
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
381
|
-
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
382
380
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
381
|
+
onHighlightChange?: ((details: dropdownMenu.HighlightChangeDetails) => any) | undefined;
|
|
383
382
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
384
383
|
originalLayer: HTMLElement;
|
|
385
384
|
targetLayer: HTMLElement | undefined;
|
|
386
385
|
originalIndex: number;
|
|
387
386
|
targetIndex: number;
|
|
388
387
|
}>) => any) | undefined;
|
|
388
|
+
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
389
389
|
}>, {
|
|
390
|
+
defaultOpen: boolean;
|
|
391
|
+
open: boolean;
|
|
390
392
|
closeOnSelect: boolean;
|
|
391
393
|
composite: boolean;
|
|
392
|
-
defaultOpen: boolean;
|
|
393
394
|
loopFocus: boolean;
|
|
394
|
-
open: boolean;
|
|
395
395
|
typeahead: boolean;
|
|
396
|
-
}, {}, {}, {}, string,
|
|
396
|
+
}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
397
397
|
default?: (props: {}) => any;
|
|
398
398
|
}>;
|
|
399
399
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -410,7 +410,7 @@ interface DropdownMenuSeparatorProps extends DropdownMenuSeparatorBaseProps,
|
|
|
410
410
|
*/
|
|
411
411
|
HTMLAttributes {}
|
|
412
412
|
declare const _default$17: typeof __VLS_export$3;
|
|
413
|
-
declare const __VLS_export$3:
|
|
413
|
+
declare const __VLS_export$3: vue509.DefineComponent<DropdownMenuSeparatorProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>;
|
|
414
414
|
//#endregion
|
|
415
415
|
//#region src/components/dropdown-menu/dropdown-menu-trigger-item.vue.d.ts
|
|
416
416
|
interface DropdownMenuTriggerItemBaseProps extends PolymorphicProps {}
|
|
@@ -420,7 +420,7 @@ interface DropdownMenuTriggerItemProps extends DropdownMenuTriggerItemBaseProps,
|
|
|
420
420
|
*/
|
|
421
421
|
HTMLAttributes {}
|
|
422
422
|
declare const _default$19: typeof __VLS_export$2;
|
|
423
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
423
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue509.DefineComponent<DropdownMenuTriggerItemProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuTriggerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
424
424
|
default?: (props: {}) => any;
|
|
425
425
|
}>;
|
|
426
426
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -437,7 +437,7 @@ interface DropdownMenuTriggerProps extends DropdownMenuTriggerBaseProps,
|
|
|
437
437
|
*/
|
|
438
438
|
ButtonHTMLAttributes {}
|
|
439
439
|
declare const _default$18: typeof __VLS_export$1;
|
|
440
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
440
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue509.DefineComponent<DropdownMenuTriggerProps, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<DropdownMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, false, {}, any>, {
|
|
441
441
|
default?: (props: {}) => any;
|
|
442
442
|
}>;
|
|
443
443
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -470,7 +470,7 @@ interface DropdownMenuContextProps extends SlotsType<{
|
|
|
470
470
|
default: UnwrapRef<UseDropdownMenuContext>;
|
|
471
471
|
}> {}
|
|
472
472
|
declare const _default$4: typeof __VLS_export;
|
|
473
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
473
|
+
declare const __VLS_export: __VLS_WithSlots<vue509.DefineComponent<{}, {}, {}, {}, {}, vue509.ComponentOptionsMixin, vue509.ComponentOptionsMixin, {}, string, vue509.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue509.ComponentProvideOptions, true, {}, any>, {
|
|
474
474
|
default(dropdownMenu: UnwrapRef<UseDropdownMenuContext>): unknown;
|
|
475
475
|
}>;
|
|
476
476
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,9 +5,9 @@ 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 dropdownMenuAnatomy } from "../../dropdown-menu-anatomy-C1luUwqi.js";
|
|
7
7
|
import { t as sprawlify } from "../../factory-yh31h0Rm.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
10
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-GbfPBIot.js";
|
|
9
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-B0RVis2X.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BuHH-PkI.js";
|
|
11
11
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, onBeforeUnmount, onMounted, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
12
|
import * as dropdownMenu from "@sprawlify/primitives/machines/dropdown-menu";
|
|
13
13
|
|