@ryuzaki13/react-foundation-lib 1.2.6 → 1.2.7

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.
Files changed (32) hide show
  1. package/dist/array/index.js +1 -1
  2. package/dist/chunks/{array-BBSjoTRy.js → array-D-_yMMUK.js} +2 -2
  3. package/dist/chunks/{array-BBSjoTRy.js.map → array-D-_yMMUK.js.map} +1 -1
  4. package/dist/chunks/{formatters--mhLir82.js → formatters-ShRrKmg6.js} +67 -71
  5. package/dist/chunks/{formatters--mhLir82.js.map → formatters-ShRrKmg6.js.map} +1 -1
  6. package/dist/chunks/{odata-service-DnPlNGpU.js → odata-service-B5w4YBao.js} +13 -17
  7. package/dist/chunks/{odata-service-DnPlNGpU.js.map → odata-service-B5w4YBao.js.map} +1 -1
  8. package/dist/chunks/{validate-nWY_Mla5.js → validate-BzjCBUqb.js} +14 -18
  9. package/dist/chunks/{validate-nWY_Mla5.js.map → validate-BzjCBUqb.js.map} +1 -1
  10. package/dist/error-report/index.js +2 -2
  11. package/dist/excel/index.js +3 -3
  12. package/dist/excel/index.js.map +1 -1
  13. package/dist/formatters/index.js +4 -4
  14. package/dist/hooks/index.js +82 -81
  15. package/dist/hooks/index.js.map +1 -1
  16. package/dist/media/index.js +2 -1
  17. package/dist/media/index.js.map +1 -1
  18. package/dist/number-scale/index.js +1 -1
  19. package/dist/number-scale/index.js.map +1 -1
  20. package/dist/odata-service/index.js +1 -1
  21. package/dist/pwa/index.js +1 -1
  22. package/dist/pwa/index.js.map +1 -1
  23. package/dist/pwa/sw-cache-policy.js +3 -3
  24. package/dist/pwa/sw-cache-policy.js.map +1 -1
  25. package/dist/query-client/index.js +5 -5
  26. package/dist/query-client/index.js.map +1 -1
  27. package/dist/range-output/index.js +1 -1
  28. package/dist/range-output/index.js.map +1 -1
  29. package/dist/table/index.js +3 -3
  30. package/dist/table/index.js.map +1 -1
  31. package/dist/tree-table/index.js +1 -1
  32. package/package.json +33 -33
@@ -25,7 +25,7 @@ function c(e) {
25
25
  let r = "";
26
26
  for (let e = 0; e < t.length; e++) {
27
27
  let n = t.charCodeAt(e);
28
- n === 32 || n === 160 || n === 8239 || n === 39 || (r += t[e]);
28
+ n !== 32 && n !== 160 && n !== 8239 && n !== 39 && (r += t[e]);
29
29
  }
30
30
  let i = r.indexOf(",") !== -1, a = r.indexOf(".") !== -1;
31
31
  i && a ? r = r.replace(/,/g, "") : i && (r = r.replace(/,/g, "."));
@@ -123,7 +123,7 @@ function h(e, t) {
123
123
  }
124
124
  function le(e) {
125
125
  if (typeof e == "boolean") return e;
126
- if (typeof e == "number") return e === 1 ? !0 : e === 0 ? !1 : void 0;
126
+ if (typeof e == "number") return e === 1 || e !== 0 && void 0;
127
127
  if (typeof e != "string") return;
128
128
  if (e === "X") return !0;
129
129
  if (e === " " || e === "") return !1;
@@ -588,7 +588,7 @@ function B(e) {
588
588
  let t = [];
589
589
  for (let n of e.conditions) {
590
590
  let e = I(n.value);
591
- n.valueSource === "static" && e === void 0 || t.push({
591
+ (n.valueSource !== "static" || e !== void 0) && t.push({
592
592
  columnId: n.columnId?.trim() || void 0,
593
593
  operation: n.operation,
594
594
  valueSource: n.valueSource,
@@ -613,7 +613,7 @@ function V(e) {
613
613
  });
614
614
  }
615
615
  if (!t.length) return;
616
- let n = e.and === !0 ? !0 : e.and === !1 ? !1 : void 0;
616
+ let n = e.and === !0 || e.and !== !1 && void 0;
617
617
  return {
618
618
  kind: "list",
619
619
  ...n === void 0 ? {} : { and: n },
@@ -694,14 +694,11 @@ function H(e) {
694
694
  ownerColumnId: i
695
695
  });
696
696
  break;
697
- case "column":
698
- t.push({
699
- ...r,
700
- id: e,
701
- ownerColumnId: i
702
- });
703
- break;
704
- default:
697
+ case "column": t.push({
698
+ ...r,
699
+ id: e,
700
+ ownerColumnId: i
701
+ });
705
702
  }
706
703
  }
707
704
  return t;
@@ -768,7 +765,7 @@ function G(e, t, n) {
768
765
  if (!t?.conditions.length) return;
769
766
  let r = t.conditions.map((t) => nt(e, t, n)).filter((e) => !!e);
770
767
  if (r.length) return {
771
- and: t.and === !1 ? void 0 : !0,
768
+ and: t.and !== !1 || void 0,
772
769
  conditions: r
773
770
  };
774
771
  }
@@ -801,7 +798,7 @@ function at(e, t) {
801
798
  return a || e.kind === "registered" ? a : K(e.ownerColumnId, r.key);
802
799
  }).filter((e) => !!e);
803
800
  if (a.length) return a.length === 1 ? a[0] : {
804
- and: n.and === !0 ? !0 : void 0,
801
+ and: n.and === !0 || void 0,
805
802
  filters: a
806
803
  };
807
804
  }
@@ -829,7 +826,6 @@ function ot(e, t) {
829
826
  let n = R(t);
830
827
  return n?.length ? K(e.ownerColumnId, n) : void 0;
831
828
  }
832
- default:
833
829
  }
834
830
  }
835
831
  function st(e, t) {
@@ -951,7 +947,7 @@ function gt(e) {
951
947
  }
952
948
  }
953
949
  function X(e) {
954
- let t = e.getAttribute("Name"), n = e.getAttribute("Type") || "", r = gt(n), i = e.hasAttribute("MaxLength") ? Number(e.getAttribute("MaxLength")) : void 0, a = e.hasAttribute("Precision") ? Number(e.getAttribute("Precision")) : void 0, o = e.hasAttribute("Scale") ? Number(e.getAttribute("Scale")) : void 0, s = e.getAttribute("sap:label") || void 0, c = e.getAttribute("sap:parameter") || void 0, l = e.getAttribute("Nullable") === "false" ? void 0 : !0;
950
+ let t = e.getAttribute("Name"), n = e.getAttribute("Type") || "", r = gt(n), i = e.hasAttribute("MaxLength") ? Number(e.getAttribute("MaxLength")) : void 0, a = e.hasAttribute("Precision") ? Number(e.getAttribute("Precision")) : void 0, o = e.hasAttribute("Scale") ? Number(e.getAttribute("Scale")) : void 0, s = e.getAttribute("sap:label") || void 0, c = e.getAttribute("sap:parameter") || void 0, l = e.getAttribute("Nullable") !== "false" || void 0;
955
951
  return {
956
952
  id: t,
957
953
  label: s ?? t,
@@ -1274,4 +1270,4 @@ function on(e) {
1274
1270
  //#endregion
1275
1271
  export { E as $, ct as A, ie as At, W as B, q as C, ce as Ct, ut as D, d as Dt, Ft as E, f as Et, Xe as F, o as Ft, k as G, Me as H, V as I, s as It, A as J, Ue as K, B as L, $e as M, l as Mt, F as N, c as Nt, et as O, ne as Ot, Ze as P, u as Pt, Le as Q, H as R, Rt as S, se as St, dt as T, ae as Tt, O as U, Ne as V, He as W, Ie as X, We as Y, Ke as Z, Lt as _, we as _t, tn as a, Ae as at, Vt as b, g as bt, $t as c, y as ct, $ as d, me as dt, je as et, Yt as f, pe as ft, Ut as g, De as gt, Gt as h, Ee as ht, nn as i, w as it, qe as j, ee as jt, st as k, re as kt, Qt as l, _ as lt, Kt as m, x as mt, an as n, C as nt, en as o, S as ot, Wt as p, fe as pt, Ge as q, rn as r, T as rt, Xt as s, v as st, on as t, ke as tt, Zt as u, he as ut, Bt as v, Te as vt, ft as w, oe as wt, zt as x, de as xt, It as y, h as yt, U as z };
1276
1272
 
1277
- //# sourceMappingURL=odata-service-DnPlNGpU.js.map
1273
+ //# sourceMappingURL=odata-service-B5w4YBao.js.map