@3sc/common-component 0.0.205 → 0.0.206

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.es.js CHANGED
@@ -38767,7 +38767,10 @@ const p6 = ({ options: e, isDraggable: t }) => {
38767
38767
  children: /* @__PURE__ */ g.jsx(
38768
38768
  pb,
38769
38769
  {
38770
- inputProps: { readOnly: !0 },
38770
+ inputProps: {
38771
+ readOnly: !0,
38772
+ style: { cursor: "pointer" }
38773
+ },
38771
38774
  InputLabelProps: {
38772
38775
  shrink: (o == null ? void 0 : o.length) && !(l != null && l.placeholder)
38773
38776
  },
@@ -38782,11 +38785,12 @@ const p6 = ({ options: e, isDraggable: t }) => {
38782
38785
  startAdornment: ((_ = l == null ? void 0 : l.styles) == null ? void 0 : _.icon) && /* @__PURE__ */ g.jsx(Cl, { position: "start", sx: { pl: 1 }, children: /* @__PURE__ */ g.jsx(me, { component: "img", src: (V = l == null ? void 0 : l.styles) == null ? void 0 : V.icon }) })
38783
38786
  },
38784
38787
  sx: {
38785
- cursor: "pointer",
38786
- height: "3.2rem",
38787
38788
  pointerEvents: l != null && l.disabled ? "none" : "auto",
38788
38789
  opacity: l != null && l.disabled ? 0.6 : 1,
38790
+ height: "3.2rem",
38789
38791
  "& .MuiOutlinedInput-root": {
38792
+ cursor: "pointer",
38793
+ // 👈 for root container
38790
38794
  borderBottomLeftRadius: c && y.startsWith("bottom") ? 0 : "0.7rem",
38791
38795
  borderBottomRightRadius: c && y.startsWith("bottom") ? 0 : "0.7rem",
38792
38796
  borderTopLeftRadius: c && y.startsWith("top") ? 0 : "0.7rem",
@@ -38862,7 +38866,7 @@ const p6 = ({ options: e, isDraggable: t }) => {
38862
38866
  r && s && /* @__PURE__ */ g.jsx(
38863
38867
  No,
38864
38868
  {
38865
- sx: { padding: "0.8rem 1.2rem" },
38869
+ sx: { padding: "0.8rem 1.2rem", cursor: "pointer" },
38866
38870
  onClick: (R) => {
38867
38871
  R.stopPropagation(), L();
38868
38872
  },
@@ -38896,6 +38900,7 @@ const p6 = ({ options: e, isDraggable: t }) => {
38896
38900
  {
38897
38901
  sx: {
38898
38902
  opacity: R != null && R.isMandatory || R != null && R.disabled ? 0.5 : 1,
38903
+ cursor: "pointer",
38899
38904
  pointerEvents: R != null && R.isMandatory || R != null && R.disabled ? "none" : "auto",
38900
38905
  padding: "0.8rem 1.2rem",
38901
38906
  borderTop: F !== 0 || s ? ($) => `0.1rem solid ${$.palette.primary.notifyBorderColor}` : "none"
@@ -38966,6 +38971,7 @@ const p6 = ({ options: e, isDraggable: t }) => {
38966
38971
  No,
38967
38972
  {
38968
38973
  sx: {
38974
+ cursor: "pointer",
38969
38975
  opacity: $ != null && $.isMandatory || $ != null && $.disabled ? 0.5 : 1,
38970
38976
  pointerEvents: $ != null && $.isMandatory || $ != null && $.disabled ? "none" : "auto",
38971
38977
  padding: "0.8rem 1.2rem",
@@ -42149,7 +42155,7 @@ function kC({ tableProps: e, isDefaultConfig: t, gridPath: n, baseUrl: o }) {
42149
42155
  const f = d.get(p.id);
42150
42156
  return {
42151
42157
  ...p,
42152
- label: f.label,
42158
+ ...(f == null ? void 0 : f.label) && { label: f.label },
42153
42159
  ...(f == null ? void 0 : f.cellRenderer) && { cellRenderer: f.cellRenderer }
42154
42160
  };
42155
42161
  });