@sprawlify/vue 0.0.78 → 0.0.79
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 +6 -0
- package/dist/carousel-anatomy-CowY8V-J.d.ts +6 -0
- package/dist/checkbox-anatomy-BwEm409M.d.ts +6 -0
- package/dist/{collapsible-DjMeJSQq.js → collapsible-DLRrv-CU.js} +1 -1
- package/dist/{collection-D_pMm6Yu.js → collection-Cp7jsgmq.js} +1 -1
- package/dist/color-picker-anatomy-DgvTw5Yh.d.ts +6 -0
- package/dist/combobox-anatomy-DNShli14.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +13 -13
- package/dist/components/accordion/index.js +4 -5
- package/dist/components/alert-dialog/index.d.ts +21 -21
- package/dist/components/alert-dialog/index.js +3 -3
- package/dist/components/anatomy.d.ts +15 -15
- package/dist/components/anatomy.js +2 -2
- package/dist/components/angle-slider/index.d.ts +14 -14
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/aspect-ratio/index.d.ts +5 -5
- package/dist/components/aspect-ratio/index.js +1 -1
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +15 -15
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +21 -21
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +18 -18
- 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 +12 -12
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +51 -51
- package/dist/components/color-picker/index.js +4 -4
- package/dist/components/combobox/index.d.ts +31 -31
- package/dist/components/combobox/index.js +5 -5
- package/dist/components/date-picker/index.d.ts +42 -42
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +20 -20
- 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 +482 -0
- package/dist/components/dropdown-menu/index.js +861 -0
- package/dist/components/editable/index.d.ts +23 -23
- package/dist/components/editable/index.js +2 -2
- 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 +2 -2
- package/dist/components/floating-panel/index.d.ts +23 -23
- 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 +5 -5
- 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 +12 -12
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +8 -7
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +19 -19
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +21 -21
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/navigation-menu/index.d.ts +16 -16
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +15 -15
- package/dist/components/number-input/index.js +2 -2
- package/dist/components/pagination/index.d.ts +14 -14
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +22 -22
- package/dist/components/password-input/index.js +2 -2
- package/dist/components/pin-input/index.d.ts +12 -12
- package/dist/components/pin-input/index.js +2 -2
- package/dist/components/popover/index.d.ts +28 -28
- package/dist/components/popover/index.js +3 -3
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +1 -1
- package/dist/components/progress/index.d.ts +12 -12
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +8 -8
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +14 -14
- package/dist/components/radio-group/index.js +3 -3
- package/dist/components/rating-group/index.d.ts +12 -12
- package/dist/components/rating-group/index.js +2 -2
- package/dist/components/scroll-area/index.d.ts +9 -9
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +14 -14
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +30 -30
- package/dist/components/select/index.js +5 -5
- package/dist/components/separator/index.d.ts +4 -4
- package/dist/components/separator/index.js +1 -1
- package/dist/components/signature-pad/index.d.ts +12 -12
- package/dist/components/signature-pad/index.js +2 -2
- package/dist/components/slider/index.d.ts +17 -17
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.d.ts +11 -11
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.d.ts +11 -11
- package/dist/components/switch/index.js +2 -2
- package/dist/components/tabs/index.d.ts +10 -10
- 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 +11 -11
- package/dist/components/timer/index.js +1 -1
- package/dist/components/toast/index.d.ts +8 -8
- package/dist/components/toggle/index.d.ts +7 -7
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle-group/index.d.ts +7 -7
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/tooltip/index.d.ts +16 -16
- package/dist/components/tooltip/index.js +3 -3
- package/dist/components/tour/index.d.ts +26 -26
- package/dist/components/tour/index.js +3 -3
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +4 -5
- package/dist/date-picker-anatomy-DV850Y1_.d.ts +6 -0
- package/dist/dropdown-menu-anatomy-BqRBod4K.d.ts +2 -0
- package/dist/dropdown-menu-anatomy-C1luUwqi.js +3 -0
- package/dist/field-anatomy-CaySAbVn.d.ts +6 -0
- package/dist/fieldset-anatomy-JIjxInfF.d.ts +6 -0
- package/dist/image-cropper-anatomy-D653Zi5L.d.ts +6 -0
- package/dist/{index-BhhexQkI.d.ts → index-CLgQxaLY.d.ts} +7 -7
- package/dist/{index-CjibFYf6.d.ts → index-DOWv-lNG.d.ts} +6 -6
- package/dist/{index-VE6rqFS6.d.ts → index-Gp2PxjGZ.d.ts} +28 -28
- package/dist/index.d.ts +1 -1
- package/dist/listbox-anatomy-5UspVLuv.d.ts +6 -0
- package/dist/{segment-group-anatomy-BU6WKUuZ.d.ts → segment-group-anatomy-C0MnlQij.d.ts} +2 -2
- package/dist/toggle-anatomy-om-9P9sX.d.ts +6 -0
- package/dist/tour-anatomy-B3Vov9hM.d.ts +6 -0
- package/dist/{tree-view-D0uubGi5.js → tree-view-DNxj9zJu.js} +4 -4
- package/package.json +6 -6
- package/dist/alert-dialog-anatomy-BrNEI6V3.d.ts +0 -6
- package/dist/carousel-anatomy-CpS__fTf.d.ts +0 -6
- package/dist/checkbox-anatomy-DxWYIBLF.d.ts +0 -6
- package/dist/color-picker-anatomy-0TvgSkT9.d.ts +0 -6
- package/dist/combobox-anatomy-IMlD0ohP.d.ts +0 -6
- package/dist/components/menu/index.d.ts +0 -499
- package/dist/components/menu/index.js +0 -886
- package/dist/date-picker-anatomy-DwF2ZdEb.d.ts +0 -6
- package/dist/field-anatomy-ZgI8KPAW.d.ts +0 -6
- package/dist/fieldset-anatomy-ByEKf8w4.d.ts +0 -6
- package/dist/image-cropper-anatomy-CFsliJG4.d.ts +0 -6
- package/dist/listbox-anatomy-DXcTKn-k.d.ts +0 -6
- package/dist/menu-anatomy-C5NvovOb.d.ts +0 -2
- package/dist/menu-anatomy-Cn8kTodN.js +0 -3
- package/dist/toggle-anatomy-CZS75RZS.d.ts +0 -6
- package/dist/tour-anatomy-XEtu4XUf.d.ts +0 -6
- /package/dist/{boolean-6Zl2NWRb.js → boolean-DRNklbLz.js} +0 -0
- /package/dist/{clean-props-GbfPBIot.js → clean-props-jeo_b63H.js} +0 -0
- /package/dist/{create-split-props-D8oe6Rby.js → create-split-props-JMzYKf-E.js} +0 -0
- /package/dist/{field-DMx_y6S-.js → field-D5sIjqax.js} +0 -0
- /package/dist/{fieldset-4Y4cXm81.js → fieldset-DvVWCARx.js} +0 -0
- /package/dist/{presence-BuHH-PkI.js → presence-BoJVvVf8.js} +0 -0
- /package/dist/{use-render-strategy-B0RVis2X.js → use-render-strategy-Bx4OiQlo.js} +0 -0
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-BiWWKx2m.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-Dp8j2-3x.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-D49hIhzQ.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-C2XO6Bu5.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-D82Q7KQ3.js";
|
|
6
|
+
import { t as dropdownMenuAnatomy } from "../../dropdown-menu-anatomy-BqRBod4K.js";
|
|
7
|
+
import "../../index-CLgQxaLY.js";
|
|
8
|
+
import * as vue2588 from "vue";
|
|
9
|
+
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
10
|
+
import * as _sprawlify_primitives_machines_dialog57 from "@sprawlify/primitives/machines/dialog";
|
|
11
|
+
import * as dropdownMenu from "@sprawlify/primitives/machines/dropdown-menu";
|
|
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
|
+
|
|
14
|
+
//#region src/components/dropdown-menu/dropdown-menu-arrow-tip.vue.d.ts
|
|
15
|
+
interface DropdownMenuArrowTipBaseProps extends PolymorphicProps {}
|
|
16
|
+
interface DropdownMenuArrowTipProps extends DropdownMenuArrowTipBaseProps,
|
|
17
|
+
/**
|
|
18
|
+
* @vue-ignore
|
|
19
|
+
*/
|
|
20
|
+
HTMLAttributes {}
|
|
21
|
+
declare const _default$1: typeof __VLS_export$19;
|
|
22
|
+
declare const __VLS_export$19: __VLS_WithSlots$18<vue2588.DefineComponent<DropdownMenuArrowTipProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
23
|
+
default?: (props: {}) => any;
|
|
24
|
+
}>;
|
|
25
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/dropdown-menu/dropdown-menu-arrow.vue.d.ts
|
|
32
|
+
interface DropdownMenuArrowBaseProps extends PolymorphicProps {}
|
|
33
|
+
interface DropdownMenuArrowProps extends DropdownMenuArrowBaseProps,
|
|
34
|
+
/**
|
|
35
|
+
* @vue-ignore
|
|
36
|
+
*/
|
|
37
|
+
HTMLAttributes {}
|
|
38
|
+
declare const _default: typeof __VLS_export$18;
|
|
39
|
+
declare const __VLS_export$18: __VLS_WithSlots$17<vue2588.DefineComponent<DropdownMenuArrowProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
40
|
+
default?: (props: {}) => any;
|
|
41
|
+
}>;
|
|
42
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/dropdown-menu/dropdown-menu-checkbox-item.vue.d.ts
|
|
49
|
+
type CheckboxItemProps = Omit<OptionItemProps, 'type' | 'onCheckedChange'>;
|
|
50
|
+
interface DropdownMenuCheckboxItemBaseProps extends CheckboxItemProps, PolymorphicProps {}
|
|
51
|
+
interface DropdownMenuCheckboxItemProps extends DropdownMenuCheckboxItemBaseProps,
|
|
52
|
+
/**
|
|
53
|
+
* @vue-ignore
|
|
54
|
+
*/
|
|
55
|
+
HTMLAttributes {}
|
|
56
|
+
type DropdownMenuCheckboxItemEmits = {
|
|
57
|
+
'update:checked': [value: boolean];
|
|
58
|
+
};
|
|
59
|
+
declare const _default$2: typeof __VLS_export$17;
|
|
60
|
+
declare const __VLS_export$17: __VLS_WithSlots$16<vue2588.DefineComponent<DropdownMenuCheckboxItemProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {
|
|
61
|
+
"update:checked": (value: boolean) => any;
|
|
62
|
+
}, string, vue2588.PublicProps, Readonly<DropdownMenuCheckboxItemProps> & Readonly<{
|
|
63
|
+
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
checked: boolean;
|
|
67
|
+
closeOnSelect: boolean;
|
|
68
|
+
}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
69
|
+
default?: (props: {}) => any;
|
|
70
|
+
}>;
|
|
71
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/components/dropdown-menu/dropdown-menu-content.vue.d.ts
|
|
78
|
+
interface DropdownMenuContentBaseProps extends PolymorphicProps {}
|
|
79
|
+
interface DropdownMenuContentProps extends DropdownMenuContentBaseProps,
|
|
80
|
+
/**
|
|
81
|
+
* @vue-ignore
|
|
82
|
+
*/
|
|
83
|
+
HTMLAttributes {}
|
|
84
|
+
declare const _default$3: typeof __VLS_export$16;
|
|
85
|
+
declare const __VLS_export$16: __VLS_WithSlots$15<vue2588.DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
86
|
+
default?: (props: {}) => any;
|
|
87
|
+
}>;
|
|
88
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/components/dropdown-menu/dropdown-menu-indicator.vue.d.ts
|
|
95
|
+
interface DropdownMenuIndicatorBaseProps extends PolymorphicProps {}
|
|
96
|
+
interface DropdownMenuIndicatorProps extends DropdownMenuIndicatorBaseProps,
|
|
97
|
+
/**
|
|
98
|
+
* @vue-ignore
|
|
99
|
+
*/
|
|
100
|
+
HTMLAttributes {}
|
|
101
|
+
declare const _default$5: typeof __VLS_export$15;
|
|
102
|
+
declare const __VLS_export$15: __VLS_WithSlots$14<vue2588.DefineComponent<DropdownMenuIndicatorProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
103
|
+
default?: (props: {}) => any;
|
|
104
|
+
}>;
|
|
105
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/components/dropdown-menu/use-dropdown-menu-item-context.d.ts
|
|
112
|
+
interface UseDropdownMenuItemContext extends ComputedRef<Optional<OptionItemState, 'checked'>> {}
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/components/dropdown-menu/dropdown-menu-item-context.vue.d.ts
|
|
115
|
+
interface DropdownMenuItemContextProps extends SlotsType<{
|
|
116
|
+
default: UnwrapRef<UseDropdownMenuItemContext>;
|
|
117
|
+
}> {}
|
|
118
|
+
declare const _default$7: typeof __VLS_export$14;
|
|
119
|
+
declare const __VLS_export$14: __VLS_WithSlots$13<vue2588.DefineComponent<{}, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, true, {}, any>, {
|
|
120
|
+
default(item: UnwrapRef<UseDropdownMenuItemContext>): unknown;
|
|
121
|
+
}>;
|
|
122
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
123
|
+
new (): {
|
|
124
|
+
$slots: S;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/dropdown-menu/dropdown-menu-item-group-label.vue.d.ts
|
|
129
|
+
interface DropdownMenuItemGroupLabelBaseProps extends PolymorphicProps {}
|
|
130
|
+
interface DropdownMenuItemGroupLabelProps extends DropdownMenuItemGroupLabelBaseProps,
|
|
131
|
+
/**
|
|
132
|
+
* @vue-ignore
|
|
133
|
+
*/
|
|
134
|
+
HTMLAttributes {}
|
|
135
|
+
declare const _default$9: typeof __VLS_export$13;
|
|
136
|
+
declare const __VLS_export$13: __VLS_WithSlots$12<vue2588.DefineComponent<DropdownMenuItemGroupLabelProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
137
|
+
default?: (props: {}) => any;
|
|
138
|
+
}>;
|
|
139
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
140
|
+
new (): {
|
|
141
|
+
$slots: S;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/components/dropdown-menu/dropdown-menu-item-group.vue.d.ts
|
|
146
|
+
interface DropdownMenuItemGroupBaseProps extends Partial<ItemGroupProps>, PolymorphicProps {}
|
|
147
|
+
interface DropdownMenuItemGroupProps extends DropdownMenuItemGroupBaseProps,
|
|
148
|
+
/**
|
|
149
|
+
* @vue-ignore
|
|
150
|
+
*/
|
|
151
|
+
HTMLAttributes {}
|
|
152
|
+
declare const _default$8: typeof __VLS_export$12;
|
|
153
|
+
declare const __VLS_export$12: __VLS_WithSlots$11<vue2588.DefineComponent<DropdownMenuItemGroupProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
154
|
+
default?: (props: {}) => any;
|
|
155
|
+
}>;
|
|
156
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
157
|
+
new (): {
|
|
158
|
+
$slots: S;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/components/dropdown-menu/dropdown-menu-item-indicator.vue.d.ts
|
|
163
|
+
interface DropdownMenuItemIndicatorBaseProps extends PolymorphicProps {}
|
|
164
|
+
interface DropdownMenuItemIndicatorProps extends DropdownMenuItemIndicatorBaseProps,
|
|
165
|
+
/**
|
|
166
|
+
* @vue-ignore
|
|
167
|
+
*/
|
|
168
|
+
HTMLAttributes {}
|
|
169
|
+
declare const _default$10: typeof __VLS_export$11;
|
|
170
|
+
declare const __VLS_export$11: __VLS_WithSlots$10<vue2588.DefineComponent<DropdownMenuItemIndicatorProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
171
|
+
default?: (props: {}) => any;
|
|
172
|
+
}>;
|
|
173
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
174
|
+
new (): {
|
|
175
|
+
$slots: S;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region src/components/dropdown-menu/dropdown-menu-item-text.vue.d.ts
|
|
180
|
+
interface DropdownMenuItemTextBaseProps extends PolymorphicProps {}
|
|
181
|
+
interface DropdownMenuItemTextProps extends DropdownMenuItemTextBaseProps,
|
|
182
|
+
/**
|
|
183
|
+
* @vue-ignore
|
|
184
|
+
*/
|
|
185
|
+
HTMLAttributes {}
|
|
186
|
+
declare const _default$11: typeof __VLS_export$10;
|
|
187
|
+
declare const __VLS_export$10: __VLS_WithSlots$9<vue2588.DefineComponent<DropdownMenuItemTextProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
188
|
+
default?: (props: {}) => any;
|
|
189
|
+
}>;
|
|
190
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
191
|
+
new (): {
|
|
192
|
+
$slots: S;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region src/components/dropdown-menu/dropdown-menu-item.vue.d.ts
|
|
197
|
+
interface DropdownMenuItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
198
|
+
interface DropdownMenuItemProps extends DropdownMenuItemBaseProps,
|
|
199
|
+
/**
|
|
200
|
+
* @vue-ignore
|
|
201
|
+
*/
|
|
202
|
+
Omit<HTMLAttributes, 'onSelect'> {}
|
|
203
|
+
declare const _default$6: typeof __VLS_export$9;
|
|
204
|
+
declare const __VLS_export$9: __VLS_WithSlots$8<vue2588.DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {} & {
|
|
205
|
+
select: () => any;
|
|
206
|
+
}, string, vue2588.PublicProps, Readonly<DropdownMenuItemProps> & Readonly<{
|
|
207
|
+
onSelect?: (() => any) | undefined;
|
|
208
|
+
}>, {
|
|
209
|
+
disabled: boolean;
|
|
210
|
+
closeOnSelect: boolean;
|
|
211
|
+
}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
212
|
+
default?: (props: {}) => any;
|
|
213
|
+
}>;
|
|
214
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
215
|
+
new (): {
|
|
216
|
+
$slots: S;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region src/components/dropdown-menu/dropdown-menu-positioner.vue.d.ts
|
|
221
|
+
interface DropdownMenuPositionerBaseProps extends PolymorphicProps {}
|
|
222
|
+
interface DropdownMenuPositionerProps extends DropdownMenuPositionerBaseProps,
|
|
223
|
+
/**
|
|
224
|
+
* @vue-ignore
|
|
225
|
+
*/
|
|
226
|
+
HTMLAttributes {}
|
|
227
|
+
declare const _default$12: typeof __VLS_export$8;
|
|
228
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue2588.DefineComponent<DropdownMenuPositionerProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
229
|
+
default?: (props: {}) => any;
|
|
230
|
+
}>;
|
|
231
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
232
|
+
new (): {
|
|
233
|
+
$slots: S;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/components/dropdown-menu/dropdown-menu-radio-item-group.vue.d.ts
|
|
238
|
+
interface DropdownMenuRadioItemGroupBaseProps extends PolymorphicProps {}
|
|
239
|
+
interface DropdownMenuRadioItemGroupProps extends DropdownMenuRadioItemGroupBaseProps,
|
|
240
|
+
/**
|
|
241
|
+
* @vue-ignore
|
|
242
|
+
*/
|
|
243
|
+
HTMLAttributes {
|
|
244
|
+
id?: string;
|
|
245
|
+
modelValue?: string;
|
|
246
|
+
}
|
|
247
|
+
type DropdownMenuRadioItemGroupEmits = {
|
|
248
|
+
'update:modelValue': [value: string];
|
|
249
|
+
};
|
|
250
|
+
declare const _default$14: typeof __VLS_export$7;
|
|
251
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue2588.DefineComponent<DropdownMenuRadioItemGroupProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {
|
|
252
|
+
"update:modelValue": (value: string) => any;
|
|
253
|
+
}, string, vue2588.PublicProps, Readonly<DropdownMenuRadioItemGroupProps> & Readonly<{
|
|
254
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
255
|
+
}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
256
|
+
default?: (props: {}) => any;
|
|
257
|
+
}>;
|
|
258
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
259
|
+
new (): {
|
|
260
|
+
$slots: S;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region src/components/dropdown-menu/dropdown-menu-radio-item.vue.d.ts
|
|
265
|
+
type RadioItemProps = Omit<OptionItemProps, 'type' | 'onCheckedChange' | 'checked'>;
|
|
266
|
+
interface DropdownMenuRadioItemBaseProps extends RadioItemProps, PolymorphicProps {}
|
|
267
|
+
interface DropdownMenuRadioItemProps extends DropdownMenuRadioItemBaseProps,
|
|
268
|
+
/**
|
|
269
|
+
* @vue-ignore
|
|
270
|
+
*/
|
|
271
|
+
HTMLAttributes {}
|
|
272
|
+
declare const _default$13: typeof __VLS_export$6;
|
|
273
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue2588.DefineComponent<DropdownMenuRadioItemProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuRadioItemProps> & Readonly<{}>, {
|
|
274
|
+
disabled: boolean;
|
|
275
|
+
closeOnSelect: boolean;
|
|
276
|
+
}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
277
|
+
default?: (props: {}) => any;
|
|
278
|
+
}>;
|
|
279
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
280
|
+
new (): {
|
|
281
|
+
$slots: S;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region src/components/dropdown-menu/dropdown-menu-root-provider.vue.d.ts
|
|
286
|
+
interface RootProviderProps {
|
|
287
|
+
value: UseDropdownMenuReturn;
|
|
288
|
+
}
|
|
289
|
+
interface DropdownMenuRootProviderBaseProps extends RootProviderProps, RenderStrategyProps, PolymorphicProps {}
|
|
290
|
+
interface DropdownMenuRootProviderProps extends DropdownMenuRootProviderBaseProps {}
|
|
291
|
+
interface DropdownMenuRootProviderEmits extends RootEmits$1 {}
|
|
292
|
+
declare const _default$16: typeof __VLS_export$5;
|
|
293
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue2588.DefineComponent<DropdownMenuRootProviderProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {
|
|
294
|
+
exitComplete: () => any;
|
|
295
|
+
}, string, vue2588.PublicProps, Readonly<DropdownMenuRootProviderProps> & Readonly<{
|
|
296
|
+
onExitComplete?: (() => any) | undefined;
|
|
297
|
+
}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
298
|
+
default?: (props: {}) => any;
|
|
299
|
+
}>;
|
|
300
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
301
|
+
new (): {
|
|
302
|
+
$slots: S;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
//#endregion
|
|
306
|
+
//#region src/components/dropdown-menu/dropdown-menu-types.d.ts
|
|
307
|
+
interface RootProps {
|
|
308
|
+
anchorPoint?: dropdownMenu.Point;
|
|
309
|
+
'aria-label'?: string;
|
|
310
|
+
closeOnSelect?: boolean;
|
|
311
|
+
composite?: boolean;
|
|
312
|
+
defaultHighlightedValue?: string;
|
|
313
|
+
defaultOpen?: boolean;
|
|
314
|
+
highlightedValue?: string;
|
|
315
|
+
id?: string;
|
|
316
|
+
ids?: Partial<{
|
|
317
|
+
trigger: string;
|
|
318
|
+
contextTrigger: string;
|
|
319
|
+
content: string;
|
|
320
|
+
groupLabel(id: string): string;
|
|
321
|
+
group(id: string): string;
|
|
322
|
+
positioner: string;
|
|
323
|
+
arrow: string;
|
|
324
|
+
}>;
|
|
325
|
+
loopFocus?: boolean;
|
|
326
|
+
navigate?: (details: dropdownMenu.NavigateDetails) => void;
|
|
327
|
+
open?: boolean;
|
|
328
|
+
positioning?: dropdownMenu.PositioningOptions;
|
|
329
|
+
typeahead?: boolean;
|
|
330
|
+
}
|
|
331
|
+
type RootEmits = {
|
|
332
|
+
escapeKeyDown: [event: KeyboardEvent];
|
|
333
|
+
exitComplete: [];
|
|
334
|
+
focusOutside: [event: dropdownMenu.FocusOutsideEvent];
|
|
335
|
+
highlightChange: [details: dropdownMenu.HighlightChangeDetails];
|
|
336
|
+
interactOutside: [event: dropdownMenu.InteractOutsideEvent];
|
|
337
|
+
openChange: [details: dropdownMenu.OpenChangeDetails];
|
|
338
|
+
pointerDownOutside: [event: dropdownMenu.PointerDownOutsideEvent];
|
|
339
|
+
requestDismiss: [event: CustomEvent<{
|
|
340
|
+
originalLayer: HTMLElement;
|
|
341
|
+
targetLayer: HTMLElement | undefined;
|
|
342
|
+
originalIndex: number;
|
|
343
|
+
targetIndex: number;
|
|
344
|
+
}>];
|
|
345
|
+
select: [details: dropdownMenu.SelectionDetails];
|
|
346
|
+
'update:open': [open: boolean];
|
|
347
|
+
'update:highlightedValue': [highlightedValue: string | null];
|
|
348
|
+
};
|
|
349
|
+
//#endregion
|
|
350
|
+
//#region src/components/dropdown-menu/dropdown-menu-root.vue.d.ts
|
|
351
|
+
interface DropdownMenuRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicProps {}
|
|
352
|
+
interface DropdownMenuRootProps extends DropdownMenuRootBaseProps {}
|
|
353
|
+
interface DropdownMenuRootEmits extends RootEmits {}
|
|
354
|
+
declare const _default$15: typeof __VLS_export$4;
|
|
355
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue2588.DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {
|
|
356
|
+
select: (details: dropdownMenu.SelectionDetails) => any;
|
|
357
|
+
exitComplete: () => any;
|
|
358
|
+
focusOutside: (event: _sprawlify_primitives_machines_dialog57.FocusOutsideEvent) => any;
|
|
359
|
+
highlightChange: (details: dropdownMenu.HighlightChangeDetails) => any;
|
|
360
|
+
interactOutside: (event: _sprawlify_primitives_machines_dialog57.InteractOutsideEvent) => any;
|
|
361
|
+
openChange: (details: dropdownMenu.OpenChangeDetails) => any;
|
|
362
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_dialog57.PointerDownOutsideEvent) => any;
|
|
363
|
+
"update:open": (open: boolean) => any;
|
|
364
|
+
"update:highlightedValue": (highlightedValue: string | null) => any;
|
|
365
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
366
|
+
requestDismiss: (event: CustomEvent<{
|
|
367
|
+
originalLayer: HTMLElement;
|
|
368
|
+
targetLayer: HTMLElement | undefined;
|
|
369
|
+
originalIndex: number;
|
|
370
|
+
targetIndex: number;
|
|
371
|
+
}>) => any;
|
|
372
|
+
}, string, vue2588.PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
|
|
373
|
+
onSelect?: ((details: dropdownMenu.SelectionDetails) => any) | undefined;
|
|
374
|
+
onExitComplete?: (() => any) | undefined;
|
|
375
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_dialog57.FocusOutsideEvent) => any) | undefined;
|
|
376
|
+
onHighlightChange?: ((details: dropdownMenu.HighlightChangeDetails) => any) | undefined;
|
|
377
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog57.InteractOutsideEvent) => any) | undefined;
|
|
378
|
+
onOpenChange?: ((details: dropdownMenu.OpenChangeDetails) => any) | undefined;
|
|
379
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog57.PointerDownOutsideEvent) => any) | undefined;
|
|
380
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
381
|
+
"onUpdate:highlightedValue"?: ((highlightedValue: string | null) => any) | undefined;
|
|
382
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
383
|
+
onRequestDismiss?: ((event: CustomEvent<{
|
|
384
|
+
originalLayer: HTMLElement;
|
|
385
|
+
targetLayer: HTMLElement | undefined;
|
|
386
|
+
originalIndex: number;
|
|
387
|
+
targetIndex: number;
|
|
388
|
+
}>) => any) | undefined;
|
|
389
|
+
}>, {
|
|
390
|
+
closeOnSelect: boolean;
|
|
391
|
+
composite: boolean;
|
|
392
|
+
defaultOpen: boolean;
|
|
393
|
+
loopFocus: boolean;
|
|
394
|
+
open: boolean;
|
|
395
|
+
typeahead: boolean;
|
|
396
|
+
}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
397
|
+
default?: (props: {}) => any;
|
|
398
|
+
}>;
|
|
399
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
400
|
+
new (): {
|
|
401
|
+
$slots: S;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
//#endregion
|
|
405
|
+
//#region src/components/dropdown-menu/dropdown-menu-separator.vue.d.ts
|
|
406
|
+
interface DropdownMenuSeparatorBaseProps extends PolymorphicProps {}
|
|
407
|
+
interface DropdownMenuSeparatorProps extends DropdownMenuSeparatorBaseProps,
|
|
408
|
+
/**
|
|
409
|
+
* @vue-ignore
|
|
410
|
+
*/
|
|
411
|
+
HTMLAttributes {}
|
|
412
|
+
declare const _default$17: typeof __VLS_export$3;
|
|
413
|
+
declare const __VLS_export$3: vue2588.DefineComponent<DropdownMenuSeparatorProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>;
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region src/components/dropdown-menu/dropdown-menu-trigger-item.vue.d.ts
|
|
416
|
+
interface DropdownMenuTriggerItemBaseProps extends PolymorphicProps {}
|
|
417
|
+
interface DropdownMenuTriggerItemProps extends DropdownMenuTriggerItemBaseProps,
|
|
418
|
+
/**
|
|
419
|
+
* @vue-ignore
|
|
420
|
+
*/
|
|
421
|
+
HTMLAttributes {}
|
|
422
|
+
declare const _default$19: typeof __VLS_export$2;
|
|
423
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2588.DefineComponent<DropdownMenuTriggerItemProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuTriggerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
424
|
+
default?: (props: {}) => any;
|
|
425
|
+
}>;
|
|
426
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
427
|
+
new (): {
|
|
428
|
+
$slots: S;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
//#endregion
|
|
432
|
+
//#region src/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts
|
|
433
|
+
interface DropdownMenuTriggerBaseProps extends PolymorphicProps {}
|
|
434
|
+
interface DropdownMenuTriggerProps extends DropdownMenuTriggerBaseProps,
|
|
435
|
+
/**
|
|
436
|
+
* @vue-ignore
|
|
437
|
+
*/
|
|
438
|
+
ButtonHTMLAttributes {}
|
|
439
|
+
declare const _default$18: typeof __VLS_export$1;
|
|
440
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2588.DefineComponent<DropdownMenuTriggerProps, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<DropdownMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, false, {}, any>, {
|
|
441
|
+
default?: (props: {}) => any;
|
|
442
|
+
}>;
|
|
443
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
444
|
+
new (): {
|
|
445
|
+
$slots: S;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
//#endregion
|
|
449
|
+
//#region src/components/dropdown-menu/use-dropdown-menu-item-group-context.d.ts
|
|
450
|
+
interface ValueChangeDetails {
|
|
451
|
+
value: string;
|
|
452
|
+
}
|
|
453
|
+
declare namespace dropdown_menu_d_exports {
|
|
454
|
+
export { _default as Arrow, DropdownMenuArrowBaseProps as ArrowBaseProps, DropdownMenuArrowProps as ArrowProps, _default$1 as ArrowTip, DropdownMenuArrowTipBaseProps as ArrowTipBaseProps, DropdownMenuArrowTipProps as ArrowTipProps, _default$2 as CheckboxItem, DropdownMenuCheckboxItemBaseProps as CheckboxItemBaseProps, DropdownMenuCheckboxItemEmits as CheckboxItemEmits, DropdownMenuCheckboxItemProps as CheckboxItemProps, _default$3 as Content, DropdownMenuContentBaseProps as ContentBaseProps, DropdownMenuContentProps as ContentProps, _default$4 as Context, DropdownMenuContextProps as ContextProps, FocusOutsideEvent, HighlightChangeDetails, _default$5 as Indicator, DropdownMenuIndicatorBaseProps as IndicatorBaseProps, DropdownMenuIndicatorProps as IndicatorProps, InteractOutsideEvent, _default$6 as Item, DropdownMenuItemBaseProps as ItemBaseProps, _default$7 as ItemContext, DropdownMenuItemContextProps as ItemContextProps, _default$8 as ItemGroup, DropdownMenuItemGroupBaseProps as ItemGroupBaseProps, _default$9 as ItemGroupLabel, DropdownMenuItemGroupLabelBaseProps as ItemGroupLabelBaseProps, DropdownMenuItemGroupLabelProps as ItemGroupLabelProps, DropdownMenuItemGroupProps as ItemGroupProps, _default$10 as ItemIndicator, DropdownMenuItemIndicatorBaseProps as ItemIndicatorBaseProps, DropdownMenuItemIndicatorProps as ItemIndicatorProps, DropdownMenuItemProps as ItemProps, _default$11 as ItemText, DropdownMenuItemTextBaseProps as ItemTextBaseProps, DropdownMenuItemTextProps as ItemTextProps, OpenChangeDetails, PointerDownOutsideEvent, _default$12 as Positioner, DropdownMenuPositionerBaseProps as PositionerBaseProps, DropdownMenuPositionerProps as PositionerProps, _default$13 as RadioItem, DropdownMenuRadioItemBaseProps as RadioItemBaseProps, _default$14 as RadioItemGroup, DropdownMenuRadioItemGroupBaseProps as RadioItemGroupBaseProps, DropdownMenuRadioItemGroupEmits as RadioItemGroupEmits, DropdownMenuRadioItemGroupProps as RadioItemGroupProps, DropdownMenuRadioItemProps as RadioItemProps, _default$15 as Root, DropdownMenuRootBaseProps as RootBaseProps, DropdownMenuRootEmits as RootEmits, DropdownMenuRootProps as RootProps, _default$16 as RootProvider, DropdownMenuRootProviderBaseProps as RootProviderBaseProps, DropdownMenuRootProviderProps as RootProviderProps, SelectionDetails, _default$17 as Separator, DropdownMenuSeparatorBaseProps as SeparatorBaseProps, DropdownMenuSeparatorProps as SeparatorProps, _default$18 as Trigger, DropdownMenuTriggerBaseProps as TriggerBaseProps, _default$19 as TriggerItem, DropdownMenuTriggerItemBaseProps as TriggerItemBaseProps, DropdownMenuTriggerItemProps as TriggerItemProps, DropdownMenuTriggerProps as TriggerProps, ValueChangeDetails };
|
|
455
|
+
}
|
|
456
|
+
//#endregion
|
|
457
|
+
//#region src/components/dropdown-menu/use-dropdown-menu.d.ts
|
|
458
|
+
interface UseDropdownMenuProps extends Optional<Omit<dropdownMenu.Props, 'dir' | 'getRootNode'>, 'id'> {}
|
|
459
|
+
interface UseDropdownMenuReturn {
|
|
460
|
+
api: ComputedRef<dropdownMenu.Api<PropTypes>>;
|
|
461
|
+
machine: dropdownMenu.Service;
|
|
462
|
+
}
|
|
463
|
+
declare const useDropdownMenu: (props?: MaybeRef<UseDropdownMenuProps>, emit?: EmitFn$1<DropdownMenuRootEmits>) => UseDropdownMenuReturn;
|
|
464
|
+
//#endregion
|
|
465
|
+
//#region src/components/dropdown-menu/use-dropdown-menu-context.d.ts
|
|
466
|
+
type UseDropdownMenuContext = UseDropdownMenuReturn['api'];
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region src/components/dropdown-menu/dropdown-menu-context.vue.d.ts
|
|
469
|
+
interface DropdownMenuContextProps extends SlotsType<{
|
|
470
|
+
default: UnwrapRef<UseDropdownMenuContext>;
|
|
471
|
+
}> {}
|
|
472
|
+
declare const _default$4: typeof __VLS_export;
|
|
473
|
+
declare const __VLS_export: __VLS_WithSlots<vue2588.DefineComponent<{}, {}, {}, {}, {}, vue2588.ComponentOptionsMixin, vue2588.ComponentOptionsMixin, {}, string, vue2588.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2588.ComponentProvideOptions, true, {}, any>, {
|
|
474
|
+
default(dropdownMenu: UnwrapRef<UseDropdownMenuContext>): unknown;
|
|
475
|
+
}>;
|
|
476
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
477
|
+
new (): {
|
|
478
|
+
$slots: S;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
//#endregion
|
|
482
|
+
export { dropdown_menu_d_exports as DropdownMenu, _default as DropdownMenuArrow, type DropdownMenuArrowBaseProps, type DropdownMenuArrowProps, _default$1 as DropdownMenuArrowTip, type DropdownMenuArrowTipBaseProps, type DropdownMenuArrowTipProps, _default$2 as DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemBaseProps, type DropdownMenuCheckboxItemEmits, type DropdownMenuCheckboxItemProps, _default$3 as DropdownMenuContent, type DropdownMenuContentBaseProps, type DropdownMenuContentProps, _default$4 as DropdownMenuContext, type DropdownMenuContextProps, type DropdownMenuFocusOutsideEvent, type DropdownMenuHighlightChangeDetails, _default$5 as DropdownMenuIndicator, type DropdownMenuIndicatorBaseProps, type DropdownMenuIndicatorProps, type DropdownMenuInteractOutsideEvent, _default$6 as DropdownMenuItem, type DropdownMenuItemBaseProps, _default$7 as DropdownMenuItemContext, type DropdownMenuItemContextProps, _default$8 as DropdownMenuItemGroup, type DropdownMenuItemGroupBaseProps, _default$9 as DropdownMenuItemGroupLabel, type DropdownMenuItemGroupLabelBaseProps, type DropdownMenuItemGroupLabelProps, type DropdownMenuItemGroupProps, _default$10 as DropdownMenuItemIndicator, type DropdownMenuItemIndicatorBaseProps, type DropdownMenuItemIndicatorProps, type DropdownMenuItemProps, _default$11 as DropdownMenuItemText, type DropdownMenuItemTextBaseProps, type DropdownMenuItemTextProps, type DropdownMenuOpenChangeDetails, type DropdownMenuPointerDownOutsideEvent, _default$12 as DropdownMenuPositioner, type DropdownMenuPositionerBaseProps, type DropdownMenuPositionerProps, _default$13 as DropdownMenuRadioItem, type DropdownMenuRadioItemBaseProps, _default$14 as DropdownMenuRadioItemGroup, type DropdownMenuRadioItemGroupBaseProps, type DropdownMenuRadioItemGroupEmits, type DropdownMenuRadioItemGroupProps, type DropdownMenuRadioItemProps, _default$15 as DropdownMenuRoot, type DropdownMenuRootBaseProps, type DropdownMenuRootEmits, type DropdownMenuRootProps, _default$16 as DropdownMenuRootProvider, type DropdownMenuRootProviderBaseProps, type DropdownMenuRootProviderEmits, type DropdownMenuRootProviderProps, type DropdownMenuSelectionDetails, _default$17 as DropdownMenuSeparator, type DropdownMenuSeparatorBaseProps, type DropdownMenuSeparatorProps, _default$18 as DropdownMenuTrigger, type DropdownMenuTriggerBaseProps, _default$19 as DropdownMenuTriggerItem, type DropdownMenuTriggerItemBaseProps, type DropdownMenuTriggerItemProps, type DropdownMenuTriggerProps, type ValueChangeDetails as DropdownMenuValueChangeDetails, type UseDropdownMenuContext, type UseDropdownMenuItemContext, type UseDropdownMenuProps, type UseDropdownMenuReturn, dropdownMenuAnatomy, useDropdownMenu, useDropdownMenuContext, useDropdownMenuItemContext };
|