@a2simcode/ui 0.0.174 → 0.0.175

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.
@@ -28,8 +28,8 @@ import { useVirtualList as Or } from "@vueuse/core";
28
28
  import uf from "async-validator";
29
29
  import { createEditor as df, createToolbar as ff } from "@wangeditor/editor";
30
30
  import pc from "diagram-js";
31
- import { assignStyle as Hi, attr as _n, classes as nn, clear as gc, closest as Ir, delegate as Zn, domify as rn, event as lt, matches as hf, query as Kt, queryAll as hr, remove as pr } from "min-dom";
32
- import { assign as $e, bind as Lr, debounce as pf, every as zr, filter as dn, find as jn, flatten as gf, forEach as de, groupBy as Dr, has as vc, isArray as ct, isDefined as wn, isFunction as Pn, isNil as Hl, isNumber as Lt, isObject as fn, isString as gr, isUndefined as vf, map as jo, matchPattern as mi, omit as yf, pick as bi, reduce as vr, size as mf, some as bf, sortBy as Eo, uniqueBy as wf, values as $r, without as _f } from "min-dash";
31
+ import { assignStyle as Hi, attr as xn, classes as nn, clear as gc, closest as Ir, delegate as Zn, domify as rn, event as lt, matches as hf, query as Kt, queryAll as hr, remove as pr } from "min-dom";
32
+ import { assign as $e, bind as Lr, debounce as pf, every as zr, filter as dn, find as jn, flatten as gf, forEach as de, groupBy as Dr, has as vc, isArray as ct, isDefined as _n, isFunction as Pn, isNil as Hl, isNumber as Lt, isObject as fn, isString as gr, isUndefined as vf, map as jo, matchPattern as mi, omit as yf, pick as bi, reduce as vr, size as mf, some as bf, sortBy as Eo, uniqueBy as wf, values as $r, without as _f } from "min-dash";
33
33
  import { append as Ke, attr as De, classes as gt, clear as Fr, clone as yc, create as Je, createTransform as wo, remove as un, transform as Vr } from "tiny-svg";
34
34
  import Ta from "inherits";
35
35
  import xf from "diagram-js-direct-editing";
@@ -241,16 +241,16 @@ function If(e) {
241
241
  };
242
242
  return typeof Element < "u" && e instanceof Element ? "element" : n[t.call(e)];
243
243
  }
244
- function xn(e) {
244
+ function hn(e) {
245
245
  const t = If(e);
246
246
  let n;
247
247
  if (t === "array") n = [];
248
248
  else if (t === "object") n = {};
249
249
  else return e;
250
250
  if (t === "array") for (let a = 0, o = e.length; a < o; a++)
251
- e[a] = (e[a] === 0, e[a]), e[a] && delete e[a].$parent, n.push(xn(e[a]));
251
+ e[a] = (e[a] === 0, e[a]), e[a] && delete e[a].$parent, n.push(hn(e[a]));
252
252
  else t === "object" && Object.keys(e).forEach((a) => {
253
- e && delete e.$parent, n[a] = xn(e[a]);
253
+ e && delete e.$parent, n[a] = hn(e[a]);
254
254
  });
255
255
  return n;
256
256
  }
@@ -364,7 +364,7 @@ var Xo = (e) => {
364
364
  let i = n.substring(0, o);
365
365
  for (let r = 0; r < Math.floor(n.length / 3); r++) i += "," + n.substring(o + r * 3, o + (r + 1) * 3);
366
366
  return o === 0 && (i = i.substring(1)), e = i + (a ? "." + a : ""), e;
367
- }, bn = (e) => {
367
+ }, wn = (e) => {
368
368
  if (!e) return;
369
369
  if (typeof document > "u" || !document.body) return e.length * 7;
370
370
  const t = document.createElement("span");
@@ -421,9 +421,9 @@ function Ff(e, t, n, a, o, i) {
421
421
  const l = [];
422
422
  let c = {};
423
423
  if (a ? e.forEach((s) => {
424
- c[s[a]] || (c[s[a]] = !0, l.push(xn(s)));
424
+ c[s[a]] || (c[s[a]] = !0, l.push(hn(s)));
425
425
  }) : e.forEach((s) => {
426
- l.push(xn(s));
426
+ l.push(hn(s));
427
427
  }), c = {}, r === n) {
428
428
  const s = [];
429
429
  return l.forEach((d) => {
@@ -584,7 +584,7 @@ function Ra(e) {
584
584
  }
585
585
  var Kf = /* @__PURE__ */ an(((e, t) => {
586
586
  t.exports = {};
587
- })), pn = /* @__PURE__ */ an(((e, t) => {
587
+ })), gn = /* @__PURE__ */ an(((e, t) => {
588
588
  (function(n, a) {
589
589
  typeof e == "object" ? t.exports = e = a() : typeof define == "function" && define.amd ? define([], a) : n.CryptoJS = a();
590
590
  })(e, function() {
@@ -754,7 +754,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
754
754
  });
755
755
  })), Cc = /* @__PURE__ */ an(((e, t) => {
756
756
  (function(n, a) {
757
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
757
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
758
758
  })(e, function(n) {
759
759
  return (function() {
760
760
  var a = n, o = a.lib.WordArray, i = a.enc;
@@ -794,7 +794,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
794
794
  });
795
795
  })), Sc = /* @__PURE__ */ an(((e, t) => {
796
796
  (function(n, a) {
797
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
797
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
798
798
  })(e, function(n) {
799
799
  return (function(a) {
800
800
  var o = n, i = o.lib, r = i.WordArray, l = i.Hasher, c = o.algo, s = [];
@@ -855,7 +855,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
855
855
  });
856
856
  })), qf = /* @__PURE__ */ an(((e, t) => {
857
857
  (function(n, a) {
858
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
858
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
859
859
  })(e, function(n) {
860
860
  return (function() {
861
861
  var a = n, o = a.lib, i = o.WordArray, r = o.Hasher, l = a.algo, c = [], s = l.SHA1 = r.extend({
@@ -894,7 +894,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
894
894
  });
895
895
  })), Xf = /* @__PURE__ */ an(((e, t) => {
896
896
  (function(n, a) {
897
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
897
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
898
898
  })(e, function(n) {
899
899
  (function() {
900
900
  var a = n, o = a.lib.Base, i = a.enc.Utf8, r = a.algo;
@@ -923,7 +923,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
923
923
  });
924
924
  })), kc = /* @__PURE__ */ an(((e, t) => {
925
925
  (function(n, a, o) {
926
- typeof e == "object" ? t.exports = e = a(pn(), qf(), Xf()) : typeof define == "function" && define.amd ? define([
926
+ typeof e == "object" ? t.exports = e = a(gn(), qf(), Xf()) : typeof define == "function" && define.amd ? define([
927
927
  "./core",
928
928
  "./sha1",
929
929
  "./hmac"
@@ -956,7 +956,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
956
956
  });
957
957
  })), Rc = /* @__PURE__ */ an(((e, t) => {
958
958
  (function(n, a, o) {
959
- typeof e == "object" ? t.exports = e = a(pn(), kc()) : typeof define == "function" && define.amd ? define(["./core", "./evpkdf"], a) : a(n.CryptoJS);
959
+ typeof e == "object" ? t.exports = e = a(gn(), kc()) : typeof define == "function" && define.amd ? define(["./core", "./evpkdf"], a) : a(n.CryptoJS);
960
960
  })(e, function(n) {
961
961
  n.lib.Cipher || (function(a) {
962
962
  var o = n, i = o.lib, r = i.Base, l = i.WordArray, c = i.BufferedBlockAlgorithm, s = o.enc;
@@ -1135,7 +1135,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1135
1135
  });
1136
1136
  })), Zf = /* @__PURE__ */ an(((e, t) => {
1137
1137
  (function(n, a, o) {
1138
- typeof e == "object" ? t.exports = e = a(pn(), Cc(), Sc(), kc(), Rc()) : typeof define == "function" && define.amd ? define([
1138
+ typeof e == "object" ? t.exports = e = a(gn(), Cc(), Sc(), kc(), Rc()) : typeof define == "function" && define.amd ? define([
1139
1139
  "./core",
1140
1140
  "./enc-base64",
1141
1141
  "./md5",
@@ -1205,19 +1205,19 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1205
1205
  });
1206
1206
  })), Qf = /* @__PURE__ */ an(((e, t) => {
1207
1207
  (function(n, a) {
1208
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
1208
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
1209
1209
  })(e, function(n) {
1210
1210
  return n.enc.Utf8;
1211
1211
  });
1212
1212
  })), eh = /* @__PURE__ */ an(((e, t) => {
1213
1213
  (function(n, a, o) {
1214
- typeof e == "object" ? t.exports = e = a(pn(), Rc()) : typeof define == "function" && define.amd ? define(["./core", "./cipher-core"], a) : a(n.CryptoJS);
1214
+ typeof e == "object" ? t.exports = e = a(gn(), Rc()) : typeof define == "function" && define.amd ? define(["./core", "./cipher-core"], a) : a(n.CryptoJS);
1215
1215
  })(e, function(n) {
1216
1216
  return n.pad.Pkcs7;
1217
1217
  });
1218
1218
  })), th = /* @__PURE__ */ an(((e, t) => {
1219
1219
  (function(n, a) {
1220
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
1220
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
1221
1221
  })(e, function(n) {
1222
1222
  return (function(a) {
1223
1223
  var o = n, i = o.lib, r = i.WordArray, l = i.Hasher, c = o.algo, s = [], d = [];
@@ -1262,7 +1262,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1262
1262
  });
1263
1263
  })), nh = /* @__PURE__ */ an(((e, t) => {
1264
1264
  (function(n, a) {
1265
- typeof e == "object" ? t.exports = e = a(pn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
1265
+ typeof e == "object" ? t.exports = e = a(gn()) : typeof define == "function" && define.amd ? define(["./core"], a) : a(n.CryptoJS);
1266
1266
  })(e, function(n) {
1267
1267
  return (function(a) {
1268
1268
  var o = n, i = o.lib, r = i.Base, l = i.WordArray, c = o.x64 = {};
@@ -1288,7 +1288,7 @@ var Kf = /* @__PURE__ */ an(((e, t) => {
1288
1288
  });
1289
1289
  })), ah = /* @__PURE__ */ an(((e, t) => {
1290
1290
  (function(n, a, o) {
1291
- typeof e == "object" ? t.exports = e = a(pn(), nh()) : typeof define == "function" && define.amd ? define(["./core", "./x64-core"], a) : a(n.CryptoJS);
1291
+ typeof e == "object" ? t.exports = e = a(gn(), nh()) : typeof define == "function" && define.amd ? define(["./core", "./x64-core"], a) : a(n.CryptoJS);
1292
1292
  })(e, function(n) {
1293
1293
  return (function() {
1294
1294
  var a = n, o = a.lib.Hasher, i = a.x64, r = i.Word, l = i.WordArray, c = a.algo;
@@ -1786,7 +1786,7 @@ var Ah = xe(Pc), Mh = /* @__PURE__ */ pe({
1786
1786
  setup(e) {
1787
1787
  const t = e, n = O(() => {
1788
1788
  if (!Array.isArray(t.list) && Object.keys(t.list).length > 0) return t.list;
1789
- const i = {}, r = xn(t.list), l = r.length;
1789
+ const i = {}, r = hn(t.list), l = r.length;
1790
1790
  for (let c = 0; c < l; c++) {
1791
1791
  const s = r[c];
1792
1792
  s.groupId = s.groupId || Nr(), i[s.groupId] = i[s.groupId] || [], i[s.groupId].push(s);
@@ -5609,7 +5609,7 @@ function zp() {
5609
5609
  var Dp = { class: "j-table-footer" }, $p = {
5610
5610
  key: 0,
5611
5611
  class: "j-table-pagination"
5612
- }, Fp = ["onClick"], yn = 40, Vp = /* @__PURE__ */ pe({
5612
+ }, Fp = ["onClick"], mn = 40, Vp = /* @__PURE__ */ pe({
5613
5613
  name: "JTable",
5614
5614
  __name: "table",
5615
5615
  props: {
@@ -5808,10 +5808,10 @@ var Dp = { class: "j-table-footer" }, $p = {
5808
5808
  const { Group: N, Text: Z } = Ye.CustomLayout, oe = o.actionsMaxCount, Y = D.filter((he) => he.config?.display !== !1), te = Y.length > oe, re = te ? Y.slice(0, oe - 1) : Y;
5809
5809
  let ge = 0;
5810
5810
  if (re.forEach((he, Ce) => {
5811
- const Te = bn(he.config?.label || he.label || "") || 0;
5811
+ const Te = wn(he.config?.label || he.label || "") || 0;
5812
5812
  ge += Te + (Ce === 0 ? 24 : 12);
5813
5813
  }), te) {
5814
- const he = (bn("更多") || 0) + 12;
5814
+ const he = (wn("更多") || 0) + 12;
5815
5815
  ge += he;
5816
5816
  }
5817
5817
  const fe = Math.max(80, ge) + "px";
@@ -5863,10 +5863,10 @@ var Dp = { class: "j-table-footer" }, $p = {
5863
5863
  data: Ae,
5864
5864
  openLayer: u
5865
5865
  });
5866
- }), cn.addEventListener("mouseenter", (gn) => {
5867
- Ne || (gn.target.setAttribute("fill", ae(zt, -20)), Ce.scenegraph.stage.renderNextFrame());
5868
- }), cn.addEventListener("mouseleave", (gn) => {
5869
- Ne || (gn.target.setAttribute("fill", zt), Ce.scenegraph.stage.renderNextFrame());
5866
+ }), cn.addEventListener("mouseenter", (vn) => {
5867
+ Ne || (vn.target.setAttribute("fill", ae(zt, -20)), Ce.scenegraph.stage.renderNextFrame());
5868
+ }), cn.addEventListener("mouseleave", (vn) => {
5869
+ Ne || (vn.target.setAttribute("fill", zt), Ce.scenegraph.stage.renderNextFrame());
5870
5870
  }), nt.add(cn);
5871
5871
  }), et && ut.length > 0) {
5872
5872
  const we = "#1677ff", pt = new Z({
@@ -5915,7 +5915,7 @@ var Dp = { class: "j-table-footer" }, $p = {
5915
5915
  textAlign: Me,
5916
5916
  textBaseline: "middle"
5917
5917
  }],
5918
- expectedHeight: yn
5918
+ expectedHeight: mn
5919
5919
  };
5920
5920
  }, Re = (D, N) => {
5921
5921
  const { dataValue: Z, rect: oe, table: Y, col: te, row: re } = D;
@@ -5932,7 +5932,7 @@ var Dp = { class: "j-table-footer" }, $p = {
5932
5932
  height: Me
5933
5933
  }), {
5934
5934
  elements: Te,
5935
- expectedHeight: yn
5935
+ expectedHeight: mn
5936
5936
  };
5937
5937
  }, je = (D, N) => {
5938
5938
  const { dataValue: Z, rect: oe } = D, Y = Number(Z) || 0, te = 5, re = 20, ge = 4, fe = 8, he = (oe.height - re) / 2, Ce = [], Te = Sa("mdi:star"), He = Sa("mdi:star-half-full"), Ae = Sa("mdi:star-outline"), Qe = "#f7ba2a", ze = "#e5e6eb";
@@ -5972,7 +5972,7 @@ var Dp = { class: "j-table-footer" }, $p = {
5972
5972
  }
5973
5973
  return {
5974
5974
  elements: Ce,
5975
- expectedHeight: yn
5975
+ expectedHeight: mn
5976
5976
  };
5977
5977
  }, Ie = (D, N) => {
5978
5978
  const { dataValue: Z, rect: oe, table: Y, col: te, row: re } = D, ge = Y.getBodyField(te, re), fe = dt(Y.options?.columns || [], ge), he = Y.getCellOriginRecord?.(te, re) || Y.getRecordByCell?.(te, re) || {}, Ce = N || Mn({
@@ -5981,14 +5981,14 @@ var Dp = { class: "j-table-footer" }, $p = {
5981
5981
  formData: r || {},
5982
5982
  getTableData: ht,
5983
5983
  row: he
5984
- }) || {}, Te = Number(Ce.min) || 0, He = Number(Ce.max) || 100, Ae = Number(Z) || 0, Qe = He - Te, ze = Qe === 0 ? 0 : Math.max(0, Math.min(100, (Ae - Te) / Qe * 100)), Me = 4, et = 8, tt = 8, ut = (oe.height - Me) / 2, nt = String(Ae), we = bn(nt) || 0, pt = et, Ne = ut, zt = oe.width - et * 2 - we - tt, cn = zt * ze / 100, gn = [], vn = (Wt, rt, At) => {
5984
+ }) || {}, Te = Number(Ce.min) || 0, He = Number(Ce.max) || 100, Ae = Number(Z) || 0, Qe = He - Te, ze = Qe === 0 ? 0 : Math.max(0, Math.min(100, (Ae - Te) / Qe * 100)), Me = 4, et = 8, tt = 8, ut = (oe.height - Me) / 2, nt = String(Ae), we = wn(nt) || 0, pt = et, Ne = ut, zt = oe.width - et * 2 - we - tt, cn = zt * ze / 100, vn = [], yn = (Wt, rt, At) => {
5985
5985
  const vt = Math.min(At, rt / 2, Wt / 2);
5986
5986
  return `M ${vt} 0 L ${Wt - vt} 0 Q ${Wt} 0 ${Wt} ${vt} L ${Wt} ${rt - vt} Q ${Wt} ${rt} ${Wt - vt} ${rt} L ${vt} ${rt} Q 0 ${rt} 0 ${rt - vt} L 0 ${vt} Q 0 0 ${vt} 0 Z`;
5987
5987
  }, lo = (Wt, rt, At) => {
5988
5988
  const vt = Math.min(At, rt / 2, Wt / 2);
5989
- return Wt <= vt * 2 ? vn(Wt, rt, At) : `M ${vt} 0 L ${Wt} 0 L ${Wt} ${rt} L ${vt} ${rt} Q 0 ${rt} 0 ${rt - vt} L 0 ${vt} Q 0 0 ${vt} 0 Z`;
5990
- }, Go = vn(zt, Me, Me / 2);
5991
- if (gn.push({
5989
+ return Wt <= vt * 2 ? yn(Wt, rt, At) : `M ${vt} 0 L ${Wt} 0 L ${Wt} ${rt} L ${vt} ${rt} Q 0 ${rt} 0 ${rt - vt} L 0 ${vt} Q 0 0 ${vt} 0 Z`;
5990
+ }, Go = yn(zt, Me, Me / 2);
5991
+ if (vn.push({
5992
5992
  type: "icon",
5993
5993
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${zt}" height="${Me}" viewBox="0 0 ${zt} ${Me}"><path d="${Go}" fill="#e5e6eb"/></svg>`,
5994
5994
  x: pt,
@@ -5997,7 +5997,7 @@ var Dp = { class: "j-table-footer" }, $p = {
5997
5997
  height: Me
5998
5998
  }), cn > 0) {
5999
5999
  const Wt = lo(cn, Me, Me / 2);
6000
- gn.push({
6000
+ vn.push({
6001
6001
  type: "icon",
6002
6002
  svg: `<svg xmlns="http://www.w3.org/2000/svg" width="${cn}" height="${Me}" viewBox="0 0 ${cn} ${Me}"><path d="${Wt}" fill="#165dff"/></svg>`,
6003
6003
  x: pt,
@@ -6007,7 +6007,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6007
6007
  });
6008
6008
  }
6009
6009
  const Ko = pt + zt + tt, Zi = oe.height / 2;
6010
- return gn.push({
6010
+ return vn.push({
6011
6011
  type: "text",
6012
6012
  text: nt,
6013
6013
  x: Ko,
@@ -6017,25 +6017,25 @@ var Dp = { class: "j-table-footer" }, $p = {
6017
6017
  textAlign: "left",
6018
6018
  textBaseline: "middle"
6019
6019
  }), {
6020
- elements: gn,
6021
- expectedHeight: yn
6020
+ elements: vn,
6021
+ expectedHeight: mn
6022
6022
  };
6023
6023
  }, Et = (D) => String(D).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;"), _t = (D, N) => {
6024
6024
  if (!D) return "";
6025
- if ((bn(D) || 0) <= N) return D;
6026
- const Z = "...", oe = bn(Z) || 0;
6025
+ if ((wn(D) || 0) <= N) return D;
6026
+ const Z = "...", oe = wn(Z) || 0;
6027
6027
  if (oe >= N) return "";
6028
6028
  let Y = 0, te = D.length;
6029
6029
  for (; Y < te; ) {
6030
6030
  const re = Math.ceil((Y + te) / 2);
6031
- (bn(D.slice(0, re)) || 0) + oe <= N ? Y = re : te = re - 1;
6031
+ (wn(D.slice(0, re)) || 0) + oe <= N ? Y = re : te = re - 1;
6032
6032
  }
6033
6033
  return D.slice(0, Y) + Z;
6034
6034
  }, qe = (D, N) => {
6035
6035
  const { value: Z, rect: oe, table: Y, col: te, row: re } = D;
6036
6036
  if (!Z) return {
6037
6037
  elements: [],
6038
- expectedHeight: yn
6038
+ expectedHeight: mn
6039
6039
  };
6040
6040
  const ge = Y.getBodyField(te, re), fe = dt(Y.options?.columns || [], ge), he = Y.getCellOriginRecord?.(te, re) || Y.getRecordByCell?.(te, re) || {}, Ce = N || Mn({
6041
6041
  config: fe?._compConfig,
@@ -6047,7 +6047,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6047
6047
  let ze = String(Z).trim();
6048
6048
  if (!ze) return {
6049
6049
  elements: [],
6050
- expectedHeight: yn
6050
+ expectedHeight: mn
6051
6051
  };
6052
6052
  if (ze.startsWith("<svg")) {
6053
6053
  const Me = ze.match(/<svg\b([^>]*)>([\s\S]*?)<\/svg>/i);
@@ -6076,7 +6076,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6076
6076
  width: Te,
6077
6077
  height: Te
6078
6078
  }],
6079
- expectedHeight: Math.max(yn, Te)
6079
+ expectedHeight: Math.max(mn, Te)
6080
6080
  };
6081
6081
  }, Yt = (D, N) => {
6082
6082
  const { dataValue: Z, rect: oe, table: Y, col: te, row: re, value: ge } = D, fe = Y.getBodyField(te, re), he = dt(Y.options?.columns || [], fe), Ce = Y.getCellOriginRecord?.(te, re) || Y.getRecordByCell?.(te, re) || {}, Te = N || Mn({
@@ -6092,15 +6092,15 @@ var Dp = { class: "j-table-footer" }, $p = {
6092
6092
  });
6093
6093
  if (Ae.length === 0) return {
6094
6094
  elements: [],
6095
- expectedHeight: yn
6095
+ expectedHeight: mn
6096
6096
  };
6097
6097
  const Qe = 14, ze = 28, Me = 2, et = 12, tt = 8, ut = 6;
6098
6098
  let nt = 8, we = Math.max(0, oe.width - nt * 2), pt = Math.max(0, we - et * 2);
6099
6099
  const Ne = [], zt = (rt) => {
6100
- const At = bn(_t(rt, pt)) || 0;
6100
+ const At = wn(_t(rt, pt)) || 0;
6101
6101
  return Math.min(we, At + et * 2);
6102
6102
  }, cn = (rt, At, vt, Rn, En) => {
6103
- const ma = _t(vt, pt), ba = Et(ma), qo = bn(ma) || 0, Da = Math.min(we, qo + et * 2), xd = Rn || "#f2f3f5", Cd = En || "#1d2129", Sd = ze / 2 + Qe * 0.35, kd = `<svg xmlns="http://www.w3.org/2000/svg" width="${Da}" height="${ze}" viewBox="0 0 ${Da} ${ze}"><rect x="0" y="0" width="${Da}" height="${ze}" rx="${Me}" ry="${Me}" fill="${xd}"/><text x="${Da / 2}" y="${Sd}" text-anchor="middle" font-size="${Qe}" fill="${Cd}">${ba}</text></svg>`;
6103
+ const ma = _t(vt, pt), ba = Et(ma), qo = wn(ma) || 0, Da = Math.min(we, qo + et * 2), xd = Rn || "#f2f3f5", Cd = En || "#1d2129", Sd = ze / 2 + Qe * 0.35, kd = `<svg xmlns="http://www.w3.org/2000/svg" width="${Da}" height="${ze}" viewBox="0 0 ${Da} ${ze}"><rect x="0" y="0" width="${Da}" height="${ze}" rx="${Me}" ry="${Me}" fill="${xd}"/><text x="${Da / 2}" y="${Sd}" text-anchor="middle" font-size="${Qe}" fill="${Cd}">${ba}</text></svg>`;
6104
6104
  return Ne.push({
6105
6105
  type: "icon",
6106
6106
  svg: kd,
@@ -6109,7 +6109,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6109
6109
  width: Da,
6110
6110
  height: ze
6111
6111
  }), { tagWidth: Da };
6112
- }, gn = () => {
6112
+ }, vn = () => {
6113
6113
  const rt = [];
6114
6114
  let At = [], vt = 0;
6115
6115
  for (let Rn = 0; Rn < Ae.length; Rn++) {
@@ -6132,24 +6132,24 @@ var Dp = { class: "j-table-footer" }, $p = {
6132
6132
  needsWrap: rt.length > 1
6133
6133
  };
6134
6134
  };
6135
- let { lines: vn, needsWrap: lo } = gn();
6136
- nt !== 0 && lo && (nt = 0, we = Math.max(0, oe.width - nt * 2), pt = Math.max(0, we - et * 2), { lines: vn, needsWrap: lo } = gn());
6137
- const Go = vn.length * ze + (vn.length > 1 ? (vn.length - 1) * ut : 0);
6135
+ let { lines: yn, needsWrap: lo } = vn();
6136
+ nt !== 0 && lo && (nt = 0, we = Math.max(0, oe.width - nt * 2), pt = Math.max(0, we - et * 2), { lines: yn, needsWrap: lo } = vn());
6137
+ const Go = yn.length * ze + (yn.length > 1 ? (yn.length - 1) * ut : 0);
6138
6138
  let Ko = Math.max(0, (oe.height - Go) / 2);
6139
6139
  const Zi = lo;
6140
- for (let rt = 0; rt < vn.length; rt++) {
6141
- const At = vn[rt];
6140
+ for (let rt = 0; rt < yn.length; rt++) {
6141
+ const At = yn[rt];
6142
6142
  let vt = Zi ? nt : He === "center" ? nt + Math.max(0, (we - At.lineWidth) / 2) : He === "right" ? nt + Math.max(0, we - At.lineWidth) : nt;
6143
6143
  for (let Rn = 0; Rn < At.items.length; Rn++) {
6144
6144
  const En = At.items[Rn], { tagWidth: ma } = cn(vt, Ko, En.label, En.bg, En.text);
6145
6145
  vt += ma + (Rn < At.items.length - 1 ? tt : 0);
6146
6146
  }
6147
- Ko += ze + (rt < vn.length - 1 ? ut : 0);
6147
+ Ko += ze + (rt < yn.length - 1 ? ut : 0);
6148
6148
  }
6149
- const Wt = Math.min(oe.width, Math.max(0, ...vn.map((rt) => rt.lineWidth)) + nt * 2);
6149
+ const Wt = Math.min(oe.width, Math.max(0, ...yn.map((rt) => rt.lineWidth)) + nt * 2);
6150
6150
  return {
6151
6151
  elements: Ne,
6152
- expectedHeight: Math.max(yn, Go),
6152
+ expectedHeight: Math.max(mn, Go),
6153
6153
  expectedWidth: Wt
6154
6154
  };
6155
6155
  }, ln = (D) => {
@@ -6304,7 +6304,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6304
6304
  const { table: N, col: Z, row: oe } = D, Y = N.getBodyField(Z, oe), te = dt(N.options?.columns || [], Y);
6305
6305
  if (!te) return {
6306
6306
  elements: [],
6307
- expectedHeight: yn
6307
+ expectedHeight: mn
6308
6308
  };
6309
6309
  const re = N.getCellOriginRecord?.(Z, oe) || N.getRecordByCell?.(Z, oe) || {}, ge = Mn({
6310
6310
  config: te._compConfig,
@@ -6332,7 +6332,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6332
6332
  }[fe] || ne;
6333
6333
  return he ? he(D, ge) : {
6334
6334
  elements: [],
6335
- expectedHeight: yn
6335
+ expectedHeight: mn
6336
6336
  };
6337
6337
  }, Cn = (D, N, Z, oe) => {
6338
6338
  const Y = oe.getBodyField(N, Z), te = dt(oe.options?.columns || [], Y);
@@ -6390,7 +6390,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6390
6390
  }, ie = () => {
6391
6391
  let D = R;
6392
6392
  o.isPage && (D = It.value + R);
6393
- let N = bn(String(D)) || 0;
6393
+ let N = wn(String(D)) || 0;
6394
6394
  return o.subColumns && o.subColumns.length > 0 && (N = N + 32), Math.max(45, N + 18);
6395
6395
  }, ve = (D) => {
6396
6396
  let N = (Z, oe, Y, te) => {
@@ -6756,7 +6756,7 @@ var Dp = { class: "j-table-footer" }, $p = {
6756
6756
  const D = {};
6757
6757
  D._i = ta(), md.value.forEach((N) => {
6758
6758
  const Z = N.config?.valueRowKey || N.id || "";
6759
- Z && (D[Z] = xn(N.config?.defaultValue));
6759
+ Z && (D[Z] = hn(N.config?.defaultValue));
6760
6760
  }), v && (v.addRecord(D), o.heightMode === "auto" && Xe(), v.scrollToCell({
6761
6761
  col: 0,
6762
6762
  row: v.records.length
@@ -9719,7 +9719,7 @@ var Dp = { class: "j-table-footer" }, $p = {
9719
9719
  }, b = () => {
9720
9720
  s.cells = [], s.cursor = 0;
9721
9721
  }, x = () => {
9722
- s.cells = xn(d.value), s.cursor = s.cells.length, l.value = !0;
9722
+ s.cells = hn(d.value), s.cursor = s.cells.length, l.value = !0;
9723
9723
  }, m = () => {
9724
9724
  d.value = s.cells, l.value = !1;
9725
9725
  }, v = () => {
@@ -11168,7 +11168,7 @@ var Dp = { class: "j-table-footer" }, $p = {
11168
11168
  const b = n.menuList.length;
11169
11169
  return n.menuList.forEach((x) => {
11170
11170
  g++;
11171
- const m = (bn(x.label) || 0) + 32 + 16 + 4 + 8;
11171
+ const m = (wn(x.label) || 0) + 32 + 16 + 4 + 8;
11172
11172
  p += m, (g === b && p <= l.value || g < b && p + 56 <= l.value) && h.push(x);
11173
11173
  }), h.length < n.menuList.length && h.push({
11174
11174
  value: "moreId",
@@ -12250,7 +12250,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12250
12250
  if (Be <= 0) return ke;
12251
12251
  const yt = Math.max(0, Be - 4), ht = (Xe, Tt) => Xe.groupId || `__auto_${Tt}`, _e = (Xe) => {
12252
12252
  if (Xe.config?.notLabel === !0 || !Xe.label) return 28;
12253
- const Tt = 24, Qt = bn(Xe.label || "") || 0, en = Xe.config?.icon ? 18 : 0;
12253
+ const Tt = 24, Qt = wn(Xe.label || "") || 0, en = Xe.config?.icon ? 18 : 0;
12254
12254
  return Math.ceil(Qt + Tt + en + 2);
12255
12255
  };
12256
12256
  if (((Xe) => {
@@ -12829,7 +12829,7 @@ var Dp = { class: "j-table-footer" }, $p = {
12829
12829
  }, _ = (H, j, E, F) => {
12830
12830
  o("node-drop", H, j, E, F);
12831
12831
  }, C = (H) => {
12832
- const j = xn(a.treeButtons);
12832
+ const j = hn(a.treeButtons);
12833
12833
  return H && a.filterButton ? a.filterButton({
12834
12834
  buttons: j,
12835
12835
  node: H
@@ -13196,7 +13196,7 @@ var $c = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13196
13196
  }, W = async (K, ce) => {
13197
13197
  b.value = !1;
13198
13198
  const ae = !!ce;
13199
- C.splice(0, C.length), T = {}, A = {}, P = [], F = ce, _o(y), _o(R), ae && X(ce, ""), ye(K, C, ae), z = xn(y), await Dt(), b.value = !0, await Dt(), a.config?.codeInit && await Vt(JSON.parse(a.config?.codeInit), { param: {} });
13199
+ C.splice(0, C.length), T = {}, A = {}, P = [], F = ce, _o(y), _o(R), ae && X(ce, ""), ye(K, C, ae), z = hn(y), await Dt(), b.value = !0, await Dt(), a.config?.codeInit && await Vt(JSON.parse(a.config?.codeInit), { param: {} });
13200
13200
  }, G = (K, ce, ae) => {
13201
13201
  const ie = [];
13202
13202
  return ce.forEach((ve) => {
@@ -13767,7 +13767,7 @@ var $c = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13767
13767
  const y = { _i: ta() };
13768
13768
  a.columns.forEach((_) => {
13769
13769
  const C = _.config?.valueRowKey || _.id || "";
13770
- C && (y[C] = xn(_.config?.defaultValue));
13770
+ _.type === "j-layer-form" ? _.config?.defaultValue && Object.prototype.toString.call(_.config.defaultValue) === "[object Object]" && Object.assign(y, hn(_.config?.defaultValue)) : C && (y[C] = hn(_.config?.defaultValue));
13771
13771
  }), g.value.push(y), o("change", {
13772
13772
  id: a.id,
13773
13773
  value: y,
@@ -16834,45 +16834,45 @@ function jw(e, t, n) {
16834
16834
  }
16835
16835
  });
16836
16836
  }
16837
- function hn(e, t) {
16838
- if (!(this instanceof hn)) return new hn(e, t);
16837
+ function pn(e, t) {
16838
+ if (!(this instanceof pn)) return new pn(e, t);
16839
16839
  e.inverse = t, t.inverse = e, this.props = {}, this.props[e.name] = e, this.props[t.name] = t;
16840
16840
  }
16841
- hn.prototype.bind = function(e, t) {
16841
+ pn.prototype.bind = function(e, t) {
16842
16842
  if (typeof t == "string") {
16843
16843
  if (!this.props[t]) throw new Error("no property <" + t + "> in ref");
16844
16844
  t = this.props[t];
16845
16845
  }
16846
16846
  t.collection ? vu(this, t, e) : jw(this, t, e);
16847
16847
  };
16848
- hn.prototype.ensureRefsCollection = function(e, t) {
16848
+ pn.prototype.ensureRefsCollection = function(e, t) {
16849
16849
  var n = e[t.name];
16850
16850
  return Aw(n) || vu(this, t, e), n;
16851
16851
  };
16852
- hn.prototype.ensureBound = function(e, t) {
16852
+ pn.prototype.ensureBound = function(e, t) {
16853
16853
  Mw(e, t) || this.bind(e, t);
16854
16854
  };
16855
- hn.prototype.unset = function(e, t, n) {
16855
+ pn.prototype.unset = function(e, t, n) {
16856
16856
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).remove(n) : e[t.name] = void 0);
16857
16857
  };
16858
- hn.prototype.set = function(e, t, n) {
16858
+ pn.prototype.set = function(e, t, n) {
16859
16859
  e && (this.ensureBound(e, t), t.collection ? this.ensureRefsCollection(e, t).add(n) : e[t.name] = n);
16860
16860
  };
16861
- var rl = new hn({
16861
+ var rl = new pn({
16862
16862
  name: "children",
16863
16863
  enumerable: !0,
16864
16864
  collection: !0
16865
- }, { name: "parent" }), yu = new hn({
16865
+ }, { name: "parent" }), yu = new pn({
16866
16866
  name: "labels",
16867
16867
  enumerable: !0,
16868
16868
  collection: !0
16869
- }, { name: "labelTarget" }), _s = new hn({
16869
+ }, { name: "labelTarget" }), _s = new pn({
16870
16870
  name: "attachers",
16871
16871
  collection: !0
16872
- }, { name: "host" }), mu = new hn({
16872
+ }, { name: "host" }), mu = new pn({
16873
16873
  name: "outgoing",
16874
16874
  collection: !0
16875
- }, { name: "source" }), bu = new hn({
16875
+ }, { name: "source" }), bu = new pn({
16876
16876
  name: "incoming",
16877
16877
  collection: !0
16878
16878
  }, { name: "target" });
@@ -17003,7 +17003,7 @@ Di.prototype.preExecute = function(e) {
17003
17003
  x: 0,
17004
17004
  y: 0
17005
17005
  };
17006
- wn(a.left) ? i.x = a.left - o.x : wn(a.right) ? i.x = a.right - o.width - o.x : wn(a.center) ? i.x = a.center - Math.round(o.width / 2) - o.x : wn(a.top) ? i.y = a.top - o.y : wn(a.bottom) ? i.y = a.bottom - o.height - o.y : wn(a.middle) && (i.y = a.middle - Math.round(o.height / 2) - o.y), t.moveElements([o], i, o.parent);
17006
+ _n(a.left) ? i.x = a.left - o.x : _n(a.right) ? i.x = a.right - o.width - o.x : _n(a.center) ? i.x = a.center - Math.round(o.width / 2) - o.x : _n(a.top) ? i.y = a.top - o.y : _n(a.bottom) ? i.y = a.bottom - o.height - o.y : _n(a.middle) && (i.y = a.middle - Math.round(o.height / 2) - o.y), t.moveElements([o], i, o.parent);
17007
17007
  });
17008
17008
  };
17009
17009
  Di.prototype.postExecute = function(e) {
@@ -18426,7 +18426,7 @@ function m_(e) {
18426
18426
  function li(e, t) {
18427
18427
  return e.businessObject.strokeWidth || t || 1;
18428
18428
  }
18429
- function mn(e, t) {
18429
+ function bn(e, t) {
18430
18430
  return e.businessObject.fillColor || t || "var(--j-color-bg-container)";
18431
18431
  }
18432
18432
  function kt(e, t) {
@@ -18890,7 +18890,7 @@ function Ia(e, t, n, a, o, i, r) {
18890
18890
  },
18891
18891
  startEvent(j, E) {
18892
18892
  const F = {
18893
- fill: mn(E, s.startEvent?.fill || E.fill),
18893
+ fill: bn(E, s.startEvent?.fill || E.fill),
18894
18894
  stroke: kt(E, s.startEvent?.stroke || E.stroke),
18895
18895
  strokeWidth: li(E, s.startEvent?.strokeWidth || E.strokeWidth)
18896
18896
  }, X = f("event")(j, E, F);
@@ -18899,7 +18899,7 @@ function Ia(e, t, n, a, o, i, r) {
18899
18899
  endEvent(j, E) {
18900
18900
  const F = f("event")(j, E, {
18901
18901
  strokeWidth: li(E, s.endEvent?.strokeWidth || E.strokeWidth || 4),
18902
- fill: mn(E, s.endEvent?.fill || E.fill),
18902
+ fill: bn(E, s.endEvent?.fill || E.fill),
18903
18903
  stroke: kt(E, s.endEvent?.stroke || E.stroke)
18904
18904
  });
18905
18905
  return z(j, E, 18, 18), F;
@@ -18908,7 +18908,7 @@ function Ia(e, t, n, a, o, i, r) {
18908
18908
  const F = {
18909
18909
  fillOpacity: ir,
18910
18910
  strokeWidth: li(E, s[E.type]?.strokeWidth || E.strokeWidth || 4),
18911
- fill: mn(E, s[E.type]?.fill || E.fill),
18911
+ fill: bn(E, s[E.type]?.fill || E.fill),
18912
18912
  stroke: kt(E, s[E.type]?.stroke || E.stroke)
18913
18913
  };
18914
18914
  return v(j, E.width, E.height, F);
@@ -18960,7 +18960,7 @@ function Ia(e, t, n, a, o, i, r) {
18960
18960
  },
18961
18961
  task(j, E) {
18962
18962
  const F = {
18963
- fill: mn(E, l),
18963
+ fill: bn(E, l),
18964
18964
  stroke: kt(E, c)
18965
18965
  }, X = f("activity")(j, E, F);
18966
18966
  return y(j, E, "center-middle"), C(j, E), X;
@@ -18972,14 +18972,14 @@ function Ia(e, t, n, a, o, i, r) {
18972
18972
  y: se
18973
18973
  } }), {
18974
18974
  strokeWidth: 0.5,
18975
- fill: mn(E, l),
18975
+ fill: bn(E, l),
18976
18976
  stroke: kt(E, c)
18977
18977
  }), m(j, n.getScaledPath("TASK_TYPE_USER_2", { abspos: {
18978
18978
  x: X,
18979
18979
  y: se
18980
18980
  } }), {
18981
18981
  strokeWidth: 0.5,
18982
- fill: mn(E, l),
18982
+ fill: bn(E, l),
18983
18983
  stroke: kt(E, c)
18984
18984
  }), m(j, n.getScaledPath("TASK_TYPE_USER_3", { abspos: {
18985
18985
  x: X,
@@ -19003,7 +19003,7 @@ function Ia(e, t, n, a, o, i, r) {
19003
19003
  SubProcessMarker(j, E) {
19004
19004
  Bn(x(j, 14, 14, 0, {
19005
19005
  strokeWidth: 1,
19006
- fill: mn(E, l),
19006
+ fill: bn(E, l),
19007
19007
  stroke: kt(E, c)
19008
19008
  }), E.width / 2 - 7.5, E.height - 20), w("sub-process", j, n.getScaledPath("MARKER_SUB_PROCESS", {
19009
19009
  xScaleFactor: 1.5,
@@ -19015,13 +19015,13 @@ function Ia(e, t, n, a, o, i, r) {
19015
19015
  my: (E.height - 20) / E.height
19016
19016
  }
19017
19017
  }), {
19018
- fill: mn(E, l),
19018
+ fill: bn(E, l),
19019
19019
  stroke: kt(E, c)
19020
19020
  });
19021
19021
  },
19022
19022
  subprocess(j, E, F) {
19023
19023
  F = Ct({
19024
- fill: mn(E, l),
19024
+ fill: bn(E, l),
19025
19025
  stroke: kt(E, c)
19026
19026
  }, F);
19027
19027
  const X = f("activity")(j, E, F);
@@ -19031,7 +19031,7 @@ function Ia(e, t, n, a, o, i, r) {
19031
19031
  return _(j, E);
19032
19032
  },
19033
19033
  myline(j, E) {
19034
- const F = mn(E, i.lineStroke || l), X = kt(E, i.lineStroke || c);
19034
+ const F = bn(E, i.lineStroke || l), X = kt(E, i.lineStroke || c);
19035
19035
  return g(j, E.waypoints, {
19036
19036
  markerEnd: A(j, "sequenceflow-end", F, X),
19037
19037
  stroke: X
@@ -19040,7 +19040,7 @@ function Ia(e, t, n, a, o, i, r) {
19040
19040
  default(j, E) {
19041
19041
  const F = {
19042
19042
  strokeWidth: li(E, s[E.type]?.strokeWidth || E.strokeWidth || 1),
19043
- fill: mn(E, s[E.type]?.fill || E.fill),
19043
+ fill: bn(E, s[E.type]?.fill || E.fill),
19044
19044
  stroke: kt(E, s[E.type]?.stroke || E.stroke)
19045
19045
  }, X = x(j, E.width, E.height, E.radius || Tr, F);
19046
19046
  return y(j, E, "center-middle"), C(j, E), z(j, E, E.iconX, E.iconY), X;
@@ -20459,7 +20459,7 @@ Ft.prototype._updateOverlayContainer = function(e) {
20459
20459
  var i = Hn(t);
20460
20460
  a = i.x, o = i.y;
20461
20461
  }
20462
- nd(n, a, o), _n(e.html, "data-container-id", t.id);
20462
+ nd(n, a, o), xn(e.html, "data-container-id", t.id);
20463
20463
  };
20464
20464
  Ft.prototype._updateOverlay = function(e) {
20465
20465
  var t = e.position, n = e.htmlContainer, a = e.element, o = t.left, i = t.top;
@@ -20508,11 +20508,11 @@ Ft.prototype._addOverlay = function(e) {
20508
20508
  };
20509
20509
  Ft.prototype._updateOverlayVisibilty = function(e, t) {
20510
20510
  var n = e.show, a = this._canvas.findRoot(e.element), o = n && n.minZoom, i = n && n.maxZoom, r = e.htmlContainer, l = this._canvas.getRootElement(), c = !0;
20511
- (a !== l || n && (wn(o) && o > t.scale || wn(i) && i < t.scale)) && (c = !1), qi(r, c), this._updateOverlayScale(e, t);
20511
+ (a !== l || n && (_n(o) && o > t.scale || _n(i) && i < t.scale)) && (c = !1), qi(r, c), this._updateOverlayScale(e, t);
20512
20512
  };
20513
20513
  Ft.prototype._updateOverlayScale = function(e, t) {
20514
20514
  var n = e.scale, a, o, i = e.htmlContainer, r, l = "";
20515
- n !== !0 && (n === !1 ? (a = 1, o = 1) : (a = n.min, o = n.max), wn(a) && t.scale < a && (r = (1 / t.scale || 1) * a), wn(o) && t.scale > o && (r = (1 / t.scale || 1) * o)), wn(r) && (l = "scale(" + r + "," + r + ")"), ad(i, l);
20515
+ n !== !0 && (n === !1 ? (a = 1, o = 1) : (a = n.min, o = n.max), _n(a) && t.scale < a && (r = (1 / t.scale || 1) * a), _n(o) && t.scale > o && (r = (1 / t.scale || 1) * o)), _n(r) && (l = "scale(" + r + "," + r + ")"), ad(i, l);
20516
20516
  };
20517
20517
  Ft.prototype._updateOverlaysVisibilty = function(e) {
20518
20518
  var t = this;
@@ -20687,7 +20687,7 @@ Bt.prototype.getEntries = function(e) {
20687
20687
  Bt.prototype.trigger = function(e, t, n) {
20688
20688
  var a = this, o, i, r = t.delegateTarget || t.target;
20689
20689
  if (!r) return t.preventDefault();
20690
- if (o = _n(r, "data-action"), i = t.originalEvent || t, e === "mouseover") {
20690
+ if (o = xn(r, "data-action"), i = t.originalEvent || t, e === "mouseover") {
20691
20691
  this._timeout = setTimeout(function() {
20692
20692
  a._mouseout = a.triggerEntry(o, "hover", i, n);
20693
20693
  }, jx);
@@ -20729,7 +20729,7 @@ Bt.prototype._updateAndOpen = function(e) {
20729
20729
  var t = this.getEntries(e), n = this._createHtml(e), a;
20730
20730
  de(t, function(o, i) {
20731
20731
  var r = o.group || "default", l = rn(o.html || '<div class="entry" draggable="true"></div>'), c;
20732
- _n(l, "data-action", i), c = Kt("[data-group=" + xl(r) + "]", n), c || (c = rn('<div class="group"></div>'), _n(c, "data-group", r), n.appendChild(c)), c.appendChild(l), o.className && Px(l, o.className), o.title && _n(l, "title", o.title), o.imageUrl && (a = rn("<img>"), _n(a, "src", o.imageUrl), a.style.width = "100%", a.style.height = "100%", l.appendChild(a));
20732
+ xn(l, "data-action", i), c = Kt("[data-group=" + xl(r) + "]", n), c || (c = rn('<div class="group"></div>'), xn(c, "data-group", r), n.appendChild(c)), c.appendChild(l), o.className && Px(l, o.className), o.title && xn(l, "title", o.title), o.imageUrl && (a = rn("<img>"), xn(a, "src", o.imageUrl), a.style.width = "100%", a.style.height = "100%", l.appendChild(a));
20733
20733
  }), nn(n).add("open"), this._current = {
20734
20734
  entries: t,
20735
20735
  html: n,
@@ -21518,17 +21518,17 @@ Pt.prototype._update = function() {
21518
21518
  var e = Kt(".djs-palette-entries", this._container), t = this._entries = this.getEntries();
21519
21519
  gc(e), de(t, function(n, a) {
21520
21520
  var o = n.group || "default", i = Kt("[data-group=" + xl(o) + "]", e);
21521
- i || (i = rn('<div class="group"></div>'), _n(i, "data-group", o), e.appendChild(i));
21521
+ i || (i = rn('<div class="group"></div>'), xn(i, "data-group", o), e.appendChild(i));
21522
21522
  var r = rn(n.html || (n.separator ? '<hr class="separator" />' : '<div class="entry" draggable="true"></div>'));
21523
- if (i.appendChild(r), !n.separator && (_n(r, "data-action", a), n.title && _n(r, "title", n.title), n.className && aC(r, n.className), n.imageUrl)) {
21523
+ if (i.appendChild(r), !n.separator && (xn(r, "data-action", a), n.title && xn(r, "title", n.title), n.className && aC(r, n.className), n.imageUrl)) {
21524
21524
  var l = rn("<img>");
21525
- _n(l, "src", n.imageUrl), r.appendChild(l);
21525
+ xn(l, "src", n.imageUrl), r.appendChild(l);
21526
21526
  }
21527
21527
  }), this.open();
21528
21528
  };
21529
21529
  Pt.prototype.trigger = function(e, t, n) {
21530
21530
  var a, o, i = t.delegateTarget || t.target;
21531
- return i ? (a = _n(i, "data-action"), o = t.originalEvent || t, this.triggerEntry(a, e, o, n)) : t.preventDefault();
21531
+ return i ? (a = xn(i, "data-action"), o = t.originalEvent || t, this.triggerEntry(a, e, o, n)) : t.preventDefault();
21532
21532
  };
21533
21533
  Pt.prototype.triggerEntry = function(e, t, n, a) {
21534
21534
  var o = this._entries[e], i;
@@ -22813,7 +22813,7 @@ var QC = {
22813
22813
  const y = { _i: ta() };
22814
22814
  a.columns.forEach((_) => {
22815
22815
  const C = _.config?.valueRowKey || _.id || "";
22816
- C && (y[C] = xn(_.config?.defaultValue));
22816
+ C && (y[C] = hn(_.config?.defaultValue));
22817
22817
  }), h.value.push(y), o("change", {
22818
22818
  id: a.id,
22819
22819
  value: y,
@@ -23079,7 +23079,7 @@ export {
23079
23079
  ta as buildUUID,
23080
23080
  _o as clearJson,
23081
23081
  wi as clone,
23082
- xn as deepClone,
23082
+ hn as deepClone,
23083
23083
  Q1 as default,
23084
23084
  q1 as eventBus,
23085
23085
  Zo as formatToDate,
@@ -23092,7 +23092,7 @@ export {
23092
23092
  Wf as getIsTableInputComp,
23093
23093
  Uf as getLabel,
23094
23094
  If as getObjType,
23095
- bn as getTextWidth,
23095
+ wn as getTextWidth,
23096
23096
  Mf as is,
23097
23097
  yr as isArray,
23098
23098
  Xt as isNullOrEmpty,