@sprawlify/vue 0.0.73 → 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-SXAS3iFc.js → collapsible-kw6uns8K.js} +3 -4
- package/dist/{collection-C_ZHBDQD.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 +22 -21
- 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 +20 -19
- 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 +23 -22
- package/dist/components/bottom-sheet/index.js +6 -6
- package/dist/components/carousel/index.d.ts +20 -23
- package/dist/components/carousel/index.js +3 -7
- package/dist/components/checkbox/index.d.ts +24 -27
- 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 +21 -20
- 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 +46 -49
- package/dist/components/date-picker/index.js +6 -9
- package/dist/components/dialog/index.d.ts +32 -31
- 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 +30 -29
- 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 +28 -26
- 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 +12 -12
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +25 -28
- 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 +56 -54
- 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 +17 -16
- 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 +36 -35
- 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 +21 -20
- package/dist/components/radio-group/index.js +6 -5
- package/dist/components/rating-group/index.d.ts +19 -18
- 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 +19 -22
- 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 +25 -24
- 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 +22 -21
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tags-input/index.d.ts +36 -35
- 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 +13 -12
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle/index.d.ts +10 -13
- package/dist/components/toggle/index.js +3 -8
- package/dist/components/toggle-group/index.d.ts +16 -15
- package/dist/components/toggle-group/index.js +3 -3
- package/dist/components/tooltip/index.d.ts +23 -22
- package/dist/components/tooltip/index.js +5 -5
- package/dist/components/tour/index.d.ts +32 -35
- package/dist/components/tour/index.js +6 -9
- 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-CmCVWB7e.d.ts → index-CKLWua9t.d.ts} +32 -32
- package/dist/{index-8bjPAUl0.d.ts → index-DLfVD7U5.d.ts} +10 -10
- package/dist/{index-BnYwp0nl.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-BK6rPXK7.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-N6ShNmpe.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 +6 -2
- /package/dist/{boolean-CpMsIRK4.js → boolean-L5YmbZkb.js} +0 -0
- /package/dist/{clean-props-ChPEW0vT.js → clean-props-DsGHTEpm.js} +0 -0
- /package/dist/{create-split-props-BDJ_VWs3.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-DMa_QmB6.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,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 splitterAnatomy } from "../../splitter-anatomy-CN7s6WdQ.js";
|
|
5
|
+
import * as vue2246 from "vue";
|
|
5
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as splitter from "@sprawlify/primitives/machines/splitter";
|
|
7
|
-
import { ExpandCollapseDetails, ExpandCollapseDetails as SplitterExpandCollapseDetails, PanelData, PanelData as SplitterPanelData, PanelProps, ResizeDetails, ResizeDetails as SplitterResizeDetails, ResizeEndDetails, ResizeEndDetails as SplitterResizeEndDetails, ResizeTriggerProps,
|
|
8
|
+
import { ExpandCollapseDetails, ExpandCollapseDetails as SplitterExpandCollapseDetails, PanelData, PanelData as SplitterPanelData, PanelProps, ResizeDetails, ResizeDetails as SplitterResizeDetails, ResizeEndDetails, ResizeEndDetails as SplitterResizeEndDetails, ResizeTriggerProps, layout as getLayout, layout as getSplitterLayout } from "@sprawlify/primitives/machines/splitter";
|
|
8
9
|
|
|
9
10
|
//#region src/components/splitter/splitter-types.d.ts
|
|
10
11
|
interface RootProps {
|
|
@@ -44,7 +45,7 @@ interface SplitterContextProps extends SlotsType<{
|
|
|
44
45
|
default: UnwrapRef<UseSplitterContext>;
|
|
45
46
|
}> {}
|
|
46
47
|
declare const _default: typeof __VLS_export$5;
|
|
47
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
48
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2246.DefineComponent<{}, {}, {}, {}, {}, vue2246.ComponentOptionsMixin, vue2246.ComponentOptionsMixin, {}, string, vue2246.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2246.ComponentProvideOptions, true, {}, any>, {
|
|
48
49
|
default(splitter: UnwrapRef<UseSplitterContext>): unknown;
|
|
49
50
|
}>;
|
|
50
51
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -61,7 +62,7 @@ interface SplitterPanelProps extends SplitterPanelBaseProps,
|
|
|
61
62
|
*/
|
|
62
63
|
Omit<HTMLAttributes, 'id'> {}
|
|
63
64
|
declare const _default$1: typeof __VLS_export$4;
|
|
64
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
65
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2246.DefineComponent<SplitterPanelProps, {}, {}, {}, {}, vue2246.ComponentOptionsMixin, vue2246.ComponentOptionsMixin, {}, string, vue2246.PublicProps, Readonly<SplitterPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2246.ComponentProvideOptions, false, {}, any>, {
|
|
65
66
|
default?: (props: {}) => any;
|
|
66
67
|
}>;
|
|
67
68
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -78,7 +79,7 @@ interface SplitterResizeTriggerProps extends SplitterResizeTriggerBaseProps,
|
|
|
78
79
|
*/
|
|
79
80
|
Omit<ButtonHTMLAttributes, 'disabled' | 'id'> {}
|
|
80
81
|
declare const _default$2: typeof __VLS_export$3;
|
|
81
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
82
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2246.DefineComponent<SplitterResizeTriggerProps, {}, {}, {}, {}, vue2246.ComponentOptionsMixin, vue2246.ComponentOptionsMixin, {}, string, vue2246.PublicProps, Readonly<SplitterResizeTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2246.ComponentProvideOptions, false, {}, any>, {
|
|
82
83
|
default?: (props: {}) => any;
|
|
83
84
|
}>;
|
|
84
85
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -95,7 +96,7 @@ interface SplitterResizeTriggerIndicatorProps extends SplitterResizeTriggerIndic
|
|
|
95
96
|
*/
|
|
96
97
|
HTMLAttributes {}
|
|
97
98
|
declare const _default$3: typeof __VLS_export$2;
|
|
98
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
99
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2246.DefineComponent<SplitterResizeTriggerIndicatorProps, {}, {}, {}, {}, vue2246.ComponentOptionsMixin, vue2246.ComponentOptionsMixin, {}, string, vue2246.PublicProps, Readonly<SplitterResizeTriggerIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2246.ComponentProvideOptions, false, {}, any>, {
|
|
99
100
|
default?: (props: {}) => any;
|
|
100
101
|
}>;
|
|
101
102
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -115,7 +116,7 @@ interface SplitterRootProviderProps extends SplitterRootProviderBaseProps,
|
|
|
115
116
|
*/
|
|
116
117
|
HTMLAttributes {}
|
|
117
118
|
declare const _default$5: typeof __VLS_export$1;
|
|
118
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
119
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2246.DefineComponent<SplitterRootProviderProps, {}, {}, {}, {}, vue2246.ComponentOptionsMixin, vue2246.ComponentOptionsMixin, {}, string, vue2246.PublicProps, Readonly<SplitterRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2246.ComponentProvideOptions, false, {}, any>, {
|
|
119
120
|
default?: (props: {}) => any;
|
|
120
121
|
}>;
|
|
121
122
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -133,21 +134,21 @@ interface SplitterRootProps extends SplitterRootBaseProps,
|
|
|
133
134
|
HTMLAttributes {}
|
|
134
135
|
interface SplitterRootEmits extends RootEmits {}
|
|
135
136
|
declare const _default$4: typeof __VLS_export;
|
|
136
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
137
|
+
declare const __VLS_export: __VLS_WithSlots<vue2246.DefineComponent<SplitterRootProps, {}, {}, {}, {}, vue2246.ComponentOptionsMixin, vue2246.ComponentOptionsMixin, {
|
|
137
138
|
"update:size": (size: number[]) => any;
|
|
138
139
|
collapse: (details: splitter.ExpandCollapseDetails) => any;
|
|
139
140
|
expand: (details: splitter.ExpandCollapseDetails) => any;
|
|
140
141
|
resize: (details: splitter.ResizeDetails) => any;
|
|
141
142
|
resizeEnd: (details: splitter.ResizeEndDetails) => any;
|
|
142
143
|
resizeStart: () => any;
|
|
143
|
-
}, string,
|
|
144
|
+
}, string, vue2246.PublicProps, Readonly<SplitterRootProps> & Readonly<{
|
|
144
145
|
"onUpdate:size"?: ((size: number[]) => any) | undefined;
|
|
145
146
|
onCollapse?: ((details: splitter.ExpandCollapseDetails) => any) | undefined;
|
|
146
147
|
onExpand?: ((details: splitter.ExpandCollapseDetails) => any) | undefined;
|
|
147
148
|
onResize?: ((details: splitter.ResizeDetails) => any) | undefined;
|
|
148
149
|
onResizeEnd?: ((details: splitter.ResizeEndDetails) => any) | undefined;
|
|
149
150
|
onResizeStart?: (() => any) | undefined;
|
|
150
|
-
}>, {}, {}, {}, {}, string,
|
|
151
|
+
}>, {}, {}, {}, {}, string, vue2246.ComponentProvideOptions, false, {}, any>, {
|
|
151
152
|
default?: (props: {}) => any;
|
|
152
153
|
}>;
|
|
153
154
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,11 +3,12 @@ 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 splitterAnatomy } from "../../splitter-anatomy-D2RNa-hA.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, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
10
|
import * as splitter from "@sprawlify/primitives/machines/splitter";
|
|
10
|
-
import {
|
|
11
|
+
import { layout as getLayout, layout as getSplitterLayout } from "@sprawlify/primitives/machines/splitter";
|
|
11
12
|
|
|
12
13
|
//#region src/components/splitter/use-splitter-context.ts
|
|
13
14
|
const [SplitterProvider, useSplitterContext] = createContext("SplitterContext");
|
|
@@ -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 stepsAnatomy } from "../../steps-anatomy-DrtAi5Mk.js";
|
|
5
|
+
import * as vue1811 from "vue";
|
|
5
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as steps from "@sprawlify/primitives/machines/steps";
|
|
7
|
-
import { ItemProps, ItemState, StepChangeDetails, StepChangeDetails as StepChangeDetails$1
|
|
8
|
+
import { ItemProps, ItemState, StepChangeDetails, StepChangeDetails as StepChangeDetails$1 } from "@sprawlify/primitives/machines/steps";
|
|
8
9
|
|
|
9
10
|
//#region src/components/steps/steps-completed-content.vue.d.ts
|
|
10
11
|
interface StepsCompletedContentBaseProps extends PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface StepsCompletedContentProps extends StepsCompletedContentBaseProps,
|
|
|
14
15
|
*/
|
|
15
16
|
HTMLAttributes {}
|
|
16
17
|
declare const _default: typeof __VLS_export$13;
|
|
17
|
-
declare const __VLS_export$13: __VLS_WithSlots$13<
|
|
18
|
+
declare const __VLS_export$13: __VLS_WithSlots$13<vue1811.DefineComponent<StepsCompletedContentProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsCompletedContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
@@ -31,7 +32,7 @@ interface StepsContentProps extends StepsContentBaseProps,
|
|
|
31
32
|
*/
|
|
32
33
|
HTMLAttributes {}
|
|
33
34
|
declare const _default$1: typeof __VLS_export$12;
|
|
34
|
-
declare const __VLS_export$12: __VLS_WithSlots$12<
|
|
35
|
+
declare const __VLS_export$12: __VLS_WithSlots$12<vue1811.DefineComponent<StepsContentProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
35
36
|
default?: (props: {}) => any;
|
|
36
37
|
}>;
|
|
37
38
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
@@ -72,7 +73,7 @@ interface StepsContextProps extends SlotsType<{
|
|
|
72
73
|
default: UnwrapRef<UseStepsContext>;
|
|
73
74
|
}> {}
|
|
74
75
|
declare const _default$2: typeof __VLS_export$11;
|
|
75
|
-
declare const __VLS_export$11: __VLS_WithSlots$11<
|
|
76
|
+
declare const __VLS_export$11: __VLS_WithSlots$11<vue1811.DefineComponent<{}, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, true, {}, any>, {
|
|
76
77
|
default(context: UnwrapRef<UseStepsContext>): unknown;
|
|
77
78
|
}>;
|
|
78
79
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
@@ -89,7 +90,7 @@ interface StepsIndicatorProps extends StepsIndicatorBaseProps,
|
|
|
89
90
|
*/
|
|
90
91
|
HTMLAttributes {}
|
|
91
92
|
declare const _default$3: typeof __VLS_export$10;
|
|
92
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
93
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue1811.DefineComponent<StepsIndicatorProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
93
94
|
default?: (props: {}) => any;
|
|
94
95
|
}>;
|
|
95
96
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -106,7 +107,7 @@ interface StepsItemContextProps extends SlotsType<{
|
|
|
106
107
|
default: UnwrapRef<UseStepsItemContext>;
|
|
107
108
|
}> {}
|
|
108
109
|
declare const _default$5: typeof __VLS_export$9;
|
|
109
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
110
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue1811.DefineComponent<{}, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, true, {}, any>, {
|
|
110
111
|
default(context: UnwrapRef<UseStepsItemContext>): unknown;
|
|
111
112
|
}>;
|
|
112
113
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -123,7 +124,7 @@ interface StepsItemProps extends StepsItemBaseProps,
|
|
|
123
124
|
*/
|
|
124
125
|
HTMLAttributes {}
|
|
125
126
|
declare const _default$4: typeof __VLS_export$8;
|
|
126
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
127
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue1811.DefineComponent<StepsItemProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
127
128
|
default?: (props: {}) => any;
|
|
128
129
|
}>;
|
|
129
130
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -140,7 +141,7 @@ interface StepsListProps extends StepsListBaseProps,
|
|
|
140
141
|
*/
|
|
141
142
|
HTMLAttributes {}
|
|
142
143
|
declare const _default$6: typeof __VLS_export$7;
|
|
143
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
144
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue1811.DefineComponent<StepsListProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
144
145
|
default?: (props: {}) => any;
|
|
145
146
|
}>;
|
|
146
147
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -157,7 +158,7 @@ interface StepsNextTriggerProps extends StepsNextTriggerBaseProps,
|
|
|
157
158
|
*/
|
|
158
159
|
ButtonHTMLAttributes {}
|
|
159
160
|
declare const _default$7: typeof __VLS_export$6;
|
|
160
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
161
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1811.DefineComponent<StepsNextTriggerProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsNextTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
161
162
|
default?: (props: {}) => any;
|
|
162
163
|
}>;
|
|
163
164
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -174,7 +175,7 @@ interface StepsPrevTriggerProps extends StepsPrevTriggerBaseProps,
|
|
|
174
175
|
*/
|
|
175
176
|
ButtonHTMLAttributes {}
|
|
176
177
|
declare const _default$8: typeof __VLS_export$5;
|
|
177
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
178
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1811.DefineComponent<StepsPrevTriggerProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsPrevTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
178
179
|
default?: (props: {}) => any;
|
|
179
180
|
}>;
|
|
180
181
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -191,7 +192,7 @@ interface StepsProgressProps extends StepsProgressBaseProps,
|
|
|
191
192
|
*/
|
|
192
193
|
HTMLAttributes {}
|
|
193
194
|
declare const _default$9: typeof __VLS_export$4;
|
|
194
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
195
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1811.DefineComponent<StepsProgressProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsProgressProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
195
196
|
default?: (props: {}) => any;
|
|
196
197
|
}>;
|
|
197
198
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -211,7 +212,7 @@ interface StepsRootProviderProps extends StepsRootProviderBaseProps,
|
|
|
211
212
|
*/
|
|
212
213
|
HTMLAttributes {}
|
|
213
214
|
declare const _default$11: typeof __VLS_export$3;
|
|
214
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
215
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1811.DefineComponent<StepsRootProviderProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
215
216
|
default?: (props: {}) => any;
|
|
216
217
|
}>;
|
|
217
218
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -229,19 +230,19 @@ interface StepsRootProps extends StepsRootBaseProps,
|
|
|
229
230
|
HTMLAttributes {}
|
|
230
231
|
interface StepsRootEmits extends RootEmits {}
|
|
231
232
|
declare const _default$10: typeof __VLS_export$2;
|
|
232
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
233
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1811.DefineComponent<StepsRootProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {
|
|
233
234
|
stepChange: (details: steps.StepChangeDetails) => any;
|
|
234
235
|
stepComplete: () => any;
|
|
235
236
|
stepInvalid: (details: steps.StepInvalidDetails) => any;
|
|
236
237
|
"update:step": (step: number) => any;
|
|
237
|
-
}, string,
|
|
238
|
+
}, string, vue1811.PublicProps, Readonly<StepsRootProps> & Readonly<{
|
|
238
239
|
onStepChange?: ((details: steps.StepChangeDetails) => any) | undefined;
|
|
239
240
|
onStepComplete?: (() => any) | undefined;
|
|
240
241
|
onStepInvalid?: ((details: steps.StepInvalidDetails) => any) | undefined;
|
|
241
242
|
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
242
243
|
}>, {
|
|
243
244
|
linear: boolean;
|
|
244
|
-
}, {}, {}, {}, string,
|
|
245
|
+
}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
245
246
|
default?: (props: {}) => any;
|
|
246
247
|
}>;
|
|
247
248
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -258,7 +259,7 @@ interface StepsSeparatorProps extends StepsSeparatorBaseProps,
|
|
|
258
259
|
*/
|
|
259
260
|
HTMLAttributes {}
|
|
260
261
|
declare const _default$12: typeof __VLS_export$1;
|
|
261
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
262
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1811.DefineComponent<StepsSeparatorProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
262
263
|
default?: (props: {}) => any;
|
|
263
264
|
}>;
|
|
264
265
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -275,7 +276,7 @@ interface StepsTriggerProps extends StepsTriggerBaseProps,
|
|
|
275
276
|
*/
|
|
276
277
|
ButtonHTMLAttributes {}
|
|
277
278
|
declare const _default$13: typeof __VLS_export;
|
|
278
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
279
|
+
declare const __VLS_export: __VLS_WithSlots<vue1811.DefineComponent<StepsTriggerProps, {}, {}, {}, {}, vue1811.ComponentOptionsMixin, vue1811.ComponentOptionsMixin, {}, string, vue1811.PublicProps, Readonly<StepsTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1811.ComponentProvideOptions, false, {}, any>, {
|
|
279
280
|
default?: (props: {}) => any;
|
|
280
281
|
}>;
|
|
281
282
|
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 stepsAnatomy } from "../../steps-anatomy-CSfgiyVI.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, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
10
|
import * as steps from "@sprawlify/primitives/machines/steps";
|
|
10
|
-
import { anatomy as stepsAnatomy } from "@sprawlify/primitives/machines/steps";
|
|
11
11
|
|
|
12
12
|
//#region src/components/steps/use-steps-context.ts
|
|
13
13
|
const [StepsProvider, useStepsContext] = createContext("StepsContext");
|
|
@@ -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 switchAnatomy } from "../../switch-anatomy-Z4qGqnte.js";
|
|
5
|
+
import * as vue1801 from "vue";
|
|
5
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
7
|
import * as sprawlifySwitch from "@sprawlify/primitives/machines/switch";
|
|
7
|
-
import { CheckedChangeDetails, CheckedChangeDetails as SwitchCheckedChangeDetails
|
|
8
|
+
import { CheckedChangeDetails, CheckedChangeDetails as SwitchCheckedChangeDetails } from "@sprawlify/primitives/machines/switch";
|
|
8
9
|
|
|
9
10
|
//#region src/components/switch/switch-control.vue.d.ts
|
|
10
11
|
interface SwitchControlBaseProps extends PolymorphicProps {}
|
|
@@ -14,7 +15,7 @@ interface SwitchControlProps extends SwitchControlBaseProps,
|
|
|
14
15
|
*/
|
|
15
16
|
HTMLAttributes {}
|
|
16
17
|
declare const _default$1: typeof __VLS_export$6;
|
|
17
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
18
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1801.DefineComponent<SwitchControlProps, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {}, string, vue1801.PublicProps, Readonly<SwitchControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1801.ComponentProvideOptions, false, {}, any>, {
|
|
18
19
|
default?: (props: {}) => any;
|
|
19
20
|
}>;
|
|
20
21
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -31,7 +32,7 @@ interface SwitchHiddenInputProps extends SwitchHiddenInputBaseProps,
|
|
|
31
32
|
*/
|
|
32
33
|
InputHTMLAttributes {}
|
|
33
34
|
declare const _default$2: typeof __VLS_export$5;
|
|
34
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
35
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1801.DefineComponent<SwitchHiddenInputProps, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {}, string, vue1801.PublicProps, Readonly<SwitchHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1801.ComponentProvideOptions, false, {}, any>, {
|
|
35
36
|
default?: (props: {}) => any;
|
|
36
37
|
}>;
|
|
37
38
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -48,7 +49,7 @@ interface SwitchLabelProps extends SwitchLabelBaseProps,
|
|
|
48
49
|
*/
|
|
49
50
|
HTMLAttributes {}
|
|
50
51
|
declare const _default$3: typeof __VLS_export$4;
|
|
51
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
52
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1801.DefineComponent<SwitchLabelProps, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {}, string, vue1801.PublicProps, Readonly<SwitchLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1801.ComponentProvideOptions, false, {}, any>, {
|
|
52
53
|
default?: (props: {}) => any;
|
|
53
54
|
}>;
|
|
54
55
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -68,7 +69,7 @@ interface SwitchRootProviderProps extends SwitchRootProviderBaseProps,
|
|
|
68
69
|
*/
|
|
69
70
|
LabelHTMLAttributes {}
|
|
70
71
|
declare const _default$5: typeof __VLS_export$3;
|
|
71
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
72
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1801.DefineComponent<SwitchRootProviderProps, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {}, string, vue1801.PublicProps, Readonly<SwitchRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1801.ComponentProvideOptions, false, {}, any>, {
|
|
72
73
|
default?: (props: {}) => any;
|
|
73
74
|
}>;
|
|
74
75
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -112,20 +113,20 @@ interface SwitchRootProps extends SwitchRootBaseProps,
|
|
|
112
113
|
LabelHTMLAttributes {}
|
|
113
114
|
interface SwitchRootEmits extends RootEmits {}
|
|
114
115
|
declare const _default$4: typeof __VLS_export$2;
|
|
115
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
116
|
-
"update:checked": (checked: boolean) => any;
|
|
116
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1801.DefineComponent<SwitchRootProps, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {
|
|
117
117
|
checkedChange: (details: sprawlifySwitch.CheckedChangeDetails) => any;
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
"update:checked": (checked: boolean) => any;
|
|
119
|
+
}, string, vue1801.PublicProps, Readonly<SwitchRootProps> & Readonly<{
|
|
120
120
|
onCheckedChange?: ((details: sprawlifySwitch.CheckedChangeDetails) => any) | undefined;
|
|
121
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
121
122
|
}>, {
|
|
122
|
-
required: boolean;
|
|
123
123
|
disabled: boolean;
|
|
124
|
+
required: boolean;
|
|
124
125
|
invalid: boolean;
|
|
125
126
|
readOnly: boolean;
|
|
126
127
|
checked: boolean;
|
|
127
128
|
defaultChecked: boolean;
|
|
128
|
-
}, {}, {}, {}, string,
|
|
129
|
+
}, {}, {}, {}, string, vue1801.ComponentProvideOptions, false, {}, any>, {
|
|
129
130
|
default?: (props: {}) => any;
|
|
130
131
|
}>;
|
|
131
132
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -142,7 +143,7 @@ interface SwitchThumbProps extends SwitchThumbBaseProps,
|
|
|
142
143
|
*/
|
|
143
144
|
HTMLAttributes {}
|
|
144
145
|
declare const _default$6: typeof __VLS_export$1;
|
|
145
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
146
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1801.DefineComponent<SwitchThumbProps, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {}, string, vue1801.PublicProps, Readonly<SwitchThumbProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1801.ComponentProvideOptions, false, {}, any>, {
|
|
146
147
|
default?: (props: {}) => any;
|
|
147
148
|
}>;
|
|
148
149
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -167,7 +168,7 @@ interface SwitchContextProps extends SlotsType<{
|
|
|
167
168
|
default: UnwrapRef<UseSwitchContext>;
|
|
168
169
|
}> {}
|
|
169
170
|
declare const _default: typeof __VLS_export;
|
|
170
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
171
|
+
declare const __VLS_export: __VLS_WithSlots<vue1801.DefineComponent<{}, {}, {}, {}, {}, vue1801.ComponentOptionsMixin, vue1801.ComponentOptionsMixin, {}, string, vue1801.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1801.ComponentProvideOptions, true, {}, any>, {
|
|
171
172
|
default(context: UnwrapRef<UseSwitchContext>): unknown;
|
|
172
173
|
}>;
|
|
173
174
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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 switchAnatomy } from "../../switch-anatomy-DDL1v5Fs.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 { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
12
|
import * as sprawlifySwitch from "@sprawlify/primitives/machines/switch";
|
|
11
|
-
import { anatomy as switchAnatomy } from "@sprawlify/primitives/machines/switch";
|
|
12
13
|
|
|
13
14
|
//#region src/components/switch/use-switch-context.ts
|
|
14
15
|
const [SwitchProvider, useSwitchContext] = createContext("SwitchContext");
|
|
@@ -1,11 +1,12 @@
|
|
|
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 { t as RenderStrategyProps } from "../../use-render-strategy-
|
|
5
|
-
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 RenderStrategyProps } from "../../use-render-strategy-DsagWQCm.js";
|
|
5
|
+
import { t as tabsAnatomy } from "../../tabs-anatomy-BL3YLH_t.js";
|
|
6
|
+
import * as vue4 from "vue";
|
|
6
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
8
|
import * as tabs from "@sprawlify/primitives/machines/tabs";
|
|
8
|
-
import { ContentProps, FocusChangeDetails, FocusChangeDetails as TabsFocusChangeDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as TabsValueChangeDetails
|
|
9
|
+
import { ContentProps, FocusChangeDetails, FocusChangeDetails as TabsFocusChangeDetails, TriggerProps, ValueChangeDetails, ValueChangeDetails as TabsValueChangeDetails } from "@sprawlify/primitives/machines/tabs";
|
|
9
10
|
|
|
10
11
|
//#region src/components/tabs/tab-content.vue.d.ts
|
|
11
12
|
interface TabContentBaseProps extends ContentProps, PolymorphicProps {}
|
|
@@ -15,7 +16,7 @@ interface TabContentProps extends TabContentBaseProps,
|
|
|
15
16
|
*/
|
|
16
17
|
HTMLAttributes {}
|
|
17
18
|
declare const _default: typeof __VLS_export$6;
|
|
18
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
19
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue4.DefineComponent<TabContentProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<TabContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>, {
|
|
19
20
|
default?: (props: {}) => any;
|
|
20
21
|
}>;
|
|
21
22
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -32,7 +33,7 @@ interface TabIndicatorProps extends TabIndicatorBaseProps,
|
|
|
32
33
|
*/
|
|
33
34
|
HTMLAttributes {}
|
|
34
35
|
declare const _default$1: typeof __VLS_export$5;
|
|
35
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
36
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue4.DefineComponent<TabIndicatorProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<TabIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>, {
|
|
36
37
|
default?: (props: {}) => any;
|
|
37
38
|
}>;
|
|
38
39
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -49,7 +50,7 @@ interface TabListProps extends TabListBaseProps,
|
|
|
49
50
|
*/
|
|
50
51
|
HTMLAttributes {}
|
|
51
52
|
declare const _default$2: typeof __VLS_export$4;
|
|
52
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
53
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue4.DefineComponent<TabListProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<TabListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>, {
|
|
53
54
|
default?: (props: {}) => any;
|
|
54
55
|
}>;
|
|
55
56
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -66,7 +67,7 @@ interface TabTriggerProps extends TabTriggerBaseProps,
|
|
|
66
67
|
*/
|
|
67
68
|
Omit<ButtonHTMLAttributes, 'disabled' | 'value'> {}
|
|
68
69
|
declare const _default$3: typeof __VLS_export$3;
|
|
69
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
70
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue4.DefineComponent<TabTriggerProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<TabTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>, {
|
|
70
71
|
default?: (props: {}) => any;
|
|
71
72
|
}>;
|
|
72
73
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -116,7 +117,7 @@ interface TabsContextProps extends SlotsType<{
|
|
|
116
117
|
default: UnwrapRef<UseTabsContext>;
|
|
117
118
|
}> {}
|
|
118
119
|
declare const _default$4: typeof __VLS_export$2;
|
|
119
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
120
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue4.DefineComponent<{}, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, true, {}, any>, {
|
|
120
121
|
default(tabs: UnwrapRef<UseTabsContext>): unknown;
|
|
121
122
|
}>;
|
|
122
123
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -136,7 +137,7 @@ interface TabsRootProviderProps extends TabsRootProviderBaseProps,
|
|
|
136
137
|
*/
|
|
137
138
|
HTMLAttributes {}
|
|
138
139
|
declare const _default$6: typeof __VLS_export$1;
|
|
139
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
140
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue4.DefineComponent<TabsRootProviderProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {}, string, vue4.PublicProps, Readonly<TabsRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>, {
|
|
140
141
|
default?: (props: {}) => any;
|
|
141
142
|
}>;
|
|
142
143
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -154,19 +155,19 @@ interface TabsRootProps extends TabsRootBaseProps,
|
|
|
154
155
|
HTMLAttributes {}
|
|
155
156
|
interface TabsRootEmits extends RootEmits {}
|
|
156
157
|
declare const _default$5: typeof __VLS_export;
|
|
157
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
158
|
-
"update:modelValue": (value: string) => any;
|
|
159
|
-
valueChange: (details: tabs.ValueChangeDetails) => any;
|
|
158
|
+
declare const __VLS_export: __VLS_WithSlots<vue4.DefineComponent<TabsRootProps, {}, {}, {}, {}, vue4.ComponentOptionsMixin, vue4.ComponentOptionsMixin, {
|
|
160
159
|
focusChange: (details: tabs.FocusChangeDetails) => any;
|
|
161
|
-
|
|
162
|
-
"
|
|
163
|
-
|
|
160
|
+
valueChange: (details: tabs.ValueChangeDetails) => any;
|
|
161
|
+
"update:modelValue": (value: string) => any;
|
|
162
|
+
}, string, vue4.PublicProps, Readonly<TabsRootProps> & Readonly<{
|
|
164
163
|
onFocusChange?: ((details: tabs.FocusChangeDetails) => any) | undefined;
|
|
164
|
+
onValueChange?: ((details: tabs.ValueChangeDetails) => any) | undefined;
|
|
165
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
165
166
|
}>, {
|
|
166
|
-
loopFocus: boolean;
|
|
167
|
-
deselectable: boolean;
|
|
168
167
|
composite: boolean;
|
|
169
|
-
|
|
168
|
+
deselectable: boolean;
|
|
169
|
+
loopFocus: boolean;
|
|
170
|
+
}, {}, {}, {}, string, vue4.ComponentProvideOptions, false, {}, any>, {
|
|
170
171
|
default?: (props: {}) => any;
|
|
171
172
|
}>;
|
|
172
173
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,13 +3,13 @@ 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 { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { t as tabsAnatomy } from "../../tabs-anatomy-DlQHg-E8.js";
|
|
7
|
+
import { t as sprawlify } from "../../factory-DxZQviAU.js";
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
9
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-Bx4OiQlo.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider } from "../../presence-Byk0B_Vq.js";
|
|
10
11
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
12
|
import * as tabs from "@sprawlify/primitives/machines/tabs";
|
|
12
|
-
import { anatomy as tabsAnatomy } from "@sprawlify/primitives/machines/tabs";
|
|
13
13
|
|
|
14
14
|
//#region src/components/tabs/use-tabs-context.ts
|
|
15
15
|
const [TabsProvider, useTabsContext] = createContext("TabsContext");
|