@ukpc-lib/react 0.2.35 → 0.2.37

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.
@@ -3378,19 +3378,29 @@ var Pr = function() {
3378
3378
  }();
3379
3379
  zt.type = "backend";
3380
3380
  var jr = /* @__PURE__ */ ((i) => (i.en = "en", i.de = "de", i))(jr || {});
3381
+ const kr = {
3382
+ en: "English",
3383
+ de: "German"
3384
+ };
3381
3385
  C.use(Bt).use(fn).use(Ft).init({
3382
3386
  // defaultNS: "translation",
3383
3387
  // resources,
3384
3388
  initImmediate: !0,
3385
- fallbackLng: "en",
3389
+ ns: ["translation"],
3390
+ fallbackLng: Object.keys(kr),
3391
+ fallbackNS: "translation",
3386
3392
  partialBundledLanguages: !0,
3387
3393
  resources: {},
3394
+ interpolation: {
3395
+ escapeValue: !1
3396
+ },
3388
3397
  backend: {
3389
3398
  backends: [zt],
3390
3399
  backendOptions: [
3391
3400
  {
3392
3401
  loadPath: "https://ukpcsaprod.blob.core.windows.net/lib/translations/{{lng}}/{{ns}}.json",
3393
- crossDomain: !0
3402
+ crossDomain: !0,
3403
+ cacheHitMode: "refresh"
3394
3404
  }
3395
3405
  ]
3396
3406
  }
@@ -3401,10 +3411,10 @@ const me = {
3401
3411
  "page-title": "_page-title_6iqty_19",
3402
3412
  "text-base": "_text-base_6iqty_25",
3403
3413
  "mt-4": "_mt-4_6iqty_32"
3404
- }, kr = () => {
3414
+ }, Lr = () => {
3405
3415
  const { t: i } = gn();
3406
3416
  return /* @__PURE__ */ E.jsx("div", { className: "unauth__container " + me["page-container"], children: /* @__PURE__ */ E.jsxs("div", { className: "unauth__main-content " + me["page-main-content"], children: [
3407
- /* @__PURE__ */ E.jsx(Lr, {}),
3417
+ /* @__PURE__ */ E.jsx(Rr, {}),
3408
3418
  /* @__PURE__ */ E.jsxs("div", { className: "unauth__main-text flex flex-col gap-[8px] items-center justify-center text-center", children: [
3409
3419
  /* @__PURE__ */ E.jsx("h2", { className: "unauth__main-text__title " + me["page-title"], children: i("components.unauthorizedPage.title") }),
3410
3420
  /* @__PURE__ */ E.jsxs("p", { className: "unauth__main-text__desc " + me["text-base"], children: [
@@ -3416,7 +3426,7 @@ const me = {
3416
3426
  ] })
3417
3427
  ] })
3418
3428
  ] }) });
3419
- }, Lr = () => /* @__PURE__ */ E.jsxs(
3429
+ }, Rr = () => /* @__PURE__ */ E.jsxs(
3420
3430
  "svg",
3421
3431
  {
3422
3432
  width: "61",
@@ -3491,16 +3501,16 @@ const me = {
3491
3501
  ]
3492
3502
  }
3493
3503
  );
3494
- function Rr() {
3495
- return /* @__PURE__ */ E.jsx(hn, { i18n: C, children: /* @__PURE__ */ E.jsx(kr, {}) });
3504
+ function Er() {
3505
+ return /* @__PURE__ */ E.jsx(hn, { i18n: C, children: /* @__PURE__ */ E.jsx(Lr, {}) });
3496
3506
  }
3497
3507
  {
3498
- const i = Xt(Rr);
3508
+ const i = Xt(Er);
3499
3509
  customElements.define("access-denied", i);
3500
3510
  }
3501
3511
  export {
3502
3512
  jr as L,
3503
- kr as U,
3513
+ Lr as U,
3504
3514
  Z as _,
3505
3515
  C as i
3506
3516
  };