@theroutingcompany/components 0.0.66-alpha.2 → 0.0.66-alpha.3
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.
|
@@ -14221,15 +14221,16 @@ function nd({
|
|
|
14221
14221
|
/* @__PURE__ */ x("th", { style: { textAlign: "center" }, children: m }, h)
|
|
14222
14222
|
)) }) }),
|
|
14223
14223
|
/* @__PURE__ */ x("tbody", { children: [...Array.from({ length: p }).keys()].map((m) => /* @__PURE__ */ x("tr", { children: e.getDatesInWeek(m, i).map((h, b) => {
|
|
14224
|
+
var g;
|
|
14224
14225
|
if (h) {
|
|
14225
|
-
const
|
|
14226
|
+
const $ = (
|
|
14226
14227
|
// lies, we have to check undefined too because CalendarState (single calendar view)
|
|
14227
14228
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
14228
14229
|
e.anchorDate !== void 0 && e.anchorDate !== null ? X9({
|
|
14229
14230
|
date: h,
|
|
14230
14231
|
// @ts-expect-error we are checking for null in the ternary condition
|
|
14231
14232
|
anchorDate: e.anchorDate
|
|
14232
|
-
}) : !1
|
|
14233
|
+
}) || ((g = t.isDateUnavailable) == null ? void 0 : g.call(t, h)) : !1
|
|
14233
14234
|
);
|
|
14234
14235
|
return /* @__PURE__ */ x(
|
|
14235
14236
|
Z9,
|
|
@@ -14237,7 +14238,7 @@ function nd({
|
|
|
14237
14238
|
state: e,
|
|
14238
14239
|
date: h,
|
|
14239
14240
|
today: l,
|
|
14240
|
-
disabled:
|
|
14241
|
+
disabled: $,
|
|
14241
14242
|
currentMonth: i,
|
|
14242
14243
|
single: o
|
|
14243
14244
|
},
|
|
@@ -14860,13 +14861,14 @@ function VB({
|
|
|
14860
14861
|
}
|
|
14861
14862
|
),
|
|
14862
14863
|
/* @__PURE__ */ oe(Ft, { gap: u.spacing_400, justifyContent: "space-between", children: [
|
|
14863
|
-
/* @__PURE__ */ x(nd, { state: a, timeZone: e }),
|
|
14864
|
+
/* @__PURE__ */ x(nd, { state: a, timeZone: e, isDateUnavailable: t.isDateUnavailable }),
|
|
14864
14865
|
/* @__PURE__ */ x(
|
|
14865
14866
|
nd,
|
|
14866
14867
|
{
|
|
14867
14868
|
state: a,
|
|
14868
14869
|
offset: { months: 1 },
|
|
14869
|
-
timeZone: e
|
|
14870
|
+
timeZone: e,
|
|
14871
|
+
isDateUnavailable: t.isDateUnavailable
|
|
14870
14872
|
}
|
|
14871
14873
|
)
|
|
14872
14874
|
] })
|