@sprawlify/vue 0.0.75 → 0.0.76
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/carousel-anatomy-CS3XZbw0.d.ts +6 -0
- package/dist/checkbox-anatomy-BzXdprCY.d.ts +6 -0
- package/dist/color-picker-anatomy-Jhiag8cb.d.ts +6 -0
- package/dist/combobox-anatomy-Bmc1BlRe.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +2 -1
- package/dist/components/anatomy.d.ts +14 -13
- package/dist/components/anatomy.js +2 -1
- package/dist/components/angle-slider/index.d.ts +14 -14
- package/dist/components/aspect-ratio/index.d.ts +97 -0
- package/dist/components/aspect-ratio/index.js +152 -0
- package/dist/components/avatar/index.d.ts +9 -9
- package/dist/components/bottom-sheet/index.d.ts +17 -17
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/checkbox/index.d.ts +19 -19
- package/dist/components/checkbox/index.js +3 -3
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +13 -13
- package/dist/components/collapsible/index.d.ts +10 -10
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.ts +51 -51
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.d.ts +34 -33
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/date-picker/index.d.ts +45 -45
- package/dist/components/dialog/index.d.ts +29 -29
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +23 -23
- package/dist/components/editable/index.js +1 -1
- package/dist/components/field/index.d.ts +23 -23
- 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 +22 -22
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-panel/index.d.ts +24 -25
- package/dist/components/focus-trap/index.d.ts +4 -4
- 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/hover-card/index.d.ts +21 -21
- package/dist/components/image-cropper/index.d.ts +13 -13
- package/dist/components/json-tree-view/index.d.ts +10 -10
- package/dist/components/json-tree-view/index.js +3 -2
- package/dist/components/listbox/index.d.ts +23 -23
- package/dist/components/marquee/index.d.ts +22 -22
- package/dist/components/menu/index.d.ts +57 -57
- package/dist/components/navigation-menu/index.d.ts +17 -17
- package/dist/components/number-input/index.d.ts +18 -18
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.d.ts +15 -15
- package/dist/components/password-input/index.d.ts +23 -23
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/pin-input/index.d.ts +13 -13
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.d.ts +33 -33
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/progress/index.d.ts +13 -13
- package/dist/components/qr-code/index.d.ts +9 -9
- package/dist/components/radio-group/index.d.ts +15 -15
- package/dist/components/radio-group/index.js +2 -2
- 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 +10 -10
- package/dist/components/segment-group/index.d.ts +15 -15
- package/dist/components/select/index.d.ts +38 -38
- package/dist/components/select/index.js +1 -1
- package/dist/components/separator/index.d.ts +5 -5
- package/dist/components/signature-pad/index.d.ts +14 -14
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.ts +19 -19
- package/dist/components/splitter/index.d.ts +12 -12
- package/dist/components/steps/index.d.ts +18 -18
- package/dist/components/switch/index.d.ts +13 -13
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +14 -14
- package/dist/components/tags-input/index.d.ts +34 -34
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/timer/index.d.ts +12 -12
- package/dist/components/toast/index.d.ts +9 -9
- package/dist/components/toggle/index.d.ts +8 -8
- package/dist/components/toggle-group/index.d.ts +10 -10
- package/dist/components/tooltip/index.d.ts +15 -15
- package/dist/components/tour/index.d.ts +29 -29
- package/dist/components/tree-view/index.d.ts +3 -3
- package/dist/components/tree-view/index.js +3 -2
- package/dist/date-picker-anatomy-BbgOfc-T.d.ts +6 -0
- package/dist/{field-anatomy-loNm9_9u.d.ts → field-anatomy-BudQLO5P.d.ts} +1 -1
- package/dist/fieldset-anatomy-BHRTGd-X.d.ts +6 -0
- package/dist/image-cropper-anatomy-D2maeqoK.d.ts +6 -0
- package/dist/{index-DZ1ummfv.d.ts → index-B2hCTOPN.d.ts} +30 -30
- package/dist/{index-DzrYvQ8H.d.ts → index-BJ8mRK6a.d.ts} +2 -2
- package/dist/{index-VvcSzgim.d.ts → index-CcIkwU2l.d.ts} +6 -6
- package/dist/{index-C-kA-knN.d.ts → index-Xh0TkLb6.d.ts} +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/listbox-anatomy-DsiGF3rU.d.ts +6 -0
- package/dist/{segment-group-anatomy-DesMk15u.d.ts → segment-group-anatomy-5X5sF6bU.d.ts} +2 -2
- package/dist/toggle-anatomy-BVLEnnrv.d.ts +6 -0
- package/dist/tour-anatomy-Cx59yoXC.d.ts +6 -0
- package/dist/{tree-view-D0JBQ_ly.js → tree-view--stP9jty.js} +1 -1
- package/package.json +6 -2
- package/dist/carousel-anatomy-D1y42Ex5.d.ts +0 -6
- package/dist/checkbox-anatomy-C3nJ17T-.d.ts +0 -6
- package/dist/color-picker-anatomy-Dyp524yB.d.ts +0 -6
- package/dist/combobox-anatomy-pMR3g6v-.d.ts +0 -6
- package/dist/date-picker-anatomy-Br9ap7TS.d.ts +0 -6
- package/dist/fieldset-anatomy-9h1GFO6X.d.ts +0 -6
- package/dist/image-cropper-anatomy-6_a6BSeW.d.ts +0 -6
- package/dist/listbox-anatomy-ZW3V07FW.d.ts +0 -6
- package/dist/toggle-anatomy-C4EVS7GQ.d.ts +0 -6
- package/dist/tour-anatomy-Bc1FNWON.d.ts +0 -6
- /package/dist/{boolean-L5YmbZkb.js → boolean-DRNklbLz.js} +0 -0
- /package/dist/{collapsible-OXksISO6.js → collapsible-fQ2-Jeml.js} +0 -0
- /package/dist/{field-B_BAnE0z.js → field-C8hrCSpZ.js} +0 -0
- /package/dist/{fieldset-XmKsNoOC.js → fieldset-FlcFnfDX.js} +0 -0
- /package/dist/{index-BezmG5AK.d.ts → index-FXQujPvZ.d.ts} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-CC57eEhO.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CEbMLMD1.js";
|
|
6
6
|
import { t as menuAnatomy } from "../../menu-anatomy-DcjSKaK6.js";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import * as
|
|
7
|
+
import "../../index-Xh0TkLb6.js";
|
|
8
|
+
import * as vue2603 from "vue";
|
|
9
9
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_bottom_sheet49 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
11
11
|
import * as menu from "@sprawlify/primitives/machines/menu";
|
|
12
|
-
import { FocusOutsideEvent, FocusOutsideEvent as MenuFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as MenuHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as MenuInteractOutsideEvent, ItemGroupProps
|
|
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";
|
|
13
13
|
|
|
14
14
|
//#region src/components/menu/menu-arrow-tip.vue.d.ts
|
|
15
15
|
interface MenuArrowTipBaseProps extends PolymorphicProps {}
|
|
@@ -19,7 +19,7 @@ interface MenuArrowTipProps extends MenuArrowTipBaseProps,
|
|
|
19
19
|
*/
|
|
20
20
|
HTMLAttributes {}
|
|
21
21
|
declare const _default$1: typeof __VLS_export$20;
|
|
22
|
-
declare const __VLS_export$20: __VLS_WithSlots$19<
|
|
22
|
+
declare const __VLS_export$20: __VLS_WithSlots$19<vue2603.DefineComponent<MenuArrowTipProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
23
23
|
default?: (props: {}) => any;
|
|
24
24
|
}>;
|
|
25
25
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
@@ -36,7 +36,7 @@ interface MenuArrowProps extends MenuArrowBaseProps,
|
|
|
36
36
|
*/
|
|
37
37
|
HTMLAttributes {}
|
|
38
38
|
declare const _default: typeof __VLS_export$19;
|
|
39
|
-
declare const __VLS_export$19: __VLS_WithSlots$18<
|
|
39
|
+
declare const __VLS_export$19: __VLS_WithSlots$18<vue2603.DefineComponent<MenuArrowProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
40
40
|
default?: (props: {}) => any;
|
|
41
41
|
}>;
|
|
42
42
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
@@ -57,15 +57,15 @@ type MenuCheckboxItemEmits = {
|
|
|
57
57
|
'update:checked': [value: boolean];
|
|
58
58
|
};
|
|
59
59
|
declare const _default$2: typeof __VLS_export$18;
|
|
60
|
-
declare const __VLS_export$18: __VLS_WithSlots$17<
|
|
60
|
+
declare const __VLS_export$18: __VLS_WithSlots$17<vue2603.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {
|
|
61
61
|
"update:checked": (value: boolean) => any;
|
|
62
|
-
}, string,
|
|
62
|
+
}, string, vue2603.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
|
|
63
63
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
64
64
|
}>, {
|
|
65
|
-
checked: boolean;
|
|
66
65
|
disabled: boolean;
|
|
66
|
+
checked: boolean;
|
|
67
67
|
closeOnSelect: boolean;
|
|
68
|
-
}, {}, {}, {}, string,
|
|
68
|
+
}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
69
69
|
default?: (props: {}) => any;
|
|
70
70
|
}>;
|
|
71
71
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
@@ -82,7 +82,7 @@ interface MenuContentProps extends MenuContentBaseProps,
|
|
|
82
82
|
*/
|
|
83
83
|
HTMLAttributes {}
|
|
84
84
|
declare const _default$3: typeof __VLS_export$17;
|
|
85
|
-
declare const __VLS_export$17: __VLS_WithSlots$16<
|
|
85
|
+
declare const __VLS_export$17: __VLS_WithSlots$16<vue2603.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
86
86
|
default?: (props: {}) => any;
|
|
87
87
|
}>;
|
|
88
88
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
@@ -99,7 +99,7 @@ interface MenuContextTriggerProps extends MenuContextTriggerBaseProps,
|
|
|
99
99
|
*/
|
|
100
100
|
ButtonHTMLAttributes {}
|
|
101
101
|
declare const _default$5: typeof __VLS_export$16;
|
|
102
|
-
declare const __VLS_export$16: __VLS_WithSlots$15<
|
|
102
|
+
declare const __VLS_export$16: __VLS_WithSlots$15<vue2603.DefineComponent<MenuContextTriggerProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuContextTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
103
103
|
default?: (props: {}) => any;
|
|
104
104
|
}>;
|
|
105
105
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
@@ -116,7 +116,7 @@ interface MenuIndicatorProps extends MenuIndicatorBaseProps,
|
|
|
116
116
|
*/
|
|
117
117
|
HTMLAttributes {}
|
|
118
118
|
declare const _default$6: typeof __VLS_export$15;
|
|
119
|
-
declare const __VLS_export$15: __VLS_WithSlots$14<
|
|
119
|
+
declare const __VLS_export$15: __VLS_WithSlots$14<vue2603.DefineComponent<MenuIndicatorProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
120
120
|
default?: (props: {}) => any;
|
|
121
121
|
}>;
|
|
122
122
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -133,7 +133,7 @@ interface MenuItemContextProps extends SlotsType<{
|
|
|
133
133
|
default: UnwrapRef<UseMenuItemContext>;
|
|
134
134
|
}> {}
|
|
135
135
|
declare const _default$8: typeof __VLS_export$14;
|
|
136
|
-
declare const __VLS_export$14: __VLS_WithSlots$13<
|
|
136
|
+
declare const __VLS_export$14: __VLS_WithSlots$13<vue2603.DefineComponent<{}, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, true, {}, any>, {
|
|
137
137
|
default(item: UnwrapRef<UseMenuItemContext>): unknown;
|
|
138
138
|
}>;
|
|
139
139
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -150,7 +150,7 @@ interface MenuItemGroupLabelProps extends MenuItemGroupLabelBaseProps,
|
|
|
150
150
|
*/
|
|
151
151
|
HTMLAttributes {}
|
|
152
152
|
declare const _default$10: typeof __VLS_export$13;
|
|
153
|
-
declare const __VLS_export$13: __VLS_WithSlots$12<
|
|
153
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<vue2603.DefineComponent<MenuItemGroupLabelProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
154
154
|
default?: (props: {}) => any;
|
|
155
155
|
}>;
|
|
156
156
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -160,14 +160,14 @@ type __VLS_WithSlots$12<T, S> = T & {
|
|
|
160
160
|
};
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region src/components/menu/menu-item-group.vue.d.ts
|
|
163
|
-
interface MenuItemGroupBaseProps extends Partial<ItemGroupProps
|
|
163
|
+
interface MenuItemGroupBaseProps extends Partial<ItemGroupProps>, PolymorphicProps {}
|
|
164
164
|
interface MenuItemGroupProps extends MenuItemGroupBaseProps,
|
|
165
165
|
/**
|
|
166
166
|
* @vue-ignore
|
|
167
167
|
*/
|
|
168
168
|
HTMLAttributes {}
|
|
169
169
|
declare const _default$9: typeof __VLS_export$12;
|
|
170
|
-
declare const __VLS_export$12: __VLS_WithSlots$11<
|
|
170
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<vue2603.DefineComponent<MenuItemGroupProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
171
171
|
default?: (props: {}) => any;
|
|
172
172
|
}>;
|
|
173
173
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -184,7 +184,7 @@ interface MenuItemIndicatorProps extends MenuItemIndicatorBaseProps,
|
|
|
184
184
|
*/
|
|
185
185
|
HTMLAttributes {}
|
|
186
186
|
declare const _default$11: typeof __VLS_export$11;
|
|
187
|
-
declare const __VLS_export$11: __VLS_WithSlots$10<
|
|
187
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<vue2603.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
188
188
|
default?: (props: {}) => any;
|
|
189
189
|
}>;
|
|
190
190
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -201,7 +201,7 @@ interface MenuItemTextProps extends MenuItemTextBaseProps,
|
|
|
201
201
|
*/
|
|
202
202
|
HTMLAttributes {}
|
|
203
203
|
declare const _default$12: typeof __VLS_export$10;
|
|
204
|
-
declare const __VLS_export$10: __VLS_WithSlots$9<
|
|
204
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<vue2603.DefineComponent<MenuItemTextProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
205
205
|
default?: (props: {}) => any;
|
|
206
206
|
}>;
|
|
207
207
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -211,21 +211,21 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
211
211
|
};
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region src/components/menu/menu-item.vue.d.ts
|
|
214
|
-
interface MenuItemBaseProps extends ItemProps
|
|
214
|
+
interface MenuItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
215
215
|
interface MenuItemProps extends MenuItemBaseProps,
|
|
216
216
|
/**
|
|
217
217
|
* @vue-ignore
|
|
218
218
|
*/
|
|
219
219
|
Omit<HTMLAttributes, 'onSelect'> {}
|
|
220
220
|
declare const _default$7: typeof __VLS_export$9;
|
|
221
|
-
declare const __VLS_export$9: __VLS_WithSlots$8<
|
|
221
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<vue2603.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {} & {
|
|
222
222
|
select: () => any;
|
|
223
|
-
}, string,
|
|
223
|
+
}, string, vue2603.PublicProps, Readonly<MenuItemProps> & Readonly<{
|
|
224
224
|
onSelect?: (() => any) | undefined;
|
|
225
225
|
}>, {
|
|
226
226
|
disabled: boolean;
|
|
227
227
|
closeOnSelect: boolean;
|
|
228
|
-
}, {}, {}, {}, string,
|
|
228
|
+
}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
229
229
|
default?: (props: {}) => any;
|
|
230
230
|
}>;
|
|
231
231
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -242,7 +242,7 @@ interface MenuPositionerProps extends MenuPositionerBaseProps,
|
|
|
242
242
|
*/
|
|
243
243
|
HTMLAttributes {}
|
|
244
244
|
declare const _default$13: typeof __VLS_export$8;
|
|
245
|
-
declare const __VLS_export$8: __VLS_WithSlots$7<
|
|
245
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue2603.DefineComponent<MenuPositionerProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
246
246
|
default?: (props: {}) => any;
|
|
247
247
|
}>;
|
|
248
248
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -265,11 +265,11 @@ type MenuRadioItemGroupEmits = {
|
|
|
265
265
|
'update:modelValue': [value: string];
|
|
266
266
|
};
|
|
267
267
|
declare const _default$15: typeof __VLS_export$7;
|
|
268
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
268
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue2603.DefineComponent<MenuRadioItemGroupProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {
|
|
269
269
|
"update:modelValue": (value: string) => any;
|
|
270
|
-
}, string,
|
|
270
|
+
}, string, vue2603.PublicProps, Readonly<MenuRadioItemGroupProps> & Readonly<{
|
|
271
271
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
272
|
-
}>, {}, {}, {}, {}, string,
|
|
272
|
+
}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
273
273
|
default?: (props: {}) => any;
|
|
274
274
|
}>;
|
|
275
275
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -287,10 +287,10 @@ interface MenuRadioItemProps extends MenuRadioItemBaseProps,
|
|
|
287
287
|
*/
|
|
288
288
|
HTMLAttributes {}
|
|
289
289
|
declare const _default$14: typeof __VLS_export$6;
|
|
290
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
290
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue2603.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{}>, {
|
|
291
291
|
disabled: boolean;
|
|
292
292
|
closeOnSelect: boolean;
|
|
293
|
-
}, {}, {}, {}, string,
|
|
293
|
+
}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
294
294
|
default?: (props: {}) => any;
|
|
295
295
|
}>;
|
|
296
296
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -307,11 +307,11 @@ interface MenuRootProviderBaseProps extends RootProviderProps, RenderStrategyPro
|
|
|
307
307
|
interface MenuRootProviderProps extends MenuRootProviderBaseProps {}
|
|
308
308
|
interface MenuRootProviderEmits extends RootEmits$1 {}
|
|
309
309
|
declare const _default$17: typeof __VLS_export$5;
|
|
310
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
310
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue2603.DefineComponent<MenuRootProviderProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {
|
|
311
311
|
exitComplete: () => any;
|
|
312
|
-
}, string,
|
|
312
|
+
}, string, vue2603.PublicProps, Readonly<MenuRootProviderProps> & Readonly<{
|
|
313
313
|
onExitComplete?: (() => any) | undefined;
|
|
314
|
-
}>, {}, {}, {}, {}, string,
|
|
314
|
+
}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
315
315
|
default?: (props: {}) => any;
|
|
316
316
|
}>;
|
|
317
317
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -369,48 +369,48 @@ interface MenuRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicP
|
|
|
369
369
|
interface MenuRootProps extends MenuRootBaseProps {}
|
|
370
370
|
interface MenuRootEmits extends RootEmits {}
|
|
371
371
|
declare const _default$16: typeof __VLS_export$4;
|
|
372
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
372
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue2603.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {
|
|
373
373
|
select: (details: menu.SelectionDetails) => any;
|
|
374
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
374
375
|
exitComplete: () => any;
|
|
375
|
-
focusOutside: (event:
|
|
376
|
-
|
|
377
|
-
interactOutside: (event: _sprawlify_primitives_machines_combobox37.InteractOutsideEvent) => any;
|
|
376
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet49.FocusOutsideEvent) => any;
|
|
377
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet49.InteractOutsideEvent) => any;
|
|
378
378
|
openChange: (details: menu.OpenChangeDetails) => any;
|
|
379
|
-
pointerDownOutside: (event:
|
|
380
|
-
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
381
|
-
"update:open": (open: boolean) => any;
|
|
382
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
379
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet49.PointerDownOutsideEvent) => any;
|
|
383
380
|
requestDismiss: (event: CustomEvent<{
|
|
384
381
|
originalLayer: HTMLElement;
|
|
385
382
|
targetLayer: HTMLElement | undefined;
|
|
386
383
|
originalIndex: number;
|
|
387
384
|
targetIndex: number;
|
|
388
385
|
}>) => any;
|
|
389
|
-
|
|
386
|
+
"update:open": (open: boolean) => any;
|
|
387
|
+
highlightChange: (details: menu.HighlightChangeDetails) => any;
|
|
388
|
+
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
389
|
+
}, string, vue2603.PublicProps, Readonly<MenuRootProps> & Readonly<{
|
|
390
390
|
onSelect?: ((details: menu.SelectionDetails) => any) | undefined;
|
|
391
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
391
392
|
onExitComplete?: (() => any) | undefined;
|
|
392
|
-
onFocusOutside?: ((event:
|
|
393
|
-
|
|
394
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_combobox37.InteractOutsideEvent) => any) | undefined;
|
|
393
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet49.FocusOutsideEvent) => any) | undefined;
|
|
394
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet49.InteractOutsideEvent) => any) | undefined;
|
|
395
395
|
onOpenChange?: ((details: menu.OpenChangeDetails) => any) | undefined;
|
|
396
|
-
onPointerDownOutside?: ((event:
|
|
397
|
-
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
398
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
399
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
396
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet49.PointerDownOutsideEvent) => any) | undefined;
|
|
400
397
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
401
398
|
originalLayer: HTMLElement;
|
|
402
399
|
targetLayer: HTMLElement | undefined;
|
|
403
400
|
originalIndex: number;
|
|
404
401
|
targetIndex: number;
|
|
405
402
|
}>) => any) | undefined;
|
|
403
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
404
|
+
onHighlightChange?: ((details: menu.HighlightChangeDetails) => any) | undefined;
|
|
405
|
+
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
406
406
|
}>, {
|
|
407
|
-
typeahead: boolean;
|
|
408
|
-
closeOnSelect: boolean;
|
|
409
407
|
composite: boolean;
|
|
410
|
-
defaultOpen: boolean;
|
|
411
408
|
loopFocus: boolean;
|
|
409
|
+
defaultOpen: boolean;
|
|
412
410
|
open: boolean;
|
|
413
|
-
|
|
411
|
+
closeOnSelect: boolean;
|
|
412
|
+
typeahead: boolean;
|
|
413
|
+
}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
414
414
|
default?: (props: {}) => any;
|
|
415
415
|
}>;
|
|
416
416
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -427,7 +427,7 @@ interface MenuSeparatorProps extends MenuSeparatorBaseProps,
|
|
|
427
427
|
*/
|
|
428
428
|
HTMLAttributes {}
|
|
429
429
|
declare const _default$18: typeof __VLS_export$3;
|
|
430
|
-
declare const __VLS_export$3:
|
|
430
|
+
declare const __VLS_export$3: vue2603.DefineComponent<MenuSeparatorProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>;
|
|
431
431
|
//#endregion
|
|
432
432
|
//#region src/components/menu/menu-trigger-item.vue.d.ts
|
|
433
433
|
interface MenuTriggerItemBaseProps extends PolymorphicProps {}
|
|
@@ -437,7 +437,7 @@ interface MenuTriggerItemProps extends MenuTriggerItemBaseProps,
|
|
|
437
437
|
*/
|
|
438
438
|
HTMLAttributes {}
|
|
439
439
|
declare const _default$20: typeof __VLS_export$2;
|
|
440
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
440
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2603.DefineComponent<MenuTriggerItemProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuTriggerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
441
441
|
default?: (props: {}) => any;
|
|
442
442
|
}>;
|
|
443
443
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -454,7 +454,7 @@ interface MenuTriggerProps extends MenuTriggerBaseProps,
|
|
|
454
454
|
*/
|
|
455
455
|
ButtonHTMLAttributes {}
|
|
456
456
|
declare const _default$19: typeof __VLS_export$1;
|
|
457
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
457
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2603.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, false, {}, any>, {
|
|
458
458
|
default?: (props: {}) => any;
|
|
459
459
|
}>;
|
|
460
460
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -487,7 +487,7 @@ interface MenuContextProps extends SlotsType<{
|
|
|
487
487
|
default: UnwrapRef<UseMenuContext>;
|
|
488
488
|
}> {}
|
|
489
489
|
declare const _default$4: typeof __VLS_export;
|
|
490
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
490
|
+
declare const __VLS_export: __VLS_WithSlots<vue2603.DefineComponent<{}, {}, {}, {}, {}, vue2603.ComponentOptionsMixin, vue2603.ComponentOptionsMixin, {}, string, vue2603.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2603.ComponentProvideOptions, true, {}, any>, {
|
|
491
491
|
default(menu: UnwrapRef<UseMenuContext>): unknown;
|
|
492
492
|
}>;
|
|
493
493
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
3
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
4
4
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CEbMLMD1.js";
|
|
5
5
|
import { t as navigationMenuAnatomy } from "../../navigation-menu-anatomy-bvfS7a-6.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue2357 from "vue";
|
|
7
7
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import * as navigationMenu from "@sprawlify/primitives/machines/navigation-menu";
|
|
9
9
|
import { ContentProps, ItemProps, LinkProps, ValueChangeDetails, ValueChangeDetails as NavigationMenuValueChangeDetails, ViewportProps } from "@sprawlify/primitives/machines/navigation-menu";
|
|
@@ -16,7 +16,7 @@ interface NavigationMenuArrowProps extends NavigationMenuArrowBaseProps,
|
|
|
16
16
|
*/
|
|
17
17
|
HTMLAttributes {}
|
|
18
18
|
declare const _default: typeof __VLS_export$12;
|
|
19
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<
|
|
19
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<vue2357.DefineComponent<NavigationMenuArrowProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
20
20
|
default?: (props: {}) => any;
|
|
21
21
|
}>;
|
|
22
22
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ interface NavigationMenuContentProps extends NavigationMenuContentBaseProps,
|
|
|
33
33
|
*/
|
|
34
34
|
Omit<HTMLAttributes, 'onSelect'> {}
|
|
35
35
|
declare const _default$1: typeof __VLS_export$11;
|
|
36
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<
|
|
36
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<vue2357.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
37
37
|
default?: (props: {}) => any;
|
|
38
38
|
} & {
|
|
39
39
|
default?: (props: {}) => any;
|
|
@@ -82,7 +82,7 @@ interface NavigationMenuContextProps extends SlotsType<{
|
|
|
82
82
|
default: UnwrapRef<UseNavigationMenuContext>;
|
|
83
83
|
}> {}
|
|
84
84
|
declare const _default$2: typeof __VLS_export$10;
|
|
85
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
85
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue2357.DefineComponent<{}, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, true, {}, any>, {
|
|
86
86
|
default(navigationMenu: UnwrapRef<UseNavigationMenuContext>): unknown;
|
|
87
87
|
}>;
|
|
88
88
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -99,7 +99,7 @@ interface NavigationMenuIndicatorProps extends NavigationMenuIndicatorBaseProps,
|
|
|
99
99
|
*/
|
|
100
100
|
HTMLAttributes {}
|
|
101
101
|
declare const _default$3: typeof __VLS_export$9;
|
|
102
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
102
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue2357.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
103
103
|
default?: (props: {}) => any;
|
|
104
104
|
}>;
|
|
105
105
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -116,7 +116,7 @@ interface NavigationMenuItemProps extends NavigationMenuItemBaseProps,
|
|
|
116
116
|
*/
|
|
117
117
|
HTMLAttributes {}
|
|
118
118
|
declare const _default$4: typeof __VLS_export$8;
|
|
119
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
119
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue2357.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
120
120
|
default?: (props: {}) => any;
|
|
121
121
|
}>;
|
|
122
122
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -133,7 +133,7 @@ interface NavigationMenuItemIndicatorProps extends NavigationMenuItemIndicatorBa
|
|
|
133
133
|
*/
|
|
134
134
|
HTMLAttributes {}
|
|
135
135
|
declare const _default$5: typeof __VLS_export$7;
|
|
136
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
136
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue2357.DefineComponent<NavigationMenuItemIndicatorProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
137
137
|
default?: (props: {}) => any;
|
|
138
138
|
}>;
|
|
139
139
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -150,7 +150,7 @@ interface NavigationMenuLinkProps extends NavigationMenuLinkBaseProps,
|
|
|
150
150
|
*/
|
|
151
151
|
Omit<AnchorHTMLAttributes, 'current' | 'onSelect'> {}
|
|
152
152
|
declare const _default$6: typeof __VLS_export$6;
|
|
153
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
153
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2357.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
154
154
|
default?: (props: {}) => any;
|
|
155
155
|
}>;
|
|
156
156
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -167,7 +167,7 @@ interface NavigationMenuListProps extends NavigationMenuListBaseProps,
|
|
|
167
167
|
*/
|
|
168
168
|
HTMLAttributes {}
|
|
169
169
|
declare const _default$7: typeof __VLS_export$5;
|
|
170
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
170
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2357.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
171
171
|
default?: (props: {}) => any;
|
|
172
172
|
}>;
|
|
173
173
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -181,17 +181,17 @@ interface NavigationMenuRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
181
181
|
interface NavigationMenuRootProps extends NavigationMenuRootBaseProps {}
|
|
182
182
|
interface NavigationMenuRootEmits extends RootEmits {}
|
|
183
183
|
declare const _default$8: typeof __VLS_export$4;
|
|
184
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
184
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2357.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {
|
|
185
185
|
valueChange: (details: navigationMenu.ValueChangeDetails) => any;
|
|
186
186
|
"update:value": (value: string) => any;
|
|
187
|
-
}, string,
|
|
187
|
+
}, string, vue2357.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
188
188
|
onValueChange?: ((details: navigationMenu.ValueChangeDetails) => any) | undefined;
|
|
189
189
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
disableClickTrigger: boolean;
|
|
192
192
|
disableHoverTrigger: boolean;
|
|
193
193
|
disablePointerLeaveClose: boolean;
|
|
194
|
-
}, {}, {}, {}, string,
|
|
194
|
+
}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
195
195
|
default?: (props: {}) => any;
|
|
196
196
|
}>;
|
|
197
197
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -207,7 +207,7 @@ interface RootProviderProps {
|
|
|
207
207
|
interface NavigationMenuRootProviderBaseProps extends RootProviderProps, RenderStrategyProps {}
|
|
208
208
|
interface NavigationMenuRootProviderProps extends NavigationMenuRootProviderBaseProps {}
|
|
209
209
|
declare const _default$9: typeof __VLS_export$3;
|
|
210
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
210
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2357.DefineComponent<NavigationMenuRootProviderProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
211
211
|
default?: (props: {}) => any;
|
|
212
212
|
}>;
|
|
213
213
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -224,7 +224,7 @@ interface NavigationMenuTriggerProps extends NavigationMenuTriggerBaseProps,
|
|
|
224
224
|
*/
|
|
225
225
|
Omit<ButtonHTMLAttributes, 'disabled' | 'value'> {}
|
|
226
226
|
declare const _default$10: typeof __VLS_export$2;
|
|
227
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
227
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2357.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
228
228
|
default?: (props: {}) => any;
|
|
229
229
|
}>;
|
|
230
230
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -241,7 +241,7 @@ interface NavigationMenuViewportProps extends NavigationMenuViewportBaseProps,
|
|
|
241
241
|
*/
|
|
242
242
|
HTMLAttributes {}
|
|
243
243
|
declare const _default$11: typeof __VLS_export$1;
|
|
244
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
244
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2357.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
245
245
|
default?: (props: {}) => any;
|
|
246
246
|
}>;
|
|
247
247
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -258,7 +258,7 @@ interface NavigationMenuViewportPositionerProps extends NavigationMenuViewportPo
|
|
|
258
258
|
*/
|
|
259
259
|
HTMLAttributes {}
|
|
260
260
|
declare const _default$12: typeof __VLS_export;
|
|
261
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
261
|
+
declare const __VLS_export: __VLS_WithSlots<vue2357.DefineComponent<NavigationMenuViewportPositionerProps, {}, {}, {}, {}, vue2357.ComponentOptionsMixin, vue2357.ComponentOptionsMixin, {}, string, vue2357.PublicProps, Readonly<NavigationMenuViewportPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2357.ComponentProvideOptions, false, {}, any>, {
|
|
262
262
|
default?: (props: {}) => any;
|
|
263
263
|
}>;
|
|
264
264
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
3
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
4
4
|
import { t as numberInputAnatomy } from "../../number-input-anatomy-BEL1Q-ZK.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1740 from "vue";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as numberInput from "@sprawlify/primitives/machines/number-input";
|
|
8
8
|
import { FocusChangeDetails, FocusChangeDetails as NumberInputFocusChangeDetails, ValueChangeDetails, ValueChangeDetails as NumberInputValueChangeDetails, ValueInvalidDetails, ValueInvalidDetails as NumberInputValueInvalidDetails } from "@sprawlify/primitives/machines/number-input";
|
|
@@ -62,7 +62,7 @@ interface NumberInputContextProps extends SlotsType<{
|
|
|
62
62
|
default: UnwrapRef<UseNumberInputContext>;
|
|
63
63
|
}> {}
|
|
64
64
|
declare const _default: typeof __VLS_export$9;
|
|
65
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
65
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue1740.DefineComponent<{}, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, true, {}, any>, {
|
|
66
66
|
default(numberInput: UnwrapRef<UseNumberInputContext>): unknown;
|
|
67
67
|
}>;
|
|
68
68
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -79,7 +79,7 @@ interface NumberInputControlProps extends NumberInputControlBaseProps,
|
|
|
79
79
|
*/
|
|
80
80
|
HTMLAttributes {}
|
|
81
81
|
declare const _default$1: typeof __VLS_export$8;
|
|
82
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
82
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue1740.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
83
83
|
default?: (props: {}) => any;
|
|
84
84
|
}>;
|
|
85
85
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -96,7 +96,7 @@ interface NumberInputDecrementTriggerProps extends NumberInputDecrementTriggerBa
|
|
|
96
96
|
*/
|
|
97
97
|
ButtonHTMLAttributes {}
|
|
98
98
|
declare const _default$2: typeof __VLS_export$7;
|
|
99
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
99
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue1740.DefineComponent<NumberInputDecrementTriggerProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputDecrementTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
100
100
|
default?: (props: {}) => any;
|
|
101
101
|
}>;
|
|
102
102
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -113,7 +113,7 @@ interface NumberInputIncrementTriggerProps extends NumberInputIncrementTriggerBa
|
|
|
113
113
|
*/
|
|
114
114
|
ButtonHTMLAttributes {}
|
|
115
115
|
declare const _default$3: typeof __VLS_export$6;
|
|
116
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
116
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1740.DefineComponent<NumberInputIncrementTriggerProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputIncrementTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
117
117
|
default?: (props: {}) => any;
|
|
118
118
|
}>;
|
|
119
119
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -130,7 +130,7 @@ interface NumberInputInputProps extends NumberInputInputBaseProps,
|
|
|
130
130
|
*/
|
|
131
131
|
InputHTMLAttributes {}
|
|
132
132
|
declare const _default$4: typeof __VLS_export$5;
|
|
133
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
133
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1740.DefineComponent<NumberInputInputProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
134
134
|
default?: (props: {}) => any;
|
|
135
135
|
}>;
|
|
136
136
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -147,7 +147,7 @@ interface NumberInputLabelProps extends NumberInputLabelBaseProps,
|
|
|
147
147
|
*/
|
|
148
148
|
LabelHTMLAttributes {}
|
|
149
149
|
declare const _default$5: typeof __VLS_export$4;
|
|
150
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
150
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1740.DefineComponent<NumberInputLabelProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
151
151
|
default?: (props: {}) => any;
|
|
152
152
|
}>;
|
|
153
153
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -167,7 +167,7 @@ interface NumberInputRootProviderProps extends NumberInputRootProviderBaseProps,
|
|
|
167
167
|
*/
|
|
168
168
|
HTMLAttributes {}
|
|
169
169
|
declare const _default$7: typeof __VLS_export$3;
|
|
170
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
170
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1740.DefineComponent<NumberInputRootProviderProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
171
171
|
default?: (props: {}) => any;
|
|
172
172
|
}>;
|
|
173
173
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -185,27 +185,27 @@ interface NumberInputRootProps extends NumberInputRootBaseProps,
|
|
|
185
185
|
HTMLAttributes {}
|
|
186
186
|
interface NumberInputRootEmits extends RootEmits {}
|
|
187
187
|
declare const _default$6: typeof __VLS_export$2;
|
|
188
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
189
|
-
focusChange: (details: numberInput.FocusChangeDetails) => any;
|
|
188
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1740.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {
|
|
190
189
|
valueChange: (details: numberInput.ValueChangeDetails) => any;
|
|
191
190
|
"update:modelValue": (value: string) => any;
|
|
191
|
+
focusChange: (details: numberInput.FocusChangeDetails) => any;
|
|
192
192
|
valueInvalid: (details: numberInput.ValueInvalidDetails) => any;
|
|
193
|
-
}, string,
|
|
194
|
-
onFocusChange?: ((details: numberInput.FocusChangeDetails) => any) | undefined;
|
|
193
|
+
}, string, vue1740.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
|
|
195
194
|
onValueChange?: ((details: numberInput.ValueChangeDetails) => any) | undefined;
|
|
196
195
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
196
|
+
onFocusChange?: ((details: numberInput.FocusChangeDetails) => any) | undefined;
|
|
197
197
|
onValueInvalid?: ((details: numberInput.ValueInvalidDetails) => any) | undefined;
|
|
198
198
|
}>, {
|
|
199
199
|
disabled: boolean;
|
|
200
|
-
required: boolean;
|
|
201
200
|
invalid: boolean;
|
|
202
201
|
readOnly: boolean;
|
|
203
|
-
|
|
202
|
+
required: boolean;
|
|
204
203
|
allowOverflow: boolean;
|
|
204
|
+
allowMouseWheel: boolean;
|
|
205
205
|
clampValueOnBlur: boolean;
|
|
206
206
|
focusInputOnChange: boolean;
|
|
207
207
|
spinOnPress: boolean;
|
|
208
|
-
}, {}, {}, {}, string,
|
|
208
|
+
}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
209
209
|
default?: (props: {}) => any;
|
|
210
210
|
}>;
|
|
211
211
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -222,7 +222,7 @@ interface NumberInputScrubberProps extends NumberInputScrubberBaseProps,
|
|
|
222
222
|
*/
|
|
223
223
|
HTMLAttributes {}
|
|
224
224
|
declare const _default$8: typeof __VLS_export$1;
|
|
225
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
225
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1740.DefineComponent<NumberInputScrubberProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputScrubberProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
226
226
|
default?: (props: {}) => any;
|
|
227
227
|
}>;
|
|
228
228
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -239,7 +239,7 @@ interface NumberInputValueTextProps extends NumberInputValueTextBaseProps,
|
|
|
239
239
|
*/
|
|
240
240
|
HTMLAttributes {}
|
|
241
241
|
declare const _default$9: typeof __VLS_export;
|
|
242
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
242
|
+
declare const __VLS_export: __VLS_WithSlots<vue1740.DefineComponent<NumberInputValueTextProps, {}, {}, {}, {}, vue1740.ComponentOptionsMixin, vue1740.ComponentOptionsMixin, {}, string, vue1740.PublicProps, Readonly<NumberInputValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1740.ComponentProvideOptions, false, {}, any>, {
|
|
243
243
|
default?: (props: {}) => any;
|
|
244
244
|
}>;
|
|
245
245
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -7,7 +7,7 @@ import "../../field-anatomy-DOCpzb4B.js";
|
|
|
7
7
|
import { t as numberInputAnatomy } from "../../number-input-anatomy-hB3PpB4j.js";
|
|
8
8
|
import { t as sprawlify } from "../../factory-xNPol80p.js";
|
|
9
9
|
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
-
import { p as useFieldContext } from "../../field-
|
|
10
|
+
import { p as useFieldContext } from "../../field-C8hrCSpZ.js";
|
|
11
11
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
12
|
import * as numberInput from "@sprawlify/primitives/machines/number-input";
|
|
13
13
|
|