@sprawlify/vue 0.0.72 → 0.0.74
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-anatomy-SnniqySz.js +3 -0
- package/dist/accordion-anatomy-rCL5aWqn.d.ts +2 -0
- package/dist/angle-slider-anatomy-BcpYlzjU.js +3 -0
- package/dist/angle-slider-anatomy-Dx77gXPi.d.ts +2 -0
- package/dist/avatar-anatomy-DkaRck8U.js +3 -0
- package/dist/avatar-anatomy-DqwdmVib.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-CATwdEhi.d.ts +2 -0
- package/dist/bottom-sheet-anatomy-lHEnPDuf.js +3 -0
- package/dist/carousel-anatomy-CP646ljY.d.ts +6 -0
- package/dist/carousel-anatomy-Dozyhz87.js +7 -0
- package/dist/checkbox-anatomy-DGrjF6ri.d.ts +6 -0
- package/dist/checkbox-anatomy-DrTfnRdC.js +7 -0
- package/dist/clipboard-anatomy-Btcms62_.js +3 -0
- package/dist/clipboard-anatomy-BtxJPw4p.d.ts +2 -0
- package/dist/collapsible-anatomy-Bz0a8LAr.js +3 -0
- package/dist/collapsible-anatomy-C-2X58M2.d.ts +2 -0
- package/dist/{collapsible-jX9S7WYj.js → collapsible-kw6uns8K.js} +3 -4
- package/dist/{collection-DGKjEgOz.js → collection-BHgAE3BH.js} +1 -1
- package/dist/color-picker-anatomy-C18pJhHu.d.ts +6 -0
- package/dist/color-picker-anatomy-DJP6gg1F.js +7 -0
- package/dist/combobox-anatomy-CwdkDJPn.d.ts +6 -0
- package/dist/combobox-anatomy-DccBa7f5.js +7 -0
- package/dist/components/accordion/index.d.ts +21 -20
- package/dist/components/accordion/index.js +6 -6
- package/dist/components/anatomy.d.ts +51 -0
- package/dist/components/anatomy.js +53 -0
- package/dist/components/angle-slider/index.d.ts +18 -17
- package/dist/components/angle-slider/index.js +3 -3
- package/dist/components/avatar/index.d.ts +13 -12
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/bottom-sheet/index.d.ts +24 -23
- package/dist/components/bottom-sheet/index.js +6 -6
- package/dist/components/carousel/index.d.ts +24 -27
- package/dist/components/carousel/index.js +3 -7
- package/dist/components/checkbox/index.d.ts +22 -25
- package/dist/components/checkbox/index.js +8 -10
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +17 -16
- package/dist/components/clipboard/index.js +3 -3
- package/dist/components/collapsible/index.d.ts +17 -16
- package/dist/components/collapsible/index.js +3 -2
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +55 -58
- package/dist/components/color-picker/index.js +8 -10
- package/dist/components/combobox/index.d.ts +38 -41
- package/dist/components/combobox/index.js +8 -11
- package/dist/components/date-picker/index.d.ts +48 -51
- package/dist/components/date-picker/index.js +6 -9
- package/dist/components/dialog/index.d.ts +37 -36
- package/dist/components/dialog/index.js +5 -5
- package/dist/components/download-trigger/index.d.ts +4 -4
- package/dist/components/download-trigger/index.js +1 -1
- package/dist/components/editable/index.d.ts +29 -28
- package/dist/components/editable/index.js +5 -4
- package/dist/components/field/index.d.ts +24 -27
- package/dist/components/field/index.js +3 -2
- package/dist/components/fieldset/index.d.ts +12 -15
- package/dist/components/fieldset/index.js +3 -2
- package/dist/components/file-upload/index.d.ts +27 -26
- package/dist/components/file-upload/index.js +5 -4
- package/dist/components/floating-panel/index.d.ts +29 -27
- package/dist/components/floating-panel/index.js +4 -4
- package/dist/components/focus-trap/index.d.ts +5 -5
- package/dist/components/focus-trap/index.js +2 -2
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +28 -27
- package/dist/components/hover-card/index.js +5 -5
- package/dist/components/image-cropper/index.d.ts +15 -18
- package/dist/components/image-cropper/index.js +4 -7
- package/dist/components/json-tree-view/index.d.ts +13 -13
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +23 -26
- package/dist/components/listbox/index.js +4 -8
- package/dist/components/marquee/index.d.ts +25 -24
- package/dist/components/marquee/index.js +3 -3
- package/dist/components/menu/index.d.ts +60 -58
- package/dist/components/menu/index.js +5 -5
- package/dist/components/navigation-menu/index.d.ts +22 -21
- package/dist/components/navigation-menu/index.js +5 -5
- package/dist/components/number-input/index.d.ts +24 -23
- package/dist/components/number-input/index.js +5 -4
- package/dist/components/pagination/index.d.ts +19 -18
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/password-input/index.d.ts +26 -25
- package/dist/components/password-input/index.js +5 -4
- package/dist/components/pin-input/index.d.ts +21 -20
- package/dist/components/pin-input/index.js +5 -4
- package/dist/components/popover/index.d.ts +39 -38
- package/dist/components/popover/index.js +5 -5
- package/dist/components/presence/index.d.ts +2 -2
- package/dist/components/presence/index.js +2 -2
- package/dist/components/progress/index.d.ts +17 -16
- package/dist/components/progress/index.js +3 -3
- package/dist/components/qr-code/index.d.ts +13 -12
- package/dist/components/qr-code/index.js +3 -3
- package/dist/components/radio-group/index.d.ts +19 -18
- package/dist/components/radio-group/index.js +6 -5
- package/dist/components/rating-group/index.d.ts +17 -16
- package/dist/components/rating-group/index.js +5 -4
- package/dist/components/scroll-area/index.d.ts +14 -13
- package/dist/components/scroll-area/index.js +3 -3
- package/dist/components/segment-group/index.d.ts +17 -20
- package/dist/components/segment-group/index.js +3 -8
- package/dist/components/select/index.d.ts +41 -40
- package/dist/components/select/index.js +8 -7
- package/dist/components/signature-pad/index.d.ts +18 -17
- package/dist/components/signature-pad/index.js +5 -4
- package/dist/components/slider/index.d.ts +23 -22
- package/dist/components/slider/index.js +3 -3
- package/dist/components/splitter/index.d.ts +14 -13
- package/dist/components/splitter/index.js +4 -3
- package/dist/components/steps/index.d.ts +22 -21
- package/dist/components/steps/index.js +3 -3
- package/dist/components/switch/index.d.ts +18 -17
- package/dist/components/switch/index.js +5 -4
- package/dist/components/tabs/index.d.ts +18 -17
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tags-input/index.d.ts +35 -34
- package/dist/components/tags-input/index.js +5 -4
- package/dist/components/timer/index.d.ts +16 -15
- package/dist/components/timer/index.js +3 -3
- package/dist/components/toast/index.d.ts +155 -0
- package/dist/components/toast/index.js +265 -0
- package/dist/components/toggle/index.d.ts +98 -0
- package/dist/components/toggle/index.js +126 -0
- package/dist/components/toggle-group/index.d.ts +128 -0
- package/dist/components/toggle-group/index.js +207 -0
- package/dist/components/tooltip/index.d.ts +202 -0
- package/dist/components/tooltip/index.js +349 -0
- package/dist/components/tour/index.d.ts +305 -0
- package/dist/components/tour/index.js +502 -0
- package/dist/components/tree-view/index.d.ts +6 -5
- package/dist/components/tree-view/index.js +6 -5
- package/dist/date-picker-anatomy-B3KhAu53.d.ts +6 -0
- package/dist/date-picker-anatomy-BbB7oLLk.js +7 -0
- package/dist/dialog-anatomy--8BPzYvc.d.ts +2 -0
- package/dist/dialog-anatomy-DZW7OUW_.js +3 -0
- package/dist/editable-anatomy-D1eyySPH.js +3 -0
- package/dist/editable-anatomy-qX6giV4Y.d.ts +2 -0
- package/dist/{field-CtPR24u6.js → field-C6iB3Tje.js} +3 -8
- package/dist/field-anatomy-DOCpzb4B.js +8 -0
- package/dist/field-anatomy-meDug-96.d.ts +6 -0
- package/dist/{fieldset-D5SznrKY.js → fieldset-B1bn9yHW.js} +3 -8
- package/dist/fieldset-anatomy-BENizr4L.d.ts +6 -0
- package/dist/fieldset-anatomy-DmZTaMK6.js +8 -0
- package/dist/file-upload-anatomy-BFGZTW-d.d.ts +2 -0
- package/dist/file-upload-anatomy-CZ2VnScd.js +3 -0
- package/dist/floating-panel-anatomy-DBrl1Bp0.js +3 -0
- package/dist/floating-panel-anatomy-aRL0nEuA.d.ts +2 -0
- package/dist/hover-card-anatomy-BL8G0P5L.d.ts +2 -0
- package/dist/hover-card-anatomy-D3wEfkuu.js +3 -0
- package/dist/image-cropper-anatomy-Q-TC-Ntz.d.ts +6 -0
- package/dist/image-cropper-anatomy-vcTNTTGP.js +7 -0
- package/dist/{index-DwWFWpls.d.ts → index-CKLWua9t.d.ts} +35 -35
- package/dist/{index-B_UiXhk3.d.ts → index-DLfVD7U5.d.ts} +11 -11
- package/dist/{index-xb1q4_02.d.ts → index-_AirUBz0.d.ts} +7 -7
- package/dist/index.d.ts +3 -3
- package/dist/listbox-anatomy-CHgk_go8.d.ts +6 -0
- package/dist/listbox-anatomy-D2r-4uq6.js +7 -0
- package/dist/marquee-anatomy-BSMR6X4B.d.ts +2 -0
- package/dist/marquee-anatomy-sKw9g-dJ.js +3 -0
- package/dist/menu-anatomy-2i8La6ak.d.ts +2 -0
- package/dist/menu-anatomy-DbCORryZ.js +3 -0
- package/dist/navigation-menu-anatomy-kSlLw4EL.d.ts +2 -0
- package/dist/navigation-menu-anatomy-nwZUxyMV.js +3 -0
- package/dist/number-input-anatomy-BrKnd1U3.d.ts +2 -0
- package/dist/number-input-anatomy-hB3PpB4j.js +3 -0
- package/dist/pagination-anatomy-D8yk0Puf.js +3 -0
- package/dist/pagination-anatomy-NpCn-mYm.d.ts +2 -0
- package/dist/password-input-anatomy-BJPXSE6T.d.ts +2 -0
- package/dist/password-input-anatomy-D0nhl7MJ.js +3 -0
- package/dist/pin-input-anatomy-Blh9Y2sq.js +3 -0
- package/dist/pin-input-anatomy-OckZj-cF.d.ts +2 -0
- package/dist/popover-anatomy-Ce31QPso.d.ts +2 -0
- package/dist/popover-anatomy-DXWeYlnF.js +3 -0
- package/dist/{presence-B4-UhJY9.js → presence-Byk0B_Vq.js} +1 -1
- package/dist/progress-anatomy-DUD4W7vg.d.ts +2 -0
- package/dist/progress-anatomy-lioRhIrB.js +3 -0
- package/dist/qr-code-anatomy-CIy9Wai6.js +3 -0
- package/dist/qr-code-anatomy-Dmh5IV3m.d.ts +2 -0
- package/dist/radio-group-anatomy-C7L8dkhn.js +3 -0
- package/dist/radio-group-anatomy-CXwS1OoR.d.ts +2 -0
- package/dist/rating-group-anatomy-CBhzoESK.js +3 -0
- package/dist/rating-group-anatomy-DMTutKxa.d.ts +2 -0
- package/dist/scroll-area-anatomy-B-FlUOdc.js +3 -0
- package/dist/scroll-area-anatomy-Cxkrq_al.d.ts +2 -0
- package/dist/segment-group-anatomy-CNtzx5Yr.d.ts +6 -0
- package/dist/segment-group-anatomy-CPdu1efW.js +8 -0
- package/dist/select-anatomy-CiNHi2Kx.js +3 -0
- package/dist/select-anatomy-Elu3b3Op.d.ts +2 -0
- package/dist/signature-pad-anatomy-B-OK1170.d.ts +2 -0
- package/dist/signature-pad-anatomy-Mz3w_i5B.js +3 -0
- package/dist/slider-anatomy-3KpCBnz3.js +3 -0
- package/dist/slider-anatomy-Ctfd4geR.d.ts +2 -0
- package/dist/splitter-anatomy-CN7s6WdQ.d.ts +2 -0
- package/dist/splitter-anatomy-D2RNa-hA.js +3 -0
- package/dist/steps-anatomy-CSfgiyVI.js +3 -0
- package/dist/steps-anatomy-DrtAi5Mk.d.ts +2 -0
- package/dist/switch-anatomy-DDL1v5Fs.js +3 -0
- package/dist/switch-anatomy-Z4qGqnte.d.ts +2 -0
- package/dist/tabs-anatomy-BL3YLH_t.d.ts +2 -0
- package/dist/tabs-anatomy-DlQHg-E8.js +3 -0
- package/dist/tags-input-anatomy-AHepxK3s.d.ts +2 -0
- package/dist/tags-input-anatomy-DYSi98Bx.js +3 -0
- package/dist/timer-anatomy-Be-Fa71t.d.ts +2 -0
- package/dist/timer-anatomy-C9bTbrUf.js +3 -0
- package/dist/toast-anatomy-CssUp7TT.js +3 -0
- package/dist/toast-anatomy-_k_zeUjw.d.ts +2 -0
- package/dist/toggle-anatomy-D8XJQLnW.js +8 -0
- package/dist/toggle-anatomy-DFzkjtVR.d.ts +6 -0
- package/dist/toggle-group-anatomy-DD8PvB75.js +3 -0
- package/dist/toggle-group-anatomy-L0_56E8r.d.ts +2 -0
- package/dist/tooltip-anatomy-CPw1wOXd.js +3 -0
- package/dist/tooltip-anatomy-jbsTMGov.d.ts +2 -0
- package/dist/tour-anatomy-CDmnjoPR.js +7 -0
- package/dist/tour-anatomy-CgFQsxyi.d.ts +6 -0
- package/dist/{tree-view-Ctpu5RjE.js → tree-view-BBC0paRq.js} +6 -7
- package/dist/tree-view-anatomy-BM2MLpUa.d.ts +2 -0
- package/dist/tree-view-anatomy-BW_ruJ-g.js +3 -0
- package/package.json +26 -2
- /package/dist/{boolean-CpMsIRK4.js → boolean-L5YmbZkb.js} +0 -0
- /package/dist/{clean-props-D2R4tz5e.js → clean-props-DsGHTEpm.js} +0 -0
- /package/dist/{create-split-props-0RD5_O4P.js → create-split-props-BQ6yvpdF.js} +0 -0
- /package/dist/{factory-B5zr8_kk.d.ts → factory-D5HMCjkS.d.ts} +0 -0
- /package/dist/{factory-Co08Aw8u.js → factory-DxZQviAU.js} +0 -0
- /package/dist/{index-CCRVRFFQ.d.ts → index-DmKzfNVe.d.ts} +0 -0
- /package/dist/{index-DhFoJHfp.d.ts → index-e9UjgIag.d.ts} +0 -0
- /package/dist/{presence-types-BJRr8tqd.d.ts → presence-types-CaUy1bPc.d.ts} +0 -0
- /package/dist/{types-DIEO6uP3.d.ts → types-DVbnnQPS.d.ts} +0 -0
- /package/dist/{use-render-strategy-DA33j31C.js → use-render-strategy-Bx4OiQlo.js} +0 -0
- /package/dist/{use-render-strategy-U5NxU252.d.ts → use-render-strategy-DsagWQCm.d.ts} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { t as RootEmits$1 } from "../../presence-types-
|
|
3
|
-
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
5
|
-
import { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-CaUy1bPc.js";
|
|
3
|
+
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-DVbnnQPS.js";
|
|
4
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
5
|
+
import { t as RenderStrategyProps } from "../../use-render-strategy-DsagWQCm.js";
|
|
6
|
+
import { t as selectAnatomy } from "../../select-anatomy-Elu3b3Op.js";
|
|
7
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-e9UjgIag.js";
|
|
8
|
+
import * as vue469 from "vue";
|
|
8
9
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, UnwrapRef } from "vue";
|
|
9
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_bottom_sheet5 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
10
11
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
11
|
-
import { FocusOutsideEvent, FocusOutsideEvent as SelectFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as SelectHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as SelectInteractOutsideEvent, ItemGroupProps
|
|
12
|
+
import { FocusOutsideEvent, FocusOutsideEvent as SelectFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as SelectHighlightChangeDetails, InteractOutsideEvent, InteractOutsideEvent as SelectInteractOutsideEvent, ItemGroupProps, ItemProps, ItemState, OpenChangeDetails, OpenChangeDetails as SelectOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as SelectPointerDownOutsideEvent, ValueChangeDetails, ValueChangeDetails as SelectValueChangeDetails } from "@sprawlify/primitives/machines/select";
|
|
12
13
|
|
|
13
14
|
//#region src/components/select/select-clear-trigger.vue.d.ts
|
|
14
15
|
interface SelectClearTriggerBaseProps extends PolymorphicProps {}
|
|
@@ -18,7 +19,7 @@ interface SelectClearTriggerProps extends SelectClearTriggerBaseProps,
|
|
|
18
19
|
*/
|
|
19
20
|
ButtonHTMLAttributes {}
|
|
20
21
|
declare const _default: typeof __VLS_export$18;
|
|
21
|
-
declare const __VLS_export$18: __VLS_WithSlots$14<
|
|
22
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<vue469.DefineComponent<SelectClearTriggerProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
22
23
|
default?: (props: {}) => any;
|
|
23
24
|
}>;
|
|
24
25
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
@@ -35,7 +36,7 @@ interface SelectContentProps extends SelectContentBaseProps,
|
|
|
35
36
|
*/
|
|
36
37
|
HTMLAttributes {}
|
|
37
38
|
declare const _default$1: typeof __VLS_export$17;
|
|
38
|
-
declare const __VLS_export$17: __VLS_WithSlots$13<
|
|
39
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<vue469.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
39
40
|
default?: (props: {}) => any;
|
|
40
41
|
}>;
|
|
41
42
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -52,7 +53,7 @@ interface SelectControlProps extends SelectControlBaseProps,
|
|
|
52
53
|
*/
|
|
53
54
|
HTMLAttributes {}
|
|
54
55
|
declare const _default$3: typeof __VLS_export$16;
|
|
55
|
-
declare const __VLS_export$16: __VLS_WithSlots$12<
|
|
56
|
+
declare const __VLS_export$16: __VLS_WithSlots$12<vue469.DefineComponent<SelectControlProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
56
57
|
default?: (props: {}) => any;
|
|
57
58
|
}>;
|
|
58
59
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -69,7 +70,7 @@ interface SelectHiddenSelectProps extends SelectHiddenSelectBaseProps,
|
|
|
69
70
|
*/
|
|
70
71
|
SelectHTMLAttributes {}
|
|
71
72
|
declare const _default$4: typeof __VLS_export$15;
|
|
72
|
-
declare const __VLS_export$15:
|
|
73
|
+
declare const __VLS_export$15: vue469.DefineComponent<SelectHiddenSelectProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectHiddenSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>;
|
|
73
74
|
//#endregion
|
|
74
75
|
//#region src/components/select/select-indicator.vue.d.ts
|
|
75
76
|
interface SelectIndicatorBaseProps extends PolymorphicProps {}
|
|
@@ -79,7 +80,7 @@ interface SelectIndicatorProps extends SelectIndicatorBaseProps,
|
|
|
79
80
|
*/
|
|
80
81
|
HTMLAttributes {}
|
|
81
82
|
declare const _default$5: typeof __VLS_export$14;
|
|
82
|
-
declare const __VLS_export$14: __VLS_WithSlots$11<
|
|
83
|
+
declare const __VLS_export$14: __VLS_WithSlots$11<vue469.DefineComponent<SelectIndicatorProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
83
84
|
default?: (props: {}) => any;
|
|
84
85
|
}>;
|
|
85
86
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -96,7 +97,7 @@ interface SelectListProps extends SelectListBaseProps,
|
|
|
96
97
|
*/
|
|
97
98
|
HTMLAttributes {}
|
|
98
99
|
declare const _default$13: typeof __VLS_export$13;
|
|
99
|
-
declare const __VLS_export$13: __VLS_WithSlots$10<
|
|
100
|
+
declare const __VLS_export$13: __VLS_WithSlots$10<vue469.DefineComponent<SelectListProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
100
101
|
default?: (props: {}) => any;
|
|
101
102
|
}>;
|
|
102
103
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -113,7 +114,7 @@ interface SelectItemContextProps extends SlotsType<{
|
|
|
113
114
|
default: UnwrapRef<UseSelectItemContext>;
|
|
114
115
|
}> {}
|
|
115
116
|
declare const _default$7: typeof __VLS_export$12;
|
|
116
|
-
declare const __VLS_export$12: __VLS_WithSlots$9<
|
|
117
|
+
declare const __VLS_export$12: __VLS_WithSlots$9<vue469.DefineComponent<{}, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, true, {}, any>, {
|
|
117
118
|
default(item: UnwrapRef<UseSelectItemContext>): unknown;
|
|
118
119
|
}>;
|
|
119
120
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -130,7 +131,7 @@ interface SelectItemGroupLabelProps extends SelectItemGroupLabelBaseProps,
|
|
|
130
131
|
*/
|
|
131
132
|
HTMLAttributes {}
|
|
132
133
|
declare const _default$9: typeof __VLS_export$11;
|
|
133
|
-
declare const __VLS_export$11: __VLS_WithSlots$8<
|
|
134
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<vue469.DefineComponent<SelectItemGroupLabelProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
134
135
|
default?: (props: {}) => any;
|
|
135
136
|
}>;
|
|
136
137
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -140,14 +141,14 @@ type __VLS_WithSlots$8<T, S> = T & {
|
|
|
140
141
|
};
|
|
141
142
|
//#endregion
|
|
142
143
|
//#region src/components/select/select-item-group.vue.d.ts
|
|
143
|
-
interface SelectItemGroupBaseProps extends Partial<ItemGroupProps
|
|
144
|
+
interface SelectItemGroupBaseProps extends Partial<ItemGroupProps>, PolymorphicProps {}
|
|
144
145
|
interface SelectItemGroupProps extends SelectItemGroupBaseProps,
|
|
145
146
|
/**
|
|
146
147
|
* @vue-ignore
|
|
147
148
|
*/
|
|
148
149
|
HTMLAttributes {}
|
|
149
150
|
declare const _default$8: typeof __VLS_export$10;
|
|
150
|
-
declare const __VLS_export$10: __VLS_WithSlots$7<
|
|
151
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<vue469.DefineComponent<SelectItemGroupProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
151
152
|
default?: (props: {}) => any;
|
|
152
153
|
}>;
|
|
153
154
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -164,7 +165,7 @@ interface SelectItemIndicatorProps extends SelectItemIndicatorBaseProps,
|
|
|
164
165
|
*/
|
|
165
166
|
HTMLAttributes {}
|
|
166
167
|
declare const _default$10: typeof __VLS_export$9;
|
|
167
|
-
declare const __VLS_export$9: __VLS_WithSlots$6<
|
|
168
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<vue469.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
168
169
|
default?: (props: {}) => any;
|
|
169
170
|
}>;
|
|
170
171
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -181,7 +182,7 @@ interface SelectItemTextProps extends SelectItemTextBaseProps,
|
|
|
181
182
|
*/
|
|
182
183
|
HTMLAttributes {}
|
|
183
184
|
declare const _default$11: typeof __VLS_export$8;
|
|
184
|
-
declare const __VLS_export$8: __VLS_WithSlots$5<
|
|
185
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<vue469.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
185
186
|
default?: (props: {}) => any;
|
|
186
187
|
}>;
|
|
187
188
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -191,14 +192,14 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
191
192
|
};
|
|
192
193
|
//#endregion
|
|
193
194
|
//#region src/components/select/select-item.vue.d.ts
|
|
194
|
-
interface SelectItemBaseProps extends ItemProps
|
|
195
|
+
interface SelectItemBaseProps extends ItemProps, PolymorphicProps {}
|
|
195
196
|
interface SelectItemProps extends SelectItemBaseProps,
|
|
196
197
|
/**
|
|
197
198
|
* @vue-ignore
|
|
198
199
|
*/
|
|
199
200
|
HTMLAttributes {}
|
|
200
201
|
declare const _default$6: typeof __VLS_export$7;
|
|
201
|
-
declare const __VLS_export$7: __VLS_WithSlots$4<
|
|
202
|
+
declare const __VLS_export$7: __VLS_WithSlots$4<vue469.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
202
203
|
default?: (props: {}) => any;
|
|
203
204
|
}>;
|
|
204
205
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -215,7 +216,7 @@ interface SelectLabelProps extends SelectLabelBaseProps,
|
|
|
215
216
|
*/
|
|
216
217
|
LabelHTMLAttributes {}
|
|
217
218
|
declare const _default$12: typeof __VLS_export$6;
|
|
218
|
-
declare const __VLS_export$6: __VLS_WithSlots$3<
|
|
219
|
+
declare const __VLS_export$6: __VLS_WithSlots$3<vue469.DefineComponent<SelectLabelProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
219
220
|
default?: (props: {}) => any;
|
|
220
221
|
}>;
|
|
221
222
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -232,7 +233,7 @@ interface SelectPositionerProps extends SelectPositionerBaseProps,
|
|
|
232
233
|
*/
|
|
233
234
|
HTMLAttributes {}
|
|
234
235
|
declare const _default$14: typeof __VLS_export$5;
|
|
235
|
-
declare const __VLS_export$5: __VLS_WithSlots$2<
|
|
236
|
+
declare const __VLS_export$5: __VLS_WithSlots$2<vue469.DefineComponent<SelectPositionerProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
236
237
|
default?: (props: {}) => any;
|
|
237
238
|
}>;
|
|
238
239
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -255,7 +256,7 @@ type SelectRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Ass
|
|
|
255
256
|
interface SelectRootProviderEmits extends RootEmits$1 {}
|
|
256
257
|
declare const _default$16: typeof __VLS_export$4;
|
|
257
258
|
declare const __VLS_export$4: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
258
|
-
props:
|
|
259
|
+
props: vue469.PublicProps & __VLS_PrettifyLocal$2<SelectRootProviderProps<T> & {
|
|
259
260
|
onExitComplete?: (() => any) | undefined;
|
|
260
261
|
}> & (typeof globalThis extends {
|
|
261
262
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -266,7 +267,7 @@ declare const __VLS_export$4: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
266
267
|
default?: (props: {}) => any;
|
|
267
268
|
};
|
|
268
269
|
emit: (evt: "exitComplete") => void;
|
|
269
|
-
}>) =>
|
|
270
|
+
}>) => vue469.VNode & {
|
|
270
271
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
271
272
|
};
|
|
272
273
|
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -333,18 +334,18 @@ type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}>
|
|
|
333
334
|
type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => any;
|
|
334
335
|
declare const _default$15: typeof __VLS_export$3;
|
|
335
336
|
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<{
|
|
336
|
-
props:
|
|
337
|
+
props: vue469.PublicProps & __VLS_PrettifyLocal$1<SelectRootProps<T> & {
|
|
337
338
|
onSelect?: ((details: select.SelectionDetails) => any) | undefined;
|
|
338
|
-
onExitComplete?: (() => any) | undefined;
|
|
339
339
|
onValueChange?: ((details: select.ValueChangeDetails<T>) => any) | undefined;
|
|
340
340
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
onOpenChange?: ((details: select.OpenChangeDetails) => any) | undefined;
|
|
344
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu11.PointerDownOutsideEvent) => any) | undefined;
|
|
345
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
341
|
+
onExitComplete?: (() => any) | undefined;
|
|
342
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet5.FocusOutsideEvent) => any) | undefined;
|
|
346
343
|
onHighlightChange?: ((details: select.HighlightChangeDetails<T>) => any) | undefined;
|
|
344
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet5.InteractOutsideEvent) => any) | undefined;
|
|
345
|
+
onOpenChange?: ((details: select.OpenChangeDetails) => any) | undefined;
|
|
346
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet5.PointerDownOutsideEvent) => any) | undefined;
|
|
347
347
|
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
348
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
348
349
|
}> & (typeof globalThis extends {
|
|
349
350
|
__VLS_PROPS_FALLBACK: infer P;
|
|
350
351
|
} ? P : {});
|
|
@@ -353,8 +354,8 @@ declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
353
354
|
slots: {
|
|
354
355
|
default?: (props: {}) => any;
|
|
355
356
|
};
|
|
356
|
-
emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "
|
|
357
|
-
}>) =>
|
|
357
|
+
emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "valueChange", details: select.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "exitComplete") => void) & ((evt: "focusOutside", event: _sprawlify_primitives_machines_bottom_sheet5.FocusOutsideEvent) => void) & ((evt: "highlightChange", details: select.HighlightChangeDetails<T>) => void) & ((evt: "interactOutside", event: _sprawlify_primitives_machines_bottom_sheet5.InteractOutsideEvent) => void) & ((evt: "openChange", details: select.OpenChangeDetails) => void) & ((evt: "pointerDownOutside", event: _sprawlify_primitives_machines_bottom_sheet5.PointerDownOutsideEvent) => void) & ((evt: "update:highlightedValue", value: string | null) => void) & ((evt: "update:open", open: boolean) => void);
|
|
358
|
+
}>) => vue469.VNode & {
|
|
358
359
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
359
360
|
};
|
|
360
361
|
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -367,7 +368,7 @@ interface SelectTriggerProps extends SelectTriggerBaseProps,
|
|
|
367
368
|
*/
|
|
368
369
|
ButtonHTMLAttributes {}
|
|
369
370
|
declare const _default$17: typeof __VLS_export$2;
|
|
370
|
-
declare const __VLS_export$2: __VLS_WithSlots$1<
|
|
371
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<vue469.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, {
|
|
371
372
|
default?: (props: {}) => any;
|
|
372
373
|
}>;
|
|
373
374
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -386,7 +387,7 @@ HTMLAttributes {
|
|
|
386
387
|
placeholder?: string;
|
|
387
388
|
}
|
|
388
389
|
declare const _default$18: typeof __VLS_export$1;
|
|
389
|
-
declare const __VLS_export$1: __VLS_WithSlots<
|
|
390
|
+
declare const __VLS_export$1: __VLS_WithSlots<vue469.DefineComponent<SelectValueTextProps, {}, {}, {}, {}, vue469.ComponentOptionsMixin, vue469.ComponentOptionsMixin, {}, string, vue469.PublicProps, Readonly<SelectValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue469.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
390
391
|
type __VLS_WithSlots<T, S> = T & {
|
|
391
392
|
new (): {
|
|
392
393
|
$slots: S;
|
|
@@ -413,7 +414,7 @@ interface SelectContextProps<T extends CollectionItem> extends SlotsType<{
|
|
|
413
414
|
}> {}
|
|
414
415
|
declare const _default$2: typeof __VLS_export;
|
|
415
416
|
declare const __VLS_export: <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<{
|
|
416
|
-
props:
|
|
417
|
+
props: vue469.PublicProps & (typeof globalThis extends {
|
|
417
418
|
__VLS_PROPS_FALLBACK: infer P;
|
|
418
419
|
} ? P : {});
|
|
419
420
|
expose: (exposed: {}) => void;
|
|
@@ -422,7 +423,7 @@ declare const __VLS_export: <T extends CollectionItem>(__VLS_props: NonNullable<
|
|
|
422
423
|
default(select: UnwrapRef<UseSelectContext<T>>): unknown;
|
|
423
424
|
};
|
|
424
425
|
emit: {};
|
|
425
|
-
}>) =>
|
|
426
|
+
}>) => vue469.VNode & {
|
|
426
427
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
427
428
|
};
|
|
428
429
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -3,15 +3,16 @@ import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../..
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
6
|
+
import "../../field-anatomy-DOCpzb4B.js";
|
|
7
|
+
import { t as selectAnatomy } from "../../select-anatomy-CiNHi2Kx.js";
|
|
8
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
9
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-Bx4OiQlo.js";
|
|
11
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-Byk0B_Vq.js";
|
|
12
|
+
import { p as useFieldContext } from "../../field-C6iB3Tje.js";
|
|
13
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-BHgAE3BH.js";
|
|
12
14
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
13
15
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
14
|
-
import { anatomy as selectAnatomy } from "@sprawlify/primitives/machines/select";
|
|
15
16
|
|
|
16
17
|
//#region src/components/select/use-select-context.ts
|
|
17
18
|
const [SelectProvider, useSelectContext] = createContext("SelectContext");
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as signaturePadAnatomy } from "../../signature-pad-anatomy-B-OK1170.js";
|
|
5
|
+
import * as vue1178 from "vue";
|
|
5
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, MaybeRef, SVGAttributes, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as signaturePad from "@sprawlify/primitives/machines/signature-pad";
|
|
7
|
-
import { DrawDetails, DrawDetails as SignaturePadDrawDetails, DrawEndDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions, DrawingOptions as SignaturePadDrawingOptions, HiddenInputProps
|
|
8
|
+
import { DrawDetails, DrawDetails as SignaturePadDrawDetails, DrawEndDetails, DrawEndDetails as SignaturePadDrawEndDetails, DrawingOptions, DrawingOptions as SignaturePadDrawingOptions, HiddenInputProps } from "@sprawlify/primitives/machines/signature-pad";
|
|
8
9
|
|
|
9
10
|
//#region src/components/signature-pad/signature-pad-clear-trigger.vue.d.ts
|
|
10
11
|
interface SignaturePadClearTriggerBaseProps extends PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface SignaturePadClearTriggerProps extends SignaturePadClearTriggerBaseProp
|
|
|
14
15
|
*/
|
|
15
16
|
ButtonHTMLAttributes {}
|
|
16
17
|
declare const _default: typeof __VLS_export$8;
|
|
17
|
-
declare const __VLS_export$8: __VLS_WithSlots$7<
|
|
18
|
+
declare const __VLS_export$8: __VLS_WithSlots$7<vue1178.DefineComponent<SignaturePadClearTriggerProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadClearTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -59,7 +60,7 @@ interface SignaturePadContextProps extends SlotsType<{
|
|
|
59
60
|
default: UnwrapRef<UseSignaturePadContext>;
|
|
60
61
|
}> {}
|
|
61
62
|
declare const _default$1: typeof __VLS_export$7;
|
|
62
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
63
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue1178.DefineComponent<{}, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, true, {}, any>, {
|
|
63
64
|
default(signaturepad: UnwrapRef<UseSignaturePadContext>): unknown;
|
|
64
65
|
}>;
|
|
65
66
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -76,7 +77,7 @@ interface SignaturePadControlProps extends SignaturePadControlBaseProps,
|
|
|
76
77
|
*/
|
|
77
78
|
HTMLAttributes {}
|
|
78
79
|
declare const _default$2: typeof __VLS_export$6;
|
|
79
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
80
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue1178.DefineComponent<SignaturePadControlProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
80
81
|
default?: (props: {}) => any;
|
|
81
82
|
}>;
|
|
82
83
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -93,7 +94,7 @@ interface SignaturePadGuideProps extends SignaturePadGuideBaseProps,
|
|
|
93
94
|
*/
|
|
94
95
|
HTMLAttributes {}
|
|
95
96
|
declare const _default$3: typeof __VLS_export$5;
|
|
96
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
97
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue1178.DefineComponent<SignaturePadGuideProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadGuideProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
97
98
|
default?: (props: {}) => any;
|
|
98
99
|
}>;
|
|
99
100
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -110,7 +111,7 @@ interface SignaturePadHiddenInputProps extends SignaturePadHiddenInputBaseProps,
|
|
|
110
111
|
*/
|
|
111
112
|
Omit<InputHTMLAttributes, 'value'> {}
|
|
112
113
|
declare const _default$4: typeof __VLS_export$4;
|
|
113
|
-
declare const __VLS_export$4: __VLS_WithSlots$3<
|
|
114
|
+
declare const __VLS_export$4: __VLS_WithSlots$3<vue1178.DefineComponent<SignaturePadHiddenInputProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
114
115
|
default?: (props: {}) => any;
|
|
115
116
|
}>;
|
|
116
117
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -127,7 +128,7 @@ interface SignaturePadLabelProps extends SignaturePadLabelBaseProps,
|
|
|
127
128
|
*/
|
|
128
129
|
HTMLAttributes {}
|
|
129
130
|
declare const _default$5: typeof __VLS_export$3;
|
|
130
|
-
declare const __VLS_export$3: __VLS_WithSlots$2<
|
|
131
|
+
declare const __VLS_export$3: __VLS_WithSlots$2<vue1178.DefineComponent<SignaturePadLabelProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
131
132
|
default?: (props: {}) => any;
|
|
132
133
|
}>;
|
|
133
134
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -147,7 +148,7 @@ interface SignaturePadRootProviderProps extends SignaturePadRootProviderBaseProp
|
|
|
147
148
|
*/
|
|
148
149
|
HTMLAttributes {}
|
|
149
150
|
declare const _default$7: typeof __VLS_export$2;
|
|
150
|
-
declare const __VLS_export$2: __VLS_WithSlots$1<
|
|
151
|
+
declare const __VLS_export$2: __VLS_WithSlots$1<vue1178.DefineComponent<SignaturePadRootProviderProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
151
152
|
default?: (props: {}) => any;
|
|
152
153
|
}>;
|
|
153
154
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -165,19 +166,19 @@ interface SignaturePadRootProps extends SignaturePadRootBaseProps,
|
|
|
165
166
|
HTMLAttributes {}
|
|
166
167
|
interface SignaturePadRootEmits extends RootEmits {}
|
|
167
168
|
declare const _default$6: typeof __VLS_export$1;
|
|
168
|
-
declare const __VLS_export$1: __VLS_WithSlots<
|
|
169
|
+
declare const __VLS_export$1: __VLS_WithSlots<vue1178.DefineComponent<SignaturePadRootBaseProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {
|
|
169
170
|
"update:paths": (paths: string[]) => any;
|
|
170
171
|
draw: (details: signaturePad.DrawDetails) => any;
|
|
171
172
|
drawEnd: (details: signaturePad.DrawEndDetails) => any;
|
|
172
|
-
}, string,
|
|
173
|
+
}, string, vue1178.PublicProps, Readonly<SignaturePadRootBaseProps> & Readonly<{
|
|
173
174
|
"onUpdate:paths"?: ((paths: string[]) => any) | undefined;
|
|
174
175
|
onDraw?: ((details: signaturePad.DrawDetails) => any) | undefined;
|
|
175
176
|
onDrawEnd?: ((details: signaturePad.DrawEndDetails) => any) | undefined;
|
|
176
177
|
}>, {
|
|
177
|
-
required: boolean;
|
|
178
178
|
disabled: boolean;
|
|
179
|
+
required: boolean;
|
|
179
180
|
readOnly: boolean;
|
|
180
|
-
}, {}, {}, {}, string,
|
|
181
|
+
}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>, {
|
|
181
182
|
default?: (props: {}) => any;
|
|
182
183
|
}>;
|
|
183
184
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -194,7 +195,7 @@ interface SignaturePadSegmentProps extends SignaturePadSegmentBaseProps,
|
|
|
194
195
|
*/
|
|
195
196
|
SVGAttributes {}
|
|
196
197
|
declare const _default$8: typeof __VLS_export;
|
|
197
|
-
declare const __VLS_export:
|
|
198
|
+
declare const __VLS_export: vue1178.DefineComponent<SignaturePadSegmentProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SignaturePadSegmentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>;
|
|
198
199
|
declare namespace signature_pad_d_exports {
|
|
199
200
|
export { _default as ClearTrigger, SignaturePadClearTriggerBaseProps as ClearTriggerBaseProps, SignaturePadClearTriggerProps as ClearTriggerProps, _default$1 as Context, SignaturePadContextProps as ContextProps, _default$2 as Control, SignaturePadControlBaseProps as ControlBaseProps, SignaturePadControlProps as ControlProps, DrawDetails, DrawEndDetails, DrawingOptions, _default$3 as Guide, SignaturePadGuideBaseProps as GuideBaseProps, SignaturePadGuideProps as GuideProps, _default$4 as HiddenInput, SignaturePadHiddenInputBaseProps as HiddenInputBaseProps, SignaturePadHiddenInputProps as HiddenInputProps, _default$5 as Label, SignaturePadLabelBaseProps as LabelBaseProps, SignaturePadLabelProps as LabelProps, _default$6 as Root, SignaturePadRootBaseProps as RootBaseProps, SignaturePadRootProps as RootProps, _default$7 as RootProvider, SignaturePadRootProviderBaseProps as RootProviderBaseProps, SignaturePadRootProviderProps as RootProviderProps, _default$8 as Segment, SignaturePadSegmentBaseProps as SegmentBaseProps, SignaturePadSegmentProps as SegmentProps };
|
|
200
201
|
}
|
|
@@ -3,12 +3,13 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
6
|
+
import "../../field-anatomy-DOCpzb4B.js";
|
|
7
|
+
import { t as signaturePadAnatomy } from "../../signature-pad-anatomy-Mz3w_i5B.js";
|
|
8
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
9
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
+
import { p as useFieldContext } from "../../field-C6iB3Tje.js";
|
|
9
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
12
|
import * as signaturepad from "@sprawlify/primitives/machines/signature-pad";
|
|
11
|
-
import { anatomy as signaturePadAnatomy } from "@sprawlify/primitives/machines/signature-pad";
|
|
12
13
|
|
|
13
14
|
//#region src/components/signature-pad/use-signature-pad-context.ts
|
|
14
15
|
const [SignaturePadProvider, useSignaturePadContext] = createContext("SignaturePadContext");
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { t as PolymorphicProps } from "../../factory-
|
|
2
|
-
import { a as Optional, r as EmitFn$1 } from "../../types-
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
-
import
|
|
1
|
+
import { t as PolymorphicProps } from "../../factory-D5HMCjkS.js";
|
|
2
|
+
import { a as Optional, r as EmitFn$1 } from "../../types-DVbnnQPS.js";
|
|
3
|
+
import { r as PropTypes } from "../../index-DmKzfNVe.js";
|
|
4
|
+
import { t as sliderAnatomy } from "../../slider-anatomy-Ctfd4geR.js";
|
|
5
|
+
import * as vue2676 from "vue";
|
|
5
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as slider from "@sprawlify/primitives/machines/slider";
|
|
7
|
-
import { FocusChangeDetails, FocusChangeDetails as SliderFocusChangeDetails, MarkerProps, ThumbProps, ValueChangeDetails, ValueChangeDetails as SliderValueChangeDetails
|
|
8
|
+
import { FocusChangeDetails, FocusChangeDetails as SliderFocusChangeDetails, MarkerProps, ThumbProps, ValueChangeDetails, ValueChangeDetails as SliderValueChangeDetails } from "@sprawlify/primitives/machines/slider";
|
|
8
9
|
|
|
9
10
|
//#region src/components/slider/slider-control.vue.d.ts
|
|
10
11
|
interface SliderControlBaseProps extends PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface SliderControlProps extends SliderControlBaseProps,
|
|
|
14
15
|
*/
|
|
15
16
|
HTMLAttributes {}
|
|
16
17
|
declare const _default$1: typeof __VLS_export$12;
|
|
17
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<
|
|
18
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<vue2676.DefineComponent<SliderControlProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -31,7 +32,7 @@ interface SliderDraggingIndicatorProps extends SliderDraggingIndicatorBaseProps,
|
|
|
31
32
|
*/
|
|
32
33
|
HTMLAttributes {}
|
|
33
34
|
declare const _default$2: typeof __VLS_export$11;
|
|
34
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<
|
|
35
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<vue2676.DefineComponent<SliderDraggingIndicatorProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderDraggingIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
35
36
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
36
37
|
new (): {
|
|
37
38
|
$slots: S;
|
|
@@ -46,7 +47,7 @@ interface SliderHiddenInputProps extends SliderHiddenInputBaseProps,
|
|
|
46
47
|
*/
|
|
47
48
|
InputHTMLAttributes {}
|
|
48
49
|
declare const _default$3: typeof __VLS_export$10;
|
|
49
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
50
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue2676.DefineComponent<SliderHiddenInputProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
50
51
|
default?: (props: {}) => any;
|
|
51
52
|
}>;
|
|
52
53
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -63,7 +64,7 @@ interface SliderLabelProps extends SliderLabelBaseProps,
|
|
|
63
64
|
*/
|
|
64
65
|
LabelHTMLAttributes {}
|
|
65
66
|
declare const _default$4: typeof __VLS_export$9;
|
|
66
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
67
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue2676.DefineComponent<SliderLabelProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
67
68
|
default?: (props: {}) => any;
|
|
68
69
|
}>;
|
|
69
70
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -80,7 +81,7 @@ interface SliderMarkerGroupProps extends SliderMarkerGroupBaseProps,
|
|
|
80
81
|
*/
|
|
81
82
|
HTMLAttributes {}
|
|
82
83
|
declare const _default$6: typeof __VLS_export$8;
|
|
83
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
84
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue2676.DefineComponent<SliderMarkerGroupProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderMarkerGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
84
85
|
default?: (props: {}) => any;
|
|
85
86
|
}>;
|
|
86
87
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -97,7 +98,7 @@ interface SliderMarkerProps extends SliderMarkerBaseProps,
|
|
|
97
98
|
*/
|
|
98
99
|
HTMLAttributes {}
|
|
99
100
|
declare const _default$5: typeof __VLS_export$7;
|
|
100
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
101
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue2676.DefineComponent<SliderMarkerProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderMarkerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
101
102
|
default?: (props: {}) => any;
|
|
102
103
|
}>;
|
|
103
104
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -114,7 +115,7 @@ interface SliderRangeProps extends SliderRangeBaseProps,
|
|
|
114
115
|
*/
|
|
115
116
|
HTMLAttributes {}
|
|
116
117
|
declare const _default$7: typeof __VLS_export$6;
|
|
117
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
118
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2676.DefineComponent<SliderRangeProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderRangeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
118
119
|
default?: (props: {}) => any;
|
|
119
120
|
}>;
|
|
120
121
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -134,7 +135,7 @@ interface SliderRootProviderProps extends SliderRootProviderBaseProps,
|
|
|
134
135
|
*/
|
|
135
136
|
Omit<HTMLAttributes, 'aria-labelledby' | 'aria-label'> {}
|
|
136
137
|
declare const _default$9: typeof __VLS_export$5;
|
|
137
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
138
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2676.DefineComponent<SliderRootProviderProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
138
139
|
default?: (props: {}) => any;
|
|
139
140
|
}>;
|
|
140
141
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -198,21 +199,21 @@ interface SliderRootProps extends SliderRootBaseProps,
|
|
|
198
199
|
Omit<HTMLAttributes, 'aria-labelledby' | 'aria-label' | 'dir'> {}
|
|
199
200
|
interface SliderRootEmits extends RootEmits {}
|
|
200
201
|
declare const _default$8: typeof __VLS_export$4;
|
|
201
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
202
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2676.DefineComponent<SliderRootProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {
|
|
203
|
+
focusChange: (details: slider.FocusChangeDetails) => any;
|
|
202
204
|
valueChange: (details: slider.ValueChangeDetails) => any;
|
|
203
205
|
"update:modelValue": (value: number[]) => any;
|
|
204
|
-
focusChange: (details: slider.FocusChangeDetails) => any;
|
|
205
206
|
valueChangeEnd: (details: slider.ValueChangeDetails) => any;
|
|
206
|
-
}, string,
|
|
207
|
+
}, string, vue2676.PublicProps, Readonly<SliderRootProps> & Readonly<{
|
|
208
|
+
onFocusChange?: ((details: slider.FocusChangeDetails) => any) | undefined;
|
|
207
209
|
onValueChange?: ((details: slider.ValueChangeDetails) => any) | undefined;
|
|
208
210
|
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
209
|
-
onFocusChange?: ((details: slider.FocusChangeDetails) => any) | undefined;
|
|
210
211
|
onValueChangeEnd?: ((details: slider.ValueChangeDetails) => any) | undefined;
|
|
211
212
|
}>, {
|
|
212
213
|
disabled: boolean;
|
|
213
214
|
invalid: boolean;
|
|
214
215
|
readOnly: boolean;
|
|
215
|
-
}, {}, {}, {}, string,
|
|
216
|
+
}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
216
217
|
default?: (props: {}) => any;
|
|
217
218
|
}>;
|
|
218
219
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -229,7 +230,7 @@ interface SliderThumbProps extends SliderThumbBaseProps,
|
|
|
229
230
|
*/
|
|
230
231
|
HTMLAttributes {}
|
|
231
232
|
declare const _default$10: typeof __VLS_export$3;
|
|
232
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
233
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2676.DefineComponent<SliderThumbProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderThumbProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
233
234
|
default?: (props: {}) => any;
|
|
234
235
|
}>;
|
|
235
236
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -246,7 +247,7 @@ interface SliderTrackProps extends SliderTrackBaseProps,
|
|
|
246
247
|
*/
|
|
247
248
|
HTMLAttributes {}
|
|
248
249
|
declare const _default$11: typeof __VLS_export$2;
|
|
249
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
250
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2676.DefineComponent<SliderTrackProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderTrackProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, {
|
|
250
251
|
default?: (props: {}) => any;
|
|
251
252
|
}>;
|
|
252
253
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -263,7 +264,7 @@ interface SliderValueTextProps extends SliderValueTextBaseProps,
|
|
|
263
264
|
*/
|
|
264
265
|
HTMLAttributes {}
|
|
265
266
|
declare const _default$12: typeof __VLS_export$1;
|
|
266
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
267
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2676.DefineComponent<SliderValueTextProps, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<SliderValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
267
268
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
268
269
|
new (): {
|
|
269
270
|
$slots: S;
|
|
@@ -288,7 +289,7 @@ interface SliderContextProps extends SlotsType<{
|
|
|
288
289
|
default: UnwrapRef<UseSliderContext>;
|
|
289
290
|
}> {}
|
|
290
291
|
declare const _default: typeof __VLS_export;
|
|
291
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
292
|
+
declare const __VLS_export: __VLS_WithSlots<vue2676.DefineComponent<{}, {}, {}, {}, {}, vue2676.ComponentOptionsMixin, vue2676.ComponentOptionsMixin, {}, string, vue2676.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2676.ComponentProvideOptions, true, {}, any>, {
|
|
292
293
|
default(slider: UnwrapRef<UseSliderContext>): unknown;
|
|
293
294
|
}>;
|
|
294
295
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,11 +3,11 @@ import { n as useMachine, r as normalizeProps$1 } from "../../core-DNndr38p.js";
|
|
|
3
3
|
import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE, s as DEFAULT_ENVIRONMENT } from "../../providers-DNBWT-O_.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
6
|
+
import { t as sliderAnatomy } from "../../slider-anatomy-3KpCBnz3.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
8
9
|
import { computed, createBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
9
10
|
import * as slider from "@sprawlify/primitives/machines/slider";
|
|
10
|
-
import { anatomy as sliderAnatomy } from "@sprawlify/primitives/machines/slider";
|
|
11
11
|
|
|
12
12
|
//#region src/components/slider/use-slider-context.ts
|
|
13
13
|
const [SliderProvider, useSliderContext] = createContext("SliderContext");
|