@sectile/vue 0.4.0 → 0.5.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/dist/calendar.d.ts +384 -117
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.js +42 -117
- package/dist/calendar.js.map +1 -1
- package/dist/date-field.d.ts +1 -1
- package/dist/date-field.d.ts.map +1 -1
- package/dist/date-picker.d.ts +7 -7
- package/dist/date-range-picker.d.ts +7 -7
- package/dist/date-time-field.d.ts +1 -1
- package/dist/date-time-field.d.ts.map +1 -1
- package/dist/date-time-picker.d.ts +7 -7
- package/dist/date-time-range-picker.d.ts +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/collection.d.ts +4 -0
- package/dist/internal/collection.d.ts.map +1 -1
- package/dist/internal/collection.js +4 -0
- package/dist/internal/collection.js.map +1 -1
- package/dist/internal/date-picker.d.ts +18 -18
- package/dist/internal/date-picker.d.ts.map +1 -1
- package/dist/internal/date-picker.js +45 -36
- package/dist/internal/date-picker.js.map +1 -1
- package/dist/internal/popup.d.ts +1 -0
- package/dist/internal/popup.d.ts.map +1 -1
- package/dist/internal/popup.js +17 -3
- package/dist/internal/popup.js.map +1 -1
- package/dist/month-picker.d.ts +7 -7
- package/dist/month-range-picker.d.ts +7 -7
- package/dist/popover.js +1 -1
- package/dist/popover.js.map +1 -1
- package/dist/range-calendar.d.ts +5 -5
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +9 -2
- package/dist/select.js.map +1 -1
- package/dist/text.d.ts.map +1 -1
- package/dist/text.js +2 -3
- package/dist/text.js.map +1 -1
- package/dist/time-field.d.ts +1 -1
- package/dist/time-field.d.ts.map +1 -1
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.js +2 -0
- package/dist/toast.js.map +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.js.map +1 -1
- package/dist/year-picker.d.ts +5 -5
- package/dist/year-range-picker.d.ts +5 -5
- package/package.json +6 -3
package/dist/calendar.d.ts
CHANGED
|
@@ -1,139 +1,245 @@
|
|
|
1
|
+
import type { CalendarMonthValue, CalendarPolicies, CalendarViewMode } from '@sectile/dom/calendar';
|
|
2
|
+
import type { DateValue } from '@sectile/dom/date-field';
|
|
1
3
|
import { type PropType, type SlotsType, type VNodeChild } from 'vue';
|
|
2
|
-
import { type
|
|
3
|
-
import { type PrimitiveAs } from './primitive.js';
|
|
4
|
+
import { type PickerCellSlotProps, type PickerMonthCellSlotProps, type PickerPartProps, type PickerRootSlotProps } from './internal/date-picker.js';
|
|
4
5
|
export interface CalendarRootProps {
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly disabledValues?: readonly string[];
|
|
6
|
+
readonly modelValue?: DateValue | null;
|
|
7
|
+
readonly defaultValue?: DateValue | null;
|
|
8
|
+
readonly highlightedValue?: DateValue;
|
|
9
|
+
readonly defaultHighlightedValue?: DateValue;
|
|
10
|
+
readonly defaultView?: CalendarViewMode;
|
|
11
11
|
readonly disabled?: boolean;
|
|
12
|
+
readonly?: boolean;
|
|
12
13
|
readonly required?: boolean;
|
|
13
|
-
readonly name?: string;
|
|
14
|
-
readonly form?: string;
|
|
15
14
|
readonly label?: string;
|
|
16
|
-
readonly policies?: CalendarPolicies
|
|
17
|
-
readonly as?: PrimitiveAs;
|
|
18
|
-
readonly asChild?: boolean;
|
|
15
|
+
readonly policies?: CalendarPolicies;
|
|
19
16
|
}
|
|
20
|
-
export interface CalendarRootSlotProps {
|
|
21
|
-
readonly value:
|
|
22
|
-
readonly highlightedValue: string | null;
|
|
23
|
-
readonly rows: readonly (readonly string[])[];
|
|
24
|
-
readonly disabled: boolean;
|
|
17
|
+
export interface CalendarRootSlotProps extends Omit<PickerRootSlotProps, 'value' | 'open' | 'years'> {
|
|
18
|
+
readonly value: DateValue | null;
|
|
25
19
|
}
|
|
26
|
-
export interface CalendarCellProps {
|
|
27
|
-
readonly value:
|
|
28
|
-
readonly disabled?: boolean;
|
|
29
|
-
readonly as?: PrimitiveAs;
|
|
30
|
-
readonly asChild?: boolean;
|
|
20
|
+
export interface CalendarCellProps extends PickerPartProps {
|
|
21
|
+
readonly value: DateValue;
|
|
31
22
|
}
|
|
32
|
-
export interface
|
|
33
|
-
readonly value:
|
|
34
|
-
readonly selected: boolean;
|
|
35
|
-
readonly highlighted: boolean;
|
|
36
|
-
readonly disabled: boolean;
|
|
37
|
-
readonly rowIndex: number;
|
|
38
|
-
readonly columnIndex: number;
|
|
23
|
+
export interface CalendarMonthCellProps extends PickerPartProps {
|
|
24
|
+
readonly value: CalendarMonthValue;
|
|
39
25
|
}
|
|
40
26
|
export declare const CalendarRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
41
|
-
rows: {
|
|
42
|
-
type: PropType<readonly (readonly string[])[]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
27
|
modelValue: {
|
|
46
|
-
type: PropType<
|
|
28
|
+
type: PropType<DateValue | null>;
|
|
47
29
|
default: undefined;
|
|
48
30
|
};
|
|
49
31
|
defaultValue: {
|
|
50
|
-
type: PropType<
|
|
32
|
+
type: PropType<DateValue | null>;
|
|
51
33
|
default: null;
|
|
52
34
|
};
|
|
53
35
|
highlightedValue: {
|
|
54
|
-
type: PropType<
|
|
36
|
+
type: PropType<DateValue>;
|
|
55
37
|
default: undefined;
|
|
56
38
|
};
|
|
57
39
|
defaultHighlightedValue: {
|
|
58
|
-
type: PropType<
|
|
59
|
-
default:
|
|
40
|
+
type: PropType<DateValue>;
|
|
41
|
+
default: undefined;
|
|
60
42
|
};
|
|
61
|
-
|
|
62
|
-
type: PropType<
|
|
63
|
-
default:
|
|
43
|
+
defaultView: {
|
|
44
|
+
type: PropType<CalendarViewMode>;
|
|
45
|
+
default: string;
|
|
64
46
|
};
|
|
65
47
|
disabled: {
|
|
66
48
|
type: BooleanConstructor;
|
|
67
49
|
default: boolean;
|
|
68
50
|
};
|
|
51
|
+
readonly: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
69
55
|
required: {
|
|
70
56
|
type: BooleanConstructor;
|
|
71
57
|
default: boolean;
|
|
72
58
|
};
|
|
73
|
-
|
|
59
|
+
label: {
|
|
74
60
|
type: StringConstructor;
|
|
75
61
|
default: undefined;
|
|
76
62
|
};
|
|
77
|
-
|
|
78
|
-
type:
|
|
63
|
+
policies: {
|
|
64
|
+
type: PropType<CalendarPolicies>;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
+
'update:modelValue': (_value: DateValue | null) => boolean;
|
|
69
|
+
'update:highlightedValue': (_value: DateValue) => boolean;
|
|
70
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: PropType<DateValue | null>;
|
|
79
73
|
default: undefined;
|
|
80
74
|
};
|
|
75
|
+
defaultValue: {
|
|
76
|
+
type: PropType<DateValue | null>;
|
|
77
|
+
default: null;
|
|
78
|
+
};
|
|
79
|
+
highlightedValue: {
|
|
80
|
+
type: PropType<DateValue>;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
defaultHighlightedValue: {
|
|
84
|
+
type: PropType<DateValue>;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
defaultView: {
|
|
88
|
+
type: PropType<CalendarViewMode>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
disabled: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
readonly: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
required: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
81
103
|
label: {
|
|
82
104
|
type: StringConstructor;
|
|
83
105
|
default: undefined;
|
|
84
106
|
};
|
|
85
107
|
policies: {
|
|
86
|
-
type: PropType<CalendarPolicies
|
|
108
|
+
type: PropType<CalendarPolicies>;
|
|
87
109
|
default: undefined;
|
|
88
110
|
};
|
|
111
|
+
}>> & Readonly<{
|
|
112
|
+
"onUpdate:highlightedValue"?: (_value: DateValue) => any;
|
|
113
|
+
"onUpdate:modelValue"?: (_value: DateValue | null) => any;
|
|
114
|
+
}>, {
|
|
115
|
+
modelValue: DateValue | null;
|
|
116
|
+
defaultValue: DateValue | null;
|
|
117
|
+
highlightedValue: DateValue;
|
|
118
|
+
defaultHighlightedValue: DateValue;
|
|
119
|
+
defaultView: CalendarViewMode;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
readonly: boolean;
|
|
122
|
+
required: boolean;
|
|
123
|
+
label: string;
|
|
124
|
+
policies: CalendarPolicies;
|
|
125
|
+
}, SlotsType<{
|
|
126
|
+
default: (props: CalendarRootSlotProps) => VNodeChild;
|
|
127
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
export type CalendarValueChangeHandler = NonNullable<InstanceType<typeof CalendarRoot>['$props']['onUpdate:modelValue']>;
|
|
129
|
+
export type CalendarHighlightedValueChangeHandler = NonNullable<InstanceType<typeof CalendarRoot>['$props']['onUpdate:highlightedValue']>;
|
|
130
|
+
export declare const CalendarContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
89
131
|
as: {
|
|
90
|
-
type: PropType<PrimitiveAs>;
|
|
132
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
91
133
|
default: string;
|
|
92
134
|
};
|
|
93
135
|
asChild: {
|
|
94
136
|
type: BooleanConstructor;
|
|
95
137
|
default: boolean;
|
|
96
138
|
};
|
|
97
|
-
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
139
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
+
as: {
|
|
141
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
asChild: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
}>> & Readonly<{}>, {
|
|
149
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
150
|
+
asChild: boolean;
|
|
151
|
+
}, SlotsType<{
|
|
152
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
153
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
154
|
+
export declare const CalendarGrid: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
155
|
+
as: {
|
|
156
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
asChild: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
+
as: {
|
|
165
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
asChild: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
}>> & Readonly<{}>, {
|
|
173
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
174
|
+
asChild: boolean;
|
|
175
|
+
}, SlotsType<{
|
|
176
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
177
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
178
|
+
export declare const CalendarCell: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
179
|
+
value: {
|
|
180
|
+
type: PropType<DateValue>;
|
|
107
181
|
required: true;
|
|
108
182
|
};
|
|
109
|
-
|
|
110
|
-
type: PropType<
|
|
111
|
-
default:
|
|
183
|
+
as: {
|
|
184
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
185
|
+
default: string;
|
|
112
186
|
};
|
|
113
|
-
|
|
114
|
-
type:
|
|
115
|
-
default:
|
|
187
|
+
asChild: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
116
190
|
};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
191
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
192
|
+
value: {
|
|
193
|
+
type: PropType<DateValue>;
|
|
194
|
+
required: true;
|
|
120
195
|
};
|
|
121
|
-
|
|
122
|
-
type: PropType<
|
|
123
|
-
default:
|
|
196
|
+
as: {
|
|
197
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
198
|
+
default: string;
|
|
124
199
|
};
|
|
125
|
-
|
|
126
|
-
type:
|
|
127
|
-
default:
|
|
200
|
+
asChild: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: boolean;
|
|
128
203
|
};
|
|
129
|
-
|
|
204
|
+
}>> & Readonly<{}>, {
|
|
205
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
206
|
+
asChild: boolean;
|
|
207
|
+
}, SlotsType<{
|
|
208
|
+
default: (props: PickerCellSlotProps) => VNodeChild;
|
|
209
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
210
|
+
export declare const CalendarMonthCell: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
211
|
+
value: {
|
|
212
|
+
type: PropType<CalendarMonthValue>;
|
|
213
|
+
required: true;
|
|
214
|
+
};
|
|
215
|
+
as: {
|
|
216
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
asChild: {
|
|
130
220
|
type: BooleanConstructor;
|
|
131
221
|
default: boolean;
|
|
132
222
|
};
|
|
133
|
-
|
|
223
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
224
|
+
value: {
|
|
225
|
+
type: PropType<CalendarMonthValue>;
|
|
226
|
+
required: true;
|
|
227
|
+
};
|
|
228
|
+
as: {
|
|
229
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
asChild: {
|
|
134
233
|
type: BooleanConstructor;
|
|
135
234
|
default: boolean;
|
|
136
235
|
};
|
|
236
|
+
}>> & Readonly<{}>, {
|
|
237
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
238
|
+
asChild: boolean;
|
|
239
|
+
}, SlotsType<{
|
|
240
|
+
default: (props: PickerMonthCellSlotProps) => VNodeChild;
|
|
241
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
242
|
+
export declare const CalendarInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
137
243
|
name: {
|
|
138
244
|
type: StringConstructor;
|
|
139
245
|
default: undefined;
|
|
@@ -142,63 +248,88 @@ export declare const CalendarRoot: import("vue").DefineComponent<import("vue").E
|
|
|
142
248
|
type: StringConstructor;
|
|
143
249
|
default: undefined;
|
|
144
250
|
};
|
|
145
|
-
|
|
251
|
+
as: {
|
|
252
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
asChild: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
260
|
+
name: {
|
|
146
261
|
type: StringConstructor;
|
|
147
262
|
default: undefined;
|
|
148
263
|
};
|
|
149
|
-
|
|
150
|
-
type:
|
|
264
|
+
form: {
|
|
265
|
+
type: StringConstructor;
|
|
151
266
|
default: undefined;
|
|
152
267
|
};
|
|
153
268
|
as: {
|
|
154
|
-
type: PropType<PrimitiveAs>;
|
|
269
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
155
270
|
default: string;
|
|
156
271
|
};
|
|
157
272
|
asChild: {
|
|
158
273
|
type: BooleanConstructor;
|
|
159
274
|
default: boolean;
|
|
160
275
|
};
|
|
161
|
-
}>> & Readonly<{
|
|
162
|
-
onPage?: (_details: {
|
|
163
|
-
direction: -1 | 1;
|
|
164
|
-
from: string | null;
|
|
165
|
-
}) => any;
|
|
166
|
-
"onUpdate:highlightedValue"?: (_value: string | null) => any;
|
|
167
|
-
"onUpdate:modelValue"?: (_value: string | null) => any;
|
|
168
|
-
}>, {
|
|
169
|
-
modelValue: string | null;
|
|
170
|
-
defaultValue: string | null;
|
|
171
|
-
highlightedValue: string | null;
|
|
172
|
-
defaultHighlightedValue: string | null;
|
|
173
|
-
disabledValues: readonly string[];
|
|
174
|
-
disabled: boolean;
|
|
175
|
-
required: boolean;
|
|
276
|
+
}>> & Readonly<{}>, {
|
|
176
277
|
name: string;
|
|
177
278
|
form: string;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
279
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
280
|
+
asChild: boolean;
|
|
281
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
282
|
+
export declare const CalendarPreviousWeek: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
283
|
+
as: {
|
|
284
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
285
|
+
default: string;
|
|
286
|
+
};
|
|
287
|
+
asChild: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
default: boolean;
|
|
290
|
+
};
|
|
291
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
292
|
+
as: {
|
|
293
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
asChild: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
}>> & Readonly<{}>, {
|
|
301
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
181
302
|
asChild: boolean;
|
|
182
303
|
}, SlotsType<{
|
|
183
|
-
default: (props:
|
|
304
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
184
305
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
from: string | null;
|
|
190
|
-
}) => void;
|
|
191
|
-
export declare const CalendarCell: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
192
|
-
value: {
|
|
193
|
-
type: StringConstructor;
|
|
194
|
-
required: true;
|
|
306
|
+
export declare const CalendarNextWeek: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
307
|
+
as: {
|
|
308
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
309
|
+
default: string;
|
|
195
310
|
};
|
|
196
|
-
|
|
311
|
+
asChild: {
|
|
197
312
|
type: BooleanConstructor;
|
|
198
313
|
default: boolean;
|
|
199
314
|
};
|
|
315
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
200
316
|
as: {
|
|
201
|
-
type: PropType<PrimitiveAs>;
|
|
317
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
318
|
+
default: string;
|
|
319
|
+
};
|
|
320
|
+
asChild: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: boolean;
|
|
323
|
+
};
|
|
324
|
+
}>> & Readonly<{}>, {
|
|
325
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
326
|
+
asChild: boolean;
|
|
327
|
+
}, SlotsType<{
|
|
328
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
329
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
330
|
+
export declare const CalendarPreviousMonth: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
331
|
+
as: {
|
|
332
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
202
333
|
default: string;
|
|
203
334
|
};
|
|
204
335
|
asChild: {
|
|
@@ -206,16 +337,32 @@ export declare const CalendarCell: import("vue").DefineComponent<import("vue").E
|
|
|
206
337
|
default: boolean;
|
|
207
338
|
};
|
|
208
339
|
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
209
|
-
|
|
210
|
-
type:
|
|
211
|
-
|
|
340
|
+
as: {
|
|
341
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
342
|
+
default: string;
|
|
212
343
|
};
|
|
213
|
-
|
|
344
|
+
asChild: {
|
|
214
345
|
type: BooleanConstructor;
|
|
215
346
|
default: boolean;
|
|
216
347
|
};
|
|
348
|
+
}>> & Readonly<{}>, {
|
|
349
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
350
|
+
asChild: boolean;
|
|
351
|
+
}, SlotsType<{
|
|
352
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
353
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
354
|
+
export declare const CalendarNextMonth: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
217
355
|
as: {
|
|
218
|
-
type: PropType<PrimitiveAs>;
|
|
356
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
357
|
+
default: string;
|
|
358
|
+
};
|
|
359
|
+
asChild: {
|
|
360
|
+
type: BooleanConstructor;
|
|
361
|
+
default: boolean;
|
|
362
|
+
};
|
|
363
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
364
|
+
as: {
|
|
365
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
219
366
|
default: string;
|
|
220
367
|
};
|
|
221
368
|
asChild: {
|
|
@@ -223,10 +370,130 @@ export declare const CalendarCell: import("vue").DefineComponent<import("vue").E
|
|
|
223
370
|
default: boolean;
|
|
224
371
|
};
|
|
225
372
|
}>> & Readonly<{}>, {
|
|
226
|
-
|
|
227
|
-
|
|
373
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
374
|
+
asChild: boolean;
|
|
375
|
+
}, SlotsType<{
|
|
376
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
377
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
378
|
+
export declare const CalendarPreviousYear: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
379
|
+
as: {
|
|
380
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
381
|
+
default: string;
|
|
382
|
+
};
|
|
383
|
+
asChild: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
388
|
+
as: {
|
|
389
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
390
|
+
default: string;
|
|
391
|
+
};
|
|
392
|
+
asChild: {
|
|
393
|
+
type: BooleanConstructor;
|
|
394
|
+
default: boolean;
|
|
395
|
+
};
|
|
396
|
+
}>> & Readonly<{}>, {
|
|
397
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
398
|
+
asChild: boolean;
|
|
399
|
+
}, SlotsType<{
|
|
400
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
401
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
402
|
+
export declare const CalendarNextYear: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
403
|
+
as: {
|
|
404
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
405
|
+
default: string;
|
|
406
|
+
};
|
|
407
|
+
asChild: {
|
|
408
|
+
type: BooleanConstructor;
|
|
409
|
+
default: boolean;
|
|
410
|
+
};
|
|
411
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
412
|
+
as: {
|
|
413
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
414
|
+
default: string;
|
|
415
|
+
};
|
|
416
|
+
asChild: {
|
|
417
|
+
type: BooleanConstructor;
|
|
418
|
+
default: boolean;
|
|
419
|
+
};
|
|
420
|
+
}>> & Readonly<{}>, {
|
|
421
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
422
|
+
asChild: boolean;
|
|
423
|
+
}, SlotsType<{
|
|
424
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
425
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
426
|
+
export declare const CalendarWeekViewTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
427
|
+
as: {
|
|
428
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
429
|
+
default: string;
|
|
430
|
+
};
|
|
431
|
+
asChild: {
|
|
432
|
+
type: BooleanConstructor;
|
|
433
|
+
default: boolean;
|
|
434
|
+
};
|
|
435
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
436
|
+
as: {
|
|
437
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
438
|
+
default: string;
|
|
439
|
+
};
|
|
440
|
+
asChild: {
|
|
441
|
+
type: BooleanConstructor;
|
|
442
|
+
default: boolean;
|
|
443
|
+
};
|
|
444
|
+
}>> & Readonly<{}>, {
|
|
445
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
446
|
+
asChild: boolean;
|
|
447
|
+
}, SlotsType<{
|
|
448
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
449
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
450
|
+
export declare const CalendarMonthViewTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
451
|
+
as: {
|
|
452
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
453
|
+
default: string;
|
|
454
|
+
};
|
|
455
|
+
asChild: {
|
|
456
|
+
type: BooleanConstructor;
|
|
457
|
+
default: boolean;
|
|
458
|
+
};
|
|
459
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
460
|
+
as: {
|
|
461
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
462
|
+
default: string;
|
|
463
|
+
};
|
|
464
|
+
asChild: {
|
|
465
|
+
type: BooleanConstructor;
|
|
466
|
+
default: boolean;
|
|
467
|
+
};
|
|
468
|
+
}>> & Readonly<{}>, {
|
|
469
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
470
|
+
asChild: boolean;
|
|
471
|
+
}, SlotsType<{
|
|
472
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
473
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
474
|
+
export declare const CalendarYearViewTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
475
|
+
as: {
|
|
476
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
477
|
+
default: string;
|
|
478
|
+
};
|
|
479
|
+
asChild: {
|
|
480
|
+
type: BooleanConstructor;
|
|
481
|
+
default: boolean;
|
|
482
|
+
};
|
|
483
|
+
}>, () => VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
484
|
+
as: {
|
|
485
|
+
type: PropType<import("./primitive.js").PrimitiveAs>;
|
|
486
|
+
default: string;
|
|
487
|
+
};
|
|
488
|
+
asChild: {
|
|
489
|
+
type: BooleanConstructor;
|
|
490
|
+
default: boolean;
|
|
491
|
+
};
|
|
492
|
+
}>> & Readonly<{}>, {
|
|
493
|
+
as: import("./primitive.js").PrimitiveAs;
|
|
228
494
|
asChild: boolean;
|
|
229
495
|
}, SlotsType<{
|
|
230
|
-
default: (props:
|
|
496
|
+
default: (props: PickerRootSlotProps) => VNodeChild;
|
|
231
497
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
498
|
+
export type { CalendarMonthValue, CalendarPolicies, CalendarViewMode, DateValue, PickerCellSlotProps as CalendarCellSlotProps, PickerMonthCellSlotProps as CalendarMonthCellSlotProps, PickerPartProps as CalendarPartProps, };
|
|
232
499
|
//# sourceMappingURL=calendar.d.ts.map
|
package/dist/calendar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../src/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../src/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,UAAU,EAChB,MAAM,KAAK,CAAC;AACb,OAAO,EASL,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IACtC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,SAAS,CAAC;IAC7C,QAAQ,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,gBAAg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