@univerjs/ui 0.10.13 → 0.10.14-nightly.202511031023

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/lib/es/index.js CHANGED
@@ -6745,7 +6745,7 @@ function Jn(e) {
6745
6745
  if (i.includes("center")) {
6746
6746
  const A = (B - E - n) / 2;
6747
6747
  T = Math.max(E + A, g) + n > s ? { left: Math.max(Math.min(c, B - n - A), g) } : { left: Math.max(g, Math.min(E + A, c)) };
6748
- } else i.includes("left") ? T = { left: Math.max(B - n, g) } : i.includes("right") ? T = { left: Math.min(E, c) } : T = E + n > s ? Math.max(B - n, g) < ee ? { left: Math.min(E, c) } : { left: Math.max(B - n, g) } : { left: Math.min(E, c) };
6748
+ } else i.includes("right") ? T = { left: Math.max(B - n, g) } : i.includes("left") ? T = { left: Math.min(E, c) } : T = E + n > s ? Math.max(B - n, g) < ee ? { left: Math.min(E, c) } : { left: Math.max(B - n, g) } : { left: Math.min(E, c) };
6749
6749
  return { ...$, ...T };
6750
6750
  }
6751
6751
  const { left: m, top: L, right: _, bottom: O } = t, S = i.includes("left") ? { left: Math.max(m - n, g) } : { left: Math.min(_, c) };
package/lib/index.js CHANGED
@@ -6745,7 +6745,7 @@ function Jn(e) {
6745
6745
  if (i.includes("center")) {
6746
6746
  const A = (B - E - n) / 2;
6747
6747
  T = Math.max(E + A, g) + n > s ? { left: Math.max(Math.min(c, B - n - A), g) } : { left: Math.max(g, Math.min(E + A, c)) };
6748
- } else i.includes("left") ? T = { left: Math.max(B - n, g) } : i.includes("right") ? T = { left: Math.min(E, c) } : T = E + n > s ? Math.max(B - n, g) < ee ? { left: Math.min(E, c) } : { left: Math.max(B - n, g) } : { left: Math.min(E, c) };
6748
+ } else i.includes("right") ? T = { left: Math.max(B - n, g) } : i.includes("left") ? T = { left: Math.min(E, c) } : T = E + n > s ? Math.max(B - n, g) < ee ? { left: Math.min(E, c) } : { left: Math.max(B - n, g) } : { left: Math.min(E, c) };
6749
6749
  return { ...$, ...T };
6750
6750
  }
6751
6751
  const { left: m, top: L, right: _, bottom: O } = t, S = i.includes("left") ? { left: Math.max(m - n, g) } : { left: Math.min(_, c) };