@sprawlify/vue 0.0.75 → 0.0.77
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-DwrhoUqZ.d.ts +6 -0
- package/dist/checkbox-anatomy-RPOOG6m5.d.ts +6 -0
- package/dist/color-picker-anatomy-CqfgkBND.d.ts +6 -0
- package/dist/combobox-anatomy-CpyHROa-.d.ts +6 -0
- package/dist/components/accordion/index.d.ts +15 -15
- package/dist/components/accordion/index.js +1 -0
- 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 +19 -19
- package/dist/components/carousel/index.d.ts +22 -22
- package/dist/components/checkbox/index.d.ts +18 -18
- package/dist/components/client-only/index.d.ts +2 -2
- package/dist/components/clipboard/index.d.ts +15 -15
- package/dist/components/collapsible/index.d.ts +12 -12
- package/dist/components/collection/index.d.ts +1 -1
- package/dist/components/color-picker/index.d.ts +51 -51
- package/dist/components/combobox/index.d.ts +34 -33
- package/dist/components/date-picker/index.d.ts +47 -47
- package/dist/components/dialog/index.d.ts +27 -27
- package/dist/components/download-trigger/index.d.ts +2 -2
- package/dist/components/editable/index.d.ts +22 -22
- package/dist/components/field/index.d.ts +22 -22
- package/dist/components/fieldset/index.d.ts +11 -11
- package/dist/components/file-upload/index.d.ts +21 -21
- package/dist/components/floating-panel/index.d.ts +23 -24
- package/dist/components/focus-trap/index.d.ts +5 -5
- 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 +11 -10
- package/dist/components/json-tree-view/index.js +2 -0
- package/dist/components/listbox/index.d.ts +23 -23
- package/dist/components/marquee/index.d.ts +21 -21
- package/dist/components/menu/index.d.ts +53 -53
- package/dist/components/navigation-menu/index.d.ts +17 -17
- package/dist/components/number-input/index.d.ts +17 -17
- package/dist/components/pagination/index.d.ts +15 -15
- package/dist/components/password-input/index.d.ts +22 -22
- package/dist/components/pin-input/index.d.ts +12 -12
- package/dist/components/popover/index.d.ts +29 -29
- 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 +14 -14
- package/dist/components/rating-group/index.d.ts +12 -12
- 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/separator/index.d.ts +5 -5
- package/dist/components/signature-pad/index.d.ts +13 -13
- 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 +12 -12
- package/dist/components/tabs/index.d.ts +13 -13
- package/dist/components/tags-input/index.d.ts +33 -33
- 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 +8 -8
- 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 +1 -0
- package/dist/date-picker-anatomy-csud5zM0.d.ts +6 -0
- package/dist/field-anatomy-n4MQ6CIA.d.ts +6 -0
- package/dist/fieldset-anatomy-j1YsgpiA.d.ts +6 -0
- package/dist/image-cropper-anatomy-BCN4Egjw.d.ts +6 -0
- package/dist/{index-DzrYvQ8H.d.ts → index-BJ8mRK6a.d.ts} +2 -2
- package/dist/{index-C-kA-knN.d.ts → index-BKK0vIdn.d.ts} +7 -7
- package/dist/{index-VvcSzgim.d.ts → index-CMBDt7rf.d.ts} +6 -6
- package/dist/{index-DZ1ummfv.d.ts → index-ctptSac4.d.ts} +30 -30
- package/dist/index.d.ts +2 -2
- package/dist/listbox-anatomy-DbF6wAW0.d.ts +6 -0
- package/dist/segment-group-anatomy-BweP3B5a.d.ts +6 -0
- package/dist/toggle-anatomy-CosjCd7U.d.ts +6 -0
- package/dist/tour-anatomy-HAoP7f8M.d.ts +6 -0
- 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/field-anatomy-loNm9_9u.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/segment-group-anatomy-DesMk15u.d.ts +0 -6
- package/dist/toggle-anatomy-C4EVS7GQ.d.ts +0 -6
- package/dist/tour-anatomy-Bc1FNWON.d.ts +0 -6
- /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 vue364 from "vue";
|
|
8
8
|
import { ButtonHTMLAttributes, ComputedRef, HTMLAttributes, MaybeRef, SlotsType, UnwrapRef } from "vue";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _sprawlify_primitives_machines_bottom_sheet7 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<vue364.DefineComponent<DialogBackdropProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogBackdropProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogCloseTriggerProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogCloseTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogContentProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogPositionerProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogPositionerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogRootProviderProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {
|
|
107
107
|
exitComplete: () => any;
|
|
108
|
-
}, string,
|
|
108
|
+
}, string, vue364.PublicProps, Readonly<DialogRootProviderProps> & Readonly<{
|
|
109
109
|
onExitComplete?: (() => any) | undefined;
|
|
110
|
-
}>, {}, {}, {}, {}, string,
|
|
110
|
+
}>, {}, {}, {}, {}, string, vue364.ComponentProvideOptions, false, {}, any>, {
|
|
111
111
|
default?: (props: {}) => any;
|
|
112
112
|
}>;
|
|
113
113
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -163,13 +163,13 @@ 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<vue364.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {
|
|
167
167
|
exitComplete: () => any;
|
|
168
|
-
focusOutside: (event: _sprawlify_primitives_machines_combobox19.FocusOutsideEvent) => any;
|
|
169
|
-
interactOutside: (event: _sprawlify_primitives_machines_combobox19.InteractOutsideEvent) => any;
|
|
170
168
|
openChange: (details: dialog.OpenChangeDetails) => any;
|
|
171
|
-
pointerDownOutside: (event: _sprawlify_primitives_machines_combobox19.PointerDownOutsideEvent) => any;
|
|
172
169
|
"update:open": (open: boolean) => any;
|
|
170
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet7.FocusOutsideEvent) => any;
|
|
171
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet7.InteractOutsideEvent) => any;
|
|
172
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet7.PointerDownOutsideEvent) => any;
|
|
173
173
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
174
174
|
requestDismiss: (event: CustomEvent<{
|
|
175
175
|
originalLayer: HTMLElement;
|
|
@@ -177,13 +177,13 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue976.DefineComponent<DialogRoo
|
|
|
177
177
|
originalIndex: number;
|
|
178
178
|
targetIndex: number;
|
|
179
179
|
}>) => any;
|
|
180
|
-
}, string,
|
|
180
|
+
}, string, vue364.PublicProps, Readonly<DialogRootProps> & Readonly<{
|
|
181
181
|
onExitComplete?: (() => any) | undefined;
|
|
182
|
-
onFocusOutside?: ((event: _sprawlify_primitives_machines_combobox19.FocusOutsideEvent) => any) | undefined;
|
|
183
|
-
onInteractOutside?: ((event: _sprawlify_primitives_machines_combobox19.InteractOutsideEvent) => any) | undefined;
|
|
184
182
|
onOpenChange?: ((details: dialog.OpenChangeDetails) => any) | undefined;
|
|
185
|
-
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_combobox19.PointerDownOutsideEvent) => any) | undefined;
|
|
186
183
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
184
|
+
onFocusOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet7.FocusOutsideEvent) => any) | undefined;
|
|
185
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet7.InteractOutsideEvent) => any) | undefined;
|
|
186
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet7.PointerDownOutsideEvent) => any) | undefined;
|
|
187
187
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
188
188
|
onRequestDismiss?: ((event: CustomEvent<{
|
|
189
189
|
originalLayer: HTMLElement;
|
|
@@ -194,13 +194,13 @@ declare const __VLS_export$3: __VLS_WithSlots$3<vue976.DefineComponent<DialogRoo
|
|
|
194
194
|
}>, {
|
|
195
195
|
defaultOpen: boolean;
|
|
196
196
|
open: boolean;
|
|
197
|
-
|
|
198
|
-
closeOnInteractOutside: boolean;
|
|
199
|
-
modal: boolean;
|
|
197
|
+
trapFocus: boolean;
|
|
200
198
|
preventScroll: boolean;
|
|
199
|
+
modal: boolean;
|
|
201
200
|
restoreFocus: boolean;
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
closeOnInteractOutside: boolean;
|
|
202
|
+
closeOnEscape: boolean;
|
|
203
|
+
}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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<vue364.DefineComponent<{}, {}, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue364.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 vue483 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<vue483.DefineComponent<DownloadTriggerProps, {}, {}, {}, {}, vue483.ComponentOptionsMixin, vue483.ComponentOptionsMixin, {}, string, vue483.PublicProps, Readonly<DownloadTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue483.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 vue2450 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_sheet55 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<vue2450.DefineComponent<EditableAreaProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableCancelTriggerProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableCancelTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableControlProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableEditTriggerProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableEditTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableInputProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableInputProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableLabelProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditablePreviewProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditablePreviewProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableRootProviderProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.ComponentProvideOptions, false, {}, any>, {
|
|
142
142
|
default?: (props: {}) => any;
|
|
143
143
|
}>;
|
|
144
144
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -204,22 +204,22 @@ 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<vue2450.DefineComponent<EditableRootProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {
|
|
211
208
|
valueChange: (details: editable.ValueChangeDetails) => any;
|
|
212
209
|
"update:modelValue": (value: string) => any;
|
|
210
|
+
focusOutside: (event: _sprawlify_primitives_machines_bottom_sheet55.FocusOutsideEvent) => any;
|
|
211
|
+
interactOutside: (event: _sprawlify_primitives_machines_bottom_sheet55.InteractOutsideEvent) => any;
|
|
212
|
+
pointerDownOutside: (event: _sprawlify_primitives_machines_bottom_sheet55.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, vue2450.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_sheet55.FocusOutsideEvent) => any) | undefined;
|
|
221
|
+
onInteractOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet55.InteractOutsideEvent) => any) | undefined;
|
|
222
|
+
onPointerDownOutside?: ((event: _sprawlify_primitives_machines_bottom_sheet55.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;
|
|
@@ -233,7 +233,7 @@ declare const __VLS_export$2: __VLS_WithSlots$2<vue2139.DefineComponent<Editable
|
|
|
233
233
|
autoResize: boolean;
|
|
234
234
|
defaultEdit: boolean;
|
|
235
235
|
edit: boolean;
|
|
236
|
-
}, {}, {}, {}, string,
|
|
236
|
+
}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<EditableSubmitTriggerProps, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<EditableSubmitTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.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<vue2450.DefineComponent<{}, {}, {}, {}, {}, vue2450.ComponentOptionsMixin, vue2450.ComponentOptionsMixin, {}, string, vue2450.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue2450.ComponentProvideOptions, true, {}, any>, {
|
|
281
281
|
default(editable: UnwrapRef<UseEditableContext>): unknown;
|
|
282
282
|
}>;
|
|
283
283
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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-n4MQ6CIA.js";
|
|
3
|
+
import * as vue1226 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>) => vue1226.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: vue1226.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<vue1226.DefineComponent<{}, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldErrorTextProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<FieldErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldHelperTextProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<FieldHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldInputProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {
|
|
178
178
|
"update:modelValue": (...args: any[]) => void;
|
|
179
|
-
}, string,
|
|
179
|
+
}, string, vue1226.PublicProps, Readonly<FieldInputProps> & Readonly<{
|
|
180
180
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
181
|
-
}>, {}, {}, {}, {}, string,
|
|
181
|
+
}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldLabelProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldRequiredIndicatorProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<FieldRequiredIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldRootProviderProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<FieldRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldRootProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {}, string, vue1226.PublicProps, Readonly<FieldRootProps> & Readonly<{}>, {
|
|
255
255
|
disabled: boolean;
|
|
256
256
|
required: boolean;
|
|
257
257
|
invalid: boolean;
|
|
258
258
|
readOnly: boolean;
|
|
259
|
-
}, {}, {}, {}, string,
|
|
259
|
+
}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldSelectProps & {
|
|
279
279
|
modelValue?: string;
|
|
280
|
-
}, {}, {}, {}, {},
|
|
280
|
+
}, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {
|
|
281
281
|
"update:modelValue": (...args: any[]) => void;
|
|
282
|
-
}, string,
|
|
282
|
+
}, string, vue1226.PublicProps, Readonly<FieldSelectProps & {
|
|
283
283
|
modelValue?: string;
|
|
284
284
|
}> & Readonly<{
|
|
285
285
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
286
|
-
}>, {}, {}, {}, {}, string,
|
|
286
|
+
}>, {}, {}, {}, {}, string, vue1226.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<vue1226.DefineComponent<FieldTextareaProps, {}, {}, {}, {}, vue1226.ComponentOptionsMixin, vue1226.ComponentOptionsMixin, {
|
|
308
308
|
"update:modelValue": (...args: any[]) => void;
|
|
309
|
-
}, string,
|
|
309
|
+
}, string, vue1226.PublicProps, Readonly<FieldTextareaProps> & Readonly<{
|
|
310
310
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
311
|
-
}>, {}, {}, {}, {}, string,
|
|
311
|
+
}>, {}, {}, {}, {}, string, vue1226.ComponentProvideOptions, false, {}, any>, {
|
|
312
312
|
default?: (props: {}) => any;
|
|
313
313
|
}>;
|
|
314
314
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -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-j1YsgpiA.js";
|
|
3
|
+
import * as vue922 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>) => vue922.ComputedRef<{
|
|
14
14
|
refs: {
|
|
15
|
-
rootRef:
|
|
15
|
+
rootRef: vue922.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<vue922.DefineComponent<{}, {}, {}, {}, {}, vue922.ComponentOptionsMixin, vue922.ComponentOptionsMixin, {}, string, vue922.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue922.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<vue922.DefineComponent<FieldsetErrorTextProps, {}, {}, {}, {}, vue922.ComponentOptionsMixin, vue922.ComponentOptionsMixin, {}, string, vue922.PublicProps, Readonly<FieldsetErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue922.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<vue922.DefineComponent<FieldsetHelperTextProps, {}, {}, {}, {}, vue922.ComponentOptionsMixin, vue922.ComponentOptionsMixin, {}, string, vue922.PublicProps, Readonly<FieldsetHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue922.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<vue922.DefineComponent<FieldsetLegendProps, {}, {}, {}, {}, vue922.ComponentOptionsMixin, vue922.ComponentOptionsMixin, {}, string, vue922.PublicProps, Readonly<FieldsetLegendProps> & Readonly<{}>, {}, {}, {}, {}, string, vue922.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<vue922.DefineComponent<FieldsetRootProviderProps, {}, {}, {}, {}, vue922.ComponentOptionsMixin, vue922.ComponentOptionsMixin, {}, string, vue922.PublicProps, Readonly<FieldsetRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue922.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<vue922.DefineComponent<FieldsetRootProps, {}, {}, {}, {}, vue922.ComponentOptionsMixin, vue922.ComponentOptionsMixin, {}, string, vue922.PublicProps, Readonly<FieldsetRootProps> & Readonly<{}>, {
|
|
144
144
|
disabled: boolean | "true" | "false";
|
|
145
145
|
invalid: boolean;
|
|
146
|
-
}, {}, {}, {}, string,
|
|
146
|
+
}, {}, {}, {}, string, vue922.ComponentProvideOptions, false, {}, any>, {
|
|
147
147
|
default?: (props: {}) => any;
|
|
148
148
|
}>;
|
|
149
149
|
type __VLS_WithSlots<T, S> = T & {
|