@3sc/common-component 0.0.262 → 0.0.263
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 +9 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -44093,13 +44093,16 @@ function Ow({
|
|
|
44093
44093
|
if (!S)
|
|
44094
44094
|
return /* @__PURE__ */ y.jsx(yo, { sx: { textAlign: "center" }, children: Wr.NRF });
|
|
44095
44095
|
Ct(() => {
|
|
44096
|
-
|
|
44096
|
+
if (!S) return;
|
|
44097
|
+
const B = x.current;
|
|
44098
|
+
if (!B) return;
|
|
44099
|
+
const Y = B == null ? void 0 : B.querySelector("thead");
|
|
44097
44100
|
if (!Y) return;
|
|
44098
44101
|
const K = () => {
|
|
44099
44102
|
P(null);
|
|
44100
44103
|
};
|
|
44101
|
-
return Y.addEventListener("mouseleave", K), () => {
|
|
44102
|
-
Y.removeEventListener("mouseleave", K);
|
|
44104
|
+
return Y == null || Y.addEventListener("mouseleave", K), () => {
|
|
44105
|
+
Y == null || Y.removeEventListener("mouseleave", K);
|
|
44103
44106
|
};
|
|
44104
44107
|
}, []);
|
|
44105
44108
|
const j = (B, Y) => {
|
|
@@ -44167,6 +44170,9 @@ function Ow({
|
|
|
44167
44170
|
rowSpan: B != null && B.children ? 1 : 2,
|
|
44168
44171
|
colSpan: w ? ((_e = (ye = B == null ? void 0 : B.children) == null ? void 0 : ye.filter((Ee) => !(Ee != null && Ee.isHidden))) == null ? void 0 : _e.length) * 2 - 1 : (Me = (Ne = B == null ? void 0 : B.children) == null ? void 0 : Ne.filter((Ee) => !(Ee != null && Ee.isHidden))) == null ? void 0 : Me.length,
|
|
44169
44172
|
style: B == null ? void 0 : B.style,
|
|
44173
|
+
onMouseEnter: () => {
|
|
44174
|
+
M !== Y && P(Y);
|
|
44175
|
+
},
|
|
44170
44176
|
draggable: K && !J && !(B != null && B.isMandatory),
|
|
44171
44177
|
onDragStart: K ? (Ee) => j(Ee, Y) : void 0,
|
|
44172
44178
|
onDragOver: K ? ce : void 0,
|