@sme.up/ketchup2 2.0.0-SNAPSHOT-20250814151034 → 2.0.0-SNAPSHOT-20250814151858

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,7 +1,7 @@
1
- import * as nt from "react";
2
- import mt, { useState as H, useEffect as re, useRef as ue, useCallback as oe, useLayoutEffect as wn, useId as ke, useMemo as Xe, createElement as Sn } from "react";
1
+ import * as st from "react";
2
+ import mt, { useState as H, useEffect as re, useRef as ue, useCallback as oe, useLayoutEffect as wn, useId as ke, useMemo as Qe, createElement as Sn } from "react";
3
3
  import { createPortal as En } from "react-dom";
4
- var st = { exports: {} }, qe = {};
4
+ var ot = { exports: {} }, qe = {};
5
5
  /**
6
6
  * @license React
7
7
  * react-jsx-runtime.production.js
@@ -278,7 +278,7 @@ React keys must be passed directly to JSX without using spread:
278
278
  }
279
279
  var lr;
280
280
  function _n() {
281
- return lr || (lr = 1, process.env.NODE_ENV === "production" ? st.exports = Cn() : st.exports = Tn()), st.exports;
281
+ return lr || (lr = 1, process.env.NODE_ENV === "production" ? ot.exports = Cn() : ot.exports = Tn()), ot.exports;
282
282
  }
283
283
  var p = _n();
284
284
  function jn(t, e) {
@@ -312,7 +312,7 @@ function _t(t, e, r) {
312
312
  (o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
313
313
  return t.concat(o || Array.prototype.slice.call(e));
314
314
  }
315
- var ot = {};
315
+ var at = {};
316
316
  /*!
317
317
  * content-type
318
318
  * Copyright(c) 2015 Douglas Christopher Wilson
@@ -320,10 +320,10 @@ var ot = {};
320
320
  */
321
321
  var cr;
322
322
  function Rn() {
323
- if (cr) return ot;
323
+ if (cr) return at;
324
324
  cr = 1;
325
325
  var t = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, e = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, r = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, n = /\\([\u000b\u0020-\u00ff])/g, s = /([\\"])/g, o = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
326
- ot.format = a, ot.parse = i;
326
+ at.format = a, at.parse = i;
327
327
  function a(u) {
328
328
  if (!u || typeof u != "object")
329
329
  throw new TypeError("argument obj is required");
@@ -378,7 +378,7 @@ function Rn() {
378
378
  function d(u) {
379
379
  this.parameters = /* @__PURE__ */ Object.create(null), this.type = u;
380
380
  }
381
- return ot;
381
+ return at;
382
382
  }
383
383
  var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Zr = function(e) {
384
384
  return e.cloneNode(!0);
@@ -546,7 +546,7 @@ var Dn = Rn(), Be = /* @__PURE__ */ new Map(), Zr = function(e) {
546
546
  else e ? pr(e, g, v, u, b, c, function(y, R) {
547
547
  i(y, R), o(1), e = null;
548
548
  }) : o(0);
549
- }, at = { exports: {} }, it = { exports: {} }, ne = {};
549
+ }, it = { exports: {} }, lt = { exports: {} }, ne = {};
550
550
  /** @license React v16.13.1
551
551
  * react-is.production.min.js
552
552
  *
@@ -715,7 +715,7 @@ function Mn() {
715
715
  }
716
716
  var gr;
717
717
  function tn() {
718
- return gr || (gr = 1, process.env.NODE_ENV === "production" ? it.exports = Fn() : it.exports = Mn()), it.exports;
718
+ return gr || (gr = 1, process.env.NODE_ENV === "production" ? lt.exports = Fn() : lt.exports = Mn()), lt.exports;
719
719
  }
720
720
  /*
721
721
  object-assign
@@ -1199,13 +1199,13 @@ function Wn() {
1199
1199
  }
1200
1200
  var Er;
1201
1201
  function Yn() {
1202
- if (Er) return at.exports;
1202
+ if (Er) return it.exports;
1203
1203
  if (Er = 1, process.env.NODE_ENV !== "production") {
1204
1204
  var t = tn(), e = !0;
1205
- at.exports = /* @__PURE__ */ Bn()(t.isElement, e);
1205
+ it.exports = /* @__PURE__ */ Bn()(t.isElement, e);
1206
1206
  } else
1207
- at.exports = /* @__PURE__ */ Wn()();
1208
- return at.exports;
1207
+ it.exports = /* @__PURE__ */ Wn()();
1208
+ return it.exports;
1209
1209
  }
1210
1210
  var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1211
1211
  var r = e?.ownerDocument || document;
@@ -1218,7 +1218,7 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1218
1218
  if (e[s] !== r[s])
1219
1219
  return !0;
1220
1220
  return !1;
1221
- }, Hn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], lt = "http://www.w3.org/2000/svg", Cr = "http://www.w3.org/1999/xlink", Jt = /* @__PURE__ */ function(t) {
1221
+ }, Hn = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], ct = "http://www.w3.org/2000/svg", Cr = "http://www.w3.org/1999/xlink", Jt = /* @__PURE__ */ function(t) {
1222
1222
  function e() {
1223
1223
  for (var n, s = arguments.length, o = new Array(s), a = 0; a < s; a++)
1224
1224
  o[a] = arguments[a];
@@ -1235,7 +1235,7 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1235
1235
  var s = this;
1236
1236
  if (this.reactWrapper instanceof Gn(this.reactWrapper).Node) {
1237
1237
  var o = this.props, a = o.desc, i = o.evalScripts, l = o.httpRequestWithCredentials, c = o.renumerateIRIElements, d = o.src, u = o.title, f = o.useRequestCache, g = this.props.onError, h = this.props.beforeInjection, b = this.props.afterInjection, w = this.props.wrapper, v, _;
1238
- w === "svg" ? (v = document.createElementNS(lt, w), v.setAttribute("xmlns", lt), v.setAttribute("xmlns:xlink", Cr), _ = document.createElementNS(lt, w)) : (v = document.createElement(w), _ = document.createElement(w)), v.appendChild(_), _.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(v);
1238
+ w === "svg" ? (v = document.createElementNS(ct, w), v.setAttribute("xmlns", ct), v.setAttribute("xmlns:xlink", Cr), _ = document.createElementNS(ct, w)) : (v = document.createElement(w), _ = document.createElement(w)), v.appendChild(_), _.dataset.src = d, this.nonReactWrapper = this.reactWrapper.appendChild(v);
1239
1239
  var x = function(O) {
1240
1240
  if (s.removeSVG(), !s._isMounted) {
1241
1241
  g(O);
@@ -1315,14 +1315,14 @@ var pe = /* @__PURE__ */ Yn(), Gn = function(e) {
1315
1315
  var a = s.loading;
1316
1316
  s.renumerateIRIElements, s.src, s.title, s.useRequestCache;
1317
1317
  var i = s.wrapper, l = jn(s, Hn), c = i;
1318
- return /* @__PURE__ */ nt.createElement(c, gt({}, l, {
1318
+ return /* @__PURE__ */ st.createElement(c, gt({}, l, {
1319
1319
  ref: this.refCallback
1320
1320
  }, i === "svg" ? {
1321
- xmlns: lt,
1321
+ xmlns: ct,
1322
1322
  xmlnsXlink: Cr
1323
- } : {}), this.state.isLoading && a && /* @__PURE__ */ nt.createElement(a, null), this.state.hasError && o && /* @__PURE__ */ nt.createElement(o, null));
1323
+ } : {}), this.state.isLoading && a && /* @__PURE__ */ st.createElement(a, null), this.state.hasError && o && /* @__PURE__ */ st.createElement(o, null));
1324
1324
  }, e;
1325
- }(nt.Component);
1325
+ }(st.Component);
1326
1326
  Jt.defaultProps = {
1327
1327
  afterInjection: function() {
1328
1328
  },
@@ -1842,8 +1842,9 @@ const te = {
1842
1842
  TIME: "TIM",
1843
1843
  PASSWORD: "PWD",
1844
1844
  TREE: "TRE"
1845
- }, ct = {
1845
+ }, Je = {
1846
1846
  CODE_ONLY: "CodeOnly",
1847
+ DESC_ONLY: "DescOnly",
1847
1848
  BOTH: "Both"
1848
1849
  }, rs = {
1849
1850
  obj: { t: "", p: "", k: "" },
@@ -1913,7 +1914,7 @@ const sn = (t) => {
1913
1914
  n();
1914
1915
  }, t);
1915
1916
  };
1916
- }, tt = (t, e, r) => {
1917
+ }, rt = (t, e, r) => {
1917
1918
  if (t == "" && (e == "" || e == null))
1918
1919
  return "";
1919
1920
  if (r)
@@ -2145,7 +2146,7 @@ function ss(t, e, r = "14px IBM Plex Sans, sans-serif", n = 32) {
2145
2146
  o.font = r;
2146
2147
  let a = 0;
2147
2148
  for (const i of t) {
2148
- const l = tt(
2149
+ const l = rt(
2149
2150
  i.obj.k,
2150
2151
  i.decode,
2151
2152
  e
@@ -2265,7 +2266,7 @@ const os = 10, Zt = ({
2265
2266
  l?.(U), w(B);
2266
2267
  },
2267
2268
  children: [
2268
- tt(U.obj?.k, U.decode, r),
2269
+ rt(U.obj?.k, U.decode, r),
2269
2270
  k && /* @__PURE__ */ p.jsx(le, { icon: "check", width: 16 })
2270
2271
  ]
2271
2272
  },
@@ -2371,6 +2372,7 @@ const os = 10, Zt = ({
2371
2372
  options: v.options ? v.options : [],
2372
2373
  isOpen: !0,
2373
2374
  "data-node-id": x,
2375
+ displayMode: Je.DESC_ONLY,
2374
2376
  selectedIndex: v.options?.findIndex(
2375
2377
  (R) => R.obj?.k === v.obj?.k
2376
2378
  ),
@@ -2402,7 +2404,7 @@ const os = 10, Zt = ({
2402
2404
  ]
2403
2405
  );
2404
2406
  return !a || !a?.children?.length ? null : /* @__PURE__ */ p.jsx("div", { ref: e, "aria-label": "Toolbar", "data-component": "toolbar", children: h(a.children) });
2405
- }, rt = (t, e, r) => {
2407
+ }, nt = (t, e, r) => {
2406
2408
  re(() => {
2407
2409
  if (!e) return;
2408
2410
  const n = (s) => {
@@ -2431,7 +2433,7 @@ const os = 10, Zt = ({
2431
2433
  position: "bottom",
2432
2434
  open: d
2433
2435
  });
2434
- if (rt([_], d, () => u(!1)), re(() => {
2436
+ if (nt([_], d, () => u(!1)), re(() => {
2435
2437
  const F = w.current;
2436
2438
  if (!F) return;
2437
2439
  R();
@@ -2826,7 +2828,7 @@ const Dr = /* @__PURE__ */ new Map([
2826
2828
  t.forEach((n) => {
2827
2829
  e[n] && (r[n] = e[n]);
2828
2830
  });
2829
- }, gs = /###/g, Nr = (t) => t && t.indexOf("###") > -1 ? t.replace(gs, ".") : t, $r = (t) => !t || Z(t), Je = (t, e, r) => {
2831
+ }, gs = /###/g, Nr = (t) => t && t.indexOf("###") > -1 ? t.replace(gs, ".") : t, $r = (t) => !t || Z(t), Xe = (t, e, r) => {
2830
2832
  const n = Z(e) ? e.split(".") : e;
2831
2833
  let s = 0;
2832
2834
  for (; s < n.length - 1; ) {
@@ -2842,26 +2844,26 @@ const Dr = /* @__PURE__ */ new Map([
2842
2844
  const {
2843
2845
  obj: n,
2844
2846
  k: s
2845
- } = Je(t, e, Object);
2847
+ } = Xe(t, e, Object);
2846
2848
  if (n !== void 0 || e.length === 1) {
2847
2849
  n[s] = r;
2848
2850
  return;
2849
2851
  }
2850
- let o = e[e.length - 1], a = e.slice(0, e.length - 1), i = Je(t, a, Object);
2852
+ let o = e[e.length - 1], a = e.slice(0, e.length - 1), i = Xe(t, a, Object);
2851
2853
  for (; i.obj === void 0 && a.length; )
2852
- o = `${a[a.length - 1]}.${o}`, a = a.slice(0, a.length - 1), i = Je(t, a, Object), i?.obj && typeof i.obj[`${i.k}.${o}`] < "u" && (i.obj = void 0);
2854
+ o = `${a[a.length - 1]}.${o}`, a = a.slice(0, a.length - 1), i = Xe(t, a, Object), i?.obj && typeof i.obj[`${i.k}.${o}`] < "u" && (i.obj = void 0);
2853
2855
  i.obj[`${i.k}.${o}`] = r;
2854
2856
  }, bs = (t, e, r, n) => {
2855
2857
  const {
2856
2858
  obj: s,
2857
2859
  k: o
2858
- } = Je(t, e, Object);
2860
+ } = Xe(t, e, Object);
2859
2861
  s[o] = s[o] || [], s[o].push(r);
2860
2862
  }, xt = (t, e) => {
2861
2863
  const {
2862
2864
  obj: r,
2863
2865
  k: n
2864
- } = Je(t, e);
2866
+ } = Xe(t, e);
2865
2867
  if (r && Object.prototype.hasOwnProperty.call(r, n))
2866
2868
  return r[n];
2867
2869
  }, ys = (t, e, r) => {
@@ -2924,7 +2926,7 @@ const Ss = [" ", ",", "?", "!", ";"], Es = new ws(20), Cs = (t, e, r) => {
2924
2926
  s = a;
2925
2927
  }
2926
2928
  return s;
2927
- }, Qe = (t) => t?.replace("_", "-"), Ts = {
2929
+ }, Ze = (t) => t?.replace("_", "-"), Ts = {
2928
2930
  type: "logger",
2929
2931
  log(t) {
2930
2932
  this.output("log", t);
@@ -3281,7 +3283,7 @@ class St extends Ct {
3281
3283
  let C;
3282
3284
  f && (C = this.pluralResolver.getSuffix(v, r.count, r));
3283
3285
  const y = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
3284
- if (f && (_.push(d + C), r.ordinal && C.indexOf(R) === 0 && _.push(d + C.replace(R, this.options.pluralSeparator)), g && _.push(d + y)), h) {
3286
+ if (f && (r.ordinal && C.indexOf(R) === 0 && _.push(d + C.replace(R, this.options.pluralSeparator)), _.push(d + C), g && _.push(d + y)), h) {
3285
3287
  const O = `${d}${this.options.contextSeparator}${r.context}`;
3286
3288
  _.push(O), f && (_.push(O + C), r.ordinal && C.indexOf(R) === 0 && _.push(O + C.replace(R, this.options.pluralSeparator)), g && _.push(O + y));
3287
3289
  }
@@ -3333,12 +3335,12 @@ class Fr {
3333
3335
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Te.create("languageUtils");
3334
3336
  }
3335
3337
  getScriptPartFromCode(e) {
3336
- if (e = Qe(e), !e || e.indexOf("-") < 0) return null;
3338
+ if (e = Ze(e), !e || e.indexOf("-") < 0) return null;
3337
3339
  const r = e.split("-");
3338
3340
  return r.length === 2 || (r.pop(), r[r.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(r.join("-"));
3339
3341
  }
3340
3342
  getLanguagePartFromCode(e) {
3341
- if (e = Qe(e), !e || e.indexOf("-") < 0) return e;
3343
+ if (e = Ze(e), !e || e.indexOf("-") < 0) return e;
3342
3344
  const r = e.split("-");
3343
3345
  return this.formatLanguageCode(r[0]);
3344
3346
  }
@@ -3416,7 +3418,7 @@ class _s {
3416
3418
  this.pluralRulesCache = {};
3417
3419
  }
3418
3420
  getRule(e, r = {}) {
3419
- const n = Qe(e === "dev" ? "en" : e), s = r.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
3421
+ const n = Ze(e === "dev" ? "en" : e), s = r.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
3420
3422
  cleanedCode: n,
3421
3423
  type: s
3422
3424
  });
@@ -3602,9 +3604,9 @@ const Os = (t) => {
3602
3604
  });
3603
3605
  const a = n + JSON.stringify(o);
3604
3606
  let i = e[a];
3605
- return i || (i = t(Qe(n), s), e[a] = i), i(r);
3607
+ return i || (i = t(Ze(n), s), e[a] = i), i(r);
3606
3608
  };
3607
- }, Rs = (t) => (e, r, n) => t(Qe(r), n)(e);
3609
+ }, Rs = (t) => (e, r, n) => t(Ze(r), n)(e);
3608
3610
  class Ds {
3609
3611
  constructor(e = {}) {
3610
3612
  this.logger = Te.create("formatter"), this.options = e, this.init(e);
@@ -3880,7 +3882,7 @@ const Wr = () => ({
3880
3882
  typeof t[r] == "function" && (t[r] = t[r].bind(t));
3881
3883
  });
3882
3884
  };
3883
- class Ze extends Ct {
3885
+ class et extends Ct {
3884
3886
  constructor(e = {}, r) {
3885
3887
  if (super(), this.options = Yr(e), this.services = {}, this.logger = Te, this.modules = {
3886
3888
  external: []
@@ -4067,7 +4069,7 @@ class Ze extends Ct {
4067
4069
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : r.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
4068
4070
  }
4069
4071
  static createInstance(e = {}, r) {
4070
- return new Ze(e, r);
4072
+ return new et(e, r);
4071
4073
  }
4072
4074
  cloneInstance(e = {}, r = dt) {
4073
4075
  const n = e.forkResourceStore;
@@ -4076,7 +4078,7 @@ class Ze extends Ct {
4076
4078
  ...this.options,
4077
4079
  ...e,
4078
4080
  isClone: !0
4079
- }, o = new Ze(s);
4081
+ }, o = new et(s);
4080
4082
  if ((e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((i) => {
4081
4083
  o[i] = this[i];
4082
4084
  }), o.services = {
@@ -4107,8 +4109,8 @@ class Ze extends Ct {
4107
4109
  };
4108
4110
  }
4109
4111
  }
4110
- const fe = Ze.createInstance();
4111
- fe.createInstance = Ze.createInstance;
4112
+ const fe = et.createInstance();
4113
+ fe.createInstance = et.createInstance;
4112
4114
  fe.createInstance;
4113
4115
  fe.dir;
4114
4116
  fe.init;
@@ -4291,7 +4293,7 @@ const eo = (t) => t?.type === "SmeupDataTree", to = (t) => t?.type === "SmeupDat
4291
4293
  }), U = oe(() => {
4292
4294
  y(!1), h?.current?.focus();
4293
4295
  }, []);
4294
- rt([A], C, () => U());
4296
+ nt([A], C, () => U());
4295
4297
  const B = sn(400), X = (D) => {
4296
4298
  D.length >= o ? k(D) : U(), w(D), _(""), l || c?.(D, e);
4297
4299
  }, k = (D) => {
@@ -4471,7 +4473,7 @@ const eo = (t) => t?.type === "SmeupDataTree", to = (t) => t?.type === "SmeupDat
4471
4473
  h.splice(g, 0, b), n?.(h), l(null);
4472
4474
  };
4473
4475
  return /* @__PURE__ */ p.jsx("div", { className: c.container, role: "list", "data-component": "chip", children: t.flatMap((g, h) => {
4474
- const b = tt(
4476
+ const b = rt(
4475
4477
  g.bindValue,
4476
4478
  g.optionalDisplayValue,
4477
4479
  r
@@ -4569,7 +4571,7 @@ const Ht = ({
4569
4571
  }), O = oe(() => {
4570
4572
  f(!1), d?.current?.focus();
4571
4573
  }, []);
4572
- rt([y, C], u, () => O()), nr(u, y);
4574
+ nt([y, C], u, () => O()), nr(u, y);
4573
4575
  const V = (E) => {
4574
4576
  e?.(E.obj.k, E.decode);
4575
4577
  const A = g.findIndex((P) => P.obj.k === E.obj.k);
@@ -5032,7 +5034,7 @@ const sr = ({
5032
5034
  }), w = oe(() => {
5033
5035
  c(!1), i?.current?.focus();
5034
5036
  }, []);
5035
- rt([b, h], l, () => {
5037
+ nt([b, h], l, () => {
5036
5038
  w();
5037
5039
  }), nr(l, b);
5038
5040
  const { format: v, getCurrentLanguage: _ } = Re(), x = oe(
@@ -5262,7 +5264,7 @@ const Pe = (t, e, r) => ({
5262
5264
  isOptimized: l,
5263
5265
  ...c
5264
5266
  }) => {
5265
- const { getCurrentLanguage: d } = Re(), u = ue(null), f = d(), { groupingChar: g, decimalChar: h } = Xe(
5267
+ const { getCurrentLanguage: d } = Re(), u = ue(null), f = d(), { groupingChar: g, decimalChar: h } = Qe(
5266
5268
  () => qs(f, s),
5267
5269
  [f, s]
5268
5270
  ), b = oe(
@@ -5360,7 +5362,7 @@ const Pe = (t, e, r) => ({
5360
5362
  }
5361
5363
  ) });
5362
5364
  };
5363
- class et {
5365
+ class tt {
5364
5366
  class;
5365
5367
  value;
5366
5368
  decimalSeparator;
@@ -5383,12 +5385,12 @@ class et {
5383
5385
  static fromDataObj(e, r) {
5384
5386
  const n = r === "." ? "," : ".";
5385
5387
  if (e.k === "")
5386
- return new et(e, void 0, r);
5388
+ return new tt(e, void 0, r);
5387
5389
  let s = e.k.trim();
5388
5390
  const o = s.endsWith("-");
5389
5391
  o && (s = s.slice(0, -1));
5390
5392
  const i = s.replace(new RegExp(`\\${n}`, "g"), "").replace(r, "."), l = parseFloat(i), c = o ? -l : l;
5391
- return new et(e, c, r);
5393
+ return new tt(e, c, r);
5392
5394
  }
5393
5395
  /**
5394
5396
  * Gets the value in legacy format (with configured decimal separator)
@@ -5519,7 +5521,7 @@ const Ue = {
5519
5521
  Oe,
5520
5522
  {
5521
5523
  variant: "body",
5522
- bindValue: tt(
5524
+ bindValue: rt(
5523
5525
  y.obj.k,
5524
5526
  y.decode,
5525
5527
  e
@@ -5602,7 +5604,7 @@ const Ue = {
5602
5604
  }), h = oe(() => {
5603
5605
  i(!1), o?.current?.focus();
5604
5606
  }, []);
5605
- rt([g, f], a, () => i(!1)), nr(a, g), re(() => {
5607
+ nt([g, f], a, () => i(!1)), nr(a, g), re(() => {
5606
5608
  const y = t || "", R = Hr(y) ? y : t || "";
5607
5609
  c(y), u(R);
5608
5610
  }, [t]), re(() => {
@@ -5742,7 +5744,7 @@ const zr = /* @__PURE__ */ new Map([
5742
5744
  active: t === b.obj.k,
5743
5745
  onClick: () => g(b),
5744
5746
  bindValue: b.obj.k,
5745
- optionalDisplayValue: tt(
5747
+ optionalDisplayValue: rt(
5746
5748
  b.obj.k,
5747
5749
  b.decode,
5748
5750
  n
@@ -6008,7 +6010,7 @@ const Ce = {
6008
6010
  m
6009
6011
  ) : Pe(k, j, m), A = (k, j) => Pe(
6010
6012
  k,
6011
- new et(n, j, y).getLegacyValue()
6013
+ new tt(n, j, y).getLegacyValue()
6012
6014
  ), P = (k) => Pe(O, new yt(n, k).getLegacyValue()), U = (k) => co(O, k), B = () => {
6013
6015
  switch (F) {
6014
6016
  case te.AUTOCOMPLETE: {
@@ -6100,7 +6102,7 @@ const Ce = {
6100
6102
  case te.INPUT_NUMBER: {
6101
6103
  const k = {
6102
6104
  ...T,
6103
- bindValue: et.fromDataObj(n, y).getValue(),
6105
+ bindValue: tt.fromDataObj(n, y).getValue(),
6104
6106
  onChange: (j) => {
6105
6107
  h?.(A(O, j));
6106
6108
  }
@@ -6867,7 +6869,7 @@ function gn(t, e, r) {
6867
6869
  function Fo(t) {
6868
6870
  const [e, r] = H(null), [n, s] = H("asc");
6869
6871
  return {
6870
- sortedRows: Xe(() => e ? gn({ ...t, rows: t.rows }, e, n).rows : t.rows, [t, e, n]),
6872
+ sortedRows: Qe(() => e ? gn({ ...t, rows: t.rows }, e, n).rows : t.rows, [t, e, n]),
6871
6873
  sortBy: e,
6872
6874
  sortOrder: n,
6873
6875
  handleSort: (i) => {
@@ -7076,8 +7078,8 @@ const Ye = {
7076
7078
  shape: void 0
7077
7079
  })),
7078
7080
  onChange: i,
7079
- listDisplayMode: ct.BOTH,
7080
- displayMode: ct.CODE_ONLY,
7081
+ listDisplayMode: Je.BOTH,
7082
+ displayMode: Je.CODE_ONLY,
7081
7083
  isEditable: !0
7082
7084
  }
7083
7085
  ),
@@ -7087,8 +7089,8 @@ const Ye = {
7087
7089
  bindValue: t.operator?.obj?.k,
7088
7090
  options: a[t.columnsType],
7089
7091
  onChange: l,
7090
- listDisplayMode: ct.BOTH,
7091
- displayMode: ct.CODE_ONLY,
7092
+ listDisplayMode: Je.BOTH,
7093
+ displayMode: Je.CODE_ONLY,
7092
7094
  isEditable: !0
7093
7095
  }
7094
7096
  ),
@@ -7376,7 +7378,7 @@ const Ye = {
7376
7378
  }), B = oe(
7377
7379
  (j) => Ao(j, i),
7378
7380
  [i]
7379
- ), X = Xe(
7381
+ ), X = Qe(
7380
7382
  () => Io(i),
7381
7383
  [i]
7382
7384
  ), k = {
@@ -7558,7 +7560,7 @@ const Ye = {
7558
7560
  const [f, g] = H(() => t ? {
7559
7561
  columns: l ? Bo(t, Uo(l)) : t.columns,
7560
7562
  rows: t.rows ?? []
7561
- } : { columns: [], rows: [] }), [h, b] = H(n || []), [w, v] = H(/* @__PURE__ */ new Set()), [_, x] = H(!1), [C, y] = H(/* @__PURE__ */ new Set()), [R, O] = H(null), V = Xe(() => To(t?.columns || []), [t?.columns]), [F, L] = H(() => Kr(a, V)), T = ue(null), [E, A] = Co({
7563
+ } : { columns: [], rows: [] }), [h, b] = H(n || []), [w, v] = H(/* @__PURE__ */ new Set()), [_, x] = H(!1), [C, y] = H(/* @__PURE__ */ new Set()), [R, O] = H(null), V = Qe(() => To(t?.columns || []), [t?.columns]), [F, L] = H(() => Kr(a, V)), T = ue(null), [E, A] = Co({
7562
7564
  columns: f?.columns ?? [],
7563
7565
  rows: f?.rows ?? [],
7564
7566
  containerRef: T,
@@ -7566,7 +7568,7 @@ const Ye = {
7566
7568
  }), { handleDragStart: P, handleDragOver: U, handleDrop: B } = Po(
7567
7569
  f.columns,
7568
7570
  (W) => g((J) => ({ ...J, columns: W }))
7569
- ), X = Xe(() => {
7571
+ ), X = Qe(() => {
7570
7572
  const W = f.rows.map((J, ce) => ce);
7571
7573
  return W.every((J) => C.has(J)) && W.length > 0;
7572
7574
  }, [C, f.rows]), { sortBy: k, sortOrder: j, handleSort: m } = Fo({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup2",
3
- "version": "2.0.0-SNAPSHOT-20250814151034",
3
+ "version": "2.0.0-SNAPSHOT-20250814151858",
4
4
  "description": "Sme.UP web components library",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Smeup LAB <info@smeup.com> (https://www.smeup.com/)",