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