@innosolutions/inno-calendar 1.0.37 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/AGENT.md +36 -1
  2. package/dist/{agenda-widget-BtTvMs9i.cjs → agenda-widget-BsRtRyZ3.cjs} +2 -2
  3. package/dist/{agenda-widget-BtTvMs9i.cjs.map → agenda-widget-BsRtRyZ3.cjs.map} +1 -1
  4. package/dist/{agenda-widget-BKIaXFpN.js → agenda-widget-CNUXKiQT.js} +2 -2
  5. package/dist/{agenda-widget-BKIaXFpN.js.map → agenda-widget-CNUXKiQT.js.map} +1 -1
  6. package/dist/components/event/event-card.d.ts +15 -1
  7. package/dist/components/event/event-card.d.ts.map +1 -1
  8. package/dist/components/event/event-page-transition.d.ts +32 -0
  9. package/dist/components/event/event-page-transition.d.ts.map +1 -0
  10. package/dist/components/index.cjs +1 -1
  11. package/dist/components/index.d.ts +1 -1
  12. package/dist/components/index.d.ts.map +1 -1
  13. package/dist/components/index.mjs +27 -26
  14. package/dist/components/primitives/multi-day-banner.d.ts.map +1 -1
  15. package/dist/components/views/day-events-expansion.d.ts +51 -0
  16. package/dist/components/views/day-events-expansion.d.ts.map +1 -0
  17. package/dist/components/views/index.d.ts +1 -0
  18. package/dist/components/views/index.d.ts.map +1 -1
  19. package/dist/components/views/month-view.d.ts +14 -3
  20. package/dist/components/views/month-view.d.ts.map +1 -1
  21. package/dist/core/index.cjs +1 -1
  22. package/dist/core/index.mjs +139 -136
  23. package/dist/core/utils/date-utils.d.ts +31 -1
  24. package/dist/core/utils/date-utils.d.ts.map +1 -1
  25. package/dist/core/utils/event-utils.d.ts +40 -0
  26. package/dist/core/utils/event-utils.d.ts.map +1 -1
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.mjs +190 -186
  29. package/dist/presets/index.cjs +1 -1
  30. package/dist/presets/index.mjs +1 -1
  31. package/dist/styles/index.css +1 -1
  32. package/dist/{tailwind-calendar-3IAm_TdP.cjs → tailwind-calendar-BqhSHRk0.cjs} +2 -2
  33. package/dist/{tailwind-calendar-3IAm_TdP.cjs.map → tailwind-calendar-BqhSHRk0.cjs.map} +1 -1
  34. package/dist/{tailwind-calendar-B3HuJrjX.js → tailwind-calendar-BvWm9ry9.js} +16 -16
  35. package/dist/{tailwind-calendar-B3HuJrjX.js.map → tailwind-calendar-BvWm9ry9.js.map} +1 -1
  36. package/dist/utils.cjs +1 -1
  37. package/dist/utils.cjs.map +1 -1
  38. package/dist/utils.mjs +337 -300
  39. package/dist/utils.mjs.map +1 -1
  40. package/dist/week-view-BGthazCB.js +3015 -0
  41. package/dist/week-view-BGthazCB.js.map +1 -0
  42. package/dist/week-view-DOvr2VIq.cjs +11 -0
  43. package/dist/week-view-DOvr2VIq.cjs.map +1 -0
  44. package/package.json +1 -1
  45. package/dist/week-view-1EUqFIRS.js +0 -2770
  46. package/dist/week-view-1EUqFIRS.js.map +0 -1
  47. package/dist/week-view-DXilsY50.cjs +0 -11
  48. package/dist/week-view-DXilsY50.cjs.map +0 -1
package/dist/utils.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const Z = [
1
+ const et = [
2
2
  "day",
3
3
  "week",
4
4
  "month",
@@ -8,7 +8,7 @@ const Z = [
8
8
  "resource-week",
9
9
  "timeline-day",
10
10
  "timeline-week"
11
- ], tt = {
11
+ ], nt = {
12
12
  startHour: 8,
13
13
  endHour: 18,
14
14
  firstDayOfWeek: 1,
@@ -18,13 +18,13 @@ const Z = [
18
18
  timeFormat: "24h",
19
19
  badgeVariant: "colored",
20
20
  showCanceledEvents: !1
21
- }, et = {
21
+ }, rt = {
22
22
  startHour: 0,
23
23
  endHour: 24
24
- }, nt = {
24
+ }, ot = {
25
25
  startHour: 8,
26
26
  endHour: 18
27
- }, rt = {
27
+ }, at = {
28
28
  day: {
29
29
  type: "day",
30
30
  slotMinTime: "00:00",
@@ -85,7 +85,7 @@ const Z = [
85
85
  type: "timeline-week",
86
86
  slotDuration: "01:00:00"
87
87
  }
88
- }, ot = {
88
+ }, st = {
89
89
  blue: "#3b82f6",
90
90
  green: "#22c55e",
91
91
  red: "#ef4444",
@@ -96,7 +96,7 @@ const Z = [
96
96
  teal: "#14b8a6",
97
97
  gray: "#6b7280",
98
98
  indigo: "#6366f1"
99
- }, at = {
99
+ }, ut = {
100
100
  blue: { bg: "bg-blue-100", text: "text-blue-800", border: "border-blue-300" },
101
101
  green: { bg: "bg-green-100", text: "text-green-800", border: "border-green-300" },
102
102
  red: { bg: "bg-red-100", text: "text-red-800", border: "border-red-300" },
@@ -107,7 +107,7 @@ const Z = [
107
107
  teal: { bg: "bg-teal-100", text: "text-teal-800", border: "border-teal-300" },
108
108
  gray: { bg: "bg-gray-100", text: "text-gray-800", border: "border-gray-300" },
109
109
  indigo: { bg: "bg-indigo-100", text: "text-indigo-800", border: "border-indigo-300" }
110
- }, st = {
110
+ }, it = {
111
111
  "#3b82f6": "blue",
112
112
  "#22c55e": "green",
113
113
  "#ef4444": "red",
@@ -118,12 +118,12 @@ const Z = [
118
118
  "#14b8a6": "teal",
119
119
  "#6b7280": "gray",
120
120
  "#6366f1": "indigo"
121
- }, ut = 24, it = 60, L = 60 * 1e3, B = 60 * L, ct = 24 * B, k = 64, lt = 32, ft = 56, gt = 200, N = 20;
122
- function d(t) {
121
+ }, ct = 24, lt = 60, N = 60 * 1e3, V = 60 * N, ft = 24 * V, I = 64, dt = 32, gt = 56, Dt = 200, P = 20;
122
+ function g(t) {
123
123
  const e = new Date(t);
124
124
  return e.setHours(0, 0, 0, 0), e;
125
125
  }
126
- function p(t) {
126
+ function T(t) {
127
127
  const e = new Date(t);
128
128
  return e.setHours(23, 59, 59, 999), e;
129
129
  }
@@ -131,130 +131,130 @@ function l(t, e) {
131
131
  const n = new Date(t);
132
132
  return n.setDate(n.getDate() + e), n;
133
133
  }
134
- function dt(t, e) {
134
+ function mt(t, e) {
135
135
  return l(t, -e);
136
136
  }
137
- function S(t, e) {
137
+ function p(t, e) {
138
138
  return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth() && t.getDate() === e.getDate();
139
139
  }
140
- function $(t) {
141
- return S(t, /* @__PURE__ */ new Date());
140
+ function U(t) {
141
+ return p(t, /* @__PURE__ */ new Date());
142
142
  }
143
- function mt(t) {
143
+ function ht(t) {
144
144
  return t.getDay();
145
145
  }
146
- function R(t) {
146
+ function W(t) {
147
147
  const e = t.getDay();
148
148
  return e === 0 || e === 6;
149
149
  }
150
- function m(t, e = 1) {
150
+ function D(t, e = 1) {
151
151
  const n = new Date(t), r = n.getDay(), o = (r < e ? 7 : 0) + r - e;
152
152
  return n.setDate(n.getDate() - o), n.setHours(0, 0, 0, 0), n;
153
153
  }
154
- function T(t, e = 1) {
155
- const n = m(t, e);
154
+ function w(t, e = 1) {
155
+ const n = D(t, e);
156
156
  return n.setDate(n.getDate() + 6), n.setHours(23, 59, 59, 999), n;
157
157
  }
158
- function H(t, e) {
158
+ function k(t, e) {
159
159
  return l(t, e * 7);
160
160
  }
161
- function Dt(t, e) {
161
+ function yt(t, e) {
162
162
  return l(t, -e * 7);
163
163
  }
164
- function ht(t) {
164
+ function pt(t) {
165
165
  const e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate())), n = e.getUTCDay() || 7;
166
166
  e.setUTCDate(e.getUTCDate() + 4 - n);
167
167
  const r = new Date(Date.UTC(e.getUTCFullYear(), 0, 1));
168
168
  return Math.ceil(((e.getTime() - r.getTime()) / 864e5 + 1) / 7);
169
169
  }
170
- function yt(t, e, n = 1) {
171
- const r = m(t, n), o = m(e, n);
172
- return S(r, o);
170
+ function Tt(t, e, n = 1) {
171
+ const r = D(t, n), o = D(e, n);
172
+ return p(r, o);
173
173
  }
174
- function M(t) {
174
+ function E(t) {
175
175
  const e = new Date(t);
176
176
  return e.setDate(1), e.setHours(0, 0, 0, 0), e;
177
177
  }
178
- function E(t) {
178
+ function S(t) {
179
179
  const e = new Date(t.getFullYear(), t.getMonth() + 1, 0);
180
180
  return e.setHours(23, 59, 59, 999), e;
181
181
  }
182
- function I(t, e) {
182
+ function x(t, e) {
183
183
  const n = new Date(t);
184
184
  return n.setMonth(n.getMonth() + e), n;
185
185
  }
186
- function pt(t, e) {
187
- return I(t, -e);
186
+ function wt(t, e) {
187
+ return x(t, -e);
188
188
  }
189
- function Tt(t) {
189
+ function Mt(t) {
190
190
  return new Date(t.getFullYear(), t.getMonth() + 1, 0).getDate();
191
191
  }
192
- function F(t, e) {
192
+ function $(t, e) {
193
193
  return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth();
194
194
  }
195
- function U(t) {
195
+ function v(t) {
196
196
  return new Date(t.getFullYear(), 0, 1, 0, 0, 0, 0);
197
197
  }
198
- function V(t) {
198
+ function G(t) {
199
199
  return new Date(t.getFullYear(), 11, 31, 23, 59, 59, 999);
200
200
  }
201
- function v(t, e) {
201
+ function C(t, e) {
202
202
  const n = new Date(t);
203
203
  return n.setFullYear(n.getFullYear() + e), n;
204
204
  }
205
- function wt(t, e) {
206
- return v(t, -e);
205
+ function Et(t, e) {
206
+ return C(t, -e);
207
207
  }
208
- function Mt(t, e) {
208
+ function St(t, e) {
209
209
  return t.getFullYear() === e.getFullYear();
210
210
  }
211
- function P(t, e) {
211
+ function z(t, e) {
212
212
  const n = new Date(t);
213
213
  return n.setHours(n.getHours() + e), n;
214
214
  }
215
- function Et(t, e) {
215
+ function bt(t, e) {
216
216
  const n = new Date(t);
217
217
  return n.setMinutes(n.getMinutes() + e), n;
218
218
  }
219
- function St(t, e, n = 0, r = 0) {
219
+ function Ht(t, e, n = 0, r = 0) {
220
220
  const o = new Date(t);
221
221
  return o.setHours(e, n, r, 0), o;
222
222
  }
223
- function bt(t) {
223
+ function kt(t) {
224
224
  return t.getHours() + t.getMinutes() / 60;
225
225
  }
226
- function Ht(t, e) {
226
+ function It(t, e) {
227
227
  return t.getTime() < e.getTime();
228
228
  }
229
- function kt(t, e) {
229
+ function xt(t, e) {
230
230
  return t.getTime() > e.getTime();
231
231
  }
232
- function It(t, e, n) {
232
+ function Ft(t, e, n) {
233
233
  const r = t.getTime();
234
234
  return r >= e.getTime() && r <= n.getTime();
235
235
  }
236
- function xt(t) {
236
+ function $t(t) {
237
237
  if (t.length !== 0)
238
238
  return t.reduce((e, n) => n < e ? n : e);
239
239
  }
240
- function Ft(t) {
240
+ function Ct(t) {
241
241
  if (t.length !== 0)
242
242
  return t.reduce((e, n) => n > e ? n : e);
243
243
  }
244
- function C(t, e) {
244
+ function O(t, e) {
245
245
  return t.getTime() - e.getTime();
246
246
  }
247
- function vt(t, e) {
248
- return Math.floor(C(t, e) / 6e4);
247
+ function Ot(t, e) {
248
+ return Math.floor(O(t, e) / 6e4);
249
249
  }
250
- function Ct(t, e) {
251
- return Math.floor(C(t, e) / 36e5);
250
+ function _t(t, e) {
251
+ return Math.floor(O(t, e) / 36e5);
252
252
  }
253
- function Ot(t, e) {
254
- const n = d(t), r = d(e);
255
- return Math.floor(C(n, r) / 864e5);
253
+ function At(t, e) {
254
+ const n = g(t), r = g(e);
255
+ return Math.floor(O(n, r) / 864e5);
256
256
  }
257
- function _t(t, e = "24h") {
257
+ function H(t, e = "24h") {
258
258
  const n = t.getHours(), r = t.getMinutes();
259
259
  if (e === "12h") {
260
260
  const o = n >= 12 ? "PM" : "AM";
@@ -262,29 +262,29 @@ function _t(t, e = "24h") {
262
262
  }
263
263
  return `${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}`;
264
264
  }
265
- function $t(t) {
265
+ function Rt(t) {
266
266
  const e = t.getFullYear(), n = (t.getMonth() + 1).toString().padStart(2, "0"), r = t.getDate().toString().padStart(2, "0");
267
267
  return `${e}-${n}-${r}`;
268
268
  }
269
- function Rt(t) {
269
+ function Ut(t) {
270
270
  return new Date(t);
271
271
  }
272
- function G(t, e) {
272
+ function J(t, e) {
273
273
  const n = [];
274
- let r = d(t);
275
- const o = d(e);
274
+ let r = g(t);
275
+ const o = g(e);
276
276
  for (; r <= o; )
277
277
  n.push(new Date(r)), r = l(r, 1);
278
278
  return n;
279
279
  }
280
- function Ut(t, e) {
280
+ function Wt(t, e) {
281
281
  const n = [];
282
282
  let r = new Date(t);
283
283
  for (; r <= e; )
284
- n.push(new Date(r)), r = P(r, 1);
284
+ n.push(new Date(r)), r = z(r, 1);
285
285
  return n;
286
286
  }
287
- function Wt(t = "en-US", e = "short") {
287
+ function vt(t = "en-US", e = "short") {
288
288
  const n = new Intl.DateTimeFormat(t, { weekday: e }), r = [], o = new Date(2024, 0, 7);
289
289
  for (let a = 0; a < 7; a++)
290
290
  r.push(n.format(l(o, a)));
@@ -296,75 +296,81 @@ function Yt(t = "en-US", e = "long") {
296
296
  r.push(n.format(new Date(2024, o, 1)));
297
297
  return r;
298
298
  }
299
- function At(t) {
299
+ function Lt(t) {
300
300
  const e = [];
301
301
  for (let n = t.startHour; n <= t.endHour; n++)
302
302
  e.push(n);
303
303
  return e;
304
304
  }
305
- function Lt(t, e = "24h") {
305
+ function Bt(t, e = "24h") {
306
306
  if (e === "12h") {
307
307
  const n = t >= 12 ? "PM" : "AM";
308
308
  return `${t % 12 || 12} ${n}`;
309
309
  }
310
310
  return `${String(t).padStart(2, "0")}:00`;
311
311
  }
312
- function Bt(t, e = 1) {
313
- const n = m(t, e), r = [];
312
+ function Nt(t, e = 1) {
313
+ const n = D(t, e), r = [];
314
314
  for (let o = 0; o < 7; o++)
315
315
  r.push(l(n, o));
316
316
  return r;
317
317
  }
318
- function Nt(t, e = 1) {
319
- const n = M(t), r = E(t), o = m(n, e), a = T(r, e), s = t.getMonth();
320
- return G(o, a).map((c) => ({
318
+ function Vt(t, e = 1) {
319
+ const n = E(t), r = S(t), o = D(n, e), a = w(r, e), s = t.getMonth();
320
+ return J(o, a).map((c) => ({
321
321
  date: c,
322
322
  isCurrentMonth: c.getMonth() === s,
323
323
  isWeekend: c.getDay() === 0 || c.getDay() === 6
324
324
  }));
325
325
  }
326
- function Vt(t) {
326
+ function _(t) {
327
+ if (t.isAllDay) return !0;
328
+ const e = t.startDate.getHours(), n = t.startDate.getMinutes(), r = t.endDate.getHours(), o = t.endDate.getMinutes(), a = e === 0 && n === 0, s = r === 0 && o === 0 || // midnight next day
329
+ r === 23 && o >= 59;
330
+ return !!(a && s);
331
+ }
332
+ function Pt(t) {
327
333
  const e = [], n = [];
328
334
  for (const r of t)
329
- S(r.startDate, r.endDate) ? e.push(r) : n.push(r);
335
+ _(r) ? n.push(r) : p(r.startDate, r.endDate) ? e.push(r) : n.push(r);
330
336
  return { singleDay: e, multiDay: n };
331
337
  }
332
- function Pt(t, e, n) {
338
+ function Gt(t, e, n) {
333
339
  return t.filter((r) => r.startDate <= n && r.endDate >= e);
334
340
  }
335
- function Gt(t, e, n) {
341
+ function zt(t, e, n) {
336
342
  if (!n) return !0;
337
343
  const r = t.getDay(), o = n[r];
338
344
  return !o || !(o.enabled !== !1) || o.from === o.to ? !1 : e >= o.from && e < o.to;
339
345
  }
340
- function zt(t, e) {
346
+ function Jt(t, e) {
341
347
  const n = t.getDay(), r = e[n];
342
348
  return !r || !(r.enabled !== !1) || r.from === r.to ? null : { from: r.from, to: r.to };
343
349
  }
344
- function Jt(t) {
350
+ function Kt(t) {
345
351
  const e = [];
346
352
  for (let n = 0; n < 12; n++)
347
353
  e.push(new Date(t, n, 1));
348
354
  return e;
349
355
  }
350
- function z(t, e, n) {
351
- const r = d(e), o = p(n);
356
+ function K(t, e, n) {
357
+ const r = g(e), o = T(n);
352
358
  return t.filter((a) => {
353
359
  const s = a.startDate, u = a.endDate;
354
360
  return s <= o && u >= r;
355
361
  });
356
362
  }
357
- function J(t, e) {
363
+ function X(t, e) {
358
364
  return e.length === 0 ? t : t.filter(
359
365
  (n) => n.scheduleTypeId !== void 0 && e.includes(n.scheduleTypeId)
360
366
  );
361
367
  }
362
- function K(t, e) {
368
+ function j(t, e) {
363
369
  return e.length === 0 ? t : t.filter(
364
370
  (n) => n.resourceId !== void 0 && e.includes(n.resourceId)
365
371
  );
366
372
  }
367
- function X(t, e) {
373
+ function q(t, e) {
368
374
  if (!e.trim()) return t;
369
375
  const n = e.toLowerCase();
370
376
  return t.filter((r) => {
@@ -372,38 +378,38 @@ function X(t, e) {
372
378
  return o || a;
373
379
  });
374
380
  }
375
- function j(t) {
381
+ function Q(t) {
376
382
  return t.filter((e) => !e.isCanceled);
377
383
  }
378
- function Kt(t, e) {
384
+ function Xt(t, e) {
379
385
  let n = [...t];
380
- return e.dateRange && (n = z(
386
+ return e.dateRange && (n = K(
381
387
  n,
382
388
  e.dateRange.startDate,
383
389
  e.dateRange.endDate
384
- )), e.scheduleTypeIds && e.scheduleTypeIds.length > 0 && (n = J(n, e.scheduleTypeIds)), e.resourceIds && e.resourceIds.length > 0 && (n = K(n, e.resourceIds)), e.search && (n = X(n, e.search)), e.showCanceled || (n = j(n)), n;
390
+ )), e.scheduleTypeIds && e.scheduleTypeIds.length > 0 && (n = X(n, e.scheduleTypeIds)), e.resourceIds && e.resourceIds.length > 0 && (n = j(n, e.resourceIds)), e.search && (n = q(n, e.search)), e.showCanceled || (n = Q(n)), n;
385
391
  }
386
- function Xt(t) {
392
+ function jt(t) {
387
393
  return [...t].sort((e, n) => e.startDate.getTime() - n.startDate.getTime());
388
394
  }
389
- function jt(t) {
395
+ function qt(t) {
390
396
  return [...t].sort((e, n) => e.endDate.getTime() - n.endDate.getTime());
391
397
  }
392
- function qt(t) {
398
+ function Qt(t) {
393
399
  return [...t].sort((e, n) => {
394
400
  const r = e.endDate.getTime() - e.startDate.getTime();
395
401
  return n.endDate.getTime() - n.startDate.getTime() - r;
396
402
  });
397
403
  }
398
- function Qt(t) {
404
+ function Zt(t) {
399
405
  const e = /* @__PURE__ */ new Map();
400
406
  for (const n of t) {
401
- const r = d(n.startDate).toISOString(), o = e.get(r) ?? [];
407
+ const r = g(n.startDate).toISOString(), o = e.get(r) ?? [];
402
408
  o.push(n), e.set(r, o);
403
409
  }
404
410
  return e;
405
411
  }
406
- function Zt(t) {
412
+ function te(t) {
407
413
  const e = /* @__PURE__ */ new Map();
408
414
  for (const n of t) {
409
415
  const r = e.get(n.scheduleTypeId) ?? [];
@@ -411,7 +417,7 @@ function Zt(t) {
411
417
  }
412
418
  return e;
413
419
  }
414
- function te(t) {
420
+ function ee(t) {
415
421
  const e = /* @__PURE__ */ new Map();
416
422
  for (const n of t) {
417
423
  const r = e.get(n.resourceId) ?? [];
@@ -419,31 +425,31 @@ function te(t) {
419
425
  }
420
426
  return e;
421
427
  }
422
- function ee(t, e) {
428
+ function ne(t, e) {
423
429
  return t.filter((n) => {
424
- const r = d(e), o = p(e);
430
+ const r = g(e), o = T(e);
425
431
  return n.startDate <= o && n.endDate >= r;
426
432
  });
427
433
  }
428
- function ne(t) {
429
- return t.filter((e) => e.isAllDay);
430
- }
431
434
  function re(t) {
432
- return t.filter((e) => !e.isAllDay);
435
+ return t.filter((e) => e.isAllDay);
433
436
  }
434
437
  function oe(t) {
435
- return t.filter((e) => e.isMultiDay ? !0 : !S(e.startDate, e.endDate));
438
+ return t.filter((e) => !e.isAllDay);
436
439
  }
437
440
  function ae(t) {
438
- return t.isMultiDay ? !0 : !S(t.startDate, t.endDate);
441
+ return t.filter((e) => e.isMultiDay ? !0 : !p(e.startDate, e.endDate));
439
442
  }
440
443
  function se(t) {
444
+ return t.isMultiDay ? !0 : !p(t.startDate, t.endDate);
445
+ }
446
+ function ue(t) {
441
447
  return Math.floor((t.endDate.getTime() - t.startDate.getTime()) / 6e4);
442
448
  }
443
- function ue(t, e = "blue") {
449
+ function ie(t, e = "blue") {
444
450
  return t.color ?? e;
445
451
  }
446
- function ie(t, e, n = "blue") {
452
+ function ce(t, e, n = "blue") {
447
453
  if (t.color) return t.color;
448
454
  if (t.scheduleTypeId !== void 0 && e) {
449
455
  const r = e.get(t.scheduleTypeId);
@@ -451,52 +457,80 @@ function ie(t, e, n = "blue") {
451
457
  }
452
458
  return n;
453
459
  }
454
- function q(t, e, n = 1) {
460
+ function le(t) {
461
+ if (_(t)) {
462
+ if (p(t.startDate, t.endDate))
463
+ return "All day";
464
+ const n = t.startDate.toLocaleDateString(void 0, {
465
+ month: "short",
466
+ day: "numeric"
467
+ }), r = t.endDate.toLocaleDateString(void 0, {
468
+ month: "short",
469
+ day: "numeric"
470
+ });
471
+ return `All day · ${n} – ${r}`;
472
+ }
473
+ if (!p(t.startDate, t.endDate)) {
474
+ const n = t.startDate.toLocaleDateString(void 0, {
475
+ month: "short",
476
+ day: "numeric"
477
+ }), r = t.endDate.toLocaleDateString(void 0, {
478
+ month: "short",
479
+ day: "numeric"
480
+ });
481
+ return `${n}, ${H(t.startDate)} – ${r}, ${H(t.endDate)}`;
482
+ }
483
+ return `${H(t.startDate)} - ${H(t.endDate)}`;
484
+ }
485
+ function fe(t) {
486
+ return !_(t);
487
+ }
488
+ function Z(t, e, n = 1) {
455
489
  switch (e) {
456
490
  case "day":
457
491
  case "resource-day":
458
492
  case "timeline-day":
459
493
  return {
460
- startDate: d(t),
461
- endDate: p(t)
494
+ startDate: g(t),
495
+ endDate: T(t)
462
496
  };
463
497
  case "week":
464
498
  case "resource-week":
465
499
  case "timeline-week":
466
500
  return {
467
- startDate: m(t, n),
468
- endDate: T(t, n)
501
+ startDate: D(t, n),
502
+ endDate: w(t, n)
469
503
  };
470
504
  case "month": {
471
- const r = M(t), o = E(t);
505
+ const r = E(t), o = S(t);
472
506
  return {
473
- startDate: m(r, n),
474
- endDate: T(o, n)
507
+ startDate: D(r, n),
508
+ endDate: w(o, n)
475
509
  };
476
510
  }
477
511
  case "timeline-3day":
478
512
  return {
479
- startDate: d(t),
480
- endDate: p(l(t, 2))
513
+ startDate: g(t),
514
+ endDate: T(l(t, 2))
481
515
  };
482
516
  case "year":
483
517
  return {
484
- startDate: U(t),
485
- endDate: V(t)
518
+ startDate: v(t),
519
+ endDate: G(t)
486
520
  };
487
521
  case "agenda":
488
522
  return {
489
- startDate: d(t),
490
- endDate: p(l(t, 29))
523
+ startDate: g(t),
524
+ endDate: T(l(t, 29))
491
525
  };
492
526
  default:
493
527
  return {
494
- startDate: d(t),
495
- endDate: p(t)
528
+ startDate: g(t),
529
+ endDate: T(t)
496
530
  };
497
531
  }
498
532
  }
499
- function ce(t, e) {
533
+ function de(t, e) {
500
534
  switch (e) {
501
535
  case "day":
502
536
  case "resource-day":
@@ -507,18 +541,18 @@ function ce(t, e) {
507
541
  case "week":
508
542
  case "resource-week":
509
543
  case "timeline-week":
510
- return H(t, 1);
544
+ return k(t, 1);
511
545
  case "month":
512
- return I(t, 1);
546
+ return x(t, 1);
513
547
  case "year":
514
- return v(t, 1);
548
+ return C(t, 1);
515
549
  case "agenda":
516
- return H(t, 1);
550
+ return k(t, 1);
517
551
  default:
518
552
  return l(t, 1);
519
553
  }
520
554
  }
521
- function le(t, e) {
555
+ function ge(t, e) {
522
556
  switch (e) {
523
557
  case "day":
524
558
  case "resource-day":
@@ -529,54 +563,54 @@ function le(t, e) {
529
563
  case "week":
530
564
  case "resource-week":
531
565
  case "timeline-week":
532
- return H(t, -1);
566
+ return k(t, -1);
533
567
  case "month":
534
- return I(t, -1);
568
+ return x(t, -1);
535
569
  case "year":
536
- return v(t, -1);
570
+ return C(t, -1);
537
571
  case "agenda":
538
- return H(t, -1);
572
+ return k(t, -1);
539
573
  default:
540
574
  return l(t, -1);
541
575
  }
542
576
  }
543
- function fe() {
544
- return d(/* @__PURE__ */ new Date());
577
+ function De() {
578
+ return g(/* @__PURE__ */ new Date());
545
579
  }
546
- function ge(t, e = 1) {
547
- const n = M(t), r = E(t), o = m(n, e), a = T(r, e), s = [];
580
+ function me(t, e = 1) {
581
+ const n = E(t), r = S(t), o = D(n, e), a = w(r, e), s = [];
548
582
  let u = o;
549
583
  for (; u <= a; )
550
584
  s.push({
551
585
  date: new Date(u),
552
- isToday: $(u),
553
- isCurrentMonth: F(u, t),
554
- isWeekend: R(u),
586
+ isToday: U(u),
587
+ isCurrentMonth: $(u, t),
588
+ isWeekend: W(u),
555
589
  dayOfWeek: u.getDay()
556
590
  }), u = l(u, 1);
557
591
  return s;
558
592
  }
559
- function de(t, e = 1) {
560
- const n = m(t, e), r = [];
593
+ function he(t, e = 1) {
594
+ const n = D(t, e), r = [];
561
595
  for (let o = 0; o < 7; o++) {
562
596
  const a = l(n, o);
563
597
  r.push({
564
598
  date: a,
565
- isToday: $(a),
566
- isCurrentMonth: F(a, t),
567
- isWeekend: R(a),
599
+ isToday: U(a),
600
+ isCurrentMonth: $(a, t),
601
+ isWeekend: W(a),
568
602
  dayOfWeek: a.getDay()
569
603
  });
570
604
  }
571
605
  return r;
572
606
  }
573
- function me(t) {
574
- const e = U(t), n = [];
607
+ function ye(t) {
608
+ const e = v(t), n = [];
575
609
  for (let r = 0; r < 12; r++) {
576
- const o = I(e, r);
610
+ const o = x(e, r);
577
611
  n.push({
578
612
  date: o,
579
- isToday: F(o, /* @__PURE__ */ new Date()),
613
+ isToday: $(o, /* @__PURE__ */ new Date()),
580
614
  isCurrentMonth: !0,
581
615
  isWeekend: !1,
582
616
  dayOfWeek: o.getDay()
@@ -584,7 +618,7 @@ function me(t) {
584
618
  }
585
619
  return n;
586
620
  }
587
- function De(t, e, n = 30) {
621
+ function pe(t, e, n = 30) {
588
622
  const r = [], o = 60 / n;
589
623
  for (let a = t; a < e; a++)
590
624
  for (let s = 0; s < o; s++) {
@@ -597,7 +631,7 @@ function De(t, e, n = 30) {
597
631
  }
598
632
  return r;
599
633
  }
600
- function he(t, e, n = "24h") {
634
+ function Te(t, e, n = "24h") {
601
635
  const r = [];
602
636
  for (let o = t; o <= e; o++) {
603
637
  let a;
@@ -610,7 +644,7 @@ function he(t, e, n = "24h") {
610
644
  }
611
645
  return r;
612
646
  }
613
- function ye(t, e, n = "en-US") {
647
+ function we(t, e, n = "en-US") {
614
648
  const r = new Intl.DateTimeFormat(n, {
615
649
  weekday: "short",
616
650
  month: "short",
@@ -622,34 +656,34 @@ function ye(t, e, n = "en-US") {
622
656
  case "timeline-day":
623
657
  return r.format(t);
624
658
  case "timeline-3day": {
625
- const a = d(t), s = l(t, 2);
659
+ const a = g(t), s = l(t, 2);
626
660
  return `${o.format(a)} - ${o.format(s)}`;
627
661
  }
628
662
  case "week":
629
663
  case "resource-week":
630
664
  case "timeline-week": {
631
- const a = m(t, 1), s = T(t, 1);
665
+ const a = D(t, 1), s = w(t, 1);
632
666
  return `${o.format(a)} - ${o.format(s)}`;
633
667
  }
634
668
  case "month": {
635
- const a = M(t), s = E(t);
669
+ const a = E(t), s = S(t);
636
670
  return `${o.format(a)} - ${o.format(s)}`;
637
671
  }
638
672
  case "year":
639
673
  return `Jan 1 - Dec 31, ${t.getFullYear()}`;
640
674
  case "agenda": {
641
- const a = M(t), s = E(t);
675
+ const a = E(t), s = S(t);
642
676
  return `${o.format(a)} - ${o.format(s)}`;
643
677
  }
644
678
  default:
645
679
  return "";
646
680
  }
647
681
  }
648
- function pe(t, e, n, r = 1) {
649
- const o = q(e, n, r);
682
+ function Me(t, e, n, r = 1) {
683
+ const o = Z(e, n, r);
650
684
  return t.filter((a) => a.startDate <= o.endDate && a.endDate >= o.startDate).length;
651
685
  }
652
- function Te(t, e, n = "en-US") {
686
+ function Ee(t, e, n = "en-US") {
653
687
  const r = new Intl.DateTimeFormat(n, { month: "long", year: "numeric" }), o = new Intl.DateTimeFormat(n, {
654
688
  weekday: "long",
655
689
  month: "long",
@@ -664,7 +698,7 @@ function Te(t, e, n = "en-US") {
664
698
  case "week":
665
699
  case "resource-week":
666
700
  case "timeline-week": {
667
- const a = m(t, 1), s = T(t, 1), u = new Intl.DateTimeFormat(n, { month: "short" }).format(a), c = new Intl.DateTimeFormat(n, { month: "short" }).format(s), i = a.getFullYear();
701
+ const a = D(t, 1), s = w(t, 1), u = new Intl.DateTimeFormat(n, { month: "short" }).format(a), c = new Intl.DateTimeFormat(n, { month: "short" }).format(s), i = a.getFullYear();
668
702
  return u === c ? `${u} ${a.getDate()} - ${s.getDate()}, ${i}` : `${u} ${a.getDate()} - ${c} ${s.getDate()}, ${i}`;
669
703
  }
670
704
  case "month":
@@ -677,7 +711,7 @@ function Te(t, e, n = "en-US") {
677
711
  return r.format(t);
678
712
  }
679
713
  }
680
- function we(t = 1, e = "short", n = "en-US") {
714
+ function Se(t = 1, e = "short", n = "en-US") {
681
715
  const r = new Intl.DateTimeFormat(n, { weekday: e }), o = [], a = new Date(2024, 0, 7);
682
716
  for (let s = 0; s < 7; s++) {
683
717
  const u = (t + s) % 7, c = l(a, u);
@@ -688,23 +722,23 @@ function we(t = 1, e = "short", n = "en-US") {
688
722
  }
689
723
  return o;
690
724
  }
691
- function Q(t, e, n, r = k) {
692
- const { startHour: o, endHour: a } = n, s = a - o, u = s * r, c = t.startDate.getHours() + t.startDate.getMinutes() / 60, i = t.endDate.getHours() + t.endDate.getMinutes() / 60, g = Math.max(c, o), y = Math.min(i, a), D = (g - o) / s * u, h = (y - o) / s * u, f = Math.max(h - D, N);
725
+ function tt(t, e, n, r = I) {
726
+ const { startHour: o, endHour: a } = n, s = a - o, u = s * r, c = t.startDate.getHours() + t.startDate.getMinutes() / 60, i = t.endDate.getHours() + t.endDate.getMinutes() / 60, d = Math.max(c, o), y = Math.min(i, a), m = (d - o) / s * u, h = (y - o) / s * u, f = Math.max(h - m, P);
693
727
  return {
694
- top: D,
728
+ top: m,
695
729
  height: f,
696
730
  left: 0,
697
731
  width: 100,
698
732
  zIndex: 1
699
733
  };
700
734
  }
701
- function Me(t, e, n, r = k) {
735
+ function be(t, e, n, r = I) {
702
736
  if (t.length === 0) return [];
703
- const o = [...t].sort((i, g) => {
704
- const y = i.startDate.getTime() - g.startDate.getTime();
737
+ const o = [...t].sort((i, d) => {
738
+ const y = i.startDate.getTime() - d.startDate.getTime();
705
739
  if (y !== 0) return y;
706
- const D = i.endDate.getTime() - i.startDate.getTime();
707
- return g.endDate.getTime() - g.startDate.getTime() - D;
740
+ const m = i.endDate.getTime() - i.startDate.getTime();
741
+ return d.endDate.getTime() - d.startDate.getTime() - m;
708
742
  }), a = [];
709
743
  let s = [], u = 0;
710
744
  for (const i of o)
@@ -712,48 +746,48 @@ function Me(t, e, n, r = k) {
712
746
  s.length > 0 && a.push(s);
713
747
  const c = [];
714
748
  for (const i of a) {
715
- const g = [];
749
+ const d = [];
716
750
  for (const f of i) {
717
- const W = f.startDate.getTime(), Y = f.endDate.getTime();
718
- let w = -1;
719
- for (let b = 0; b < g.length; b++) {
720
- const x = g[b];
721
- if (!x) continue;
722
- const _ = x[x.length - 1];
723
- if (_ && _.endTime <= W) {
724
- w = b;
751
+ const Y = f.startDate.getTime(), L = f.endDate.getTime();
752
+ let M = -1;
753
+ for (let b = 0; b < d.length; b++) {
754
+ const F = d[b];
755
+ if (!F) continue;
756
+ const R = F[F.length - 1];
757
+ if (R && R.endTime <= Y) {
758
+ M = b;
725
759
  break;
726
760
  }
727
761
  }
728
- w === -1 && (w = g.length, g.push([]));
729
- const O = g[w];
730
- O && O.push({ event: f, endTime: Y });
731
- const A = Q(f, e, n, r);
762
+ M === -1 && (M = d.length, d.push([]));
763
+ const A = d[M];
764
+ A && A.push({ event: f, endTime: L });
765
+ const B = tt(f, e, n, r);
732
766
  c.push({
733
767
  event: f,
734
- position: A,
735
- column: w,
768
+ position: B,
769
+ column: M,
736
770
  columnSpan: 1
737
771
  });
738
772
  }
739
- const D = 100 / g.length, h = new Set(i.map((f) => f.id));
773
+ const m = 100 / d.length, h = new Set(i.map((f) => f.id));
740
774
  for (const f of c)
741
- h.has(f.event.id) && (f.position.left = f.column * D, f.position.width = D * f.columnSpan, f.position.zIndex = f.column + 1);
775
+ h.has(f.event.id) && (f.position.left = f.column * m, f.position.width = m * f.columnSpan, f.position.zIndex = f.column + 1);
742
776
  }
743
777
  return c;
744
778
  }
745
- function Ee(t, e, n, r = k, o = 30) {
746
- const { startHour: a, endHour: s } = n, u = s - a, c = u * r, i = t / c * u, y = (a + i) * 60, D = Math.round(y / o) * o, h = new Date(e);
747
- return h.setHours(0, 0, 0, 0), h.setMinutes(D), h;
779
+ function He(t, e, n, r = I, o = 30) {
780
+ const { startHour: a, endHour: s } = n, u = s - a, c = u * r, i = t / c * u, y = (a + i) * 60, m = Math.round(y / o) * o, h = new Date(e);
781
+ return h.setHours(0, 0, 0, 0), h.setMinutes(m), h;
748
782
  }
749
- function Se(t, e, n = k) {
783
+ function ke(t, e, n = I) {
750
784
  const { startHour: r, endHour: o } = e, a = o - r, s = a * n, u = t.getHours() + t.getMinutes() / 60;
751
785
  return (Math.max(r, Math.min(u, o)) - r) / a * s;
752
786
  }
753
- function be(t, e) {
787
+ function Ie(t, e) {
754
788
  return t.startDate < e.endDate && t.endDate > e.startDate;
755
789
  }
756
- function He(t) {
790
+ function xe(t) {
757
791
  if (t.length === 0) return [];
758
792
  const e = [...t].sort((a, s) => a.startDate.getTime() - s.startDate.getTime()), n = [];
759
793
  let r = [], o = 0;
@@ -761,7 +795,7 @@ function He(t) {
761
795
  r.length === 0 || a.startDate.getTime() < o ? (r.push(a), o = Math.max(o, a.endDate.getTime())) : (r.length > 0 && n.push(r), r = [a], o = a.endDate.getTime());
762
796
  return r.length > 0 && n.push(r), n;
763
797
  }
764
- function ke(t, e, n) {
798
+ function Fe(t, e, n) {
765
799
  const r = Math.max(0, Math.min(t, e)), o = Math.min(n, Math.max(t, e));
766
800
  return {
767
801
  top: r,
@@ -769,117 +803,120 @@ function ke(t, e, n) {
769
803
  };
770
804
  }
771
805
  export {
772
- Z as CALENDAR_VIEWS,
773
- nt as DEFAULT_BUSINESS_HOURS,
774
- ft as DEFAULT_HEADER_HEIGHT,
775
- k as DEFAULT_HOUR_HEIGHT,
776
- tt as DEFAULT_PREFERENCES,
777
- gt as DEFAULT_RESOURCE_WIDTH,
778
- lt as DEFAULT_SLOT_HEIGHT,
779
- rt as DEFAULT_VIEW_CONFIGS,
780
- et as DEFAULT_VISIBLE_HOURS,
781
- ot as EVENT_COLORS,
782
- at as EVENT_COLOR_CLASSES,
783
- st as HEX_TO_EVENT_COLOR,
784
- ut as HOURS_IN_DAY,
785
- it as MINUTES_IN_HOUR,
786
- N as MIN_EVENT_HEIGHT,
787
- ct as MS_PER_DAY,
788
- B as MS_PER_HOUR,
789
- L as MS_PER_MINUTE,
806
+ et as CALENDAR_VIEWS,
807
+ ot as DEFAULT_BUSINESS_HOURS,
808
+ gt as DEFAULT_HEADER_HEIGHT,
809
+ I as DEFAULT_HOUR_HEIGHT,
810
+ nt as DEFAULT_PREFERENCES,
811
+ Dt as DEFAULT_RESOURCE_WIDTH,
812
+ dt as DEFAULT_SLOT_HEIGHT,
813
+ at as DEFAULT_VIEW_CONFIGS,
814
+ rt as DEFAULT_VISIBLE_HOURS,
815
+ st as EVENT_COLORS,
816
+ ut as EVENT_COLOR_CLASSES,
817
+ it as HEX_TO_EVENT_COLOR,
818
+ ct as HOURS_IN_DAY,
819
+ lt as MINUTES_IN_HOUR,
820
+ P as MIN_EVENT_HEIGHT,
821
+ ft as MS_PER_DAY,
822
+ V as MS_PER_HOUR,
823
+ N as MS_PER_MINUTE,
790
824
  l as addDays,
791
- P as addHours,
792
- Et as addMinutes,
793
- I as addMonths,
794
- H as addWeeks,
795
- v as addYears,
796
- Kt as applyEventFilters,
797
- Q as calculateEventPosition,
798
- Me as calculateOverlappingPositions,
799
- ke as calculateSelectionOverlay,
800
- Ot as differenceInDays,
801
- Ct as differenceInHours,
802
- C as differenceInMilliseconds,
803
- vt as differenceInMinutes,
804
- G as eachDayOfInterval,
805
- Ut as eachHourOfInterval,
806
- p as endOfDay,
807
- E as endOfMonth,
808
- T as endOfWeek,
809
- V as endOfYear,
810
- be as eventsOverlap,
811
- z as filterEventsByDateRange,
812
- K as filterEventsByResource,
813
- J as filterEventsByScheduleType,
814
- X as filterEventsBySearch,
815
- j as filterOutCanceled,
816
- $t as formatDateISO,
817
- Lt as formatHourLabel,
818
- _t as formatTime,
819
- he as generateHourLabels,
820
- ge as generateMonthCells,
821
- Nt as generateMonthGrid,
822
- De as generateTimeSlots,
823
- de as generateWeekCells,
824
- me as generateYearCells,
825
- ne as getAllDayEvents,
826
- mt as getDayOfWeek,
827
- Tt as getDaysInMonth,
828
- bt as getDecimalHours,
829
- ue as getEventColor,
830
- se as getEventDurationMinutes,
831
- pe as getEventsCountInView,
832
- ee as getEventsForDay,
833
- Pt as getEventsInRange,
825
+ z as addHours,
826
+ bt as addMinutes,
827
+ x as addMonths,
828
+ k as addWeeks,
829
+ C as addYears,
830
+ Xt as applyEventFilters,
831
+ tt as calculateEventPosition,
832
+ be as calculateOverlappingPositions,
833
+ Fe as calculateSelectionOverlay,
834
+ _ as detectAllDayEvent,
835
+ At as differenceInDays,
836
+ _t as differenceInHours,
837
+ O as differenceInMilliseconds,
838
+ Ot as differenceInMinutes,
839
+ J as eachDayOfInterval,
840
+ Wt as eachHourOfInterval,
841
+ T as endOfDay,
842
+ S as endOfMonth,
843
+ w as endOfWeek,
844
+ G as endOfYear,
845
+ Ie as eventsOverlap,
846
+ K as filterEventsByDateRange,
847
+ j as filterEventsByResource,
848
+ X as filterEventsByScheduleType,
849
+ q as filterEventsBySearch,
850
+ Q as filterOutCanceled,
851
+ Rt as formatDateISO,
852
+ le as formatEventTimeDisplay,
853
+ Bt as formatHourLabel,
854
+ H as formatTime,
855
+ Te as generateHourLabels,
856
+ me as generateMonthCells,
857
+ Vt as generateMonthGrid,
858
+ pe as generateTimeSlots,
859
+ he as generateWeekCells,
860
+ ye as generateYearCells,
861
+ re as getAllDayEvents,
862
+ ht as getDayOfWeek,
863
+ Mt as getDaysInMonth,
864
+ kt as getDecimalHours,
865
+ ie as getEventColor,
866
+ ue as getEventDurationMinutes,
867
+ Me as getEventsCountInView,
868
+ ne as getEventsForDay,
869
+ Gt as getEventsInRange,
834
870
  Yt as getMonthNames,
835
- oe as getMultiDayEvents,
836
- He as getOverlappingGroups,
837
- ye as getRangeText,
838
- re as getTimedEvents,
839
- q as getViewDateRange,
840
- Te as getViewTitle,
841
- At as getVisibleHoursArray,
842
- Bt as getWeekDays,
843
- ht as getWeekNumber,
844
- we as getWeekdayHeaders,
845
- Wt as getWeekdayNames,
846
- zt as getWorkingHoursForDay,
847
- Jt as getYearMonths,
848
- Qt as groupEventsByDate,
849
- te as groupEventsByResource,
850
- Zt as groupEventsByScheduleType,
851
- kt as isAfter,
852
- Ht as isBefore,
853
- It as isBetween,
854
- ae as isMultiDayEvent,
855
- S as isSameDay,
856
- F as isSameMonth,
857
- yt as isSameWeek,
858
- Mt as isSameYear,
859
- $ as isToday,
860
- R as isWeekend,
861
- Gt as isWorkingHour,
862
- Ft as maxDate,
863
- xt as minDate,
864
- ce as navigateNext,
865
- le as navigatePrev,
866
- fe as navigateToday,
867
- Rt as parseISO,
868
- ie as resolveEventColor,
869
- Vt as separateEventsByDuration,
870
- St as setTime,
871
- qt as sortEventsByDuration,
872
- jt as sortEventsByEnd,
873
- Xt as sortEventsByStart,
874
- d as startOfDay,
875
- M as startOfMonth,
876
- m as startOfWeek,
877
- U as startOfYear,
878
- dt as subDays,
879
- pt as subMonths,
880
- Dt as subWeeks,
881
- wt as subYears,
882
- Se as timeToY,
883
- Ee as yToTime
871
+ ae as getMultiDayEvents,
872
+ xe as getOverlappingGroups,
873
+ we as getRangeText,
874
+ oe as getTimedEvents,
875
+ Z as getViewDateRange,
876
+ Ee as getViewTitle,
877
+ Lt as getVisibleHoursArray,
878
+ Nt as getWeekDays,
879
+ pt as getWeekNumber,
880
+ Se as getWeekdayHeaders,
881
+ vt as getWeekdayNames,
882
+ Jt as getWorkingHoursForDay,
883
+ Kt as getYearMonths,
884
+ Zt as groupEventsByDate,
885
+ ee as groupEventsByResource,
886
+ te as groupEventsByScheduleType,
887
+ xt as isAfter,
888
+ It as isBefore,
889
+ Ft as isBetween,
890
+ se as isMultiDayEvent,
891
+ p as isSameDay,
892
+ $ as isSameMonth,
893
+ Tt as isSameWeek,
894
+ St as isSameYear,
895
+ U as isToday,
896
+ W as isWeekend,
897
+ zt as isWorkingHour,
898
+ Ct as maxDate,
899
+ $t as minDate,
900
+ de as navigateNext,
901
+ ge as navigatePrev,
902
+ De as navigateToday,
903
+ Ut as parseISO,
904
+ ce as resolveEventColor,
905
+ Pt as separateEventsByDuration,
906
+ Ht as setTime,
907
+ fe as shouldShowEventTime,
908
+ Qt as sortEventsByDuration,
909
+ qt as sortEventsByEnd,
910
+ jt as sortEventsByStart,
911
+ g as startOfDay,
912
+ E as startOfMonth,
913
+ D as startOfWeek,
914
+ v as startOfYear,
915
+ mt as subDays,
916
+ wt as subMonths,
917
+ yt as subWeeks,
918
+ Et as subYears,
919
+ ke as timeToY,
920
+ He as yToTime
884
921
  };
885
922
  //# sourceMappingURL=utils.mjs.map