ia-table 0.12.2 → 0.12.3

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/dist/index.js CHANGED
@@ -9325,7 +9325,10 @@ const Pl = ({
9325
9325
  maxDate: c
9326
9326
  });
9327
9327
  return d;
9328
- }, ei = ({ cellRenderer: e, actualValue: t, cellValue: n }) => e === "smartGridDateRangePickerRenderer" ? n.startDate ? `${n.startDate} ${n.endDate ? `- ${n.endDate}` : ""}` : "Start Date - End Date" : t, nc = (e) => /* @__PURE__ */ re.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M12.0001 5.77794H11.3334V4.5081C11.3334 2.75572 9.84008 1.3335 8.00008 1.3335C6.16008 1.3335 4.66675 2.75572 4.66675 4.5081V5.77794H4.00008C3.26675 5.77794 2.66675 6.34937 2.66675 7.04778V13.397C2.66675 14.0954 3.26675 14.6668 4.00008 14.6668H12.0001C12.7334 14.6668 13.3334 14.0954 13.3334 13.397V7.04778C13.3334 6.34937 12.7334 5.77794 12.0001 5.77794ZM6.00008 4.5081C6.00008 3.45413 6.89341 2.60334 8.00008 2.60334C9.10675 2.60334 10.0001 3.45413 10.0001 4.5081V5.77794H6.00008V4.5081ZM11.3334 13.397H4.66675C4.30008 13.397 4.00008 13.1113 4.00008 12.7621V7.6827C4.00008 7.3335 4.30008 7.04778 4.66675 7.04778H11.3334C11.7001 7.04778 12.0001 7.3335 12.0001 7.6827V12.7621C12.0001 13.1113 11.7001 13.397 11.3334 13.397ZM8.00008 11.4922C8.73341 11.4922 9.33341 10.9208 9.33341 10.2224C9.33341 9.52397 8.73341 8.95254 8.00008 8.95254C7.26675 8.95254 6.66675 9.52397 6.66675 10.2224C6.66675 10.9208 7.26675 11.4922 8.00008 11.4922Z", fill: "#60697D" })), rc = (e) => /* @__PURE__ */ re.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-vubbuv", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "LockOpenOutlinedIcon", width: "1em", height: "1em", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" })), ac = (e, t, n) => {
9328
+ }, ei = ({ cellRenderer: e, actualValue: t, cellValue: n }) => {
9329
+ var r, a;
9330
+ return e === "smartGridDateRangePickerRenderer" ? n.startDate || t.startData ? `${n.startDate || t.startData} ${n.endDate || t.endDate ? `- ${n.endDate || t.endDate}` : ""}` : "Start Date - End Date" : Array.isArray(t || n) ? (a = (r = t || n) == null ? void 0 : r.join) == null ? void 0 : a.call(r, ", ") : t || n;
9331
+ }, nc = (e) => /* @__PURE__ */ re.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M12.0001 5.77794H11.3334V4.5081C11.3334 2.75572 9.84008 1.3335 8.00008 1.3335C6.16008 1.3335 4.66675 2.75572 4.66675 4.5081V5.77794H4.00008C3.26675 5.77794 2.66675 6.34937 2.66675 7.04778V13.397C2.66675 14.0954 3.26675 14.6668 4.00008 14.6668H12.0001C12.7334 14.6668 13.3334 14.0954 13.3334 13.397V7.04778C13.3334 6.34937 12.7334 5.77794 12.0001 5.77794ZM6.00008 4.5081C6.00008 3.45413 6.89341 2.60334 8.00008 2.60334C9.10675 2.60334 10.0001 3.45413 10.0001 4.5081V5.77794H6.00008V4.5081ZM11.3334 13.397H4.66675C4.30008 13.397 4.00008 13.1113 4.00008 12.7621V7.6827C4.00008 7.3335 4.30008 7.04778 4.66675 7.04778H11.3334C11.7001 7.04778 12.0001 7.3335 12.0001 7.6827V12.7621C12.0001 13.1113 11.7001 13.397 11.3334 13.397ZM8.00008 11.4922C8.73341 11.4922 9.33341 10.9208 9.33341 10.2224C9.33341 9.52397 8.73341 8.95254 8.00008 8.95254C7.26675 8.95254 6.66675 9.52397 6.66675 10.2224C6.66675 10.9208 7.26675 11.4922 8.00008 11.4922Z", fill: "#60697D" })), rc = (e) => /* @__PURE__ */ re.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-vubbuv", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "LockOpenOutlinedIcon", width: "1em", height: "1em", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h2c0-1.66 1.34-3 3-3s3 1.34 3 3v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" })), ac = (e, t, n) => {
9329
9332
  var l, c, d, u, h;
9330
9333
  let r = parseFloat(e);
9331
9334
  const a = (l = n == null ? void 0 : n.colDef) == null ? void 0 : l.type, i = n == null ? void 0 : n.isCellInFocus, s = n == null ? void 0 : n.isCeil;
@@ -12583,7 +12586,9 @@ const Ec = ({
12583
12586
  cellValue: j
12584
12587
  }));
12585
12588
  let he = !1;
12586
- return Q && $ === "smartGridDateTimeRenderer" && (he = tc({ column: L, actualValue: E })), /* @__PURE__ */ te(
12589
+ Q && $ === "smartGridDateTimeRenderer" && (he = tc({ column: L, actualValue: E }));
12590
+ const ge = ae && V && !J && !A;
12591
+ return /* @__PURE__ */ te(
12587
12592
  "div",
12588
12593
  {
12589
12594
  ref: e,
@@ -12632,7 +12637,7 @@ const Ec = ({
12632
12637
  Q && !M && mr.includes($) && (fe(!0), Gr({ cellRef: e }));
12633
12638
  },
12634
12639
  children: [
12635
- M ? null : (ae && V ? /* @__PURE__ */ f(
12640
+ M ? null : (ge ? /* @__PURE__ */ f(
12636
12641
  oi,
12637
12642
  {
12638
12643
  isGrandTotalRow: A,
@@ -12672,7 +12677,7 @@ const Ec = ({
12672
12677
  Q && !M && mr.includes($) && (fe(!0), Gr({ cellRef: e }));
12673
12678
  },
12674
12679
  children: [
12675
- M ? null : (ae && V ? /* @__PURE__ */ f(
12680
+ M ? null : (ge ? /* @__PURE__ */ f(
12676
12681
  oi,
12677
12682
  {
12678
12683
  isGrandTotalRow: A,
@@ -12852,7 +12857,7 @@ const Ec = ({
12852
12857
  W && W(Ae, { rowData: m, column: y, rowIndex: I, colIndex: x });
12853
12858
  },
12854
12859
  [W, m, y, I, x]
12855
- ), at = ce(null), vt = !K, Et = Us(m, B), Lt = vt ? !Et && Rr.includes(F) : !1, Zt = D || vt && Lt || y.aggFunc && oe || !1, Ca = Wl(ke);
12860
+ ), at = ce(null), vt = !K, Et = y.aggFunc ? !0 : Us(m, B), Lt = vt ? !Et && Rr.includes(F) : !1, Zt = D || vt && Lt || y.aggFunc && oe || !1, Ca = Wl(ke);
12856
12861
  se(() => {
12857
12862
  var Rt, kt, an, Sn, qt, sn;
12858
12863
  if (!a || !a.current) return;
@@ -1 +1 @@
1
- Patch applied at 2026-02-19T08:01:45.999Z
1
+ Patch applied at 2026-02-20T14:58:42.820Z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ia-table",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "moment": "^2.0.0",