@wirekyt/vue 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.cjs +273 -0
- package/dist/accordion.d.cts +195 -0
- package/dist/accordion.d.ts +195 -0
- package/dist/accordion.js +250 -0
- package/dist/angle-slider.cjs +268 -0
- package/dist/angle-slider.d.cts +228 -0
- package/dist/angle-slider.d.ts +228 -0
- package/dist/angle-slider.js +244 -0
- package/dist/avatar.cjs +145 -0
- package/dist/avatar.d.cts +114 -0
- package/dist/avatar.d.ts +114 -0
- package/dist/avatar.js +126 -0
- package/dist/boolean-BCaEpMxQ.js +6 -0
- package/dist/boolean-Dyu9-5Wp.cjs +11 -0
- package/dist/carousel.cjs +342 -0
- package/dist/carousel.d.cts +303 -0
- package/dist/carousel.d.ts +303 -0
- package/dist/carousel.js +320 -0
- package/dist/checkbox.cjs +345 -0
- package/dist/checkbox.d.cts +272 -0
- package/dist/checkbox.d.ts +272 -0
- package/dist/checkbox.js +324 -0
- package/dist/clean-props--1kqQE0Y.js +8 -0
- package/dist/clean-props-MyKqus13.cjs +13 -0
- package/dist/client-only.cjs +17 -0
- package/dist/client-only.d.cts +18 -0
- package/dist/client-only.d.ts +18 -0
- package/dist/client-only.js +16 -0
- package/dist/clipboard.cjs +229 -0
- package/dist/clipboard.d.cts +203 -0
- package/dist/clipboard.d.ts +203 -0
- package/dist/clipboard.js +206 -0
- package/dist/collapsible-CEjnJlpm.js +179 -0
- package/dist/collapsible-aSz4kYqo.cjs +232 -0
- package/dist/collapsible.cjs +23 -0
- package/dist/collapsible.d.cts +161 -0
- package/dist/collapsible.d.ts +161 -0
- package/dist/collapsible.js +2 -0
- package/dist/collection-1IjtyI-g.cjs +254 -0
- package/dist/collection-Ea6ZCZKK.js +211 -0
- package/dist/collection.cjs +9 -0
- package/dist/collection.d.cts +2 -0
- package/dist/collection.d.ts +2 -0
- package/dist/collection.js +2 -0
- package/dist/color-picker.cjs +804 -0
- package/dist/color-picker.d.cts +605 -0
- package/dist/color-picker.d.ts +605 -0
- package/dist/color-picker.js +759 -0
- package/dist/combobox.cjs +552 -0
- package/dist/combobox.d.cts +442 -0
- package/dist/combobox.d.ts +442 -0
- package/dist/combobox.js +521 -0
- package/dist/create-split-props-BBxrD7TV.js +10 -0
- package/dist/create-split-props-Jx-IEwdk.cjs +15 -0
- package/dist/date-input.cjs +293 -0
- package/dist/date-input.d.cts +212 -0
- package/dist/date-input.d.ts +212 -0
- package/dist/date-input.js +270 -0
- package/dist/date-picker.cjs +821 -0
- package/dist/date-picker.d.cts +637 -0
- package/dist/date-picker.d.ts +637 -0
- package/dist/date-picker.js +776 -0
- package/dist/dialog.cjs +333 -0
- package/dist/dialog.d.cts +272 -0
- package/dist/dialog.d.ts +272 -0
- package/dist/dialog.js +308 -0
- package/dist/download-trigger.cjs +65 -0
- package/dist/download-trigger.d.cts +34 -0
- package/dist/download-trigger.d.ts +34 -0
- package/dist/download-trigger.js +63 -0
- package/dist/drawer.cjs +448 -0
- package/dist/drawer.d.cts +346 -0
- package/dist/drawer.d.ts +346 -0
- package/dist/drawer.js +415 -0
- package/dist/editable.cjs +331 -0
- package/dist/editable.d.cts +285 -0
- package/dist/editable.d.ts +285 -0
- package/dist/editable.js +306 -0
- package/dist/factory-8Ao0DEy3.js +34 -0
- package/dist/factory-BNwuanv4.d.cts +21 -0
- package/dist/factory-BNwuanv4.d.ts +21 -0
- package/dist/factory-JL7MPjkk.cjs +45 -0
- package/dist/field-C3pLqz1S.js +435 -0
- package/dist/field-DRz-v4rB.cjs +524 -0
- package/dist/field.cjs +22 -0
- package/dist/field.d.cts +344 -0
- package/dist/field.d.ts +344 -0
- package/dist/field.js +2 -0
- package/dist/fieldset-ByP_r1Uq.js +216 -0
- package/dist/fieldset-C5aj6Ims.cjs +275 -0
- package/dist/fieldset.cjs +17 -0
- package/dist/fieldset.d.cts +159 -0
- package/dist/fieldset.d.ts +159 -0
- package/dist/fieldset.js +2 -0
- package/dist/file-upload.cjs +421 -0
- package/dist/file-upload.d.cts +327 -0
- package/dist/file-upload.d.ts +327 -0
- package/dist/file-upload.js +392 -0
- package/dist/floating-panel.cjs +412 -0
- package/dist/floating-panel.d.cts +337 -0
- package/dist/floating-panel.d.ts +337 -0
- package/dist/floating-panel.js +383 -0
- package/dist/focus-trap.cjs +79 -0
- package/dist/focus-trap.d.cts +46 -0
- package/dist/focus-trap.d.ts +46 -0
- package/dist/focus-trap.js +78 -0
- package/dist/format.cjs +116 -0
- package/dist/format.d.cts +46 -0
- package/dist/format.d.ts +46 -0
- package/dist/format.js +106 -0
- package/dist/frame.cjs +93 -0
- package/dist/frame.d.cts +37 -0
- package/dist/frame.d.ts +37 -0
- package/dist/frame.js +92 -0
- package/dist/highlight.cjs +44 -0
- package/dist/highlight.d.cts +32 -0
- package/dist/highlight.d.ts +32 -0
- package/dist/highlight.js +42 -0
- package/dist/hover-card.cjs +269 -0
- package/dist/hover-card.d.cts +202 -0
- package/dist/hover-card.d.ts +202 -0
- package/dist/hover-card.js +246 -0
- package/dist/image-cropper.cjs +252 -0
- package/dist/image-cropper.d.cts +207 -0
- package/dist/image-cropper.d.ts +207 -0
- package/dist/image-cropper.js +235 -0
- package/dist/index-B-o8jLyV.d.cts +31 -0
- package/dist/index-BSoF1D-v.d.ts +31 -0
- package/dist/index-BTNfeIXf.d.ts +104 -0
- package/dist/index-C6Q2DqG6.d.ts +37 -0
- package/dist/index-CG9mpPgL.d.cts +444 -0
- package/dist/index-Cc4qS0rQ.d.cts +38 -0
- package/dist/index-Cc4qS0rQ.d.ts +38 -0
- package/dist/index-DB2uALlJ.d.cts +74 -0
- package/dist/index-DXb0W_NP.d.cts +37 -0
- package/dist/index-Zc9P69Ka.d.cts +104 -0
- package/dist/index-aMWdJRGL.d.ts +444 -0
- package/dist/index-uLE-tXSk.d.ts +74 -0
- package/dist/index.cjs +43 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +7 -0
- package/dist/json-tree-view.cjs +346 -0
- package/dist/json-tree-view.d.cts +86 -0
- package/dist/json-tree-view.d.ts +86 -0
- package/dist/json-tree-view.js +336 -0
- package/dist/listbox.cjs +386 -0
- package/dist/listbox.d.cts +323 -0
- package/dist/listbox.d.ts +323 -0
- package/dist/listbox.js +361 -0
- package/dist/marquee.cjs +256 -0
- package/dist/marquee.d.cts +208 -0
- package/dist/marquee.d.ts +208 -0
- package/dist/marquee.js +235 -0
- package/dist/menu.cjs +650 -0
- package/dist/menu.d.cts +501 -0
- package/dist/menu.d.ts +501 -0
- package/dist/menu.js +613 -0
- package/dist/navigation-menu.cjs +408 -0
- package/dist/navigation-menu.d.cts +271 -0
- package/dist/navigation-menu.d.ts +271 -0
- package/dist/navigation-menu.js +380 -0
- package/dist/number-input.cjs +298 -0
- package/dist/number-input.d.cts +253 -0
- package/dist/number-input.d.ts +253 -0
- package/dist/number-input.js +274 -0
- package/dist/pagination.cjs +249 -0
- package/dist/pagination.d.cts +209 -0
- package/dist/pagination.d.ts +209 -0
- package/dist/pagination.js +226 -0
- package/dist/password-input.cjs +232 -0
- package/dist/password-input.d.cts +208 -0
- package/dist/password-input.d.ts +208 -0
- package/dist/password-input.js +210 -0
- package/dist/pin-input.cjs +245 -0
- package/dist/pin-input.d.cts +199 -0
- package/dist/pin-input.d.ts +199 -0
- package/dist/pin-input.js +224 -0
- package/dist/popover.cjs +377 -0
- package/dist/popover.d.cts +324 -0
- package/dist/popover.d.ts +324 -0
- package/dist/popover.js +349 -0
- package/dist/presence-DD3l4Tgb.cjs +60 -0
- package/dist/presence-jaHZaD_O.js +43 -0
- package/dist/presence.cjs +7 -0
- package/dist/presence.d.cts +3 -0
- package/dist/presence.d.ts +3 -0
- package/dist/presence.js +3 -0
- package/dist/progress.cjs +270 -0
- package/dist/progress.d.cts +229 -0
- package/dist/progress.d.ts +229 -0
- package/dist/progress.js +245 -0
- package/dist/providers-5QhcwgSd.cjs +190 -0
- package/dist/providers-C3XQH-uu.js +119 -0
- package/dist/qr-code.cjs +195 -0
- package/dist/qr-code.d.cts +157 -0
- package/dist/qr-code.d.ts +157 -0
- package/dist/qr-code.js +174 -0
- package/dist/radio-group.cjs +274 -0
- package/dist/radio-group.d.cts +230 -0
- package/dist/radio-group.d.ts +230 -0
- package/dist/radio-group.js +249 -0
- package/dist/rating-group.cjs +243 -0
- package/dist/rating-group.d.cts +200 -0
- package/dist/rating-group.d.ts +200 -0
- package/dist/rating-group.js +220 -0
- package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/rolldown-runtime-DakpK96I.cjs +43 -0
- package/dist/scroll-area.cjs +206 -0
- package/dist/scroll-area.d.cts +169 -0
- package/dist/scroll-area.d.ts +169 -0
- package/dist/scroll-area.js +184 -0
- package/dist/segment-group.cjs +318 -0
- package/dist/segment-group.d.cts +229 -0
- package/dist/segment-group.d.ts +229 -0
- package/dist/segment-group.js +298 -0
- package/dist/select.cjs +560 -0
- package/dist/select.d.cts +430 -0
- package/dist/select.d.ts +430 -0
- package/dist/select.js +523 -0
- package/dist/signature-pad.cjs +260 -0
- package/dist/signature-pad.d.cts +200 -0
- package/dist/signature-pad.d.ts +200 -0
- package/dist/signature-pad.js +237 -0
- package/dist/slider.cjs +350 -0
- package/dist/slider.d.cts +299 -0
- package/dist/slider.d.ts +299 -0
- package/dist/slider.js +323 -0
- package/dist/splitter.cjs +225 -0
- package/dist/splitter.d.cts +166 -0
- package/dist/splitter.d.ts +166 -0
- package/dist/splitter.js +198 -0
- package/dist/steps.cjs +348 -0
- package/dist/steps.d.cts +289 -0
- package/dist/steps.d.ts +289 -0
- package/dist/steps.js +319 -0
- package/dist/swap.cjs +154 -0
- package/dist/swap.d.cts +98 -0
- package/dist/swap.d.ts +98 -0
- package/dist/swap.js +141 -0
- package/dist/switch.cjs +213 -0
- package/dist/switch.d.cts +177 -0
- package/dist/switch.d.ts +177 -0
- package/dist/switch.js +192 -0
- package/dist/tabs.cjs +240 -0
- package/dist/tabs.d.cts +179 -0
- package/dist/tabs.d.ts +179 -0
- package/dist/tabs.js +218 -0
- package/dist/tags-input.cjs +405 -0
- package/dist/tags-input.d.cts +340 -0
- package/dist/tags-input.d.ts +340 -0
- package/dist/tags-input.js +376 -0
- package/dist/timer.cjs +221 -0
- package/dist/timer.d.cts +176 -0
- package/dist/timer.d.ts +176 -0
- package/dist/timer.js +199 -0
- package/dist/toast.cjs +211 -0
- package/dist/toast.d.cts +157 -0
- package/dist/toast.d.ts +157 -0
- package/dist/toast.js +189 -0
- package/dist/toggle-group.cjs +150 -0
- package/dist/toggle-group.d.cts +122 -0
- package/dist/toggle-group.d.ts +122 -0
- package/dist/toggle-group.js +132 -0
- package/dist/toggle.cjs +107 -0
- package/dist/toggle.d.cts +98 -0
- package/dist/toggle.d.ts +98 -0
- package/dist/toggle.js +94 -0
- package/dist/tooltip.cjs +265 -0
- package/dist/tooltip.d.cts +204 -0
- package/dist/tooltip.d.ts +204 -0
- package/dist/tooltip.js +242 -0
- package/dist/tour.cjs +418 -0
- package/dist/tour.d.cts +304 -0
- package/dist/tour.d.ts +304 -0
- package/dist/tour.js +374 -0
- package/dist/tree-view-CWH9tv7s.cjs +651 -0
- package/dist/tree-view-CZcXMwi6.js +508 -0
- package/dist/tree-view.cjs +41 -0
- package/dist/tree-view.d.cts +3 -0
- package/dist/tree-view.d.ts +3 -0
- package/dist/tree-view.js +3 -0
- package/dist/types-rSRkzyd6.d.cts +13 -0
- package/dist/types-rSRkzyd6.d.ts +13 -0
- package/dist/use-presence-BSp_dR-C.d.cts +22 -0
- package/dist/use-presence-CtEY6ZT8.cjs +49 -0
- package/dist/use-presence-DkGU_j9h.d.ts +22 -0
- package/dist/use-presence-oNdFU2c2.js +42 -0
- package/dist/utils-D95V66v9.js +548 -0
- package/dist/utils-XrBZd2Yk.cjs +625 -0
- package/package.json +278 -6
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
import { a as PolymorphicProps } from "./factory-BNwuanv4.js";
|
|
2
|
+
import { t as RootEmits$1 } from "./types-rSRkzyd6.js";
|
|
3
|
+
import "./index-C6Q2DqG6.js";
|
|
4
|
+
import { i as EmitFn$1, l as PropTypes, n as Assign, o as Optional } from "./index-BSoF1D-v.js";
|
|
5
|
+
import { t as UsePresenceProps } from "./use-presence-DkGU_j9h.js";
|
|
6
|
+
import { n as RenderStrategyProps } from "./index-Cc4qS0rQ.js";
|
|
7
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "./index-uLE-tXSk.js";
|
|
8
|
+
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
|
+
import * as combobox from "@wirekyt/dom/machines/combobox";
|
|
10
|
+
import { FocusOutsideEvent, FocusOutsideEvent as ComboboxFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as ComboboxInteractOutsideEvent, ItemGroupProps, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as ComboboxOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as ComboboxPointerDownOutsideEvent, SelectionDetails, SelectionDetails as ComboboxSelectionDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as ComboboxValueChangeDetails } from "@wirekyt/dom/machines/combobox";
|
|
11
|
+
//#region src/components/combobox/clear-trigger.vue.d.ts
|
|
12
|
+
interface ComboboxClearTriggerBaseProps extends PolymorphicProps {}
|
|
13
|
+
interface ComboboxClearTriggerProps extends ComboboxClearTriggerBaseProps,
|
|
14
|
+
/**
|
|
15
|
+
* @vue-ignore
|
|
16
|
+
*/
|
|
17
|
+
ButtonHTMLAttributes {}
|
|
18
|
+
declare const _default: typeof __VLS_export$17;
|
|
19
|
+
declare const __VLS_export$17: __VLS_WithSlots$15<import("vue").DefineComponent<ComboboxClearTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
|
+
default?: (props: {}) => any;
|
|
21
|
+
}>;
|
|
22
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/combobox/content.vue.d.ts
|
|
29
|
+
interface ComboboxContentBaseProps extends PolymorphicProps {}
|
|
30
|
+
interface ComboboxContentProps extends ComboboxContentBaseProps,
|
|
31
|
+
/**
|
|
32
|
+
* @vue-ignore
|
|
33
|
+
*/
|
|
34
|
+
HTMLAttributes {}
|
|
35
|
+
declare const _default$1: typeof __VLS_export$16;
|
|
36
|
+
declare const __VLS_export$16: __VLS_WithSlots$14<import("vue").DefineComponent<ComboboxContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
37
|
+
default?: (props: {}) => any;
|
|
38
|
+
}>;
|
|
39
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/combobox/empty.vue.d.ts
|
|
46
|
+
interface ComboboxEmptyBaseProps extends PolymorphicProps {}
|
|
47
|
+
interface ComboboxEmptyProps extends ComboboxEmptyBaseProps,
|
|
48
|
+
/**
|
|
49
|
+
* @vue-ignore
|
|
50
|
+
*/
|
|
51
|
+
HTMLAttributes {}
|
|
52
|
+
declare const _default$4: typeof __VLS_export$15;
|
|
53
|
+
declare const __VLS_export$15: __VLS_WithSlots$13<import("vue").DefineComponent<ComboboxEmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxEmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
54
|
+
default?: (props: {}) => any;
|
|
55
|
+
}>;
|
|
56
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/components/combobox/control.vue.d.ts
|
|
63
|
+
interface ComboboxControlBaseProps extends PolymorphicProps {}
|
|
64
|
+
interface ComboboxControlProps extends ComboboxControlBaseProps,
|
|
65
|
+
/**
|
|
66
|
+
* @vue-ignore
|
|
67
|
+
*/
|
|
68
|
+
HTMLAttributes {}
|
|
69
|
+
declare const _default$3: typeof __VLS_export$14;
|
|
70
|
+
declare const __VLS_export$14: __VLS_WithSlots$12<import("vue").DefineComponent<ComboboxControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxControlProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
71
|
+
default?: (props: {}) => any;
|
|
72
|
+
}>;
|
|
73
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/components/combobox/input.vue.d.ts
|
|
80
|
+
interface ComboboxInputBaseProps extends PolymorphicProps {}
|
|
81
|
+
interface ComboboxInputProps extends ComboboxInputBaseProps,
|
|
82
|
+
/**
|
|
83
|
+
* @vue-ignore
|
|
84
|
+
*/
|
|
85
|
+
InputHTMLAttributes {}
|
|
86
|
+
declare const _default$5: typeof __VLS_export$13;
|
|
87
|
+
declare const __VLS_export$13: __VLS_WithSlots$11<import("vue").DefineComponent<ComboboxInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
88
|
+
default?: (props: {}) => any;
|
|
89
|
+
}>;
|
|
90
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
91
|
+
new (): {
|
|
92
|
+
$slots: S;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/components/combobox/use-item-context.d.ts
|
|
97
|
+
interface UseComboboxItemContext extends ComputedRef<ItemState> {}
|
|
98
|
+
declare const ComboboxItemProvider: (opts: UseComboboxItemContext) => void, useComboboxItemContext: (fallback?: UseComboboxItemContext | undefined) => UseComboboxItemContext;
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/components/combobox/item-context.vue.d.ts
|
|
101
|
+
interface ComboboxItemContextProps extends SlotsType<{
|
|
102
|
+
default: UnwrapRef<UseComboboxItemContext>;
|
|
103
|
+
}> {}
|
|
104
|
+
declare const _default$7: typeof __VLS_export$12;
|
|
105
|
+
declare const __VLS_export$12: __VLS_WithSlots$10<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
106
|
+
default(combobox: UnwrapRef<UseComboboxItemContext>): unknown;
|
|
107
|
+
}>;
|
|
108
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$slots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/components/combobox/item-group-label.vue.d.ts
|
|
115
|
+
interface ComboboxItemGroupLabelBaseProps extends PolymorphicProps {}
|
|
116
|
+
interface ComboboxItemGroupLabelProps extends ComboboxItemGroupLabelBaseProps,
|
|
117
|
+
/**
|
|
118
|
+
* @vue-ignore
|
|
119
|
+
*/
|
|
120
|
+
HTMLAttributes {}
|
|
121
|
+
declare const _default$9: typeof __VLS_export$11;
|
|
122
|
+
declare const __VLS_export$11: __VLS_WithSlots$9<import("vue").DefineComponent<ComboboxItemGroupLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
123
|
+
default?: (props: {}) => any;
|
|
124
|
+
}>;
|
|
125
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
126
|
+
new (): {
|
|
127
|
+
$slots: S;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region src/components/combobox/item-group.vue.d.ts
|
|
132
|
+
interface ComboboxItemGroupBaseProps extends Partial<ItemGroupProps>, PolymorphicProps {}
|
|
133
|
+
interface ComboboxItemGroupProps extends ComboboxItemGroupBaseProps,
|
|
134
|
+
/**
|
|
135
|
+
* @vue-ignore
|
|
136
|
+
*/
|
|
137
|
+
HTMLAttributes {}
|
|
138
|
+
declare const _default$8: typeof __VLS_export$10;
|
|
139
|
+
declare const __VLS_export$10: __VLS_WithSlots$8<import("vue").DefineComponent<ComboboxItemGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
140
|
+
default?: (props: {}) => any;
|
|
141
|
+
}>;
|
|
142
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
143
|
+
new (): {
|
|
144
|
+
$slots: S;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/components/combobox/item-indicator.vue.d.ts
|
|
149
|
+
interface ComboboxItemIndicatorBaseProps extends PolymorphicProps {}
|
|
150
|
+
interface ComboboxItemIndicatorProps extends ComboboxItemIndicatorBaseProps,
|
|
151
|
+
/**
|
|
152
|
+
* @vue-ignore
|
|
153
|
+
*/
|
|
154
|
+
HTMLAttributes {}
|
|
155
|
+
declare const _default$10: typeof __VLS_export$9;
|
|
156
|
+
declare const __VLS_export$9: __VLS_WithSlots$7<import("vue").DefineComponent<ComboboxItemIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
157
|
+
default?: (props: {}) => any;
|
|
158
|
+
}>;
|
|
159
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
160
|
+
new (): {
|
|
161
|
+
$slots: S;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region src/components/combobox/item-text.vue.d.ts
|
|
166
|
+
interface ComboboxItemTextBaseProps extends PolymorphicProps {}
|
|
167
|
+
interface ComboboxItemTextProps extends ComboboxItemTextBaseProps,
|
|
168
|
+
/**
|
|
169
|
+
* @vue-ignore
|
|
170
|
+
*/
|
|
171
|
+
HTMLAttributes {}
|
|
172
|
+
declare const _default$11: typeof __VLS_export$8;
|
|
173
|
+
declare const __VLS_export$8: __VLS_WithSlots$6<import("vue").DefineComponent<ComboboxItemTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
174
|
+
default?: (props: {}) => any;
|
|
175
|
+
}>;
|
|
176
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
177
|
+
new (): {
|
|
178
|
+
$slots: S;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/components/combobox/item.vue.d.ts
|
|
183
|
+
interface ComboboxItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
184
|
+
interface ComboboxItemProps extends ComboboxItemBaseProps,
|
|
185
|
+
/**
|
|
186
|
+
* @vue-ignore
|
|
187
|
+
*/
|
|
188
|
+
HTMLAttributes {}
|
|
189
|
+
declare const _default$6: typeof __VLS_export$7;
|
|
190
|
+
declare const __VLS_export$7: __VLS_WithSlots$5<import("vue").DefineComponent<ComboboxItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
191
|
+
default?: (props: {}) => any;
|
|
192
|
+
}>;
|
|
193
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
194
|
+
new (): {
|
|
195
|
+
$slots: S;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region src/components/combobox/label.vue.d.ts
|
|
200
|
+
interface ComboboxLabelBaseProps extends PolymorphicProps {}
|
|
201
|
+
interface ComboboxLabelProps extends ComboboxLabelBaseProps,
|
|
202
|
+
/**
|
|
203
|
+
* @vue-ignore
|
|
204
|
+
*/
|
|
205
|
+
LabelHTMLAttributes {}
|
|
206
|
+
declare const _default$12: typeof __VLS_export$6;
|
|
207
|
+
declare const __VLS_export$6: __VLS_WithSlots$4<import("vue").DefineComponent<ComboboxLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
208
|
+
default?: (props: {}) => any;
|
|
209
|
+
}>;
|
|
210
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
211
|
+
new (): {
|
|
212
|
+
$slots: S;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region src/components/combobox/list.vue.d.ts
|
|
217
|
+
interface ComboboxListBaseProps extends PolymorphicProps {}
|
|
218
|
+
interface ComboboxListProps extends ComboboxListBaseProps,
|
|
219
|
+
/**
|
|
220
|
+
* @vue-ignore
|
|
221
|
+
*/
|
|
222
|
+
HTMLAttributes {}
|
|
223
|
+
declare const _default$13: typeof __VLS_export$5;
|
|
224
|
+
declare const __VLS_export$5: __VLS_WithSlots$3<import("vue").DefineComponent<ComboboxListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
225
|
+
default?: (props: {}) => any;
|
|
226
|
+
}>;
|
|
227
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
228
|
+
new (): {
|
|
229
|
+
$slots: S;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/components/combobox/positioner.vue.d.ts
|
|
234
|
+
interface ComboboxPositionerBaseProps extends PolymorphicProps {}
|
|
235
|
+
interface ComboboxPositionerProps extends ComboboxPositionerBaseProps,
|
|
236
|
+
/**
|
|
237
|
+
* @vue-ignore
|
|
238
|
+
*/
|
|
239
|
+
HTMLAttributes {}
|
|
240
|
+
declare const _default$14: typeof __VLS_export$4;
|
|
241
|
+
declare const __VLS_export$4: __VLS_WithSlots$2<import("vue").DefineComponent<ComboboxPositionerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
242
|
+
default?: (props: {}) => any;
|
|
243
|
+
}>;
|
|
244
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
245
|
+
new (): {
|
|
246
|
+
$slots: S;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region src/components/combobox/root-provider.vue.d.ts
|
|
251
|
+
interface RootProviderProps<T extends CollectionItem> {
|
|
252
|
+
value: UnwrapRef<UseComboboxReturn<T>>;
|
|
253
|
+
}
|
|
254
|
+
interface ComboboxRootProviderBaseProps<T extends CollectionItem> extends RootProviderProps<T>, RenderStrategyProps, PolymorphicProps {}
|
|
255
|
+
interface ComboboxRootProviderProps<T extends CollectionItem> extends ComboboxRootProviderBaseProps<T>,
|
|
256
|
+
/**
|
|
257
|
+
* @vue-ignore
|
|
258
|
+
*/
|
|
259
|
+
HTMLAttributes {}
|
|
260
|
+
type ComboboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ComboboxRootProviderProps<T>, P>) => any;
|
|
261
|
+
interface ComboboxRootProviderEmits extends RootEmits$1 {}
|
|
262
|
+
declare const _default$16: typeof __VLS_export$3;
|
|
263
|
+
declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
264
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<ComboboxRootProviderProps<T> & {
|
|
265
|
+
onExitComplete?: (() => any) | undefined;
|
|
266
|
+
}> & (typeof globalThis extends {
|
|
267
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
268
|
+
} ? P : {});
|
|
269
|
+
expose: (exposed: {}) => void;
|
|
270
|
+
attrs: any;
|
|
271
|
+
slots: {
|
|
272
|
+
default?: (props: {}) => any;
|
|
273
|
+
};
|
|
274
|
+
emit: (evt: "exitComplete") => void;
|
|
275
|
+
}>) => import("vue").VNode & {
|
|
276
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
277
|
+
};
|
|
278
|
+
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
279
|
+
//#endregion
|
|
280
|
+
//#region src/components/combobox/types.d.ts
|
|
281
|
+
interface RootProps<T extends CollectionItem> {
|
|
282
|
+
allowCustomValue?: boolean;
|
|
283
|
+
alwaysSubmitOnEnter?: boolean;
|
|
284
|
+
autoFocus?: boolean;
|
|
285
|
+
closeOnSelect?: boolean;
|
|
286
|
+
collection?: ListCollection<T>;
|
|
287
|
+
composite?: boolean;
|
|
288
|
+
defaultHighlightedValue?: string;
|
|
289
|
+
defaultInputValue?: string;
|
|
290
|
+
defaultOpen?: boolean;
|
|
291
|
+
defaultValue?: string[];
|
|
292
|
+
disableLayer?: boolean;
|
|
293
|
+
disabled?: boolean;
|
|
294
|
+
form?: string;
|
|
295
|
+
highlightedValue?: string;
|
|
296
|
+
id?: string;
|
|
297
|
+
ids?: Partial<{
|
|
298
|
+
root: string;
|
|
299
|
+
label: string;
|
|
300
|
+
control: string;
|
|
301
|
+
input: string;
|
|
302
|
+
content: string;
|
|
303
|
+
trigger: string;
|
|
304
|
+
clearTrigger: string;
|
|
305
|
+
item(id: string, index?: number): string;
|
|
306
|
+
positioner: string;
|
|
307
|
+
itemGroup(id: string | number): string;
|
|
308
|
+
itemGroupLabel(id: string | number): string;
|
|
309
|
+
}>;
|
|
310
|
+
inputBehavior?: "autohighlight" | "autocomplete" | "none";
|
|
311
|
+
inputValue?: string;
|
|
312
|
+
invalid?: boolean;
|
|
313
|
+
loopFocus?: boolean;
|
|
314
|
+
modelValue?: string[];
|
|
315
|
+
multiple?: boolean;
|
|
316
|
+
name?: string;
|
|
317
|
+
navigate?: (details: combobox.NavigateDetails) => void;
|
|
318
|
+
open?: boolean;
|
|
319
|
+
openOnChange?: boolean | ((details: combobox.InputValueChangeDetails) => boolean);
|
|
320
|
+
openOnClick?: boolean;
|
|
321
|
+
openOnKeyPress?: boolean;
|
|
322
|
+
placeholder?: string;
|
|
323
|
+
positioning?: combobox.PositioningOptions;
|
|
324
|
+
readOnly?: boolean;
|
|
325
|
+
required?: boolean;
|
|
326
|
+
scrollToIndexFn?: (details: combobox.ScrollToIndexDetails) => void;
|
|
327
|
+
selectionBehavior?: "clear" | "replace" | "preserve";
|
|
328
|
+
translations?: combobox.IntlTranslations;
|
|
329
|
+
}
|
|
330
|
+
type RootEmits<T extends CollectionItem> = {
|
|
331
|
+
exitComplete: [];
|
|
332
|
+
focusOutside: [event: combobox.FocusOutsideEvent];
|
|
333
|
+
highlightChange: [details: combobox.HighlightChangeDetails<T>];
|
|
334
|
+
inputValueChange: [details: combobox.InputValueChangeDetails];
|
|
335
|
+
interactOutside: [event: combobox.InteractOutsideEvent];
|
|
336
|
+
openChange: [details: combobox.OpenChangeDetails];
|
|
337
|
+
pointerDownOutside: [event: combobox.PointerDownOutsideEvent];
|
|
338
|
+
valueChange: [details: combobox.ValueChangeDetails<T>];
|
|
339
|
+
select: [details: {
|
|
340
|
+
value: string[];
|
|
341
|
+
itemValue: string;
|
|
342
|
+
}];
|
|
343
|
+
"update:modelValue": [value: string[]];
|
|
344
|
+
"update:highlightedValue": [value: string | null];
|
|
345
|
+
"update:inputValue": [value: string];
|
|
346
|
+
"update:open": [value: boolean];
|
|
347
|
+
};
|
|
348
|
+
//#endregion
|
|
349
|
+
//#region src/components/combobox/root.vue.d.ts
|
|
350
|
+
interface ComboboxRootBaseProps<T extends CollectionItem> extends RootProps<T>, RenderStrategyProps, PolymorphicProps {}
|
|
351
|
+
interface ComboboxRootProps<T extends CollectionItem> extends ComboboxRootBaseProps<T>,
|
|
352
|
+
/**
|
|
353
|
+
* @vue-ignore
|
|
354
|
+
*/
|
|
355
|
+
Omit<HTMLAttributes, "onSelect"> {}
|
|
356
|
+
type ComboboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<ComboboxRootProps<T>, P>;
|
|
357
|
+
type ComboboxRootComponent<P = {}> = <T extends CollectionItem>(props: ComboboxRootComponentProps<T, P>) => any;
|
|
358
|
+
declare const _default$15: typeof __VLS_export$2;
|
|
359
|
+
declare const __VLS_export$2: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
360
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<ComboboxRootProps<T> & {
|
|
361
|
+
onSelect?: ((details: {
|
|
362
|
+
value: string[];
|
|
363
|
+
itemValue: string;
|
|
364
|
+
}) => any) | undefined;
|
|
365
|
+
onExitComplete?: (() => any) | undefined;
|
|
366
|
+
onValueChange?: ((details: import("@wirekyt/dom/machines/combobox").ValueChangeDetails<T>) => any) | undefined;
|
|
367
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
368
|
+
onOpenChange?: ((details: import("@wirekyt/dom/machines/combobox").OpenChangeDetails) => any) | undefined;
|
|
369
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
370
|
+
onFocusOutside?: ((event: import("@wirekyt/dom/machines/popover").FocusOutsideEvent) => any) | undefined;
|
|
371
|
+
onInteractOutside?: ((event: import("@wirekyt/dom/machines/popover").InteractOutsideEvent) => any) | undefined;
|
|
372
|
+
onPointerDownOutside?: ((event: import("@wirekyt/dom/machines/popover").PointerDownOutsideEvent) => any) | undefined;
|
|
373
|
+
onHighlightChange?: ((details: import("@wirekyt/dom/machines/combobox").HighlightChangeDetails<T>) => any) | undefined;
|
|
374
|
+
onInputValueChange?: ((details: import("@wirekyt/dom/machines/combobox").InputValueChangeDetails) => any) | undefined;
|
|
375
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
376
|
+
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
377
|
+
}> & (typeof globalThis extends {
|
|
378
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
379
|
+
} ? P : {});
|
|
380
|
+
expose: (exposed: {}) => void;
|
|
381
|
+
attrs: any;
|
|
382
|
+
slots: {
|
|
383
|
+
default?: (props: {}) => any;
|
|
384
|
+
};
|
|
385
|
+
emit: ((evt: "select", details: {
|
|
386
|
+
value: string[];
|
|
387
|
+
itemValue: string;
|
|
388
|
+
}) => void) & ((evt: "exitComplete") => void) & ((evt: "valueChange", details: import("@wirekyt/dom/machines/combobox").ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "openChange", details: import("@wirekyt/dom/machines/combobox").OpenChangeDetails) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "focusOutside", event: import("@wirekyt/dom/machines/popover").FocusOutsideEvent) => void) & ((evt: "interactOutside", event: import("@wirekyt/dom/machines/popover").InteractOutsideEvent) => void) & ((evt: "pointerDownOutside", event: import("@wirekyt/dom/machines/popover").PointerDownOutsideEvent) => void) & ((evt: "highlightChange", details: import("@wirekyt/dom/machines/combobox").HighlightChangeDetails<T>) => void) & ((evt: "inputValueChange", details: import("@wirekyt/dom/machines/combobox").InputValueChangeDetails) => void) & ((evt: "update:inputValue", value: string) => void) & ((evt: "update:highlightedValue", value: string | null) => void);
|
|
389
|
+
}>) => import("vue").VNode & {
|
|
390
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
391
|
+
};
|
|
392
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
393
|
+
//#endregion
|
|
394
|
+
//#region src/components/combobox/trigger.vue.d.ts
|
|
395
|
+
interface ComboboxTriggerBaseProps extends TriggerProps, PolymorphicProps {}
|
|
396
|
+
interface ComboboxTriggerProps extends ComboboxTriggerBaseProps,
|
|
397
|
+
/**
|
|
398
|
+
* @vue-ignore
|
|
399
|
+
*/
|
|
400
|
+
ButtonHTMLAttributes {}
|
|
401
|
+
declare const _default$17: typeof __VLS_export$1;
|
|
402
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<import("vue").DefineComponent<ComboboxTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
403
|
+
default?: (props: {}) => any;
|
|
404
|
+
}>;
|
|
405
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
406
|
+
new (): {
|
|
407
|
+
$slots: S;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
declare namespace combobox_d_exports {
|
|
411
|
+
export { _default as ClearTrigger, ComboboxClearTriggerBaseProps as ClearTriggerBaseProps, ComboboxClearTriggerProps as ClearTriggerProps, _default$1 as Content, ComboboxContentBaseProps as ContentBaseProps, ComboboxContentProps as ContentProps, _default$2 as Context, ComboboxContextProps as ContextProps, _default$3 as Control, ComboboxControlBaseProps as ControlBaseProps, ComboboxControlProps as ControlProps, _default$4 as Empty, ComboboxEmptyBaseProps as EmptyBaseProps, ComboboxEmptyProps as EmptyProps, FocusOutsideEvent, HighlightChangeDetails, _default$5 as Input, ComboboxInputBaseProps as InputBaseProps, ComboboxInputProps as InputProps, InputValueChangeDetails, InteractOutsideEvent, _default$6 as Item, ComboboxItemBaseProps as ItemBaseProps, _default$7 as ItemContext, ComboboxItemContextProps as ItemContextProps, _default$8 as ItemGroup, ComboboxItemGroupBaseProps as ItemGroupBaseProps, _default$9 as ItemGroupLabel, ComboboxItemGroupLabelBaseProps as ItemGroupLabelBaseProps, ComboboxItemGroupLabelProps as ItemGroupLabelProps, ComboboxItemGroupProps as ItemGroupProps, _default$10 as ItemIndicator, ComboboxItemIndicatorBaseProps as ItemIndicatorBaseProps, ComboboxItemIndicatorProps as ItemIndicatorProps, ComboboxItemProps as ItemProps, _default$11 as ItemText, ComboboxItemTextBaseProps as ItemTextBaseProps, ComboboxItemTextProps as ItemTextProps, _default$12 as Label, ComboboxLabelBaseProps as LabelBaseProps, ComboboxLabelProps as LabelProps, _default$13 as List, ComboboxListBaseProps as ListBaseProps, ComboboxListProps as ListProps, OpenChangeDetails, PointerDownOutsideEvent, _default$14 as Positioner, ComboboxPositionerBaseProps as PositionerBaseProps, ComboboxPositionerProps as PositionerProps, _default$15 as Root, ComboboxRootBaseProps as RootBaseProps, ComboboxRootComponent as RootComponent, ComboboxRootComponentProps as RootComponentProps, RootEmits, ComboboxRootProps as RootProps, _default$16 as RootProvider, ComboboxRootProviderBaseProps as RootProviderBaseProps, ComboboxRootProviderComponent as RootProviderComponent, ComboboxRootProviderProps as RootProviderProps, SelectionDetails, _default$17 as Trigger, ComboboxTriggerBaseProps as TriggerBaseProps, ComboboxTriggerProps as TriggerProps, ValueChangeDetails };
|
|
412
|
+
}
|
|
413
|
+
//#endregion
|
|
414
|
+
//#region src/components/combobox/use-combobox.d.ts
|
|
415
|
+
interface UseComboboxProps<T extends CollectionItem> extends Optional<Omit<combobox.Props<T>, "dir" | "getRootNode">, "id"> {
|
|
416
|
+
modelValue?: combobox.Props<T>["value"];
|
|
417
|
+
}
|
|
418
|
+
interface UseComboboxReturn<T extends CollectionItem> extends ComputedRef<combobox.Api<PropTypes, T>> {}
|
|
419
|
+
declare const useCombobox: <T extends CollectionItem>(props: MaybeRef<UseComboboxProps<T>>, emit?: EmitFn$1<RootEmits<T>>) => UseComboboxReturn<T>;
|
|
420
|
+
//#endregion
|
|
421
|
+
//#region src/components/combobox/use-context.d.ts
|
|
422
|
+
interface UseComboboxContext<T extends CollectionItem = CollectionItem> extends UseComboboxReturn<T>, UsePresenceProps {}
|
|
423
|
+
declare const ComboboxProvider: (opts: UseComboboxContext<any>) => void, useComboboxContext: (fallback?: UseComboboxContext<any> | undefined) => UseComboboxContext<any>;
|
|
424
|
+
//#endregion
|
|
425
|
+
//#region src/components/combobox/context.vue.d.ts
|
|
426
|
+
interface ComboboxContextProps extends SlotsType<{
|
|
427
|
+
default: UnwrapRef<UseComboboxContext>;
|
|
428
|
+
}> {}
|
|
429
|
+
declare const _default$2: typeof __VLS_export;
|
|
430
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
431
|
+
default(combobox: UnwrapRef<UseComboboxContext>): unknown;
|
|
432
|
+
}>;
|
|
433
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
434
|
+
new (): {
|
|
435
|
+
$slots: S;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
//#endregion
|
|
439
|
+
//#region src/components/combobox/anatomy.d.ts
|
|
440
|
+
declare const comboboxAnatomy: import("@wirekyt/dom/anatomy").AnatomyInstance<"list" | "input" | "label" | "root" | "control" | "item" | "content" | "trigger" | "positioner" | "itemText" | "itemGroup" | "itemIndicator" | "itemGroupLabel" | "empty" | "clearTrigger">;
|
|
441
|
+
//#endregion
|
|
442
|
+
export { type CollectionItem, combobox_d_exports as Combobox, _default as ComboboxClearTrigger, type ComboboxClearTriggerBaseProps, type ComboboxClearTriggerProps, _default$1 as ComboboxContent, type ComboboxContentBaseProps, type ComboboxContentProps, _default$2 as ComboboxContext, type ComboboxContextProps, _default$3 as ComboboxControl, type ComboboxControlBaseProps, type ComboboxControlProps, _default$4 as ComboboxEmpty, type ComboboxEmptyBaseProps, type ComboboxEmptyProps, type ComboboxFocusOutsideEvent, type ComboboxHighlightChangeDetails, _default$5 as ComboboxInput, type ComboboxInputBaseProps, type ComboboxInputProps, type ComboboxInputValueChangeDetails, type ComboboxInteractOutsideEvent, _default$6 as ComboboxItem, type ComboboxItemBaseProps, _default$7 as ComboboxItemContext, type ComboboxItemContextProps, _default$8 as ComboboxItemGroup, type ComboboxItemGroupBaseProps, _default$9 as ComboboxItemGroupLabel, type ComboboxItemGroupLabelBaseProps, type ComboboxItemGroupLabelProps, type ComboboxItemGroupProps, _default$10 as ComboboxItemIndicator, type ComboboxItemIndicatorBaseProps, type ComboboxItemIndicatorProps, type ComboboxItemProps, _default$11 as ComboboxItemText, type ComboboxItemTextBaseProps, type ComboboxItemTextProps, _default$12 as ComboboxLabel, type ComboboxLabelBaseProps, type ComboboxLabelProps, _default$13 as ComboboxList, type ComboboxListBaseProps, type ComboboxListProps, type ComboboxOpenChangeDetails, type ComboboxPointerDownOutsideEvent, _default$14 as ComboboxPositioner, type ComboboxPositionerBaseProps, type ComboboxPositionerProps, _default$15 as ComboboxRoot, type ComboboxRootBaseProps, type ComboboxRootComponent, type ComboboxRootComponentProps, type RootEmits as ComboboxRootEmits, type ComboboxRootProps, _default$16 as ComboboxRootProvider, type ComboboxRootProviderBaseProps, type ComboboxRootProviderComponent, type ComboboxRootProviderEmits, type ComboboxRootProviderProps, type ComboboxSelectionDetails, _default$17 as ComboboxTrigger, type ComboboxTriggerBaseProps, type ComboboxTriggerProps, type ComboboxValueChangeDetails, type ListCollection, type UseComboboxContext, type UseComboboxItemContext, type UseComboboxProps, type UseComboboxReturn, type UseListCollectionProps, comboboxAnatomy, createListCollection, useCombobox, useComboboxContext, useComboboxItemContext, useListCollection };
|