@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,299 @@
|
|
|
1
|
+
import { a as PolymorphicProps } from "./factory-BNwuanv4.cjs";
|
|
2
|
+
import { i as EmitFn$1, l as PropTypes, o as Optional } from "./index-B-o8jLyV.cjs";
|
|
3
|
+
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
4
|
+
import * as slider from "@wirekyt/dom/machines/slider";
|
|
5
|
+
import { FocusChangeDetails, FocusChangeDetails as SliderFocusChangeDetails, MarkerProps, ThumbProps, ValueChangeDetails, ValueChangeDetails as SliderValueChangeDetails, anatomy as sliderAnatomy } from "@wirekyt/dom/machines/slider";
|
|
6
|
+
//#region src/components/slider/control.vue.d.ts
|
|
7
|
+
interface SliderControlBaseProps extends PolymorphicProps {}
|
|
8
|
+
interface SliderControlProps extends SliderControlBaseProps,
|
|
9
|
+
/**
|
|
10
|
+
* @vue-ignore
|
|
11
|
+
*/
|
|
12
|
+
HTMLAttributes {}
|
|
13
|
+
declare const _default$1: typeof __VLS_export$12;
|
|
14
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<import("vue").DefineComponent<SliderControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderControlProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
|
+
default?: (props: {}) => any;
|
|
16
|
+
}>;
|
|
17
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/slider/dragging-indicator.vue.d.ts
|
|
24
|
+
interface SliderDraggingIndicatorBaseProps extends PolymorphicProps {}
|
|
25
|
+
interface SliderDraggingIndicatorProps extends SliderDraggingIndicatorBaseProps,
|
|
26
|
+
/**
|
|
27
|
+
* @vue-ignore
|
|
28
|
+
*/
|
|
29
|
+
HTMLAttributes {}
|
|
30
|
+
declare const _default$2: typeof __VLS_export$11;
|
|
31
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<import("vue").DefineComponent<SliderDraggingIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderDraggingIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
32
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/slider/hidden-input.vue.d.ts
|
|
39
|
+
interface SliderHiddenInputBaseProps extends PolymorphicProps {}
|
|
40
|
+
interface SliderHiddenInputProps extends SliderHiddenInputBaseProps,
|
|
41
|
+
/**
|
|
42
|
+
* @vue-ignore
|
|
43
|
+
*/
|
|
44
|
+
InputHTMLAttributes {}
|
|
45
|
+
declare const _default$3: typeof __VLS_export$10;
|
|
46
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<import("vue").DefineComponent<SliderHiddenInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
47
|
+
default?: (props: {}) => any;
|
|
48
|
+
}>;
|
|
49
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/components/slider/label.vue.d.ts
|
|
56
|
+
interface SliderLabelBaseProps extends PolymorphicProps {}
|
|
57
|
+
interface SliderLabelProps extends SliderLabelBaseProps,
|
|
58
|
+
/**
|
|
59
|
+
* @vue-ignore
|
|
60
|
+
*/
|
|
61
|
+
LabelHTMLAttributes {}
|
|
62
|
+
declare const _default$4: typeof __VLS_export$9;
|
|
63
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<import("vue").DefineComponent<SliderLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
64
|
+
default?: (props: {}) => any;
|
|
65
|
+
}>;
|
|
66
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/components/slider/marker-group.vue.d.ts
|
|
73
|
+
interface SliderMarkerGroupBaseProps extends PolymorphicProps {}
|
|
74
|
+
interface SliderMarkerGroupProps extends SliderMarkerGroupBaseProps,
|
|
75
|
+
/**
|
|
76
|
+
* @vue-ignore
|
|
77
|
+
*/
|
|
78
|
+
HTMLAttributes {}
|
|
79
|
+
declare const _default$6: typeof __VLS_export$8;
|
|
80
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<import("vue").DefineComponent<SliderMarkerGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderMarkerGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
81
|
+
default?: (props: {}) => any;
|
|
82
|
+
}>;
|
|
83
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/components/slider/marker.vue.d.ts
|
|
90
|
+
interface SliderMarkerBaseProps extends MarkerProps, PolymorphicProps {}
|
|
91
|
+
interface SliderMarkerProps extends SliderMarkerBaseProps,
|
|
92
|
+
/**
|
|
93
|
+
* @vue-ignore
|
|
94
|
+
*/
|
|
95
|
+
HTMLAttributes {}
|
|
96
|
+
declare const _default$5: typeof __VLS_export$7;
|
|
97
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<import("vue").DefineComponent<SliderMarkerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderMarkerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
98
|
+
default?: (props: {}) => any;
|
|
99
|
+
}>;
|
|
100
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
101
|
+
new (): {
|
|
102
|
+
$slots: S;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/components/slider/range.vue.d.ts
|
|
107
|
+
interface SliderRangeBaseProps extends PolymorphicProps {}
|
|
108
|
+
interface SliderRangeProps extends SliderRangeBaseProps,
|
|
109
|
+
/**
|
|
110
|
+
* @vue-ignore
|
|
111
|
+
*/
|
|
112
|
+
HTMLAttributes {}
|
|
113
|
+
declare const _default$7: typeof __VLS_export$6;
|
|
114
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<import("vue").DefineComponent<SliderRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderRangeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
115
|
+
default?: (props: {}) => any;
|
|
116
|
+
}>;
|
|
117
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
118
|
+
new (): {
|
|
119
|
+
$slots: S;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/components/slider/root-provider.vue.d.ts
|
|
124
|
+
interface RootProviderProps {
|
|
125
|
+
value: UnwrapRef<UseSliderReturn>;
|
|
126
|
+
}
|
|
127
|
+
interface SliderRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
128
|
+
interface SliderRootProviderProps extends SliderRootProviderBaseProps,
|
|
129
|
+
/**
|
|
130
|
+
* @vue-ignore
|
|
131
|
+
*/
|
|
132
|
+
Omit<HTMLAttributes, "aria-labelledby" | "aria-label"> {}
|
|
133
|
+
declare const _default$9: typeof __VLS_export$5;
|
|
134
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<import("vue").DefineComponent<SliderRootProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
135
|
+
default?: (props: {}) => any;
|
|
136
|
+
}>;
|
|
137
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
138
|
+
new (): {
|
|
139
|
+
$slots: S;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/components/slider/types.d.ts
|
|
144
|
+
interface RootProps {
|
|
145
|
+
"aria-label"?: string[];
|
|
146
|
+
"aria-labelledby"?: string[];
|
|
147
|
+
defaultValue?: number[];
|
|
148
|
+
dir?: "ltr" | "rtl";
|
|
149
|
+
disabled?: boolean;
|
|
150
|
+
form?: string;
|
|
151
|
+
getAriaValueText?: (details: slider.ValueTextDetails) => string;
|
|
152
|
+
getRootNode?: () => ShadowRoot | Document | Node;
|
|
153
|
+
id?: string;
|
|
154
|
+
ids?: Partial<{
|
|
155
|
+
root: string;
|
|
156
|
+
thumb(index: number): string;
|
|
157
|
+
hiddenInput(index: number): string;
|
|
158
|
+
control: string;
|
|
159
|
+
track: string;
|
|
160
|
+
range: string;
|
|
161
|
+
label: string;
|
|
162
|
+
valueText: string;
|
|
163
|
+
marker(index: number): string;
|
|
164
|
+
}>;
|
|
165
|
+
invalid?: boolean;
|
|
166
|
+
largeStep?: number;
|
|
167
|
+
max?: number;
|
|
168
|
+
min?: number;
|
|
169
|
+
minStepsBetweenThumbs?: number;
|
|
170
|
+
modelValue?: number[];
|
|
171
|
+
name?: string;
|
|
172
|
+
orientation?: "vertical" | "horizontal";
|
|
173
|
+
origin?: "start" | "center";
|
|
174
|
+
readOnly?: boolean;
|
|
175
|
+
step?: number;
|
|
176
|
+
thumbAlignment?: "center" | "contain";
|
|
177
|
+
thumbCollisionBehavior?: "none" | "push" | "swap";
|
|
178
|
+
thumbSize?: {
|
|
179
|
+
width: number;
|
|
180
|
+
height: number;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
type RootEmits = {
|
|
184
|
+
focusChange: [details: slider.FocusChangeDetails];
|
|
185
|
+
valueChange: [details: slider.ValueChangeDetails];
|
|
186
|
+
valueChangeEnd: [details: slider.ValueChangeDetails];
|
|
187
|
+
"update:modelValue": [value: number[]];
|
|
188
|
+
};
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/components/slider/root.vue.d.ts
|
|
191
|
+
interface SliderRootBaseProps extends RootProps, PolymorphicProps {}
|
|
192
|
+
interface SliderRootProps extends SliderRootBaseProps,
|
|
193
|
+
/**
|
|
194
|
+
* @vue-ignore
|
|
195
|
+
*/
|
|
196
|
+
Omit<HTMLAttributes, "aria-labelledby" | "aria-label" | "dir"> {}
|
|
197
|
+
interface SliderRootEmits extends RootEmits {}
|
|
198
|
+
declare const _default$8: typeof __VLS_export$4;
|
|
199
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<import("vue").DefineComponent<SliderRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
200
|
+
valueChange: (details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any;
|
|
201
|
+
valueChangeEnd: (details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any;
|
|
202
|
+
"update:modelValue": (value: number[]) => any;
|
|
203
|
+
focusChange: (details: import("@wirekyt/dom/machines/slider").FocusChangeDetails) => any;
|
|
204
|
+
}, string, import("vue").PublicProps, Readonly<SliderRootProps> & Readonly<{
|
|
205
|
+
onValueChange?: ((details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any) | undefined;
|
|
206
|
+
onValueChangeEnd?: ((details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any) | undefined;
|
|
207
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
208
|
+
onFocusChange?: ((details: import("@wirekyt/dom/machines/slider").FocusChangeDetails) => any) | undefined;
|
|
209
|
+
}>, {
|
|
210
|
+
disabled: boolean;
|
|
211
|
+
invalid: boolean;
|
|
212
|
+
readOnly: boolean;
|
|
213
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
214
|
+
default?: (props: {}) => any;
|
|
215
|
+
}>;
|
|
216
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
217
|
+
new (): {
|
|
218
|
+
$slots: S;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/components/slider/thumb.vue.d.ts
|
|
223
|
+
interface SliderThumbBaseProps extends ThumbProps, PolymorphicProps {}
|
|
224
|
+
interface SliderThumbProps extends SliderThumbBaseProps,
|
|
225
|
+
/**
|
|
226
|
+
* @vue-ignore
|
|
227
|
+
*/
|
|
228
|
+
HTMLAttributes {}
|
|
229
|
+
declare const _default$10: typeof __VLS_export$3;
|
|
230
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<import("vue").DefineComponent<SliderThumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderThumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
231
|
+
default?: (props: {}) => any;
|
|
232
|
+
}>;
|
|
233
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
234
|
+
new (): {
|
|
235
|
+
$slots: S;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/components/slider/track.vue.d.ts
|
|
240
|
+
interface SliderTrackBaseProps extends PolymorphicProps {}
|
|
241
|
+
interface SliderTrackProps extends SliderTrackBaseProps,
|
|
242
|
+
/**
|
|
243
|
+
* @vue-ignore
|
|
244
|
+
*/
|
|
245
|
+
HTMLAttributes {}
|
|
246
|
+
declare const _default$11: typeof __VLS_export$2;
|
|
247
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<import("vue").DefineComponent<SliderTrackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderTrackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
248
|
+
default?: (props: {}) => any;
|
|
249
|
+
}>;
|
|
250
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
251
|
+
new (): {
|
|
252
|
+
$slots: S;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
//#endregion
|
|
256
|
+
//#region src/components/slider/value-text.vue.d.ts
|
|
257
|
+
interface SliderValueTextBaseProps extends PolymorphicProps {}
|
|
258
|
+
interface SliderValueTextProps extends SliderValueTextBaseProps,
|
|
259
|
+
/**
|
|
260
|
+
* @vue-ignore
|
|
261
|
+
*/
|
|
262
|
+
HTMLAttributes {}
|
|
263
|
+
declare const _default$12: typeof __VLS_export$1;
|
|
264
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<import("vue").DefineComponent<SliderValueTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
265
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
266
|
+
new (): {
|
|
267
|
+
$slots: S;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
declare namespace slider_d_exports {
|
|
271
|
+
export { _default as Context, SliderContextProps as ContextProps, _default$1 as Control, SliderControlBaseProps as ControlBaseProps, SliderControlProps as ControlProps, _default$2 as DraggingIndicator, SliderDraggingIndicatorBaseProps as DraggingIndicatorBaseProps, SliderDraggingIndicatorProps as DraggingIndicatorProps, FocusChangeDetails, _default$3 as HiddenInput, SliderHiddenInputBaseProps as HiddenInputBaseProps, SliderHiddenInputProps as HiddenInputProps, _default$4 as Label, SliderLabelBaseProps as LabelBaseProps, SliderLabelProps as LabelProps, _default$5 as Marker, SliderMarkerBaseProps as MarkerBaseProps, _default$6 as MarkerGroup, SliderMarkerGroupBaseProps as MarkerGroupBaseProps, SliderMarkerGroupProps as MarkerGroupProps, SliderMarkerProps as MarkerProps, _default$7 as Range, SliderRangeBaseProps as RangeBaseProps, SliderRangeProps as RangeProps, _default$8 as Root, SliderRootBaseProps as RootBaseProps, SliderRootEmits as RootEmits, SliderRootProps as RootProps, _default$9 as RootProvider, SliderRootProviderBaseProps as RootProviderBaseProps, SliderRootProviderProps as RootProviderProps, _default$10 as Thumb, SliderThumbBaseProps as ThumbBaseProps, SliderThumbProps as ThumbProps, _default$11 as Track, SliderTrackBaseProps as TrackBaseProps, SliderTrackProps as TrackProps, ValueChangeDetails, _default$12 as ValueText, SliderValueTextBaseProps as ValueTextBaseProps, SliderValueTextProps as ValueTextProps };
|
|
272
|
+
}
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region src/components/slider/use-slider.d.ts
|
|
275
|
+
interface UseSliderProps extends Optional<slider.Props, "id"> {
|
|
276
|
+
modelValue?: slider.Props["value"];
|
|
277
|
+
}
|
|
278
|
+
interface UseSliderReturn extends ComputedRef<slider.Api<PropTypes>> {}
|
|
279
|
+
declare const useSlider: (props?: MaybeRef<UseSliderProps>, emit?: EmitFn$1<SliderRootEmits>) => UseSliderReturn;
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/components/slider/use-context.d.ts
|
|
282
|
+
interface UseSliderContext extends UseSliderReturn {}
|
|
283
|
+
declare const SliderProvider: (opts: UseSliderContext) => void, useSliderContext: (fallback?: UseSliderContext | undefined) => UseSliderContext;
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region src/components/slider/context.vue.d.ts
|
|
286
|
+
interface SliderContextProps extends SlotsType<{
|
|
287
|
+
default: UnwrapRef<UseSliderContext>;
|
|
288
|
+
}> {}
|
|
289
|
+
declare const _default: typeof __VLS_export;
|
|
290
|
+
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>, {
|
|
291
|
+
default(slider: UnwrapRef<UseSliderContext>): unknown;
|
|
292
|
+
}>;
|
|
293
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
294
|
+
new (): {
|
|
295
|
+
$slots: S;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
//#endregion
|
|
299
|
+
export { slider_d_exports as Slider, _default as SliderContext, type SliderContextProps, _default$1 as SliderControl, type SliderControlBaseProps, type SliderControlProps, _default$2 as SliderDraggingIndicator, type SliderDraggingIndicatorBaseProps, type SliderDraggingIndicatorProps, type SliderFocusChangeDetails, _default$3 as SliderHiddenInput, type SliderHiddenInputBaseProps, type SliderHiddenInputProps, _default$4 as SliderLabel, type SliderLabelBaseProps, type SliderLabelProps, _default$5 as SliderMarker, type SliderMarkerBaseProps, _default$6 as SliderMarkerGroup, type SliderMarkerGroupBaseProps, type SliderMarkerGroupProps, type SliderMarkerProps, _default$7 as SliderRange, type SliderRangeBaseProps, type SliderRangeProps, _default$8 as SliderRoot, type SliderRootBaseProps, type SliderRootEmits, type SliderRootProps, _default$9 as SliderRootProvider, type SliderRootProviderBaseProps, type SliderRootProviderProps, _default$10 as SliderThumb, type SliderThumbBaseProps, type SliderThumbProps, _default$11 as SliderTrack, type SliderTrackBaseProps, type SliderTrackProps, type SliderValueChangeDetails, _default$12 as SliderValueText, type SliderValueTextBaseProps, type SliderValueTextProps, type UseSliderContext, type UseSliderProps, type UseSliderReturn, sliderAnatomy, useSlider, useSliderContext };
|
package/dist/slider.d.ts
ADDED
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { a as PolymorphicProps } from "./factory-BNwuanv4.js";
|
|
2
|
+
import { i as EmitFn$1, l as PropTypes, o as Optional } from "./index-BSoF1D-v.js";
|
|
3
|
+
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
4
|
+
import * as slider from "@wirekyt/dom/machines/slider";
|
|
5
|
+
import { FocusChangeDetails, FocusChangeDetails as SliderFocusChangeDetails, MarkerProps, ThumbProps, ValueChangeDetails, ValueChangeDetails as SliderValueChangeDetails, anatomy as sliderAnatomy } from "@wirekyt/dom/machines/slider";
|
|
6
|
+
//#region src/components/slider/control.vue.d.ts
|
|
7
|
+
interface SliderControlBaseProps extends PolymorphicProps {}
|
|
8
|
+
interface SliderControlProps extends SliderControlBaseProps,
|
|
9
|
+
/**
|
|
10
|
+
* @vue-ignore
|
|
11
|
+
*/
|
|
12
|
+
HTMLAttributes {}
|
|
13
|
+
declare const _default$1: typeof __VLS_export$12;
|
|
14
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<import("vue").DefineComponent<SliderControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderControlProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
15
|
+
default?: (props: {}) => any;
|
|
16
|
+
}>;
|
|
17
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/slider/dragging-indicator.vue.d.ts
|
|
24
|
+
interface SliderDraggingIndicatorBaseProps extends PolymorphicProps {}
|
|
25
|
+
interface SliderDraggingIndicatorProps extends SliderDraggingIndicatorBaseProps,
|
|
26
|
+
/**
|
|
27
|
+
* @vue-ignore
|
|
28
|
+
*/
|
|
29
|
+
HTMLAttributes {}
|
|
30
|
+
declare const _default$2: typeof __VLS_export$11;
|
|
31
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<import("vue").DefineComponent<SliderDraggingIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderDraggingIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
32
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/slider/hidden-input.vue.d.ts
|
|
39
|
+
interface SliderHiddenInputBaseProps extends PolymorphicProps {}
|
|
40
|
+
interface SliderHiddenInputProps extends SliderHiddenInputBaseProps,
|
|
41
|
+
/**
|
|
42
|
+
* @vue-ignore
|
|
43
|
+
*/
|
|
44
|
+
InputHTMLAttributes {}
|
|
45
|
+
declare const _default$3: typeof __VLS_export$10;
|
|
46
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<import("vue").DefineComponent<SliderHiddenInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
47
|
+
default?: (props: {}) => any;
|
|
48
|
+
}>;
|
|
49
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/components/slider/label.vue.d.ts
|
|
56
|
+
interface SliderLabelBaseProps extends PolymorphicProps {}
|
|
57
|
+
interface SliderLabelProps extends SliderLabelBaseProps,
|
|
58
|
+
/**
|
|
59
|
+
* @vue-ignore
|
|
60
|
+
*/
|
|
61
|
+
LabelHTMLAttributes {}
|
|
62
|
+
declare const _default$4: typeof __VLS_export$9;
|
|
63
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<import("vue").DefineComponent<SliderLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
64
|
+
default?: (props: {}) => any;
|
|
65
|
+
}>;
|
|
66
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/components/slider/marker-group.vue.d.ts
|
|
73
|
+
interface SliderMarkerGroupBaseProps extends PolymorphicProps {}
|
|
74
|
+
interface SliderMarkerGroupProps extends SliderMarkerGroupBaseProps,
|
|
75
|
+
/**
|
|
76
|
+
* @vue-ignore
|
|
77
|
+
*/
|
|
78
|
+
HTMLAttributes {}
|
|
79
|
+
declare const _default$6: typeof __VLS_export$8;
|
|
80
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<import("vue").DefineComponent<SliderMarkerGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderMarkerGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
81
|
+
default?: (props: {}) => any;
|
|
82
|
+
}>;
|
|
83
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/components/slider/marker.vue.d.ts
|
|
90
|
+
interface SliderMarkerBaseProps extends MarkerProps, PolymorphicProps {}
|
|
91
|
+
interface SliderMarkerProps extends SliderMarkerBaseProps,
|
|
92
|
+
/**
|
|
93
|
+
* @vue-ignore
|
|
94
|
+
*/
|
|
95
|
+
HTMLAttributes {}
|
|
96
|
+
declare const _default$5: typeof __VLS_export$7;
|
|
97
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<import("vue").DefineComponent<SliderMarkerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderMarkerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
98
|
+
default?: (props: {}) => any;
|
|
99
|
+
}>;
|
|
100
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
101
|
+
new (): {
|
|
102
|
+
$slots: S;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/components/slider/range.vue.d.ts
|
|
107
|
+
interface SliderRangeBaseProps extends PolymorphicProps {}
|
|
108
|
+
interface SliderRangeProps extends SliderRangeBaseProps,
|
|
109
|
+
/**
|
|
110
|
+
* @vue-ignore
|
|
111
|
+
*/
|
|
112
|
+
HTMLAttributes {}
|
|
113
|
+
declare const _default$7: typeof __VLS_export$6;
|
|
114
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<import("vue").DefineComponent<SliderRangeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderRangeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
115
|
+
default?: (props: {}) => any;
|
|
116
|
+
}>;
|
|
117
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
118
|
+
new (): {
|
|
119
|
+
$slots: S;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/components/slider/root-provider.vue.d.ts
|
|
124
|
+
interface RootProviderProps {
|
|
125
|
+
value: UnwrapRef<UseSliderReturn>;
|
|
126
|
+
}
|
|
127
|
+
interface SliderRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
128
|
+
interface SliderRootProviderProps extends SliderRootProviderBaseProps,
|
|
129
|
+
/**
|
|
130
|
+
* @vue-ignore
|
|
131
|
+
*/
|
|
132
|
+
Omit<HTMLAttributes, "aria-labelledby" | "aria-label"> {}
|
|
133
|
+
declare const _default$9: typeof __VLS_export$5;
|
|
134
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<import("vue").DefineComponent<SliderRootProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
135
|
+
default?: (props: {}) => any;
|
|
136
|
+
}>;
|
|
137
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
138
|
+
new (): {
|
|
139
|
+
$slots: S;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/components/slider/types.d.ts
|
|
144
|
+
interface RootProps {
|
|
145
|
+
"aria-label"?: string[];
|
|
146
|
+
"aria-labelledby"?: string[];
|
|
147
|
+
defaultValue?: number[];
|
|
148
|
+
dir?: "ltr" | "rtl";
|
|
149
|
+
disabled?: boolean;
|
|
150
|
+
form?: string;
|
|
151
|
+
getAriaValueText?: (details: slider.ValueTextDetails) => string;
|
|
152
|
+
getRootNode?: () => ShadowRoot | Document | Node;
|
|
153
|
+
id?: string;
|
|
154
|
+
ids?: Partial<{
|
|
155
|
+
root: string;
|
|
156
|
+
thumb(index: number): string;
|
|
157
|
+
hiddenInput(index: number): string;
|
|
158
|
+
control: string;
|
|
159
|
+
track: string;
|
|
160
|
+
range: string;
|
|
161
|
+
label: string;
|
|
162
|
+
valueText: string;
|
|
163
|
+
marker(index: number): string;
|
|
164
|
+
}>;
|
|
165
|
+
invalid?: boolean;
|
|
166
|
+
largeStep?: number;
|
|
167
|
+
max?: number;
|
|
168
|
+
min?: number;
|
|
169
|
+
minStepsBetweenThumbs?: number;
|
|
170
|
+
modelValue?: number[];
|
|
171
|
+
name?: string;
|
|
172
|
+
orientation?: "vertical" | "horizontal";
|
|
173
|
+
origin?: "start" | "center";
|
|
174
|
+
readOnly?: boolean;
|
|
175
|
+
step?: number;
|
|
176
|
+
thumbAlignment?: "center" | "contain";
|
|
177
|
+
thumbCollisionBehavior?: "none" | "push" | "swap";
|
|
178
|
+
thumbSize?: {
|
|
179
|
+
width: number;
|
|
180
|
+
height: number;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
type RootEmits = {
|
|
184
|
+
focusChange: [details: slider.FocusChangeDetails];
|
|
185
|
+
valueChange: [details: slider.ValueChangeDetails];
|
|
186
|
+
valueChangeEnd: [details: slider.ValueChangeDetails];
|
|
187
|
+
"update:modelValue": [value: number[]];
|
|
188
|
+
};
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/components/slider/root.vue.d.ts
|
|
191
|
+
interface SliderRootBaseProps extends RootProps, PolymorphicProps {}
|
|
192
|
+
interface SliderRootProps extends SliderRootBaseProps,
|
|
193
|
+
/**
|
|
194
|
+
* @vue-ignore
|
|
195
|
+
*/
|
|
196
|
+
Omit<HTMLAttributes, "aria-labelledby" | "aria-label" | "dir"> {}
|
|
197
|
+
interface SliderRootEmits extends RootEmits {}
|
|
198
|
+
declare const _default$8: typeof __VLS_export$4;
|
|
199
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<import("vue").DefineComponent<SliderRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
200
|
+
valueChange: (details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any;
|
|
201
|
+
valueChangeEnd: (details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any;
|
|
202
|
+
"update:modelValue": (value: number[]) => any;
|
|
203
|
+
focusChange: (details: import("@wirekyt/dom/machines/slider").FocusChangeDetails) => any;
|
|
204
|
+
}, string, import("vue").PublicProps, Readonly<SliderRootProps> & Readonly<{
|
|
205
|
+
onValueChange?: ((details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any) | undefined;
|
|
206
|
+
onValueChangeEnd?: ((details: import("@wirekyt/dom/machines/slider").ValueChangeDetails) => any) | undefined;
|
|
207
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
208
|
+
onFocusChange?: ((details: import("@wirekyt/dom/machines/slider").FocusChangeDetails) => any) | undefined;
|
|
209
|
+
}>, {
|
|
210
|
+
disabled: boolean;
|
|
211
|
+
invalid: boolean;
|
|
212
|
+
readOnly: boolean;
|
|
213
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
214
|
+
default?: (props: {}) => any;
|
|
215
|
+
}>;
|
|
216
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
217
|
+
new (): {
|
|
218
|
+
$slots: S;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/components/slider/thumb.vue.d.ts
|
|
223
|
+
interface SliderThumbBaseProps extends ThumbProps, PolymorphicProps {}
|
|
224
|
+
interface SliderThumbProps extends SliderThumbBaseProps,
|
|
225
|
+
/**
|
|
226
|
+
* @vue-ignore
|
|
227
|
+
*/
|
|
228
|
+
HTMLAttributes {}
|
|
229
|
+
declare const _default$10: typeof __VLS_export$3;
|
|
230
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<import("vue").DefineComponent<SliderThumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderThumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
231
|
+
default?: (props: {}) => any;
|
|
232
|
+
}>;
|
|
233
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
234
|
+
new (): {
|
|
235
|
+
$slots: S;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/components/slider/track.vue.d.ts
|
|
240
|
+
interface SliderTrackBaseProps extends PolymorphicProps {}
|
|
241
|
+
interface SliderTrackProps extends SliderTrackBaseProps,
|
|
242
|
+
/**
|
|
243
|
+
* @vue-ignore
|
|
244
|
+
*/
|
|
245
|
+
HTMLAttributes {}
|
|
246
|
+
declare const _default$11: typeof __VLS_export$2;
|
|
247
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<import("vue").DefineComponent<SliderTrackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderTrackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
248
|
+
default?: (props: {}) => any;
|
|
249
|
+
}>;
|
|
250
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
251
|
+
new (): {
|
|
252
|
+
$slots: S;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
//#endregion
|
|
256
|
+
//#region src/components/slider/value-text.vue.d.ts
|
|
257
|
+
interface SliderValueTextBaseProps extends PolymorphicProps {}
|
|
258
|
+
interface SliderValueTextProps extends SliderValueTextBaseProps,
|
|
259
|
+
/**
|
|
260
|
+
* @vue-ignore
|
|
261
|
+
*/
|
|
262
|
+
HTMLAttributes {}
|
|
263
|
+
declare const _default$12: typeof __VLS_export$1;
|
|
264
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<import("vue").DefineComponent<SliderValueTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliderValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
265
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
266
|
+
new (): {
|
|
267
|
+
$slots: S;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
declare namespace slider_d_exports {
|
|
271
|
+
export { _default as Context, SliderContextProps as ContextProps, _default$1 as Control, SliderControlBaseProps as ControlBaseProps, SliderControlProps as ControlProps, _default$2 as DraggingIndicator, SliderDraggingIndicatorBaseProps as DraggingIndicatorBaseProps, SliderDraggingIndicatorProps as DraggingIndicatorProps, FocusChangeDetails, _default$3 as HiddenInput, SliderHiddenInputBaseProps as HiddenInputBaseProps, SliderHiddenInputProps as HiddenInputProps, _default$4 as Label, SliderLabelBaseProps as LabelBaseProps, SliderLabelProps as LabelProps, _default$5 as Marker, SliderMarkerBaseProps as MarkerBaseProps, _default$6 as MarkerGroup, SliderMarkerGroupBaseProps as MarkerGroupBaseProps, SliderMarkerGroupProps as MarkerGroupProps, SliderMarkerProps as MarkerProps, _default$7 as Range, SliderRangeBaseProps as RangeBaseProps, SliderRangeProps as RangeProps, _default$8 as Root, SliderRootBaseProps as RootBaseProps, SliderRootEmits as RootEmits, SliderRootProps as RootProps, _default$9 as RootProvider, SliderRootProviderBaseProps as RootProviderBaseProps, SliderRootProviderProps as RootProviderProps, _default$10 as Thumb, SliderThumbBaseProps as ThumbBaseProps, SliderThumbProps as ThumbProps, _default$11 as Track, SliderTrackBaseProps as TrackBaseProps, SliderTrackProps as TrackProps, ValueChangeDetails, _default$12 as ValueText, SliderValueTextBaseProps as ValueTextBaseProps, SliderValueTextProps as ValueTextProps };
|
|
272
|
+
}
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region src/components/slider/use-slider.d.ts
|
|
275
|
+
interface UseSliderProps extends Optional<slider.Props, "id"> {
|
|
276
|
+
modelValue?: slider.Props["value"];
|
|
277
|
+
}
|
|
278
|
+
interface UseSliderReturn extends ComputedRef<slider.Api<PropTypes>> {}
|
|
279
|
+
declare const useSlider: (props?: MaybeRef<UseSliderProps>, emit?: EmitFn$1<SliderRootEmits>) => UseSliderReturn;
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/components/slider/use-context.d.ts
|
|
282
|
+
interface UseSliderContext extends UseSliderReturn {}
|
|
283
|
+
declare const SliderProvider: (opts: UseSliderContext) => void, useSliderContext: (fallback?: UseSliderContext | undefined) => UseSliderContext;
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region src/components/slider/context.vue.d.ts
|
|
286
|
+
interface SliderContextProps extends SlotsType<{
|
|
287
|
+
default: UnwrapRef<UseSliderContext>;
|
|
288
|
+
}> {}
|
|
289
|
+
declare const _default: typeof __VLS_export;
|
|
290
|
+
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>, {
|
|
291
|
+
default(slider: UnwrapRef<UseSliderContext>): unknown;
|
|
292
|
+
}>;
|
|
293
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
294
|
+
new (): {
|
|
295
|
+
$slots: S;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
//#endregion
|
|
299
|
+
export { slider_d_exports as Slider, _default as SliderContext, type SliderContextProps, _default$1 as SliderControl, type SliderControlBaseProps, type SliderControlProps, _default$2 as SliderDraggingIndicator, type SliderDraggingIndicatorBaseProps, type SliderDraggingIndicatorProps, type SliderFocusChangeDetails, _default$3 as SliderHiddenInput, type SliderHiddenInputBaseProps, type SliderHiddenInputProps, _default$4 as SliderLabel, type SliderLabelBaseProps, type SliderLabelProps, _default$5 as SliderMarker, type SliderMarkerBaseProps, _default$6 as SliderMarkerGroup, type SliderMarkerGroupBaseProps, type SliderMarkerGroupProps, type SliderMarkerProps, _default$7 as SliderRange, type SliderRangeBaseProps, type SliderRangeProps, _default$8 as SliderRoot, type SliderRootBaseProps, type SliderRootEmits, type SliderRootProps, _default$9 as SliderRootProvider, type SliderRootProviderBaseProps, type SliderRootProviderProps, _default$10 as SliderThumb, type SliderThumbBaseProps, type SliderThumbProps, _default$11 as SliderTrack, type SliderTrackBaseProps, type SliderTrackProps, type SliderValueChangeDetails, _default$12 as SliderValueText, type SliderValueTextBaseProps, type SliderValueTextProps, type UseSliderContext, type UseSliderProps, type UseSliderReturn, sliderAnatomy, useSlider, useSliderContext };
|