@sprawlify/vue 0.0.105 → 0.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-dialog-anatomy-9zjAVC7Z.d.ts → alert-dialog-anatomy-QuurhLQV.d.ts} +1 -1
- package/dist/{carousel-anatomy-CGnnfUVN.d.ts → carousel-anatomy-Cvduvz28.d.ts} +1 -1
- package/dist/{checkbox-anatomy-Bkxq8P4k.d.ts → checkbox-anatomy-BDPTqssy.d.ts} +1 -1
- package/dist/{collapsible-nSsGHMUx.js → collapsible-CU8jdmsD.js} +3 -3
- package/dist/{collection-DxYHutYn.js → collection-CMkl1XB0.js} +1 -1
- package/dist/{color-picker-anatomy-wW_P5LT-.d.ts → color-picker-anatomy-09BXGqLT.d.ts} +1 -1
- package/dist/{combobox-anatomy-B2cGrWKZ.d.ts → combobox-anatomy-CcY64hfo.d.ts} +1 -1
- package/dist/components/accordion/index.d.ts +8 -8
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/alert-dialog/index.d.ts +22 -21
- package/dist/components/alert-dialog/index.js +4 -4
- package/dist/components/anatomy.d.ts +9 -9
- package/dist/components/angle-slider/index.d.ts +10 -10
- package/dist/components/angle-slider/index.js +3 -3
- package/dist/components/aspect-ratio/index.d.ts +2 -2
- package/dist/components/aspect-ratio/index.js +3 -3
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/bottom-sheet/index.d.ts +10 -10
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +7 -7
- package/dist/components/carousel/index.js +3 -3
- package/dist/components/checkbox/index.d.ts +7 -7
- package/dist/components/checkbox/index.js +5 -5
- package/dist/components/clipboard/index.d.ts +6 -6
- package/dist/components/clipboard/index.js +3 -3
- package/dist/components/collapsible/index.d.ts +7 -7
- 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 +28 -28
- package/dist/components/color-picker/index.js +5 -5
- package/dist/components/combobox/index.d.ts +22 -22
- package/dist/components/combobox/index.js +6 -6
- package/dist/components/date-picker/index.d.ts +20 -20
- package/dist/components/date-picker/index.js +4 -4
- package/dist/components/dialog/index.d.ts +22 -21
- package/dist/components/dialog/index.js +4 -4
- package/dist/components/download-trigger/index.d.ts +1 -1
- package/dist/components/download-trigger/index.js +3 -3
- package/dist/components/dropdown-menu/index.d.ts +26 -26
- package/dist/components/dropdown-menu/index.js +4 -4
- package/dist/components/editable/index.d.ts +16 -16
- package/dist/components/editable/index.js +4 -4
- 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 +4 -4
- package/dist/components/floating-panel/index.d.ts +24 -14
- package/dist/components/floating-panel/index.js +16 -8
- package/dist/components/focus-trap/index.d.ts +2 -2
- package/dist/components/focus-trap/index.js +2 -2
- 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/hover-card/index.d.ts +13 -13
- package/dist/components/hover-card/index.js +4 -4
- package/dist/components/image-cropper/index.d.ts +7 -7
- package/dist/components/image-cropper/index.js +3 -3
- package/dist/components/json-tree-view/index.d.ts +4 -4
- package/dist/components/json-tree-view/index.js +6 -6
- package/dist/components/listbox/index.d.ts +7 -7
- package/dist/components/listbox/index.js +4 -4
- package/dist/components/marquee/index.d.ts +2 -2
- package/dist/components/marquee/index.js +3 -3
- package/dist/components/navigation-menu/index.d.ts +8 -8
- package/dist/components/navigation-menu/index.js +4 -4
- package/dist/components/number-input/index.d.ts +9 -9
- package/dist/components/number-input/index.js +4 -4
- package/dist/components/pagination/index.d.ts +6 -6
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/password-input/index.d.ts +6 -6
- package/dist/components/password-input/index.js +4 -4
- package/dist/components/pin-input/index.d.ts +9 -9
- package/dist/components/pin-input/index.js +4 -4
- package/dist/components/popover/index.d.ts +16 -17
- package/dist/components/popover/index.js +4 -4
- 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 +3 -3
- package/dist/components/qr-code/index.d.ts +4 -4
- package/dist/components/qr-code/index.js +3 -3
- package/dist/components/radio-group/index.d.ts +6 -6
- package/dist/components/radio-group/index.js +4 -4
- package/dist/components/rating-group/index.d.ts +6 -6
- package/dist/components/rating-group/index.js +4 -4
- package/dist/components/scroll-area/index.d.ts +3 -3
- package/dist/components/scroll-area/index.js +3 -3
- package/dist/components/segment-group/index.d.ts +6 -6
- package/dist/components/segment-group/index.js +3 -3
- package/dist/components/select/index.d.ts +16 -16
- package/dist/components/select/index.js +6 -6
- package/dist/components/separator/index.d.ts +2 -2
- package/dist/components/separator/index.js +3 -3
- package/dist/components/signature-pad/index.d.ts +5 -5
- package/dist/components/signature-pad/index.js +4 -4
- package/dist/components/slider/index.d.ts +17 -17
- package/dist/components/slider/index.js +3 -3
- package/dist/components/splitter/index.d.ts +8 -8
- package/dist/components/splitter/index.js +3 -3
- package/dist/components/steps/index.d.ts +4 -4
- package/dist/components/steps/index.js +3 -3
- package/dist/components/switch/index.d.ts +5 -5
- package/dist/components/switch/index.js +4 -4
- package/dist/components/tabs/index.d.ts +10 -10
- package/dist/components/tabs/index.js +4 -4
- package/dist/components/tags-input/index.d.ts +17 -17
- package/dist/components/tags-input/index.js +4 -4
- package/dist/components/timer/index.d.ts +2 -2
- package/dist/components/timer/index.js +3 -3
- 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 +2 -2
- package/dist/components/toggle-group/index.d.ts +6 -6
- package/dist/components/toggle-group/index.js +3 -3
- package/dist/components/tooltip/index.d.ts +8 -8
- package/dist/components/tooltip/index.js +4 -4
- package/dist/components/tour/index.d.ts +10 -10
- package/dist/components/tour/index.js +5 -5
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/components/tree-view/index.js +6 -6
- package/dist/{core-BW88ya4i.js → core-DFdl8jS7.js} +1 -1
- package/dist/{date-picker-anatomy-B6E2JeQx.d.ts → date-picker-anatomy-CTaSCl_Q.d.ts} +1 -1
- package/dist/{factory-DNG1el63.js → factory-Bd0Y5x-7.js} +1 -1
- package/dist/{factory-bfEpUaB3.d.ts → factory-Go0oxO3B.d.ts} +1 -1
- package/dist/{field-GralVrIX.js → field-D3G8FJDB.js} +2 -2
- package/dist/{fieldset-Qrb1hBnw.js → fieldset-DKOqYr6u.js} +2 -2
- package/dist/{index-aJnwDHff.d.ts → index-CYO47ggW.d.ts} +27 -1
- package/dist/{index-CODK2VY0.d.ts → index-CkAv25xX.d.ts} +11 -11
- package/dist/{index-DuD8fQUF.d.ts → index-DK-1mwjg.d.ts} +2 -2
- package/dist/{index-B4l20i3i.d.ts → index-DdyrLXRD.d.ts} +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{listbox-anatomy-BqnzOQRJ.d.ts → listbox-anatomy-qjnhtt5d.d.ts} +1 -1
- package/dist/{presence-CxNxMceK.js → presence-B6FmKP5l.js} +2 -2
- package/dist/providers-CicBbUXG.js +204 -0
- package/dist/{segment-group-anatomy-Cu3IiheY.d.ts → segment-group-anatomy-xb9z-ywW.d.ts} +1 -1
- package/dist/{tour-anatomy-hbBojk2_.d.ts → tour-anatomy-D9v3xtYJ.d.ts} +1 -1
- package/dist/{tree-view-CKhw9GP-.js → tree-view-BMIatAXN.js} +4 -4
- package/package.json +9 -8
- package/dist/providers-Cm-xBdVY.js +0 -92
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import "../../providers-
|
|
1
|
+
import "../../core-DFdl8jS7.js";
|
|
2
|
+
import "../../providers-CicBbUXG.js";
|
|
3
3
|
import "../../create-context-BqbKqBMN.js";
|
|
4
|
-
import "../../factory-
|
|
4
|
+
import "../../factory-Bd0Y5x-7.js";
|
|
5
5
|
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-DBAg0hLg.js";
|
|
6
|
-
import { a as fieldset_legend_default, c as fieldset_context_default, i as fieldset_root_provider_default, l as useFieldsetContext, n as fieldset_root_default, o as fieldset_helper_text_default, r as useFieldset, s as fieldset_error_text_default, t as fieldset_exports } from "../../fieldset-
|
|
6
|
+
import { a as fieldset_legend_default, c as fieldset_context_default, i as fieldset_root_provider_default, l as useFieldsetContext, n as fieldset_root_default, o as fieldset_helper_text_default, r as useFieldset, s as fieldset_error_text_default, t as fieldset_exports } from "../../fieldset-DKOqYr6u.js";
|
|
7
7
|
export { fieldset_exports as Fieldset, fieldset_context_default as FieldsetContext, fieldset_error_text_default as FieldsetErrorText, fieldset_helper_text_default as FieldsetHelperText, fieldset_legend_default as FieldsetLegend, fieldset_root_default as FieldsetRoot, fieldset_root_provider_default as FieldsetRootProvider, fieldsetAnatomy, useFieldset, useFieldsetContext };
|
|
@@ -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];
|
|
@@ -269,9 +269,9 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<FileUploadRo
|
|
|
269
269
|
onFileChange?: ((details: fileUpload.FileChangeDetails) => any) | undefined;
|
|
270
270
|
onFileReject?: ((details: fileUpload.FileRejectDetails) => any) | undefined;
|
|
271
271
|
}>, {
|
|
272
|
-
required: boolean;
|
|
273
272
|
disabled: boolean;
|
|
274
273
|
invalid: boolean;
|
|
274
|
+
required: boolean;
|
|
275
275
|
readOnly: boolean;
|
|
276
276
|
allowDrop: boolean;
|
|
277
277
|
directory: 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
8
|
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
9
|
-
import { p as useFieldContext } from "../../field-
|
|
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,5 @@
|
|
|
1
|
-
import { a as PolymorphicProps } from "../../factory-
|
|
1
|
+
import { a as PolymorphicProps } from "../../factory-Go0oxO3B.js";
|
|
2
|
+
import { t as RootEmits$1 } from "../../presence-types-D-XuGmDH.js";
|
|
2
3
|
import { a as Optional } from "../../types-CcpL2F4P.js";
|
|
3
4
|
import { r as PropTypes } from "../../index-ga2m_BD2.js";
|
|
4
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CIHTgh6L.js";
|
|
@@ -67,7 +68,7 @@ interface RootProps {
|
|
|
67
68
|
defaultOpen?: boolean;
|
|
68
69
|
defaultPosition?: Point;
|
|
69
70
|
defaultSize?: Size;
|
|
70
|
-
dir?:
|
|
71
|
+
dir?: "ltr" | "rtl";
|
|
71
72
|
disabled?: boolean;
|
|
72
73
|
draggable?: boolean;
|
|
73
74
|
getAnchorPosition?: (details: floatingPanel.AnchorPositionDetails) => Point;
|
|
@@ -89,23 +90,24 @@ interface RootProps {
|
|
|
89
90
|
position?: Point;
|
|
90
91
|
resizable?: boolean;
|
|
91
92
|
size?: Size;
|
|
92
|
-
strategy?:
|
|
93
|
+
strategy?: "absolute" | "fixed";
|
|
93
94
|
translations?: floatingPanel.IntlTranslations;
|
|
94
95
|
}
|
|
95
96
|
type RootEmits = {
|
|
97
|
+
exitComplete: [];
|
|
96
98
|
openChange: [details: floatingPanel.OpenChangeDetails];
|
|
97
|
-
|
|
99
|
+
"update:open": [open: boolean];
|
|
98
100
|
positionChange: [details: floatingPanel.PositionChangeDetails];
|
|
99
|
-
|
|
101
|
+
"update:position": [details: floatingPanel.PositionChangeDetails["position"]];
|
|
100
102
|
positionChangeEnd: [details: floatingPanel.PositionChangeDetails];
|
|
101
103
|
sizeChange: [details: floatingPanel.SizeChangeDetails];
|
|
102
|
-
|
|
104
|
+
"update:size": [details: floatingPanel.SizeChangeDetails["size"]];
|
|
103
105
|
sizeChangeEnd: [details: floatingPanel.SizeChangeDetails];
|
|
104
106
|
stageChange: [details: floatingPanel.StageChangeDetails];
|
|
105
107
|
};
|
|
106
108
|
//#endregion
|
|
107
109
|
//#region src/components/floating-panel/use-floating-panel.d.ts
|
|
108
|
-
interface UseFloatingPanelProps extends Optional<Omit<floatingPanel.Props,
|
|
110
|
+
interface UseFloatingPanelProps extends Optional<Omit<floatingPanel.Props, "getRootNode">, "id"> {}
|
|
109
111
|
interface UseFloatingPanelReturn extends ComputedRef<floatingPanel.Api<PropTypes>> {}
|
|
110
112
|
declare const useFloatingPanel: (props?: MaybeRef<UseFloatingPanelProps>, emit?: EmitFn<RootEmits>) => UseFloatingPanelReturn;
|
|
111
113
|
//#endregion
|
|
@@ -213,36 +215,39 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
213
215
|
//#endregion
|
|
214
216
|
//#region src/components/floating-panel/floating-panel-root.vue.d.ts
|
|
215
217
|
interface FloatingPanelRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
218
|
+
interface FloatingPanelRootEmits extends RootEmits {}
|
|
216
219
|
interface FloatingPanelRootProps extends FloatingPanelRootBaseProps {}
|
|
217
220
|
declare const _default$9: typeof __VLS_export$4;
|
|
218
221
|
declare const __VLS_export$4: __VLS_WithSlots$4<vue.DefineComponent<FloatingPanelRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
222
|
+
exitComplete: () => any;
|
|
219
223
|
openChange: (details: floatingPanel.OpenChangeDetails) => any;
|
|
220
224
|
"update:open": (open: boolean) => any;
|
|
221
|
-
"update:size": (details: floatingPanel.Size) => any;
|
|
222
225
|
positionChange: (details: floatingPanel.PositionChangeDetails) => any;
|
|
223
226
|
"update:position": (details: floatingPanel.Point) => any;
|
|
224
227
|
positionChangeEnd: (details: floatingPanel.PositionChangeDetails) => any;
|
|
225
228
|
sizeChange: (details: floatingPanel.SizeChangeDetails) => any;
|
|
229
|
+
"update:size": (details: floatingPanel.Size) => any;
|
|
226
230
|
sizeChangeEnd: (details: floatingPanel.SizeChangeDetails) => any;
|
|
227
231
|
stageChange: (details: floatingPanel.StageChangeDetails) => any;
|
|
228
232
|
}, string, vue.PublicProps, Readonly<FloatingPanelRootProps> & Readonly<{
|
|
233
|
+
onExitComplete?: (() => any) | undefined;
|
|
229
234
|
onOpenChange?: ((details: floatingPanel.OpenChangeDetails) => any) | undefined;
|
|
230
235
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
231
|
-
"onUpdate:size"?: ((details: floatingPanel.Size) => any) | undefined;
|
|
232
236
|
onPositionChange?: ((details: floatingPanel.PositionChangeDetails) => any) | undefined;
|
|
233
237
|
"onUpdate:position"?: ((details: floatingPanel.Point) => any) | undefined;
|
|
234
238
|
onPositionChangeEnd?: ((details: floatingPanel.PositionChangeDetails) => any) | undefined;
|
|
235
239
|
onSizeChange?: ((details: floatingPanel.SizeChangeDetails) => any) | undefined;
|
|
240
|
+
"onUpdate:size"?: ((details: floatingPanel.Size) => any) | undefined;
|
|
236
241
|
onSizeChangeEnd?: ((details: floatingPanel.SizeChangeDetails) => any) | undefined;
|
|
237
242
|
onStageChange?: ((details: floatingPanel.StageChangeDetails) => any) | undefined;
|
|
238
243
|
}>, {
|
|
239
244
|
draggable: boolean;
|
|
240
245
|
disabled: boolean;
|
|
241
|
-
open: boolean;
|
|
242
|
-
defaultOpen: boolean;
|
|
243
|
-
closeOnEscape: boolean;
|
|
244
246
|
allowOverflow: boolean;
|
|
247
|
+
closeOnEscape: boolean;
|
|
248
|
+
defaultOpen: boolean;
|
|
245
249
|
lockAspectRatio: boolean;
|
|
250
|
+
open: boolean;
|
|
246
251
|
persistRect: boolean;
|
|
247
252
|
resizable: boolean;
|
|
248
253
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
@@ -259,8 +264,13 @@ interface FloatingPanelRootProviderBaseProps extends RenderStrategyProps {
|
|
|
259
264
|
value: UnwrapRef<UseFloatingPanelReturn>;
|
|
260
265
|
}
|
|
261
266
|
interface FloatingPanelRootProviderProps extends FloatingPanelRootProviderBaseProps {}
|
|
267
|
+
interface FloatingPanelRootProviderEmits extends RootEmits$1 {}
|
|
262
268
|
declare const _default$10: typeof __VLS_export$3;
|
|
263
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<FloatingPanelRootProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
269
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue.DefineComponent<FloatingPanelRootProviderProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
270
|
+
exitComplete: () => any;
|
|
271
|
+
}, string, vue.PublicProps, Readonly<FloatingPanelRootProviderProps> & Readonly<{
|
|
272
|
+
onExitComplete?: (() => any) | undefined;
|
|
273
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
264
274
|
default?: (props: {}) => any;
|
|
265
275
|
}>;
|
|
266
276
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -323,4 +333,4 @@ declare namespace floating_panel_d_exports {
|
|
|
323
333
|
export { _default as Body, FloatingPanelBodyBaseProps as BodyBaseProps, FloatingPanelBodyProps as BodyProps, _default$1 as CloseTrigger, FloatingPanelCloseTriggerBaseProps as CloseTriggerBaseProps, FloatingPanelCloseTriggerProps as CloseTriggerProps, _default$2 as Content, FloatingPanelContentBaseProps as ContentBaseProps, FloatingPanelContentProps as ContentProps, _default$3 as Context, FloatingPanelContextProps as ContextProps, _default$4 as Control, FloatingPanelControlBaseProps as ControlBaseProps, FloatingPanelControlProps as ControlProps, _default$5 as DragTrigger, FloatingPanelDragTriggerBaseProps as DragTriggerBaseProps, FloatingPanelDragTriggerProps as DragTriggerProps, _default$6 as Header, FloatingPanelHeaderBaseProps as HeaderBaseProps, FloatingPanelHeaderProps as HeaderProps, OpenChangeDetails, PositionChangeDetails, _default$7 as Positioner, FloatingPanelPositionerBaseProps as PositionerBaseProps, FloatingPanelPositionerProps as PositionerProps, _default$8 as ResizeTrigger, FloatingPanelResizeTriggerBaseProps as ResizeTriggerBaseProps, FloatingPanelResizeTriggerProps as ResizeTriggerProps, _default$9 as Root, FloatingPanelRootBaseProps as RootBaseProps, FloatingPanelRootProps as RootProps, _default$10 as RootProvider, FloatingPanelRootProviderBaseProps as RootProviderBaseProps, FloatingPanelRootProviderProps as RootProviderProps, SizeChangeDetails, StageChangeDetails, _default$11 as StageTrigger, FloatingPanelStageTriggerBaseProps as StageTriggerBaseProps, FloatingPanelStageTriggerProps as StageTriggerProps, _default$12 as Title, FloatingPanelTitleBaseProps as TitleBaseProps, FloatingPanelTitleProps as TitleProps, _default$13 as Trigger, FloatingPanelTriggerBaseProps as TriggerBaseProps, FloatingPanelTriggerProps as TriggerProps };
|
|
324
334
|
}
|
|
325
335
|
//#endregion
|
|
326
|
-
export { floating_panel_d_exports as FloatingPanel, _default as FloatingPanelBody, type FloatingPanelBodyBaseProps, type FloatingPanelBodyProps, _default$1 as FloatingPanelCloseTrigger, type FloatingPanelCloseTriggerBaseProps, type FloatingPanelCloseTriggerProps, _default$2 as FloatingPanelContent, type FloatingPanelContentBaseProps, type FloatingPanelContentProps, _default$3 as FloatingPanelContext, type FloatingPanelContextProps, _default$4 as FloatingPanelControl, type FloatingPanelControlBaseProps, type FloatingPanelControlProps, _default$5 as FloatingPanelDragTrigger, type FloatingPanelDragTriggerBaseProps, type FloatingPanelDragTriggerProps, _default$6 as FloatingPanelHeader, type FloatingPanelHeaderBaseProps, type FloatingPanelHeaderProps, type FloatingPanelOpenChangeDetails, type FloatingPanelPositionChangeDetails, _default$7 as FloatingPanelPositioner, type FloatingPanelPositionerBaseProps, type FloatingPanelPositionerProps, _default$8 as FloatingPanelResizeTrigger, type FloatingPanelResizeTriggerBaseProps, type FloatingPanelResizeTriggerProps, _default$9 as FloatingPanelRoot, type FloatingPanelRootBaseProps, type FloatingPanelRootProps, _default$10 as FloatingPanelRootProvider, type FloatingPanelRootProviderBaseProps, type FloatingPanelRootProviderProps, type FloatingPanelSizeChangeDetails, type FloatingPanelStageChangeDetails, _default$11 as FloatingPanelStageTrigger, type FloatingPanelStageTriggerBaseProps, type FloatingPanelStageTriggerProps, _default$12 as FloatingPanelTitle, type FloatingPanelTitleBaseProps, type FloatingPanelTitleProps, _default$13 as FloatingPanelTrigger, type FloatingPanelTriggerBaseProps, type FloatingPanelTriggerProps, type UseFloatingPanelContext, type UseFloatingPanelProps, type UseFloatingPanelReturn, floatingPanelAnatomy, useFloatingPanel, useFloatingPanelContext };
|
|
336
|
+
export { floating_panel_d_exports as FloatingPanel, _default as FloatingPanelBody, type FloatingPanelBodyBaseProps, type FloatingPanelBodyProps, _default$1 as FloatingPanelCloseTrigger, type FloatingPanelCloseTriggerBaseProps, type FloatingPanelCloseTriggerProps, _default$2 as FloatingPanelContent, type FloatingPanelContentBaseProps, type FloatingPanelContentProps, _default$3 as FloatingPanelContext, type FloatingPanelContextProps, _default$4 as FloatingPanelControl, type FloatingPanelControlBaseProps, type FloatingPanelControlProps, _default$5 as FloatingPanelDragTrigger, type FloatingPanelDragTriggerBaseProps, type FloatingPanelDragTriggerProps, _default$6 as FloatingPanelHeader, type FloatingPanelHeaderBaseProps, type FloatingPanelHeaderProps, type FloatingPanelOpenChangeDetails, type FloatingPanelPositionChangeDetails, _default$7 as FloatingPanelPositioner, type FloatingPanelPositionerBaseProps, type FloatingPanelPositionerProps, _default$8 as FloatingPanelResizeTrigger, type FloatingPanelResizeTriggerBaseProps, type FloatingPanelResizeTriggerProps, _default$9 as FloatingPanelRoot, type FloatingPanelRootBaseProps, type FloatingPanelRootEmits, type FloatingPanelRootProps, _default$10 as FloatingPanelRootProvider, type FloatingPanelRootProviderBaseProps, type FloatingPanelRootProviderEmits, type FloatingPanelRootProviderProps, type FloatingPanelSizeChangeDetails, type FloatingPanelStageChangeDetails, _default$11 as FloatingPanelStageTrigger, type FloatingPanelStageTriggerBaseProps, type FloatingPanelStageTriggerProps, _default$12 as FloatingPanelTitle, type FloatingPanelTitleBaseProps, type FloatingPanelTitleProps, _default$13 as FloatingPanelTrigger, type FloatingPanelTriggerBaseProps, type FloatingPanelTriggerProps, type UseFloatingPanelContext, type UseFloatingPanelProps, type UseFloatingPanelReturn, floatingPanelAnatomy, useFloatingPanel, useFloatingPanelContext };
|
|
@@ -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
7
|
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
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
|
|
@@ -352,6 +352,7 @@ var floating_panel_root_default = /* @__PURE__ */ defineComponent({
|
|
|
352
352
|
draggable: void 0
|
|
353
353
|
}),
|
|
354
354
|
emits: [
|
|
355
|
+
"exitComplete",
|
|
355
356
|
"openChange",
|
|
356
357
|
"update:open",
|
|
357
358
|
"positionChange",
|
|
@@ -364,13 +365,14 @@ var floating_panel_root_default = /* @__PURE__ */ defineComponent({
|
|
|
364
365
|
],
|
|
365
366
|
setup(__props, { emit: __emit }) {
|
|
366
367
|
const props = __props;
|
|
367
|
-
const
|
|
368
|
+
const emits = __emit;
|
|
369
|
+
const floatingPanel = useFloatingPanel(props, emits);
|
|
368
370
|
FloatingPanelProvider(floatingPanel);
|
|
369
371
|
PresenceProvider(usePresence(computed(() => ({
|
|
370
372
|
present: floatingPanel.value.open,
|
|
371
373
|
lazyMount: props.lazyMount,
|
|
372
374
|
unmountOnExit: props.unmountOnExit
|
|
373
|
-
}))));
|
|
375
|
+
})), emits));
|
|
374
376
|
useForwardExpose();
|
|
375
377
|
return (_ctx, _cache) => {
|
|
376
378
|
return renderSlot(_ctx.$slots, "default");
|
|
@@ -395,11 +397,17 @@ var floating_panel_root_provider_default = /* @__PURE__ */ defineComponent({
|
|
|
395
397
|
required: false
|
|
396
398
|
}
|
|
397
399
|
},
|
|
398
|
-
|
|
400
|
+
emits: ["exitComplete"],
|
|
401
|
+
setup(__props, { emit: __emit }) {
|
|
399
402
|
const props = __props;
|
|
403
|
+
const emits = __emit;
|
|
400
404
|
const floatingPanel = computed(() => props.value);
|
|
401
405
|
FloatingPanelProvider(floatingPanel);
|
|
402
|
-
PresenceProvider(usePresence(computed(() => ({
|
|
406
|
+
PresenceProvider(usePresence(computed(() => ({
|
|
407
|
+
present: floatingPanel.value.open,
|
|
408
|
+
lazyMount: props.lazyMount,
|
|
409
|
+
unmountOnExit: props.unmountOnExit
|
|
410
|
+
})), emits));
|
|
403
411
|
useForwardExpose();
|
|
404
412
|
return (_ctx, _cache) => {
|
|
405
413
|
return renderSlot(_ctx.$slots, "default");
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import "../../core-
|
|
2
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
1
|
+
import "../../core-DFdl8jS7.js";
|
|
2
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
3
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";
|
|
@@ -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 { 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,9 +6,9 @@ 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 _sprawlify_primitives_machines_dialog0 from "@sprawlify/primitives/machines/dialog";
|
|
10
9
|
import * as hoverCard from "@sprawlify/primitives/machines/hover-card";
|
|
11
10
|
import { FocusOutsideEvent, FocusOutsideEvent as HoverCardFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as HoverCardInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as HoverCardOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as HoverCardPointerDownOutsideEvent } from "@sprawlify/primitives/machines/hover-card";
|
|
11
|
+
import * as _sprawlify_primitives_machines_popover0 from "@sprawlify/primitives/machines/popover";
|
|
12
12
|
|
|
13
13
|
//#region src/components/hover-card/hover-card-arrow-tip.vue.d.ts
|
|
14
14
|
interface HoverCardArrowTipBaseProps extends PolymorphicProps {}
|
|
@@ -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,23 +152,23 @@ 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
|
-
openChange: (details: hoverCard.OpenChangeDetails) => any;
|
|
156
155
|
exitComplete: () => any;
|
|
157
|
-
|
|
158
|
-
interactOutside: (event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any;
|
|
159
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any;
|
|
156
|
+
openChange: (details: hoverCard.OpenChangeDetails) => any;
|
|
160
157
|
"update:open": (open: boolean) => any;
|
|
158
|
+
focusOutside: (event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any;
|
|
159
|
+
interactOutside: (event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any;
|
|
160
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any;
|
|
161
161
|
}, string, vue.PublicProps, Readonly<HoverCardRootProps> & Readonly<{
|
|
162
|
-
onOpenChange?: ((details: hoverCard.OpenChangeDetails) => any) | undefined;
|
|
163
162
|
onExitComplete?: (() => any) | undefined;
|
|
164
|
-
|
|
165
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_dialog0.InteractOutsideEvent) => any) | undefined;
|
|
166
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_dialog0.PointerDownOutsideEvent) => any) | undefined;
|
|
163
|
+
onOpenChange?: ((details: hoverCard.OpenChangeDetails) => any) | undefined;
|
|
167
164
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
165
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_popover0.FocusOutsideEvent) => any) | undefined;
|
|
166
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_popover0.InteractOutsideEvent) => any) | undefined;
|
|
167
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_popover0.PointerDownOutsideEvent) => any) | undefined;
|
|
168
168
|
}>, {
|
|
169
169
|
disabled: boolean;
|
|
170
|
-
open: boolean;
|
|
171
170
|
defaultOpen: boolean;
|
|
171
|
+
open: boolean;
|
|
172
172
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
173
173
|
default?: (props: {}) => any;
|
|
174
174
|
}>;
|
|
@@ -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
7
|
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
8
|
import { t as RenderStrategyPropsProvider } from "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-pbuEa-1d.js";
|
|
2
|
-
import { n as useMachine, r as normalizeProps$1 } from "../../core-
|
|
3
|
-
import { a as
|
|
2
|
+
import { n as useMachine, r as normalizeProps$1 } from "../../core-DFdl8jS7.js";
|
|
3
|
+
import { a as DEFAULT_LOCALE, c as DEFAULT_ENVIRONMENT, l as useEnvironmentContext, o as useLocaleContext } from "../../providers-CicBbUXG.js";
|
|
4
4
|
import { t as createContext } from "../../create-context-BqbKqBMN.js";
|
|
5
|
-
import { n as sprawlify, r as useForwardExpose } from "../../factory-
|
|
5
|
+
import { n as sprawlify, r as useForwardExpose } from "../../factory-Bd0Y5x-7.js";
|
|
6
6
|
import { t as imageCropperAnatomy } from "../../image-cropper-anatomy-D3tfc-sw.js";
|
|
7
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";
|
|
@@ -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-CkAv25xX.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
|
}
|
|
@@ -25,9 +25,9 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue.DefineComponent<JsonTreeView
|
|
|
25
25
|
asChild: boolean;
|
|
26
26
|
lazyMount: boolean;
|
|
27
27
|
unmountOnExit: boolean;
|
|
28
|
-
showNonenumerable: boolean;
|
|
29
28
|
expandOnClick: boolean;
|
|
30
29
|
typeahead: boolean;
|
|
30
|
+
showNonenumerable: boolean;
|
|
31
31
|
quotesOnKeys: boolean;
|
|
32
32
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>, {
|
|
33
33
|
default?: (props: {}) => any;
|
|
@@ -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 "../../collapsible-
|
|
5
|
+
import "../../factory-Bd0Y5x-7.js";
|
|
6
|
+
import "../../collapsible-CU8jdmsD.js";
|
|
7
7
|
import { t as createSplitProps } from "../../create-split-props-D32I38aE.js";
|
|
8
8
|
import "../../use-render-strategy-QgtvU85q.js";
|
|
9
|
-
import { a as createTreeCollection } from "../../collection-
|
|
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-
|
|
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-qjnhtt5d.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
7
|
import { t as cleanProps } from "../../clean-props-C5aydRx_.js";
|
|
8
|
-
import { o as createListCollection } from "../../collection-
|
|
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
|