mhz-ui 1.2.18 → 1.2.20
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.
|
@@ -107,7 +107,10 @@ const pe = {
|
|
|
107
107
|
return (Array.isArray($) ? $.includes(g.id) : $) && (g.isMonth && !t.eventsOnMonthView || g.isYear);
|
|
108
108
|
}), R = E(() => t.allDayEvents && t.time !== !1 && !_.isMonth), y = E(() => t.timeAtCursor && t.time !== !1), k = async (g) => {
|
|
109
109
|
var $;
|
|
110
|
-
let S = /* @__PURE__ */ Object.assign({
|
|
110
|
+
let S = /* @__PURE__ */ Object.assign({
|
|
111
|
+
"../i18n/ru.json": () => import("../ru-Dw5InYRk.js").then((r) => r.default),
|
|
112
|
+
"../i18n/en-gb.json": () => import("../en-gb-BvrSs5DI.js").then((r) => r.default)
|
|
113
|
+
});
|
|
111
114
|
{
|
|
112
115
|
if (!S[`../i18n/${g}.json`]) {
|
|
113
116
|
console.warn(`Vue Cal: the locale \`${g}\` does not exist. Falling back to \`en-us\`.`), g = "en-us";
|
|
@@ -2489,7 +2492,7 @@ const st = (h, t) => {
|
|
|
2489
2492
|
time: !1,
|
|
2490
2493
|
events: u.events,
|
|
2491
2494
|
minDate: u.minDate,
|
|
2492
|
-
locale: u.lang === "en" ? "en-
|
|
2495
|
+
locale: u.lang === "en" ? "en-gb" : u.lang,
|
|
2493
2496
|
todayButton: !1,
|
|
2494
2497
|
onReady: _[0] || (_[0] = (x) => i("ready", { dateFrom: x?.view?.firstCellDate, dateTo: x?.view?.lastCellDate })),
|
|
2495
2498
|
onViewChange: _[1] || (_[1] = (x) => i("update", { dateFrom: x?.extendedStart, dateTo: x?.extendedEnd })),
|