@sprawlify/vue 0.0.106 → 0.0.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-dialog-anatomy-CxUYPzIq.d.ts → alert-dialog-anatomy-DSacTNC1.d.ts} +1 -1
- package/dist/{carousel-anatomy-oV_FEGcZ.d.ts → carousel-anatomy-DO7fGwTi.d.ts} +1 -1
- package/dist/{collapsible-wm-f_tLg.js → collapsible-CU8jdmsD.js} +4 -4
- package/dist/{collection-cCQbkbJc.js → collection-CMkl1XB0.js} +2 -2
- package/dist/{color-picker-anatomy-DYoNbWSo.d.ts → color-picker-anatomy-09BXGqLT.d.ts} +1 -1
- package/dist/{combobox-anatomy-DqU2HEkd.d.ts → combobox-anatomy-BqTvPmc0.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +8 -8
- package/dist/components/accordion/index.js +7 -7
- package/dist/components/alert-dialog/index.d.ts +14 -15
- package/dist/components/alert-dialog/index.js +6 -6
- package/dist/components/anatomy.d.ts +8 -8
- package/dist/components/angle-slider/index.d.ts +9 -9
- package/dist/components/angle-slider/index.js +4 -4
- package/dist/components/aspect-ratio/index.d.ts +2 -2
- package/dist/components/aspect-ratio/index.js +4 -4
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +4 -4
- package/dist/components/bottom-sheet/index.d.ts +7 -7
- package/dist/components/bottom-sheet/index.js +7 -7
- package/dist/components/carousel/index.d.ts +11 -11
- package/dist/components/carousel/index.js +4 -4
- package/dist/components/checkbox/index.d.ts +7 -7
- package/dist/components/checkbox/index.js +7 -7
- package/dist/components/clipboard/index.d.ts +6 -6
- package/dist/components/clipboard/index.js +4 -4
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/collapsible/index.js +4 -4
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/collection/index.js +2 -2
- package/dist/components/color-picker/index.d.ts +18 -18
- package/dist/components/color-picker/index.js +7 -7
- package/dist/components/combobox/index.d.ts +20 -20
- package/dist/components/combobox/index.js +8 -8
- package/dist/components/date-picker/index.d.ts +18 -15
- package/dist/components/date-picker/index.js +16 -7
- package/dist/components/dialog/index.d.ts +14 -15
- package/dist/components/dialog/index.js +6 -6
- package/dist/components/download-trigger/index.d.ts +1 -1
- package/dist/components/download-trigger/index.js +3 -3
- package/dist/components/dropdown-menu/index.d.ts +23 -23
- package/dist/components/dropdown-menu/index.js +6 -6
- package/dist/components/editable/index.d.ts +16 -16
- package/dist/components/editable/index.js +5 -5
- package/dist/components/field/index.d.ts +31 -31
- package/dist/components/field/index.js +4 -4
- package/dist/components/fieldset/index.d.ts +5 -5
- package/dist/components/fieldset/index.js +4 -4
- package/dist/components/file-upload/index.d.ts +5 -5
- package/dist/components/file-upload/index.js +5 -5
- package/dist/components/floating-panel/index.d.ts +10 -10
- package/dist/components/floating-panel/index.js +5 -5
- package/dist/components/focus-trap/index.d.ts +2 -2
- package/dist/components/focus-trap/index.js +3 -3
- package/dist/components/format/index.d.ts +7 -7
- package/dist/components/format/index.js +1 -1
- package/dist/components/frame/index.js +1 -1
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +10 -10
- package/dist/components/hover-card/index.js +6 -6
- package/dist/components/image-cropper/index.d.ts +7 -7
- package/dist/components/image-cropper/index.js +4 -4
- package/dist/components/json-tree-view/index.d.ts +3 -3
- package/dist/components/json-tree-view/index.js +8 -8
- package/dist/components/listbox/index.d.ts +7 -7
- package/dist/components/listbox/index.js +5 -5
- package/dist/components/marquee/index.d.ts +3 -3
- package/dist/components/marquee/index.js +4 -4
- package/dist/components/navigation-menu/index.d.ts +8 -8
- package/dist/components/navigation-menu/index.js +6 -6
- package/dist/components/number-input/index.d.ts +11 -11
- package/dist/components/number-input/index.js +5 -5
- package/dist/components/pagination/index.d.ts +8 -8
- package/dist/components/pagination/index.js +4 -4
- package/dist/components/password-input/index.d.ts +6 -6
- package/dist/components/password-input/index.js +5 -5
- package/dist/components/pin-input/index.d.ts +10 -10
- package/dist/components/pin-input/index.js +5 -5
- package/dist/components/popover/index.d.ts +12 -12
- package/dist/components/popover/index.js +6 -6
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +3 -3
- package/dist/components/progress/index.d.ts +5 -5
- package/dist/components/progress/index.js +4 -4
- package/dist/components/qr-code/index.d.ts +4 -4
- package/dist/components/qr-code/index.js +4 -4
- package/dist/components/radio-group/index.d.ts +6 -6
- package/dist/components/radio-group/index.js +6 -6
- package/dist/components/rating-group/index.d.ts +8 -8
- package/dist/components/rating-group/index.js +5 -5
- package/dist/components/scroll-area/index.d.ts +3 -3
- package/dist/components/scroll-area/index.js +4 -4
- package/dist/components/segment-group/index.d.ts +6 -6
- package/dist/components/segment-group/index.js +4 -4
- package/dist/components/select/index.d.ts +14 -14
- package/dist/components/select/index.js +8 -8
- package/dist/components/separator/index.d.ts +2 -2
- package/dist/components/separator/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +4 -4
- package/dist/components/signature-pad/index.js +5 -5
- package/dist/components/slider/index.d.ts +16 -16
- package/dist/components/slider/index.js +4 -4
- package/dist/components/splitter/index.d.ts +8 -8
- package/dist/components/splitter/index.js +4 -4
- package/dist/components/steps/index.d.ts +4 -4
- package/dist/components/steps/index.js +4 -4
- package/dist/components/switch/index.d.ts +5 -5
- package/dist/components/switch/index.js +5 -5
- package/dist/components/tabs/index.d.ts +10 -10
- package/dist/components/tabs/index.js +6 -6
- package/dist/components/tags-input/index.d.ts +18 -18
- package/dist/components/tags-input/index.js +5 -5
- package/dist/components/timer/index.d.ts +2 -2
- package/dist/components/timer/index.js +4 -4
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/index.js +3 -3
- package/dist/components/toggle/index.d.ts +3 -3
- package/dist/components/toggle/index.js +3 -3
- package/dist/components/toggle-group/index.d.ts +6 -6
- package/dist/components/toggle-group/index.js +4 -4
- package/dist/components/tooltip/index.d.ts +4 -4
- package/dist/components/tooltip/index.js +6 -6
- package/dist/components/tour/index.d.ts +12 -12
- package/dist/components/tour/index.js +7 -7
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/index.js +7 -7
- package/dist/{core-BW88ya4i.js → core-DFdl8jS7.js} +1 -1
- package/dist/{date-picker-anatomy-nNssWoU2.d.ts → date-picker-anatomy-BpW_VPuT.d.ts} +1 -1
- package/dist/{factory-DNG1el63.js → factory-Bd0Y5x-7.js} +1 -1
- package/dist/{factory-bfEpUaB3.d.ts → factory-Go0oxO3B.d.ts} +1 -1
- package/dist/{field-C7VkjIIx.js → field-D3G8FJDB.js} +2 -2
- package/dist/{fieldset-OP0qxlKh.js → fieldset-DKOqYr6u.js} +2 -2
- package/dist/{index-CODK2VY0.d.ts → index-C7sz_n_w.d.ts} +8 -8
- package/dist/{index-aJnwDHff.d.ts → index-CYO47ggW.d.ts} +27 -1
- package/dist/{index-DuD8fQUF.d.ts → index-DK-1mwjg.d.ts} +2 -2
- package/dist/{index-B4l20i3i.d.ts → index-DUPPuJYr.d.ts} +4 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{listbox-anatomy-CP_1jra6.d.ts → listbox-anatomy-ov6dp5kT.d.ts} +1 -1
- package/dist/{presence-L1LxnRj5.js → presence-B6FmKP5l.js} +2 -2
- package/dist/providers-CicBbUXG.js +204 -0
- package/dist/{segment-group-anatomy-8sdDQVPl.d.ts → segment-group-anatomy-Cu3IiheY.d.ts} +1 -1
- package/dist/{tour-anatomy-CTaLz0Eb.d.ts → tour-anatomy-o5VZ2vDT.d.ts} +1 -1
- package/dist/{tree-view-D_hrmWRQ.js → tree-view-BMIatAXN.js} +7 -7
- package/package.json +9 -8
- package/dist/providers-Cm-xBdVY.js +0 -92
- /package/dist/{boolean-D3BnFnrK.js → boolean-ClZYREcr.js} +0 -0
- /package/dist/{clean-props-qyW2RH6G.js → clean-props-C5aydRx_.js} +0 -0
- /package/dist/{create-split-props-Cz6On1aq.js → create-split-props-D32I38aE.js} +0 -0
- /package/dist/{use-render-strategy-Cq147Bb0.js → use-render-strategy-QgtvU85q.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
4
|
import { t as fileUploadAnatomy } from "../../file-upload-anatomy-Y99NDpIO.js";
|
|
@@ -214,7 +214,7 @@ interface RootProps {
|
|
|
214
214
|
accept?: Record<string, string[]> | fileUpload.FileMimeType | fileUpload.FileMimeType[];
|
|
215
215
|
defaultAcceptedFiles?: File[];
|
|
216
216
|
allowDrop?: boolean;
|
|
217
|
-
capture?:
|
|
217
|
+
capture?: "user" | "environment";
|
|
218
218
|
directory?: boolean;
|
|
219
219
|
disabled?: boolean;
|
|
220
220
|
id?: string;
|
|
@@ -243,7 +243,7 @@ interface RootProps {
|
|
|
243
243
|
transformFiles?: (files: File[]) => Promise<File[]>;
|
|
244
244
|
}
|
|
245
245
|
type RootEmits = {
|
|
246
|
-
|
|
246
|
+
"update:acceptedFiles": [files: File[]];
|
|
247
247
|
fileAccept: [details: fileUpload.FileAcceptDetails];
|
|
248
248
|
fileChange: [details: fileUpload.FileChangeDetails];
|
|
249
249
|
fileReject: [details: fileUpload.FileRejectDetails];
|
|
@@ -271,8 +271,8 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<FileUploadRo
|
|
|
271
271
|
}>, {
|
|
272
272
|
disabled: boolean;
|
|
273
273
|
required: boolean;
|
|
274
|
-
invalid: boolean;
|
|
275
274
|
readOnly: boolean;
|
|
275
|
+
invalid: boolean;
|
|
276
276
|
allowDrop: boolean;
|
|
277
277
|
directory: boolean;
|
|
278
278
|
preventDocumentDrop: boolean;
|
|
@@ -306,7 +306,7 @@ declare namespace file_upload_d_exports {
|
|
|
306
306
|
}
|
|
307
307
|
//#endregion
|
|
308
308
|
//#region src/components/file-upload/use-file-upload.d.ts
|
|
309
|
-
interface UseFileUploadProps extends Optional<Omit<fileUpload.Props,
|
|
309
|
+
interface UseFileUploadProps extends Optional<Omit<fileUpload.Props, "dir" | "getRootNode">, "id"> {}
|
|
310
310
|
interface UseFileUploadReturn extends ComputedRef<fileUpload.Api<PropTypes>> {}
|
|
311
311
|
declare const useFileUpload: (props?: MaybeRef<UseFileUploadProps>, emit?: EmitFn$1<FileUploadRootEmits>) => UseFileUploadReturn;
|
|
312
312
|
//#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 fileUploadAnatomy } from "../../file-upload-anatomy-vzjeLbps.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 { pick } from "@sprawlify/primitives/utils";
|
|
11
11
|
import { computed, createBlock, createCommentVNode, createTextVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, ref, renderSlot, toDisplayString, toValue, unref, useId, useSlots, watchEffect, withCtx } from "vue";
|
|
12
12
|
import * as fileUpload from "@sprawlify/primitives/machines/file-upload";
|
|
@@ -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 } from "../../types-CcpL2F4P.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
@@ -68,7 +68,7 @@ interface RootProps {
|
|
|
68
68
|
defaultOpen?: boolean;
|
|
69
69
|
defaultPosition?: Point;
|
|
70
70
|
defaultSize?: Size;
|
|
71
|
-
dir?:
|
|
71
|
+
dir?: "ltr" | "rtl";
|
|
72
72
|
disabled?: boolean;
|
|
73
73
|
draggable?: boolean;
|
|
74
74
|
getAnchorPosition?: (details: floatingPanel.AnchorPositionDetails) => Point;
|
|
@@ -90,24 +90,24 @@ interface RootProps {
|
|
|
90
90
|
position?: Point;
|
|
91
91
|
resizable?: boolean;
|
|
92
92
|
size?: Size;
|
|
93
|
-
strategy?:
|
|
93
|
+
strategy?: "absolute" | "fixed";
|
|
94
94
|
translations?: floatingPanel.IntlTranslations;
|
|
95
95
|
}
|
|
96
96
|
type RootEmits = {
|
|
97
97
|
exitComplete: [];
|
|
98
98
|
openChange: [details: floatingPanel.OpenChangeDetails];
|
|
99
|
-
|
|
99
|
+
"update:open": [open: boolean];
|
|
100
100
|
positionChange: [details: floatingPanel.PositionChangeDetails];
|
|
101
|
-
|
|
101
|
+
"update:position": [details: floatingPanel.PositionChangeDetails["position"]];
|
|
102
102
|
positionChangeEnd: [details: floatingPanel.PositionChangeDetails];
|
|
103
103
|
sizeChange: [details: floatingPanel.SizeChangeDetails];
|
|
104
|
-
|
|
104
|
+
"update:size": [details: floatingPanel.SizeChangeDetails["size"]];
|
|
105
105
|
sizeChangeEnd: [details: floatingPanel.SizeChangeDetails];
|
|
106
106
|
stageChange: [details: floatingPanel.StageChangeDetails];
|
|
107
107
|
};
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/floating-panel/use-floating-panel.d.ts
|
|
110
|
-
interface UseFloatingPanelProps extends Optional<Omit<floatingPanel.Props,
|
|
110
|
+
interface UseFloatingPanelProps extends Optional<Omit<floatingPanel.Props, "getRootNode">, "id"> {}
|
|
111
111
|
interface UseFloatingPanelReturn extends ComputedRef<floatingPanel.Api<PropTypes>> {}
|
|
112
112
|
declare const useFloatingPanel: (props?: MaybeRef<UseFloatingPanelProps>, emit?: EmitFn<RootEmits>) => UseFloatingPanelReturn;
|
|
113
113
|
//#endregion
|
|
@@ -219,7 +219,6 @@ interface FloatingPanelRootEmits extends RootEmits {}
|
|
|
219
219
|
interface FloatingPanelRootProps extends FloatingPanelRootBaseProps {}
|
|
220
220
|
declare const _default$9: typeof __VLS_export$4;
|
|
221
221
|
declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<FloatingPanelRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
222
|
-
"update:size": (details: floatingPanel.Size) => any;
|
|
223
222
|
exitComplete: () => any;
|
|
224
223
|
openChange: (details: floatingPanel.OpenChangeDetails) => any;
|
|
225
224
|
"update:open": (open: boolean) => any;
|
|
@@ -227,10 +226,10 @@ declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<FloatingPane
|
|
|
227
226
|
"update:position": (details: floatingPanel.Point) => any;
|
|
228
227
|
positionChangeEnd: (details: floatingPanel.PositionChangeDetails) => any;
|
|
229
228
|
sizeChange: (details: floatingPanel.SizeChangeDetails) => any;
|
|
229
|
+
"update:size": (details: floatingPanel.Size) => any;
|
|
230
230
|
sizeChangeEnd: (details: floatingPanel.SizeChangeDetails) => any;
|
|
231
231
|
stageChange: (details: floatingPanel.StageChangeDetails) => any;
|
|
232
232
|
}, string, vue.PublicProps, Readonly<FloatingPanelRootProps> & Readonly<{
|
|
233
|
-
"onUpdate:size"?: ((details: floatingPanel.Size) => any) | undefined;
|
|
234
233
|
onExitComplete?: (() => any) | undefined;
|
|
235
234
|
onOpenChange?: ((details: floatingPanel.OpenChangeDetails) => any) | undefined;
|
|
236
235
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
@@ -238,14 +237,15 @@ declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<FloatingPane
|
|
|
238
237
|
"onUpdate:position"?: ((details: floatingPanel.Point) => any) | undefined;
|
|
239
238
|
onPositionChangeEnd?: ((details: floatingPanel.PositionChangeDetails) => any) | undefined;
|
|
240
239
|
onSizeChange?: ((details: floatingPanel.SizeChangeDetails) => any) | undefined;
|
|
240
|
+
"onUpdate:size"?: ((details: floatingPanel.Size) => any) | undefined;
|
|
241
241
|
onSizeChangeEnd?: ((details: floatingPanel.SizeChangeDetails) => any) | undefined;
|
|
242
242
|
onStageChange?: ((details: floatingPanel.StageChangeDetails) => any) | undefined;
|
|
243
243
|
}>, {
|
|
244
244
|
draggable: boolean;
|
|
245
245
|
disabled: boolean;
|
|
246
|
-
allowOverflow: boolean;
|
|
247
246
|
defaultOpen: boolean;
|
|
248
247
|
open: boolean;
|
|
248
|
+
allowOverflow: boolean;
|
|
249
249
|
closeOnEscape: boolean;
|
|
250
250
|
lockAspectRatio: boolean;
|
|
251
251
|
persistRect: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
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 floatingPanelAnatomy } from "../../floating-panel-anatomy-BgEeNv0z.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-B6FmKP5l.js";
|
|
9
9
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
10
|
import * as floatingPanel from "@sprawlify/primitives/machines/floating-panel";
|
|
11
11
|
//#region src/components/floating-panel/use-floating-panel-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 * as vue from "vue";
|
|
3
3
|
import { HTMLAttributes } from "vue";
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@ declare const __VLS_export: __VLS_WithSlots<vue.DefineComponent<FocusTrapProps,
|
|
|
32
32
|
onDeactivate?: (() => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
disabled: boolean;
|
|
35
|
-
initialFocus: ((false | (string | (HTMLElement | SVGElement))) | (() => false | (string | (HTMLElement | SVGElement))))
|
|
35
|
+
initialFocus: VoidFunction | ((false | (string | (HTMLElement | SVGElement))) | (() => false | (string | (HTMLElement | SVGElement))));
|
|
36
36
|
fallbackFocus: (string | (HTMLElement | SVGElement)) | (() => string | (HTMLElement | SVGElement));
|
|
37
37
|
returnFocusOnDeactivate: boolean;
|
|
38
38
|
setReturnFocus: (false | (string | (HTMLElement | SVGElement))) | ((node: HTMLElement | SVGElement) => false | (string | (HTMLElement | SVGElement)));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
3
|
-
import { t as cleanProps } from "../../clean-props-
|
|
1
|
+
import "../../core-DFdl8jS7.js";
|
|
2
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
3
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
4
4
|
import { createBlock, defineComponent, onBeforeUnmount, onWatcherCleanup, openBlock, ref, renderSlot, unref, watchEffect, withCtx } from "vue";
|
|
5
5
|
import { trapFocus } from "@sprawlify/primitives/focus-trap";
|
|
6
6
|
//#endregion
|
|
@@ -2,9 +2,9 @@ import * as vue from "vue";
|
|
|
2
2
|
|
|
3
3
|
//#region src/components/format/format-byte.vue.d.ts
|
|
4
4
|
interface FormatByteProps {
|
|
5
|
-
unit?:
|
|
6
|
-
unitDisplay?:
|
|
7
|
-
unitSystem?:
|
|
5
|
+
unit?: "bit" | "byte";
|
|
6
|
+
unitDisplay?: "long" | "short" | "narrow";
|
|
7
|
+
unitSystem?: "decimal" | "binary";
|
|
8
8
|
value: number;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: typeof __VLS_export$2;
|
|
@@ -13,11 +13,11 @@ declare const __VLS_export$2: vue.DefineComponent<FormatByteProps, {}, {}, {}, {
|
|
|
13
13
|
//#region src/components/format/format-number.vue.d.ts
|
|
14
14
|
interface FormatNumberProps {
|
|
15
15
|
value: number;
|
|
16
|
-
compactDisplay?:
|
|
17
|
-
notation?:
|
|
18
|
-
signDisplay?:
|
|
16
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
17
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
18
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
19
19
|
unit?: string | undefined;
|
|
20
|
-
unitDisplay?:
|
|
20
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
21
21
|
currencyDisplay?: string | undefined;
|
|
22
22
|
currencySign?: string | undefined;
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as DEFAULT_LOCALE, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
3
3
|
import "../../create-context-BqbKqBMN.js";
|
|
4
4
|
import { computed, defineComponent, toDisplayString } from "vue";
|
|
5
5
|
import { formatBytes, formatNumber, formatRelativeTime } from "@sprawlify/primitives/i18n-utils";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as environment_provider_default } from "../../providers-CicBbUXG.js";
|
|
2
2
|
import "../../create-context-BqbKqBMN.js";
|
|
3
3
|
import { Teleport, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, mergeProps, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, unref, watch, withCtx } from "vue";
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as cleanProps } from "../../clean-props-
|
|
1
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
2
2
|
import { Fragment, computed, createElementBlock, createTextVNode, defineComponent, openBlock, renderList, toDisplayString, toValue, unref } from "vue";
|
|
3
3
|
import { highlightWord } from "@sprawlify/primitives/highlight-word";
|
|
4
4
|
//#region src/components/highlight/use-highlight.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";
|
|
@@ -6,7 +6,7 @@ import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js"
|
|
|
6
6
|
import { t as hoverCardAnatomy } from "../../hover-card-anatomy-LsFwl5DS.js";
|
|
7
7
|
import * as vue from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _sprawlify_primitives_machines_dialog0 from "@sprawlify/primitives/machines/dialog";
|
|
10
10
|
import * as hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
11
11
|
import { FocusOutsideEvent, FocusOutsideEvent as HoverCardFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as HoverCardInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as HoverCardOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as HoverCardPointerDownOutsideEvent } from "@sprawlify/primitives/machines/hover-card";
|
|
12
12
|
|
|
@@ -83,11 +83,11 @@ type RootEmits = {
|
|
|
83
83
|
interactOutside: [event: hoverCard.InteractOutsideEvent];
|
|
84
84
|
openChange: [details: hoverCard.OpenChangeDetails];
|
|
85
85
|
pointerDownOutside: [event: hoverCard.PointerDownOutsideEvent];
|
|
86
|
-
|
|
86
|
+
"update:open": [open: boolean];
|
|
87
87
|
};
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region src/components/hover-card/use-hover-card.d.ts
|
|
90
|
-
interface UseHoverCardProps extends Optional<Omit<hoverCard.Props,
|
|
90
|
+
interface UseHoverCardProps extends Optional<Omit<hoverCard.Props, "dir" | "getRootNode">, "id"> {}
|
|
91
91
|
interface UseHoverCardReturn extends ComputedRef<hoverCard.Api<PropTypes>> {}
|
|
92
92
|
declare const useHoverCard: (props?: MaybeRef<UseHoverCardProps>, emit?: EmitFn$1<RootEmits>) => UseHoverCardReturn;
|
|
93
93
|
//#endregion
|
|
@@ -152,18 +152,18 @@ interface HoverCardRootProps extends HoverCardRootBaseProps {}
|
|
|
152
152
|
interface HoverCardRootEmits extends RootEmits {}
|
|
153
153
|
declare const _default$5: typeof __VLS_export$1;
|
|
154
154
|
declare const __VLS_export$1: __VLS_WithSlots$1<vue.DefineComponent<HoverCardRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
155
|
-
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any;
|
|
156
|
-
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any;
|
|
157
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any;
|
|
158
155
|
exitComplete: () => any;
|
|
156
|
+
focusOutside: (event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => any;
|
|
157
|
+
interactOutside: (event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any;
|
|
159
158
|
openChange: (details: hoverCard.OpenChangeDetails) => any;
|
|
159
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any;
|
|
160
160
|
"update:open": (open: boolean) => any;
|
|
161
161
|
}, string, vue.PublicProps, Readonly<HoverCardRootProps> & Readonly<{
|
|
162
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
163
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
164
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
165
162
|
onExitComplete?: (() => any) | undefined;
|
|
163
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_dialog0.FocusOutsideEvent) => any) | undefined;
|
|
164
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any) | undefined;
|
|
166
165
|
onOpenChange?: ((details: hoverCard.OpenChangeDetails) => any) | undefined;
|
|
166
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any) | undefined;
|
|
167
167
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
168
168
|
}>, {
|
|
169
169
|
disabled: 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 hoverCardAnatomy } from "../../hover-card-anatomy-BiBVumql.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 hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
12
12
|
//#region src/components/hover-card/use-hover-card-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 imageCropperAnatomy } from "../../image-cropper-anatomy-ChVWjuvl.js";
|
|
@@ -80,7 +80,7 @@ interface RootProps {
|
|
|
80
80
|
maxWidth?: number;
|
|
81
81
|
maxHeight?: number;
|
|
82
82
|
aspectRatio?: number;
|
|
83
|
-
cropShape?:
|
|
83
|
+
cropShape?: "rectangle" | "circle";
|
|
84
84
|
zoom?: number;
|
|
85
85
|
rotation?: number;
|
|
86
86
|
flip?: imageCropper.FlipState;
|
|
@@ -98,13 +98,13 @@ interface RootProps {
|
|
|
98
98
|
}
|
|
99
99
|
type RootEmits = {
|
|
100
100
|
zoomChange: [details: imageCropper.ZoomChangeDetails];
|
|
101
|
-
|
|
101
|
+
"update:zoom": [zoom: number];
|
|
102
102
|
rotationChange: [details: imageCropper.RotationChangeDetails];
|
|
103
|
-
|
|
103
|
+
"update:rotation": [rotation: number];
|
|
104
104
|
flipChange: [details: imageCropper.FlipChangeDetails];
|
|
105
|
-
|
|
105
|
+
"update:flip": [flip: imageCropper.FlipState];
|
|
106
106
|
cropChange: [details: imageCropper.CropChangeDetails];
|
|
107
|
-
|
|
107
|
+
"update:crop": [crop: Rect];
|
|
108
108
|
};
|
|
109
109
|
//#endregion
|
|
110
110
|
//#region src/components/image-cropper/image-cropper-root.vue.d.ts
|
|
@@ -144,7 +144,7 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
144
144
|
};
|
|
145
145
|
//#endregion
|
|
146
146
|
//#region src/components/image-cropper/use-image-cropper.d.ts
|
|
147
|
-
interface UseImageCropperProps extends Optional<Omit<imageCropper.Props,
|
|
147
|
+
interface UseImageCropperProps extends Optional<Omit<imageCropper.Props, "dir" | "getRootNode">, "id"> {}
|
|
148
148
|
interface UseImageCropperReturn extends ComputedRef<imageCropper.Api<PropTypes>> {}
|
|
149
149
|
declare const useImageCropper: (props?: MaybeRef<UseImageCropperProps>, emit?: EmitFn$1<RootEmits>) => ComputedRef<imageCropper.Api<PropTypes>>;
|
|
150
150
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as imageCropperAnatomy } from "../../image-cropper-anatomy-D3tfc-sw.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
9
9
|
import * as imageCropper from "@sprawlify/primitives/machines/image-cropper";
|
|
10
10
|
import { handles } from "@sprawlify/primitives/machines/image-cropper";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
2
|
-
import { C as TreeViewRootProviderProps, g as TreeViewRootBaseProps, m as TreeViewTreeProps, rt as UseTreeViewProps } from "../../index-
|
|
2
|
+
import { C as TreeViewRootProviderProps, g as TreeViewRootBaseProps, m as TreeViewTreeProps, rt as UseTreeViewProps } from "../../index-C7sz_n_w.js";
|
|
3
3
|
import * as vue from "vue";
|
|
4
4
|
import { ComputedRef, HTMLAttributes, MaybeRef } from "vue";
|
|
5
5
|
import * as treeView from "@sprawlify/primitives/machines/tree-view";
|
|
@@ -11,7 +11,7 @@ interface JsonTreeViewOptions extends Partial<JsonNodePreviewOptions> {
|
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/components/json-tree-view/json-tree-view-root.vue.d.ts
|
|
14
|
-
interface JsonTreeViewRootBaseProps extends JsonTreeViewOptions, Omit<TreeViewRootBaseProps<JsonNode>,
|
|
14
|
+
interface JsonTreeViewRootBaseProps extends JsonTreeViewOptions, Omit<TreeViewRootBaseProps<JsonNode>, "collection"> {
|
|
15
15
|
data: object;
|
|
16
16
|
defaultExpandedDepth?: number;
|
|
17
17
|
}
|
|
@@ -73,7 +73,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
73
73
|
};
|
|
74
74
|
//#endregion
|
|
75
75
|
//#region src/components/json-tree-view/use-json-tree-view.d.ts
|
|
76
|
-
interface UseJsonTreeViewProps extends Omit<UseTreeViewProps<JsonNode>,
|
|
76
|
+
interface UseJsonTreeViewProps extends Omit<UseTreeViewProps<JsonNode>, "collection">, JsonTreeViewOptions {
|
|
77
77
|
data: unknown;
|
|
78
78
|
defaultExpandedDepth?: number;
|
|
79
79
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import "../../core-
|
|
3
|
-
import "../../providers-
|
|
2
|
+
import "../../core-DFdl8jS7.js";
|
|
3
|
+
import "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import "../../factory-
|
|
6
|
-
import "../../
|
|
7
|
-
import { t as createSplitProps } from "../../create-split-props-
|
|
8
|
-
import
|
|
9
|
-
import "../../
|
|
10
|
-
import { C as tree_view_branch_content_default, S as tree_view_branch_control_default, a as tree_view_root_provider_default, b as tree_view_branch_indicator_default, f as tree_view_item_default, g as tree_view_branch_default, i as useTreeView, n as tree_view_tree_default, o as tree_view_node_provider_default, p as tree_view_item_text_default, t as tree_view_exports, w as useTreeViewContext, x as tree_view_branch_indent_guide_default, y as tree_view_branch_text_default } from "../../tree-view-
|
|
5
|
+
import "../../factory-Bd0Y5x-7.js";
|
|
6
|
+
import "../../collapsible-CU8jdmsD.js";
|
|
7
|
+
import { t as createSplitProps } from "../../create-split-props-D32I38aE.js";
|
|
8
|
+
import "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
+
import { a as createTreeCollection } from "../../collection-CMkl1XB0.js";
|
|
10
|
+
import { C as tree_view_branch_content_default, S as tree_view_branch_control_default, a as tree_view_root_provider_default, b as tree_view_branch_indicator_default, f as tree_view_item_default, g as tree_view_branch_default, i as useTreeView, n as tree_view_tree_default, o as tree_view_node_provider_default, p as tree_view_item_text_default, t as tree_view_exports, w as useTreeViewContext, x as tree_view_branch_indent_guide_default, y as tree_view_branch_text_default } from "../../tree-view-BMIatAXN.js";
|
|
11
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeDefaults, mergeProps, openBlock, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toValue, unref, withCtx } from "vue";
|
|
12
12
|
import { getAccessibleDescription, getRootNode, jsonNodeToElement, keyPathToKey, nodeToString, nodeToValue } from "@sprawlify/primitives/json-tree-utils";
|
|
13
13
|
//#region src/components/json-tree-view/get-branch-value.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
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, t as Assign } from "../../types-CcpL2F4P.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
|
-
import { t as listboxAnatomy } from "../../listbox-anatomy-
|
|
5
|
-
import { _ as CollectionItem, b as createListCollection, y as ListCollection } from "../../index-
|
|
4
|
+
import { t as listboxAnatomy } from "../../listbox-anatomy-ov6dp5kT.js";
|
|
5
|
+
import { _ as CollectionItem, b as createListCollection, y as ListCollection } from "../../index-DK-1mwjg.js";
|
|
6
6
|
import * as vue from "vue";
|
|
7
7
|
import { ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import * as listbox from "@sprawlify/primitives/machines/listbox";
|
|
@@ -225,7 +225,7 @@ interface RootProps<T extends CollectionItem> {
|
|
|
225
225
|
}>;
|
|
226
226
|
loopFocus?: boolean;
|
|
227
227
|
modelValue?: string[];
|
|
228
|
-
orientation?:
|
|
228
|
+
orientation?: "horizontal" | "vertical";
|
|
229
229
|
scrollToIndexFn?: (details: listbox.ScrollToIndexDetails) => void;
|
|
230
230
|
selectOnHighlight?: boolean;
|
|
231
231
|
selectionMode?: listbox.SelectionMode;
|
|
@@ -235,7 +235,7 @@ type RootEmits<T extends CollectionItem> = {
|
|
|
235
235
|
highlightChange: [details: listbox.HighlightChangeDetails<T>];
|
|
236
236
|
select: [details: listbox.SelectionDetails];
|
|
237
237
|
valueChange: [details: listbox.ValueChangeDetails<T>];
|
|
238
|
-
|
|
238
|
+
"update:modelValue": [value: string[]];
|
|
239
239
|
};
|
|
240
240
|
//#endregion
|
|
241
241
|
//#region src/components/listbox/listbox-root.vue.d.ts
|
|
@@ -289,8 +289,8 @@ declare namespace listbox_d_exports {
|
|
|
289
289
|
}
|
|
290
290
|
//#endregion
|
|
291
291
|
//#region src/components/listbox/use-listbox.d.ts
|
|
292
|
-
interface UseListboxProps<T extends CollectionItem> extends Optional<Omit<listbox.Props<T>,
|
|
293
|
-
modelValue?: listbox.Props<T>[
|
|
292
|
+
interface UseListboxProps<T extends CollectionItem> extends Optional<Omit<listbox.Props<T>, "dir" | "getRootNode" | "collection">, "id"> {
|
|
293
|
+
modelValue?: listbox.Props<T>["value"];
|
|
294
294
|
collection: ListCollection<T>;
|
|
295
295
|
}
|
|
296
296
|
interface UseListboxReturn<T extends CollectionItem> extends ComputedRef<listbox.Api<PropTypes, T>> {}
|
|
@@ -1,11 +1,11 @@
|
|
|
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 listboxAnatomy } from "../../listbox-anatomy-BTXGGkHn.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { o as createListCollection } from "../../collection-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
+
import { o as createListCollection } from "../../collection-CMkl1XB0.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
|
//#region src/components/listbox/use-listbox-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 marqueeAnatomy } from "../../marquee-anatomy-Bih8y_Mg.js";
|
|
@@ -109,7 +109,7 @@ type RootEmits = {
|
|
|
109
109
|
};
|
|
110
110
|
//#endregion
|
|
111
111
|
//#region src/components/marquee/use-marquee.d.ts
|
|
112
|
-
interface UseMarqueeProps extends Optional<Omit<marquee.Props,
|
|
112
|
+
interface UseMarqueeProps extends Optional<Omit<marquee.Props, "dir" | "getRootNode">, "id"> {}
|
|
113
113
|
interface UseMarqueeReturn extends ComputedRef<marquee.Api<PropTypes>> {}
|
|
114
114
|
declare const useMarquee: (props?: MaybeRef<UseMarqueeProps>, emit?: EmitFn$1<RootEmits>) => UseMarqueeReturn;
|
|
115
115
|
//#endregion
|
|
@@ -214,9 +214,9 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<MarqueeRootP
|
|
|
214
214
|
}>, {
|
|
215
215
|
reverse: boolean;
|
|
216
216
|
autoFill: boolean;
|
|
217
|
+
defaultPaused: boolean;
|
|
217
218
|
pauseOnInteraction: boolean;
|
|
218
219
|
paused: boolean;
|
|
219
|
-
defaultPaused: boolean;
|
|
220
220
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
221
221
|
default?: (props: {}) => any;
|
|
222
222
|
}>;
|
|
@@ -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 marqueeAnatomy } from "../../marquee-anatomy-CuY5-sxQ.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { hasProp, isString } from "@sprawlify/primitives/utils";
|
|
9
9
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, getCurrentInstance, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderList, renderSlot, toValue, unref, useAttrs, useId, withCtx } from "vue";
|
|
10
10
|
import * as marquee from "@sprawlify/primitives/machines/marquee";
|
|
@@ -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";
|
|
@@ -31,7 +31,7 @@ interface NavigationMenuContentProps extends NavigationMenuContentBaseProps,
|
|
|
31
31
|
/**
|
|
32
32
|
* @vue-ignore
|
|
33
33
|
*/
|
|
34
|
-
Omit<HTMLAttributes,
|
|
34
|
+
Omit<HTMLAttributes, "onSelect"> {}
|
|
35
35
|
declare const _default$1: typeof __VLS_export$11;
|
|
36
36
|
declare const __VLS_export$11: __VLS_WithSlots$11<vue.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
37
37
|
default?: (props: {}) => any;
|
|
@@ -61,16 +61,16 @@ interface RootProps {
|
|
|
61
61
|
viewport: string;
|
|
62
62
|
}>;
|
|
63
63
|
openDelay?: number;
|
|
64
|
-
orientation?:
|
|
64
|
+
orientation?: "horizontal" | "vertical";
|
|
65
65
|
value?: string;
|
|
66
66
|
}
|
|
67
67
|
type RootEmits = {
|
|
68
68
|
valueChange: [details: navigationMenu.ValueChangeDetails];
|
|
69
|
-
|
|
69
|
+
"update:value": [value: string];
|
|
70
70
|
};
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region src/components/navigation-menu/use-navigation-menu.d.ts
|
|
73
|
-
interface UseNavigationMenuProps extends Optional<Omit<navigationMenu.Props,
|
|
73
|
+
interface UseNavigationMenuProps extends Optional<Omit<navigationMenu.Props, "dir" | "getRootNode">, "id"> {}
|
|
74
74
|
interface UseNavigationMenuReturn extends ComputedRef<navigationMenu.Api<PropTypes>> {}
|
|
75
75
|
declare const useNavigationMenu: (props?: MaybeRef<UseNavigationMenuProps>, emit?: EmitFn$1<RootEmits>) => UseNavigationMenuReturn;
|
|
76
76
|
//#endregion
|
|
@@ -148,7 +148,7 @@ interface NavigationMenuLinkProps extends NavigationMenuLinkBaseProps,
|
|
|
148
148
|
/**
|
|
149
149
|
* @vue-ignore
|
|
150
150
|
*/
|
|
151
|
-
Omit<AnchorHTMLAttributes,
|
|
151
|
+
Omit<AnchorHTMLAttributes, "current" | "onSelect"> {}
|
|
152
152
|
declare const _default$6: typeof __VLS_export$6;
|
|
153
153
|
declare const __VLS_export$6: __VLS_WithSlots$6<vue.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
154
154
|
default?: (props: {}) => any;
|
|
@@ -217,12 +217,12 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
217
217
|
};
|
|
218
218
|
//#endregion
|
|
219
219
|
//#region src/components/navigation-menu/navigation-menu-trigger.vue.d.ts
|
|
220
|
-
interface NavigationMenuTriggerBaseProps extends Omit<ItemProps,
|
|
220
|
+
interface NavigationMenuTriggerBaseProps extends Omit<ItemProps, "value">, PolymorphicProps {}
|
|
221
221
|
interface NavigationMenuTriggerProps extends NavigationMenuTriggerBaseProps,
|
|
222
222
|
/**
|
|
223
223
|
* @vue-ignore
|
|
224
224
|
*/
|
|
225
|
-
Omit<ButtonHTMLAttributes,
|
|
225
|
+
Omit<ButtonHTMLAttributes, "disabled" | "value"> {}
|
|
226
226
|
declare const _default$10: typeof __VLS_export$2;
|
|
227
227
|
declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
228
228
|
default?: (props: {}) => any;
|