@wirekyt/vue 0.0.1 → 0.0.3
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/accordion.cjs +273 -0
- package/dist/accordion.d.cts +195 -0
- package/dist/accordion.d.ts +195 -0
- package/dist/accordion.js +250 -0
- package/dist/angle-slider.cjs +268 -0
- package/dist/angle-slider.d.cts +228 -0
- package/dist/angle-slider.d.ts +228 -0
- package/dist/angle-slider.js +244 -0
- package/dist/avatar.cjs +145 -0
- package/dist/avatar.d.cts +114 -0
- package/dist/avatar.d.ts +114 -0
- package/dist/avatar.js +126 -0
- package/dist/boolean-BCaEpMxQ.js +6 -0
- package/dist/boolean-Dyu9-5Wp.cjs +11 -0
- package/dist/carousel.cjs +342 -0
- package/dist/carousel.d.cts +303 -0
- package/dist/carousel.d.ts +303 -0
- package/dist/carousel.js +320 -0
- package/dist/checkbox.cjs +345 -0
- package/dist/checkbox.d.cts +272 -0
- package/dist/checkbox.d.ts +272 -0
- package/dist/checkbox.js +324 -0
- package/dist/clean-props--1kqQE0Y.js +8 -0
- package/dist/clean-props-MyKqus13.cjs +13 -0
- package/dist/client-only.cjs +17 -0
- package/dist/client-only.d.cts +18 -0
- package/dist/client-only.d.ts +18 -0
- package/dist/client-only.js +16 -0
- package/dist/clipboard.cjs +229 -0
- package/dist/clipboard.d.cts +203 -0
- package/dist/clipboard.d.ts +203 -0
- package/dist/clipboard.js +206 -0
- package/dist/collapsible-BnUr4dTo.cjs +232 -0
- package/dist/collapsible-jvqnRz16.js +179 -0
- package/dist/collapsible.cjs +23 -0
- package/dist/collapsible.d.cts +161 -0
- package/dist/collapsible.d.ts +161 -0
- package/dist/collapsible.js +2 -0
- package/dist/collection-B0onOyyK.cjs +254 -0
- package/dist/collection-Dg6EtML_.js +211 -0
- package/dist/collection.cjs +9 -0
- package/dist/collection.d.cts +2 -0
- package/dist/collection.d.ts +2 -0
- package/dist/collection.js +2 -0
- package/dist/color-picker.cjs +804 -0
- package/dist/color-picker.d.cts +605 -0
- package/dist/color-picker.d.ts +605 -0
- package/dist/color-picker.js +759 -0
- package/dist/combobox.cjs +552 -0
- package/dist/combobox.d.cts +442 -0
- package/dist/combobox.d.ts +442 -0
- package/dist/combobox.js +521 -0
- package/dist/create-split-props-BBxrD7TV.js +10 -0
- package/dist/create-split-props-Jx-IEwdk.cjs +15 -0
- package/dist/date-input.cjs +293 -0
- package/dist/date-input.d.cts +212 -0
- package/dist/date-input.d.ts +212 -0
- package/dist/date-input.js +270 -0
- package/dist/date-picker.cjs +821 -0
- package/dist/date-picker.d.cts +637 -0
- package/dist/date-picker.d.ts +637 -0
- package/dist/date-picker.js +776 -0
- package/dist/dialog.cjs +333 -0
- package/dist/dialog.d.cts +272 -0
- package/dist/dialog.d.ts +272 -0
- package/dist/dialog.js +308 -0
- package/dist/download-trigger.cjs +65 -0
- package/dist/download-trigger.d.cts +34 -0
- package/dist/download-trigger.d.ts +34 -0
- package/dist/download-trigger.js +63 -0
- package/dist/drawer.cjs +448 -0
- package/dist/drawer.d.cts +346 -0
- package/dist/drawer.d.ts +346 -0
- package/dist/drawer.js +415 -0
- package/dist/editable.cjs +331 -0
- package/dist/editable.d.cts +285 -0
- package/dist/editable.d.ts +285 -0
- package/dist/editable.js +306 -0
- package/dist/factory-8Ao0DEy3.js +34 -0
- package/dist/factory-BNwuanv4.d.cts +21 -0
- package/dist/factory-BNwuanv4.d.ts +21 -0
- package/dist/factory-JL7MPjkk.cjs +45 -0
- package/dist/field-C3pLqz1S.js +435 -0
- package/dist/field-DRz-v4rB.cjs +524 -0
- package/dist/field.cjs +22 -0
- package/dist/field.d.cts +344 -0
- package/dist/field.d.ts +344 -0
- package/dist/field.js +2 -0
- package/dist/fieldset-ByP_r1Uq.js +216 -0
- package/dist/fieldset-C5aj6Ims.cjs +275 -0
- package/dist/fieldset.cjs +17 -0
- package/dist/fieldset.d.cts +159 -0
- package/dist/fieldset.d.ts +159 -0
- package/dist/fieldset.js +2 -0
- package/dist/file-upload.cjs +421 -0
- package/dist/file-upload.d.cts +327 -0
- package/dist/file-upload.d.ts +327 -0
- package/dist/file-upload.js +392 -0
- package/dist/floating-panel.cjs +412 -0
- package/dist/floating-panel.d.cts +337 -0
- package/dist/floating-panel.d.ts +337 -0
- package/dist/floating-panel.js +383 -0
- package/dist/focus-trap.cjs +79 -0
- package/dist/focus-trap.d.cts +46 -0
- package/dist/focus-trap.d.ts +46 -0
- package/dist/focus-trap.js +78 -0
- package/dist/format.cjs +116 -0
- package/dist/format.d.cts +46 -0
- package/dist/format.d.ts +46 -0
- package/dist/format.js +106 -0
- package/dist/frame.cjs +93 -0
- package/dist/frame.d.cts +37 -0
- package/dist/frame.d.ts +37 -0
- package/dist/frame.js +92 -0
- package/dist/highlight.cjs +44 -0
- package/dist/highlight.d.cts +32 -0
- package/dist/highlight.d.ts +32 -0
- package/dist/highlight.js +42 -0
- package/dist/hover-card.cjs +269 -0
- package/dist/hover-card.d.cts +202 -0
- package/dist/hover-card.d.ts +202 -0
- package/dist/hover-card.js +246 -0
- package/dist/image-cropper.cjs +252 -0
- package/dist/image-cropper.d.cts +207 -0
- package/dist/image-cropper.d.ts +207 -0
- package/dist/image-cropper.js +235 -0
- package/dist/index-B-o8jLyV.d.cts +31 -0
- package/dist/index-BSoF1D-v.d.ts +31 -0
- package/dist/index-BTNfeIXf.d.ts +104 -0
- package/dist/index-C8zR9eg3.d.ts +444 -0
- package/dist/index-Cc4qS0rQ.d.cts +38 -0
- package/dist/index-Cc4qS0rQ.d.ts +38 -0
- package/dist/index-DaLvr6SW.d.ts +37 -0
- package/dist/index-Di84rFjS.d.cts +444 -0
- package/dist/index-Dpm1wGVS.d.cts +74 -0
- package/dist/index-Zc9P69Ka.d.cts +104 -0
- package/dist/index-kCBQJqpU.d.ts +74 -0
- package/dist/index-vIbTjrJ-.d.cts +37 -0
- package/dist/index.cjs +43 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +7 -0
- package/dist/json-tree-view.cjs +346 -0
- package/dist/json-tree-view.d.cts +86 -0
- package/dist/json-tree-view.d.ts +86 -0
- package/dist/json-tree-view.js +336 -0
- package/dist/listbox.cjs +386 -0
- package/dist/listbox.d.cts +323 -0
- package/dist/listbox.d.ts +323 -0
- package/dist/listbox.js +361 -0
- package/dist/marquee.cjs +256 -0
- package/dist/marquee.d.cts +208 -0
- package/dist/marquee.d.ts +208 -0
- package/dist/marquee.js +235 -0
- package/dist/menu.cjs +650 -0
- package/dist/menu.d.cts +501 -0
- package/dist/menu.d.ts +501 -0
- package/dist/menu.js +613 -0
- package/dist/navigation-menu.cjs +408 -0
- package/dist/navigation-menu.d.cts +271 -0
- package/dist/navigation-menu.d.ts +271 -0
- package/dist/navigation-menu.js +380 -0
- package/dist/number-input.cjs +298 -0
- package/dist/number-input.d.cts +253 -0
- package/dist/number-input.d.ts +253 -0
- package/dist/number-input.js +274 -0
- package/dist/pagination.cjs +249 -0
- package/dist/pagination.d.cts +209 -0
- package/dist/pagination.d.ts +209 -0
- package/dist/pagination.js +226 -0
- package/dist/password-input.cjs +232 -0
- package/dist/password-input.d.cts +208 -0
- package/dist/password-input.d.ts +208 -0
- package/dist/password-input.js +210 -0
- package/dist/pin-input.cjs +245 -0
- package/dist/pin-input.d.cts +199 -0
- package/dist/pin-input.d.ts +199 -0
- package/dist/pin-input.js +224 -0
- package/dist/popover.cjs +377 -0
- package/dist/popover.d.cts +324 -0
- package/dist/popover.d.ts +324 -0
- package/dist/popover.js +349 -0
- package/dist/presence-DD3l4Tgb.cjs +60 -0
- package/dist/presence-jaHZaD_O.js +43 -0
- package/dist/presence.cjs +7 -0
- package/dist/presence.d.cts +3 -0
- package/dist/presence.d.ts +3 -0
- package/dist/presence.js +3 -0
- package/dist/progress.cjs +270 -0
- package/dist/progress.d.cts +229 -0
- package/dist/progress.d.ts +229 -0
- package/dist/progress.js +245 -0
- package/dist/providers-5QhcwgSd.cjs +190 -0
- package/dist/providers-C3XQH-uu.js +119 -0
- package/dist/qr-code.cjs +195 -0
- package/dist/qr-code.d.cts +157 -0
- package/dist/qr-code.d.ts +157 -0
- package/dist/qr-code.js +174 -0
- package/dist/radio-group.cjs +274 -0
- package/dist/radio-group.d.cts +230 -0
- package/dist/radio-group.d.ts +230 -0
- package/dist/radio-group.js +249 -0
- package/dist/rating-group.cjs +243 -0
- package/dist/rating-group.d.cts +200 -0
- package/dist/rating-group.d.ts +200 -0
- package/dist/rating-group.js +220 -0
- package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/rolldown-runtime-DakpK96I.cjs +43 -0
- package/dist/scroll-area.cjs +206 -0
- package/dist/scroll-area.d.cts +169 -0
- package/dist/scroll-area.d.ts +169 -0
- package/dist/scroll-area.js +184 -0
- package/dist/segment-group.cjs +318 -0
- package/dist/segment-group.d.cts +229 -0
- package/dist/segment-group.d.ts +229 -0
- package/dist/segment-group.js +298 -0
- package/dist/select.cjs +560 -0
- package/dist/select.d.cts +430 -0
- package/dist/select.d.ts +430 -0
- package/dist/select.js +523 -0
- package/dist/signature-pad.cjs +260 -0
- package/dist/signature-pad.d.cts +200 -0
- package/dist/signature-pad.d.ts +200 -0
- package/dist/signature-pad.js +237 -0
- package/dist/slider.cjs +350 -0
- package/dist/slider.d.cts +299 -0
- package/dist/slider.d.ts +299 -0
- package/dist/slider.js +323 -0
- package/dist/splitter.cjs +225 -0
- package/dist/splitter.d.cts +166 -0
- package/dist/splitter.d.ts +166 -0
- package/dist/splitter.js +198 -0
- package/dist/steps.cjs +348 -0
- package/dist/steps.d.cts +289 -0
- package/dist/steps.d.ts +289 -0
- package/dist/steps.js +319 -0
- package/dist/swap.cjs +154 -0
- package/dist/swap.d.cts +98 -0
- package/dist/swap.d.ts +98 -0
- package/dist/swap.js +141 -0
- package/dist/switch.cjs +213 -0
- package/dist/switch.d.cts +177 -0
- package/dist/switch.d.ts +177 -0
- package/dist/switch.js +192 -0
- package/dist/tabs.cjs +240 -0
- package/dist/tabs.d.cts +179 -0
- package/dist/tabs.d.ts +179 -0
- package/dist/tabs.js +218 -0
- package/dist/tags-input.cjs +405 -0
- package/dist/tags-input.d.cts +340 -0
- package/dist/tags-input.d.ts +340 -0
- package/dist/tags-input.js +376 -0
- package/dist/timer.cjs +221 -0
- package/dist/timer.d.cts +176 -0
- package/dist/timer.d.ts +176 -0
- package/dist/timer.js +199 -0
- package/dist/toast.cjs +211 -0
- package/dist/toast.d.cts +157 -0
- package/dist/toast.d.ts +157 -0
- package/dist/toast.js +189 -0
- package/dist/toggle-group.cjs +150 -0
- package/dist/toggle-group.d.cts +122 -0
- package/dist/toggle-group.d.ts +122 -0
- package/dist/toggle-group.js +132 -0
- package/dist/toggle.cjs +107 -0
- package/dist/toggle.d.cts +98 -0
- package/dist/toggle.d.ts +98 -0
- package/dist/toggle.js +94 -0
- package/dist/tooltip.cjs +265 -0
- package/dist/tooltip.d.cts +204 -0
- package/dist/tooltip.d.ts +204 -0
- package/dist/tooltip.js +242 -0
- package/dist/tour.cjs +418 -0
- package/dist/tour.d.cts +304 -0
- package/dist/tour.d.ts +304 -0
- package/dist/tour.js +374 -0
- package/dist/tree-view-DnTVwhew.cjs +651 -0
- package/dist/tree-view-goUH3_RC.js +508 -0
- package/dist/tree-view.cjs +41 -0
- package/dist/tree-view.d.cts +3 -0
- package/dist/tree-view.d.ts +3 -0
- package/dist/tree-view.js +3 -0
- package/dist/types-rSRkzyd6.d.cts +13 -0
- package/dist/types-rSRkzyd6.d.ts +13 -0
- package/dist/use-presence-BSp_dR-C.d.cts +22 -0
- package/dist/use-presence-CtEY6ZT8.cjs +49 -0
- package/dist/use-presence-DkGU_j9h.d.ts +22 -0
- package/dist/use-presence-oNdFU2c2.js +42 -0
- package/dist/utils-D95V66v9.js +548 -0
- package/dist/utils-XrBZd2Yk.cjs +625 -0
- package/package.json +277 -6
package/dist/field.d.cts
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { a as PolymorphicProps } from "./factory-BNwuanv4.cjs";
|
|
2
|
+
import { HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, MaybeRef, SelectHTMLAttributes, SlotsType, TextareaHTMLAttributes, UnwrapRef } from "vue";
|
|
3
|
+
//#region src/components/field/types.d.ts
|
|
4
|
+
interface ElementIds {
|
|
5
|
+
root?: string;
|
|
6
|
+
control?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
errorText?: string;
|
|
9
|
+
helperText?: string;
|
|
10
|
+
}
|
|
11
|
+
interface RootProps {
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
ids?: ElementIds;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
target?: string;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/field/use-field.d.ts
|
|
22
|
+
interface UseFieldProps {
|
|
23
|
+
id?: string;
|
|
24
|
+
ids?: ElementIds;
|
|
25
|
+
required?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
invalid?: boolean;
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
target?: string;
|
|
30
|
+
}
|
|
31
|
+
type UseFieldReturn = ReturnType<typeof useField>;
|
|
32
|
+
declare const useField: (props?: MaybeRef<UseFieldProps>) => import("vue").ComputedRef<{
|
|
33
|
+
ariaDescribedby: string | undefined;
|
|
34
|
+
ids: {
|
|
35
|
+
control: string;
|
|
36
|
+
label: string;
|
|
37
|
+
errorText: string;
|
|
38
|
+
helperText: string;
|
|
39
|
+
};
|
|
40
|
+
refs: {
|
|
41
|
+
rootRef: import("vue").Ref<null, null>;
|
|
42
|
+
};
|
|
43
|
+
disabled: boolean | undefined;
|
|
44
|
+
invalid: boolean | undefined;
|
|
45
|
+
readOnly: boolean | undefined;
|
|
46
|
+
required: boolean | undefined;
|
|
47
|
+
getLabelProps: () => {
|
|
48
|
+
id: string;
|
|
49
|
+
"data-disabled": import("@wirekyt/dom/dom-query").Booleanish;
|
|
50
|
+
"data-invalid": import("@wirekyt/dom/dom-query").Booleanish;
|
|
51
|
+
"data-readonly": import("@wirekyt/dom/dom-query").Booleanish;
|
|
52
|
+
"data-required": import("@wirekyt/dom/dom-query").Booleanish;
|
|
53
|
+
htmlFor: string;
|
|
54
|
+
"data-scope": string;
|
|
55
|
+
"data-part": string;
|
|
56
|
+
};
|
|
57
|
+
getRootProps: () => {
|
|
58
|
+
id: string;
|
|
59
|
+
role: string;
|
|
60
|
+
"data-disabled": import("@wirekyt/dom/dom-query").Booleanish;
|
|
61
|
+
"data-invalid": import("@wirekyt/dom/dom-query").Booleanish;
|
|
62
|
+
"data-readonly": import("@wirekyt/dom/dom-query").Booleanish;
|
|
63
|
+
"data-scope": string;
|
|
64
|
+
"data-part": string;
|
|
65
|
+
};
|
|
66
|
+
getInputProps: () => {
|
|
67
|
+
"data-scope": string;
|
|
68
|
+
"data-part": string;
|
|
69
|
+
"aria-describedby": string | undefined;
|
|
70
|
+
"aria-errormessage": string | undefined;
|
|
71
|
+
"aria-invalid": "true" | undefined;
|
|
72
|
+
"data-invalid": import("@wirekyt/dom/dom-query").Booleanish;
|
|
73
|
+
"data-required": import("@wirekyt/dom/dom-query").Booleanish;
|
|
74
|
+
"data-readonly": import("@wirekyt/dom/dom-query").Booleanish;
|
|
75
|
+
id: string;
|
|
76
|
+
required: boolean | undefined;
|
|
77
|
+
disabled: boolean | undefined;
|
|
78
|
+
readOnly: boolean | undefined;
|
|
79
|
+
};
|
|
80
|
+
getTextareaProps: () => {
|
|
81
|
+
"data-scope": string;
|
|
82
|
+
"data-part": string;
|
|
83
|
+
"aria-describedby": string | undefined;
|
|
84
|
+
"aria-errormessage": string | undefined;
|
|
85
|
+
"aria-invalid": "true" | undefined;
|
|
86
|
+
"data-invalid": import("@wirekyt/dom/dom-query").Booleanish;
|
|
87
|
+
"data-required": import("@wirekyt/dom/dom-query").Booleanish;
|
|
88
|
+
"data-readonly": import("@wirekyt/dom/dom-query").Booleanish;
|
|
89
|
+
id: string;
|
|
90
|
+
required: boolean | undefined;
|
|
91
|
+
disabled: boolean | undefined;
|
|
92
|
+
readOnly: boolean | undefined;
|
|
93
|
+
};
|
|
94
|
+
getSelectProps: () => {
|
|
95
|
+
"data-scope": string;
|
|
96
|
+
"data-part": string;
|
|
97
|
+
"aria-describedby": string | undefined;
|
|
98
|
+
"aria-errormessage": string | undefined;
|
|
99
|
+
"aria-invalid": "true" | undefined;
|
|
100
|
+
"data-invalid": import("@wirekyt/dom/dom-query").Booleanish;
|
|
101
|
+
"data-required": import("@wirekyt/dom/dom-query").Booleanish;
|
|
102
|
+
"data-readonly": import("@wirekyt/dom/dom-query").Booleanish;
|
|
103
|
+
id: string;
|
|
104
|
+
required: boolean | undefined;
|
|
105
|
+
disabled: boolean | undefined;
|
|
106
|
+
readOnly: boolean | undefined;
|
|
107
|
+
};
|
|
108
|
+
getHelperTextProps: () => {
|
|
109
|
+
"data-disabled": import("@wirekyt/dom/dom-query").Booleanish;
|
|
110
|
+
"data-scope": string;
|
|
111
|
+
"data-part": string;
|
|
112
|
+
id: string;
|
|
113
|
+
};
|
|
114
|
+
getErrorTextProps: () => HTMLAttributes;
|
|
115
|
+
getRequiredIndicatorProps: () => HTMLAttributes;
|
|
116
|
+
}>;
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/components/field/use-context.d.ts
|
|
119
|
+
interface UseFieldContext extends UseFieldReturn {}
|
|
120
|
+
declare const FieldProvider: (opts: UseFieldContext) => void, useFieldContext: (fallback?: UseFieldContext | undefined) => UseFieldContext;
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region src/components/field/context.vue.d.ts
|
|
123
|
+
interface FieldContextProps extends SlotsType<{
|
|
124
|
+
default: UnwrapRef<UseFieldContext>;
|
|
125
|
+
}> {}
|
|
126
|
+
declare const _default: typeof __VLS_export$10;
|
|
127
|
+
declare const __VLS_export$10: __VLS_WithSlots$10<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
128
|
+
default(field: UnwrapRef<UseFieldContext>): unknown;
|
|
129
|
+
}>;
|
|
130
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
131
|
+
new (): {
|
|
132
|
+
$slots: S;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/components/field/error-text.vue.d.ts
|
|
137
|
+
interface FieldErrorTextBaseProps extends PolymorphicProps {}
|
|
138
|
+
interface FieldErrorTextProps extends FieldErrorTextBaseProps,
|
|
139
|
+
/**
|
|
140
|
+
* @vue-ignore
|
|
141
|
+
*/
|
|
142
|
+
HTMLAttributes {}
|
|
143
|
+
declare const _default$1: typeof __VLS_export$9;
|
|
144
|
+
declare const __VLS_export$9: __VLS_WithSlots$9<import("vue").DefineComponent<FieldErrorTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldErrorTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
145
|
+
default?: (props: {}) => any;
|
|
146
|
+
}>;
|
|
147
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
148
|
+
new (): {
|
|
149
|
+
$slots: S;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/components/field/helper-text.vue.d.ts
|
|
154
|
+
interface FieldHelperTextBaseProps extends PolymorphicProps {}
|
|
155
|
+
interface FieldHelperTextProps extends FieldHelperTextBaseProps,
|
|
156
|
+
/**
|
|
157
|
+
* @vue-ignore
|
|
158
|
+
*/
|
|
159
|
+
HTMLAttributes {}
|
|
160
|
+
declare const _default$2: typeof __VLS_export$8;
|
|
161
|
+
declare const __VLS_export$8: __VLS_WithSlots$8<import("vue").DefineComponent<FieldHelperTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldHelperTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
162
|
+
default?: (props: {}) => any;
|
|
163
|
+
}>;
|
|
164
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
165
|
+
new (): {
|
|
166
|
+
$slots: S;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
//#endregion
|
|
170
|
+
//#region src/components/field/input.vue.d.ts
|
|
171
|
+
interface FieldInputBaseProps extends PolymorphicProps {}
|
|
172
|
+
interface FieldInputProps extends FieldInputBaseProps,
|
|
173
|
+
/**
|
|
174
|
+
* @vue-ignore
|
|
175
|
+
*/
|
|
176
|
+
Omit<InputHTMLAttributes, "value"> {
|
|
177
|
+
modelValue?: InputHTMLAttributes["value"];
|
|
178
|
+
}
|
|
179
|
+
declare const _default$3: typeof __VLS_export$7;
|
|
180
|
+
declare const __VLS_export$7: __VLS_WithSlots$7<import("vue").DefineComponent<FieldInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
181
|
+
"update:modelValue": (...args: any[]) => void;
|
|
182
|
+
}, string, import("vue").PublicProps, Readonly<FieldInputProps> & Readonly<{
|
|
183
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
185
|
+
default?: (props: {}) => any;
|
|
186
|
+
}>;
|
|
187
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
188
|
+
new (): {
|
|
189
|
+
$slots: S;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
//#endregion
|
|
193
|
+
//#region src/components/field/item.vue.d.ts
|
|
194
|
+
interface FieldItemBaseProps {
|
|
195
|
+
value: string;
|
|
196
|
+
}
|
|
197
|
+
interface FieldItemProps extends FieldItemBaseProps {}
|
|
198
|
+
declare const _default$4: typeof __VLS_export$6;
|
|
199
|
+
declare const __VLS_export$6: __VLS_WithSlots$6<import("vue").DefineComponent<FieldItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
200
|
+
default?: (props: {}) => any;
|
|
201
|
+
}>;
|
|
202
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
203
|
+
new (): {
|
|
204
|
+
$slots: S;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/components/field/label.vue.d.ts
|
|
209
|
+
interface FieldLabelBaseProps extends PolymorphicProps {}
|
|
210
|
+
interface FieldLabelProps extends FieldLabelBaseProps,
|
|
211
|
+
/**
|
|
212
|
+
* @vue-ignore
|
|
213
|
+
*/
|
|
214
|
+
LabelHTMLAttributes {}
|
|
215
|
+
declare const _default$5: typeof __VLS_export$5;
|
|
216
|
+
declare const __VLS_export$5: __VLS_WithSlots$5<import("vue").DefineComponent<FieldLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
217
|
+
default?: (props: {}) => any;
|
|
218
|
+
}>;
|
|
219
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
220
|
+
new (): {
|
|
221
|
+
$slots: S;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/components/field/required-indicator.vue.d.ts
|
|
226
|
+
interface FieldRequiredIndicatorBaseProps extends PolymorphicProps {}
|
|
227
|
+
interface FieldRequiredIndicatorProps extends FieldRequiredIndicatorBaseProps,
|
|
228
|
+
/**
|
|
229
|
+
* @vue-ignore
|
|
230
|
+
*/
|
|
231
|
+
HTMLAttributes {}
|
|
232
|
+
declare const _default$6: typeof __VLS_export$4;
|
|
233
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<import("vue").DefineComponent<FieldRequiredIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldRequiredIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
234
|
+
default?: (props: {}) => any;
|
|
235
|
+
} & {
|
|
236
|
+
fallback?: (props: {}) => any;
|
|
237
|
+
}>;
|
|
238
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
239
|
+
new (): {
|
|
240
|
+
$slots: S;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
//#endregion
|
|
244
|
+
//#region src/components/field/root-provider.vue.d.ts
|
|
245
|
+
interface RootProviderProps {
|
|
246
|
+
value: UnwrapRef<UseFieldReturn>;
|
|
247
|
+
}
|
|
248
|
+
interface FieldRootProviderBaseProps extends RootProviderProps, PolymorphicProps {}
|
|
249
|
+
interface FieldRootProviderProps extends FieldRootProviderBaseProps,
|
|
250
|
+
/**
|
|
251
|
+
* @vue-ignore
|
|
252
|
+
*/
|
|
253
|
+
HTMLAttributes {}
|
|
254
|
+
declare const _default$8: typeof __VLS_export$3;
|
|
255
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<import("vue").DefineComponent<FieldRootProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
256
|
+
default?: (props: {}) => any;
|
|
257
|
+
}>;
|
|
258
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
259
|
+
new (): {
|
|
260
|
+
$slots: S;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region src/components/field/root.vue.d.ts
|
|
265
|
+
interface FieldRootBaseProps extends RootProps, PolymorphicProps {}
|
|
266
|
+
interface FieldRootProps extends FieldRootBaseProps,
|
|
267
|
+
/**
|
|
268
|
+
* @vue-ignore
|
|
269
|
+
*/
|
|
270
|
+
HTMLAttributes {}
|
|
271
|
+
declare const _default$7: typeof __VLS_export$2;
|
|
272
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<import("vue").DefineComponent<FieldRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldRootProps> & Readonly<{}>, {
|
|
273
|
+
disabled: boolean;
|
|
274
|
+
required: boolean;
|
|
275
|
+
invalid: boolean;
|
|
276
|
+
readOnly: boolean;
|
|
277
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
278
|
+
default?: (props: {}) => any;
|
|
279
|
+
}>;
|
|
280
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
281
|
+
new (): {
|
|
282
|
+
$slots: S;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
//#endregion
|
|
286
|
+
//#region src/components/field/select.vue.d.ts
|
|
287
|
+
interface FieldSelectBaseProps extends PolymorphicProps {}
|
|
288
|
+
interface FieldSelectProps extends FieldSelectBaseProps,
|
|
289
|
+
/**
|
|
290
|
+
* @vue-ignore
|
|
291
|
+
*/
|
|
292
|
+
Omit<SelectHTMLAttributes, "value"> {
|
|
293
|
+
modelValue?: SelectHTMLAttributes["value"];
|
|
294
|
+
}
|
|
295
|
+
declare const _default$9: typeof __VLS_export$1;
|
|
296
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<import("vue").DefineComponent<FieldSelectProps & {
|
|
297
|
+
modelValue?: string;
|
|
298
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
299
|
+
"update:modelValue": (...args: any[]) => void;
|
|
300
|
+
}, string, import("vue").PublicProps, Readonly<FieldSelectProps & {
|
|
301
|
+
modelValue?: string;
|
|
302
|
+
}> & Readonly<{
|
|
303
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
304
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
305
|
+
default?: (props: {}) => any;
|
|
306
|
+
}>;
|
|
307
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
308
|
+
new (): {
|
|
309
|
+
$slots: S;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
//#endregion
|
|
313
|
+
//#region src/components/field/textarea.vue.d.ts
|
|
314
|
+
interface FieldTextareaBaseProps extends PolymorphicProps {
|
|
315
|
+
autoresize?: boolean;
|
|
316
|
+
}
|
|
317
|
+
interface FieldTextareaProps extends FieldTextareaBaseProps,
|
|
318
|
+
/**
|
|
319
|
+
* @vue-ignore
|
|
320
|
+
*/
|
|
321
|
+
Omit<TextareaHTMLAttributes, "value"> {
|
|
322
|
+
modelValue?: TextareaHTMLAttributes["value"];
|
|
323
|
+
}
|
|
324
|
+
declare const _default$10: typeof __VLS_export;
|
|
325
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<FieldTextareaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
326
|
+
"update:modelValue": (...args: any[]) => void;
|
|
327
|
+
}, string, import("vue").PublicProps, Readonly<FieldTextareaProps> & Readonly<{
|
|
328
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
329
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
330
|
+
default?: (props: {}) => any;
|
|
331
|
+
}>;
|
|
332
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
333
|
+
new (): {
|
|
334
|
+
$slots: S;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/components/field/anatomy.d.ts
|
|
339
|
+
declare const fieldAnatomy: import("@wirekyt/dom/anatomy").AnatomyInstance<"input" | "label" | "select" | "textarea" | "root" | "errorText" | "helperText" | "requiredIndicator">;
|
|
340
|
+
declare namespace field_d_exports {
|
|
341
|
+
export { _default as Context, FieldContextProps as ContextProps, _default$1 as ErrorText, FieldErrorTextBaseProps as ErrorTextBaseProps, FieldErrorTextProps as ErrorTextProps, _default$2 as HelperText, FieldHelperTextBaseProps as HelperTextBaseProps, FieldHelperTextProps as HelperTextProps, _default$3 as Input, FieldInputBaseProps as InputBaseProps, FieldInputProps as InputProps, _default$4 as Item, FieldItemBaseProps as ItemBaseProps, FieldItemProps as ItemProps, _default$5 as Label, FieldLabelBaseProps as LabelBaseProps, FieldLabelProps as LabelProps, _default$6 as RequiredIndicator, FieldRequiredIndicatorBaseProps as RequiredIndicatorBaseProps, FieldRequiredIndicatorProps as RequiredIndicatorProps, _default$7 as Root, FieldRootBaseProps as RootBaseProps, FieldRootProps as RootProps, _default$8 as RootProvider, FieldRootProviderBaseProps as RootProviderBaseProps, FieldRootProviderProps as RootProviderProps, _default$9 as Select, FieldSelectBaseProps as SelectBaseProps, FieldSelectProps as SelectProps, _default$10 as Textarea, FieldTextareaBaseProps as TextareaBaseProps, FieldTextareaProps as TextareaProps };
|
|
342
|
+
}
|
|
343
|
+
//#endregion
|
|
344
|
+
export { field_d_exports as Field, _default as FieldContext, type FieldContextProps, _default$1 as FieldErrorText, type FieldErrorTextBaseProps, type FieldErrorTextProps, _default$2 as FieldHelperText, type FieldHelperTextBaseProps, type FieldHelperTextProps, _default$3 as FieldInput, type FieldInputBaseProps, type FieldInputProps, _default$4 as FieldItem, type FieldItemBaseProps, type FieldItemProps, _default$5 as FieldLabel, type FieldLabelBaseProps, type FieldLabelProps, _default$6 as FieldRequiredIndicator, type FieldRequiredIndicatorBaseProps, type FieldRequiredIndicatorProps, _default$7 as FieldRoot, type FieldRootBaseProps, type FieldRootProps, _default$8 as FieldRootProvider, type FieldRootProviderBaseProps, type FieldRootProviderProps, _default$9 as FieldSelect, type FieldSelectBaseProps, type FieldSelectProps, _default$10 as FieldTextarea, type FieldTextareaBaseProps, type FieldTextareaProps, type UseFieldContext, type UseFieldProps, type UseFieldReturn, fieldAnatomy, useField, useFieldContext };
|