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({ "../i18n/ar.json": () => import("../ar-DoS5rYDE.js").then((r) => r.default), "../i18n/bg.json": () => import("../bg-Cliju_Dl.js").then((r) => r.default), "../i18n/bn.json": () => import("../bn-DQXOuyzr.js").then((r) => r.default), "../i18n/bs.json": () => import("../bs-Ds5q4n_r.js").then((r) => r.default), "../i18n/ca.json": () => import("../ca-4xgtP6KO.js").then((r) => r.default), "../i18n/cs.json": () => import("../cs-B6IPxSFU.js").then((r) => r.default), "../i18n/da.json": () => import("../da-6AVoummu.js").then((r) => r.default), "../i18n/de.json": () => import("../de-BNu6KHOK.js").then((r) => r.default), "../i18n/el.json": () => import("../el-DHxOBVTQ.js").then((r) => r.default), "../i18n/en-gb.json": () => import("../en-gb-BvrSs5DI.js").then((r) => r.default), "../i18n/en-us.json": () => Promise.resolve().then(() => At).then((r) => r.default), "../i18n/es.json": () => import("../es-CFPDv89X.js").then((r) => r.default), "../i18n/et.json": () => import("../et-uribXAWM.js").then((r) => r.default), "../i18n/fa.json": () => import("../fa-C5ymM_FA.js").then((r) => r.default), "../i18n/fi.json": () => import("../fi-C7j6U8Nq.js").then((r) => r.default), "../i18n/fr.json": () => import("../fr-KgeJOsbO.js").then((r) => r.default), "../i18n/he.json": () => import("../he-DyV8dASR.js").then((r) => r.default), "../i18n/hr.json": () => import("../hr-BnXDuk1H.js").then((r) => r.default), "../i18n/hu.json": () => import("../hu-DO4KYZ6o.js").then((r) => r.default), "../i18n/id.json": () => import("../id-BcUqqcvx.js").then((r) => r.default), "../i18n/is.json": () => import("../is-CA349qo2.js").then((r) => r.default), "../i18n/it.json": () => import("../it-C5sJWKCx.js").then((r) => r.default), "../i18n/ja.json": () => import("../ja-Hmoisb1E.js").then((r) => r.default), "../i18n/ka.json": () => import("../ka-BitJbN8P.js").then((r) => r.default), "../i18n/kaa.json": () => import("../kaa-BkurJ2Of.js").then((r) => r.default), "../i18n/kk.json": () => import("../kk-BBZvRXgP.js").then((r) => r.default), "../i18n/ko.json": () => import("../ko-Bkm_tOzT.js").then((r) => r.default), "../i18n/ky.json": () => import("../ky-BvRR_Tcp.js").then((r) => r.default), "../i18n/lt.json": () => import("../lt-CnHbl6RF.js").then((r) => r.default), "../i18n/mn.json": () => import("../mn-D7uNFUHJ.js").then((r) => r.default), "../i18n/nl.json": () => import("../nl-D9iACGyz.js").then((r) => r.default), "../i18n/no.json": () => import("../no-CrNUqUvo.js").then((r) => r.default), "../i18n/pl.json": () => import("../pl-7eI2wLnR.js").then((r) => r.default), "../i18n/pt-br.json": () => import("../pt-br-DGoBPP0L.js").then((r) => r.default), "../i18n/pt-pt.json": () => import("../pt-pt-DGoBPP0L.js").then((r) => r.default), "../i18n/ro.json": () => import("../ro-d0Nhcikp.js").then((r) => r.default), "../i18n/ru.json": () => import("../ru-Dw5InYRk.js").then((r) => r.default), "../i18n/sk.json": () => import("../sk-CVf2-gKO.js").then((r) => r.default), "../i18n/sl.json": () => import("../sl-Bu4VTEBB.js").then((r) => r.default), "../i18n/sq.json": () => import("../sq-CCXYEQ64.js").then((r) => r.default), "../i18n/sr.json": () => import("../sr-BTthV5DU.js").then((r) => r.default), "../i18n/sv.json": () => import("../sv-CUY8ltE2.js").then((r) => r.default), "../i18n/tr.json": () => import("../tr-DogdF9PC.js").then((r) => r.default), "../i18n/uk.json": () => import("../uk-DnfAzipP.js").then((r) => r.default), "../i18n/uz-cryl.json": () => import("../uz-cryl-CEweDRhI.js").then((r) => r.default), "../i18n/uz.json": () => import("../uz-BHUKOoqU.js").then((r) => r.default), "../i18n/vi.json": () => import("../vi-BQLinWSk.js").then((r) => r.default), "../i18n/zh-cn.json": () => import("../zh-cn-DVPNRZ37.js").then((r) => r.default), "../i18n/zh-hk.json": () => import("../zh-hk-DrbeU4Us.js").then((r) => r.default) });
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-us" : "ru",
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 })),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mhz-ui",
3
3
  "description": "Mhz ui kit",
4
- "version": "1.2.18",
4
+ "version": "1.2.20",
5
5
  "author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
6
6
  "license": "MIT",
7
7
  "type": "module",