@forevka/wordcanvas 0.2.0 → 0.3.0
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/README.md +4 -2
- package/dist-lib/assets/{engine-DZ0JqUhP.js → engine-BVd9_fny.js} +1126 -1125
- package/dist-lib/assets/{worker-DL4Rxrg-.js → worker-C35TK5Ee.js} +1 -1
- package/dist-lib/builder.js +1 -1
- package/dist-lib/{editorApp-Dl_Glngl.js → editorApp-DYckquXo.js} +5464 -5158
- package/dist-lib/{types-C2taeCu4.js → types-5-egHV_r.js} +5 -5
- package/dist-lib/wordcanvas.js +65 -2
- package/package.json +1 -1
- package/dist-lib/wordcanvas-CgZ_uuf9.js +0 -373
|
@@ -29655,7 +29655,7 @@ function po(B) {
|
|
|
29655
29655
|
const IM = 72 / 96;
|
|
29656
29656
|
async function vo(B, A = {}) {
|
|
29657
29657
|
await no();
|
|
29658
|
-
const { createLayoutEngine: Q } = await import("./engine-
|
|
29658
|
+
const { createLayoutEngine: Q } = await import("./engine-BVd9_fny.js"), E = Q().layout(B), g = new oc(), w = A.images ?? {}, C = new iw({ autoFirstPage: !1, compress: !0, font: !1 }), I = qo(C), M = /* @__PURE__ */ new Set(), D = {
|
|
29659
29659
|
doc: C,
|
|
29660
29660
|
font: (c, y, j) => {
|
|
29661
29661
|
const e = xc(c, y, j);
|
package/dist-lib/builder.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as Ve, D as Ct, a as Bt, I as pe, n as It, W as Lt, B as it, b as Mt, c as qe } from "./types-
|
|
1
|
+
import { d as Ve, D as Ct, a as Bt, I as pe, n as It, W as Lt, B as it, b as Mt, c as qe } from "./types-5-egHV_r.js";
|
|
2
2
|
function Rt(n) {
|
|
3
3
|
let e = "";
|
|
4
4
|
for (let o = 0; o < n.length; o += 32768)
|