@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.
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/assets/render-worker-Bye3wDV9.js +35 -0
- package/dist/assets/render-worker-CyUrUidp.js +16 -0
- package/dist/assets/render-worker-D_SMt5nl.js +15 -0
- package/dist/bounded-raw-part-cache-C3daknU-.js +33925 -0
- package/dist/{canvas-viewer-mechanics-DfQqRKkD.js → canvas-viewer-mechanics-SZWSnn6j.js} +2 -2
- package/dist/{cfb-guard-9QTRTg7f.js → cfb-guard-dNeUiANF.js} +1 -1
- package/dist/chart-ex.mjs +477 -477
- package/dist/{comment-overlay-controller-B5_zGgG5.js → comment-overlay-controller-CHDxT0e7.js} +16 -16
- package/dist/{comment-ui-runtime-Jy-3goA9.js → comment-ui-runtime-BcwaRnMR.js} +3 -3
- package/dist/{comment-ui-runtime-D_sb2K6s.js → comment-ui-runtime-Dk2qrPy_.js} +3 -3
- package/dist/{document-model-source-BKNrXjAL.js → document-model-source-BD2VSd2L.js} +44 -44
- package/dist/{document-pull-client-CxONDGbk.js → document-pull-client-DhSGspvi.js} +6102 -7994
- package/dist/{document-pull-worker-AMyXYpPq.js → document-pull-worker-D-E0Iz3P.js} +18 -18
- package/dist/{docx-DhDnKEI6.js → docx-CCZBO1WQ.js} +556 -556
- package/dist/{docx-D91ER1_S.js → docx-CXfILbzI.js} +24 -24
- package/dist/{docx-model-source-CdrSt3hF.js → docx-model-source-Ci6xb487.js} +12 -12
- package/dist/docx.mjs +4 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{drawingml-shape-ChcGZNd8.js → drawingml-shape-Bp0yEZHC.js} +55 -55
- package/dist/{duotone-ekYik4ix.js → duotone-DN8P4aXe.js} +1 -1
- package/dist/{emf-UT6I8rVi.js → emf-CGFQIz6c.js} +60 -60
- package/dist/{font-preload-demand-CdJZUMCT.js → font-preload-demand-CGOB-MoE.js} +2 -2
- package/dist/{grid-geometry-uQOgViJU.js → grid-geometry-C3IG20ut.js} +1 -1
- package/dist/{host-layout-measure-CCEgaC_v.js → host-layout-measure-BAysJILu.js} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +2 -2
- package/dist/{line-distribute-CPOV6csk.js → line-distribute-DhQqysA2.js} +153 -70
- package/dist/{model-source-DJGzDtGb.js → model-source-BkmyX_r-.js} +4 -4
- package/dist/{model-source-session-Bu9CHFHc.js → model-source-session-CF4iXav8.js} +18 -18
- package/dist/{model-source-session-sKpNiIJI.js → model-source-session-CJmkItIK.js} +10 -10
- package/dist/{model-source-session-CDuijwv1.js → model-source-session-CnPCTRDD.js} +2 -2
- package/dist/node.mjs +5 -5
- package/dist/{bounded-raw-part-cache-B7JoC1CD.js → plot-area-frame-Bs_j4uu7.js} +15189 -37964
- package/dist/{pptx-C_uxLVKB.js → pptx-BhmLP_Ed.js} +9 -9
- package/dist/{pptx-CDP9dZHe.js → pptx-Bo9hCGQU.js} +58 -58
- package/dist/{pptx-model-source-O7LhpOjz.js → pptx-model-source-J0SrVkO6.js} +5 -5
- package/dist/pptx.mjs +5 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{presentation-model-source-tmROzteR.js → presentation-model-source-CebYmrOD.js} +5 -5
- package/dist/region-map.mjs +53 -53
- package/dist/{render-CJVglUHl.js → render-hT2OVZUi.js} +2 -2
- package/dist/{render-worker-host-CyxPU4JU.js → render-worker-host-BmAQ-sWT.js} +1 -1
- package/dist/{render-worker-host-aF6aWkC0.js → render-worker-host-Cz224I38.js} +1 -1
- package/dist/{render-worker-host-BseIaVvm.js → render-worker-host-Desevuoc.js} +1 -1
- package/dist/renderer-BFWqhLEt.js +5833 -0
- package/dist/{renderer-CkGLj0CC.js → renderer-CvZ4JmoL.js} +696 -696
- package/dist/{resource-measurement-mXw-WjMF.js → resource-measurement-DBiUwblM.js} +162 -161
- package/dist/{session-Csv9maad.js → session-CWDKFWCh.js} +176 -176
- package/dist/{slide-pull-client-DRZYwBTu.js → slide-pull-client-BuBvXMyc.js} +1454 -1484
- package/dist/{three-d-BK5siJgJ.js → three-d-BKwNPAP4.js} +107 -107
- package/dist/three-d.mjs +625 -625
- package/dist/{wasm-runtime-generation-DX4y0Ecl.js → wasm-runtime-generation-BWGfM44b.js} +4 -4
- package/dist/{workbook-model-source-BTC4ISTS.js → workbook-model-source-Che8Zbjw.js} +6 -6
- package/dist/worker-source-DrwhR9fw.js +22 -0
- package/dist/{worksheet-pull-client-CkHgbtyM.js → worksheet-pull-client-Cxzj6uuB.js} +74 -74
- package/dist/{xlsx-D5569TPf.js → xlsx-C5BSwMUd.js} +24 -24
- package/dist/{xlsx-CpSDPAEU.js → xlsx-CUVUep5I.js} +433 -421
- package/dist/{xlsx-model-source-DPSkjFic.js → xlsx-model-source-C3_PiPBo.js} +55 -55
- package/dist/xlsx.mjs +5 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +2 -2
- package/dist/assets/render-worker-CUOU6mL2.js +0 -16
- package/dist/assets/render-worker-DOqrFhSU.js +0 -15
- package/dist/assets/render-worker-DvWUdZUN.js +0 -35
- package/dist/plot-area-frame-CaJFvZ7p.js +0 -8502
- package/dist/renderer-Czw1cCC7.js +0 -5823
- package/dist/worker-source-I1cIYBel.js +0 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as e, Jr as t, Xr as n, Yr as r, Zr as i, kr as a } from "./plot-area-frame-Bs_j4uu7.js";
|
|
2
2
|
import { f as o, o as s, s as c, t as l, u } from "./pixel-budget-BpTYrepD.js";
|
|
3
3
|
//#region packages/core/src/image/emf-plus.ts
|
|
4
4
|
var d = {
|
|
@@ -379,30 +379,30 @@ var w = class {
|
|
|
379
379
|
let n = this.world, r = (n.a * e + n.c * t + n.e) * this.pageScale, i = (n.b * e + n.d * t + n.f) * this.pageScale, a = this.target;
|
|
380
380
|
return [(r - a.left) * a.W / a.boundsW, (i - a.top) * a.H / a.boundsH];
|
|
381
381
|
}
|
|
382
|
-
drawImage(
|
|
383
|
-
let
|
|
384
|
-
if (
|
|
385
|
-
let i = this.objects.get(
|
|
382
|
+
drawImage(e, t) {
|
|
383
|
+
let n = (t.flags & 16384) != 0;
|
|
384
|
+
if (t.end - t.start < 24 + (n ? 8 : 16)) throw RangeError("Truncated EMF+ DrawImage");
|
|
385
|
+
let i = this.objects.get(t.flags & 255);
|
|
386
386
|
if (i?.kind !== "image") {
|
|
387
387
|
this.target.unsupported.add("EMF+ DrawImage of an unavailable image");
|
|
388
388
|
return;
|
|
389
389
|
}
|
|
390
390
|
let a = i.bitmap;
|
|
391
|
-
if (this.objects.get(
|
|
391
|
+
if (this.objects.get(e.getUint32(t.start, !0))?.kind !== "attributes") {
|
|
392
392
|
this.target.unsupported.add("EMF+ DrawImage without its image attributes");
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
let o =
|
|
395
|
+
let o = e.getInt32(t.start + 4, !0), s = (n) => e.getFloat32(t.start + n, !0), [c, l, u, d] = [
|
|
396
396
|
s(8),
|
|
397
397
|
s(12),
|
|
398
398
|
s(16),
|
|
399
399
|
s(20)
|
|
400
|
-
], [f, p, m, h] =
|
|
400
|
+
], [f, p, m, h] = n ? [
|
|
401
401
|
0,
|
|
402
402
|
2,
|
|
403
403
|
4,
|
|
404
404
|
6
|
|
405
|
-
].map((
|
|
405
|
+
].map((n) => e.getInt16(t.start + 24 + n, !0)) : [
|
|
406
406
|
s(24),
|
|
407
407
|
s(28),
|
|
408
408
|
s(32),
|
|
@@ -459,7 +459,7 @@ var w = class {
|
|
|
459
459
|
if (this.sourceCopy) try {
|
|
460
460
|
A.clearRect(Math.min(v, b), Math.min(y, x), Math.abs(b - v), Math.abs(x - y));
|
|
461
461
|
} catch {}
|
|
462
|
-
|
|
462
|
+
r(A, k, v, y, b, x) ? this.target.drew = !0 : this.target.unsupported.add("EMF+ DrawImage (the bitmap could not be drawn)");
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
}, T = {
|
|
@@ -1197,37 +1197,37 @@ function Je(e) {
|
|
|
1197
1197
|
e.moveTo(-1e7, -1e7), e.lineTo(1e7, -1e7), e.lineTo(1e7, 1e7), e.lineTo(-1e7, 1e7), e.closePath();
|
|
1198
1198
|
}
|
|
1199
1199
|
function Ye(e) {
|
|
1200
|
-
let t = e.u32(), n = e.u32(),
|
|
1200
|
+
let t = e.u32(), n = e.u32(), r = e.i32();
|
|
1201
1201
|
e.i32();
|
|
1202
|
-
let
|
|
1202
|
+
let i = e.u32();
|
|
1203
1203
|
return [t, {
|
|
1204
1204
|
kind: "pen",
|
|
1205
|
-
stroke: (n & 255) == 5 ? null :
|
|
1206
|
-
width: Math.abs(
|
|
1205
|
+
stroke: (n & 255) == 5 ? null : a(i),
|
|
1206
|
+
width: Math.abs(r)
|
|
1207
1207
|
}];
|
|
1208
1208
|
}
|
|
1209
1209
|
function Xe(e) {
|
|
1210
1210
|
let t = e.u32();
|
|
1211
1211
|
e.skip(16);
|
|
1212
|
-
let n = e.u32(),
|
|
1212
|
+
let n = e.u32(), r = e.u32();
|
|
1213
1213
|
e.u32();
|
|
1214
|
-
let
|
|
1214
|
+
let i = e.u32();
|
|
1215
1215
|
return [t, {
|
|
1216
1216
|
kind: "pen",
|
|
1217
|
-
stroke: (n & 255) == 5 ? null :
|
|
1218
|
-
width: Math.abs(
|
|
1217
|
+
stroke: (n & 255) == 5 ? null : a(i),
|
|
1218
|
+
width: Math.abs(r)
|
|
1219
1219
|
}];
|
|
1220
1220
|
}
|
|
1221
1221
|
function Ze(e) {
|
|
1222
|
-
let t = e.u32(), n = e.u32(),
|
|
1222
|
+
let t = e.u32(), n = e.u32(), r = e.u32();
|
|
1223
1223
|
return e.u32(), [t, {
|
|
1224
1224
|
kind: "brush",
|
|
1225
|
-
fill: n === 1 ? null : r
|
|
1225
|
+
fill: n === 1 ? null : a(r)
|
|
1226
1226
|
}];
|
|
1227
1227
|
}
|
|
1228
|
-
function Qe(e, t,
|
|
1229
|
-
let c = e.pos -
|
|
1230
|
-
return
|
|
1228
|
+
function Qe(e, t, r, i, a, o, s) {
|
|
1229
|
+
let c = e.pos - r;
|
|
1230
|
+
return i < c || o < c ? null : n(t, r + i, a, r + o, s);
|
|
1231
1231
|
}
|
|
1232
1232
|
function $e(e, t, n) {
|
|
1233
1233
|
let r = e.u32();
|
|
@@ -1264,26 +1264,26 @@ function et(e, t, n) {
|
|
|
1264
1264
|
escapement: o
|
|
1265
1265
|
}];
|
|
1266
1266
|
}
|
|
1267
|
-
function tt(e,
|
|
1268
|
-
let
|
|
1269
|
-
if (
|
|
1270
|
-
|
|
1271
|
-
let o =
|
|
1272
|
-
if (
|
|
1267
|
+
function tt(e, n, r, i) {
|
|
1268
|
+
let a = n.pos + n.remaining;
|
|
1269
|
+
if (n.remaining < 48) throw RangeError("Truncated EMF text record");
|
|
1270
|
+
n.skip(16), n.u32(), n.f32(), n.f32();
|
|
1271
|
+
let o = n.i32(), s = n.i32(), c = n.u32(), l = n.u32(), d = n.u32(), f = d & 256 ? 60 : 76;
|
|
1272
|
+
if (i + f > a) throw RangeError("Truncated EMF text header");
|
|
1273
1273
|
if (c === 0) return;
|
|
1274
|
-
if (l < f ||
|
|
1274
|
+
if (l < f || i + l + c * 2 > a) throw RangeError("Truncated EMF text string");
|
|
1275
1275
|
if (c > Ne) throw new u("metafile-record-text-units", Ne, c);
|
|
1276
1276
|
let p = "";
|
|
1277
1277
|
for (let e = 0; e < c; e++) {
|
|
1278
|
-
let t =
|
|
1279
|
-
if (t + 2 >
|
|
1280
|
-
p += String.fromCharCode(
|
|
1278
|
+
let t = i + l + e * 2;
|
|
1279
|
+
if (t + 2 > r.byteLength) break;
|
|
1280
|
+
p += String.fromCharCode(r.getUint16(t, !0));
|
|
1281
1281
|
}
|
|
1282
1282
|
if (p.length === 0) return;
|
|
1283
1283
|
let m = e.curFont, h = !1;
|
|
1284
1284
|
if (m?.charset === 2 && /[\uf000-\uf0ff]/.test(p)) {
|
|
1285
|
-
let
|
|
1286
|
-
|
|
1285
|
+
let n = d === 0 ? t(p, m.face, !0) : null;
|
|
1286
|
+
n === null ? Q(e, "EMR_EXTTEXTOUTW (unsupported symbol encoding)") : (p = n, h = !0), h && c > 1 && r.getUint32(i + f - 4, !0) !== 0 && Q(e, "EMR_EXTTEXTOUTW (symbol character advances)");
|
|
1287
1287
|
}
|
|
1288
1288
|
let g = Math.abs(m?.height ?? 0) * Ce(e) * Math.abs(z(e)) * we(e);
|
|
1289
1289
|
if (!Number.isFinite(g) || g < 1) return;
|
|
@@ -1306,15 +1306,15 @@ function tt(e, t, n, r) {
|
|
|
1306
1306
|
e.drew = !0;
|
|
1307
1307
|
} catch {}
|
|
1308
1308
|
}
|
|
1309
|
-
function nt(t, n,
|
|
1309
|
+
function nt(e, t, n, i, a, o, s, c, l, u, d, f) {
|
|
1310
1310
|
if (o === 0 || c === 0) return;
|
|
1311
|
-
let p = Qe(
|
|
1311
|
+
let p = Qe(t, n, i, a, o, s, c);
|
|
1312
1312
|
if (!p) {
|
|
1313
|
-
|
|
1313
|
+
e.unsupported.add("EMF bitmap (DIB encoding)");
|
|
1314
1314
|
return;
|
|
1315
1315
|
}
|
|
1316
|
-
let [m, h] = B(
|
|
1317
|
-
e
|
|
1316
|
+
let [m, h] = B(e, l, u), [g, _] = B(e, d, f);
|
|
1317
|
+
r(e.ctx, p, m, h, g, _) && (e.drew = !0);
|
|
1318
1318
|
}
|
|
1319
1319
|
function rt(e, t, n, r) {
|
|
1320
1320
|
t.skip(16);
|
|
@@ -1351,10 +1351,10 @@ function it(e, t, n, r) {
|
|
|
1351
1351
|
let u = t.i32(), d = t.i32();
|
|
1352
1352
|
nt(e, t, n, r, o, s, c, l, i, a, i + u, a + d);
|
|
1353
1353
|
}
|
|
1354
|
-
function at(
|
|
1354
|
+
function at(t, n, r, i, a = {}) {
|
|
1355
1355
|
let o = a;
|
|
1356
|
-
if (!t
|
|
1357
|
-
let s = new DataView(
|
|
1356
|
+
if (!e(t) || r <= 0 || i <= 0) return !1;
|
|
1357
|
+
let s = new DataView(t.buffer, t.byteOffset, t.byteLength), c = () => ({
|
|
1358
1358
|
ctx: n,
|
|
1359
1359
|
W: r,
|
|
1360
1360
|
H: i,
|
|
@@ -1396,20 +1396,20 @@ function at(e, n, r, i, a = {}) {
|
|
|
1396
1396
|
clipped: !1,
|
|
1397
1397
|
outerClipped: !1,
|
|
1398
1398
|
unsupported: /* @__PURE__ */ new Set()
|
|
1399
|
-
}), l = x(
|
|
1399
|
+
}), l = x(t), u = c();
|
|
1400
1400
|
if (l.play) {
|
|
1401
|
-
let
|
|
1402
|
-
if (ot(u,
|
|
1403
|
-
let
|
|
1401
|
+
let e = new w(u);
|
|
1402
|
+
if (ot(u, e, l.dual, s, t), e.drawFailed && l.dual) {
|
|
1403
|
+
let e = [...u.unsupported];
|
|
1404
1404
|
try {
|
|
1405
1405
|
n.clearRect(0, 0, r, i);
|
|
1406
1406
|
} catch {}
|
|
1407
|
-
u = c(), ot(u, null, !1, s,
|
|
1408
|
-
for (let
|
|
1407
|
+
u = c(), ot(u, null, !1, s, t);
|
|
1408
|
+
for (let t of e) u.unsupported.add(t);
|
|
1409
1409
|
}
|
|
1410
1410
|
} else {
|
|
1411
1411
|
if (!l.dual) for (let e of l.failures) u.unsupported.add(e);
|
|
1412
|
-
ot(u, null, !1, s,
|
|
1412
|
+
ot(u, null, !1, s, t);
|
|
1413
1413
|
}
|
|
1414
1414
|
return u.unsupported.size > 0 && a.onUnsupported?.([...u.unsupported]), u.drew;
|
|
1415
1415
|
}
|
|
@@ -1422,17 +1422,17 @@ function ot(e, t, n, r, i) {
|
|
|
1422
1422
|
for (let t = 0; t <= e.stack.length; t++) a.restore();
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
|
-
function st(e, t, n,
|
|
1425
|
+
function st(e, t, n, r, i) {
|
|
1426
1426
|
let s = e.ctx, c = 0;
|
|
1427
|
-
for (; c + 8 <=
|
|
1428
|
-
let l =
|
|
1429
|
-
if (u < 8 || u & 3 || c + u >
|
|
1427
|
+
for (; c + 8 <= i.length;) {
|
|
1428
|
+
let l = r.getUint32(c, !0), u = r.getUint32(c + 4, !0);
|
|
1429
|
+
if (u < 8 || u & 3 || c + u > i.length) {
|
|
1430
1430
|
e.unsupported.add("EMF record stream (truncated or invalid record size)");
|
|
1431
1431
|
break;
|
|
1432
1432
|
}
|
|
1433
1433
|
let d = c + u;
|
|
1434
1434
|
if (l === T.EOF) break;
|
|
1435
|
-
let f = new DataView(
|
|
1435
|
+
let f = new DataView(r.buffer, r.byteOffset, d), p = new ne(f, c + 8, d);
|
|
1436
1436
|
if (t && l !== T.HEADER) {
|
|
1437
1437
|
if (l === T.GDICOMMENT) {
|
|
1438
1438
|
if (t.playComment(f, c, d), n && t.drawFailed) break;
|
|
@@ -1719,7 +1719,7 @@ function st(e, t, n, i, a) {
|
|
|
1719
1719
|
e.fillRule = p.u32() === 1 ? "evenodd" : "nonzero";
|
|
1720
1720
|
break;
|
|
1721
1721
|
case T.SETTEXTCOLOR:
|
|
1722
|
-
e.textColor =
|
|
1722
|
+
e.textColor = a(p.u32());
|
|
1723
1723
|
break;
|
|
1724
1724
|
case T.SETTEXTALIGN:
|
|
1725
1725
|
e.textAlign = p.u32();
|
|
@@ -1767,20 +1767,20 @@ function st(e, t, n, i, a) {
|
|
|
1767
1767
|
c = d;
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
|
-
async function ct(
|
|
1770
|
+
async function ct(t, n, r) {
|
|
1771
1771
|
let a = {
|
|
1772
1772
|
bitmap: null,
|
|
1773
1773
|
unsupported: []
|
|
1774
1774
|
};
|
|
1775
|
-
if (!t
|
|
1776
|
-
let o = n
|
|
1775
|
+
if (!e(t) || n <= 0 || r <= 0) return a;
|
|
1776
|
+
let o = i(n, r);
|
|
1777
1777
|
if (!o) return a;
|
|
1778
1778
|
let s = o.getContext("2d");
|
|
1779
1779
|
if (!s) return a;
|
|
1780
1780
|
s.lineJoin = "round", s.lineCap = "round";
|
|
1781
1781
|
let c = [];
|
|
1782
1782
|
return {
|
|
1783
|
-
bitmap: at(
|
|
1783
|
+
bitmap: at(t, s, n, r, { onUnsupported: (e) => {
|
|
1784
1784
|
c = e;
|
|
1785
1785
|
} }) ? await createImageBitmap(o) : null,
|
|
1786
1786
|
unsupported: c
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as e } from "./slide-pull-client-
|
|
2
|
-
import {
|
|
1
|
+
import { m as e } from "./slide-pull-client-BuBvXMyc.js";
|
|
2
|
+
import { Kr as t } from "./plot-area-frame-Bs_j4uu7.js";
|
|
3
3
|
//#region packages/pptx/src/font-preload-inert-ranges.ts
|
|
4
4
|
var n;
|
|
5
5
|
function r() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e } from "./renderer-
|
|
1
|
+
import { a as e } from "./renderer-CvZ4JmoL.js";
|
|
2
2
|
//#region packages/xlsx/src/internal/host-layout-measure.ts
|
|
3
3
|
function t(t, n) {
|
|
4
4
|
return e(t.family, t.sizePt, void 0, !1, t.bold ? 700 : 400, t.italic ? "italic" : "normal", n);
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./docx-
|
|
2
|
-
import { t } from "./pptx-
|
|
3
|
-
import { t as n } from "./xlsx-
|
|
1
|
+
import { t as e } from "./docx-CCZBO1WQ.js";
|
|
2
|
+
import { t } from "./pptx-Bo9hCGQU.js";
|
|
3
|
+
import { t as n } from "./xlsx-CUVUep5I.js";
|
|
4
4
|
export { e as docx, t as pptx, n as xlsx };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./model-source-kz_NkZqT.js";
|
|
2
2
|
//#region src/companion-version.ts
|
|
3
|
-
var t = "0.89.
|
|
3
|
+
var t = "0.89.2", n = class extends Error {
|
|
4
4
|
constructor(n, r) {
|
|
5
5
|
super(`Companion requires @silurus/ooxml ${n} (${r}); installed runtime is ${t} (${e})`), this.code = "companion-runtime-mismatch", this.name = "CompanionRuntimeMismatchError";
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
8
|
function r(e, t) {
|
|
9
|
-
if (e !== "0.89.
|
|
9
|
+
if (e !== "0.89.2" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
12
|
export { n as CompanionRuntimeMismatchError, e as MODEL_SOURCE_MODULE_PROTOCOL, r as assertCompanionRuntime };
|