@lovince/ui-vue 0.1.1 → 0.2.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 +246 -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.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/{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 +61 -28
- package/dist/index.js +4935 -990
- 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,181 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Orientation } from '@lovince/ui-headless';
|
|
3
|
+
export declare const LvTimeline: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
as: {
|
|
5
|
+
default: string;
|
|
6
|
+
type: PropType<string | import('vue').Component>;
|
|
7
|
+
};
|
|
8
|
+
current: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
orientation: {
|
|
13
|
+
type: PropType<Orientation>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
reveal: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
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, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
as: {
|
|
28
|
+
default: string;
|
|
29
|
+
type: PropType<string | import('vue').Component>;
|
|
30
|
+
};
|
|
31
|
+
current: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
orientation: {
|
|
36
|
+
type: PropType<Orientation>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
reveal: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
asChild: {
|
|
44
|
+
readonly type: BooleanConstructor;
|
|
45
|
+
readonly default: false;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
48
|
+
as: string | import('vue').Component;
|
|
49
|
+
asChild: boolean;
|
|
50
|
+
orientation: Orientation;
|
|
51
|
+
reveal: boolean;
|
|
52
|
+
current: number;
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export declare const LvTimelineItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
55
|
+
as: {
|
|
56
|
+
default: string;
|
|
57
|
+
type: PropType<string | import('vue').Component>;
|
|
58
|
+
};
|
|
59
|
+
index: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
asChild: {
|
|
64
|
+
readonly type: BooleanConstructor;
|
|
65
|
+
readonly default: false;
|
|
66
|
+
};
|
|
67
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
as: {
|
|
71
|
+
default: string;
|
|
72
|
+
type: PropType<string | import('vue').Component>;
|
|
73
|
+
};
|
|
74
|
+
index: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
asChild: {
|
|
79
|
+
readonly type: BooleanConstructor;
|
|
80
|
+
readonly default: false;
|
|
81
|
+
};
|
|
82
|
+
}>> & Readonly<{}>, {
|
|
83
|
+
as: string | import('vue').Component;
|
|
84
|
+
asChild: boolean;
|
|
85
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
86
|
+
export declare const LvTimelineMarker: import('vue').DefineComponent<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
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
as: {
|
|
99
|
+
default: string;
|
|
100
|
+
type: PropType<string | import('vue').Component>;
|
|
101
|
+
};
|
|
102
|
+
asChild: {
|
|
103
|
+
readonly type: BooleanConstructor;
|
|
104
|
+
readonly default: false;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{}>, {
|
|
107
|
+
as: string | import('vue').Component;
|
|
108
|
+
asChild: boolean;
|
|
109
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
export declare const LvTimelineConnector: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
111
|
+
as: {
|
|
112
|
+
default: string;
|
|
113
|
+
type: PropType<string | import('vue').Component>;
|
|
114
|
+
};
|
|
115
|
+
asChild: {
|
|
116
|
+
readonly type: BooleanConstructor;
|
|
117
|
+
readonly default: false;
|
|
118
|
+
};
|
|
119
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
122
|
+
as: {
|
|
123
|
+
default: string;
|
|
124
|
+
type: PropType<string | import('vue').Component>;
|
|
125
|
+
};
|
|
126
|
+
asChild: {
|
|
127
|
+
readonly type: BooleanConstructor;
|
|
128
|
+
readonly default: false;
|
|
129
|
+
};
|
|
130
|
+
}>> & Readonly<{}>, {
|
|
131
|
+
as: string | import('vue').Component;
|
|
132
|
+
asChild: boolean;
|
|
133
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
134
|
+
export declare const LvTimelineContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
135
|
+
as: {
|
|
136
|
+
default: string;
|
|
137
|
+
type: PropType<string | import('vue').Component>;
|
|
138
|
+
};
|
|
139
|
+
asChild: {
|
|
140
|
+
readonly type: BooleanConstructor;
|
|
141
|
+
readonly default: false;
|
|
142
|
+
};
|
|
143
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
144
|
+
[key: string]: any;
|
|
145
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
146
|
+
as: {
|
|
147
|
+
default: string;
|
|
148
|
+
type: PropType<string | import('vue').Component>;
|
|
149
|
+
};
|
|
150
|
+
asChild: {
|
|
151
|
+
readonly type: BooleanConstructor;
|
|
152
|
+
readonly default: false;
|
|
153
|
+
};
|
|
154
|
+
}>> & Readonly<{}>, {
|
|
155
|
+
as: string | import('vue').Component;
|
|
156
|
+
asChild: boolean;
|
|
157
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
158
|
+
export declare const LvTimelineTime: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
159
|
+
as: {
|
|
160
|
+
default: string;
|
|
161
|
+
type: PropType<string | import('vue').Component>;
|
|
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
|
+
}>, {}, {}, {}, 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
|
+
asChild: {
|
|
175
|
+
readonly type: BooleanConstructor;
|
|
176
|
+
readonly default: false;
|
|
177
|
+
};
|
|
178
|
+
}>> & Readonly<{}>, {
|
|
179
|
+
as: string | import('vue').Component;
|
|
180
|
+
asChild: boolean;
|
|
181
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ColorChannel } from '@lovince/ui-headless';
|
|
3
|
+
export declare const LvColorPickerRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
defaultValue: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
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': (value: string) => boolean;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
defaultValue: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
as: {
|
|
42
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
43
|
+
readonly default: "div";
|
|
44
|
+
};
|
|
45
|
+
asChild: {
|
|
46
|
+
readonly type: BooleanConstructor;
|
|
47
|
+
readonly default: false;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
as: string | import('vue').Component;
|
|
53
|
+
asChild: boolean;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
modelValue: string;
|
|
56
|
+
defaultValue: string;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
export declare const LvColorPickerArea: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
59
|
+
label: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
as: {
|
|
64
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
65
|
+
readonly default: "div";
|
|
66
|
+
};
|
|
67
|
+
asChild: {
|
|
68
|
+
readonly type: BooleanConstructor;
|
|
69
|
+
readonly default: false;
|
|
70
|
+
};
|
|
71
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
74
|
+
label: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
as: {
|
|
79
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
80
|
+
readonly default: "div";
|
|
81
|
+
};
|
|
82
|
+
asChild: {
|
|
83
|
+
readonly type: BooleanConstructor;
|
|
84
|
+
readonly default: false;
|
|
85
|
+
};
|
|
86
|
+
}>> & Readonly<{}>, {
|
|
87
|
+
as: string | import('vue').Component;
|
|
88
|
+
asChild: boolean;
|
|
89
|
+
label: string;
|
|
90
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
export declare const LvColorPickerSlider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
92
|
+
channel: {
|
|
93
|
+
type: PropType<ColorChannel>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
label: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
as: {
|
|
101
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
102
|
+
readonly default: "div";
|
|
103
|
+
};
|
|
104
|
+
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
|
+
channel: {
|
|
112
|
+
type: PropType<ColorChannel>;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
label: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
as: {
|
|
120
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
121
|
+
readonly default: "div";
|
|
122
|
+
};
|
|
123
|
+
asChild: {
|
|
124
|
+
readonly type: BooleanConstructor;
|
|
125
|
+
readonly default: false;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{}>, {
|
|
128
|
+
as: string | import('vue').Component;
|
|
129
|
+
asChild: boolean;
|
|
130
|
+
label: string;
|
|
131
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
132
|
+
export declare const LvColorPickerInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
133
|
+
label: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
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
|
+
label: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
}>> & Readonly<{}>, {
|
|
145
|
+
label: string;
|
|
146
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
147
|
+
export declare const LvColorPickerSwatch: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
148
|
+
value: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
required: true;
|
|
151
|
+
};
|
|
152
|
+
label: {
|
|
153
|
+
type: StringConstructor;
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
as: {
|
|
157
|
+
readonly default: "button";
|
|
158
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
159
|
+
};
|
|
160
|
+
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
|
+
value: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
required: true;
|
|
170
|
+
};
|
|
171
|
+
label: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
as: {
|
|
176
|
+
readonly default: "button";
|
|
177
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
178
|
+
};
|
|
179
|
+
asChild: {
|
|
180
|
+
readonly type: BooleanConstructor;
|
|
181
|
+
readonly default: false;
|
|
182
|
+
};
|
|
183
|
+
}>> & Readonly<{}>, {
|
|
184
|
+
as: string | import('vue').Component;
|
|
185
|
+
asChild: boolean;
|
|
186
|
+
label: string;
|
|
187
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IsoDate, Weekday } from '@lovince/ui-headless';
|
|
3
|
+
export declare const LvDatePickerRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
required: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
open: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
locale: {
|
|
21
|
+
readonly type: StringConstructor;
|
|
22
|
+
readonly default: undefined;
|
|
23
|
+
};
|
|
24
|
+
min: {
|
|
25
|
+
readonly type: StringConstructor;
|
|
26
|
+
readonly default: undefined;
|
|
27
|
+
};
|
|
28
|
+
max: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: undefined;
|
|
31
|
+
};
|
|
32
|
+
weekStartsOn: {
|
|
33
|
+
readonly type: PropType<Weekday>;
|
|
34
|
+
readonly default: 1;
|
|
35
|
+
};
|
|
36
|
+
as: {
|
|
37
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
38
|
+
readonly default: "div";
|
|
39
|
+
};
|
|
40
|
+
asChild: {
|
|
41
|
+
readonly type: BooleanConstructor;
|
|
42
|
+
readonly default: false;
|
|
43
|
+
};
|
|
44
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
'update:modelValue': (value: IsoDate | undefined) => boolean;
|
|
48
|
+
'update:open': (value: boolean) => boolean;
|
|
49
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
required: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
disabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
open: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
locale: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
min: {
|
|
71
|
+
readonly type: StringConstructor;
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
74
|
+
max: {
|
|
75
|
+
readonly type: StringConstructor;
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
};
|
|
78
|
+
weekStartsOn: {
|
|
79
|
+
readonly type: PropType<Weekday>;
|
|
80
|
+
readonly default: 1;
|
|
81
|
+
};
|
|
82
|
+
as: {
|
|
83
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
84
|
+
readonly default: "div";
|
|
85
|
+
};
|
|
86
|
+
asChild: {
|
|
87
|
+
readonly type: BooleanConstructor;
|
|
88
|
+
readonly default: false;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{
|
|
91
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
92
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
93
|
+
}>, {
|
|
94
|
+
as: string | import('vue').Component;
|
|
95
|
+
asChild: boolean;
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
open: boolean;
|
|
98
|
+
required: boolean;
|
|
99
|
+
min: string;
|
|
100
|
+
max: string;
|
|
101
|
+
locale: string;
|
|
102
|
+
weekStartsOn: Weekday;
|
|
103
|
+
modelValue: string;
|
|
104
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
105
|
+
export declare const LvDatePickerInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
106
|
+
label: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
113
|
+
label: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
117
|
+
}>> & Readonly<{}>, {
|
|
118
|
+
label: string;
|
|
119
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
export declare const LvDatePickerTrigger: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
121
|
+
label: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
as: {
|
|
126
|
+
readonly default: "button";
|
|
127
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
128
|
+
};
|
|
129
|
+
asChild: {
|
|
130
|
+
readonly type: BooleanConstructor;
|
|
131
|
+
readonly default: false;
|
|
132
|
+
};
|
|
133
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
134
|
+
[key: string]: any;
|
|
135
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
136
|
+
label: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
as: {
|
|
141
|
+
readonly default: "button";
|
|
142
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
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
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
153
|
+
export declare const LvDatePickerContent: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
154
|
+
[key: string]: any;
|
|
155
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
156
|
+
export declare const LvDateRangePickerRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
157
|
+
start: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: undefined;
|
|
160
|
+
};
|
|
161
|
+
end: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
numberOfMonths: {
|
|
166
|
+
type: NumberConstructor;
|
|
167
|
+
default: number;
|
|
168
|
+
};
|
|
169
|
+
placeholder: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
locale: {
|
|
174
|
+
readonly type: StringConstructor;
|
|
175
|
+
readonly default: undefined;
|
|
176
|
+
};
|
|
177
|
+
min: {
|
|
178
|
+
readonly type: StringConstructor;
|
|
179
|
+
readonly default: undefined;
|
|
180
|
+
};
|
|
181
|
+
max: {
|
|
182
|
+
readonly type: StringConstructor;
|
|
183
|
+
readonly default: undefined;
|
|
184
|
+
};
|
|
185
|
+
weekStartsOn: {
|
|
186
|
+
readonly type: PropType<Weekday>;
|
|
187
|
+
readonly default: 1;
|
|
188
|
+
};
|
|
189
|
+
as: {
|
|
190
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
191
|
+
readonly default: "div";
|
|
192
|
+
};
|
|
193
|
+
asChild: {
|
|
194
|
+
readonly type: BooleanConstructor;
|
|
195
|
+
readonly default: false;
|
|
196
|
+
};
|
|
197
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
200
|
+
'update:start': (value: IsoDate | undefined) => boolean;
|
|
201
|
+
'update:end': (value: IsoDate | undefined) => boolean;
|
|
202
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
203
|
+
start: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
default: undefined;
|
|
206
|
+
};
|
|
207
|
+
end: {
|
|
208
|
+
type: StringConstructor;
|
|
209
|
+
default: undefined;
|
|
210
|
+
};
|
|
211
|
+
numberOfMonths: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
215
|
+
placeholder: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
locale: {
|
|
220
|
+
readonly type: StringConstructor;
|
|
221
|
+
readonly default: undefined;
|
|
222
|
+
};
|
|
223
|
+
min: {
|
|
224
|
+
readonly type: StringConstructor;
|
|
225
|
+
readonly default: undefined;
|
|
226
|
+
};
|
|
227
|
+
max: {
|
|
228
|
+
readonly type: StringConstructor;
|
|
229
|
+
readonly default: undefined;
|
|
230
|
+
};
|
|
231
|
+
weekStartsOn: {
|
|
232
|
+
readonly type: PropType<Weekday>;
|
|
233
|
+
readonly default: 1;
|
|
234
|
+
};
|
|
235
|
+
as: {
|
|
236
|
+
readonly type: PropType<string | import('vue').Component>;
|
|
237
|
+
readonly default: "div";
|
|
238
|
+
};
|
|
239
|
+
asChild: {
|
|
240
|
+
readonly type: BooleanConstructor;
|
|
241
|
+
readonly default: false;
|
|
242
|
+
};
|
|
243
|
+
}>> & Readonly<{
|
|
244
|
+
"onUpdate:start"?: ((value: string | undefined) => any) | undefined;
|
|
245
|
+
"onUpdate:end"?: ((value: string | undefined) => any) | undefined;
|
|
246
|
+
}>, {
|
|
247
|
+
as: string | import('vue').Component;
|
|
248
|
+
asChild: boolean;
|
|
249
|
+
start: string;
|
|
250
|
+
end: string;
|
|
251
|
+
min: string;
|
|
252
|
+
max: string;
|
|
253
|
+
locale: string;
|
|
254
|
+
placeholder: string;
|
|
255
|
+
numberOfMonths: number;
|
|
256
|
+
weekStartsOn: Weekday;
|
|
257
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|