@univerjs/engine-render 0.9.0 → 0.9.1-nightly.202507041607

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
@@ -44163,11 +44163,14 @@ function ue(r, t = -1) {
44163
44163
  }
44164
44164
  function V0(r, t) {
44165
44165
  de(t, (e, a, s, n) => {
44166
- var h, p, f, m;
44167
- const { segmentId: i } = n, o = (h = r.paragraphConfigCache.get(i)) == null ? void 0 : h.get(e.paragraphIndex), l = o == null ? void 0 : o.paragraphInlineSkeDrawings, u = (m = (f = (p = r.skeletonResourceReference) == null ? void 0 : p.drawingAnchor) == null ? void 0 : f.get(i)) == null ? void 0 : m.get(e.paragraphIndex);
44166
+ var c, g, h, p;
44167
+ const { segmentId: i } = n, o = (c = r.paragraphConfigCache.get(i)) == null ? void 0 : c.get(e.paragraphIndex), l = o == null ? void 0 : o.paragraphInlineSkeDrawings, u = (p = (h = (g = r.skeletonResourceReference) == null ? void 0 : g.drawingAnchor) == null ? void 0 : h.get(i)) == null ? void 0 : p.get(e.paragraphIndex);
44168
44168
  l && l.size > 0 && Oy(e, l, u == null ? void 0 : u.top);
44169
- const d = o == null ? void 0 : o.paragraphStyle, c = e.divides[e.divides.length - 1];
44170
- c.glyphGroup[c.glyphGroup.length - 1].streamType === J.PARAGRAPH && (d != null && d.borderBottom) && (e.borderBottom = d.borderBottom);
44169
+ const d = o == null ? void 0 : o.paragraphStyle;
44170
+ if (e.divides.length > 0) {
44171
+ const f = e.divides[e.divides.length - 1];
44172
+ f.glyphGroup[f.glyphGroup.length - 1].streamType === J.PARAGRAPH && (d != null && d.borderBottom) && (e.borderBottom = d.borderBottom);
44173
+ }
44171
44174
  });
44172
44175
  }
44173
44176
  function OB(r, t) {
package/lib/index.js CHANGED
@@ -44163,11 +44163,14 @@ function ue(r, t = -1) {
44163
44163
  }
44164
44164
  function V0(r, t) {
44165
44165
  de(t, (e, a, s, n) => {
44166
- var h, p, f, m;
44167
- const { segmentId: i } = n, o = (h = r.paragraphConfigCache.get(i)) == null ? void 0 : h.get(e.paragraphIndex), l = o == null ? void 0 : o.paragraphInlineSkeDrawings, u = (m = (f = (p = r.skeletonResourceReference) == null ? void 0 : p.drawingAnchor) == null ? void 0 : f.get(i)) == null ? void 0 : m.get(e.paragraphIndex);
44166
+ var c, g, h, p;
44167
+ const { segmentId: i } = n, o = (c = r.paragraphConfigCache.get(i)) == null ? void 0 : c.get(e.paragraphIndex), l = o == null ? void 0 : o.paragraphInlineSkeDrawings, u = (p = (h = (g = r.skeletonResourceReference) == null ? void 0 : g.drawingAnchor) == null ? void 0 : h.get(i)) == null ? void 0 : p.get(e.paragraphIndex);
44168
44168
  l && l.size > 0 && Oy(e, l, u == null ? void 0 : u.top);
44169
- const d = o == null ? void 0 : o.paragraphStyle, c = e.divides[e.divides.length - 1];
44170
- c.glyphGroup[c.glyphGroup.length - 1].streamType === J.PARAGRAPH && (d != null && d.borderBottom) && (e.borderBottom = d.borderBottom);
44169
+ const d = o == null ? void 0 : o.paragraphStyle;
44170
+ if (e.divides.length > 0) {
44171
+ const f = e.divides[e.divides.length - 1];
44172
+ f.glyphGroup[f.glyphGroup.length - 1].streamType === J.PARAGRAPH && (d != null && d.borderBottom) && (e.borderBottom = d.borderBottom);
44173
+ }
44171
44174
  });
44172
44175
  }
44173
44176
  function OB(r, t) {