willba-component-library 0.1.64 → 0.1.66
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/lib/index.umd.js
CHANGED
|
@@ -11075,7 +11075,8 @@
|
|
|
11075
11075
|
setCalendarRange(undefined);
|
|
11076
11076
|
}, []);
|
|
11077
11077
|
var today = startOfDay(new Date());
|
|
11078
|
-
var daysToOffsetCalendar =
|
|
11078
|
+
var daysToOffsetCalendar = calendarOffset &&
|
|
11079
|
+
((_b = Object.entries(calendarOffset)) === null || _b === void 0 ? void 0 : _b.find(function (page) { return selectedPath.substring(1) === page[0]; }));
|
|
11079
11080
|
var disabledDays = [
|
|
11080
11081
|
{
|
|
11081
11082
|
from: addDays(today, !!(daysToOffsetCalendar === null || daysToOffsetCalendar === void 0 ? void 0 : daysToOffsetCalendar.length) ? daysToOffsetCalendar[1] : -2),
|