@salyra-ui/date-time-picker 0.1.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/LICENSE +21 -0
- package/README.md +27 -0
- package/dist/angular.d.ts +22 -0
- package/dist/angular.js +1 -0
- package/dist/astro/Action.astro +7 -0
- package/dist/astro/Calendar.astro +7 -0
- package/dist/astro/Cell.astro +7 -0
- package/dist/astro/Continuous.astro +7 -0
- package/dist/astro/DateTimePicker.astro +7 -0
- package/dist/astro/DayTrigger.astro +7 -0
- package/dist/astro/Field.astro +7 -0
- package/dist/astro/Grid.astro +7 -0
- package/dist/astro/Heading.astro +7 -0
- package/dist/astro/MonthSelect.astro +7 -0
- package/dist/astro/Number.astro +7 -0
- package/dist/astro/Period.astro +7 -0
- package/dist/astro/Root.astro +7 -0
- package/dist/astro/Segment.astro +7 -0
- package/dist/astro/Week.astro +7 -0
- package/dist/astro/Weekday.astro +7 -0
- package/dist/astro/YearSelect.astro +7 -0
- package/dist/browser/date-time-picker.js +1554 -0
- package/dist/browser/date-time-picker.min.js +1 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +1 -0
- package/dist/react.d.ts +47 -0
- package/dist/react.js +1 -0
- package/dist/styles.css +115 -0
- package/dist/styles.min.css +1 -0
- package/dist/svelte.ts +1 -0
- package/dist/vanilla.d.ts +43 -0
- package/dist/vanilla.js +1 -0
- package/dist/vue.d.ts +292 -0
- package/dist/vue.js +1 -0
- package/package.json +106 -0
package/dist/vue.d.ts
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
export * from "./index";
|
|
2
|
+
export declare const DateTimePicker: {
|
|
3
|
+
Root: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
store: import("vue").PropType<import("@salyra-ui/calendar").PickerStore>;
|
|
5
|
+
options: {
|
|
6
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").PickerOptions>;
|
|
7
|
+
default: () => {};
|
|
8
|
+
};
|
|
9
|
+
modelValue: import("vue").PropType<import("@salyra-ui/calendar").PickerValue>;
|
|
10
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "valueChange")[], "update:modelValue" | "valueChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
store: import("vue").PropType<import("@salyra-ui/calendar").PickerStore>;
|
|
14
|
+
options: {
|
|
15
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").PickerOptions>;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
modelValue: import("vue").PropType<import("@salyra-ui/calendar").PickerValue>;
|
|
19
|
+
}>> & Readonly<{
|
|
20
|
+
onValueChange?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
options: import("@salyra-ui/calendar").PickerOptions;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
Calendar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
26
|
+
options: import("vue").PropType<import("@salyra-ui/calendar").CalendarRenderOptions>;
|
|
27
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
options: import("vue").PropType<import("@salyra-ui/calendar").CalendarRenderOptions>;
|
|
31
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
Segment: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
33
|
+
endpoint: {
|
|
34
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
35
|
+
default: "start";
|
|
36
|
+
};
|
|
37
|
+
part: {
|
|
38
|
+
type: import("vue").PropType<Exclude<import("@salyra-ui/calendar").TimeSegment, "period">>;
|
|
39
|
+
default: "hour";
|
|
40
|
+
};
|
|
41
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
endpoint: {
|
|
45
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
46
|
+
default: "start";
|
|
47
|
+
};
|
|
48
|
+
part: {
|
|
49
|
+
type: import("vue").PropType<Exclude<import("@salyra-ui/calendar").TimeSegment, "period">>;
|
|
50
|
+
default: "hour";
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
53
|
+
endpoint: import("@salyra-ui/calendar").Endpoint;
|
|
54
|
+
part: "hour" | "minute" | "second";
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
Period: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
57
|
+
endpoint: {
|
|
58
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
59
|
+
default: "start";
|
|
60
|
+
};
|
|
61
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
endpoint: {
|
|
65
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
66
|
+
default: "start";
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{}>, {
|
|
69
|
+
endpoint: import("@salyra-ui/calendar").Endpoint;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
Time: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
72
|
+
endpoint: {
|
|
73
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
74
|
+
default: "start";
|
|
75
|
+
};
|
|
76
|
+
labels: {
|
|
77
|
+
type: import("vue").PropType<Partial<Record<import("@salyra-ui/calendar").TimeSegment, string>>>;
|
|
78
|
+
default: () => {};
|
|
79
|
+
};
|
|
80
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
+
endpoint: {
|
|
84
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
85
|
+
default: "start";
|
|
86
|
+
};
|
|
87
|
+
labels: {
|
|
88
|
+
type: import("vue").PropType<Partial<Record<import("@salyra-ui/calendar").TimeSegment, string>>>;
|
|
89
|
+
default: () => {};
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {
|
|
92
|
+
endpoint: import("@salyra-ui/calendar").Endpoint;
|
|
93
|
+
labels: Partial<Record<import("@salyra-ui/calendar").TimeSegment, string>>;
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
Action: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
96
|
+
action: {
|
|
97
|
+
type: import("vue").PropType<"apply" | "cancel" | "clear">;
|
|
98
|
+
default: "apply";
|
|
99
|
+
};
|
|
100
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
|
+
action: {
|
|
104
|
+
type: import("vue").PropType<"apply" | "cancel" | "clear">;
|
|
105
|
+
default: "apply";
|
|
106
|
+
};
|
|
107
|
+
}>> & Readonly<{}>, {
|
|
108
|
+
action: "cancel" | "apply" | "clear";
|
|
109
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
Output: import("vue").DefineComponent<{}, () => 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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
Continuous: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
114
|
+
options: import("vue").PropType<import("@salyra-ui/calendar").MonthScrollerOptions>;
|
|
115
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
options: import("vue").PropType<import("@salyra-ui/calendar").MonthScrollerOptions>;
|
|
119
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
120
|
+
Grid: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
Week: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
Cell: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
127
|
+
date: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
outside: BooleanConstructor;
|
|
132
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
+
date: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
|
+
outside: BooleanConstructor;
|
|
140
|
+
}>> & Readonly<{}>, {
|
|
141
|
+
outside: boolean;
|
|
142
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
143
|
+
Number: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
144
|
+
date: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
required: true;
|
|
147
|
+
};
|
|
148
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
151
|
+
date: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
required: true;
|
|
154
|
+
};
|
|
155
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
156
|
+
DayTrigger: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
157
|
+
date: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
required: true;
|
|
160
|
+
};
|
|
161
|
+
outside: BooleanConstructor;
|
|
162
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
163
|
+
[key: string]: any;
|
|
164
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
165
|
+
date: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
required: true;
|
|
168
|
+
};
|
|
169
|
+
outside: BooleanConstructor;
|
|
170
|
+
}>> & Readonly<{
|
|
171
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
}>, {
|
|
173
|
+
outside: boolean;
|
|
174
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
Heading: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
176
|
+
offset: {
|
|
177
|
+
type: NumberConstructor;
|
|
178
|
+
default: number;
|
|
179
|
+
};
|
|
180
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
181
|
+
[key: string]: any;
|
|
182
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
183
|
+
offset: {
|
|
184
|
+
type: NumberConstructor;
|
|
185
|
+
default: number;
|
|
186
|
+
};
|
|
187
|
+
}>> & Readonly<{}>, {
|
|
188
|
+
offset: number;
|
|
189
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
190
|
+
Weekday: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
191
|
+
day: {
|
|
192
|
+
type: NumberConstructor;
|
|
193
|
+
required: true;
|
|
194
|
+
};
|
|
195
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
196
|
+
[key: string]: any;
|
|
197
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
198
|
+
day: {
|
|
199
|
+
type: NumberConstructor;
|
|
200
|
+
required: true;
|
|
201
|
+
};
|
|
202
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
203
|
+
Navigation: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
204
|
+
direction: {
|
|
205
|
+
type: NumberConstructor;
|
|
206
|
+
default: number;
|
|
207
|
+
};
|
|
208
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
209
|
+
[key: string]: any;
|
|
210
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
+
direction: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
215
|
+
}>> & Readonly<{}>, {
|
|
216
|
+
direction: number;
|
|
217
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
218
|
+
MonthSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
219
|
+
from: {
|
|
220
|
+
type: NumberConstructor;
|
|
221
|
+
default: number;
|
|
222
|
+
};
|
|
223
|
+
to: {
|
|
224
|
+
type: NumberConstructor;
|
|
225
|
+
default: number;
|
|
226
|
+
};
|
|
227
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
228
|
+
[key: string]: any;
|
|
229
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
230
|
+
from: {
|
|
231
|
+
type: NumberConstructor;
|
|
232
|
+
default: number;
|
|
233
|
+
};
|
|
234
|
+
to: {
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
default: number;
|
|
237
|
+
};
|
|
238
|
+
}>> & Readonly<{}>, {
|
|
239
|
+
from: number;
|
|
240
|
+
to: number;
|
|
241
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
242
|
+
YearSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
243
|
+
from: {
|
|
244
|
+
type: NumberConstructor;
|
|
245
|
+
default: number;
|
|
246
|
+
};
|
|
247
|
+
to: {
|
|
248
|
+
type: NumberConstructor;
|
|
249
|
+
default: number;
|
|
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
|
+
from: {
|
|
255
|
+
type: NumberConstructor;
|
|
256
|
+
default: number;
|
|
257
|
+
};
|
|
258
|
+
to: {
|
|
259
|
+
type: NumberConstructor;
|
|
260
|
+
default: number;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{}>, {
|
|
263
|
+
from: number;
|
|
264
|
+
to: number;
|
|
265
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
266
|
+
View: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
267
|
+
options: import("vue").PropType<import("@salyra-ui/calendar").CalendarRenderOptions>;
|
|
268
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
269
|
+
[key: string]: any;
|
|
270
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
|
+
options: import("vue").PropType<import("@salyra-ui/calendar").CalendarRenderOptions>;
|
|
272
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
273
|
+
Field: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
274
|
+
endpoint: {
|
|
275
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
276
|
+
default: "start";
|
|
277
|
+
};
|
|
278
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
279
|
+
[key: string]: any;
|
|
280
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
281
|
+
endpoint: {
|
|
282
|
+
type: import("vue").PropType<import("@salyra-ui/calendar").Endpoint>;
|
|
283
|
+
default: "start";
|
|
284
|
+
};
|
|
285
|
+
}>> & Readonly<{}>, {
|
|
286
|
+
endpoint: import("@salyra-ui/calendar").Endpoint;
|
|
287
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
288
|
+
};
|
|
289
|
+
export { usePickerStore } from "@salyra-ui/calendar/vue";
|
|
290
|
+
export { DateTimeRoot as Root } from "@salyra-ui/calendar/vue";
|
|
291
|
+
export { Field, Action, MonthSelect, YearSelect, } from "@salyra-ui/date-picker/vue";
|
|
292
|
+
export { Segment, Period, Time } from "@salyra-ui/time-picker/vue";
|
package/dist/vue.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var k=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var P=(i,r)=>{for(var m in r)k(i,m,{get:r[m],enumerable:!0})},n=(i,r,m,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of S(r))!T.call(i,c)&&c!==m&&k(i,c,{get:()=>r[c],enumerable:!(a=s(r,c))||a.enumerable});return i},t=(i,r,m)=>(n(i,r,"default"),m&&n(m,r,"default"));var o={};P(o,{Action:()=>g,DateTimePicker:()=>R,Field:()=>C,MonthSelect:()=>h,Period:()=>F,Root:()=>y,Segment:()=>A,Time:()=>M,YearSelect:()=>w,createDateTimePickerStore:()=>f,createPickerStore:()=>p,usePickerStore:()=>u});var e={};P(e,{createDateTimePickerStore:()=>f,createPickerStore:()=>p});t(e,b);import*as b from"@salyra-ui/calendar";import{createPickerStore as d}from"@salyra-ui/calendar";function p(i={}){return d({...i,kind:"datetime"})}var f=p;t(o,e);import{Calendar as x,DateTimeRoot as D}from"@salyra-ui/calendar/vue";import{DatePicker as l}from"@salyra-ui/date-picker/vue";import{TimePicker as O}from"@salyra-ui/time-picker/vue";import{usePickerStore as u}from"@salyra-ui/calendar/vue";import{DateTimeRoot as y}from"@salyra-ui/calendar/vue";import{Field as C,Action as g,MonthSelect as h,YearSelect as w}from"@salyra-ui/date-picker/vue";import{Segment as A,Period as F,Time as M}from"@salyra-ui/time-picker/vue";var R={...x,...l,...O,Root:D,Calendar:x.View};export{g as Action,R as DateTimePicker,C as Field,h as MonthSelect,F as Period,y as Root,A as Segment,M as Time,w as YearSelect,f as createDateTimePickerStore,p as createPickerStore,u as usePickerStore};
|
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salyra-ui/date-time-picker",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Composable date-time selection and date-time ranges",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./react": {
|
|
16
|
+
"types": "./dist/react.d.ts",
|
|
17
|
+
"import": "./dist/react.js"
|
|
18
|
+
},
|
|
19
|
+
"./vue": {
|
|
20
|
+
"types": "./dist/vue.d.ts",
|
|
21
|
+
"import": "./dist/vue.js"
|
|
22
|
+
},
|
|
23
|
+
"./angular": {
|
|
24
|
+
"types": "./dist/angular.d.ts",
|
|
25
|
+
"import": "./dist/angular.js"
|
|
26
|
+
},
|
|
27
|
+
"./vanilla": {
|
|
28
|
+
"types": "./dist/vanilla.d.ts",
|
|
29
|
+
"import": "./dist/vanilla.js"
|
|
30
|
+
},
|
|
31
|
+
"./svelte": "./dist/svelte.ts",
|
|
32
|
+
"./astro": "./dist/vanilla.js",
|
|
33
|
+
"./astro/*": "./dist/astro/*",
|
|
34
|
+
"./styles.css": "./dist/styles.min.css",
|
|
35
|
+
"./styles.min.css": "./dist/styles.min.css",
|
|
36
|
+
"./styles.standard.css": "./dist/styles.css",
|
|
37
|
+
"./browser/*": "./dist/browser/*"
|
|
38
|
+
},
|
|
39
|
+
"sideEffects": [
|
|
40
|
+
"**/*.css",
|
|
41
|
+
"**/astro/client.*"
|
|
42
|
+
],
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": ">=18",
|
|
45
|
+
"svelte": ">=5",
|
|
46
|
+
"vue": ">=3.5",
|
|
47
|
+
"@angular/core": ">=20",
|
|
48
|
+
"@angular/common": ">=20",
|
|
49
|
+
"astro": ">=7"
|
|
50
|
+
},
|
|
51
|
+
"peerDependenciesMeta": {
|
|
52
|
+
"react": {
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
55
|
+
"svelte": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"vue": {
|
|
59
|
+
"optional": true
|
|
60
|
+
},
|
|
61
|
+
"@angular/core": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"@angular/common": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"astro": {
|
|
68
|
+
"optional": true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@salyra-ui/calendar": "0.1.0",
|
|
73
|
+
"@salyra-ui/date-picker": "0.1.0",
|
|
74
|
+
"@salyra-ui/time-picker": "0.1.0"
|
|
75
|
+
},
|
|
76
|
+
"homepage": "https://salyra-ui.github.io/docs/date-time-picker.html",
|
|
77
|
+
"repository": {
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+https://github.com/salyra-ui/calendar.git",
|
|
80
|
+
"directory": "packages/date-time-picker"
|
|
81
|
+
},
|
|
82
|
+
"bugs": {
|
|
83
|
+
"url": "https://github.com/salyra-ui/calendar/issues"
|
|
84
|
+
},
|
|
85
|
+
"keywords": [
|
|
86
|
+
"salyra-ui",
|
|
87
|
+
"date-time-picker",
|
|
88
|
+
"calendar",
|
|
89
|
+
"date-picker",
|
|
90
|
+
"time-picker",
|
|
91
|
+
"range",
|
|
92
|
+
"react",
|
|
93
|
+
"svelte",
|
|
94
|
+
"vue",
|
|
95
|
+
"angular",
|
|
96
|
+
"astro",
|
|
97
|
+
"vanilla",
|
|
98
|
+
"headless",
|
|
99
|
+
"tailwind"
|
|
100
|
+
],
|
|
101
|
+
"files": [
|
|
102
|
+
"dist",
|
|
103
|
+
"README.md",
|
|
104
|
+
"LICENSE"
|
|
105
|
+
]
|
|
106
|
+
}
|