dhx-react-suite 1.1.0 → 1.1.2
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/dhx-react-suite.js
CHANGED
|
@@ -1186,7 +1186,7 @@ function Rt({ title: n, children: i, width: p = 480, height: u, closable: x = !0
|
|
|
1186
1186
|
};
|
|
1187
1187
|
return l ? /* @__PURE__ */ g(Ne, { children: [
|
|
1188
1188
|
f && /* @__PURE__ */ t("div", { style: { position: "fixed", inset: 0, background: "rgba(0,0,0,.45)", zIndex: 900 }, onClick: x ? v : void 0 }),
|
|
1189
|
-
/* @__PURE__ */ g("div", { className: "dhx", style: { position: f ? "fixed" : "absolute", left:
|
|
1189
|
+
/* @__PURE__ */ g("div", { className: "dhx", style: { position: f ? "fixed" : "absolute", left: "50%", top: "50%", transform: `translate(calc(-50% + ${y.x}px), calc(-50% + ${y.y}px))`, width: p, ...u ? { height: u } : {}, background: e.surface, borderRadius: e.rMd, boxShadow: e.shadowLg, zIndex: 901, display: "flex", flexDirection: "column", overflow: "hidden", ...r }, children: [
|
|
1190
1190
|
/* @__PURE__ */ g("div", { onMouseDown: (M) => b(M, y.x, y.y), style: { display: "flex", alignItems: "center", padding: "12px 16px", borderBottom: `1px solid ${e.border}`, cursor: s ? "grab" : "default", background: e.bg, gap: 8, userSelect: "none" }, children: [
|
|
1191
1191
|
/* @__PURE__ */ t("span", { style: { flex: 1, fontWeight: 700, fontSize: 15 }, children: n }),
|
|
1192
1192
|
x && /* @__PURE__ */ t(
|