agilebuilder-ui 1.0.69 → 1.0.70

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/super-ui.js CHANGED
@@ -9816,20 +9816,20 @@ function getLocaleMessages(e, t) {
9816
9816
  if (isArray$2(o) && o.forEach((p) => {
9817
9817
  if ("locale" in p && "resource" in p) {
9818
9818
  const { locale: y, resource: x } = p;
9819
- y ? (f[y] = f[y] || {}, deepCopy$1(x, f[y])) : deepCopy$1(x, f);
9819
+ y ? (f[y] = f[y] || {}, deepCopy(x, f[y])) : deepCopy(x, f);
9820
9820
  } else
9821
- isString$3(p) && deepCopy$1(JSON.parse(p), f);
9821
+ isString$3(p) && deepCopy(JSON.parse(p), f);
9822
9822
  }), i == null && l)
9823
9823
  for (const p in f)
9824
9824
  hasOwn$1(f, p) && handleFlatJson(f[p]);
9825
9825
  return f;
9826
9826
  }
9827
9827
  const isNotObjectOrIsArray = (e) => !isObject$4(e) || isArray$2(e);
9828
- function deepCopy$1(e, t) {
9828
+ function deepCopy(e, t) {
9829
9829
  if (isNotObjectOrIsArray(e) || isNotObjectOrIsArray(t))
9830
9830
  throw createI18nError(I18nErrorCodes.INVALID_VALUE);
9831
9831
  for (const n in e)
9832
- hasOwn$1(e, n) && (isNotObjectOrIsArray(e[n]) || isNotObjectOrIsArray(t[n]) ? t[n] = e[n] : deepCopy$1(e[n], t[n]));
9832
+ hasOwn$1(e, n) && (isNotObjectOrIsArray(e[n]) || isNotObjectOrIsArray(t[n]) ? t[n] = e[n] : deepCopy(e[n], t[n]));
9833
9833
  }
9834
9834
  function getComponentOptions(e) {
9835
9835
  return e.type;
@@ -10084,7 +10084,7 @@ function createComposer(e = {}, t) {
10084
10084
  const Kt = { [Me]: it };
10085
10085
  for (const un in Kt)
10086
10086
  hasOwn$1(Kt, un) && handleFlatJson(Kt[un]);
10087
- it = Kt[Me], deepCopy$1(it, x.value[Me]), K.messages = x.value;
10087
+ it = Kt[Me], deepCopy(it, x.value[Me]), K.messages = x.value;
10088
10088
  }
10089
10089
  function Bt(Me) {
10090
10090
  return E.value[Me] || {};
@@ -18587,7 +18587,7 @@ const customFormatter$1 = {
18587
18587
  "ridParams.options.extraParam.entityMap",
18588
18588
  i.options.extraParam
18589
18589
  );
18590
- const f = deepCopy(i.pageContext ? i.pageContext.page : {});
18590
+ const f = JSON.parse(JSON.stringify(i.pageContext && i.pageContext.page ? i.pageContext.page : {}));
18591
18591
  o._pageData = f, jumpToPage(
18592
18592
  o,
18593
18593
  i.system,