@soroka282/rm.ui-kit 0.0.44 → 0.0.45

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, createElementBlock as x, openBlock as C, createElementVNode as I, createVNode as a, unref as e, withCtx as m, createTextVNode as i, toDisplayString as u } from "vue";
2
- import { c as M, d as B, e as U, f as p, g as t, h as n, b as k } from "./index-C_FvYMui.js";
2
+ import { c as M, d as B, e as U, f as p, g as t, h as n, b as k } from "./index-Bkp54SsV.js";
3
3
  import "pinia";
4
4
  const H = { class: "delete-document-modal" }, N = ["innerHTML"], q = /* @__PURE__ */ b({
5
5
  __name: "DeleteDocumentModal",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as y, computed as v, createElementBlock as s, openBlock as l, createCommentVNode as n, createVNode as k, Fragment as I, renderList as V, normalizeClass as g, createTextVNode as _, createBlock as C, toDisplayString as d, unref as S } from "vue";
2
- import { u as b, U as w, _ as L, a as x, b as B } from "./index-C_FvYMui.js";
2
+ import { u as b, U as w, _ as L, a as x, b as B } from "./index-Bkp54SsV.js";
3
3
  const U = { class: "select-list" }, M = {
4
4
  key: 0,
5
5
  class: "search-wrapper"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, createElementBlock as t, openBlock as i, createVNode as o, withCtx as l, createElementVNode as c } from "vue";
2
- import { i as d, b as n } from "./index-C_FvYMui.js";
2
+ import { i as d, b as n } from "./index-Bkp54SsV.js";
3
3
  const m = { class: "saved-image-document-modal" }, r = { class: "saved-image-document-modal__container" }, _ = ["src"], g = ["src"], h = /* @__PURE__ */ s({
4
4
  __name: "UIBlockViewDetailImageListModalType1",
5
5
  props: {
@@ -10770,7 +10770,7 @@ const EH = ["id", "value"], e9 = /* @__PURE__ */ d2({
10770
10770
  ), c = () => {
10771
10771
  C({
10772
10772
  component: u9(
10773
- () => import("./List-jwv4_xj5.js")
10773
+ () => import("./List-GB-HcOYu.js")
10774
10774
  ),
10775
10775
  modalProps: {
10776
10776
  isHaveCloseModal: !0,
@@ -11106,7 +11106,7 @@ const WH = ["type", "disabled"], qH = ["innerHTML"], YH = /* @__PURE__ */ d2({
11106
11106
  }, L = (h) => {
11107
11107
  i({
11108
11108
  component: u9(
11109
- () => import("./UIBlockViewDetailImageListModalType1-8uhEBbkH.js")
11109
+ () => import("./UIBlockViewDetailImageListModalType1-CcgSETmt.js")
11110
11110
  ),
11111
11111
  modalProps: {
11112
11112
  title: r(`moduleDocuments.availableDocuments.${C.documentType}`)
@@ -11195,7 +11195,7 @@ const WH = ["type", "disabled"], qH = ["innerHTML"], YH = /* @__PURE__ */ d2({
11195
11195
  var E;
11196
11196
  c({
11197
11197
  component: u9(
11198
- () => import("./DeleteDocumentModal-CBj01ek_.js")
11198
+ () => import("./DeleteDocumentModal-Bt17oIps.js")
11199
11199
  ),
11200
11200
  modalProps: {
11201
11201
  title: l("moduleDocuments.modal.removeDocument.title")
@@ -13823,18 +13823,20 @@ const {
13823
13823
  }
13824
13824
  }, JL = {
13825
13825
  install(e, t) {
13826
- var C;
13827
- if (e.use(LH), e.use(MC), e.use(of), (C = t.i18n) != null && C.global) {
13828
- const n = t.i18n.global, r = w.global;
13829
- console.log("Merging UI kit i18n into host i18n"), ["ru", "kg", "tj", "uz"].forEach((i) => {
13830
- const a = n.getLocaleMessage(i) || {}, s = r.getLocaleMessage(i) || {};
13831
- n.setLocaleMessage(i, {
13832
- ...s,
13833
- ...a
13826
+ var C, n;
13827
+ if (e.use(LH), e.use(MC), e.use(of), console.log("[UIKitInstall] options.i18n:", t.i18n), console.log("[UIKitInstall] options.i18n?.global:", (C = t.i18n) == null ? void 0 : C.global), (n = t.i18n) != null && n.global) {
13828
+ const r = t.i18n.global, i = w.global;
13829
+ console.log("[UIKitInstall] Merging UI kit i18n into host i18n"), ["ru", "kg", "tj", "uz"].forEach((a) => {
13830
+ const s = r.getLocaleMessage(a) || {}, o = i.getLocaleMessage(a) || {};
13831
+ console.log(`[UIKitInstall] [${a}] hostMessages keys:`, Object.keys(s)), console.log(`[UIKitInstall] [${a}] uiMessages keys:`, Object.keys(o)), r.setLocaleMessage(a, {
13832
+ ...o,
13833
+ ...s
13834
13834
  });
13835
+ const l = r.getLocaleMessage(a);
13836
+ console.log(`[UIKitInstall] [${a}] merged keys:`, Object.keys(l));
13835
13837
  });
13836
13838
  } else
13837
- console.log("Installing UI kit i18n as standalone"), e.use(w);
13839
+ console.log("[UIKitInstall] Installing UI kit i18n as standalone"), e.use(w);
13838
13840
  e.use(gV), e.use(vV), e.use(Kp, t);
13839
13841
  }
13840
13842
  }, Qp = ["innerHTML"], eh = /* @__PURE__ */ d2({