@3sc/common-component 0.0.602 → 0.0.604

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