@silurus/ooxml 0.64.1 → 0.64.3

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.
@@ -30177,17 +30177,17 @@ function Tr(e, t, n = {}) {
30177
30177
  };
30178
30178
  }
30179
30179
  //#endregion
30180
- //#region packages/core/src/text/justify-draw.ts
30181
- function Er(e, t, n, r) {
30182
- let i = [], a = 0, o = 0;
30183
- for (let s of t) i.push({
30184
- text: e.slice(a, s).join(""),
30185
- dx: r(e.slice(0, a).join("")) + o * n
30186
- }), a = s, o++;
30187
- return i.push({
30188
- text: e.slice(a).join(""),
30189
- dx: r(e.slice(0, a).join("")) + o * n
30190
- }), i;
30180
+ //#region packages/core/src/text/justify-positions.ts
30181
+ function Er(e, t, n, r, i = 0) {
30182
+ let a = [], o = 0, s = 0;
30183
+ for (let c of t) a.push({
30184
+ text: e.slice(o, c).join(""),
30185
+ dx: r(e.slice(0, o).join("")) + o * i + s * n
30186
+ }), o = c, s++;
30187
+ return a.push({
30188
+ text: e.slice(o).join(""),
30189
+ dx: r(e.slice(0, o).join("")) + o * i + s * n
30190
+ }), a;
30191
30191
  }
30192
30192
  //#endregion
30193
30193
  export { s as $, it as A, De as B, St as C, ut as D, dt as E, Be as F, A as G, L as H, ze as I, d as J, j as K, Le as L, rt as M, Ke as N, st as O, Ge as P, m as Q, ke as R, wt as S, lt as T, R as U, I as V, F as W, l as X, p as Y, c as Z, ln as _, xr as a, jt as b, vr as c, Ln as d, t as et, In as f, cn as g, un as h, Sr as i, Qe as j, $e as k, mr as l, Pn as m, Tr as n, br as o, Fn as p, u as q, Cr as r, yr as s, Er as t, pr as u, Qt as v, Ct as w, Nt as x, an as y, Oe as z };