@silurus/ooxml 0.78.0 → 0.79.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.
Files changed (46) hide show
  1. package/README.md +39 -1
  2. package/THIRD_PARTY_NOTICES.md +13 -0
  3. package/dist/{canvas-viewer-mechanics-ChxLdOJg.js → canvas-viewer-mechanics-D9tsuHnG.js} +1 -1
  4. package/dist/chart-number-format-tjYUR9eS.js +435 -0
  5. package/dist/dash-Cyc-sevN.js +786 -0
  6. package/dist/{document-pull-client-xsdVDuVD.js → document-pull-client-YiU8M4LO.js} +3283 -3156
  7. package/dist/{docx-CZC3j4s4.js → docx-a1UpmRf8.js} +65 -56
  8. package/dist/docx.mjs +4 -4
  9. package/dist/docx_parser_bg.wasm +0 -0
  10. package/dist/index.mjs +3 -3
  11. package/dist/{line-distribute-HuZyTARz.js → line-distribute-pDqovJpT.js} +1 -1
  12. package/dist/{line-metrics-z9AdgPaZ.js → line-metrics-DjKxiIUD.js} +4097 -3184
  13. package/dist/math.mjs +1 -1
  14. package/dist/node.mjs +322 -322
  15. package/dist/{pptx-c3UgGKIs.js → pptx-t5ABdzfd.js} +192 -183
  16. package/dist/pptx.mjs +5 -5
  17. package/dist/pptx_parser_bg.wasm +0 -0
  18. package/dist/region-map.mjs +12708 -0
  19. package/dist/{render-yhFUeiYl.js → render-BjIEuFIG.js} +1 -1
  20. package/dist/render-worker-host-BB320snY.js +27 -0
  21. package/dist/render-worker-host-BjEPZBwf.js +27 -0
  22. package/dist/render-worker-host-hZ0o4OD7.js +27 -0
  23. package/dist/{resource-measurement-5g27Av6n.js → resource-measurement-D8EiTm_E.js} +1 -1
  24. package/dist/{session-BOuXp10X.js → session-Bhe_eY-s.js} +10 -10
  25. package/dist/{slide-pull-client-DKckZrLx.js → slide-pull-client-BQ8gJPTq.js} +626 -563
  26. package/dist/three-d.mjs +2158 -0
  27. package/dist/types/docx.d.ts +189 -16
  28. package/dist/types/index.d.ts +205 -20
  29. package/dist/types/math.d.ts +1 -1
  30. package/dist/types/node.d.ts +166 -1
  31. package/dist/types/pptx.d.ts +191 -16
  32. package/dist/types/region-map.d.ts +520 -0
  33. package/dist/types/three-d.d.ts +520 -0
  34. package/dist/types/xlsx.d.ts +195 -16
  35. package/dist/{worksheet-pull-client-CMDRPZ5E.js → worksheet-pull-client-T0EzdEEQ.js} +13 -13
  36. package/dist/{xlsx-BAScjxlC.js → xlsx-CsDDMJIK.js} +833 -770
  37. package/dist/xlsx.mjs +5 -5
  38. package/dist/xlsx_parser_bg.wasm +0 -0
  39. package/package.json +13 -1
  40. package/dist/render-worker-host-BzxTAscX.js +0 -27
  41. package/dist/render-worker-host-CBjWHxMb.js +0 -27
  42. package/dist/render-worker-host-Ivhx3KII.js +0 -27
  43. /package/dist/{highlight-rect-CAkCWJ37.js → highlight-rect-cCvVU-MW.js} +0 -0
  44. /package/dist/{mathjax-CMjda8Ip.js → mathjax-Dqo857oC.js} +0 -0
  45. /package/dist/{transfer-DCu4c2BL.js → transfer-3QEJrsJa.js} +0 -0
  46. /package/dist/{visible-index-CgyJLAS_.js → visible-index-CKvgpUrf.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { At as e, Mt as t, wt as n, yt as r } from "./line-metrics-z9AdgPaZ.js";
1
+ import { At as e, Mt as t, wt as n, yt as r } from "./line-metrics-DjKxiIUD.js";
2
2
  //#region packages/core/src/image/duotone-bitmap-by-path.ts
3
3
  function i(e, t) {
4
4
  return t ? `${e}|duo:${t.clr1}:${t.clr2}` : e;
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./chunk-DmhlhrBa.js";
2
- import { c as t, i as n } from "./slide-pull-client-DKckZrLx.js";
3
- import { B as r, F as i, H as a, I as o, K as s, P as c, R as l, at as u, dt as d, ft as f, gn as p, it as m, lt as h, ot as g, rt as _, st as v, ut as y } from "./line-metrics-z9AdgPaZ.js";
4
- import { t as b } from "./transfer-DCu4c2BL.js";
2
+ import { c as t, i as n } from "./slide-pull-client-BQ8gJPTq.js";
3
+ import { B as r, F as i, H as a, I as o, K as s, P as c, R as l, at as u, dt as d, ft as f, it as p, lt as m, ot as h, rt as g, sn as _, st as v, ut as y } from "./line-metrics-DjKxiIUD.js";
4
+ import { t as b } from "./transfer-3QEJrsJa.js";
5
5
  //#region packages/pptx/src/slide-cursor-operation.ts
6
6
  function x(e) {
7
7
  try {
8
- return _(e((e) => e.slide_cursor_resource_usage()));
8
+ return g(e((e) => e.slide_cursor_resource_usage()));
9
9
  } catch (e) {
10
10
  if (String(e).includes("slide cursor usage is unavailable")) return;
11
11
  throw e;
@@ -179,7 +179,7 @@ var te = "ooxml-pull-resetting", S = "ooxml-pull-reset-failed", ne = class {
179
179
  operationId: e.operationId,
180
180
  generation: e.generation,
181
181
  requestId: e.requestId,
182
- error: g(/* @__PURE__ */ Error("slide pull session is not open"))
182
+ error: h(/* @__PURE__ */ Error("slide pull session is not open"))
183
183
  }), Promise.resolve());
184
184
  }
185
185
  async dispatchSafely(e, t) {
@@ -194,7 +194,7 @@ var te = "ooxml-pull-resetting", S = "ooxml-pull-reset-failed", ne = class {
194
194
  operationId: e.operationId,
195
195
  generation: e.generation,
196
196
  requestId: e.requestId,
197
- error: g(n)
197
+ error: h(n)
198
198
  });
199
199
  } catch {}
200
200
  }
@@ -232,7 +232,7 @@ var te = "ooxml-pull-resetting", S = "ooxml-pull-reset-failed", ne = class {
232
232
  ...n,
233
233
  requestId: e++
234
234
  }, (e) => {
235
- e.kind === "error" && (r = m(e.error));
235
+ e.kind === "error" && (r = p(e.error));
236
236
  }), r) throw r;
237
237
  }
238
238
  this.sessions.clear(), await this.operationTail, this.pendingOpens.clear(), this.archive() && await this.executeArchive((e) => e.close_presentation_session()), this.coordinatorGeneration = new o(), this.resourceFailure = void 0;
@@ -268,7 +268,7 @@ var te = "ooxml-pull-resetting", S = "ooxml-pull-reset-failed", ne = class {
268
268
  operationId: e.operationId,
269
269
  generation: e.generation,
270
270
  requestId: e.requestId,
271
- error: g(this.lifecycleError())
271
+ error: h(this.lifecycleError())
272
272
  };
273
273
  }
274
274
  requireArchive() {
@@ -295,7 +295,7 @@ var te = "ooxml-pull-resetting", S = "ooxml-pull-reset-failed", ne = class {
295
295
  return x(this.executeArchive);
296
296
  }
297
297
  latchResourceFailure(e) {
298
- let t = e instanceof p ? e : u(e);
298
+ let t = e instanceof _ ? e : u(e);
299
299
  t && (this.resourceFailure ??= t);
300
300
  }
301
301
  staleLifecycleResponse(e) {
@@ -325,7 +325,7 @@ function C(e, t) {
325
325
  //#endregion
326
326
  //#region packages/core/src/internal/wasm-runtime-generation.ts
327
327
  function ie(e) {
328
- return d(e) ? new h(`WASM parser trapped and was recycled: ${e instanceof Error ? e.message : String(e)}`) : null;
328
+ return d(e) ? new m(`WASM parser trapped and was recycled: ${e instanceof Error ? e.message : String(e)}`) : null;
329
329
  }
330
330
  var w = class {
331
331
  realm;