@sprawlify/vue 0.0.106 → 0.0.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-dialog-anatomy-CxUYPzIq.d.ts → alert-dialog-anatomy-DSacTNC1.d.ts} +1 -1
- package/dist/{carousel-anatomy-oV_FEGcZ.d.ts → carousel-anatomy-DO7fGwTi.d.ts} +1 -1
- package/dist/{collapsible-wm-f_tLg.js → collapsible-CU8jdmsD.js} +4 -4
- package/dist/{collection-cCQbkbJc.js → collection-CMkl1XB0.js} +2 -2
- package/dist/{color-picker-anatomy-DYoNbWSo.d.ts → color-picker-anatomy-09BXGqLT.d.ts} +1 -1
- package/dist/{combobox-anatomy-DqU2HEkd.d.ts → combobox-anatomy-BqTvPmc0.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +8 -8
- package/dist/components/accordion/index.js +7 -7
- package/dist/components/alert-dialog/index.d.ts +14 -15
- package/dist/components/alert-dialog/index.js +6 -6
- package/dist/components/anatomy.d.ts +8 -8
- package/dist/components/angle-slider/index.d.ts +9 -9
- package/dist/components/angle-slider/index.js +4 -4
- package/dist/components/aspect-ratio/index.d.ts +2 -2
- package/dist/components/aspect-ratio/index.js +4 -4
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +4 -4
- package/dist/components/bottom-sheet/index.d.ts +7 -7
- package/dist/components/bottom-sheet/index.js +7 -7
- package/dist/components/carousel/index.d.ts +11 -11
- package/dist/components/carousel/index.js +4 -4
- package/dist/components/checkbox/index.d.ts +7 -7
- package/dist/components/checkbox/index.js +7 -7
- package/dist/components/clipboard/index.d.ts +6 -6
- package/dist/components/clipboard/index.js +4 -4
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/collapsible/index.js +4 -4
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +2 -2
- package/dist/components/color-picker/index.d.ts +18 -18
- package/dist/components/color-picker/index.js +7 -7
- package/dist/components/combobox/index.d.ts +20 -20
- package/dist/components/combobox/index.js +8 -8
- package/dist/components/date-picker/index.d.ts +18 -15
- package/dist/components/date-picker/index.js +16 -7
- package/dist/components/dialog/index.d.ts +14 -15
- package/dist/components/dialog/index.js +6 -6
- package/dist/components/download-trigger/index.d.ts +1 -1
- package/dist/components/download-trigger/index.js +3 -3
- package/dist/components/dropdown-menu/index.d.ts +23 -23
- package/dist/components/dropdown-menu/index.js +6 -6
- package/dist/components/editable/index.d.ts +16 -16
- package/dist/components/editable/index.js +5 -5
- package/dist/components/field/index.d.ts +31 -31
- package/dist/components/field/index.js +4 -4
- package/dist/components/fieldset/index.d.ts +5 -5
- package/dist/components/fieldset/index.js +4 -4
- package/dist/components/file-upload/index.d.ts +5 -5
- package/dist/components/file-upload/index.js +5 -5
- package/dist/components/floating-panel/index.d.ts +10 -10
- package/dist/components/floating-panel/index.js +5 -5
- package/dist/components/focus-trap/index.d.ts +2 -2
- package/dist/components/focus-trap/index.js +3 -3
- package/dist/components/format/index.d.ts +7 -7
- package/dist/components/format/index.js +1 -1
- package/dist/components/frame/index.js +1 -1
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +10 -10
- package/dist/components/hover-card/index.js +6 -6
- package/dist/components/image-cropper/index.d.ts +7 -7
- package/dist/components/image-cropper/index.js +4 -4
- package/dist/components/json-tree-view/index.d.ts +3 -3
- package/dist/components/json-tree-view/index.js +8 -8
- package/dist/components/listbox/index.d.ts +7 -7
- package/dist/components/listbox/index.js +5 -5
- package/dist/components/marquee/index.d.ts +3 -3
- package/dist/components/marquee/index.js +4 -4
- package/dist/components/navigation-menu/index.d.ts +8 -8
- package/dist/components/navigation-menu/index.js +6 -6
- package/dist/components/number-input/index.d.ts +11 -11
- package/dist/components/number-input/index.js +5 -5
- package/dist/components/pagination/index.d.ts +8 -8
- package/dist/components/pagination/index.js +4 -4
- package/dist/components/password-input/index.d.ts +6 -6
- package/dist/components/password-input/index.js +5 -5
- package/dist/components/pin-input/index.d.ts +10 -10
- package/dist/components/pin-input/index.js +5 -5
- package/dist/components/popover/index.d.ts +12 -12
- package/dist/components/popover/index.js +6 -6
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +3 -3
- package/dist/components/progress/index.d.ts +5 -5
- package/dist/components/progress/index.js +4 -4
- package/dist/components/qr-code/index.d.ts +4 -4
- package/dist/components/qr-code/index.js +4 -4
- package/dist/components/radio-group/index.d.ts +6 -6
- package/dist/components/radio-group/index.js +6 -6
- package/dist/components/rating-group/index.d.ts +8 -8
- package/dist/components/rating-group/index.js +5 -5
- package/dist/components/scroll-area/index.d.ts +3 -3
- package/dist/components/scroll-area/index.js +4 -4
- package/dist/components/segment-group/index.d.ts +6 -6
- package/dist/components/segment-group/index.js +4 -4
- package/dist/components/select/index.d.ts +14 -14
- package/dist/components/select/index.js +8 -8
- package/dist/components/separator/index.d.ts +2 -2
- package/dist/components/separator/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +4 -4
- package/dist/components/signature-pad/index.js +5 -5
- package/dist/components/slider/index.d.ts +16 -16
- package/dist/components/slider/index.js +4 -4
- package/dist/components/splitter/index.d.ts +8 -8
- package/dist/components/splitter/index.js +4 -4
- package/dist/components/steps/index.d.ts +4 -4
- package/dist/components/steps/index.js +4 -4
- package/dist/components/switch/index.d.ts +5 -5
- package/dist/components/switch/index.js +5 -5
- package/dist/components/tabs/index.d.ts +10 -10
- package/dist/components/tabs/index.js +6 -6
- package/dist/components/tags-input/index.d.ts +18 -18
- package/dist/components/tags-input/index.js +5 -5
- package/dist/components/timer/index.d.ts +2 -2
- package/dist/components/timer/index.js +4 -4
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/index.js +3 -3
- package/dist/components/toggle/index.d.ts +3 -3
- package/dist/components/toggle/index.js +3 -3
- package/dist/components/toggle-group/index.d.ts +6 -6
- package/dist/components/toggle-group/index.js +4 -4
- package/dist/components/tooltip/index.d.ts +4 -4
- package/dist/components/tooltip/index.js +6 -6
- package/dist/components/tour/index.d.ts +12 -12
- package/dist/components/tour/index.js +7 -7
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/index.js +7 -7
- package/dist/{core-BW88ya4i.js → core-DFdl8jS7.js} +1 -1
- package/dist/{date-picker-anatomy-nNssWoU2.d.ts → date-picker-anatomy-BpW_VPuT.d.ts} +1 -1
- package/dist/{factory-DNG1el63.js → factory-Bd0Y5x-7.js} +1 -1
- package/dist/{factory-bfEpUaB3.d.ts → factory-Go0oxO3B.d.ts} +1 -1
- package/dist/{field-C7VkjIIx.js → field-D3G8FJDB.js} +2 -2
- package/dist/{fieldset-OP0qxlKh.js → fieldset-DKOqYr6u.js} +2 -2
- package/dist/{index-CODK2VY0.d.ts → index-C7sz_n_w.d.ts} +8 -8
- package/dist/{index-aJnwDHff.d.ts → index-CYO47ggW.d.ts} +27 -1
- package/dist/{index-DuD8fQUF.d.ts → index-DK-1mwjg.d.ts} +2 -2
- package/dist/{index-B4l20i3i.d.ts → index-DUPPuJYr.d.ts} +4 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{listbox-anatomy-CP_1jra6.d.ts → listbox-anatomy-ov6dp5kT.d.ts} +1 -1
- package/dist/{presence-L1LxnRj5.js → presence-B6FmKP5l.js} +2 -2
- package/dist/providers-CicBbUXG.js +204 -0
- package/dist/{segment-group-anatomy-8sdDQVPl.d.ts → segment-group-anatomy-Cu3IiheY.d.ts} +1 -1
- package/dist/{tour-anatomy-CTaLz0Eb.d.ts → tour-anatomy-o5VZ2vDT.d.ts} +1 -1
- package/dist/{tree-view-D_hrmWRQ.js → tree-view-BMIatAXN.js} +7 -7
- package/package.json +9 -8
- package/dist/providers-Cm-xBdVY.js +0 -92
- /package/dist/{boolean-D3BnFnrK.js → boolean-ClZYREcr.js} +0 -0
- /package/dist/{clean-props-qyW2RH6G.js → clean-props-C5aydRx_.js} +0 -0
- /package/dist/{create-split-props-Cz6On1aq.js → create-split-props-D32I38aE.js} +0 -0
- /package/dist/{use-render-strategy-Cq147Bb0.js → use-render-strategy-QgtvU85q.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as ratingGroupAnatomy } from "../../rating-group-anatomy-vdkTXds1.js";
|
|
@@ -137,7 +137,7 @@ interface RootProps {
|
|
|
137
137
|
type RootEmits = {
|
|
138
138
|
hoverChange: [details: ratingGroup.HoverChangeDetails];
|
|
139
139
|
valueChange: [details: ratingGroup.ValueChangeDetails];
|
|
140
|
-
|
|
140
|
+
"update:modelValue": [value: number];
|
|
141
141
|
};
|
|
142
142
|
//#endregion
|
|
143
143
|
//#region src/components/rating-group/rating-group-root.vue.d.ts
|
|
@@ -150,19 +150,19 @@ HTMLAttributes {}
|
|
|
150
150
|
interface RatingGroupRootEmits extends RootEmits {}
|
|
151
151
|
declare const _default$6: typeof __VLS_export$1;
|
|
152
152
|
declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<RatingGroupRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
153
|
+
hoverChange: (details: ratingGroup.HoverChangeDetails) => any;
|
|
153
154
|
valueChange: (details: ratingGroup.ValueChangeDetails) => any;
|
|
154
155
|
"update:modelValue": (value: number) => any;
|
|
155
|
-
hoverChange: (details: ratingGroup.HoverChangeDetails) => any;
|
|
156
156
|
}, string, vue.PublicProps, Readonly<RatingGroupRootProps> & Readonly<{
|
|
157
|
+
onHoverChange?: ((details: ratingGroup.HoverChangeDetails) => any) | undefined;
|
|
157
158
|
onValueChange?: ((details: ratingGroup.ValueChangeDetails) => any) | undefined;
|
|
158
159
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
159
|
-
onHoverChange?: ((details: ratingGroup.HoverChangeDetails) => any) | undefined;
|
|
160
160
|
}>, {
|
|
161
161
|
disabled: boolean;
|
|
162
162
|
required: boolean;
|
|
163
|
-
readOnly: boolean;
|
|
164
|
-
autoFocus: boolean;
|
|
165
163
|
allowHalf: boolean;
|
|
164
|
+
autoFocus: boolean;
|
|
165
|
+
readOnly: boolean;
|
|
166
166
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
167
167
|
default?: (props: {}) => any;
|
|
168
168
|
}>;
|
|
@@ -176,8 +176,8 @@ declare namespace rating_group_d_exports {
|
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/components/rating-group/use-rating-group.d.ts
|
|
179
|
-
interface UseRatingGroupProps extends Optional<Omit<ratingGroup.Props,
|
|
180
|
-
modelValue?: ratingGroup.Props[
|
|
179
|
+
interface UseRatingGroupProps extends Optional<Omit<ratingGroup.Props, "dir" | "getRootNode">, "id"> {
|
|
180
|
+
modelValue?: ratingGroup.Props["value"];
|
|
181
181
|
}
|
|
182
182
|
interface UseRatingGroupReturn extends ComputedRef<ratingGroup.Api<PropTypes>> {}
|
|
183
183
|
declare const useRatingGroup: (props?: MaybeRef<UseRatingGroupProps>, emit?: EmitFn$1<RatingGroupRootEmits>) => UseRatingGroupReturn;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import "../../field-anatomy-BloFzq7T.js";
|
|
7
7
|
import { t as ratingGroupAnatomy } from "../../rating-group-anatomy-DFCmCaAm.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { p as useFieldContext } from "../../field-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
9
|
+
import { p as useFieldContext } from "../../field-D3G8FJDB.js";
|
|
10
10
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as ratingGroup from "@sprawlify/primitives/machines/rating-group";
|
|
12
12
|
//#region src/components/rating-group/use-rating-group-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as scrollAreaAnatomy } from "../../scroll-area-anatomy-D08heRlt.js";
|
|
@@ -9,7 +9,7 @@ import * as scrollArea from "@sprawlify/primitives/machines/scroll-area";
|
|
|
9
9
|
import { ElementIds, ElementIds as ScrollAreaElementIds, ScrollToDetails, ScrollToDetails as ScrollAreaScrollToDetails, ScrollToEdge as ScrollAreaScrollToEdge, ScrollToEdgeDetails, ScrollToEdgeDetails as ScrollAreaScrollToEdgeDetails, ScrollbarState as ScrollAreaScrollbarState } from "@sprawlify/primitives/machines/scroll-area";
|
|
10
10
|
|
|
11
11
|
//#region src/components/scroll-area/use-scroll-area.d.ts
|
|
12
|
-
interface UseScrollAreaProps extends Optional<Omit<scrollArea.Props,
|
|
12
|
+
interface UseScrollAreaProps extends Optional<Omit<scrollArea.Props, "dir" | "getRootNode">, "id"> {}
|
|
13
13
|
interface UseScrollAreaReturn extends ComputedRef<scrollArea.Api<PropTypes>> {}
|
|
14
14
|
declare const useScrollArea: (props?: MaybeRef<UseScrollAreaProps>) => UseScrollAreaReturn;
|
|
15
15
|
//#endregion
|
|
@@ -101,7 +101,7 @@ interface ScrollAreaRootProviderProps extends ScrollAreaRootProviderBaseProps,
|
|
|
101
101
|
/**
|
|
102
102
|
* @vue-ignore
|
|
103
103
|
*/
|
|
104
|
-
Omit<HTMLAttributes,
|
|
104
|
+
Omit<HTMLAttributes, "value"> {}
|
|
105
105
|
declare const _default$4: typeof __VLS_export$3;
|
|
106
106
|
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<ScrollAreaRootProviderBaseProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ScrollAreaRootProviderBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
107
107
|
default?: (props: {}) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as scrollAreaAnatomy } from "../../scroll-area-anatomy-12L_PN6-.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as scrollArea from "@sprawlify/primitives/machines/scroll-area";
|
|
10
10
|
//#region src/components/scroll-area/use-scroll-area-context.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
|
-
import { t as segmentGroupAnatomy } from "../../segment-group-anatomy-
|
|
4
|
+
import { t as segmentGroupAnatomy } from "../../segment-group-anatomy-Cu3IiheY.js";
|
|
5
5
|
import * as vue from "vue";
|
|
6
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
7
|
import * as segmentGroup from "@sprawlify/primitives/machines/radio-group";
|
|
@@ -24,17 +24,17 @@ interface RootProps {
|
|
|
24
24
|
}>;
|
|
25
25
|
modelValue?: string | null;
|
|
26
26
|
name?: string;
|
|
27
|
-
orientation?:
|
|
27
|
+
orientation?: "horizontal" | "vertical";
|
|
28
28
|
readOnly?: boolean;
|
|
29
29
|
}
|
|
30
30
|
type RootEmits = {
|
|
31
31
|
valueChange: [details: segmentGroup.ValueChangeDetails];
|
|
32
|
-
|
|
32
|
+
"update:modelValue": [value: string | null];
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/components/segment-group/use-segment-group.d.ts
|
|
36
|
-
interface UseSegmentGroupProps extends Optional<Omit<segmentGroup.Props,
|
|
37
|
-
modelValue?: segmentGroup.Props[
|
|
36
|
+
interface UseSegmentGroupProps extends Optional<Omit<segmentGroup.Props, "dir" | "getRootNode">, "id"> {
|
|
37
|
+
modelValue?: segmentGroup.Props["value"];
|
|
38
38
|
}
|
|
39
39
|
interface UseSegmentGroupReturn extends ComputedRef<segmentGroup.Api<PropTypes>> {}
|
|
40
40
|
declare const useSegmentGroup: (props?: MaybeRef<UseSegmentGroupProps>, emit?: EmitFn$1<RootEmits>) => UseSegmentGroupReturn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { n as segmentGroupAnatomy, t as parts } from "../../segment-group-anatomy-CfDAqJG5.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as segmentGroup from "@sprawlify/primitives/machines/radio-group";
|
|
10
10
|
//#region src/components/segment-group/use-segment-group-context.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-CcpL2F4P.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
6
6
|
import { t as selectAnatomy } from "../../select-anatomy-6e2EwWE7.js";
|
|
7
|
-
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-
|
|
7
|
+
import { _ as CollectionItem, b as createListCollection, i as UseListCollectionProps, o as useListCollection, y as ListCollection } from "../../index-DK-1mwjg.js";
|
|
8
8
|
import * as vue from "vue";
|
|
9
9
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, UnwrapRef } from "vue";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_dialog0 from "@sprawlify/primitives/machines/dialog";
|
|
11
11
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
12
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";
|
|
13
13
|
|
|
@@ -319,9 +319,9 @@ type RootEmits<T extends CollectionItem> = {
|
|
|
319
319
|
pointerDownOutside: [event: select.PointerDownOutsideEvent];
|
|
320
320
|
select: [details: select.SelectionDetails];
|
|
321
321
|
valueChange: [details: select.ValueChangeDetails<T>];
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
322
|
+
"update:modelValue": [value: string[]];
|
|
323
|
+
"update:open": [open: boolean];
|
|
324
|
+
"update:highlightedValue": [value: string | null];
|
|
325
325
|
};
|
|
326
326
|
//#endregion
|
|
327
327
|
//#region src/components/select/select-root.vue.d.ts
|
|
@@ -330,7 +330,7 @@ interface SelectRootProps<T extends CollectionItem> extends SelectRootBaseProps<
|
|
|
330
330
|
/**
|
|
331
331
|
* @vue-ignore
|
|
332
332
|
*/
|
|
333
|
-
Omit<HTMLAttributes,
|
|
333
|
+
Omit<HTMLAttributes, "onSelect"> {}
|
|
334
334
|
type SelectRootComponentProps<T extends CollectionItem = CollectionItem, P = {}> = Assign<SelectRootProps<T>, P>;
|
|
335
335
|
type SelectRootComponent<P = {}> = <T extends CollectionItem>(props: SelectRootComponentProps<T, P>) => any;
|
|
336
336
|
declare const _default$15: typeof __VLS_export$3;
|
|
@@ -339,14 +339,14 @@ declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
339
339
|
onSelect?: ((details: select.SelectionDetails) => any) | undefined;
|
|
340
340
|
onValueChange?: ((details: select.ValueChangeDetails<T>) => any) | undefined;
|
|
341
341
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
342
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
343
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
344
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
345
342
|
onExitComplete?: (() => any) | undefined;
|
|
343
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => any) | undefined;
|
|
346
344
|
onHighlightChange?: ((details: select.HighlightChangeDetails<T>) => any) | undefined;
|
|
345
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any) | undefined;
|
|
347
346
|
onOpenChange?: ((details: select.OpenChangeDetails) => any) | undefined;
|
|
348
|
-
|
|
347
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any) | undefined;
|
|
349
348
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
349
|
+
"onUpdate:highlightedValue"?: ((value: string | null) => any) | undefined;
|
|
350
350
|
}> & (typeof globalThis extends {
|
|
351
351
|
__VLS_PROPS_FALLBACK: infer P;
|
|
352
352
|
} ? P : {});
|
|
@@ -355,7 +355,7 @@ declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
355
355
|
slots: {
|
|
356
356
|
default?: (props: {}) => any;
|
|
357
357
|
};
|
|
358
|
-
emit: ((evt: "select", details: select.SelectionDetails) => void) & ((evt: "valueChange", details: select.ValueChangeDetails<T>) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "
|
|
358
|
+
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_dialog0.FocusOutsideEvent) => void) & ((evt: "highlightChange", details: select.HighlightChangeDetails<T>) => void) & ((evt: "interactOutside", event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => void) & ((evt: "openChange", details: select.OpenChangeDetails) => void) & ((evt: "pointerDownOutside", event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => void) & ((evt: "update:open", open: boolean) => void) & ((evt: "update:highlightedValue", value: string | null) => void);
|
|
359
359
|
}>) => vue.VNode & {
|
|
360
360
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
361
361
|
};
|
|
@@ -399,8 +399,8 @@ declare namespace select_d_exports {
|
|
|
399
399
|
}
|
|
400
400
|
//#endregion
|
|
401
401
|
//#region src/components/select/use-select.d.ts
|
|
402
|
-
interface UseSelectProps<T extends CollectionItem> extends Optional<Omit<select.Props<T>,
|
|
403
|
-
modelValue?: select.Props<T>[
|
|
402
|
+
interface UseSelectProps<T extends CollectionItem> extends Optional<Omit<select.Props<T>, "dir" | "getRootNode" | "collection">, "id"> {
|
|
403
|
+
modelValue?: select.Props<T>["value"];
|
|
404
404
|
collection: ListCollection<T>;
|
|
405
405
|
}
|
|
406
406
|
interface UseSelectReturn<T extends CollectionItem> extends ComputedRef<select.Api<PropTypes, T>> {}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1, t as mergeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import "../../field-anatomy-BloFzq7T.js";
|
|
7
7
|
import { t as selectAnatomy } from "../../select-anatomy-C3xVuuOA.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
10
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
11
|
-
import { p as useFieldContext } from "../../field-
|
|
12
|
-
import { n as useListCollection, o as createListCollection } from "../../collection-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
9
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
10
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
11
|
+
import { p as useFieldContext } from "../../field-D3G8FJDB.js";
|
|
12
|
+
import { n as useListCollection, o as createListCollection } from "../../collection-CMkl1XB0.js";
|
|
13
13
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
14
14
|
import * as select from "@sprawlify/primitives/machines/select";
|
|
15
15
|
//#region src/components/select/use-select-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as separatorAnatomy } from "../../separator-anatomy-BKWsJ9Pb.js";
|
|
@@ -7,7 +7,7 @@ import { ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue
|
|
|
7
7
|
import * as separator from "@sprawlify/primitives/machines/separator";
|
|
8
8
|
|
|
9
9
|
//#region src/components/separator/use-separator.d.ts
|
|
10
|
-
interface UseSeparatorProps extends Optional<Omit<separator.Props,
|
|
10
|
+
interface UseSeparatorProps extends Optional<Omit<separator.Props, "dir" | "getRootNode">, "id"> {}
|
|
11
11
|
interface UseSeparatorReturn extends ComputedRef<separator.Api<PropTypes>> {}
|
|
12
12
|
declare const useSeparator: (props?: MaybeRef<UseSeparatorProps>) => UseSeparatorReturn;
|
|
13
13
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as separatorAnatomy } from "../../separator-anatomy-DNo6fxgH.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as separator from "@sprawlify/primitives/machines/separator";
|
|
10
10
|
//#region src/components/separator/use-separator-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as signaturePadAnatomy } from "../../signature-pad-anatomy-D-FQgTUJ.js";
|
|
@@ -42,13 +42,13 @@ interface RootProps {
|
|
|
42
42
|
translations?: signaturePad.IntlTranslations;
|
|
43
43
|
}
|
|
44
44
|
type RootEmits = {
|
|
45
|
-
|
|
45
|
+
"update:paths": [paths: string[]];
|
|
46
46
|
draw: [details: signaturePad.DrawDetails];
|
|
47
47
|
drawEnd: [details: signaturePad.DrawEndDetails];
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region src/components/signature-pad/use-signature-pad.d.ts
|
|
51
|
-
interface UseSignaturePadProps extends Optional<Omit<signaturePad.Props,
|
|
51
|
+
interface UseSignaturePadProps extends Optional<Omit<signaturePad.Props, "dir" | "getRootNode">, "id"> {}
|
|
52
52
|
interface UseSignaturePadReturn extends ComputedRef<signaturePad.Api<PropTypes>> {}
|
|
53
53
|
declare const useSignaturePad: (props?: MaybeRef<UseSignaturePadProps>, emit?: EmitFn$1<RootEmits>) => UseSignaturePadReturn;
|
|
54
54
|
//#endregion
|
|
@@ -109,7 +109,7 @@ interface SignaturePadHiddenInputProps extends SignaturePadHiddenInputBaseProps,
|
|
|
109
109
|
/**
|
|
110
110
|
* @vue-ignore
|
|
111
111
|
*/
|
|
112
|
-
Omit<InputHTMLAttributes,
|
|
112
|
+
Omit<InputHTMLAttributes, "value"> {}
|
|
113
113
|
declare const _default$4: typeof __VLS_export$4;
|
|
114
114
|
declare const __VLS_export$4: __VLS_WithSlots$3<vue.DefineComponent<SignaturePadHiddenInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SignaturePadHiddenInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
115
115
|
default?: (props: {}) => any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import "../../field-anatomy-BloFzq7T.js";
|
|
7
7
|
import { t as signaturePadAnatomy } from "../../signature-pad-anatomy--FrLBUvh.js";
|
|
8
|
-
import { t as cleanProps } from "../../clean-props-
|
|
9
|
-
import { p as useFieldContext } from "../../field-
|
|
8
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
9
|
+
import { p as useFieldContext } from "../../field-D3G8FJDB.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as signaturepad from "@sprawlify/primitives/machines/signature-pad";
|
|
12
12
|
//#region src/components/signature-pad/use-signature-pad-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as sliderAnatomy } from "../../slider-anatomy-C0ICRZEy.js";
|
|
@@ -133,7 +133,7 @@ interface SliderRootProviderProps extends SliderRootProviderBaseProps,
|
|
|
133
133
|
/**
|
|
134
134
|
* @vue-ignore
|
|
135
135
|
*/
|
|
136
|
-
Omit<HTMLAttributes,
|
|
136
|
+
Omit<HTMLAttributes, "aria-labelledby" | "aria-label"> {}
|
|
137
137
|
declare const _default$9: typeof __VLS_export$5;
|
|
138
138
|
declare const __VLS_export$5: __VLS_WithSlots$5<vue.DefineComponent<SliderRootProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SliderRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
139
139
|
default?: (props: {}) => any;
|
|
@@ -146,10 +146,10 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
146
146
|
//#endregion
|
|
147
147
|
//#region src/components/slider/slider-types.d.ts
|
|
148
148
|
interface RootProps {
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
"aria-label"?: string[];
|
|
150
|
+
"aria-labelledby"?: string[];
|
|
151
151
|
defaultValue?: number[];
|
|
152
|
-
dir?:
|
|
152
|
+
dir?: "ltr" | "rtl";
|
|
153
153
|
disabled?: boolean;
|
|
154
154
|
form?: string;
|
|
155
155
|
getAriaValueText?: (details: slider.ValueTextDetails) => string;
|
|
@@ -172,12 +172,12 @@ interface RootProps {
|
|
|
172
172
|
minStepsBetweenThumbs?: number;
|
|
173
173
|
modelValue?: number[];
|
|
174
174
|
name?: string;
|
|
175
|
-
orientation?:
|
|
176
|
-
origin?:
|
|
175
|
+
orientation?: "vertical" | "horizontal";
|
|
176
|
+
origin?: "start" | "center";
|
|
177
177
|
readOnly?: boolean;
|
|
178
178
|
step?: number;
|
|
179
|
-
thumbAlignment?:
|
|
180
|
-
thumbCollisionBehavior?:
|
|
179
|
+
thumbAlignment?: "center" | "contain";
|
|
180
|
+
thumbCollisionBehavior?: "none" | "push" | "swap";
|
|
181
181
|
thumbSize?: {
|
|
182
182
|
width: number;
|
|
183
183
|
height: number;
|
|
@@ -187,7 +187,7 @@ type RootEmits = {
|
|
|
187
187
|
focusChange: [details: slider.FocusChangeDetails];
|
|
188
188
|
valueChange: [details: slider.ValueChangeDetails];
|
|
189
189
|
valueChangeEnd: [details: slider.ValueChangeDetails];
|
|
190
|
-
|
|
190
|
+
"update:modelValue": [value: number[]];
|
|
191
191
|
};
|
|
192
192
|
//#endregion
|
|
193
193
|
//#region src/components/slider/slider-root.vue.d.ts
|
|
@@ -196,23 +196,23 @@ interface SliderRootProps extends SliderRootBaseProps,
|
|
|
196
196
|
/**
|
|
197
197
|
* @vue-ignore
|
|
198
198
|
*/
|
|
199
|
-
Omit<HTMLAttributes,
|
|
199
|
+
Omit<HTMLAttributes, "aria-labelledby" | "aria-label" | "dir"> {}
|
|
200
200
|
interface SliderRootEmits extends RootEmits {}
|
|
201
201
|
declare const _default$8: typeof __VLS_export$4;
|
|
202
202
|
declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<SliderRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
203
|
-
focusChange: (details: slider.FocusChangeDetails) => any;
|
|
204
203
|
valueChange: (details: slider.ValueChangeDetails) => any;
|
|
205
204
|
"update:modelValue": (value: number[]) => any;
|
|
205
|
+
focusChange: (details: slider.FocusChangeDetails) => any;
|
|
206
206
|
valueChangeEnd: (details: slider.ValueChangeDetails) => any;
|
|
207
207
|
}, string, vue.PublicProps, Readonly<SliderRootProps> & Readonly<{
|
|
208
|
-
onFocusChange?: ((details: slider.FocusChangeDetails) => any) | undefined;
|
|
209
208
|
onValueChange?: ((details: slider.ValueChangeDetails) => any) | undefined;
|
|
210
209
|
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
210
|
+
onFocusChange?: ((details: slider.FocusChangeDetails) => any) | undefined;
|
|
211
211
|
onValueChangeEnd?: ((details: slider.ValueChangeDetails) => any) | undefined;
|
|
212
212
|
}>, {
|
|
213
213
|
disabled: boolean;
|
|
214
|
-
invalid: boolean;
|
|
215
214
|
readOnly: boolean;
|
|
215
|
+
invalid: boolean;
|
|
216
216
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
217
217
|
default?: (props: {}) => any;
|
|
218
218
|
}>;
|
|
@@ -275,8 +275,8 @@ declare namespace slider_d_exports {
|
|
|
275
275
|
}
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/components/slider/use-slider.d.ts
|
|
278
|
-
interface UseSliderProps extends Optional<slider.Props,
|
|
279
|
-
modelValue?: slider.Props[
|
|
278
|
+
interface UseSliderProps extends Optional<slider.Props, "id"> {
|
|
279
|
+
modelValue?: slider.Props["value"];
|
|
280
280
|
}
|
|
281
281
|
interface UseSliderReturn extends ComputedRef<slider.Api<PropTypes>> {}
|
|
282
282
|
declare const useSlider: (props?: MaybeRef<UseSliderProps>, emit?: EmitFn$1<SliderRootEmits>) => UseSliderReturn;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as sliderAnatomy } from "../../slider-anatomy-B4hwb17i.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
9
9
|
import * as slider from "@sprawlify/primitives/machines/slider";
|
|
10
10
|
//#region src/components/slider/use-slider-context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as splitterAnatomy } from "../../splitter-anatomy-DI126PJz.js";
|
|
@@ -19,7 +19,7 @@ interface RootProps {
|
|
|
19
19
|
}>;
|
|
20
20
|
keyboardResizeBy?: number;
|
|
21
21
|
nonce?: string;
|
|
22
|
-
orientation?:
|
|
22
|
+
orientation?: "horizontal" | "vertical";
|
|
23
23
|
panels: splitter.PanelData[];
|
|
24
24
|
size?: number[];
|
|
25
25
|
}
|
|
@@ -29,11 +29,11 @@ type RootEmits = {
|
|
|
29
29
|
resize: [details: splitter.ResizeDetails];
|
|
30
30
|
resizeEnd: [details: splitter.ResizeEndDetails];
|
|
31
31
|
resizeStart: [];
|
|
32
|
-
|
|
32
|
+
"update:size": [size: number[]];
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/components/splitter/use-splitter.d.ts
|
|
36
|
-
interface UseSplitterProps extends Optional<Omit<splitter.Props,
|
|
36
|
+
interface UseSplitterProps extends Optional<Omit<splitter.Props, "dir" | "getRootNode">, "id"> {}
|
|
37
37
|
interface UseSplitterReturn extends ComputedRef<splitter.Api<PropTypes>> {}
|
|
38
38
|
declare const useSplitter: (props: MaybeRef<UseSplitterProps>, emit?: EmitFn$1<RootEmits>) => UseSplitterReturn;
|
|
39
39
|
//#endregion
|
|
@@ -60,7 +60,7 @@ interface SplitterPanelProps extends SplitterPanelBaseProps,
|
|
|
60
60
|
/**
|
|
61
61
|
* @vue-ignore
|
|
62
62
|
*/
|
|
63
|
-
Omit<HTMLAttributes,
|
|
63
|
+
Omit<HTMLAttributes, "id"> {}
|
|
64
64
|
declare const _default$1: typeof __VLS_export$4;
|
|
65
65
|
declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<SplitterPanelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SplitterPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
66
66
|
default?: (props: {}) => any;
|
|
@@ -77,7 +77,7 @@ interface SplitterResizeTriggerProps extends SplitterResizeTriggerBaseProps,
|
|
|
77
77
|
/**
|
|
78
78
|
* @vue-ignore
|
|
79
79
|
*/
|
|
80
|
-
Omit<ButtonHTMLAttributes,
|
|
80
|
+
Omit<ButtonHTMLAttributes, "disabled" | "id"> {}
|
|
81
81
|
declare const _default$2: typeof __VLS_export$3;
|
|
82
82
|
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<SplitterResizeTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SplitterResizeTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
83
83
|
default?: (props: {}) => any;
|
|
@@ -135,19 +135,19 @@ HTMLAttributes {}
|
|
|
135
135
|
interface SplitterRootEmits extends RootEmits {}
|
|
136
136
|
declare const _default$4: typeof __VLS_export;
|
|
137
137
|
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<SplitterRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
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
|
-
"update:size": (size: number[]) => any;
|
|
144
144
|
}, string, vue.PublicProps, Readonly<SplitterRootProps> & Readonly<{
|
|
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
|
-
"onUpdate:size"?: ((size: number[]) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
152
152
|
default?: (props: {}) => any;
|
|
153
153
|
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as splitterAnatomy } from "../../splitter-anatomy-C3pN_mFn.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as splitter from "@sprawlify/primitives/machines/splitter";
|
|
10
10
|
import { layout as getLayout, layout as getSplitterLayout } from "@sprawlify/primitives/machines/splitter";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as stepsAnatomy } from "../../steps-anatomy-J2AjQVd4.js";
|
|
@@ -50,18 +50,18 @@ interface RootProps {
|
|
|
50
50
|
isStepSkippable?: (index: number) => boolean;
|
|
51
51
|
isStepValid?: (index: number) => boolean;
|
|
52
52
|
linear?: boolean;
|
|
53
|
-
orientation?:
|
|
53
|
+
orientation?: "horizontal" | "vertical";
|
|
54
54
|
step?: number;
|
|
55
55
|
}
|
|
56
56
|
type RootEmits = {
|
|
57
57
|
stepChange: [details: steps.StepChangeDetails];
|
|
58
58
|
stepComplete: [];
|
|
59
59
|
stepInvalid: [details: steps.StepInvalidDetails];
|
|
60
|
-
|
|
60
|
+
"update:step": [step: number];
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/steps/use-steps.d.ts
|
|
64
|
-
interface UseStepsProps extends Optional<Omit<steps.Props,
|
|
64
|
+
interface UseStepsProps extends Optional<Omit<steps.Props, "dir" | "getRootNode">, "id"> {}
|
|
65
65
|
interface UseStepsReturn extends ComputedRef<steps.Api<PropTypes>> {}
|
|
66
66
|
declare function useSteps(props?: MaybeRef<UseStepsProps>, emit?: EmitFn$1<RootEmits>): UseStepsReturn;
|
|
67
67
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as stepsAnatomy } from "../../steps-anatomy-CbPJUew1.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as steps from "@sprawlify/primitives/machines/steps";
|
|
10
10
|
//#region src/components/steps/use-steps-context.ts
|