@lovince/ui-vue 0.1.1 → 0.3.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.
- package/README.md +248 -28
- package/dist/components/{combobox.d.ts → choice/combobox.d.ts} +10 -27
- package/dist/components/{command.d.ts → choice/command.d.ts} +7 -19
- package/dist/components/{emoji-picker.d.ts → choice/emoji-picker.d.ts} +9 -9
- package/dist/components/{radio-group.d.ts → choice/radio-group.d.ts} +3 -3
- package/dist/components/choice/rating.d.ts +143 -0
- package/dist/components/choice/segmented-control.d.ts +26 -0
- package/dist/components/{select.d.ts → choice/select.d.ts} +11 -20
- package/dist/components/{toggle-group.d.ts → choice/toggle-group.d.ts} +3 -9
- package/dist/components/{toggles.d.ts → choice/toggles.d.ts} +4 -4
- package/dist/components/{accordion.d.ts → disclosure/accordion.d.ts} +5 -13
- package/dist/components/{disclosure.d.ts → disclosure/disclosure.d.ts} +3 -10
- package/dist/components/{tabs.d.ts → disclosure/tabs.d.ts} +4 -6
- package/dist/components/display/avatar-group.d.ts +61 -0
- package/dist/components/{avatar.d.ts → display/avatar.d.ts} +3 -6
- package/dist/components/display/feedback.d.ts +623 -0
- package/dist/components/display/image.d.ts +95 -0
- package/dist/components/display/meter.d.ts +165 -0
- package/dist/components/{progress.d.ts → display/progress.d.ts} +2 -6
- package/dist/components/display/stat.d.ts +102 -0
- package/dist/components/display/table-parts.d.ts +272 -0
- package/dist/components/display/table.d.ts +130 -0
- package/dist/components/display/timeline.d.ts +181 -0
- package/dist/components/forms/color-picker.d.ts +187 -0
- package/dist/components/forms/date-picker.d.ts +257 -0
- package/dist/components/forms/editable.d.ts +243 -0
- package/dist/components/forms/file-upload.d.ts +203 -0
- package/dist/components/forms/forms.d.ts +290 -0
- package/dist/components/forms/phone-input.d.ts +189 -0
- package/dist/components/forms/signature-pad.d.ts +122 -0
- package/dist/components/forms/tags-input.d.ts +209 -0
- package/dist/components/forms/text-inputs.d.ts +270 -0
- package/dist/components/forms/time-field.d.ts +165 -0
- package/dist/components/{calendar.d.ts → inputs/calendar.d.ts} +8 -19
- package/dist/components/{number-field.d.ts → inputs/number-field.d.ts} +4 -15
- package/dist/components/{pin-input.d.ts → inputs/pin-input.d.ts} +2 -12
- package/dist/components/{slider.d.ts → inputs/slider.d.ts} +4 -14
- package/dist/components/{carousel.d.ts → layout/carousel.d.ts} +50 -20
- package/dist/components/layout/marquee.d.ts +104 -0
- package/dist/components/layout/primitives.d.ts +242 -0
- package/dist/components/layout/scroll-area.d.ts +160 -0
- package/dist/components/layout/section.d.ts +184 -0
- package/dist/components/{sortable.d.ts → layout/sortable.d.ts} +3 -12
- package/dist/components/{splitter.d.ts → layout/splitter.d.ts} +3 -11
- package/dist/components/{tree.d.ts → layout/tree.d.ts} +3 -9
- package/dist/components/layout/virtual-list.d.ts +68 -0
- package/dist/components/navigation/breadcrumb.d.ts +114 -0
- package/dist/components/navigation/pagination.d.ts +221 -0
- package/dist/components/navigation/sidebar.d.ts +258 -0
- package/dist/components/{dialog.d.ts → navigation/stepper.d.ts} +142 -114
- package/dist/components/navigation/table-of-contents.d.ts +60 -0
- package/dist/components/navigation/toolbar.d.ts +179 -0
- package/dist/components/{menu.d.ts → overlays/dialog.d.ts} +222 -224
- package/dist/components/overlays/menu.d.ts +901 -0
- package/dist/components/overlays/menubar.d.ts +106 -0
- package/dist/components/{navigation-menu.d.ts → overlays/navigation-menu.d.ts} +6 -19
- package/dist/components/{popover.d.ts → overlays/popover.d.ts} +6 -9
- package/dist/components/overlays/sheet.d.ts +77 -0
- package/dist/components/{toast.d.ts → overlays/toast.d.ts} +6 -14
- package/dist/components/{tooltip.d.ts → overlays/tooltip.d.ts} +8 -8
- package/dist/components/primitives/button.d.ts +102 -0
- package/dist/components/primitives/icon.d.ts +79 -0
- package/dist/components/primitives/primitives.d.ts +300 -0
- package/dist/composables/data-table.d.ts +0 -2
- package/dist/composables/observers.d.ts +0 -9
- package/dist/composables/presence.d.ts +0 -5
- package/dist/icon.d.ts +2 -0
- package/dist/icon.js +76 -0
- package/dist/index.d.ts +63 -28
- package/dist/index.js +5186 -967
- package/dist/shared/dismiss.d.ts +0 -8
- package/dist/shared/element.d.ts +0 -2
- package/dist/shared/floating-props.d.ts +0 -1
- package/dist/shared/list.d.ts +0 -7
- package/dist/shared/machine.d.ts +0 -18
- package/dist/shared/parts.d.ts +1 -2
- package/dist/shared/portal.d.ts +1 -10
- package/dist/shared/primitive.d.ts +2 -10
- package/dist/shared/roving.d.ts +14 -0
- package/package.json +16 -3
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
export declare const LvFieldRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
id: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
error: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
invalid: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
required: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
as: {
|
|
27
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
28
|
+
readonly default: "div";
|
|
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, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
id: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
description: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
error: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
invalid: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
required: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
as: {
|
|
62
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
63
|
+
readonly default: "div";
|
|
64
|
+
};
|
|
65
|
+
asChild: {
|
|
66
|
+
readonly type: BooleanConstructor;
|
|
67
|
+
readonly default: false;
|
|
68
|
+
};
|
|
69
|
+
}>> & Readonly<{}>, {
|
|
70
|
+
as: string | import('vue').Component;
|
|
71
|
+
asChild: boolean;
|
|
72
|
+
error: string;
|
|
73
|
+
invalid: boolean;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
id: string;
|
|
76
|
+
required: boolean;
|
|
77
|
+
description: string;
|
|
78
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
export declare const LvFieldLabel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
80
|
+
as: {
|
|
81
|
+
default: string;
|
|
82
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
83
|
+
};
|
|
84
|
+
asChild: {
|
|
85
|
+
readonly type: BooleanConstructor;
|
|
86
|
+
readonly default: false;
|
|
87
|
+
};
|
|
88
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
91
|
+
as: {
|
|
92
|
+
default: string;
|
|
93
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
94
|
+
};
|
|
95
|
+
asChild: {
|
|
96
|
+
readonly type: BooleanConstructor;
|
|
97
|
+
readonly default: false;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{}>, {
|
|
100
|
+
as: string | import('vue').Component;
|
|
101
|
+
asChild: boolean;
|
|
102
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
103
|
+
export declare const LvInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
104
|
+
readonly as: {
|
|
105
|
+
readonly default: "input";
|
|
106
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
107
|
+
};
|
|
108
|
+
readonly type: {
|
|
109
|
+
readonly type: StringConstructor;
|
|
110
|
+
readonly default: "text";
|
|
111
|
+
};
|
|
112
|
+
readonly modelValue: {
|
|
113
|
+
readonly type: StringConstructor;
|
|
114
|
+
readonly default: undefined;
|
|
115
|
+
};
|
|
116
|
+
readonly defaultValue: {
|
|
117
|
+
readonly type: StringConstructor;
|
|
118
|
+
readonly default: undefined;
|
|
119
|
+
};
|
|
120
|
+
readonly required: {
|
|
121
|
+
readonly type: BooleanConstructor;
|
|
122
|
+
readonly default: undefined;
|
|
123
|
+
};
|
|
124
|
+
readonly disabled: {
|
|
125
|
+
readonly type: BooleanConstructor;
|
|
126
|
+
readonly default: undefined;
|
|
127
|
+
};
|
|
128
|
+
readonly asChild: {
|
|
129
|
+
readonly type: BooleanConstructor;
|
|
130
|
+
readonly default: false;
|
|
131
|
+
};
|
|
132
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
135
|
+
'update:modelValue': (value: string) => boolean;
|
|
136
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
137
|
+
readonly as: {
|
|
138
|
+
readonly default: "input";
|
|
139
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
140
|
+
};
|
|
141
|
+
readonly type: {
|
|
142
|
+
readonly type: StringConstructor;
|
|
143
|
+
readonly default: "text";
|
|
144
|
+
};
|
|
145
|
+
readonly modelValue: {
|
|
146
|
+
readonly type: StringConstructor;
|
|
147
|
+
readonly default: undefined;
|
|
148
|
+
};
|
|
149
|
+
readonly defaultValue: {
|
|
150
|
+
readonly type: StringConstructor;
|
|
151
|
+
readonly default: undefined;
|
|
152
|
+
};
|
|
153
|
+
readonly required: {
|
|
154
|
+
readonly type: BooleanConstructor;
|
|
155
|
+
readonly default: undefined;
|
|
156
|
+
};
|
|
157
|
+
readonly disabled: {
|
|
158
|
+
readonly type: BooleanConstructor;
|
|
159
|
+
readonly default: undefined;
|
|
160
|
+
};
|
|
161
|
+
readonly asChild: {
|
|
162
|
+
readonly type: BooleanConstructor;
|
|
163
|
+
readonly default: false;
|
|
164
|
+
};
|
|
165
|
+
}>> & Readonly<{
|
|
166
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
167
|
+
}>, {
|
|
168
|
+
readonly as: string | import('vue').Component;
|
|
169
|
+
readonly asChild: boolean;
|
|
170
|
+
readonly type: string;
|
|
171
|
+
readonly disabled: boolean;
|
|
172
|
+
readonly required: boolean;
|
|
173
|
+
readonly modelValue: string;
|
|
174
|
+
readonly defaultValue: string;
|
|
175
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
176
|
+
export declare const LvTextarea: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
177
|
+
as: {
|
|
178
|
+
default: string;
|
|
179
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
180
|
+
};
|
|
181
|
+
modelValue: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
default: undefined;
|
|
184
|
+
};
|
|
185
|
+
defaultValue: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
189
|
+
rows: {
|
|
190
|
+
type: NumberConstructor;
|
|
191
|
+
default: number;
|
|
192
|
+
};
|
|
193
|
+
required: {
|
|
194
|
+
type: BooleanConstructor;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
disabled: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
asChild: {
|
|
202
|
+
readonly type: BooleanConstructor;
|
|
203
|
+
readonly default: false;
|
|
204
|
+
};
|
|
205
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
208
|
+
'update:modelValue': (value: string) => boolean;
|
|
209
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
210
|
+
as: {
|
|
211
|
+
default: string;
|
|
212
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
213
|
+
};
|
|
214
|
+
modelValue: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: undefined;
|
|
217
|
+
};
|
|
218
|
+
defaultValue: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: undefined;
|
|
221
|
+
};
|
|
222
|
+
rows: {
|
|
223
|
+
type: NumberConstructor;
|
|
224
|
+
default: number;
|
|
225
|
+
};
|
|
226
|
+
required: {
|
|
227
|
+
type: BooleanConstructor;
|
|
228
|
+
default: undefined;
|
|
229
|
+
};
|
|
230
|
+
disabled: {
|
|
231
|
+
type: BooleanConstructor;
|
|
232
|
+
default: undefined;
|
|
233
|
+
};
|
|
234
|
+
asChild: {
|
|
235
|
+
readonly type: BooleanConstructor;
|
|
236
|
+
readonly default: false;
|
|
237
|
+
};
|
|
238
|
+
}>> & Readonly<{
|
|
239
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
240
|
+
}>, {
|
|
241
|
+
as: string | import('vue').Component;
|
|
242
|
+
asChild: boolean;
|
|
243
|
+
disabled: boolean;
|
|
244
|
+
required: boolean;
|
|
245
|
+
modelValue: string;
|
|
246
|
+
defaultValue: string;
|
|
247
|
+
rows: number;
|
|
248
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
249
|
+
export declare const LvForm: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
250
|
+
as: {
|
|
251
|
+
default: string;
|
|
252
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
253
|
+
};
|
|
254
|
+
noValidate: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: boolean;
|
|
257
|
+
};
|
|
258
|
+
submitting: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default: boolean;
|
|
261
|
+
};
|
|
262
|
+
asChild: {
|
|
263
|
+
readonly type: BooleanConstructor;
|
|
264
|
+
readonly default: false;
|
|
265
|
+
};
|
|
266
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
267
|
+
[key: string]: any;
|
|
268
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
269
|
+
as: {
|
|
270
|
+
default: string;
|
|
271
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
272
|
+
};
|
|
273
|
+
noValidate: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
submitting: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
281
|
+
asChild: {
|
|
282
|
+
readonly type: BooleanConstructor;
|
|
283
|
+
readonly default: false;
|
|
284
|
+
};
|
|
285
|
+
}>> & Readonly<{}>, {
|
|
286
|
+
as: string | import('vue').Component;
|
|
287
|
+
asChild: boolean;
|
|
288
|
+
noValidate: boolean;
|
|
289
|
+
submitting: boolean;
|
|
290
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PhoneCountry } from '@lovince/ui-headless';
|
|
3
|
+
export { type PhoneCountry };
|
|
4
|
+
export declare const LvPhoneInputRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
defaultValue: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
country: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
countries: {
|
|
18
|
+
type: PropType<readonly PhoneCountry[]>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
invalid: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
required: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
name: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
label: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
countryLabel: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
as: {
|
|
46
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
47
|
+
readonly default: "div";
|
|
48
|
+
};
|
|
49
|
+
asChild: {
|
|
50
|
+
readonly type: BooleanConstructor;
|
|
51
|
+
readonly default: false;
|
|
52
|
+
};
|
|
53
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
'update:modelValue': (value: string) => boolean;
|
|
57
|
+
countryChange: (country: PhoneCountry) => boolean;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
defaultValue: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
country: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
countries: {
|
|
72
|
+
type: PropType<readonly PhoneCountry[]>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
invalid: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
required: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
name: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
label: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
countryLabel: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
as: {
|
|
100
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
101
|
+
readonly default: "div";
|
|
102
|
+
};
|
|
103
|
+
asChild: {
|
|
104
|
+
readonly type: BooleanConstructor;
|
|
105
|
+
readonly default: false;
|
|
106
|
+
};
|
|
107
|
+
}>> & Readonly<{
|
|
108
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
109
|
+
onCountryChange?: ((country: PhoneCountry) => any) | undefined;
|
|
110
|
+
}>, {
|
|
111
|
+
name: string;
|
|
112
|
+
as: string | import('vue').Component;
|
|
113
|
+
asChild: boolean;
|
|
114
|
+
invalid: boolean;
|
|
115
|
+
label: string;
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
required: boolean;
|
|
118
|
+
country: string;
|
|
119
|
+
countries: readonly PhoneCountry[];
|
|
120
|
+
modelValue: string;
|
|
121
|
+
defaultValue: string;
|
|
122
|
+
countryLabel: string;
|
|
123
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
124
|
+
export declare const LvPhoneInputInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
125
|
+
as: {
|
|
126
|
+
default: string;
|
|
127
|
+
type: PropType<string | import('vue').Component>;
|
|
128
|
+
};
|
|
129
|
+
label: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
asChild: {
|
|
134
|
+
readonly type: BooleanConstructor;
|
|
135
|
+
readonly default: false;
|
|
136
|
+
};
|
|
137
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
138
|
+
[key: string]: any;
|
|
139
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
140
|
+
as: {
|
|
141
|
+
default: string;
|
|
142
|
+
type: PropType<string | import('vue').Component>;
|
|
143
|
+
};
|
|
144
|
+
label: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
asChild: {
|
|
149
|
+
readonly type: BooleanConstructor;
|
|
150
|
+
readonly default: false;
|
|
151
|
+
};
|
|
152
|
+
}>> & Readonly<{}>, {
|
|
153
|
+
as: string | import('vue').Component;
|
|
154
|
+
asChild: boolean;
|
|
155
|
+
label: string;
|
|
156
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
157
|
+
export declare const LvPhoneInputCountrySelect: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
158
|
+
as: {
|
|
159
|
+
default: string;
|
|
160
|
+
type: PropType<string | import('vue').Component>;
|
|
161
|
+
};
|
|
162
|
+
label: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: undefined;
|
|
165
|
+
};
|
|
166
|
+
asChild: {
|
|
167
|
+
readonly type: BooleanConstructor;
|
|
168
|
+
readonly default: false;
|
|
169
|
+
};
|
|
170
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
171
|
+
[key: string]: any;
|
|
172
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
173
|
+
as: {
|
|
174
|
+
default: string;
|
|
175
|
+
type: PropType<string | import('vue').Component>;
|
|
176
|
+
};
|
|
177
|
+
label: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: undefined;
|
|
180
|
+
};
|
|
181
|
+
asChild: {
|
|
182
|
+
readonly type: BooleanConstructor;
|
|
183
|
+
readonly default: false;
|
|
184
|
+
};
|
|
185
|
+
}>> & Readonly<{}>, {
|
|
186
|
+
as: string | import('vue').Component;
|
|
187
|
+
asChild: boolean;
|
|
188
|
+
label: string;
|
|
189
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { InkOptions, Stroke } from '@lovince/ui-headless';
|
|
3
|
+
export declare const LvSignaturePadRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<readonly Stroke[]>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
ink: {
|
|
9
|
+
type: PropType<InkOptions>;
|
|
10
|
+
default: () => {};
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
as: {
|
|
17
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
18
|
+
readonly default: "div";
|
|
19
|
+
};
|
|
20
|
+
asChild: {
|
|
21
|
+
readonly type: BooleanConstructor;
|
|
22
|
+
readonly default: false;
|
|
23
|
+
};
|
|
24
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
'update:modelValue': (strokes: readonly Stroke[]) => strokes is any[];
|
|
28
|
+
change: (svg: string) => boolean;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: PropType<readonly Stroke[]>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
ink: {
|
|
35
|
+
type: PropType<InkOptions>;
|
|
36
|
+
default: () => {};
|
|
37
|
+
};
|
|
38
|
+
disabled: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
as: {
|
|
43
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
44
|
+
readonly default: "div";
|
|
45
|
+
};
|
|
46
|
+
asChild: {
|
|
47
|
+
readonly type: BooleanConstructor;
|
|
48
|
+
readonly default: false;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
onChange?: ((svg: string) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((strokes: readonly Stroke[]) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
as: string | import('vue').Component;
|
|
55
|
+
asChild: boolean;
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
ink: InkOptions;
|
|
58
|
+
modelValue: readonly Stroke[];
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
export declare const LvSignaturePadCanvas: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
61
|
+
label: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
+
label: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{}>, {
|
|
73
|
+
label: string;
|
|
74
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
export declare const LvSignaturePadUndo: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
76
|
+
readonly as: {
|
|
77
|
+
readonly default: "button";
|
|
78
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
79
|
+
};
|
|
80
|
+
readonly 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
|
+
readonly as: {
|
|
88
|
+
readonly default: "button";
|
|
89
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
90
|
+
};
|
|
91
|
+
readonly asChild: {
|
|
92
|
+
readonly type: BooleanConstructor;
|
|
93
|
+
readonly default: false;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{}>, {
|
|
96
|
+
readonly as: string | import('vue').Component;
|
|
97
|
+
readonly asChild: boolean;
|
|
98
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
99
|
+
export declare const LvSignaturePadClear: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
100
|
+
readonly as: {
|
|
101
|
+
readonly default: "button";
|
|
102
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
103
|
+
};
|
|
104
|
+
readonly asChild: {
|
|
105
|
+
readonly type: BooleanConstructor;
|
|
106
|
+
readonly default: false;
|
|
107
|
+
};
|
|
108
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
111
|
+
readonly as: {
|
|
112
|
+
readonly default: "button";
|
|
113
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
114
|
+
};
|
|
115
|
+
readonly asChild: {
|
|
116
|
+
readonly type: BooleanConstructor;
|
|
117
|
+
readonly default: false;
|
|
118
|
+
};
|
|
119
|
+
}>> & Readonly<{}>, {
|
|
120
|
+
readonly as: string | import('vue').Component;
|
|
121
|
+
readonly asChild: boolean;
|
|
122
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|