@silurus/ooxml 0.89.0 → 0.89.2

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 (68) hide show
  1. package/THIRD_PARTY_NOTICES.md +1 -1
  2. package/dist/assets/render-worker-Bye3wDV9.js +35 -0
  3. package/dist/assets/render-worker-CyUrUidp.js +16 -0
  4. package/dist/assets/render-worker-D_SMt5nl.js +15 -0
  5. package/dist/bounded-raw-part-cache-C3daknU-.js +33925 -0
  6. package/dist/{canvas-viewer-mechanics-DfQqRKkD.js → canvas-viewer-mechanics-SZWSnn6j.js} +2 -2
  7. package/dist/{cfb-guard-9QTRTg7f.js → cfb-guard-dNeUiANF.js} +1 -1
  8. package/dist/chart-ex.mjs +477 -477
  9. package/dist/{comment-overlay-controller-B5_zGgG5.js → comment-overlay-controller-CHDxT0e7.js} +16 -16
  10. package/dist/{comment-ui-runtime-Jy-3goA9.js → comment-ui-runtime-BcwaRnMR.js} +3 -3
  11. package/dist/{comment-ui-runtime-D_sb2K6s.js → comment-ui-runtime-Dk2qrPy_.js} +3 -3
  12. package/dist/{document-model-source-BKNrXjAL.js → document-model-source-BD2VSd2L.js} +44 -44
  13. package/dist/{document-pull-client-CxONDGbk.js → document-pull-client-DhSGspvi.js} +6102 -7994
  14. package/dist/{document-pull-worker-AMyXYpPq.js → document-pull-worker-D-E0Iz3P.js} +18 -18
  15. package/dist/{docx-DhDnKEI6.js → docx-CCZBO1WQ.js} +556 -556
  16. package/dist/{docx-D91ER1_S.js → docx-CXfILbzI.js} +24 -24
  17. package/dist/{docx-model-source-CdrSt3hF.js → docx-model-source-Ci6xb487.js} +12 -12
  18. package/dist/docx.mjs +4 -4
  19. package/dist/docx_parser_bg.wasm +0 -0
  20. package/dist/{drawingml-shape-ChcGZNd8.js → drawingml-shape-Bp0yEZHC.js} +55 -55
  21. package/dist/{duotone-ekYik4ix.js → duotone-DN8P4aXe.js} +1 -1
  22. package/dist/{emf-UT6I8rVi.js → emf-CGFQIz6c.js} +60 -60
  23. package/dist/{font-preload-demand-CdJZUMCT.js → font-preload-demand-CGOB-MoE.js} +2 -2
  24. package/dist/{grid-geometry-uQOgViJU.js → grid-geometry-C3IG20ut.js} +1 -1
  25. package/dist/{host-layout-measure-CCEgaC_v.js → host-layout-measure-BAysJILu.js} +1 -1
  26. package/dist/index.mjs +3 -3
  27. package/dist/internal-companion.mjs +2 -2
  28. package/dist/{line-distribute-CPOV6csk.js → line-distribute-DhQqysA2.js} +153 -70
  29. package/dist/{model-source-DJGzDtGb.js → model-source-BkmyX_r-.js} +4 -4
  30. package/dist/{model-source-session-Bu9CHFHc.js → model-source-session-CF4iXav8.js} +18 -18
  31. package/dist/{model-source-session-sKpNiIJI.js → model-source-session-CJmkItIK.js} +10 -10
  32. package/dist/{model-source-session-CDuijwv1.js → model-source-session-CnPCTRDD.js} +2 -2
  33. package/dist/node.mjs +5 -5
  34. package/dist/{bounded-raw-part-cache-B7JoC1CD.js → plot-area-frame-Bs_j4uu7.js} +15189 -37964
  35. package/dist/{pptx-C_uxLVKB.js → pptx-BhmLP_Ed.js} +9 -9
  36. package/dist/{pptx-CDP9dZHe.js → pptx-Bo9hCGQU.js} +58 -58
  37. package/dist/{pptx-model-source-O7LhpOjz.js → pptx-model-source-J0SrVkO6.js} +5 -5
  38. package/dist/pptx.mjs +5 -5
  39. package/dist/pptx_parser_bg.wasm +0 -0
  40. package/dist/{presentation-model-source-tmROzteR.js → presentation-model-source-CebYmrOD.js} +5 -5
  41. package/dist/region-map.mjs +53 -53
  42. package/dist/{render-CJVglUHl.js → render-hT2OVZUi.js} +2 -2
  43. package/dist/{render-worker-host-CyxPU4JU.js → render-worker-host-BmAQ-sWT.js} +1 -1
  44. package/dist/{render-worker-host-aF6aWkC0.js → render-worker-host-Cz224I38.js} +1 -1
  45. package/dist/{render-worker-host-BseIaVvm.js → render-worker-host-Desevuoc.js} +1 -1
  46. package/dist/renderer-BFWqhLEt.js +5833 -0
  47. package/dist/{renderer-CkGLj0CC.js → renderer-CvZ4JmoL.js} +696 -696
  48. package/dist/{resource-measurement-mXw-WjMF.js → resource-measurement-DBiUwblM.js} +162 -161
  49. package/dist/{session-Csv9maad.js → session-CWDKFWCh.js} +176 -176
  50. package/dist/{slide-pull-client-DRZYwBTu.js → slide-pull-client-BuBvXMyc.js} +1454 -1484
  51. package/dist/{three-d-BK5siJgJ.js → three-d-BKwNPAP4.js} +107 -107
  52. package/dist/three-d.mjs +625 -625
  53. package/dist/{wasm-runtime-generation-DX4y0Ecl.js → wasm-runtime-generation-BWGfM44b.js} +4 -4
  54. package/dist/{workbook-model-source-BTC4ISTS.js → workbook-model-source-Che8Zbjw.js} +6 -6
  55. package/dist/worker-source-DrwhR9fw.js +22 -0
  56. package/dist/{worksheet-pull-client-CkHgbtyM.js → worksheet-pull-client-Cxzj6uuB.js} +74 -74
  57. package/dist/{xlsx-D5569TPf.js → xlsx-C5BSwMUd.js} +24 -24
  58. package/dist/{xlsx-CpSDPAEU.js → xlsx-CUVUep5I.js} +433 -421
  59. package/dist/{xlsx-model-source-DPSkjFic.js → xlsx-model-source-C3_PiPBo.js} +55 -55
  60. package/dist/xlsx.mjs +5 -5
  61. package/dist/xlsx_parser_bg.wasm +0 -0
  62. package/package.json +2 -2
  63. package/dist/assets/render-worker-CUOU6mL2.js +0 -16
  64. package/dist/assets/render-worker-DOqrFhSU.js +0 -15
  65. package/dist/assets/render-worker-DvWUdZUN.js +0 -35
  66. package/dist/plot-area-frame-CaJFvZ7p.js +0 -8502
  67. package/dist/renderer-Czw1cCC7.js +0 -5823
  68. package/dist/worker-source-I1cIYBel.js +0 -22
@@ -1,6 +1,6 @@
1
- import { $a as e } from "./plot-area-frame-CaJFvZ7p.js";
2
- import { A as t, En as n, H as r, Tn as i, Y as a, j as o, k as s, q as c } from "./bounded-raw-part-cache-B7JoC1CD.js";
3
- import { S as l } from "./worksheet-pull-client-CkHgbtyM.js";
1
+ import { vo as e } from "./plot-area-frame-Bs_j4uu7.js";
2
+ import { B as t, D as n, G as r, O as i, k as a, ln as o, q as s, un as c } from "./bounded-raw-part-cache-C3daknU-.js";
3
+ import { S as l } from "./worksheet-pull-client-Cxzj6uuB.js";
4
4
  //#region packages/docx/src/internal/parser-errors.ts
5
5
  var u = "OOXML_DOCX_ILVL:";
6
6
  function d(t) {
@@ -27,12 +27,12 @@ function p(e) {
27
27
  //#endregion
28
28
  //#region packages/docx/src/document-pull-worker.ts
29
29
  function m(e) {
30
- let t = e((e) => e.document_cursor_resource_usage?.());
31
- return t ? r(t) : void 0;
30
+ let n = e((e) => e.document_cursor_resource_usage?.());
31
+ return n ? t(n) : void 0;
32
32
  }
33
- var h = Math.max(i, n), g = class {
33
+ var h = Math.max(o, c), g = class {
34
34
  archive;
35
- coordinator = new o();
35
+ coordinator = new a();
36
36
  host = null;
37
37
  identity = null;
38
38
  executeArchive;
@@ -44,18 +44,18 @@ var h = Math.max(i, n), g = class {
44
44
  this.executeArchive((t) => {
45
45
  t.open_document_cursor(e.operationId, e.generation);
46
46
  });
47
- let n = 0;
48
- this.identity = e, this.host = new t({
47
+ let t = 0;
48
+ this.identity = e, this.host = new i({
49
49
  ...e,
50
50
  maxByteCredit: h,
51
51
  coordinator: this.coordinator,
52
52
  driver: {
53
- pull: (t) => {
53
+ pull: (n) => {
54
54
  let r;
55
55
  try {
56
- r = this.executeArchive((r) => r.pull_document_chunk(n, e.operationId, e.generation, t));
56
+ r = this.executeArchive((r) => r.pull_document_chunk(t, e.operationId, e.generation, n));
57
57
  } catch (e) {
58
- throw a(e, t, h) || e;
58
+ throw s(e, n, h) || e;
59
59
  }
60
60
  let i = l(r);
61
61
  return {
@@ -66,9 +66,9 @@ var h = Math.max(i, n), g = class {
66
66
  };
67
67
  },
68
68
  measureChunk: ({ payload: e }) => e.byteLength,
69
- acknowledge: (t) => {
70
- if (t !== n) throw Error("DOCX document acknowledgement sequence mismatch");
71
- this.executeArchive((t) => t.acknowledge_document_chunk(n, e.operationId, e.generation)), n += 1;
69
+ acknowledge: (n) => {
70
+ if (n !== t) throw Error("DOCX document acknowledgement sequence mismatch");
71
+ this.executeArchive((n) => n.acknowledge_document_chunk(t, e.operationId, e.generation)), t += 1;
72
72
  },
73
73
  cancel: () => this.executeArchive((e) => e.cancel_document_cursor()),
74
74
  close: () => this.executeArchive((e) => e.close_document_session()),
@@ -78,20 +78,20 @@ var h = Math.max(i, n), g = class {
78
78
  }
79
79
  dispatch(e, t) {
80
80
  return !this.host || !this.identity ? (t({
81
- protocol: s,
81
+ protocol: n,
82
82
  kind: "error",
83
83
  sessionId: e.sessionId,
84
84
  operationId: e.operationId,
85
85
  generation: e.generation,
86
86
  requestId: e.requestId,
87
- error: c(/* @__PURE__ */ Error("DOCX document pull session is not open"))
87
+ error: r(/* @__PURE__ */ Error("DOCX document pull session is not open"))
88
88
  }), Promise.resolve()) : this.host.dispatch(e, t);
89
89
  }
90
90
  async reset() {
91
91
  if (this.host) try {
92
92
  this.archive() && this.executeArchive((e) => e.close_document_session());
93
93
  } finally {
94
- this.host = null, this.identity = null, this.coordinator = new o();
94
+ this.host = null, this.identity = null, this.coordinator = new a();
95
95
  }
96
96
  }
97
97
  requireArchive() {