@sprawlify/vue 0.0.72 → 0.0.73
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/{collapsible-jX9S7WYj.js → collapsible-SXAS3iFc.js} +1 -1
- package/dist/{collection-DGKjEgOz.js → collection-C_ZHBDQD.js} +1 -1
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/angle-slider/index.d.ts +15 -15
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +16 -16
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +23 -23
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +16 -16
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +48 -48
- package/dist/components/color-picker/index.js +3 -3
- package/dist/components/combobox/index.d.ts +31 -31
- package/dist/components/combobox/index.js +4 -4
- package/dist/components/date-picker/index.d.ts +42 -42
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +28 -28
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +24 -24
- package/dist/components/editable/index.js +1 -1
- package/dist/components/field/index.d.ts +23 -23
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/file-upload/index.d.ts +20 -20
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-panel/index.d.ts +19 -19
- package/dist/components/floating-panel/index.js +2 -2
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +1 -1
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +21 -21
- package/dist/components/hover-card/index.js +3 -3
- package/dist/components/image-cropper/index.d.ts +13 -13
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +7 -7
- package/dist/components/json-tree-view/index.js +5 -5
- package/dist/components/listbox/index.d.ts +22 -22
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +20 -20
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.d.ts +45 -45
- package/dist/components/menu/index.js +3 -3
- package/dist/components/navigation-menu/index.d.ts +16 -16
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +15 -15
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.d.ts +14 -14
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +20 -20
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/pin-input/index.d.ts +12 -12
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.d.ts +31 -31
- package/dist/components/popover/index.js +3 -3
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +1 -1
- package/dist/components/progress/index.d.ts +12 -12
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +8 -8
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +15 -15
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rating-group/index.d.ts +13 -13
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/scroll-area/index.d.ts +9 -9
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +30 -30
- package/dist/components/select/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +12 -12
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.ts +20 -20
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.d.ts +9 -9
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.d.ts +14 -14
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +14 -14
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tags-input/index.d.ts +27 -27
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/timer/index.d.ts +11 -11
- package/dist/components/timer/index.js +1 -1
- package/dist/components/toast/index.d.ts +154 -0
- package/dist/components/toast/index.js +265 -0
- package/dist/components/toggle/index.d.ts +101 -0
- package/dist/components/toggle/index.js +131 -0
- package/dist/components/toggle-group/index.d.ts +127 -0
- package/dist/components/toggle-group/index.js +207 -0
- package/dist/components/tooltip/index.d.ts +201 -0
- package/dist/components/tooltip/index.js +349 -0
- package/dist/components/tour/index.d.ts +308 -0
- package/dist/components/tour/index.js +505 -0
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +4 -4
- package/dist/{index-B_UiXhk3.d.ts → index-8bjPAUl0.d.ts} +9 -9
- package/dist/{index-xb1q4_02.d.ts → index-BnYwp0nl.d.ts} +7 -7
- package/dist/{index-DwWFWpls.d.ts → index-CmCVWB7e.d.ts} +28 -28
- package/dist/index.d.ts +1 -1
- package/dist/{tree-view-Ctpu5RjE.js → tree-view-N6ShNmpe.js} +4 -4
- package/package.json +22 -2
- /package/dist/{clean-props-D2R4tz5e.js → clean-props-ChPEW0vT.js} +0 -0
- /package/dist/{create-split-props-0RD5_O4P.js → create-split-props-BDJ_VWs3.js} +0 -0
- /package/dist/{presence-B4-UhJY9.js → presence-BK6rPXK7.js} +0 -0
- /package/dist/{use-render-strategy-DA33j31C.js → use-render-strategy-DMa_QmB6.js} +0 -0
|
@@ -3,11 +3,11 @@ import { t as RootEmits$1 } from "../../presence-types-BJRr8tqd.js";
|
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-U5NxU252.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue1019 from "vue";
|
|
7
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import * as hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
9
9
|
import { FocusOutsideEvent, FocusOutsideEvent as HoverCardFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as HoverCardInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as HoverCardOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as HoverCardPointerDownOutsideEvent, anatomy as hoverCardAnatomy } from "@sprawlify/primitives/machines/hover-card";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_menu11 from "@sprawlify/primitives/machines/menu";
|
|
11
11
|
|
|
12
12
|
//#region src/components/hover-card/hover-card-arrow-tip.vue.d.ts
|
|
13
13
|
interface HoverCardArrowTipBaseProps extends PolymorphicProps {}
|
|
@@ -17,7 +17,7 @@ interface HoverCardArrowTipProps extends HoverCardArrowTipBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default$1: typeof __VLS_export$7;
|
|
20
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
20
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue1019.DefineComponent<HoverCardArrowTipProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {}, string, vue1019.PublicProps, Readonly<HoverCardArrowTipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface HoverCardArrowProps extends HoverCardArrowBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
HTMLAttributes {}
|
|
36
36
|
declare const _default: typeof __VLS_export$6;
|
|
37
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
37
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1019.DefineComponent<HoverCardArrowProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {}, string, vue1019.PublicProps, Readonly<HoverCardArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -51,7 +51,7 @@ interface HoverCardContentProps extends HoverCardContentBaseProps,
|
|
|
51
51
|
*/
|
|
52
52
|
HTMLAttributes {}
|
|
53
53
|
declare const _default$2: typeof __VLS_export$5;
|
|
54
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
54
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1019.DefineComponent<HoverCardContentProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {}, string, vue1019.PublicProps, Readonly<HoverCardContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
55
55
|
default?: (props: {}) => any;
|
|
56
56
|
}>;
|
|
57
57
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -98,7 +98,7 @@ interface HoverCardContextProps extends SlotsType<{
|
|
|
98
98
|
default: UnwrapRef<UseHoverCardContext>;
|
|
99
99
|
}> {}
|
|
100
100
|
declare const _default$3: typeof __VLS_export$4;
|
|
101
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
101
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1019.DefineComponent<{}, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {}, string, vue1019.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, true, {}, any>, {
|
|
102
102
|
default(hoverCard: UnwrapRef<UseHoverCardContext>): unknown;
|
|
103
103
|
}>;
|
|
104
104
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -115,7 +115,7 @@ interface HoverCardPositionerProps extends HoverCardPositionerBaseProps,
|
|
|
115
115
|
*/
|
|
116
116
|
HTMLAttributes {}
|
|
117
117
|
declare const _default$4: typeof __VLS_export$3;
|
|
118
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
118
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1019.DefineComponent<HoverCardPositionerProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {}, string, vue1019.PublicProps, Readonly<HoverCardPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
119
119
|
default?: (props: {}) => any;
|
|
120
120
|
}>;
|
|
121
121
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -132,11 +132,11 @@ interface HoverCardRootProviderBaseProps extends RootProviderProps, RenderStrate
|
|
|
132
132
|
interface HoverCardRootProviderProps extends HoverCardRootProviderBaseProps {}
|
|
133
133
|
interface HoverCardRootProviderEmits extends RootEmits$1 {}
|
|
134
134
|
declare const _default$6: typeof __VLS_export$2;
|
|
135
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
135
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1019.DefineComponent<HoverCardRootProviderProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {
|
|
136
136
|
exitComplete: () => any;
|
|
137
|
-
}, string,
|
|
137
|
+
}, string, vue1019.PublicProps, Readonly<HoverCardRootProviderProps> & Readonly<{
|
|
138
138
|
onExitComplete?: (() => any) | undefined;
|
|
139
|
-
}>, {}, {}, {}, {}, string,
|
|
139
|
+
}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
140
140
|
default?: (props: {}) => any;
|
|
141
141
|
}>;
|
|
142
142
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -150,25 +150,25 @@ interface HoverCardRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
150
150
|
interface HoverCardRootProps extends HoverCardRootBaseProps {}
|
|
151
151
|
interface HoverCardRootEmits extends RootEmits {}
|
|
152
152
|
declare const _default$5: typeof __VLS_export$1;
|
|
153
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
153
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1019.DefineComponent<HoverCardRootProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {
|
|
154
154
|
exitComplete: () => any;
|
|
155
|
-
focusOutside: (event: _sprawlify_primitives_machines_menu17.FocusOutsideEvent) => any;
|
|
156
|
-
interactOutside: (event: _sprawlify_primitives_machines_menu17.InteractOutsideEvent) => any;
|
|
157
155
|
openChange: (details: hoverCard.OpenChangeDetails) => any;
|
|
158
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_menu17.PointerDownOutsideEvent) => any;
|
|
159
156
|
"update:open": (open: boolean) => any;
|
|
160
|
-
|
|
157
|
+
focusOutside: (event: _sprawlify_primitives_machines_menu11.FocusOutsideEvent) => any;
|
|
158
|
+
interactOutside: (event: _sprawlify_primitives_machines_menu11.InteractOutsideEvent) => any;
|
|
159
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_menu11.PointerDownOutsideEvent) => any;
|
|
160
|
+
}, string, vue1019.PublicProps, Readonly<HoverCardRootProps> & Readonly<{
|
|
161
161
|
onExitComplete?: (() => any) | undefined;
|
|
162
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_menu17.FocusOutsideEvent) => any) | undefined;
|
|
163
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_menu17.InteractOutsideEvent) => any) | undefined;
|
|
164
162
|
onOpenChange?: ((details: hoverCard.OpenChangeDetails) => any) | undefined;
|
|
165
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu17.PointerDownOutsideEvent) => any) | undefined;
|
|
166
163
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
164
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_menu11.FocusOutsideEvent) => any) | undefined;
|
|
165
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_menu11.InteractOutsideEvent) => any) | undefined;
|
|
166
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu11.PointerDownOutsideEvent) => any) | undefined;
|
|
167
167
|
}>, {
|
|
168
|
-
open: boolean;
|
|
169
168
|
disabled: boolean;
|
|
169
|
+
open: boolean;
|
|
170
170
|
defaultOpen: boolean;
|
|
171
|
-
}, {}, {}, {}, string,
|
|
171
|
+
}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
172
172
|
default?: (props: {}) => any;
|
|
173
173
|
}>;
|
|
174
174
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -185,7 +185,7 @@ interface HoverCardTriggerProps extends HoverCardTriggerBaseProps,
|
|
|
185
185
|
*/
|
|
186
186
|
ButtonHTMLAttributes {}
|
|
187
187
|
declare const _default$7: typeof __VLS_export;
|
|
188
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
188
|
+
declare const __VLS_export: __VLS_WithSlots<vue1019.DefineComponent<HoverCardTriggerProps, {}, {}, {}, {}, vue1019.ComponentOptionsMixin, vue1019.ComponentOptionsMixin, {}, string, vue1019.PublicProps, Readonly<HoverCardTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1019.ComponentProvideOptions, false, {}, any>, {
|
|
189
189
|
default?: (props: {}) => any;
|
|
190
190
|
}>;
|
|
191
191
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,9 +4,9 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.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-ChPEW0vT.js";
|
|
8
|
+
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BK6rPXK7.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
12
12
|
import { anatomy as hoverCardAnatomy } from "@sprawlify/primitives/machines/hover-card";
|
|
@@ -3,9 +3,9 @@ import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
|
3
3
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
4
|
import * as _sprawlify_primitives_types0 from "@sprawlify/primitives/types";
|
|
5
5
|
import { Rect } from "@sprawlify/primitives/types";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue1985 from "vue";
|
|
7
7
|
import { ComputedRef, HTMLAttributes, ImgHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _sprawlify_primitives_anatomy9 from "@sprawlify/primitives/anatomy";
|
|
9
9
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
10
10
|
import { CropChangeDetails, CropChangeDetails as ImageCropperCropChangeDetails, FlipChangeDetails, FlipChangeDetails as ImageCropperFlipChangeDetails, FlipState, FlipState as ImageCropperFlipState, GridProps, HandlePosition, HandlePosition as ImageCropperHandlePosition, HandleProps, RotationChangeDetails, RotationChangeDetails as ImageCropperRotationChangeDetails, ZoomChangeDetails, ZoomChangeDetails as ImageCropperZoomChangeDetails, connect, handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ interface ImageCropperContextProps extends SlotsType<{
|
|
|
17
17
|
default: UnwrapRef<UseImageCropperContext>;
|
|
18
18
|
}> {}
|
|
19
19
|
declare const _default: typeof __VLS_export$7;
|
|
20
|
-
declare const __VLS_export$7: __VLS_WithSlots$6<
|
|
20
|
+
declare const __VLS_export$7: __VLS_WithSlots$6<vue1985.DefineComponent<{}, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, true, {}, any>, {
|
|
21
21
|
default(imageCropper: UnwrapRef<UseImageCropperContext>): unknown;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface ImageCropperGridProps extends ImageCropperGridBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
HTMLAttributes {}
|
|
36
36
|
declare const _default$1: typeof __VLS_export$6;
|
|
37
|
-
declare const __VLS_export$6: __VLS_WithSlots$5<
|
|
37
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<vue1985.DefineComponent<ImageCropperGridProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<ImageCropperGridProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -51,7 +51,7 @@ interface ImageCropperHandleProps extends ImageCropperHandleBaseProps,
|
|
|
51
51
|
*/
|
|
52
52
|
HTMLAttributes {}
|
|
53
53
|
declare const _default$2: typeof __VLS_export$5;
|
|
54
|
-
declare const __VLS_export$5: __VLS_WithSlots$4<
|
|
54
|
+
declare const __VLS_export$5: __VLS_WithSlots$4<vue1985.DefineComponent<ImageCropperHandleProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<ImageCropperHandleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>, {
|
|
55
55
|
default?: (props: {}) => any;
|
|
56
56
|
}>;
|
|
57
57
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -68,7 +68,7 @@ interface ImageCropperImageProps extends ImageCropperImageBaseProps,
|
|
|
68
68
|
*/
|
|
69
69
|
ImgHTMLAttributes {}
|
|
70
70
|
declare const _default$3: typeof __VLS_export$4;
|
|
71
|
-
declare const __VLS_export$4:
|
|
71
|
+
declare const __VLS_export$4: vue1985.DefineComponent<ImageCropperImageProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<ImageCropperImageProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>;
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/image-cropper/image-cropper-types.d.ts
|
|
74
74
|
interface RootProps {
|
|
@@ -116,7 +116,7 @@ interface ImageCropperRootProps extends ImageCropperRootBaseProps,
|
|
|
116
116
|
HTMLAttributes {}
|
|
117
117
|
interface ImageCropperRootEmits extends RootEmits {}
|
|
118
118
|
declare const _default$4: typeof __VLS_export$3;
|
|
119
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
119
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1985.DefineComponent<ImageCropperRootProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {
|
|
120
120
|
zoomChange: (details: imageCropper.ZoomChangeDetails) => any;
|
|
121
121
|
"update:zoom": (zoom: number) => any;
|
|
122
122
|
rotationChange: (details: imageCropper.RotationChangeDetails) => any;
|
|
@@ -125,7 +125,7 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue97.DefineComponent<ImageCropp
|
|
|
125
125
|
"update:flip": (flip: imageCropper.FlipState) => any;
|
|
126
126
|
cropChange: (details: imageCropper.CropChangeDetails) => any;
|
|
127
127
|
"update:crop": (crop: _sprawlify_primitives_types0.Rect) => any;
|
|
128
|
-
}, string,
|
|
128
|
+
}, string, vue1985.PublicProps, Readonly<ImageCropperRootProps> & Readonly<{
|
|
129
129
|
onZoomChange?: ((details: imageCropper.ZoomChangeDetails) => any) | undefined;
|
|
130
130
|
"onUpdate:zoom"?: ((zoom: number) => any) | undefined;
|
|
131
131
|
onRotationChange?: ((details: imageCropper.RotationChangeDetails) => any) | undefined;
|
|
@@ -134,7 +134,7 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue97.DefineComponent<ImageCropp
|
|
|
134
134
|
"onUpdate:flip"?: ((flip: imageCropper.FlipState) => any) | undefined;
|
|
135
135
|
onCropChange?: ((details: imageCropper.CropChangeDetails) => any) | undefined;
|
|
136
136
|
"onUpdate:crop"?: ((crop: _sprawlify_primitives_types0.Rect) => any) | undefined;
|
|
137
|
-
}>, {}, {}, {}, {}, string,
|
|
137
|
+
}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>, {
|
|
138
138
|
default?: (props: {}) => any;
|
|
139
139
|
}>;
|
|
140
140
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -159,7 +159,7 @@ interface ImageCropperRootProviderProps extends ImageCropperRootProviderBaseProp
|
|
|
159
159
|
*/
|
|
160
160
|
HTMLAttributes {}
|
|
161
161
|
declare const _default$5: typeof __VLS_export$2;
|
|
162
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
162
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1985.DefineComponent<ImageCropperRootProviderProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<ImageCropperRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>, {
|
|
163
163
|
default?: (props: {}) => any;
|
|
164
164
|
}>;
|
|
165
165
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -176,7 +176,7 @@ interface ImageCropperSelectionProps extends ImageCropperSelectionBaseProps,
|
|
|
176
176
|
*/
|
|
177
177
|
HTMLAttributes {}
|
|
178
178
|
declare const _default$6: typeof __VLS_export$1;
|
|
179
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
179
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1985.DefineComponent<ImageCropperSelectionProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<ImageCropperSelectionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>, {
|
|
180
180
|
default?: (props: {}) => any;
|
|
181
181
|
}>;
|
|
182
182
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -193,7 +193,7 @@ interface ImageCropperViewportProps extends ImageCropperViewportBaseProps,
|
|
|
193
193
|
*/
|
|
194
194
|
HTMLAttributes {}
|
|
195
195
|
declare const _default$7: typeof __VLS_export;
|
|
196
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
196
|
+
declare const __VLS_export: __VLS_WithSlots<vue1985.DefineComponent<ImageCropperViewportProps, {}, {}, {}, {}, vue1985.ComponentOptionsMixin, vue1985.ComponentOptionsMixin, {}, string, vue1985.PublicProps, Readonly<ImageCropperViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1985.ComponentProvideOptions, false, {}, any>, {
|
|
197
197
|
default?: (props: {}) => any;
|
|
198
198
|
}>;
|
|
199
199
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -203,7 +203,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
203
203
|
};
|
|
204
204
|
//#endregion
|
|
205
205
|
//#region src/components/image-cropper/image-cropper-anatomy.d.ts
|
|
206
|
-
declare const imageCropperAnatomy:
|
|
206
|
+
declare const imageCropperAnatomy: _sprawlify_primitives_anatomy9.AnatomyInstance<"image" | "grid" | "root" | "viewport" | "selection" | "handle">;
|
|
207
207
|
declare namespace image_cropper_d_exports {
|
|
208
208
|
export { _default as Context, ImageCropperContextProps as ContextProps, CropChangeDetails, FlipChangeDetails, FlipState, _default$1 as Grid, ImageCropperGridBaseProps as GridBaseProps, ImageCropperGridProps as GridProps, _default$2 as Handle, ImageCropperHandleBaseProps as HandleBaseProps, HandlePosition, ImageCropperHandleProps as HandleProps, _default$3 as Image, ImageCropperImageBaseProps as ImageBaseProps, ImageCropperImageProps as ImageProps, _default$4 as Root, ImageCropperRootBaseProps as RootBaseProps, ImageCropperRootEmits as RootEmits, ImageCropperRootProps as RootProps, _default$5 as RootProvider, ImageCropperRootProviderBaseProps as RootProviderBaseProps, ImageCropperRootProviderProps as RootProviderProps, RotationChangeDetails, _default$6 as Selection, ImageCropperSelectionBaseProps as SelectionBaseProps, ImageCropperSelectionProps as SelectionProps, _default$7 as Viewport, ImageCropperViewportBaseProps as ViewportBaseProps, ImageCropperViewportProps as ViewportProps, ZoomChangeDetails, handles };
|
|
209
209
|
}
|
|
@@ -4,7 +4,7 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
10
10
|
import { anatomy, handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
@@ -2,8 +2,8 @@ import "../../factory-B5zr8_kk.js";
|
|
|
2
2
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
3
3
|
import "../../use-render-strategy-U5NxU252.js";
|
|
4
4
|
import "../../index-DhFoJHfp.js";
|
|
5
|
-
import { _ as TreeViewRootBaseProps, h as TreeViewTreeProps, it as UseTreeViewProps, w as TreeViewRootProviderProps } from "../../index-
|
|
6
|
-
import * as
|
|
5
|
+
import { _ as TreeViewRootBaseProps, h as TreeViewTreeProps, it as UseTreeViewProps, w as TreeViewRootProviderProps } from "../../index-CmCVWB7e.js";
|
|
6
|
+
import * as vue724 from "vue";
|
|
7
7
|
import { ComputedRef, HTMLAttributes, MaybeRef } from "vue";
|
|
8
8
|
import { JsonNode, JsonNodeHastElement, JsonNodePreviewOptions } from "@sprawlify/primitives/json-tree-utils";
|
|
9
9
|
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
@@ -24,15 +24,15 @@ interface JsonTreeViewRootProps extends JsonTreeViewRootBaseProps,
|
|
|
24
24
|
*/
|
|
25
25
|
HTMLAttributes {}
|
|
26
26
|
declare const _default: typeof __VLS_export$2;
|
|
27
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
27
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue724.DefineComponent<JsonTreeViewRootProps, {}, {}, {}, {}, vue724.ComponentOptionsMixin, vue724.ComponentOptionsMixin, {}, string, vue724.PublicProps, Readonly<JsonTreeViewRootProps> & Readonly<{}>, {
|
|
28
|
+
asChild: boolean;
|
|
28
29
|
lazyMount: boolean;
|
|
29
30
|
unmountOnExit: boolean;
|
|
30
|
-
asChild: boolean;
|
|
31
31
|
showNonenumerable: boolean;
|
|
32
32
|
expandOnClick: boolean;
|
|
33
33
|
typeahead: boolean;
|
|
34
34
|
quotesOnKeys: boolean;
|
|
35
|
-
}, {}, {}, {}, string,
|
|
35
|
+
}, {}, {}, {}, string, vue724.ComponentProvideOptions, false, {}, any>, {
|
|
36
36
|
default?: (props: {}) => any;
|
|
37
37
|
}>;
|
|
38
38
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -44,7 +44,7 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
44
44
|
//#region src/components/json-tree-view/json-tree-view-root-provider.vue.d.ts
|
|
45
45
|
interface JsonTreeViewRootProviderProps extends TreeViewRootProviderProps<JsonNode> {}
|
|
46
46
|
declare const _default$1: typeof __VLS_export$1;
|
|
47
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
47
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue724.DefineComponent<JsonTreeViewRootProviderProps, {}, {}, {}, {}, vue724.ComponentOptionsMixin, vue724.ComponentOptionsMixin, {}, string, vue724.PublicProps, Readonly<JsonTreeViewRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue724.ComponentProvideOptions, false, {}, any>, {
|
|
48
48
|
default?: (props: {}) => any;
|
|
49
49
|
}>;
|
|
50
50
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -62,7 +62,7 @@ interface JsonTreeViewNodeBaseProps {
|
|
|
62
62
|
interface JsonTreeViewTreeBaseProps extends JsonTreeViewNodeBaseProps {}
|
|
63
63
|
interface JsonTreeViewTreeProps extends TreeViewTreeProps, JsonTreeViewTreeBaseProps {}
|
|
64
64
|
declare const _default$2: typeof __VLS_export;
|
|
65
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
65
|
+
declare const __VLS_export: __VLS_WithSlots<vue724.DefineComponent<JsonTreeViewTreeProps, {}, {}, {}, {}, vue724.ComponentOptionsMixin, vue724.ComponentOptionsMixin, {}, string, vue724.PublicProps, Readonly<JsonTreeViewTreeProps> & Readonly<{}>, {}, {}, {}, {}, string, vue724.ComponentProvideOptions, false, {}, any>, {
|
|
66
66
|
arrow(): unknown;
|
|
67
67
|
indentGuide(): unknown;
|
|
68
68
|
renderValue(props: {
|
|
@@ -4,11 +4,11 @@ import "../../providers-DNBWT-O_.js";
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import "../../factory-Co08Aw8u.js";
|
|
7
|
-
import "../../
|
|
8
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
9
|
-
import "../../
|
|
10
|
-
import { a as createTreeCollection } from "../../collection-
|
|
11
|
-
import { C as tree_view_branch_control_default, S as tree_view_branch_indent_guide_default, T as useTreeViewContext, _ as tree_view_branch_default, a as useTreeView, b as tree_view_branch_text_default, m as tree_view_item_text_default, o as tree_view_root_provider_default, p as tree_view_item_default, r as tree_view_tree_default, s as tree_view_node_provider_default, t as tree_view_exports, w as tree_view_branch_content_default, x as tree_view_branch_indicator_default } from "../../tree-view-
|
|
7
|
+
import "../../use-render-strategy-DMa_QmB6.js";
|
|
8
|
+
import { t as createSplitProps } from "../../create-split-props-BDJ_VWs3.js";
|
|
9
|
+
import "../../collapsible-SXAS3iFc.js";
|
|
10
|
+
import { a as createTreeCollection } from "../../collection-C_ZHBDQD.js";
|
|
11
|
+
import { C as tree_view_branch_control_default, S as tree_view_branch_indent_guide_default, T as useTreeViewContext, _ as tree_view_branch_default, a as useTreeView, b as tree_view_branch_text_default, m as tree_view_item_text_default, o as tree_view_root_provider_default, p as tree_view_item_default, r as tree_view_tree_default, s as tree_view_node_provider_default, t as tree_view_exports, w as tree_view_branch_content_default, x as tree_view_branch_indicator_default } from "../../tree-view-N6ShNmpe.js";
|
|
12
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeDefaults, mergeProps, openBlock, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toValue, unref, withCtx } from "vue";
|
|
13
13
|
import { getAccessibleDescription, getRootNode, jsonNodeToElement, keyPathToKey, nodeToString, nodeToValue } from "@sprawlify/primitives/json-tree-utils";
|
|
14
14
|
|
|
@@ -2,9 +2,9 @@ import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
|
2
2
|
import { a as Optional, r as EmitFn$1, t as Assign } from "../../types-DIEO6uP3.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
4
|
import { _ as CollectionItem, b as createListCollection, y as ListCollection } from "../../index-DhFoJHfp.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue2020 from "vue";
|
|
6
6
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _sprawlify_primitives_anatomy10 from "@sprawlify/primitives/anatomy";
|
|
8
8
|
import * as listbox from "@sprawlify/primitives/machines/listbox";
|
|
9
9
|
import { HighlightChangeDetails, HighlightChangeDetails as ListboxHighlightChangeDetails, ItemGroupProps, ItemProps, ItemState, ScrollToIndexDetails, ScrollToIndexDetails as ListboxScrollToIndexDetails, SelectionDetails, SelectionDetails as ListboxSelectionDetails, SelectionMode, SelectionMode as ListboxSelectionMode, ValueChangeDetails, ValueChangeDetails as ListboxValueChangeDetails } from "@sprawlify/primitives/machines/listbox";
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ interface ListboxContentProps extends ListboxContentBaseProps,
|
|
|
16
16
|
*/
|
|
17
17
|
HTMLAttributes {}
|
|
18
18
|
declare const _default: typeof __VLS_export$13;
|
|
19
|
-
declare const __VLS_export$13: __VLS_WithSlots$10<
|
|
19
|
+
declare const __VLS_export$13: __VLS_WithSlots$10<vue2020.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
20
20
|
default?: (props: {}) => any;
|
|
21
21
|
}>;
|
|
22
22
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ interface ListboxEmptyProps extends ListboxEmptyBaseProps,
|
|
|
33
33
|
*/
|
|
34
34
|
HTMLAttributes {}
|
|
35
35
|
declare const _default$2: typeof __VLS_export$12;
|
|
36
|
-
declare const __VLS_export$12: __VLS_WithSlots$9<
|
|
36
|
+
declare const __VLS_export$12: __VLS_WithSlots$9<vue2020.DefineComponent<ListboxEmptyProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxEmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
37
37
|
default?: (props: {}) => any;
|
|
38
38
|
}>;
|
|
39
39
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -50,7 +50,7 @@ interface ListboxInputProps extends ListboxInputBaseProps,
|
|
|
50
50
|
*/
|
|
51
51
|
InputHTMLAttributes {}
|
|
52
52
|
declare const _default$3: typeof __VLS_export$11;
|
|
53
|
-
declare const __VLS_export$11: __VLS_WithSlots$8<
|
|
53
|
+
declare const __VLS_export$11: __VLS_WithSlots$8<vue2020.DefineComponent<ListboxInputProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
54
54
|
default?: (props: {}) => any;
|
|
55
55
|
}>;
|
|
56
56
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -67,7 +67,7 @@ interface ListboxItemContextProps extends SlotsType<{
|
|
|
67
67
|
default: UnwrapRef<UseListboxItemContext>;
|
|
68
68
|
}> {}
|
|
69
69
|
declare const _default$5: typeof __VLS_export$10;
|
|
70
|
-
declare const __VLS_export$10: __VLS_WithSlots$7<
|
|
70
|
+
declare const __VLS_export$10: __VLS_WithSlots$7<vue2020.DefineComponent<{}, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, true, {}, any>, {
|
|
71
71
|
default(context: UnwrapRef<UseListboxItemContext>): unknown;
|
|
72
72
|
}>;
|
|
73
73
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -84,7 +84,7 @@ interface ListboxItemGroupLabelProps extends ListboxItemGroupLabelBaseProps,
|
|
|
84
84
|
*/
|
|
85
85
|
HTMLAttributes {}
|
|
86
86
|
declare const _default$7: typeof __VLS_export$9;
|
|
87
|
-
declare const __VLS_export$9: __VLS_WithSlots$6<
|
|
87
|
+
declare const __VLS_export$9: __VLS_WithSlots$6<vue2020.DefineComponent<ListboxItemGroupLabelProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxItemGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
88
88
|
default?: (props: {}) => any;
|
|
89
89
|
}>;
|
|
90
90
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -101,7 +101,7 @@ interface ListboxItemGroupProps extends ListboxItemGroupBaseProps,
|
|
|
101
101
|
*/
|
|
102
102
|
HTMLAttributes {}
|
|
103
103
|
declare const _default$6: typeof __VLS_export$8;
|
|
104
|
-
declare const __VLS_export$8: __VLS_WithSlots$5<
|
|
104
|
+
declare const __VLS_export$8: __VLS_WithSlots$5<vue2020.DefineComponent<ListboxItemGroupProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxItemGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
105
105
|
default?: (props: {}) => any;
|
|
106
106
|
}>;
|
|
107
107
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -118,7 +118,7 @@ interface ListboxItemIndicatorProps extends ListboxItemIndicatorBaseProps,
|
|
|
118
118
|
*/
|
|
119
119
|
HTMLAttributes {}
|
|
120
120
|
declare const _default$8: typeof __VLS_export$7;
|
|
121
|
-
declare const __VLS_export$7: __VLS_WithSlots$4<
|
|
121
|
+
declare const __VLS_export$7: __VLS_WithSlots$4<vue2020.DefineComponent<ListboxItemIndicatorProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxItemIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
122
122
|
default?: (props: {}) => any;
|
|
123
123
|
}>;
|
|
124
124
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -135,7 +135,7 @@ interface ListboxItemTextProps extends ListboxItemTextBaseProps,
|
|
|
135
135
|
*/
|
|
136
136
|
HTMLAttributes {}
|
|
137
137
|
declare const _default$9: typeof __VLS_export$6;
|
|
138
|
-
declare const __VLS_export$6: __VLS_WithSlots$3<
|
|
138
|
+
declare const __VLS_export$6: __VLS_WithSlots$3<vue2020.DefineComponent<ListboxItemTextProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
139
139
|
default?: (props: {}) => any;
|
|
140
140
|
}>;
|
|
141
141
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -152,7 +152,7 @@ interface ListboxItemProps extends ListboxItemBaseProps,
|
|
|
152
152
|
*/
|
|
153
153
|
HTMLAttributes {}
|
|
154
154
|
declare const _default$4: typeof __VLS_export$5;
|
|
155
|
-
declare const __VLS_export$5: __VLS_WithSlots$2<
|
|
155
|
+
declare const __VLS_export$5: __VLS_WithSlots$2<vue2020.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
156
156
|
default?: (props: {}) => any;
|
|
157
157
|
}>;
|
|
158
158
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -169,7 +169,7 @@ interface ListboxLabelProps extends ListboxLabelBaseProps,
|
|
|
169
169
|
*/
|
|
170
170
|
LabelHTMLAttributes {}
|
|
171
171
|
declare const _default$10: typeof __VLS_export$4;
|
|
172
|
-
declare const __VLS_export$4: __VLS_WithSlots$1<
|
|
172
|
+
declare const __VLS_export$4: __VLS_WithSlots$1<vue2020.DefineComponent<ListboxLabelProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, {
|
|
173
173
|
default?: (props: {}) => any;
|
|
174
174
|
}>;
|
|
175
175
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -191,7 +191,7 @@ HTMLAttributes {}
|
|
|
191
191
|
type ListboxRootProviderComponent<P = {}> = <T extends CollectionItem>(props: Assign<ListboxRootProviderProps<T>, P>) => any;
|
|
192
192
|
declare const _default$12: typeof __VLS_export$3;
|
|
193
193
|
declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
194
|
-
props:
|
|
194
|
+
props: vue2020.PublicProps & __VLS_PrettifyLocal$2<ListboxRootProviderProps<T>> & (typeof globalThis extends {
|
|
195
195
|
__VLS_PROPS_FALLBACK: infer P;
|
|
196
196
|
} ? P : {});
|
|
197
197
|
expose: (exposed: {}) => void;
|
|
@@ -200,7 +200,7 @@ declare const __VLS_export$3: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
200
200
|
default?: (props: {}) => any;
|
|
201
201
|
};
|
|
202
202
|
emit: {};
|
|
203
|
-
}>) =>
|
|
203
|
+
}>) => vue2020.VNode & {
|
|
204
204
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
205
205
|
};
|
|
206
206
|
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -249,10 +249,10 @@ type ListboxRootComponentProps<T extends CollectionItem = CollectionItem, P = {}
|
|
|
249
249
|
type ListboxRootComponent<P = {}> = <T extends CollectionItem>(props: ListboxRootComponentProps<T, P>) => any;
|
|
250
250
|
declare const _default$11: typeof __VLS_export$2;
|
|
251
251
|
declare const __VLS_export$2: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
252
|
-
props:
|
|
252
|
+
props: vue2020.PublicProps & __VLS_PrettifyLocal$1<ListboxRootBaseProps<T> & {
|
|
253
253
|
onSelect?: ((details: listbox.SelectionDetails) => any) | undefined;
|
|
254
|
-
onValueChange?: ((details: listbox.ValueChangeDetails<T>) => any) | undefined;
|
|
255
254
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
255
|
+
onValueChange?: ((details: listbox.ValueChangeDetails<T>) => any) | undefined;
|
|
256
256
|
onHighlightChange?: ((details: listbox.HighlightChangeDetails<T>) => any) | undefined;
|
|
257
257
|
}> & (typeof globalThis extends {
|
|
258
258
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -262,8 +262,8 @@ declare const __VLS_export$2: <T extends CollectionItem>(__VLS_props: NonNullabl
|
|
|
262
262
|
slots: {
|
|
263
263
|
default?: (props: {}) => any;
|
|
264
264
|
};
|
|
265
|
-
emit: ((evt: "select", details: listbox.SelectionDetails) => void) & ((evt: "
|
|
266
|
-
}>) =>
|
|
265
|
+
emit: ((evt: "select", details: listbox.SelectionDetails) => void) & ((evt: "update:modelValue", value: string[]) => void) & ((evt: "valueChange", details: listbox.ValueChangeDetails<T>) => void) & ((evt: "highlightChange", details: listbox.HighlightChangeDetails<T>) => void);
|
|
266
|
+
}>) => vue2020.VNode & {
|
|
267
267
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
268
268
|
};
|
|
269
269
|
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
@@ -278,7 +278,7 @@ HTMLAttributes {
|
|
|
278
278
|
placeholder?: string;
|
|
279
279
|
}
|
|
280
280
|
declare const _default$13: typeof __VLS_export$1;
|
|
281
|
-
declare const __VLS_export$1: __VLS_WithSlots<
|
|
281
|
+
declare const __VLS_export$1: __VLS_WithSlots<vue2020.DefineComponent<ListboxValueTextProps, {}, {}, {}, {}, vue2020.ComponentOptionsMixin, vue2020.ComponentOptionsMixin, {}, string, vue2020.PublicProps, Readonly<ListboxValueTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2020.ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
282
282
|
type __VLS_WithSlots<T, S> = T & {
|
|
283
283
|
new (): {
|
|
284
284
|
$slots: S;
|
|
@@ -305,7 +305,7 @@ interface ListboxContextProps<T extends CollectionItem> extends SlotsType<{
|
|
|
305
305
|
}> {}
|
|
306
306
|
declare const _default$1: typeof __VLS_export;
|
|
307
307
|
declare const __VLS_export: <T extends CollectionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
308
|
-
props:
|
|
308
|
+
props: vue2020.PublicProps & (typeof globalThis extends {
|
|
309
309
|
__VLS_PROPS_FALLBACK: infer P;
|
|
310
310
|
} ? P : {});
|
|
311
311
|
expose: (exposed: {}) => void;
|
|
@@ -314,12 +314,12 @@ declare const __VLS_export: <T extends CollectionItem>(__VLS_props: NonNullable<
|
|
|
314
314
|
default(listbox: UnwrapRef<UseListboxContext<T>>): unknown;
|
|
315
315
|
};
|
|
316
316
|
emit: {};
|
|
317
|
-
}>) =>
|
|
317
|
+
}>) => vue2020.VNode & {
|
|
318
318
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
319
319
|
};
|
|
320
320
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
321
321
|
//#endregion
|
|
322
322
|
//#region src/components/listbox/listbox-anatomy.d.ts
|
|
323
|
-
declare const listboxAnatomy:
|
|
323
|
+
declare const listboxAnatomy: _sprawlify_primitives_anatomy10.AnatomyInstance<"input" | "label" | "root" | "item" | "itemGroup" | "content" | "valueText" | "itemText" | "itemIndicator" | "itemGroupLabel" | "empty">;
|
|
324
324
|
//#endregion
|
|
325
325
|
export { type CollectionItem, type ListCollection, listbox_d_exports as Listbox, _default as ListboxContent, type ListboxContentBaseProps, type ListboxContentProps, _default$1 as ListboxContext, type ListboxContextProps, _default$2 as ListboxEmpty, type ListboxEmptyBaseProps, type ListboxEmptyProps, type ListboxHighlightChangeDetails, _default$3 as ListboxInput, type ListboxInputBaseProps, type ListboxInputProps, _default$4 as ListboxItem, type ListboxItemBaseProps, _default$5 as ListboxItemContext, type ListboxItemContextProps, _default$6 as ListboxItemGroup, type ListboxItemGroupBaseProps, _default$7 as ListboxItemGroupLabel, type ListboxItemGroupLabelBaseProps, type ListboxItemGroupLabelProps, type ListboxItemGroupProps, _default$8 as ListboxItemIndicator, type ListboxItemIndicatorBaseProps, type ListboxItemIndicatorProps, type ListboxItemProps, _default$9 as ListboxItemText, type ListboxItemTextBaseProps, type ListboxItemTextProps, _default$10 as ListboxLabel, type ListboxLabelBaseProps, type ListboxLabelProps, _default$11 as ListboxRoot, type ListboxRootBaseProps, type ListboxRootComponent, type ListboxRootComponentProps, type RootEmits as ListboxRootEmits, type ListboxRootProps, _default$12 as ListboxRootProvider, type ListboxRootProviderBaseProps, type ListboxRootProviderComponent, type ListboxRootProviderProps, type ListboxScrollToIndexDetails, type ListboxSelectionDetails, type ListboxSelectionMode, type ListboxValueChangeDetails, _default$13 as ListboxValueText, type ListboxValueTextBaseProps, type ListboxValueTextProps, type UseListboxContext, type UseListboxItemContext, type UseListboxProps, type UseListboxReturn, createListCollection, listboxAnatomy, useListbox, useListboxContext, useListboxItemContext };
|
|
@@ -4,8 +4,8 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { o as createListCollection } from "../../collection-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
8
|
+
import { o as createListCollection } from "../../collection-C_ZHBDQD.js";
|
|
9
9
|
import { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, toValue, unref, useId, useSlots, withCtx } from "vue";
|
|
10
10
|
import * as listbox from "@sprawlify/primitives/machines/listbox";
|
|
11
11
|
import { anatomy } from "@sprawlify/primitives/machines/listbox";
|