@sectile/vue 0.6.0 → 0.7.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 +12 -265
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.js +12 -12
- 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-field.js.map +1 -1
- package/dist/date-picker.d.ts +16 -439
- package/dist/date-picker.d.ts.map +1 -1
- package/dist/date-picker.js +13 -13
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.d.ts +16 -439
- package/dist/date-range-picker.d.ts.map +1 -1
- package/dist/date-range-picker.js +13 -13
- package/dist/date-range-picker.js.map +1 -1
- package/dist/date-time-field.d.ts +1 -1
- package/dist/date-time-field.d.ts.map +1 -1
- package/dist/date-time-field.js.map +1 -1
- package/dist/date-time-picker.d.ts +16 -439
- package/dist/date-time-picker.d.ts.map +1 -1
- package/dist/date-time-picker.js +13 -13
- package/dist/date-time-picker.js.map +1 -1
- package/dist/date-time-range-picker.d.ts +16 -439
- package/dist/date-time-range-picker.d.ts.map +1 -1
- package/dist/date-time-range-picker.js +13 -13
- package/dist/date-time-range-picker.js.map +1 -1
- package/dist/internal/date-picker.d.ts +36 -155
- package/dist/internal/date-picker.d.ts.map +1 -1
- package/dist/internal/date-picker.js +33 -28
- package/dist/internal/date-picker.js.map +1 -1
- package/dist/internal/native-field.d.ts +7 -7
- package/dist/internal/native-field.d.ts.map +1 -1
- package/dist/internal/native-field.js.map +1 -1
- package/dist/menu.d.ts +262 -316
- package/dist/menu.d.ts.map +1 -1
- package/dist/menu.js +29 -23
- package/dist/menu.js.map +1 -1
- package/dist/month-picker.d.ts +10 -271
- package/dist/month-picker.d.ts.map +1 -1
- package/dist/month-picker.js +6 -6
- package/dist/month-picker.js.map +1 -1
- package/dist/month-range-picker.d.ts +10 -271
- package/dist/month-range-picker.d.ts.map +1 -1
- package/dist/month-range-picker.js +6 -6
- package/dist/month-range-picker.js.map +1 -1
- package/dist/number-field.d.ts +2 -1
- package/dist/number-field.d.ts.map +1 -1
- package/dist/number-field.js +1 -1
- package/dist/number-field.js.map +1 -1
- package/dist/range-calendar.d.ts +12 -295
- package/dist/range-calendar.d.ts.map +1 -1
- package/dist/range-calendar.js +7 -7
- package/dist/range-calendar.js.map +1 -1
- package/dist/select.d.ts +6 -6
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js.map +1 -1
- package/dist/spin-button.d.ts +9 -6
- package/dist/spin-button.d.ts.map +1 -1
- package/dist/spin-button.js.map +1 -1
- package/dist/time-field.d.ts +1 -1
- package/dist/time-field.d.ts.map +1 -1
- package/dist/time-field.js.map +1 -1
- package/dist/virtual.d.ts +5 -5
- package/dist/virtual.d.ts.map +1 -1
- package/dist/virtual.js +11 -6
- package/dist/virtual.js.map +1 -1
- package/dist/year-picker.d.ts +10 -271
- package/dist/year-picker.d.ts.map +1 -1
- package/dist/year-picker.js +6 -6
- package/dist/year-picker.js.map +1 -1
- package/dist/year-range-picker.d.ts +10 -271
- package/dist/year-range-picker.d.ts.map +1 -1
- package/dist/year-range-picker.js +6 -6
- package/dist/year-range-picker.js.map +1 -1
- package/package.json +7 -4
package/dist/date-picker.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DatePickerOptions } from '@sectile/dom/date-picker';
|
|
2
2
|
import type { DateValue } from '@sectile/dom/date-field';
|
|
3
3
|
import { type PickerCellSlotProps, type PickerMonthCellSlotProps, type PickerPartProps, type PickerRootSlotProps } from './internal/date-picker.js';
|
|
4
|
-
export interface DatePickerRootProps {
|
|
4
|
+
export interface DatePickerRootProps extends PickerPartProps {
|
|
5
5
|
readonly modelValue?: DateValue | null;
|
|
6
6
|
readonly defaultValue?: DateValue | null;
|
|
7
7
|
readonly highlightedValue?: DateValue;
|
|
@@ -16,230 +16,14 @@ export interface DatePickerRootProps {
|
|
|
16
16
|
readonly label?: string;
|
|
17
17
|
readonly policies?: DatePickerOptions['policies'];
|
|
18
18
|
}
|
|
19
|
-
export declare const DatePickerRoot: import("
|
|
20
|
-
|
|
21
|
-
type: import("vue").PropType<import("./internal/date-picker.js").PickerValue>;
|
|
22
|
-
default: undefined;
|
|
23
|
-
};
|
|
24
|
-
defaultValue: {
|
|
25
|
-
type: import("vue").PropType<import("./internal/date-picker.js").PickerValue>;
|
|
26
|
-
default: null;
|
|
27
|
-
};
|
|
28
|
-
open: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: undefined;
|
|
31
|
-
};
|
|
32
|
-
defaultOpen: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
highlightedValue: {
|
|
37
|
-
type: import("vue").PropType<DateValue>;
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
defaultHighlightedValue: {
|
|
41
|
-
type: import("vue").PropType<DateValue>;
|
|
42
|
-
default: undefined;
|
|
43
|
-
};
|
|
44
|
-
referenceDate: {
|
|
45
|
-
type: import("vue").PropType<DateValue>;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
defaultView: {
|
|
49
|
-
type: import("vue").PropType<import("@sectile/temporal/calendar").CalendarViewMode>;
|
|
50
|
-
default: import("@sectile/temporal/calendar").CalendarViewMode;
|
|
51
|
-
};
|
|
52
|
-
disabled: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
readonly: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
required: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
label: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: undefined;
|
|
67
|
-
};
|
|
68
|
-
policies: {
|
|
69
|
-
type: import("vue").PropType<Readonly<Record<string, unknown>>>;
|
|
70
|
-
default: undefined;
|
|
71
|
-
};
|
|
72
|
-
as: {
|
|
73
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
asChild: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
|
-
'update:modelValue': (_value: import("./internal/date-picker.js").PickerValue) => boolean;
|
|
82
|
-
'update:open': (_value: boolean) => boolean;
|
|
83
|
-
'update:highlightedValue': (_value: DateValue) => boolean;
|
|
84
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
-
modelValue: {
|
|
86
|
-
type: import("vue").PropType<import("./internal/date-picker.js").PickerValue>;
|
|
87
|
-
default: undefined;
|
|
88
|
-
};
|
|
89
|
-
defaultValue: {
|
|
90
|
-
type: import("vue").PropType<import("./internal/date-picker.js").PickerValue>;
|
|
91
|
-
default: null;
|
|
92
|
-
};
|
|
93
|
-
open: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: undefined;
|
|
96
|
-
};
|
|
97
|
-
defaultOpen: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
highlightedValue: {
|
|
102
|
-
type: import("vue").PropType<DateValue>;
|
|
103
|
-
default: undefined;
|
|
104
|
-
};
|
|
105
|
-
defaultHighlightedValue: {
|
|
106
|
-
type: import("vue").PropType<DateValue>;
|
|
107
|
-
default: undefined;
|
|
108
|
-
};
|
|
109
|
-
referenceDate: {
|
|
110
|
-
type: import("vue").PropType<DateValue>;
|
|
111
|
-
default: undefined;
|
|
112
|
-
};
|
|
113
|
-
defaultView: {
|
|
114
|
-
type: import("vue").PropType<import("@sectile/temporal/calendar").CalendarViewMode>;
|
|
115
|
-
default: import("@sectile/temporal/calendar").CalendarViewMode;
|
|
116
|
-
};
|
|
117
|
-
disabled: {
|
|
118
|
-
type: BooleanConstructor;
|
|
119
|
-
default: boolean;
|
|
120
|
-
};
|
|
121
|
-
readonly: {
|
|
122
|
-
type: BooleanConstructor;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
required: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
label: {
|
|
130
|
-
type: StringConstructor;
|
|
131
|
-
default: undefined;
|
|
132
|
-
};
|
|
133
|
-
policies: {
|
|
134
|
-
type: import("vue").PropType<Readonly<Record<string, unknown>>>;
|
|
135
|
-
default: undefined;
|
|
136
|
-
};
|
|
137
|
-
as: {
|
|
138
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
139
|
-
default: string;
|
|
140
|
-
};
|
|
141
|
-
asChild: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
|
-
}>> & Readonly<{
|
|
146
|
-
"onUpdate:highlightedValue"?: (_value: DateValue) => any;
|
|
147
|
-
"onUpdate:modelValue"?: (_value: import("./internal/date-picker.js").PickerValue) => any;
|
|
148
|
-
"onUpdate:open"?: (_value: boolean) => any;
|
|
149
|
-
}>, {
|
|
150
|
-
modelValue: import("./internal/date-picker.js").PickerValue;
|
|
151
|
-
defaultValue: import("./internal/date-picker.js").PickerValue;
|
|
152
|
-
open: boolean;
|
|
153
|
-
defaultOpen: boolean;
|
|
154
|
-
highlightedValue: DateValue;
|
|
155
|
-
defaultHighlightedValue: DateValue;
|
|
156
|
-
referenceDate: DateValue;
|
|
157
|
-
defaultView: import("@sectile/temporal/calendar").CalendarViewMode;
|
|
158
|
-
disabled: boolean;
|
|
159
|
-
readonly: boolean;
|
|
160
|
-
required: boolean;
|
|
161
|
-
label: string;
|
|
162
|
-
policies: Readonly<Record<string, unknown>>;
|
|
163
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
164
|
-
asChild: boolean;
|
|
165
|
-
}, import("vue").SlotsType<{
|
|
166
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
167
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export declare const DatePickerRoot: import("./internal/date-picker.js").PickerRootComponent<"date">;
|
|
20
|
+
export type DatePickerRootSlotProps = PickerRootSlotProps<DateValue | null>;
|
|
168
21
|
export type DatePickerValueChangeHandler = NonNullable<InstanceType<typeof DatePickerRoot>['$props']['onUpdate:modelValue']>;
|
|
169
22
|
export type DatePickerOpenChangeHandler = NonNullable<InstanceType<typeof DatePickerRoot>['$props']['onUpdate:open']>;
|
|
170
23
|
export type DatePickerHighlightedValueChangeHandler = NonNullable<InstanceType<typeof DatePickerRoot>['$props']['onUpdate:highlightedValue']>;
|
|
171
|
-
export declare const DatePickerTrigger: import("
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
default: string;
|
|
175
|
-
};
|
|
176
|
-
asChild: {
|
|
177
|
-
type: BooleanConstructor;
|
|
178
|
-
default: boolean;
|
|
179
|
-
};
|
|
180
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
181
|
-
as: {
|
|
182
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
183
|
-
default: string;
|
|
184
|
-
};
|
|
185
|
-
asChild: {
|
|
186
|
-
type: BooleanConstructor;
|
|
187
|
-
default: boolean;
|
|
188
|
-
};
|
|
189
|
-
}>> & Readonly<{}>, {
|
|
190
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
191
|
-
asChild: boolean;
|
|
192
|
-
}, import("vue").SlotsType<{
|
|
193
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
194
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
195
|
-
export declare const DatePickerContent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
196
|
-
as: {
|
|
197
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
198
|
-
default: string;
|
|
199
|
-
};
|
|
200
|
-
asChild: {
|
|
201
|
-
type: BooleanConstructor;
|
|
202
|
-
default: boolean;
|
|
203
|
-
};
|
|
204
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
|
-
as: {
|
|
206
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
207
|
-
default: string;
|
|
208
|
-
};
|
|
209
|
-
asChild: {
|
|
210
|
-
type: BooleanConstructor;
|
|
211
|
-
default: boolean;
|
|
212
|
-
};
|
|
213
|
-
}>> & Readonly<{}>, {
|
|
214
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
215
|
-
asChild: boolean;
|
|
216
|
-
}, import("vue").SlotsType<{
|
|
217
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
218
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
219
|
-
export declare const DatePickerGrid: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
220
|
-
as: {
|
|
221
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
222
|
-
default: string;
|
|
223
|
-
};
|
|
224
|
-
asChild: {
|
|
225
|
-
type: BooleanConstructor;
|
|
226
|
-
default: boolean;
|
|
227
|
-
};
|
|
228
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
229
|
-
as: {
|
|
230
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
231
|
-
default: string;
|
|
232
|
-
};
|
|
233
|
-
asChild: {
|
|
234
|
-
type: BooleanConstructor;
|
|
235
|
-
default: boolean;
|
|
236
|
-
};
|
|
237
|
-
}>> & Readonly<{}>, {
|
|
238
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
239
|
-
asChild: boolean;
|
|
240
|
-
}, import("vue").SlotsType<{
|
|
241
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
242
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export declare const DatePickerTrigger: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
25
|
+
export declare const DatePickerContent: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
26
|
+
export declare const DatePickerGrid: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
243
27
|
export declare const DatePickerCell: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
244
28
|
value: {
|
|
245
29
|
type: import("vue").PropType<DateValue>;
|
|
@@ -344,221 +128,14 @@ export declare const DatePickerInput: import("vue").DefineComponent<import("vue"
|
|
|
344
128
|
as: import("./primitive.js").PrimitiveAs;
|
|
345
129
|
asChild: boolean;
|
|
346
130
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
347
|
-
export declare const DatePickerPreviousWeek: import("
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
as: {
|
|
358
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
359
|
-
default: string;
|
|
360
|
-
};
|
|
361
|
-
asChild: {
|
|
362
|
-
type: BooleanConstructor;
|
|
363
|
-
default: boolean;
|
|
364
|
-
};
|
|
365
|
-
}>> & Readonly<{}>, {
|
|
366
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
367
|
-
asChild: boolean;
|
|
368
|
-
}, import("vue").SlotsType<{
|
|
369
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
370
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
371
|
-
export declare const DatePickerNextWeek: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
372
|
-
as: {
|
|
373
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
374
|
-
default: string;
|
|
375
|
-
};
|
|
376
|
-
asChild: {
|
|
377
|
-
type: BooleanConstructor;
|
|
378
|
-
default: boolean;
|
|
379
|
-
};
|
|
380
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
-
as: {
|
|
382
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
383
|
-
default: string;
|
|
384
|
-
};
|
|
385
|
-
asChild: {
|
|
386
|
-
type: BooleanConstructor;
|
|
387
|
-
default: boolean;
|
|
388
|
-
};
|
|
389
|
-
}>> & Readonly<{}>, {
|
|
390
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
391
|
-
asChild: boolean;
|
|
392
|
-
}, import("vue").SlotsType<{
|
|
393
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
394
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
395
|
-
export declare const DatePickerPreviousMonth: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
396
|
-
as: {
|
|
397
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
398
|
-
default: string;
|
|
399
|
-
};
|
|
400
|
-
asChild: {
|
|
401
|
-
type: BooleanConstructor;
|
|
402
|
-
default: boolean;
|
|
403
|
-
};
|
|
404
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
405
|
-
as: {
|
|
406
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
407
|
-
default: string;
|
|
408
|
-
};
|
|
409
|
-
asChild: {
|
|
410
|
-
type: BooleanConstructor;
|
|
411
|
-
default: boolean;
|
|
412
|
-
};
|
|
413
|
-
}>> & Readonly<{}>, {
|
|
414
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
415
|
-
asChild: boolean;
|
|
416
|
-
}, import("vue").SlotsType<{
|
|
417
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
418
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
419
|
-
export declare const DatePickerNextMonth: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
420
|
-
as: {
|
|
421
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
422
|
-
default: string;
|
|
423
|
-
};
|
|
424
|
-
asChild: {
|
|
425
|
-
type: BooleanConstructor;
|
|
426
|
-
default: boolean;
|
|
427
|
-
};
|
|
428
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
429
|
-
as: {
|
|
430
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
431
|
-
default: string;
|
|
432
|
-
};
|
|
433
|
-
asChild: {
|
|
434
|
-
type: BooleanConstructor;
|
|
435
|
-
default: boolean;
|
|
436
|
-
};
|
|
437
|
-
}>> & Readonly<{}>, {
|
|
438
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
439
|
-
asChild: boolean;
|
|
440
|
-
}, import("vue").SlotsType<{
|
|
441
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
442
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
443
|
-
export declare const DatePickerPreviousYear: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
444
|
-
as: {
|
|
445
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
446
|
-
default: string;
|
|
447
|
-
};
|
|
448
|
-
asChild: {
|
|
449
|
-
type: BooleanConstructor;
|
|
450
|
-
default: boolean;
|
|
451
|
-
};
|
|
452
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
453
|
-
as: {
|
|
454
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
455
|
-
default: string;
|
|
456
|
-
};
|
|
457
|
-
asChild: {
|
|
458
|
-
type: BooleanConstructor;
|
|
459
|
-
default: boolean;
|
|
460
|
-
};
|
|
461
|
-
}>> & Readonly<{}>, {
|
|
462
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
463
|
-
asChild: boolean;
|
|
464
|
-
}, import("vue").SlotsType<{
|
|
465
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
466
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
467
|
-
export declare const DatePickerNextYear: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
468
|
-
as: {
|
|
469
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
470
|
-
default: string;
|
|
471
|
-
};
|
|
472
|
-
asChild: {
|
|
473
|
-
type: BooleanConstructor;
|
|
474
|
-
default: boolean;
|
|
475
|
-
};
|
|
476
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
477
|
-
as: {
|
|
478
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
479
|
-
default: string;
|
|
480
|
-
};
|
|
481
|
-
asChild: {
|
|
482
|
-
type: BooleanConstructor;
|
|
483
|
-
default: boolean;
|
|
484
|
-
};
|
|
485
|
-
}>> & Readonly<{}>, {
|
|
486
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
487
|
-
asChild: boolean;
|
|
488
|
-
}, import("vue").SlotsType<{
|
|
489
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
490
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
491
|
-
export declare const DatePickerWeekViewTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
492
|
-
as: {
|
|
493
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
494
|
-
default: string;
|
|
495
|
-
};
|
|
496
|
-
asChild: {
|
|
497
|
-
type: BooleanConstructor;
|
|
498
|
-
default: boolean;
|
|
499
|
-
};
|
|
500
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
501
|
-
as: {
|
|
502
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
503
|
-
default: string;
|
|
504
|
-
};
|
|
505
|
-
asChild: {
|
|
506
|
-
type: BooleanConstructor;
|
|
507
|
-
default: boolean;
|
|
508
|
-
};
|
|
509
|
-
}>> & Readonly<{}>, {
|
|
510
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
511
|
-
asChild: boolean;
|
|
512
|
-
}, import("vue").SlotsType<{
|
|
513
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
514
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
515
|
-
export declare const DatePickerMonthViewTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
516
|
-
as: {
|
|
517
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
518
|
-
default: string;
|
|
519
|
-
};
|
|
520
|
-
asChild: {
|
|
521
|
-
type: BooleanConstructor;
|
|
522
|
-
default: boolean;
|
|
523
|
-
};
|
|
524
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
525
|
-
as: {
|
|
526
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
527
|
-
default: string;
|
|
528
|
-
};
|
|
529
|
-
asChild: {
|
|
530
|
-
type: BooleanConstructor;
|
|
531
|
-
default: boolean;
|
|
532
|
-
};
|
|
533
|
-
}>> & Readonly<{}>, {
|
|
534
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
535
|
-
asChild: boolean;
|
|
536
|
-
}, import("vue").SlotsType<{
|
|
537
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
538
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
539
|
-
export declare const DatePickerYearViewTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
540
|
-
as: {
|
|
541
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
542
|
-
default: string;
|
|
543
|
-
};
|
|
544
|
-
asChild: {
|
|
545
|
-
type: BooleanConstructor;
|
|
546
|
-
default: boolean;
|
|
547
|
-
};
|
|
548
|
-
}>, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
549
|
-
as: {
|
|
550
|
-
type: import("vue").PropType<import("./primitive.js").PrimitiveAs>;
|
|
551
|
-
default: string;
|
|
552
|
-
};
|
|
553
|
-
asChild: {
|
|
554
|
-
type: BooleanConstructor;
|
|
555
|
-
default: boolean;
|
|
556
|
-
};
|
|
557
|
-
}>> & Readonly<{}>, {
|
|
558
|
-
as: import("./primitive.js").PrimitiveAs;
|
|
559
|
-
asChild: boolean;
|
|
560
|
-
}, import("vue").SlotsType<{
|
|
561
|
-
default: (props: PickerRootSlotProps) => import("vue").VNodeChild;
|
|
562
|
-
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
563
|
-
export type { DateValue, PickerCellSlotProps as DatePickerCellSlotProps, PickerMonthCellSlotProps as DatePickerMonthCellSlotProps, PickerPartProps as DatePickerPartProps, PickerRootSlotProps as DatePickerRootSlotProps };
|
|
131
|
+
export declare const DatePickerPreviousWeek: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
132
|
+
export declare const DatePickerNextWeek: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
133
|
+
export declare const DatePickerPreviousMonth: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
134
|
+
export declare const DatePickerNextMonth: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
135
|
+
export declare const DatePickerPreviousYear: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
136
|
+
export declare const DatePickerNextYear: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
137
|
+
export declare const DatePickerWeekViewTrigger: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
138
|
+
export declare const DatePickerMonthViewTrigger: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
139
|
+
export declare const DatePickerYearViewTrigger: import("./internal/date-picker.js").PickerRootPartComponent<"date">;
|
|
140
|
+
export type { DateValue, PickerCellSlotProps as DatePickerCellSlotProps, PickerMonthCellSlotProps as DatePickerMonthCellSlotProps, PickerPartProps as DatePickerPartProps };
|
|
564
141
|
//# sourceMappingURL=date-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../src/date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EA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B,qEAA0G,CAAC;AAClJ,eAAO,MAAM,yBAAyB,qEAAwG,CAAC;AAC/I,YAAY,EAAE,SAAS,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,wBAAwB,IAAI,4BAA4B,EAAE,eAAe,IAAI,mBAAmB,EAAE,CAAC"}
|
package/dist/date-picker.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { PickerCell, PickerContent, PickerGrid, PickerMonthCell, PickerTrigger, createPickerInput, createPickerMove, createPickerViewTrigger, createPickerRoot, } from './internal/date-picker.js';
|
|
1
|
+
import { PickerCell, PickerContent, PickerGrid, PickerMonthCell, PickerTrigger, createPickerInput, createPickerMove, createPickerViewTrigger, specializePickerRootPart, createPickerRoot, } from './internal/date-picker.js';
|
|
2
2
|
export const DatePickerRoot = createPickerRoot('date', 'SectileDatePickerRoot');
|
|
3
|
-
export const DatePickerTrigger = PickerTrigger;
|
|
4
|
-
export const DatePickerContent = PickerContent;
|
|
5
|
-
export const DatePickerGrid = PickerGrid;
|
|
3
|
+
export const DatePickerTrigger = specializePickerRootPart('date', PickerTrigger);
|
|
4
|
+
export const DatePickerContent = specializePickerRootPart('date', PickerContent);
|
|
5
|
+
export const DatePickerGrid = specializePickerRootPart('date', PickerGrid);
|
|
6
6
|
export const DatePickerCell = PickerCell;
|
|
7
7
|
export const DatePickerMonthCell = PickerMonthCell;
|
|
8
8
|
export const DatePickerInput = createPickerInput('input', 'SectileDatePickerInput');
|
|
9
|
-
export const DatePickerPreviousWeek = createPickerMove('week', -1, 'SectileDatePickerPreviousWeek');
|
|
10
|
-
export const DatePickerNextWeek = createPickerMove('week', 1, 'SectileDatePickerNextWeek');
|
|
11
|
-
export const DatePickerPreviousMonth = createPickerMove('month', -1, 'SectileDatePickerPreviousMonth');
|
|
12
|
-
export const DatePickerNextMonth = createPickerMove('month', 1, 'SectileDatePickerNextMonth');
|
|
13
|
-
export const DatePickerPreviousYear = createPickerMove('year', -1, 'SectileDatePickerPreviousYear');
|
|
14
|
-
export const DatePickerNextYear = createPickerMove('year', 1, 'SectileDatePickerNextYear');
|
|
15
|
-
export const DatePickerWeekViewTrigger = createPickerViewTrigger('week', 'SectileDatePickerWeekViewTrigger');
|
|
16
|
-
export const DatePickerMonthViewTrigger = createPickerViewTrigger('month', 'SectileDatePickerMonthViewTrigger');
|
|
17
|
-
export const DatePickerYearViewTrigger = createPickerViewTrigger('year', 'SectileDatePickerYearViewTrigger');
|
|
9
|
+
export const DatePickerPreviousWeek = specializePickerRootPart('date', createPickerMove('week', -1, 'SectileDatePickerPreviousWeek'));
|
|
10
|
+
export const DatePickerNextWeek = specializePickerRootPart('date', createPickerMove('week', 1, 'SectileDatePickerNextWeek'));
|
|
11
|
+
export const DatePickerPreviousMonth = specializePickerRootPart('date', createPickerMove('month', -1, 'SectileDatePickerPreviousMonth'));
|
|
12
|
+
export const DatePickerNextMonth = specializePickerRootPart('date', createPickerMove('month', 1, 'SectileDatePickerNextMonth'));
|
|
13
|
+
export const DatePickerPreviousYear = specializePickerRootPart('date', createPickerMove('year', -1, 'SectileDatePickerPreviousYear'));
|
|
14
|
+
export const DatePickerNextYear = specializePickerRootPart('date', createPickerMove('year', 1, 'SectileDatePickerNextYear'));
|
|
15
|
+
export const DatePickerWeekViewTrigger = specializePickerRootPart('date', createPickerViewTrigger('week', 'SectileDatePickerWeekViewTrigger'));
|
|
16
|
+
export const DatePickerMonthViewTrigger = specializePickerRootPart('date', createPickerViewTrigger('month', 'SectileDatePickerMonthViewTrigger'));
|
|
17
|
+
export const DatePickerYearViewTrigger = specializePickerRootPart('date', createPickerViewTrigger('year', 'SectileDatePickerYearViewTrigger'));
|
|
18
18
|
//# sourceMappingURL=date-picker.js.map
|
package/dist/date-picker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.js","sourceRoot":"","sources":["../src/date-picker.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,eAA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