@sprawlify/vue 0.0.106 → 0.0.107
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-QuurhLQV.d.ts} +1 -1
- package/dist/{carousel-anatomy-oV_FEGcZ.d.ts → carousel-anatomy-Cvduvz28.d.ts} +1 -1
- package/dist/{checkbox-anatomy-Bkxq8P4k.d.ts → checkbox-anatomy-BDPTqssy.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-CcY64hfo.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +6 -6
- package/dist/components/accordion/index.js +7 -7
- package/dist/components/alert-dialog/index.d.ts +16 -16
- package/dist/components/alert-dialog/index.js +6 -6
- package/dist/components/anatomy.d.ts +9 -9
- package/dist/components/angle-slider/index.d.ts +8 -8
- 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 +8 -8
- package/dist/components/bottom-sheet/index.js +7 -7
- package/dist/components/carousel/index.d.ts +7 -7
- package/dist/components/carousel/index.js +4 -4
- package/dist/components/checkbox/index.d.ts +6 -6
- package/dist/components/checkbox/index.js +7 -7
- package/dist/components/clipboard/index.d.ts +4 -4
- package/dist/components/clipboard/index.js +4 -4
- package/dist/components/collapsible/index.d.ts +5 -5
- 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 +23 -23
- package/dist/components/color-picker/index.js +7 -7
- package/dist/components/combobox/index.d.ts +22 -22
- package/dist/components/combobox/index.js +8 -8
- package/dist/components/date-picker/index.d.ts +19 -19
- package/dist/components/date-picker/index.js +6 -6
- package/dist/components/dialog/index.d.ts +16 -16
- 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 +26 -26
- 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 +11 -11
- 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 +4 -4
- 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 +10 -10
- package/dist/components/number-input/index.js +5 -5
- package/dist/components/pagination/index.d.ts +6 -6
- 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 -13
- 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 +5 -5
- 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 +16 -16
- 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 +13 -13
- 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 +4 -4
- package/dist/components/switch/index.js +5 -5
- package/dist/components/tabs/index.d.ts +8 -8
- 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 +5 -5
- 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-CTaSCl_Q.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-aJnwDHff.d.ts → index-CYO47ggW.d.ts} +27 -1
- package/dist/{index-CODK2VY0.d.ts → index-CkAv25xX.d.ts} +11 -11
- package/dist/{index-DuD8fQUF.d.ts → index-DK-1mwjg.d.ts} +2 -2
- package/dist/{index-B4l20i3i.d.ts → index-DdyrLXRD.d.ts} +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{listbox-anatomy-CP_1jra6.d.ts → listbox-anatomy-qjnhtt5d.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-xb9z-ywW.d.ts} +1 -1
- package/dist/{tour-anatomy-CTaLz0Eb.d.ts → tour-anatomy-D9v3xtYJ.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 switchAnatomy } from "../../switch-anatomy-BUXrsW2A.js";
|
|
@@ -101,7 +101,7 @@ interface RootProps {
|
|
|
101
101
|
}
|
|
102
102
|
type RootEmits = {
|
|
103
103
|
checkedChange: [details: sprawlifySwitch.CheckedChangeDetails];
|
|
104
|
-
|
|
104
|
+
"update:checked": [checked: boolean];
|
|
105
105
|
};
|
|
106
106
|
//#endregion
|
|
107
107
|
//#region src/components/switch/switch-root.vue.d.ts
|
|
@@ -121,9 +121,9 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<SwitchRootPr
|
|
|
121
121
|
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
123
|
disabled: boolean;
|
|
124
|
+
invalid: boolean;
|
|
124
125
|
required: boolean;
|
|
125
126
|
checked: boolean;
|
|
126
|
-
invalid: boolean;
|
|
127
127
|
readOnly: boolean;
|
|
128
128
|
defaultChecked: boolean;
|
|
129
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
@@ -156,7 +156,7 @@ declare namespace switch_d_exports {
|
|
|
156
156
|
}
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region src/components/switch/use-switch.d.ts
|
|
159
|
-
interface UseSwitchProps extends Optional<Omit<sprawlifySwitch.Props,
|
|
159
|
+
interface UseSwitchProps extends Optional<Omit<sprawlifySwitch.Props, "dir" | "getRootNode">, "id"> {}
|
|
160
160
|
interface UseSwitchReturn extends ComputedRef<sprawlifySwitch.Api<PropTypes>> {}
|
|
161
161
|
declare const useSwitch: (props?: MaybeRef<UseSwitchProps>, emit?: EmitFn$1<SwitchRootEmits>) => UseSwitchReturn;
|
|
162
162
|
//#endregion
|
|
@@ -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 switchAnatomy } from "../../switch-anatomy-D5Q54mGY.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 sprawlifySwitch from "@sprawlify/primitives/machines/switch";
|
|
12
12
|
//#region src/components/switch/use-switch-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 RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
@@ -65,7 +65,7 @@ interface TabTriggerProps extends TabTriggerBaseProps,
|
|
|
65
65
|
/**
|
|
66
66
|
* @vue-ignore
|
|
67
67
|
*/
|
|
68
|
-
Omit<ButtonHTMLAttributes,
|
|
68
|
+
Omit<ButtonHTMLAttributes, "disabled" | "value"> {}
|
|
69
69
|
declare const _default$3: typeof __VLS_export$3;
|
|
70
70
|
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<TabTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<TabTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
71
71
|
default?: (props: {}) => any;
|
|
@@ -78,7 +78,7 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/components/tabs/tabs-types.d.ts
|
|
80
80
|
interface RootProps {
|
|
81
|
-
activationMode?:
|
|
81
|
+
activationMode?: "manual" | "automatic";
|
|
82
82
|
composite?: boolean;
|
|
83
83
|
defaultValue?: string;
|
|
84
84
|
deselectable?: boolean;
|
|
@@ -93,18 +93,18 @@ interface RootProps {
|
|
|
93
93
|
loopFocus?: boolean;
|
|
94
94
|
modelValue?: string;
|
|
95
95
|
navigate?: (details: tabs.NavigateDetails) => void;
|
|
96
|
-
orientation?:
|
|
96
|
+
orientation?: "horizontal" | "vertical";
|
|
97
97
|
translations?: tabs.IntlTranslations;
|
|
98
98
|
}
|
|
99
99
|
type RootEmits = {
|
|
100
100
|
focusChange: [details: tabs.FocusChangeDetails];
|
|
101
101
|
valueChange: [details: tabs.ValueChangeDetails];
|
|
102
|
-
|
|
102
|
+
"update:modelValue": [value: string];
|
|
103
103
|
};
|
|
104
104
|
//#endregion
|
|
105
105
|
//#region src/components/tabs/use-tabs.d.ts
|
|
106
|
-
interface UseTabsProps extends Optional<Omit<tabs.Props,
|
|
107
|
-
modelValue?: tabs.Props[
|
|
106
|
+
interface UseTabsProps extends Optional<Omit<tabs.Props, "dir" | "getRootNode">, "id"> {
|
|
107
|
+
modelValue?: tabs.Props["value"];
|
|
108
108
|
}
|
|
109
109
|
interface UseTabsReturn extends ComputedRef<tabs.Api<PropTypes>> {}
|
|
110
110
|
declare const useTabs: (props?: MaybeRef<UseTabsProps>, emit?: EmitFn$1<RootEmits>) => UseTabsReturn;
|
|
@@ -165,8 +165,8 @@ declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<TabsRootProps, {
|
|
|
165
165
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
167
|
composite: boolean;
|
|
168
|
-
loopFocus: boolean;
|
|
169
168
|
deselectable: boolean;
|
|
169
|
+
loopFocus: boolean;
|
|
170
170
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
171
171
|
default?: (props: {}) => any;
|
|
172
172
|
}>;
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { t as tabsAnatomy } from "../../tabs-anatomy-DU5e5PwZ.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence, n as PresenceProvider } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider } from "../../presence-B6FmKP5l.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as tabs from "@sprawlify/primitives/machines/tabs";
|
|
12
12
|
//#region src/components/tabs/use-tabs-context.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
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 tagsInputAnatomy } from "../../tags-input-anatomy-Cj7pt60P.js";
|
|
5
5
|
import * as vue from "vue";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _sprawlify_primitives_machines_popover0 from "@sprawlify/primitives/machines/popover";
|
|
8
8
|
import * as tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
9
9
|
import { FocusOutsideEvent, FocusOutsideEvent as TagsInputFocusOutsideEvent, HighlightChangeDetails, HighlightChangeDetails as TagsInputHighlightChangeDetails, InputValueChangeDetails, InputValueChangeDetails as TagsInputInputValueChangeDetails, InteractOutsideEvent, InteractOutsideEvent as TagsInputInteractOutsideEvent, ItemProps, ItemState, PointerDownOutsideEvent, PointerDownOutsideEvent as TagsInputPointerDownOutsideEvent, ValidityChangeDetails, ValidityChangeDetails as TagsInputValidityChangeDetails, ValueChangeDetails, ValueChangeDetails as TagsInputValueChangeDetails } from "@sprawlify/primitives/machines/tags-input";
|
|
10
10
|
|
|
@@ -30,7 +30,7 @@ interface RootProps {
|
|
|
30
30
|
addOnPaste?: boolean;
|
|
31
31
|
allowOverflow?: boolean;
|
|
32
32
|
autoFocus?: boolean;
|
|
33
|
-
blurBehavior?:
|
|
33
|
+
blurBehavior?: "clear" | "add";
|
|
34
34
|
defaultInputValue?: string;
|
|
35
35
|
defaultValue?: string[];
|
|
36
36
|
delimiter?: string | RegExp;
|
|
@@ -69,13 +69,13 @@ type RootEmits = {
|
|
|
69
69
|
pointerDownOutside: [event: tagsInput.PointerDownOutsideEvent];
|
|
70
70
|
valueChange: [details: tagsInput.ValueChangeDetails];
|
|
71
71
|
valueInvalid: [details: tagsInput.ValidityChangeDetails];
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
"update:modelValue": [value: string[]];
|
|
73
|
+
"update:inputValue": [value: string];
|
|
74
74
|
};
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/components/tags-input/use-tags-input.d.ts
|
|
77
|
-
interface UseTagsInputProps extends Optional<Omit<tagsInput.Props,
|
|
78
|
-
modelValue?: tagsInput.Props[
|
|
77
|
+
interface UseTagsInputProps extends Optional<Omit<tagsInput.Props, "dir" | "getRootNode">, "id"> {
|
|
78
|
+
modelValue?: tagsInput.Props["value"];
|
|
79
79
|
}
|
|
80
80
|
interface UseTagsInputReturn extends ComputedRef<tagsInput.Api<PropTypes>> {}
|
|
81
81
|
declare const useTagsInput: (props?: MaybeRef<UseTagsInputProps>, emit?: EmitFn$1<RootEmits>) => UseTagsInputReturn;
|
|
@@ -297,32 +297,32 @@ HTMLAttributes {}
|
|
|
297
297
|
interface TagsInputRootEmits extends RootEmits {}
|
|
298
298
|
declare const _default$12: typeof __VLS_export;
|
|
299
299
|
declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<TagsInputRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
300
|
+
focusOutside: (event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any;
|
|
301
|
+
interactOutside: (event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any;
|
|
302
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any;
|
|
300
303
|
valueChange: (details: tagsInput.ValueChangeDetails) => any;
|
|
301
|
-
valueInvalid: (details: tagsInput.ValidityChangeDetails) => any;
|
|
302
304
|
"update:modelValue": (value: string[]) => any;
|
|
303
|
-
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any;
|
|
304
|
-
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any;
|
|
305
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any;
|
|
306
305
|
highlightChange: (details: tagsInput.HighlightChangeDetails) => any;
|
|
307
306
|
inputValueChange: (details: tagsInput.InputValueChangeDetails) => any;
|
|
307
|
+
valueInvalid: (details: tagsInput.ValidityChangeDetails) => any;
|
|
308
308
|
"update:inputValue": (value: string) => any;
|
|
309
309
|
}, string, vue.PublicProps, Readonly<TagsInputRootProps> & Readonly<{
|
|
310
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any) | undefined;
|
|
311
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any) | undefined;
|
|
312
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any) | undefined;
|
|
310
313
|
onValueChange?: ((details: tagsInput.ValueChangeDetails) => any) | undefined;
|
|
311
|
-
onValueInvalid?: ((details: tagsInput.ValidityChangeDetails) => any) | undefined;
|
|
312
314
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
313
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
314
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
315
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
316
315
|
onHighlightChange?: ((details: tagsInput.HighlightChangeDetails) => any) | undefined;
|
|
317
316
|
onInputValueChange?: ((details: tagsInput.InputValueChangeDetails) => any) | undefined;
|
|
317
|
+
onValueInvalid?: ((details: tagsInput.ValidityChangeDetails) => any) | undefined;
|
|
318
318
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
319
319
|
}>, {
|
|
320
320
|
disabled: boolean;
|
|
321
|
-
required: boolean;
|
|
322
|
-
allowOverflow: boolean;
|
|
323
321
|
invalid: boolean;
|
|
324
|
-
|
|
322
|
+
allowOverflow: boolean;
|
|
323
|
+
required: boolean;
|
|
325
324
|
autoFocus: boolean;
|
|
325
|
+
readOnly: boolean;
|
|
326
326
|
addOnPaste: boolean;
|
|
327
327
|
editable: boolean;
|
|
328
328
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, 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 tagsInputAnatomy } from "../../tags-input-anatomy-BhGRRfIw.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 tagsInput from "@sprawlify/primitives/machines/tags-input";
|
|
12
12
|
//#region src/components/tags-input/use-tags-input-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 timerAnatomy } from "../../timer-anatomy-_ZScIflp.js";
|
|
@@ -43,7 +43,7 @@ type RootEmits = {
|
|
|
43
43
|
};
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/timer/use-timer.d.ts
|
|
46
|
-
interface UseTimerProps extends Optional<Omit<timer.Props,
|
|
46
|
+
interface UseTimerProps extends Optional<Omit<timer.Props, "dir" | "getRootNode">, "id"> {}
|
|
47
47
|
interface UseTimerReturn extends ComputedRef<timer.Api<PropTypes>> {}
|
|
48
48
|
declare const useTimer: (props: MaybeRef<UseTimerProps>, emit?: EmitFn$1<RootEmits>) => UseTimerReturn;
|
|
49
49
|
//#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 { c as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext } 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 timerAnatomy } from "../../timer-anatomy-GlYZryvG.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, withCtx } from "vue";
|
|
9
9
|
import * as timer from "@sprawlify/primitives/machines/timer";
|
|
10
10
|
//#region src/components/timer/use-timer-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 toastAnatomy } from "../../toast-anatomy-C611urcE.js";
|
|
@@ -8,7 +8,7 @@ import * as toast from "@sprawlify/primitives/machines/toast";
|
|
|
8
8
|
import { ActionOptions, ActionOptions as ToastActionOptions, Placement, Placement as ToastPlacement, PromiseOptions, PromiseOptions as ToastPromiseOptions, Status, Status as ToastStatus, StatusChangeDetails, StatusChangeDetails as ToastStatusChangeDetails, StoreProps, StoreProps as ToastStoreProps, Type, Type as ToastType } from "@sprawlify/primitives/machines/toast";
|
|
9
9
|
|
|
10
10
|
//#region src/components/toast/create-toaster.d.ts
|
|
11
|
-
interface CreateToasterProps extends Optional<Partial<toast.StoreProps>,
|
|
11
|
+
interface CreateToasterProps extends Optional<Partial<toast.StoreProps>, "placement"> {
|
|
12
12
|
placement: toast.Placement;
|
|
13
13
|
}
|
|
14
14
|
interface CreateToasterReturn extends toast.Store<VNodeChild> {}
|
|
@@ -1,8 +1,8 @@
|
|
|
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 toastAnatomy } from "../../toast-anatomy-DiPVPI_x.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderList, renderSlot, unref, useId, withCtx } from "vue";
|
|
8
8
|
import * as toast from "@sprawlify/primitives/machines/toast";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as toggleAnatomy } from "../../toggle-anatomy-CAfJOViG.js";
|
|
@@ -14,7 +14,7 @@ interface RootProps {
|
|
|
14
14
|
}
|
|
15
15
|
type RootEmits = {
|
|
16
16
|
pressedChange: [pressed: boolean];
|
|
17
|
-
|
|
17
|
+
"update:pressed": [pressed: boolean];
|
|
18
18
|
};
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/components/toggle/toggle-root.vue.d.ts
|
|
@@ -23,7 +23,7 @@ interface ToggleRootProps extends ToggleRootBaseProps,
|
|
|
23
23
|
/**
|
|
24
24
|
* @vue-ignore
|
|
25
25
|
*/
|
|
26
|
-
Omit<ButtonHTMLAttributes,
|
|
26
|
+
Omit<ButtonHTMLAttributes, "disabled"> {}
|
|
27
27
|
interface ToggleRootEmits extends RootEmits {}
|
|
28
28
|
declare var __VLS_8$1: {};
|
|
29
29
|
type __VLS_Slots$1 = {} & {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
3
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
4
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
4
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
5
5
|
import { t as toggleAnatomy } from "../../toggle-anatomy-Cvb2YZ0Z.js";
|
|
6
|
-
import { t as cleanProps } from "../../clean-props-
|
|
6
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
7
7
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, withCtx } from "vue";
|
|
8
8
|
import * as toggle from "@sprawlify/primitives/machines/toggle";
|
|
9
9
|
//#region src/components/toggle/use-toggle.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 toggleGroupAnatomy } from "../../toggle-group-anatomy-BMEHxthU.js";
|
|
@@ -13,7 +13,7 @@ interface ToggleGroupItemProps extends ToggleGroupItemBaseProps,
|
|
|
13
13
|
/**
|
|
14
14
|
* @vue-ignore
|
|
15
15
|
*/
|
|
16
|
-
Omit<ButtonHTMLAttributes,
|
|
16
|
+
Omit<ButtonHTMLAttributes, "disabled" | "value"> {}
|
|
17
17
|
declare const _default$1: typeof __VLS_export$3;
|
|
18
18
|
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<ToggleGroupItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ToggleGroupItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
19
19
|
default?: (props: {}) => any;
|
|
@@ -62,7 +62,7 @@ interface RootProps {
|
|
|
62
62
|
}
|
|
63
63
|
type RootEmits = {
|
|
64
64
|
valueChange: [details: toggleGroup.ValueChangeDetails];
|
|
65
|
-
|
|
65
|
+
"update:modelValue": [value: string[]];
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/toggle-group/toggle-group-root.vue.d.ts
|
|
@@ -83,8 +83,8 @@ declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<ToggleGroupR
|
|
|
83
83
|
}>, {
|
|
84
84
|
disabled: boolean;
|
|
85
85
|
multiple: boolean;
|
|
86
|
-
loopFocus: boolean;
|
|
87
86
|
deselectable: boolean;
|
|
87
|
+
loopFocus: boolean;
|
|
88
88
|
rovingFocus: boolean;
|
|
89
89
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
90
90
|
default?: (props: {}) => any;
|
|
@@ -99,11 +99,11 @@ declare namespace toggle_group_d_exports {
|
|
|
99
99
|
}
|
|
100
100
|
//#endregion
|
|
101
101
|
//#region src/components/toggle-group/use-toggle-group.d.ts
|
|
102
|
-
interface UseToggleGroupProps extends Optional<Omit<toggleGroup.Props,
|
|
102
|
+
interface UseToggleGroupProps extends Optional<Omit<toggleGroup.Props, "dir" | "getRootNode">, "id"> {
|
|
103
103
|
/**
|
|
104
104
|
* The v-model value of the toggle group
|
|
105
105
|
*/
|
|
106
|
-
modelValue?: toggleGroup.Props[
|
|
106
|
+
modelValue?: toggleGroup.Props["value"];
|
|
107
107
|
}
|
|
108
108
|
interface UseToggleGroupReturn extends ComputedRef<toggleGroup.Api<PropTypes>> {}
|
|
109
109
|
declare const useToggleGroup: (props?: MaybeRef<UseToggleGroupProps>, emit?: EmitFn$1<ToggleGroupRootEmits>) => UseToggleGroupReturn;
|
|
@@ -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 toggleGroupAnatomy } from "../../toggle-group-anatomy-cGA-KM8t.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 toggleGroup from "@sprawlify/primitives/machines/toggle-group";
|
|
10
10
|
//#region src/components/toggle-group/use-toggle-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 { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
@@ -62,7 +62,7 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/components/tooltip/tooltip-types.d.ts
|
|
64
64
|
interface RootProps {
|
|
65
|
-
|
|
65
|
+
"aria-label"?: string;
|
|
66
66
|
closeDelay?: number;
|
|
67
67
|
closeOnClick?: boolean;
|
|
68
68
|
closeOnEscape?: boolean;
|
|
@@ -85,11 +85,11 @@ interface RootProps {
|
|
|
85
85
|
type RootEmits = {
|
|
86
86
|
exitComplete: [];
|
|
87
87
|
openChange: [details: tooltip.OpenChangeDetails];
|
|
88
|
-
|
|
88
|
+
"update:open": [open: boolean];
|
|
89
89
|
};
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/tooltip/use-tooltip.d.ts
|
|
92
|
-
interface UseTooltipProps extends Optional<Omit<tooltip.Props,
|
|
92
|
+
interface UseTooltipProps extends Optional<Omit<tooltip.Props, "dir" | "getRootNode">, "id"> {}
|
|
93
93
|
interface UseTooltipReturn extends ComputedRef<tooltip.Api<PropTypes>> {}
|
|
94
94
|
declare const useTooltip: (props?: MaybeRef<UseTooltipProps>, emit?: EmitFn$1<RootEmits>) => UseTooltipReturn;
|
|
95
95
|
//#endregion
|
|
@@ -163,9 +163,9 @@ declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<TooltipRootP
|
|
|
163
163
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
164
164
|
}>, {
|
|
165
165
|
disabled: boolean;
|
|
166
|
+
closeOnEscape: boolean;
|
|
166
167
|
defaultOpen: boolean;
|
|
167
168
|
open: boolean;
|
|
168
|
-
closeOnEscape: boolean;
|
|
169
169
|
closeOnClick: boolean;
|
|
170
170
|
closeOnPointerDown: boolean;
|
|
171
171
|
closeOnScroll: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { t as tooltipAnatomy } from "../../tooltip-anatomy-Py7dhRtQ.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as tooltip from "@sprawlify/primitives/machines/tooltip";
|
|
12
12
|
//#region src/components/tooltip/use-tooltip-context.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
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 RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
5
|
-
import { t as tourAnatomy } from "../../tour-anatomy-
|
|
5
|
+
import { t as tourAnatomy } from "../../tour-anatomy-D9v3xtYJ.js";
|
|
6
6
|
import * as vue from "vue";
|
|
7
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import { WaitForOptions as WaitOptions$1 } from "@sprawlify/primitives/dom-query";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _sprawlify_primitives_machines_popover0 from "@sprawlify/primitives/machines/popover";
|
|
10
10
|
import * as tour from "@sprawlify/primitives/machines/tour";
|
|
11
11
|
import { FocusOutsideEvent, FocusOutsideEvent as TourFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as TourInteractOutsideEvent, Point, PointerDownOutsideEvent, PointerDownOutsideEvent as TourPointerDownOutsideEvent, ProgressTextDetails, StatusChangeDetails, StepAction, StepAction as StepAction$1, StepActionMap, StepActionTriggerProps, StepActionTriggerProps as StepActionTriggerProps$1, StepBaseDetails, StepChangeDetails, StepDetails, StepDetails as TourStepDetails, StepEffectArgs, StepEffectArgs as TourStepEffectArgs, StepPlacement, StepStatus, StepType, WaitOptions, waitForElement, waitForElementValue, waitForPromise } from "@sprawlify/primitives/machines/tour";
|
|
12
12
|
|
|
@@ -217,21 +217,21 @@ interface TourRootProps extends TourRootBaseProps {}
|
|
|
217
217
|
interface TourRootEmits extends RootEmits {}
|
|
218
218
|
declare const _default$12: typeof __VLS_export$3;
|
|
219
219
|
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<TourRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
220
|
-
statusChange: (details: tour.StatusChangeDetails) => any;
|
|
221
|
-
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any;
|
|
222
|
-
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any;
|
|
223
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any;
|
|
224
220
|
exitComplete: () => any;
|
|
221
|
+
statusChange: (details: tour.StatusChangeDetails) => any;
|
|
222
|
+
focusOutside: (event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any;
|
|
223
|
+
interactOutside: (event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any;
|
|
224
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any;
|
|
225
225
|
stepChange: (details: tour.StepChangeDetails) => any;
|
|
226
226
|
stepsChange: (details: {
|
|
227
227
|
steps: tour.StepDetails[];
|
|
228
228
|
}) => any;
|
|
229
229
|
}, string, vue.PublicProps, Readonly<TourRootProps> & Readonly<{
|
|
230
|
-
onStatusChange?: ((details: tour.StatusChangeDetails) => any) | undefined;
|
|
231
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
232
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
233
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
234
230
|
onExitComplete?: (() => any) | undefined;
|
|
231
|
+
onStatusChange?: ((details: tour.StatusChangeDetails) => any) | undefined;
|
|
232
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any) | undefined;
|
|
233
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any) | undefined;
|
|
234
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any) | undefined;
|
|
235
235
|
onStepChange?: ((details: tour.StepChangeDetails) => any) | undefined;
|
|
236
236
|
onStepsChange?: ((details: {
|
|
237
237
|
steps: tour.StepDetails[];
|
|
@@ -281,7 +281,7 @@ declare namespace tour_d_exports {
|
|
|
281
281
|
}
|
|
282
282
|
//#endregion
|
|
283
283
|
//#region src/components/tour/use-tour.d.ts
|
|
284
|
-
interface UseTourProps extends Optional<Omit<tour.Props,
|
|
284
|
+
interface UseTourProps extends Optional<Omit<tour.Props, "dir" | "getRootNode">, "id"> {}
|
|
285
285
|
interface UseTourReturn extends ComputedRef<tour.Api<PropTypes>> {}
|
|
286
286
|
declare const useTour: (props?: MaybeRef<UseTourProps>, emit?: EmitFn$1<TourRootEmits>) => ComputedRef<tour.Api<PropTypes>>;
|
|
287
287
|
//#endregion
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { t as tourAnatomy } from "../../tour-anatomy-VBbJhmJa.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
11
11
|
import * as tour from "@sprawlify/primitives/machines/tour";
|
|
12
12
|
import { waitForElement, waitForElementValue, waitForPromise } from "@sprawlify/primitives/machines/tour";
|
|
@@ -214,7 +214,7 @@ var tour_description_default = /* @__PURE__ */ defineComponent({
|
|
|
214
214
|
useForwardExpose();
|
|
215
215
|
return (_ctx, _cache) => {
|
|
216
216
|
return openBlock(), createBlock(unref(sprawlify).div, mergeProps(unref(tour).getDescriptionProps(), { "as-child": __props.asChild }), {
|
|
217
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(slots.default?.() || unref(tour).step?.
|
|
217
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(slots.default?.() || unref(tour).step?.description), 1)])]),
|
|
218
218
|
_: 3
|
|
219
219
|
}, 16, ["as-child"]);
|
|
220
220
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as treeViewAnatomy } from "../../tree-view-anatomy-DiA9oPpn.js";
|
|
2
|
-
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-
|
|
3
|
-
import { $ as TreeViewContextProps, A as UseTreeViewNodeContext, B as _default$12, C as TreeViewRootProviderProps, Ct as _default$2, D as _default$15, E as TreeViewNodeProviderProps, Et as _default$1, F as TreeViewNodeCheckboxIndicatorBaseProps, G as TreeViewItemProps, H as TreeViewLabelProps, I as TreeViewNodeCheckboxIndicatorProps, J as TreeViewItemTextProps, K as _default$8, L as _default$13, M as TreeViewNodeRenameInputBaseProps, N as TreeViewNodeRenameInputProps, O as TreeViewNodeContextProps, P as _default$16, Q as _default$9, R as TreeViewNodeCheckboxBaseProps, S as TreeViewRootProviderComponent, St as TreeViewBranchControlProps, T as TreeViewNodeProviderBaseProps, Tt as TreeViewBranchContentProps, U as _default$11, V as TreeViewLabelBaseProps, W as TreeViewItemBaseProps, X as TreeViewItemIndicatorBaseProps, Y as _default$10, Z as TreeViewItemIndicatorProps, _ as TreeViewRootComponent, _t as _default$4, a as TreeViewLoadChildrenDetails, at as useTreeView, b as _default$17, bt as _default$3, c as TreeViewNodeState, ct as _default, d as TreeViewSelectionChangeDetails, dt as _default$6, et as _default$7, f as tree_view_d_exports, ft as TreeViewBranchTextBaseProps, g as TreeViewRootBaseProps, gt as TreeViewBranchIndicatorProps, h as _default$19, ht as TreeViewBranchIndicatorBaseProps, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as useTreeViewNodeContext, k as _default$14, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchTriggerBaseProps, m as TreeViewTreeProps, mt as _default$5, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchBaseProps, p as TreeViewTreeBaseProps, pt as TreeViewBranchTextProps, q as TreeViewItemTextBaseProps, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTriggerProps, v as TreeViewRootComponentProps, vt as TreeViewBranchIndentGuideBaseProps, w as _default$18, wt as TreeViewBranchContentBaseProps, x as TreeViewRootProviderBaseProps, xt as TreeViewBranchControlBaseProps, y as TreeViewRootProps, yt as TreeViewBranchIndentGuideProps, z as TreeViewNodeCheckboxProps } from "../../index-
|
|
2
|
+
import { f as TreeCollection, g as createTreeCollection, h as createFileTreeCollection, m as TreeNode } from "../../index-DK-1mwjg.js";
|
|
3
|
+
import { $ as TreeViewContextProps, A as UseTreeViewNodeContext, B as _default$12, C as TreeViewRootProviderProps, Ct as _default$2, D as _default$15, E as TreeViewNodeProviderProps, Et as _default$1, F as TreeViewNodeCheckboxIndicatorBaseProps, G as TreeViewItemProps, H as TreeViewLabelProps, I as TreeViewNodeCheckboxIndicatorProps, J as TreeViewItemTextProps, K as _default$8, L as _default$13, M as TreeViewNodeRenameInputBaseProps, N as TreeViewNodeRenameInputProps, O as TreeViewNodeContextProps, P as _default$16, Q as _default$9, R as TreeViewNodeCheckboxBaseProps, S as TreeViewRootProviderComponent, St as TreeViewBranchControlProps, T as TreeViewNodeProviderBaseProps, Tt as TreeViewBranchContentProps, U as _default$11, V as TreeViewLabelBaseProps, W as TreeViewItemBaseProps, X as TreeViewItemIndicatorBaseProps, Y as _default$10, Z as TreeViewItemIndicatorProps, _ as TreeViewRootComponent, _t as _default$4, a as TreeViewLoadChildrenDetails, at as useTreeView, b as _default$17, bt as _default$3, c as TreeViewNodeState, ct as _default, d as TreeViewSelectionChangeDetails, dt as _default$6, et as _default$7, f as tree_view_d_exports, ft as TreeViewBranchTextBaseProps, g as TreeViewRootBaseProps, gt as TreeViewBranchIndicatorProps, h as _default$19, ht as TreeViewBranchIndicatorBaseProps, i as TreeViewLoadChildrenCompleteDetails, it as UseTreeViewReturn, j as useTreeViewNodeContext, k as _default$14, l as TreeViewRenameCompleteDetails, lt as TreeViewBranchTriggerBaseProps, m as TreeViewTreeProps, mt as _default$5, n as TreeViewExpandedChangeDetails, nt as useTreeViewContext, o as TreeViewLoadChildrenErrorDetails, ot as TreeViewBranchBaseProps, p as TreeViewTreeBaseProps, pt as TreeViewBranchTextProps, q as TreeViewItemTextBaseProps, r as TreeViewFocusChangeDetails, rt as UseTreeViewProps, s as TreeViewNodeProps, st as TreeViewBranchProps, t as TreeViewCheckedChangeDetails, tt as UseTreeViewContext, u as TreeViewRenameStartDetails, ut as TreeViewBranchTriggerProps, v as TreeViewRootComponentProps, vt as TreeViewBranchIndentGuideBaseProps, w as _default$18, wt as TreeViewBranchContentBaseProps, x as TreeViewRootProviderBaseProps, xt as TreeViewBranchControlBaseProps, y as TreeViewRootProps, yt as TreeViewBranchIndentGuideProps, z as TreeViewNodeCheckboxProps } from "../../index-CkAv25xX.js";
|
|
4
4
|
export { TreeCollection, TreeNode, tree_view_d_exports as TreeView, _default as TreeViewBranch, TreeViewBranchBaseProps, _default$1 as TreeViewBranchContent, TreeViewBranchContentBaseProps, TreeViewBranchContentProps, _default$2 as TreeViewBranchControl, TreeViewBranchControlBaseProps, TreeViewBranchControlProps, _default$3 as TreeViewBranchIndentGuide, TreeViewBranchIndentGuideBaseProps, TreeViewBranchIndentGuideProps, _default$4 as TreeViewBranchIndicator, TreeViewBranchIndicatorBaseProps, TreeViewBranchIndicatorProps, TreeViewBranchProps, _default$5 as TreeViewBranchText, TreeViewBranchTextBaseProps, TreeViewBranchTextProps, _default$6 as TreeViewBranchTrigger, TreeViewBranchTriggerBaseProps, TreeViewBranchTriggerProps, TreeViewCheckedChangeDetails, _default$7 as TreeViewContext, TreeViewContextProps, TreeViewExpandedChangeDetails, TreeViewFocusChangeDetails, _default$8 as TreeViewItem, TreeViewItemBaseProps, _default$9 as TreeViewItemIndicator, TreeViewItemIndicatorBaseProps, TreeViewItemIndicatorProps, TreeViewItemProps, _default$10 as TreeViewItemText, TreeViewItemTextBaseProps, TreeViewItemTextProps, _default$11 as TreeViewLabel, TreeViewLabelBaseProps, TreeViewLabelProps, TreeViewLoadChildrenCompleteDetails, TreeViewLoadChildrenDetails, TreeViewLoadChildrenErrorDetails, _default$12 as TreeViewNodeCheckbox, TreeViewNodeCheckboxBaseProps, _default$13 as TreeViewNodeCheckboxIndicator, TreeViewNodeCheckboxIndicatorBaseProps, TreeViewNodeCheckboxIndicatorProps, TreeViewNodeCheckboxProps, _default$14 as TreeViewNodeContext, TreeViewNodeContextProps, TreeViewNodeProps, _default$15 as TreeViewNodeProvider, TreeViewNodeProviderBaseProps, TreeViewNodeProviderProps, _default$16 as TreeViewNodeRenameInput, TreeViewNodeRenameInputBaseProps, TreeViewNodeRenameInputProps, TreeViewNodeState, TreeViewRenameCompleteDetails, TreeViewRenameStartDetails, _default$17 as TreeViewRoot, TreeViewRootBaseProps, TreeViewRootComponent, TreeViewRootComponentProps, TreeViewRootProps, _default$18 as TreeViewRootProvider, TreeViewRootProviderBaseProps, TreeViewRootProviderComponent, TreeViewRootProviderProps, TreeViewSelectionChangeDetails, _default$19 as TreeViewTree, TreeViewTreeBaseProps, TreeViewTreeProps, UseTreeViewContext, UseTreeViewNodeContext, UseTreeViewProps, UseTreeViewReturn, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../providers-
|
|
1
|
+
import "../../core-DFdl8jS7.js";
|
|
2
|
+
import "../../providers-CicBbUXG.js";
|
|
3
3
|
import "../../create-context-BqbKqBMN.js";
|
|
4
|
-
import "../../factory-
|
|
4
|
+
import "../../factory-Bd0Y5x-7.js";
|
|
5
5
|
import { t as treeViewAnatomy } from "../../tree-view-anatomy-BK8OR6TX.js";
|
|
6
|
-
import "../../
|
|
7
|
-
import
|
|
8
|
-
import "../../
|
|
9
|
-
import { C as tree_view_branch_content_default, S as tree_view_branch_control_default, _ as useTreeViewNodeContext, a as tree_view_root_provider_default, b as tree_view_branch_indicator_default, c as tree_view_node_rename_input_default, d as tree_view_label_default, f as tree_view_item_default, g as tree_view_branch_default, h as tree_view_context_default, i as useTreeView, l as tree_view_node_checkbox_indicator_default, m as tree_view_item_indicator_default, n as tree_view_tree_default, o as tree_view_node_provider_default, p as tree_view_item_text_default, r as tree_view_root_default, s as tree_view_node_context_default, t as tree_view_exports, u as tree_view_node_checkbox_default, v as tree_view_branch_trigger_default, w as useTreeViewContext, x as tree_view_branch_indent_guide_default, y as tree_view_branch_text_default } from "../../tree-view-
|
|
6
|
+
import "../../collapsible-CU8jdmsD.js";
|
|
7
|
+
import "../../use-render-strategy-QgtvU85q.js";
|
|
8
|
+
import { a as createTreeCollection, i as createFileTreeCollection } from "../../collection-CMkl1XB0.js";
|
|
9
|
+
import { C as tree_view_branch_content_default, S as tree_view_branch_control_default, _ as useTreeViewNodeContext, a as tree_view_root_provider_default, b as tree_view_branch_indicator_default, c as tree_view_node_rename_input_default, d as tree_view_label_default, f as tree_view_item_default, g as tree_view_branch_default, h as tree_view_context_default, i as useTreeView, l as tree_view_node_checkbox_indicator_default, m as tree_view_item_indicator_default, n as tree_view_tree_default, o as tree_view_node_provider_default, p as tree_view_item_text_default, r as tree_view_root_default, s as tree_view_node_context_default, t as tree_view_exports, u as tree_view_node_checkbox_default, v as tree_view_branch_trigger_default, w as useTreeViewContext, x as tree_view_branch_indent_guide_default, y as tree_view_branch_text_default } from "../../tree-view-BMIatAXN.js";
|
|
10
10
|
export { tree_view_exports as TreeView, tree_view_branch_default as TreeViewBranch, tree_view_branch_content_default as TreeViewBranchContent, tree_view_branch_control_default as TreeViewBranchControl, tree_view_branch_indent_guide_default as TreeViewBranchIndentGuide, tree_view_branch_indicator_default as TreeViewBranchIndicator, tree_view_branch_text_default as TreeViewBranchText, tree_view_branch_trigger_default as TreeViewBranchTrigger, tree_view_context_default as TreeViewContext, tree_view_item_default as TreeViewItem, tree_view_item_indicator_default as TreeViewItemIndicator, tree_view_item_text_default as TreeViewItemText, tree_view_label_default as TreeViewLabel, tree_view_node_checkbox_default as TreeViewNodeCheckbox, tree_view_node_checkbox_indicator_default as TreeViewNodeCheckboxIndicator, tree_view_node_context_default as TreeViewNodeContext, tree_view_node_provider_default as TreeViewNodeProvider, tree_view_node_rename_input_default as TreeViewNodeRenameInput, tree_view_root_default as TreeViewRoot, tree_view_root_provider_default as TreeViewRootProvider, tree_view_tree_default as TreeViewTree, createFileTreeCollection, createTreeCollection, treeViewAnatomy, useTreeView, useTreeViewContext, useTreeViewNodeContext };
|
|
@@ -93,7 +93,7 @@ function useRefs(refs) {
|
|
|
93
93
|
//#endregion
|
|
94
94
|
//#region src/core/track.ts
|
|
95
95
|
const useTrack = (deps, effect) => {
|
|
96
|
-
watch(() =>
|
|
96
|
+
watch(() => deps.map((d) => d()), (current, previous) => {
|
|
97
97
|
let changed = false;
|
|
98
98
|
for (let i = 0; i < current.length; i++) if (!isEqual(previous[i], toValue(current[i]))) {
|
|
99
99
|
changed = true;
|