@3sc/common-component 0.0.602 → 0.0.603

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.
@@ -30912,9 +30912,9 @@ const IN = ie(Cp)(({ theme: e }) => ({
30912
30912
  async function BN(e) {
30913
30913
  switch (e.split("-")[0]) {
30914
30914
  case "tr":
30915
- return (await import("./tr-joiIivv2.js")).tr;
30915
+ return (await import("./tr-Cv2jCNFb.js")).tr;
30916
30916
  case "nl":
30917
- return (await import("./nl-D4L0SIon.js")).nl;
30917
+ return (await import("./nl-BbjKqDNX.js")).nl;
30918
30918
  default:
30919
30919
  return (await Promise.resolve().then(() => F4)).enUS;
30920
30920
  }
@@ -38443,6 +38443,14 @@ const Z2 = {
38443
38443
  }
38444
38444
  }, kB = {
38445
38445
  placement: "top",
38446
+ disableInteractive: !0,
38447
+ slotProps: {
38448
+ popper: {
38449
+ sx: {
38450
+ zIndex: 9999
38451
+ }
38452
+ }
38453
+ },
38446
38454
  componentsProps: {
38447
38455
  tooltip: {
38448
38456
  sx: {
@@ -38574,17 +38582,28 @@ const OB = (e) => {
38574
38582
  if (f.includes("px")) return parseFloat(f);
38575
38583
  }
38576
38584
  }, u = (f) => {
38577
- const m = l.get(f.key), h = c.get(f.key), y = f.isMandatory === !0;
38585
+ const m = l.get(f.key), h = c.get(f.key), y = m?.helpText ?? f.helpText, g = f.isMandatory === !0;
38578
38586
  return {
38579
38587
  id: f.key,
38580
38588
  // safer fallback
38581
38589
  label: m?.label ?? f.label,
38582
38590
  // fallback fix
38583
38591
  field: f.key,
38584
- helpText: f.helpText,
38585
- renderHeader: (g) => {
38586
- const b = /* @__PURE__ */ p.jsx(ew, { label: g.label });
38587
- return EB(g.helpText) ? /* @__PURE__ */ p.jsx(Ki, { title: g.helpText, ...kB, children: b }) : b;
38592
+ helpText: y,
38593
+ renderHeader: (b) => {
38594
+ const v = /* @__PURE__ */ p.jsx(
38595
+ "span",
38596
+ {
38597
+ onClick: (C) => C.stopPropagation(),
38598
+ style: {
38599
+ display: "inline-flex",
38600
+ maxWidth: "100%",
38601
+ minWidth: 0
38602
+ },
38603
+ children: /* @__PURE__ */ p.jsx(ew, { label: b.label })
38604
+ }
38605
+ );
38606
+ return EB(y) ? /* @__PURE__ */ p.jsx(Ki, { title: y, ...kB, children: v }) : v;
38588
38607
  },
38589
38608
  width: d(h?.style?.width ?? f.style?.width),
38590
38609
  minWidth: d(f.style?.minWidth),
@@ -38593,13 +38612,13 @@ const OB = (e) => {
38593
38612
  pinned: f.isSticky ? "left" : void 0,
38594
38613
  hidden: h?.isHidden ?? !1,
38595
38614
  resizable: f?.isResizable ?? !0,
38596
- draggable: f?.isDraggable ?? !y,
38597
- hideable: !y,
38615
+ draggable: f?.isDraggable ?? !g,
38616
+ hideable: !g,
38598
38617
  align: "center",
38599
38618
  deferRender: f.deferRender,
38600
- renderCell: f.cellRenderer ? (g, b, v) => f.cellRenderer(b, v) : void 0,
38619
+ renderCell: f.cellRenderer ? (b, v, C) => f.cellRenderer(v, C) : void 0,
38601
38620
  meta: {
38602
- isMandatory: y,
38621
+ isMandatory: g,
38603
38622
  ...f
38604
38623
  },
38605
38624
  children: f.children?.map(u)
@@ -47015,4 +47034,4 @@ export {
47015
47034
  v7 as t,
47016
47035
  Y7 as u
47017
47036
  };
47018
- //# sourceMappingURL=index-6HJz14T2.js.map
47037
+ //# sourceMappingURL=index-C5J5piKe.js.map