@lovince/ui-vue 0.0.0-stage → 0.1.0

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.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +134 -2
  3. package/dist/components/accordion.d.ts +197 -0
  4. package/dist/components/avatar.d.ts +90 -0
  5. package/dist/components/calendar.d.ts +421 -0
  6. package/dist/components/carousel.d.ts +293 -0
  7. package/dist/components/combobox.d.ts +431 -0
  8. package/dist/components/command.d.ts +252 -0
  9. package/dist/components/dialog.d.ts +242 -0
  10. package/dist/components/disclosure.d.ts +120 -0
  11. package/dist/components/emoji-picker.d.ts +359 -0
  12. package/dist/components/menu.d.ts +493 -0
  13. package/dist/components/navigation-menu.d.ts +275 -0
  14. package/dist/components/number-field.d.ts +202 -0
  15. package/dist/components/pin-input.d.ts +174 -0
  16. package/dist/components/popover.d.ts +213 -0
  17. package/dist/components/progress.d.ts +82 -0
  18. package/dist/components/radio-group.d.ts +167 -0
  19. package/dist/components/select.d.ts +418 -0
  20. package/dist/components/slider.d.ts +222 -0
  21. package/dist/components/sortable.d.ts +140 -0
  22. package/dist/components/splitter.d.ts +167 -0
  23. package/dist/components/tabs.d.ts +183 -0
  24. package/dist/components/toast.d.ts +192 -0
  25. package/dist/components/toggle-group.d.ts +205 -0
  26. package/dist/components/toggles.d.ts +232 -0
  27. package/dist/components/tooltip.d.ts +370 -0
  28. package/dist/components/tree.d.ts +147 -0
  29. package/dist/composables/data-table.d.ts +25 -0
  30. package/dist/composables/observers.d.ts +42 -0
  31. package/dist/composables/presence.d.ts +7 -0
  32. package/dist/index.d.ts +37 -0
  33. package/dist/index.js +4094 -0
  34. package/dist/shared/context.d.ts +2 -0
  35. package/dist/shared/dismiss.d.ts +17 -0
  36. package/dist/shared/element.d.ts +6 -0
  37. package/dist/shared/floating-props.d.ts +27 -0
  38. package/dist/shared/list.d.ts +17 -0
  39. package/dist/shared/machine.d.ts +37 -0
  40. package/dist/shared/parts.d.ts +8 -0
  41. package/dist/shared/portal.d.ts +34 -0
  42. package/dist/shared/primitive.d.ts +57 -0
  43. package/package.json +68 -4
@@ -0,0 +1,275 @@
1
+ import { PropType } from 'vue';
2
+ import { Orientation } from '@lovince/ui-headless';
3
+ /**
4
+ * Site navigation whose sections open panels of links — the WAI-ARIA
5
+ * disclosure navigation, not an application menu.
6
+ */
7
+ export declare const NavigationMenuRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ as: {
9
+ default: string;
10
+ type: PropType<string | import('vue').Component>;
11
+ };
12
+ modelValue: {
13
+ type: StringConstructor;
14
+ default: undefined;
15
+ };
16
+ orientation: {
17
+ type: PropType<Orientation>;
18
+ default: string;
19
+ };
20
+ /** Hover delay before a panel opens, in ms. */
21
+ openDelay: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ /** Long enough for the pointer to cross from a button onto its panel. */
26
+ closeDelay: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
30
+ asChild: {
31
+ readonly type: BooleanConstructor;
32
+ readonly default: false;
33
+ };
34
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
35
+ [key: string]: any;
36
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
+ 'update:modelValue': (value: string) => boolean;
38
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
+ as: {
40
+ default: string;
41
+ type: PropType<string | import('vue').Component>;
42
+ };
43
+ modelValue: {
44
+ type: StringConstructor;
45
+ default: undefined;
46
+ };
47
+ orientation: {
48
+ type: PropType<Orientation>;
49
+ default: string;
50
+ };
51
+ /** Hover delay before a panel opens, in ms. */
52
+ openDelay: {
53
+ type: NumberConstructor;
54
+ default: number;
55
+ };
56
+ /** Long enough for the pointer to cross from a button onto its panel. */
57
+ closeDelay: {
58
+ type: NumberConstructor;
59
+ default: number;
60
+ };
61
+ asChild: {
62
+ readonly type: BooleanConstructor;
63
+ readonly default: false;
64
+ };
65
+ }>> & Readonly<{
66
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
67
+ }>, {
68
+ as: string | import('vue').Component;
69
+ asChild: boolean;
70
+ orientation: Orientation;
71
+ openDelay: number;
72
+ closeDelay: number;
73
+ modelValue: string;
74
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
75
+ export declare const NavigationMenuList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
76
+ as: {
77
+ default: string;
78
+ type: PropType<string | import('vue').Component>;
79
+ };
80
+ asChild: {
81
+ readonly type: BooleanConstructor;
82
+ readonly default: false;
83
+ };
84
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
85
+ [key: string]: any;
86
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
87
+ as: {
88
+ default: string;
89
+ type: PropType<string | import('vue').Component>;
90
+ };
91
+ asChild: {
92
+ readonly type: BooleanConstructor;
93
+ readonly default: false;
94
+ };
95
+ }>> & Readonly<{}>, {
96
+ as: string | import('vue').Component;
97
+ asChild: boolean;
98
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
99
+ export declare const NavigationMenuItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
100
+ as: {
101
+ default: string;
102
+ type: PropType<string | import('vue').Component>;
103
+ };
104
+ value: {
105
+ type: StringConstructor;
106
+ default: undefined;
107
+ };
108
+ asChild: {
109
+ readonly type: BooleanConstructor;
110
+ readonly default: false;
111
+ };
112
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
113
+ [key: string]: any;
114
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
115
+ as: {
116
+ default: string;
117
+ type: PropType<string | import('vue').Component>;
118
+ };
119
+ value: {
120
+ type: StringConstructor;
121
+ default: undefined;
122
+ };
123
+ asChild: {
124
+ readonly type: BooleanConstructor;
125
+ readonly default: false;
126
+ };
127
+ }>> & Readonly<{}>, {
128
+ as: string | import('vue').Component;
129
+ asChild: boolean;
130
+ value: string;
131
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
132
+ export declare const NavigationMenuTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
133
+ readonly as: {
134
+ readonly default: "button";
135
+ readonly type: PropType<string | import('vue').Component>;
136
+ };
137
+ readonly asChild: {
138
+ readonly type: BooleanConstructor;
139
+ readonly default: false;
140
+ };
141
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
142
+ [key: string]: any;
143
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
144
+ readonly as: {
145
+ readonly default: "button";
146
+ readonly type: PropType<string | import('vue').Component>;
147
+ };
148
+ readonly asChild: {
149
+ readonly type: BooleanConstructor;
150
+ readonly default: false;
151
+ };
152
+ }>> & Readonly<{}>, {
153
+ readonly as: string | import('vue').Component;
154
+ readonly asChild: boolean;
155
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
156
+ /**
157
+ * A panel of links. Rendered after its button, not portalled, so Tab reaches
158
+ * it in reading order. `anchor="root"` hangs it from the whole bar.
159
+ */
160
+ export declare const NavigationMenuContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
161
+ align: {
162
+ default: string;
163
+ type: PropType<import('@lovince/ui-headless').Align>;
164
+ validator: (value: string) => boolean;
165
+ };
166
+ anchor: {
167
+ type: PropType<"trigger" | "root">;
168
+ default: string;
169
+ };
170
+ side: {
171
+ readonly type: PropType<import('@lovince/ui-headless').Side>;
172
+ readonly default: "bottom";
173
+ readonly validator: (value: string) => boolean;
174
+ };
175
+ sideOffset: {
176
+ readonly type: NumberConstructor;
177
+ readonly default: 4;
178
+ };
179
+ collisionPadding: {
180
+ readonly type: NumberConstructor;
181
+ readonly default: 8;
182
+ };
183
+ avoidCollisions: {
184
+ readonly type: BooleanConstructor;
185
+ readonly default: true;
186
+ };
187
+ as: {
188
+ readonly type: PropType<string | import('vue').Component>;
189
+ readonly default: "div";
190
+ };
191
+ asChild: {
192
+ readonly type: BooleanConstructor;
193
+ readonly default: false;
194
+ };
195
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
196
+ [key: string]: any;
197
+ }> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
198
+ align: {
199
+ default: string;
200
+ type: PropType<import('@lovince/ui-headless').Align>;
201
+ validator: (value: string) => boolean;
202
+ };
203
+ anchor: {
204
+ type: PropType<"trigger" | "root">;
205
+ default: string;
206
+ };
207
+ side: {
208
+ readonly type: PropType<import('@lovince/ui-headless').Side>;
209
+ readonly default: "bottom";
210
+ readonly validator: (value: string) => boolean;
211
+ };
212
+ sideOffset: {
213
+ readonly type: NumberConstructor;
214
+ readonly default: 4;
215
+ };
216
+ collisionPadding: {
217
+ readonly type: NumberConstructor;
218
+ readonly default: 8;
219
+ };
220
+ avoidCollisions: {
221
+ readonly type: BooleanConstructor;
222
+ readonly default: true;
223
+ };
224
+ as: {
225
+ readonly type: PropType<string | import('vue').Component>;
226
+ readonly default: "div";
227
+ };
228
+ asChild: {
229
+ readonly type: BooleanConstructor;
230
+ readonly default: false;
231
+ };
232
+ }>> & Readonly<{}>, {
233
+ as: string | import('vue').Component;
234
+ asChild: boolean;
235
+ anchor: "trigger" | "root";
236
+ side: "top" | "right" | "bottom" | "left";
237
+ align: "center" | "start" | "end";
238
+ sideOffset: number;
239
+ collisionPadding: number;
240
+ avoidCollisions: boolean;
241
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
242
+ /** A link: at the top level, or inside a panel. Following one closes the panel. */
243
+ export declare const NavigationMenuLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
244
+ as: {
245
+ default: string;
246
+ type: PropType<string | import('vue').Component>;
247
+ };
248
+ active: {
249
+ type: BooleanConstructor;
250
+ default: boolean;
251
+ };
252
+ asChild: {
253
+ readonly type: BooleanConstructor;
254
+ readonly default: false;
255
+ };
256
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
257
+ [key: string]: any;
258
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
259
+ as: {
260
+ default: string;
261
+ type: PropType<string | import('vue').Component>;
262
+ };
263
+ active: {
264
+ type: BooleanConstructor;
265
+ default: boolean;
266
+ };
267
+ asChild: {
268
+ readonly type: BooleanConstructor;
269
+ readonly default: false;
270
+ };
271
+ }>> & Readonly<{}>, {
272
+ as: string | import('vue').Component;
273
+ asChild: boolean;
274
+ active: boolean;
275
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,202 @@
1
+ import { PropType } from 'vue';
2
+ /**
3
+ * A number typed or stepped: the WAI-ARIA spinbutton. Typing is free while the
4
+ * field has focus; the value is read, held within min and max and snapped to
5
+ * the step when it is committed (blur or Enter).
6
+ */
7
+ export declare const NumberFieldRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: {
9
+ type: PropType<number | null>;
10
+ default: undefined;
11
+ };
12
+ defaultValue: {
13
+ type: PropType<number | null>;
14
+ default: null;
15
+ };
16
+ min: {
17
+ type: NumberConstructor;
18
+ default: undefined;
19
+ };
20
+ max: {
21
+ type: NumberConstructor;
22
+ default: undefined;
23
+ };
24
+ step: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ locale: {
29
+ type: StringConstructor;
30
+ default: undefined;
31
+ };
32
+ /** Intl options for how the number is written: units, percent, fraction digits. */
33
+ formatOptions: {
34
+ type: PropType<Intl.NumberFormatOptions>;
35
+ default: undefined;
36
+ };
37
+ disabled: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ /** Reads the value aloud: `(value) => '3 guarantors'`. */
42
+ getValueLabel: {
43
+ type: PropType<(value: number) => string>;
44
+ default: undefined;
45
+ };
46
+ /** Adds a hidden input so the value submits with a native form. */
47
+ name: {
48
+ type: StringConstructor;
49
+ default: undefined;
50
+ };
51
+ as: {
52
+ readonly type: PropType<string | import('vue').Component>;
53
+ readonly default: "div";
54
+ };
55
+ asChild: {
56
+ readonly type: BooleanConstructor;
57
+ readonly default: false;
58
+ };
59
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
60
+ [key: string]: any;
61
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
+ 'update:modelValue': (value: number | null) => boolean;
63
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
64
+ modelValue: {
65
+ type: PropType<number | null>;
66
+ default: undefined;
67
+ };
68
+ defaultValue: {
69
+ type: PropType<number | null>;
70
+ default: null;
71
+ };
72
+ min: {
73
+ type: NumberConstructor;
74
+ default: undefined;
75
+ };
76
+ max: {
77
+ type: NumberConstructor;
78
+ default: undefined;
79
+ };
80
+ step: {
81
+ type: NumberConstructor;
82
+ default: number;
83
+ };
84
+ locale: {
85
+ type: StringConstructor;
86
+ default: undefined;
87
+ };
88
+ /** Intl options for how the number is written: units, percent, fraction digits. */
89
+ formatOptions: {
90
+ type: PropType<Intl.NumberFormatOptions>;
91
+ default: undefined;
92
+ };
93
+ disabled: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ /** Reads the value aloud: `(value) => '3 guarantors'`. */
98
+ getValueLabel: {
99
+ type: PropType<(value: number) => string>;
100
+ default: undefined;
101
+ };
102
+ /** Adds a hidden input so the value submits with a native form. */
103
+ name: {
104
+ type: StringConstructor;
105
+ default: undefined;
106
+ };
107
+ as: {
108
+ readonly type: PropType<string | import('vue').Component>;
109
+ readonly default: "div";
110
+ };
111
+ asChild: {
112
+ readonly type: BooleanConstructor;
113
+ readonly default: false;
114
+ };
115
+ }>> & Readonly<{
116
+ "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
117
+ }>, {
118
+ name: string;
119
+ as: string | import('vue').Component;
120
+ asChild: boolean;
121
+ disabled: boolean;
122
+ min: number;
123
+ max: number;
124
+ step: number;
125
+ locale: string;
126
+ formatOptions: Intl.NumberFormatOptions;
127
+ modelValue: number | null;
128
+ defaultValue: number | null;
129
+ getValueLabel: (value: number) => string;
130
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
131
+ export declare const NumberFieldInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
132
+ as: {
133
+ default: string;
134
+ type: PropType<string | import('vue').Component>;
135
+ };
136
+ asChild: {
137
+ readonly type: BooleanConstructor;
138
+ readonly default: false;
139
+ };
140
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
141
+ [key: string]: any;
142
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
143
+ as: {
144
+ default: string;
145
+ type: PropType<string | import('vue').Component>;
146
+ };
147
+ asChild: {
148
+ readonly type: BooleanConstructor;
149
+ readonly default: false;
150
+ };
151
+ }>> & Readonly<{}>, {
152
+ as: string | import('vue').Component;
153
+ asChild: boolean;
154
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
155
+ export declare const NumberFieldIncrement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
156
+ readonly as: {
157
+ readonly default: "button";
158
+ readonly type: PropType<string | import('vue').Component>;
159
+ };
160
+ readonly asChild: {
161
+ readonly type: BooleanConstructor;
162
+ readonly default: false;
163
+ };
164
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
165
+ [key: string]: any;
166
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
167
+ readonly as: {
168
+ readonly default: "button";
169
+ readonly type: PropType<string | import('vue').Component>;
170
+ };
171
+ readonly asChild: {
172
+ readonly type: BooleanConstructor;
173
+ readonly default: false;
174
+ };
175
+ }>> & Readonly<{}>, {
176
+ readonly as: string | import('vue').Component;
177
+ readonly asChild: boolean;
178
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
179
+ export declare const NumberFieldDecrement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
180
+ readonly as: {
181
+ readonly default: "button";
182
+ readonly type: PropType<string | import('vue').Component>;
183
+ };
184
+ readonly asChild: {
185
+ readonly type: BooleanConstructor;
186
+ readonly default: false;
187
+ };
188
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
189
+ [key: string]: any;
190
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
191
+ readonly as: {
192
+ readonly default: "button";
193
+ readonly type: PropType<string | import('vue').Component>;
194
+ };
195
+ readonly asChild: {
196
+ readonly type: BooleanConstructor;
197
+ readonly default: false;
198
+ };
199
+ }>> & Readonly<{}>, {
200
+ readonly as: string | import('vue').Component;
201
+ readonly asChild: boolean;
202
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,174 @@
1
+ import { PropType } from 'vue';
2
+ import { pinCharacters, PinInputType } from '@lovince/ui-headless';
3
+ export { pinCharacters, type PinInputType };
4
+ /**
5
+ * One box per character of a short code. The value is a plain string with no
6
+ * gaps; paste and SMS autofill spread across boxes.
7
+ */
8
+ export declare const PinInputRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ defaultValue: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ length: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ type: {
22
+ type: PropType<PinInputType>;
23
+ default: string;
24
+ };
25
+ /** Hide the characters, as for a PIN. */
26
+ mask: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ /** Offer the platform's one-time-code autofill (SMS codes on iOS and Android). */
31
+ otp: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ disabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ invalid: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ placeholder: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ /** Adds a hidden input so the code submits with a native form. */
48
+ name: {
49
+ type: StringConstructor;
50
+ default: undefined;
51
+ };
52
+ as: {
53
+ readonly type: PropType<string | import('vue').Component>;
54
+ readonly default: "div";
55
+ };
56
+ asChild: {
57
+ readonly type: BooleanConstructor;
58
+ readonly default: false;
59
+ };
60
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
61
+ [key: string]: any;
62
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
+ 'update:modelValue': (value: string) => boolean;
64
+ complete: (value: string) => boolean;
65
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
66
+ modelValue: {
67
+ type: StringConstructor;
68
+ default: undefined;
69
+ };
70
+ defaultValue: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ length: {
75
+ type: NumberConstructor;
76
+ default: number;
77
+ };
78
+ type: {
79
+ type: PropType<PinInputType>;
80
+ default: string;
81
+ };
82
+ /** Hide the characters, as for a PIN. */
83
+ mask: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ /** Offer the platform's one-time-code autofill (SMS codes on iOS and Android). */
88
+ otp: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ disabled: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ invalid: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ placeholder: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ /** Adds a hidden input so the code submits with a native form. */
105
+ name: {
106
+ type: StringConstructor;
107
+ default: undefined;
108
+ };
109
+ as: {
110
+ readonly type: PropType<string | import('vue').Component>;
111
+ readonly default: "div";
112
+ };
113
+ asChild: {
114
+ readonly type: BooleanConstructor;
115
+ readonly default: false;
116
+ };
117
+ }>> & Readonly<{
118
+ onComplete?: ((value: string) => any) | undefined;
119
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
120
+ }>, {
121
+ name: string;
122
+ length: number;
123
+ as: string | import('vue').Component;
124
+ asChild: boolean;
125
+ invalid: boolean;
126
+ type: PinInputType;
127
+ disabled: boolean;
128
+ mask: boolean;
129
+ placeholder: string;
130
+ modelValue: string;
131
+ defaultValue: string;
132
+ otp: boolean;
133
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
134
+ export declare const PinInputInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
135
+ as: {
136
+ default: string;
137
+ type: PropType<string | import('vue').Component>;
138
+ };
139
+ index: {
140
+ type: NumberConstructor;
141
+ required: true;
142
+ };
143
+ label: {
144
+ type: StringConstructor;
145
+ default: undefined;
146
+ };
147
+ asChild: {
148
+ readonly type: BooleanConstructor;
149
+ readonly default: false;
150
+ };
151
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
152
+ [key: string]: any;
153
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
154
+ as: {
155
+ default: string;
156
+ type: PropType<string | import('vue').Component>;
157
+ };
158
+ index: {
159
+ type: NumberConstructor;
160
+ required: true;
161
+ };
162
+ label: {
163
+ type: StringConstructor;
164
+ default: undefined;
165
+ };
166
+ asChild: {
167
+ readonly type: BooleanConstructor;
168
+ readonly default: false;
169
+ };
170
+ }>> & Readonly<{}>, {
171
+ as: string | import('vue').Component;
172
+ asChild: boolean;
173
+ label: string;
174
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;