@forcecalendar/interface 1.0.52 → 1.0.53

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.
@@ -1368,7 +1368,9 @@ class E {
1368
1368
  const c = new Date(o.start), l = new Date(o.end), d = c.getHours() * 60 + c.getMinutes(), p = Math.max(d + 1, l.getHours() * 60 + l.getMinutes());
1369
1369
  return { id: o.id, startMin: d, endMin: p };
1370
1370
  });
1371
- e.sort((o, c) => o.startMin - c.startMin || c.endMin - c.startMin - (o.endMin - o.startMin));
1371
+ e.sort(
1372
+ (o, c) => o.startMin - c.startMin || c.endMin - c.startMin - (o.endMin - o.startMin)
1373
+ );
1372
1374
  const r = [], i = /* @__PURE__ */ new Map();
1373
1375
  for (const o of e) {
1374
1376
  let c = !1;
@@ -1634,7 +1636,9 @@ class z extends E {
1634
1636
  <!-- Timed events -->
1635
1637
  ${(() => {
1636
1638
  const r = this.computeOverlapLayout(t.timedEvents);
1637
- return t.timedEvents.map((i) => this.renderTimedEvent(i, { compact: !0, overlapLayout: r })).join("");
1639
+ return t.timedEvents.map(
1640
+ (i) => this.renderTimedEvent(i, { compact: !0, overlapLayout: r })
1641
+ ).join("");
1638
1642
  })()}
1639
1643
  </div>
1640
1644
  `;
@@ -1778,7 +1782,9 @@ class B extends E {
1778
1782
  <!-- Timed events -->
1779
1783
  ${(() => {
1780
1784
  const s = this.computeOverlapLayout(t);
1781
- return t.map((n) => this.renderTimedEvent(n, { compact: !1, overlapLayout: s })).join("");
1785
+ return t.map(
1786
+ (n) => this.renderTimedEvent(n, { compact: !1, overlapLayout: s })
1787
+ ).join("");
1782
1788
  })()}
1783
1789
  </div>
1784
1790
  `;