@sprawlify/vue 0.0.72 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{collapsible-jX9S7WYj.js → collapsible-SXAS3iFc.js} +1 -1
- package/dist/{collection-DGKjEgOz.js → collection-C_ZHBDQD.js} +1 -1
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/angle-slider/index.d.ts +15 -15
- package/dist/components/angle-slider/index.js +1 -1
- package/dist/components/avatar/index.d.ts +8 -8
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +16 -16
- package/dist/components/bottom-sheet/index.js +4 -4
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.d.ts +23 -23
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +16 -16
- package/dist/components/clipboard/index.js +1 -1
- package/dist/components/collapsible/index.d.ts +11 -11
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +48 -48
- package/dist/components/color-picker/index.js +3 -3
- package/dist/components/combobox/index.d.ts +31 -31
- package/dist/components/combobox/index.js +4 -4
- package/dist/components/date-picker/index.d.ts +42 -42
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/dialog/index.d.ts +28 -28
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +24 -24
- package/dist/components/editable/index.js +1 -1
- package/dist/components/field/index.d.ts +23 -23
- package/dist/components/fieldset/index.d.ts +12 -12
- package/dist/components/file-upload/index.d.ts +20 -20
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-panel/index.d.ts +19 -19
- package/dist/components/floating-panel/index.js +2 -2
- package/dist/components/focus-trap/index.d.ts +4 -4
- package/dist/components/focus-trap/index.js +1 -1
- package/dist/components/format/index.d.ts +4 -4
- package/dist/components/frame/index.d.ts +6 -6
- package/dist/components/highlight/index.d.ts +4 -4
- package/dist/components/highlight/index.js +1 -1
- package/dist/components/hover-card/index.d.ts +21 -21
- package/dist/components/hover-card/index.js +3 -3
- package/dist/components/image-cropper/index.d.ts +13 -13
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/json-tree-view/index.d.ts +7 -7
- package/dist/components/json-tree-view/index.js +5 -5
- package/dist/components/listbox/index.d.ts +22 -22
- package/dist/components/listbox/index.js +2 -2
- package/dist/components/marquee/index.d.ts +20 -20
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/menu/index.d.ts +45 -45
- package/dist/components/menu/index.js +3 -3
- package/dist/components/navigation-menu/index.d.ts +16 -16
- package/dist/components/navigation-menu/index.js +3 -3
- package/dist/components/number-input/index.d.ts +15 -15
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.d.ts +14 -14
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.d.ts +20 -20
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/pin-input/index.d.ts +12 -12
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.d.ts +31 -31
- package/dist/components/popover/index.js +3 -3
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/presence/index.js +1 -1
- package/dist/components/progress/index.d.ts +12 -12
- package/dist/components/progress/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +8 -8
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.d.ts +15 -15
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/rating-group/index.d.ts +13 -13
- package/dist/components/rating-group/index.js +1 -1
- package/dist/components/scroll-area/index.d.ts +9 -9
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/segment-group/index.d.ts +17 -17
- package/dist/components/segment-group/index.js +1 -1
- package/dist/components/select/index.d.ts +30 -30
- package/dist/components/select/index.js +4 -4
- package/dist/components/signature-pad/index.d.ts +12 -12
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.ts +20 -20
- package/dist/components/slider/index.js +1 -1
- package/dist/components/splitter/index.d.ts +9 -9
- package/dist/components/splitter/index.js +1 -1
- package/dist/components/steps/index.d.ts +17 -17
- package/dist/components/steps/index.js +1 -1
- package/dist/components/switch/index.d.ts +14 -14
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +14 -14
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tags-input/index.d.ts +27 -27
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/timer/index.d.ts +11 -11
- package/dist/components/timer/index.js +1 -1
- package/dist/components/toast/index.d.ts +154 -0
- package/dist/components/toast/index.js +265 -0
- package/dist/components/toggle/index.d.ts +101 -0
- package/dist/components/toggle/index.js +131 -0
- package/dist/components/toggle-group/index.d.ts +127 -0
- package/dist/components/toggle-group/index.js +207 -0
- package/dist/components/tooltip/index.d.ts +201 -0
- package/dist/components/tooltip/index.js +349 -0
- package/dist/components/tour/index.d.ts +308 -0
- package/dist/components/tour/index.js +505 -0
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/index.js +4 -4
- package/dist/{index-B_UiXhk3.d.ts → index-8bjPAUl0.d.ts} +9 -9
- package/dist/{index-xb1q4_02.d.ts → index-BnYwp0nl.d.ts} +7 -7
- package/dist/{index-DwWFWpls.d.ts → index-CmCVWB7e.d.ts} +28 -28
- package/dist/index.d.ts +1 -1
- package/dist/{tree-view-Ctpu5RjE.js → tree-view-N6ShNmpe.js} +4 -4
- package/package.json +22 -2
- /package/dist/{clean-props-D2R4tz5e.js → clean-props-ChPEW0vT.js} +0 -0
- /package/dist/{create-split-props-0RD5_O4P.js → create-split-props-BDJ_VWs3.js} +0 -0
- /package/dist/{presence-B4-UhJY9.js → presence-BK6rPXK7.js} +0 -0
- /package/dist/{use-render-strategy-DA33j31C.js → use-render-strategy-DMa_QmB6.js} +0 -0
|
@@ -3,11 +3,11 @@ import { t as RootEmits$1 } from "../../presence-types-BJRr8tqd.js";
|
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
4
4
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-U5NxU252.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue2366 from "vue";
|
|
7
7
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
8
8
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
9
9
|
import { FocusOutsideEvent, FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as DialogPointerDownOutsideEvent, anatomy as dialogAnatomy } from "@sprawlify/primitives/machines/dialog";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _sprawlify_primitives_machines_menu56 from "@sprawlify/primitives/machines/menu";
|
|
11
11
|
|
|
12
12
|
//#region src/components/dialog/dialog-backdrop.vue.d.ts
|
|
13
13
|
interface DialogBackdropBaseProps extends PolymorphicProps {}
|
|
@@ -17,7 +17,7 @@ interface DialogBackdropProps extends DialogBackdropBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
HTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export$9;
|
|
20
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
20
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue2366.DefineComponent<DialogBackdropProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -34,7 +34,7 @@ interface DialogCloseTriggerProps extends DialogCloseTriggerBaseProps,
|
|
|
34
34
|
*/
|
|
35
35
|
ButtonHTMLAttributes {}
|
|
36
36
|
declare const _default$1: typeof __VLS_export$8;
|
|
37
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
37
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue2366.DefineComponent<DialogCloseTriggerProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
38
38
|
default?: (props: {}) => any;
|
|
39
39
|
}>;
|
|
40
40
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -51,7 +51,7 @@ interface DialogContentProps extends DialogContentBaseProps,
|
|
|
51
51
|
*/
|
|
52
52
|
HTMLAttributes {}
|
|
53
53
|
declare const _default$2: typeof __VLS_export$7;
|
|
54
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
54
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue2366.DefineComponent<DialogContentProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
55
55
|
default?: (props: {}) => any;
|
|
56
56
|
}>;
|
|
57
57
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -68,7 +68,7 @@ interface DialogDescriptionProps extends DialogDescriptionBaseProps,
|
|
|
68
68
|
*/
|
|
69
69
|
HTMLAttributes {}
|
|
70
70
|
declare const _default$4: typeof __VLS_export$6;
|
|
71
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
71
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2366.DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
72
72
|
default?: (props: {}) => any;
|
|
73
73
|
}>;
|
|
74
74
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -85,7 +85,7 @@ interface DialogPositionerProps extends DialogPositionerBaseProps,
|
|
|
85
85
|
*/
|
|
86
86
|
HTMLAttributes {}
|
|
87
87
|
declare const _default$5: typeof __VLS_export$5;
|
|
88
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
88
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2366.DefineComponent<DialogPositionerProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
89
89
|
default?: (props: {}) => any;
|
|
90
90
|
}>;
|
|
91
91
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -102,11 +102,11 @@ interface DialogRootProviderBaseProps extends RootProviderProps, RenderStrategyP
|
|
|
102
102
|
interface DialogRootProviderProps extends DialogRootProviderBaseProps {}
|
|
103
103
|
interface DialogRootProviderEmits extends RootEmits$1 {}
|
|
104
104
|
declare const _default$7: typeof __VLS_export$4;
|
|
105
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
105
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2366.DefineComponent<DialogRootProviderProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {
|
|
106
106
|
exitComplete: () => any;
|
|
107
|
-
}, string,
|
|
107
|
+
}, string, vue2366.PublicProps, Readonly<DialogRootProviderProps> & Readonly<{
|
|
108
108
|
onExitComplete?: (() => any) | undefined;
|
|
109
|
-
}>, {}, {}, {}, {}, string,
|
|
109
|
+
}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
110
110
|
default?: (props: {}) => any;
|
|
111
111
|
}>;
|
|
112
112
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -162,44 +162,44 @@ interface DialogRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
162
162
|
interface DialogRootProps extends DialogRootBaseProps {}
|
|
163
163
|
interface DialogRootEmits extends RootEmits {}
|
|
164
164
|
declare const _default$6: typeof __VLS_export$3;
|
|
165
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
165
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2366.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {
|
|
166
166
|
exitComplete: () => any;
|
|
167
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
168
|
-
focusOutside: (event: _sprawlify_primitives_machines_menu38.FocusOutsideEvent) => any;
|
|
169
|
-
interactOutside: (event: _sprawlify_primitives_machines_menu38.InteractOutsideEvent) => any;
|
|
170
167
|
openChange: (details: dialog.OpenChangeDetails) => any;
|
|
171
|
-
|
|
168
|
+
"update:open": (open: boolean) => any;
|
|
169
|
+
focusOutside: (event: _sprawlify_primitives_machines_menu56.FocusOutsideEvent) => any;
|
|
170
|
+
interactOutside: (event: _sprawlify_primitives_machines_menu56.InteractOutsideEvent) => any;
|
|
171
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_menu56.PointerDownOutsideEvent) => any;
|
|
172
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
172
173
|
requestDismiss: (event: CustomEvent<{
|
|
173
174
|
originalLayer: HTMLElement;
|
|
174
175
|
targetLayer: HTMLElement | undefined;
|
|
175
176
|
originalIndex: number;
|
|
176
177
|
targetIndex: number;
|
|
177
178
|
}>) => any;
|
|
178
|
-
|
|
179
|
-
}, string, vue1577.PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
179
|
+
}, string, vue2366.PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
180
180
|
onExitComplete?: (() => any) | undefined;
|
|
181
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
182
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_menu38.FocusOutsideEvent) => any) | undefined;
|
|
183
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_menu38.InteractOutsideEvent) => any) | undefined;
|
|
184
181
|
onOpenChange?: ((details: dialog.OpenChangeDetails) => any) | undefined;
|
|
185
|
-
|
|
182
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
183
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_menu56.FocusOutsideEvent) => any) | undefined;
|
|
184
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_menu56.InteractOutsideEvent) => any) | undefined;
|
|
185
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu56.PointerDownOutsideEvent) => any) | undefined;
|
|
186
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
186
187
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
187
188
|
originalLayer: HTMLElement;
|
|
188
189
|
targetLayer: HTMLElement | undefined;
|
|
189
190
|
originalIndex: number;
|
|
190
191
|
targetIndex: number;
|
|
191
192
|
}>) => any) | undefined;
|
|
192
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
193
193
|
}>, {
|
|
194
194
|
open: boolean;
|
|
195
|
+
defaultOpen: boolean;
|
|
195
196
|
closeOnEscape: boolean;
|
|
196
197
|
closeOnInteractOutside: boolean;
|
|
197
|
-
defaultOpen: boolean;
|
|
198
|
-
modal: boolean;
|
|
199
198
|
trapFocus: boolean;
|
|
200
199
|
preventScroll: boolean;
|
|
200
|
+
modal: boolean;
|
|
201
201
|
restoreFocus: boolean;
|
|
202
|
-
}, {}, {}, {}, string,
|
|
202
|
+
}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
203
203
|
default?: (props: {}) => any;
|
|
204
204
|
}>;
|
|
205
205
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -216,7 +216,7 @@ interface DialogTitleProps extends DialogTitleBaseProps,
|
|
|
216
216
|
*/
|
|
217
217
|
HTMLAttributes {}
|
|
218
218
|
declare const _default$8: typeof __VLS_export$2;
|
|
219
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
219
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2366.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
220
220
|
default?: (props: {}) => any;
|
|
221
221
|
}>;
|
|
222
222
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -233,7 +233,7 @@ interface DialogTriggerProps extends DialogTriggerBaseProps,
|
|
|
233
233
|
*/
|
|
234
234
|
ButtonHTMLAttributes {}
|
|
235
235
|
declare const _default$9: typeof __VLS_export$1;
|
|
236
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
236
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2366.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, false, {}, any>, {
|
|
237
237
|
default?: (props: {}) => any;
|
|
238
238
|
}>;
|
|
239
239
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -258,7 +258,7 @@ interface DialogContextProps extends SlotsType<{
|
|
|
258
258
|
default: UnwrapRef<UseDialogContext>;
|
|
259
259
|
}> {}
|
|
260
260
|
declare const _default$3: typeof __VLS_export;
|
|
261
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
261
|
+
declare const __VLS_export: __VLS_WithSlots<vue2366.DefineComponent<{}, {}, {}, {}, {}, vue2366.ComponentOptionsMixin, vue2366.ComponentOptionsMixin, {}, string, vue2366.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2366.ComponentProvideOptions, true, {}, any>, {
|
|
262
262
|
default(dialog: UnwrapRef<UseDialogContext>): unknown;
|
|
263
263
|
}>;
|
|
264
264
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,9 +4,9 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
8
|
-
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-
|
|
9
|
-
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
8
|
+
import { n as useRenderStrategyProps, t as RenderStrategyPropsProvider } from "../../use-render-strategy-DMa_QmB6.js";
|
|
9
|
+
import { i as usePresence, n as PresenceProvider, r as usePresenceContext } from "../../presence-BK6rPXK7.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
11
11
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
12
12
|
import { anatomy as dialogAnatomy } from "@sprawlify/primitives/machines/dialog";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
2
|
import { i as MaybePromise } from "../../types-DIEO6uP3.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue331 from "vue";
|
|
4
4
|
import { ButtonHTMLAttributes } from "vue";
|
|
5
5
|
import { FileMimeType } from "@sprawlify/primitives/file-utils";
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ interface DownloadTriggerProps extends DownloadTriggerBaseProps,
|
|
|
17
17
|
*/
|
|
18
18
|
ButtonHTMLAttributes {}
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<vue331.DefineComponent<DownloadTriggerProps, {}, {}, {}, {}, vue331.ComponentOptionsMixin, vue331.ComponentOptionsMixin, {}, string, vue331.PublicProps, Readonly<DownloadTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue331.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-DIEO6uP3.js";
|
|
3
3
|
import { r as PropTypes } from "../../index-CCRVRFFQ.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue2636 from "vue";
|
|
5
5
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
6
6
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
7
7
|
import { EditChangeDetails as EditableEditChangeDetails, FocusOutsideEvent, FocusOutsideEvent as EditableFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as EditableInteractOutsideEvent, PointerDownOutsideEvent, PointerDownOutsideEvent as EditablePointerDownOutsideEvent, ValueChangeDetails, ValueChangeDetails as EditableValueChangeDetails, anatomy as editableAnatomy } from "@sprawlify/primitives/machines/editable";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _sprawlify_primitives_machines_menu62 from "@sprawlify/primitives/machines/menu";
|
|
9
9
|
|
|
10
10
|
//#region src/components/editable/editable-area.vue.d.ts
|
|
11
11
|
interface EditableAreaBaseProps extends PolymorphicProps {}
|
|
@@ -15,7 +15,7 @@ interface EditableAreaProps extends EditableAreaBaseProps,
|
|
|
15
15
|
*/
|
|
16
16
|
HTMLAttributes {}
|
|
17
17
|
declare const _default: typeof __VLS_export$10;
|
|
18
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
18
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue2636.DefineComponent<EditableAreaProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
19
19
|
default?: (props: {}) => any;
|
|
20
20
|
}>;
|
|
21
21
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -32,7 +32,7 @@ interface EditableCancelTriggerProps extends EditableCancelTriggerBaseProps,
|
|
|
32
32
|
*/
|
|
33
33
|
ButtonHTMLAttributes {}
|
|
34
34
|
declare const _default$1: typeof __VLS_export$9;
|
|
35
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
35
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue2636.DefineComponent<EditableCancelTriggerProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableCancelTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
36
36
|
default?: (props: {}) => any;
|
|
37
37
|
}>;
|
|
38
38
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -49,7 +49,7 @@ interface EditableControlProps extends EditableControlBaseProps,
|
|
|
49
49
|
*/
|
|
50
50
|
HTMLAttributes {}
|
|
51
51
|
declare const _default$3: typeof __VLS_export$8;
|
|
52
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
52
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue2636.DefineComponent<EditableControlProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
53
53
|
default?: (props: {}) => any;
|
|
54
54
|
}>;
|
|
55
55
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -66,7 +66,7 @@ interface EditableEditTriggerProps extends EditableEditTriggerBaseProps,
|
|
|
66
66
|
*/
|
|
67
67
|
ButtonHTMLAttributes {}
|
|
68
68
|
declare const _default$4: typeof __VLS_export$7;
|
|
69
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
69
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue2636.DefineComponent<EditableEditTriggerProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableEditTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
70
70
|
default?: (props: {}) => any;
|
|
71
71
|
}>;
|
|
72
72
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -83,7 +83,7 @@ interface EditableInputProps extends EditableInputBaseProps,
|
|
|
83
83
|
*/
|
|
84
84
|
InputHTMLAttributes {}
|
|
85
85
|
declare const _default$5: typeof __VLS_export$6;
|
|
86
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
86
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue2636.DefineComponent<EditableInputProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
87
87
|
default?: (props: {}) => any;
|
|
88
88
|
}>;
|
|
89
89
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -100,7 +100,7 @@ interface EditableLabelProps extends EditableLabelBaseProps,
|
|
|
100
100
|
*/
|
|
101
101
|
LabelHTMLAttributes {}
|
|
102
102
|
declare const _default$6: typeof __VLS_export$5;
|
|
103
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
103
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue2636.DefineComponent<EditableLabelProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
104
104
|
default?: (props: {}) => any;
|
|
105
105
|
}>;
|
|
106
106
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -117,7 +117,7 @@ interface EditablePreviewProps extends EditablePreviewBaseProps,
|
|
|
117
117
|
*/
|
|
118
118
|
HTMLAttributes {}
|
|
119
119
|
declare const _default$7: typeof __VLS_export$4;
|
|
120
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
120
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue2636.DefineComponent<EditablePreviewProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditablePreviewProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
121
121
|
default?: (props: {}) => any;
|
|
122
122
|
}>;
|
|
123
123
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -137,7 +137,7 @@ interface EditableRootProviderProps extends EditableRootProviderBaseProps,
|
|
|
137
137
|
*/
|
|
138
138
|
Omit<HTMLAttributes, 'placeholder'> {}
|
|
139
139
|
declare const _default$9: typeof __VLS_export$3;
|
|
140
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
140
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue2636.DefineComponent<EditableRootProviderProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
141
141
|
default?: (props: {}) => any;
|
|
142
142
|
}>;
|
|
143
143
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -203,22 +203,22 @@ interface EditableRootProps extends EditableRootBaseProps,
|
|
|
203
203
|
Omit<HTMLAttributes, 'placeholder'> {}
|
|
204
204
|
interface EditableRootEmits extends RootEmits {}
|
|
205
205
|
declare const _default$8: typeof __VLS_export$2;
|
|
206
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
207
|
-
valueChange: (details: editable.ValueChangeDetails) => any;
|
|
206
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue2636.DefineComponent<EditableRootProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {
|
|
208
207
|
"update:modelValue": (value: string) => any;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
valueChange: (details: editable.ValueChangeDetails) => any;
|
|
209
|
+
focusOutside: (event: _sprawlify_primitives_machines_menu62.FocusOutsideEvent) => any;
|
|
210
|
+
interactOutside: (event: _sprawlify_primitives_machines_menu62.InteractOutsideEvent) => any;
|
|
211
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_menu62.PointerDownOutsideEvent) => any;
|
|
212
212
|
editChange: (details: editable.EditChangeDetails) => any;
|
|
213
213
|
valueCommit: (details: editable.ValueChangeDetails) => any;
|
|
214
214
|
valueRevert: (details: editable.ValueChangeDetails) => any;
|
|
215
215
|
"update:edit": (edit: boolean) => any;
|
|
216
|
-
}, string,
|
|
217
|
-
onValueChange?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
216
|
+
}, string, vue2636.PublicProps, Readonly<EditableRootProps> & Readonly<{
|
|
218
217
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
onValueChange?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
219
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_menu62.FocusOutsideEvent) => any) | undefined;
|
|
220
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_menu62.InteractOutsideEvent) => any) | undefined;
|
|
221
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_menu62.PointerDownOutsideEvent) => any) | undefined;
|
|
222
222
|
onEditChange?: ((details: editable.EditChangeDetails) => any) | undefined;
|
|
223
223
|
onValueCommit?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
224
224
|
onValueRevert?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
@@ -230,9 +230,9 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue2158.DefineComponent<Editable
|
|
|
230
230
|
readOnly: boolean;
|
|
231
231
|
selectOnFocus: boolean;
|
|
232
232
|
autoResize: boolean;
|
|
233
|
-
edit: boolean;
|
|
234
233
|
defaultEdit: boolean;
|
|
235
|
-
|
|
234
|
+
edit: boolean;
|
|
235
|
+
}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
236
236
|
default?: (props: {}) => any;
|
|
237
237
|
}>;
|
|
238
238
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -249,7 +249,7 @@ interface EditableSubmitTriggerProps extends EditableSubmitTriggerBaseProps,
|
|
|
249
249
|
*/
|
|
250
250
|
ButtonHTMLAttributes {}
|
|
251
251
|
declare const _default$10: typeof __VLS_export$1;
|
|
252
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
252
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue2636.DefineComponent<EditableSubmitTriggerProps, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<EditableSubmitTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, false, {}, any>, {
|
|
253
253
|
default?: (props: {}) => any;
|
|
254
254
|
}>;
|
|
255
255
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -276,7 +276,7 @@ interface EditableContextProps extends SlotsType<{
|
|
|
276
276
|
default: UnwrapRef<UseEditableContext>;
|
|
277
277
|
}> {}
|
|
278
278
|
declare const _default$2: typeof __VLS_export;
|
|
279
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
279
|
+
declare const __VLS_export: __VLS_WithSlots<vue2636.DefineComponent<{}, {}, {}, {}, {}, vue2636.ComponentOptionsMixin, vue2636.ComponentOptionsMixin, {}, string, vue2636.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2636.ComponentProvideOptions, true, {}, any>, {
|
|
280
280
|
default(editable: UnwrapRef<UseEditableContext>): unknown;
|
|
281
281
|
}>;
|
|
282
282
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,7 +4,7 @@ import { a as useLocaleContext, c as useEnvironmentContext, i as DEFAULT_LOCALE,
|
|
|
4
4
|
import { t as createContext } from "../../create-context-Ds1GbsVc.js";
|
|
5
5
|
import { t as useForwardExpose } from "../../use-forward-expose-CCAmHTUB.js";
|
|
6
6
|
import { t as sprawlify } from "../../factory-Co08Aw8u.js";
|
|
7
|
-
import { t as cleanProps } from "../../clean-props-
|
|
7
|
+
import { t as cleanProps } from "../../clean-props-ChPEW0vT.js";
|
|
8
8
|
import { m as useFieldContext } from "../../field-CtPR24u6.js";
|
|
9
9
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
10
10
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue104 from "vue";
|
|
3
3
|
import { HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, TextareaHTMLAttributes, UnwrapRef } from "vue";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _sprawlify_primitives_anatomy0 from "@sprawlify/primitives/anatomy";
|
|
5
5
|
|
|
6
6
|
//#region src/components/field/field-types.d.ts
|
|
7
7
|
interface ElementIds {
|
|
@@ -30,7 +30,7 @@ interface UseFieldProps {
|
|
|
30
30
|
readOnly?: boolean;
|
|
31
31
|
}
|
|
32
32
|
type UseFieldReturn = ReturnType<typeof useField>;
|
|
33
|
-
declare const useField: (props?: MaybeRef<UseFieldProps>) =>
|
|
33
|
+
declare const useField: (props?: MaybeRef<UseFieldProps>) => vue104.ComputedRef<{
|
|
34
34
|
ariaDescribedby: string | undefined;
|
|
35
35
|
ids: {
|
|
36
36
|
control: string;
|
|
@@ -39,7 +39,7 @@ declare const useField: (props?: MaybeRef<UseFieldProps>) => vue1313.ComputedRef
|
|
|
39
39
|
helperText: string;
|
|
40
40
|
};
|
|
41
41
|
refs: {
|
|
42
|
-
rootRef:
|
|
42
|
+
rootRef: vue104.Ref<null, null>;
|
|
43
43
|
};
|
|
44
44
|
disabled: boolean | undefined;
|
|
45
45
|
invalid: boolean | undefined;
|
|
@@ -121,7 +121,7 @@ interface FieldContextProps extends SlotsType<{
|
|
|
121
121
|
default: UnwrapRef<UseFieldContext>;
|
|
122
122
|
}> {}
|
|
123
123
|
declare const _default: typeof __VLS_export$9;
|
|
124
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
124
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue104.DefineComponent<{}, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, true, {}, any>, {
|
|
125
125
|
default(field: UnwrapRef<UseFieldContext>): unknown;
|
|
126
126
|
}>;
|
|
127
127
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -138,7 +138,7 @@ interface FieldErrorTextProps extends FieldErrorTextBaseProps,
|
|
|
138
138
|
*/
|
|
139
139
|
HTMLAttributes {}
|
|
140
140
|
declare const _default$1: typeof __VLS_export$8;
|
|
141
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
141
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue104.DefineComponent<FieldErrorTextProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<FieldErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
142
142
|
default?: (props: {}) => any;
|
|
143
143
|
}>;
|
|
144
144
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -155,7 +155,7 @@ interface FieldHelperTextProps extends FieldHelperTextBaseProps,
|
|
|
155
155
|
*/
|
|
156
156
|
HTMLAttributes {}
|
|
157
157
|
declare const _default$2: typeof __VLS_export$7;
|
|
158
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
158
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue104.DefineComponent<FieldHelperTextProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<FieldHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
159
159
|
default?: (props: {}) => any;
|
|
160
160
|
}>;
|
|
161
161
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -174,11 +174,11 @@ Omit<InputHTMLAttributes, 'value'> {
|
|
|
174
174
|
modelValue?: InputHTMLAttributes['value'];
|
|
175
175
|
}
|
|
176
176
|
declare const _default$3: typeof __VLS_export$6;
|
|
177
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
177
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue104.DefineComponent<FieldInputProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {
|
|
178
178
|
"update:modelValue": (...args: any[]) => void;
|
|
179
|
-
}, string,
|
|
179
|
+
}, string, vue104.PublicProps, Readonly<FieldInputProps> & Readonly<{
|
|
180
180
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
181
|
-
}>, {}, {}, {}, {}, string,
|
|
181
|
+
}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
182
182
|
default?: (props: {}) => any;
|
|
183
183
|
}>;
|
|
184
184
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -195,7 +195,7 @@ interface FieldLabelProps extends FieldLabelBaseProps,
|
|
|
195
195
|
*/
|
|
196
196
|
LabelHTMLAttributes {}
|
|
197
197
|
declare const _default$4: typeof __VLS_export$5;
|
|
198
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
198
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue104.DefineComponent<FieldLabelProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
199
199
|
default?: (props: {}) => any;
|
|
200
200
|
}>;
|
|
201
201
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -212,7 +212,7 @@ interface FieldRequiredIndicatorProps extends FieldRequiredIndicatorBaseProps,
|
|
|
212
212
|
*/
|
|
213
213
|
HTMLAttributes {}
|
|
214
214
|
declare const _default$5: typeof __VLS_export$4;
|
|
215
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
215
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue104.DefineComponent<FieldRequiredIndicatorProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<FieldRequiredIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
216
216
|
default?: (props: {}) => any;
|
|
217
217
|
} & {
|
|
218
218
|
fallback?: (props: {}) => any;
|
|
@@ -234,7 +234,7 @@ interface FieldRootProviderProps extends FieldRootProviderBaseProps,
|
|
|
234
234
|
*/
|
|
235
235
|
HTMLAttributes {}
|
|
236
236
|
declare const _default$7: typeof __VLS_export$3;
|
|
237
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
237
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue104.DefineComponent<FieldRootProviderProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<FieldRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
238
238
|
default?: (props: {}) => any;
|
|
239
239
|
}>;
|
|
240
240
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -251,12 +251,12 @@ interface FieldRootProps extends FieldRootBaseProps,
|
|
|
251
251
|
*/
|
|
252
252
|
HTMLAttributes {}
|
|
253
253
|
declare const _default$6: typeof __VLS_export$2;
|
|
254
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
254
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue104.DefineComponent<FieldRootProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {}, string, vue104.PublicProps, Readonly<FieldRootProps> & Readonly<{}>, {
|
|
255
255
|
required: boolean;
|
|
256
256
|
disabled: boolean;
|
|
257
257
|
invalid: boolean;
|
|
258
258
|
readOnly: boolean;
|
|
259
|
-
}, {}, {}, {}, string,
|
|
259
|
+
}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
260
260
|
default?: (props: {}) => any;
|
|
261
261
|
}>;
|
|
262
262
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -275,15 +275,15 @@ Omit<SelectHTMLAttributes, 'value'> {
|
|
|
275
275
|
modelValue?: SelectHTMLAttributes['value'];
|
|
276
276
|
}
|
|
277
277
|
declare const _default$8: typeof __VLS_export$1;
|
|
278
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
278
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue104.DefineComponent<FieldSelectProps & {
|
|
279
279
|
modelValue?: string;
|
|
280
|
-
}, {}, {}, {}, {},
|
|
280
|
+
}, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {
|
|
281
281
|
"update:modelValue": (...args: any[]) => void;
|
|
282
|
-
}, string,
|
|
282
|
+
}, string, vue104.PublicProps, Readonly<FieldSelectProps & {
|
|
283
283
|
modelValue?: string;
|
|
284
284
|
}> & Readonly<{
|
|
285
285
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
286
|
-
}>, {}, {}, {}, {}, string,
|
|
286
|
+
}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
287
287
|
default?: (props: {}) => any;
|
|
288
288
|
}>;
|
|
289
289
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -304,11 +304,11 @@ Omit<TextareaHTMLAttributes, 'value'> {
|
|
|
304
304
|
modelValue?: TextareaHTMLAttributes['value'];
|
|
305
305
|
}
|
|
306
306
|
declare const _default$9: typeof __VLS_export;
|
|
307
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
307
|
+
declare const __VLS_export: __VLS_WithSlots<vue104.DefineComponent<FieldTextareaProps, {}, {}, {}, {}, vue104.ComponentOptionsMixin, vue104.ComponentOptionsMixin, {
|
|
308
308
|
"update:modelValue": (...args: any[]) => void;
|
|
309
|
-
}, string,
|
|
309
|
+
}, string, vue104.PublicProps, Readonly<FieldTextareaProps> & Readonly<{
|
|
310
310
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
311
|
-
}>, {}, {}, {}, {}, string,
|
|
311
|
+
}>, {}, {}, {}, {}, string, vue104.ComponentProvideOptions, false, {}, any>, {
|
|
312
312
|
default?: (props: {}) => any;
|
|
313
313
|
}>;
|
|
314
314
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -318,7 +318,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
318
318
|
};
|
|
319
319
|
//#endregion
|
|
320
320
|
//#region src/components/field/field-anatomy.d.ts
|
|
321
|
-
declare const fieldAnatomy:
|
|
321
|
+
declare const fieldAnatomy: _sprawlify_primitives_anatomy0.AnatomyInstance<"input" | "label" | "select" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator">;
|
|
322
322
|
declare namespace field_d_exports {
|
|
323
323
|
export { _default as Context, FieldContextProps as ContextProps, _default$1 as ErrorText, FieldErrorTextBaseProps as ErrorTextBaseProps, FieldErrorTextProps as ErrorTextProps, _default$2 as HelperText, FieldHelperTextBaseProps as HelperTextBaseProps, FieldHelperTextProps as HelperTextProps, _default$3 as Input, FieldInputBaseProps as InputBaseProps, FieldInputProps as InputProps, _default$4 as Label, FieldLabelBaseProps as LabelBaseProps, FieldLabelProps as LabelProps, _default$5 as RequiredIndicator, FieldRequiredIndicatorBaseProps as RequiredIndicatorBaseProps, FieldRequiredIndicatorProps as RequiredIndicatorProps, _default$6 as Root, FieldRootBaseProps as RootBaseProps, FieldRootProps as RootProps, _default$7 as RootProvider, FieldRootProviderBaseProps as RootProviderBaseProps, FieldRootProviderProps as RootProviderProps, _default$8 as Select, FieldSelectBaseProps as SelectBaseProps, FieldSelectProps as SelectProps, _default$9 as Textarea, FieldTextareaBaseProps as TextareaBaseProps, FieldTextareaProps as TextareaProps };
|
|
324
324
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-B5zr8_kk.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1462 from "vue";
|
|
3
3
|
import { FieldsetHTMLAttributes, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _sprawlify_primitives_anatomy3 from "@sprawlify/primitives/anatomy";
|
|
5
5
|
|
|
6
6
|
//#region src/components/fieldset/use-fieldset.d.ts
|
|
7
7
|
interface UseFieldsetProps {
|
|
@@ -10,9 +10,9 @@ interface UseFieldsetProps {
|
|
|
10
10
|
invalid?: boolean;
|
|
11
11
|
}
|
|
12
12
|
type UseFieldsetReturn = ReturnType<typeof useFieldset>;
|
|
13
|
-
declare const useFieldset: (props?: MaybeRef<UseFieldsetProps>) =>
|
|
13
|
+
declare const useFieldset: (props?: MaybeRef<UseFieldsetProps>) => vue1462.ComputedRef<{
|
|
14
14
|
refs: {
|
|
15
|
-
rootRef:
|
|
15
|
+
rootRef: vue1462.Ref<null, null>;
|
|
16
16
|
};
|
|
17
17
|
ids: {
|
|
18
18
|
legend: string;
|
|
@@ -45,7 +45,7 @@ interface FieldsetContextProps extends SlotsType<{
|
|
|
45
45
|
default: UnwrapRef<UseFieldsetContext>;
|
|
46
46
|
}> {}
|
|
47
47
|
declare const _default: typeof __VLS_export$5;
|
|
48
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
48
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1462.DefineComponent<{}, {}, {}, {}, {}, vue1462.ComponentOptionsMixin, vue1462.ComponentOptionsMixin, {}, string, vue1462.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1462.ComponentProvideOptions, true, {}, any>, {
|
|
49
49
|
default(fieldset: UnwrapRef<UseFieldsetContext>): unknown;
|
|
50
50
|
}>;
|
|
51
51
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -62,7 +62,7 @@ interface FieldsetErrorTextProps extends FieldsetErrorTextBaseProps,
|
|
|
62
62
|
*/
|
|
63
63
|
HTMLAttributes {}
|
|
64
64
|
declare const _default$1: typeof __VLS_export$4;
|
|
65
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
65
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1462.DefineComponent<FieldsetErrorTextProps, {}, {}, {}, {}, vue1462.ComponentOptionsMixin, vue1462.ComponentOptionsMixin, {}, string, vue1462.PublicProps, Readonly<FieldsetErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1462.ComponentProvideOptions, false, {}, any>, {
|
|
66
66
|
default?: (props: {}) => any;
|
|
67
67
|
}>;
|
|
68
68
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -79,7 +79,7 @@ interface FieldsetHelperTextProps extends FieldsetHelperTextBaseProps,
|
|
|
79
79
|
*/
|
|
80
80
|
HTMLAttributes {}
|
|
81
81
|
declare const _default$2: typeof __VLS_export$3;
|
|
82
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
82
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1462.DefineComponent<FieldsetHelperTextProps, {}, {}, {}, {}, vue1462.ComponentOptionsMixin, vue1462.ComponentOptionsMixin, {}, string, vue1462.PublicProps, Readonly<FieldsetHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1462.ComponentProvideOptions, false, {}, any>, {
|
|
83
83
|
default?: (props: {}) => any;
|
|
84
84
|
}>;
|
|
85
85
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -96,7 +96,7 @@ interface FieldsetLegendProps extends FieldsetLegendBaseProps,
|
|
|
96
96
|
*/
|
|
97
97
|
HTMLAttributes {}
|
|
98
98
|
declare const _default$3: typeof __VLS_export$2;
|
|
99
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
99
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1462.DefineComponent<FieldsetLegendProps, {}, {}, {}, {}, vue1462.ComponentOptionsMixin, vue1462.ComponentOptionsMixin, {}, string, vue1462.PublicProps, Readonly<FieldsetLegendProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1462.ComponentProvideOptions, false, {}, any>, {
|
|
100
100
|
default?: (props: {}) => any;
|
|
101
101
|
}>;
|
|
102
102
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -116,7 +116,7 @@ interface FieldsetRootProviderProps extends FieldsetRootProviderBaseProps,
|
|
|
116
116
|
*/
|
|
117
117
|
FieldsetHTMLAttributes {}
|
|
118
118
|
declare const _default$5: typeof __VLS_export$1;
|
|
119
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
119
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1462.DefineComponent<FieldsetRootProviderProps, {}, {}, {}, {}, vue1462.ComponentOptionsMixin, vue1462.ComponentOptionsMixin, {}, string, vue1462.PublicProps, Readonly<FieldsetRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1462.ComponentProvideOptions, false, {}, any>, {
|
|
120
120
|
default?: (props: {}) => any;
|
|
121
121
|
}>;
|
|
122
122
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -140,10 +140,10 @@ interface FieldsetRootProps extends FieldsetRootBaseProps,
|
|
|
140
140
|
*/
|
|
141
141
|
FieldsetHTMLAttributes {}
|
|
142
142
|
declare const _default$4: typeof __VLS_export;
|
|
143
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
143
|
+
declare const __VLS_export: __VLS_WithSlots<vue1462.DefineComponent<FieldsetRootProps, {}, {}, {}, {}, vue1462.ComponentOptionsMixin, vue1462.ComponentOptionsMixin, {}, string, vue1462.PublicProps, Readonly<FieldsetRootProps> & Readonly<{}>, {
|
|
144
144
|
disabled: boolean | "true" | "false";
|
|
145
145
|
invalid: boolean;
|
|
146
|
-
}, {}, {}, {}, string,
|
|
146
|
+
}, {}, {}, {}, string, vue1462.ComponentProvideOptions, false, {}, any>, {
|
|
147
147
|
default?: (props: {}) => any;
|
|
148
148
|
}>;
|
|
149
149
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -153,7 +153,7 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
153
153
|
};
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/components/fieldset/fieldset-anatomy.d.ts
|
|
156
|
-
declare const fieldsetAnatomy:
|
|
156
|
+
declare const fieldsetAnatomy: _sprawlify_primitives_anatomy3.AnatomyInstance<"legend" | "root" | "errorText" | "helperText">;
|
|
157
157
|
declare namespace fieldset_d_exports {
|
|
158
158
|
export { _default as Context, FieldsetContextProps as ContextProps, _default$1 as ErrorText, FieldsetErrorTextBaseProps as ErrorTextBaseProps, FieldsetErrorTextProps as ErrorTextProps, _default$2 as HelperText, FieldsetHelperTextBaseProps as HelperTextBaseProps, FieldsetHelperTextProps as HelperTextProps, _default$3 as Legend, FieldsetLegendBaseProps as LegendBaseProps, FieldsetLegendProps as LegendProps, _default$4 as Root, FieldsetRootBaseProps as RootBaseProps, FieldsetRootProps as RootProps, _default$5 as RootProvider, FieldsetRootProviderBaseProps as RootProviderBaseProps, FieldsetRootProviderProps as RootProviderProps };
|
|
159
159
|
}
|