@silurus/ooxml 0.83.0 → 0.83.1
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 +2 -2
- package/dist/assets/{render-worker-DuztdEcX.js → render-worker-4GSYWsM3.js} +1 -1
- package/dist/assets/{render-worker-Bu31cf1J.js → render-worker-DwFpY197.js} +1 -1
- package/dist/{document-pull-client-BAhqoTmm.js → document-pull-client-DSx36ZsB.js} +20 -9
- package/dist/{docx-Dg73PGgC.js → docx-BF-WKW73.js} +365 -288
- package/dist/docx.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/node.mjs +5 -5
- package/dist/{pptx-BcUCETmQ.js → pptx-CA-Q09yW.js} +205 -185
- package/dist/pptx.mjs +2 -2
- package/dist/{render-CL-7V3E8.js → render-DtbFbO5c.js} +1 -1
- package/dist/{render-worker-host-FJ19-fUI.js → render-worker-host-D1jcACJV.js} +1 -1
- package/dist/{render-worker-host-DDZo0feh.js → render-worker-host-DCLyw6UR.js} +1 -1
- package/dist/{session-BjydZEDF.js → session-CxT-t0BX.js} +1 -1
- package/dist/{slide-pull-client-CwvvncPA.js → slide-pull-client-B9rcJdO4.js} +83 -53
- package/dist/types/docx.d.ts +6 -1
- package/dist/types/index.d.ts +13 -2
- package/dist/types/pptx.d.ts +7 -1
- package/package.json +1 -1
|
@@ -8335,6 +8335,7 @@ var xd = class {
|
|
|
8335
8335
|
#r;
|
|
8336
8336
|
#i;
|
|
8337
8337
|
#a = null;
|
|
8338
|
+
#o = /* @__PURE__ */ new Set();
|
|
8338
8339
|
constructor(e, t, n) {
|
|
8339
8340
|
this.#e = e, this.#r = Object.freeze({ ...t }), this.#i = Kr(this.#r, this.#e), this.#t = n;
|
|
8340
8341
|
}
|
|
@@ -8346,7 +8347,7 @@ var xd = class {
|
|
|
8346
8347
|
}
|
|
8347
8348
|
select(e) {
|
|
8348
8349
|
let t = Object.isFrozen(e) ? e : Object.freeze({ ...e }), n = Kr(t, this.#e), r = this.#n.get(n);
|
|
8349
|
-
return r || (
|
|
8350
|
+
return r || (this.#c(n, t), r = vd(this.#t(t)), this.#n.set(n, r)), Object.freeze({
|
|
8350
8351
|
key: n,
|
|
8351
8352
|
options: t,
|
|
8352
8353
|
layout: r
|
|
@@ -8360,16 +8361,26 @@ var xd = class {
|
|
|
8360
8361
|
});
|
|
8361
8362
|
}
|
|
8362
8363
|
prime(e, t) {
|
|
8363
|
-
let n =
|
|
8364
|
-
return this.#n.get(
|
|
8364
|
+
let n = Object.isFrozen(e) ? e : Object.freeze({ ...e }), r = Kr(n, this.#e);
|
|
8365
|
+
return this.#n.get(r) || this.#s(r, n, t);
|
|
8365
8366
|
}
|
|
8366
8367
|
replaceIfCurrent(e, t, n) {
|
|
8367
|
-
let r =
|
|
8368
|
-
return (this.#n.get(
|
|
8369
|
-
}
|
|
8370
|
-
#
|
|
8371
|
-
|
|
8372
|
-
|
|
8368
|
+
let r = Object.isFrozen(e) ? e : Object.freeze({ ...e }), i = Kr(r, this.#e);
|
|
8369
|
+
return (this.#n.get(i) ?? null) === t ? this.#s(i, r, n) : null;
|
|
8370
|
+
}
|
|
8371
|
+
#s(e, t, n) {
|
|
8372
|
+
this.#c(e, t);
|
|
8373
|
+
let r = vd(n);
|
|
8374
|
+
return this.#n.set(e, r), r;
|
|
8375
|
+
}
|
|
8376
|
+
#c(e, t) {
|
|
8377
|
+
if (e !== this.#i) {
|
|
8378
|
+
if (this.#a !== t.currentDateMs) {
|
|
8379
|
+
for (let e of this.#o) this.#n.delete(e);
|
|
8380
|
+
this.#o.clear(), this.#a = t.currentDateMs;
|
|
8381
|
+
}
|
|
8382
|
+
this.#o.add(e);
|
|
8383
|
+
}
|
|
8373
8384
|
}
|
|
8374
8385
|
hasLayoutFor(e) {
|
|
8375
8386
|
return this.#n.has(Kr(e, this.#e));
|