@sprawlify/vue 0.0.75 → 0.0.76
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/carousel-anatomy-CS3XZbw0.d.ts +6 -0
- package/dist/checkbox-anatomy-BzXdprCY.d.ts +6 -0
- package/dist/color-picker-anatomy-Jhiag8cb.d.ts +6 -0
- package/dist/combobox-anatomy-Bmc1BlRe.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +2 -1
- package/dist/components/anatomy.d.ts +14 -13
- package/dist/components/anatomy.js +2 -1
- package/dist/components/angle-slider/index.d.ts +14 -14
- package/dist/components/aspect-ratio/index.d.ts +97 -0
- package/dist/components/aspect-ratio/index.js +152 -0
- package/dist/components/avatar/index.d.ts +9 -9
- package/dist/components/bottom-sheet/index.d.ts +17 -17
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/checkbox/index.d.ts +19 -19
- package/dist/components/checkbox/index.js +3 -3
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +13 -13
- package/dist/components/collapsible/index.d.ts +10 -10
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.ts +51 -51
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.d.ts +34 -33
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/date-picker/index.d.ts +45 -45
- package/dist/components/dialog/index.d.ts +29 -29
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +23 -23
- package/dist/components/editable/index.js +1 -1
- package/dist/components/field/index.d.ts +23 -23
- package/dist/components/field/index.js +1 -1
- package/dist/components/fieldset/index.d.ts +11 -11
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/file-upload/index.d.ts +22 -22
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/floating-panel/index.d.ts +24 -25
- package/dist/components/focus-trap/index.d.ts +4 -4
- 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/hover-card/index.d.ts +21 -21
- package/dist/components/image-cropper/index.d.ts +13 -13
- package/dist/components/json-tree-view/index.d.ts +10 -10
- package/dist/components/json-tree-view/index.js +3 -2
- package/dist/components/listbox/index.d.ts +23 -23
- package/dist/components/marquee/index.d.ts +22 -22
- package/dist/components/menu/index.d.ts +57 -57
- package/dist/components/navigation-menu/index.d.ts +17 -17
- package/dist/components/number-input/index.d.ts +18 -18
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/pagination/index.d.ts +15 -15
- package/dist/components/password-input/index.d.ts +23 -23
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/pin-input/index.d.ts +13 -13
- package/dist/components/pin-input/index.js +1 -1
- package/dist/components/popover/index.d.ts +33 -33
- package/dist/components/presence/index.d.ts +1 -1
- package/dist/components/progress/index.d.ts +13 -13
- package/dist/components/qr-code/index.d.ts +9 -9
- package/dist/components/radio-group/index.d.ts +15 -15
- package/dist/components/radio-group/index.js +2 -2
- 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 +10 -10
- package/dist/components/segment-group/index.d.ts +15 -15
- package/dist/components/select/index.d.ts +38 -38
- package/dist/components/select/index.js +1 -1
- package/dist/components/separator/index.d.ts +5 -5
- package/dist/components/signature-pad/index.d.ts +14 -14
- package/dist/components/signature-pad/index.js +1 -1
- package/dist/components/slider/index.d.ts +19 -19
- package/dist/components/splitter/index.d.ts +12 -12
- package/dist/components/steps/index.d.ts +18 -18
- package/dist/components/switch/index.d.ts +13 -13
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.d.ts +14 -14
- package/dist/components/tags-input/index.d.ts +34 -34
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/timer/index.d.ts +12 -12
- package/dist/components/toast/index.d.ts +9 -9
- package/dist/components/toggle/index.d.ts +8 -8
- package/dist/components/toggle-group/index.d.ts +10 -10
- package/dist/components/tooltip/index.d.ts +15 -15
- package/dist/components/tour/index.d.ts +29 -29
- package/dist/components/tree-view/index.d.ts +3 -3
- package/dist/components/tree-view/index.js +3 -2
- package/dist/date-picker-anatomy-BbgOfc-T.d.ts +6 -0
- package/dist/{field-anatomy-loNm9_9u.d.ts → field-anatomy-BudQLO5P.d.ts} +1 -1
- package/dist/fieldset-anatomy-BHRTGd-X.d.ts +6 -0
- package/dist/image-cropper-anatomy-D2maeqoK.d.ts +6 -0
- package/dist/{index-DZ1ummfv.d.ts → index-B2hCTOPN.d.ts} +30 -30
- package/dist/{index-DzrYvQ8H.d.ts → index-BJ8mRK6a.d.ts} +2 -2
- package/dist/{index-VvcSzgim.d.ts → index-CcIkwU2l.d.ts} +6 -6
- package/dist/{index-C-kA-knN.d.ts → index-Xh0TkLb6.d.ts} +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/listbox-anatomy-DsiGF3rU.d.ts +6 -0
- package/dist/{segment-group-anatomy-DesMk15u.d.ts → segment-group-anatomy-5X5sF6bU.d.ts} +2 -2
- package/dist/toggle-anatomy-BVLEnnrv.d.ts +6 -0
- package/dist/tour-anatomy-Cx59yoXC.d.ts +6 -0
- package/dist/{tree-view-D0JBQ_ly.js → tree-view--stP9jty.js} +1 -1
- package/package.json +6 -2
- package/dist/carousel-anatomy-D1y42Ex5.d.ts +0 -6
- package/dist/checkbox-anatomy-C3nJ17T-.d.ts +0 -6
- package/dist/color-picker-anatomy-Dyp524yB.d.ts +0 -6
- package/dist/combobox-anatomy-pMR3g6v-.d.ts +0 -6
- package/dist/date-picker-anatomy-Br9ap7TS.d.ts +0 -6
- package/dist/fieldset-anatomy-9h1GFO6X.d.ts +0 -6
- package/dist/image-cropper-anatomy-6_a6BSeW.d.ts +0 -6
- package/dist/listbox-anatomy-ZW3V07FW.d.ts +0 -6
- package/dist/toggle-anatomy-C4EVS7GQ.d.ts +0 -6
- package/dist/tour-anatomy-Bc1FNWON.d.ts +0 -6
- /package/dist/{boolean-L5YmbZkb.js → boolean-DRNklbLz.js} +0 -0
- /package/dist/{collapsible-OXksISO6.js → collapsible-fQ2-Jeml.js} +0 -0
- /package/dist/{field-B_BAnE0z.js → field-C8hrCSpZ.js} +0 -0
- /package/dist/{fieldset-XmKsNoOC.js → fieldset-FlcFnfDX.js} +0 -0
- /package/dist/{index-BezmG5AK.d.ts → index-FXQujPvZ.d.ts} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
2
|
import { t as RootEmits$1 } from "../../presence-types-CC57eEhO.js";
|
|
3
3
|
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
4
|
-
import { r as PropTypes } from "../../index-
|
|
4
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
5
5
|
import { t as RenderStrategyProps } from "../../use-render-strategy-CEbMLMD1.js";
|
|
6
6
|
import { t as dialogAnatomy } from "../../dialog-anatomy-ByMvuBxr.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue540 from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _sprawlify_primitives_machines_bottom_sheet0 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
10
10
|
import * as dialog from "@sprawlify/primitives/machines/dialog";
|
|
11
11
|
import { FocusOutsideEvent, FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent, PointerDownOutsideEvent as DialogPointerDownOutsideEvent } from "@sprawlify/primitives/machines/dialog";
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ interface DialogBackdropProps extends DialogBackdropBaseProps,
|
|
|
18
18
|
*/
|
|
19
19
|
HTMLAttributes {}
|
|
20
20
|
declare const _default: typeof __VLS_export$9;
|
|
21
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
21
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue540.DefineComponent<DialogBackdropProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
22
22
|
default?: (props: {}) => any;
|
|
23
23
|
}>;
|
|
24
24
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -35,7 +35,7 @@ interface DialogCloseTriggerProps extends DialogCloseTriggerBaseProps,
|
|
|
35
35
|
*/
|
|
36
36
|
ButtonHTMLAttributes {}
|
|
37
37
|
declare const _default$1: typeof __VLS_export$8;
|
|
38
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
38
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue540.DefineComponent<DialogCloseTriggerProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
39
39
|
default?: (props: {}) => any;
|
|
40
40
|
}>;
|
|
41
41
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -52,7 +52,7 @@ interface DialogContentProps extends DialogContentBaseProps,
|
|
|
52
52
|
*/
|
|
53
53
|
HTMLAttributes {}
|
|
54
54
|
declare const _default$2: typeof __VLS_export$7;
|
|
55
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
55
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue540.DefineComponent<DialogContentProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
56
56
|
default?: (props: {}) => any;
|
|
57
57
|
}>;
|
|
58
58
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -69,7 +69,7 @@ interface DialogDescriptionProps extends DialogDescriptionBaseProps,
|
|
|
69
69
|
*/
|
|
70
70
|
HTMLAttributes {}
|
|
71
71
|
declare const _default$4: typeof __VLS_export$6;
|
|
72
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
72
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue540.DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
73
73
|
default?: (props: {}) => any;
|
|
74
74
|
}>;
|
|
75
75
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -86,7 +86,7 @@ interface DialogPositionerProps extends DialogPositionerBaseProps,
|
|
|
86
86
|
*/
|
|
87
87
|
HTMLAttributes {}
|
|
88
88
|
declare const _default$5: typeof __VLS_export$5;
|
|
89
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
89
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue540.DefineComponent<DialogPositionerProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
90
90
|
default?: (props: {}) => any;
|
|
91
91
|
}>;
|
|
92
92
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -103,11 +103,11 @@ interface DialogRootProviderBaseProps extends RootProviderProps, RenderStrategyP
|
|
|
103
103
|
interface DialogRootProviderProps extends DialogRootProviderBaseProps {}
|
|
104
104
|
interface DialogRootProviderEmits extends RootEmits$1 {}
|
|
105
105
|
declare const _default$7: typeof __VLS_export$4;
|
|
106
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
106
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue540.DefineComponent<DialogRootProviderProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {
|
|
107
107
|
exitComplete: () => any;
|
|
108
|
-
}, string,
|
|
108
|
+
}, string, vue540.PublicProps, Readonly<DialogRootProviderProps> & Readonly<{
|
|
109
109
|
onExitComplete?: (() => any) | undefined;
|
|
110
|
-
}>, {}, {}, {}, {}, string,
|
|
110
|
+
}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
111
111
|
default?: (props: {}) => any;
|
|
112
112
|
}>;
|
|
113
113
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -163,44 +163,44 @@ interface DialogRootBaseProps extends RootProps, RenderStrategyProps {}
|
|
|
163
163
|
interface DialogRootProps extends DialogRootBaseProps {}
|
|
164
164
|
interface DialogRootEmits extends RootEmits {}
|
|
165
165
|
declare const _default$6: typeof __VLS_export$3;
|
|
166
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
166
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue540.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {
|
|
167
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
167
168
|
exitComplete: () => any;
|
|
168
|
-
focusOutside: (event:
|
|
169
|
-
interactOutside: (event:
|
|
169
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any;
|
|
170
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any;
|
|
170
171
|
openChange: (details: dialog.OpenChangeDetails) => any;
|
|
171
|
-
pointerDownOutside: (event:
|
|
172
|
-
"update:open": (open: boolean) => any;
|
|
173
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
172
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any;
|
|
174
173
|
requestDismiss: (event: CustomEvent<{
|
|
175
174
|
originalLayer: HTMLElement;
|
|
176
175
|
targetLayer: HTMLElement | undefined;
|
|
177
176
|
originalIndex: number;
|
|
178
177
|
targetIndex: number;
|
|
179
178
|
}>) => any;
|
|
180
|
-
|
|
179
|
+
"update:open": (open: boolean) => any;
|
|
180
|
+
}, string, vue540.PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
181
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
181
182
|
onExitComplete?: (() => any) | undefined;
|
|
182
|
-
onFocusOutside?: ((event:
|
|
183
|
-
onInteractOutside?: ((event:
|
|
183
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.FocusOutsideEvent) => any) | undefined;
|
|
184
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.InteractOutsideEvent) => any) | undefined;
|
|
184
185
|
onOpenChange?: ((details: dialog.OpenChangeDetails) => any) | undefined;
|
|
185
|
-
onPointerDownOutside?: ((event:
|
|
186
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
187
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
186
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet0.PointerDownOutsideEvent) => any) | undefined;
|
|
188
187
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
189
188
|
originalLayer: HTMLElement;
|
|
190
189
|
targetLayer: HTMLElement | undefined;
|
|
191
190
|
originalIndex: number;
|
|
192
191
|
targetIndex: number;
|
|
193
192
|
}>) => any) | undefined;
|
|
193
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
194
194
|
}>, {
|
|
195
|
-
defaultOpen: boolean;
|
|
196
|
-
open: boolean;
|
|
197
195
|
closeOnEscape: boolean;
|
|
198
196
|
closeOnInteractOutside: boolean;
|
|
197
|
+
defaultOpen: boolean;
|
|
199
198
|
modal: boolean;
|
|
199
|
+
open: boolean;
|
|
200
200
|
preventScroll: boolean;
|
|
201
201
|
restoreFocus: boolean;
|
|
202
202
|
trapFocus: boolean;
|
|
203
|
-
}, {}, {}, {}, string,
|
|
203
|
+
}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
204
204
|
default?: (props: {}) => any;
|
|
205
205
|
}>;
|
|
206
206
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -217,7 +217,7 @@ interface DialogTitleProps extends DialogTitleBaseProps,
|
|
|
217
217
|
*/
|
|
218
218
|
HTMLAttributes {}
|
|
219
219
|
declare const _default$8: typeof __VLS_export$2;
|
|
220
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
220
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue540.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
221
221
|
default?: (props: {}) => any;
|
|
222
222
|
}>;
|
|
223
223
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -234,7 +234,7 @@ interface DialogTriggerProps extends DialogTriggerBaseProps,
|
|
|
234
234
|
*/
|
|
235
235
|
ButtonHTMLAttributes {}
|
|
236
236
|
declare const _default$9: typeof __VLS_export$1;
|
|
237
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
237
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue540.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, false, {}, any>, {
|
|
238
238
|
default?: (props: {}) => any;
|
|
239
239
|
}>;
|
|
240
240
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -259,7 +259,7 @@ interface DialogContextProps extends SlotsType<{
|
|
|
259
259
|
default: UnwrapRef<UseDialogContext>;
|
|
260
260
|
}> {}
|
|
261
261
|
declare const _default$3: typeof __VLS_export;
|
|
262
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
262
|
+
declare const __VLS_export: __VLS_WithSlots<vue540.DefineComponent<{}, {}, {}, {}, {}, vue540.ComponentOptionsMixin, vue540.ComponentOptionsMixin, {}, string, vue540.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue540.ComponentProvideOptions, true, {}, any>, {
|
|
263
263
|
default(dialog: UnwrapRef<UseDialogContext>): unknown;
|
|
264
264
|
}>;
|
|
265
265
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
2
|
import { i as MaybePromise } from "../../types-D_fjXif6.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1830 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<vue1830.DefineComponent<DownloadTriggerProps, {}, {}, {}, {}, vue1830.ComponentOptionsMixin, vue1830.ComponentOptionsMixin, {}, string, vue1830.PublicProps, Readonly<DownloadTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1830.ComponentProvideOptions, false, {}, any>, {
|
|
21
21
|
default?: (props: {}) => any;
|
|
22
22
|
}>;
|
|
23
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
2
|
import { a as Optional, r as EmitFn$1 } from "../../types-D_fjXif6.js";
|
|
3
|
-
import { r as PropTypes } from "../../index-
|
|
3
|
+
import { r as PropTypes } from "../../index-BJ8mRK6a.js";
|
|
4
4
|
import { t as editableAnatomy } from "../../editable-anatomy-D7zUtMKW.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1905 from "vue";
|
|
6
6
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _sprawlify_primitives_machines_bottom_sheet25 from "@sprawlify/primitives/machines/bottom-sheet";
|
|
8
8
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
9
9
|
import { EditChangeDetails as EditableEditChangeDetails, FocusOutsideEvent, FocusOutsideEvent as EditableFocusOutsideEvent, InteractOutsideEvent, InteractOutsideEvent as EditableInteractOutsideEvent, PointerDownOutsideEvent, PointerDownOutsideEvent as EditablePointerDownOutsideEvent, ValueChangeDetails, ValueChangeDetails as EditableValueChangeDetails } from "@sprawlify/primitives/machines/editable";
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ interface EditableAreaProps extends EditableAreaBaseProps,
|
|
|
16
16
|
*/
|
|
17
17
|
HTMLAttributes {}
|
|
18
18
|
declare const _default: typeof __VLS_export$10;
|
|
19
|
-
declare const __VLS_export$10: __VLS_WithSlots$10<
|
|
19
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<vue1905.DefineComponent<EditableAreaProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
20
20
|
default?: (props: {}) => any;
|
|
21
21
|
}>;
|
|
22
22
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
@@ -33,7 +33,7 @@ interface EditableCancelTriggerProps extends EditableCancelTriggerBaseProps,
|
|
|
33
33
|
*/
|
|
34
34
|
ButtonHTMLAttributes {}
|
|
35
35
|
declare const _default$1: typeof __VLS_export$9;
|
|
36
|
-
declare const __VLS_export$9: __VLS_WithSlots$9<
|
|
36
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<vue1905.DefineComponent<EditableCancelTriggerProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableCancelTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
37
37
|
default?: (props: {}) => any;
|
|
38
38
|
}>;
|
|
39
39
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -50,7 +50,7 @@ interface EditableControlProps extends EditableControlBaseProps,
|
|
|
50
50
|
*/
|
|
51
51
|
HTMLAttributes {}
|
|
52
52
|
declare const _default$3: typeof __VLS_export$8;
|
|
53
|
-
declare const __VLS_export$8: __VLS_WithSlots$8<
|
|
53
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<vue1905.DefineComponent<EditableControlProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
54
54
|
default?: (props: {}) => any;
|
|
55
55
|
}>;
|
|
56
56
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -67,7 +67,7 @@ interface EditableEditTriggerProps extends EditableEditTriggerBaseProps,
|
|
|
67
67
|
*/
|
|
68
68
|
ButtonHTMLAttributes {}
|
|
69
69
|
declare const _default$4: typeof __VLS_export$7;
|
|
70
|
-
declare const __VLS_export$7: __VLS_WithSlots$7<
|
|
70
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<vue1905.DefineComponent<EditableEditTriggerProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableEditTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
71
71
|
default?: (props: {}) => any;
|
|
72
72
|
}>;
|
|
73
73
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -84,7 +84,7 @@ interface EditableInputProps extends EditableInputBaseProps,
|
|
|
84
84
|
*/
|
|
85
85
|
InputHTMLAttributes {}
|
|
86
86
|
declare const _default$5: typeof __VLS_export$6;
|
|
87
|
-
declare const __VLS_export$6: __VLS_WithSlots$6<
|
|
87
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<vue1905.DefineComponent<EditableInputProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
88
88
|
default?: (props: {}) => any;
|
|
89
89
|
}>;
|
|
90
90
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -101,7 +101,7 @@ interface EditableLabelProps extends EditableLabelBaseProps,
|
|
|
101
101
|
*/
|
|
102
102
|
LabelHTMLAttributes {}
|
|
103
103
|
declare const _default$6: typeof __VLS_export$5;
|
|
104
|
-
declare const __VLS_export$5: __VLS_WithSlots$5<
|
|
104
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<vue1905.DefineComponent<EditableLabelProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
105
105
|
default?: (props: {}) => any;
|
|
106
106
|
}>;
|
|
107
107
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -118,7 +118,7 @@ interface EditablePreviewProps extends EditablePreviewBaseProps,
|
|
|
118
118
|
*/
|
|
119
119
|
HTMLAttributes {}
|
|
120
120
|
declare const _default$7: typeof __VLS_export$4;
|
|
121
|
-
declare const __VLS_export$4: __VLS_WithSlots$4<
|
|
121
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<vue1905.DefineComponent<EditablePreviewProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditablePreviewProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
122
122
|
default?: (props: {}) => any;
|
|
123
123
|
}>;
|
|
124
124
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -138,7 +138,7 @@ interface EditableRootProviderProps extends EditableRootProviderBaseProps,
|
|
|
138
138
|
*/
|
|
139
139
|
Omit<HTMLAttributes, 'placeholder'> {}
|
|
140
140
|
declare const _default$9: typeof __VLS_export$3;
|
|
141
|
-
declare const __VLS_export$3: __VLS_WithSlots$3<
|
|
141
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<vue1905.DefineComponent<EditableRootProviderProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
142
142
|
default?: (props: {}) => any;
|
|
143
143
|
}>;
|
|
144
144
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -204,36 +204,36 @@ interface EditableRootProps extends EditableRootBaseProps,
|
|
|
204
204
|
Omit<HTMLAttributes, 'placeholder'> {}
|
|
205
205
|
interface EditableRootEmits extends RootEmits {}
|
|
206
206
|
declare const _default$8: typeof __VLS_export$2;
|
|
207
|
-
declare const __VLS_export$2: __VLS_WithSlots$2<
|
|
208
|
-
focusOutside: (event: _sprawlify_primitives_machines_combobox43.FocusOutsideEvent) => any;
|
|
209
|
-
interactOutside: (event: _sprawlify_primitives_machines_combobox43.InteractOutsideEvent) => any;
|
|
210
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_combobox43.PointerDownOutsideEvent) => any;
|
|
207
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<vue1905.DefineComponent<EditableRootProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {
|
|
211
208
|
valueChange: (details: editable.ValueChangeDetails) => any;
|
|
212
209
|
"update:modelValue": (value: string) => any;
|
|
210
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet25.FocusOutsideEvent) => any;
|
|
211
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet25.InteractOutsideEvent) => any;
|
|
212
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet25.PointerDownOutsideEvent) => any;
|
|
213
213
|
editChange: (details: editable.EditChangeDetails) => any;
|
|
214
214
|
valueCommit: (details: editable.ValueChangeDetails) => any;
|
|
215
215
|
valueRevert: (details: editable.ValueChangeDetails) => any;
|
|
216
216
|
"update:edit": (edit: boolean) => any;
|
|
217
|
-
}, string,
|
|
218
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_combobox43.FocusOutsideEvent) => any) | undefined;
|
|
219
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_combobox43.InteractOutsideEvent) => any) | undefined;
|
|
220
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_combobox43.PointerDownOutsideEvent) => any) | undefined;
|
|
217
|
+
}, string, vue1905.PublicProps, Readonly<EditableRootProps> & Readonly<{
|
|
221
218
|
onValueChange?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
222
219
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
220
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet25.FocusOutsideEvent) => any) | undefined;
|
|
221
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet25.InteractOutsideEvent) => any) | undefined;
|
|
222
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet25.PointerDownOutsideEvent) => any) | undefined;
|
|
223
223
|
onEditChange?: ((details: editable.EditChangeDetails) => any) | undefined;
|
|
224
224
|
onValueCommit?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
225
225
|
onValueRevert?: ((details: editable.ValueChangeDetails) => any) | undefined;
|
|
226
226
|
"onUpdate:edit"?: ((edit: boolean) => any) | undefined;
|
|
227
227
|
}>, {
|
|
228
228
|
disabled: boolean;
|
|
229
|
-
required: boolean;
|
|
230
229
|
invalid: boolean;
|
|
231
230
|
readOnly: boolean;
|
|
231
|
+
required: boolean;
|
|
232
232
|
selectOnFocus: boolean;
|
|
233
233
|
autoResize: boolean;
|
|
234
234
|
defaultEdit: boolean;
|
|
235
235
|
edit: boolean;
|
|
236
|
-
}, {}, {}, {}, string,
|
|
236
|
+
}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
237
237
|
default?: (props: {}) => any;
|
|
238
238
|
}>;
|
|
239
239
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -250,7 +250,7 @@ interface EditableSubmitTriggerProps extends EditableSubmitTriggerBaseProps,
|
|
|
250
250
|
*/
|
|
251
251
|
ButtonHTMLAttributes {}
|
|
252
252
|
declare const _default$10: typeof __VLS_export$1;
|
|
253
|
-
declare const __VLS_export$1: __VLS_WithSlots$1<
|
|
253
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<vue1905.DefineComponent<EditableSubmitTriggerProps, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<EditableSubmitTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, false, {}, any>, {
|
|
254
254
|
default?: (props: {}) => any;
|
|
255
255
|
}>;
|
|
256
256
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -277,7 +277,7 @@ interface EditableContextProps extends SlotsType<{
|
|
|
277
277
|
default: UnwrapRef<UseEditableContext>;
|
|
278
278
|
}> {}
|
|
279
279
|
declare const _default$2: typeof __VLS_export;
|
|
280
|
-
declare const __VLS_export: __VLS_WithSlots<
|
|
280
|
+
declare const __VLS_export: __VLS_WithSlots<vue1905.DefineComponent<{}, {}, {}, {}, {}, vue1905.ComponentOptionsMixin, vue1905.ComponentOptionsMixin, {}, string, vue1905.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1905.ComponentProvideOptions, true, {}, any>, {
|
|
281
281
|
default(editable: UnwrapRef<UseEditableContext>): unknown;
|
|
282
282
|
}>;
|
|
283
283
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -7,7 +7,7 @@ import { t as editableAnatomy } from "../../editable-anatomy-D1eyySPH.js";
|
|
|
7
7
|
import "../../field-anatomy-DOCpzb4B.js";
|
|
8
8
|
import { t as sprawlify } from "../../factory-xNPol80p.js";
|
|
9
9
|
import { t as cleanProps } from "../../clean-props-DsGHTEpm.js";
|
|
10
|
-
import { p as useFieldContext } from "../../field-
|
|
10
|
+
import { p as useFieldContext } from "../../field-C8hrCSpZ.js";
|
|
11
11
|
import { computed, createBlock, defineComponent, guardReactiveProps, mergeDefaults, mergeProps, normalizeProps, openBlock, renderSlot, toValue, unref, useId, withCtx } from "vue";
|
|
12
12
|
import * as editable from "@sprawlify/primitives/machines/editable";
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
|
-
import { t as fieldAnatomy } from "../../field-anatomy-
|
|
3
|
-
import * as
|
|
2
|
+
import { t as fieldAnatomy } from "../../field-anatomy-BudQLO5P.js";
|
|
3
|
+
import * as vue1478 from "vue";
|
|
4
4
|
import { HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, TextareaHTMLAttributes, UnwrapRef } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/field/field-types.d.ts
|
|
@@ -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>) => vue1478.ComputedRef<{
|
|
34
34
|
ariaDescribedby: string | undefined;
|
|
35
35
|
ids: {
|
|
36
36
|
control: string;
|
|
@@ -39,7 +39,7 @@ declare const useField: (props?: MaybeRef<UseFieldProps>) => vue232.ComputedRef<
|
|
|
39
39
|
helperText: string;
|
|
40
40
|
};
|
|
41
41
|
refs: {
|
|
42
|
-
rootRef:
|
|
42
|
+
rootRef: vue1478.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<vue1478.DefineComponent<{}, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldErrorTextProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<FieldErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldHelperTextProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<FieldHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldInputProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {
|
|
178
178
|
"update:modelValue": (...args: any[]) => void;
|
|
179
|
-
}, string,
|
|
179
|
+
}, string, vue1478.PublicProps, Readonly<FieldInputProps> & Readonly<{
|
|
180
180
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
181
|
-
}>, {}, {}, {}, {}, string,
|
|
181
|
+
}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldLabelProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldRequiredIndicatorProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<FieldRequiredIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldRootProviderProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<FieldRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldRootProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {}, string, vue1478.PublicProps, Readonly<FieldRootProps> & Readonly<{}>, {
|
|
255
255
|
disabled: boolean;
|
|
256
|
-
required: boolean;
|
|
257
256
|
invalid: boolean;
|
|
258
257
|
readOnly: boolean;
|
|
259
|
-
|
|
258
|
+
required: boolean;
|
|
259
|
+
}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldSelectProps & {
|
|
279
279
|
modelValue?: string;
|
|
280
|
-
}, {}, {}, {}, {},
|
|
280
|
+
}, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {
|
|
281
281
|
"update:modelValue": (...args: any[]) => void;
|
|
282
|
-
}, string,
|
|
282
|
+
}, string, vue1478.PublicProps, Readonly<FieldSelectProps & {
|
|
283
283
|
modelValue?: string;
|
|
284
284
|
}> & Readonly<{
|
|
285
285
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
286
|
-
}>, {}, {}, {}, {}, string,
|
|
286
|
+
}>, {}, {}, {}, {}, string, vue1478.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<vue1478.DefineComponent<FieldTextareaProps, {}, {}, {}, {}, vue1478.ComponentOptionsMixin, vue1478.ComponentOptionsMixin, {
|
|
308
308
|
"update:modelValue": (...args: any[]) => void;
|
|
309
|
-
}, string,
|
|
309
|
+
}, string, vue1478.PublicProps, Readonly<FieldTextareaProps> & Readonly<{
|
|
310
310
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
311
|
-
}>, {}, {}, {}, {}, string,
|
|
311
|
+
}>, {}, {}, {}, {}, string, vue1478.ComponentProvideOptions, false, {}, any>, {
|
|
312
312
|
default?: (props: {}) => any;
|
|
313
313
|
}>;
|
|
314
314
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,6 +4,6 @@ import "../../create-context-Ds1GbsVc.js";
|
|
|
4
4
|
import "../../use-forward-expose-CCAmHTUB.js";
|
|
5
5
|
import { t as fieldAnatomy } from "../../field-anatomy-DOCpzb4B.js";
|
|
6
6
|
import "../../factory-xNPol80p.js";
|
|
7
|
-
import { a as useField, c as field_label_default, d as field_error_text_default, f as field_context_default, i as field_root_default, l as field_input_default, n as field_textarea_default, o as field_root_provider_default, p as useFieldContext, r as field_select_default, s as field_required_indicator_default, t as field_exports, u as field_helper_text_default } from "../../field-
|
|
7
|
+
import { a as useField, c as field_label_default, d as field_error_text_default, f as field_context_default, i as field_root_default, l as field_input_default, n as field_textarea_default, o as field_root_provider_default, p as useFieldContext, r as field_select_default, s as field_required_indicator_default, t as field_exports, u as field_helper_text_default } from "../../field-C8hrCSpZ.js";
|
|
8
8
|
|
|
9
9
|
export { field_exports as Field, field_context_default as FieldContext, field_error_text_default as FieldErrorText, field_helper_text_default as FieldHelperText, field_input_default as FieldInput, field_label_default as FieldLabel, field_required_indicator_default as FieldRequiredIndicator, field_root_default as FieldRoot, field_root_provider_default as FieldRootProvider, field_select_default as FieldSelect, field_textarea_default as FieldTextarea, fieldAnatomy, useField, useFieldContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as PolymorphicProps } from "../../factory-n7N-L7_o.js";
|
|
2
|
-
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-
|
|
3
|
-
import * as
|
|
2
|
+
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-BHRTGd-X.js";
|
|
3
|
+
import * as vue1970 from "vue";
|
|
4
4
|
import { FieldsetHTMLAttributes, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/fieldset/use-fieldset.d.ts
|
|
@@ -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>) => vue1970.ComputedRef<{
|
|
14
14
|
refs: {
|
|
15
|
-
rootRef:
|
|
15
|
+
rootRef: vue1970.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<vue1970.DefineComponent<{}, {}, {}, {}, {}, vue1970.ComponentOptionsMixin, vue1970.ComponentOptionsMixin, {}, string, vue1970.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1970.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<vue1970.DefineComponent<FieldsetErrorTextProps, {}, {}, {}, {}, vue1970.ComponentOptionsMixin, vue1970.ComponentOptionsMixin, {}, string, vue1970.PublicProps, Readonly<FieldsetErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1970.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<vue1970.DefineComponent<FieldsetHelperTextProps, {}, {}, {}, {}, vue1970.ComponentOptionsMixin, vue1970.ComponentOptionsMixin, {}, string, vue1970.PublicProps, Readonly<FieldsetHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1970.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<vue1970.DefineComponent<FieldsetLegendProps, {}, {}, {}, {}, vue1970.ComponentOptionsMixin, vue1970.ComponentOptionsMixin, {}, string, vue1970.PublicProps, Readonly<FieldsetLegendProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1970.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<vue1970.DefineComponent<FieldsetRootProviderProps, {}, {}, {}, {}, vue1970.ComponentOptionsMixin, vue1970.ComponentOptionsMixin, {}, string, vue1970.PublicProps, Readonly<FieldsetRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1970.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<vue1970.DefineComponent<FieldsetRootProps, {}, {}, {}, {}, vue1970.ComponentOptionsMixin, vue1970.ComponentOptionsMixin, {}, string, vue1970.PublicProps, Readonly<FieldsetRootProps> & Readonly<{}>, {
|
|
144
144
|
disabled: boolean | "true" | "false";
|
|
145
145
|
invalid: boolean;
|
|
146
|
-
}, {}, {}, {}, string,
|
|
146
|
+
}, {}, {}, {}, string, vue1970.ComponentProvideOptions, false, {}, any>, {
|
|
147
147
|
default?: (props: {}) => any;
|
|
148
148
|
}>;
|
|
149
149
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -4,6 +4,6 @@ import "../../create-context-Ds1GbsVc.js";
|
|
|
4
4
|
import "../../use-forward-expose-CCAmHTUB.js";
|
|
5
5
|
import { t as fieldsetAnatomy } from "../../fieldset-anatomy-DmZTaMK6.js";
|
|
6
6
|
import "../../factory-xNPol80p.js";
|
|
7
|
-
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-
|
|
7
|
+
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-FlcFnfDX.js";
|
|
8
8
|
|
|
9
9
|
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 };
|