@silurus/ooxml 0.89.2 → 0.89.3
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 -3
- package/dist/{abort-VrnK7mdP.js → abort-JztSoyw2.js} +0 -2
- package/dist/assets/render-worker-BUa1gyCE.js +15 -0
- package/dist/{bounded-raw-part-cache-C3daknU-.js → bounded-raw-part-cache-Bi_VqXmg.js} +7 -115
- package/dist/{bundled-asset-url-E2nXURF9.js → bundled-asset-url-BMJ8vNHP.js} +0 -2
- package/dist/{canvas-viewer-mechanics-SZWSnn6j.js → canvas-viewer-mechanics-ycCX6v-z.js} +3 -25
- package/dist/{cfb-guard-dNeUiANF.js → cfb-guard-BIaHdonq.js} +1 -13
- package/dist/chart-ex.mjs +4 -7
- package/dist/{chunk-Dy4uBu1J.js → chunk-D5OxutzX.js} +0 -2
- package/dist/{comment-overlay-controller-CHDxT0e7.js → comment-overlay-controller-CR5ySvki.js} +2 -22
- package/dist/{comment-ui-runtime-Dk2qrPy_.js → comment-ui-runtime-BWhLz4gq.js} +5 -7
- package/dist/comment-ui-runtime-BtP_TpvT.js +2 -0
- package/dist/{comment-ui-runtime-BcwaRnMR.js → comment-ui-runtime-CwTOCwA8.js} +5 -7
- package/dist/{delimited-text-worker-host-CikWU6_m.js → delimited-text-worker-host-RwvuSsP2.js} +0 -4
- package/dist/{document-model-source-BD2VSd2L.js → document-model-source-Csow9uxO.js} +9 -11
- package/dist/{document-pull-client-DhSGspvi.js → document-pull-client-CHpz0Q1p.js} +7572 -7285
- package/dist/{document-pull-worker-D-E0Iz3P.js → document-pull-worker-1ZJv9f9W.js} +3 -7
- package/dist/{docx-CXfILbzI.js → docx-D9E0vCq-.js} +12 -18
- package/dist/{docx-CCZBO1WQ.js → docx-GXxH0AwW.js} +13 -65
- package/dist/{docx-model-source-Ci6xb487.js → docx-model-source-aKx2gZH9.js} +7 -9
- package/dist/docx.mjs +6 -6
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{drawingml-shape-Bp0yEZHC.js → drawingml-shape-BwELUfNW.js} +2 -6
- package/dist/{duotone-DN8P4aXe.js → duotone-BI7CoghW.js} +2 -6
- package/dist/{emf-CGFQIz6c.js → emf-DgUBx9BU.js} +2 -4
- package/dist/{font-preload-demand-CGOB-MoE.js → font-preload-demand-BuMy4iJ1.js} +2 -8
- package/dist/{grid-geometry-C3IG20ut.js → grid-geometry-CqTDvpDr.js} +1 -6
- package/dist/{host-layout-DVMw8hDY.js → host-layout-Cz_lCuTZ.js} +0 -1
- package/dist/{host-layout-measure-BAysJILu.js → host-layout-measure-GU0oJ4Me.js} +1 -3
- package/dist/{in-process-pull-transport-DuXcPZng.js → in-process-pull-transport-BPJ7M0uC.js} +0 -2
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +3 -5
- package/dist/{line-distribute-DhQqysA2.js → line-distribute-C_CJisnJ.js} +2 -18
- package/dist/math.mjs +2 -8
- package/dist/{mathjax-BhwN6ilc.js → mathjax-DvwccQ8e.js} +0 -2
- package/dist/{model-source-kz_NkZqT.js → model-source-COXegBNA.js} +1 -3
- package/dist/{model-source-BkmyX_r-.js → model-source-DLXFe4_2.js} +3 -5
- package/dist/{model-source-session-CnPCTRDD.js → model-source-session-B3WVQCM5.js} +5 -9
- package/dist/{model-source-session-CF4iXav8.js → model-source-session-BVZBHZ04.js} +5 -11
- package/dist/{model-source-session-CJmkItIK.js → model-source-session-DfUgVpr1.js} +4 -8
- package/dist/node.mjs +6 -6
- package/dist/{pixel-budget-BpTYrepD.js → pixel-budget-DI82Hn3R.js} +0 -2
- package/dist/{plot-area-frame-Bs_j4uu7.js → plot-area-frame-D3JtHvov.js} +1 -167
- package/dist/{pptx-BhmLP_Ed.js → pptx-BD0jwWs6.js} +9 -11
- package/dist/{pptx-Bo9hCGQU.js → pptx-CLyebeF_.js} +16 -62
- package/dist/{pptx-model-source-J0SrVkO6.js → pptx-model-source-D_2mnSxI.js} +5 -7
- package/dist/pptx.mjs +7 -7
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{presentation-model-source-CebYmrOD.js → presentation-model-source-rWZ3Y-S_.js} +8 -10
- package/dist/{raster-target-YQ4G6rxo.js → raster-target-Ca3tyA0L.js} +0 -2
- package/dist/{read-only-comment-decoration-PidH0wnP.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
- package/dist/{read-only-comment-margin-B52rDVKo.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
- package/dist/region-map.mjs +4 -7
- package/dist/{render-hT2OVZUi.js → render-Cs1bgbEm.js} +3 -5
- package/dist/{render-worker-host-Desevuoc.js → render-worker-host-BR7n4xKy.js} +0 -4
- package/dist/render-worker-host-BxsA-yJo.js +5 -0
- package/dist/{render-worker-host-BmAQ-sWT.js → render-worker-host-CZC0WOn8.js} +0 -4
- package/dist/{renderer-CvZ4JmoL.js → renderer-DFDF48zw.js} +7 -55
- package/dist/{renderer-module-contract-CWM7jv6d.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
- package/dist/{renderer-BFWqhLEt.js → renderer-xdugdcMd.js} +6 -70
- package/dist/{resource-measurement-DBiUwblM.js → resource-measurement-CTGrNAsD.js} +2 -18
- package/dist/{session-CWDKFWCh.js → session-B5CgMc2N.js} +7 -17
- package/dist/{slide-pull-client-BuBvXMyc.js → slide-pull-client-43mS9T70.js} +9 -63
- package/dist/{three-d-BKwNPAP4.js → three-d-ByHGsYrX.js} +1 -11
- package/dist/three-d.mjs +4 -17
- package/dist/{tiff-contract-C6M3QcPp.js → tiff-contract-DEd8CGuz.js} +0 -2
- package/dist/tiff.mjs +5 -8
- package/dist/types/chart-ex.d.ts +2 -2
- package/dist/types/docx.d.ts +12 -11
- package/dist/types/index.d.ts +16 -15
- package/dist/types/internal-companion.d.ts +1 -1
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +7 -6
- package/dist/types/pptx.d.ts +11 -11
- package/dist/types/region-map.d.ts +2 -2
- package/dist/types/three-d.d.ts +2 -2
- package/dist/types/tiff.d.ts +1 -1
- package/dist/types/xlsx.d.ts +11 -11
- package/dist/{visible-index-FeVA0mGE.js → visible-index-vN-4BNn7.js} +0 -2
- package/dist/{wasm-loader-rlgHmcSv.js → wasm-loader-KAOyLXzf.js} +0 -4
- package/dist/{wasm-runtime-generation-BWGfM44b.js → wasm-runtime-generation-BsWKRY7U.js} +1 -3
- package/dist/{workbook-model-source-Che8Zbjw.js → workbook-model-source-ChIQjX9a.js} +9 -11
- package/dist/{worker-source-UAi3GNcM.js → worker-source-C29EQNUj.js} +0 -2
- package/dist/{worker-source-SbudzjYL.js → worker-source-D3NwPe6l.js} +0 -2
- package/dist/{worker-source-DrwhR9fw.js → worker-source-ZQE9C1j6.js} +0 -2
- package/dist/{worksheet-pull-client-Cxzj6uuB.js → worksheet-pull-client-D5zAevQv.js} +4 -18
- package/dist/{xlsx-CUVUep5I.js → xlsx-DelYm4VZ.js} +17 -61
- package/dist/{xlsx-C5BSwMUd.js → xlsx-S6orTmKI.js} +8 -16
- package/dist/{xlsx-model-source-C3_PiPBo.js → xlsx-model-source-Cm9ocDgT.js} +8 -12
- package/dist/xlsx.mjs +7 -7
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +2 -2
- package/dist/assets/render-worker-D_SMt5nl.js +0 -15
- package/dist/comment-ui-runtime-B7ZvovcS.js +0 -2
- package/dist/render-worker-host-Cz224I38.js +0 -9
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./chunk-
|
|
2
|
-
import { a as t, l as n } from "./slide-pull-client-
|
|
3
|
-
import { yo as r } from "./plot-area-frame-
|
|
4
|
-
import { B as i, D as a, F as o, G as s, H as c, N as l, O as u, U as d, V as f, j as p, k as m, mn as h, q as g } from "./bounded-raw-part-cache-
|
|
5
|
-
import { n as _, t as v } from "./abort-
|
|
6
|
-
import { S as y } from "./worksheet-pull-client-
|
|
7
|
-
import { t as b } from "./wasm-runtime-generation-
|
|
8
|
-
//#region packages/pptx/src/slide-cursor-operation.ts
|
|
1
|
+
import { t as e } from "./chunk-D5OxutzX.js";
|
|
2
|
+
import { a as t, l as n } from "./slide-pull-client-43mS9T70.js";
|
|
3
|
+
import { yo as r } from "./plot-area-frame-D3JtHvov.js";
|
|
4
|
+
import { B as i, D as a, F as o, G as s, H as c, N as l, O as u, U as d, V as f, j as p, k as m, mn as h, q as g } from "./bounded-raw-part-cache-Bi_VqXmg.js";
|
|
5
|
+
import { n as _, t as v } from "./abort-JztSoyw2.js";
|
|
6
|
+
import { S as y } from "./worksheet-pull-client-D5zAevQv.js";
|
|
7
|
+
import { t as b } from "./wasm-runtime-generation-BsWKRY7U.js";
|
|
9
8
|
function x(e) {
|
|
10
9
|
try {
|
|
11
10
|
return i(e((e) => e.slide_cursor_resource_usage()));
|
|
@@ -30,8 +29,6 @@ function S(e, t, n, r, i) {
|
|
|
30
29
|
throw e;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region packages/pptx/src/slide-pull-worker.ts
|
|
35
32
|
var C = "ooxml-pull-resetting", w = "ooxml-pull-reset-failed", T = class {
|
|
36
33
|
archive;
|
|
37
34
|
acceptSlide;
|
|
@@ -328,8 +325,6 @@ function E(e) {
|
|
|
328
325
|
function D(e, t) {
|
|
329
326
|
return e.sessionId === t.sessionId && e.operationId === t.operationId && e.generation === t.generation;
|
|
330
327
|
}
|
|
331
|
-
//#endregion
|
|
332
|
-
//#region packages/pptx/src/wasm/pptx_parser.js
|
|
333
328
|
var O = /* @__PURE__ */ e({
|
|
334
329
|
PptxArchive: () => k,
|
|
335
330
|
default: () => Q,
|
|
@@ -611,8 +606,6 @@ async function Q(e) {
|
|
|
611
606
|
async function ae(e) {
|
|
612
607
|
return X = void 0, F = null, R = null, Q(e);
|
|
613
608
|
}
|
|
614
|
-
//#endregion
|
|
615
|
-
//#region packages/pptx/src/internal/node-acquisition.ts
|
|
616
609
|
var $ = "PPTX presentation session was aborted", oe = b(O, "PPTX");
|
|
617
610
|
async function se(e, n, r = {}) {
|
|
618
611
|
let i = l(r), a = new p({
|
|
@@ -649,8 +642,5 @@ async function se(e, n, r = {}) {
|
|
|
649
642
|
throw a.fail(t), t;
|
|
650
643
|
}
|
|
651
644
|
}
|
|
652
|
-
//#endregion
|
|
653
|
-
//#region packages/pptx/src/internal/session.ts
|
|
654
645
|
var ce = /* @__PURE__ */ e({ renderSlide: () => n });
|
|
655
|
-
//#endregion
|
|
656
646
|
export { x as i, se as n, T as r, ce as t };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { $r as e, Aa as t, Ao as n, Co as r, Dr as i, Eo as a, Fr as o, Gn as s, Hn as c, Ir as l, Jn as u, Kn as d, Oo as f, Pr as p, Qr as m, So as h, To as g, Tr as _, Un as v, Vn as y, Vr as b, Wn as x, Yn as S, Zr as C, _o as w, a as T, ao as E, ar as D, c as O, co as k, cr as A, d as j, do as M, ei as N, fo as P, fr as F, go as I, gr as L, h as R, ho as z, i as B, ka as V, lo as H, lr as U, m as W, mo as G, mr as ee, nr as te, o as K, oo as ne, or as q, po as J, pr as re, qn as ie, r as ae, so as oe, ti as se, u as ce, uo as le, ur as ue, vo as de, wo as fe, wr as pe, xr as me, yo as he } from "./plot-area-frame-
|
|
2
|
-
import { $ as ge, At as _e, Ct as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Mt as Te, Nt as Ee, Pt as De, Q as Oe, Tt as ke, Ut as Ae, Wt as je, X as Me, Y as Ne, Z as Pe, Zt as Fe, _ as Ie, _t as Le, bt as Re, c as ze, ct as Be, dt as Ve, et as He, f as Ue, g as We, h as Ge, i as Ke, jt as qe, kt as Je, l as Ye, mn as Xe, mt as Ze, nt as Qe, o as $e, ot as et, p as tt, pn as nt, pt as rt, r as it, sn as at, tn as ot, tt as st, v as ct, vt as lt, wt as ut, xt as dt, y as ft, yt as pt } from "./bounded-raw-part-cache-
|
|
3
|
-
import { a as mt, c as ht, d as gt, f as _t, h as vt, m as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt, y as Et } from "./line-distribute-
|
|
4
|
-
import { a as Dt, f as Ot, i as kt, u as At } from "./pixel-budget-
|
|
5
|
-
import { H as jt, L as Mt, M as Nt, R as Pt, V as Ft, n as It, r as Lt, t as Rt } from "./renderer-
|
|
6
|
-
import { i as zt } from "./tiff-contract-
|
|
7
|
-
import { _ as Bt, g as Vt, h as Ht } from "./three-d-
|
|
8
|
-
import { a as Ut, o as Wt } from "./duotone-
|
|
9
|
-
import { _ as Gt, a as Kt, c as qt, d as Jt, f as Yt, h as Xt, i as Zt, l as Qt, m as $t, n as en, o as tn, p as nn, s as rn, t as an, u as on, v as sn, y as cn } from "./resource-measurement-
|
|
10
|
-
//#region packages/core/src/internal/canvas-clip.ts
|
|
1
|
+
import { $r as e, Aa as t, Ao as n, Co as r, Dr as i, Eo as a, Fr as o, Gn as s, Hn as c, Ir as l, Jn as u, Kn as d, Oo as f, Pr as p, Qr as m, So as h, To as g, Tr as _, Un as v, Vn as y, Vr as b, Wn as x, Yn as S, Zr as C, _o as w, a as T, ao as E, ar as D, c as O, co as k, cr as A, d as j, do as M, ei as N, fo as P, fr as F, go as I, gr as L, h as R, ho as z, i as B, ka as V, lo as H, lr as U, m as W, mo as G, mr as ee, nr as te, o as K, oo as ne, or as q, po as J, pr as re, qn as ie, r as ae, so as oe, ti as se, u as ce, uo as le, ur as ue, vo as de, wo as fe, wr as pe, xr as me, yo as he } from "./plot-area-frame-D3JtHvov.js";
|
|
2
|
+
import { $ as ge, At as _e, Ct as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Mt as Te, Nt as Ee, Pt as De, Q as Oe, Tt as ke, Ut as Ae, Wt as je, X as Me, Y as Ne, Z as Pe, Zt as Fe, _ as Ie, _t as Le, bt as Re, c as ze, ct as Be, dt as Ve, et as He, f as Ue, g as We, h as Ge, i as Ke, jt as qe, kt as Je, l as Ye, mn as Xe, mt as Ze, nt as Qe, o as $e, ot as et, p as tt, pn as nt, pt as rt, r as it, sn as at, tn as ot, tt as st, v as ct, vt as lt, wt as ut, xt as dt, y as ft, yt as pt } from "./bounded-raw-part-cache-Bi_VqXmg.js";
|
|
3
|
+
import { a as mt, c as ht, d as gt, f as _t, h as vt, m as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt, y as Et } from "./line-distribute-C_CJisnJ.js";
|
|
4
|
+
import { a as Dt, f as Ot, i as kt, u as At } from "./pixel-budget-DI82Hn3R.js";
|
|
5
|
+
import { H as jt, L as Mt, M as Nt, R as Pt, V as Ft, n as It, r as Lt, t as Rt } from "./renderer-xdugdcMd.js";
|
|
6
|
+
import { i as zt } from "./tiff-contract-DEd8CGuz.js";
|
|
7
|
+
import { _ as Bt, g as Vt, h as Ht } from "./three-d-ByHGsYrX.js";
|
|
8
|
+
import { a as Ut, o as Wt } from "./duotone-BI7CoghW.js";
|
|
9
|
+
import { _ as Gt, a as Kt, c as qt, d as Jt, f as Yt, h as Xt, i as Zt, l as Qt, m as $t, n as en, o as tn, p as nn, s as rn, t as an, u as on, v as sn, y as cn } from "./resource-measurement-CTGrNAsD.js";
|
|
11
10
|
function ln(e, t, n) {
|
|
12
11
|
let r = typeof e.getTransform == "function" ? e.getTransform() : {
|
|
13
12
|
a: 1,
|
|
@@ -43,14 +42,10 @@ function ln(e, t, n) {
|
|
|
43
42
|
let f = d - u;
|
|
44
43
|
Number.isFinite(f) && (e.beginPath(), e.rect(t, u, n, f), e.clip());
|
|
45
44
|
}
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region packages/pptx/src/font-display-text.ts
|
|
48
45
|
function un(e, t) {
|
|
49
46
|
let n = e.fieldType === "slidenum" && t !== void 0 ? String(t) : e.text;
|
|
50
47
|
return e.caps === "all" || e.caps === "small" ? n.toUpperCase() : n;
|
|
51
48
|
}
|
|
52
|
-
//#endregion
|
|
53
|
-
//#region packages/core/src/shape/measure-paint-bounds.ts
|
|
54
49
|
function dn(e, t) {
|
|
55
50
|
let n = m(e, 1, 1)?.getContext("2d");
|
|
56
51
|
if (!n) return;
|
|
@@ -135,8 +130,6 @@ function dn(e, t) {
|
|
|
135
130
|
h: s - a
|
|
136
131
|
} : void 0;
|
|
137
132
|
}
|
|
138
|
-
//#endregion
|
|
139
|
-
//#region packages/core/src/shape/scene3d-camera.ts
|
|
140
133
|
var fn = 6.28, pn = 26;
|
|
141
134
|
function Y(e = 0, t = 0, n = 0, r = 0, i = 0) {
|
|
142
135
|
return {
|
|
@@ -397,8 +390,6 @@ function Dn(e, t, n, r) {
|
|
|
397
390
|
y: f - u
|
|
398
391
|
};
|
|
399
392
|
}
|
|
400
|
-
//#endregion
|
|
401
|
-
//#region packages/core/src/shape/bevel-profiles.ts
|
|
402
393
|
var On = {
|
|
403
394
|
angle: [[1, 1]],
|
|
404
395
|
artDeco: [[
|
|
@@ -716,8 +707,6 @@ function Nn(e, t) {
|
|
|
716
707
|
function Pn(e, t) {
|
|
717
708
|
return Nn(Mn(e).slope, t);
|
|
718
709
|
}
|
|
719
|
-
//#endregion
|
|
720
|
-
//#region packages/core/src/shape/bevel-wireframe.ts
|
|
721
710
|
function Fn(e, t, n, r, i, a, o, s) {
|
|
722
711
|
let c = e.slice(), l = new Int8Array(r * i);
|
|
723
712
|
for (let t = 0; t < i; t++) for (let a = 0; a < r; a++) {
|
|
@@ -745,8 +734,6 @@ function Fn(e, t, n, r, i, a, o, s) {
|
|
|
745
734
|
}
|
|
746
735
|
}
|
|
747
736
|
}
|
|
748
|
-
//#endregion
|
|
749
|
-
//#region packages/core/src/shape/bevel-light-rigs.ts
|
|
750
737
|
var In = {
|
|
751
738
|
threePt: {
|
|
752
739
|
ambient: 0,
|
|
@@ -1603,8 +1590,6 @@ for (let [e, t, n, r, i, a] of [
|
|
|
1603
1590
|
function Rn(e) {
|
|
1604
1591
|
return Object.hasOwn(In, e) ? In[e] : Object.hasOwn(Ln, e) ? Ln[e] : In.threePt;
|
|
1605
1592
|
}
|
|
1606
|
-
//#endregion
|
|
1607
|
-
//#region packages/core/src/shape/bevel-lighting.ts
|
|
1608
1593
|
function zn(e, t, n, r, i, a = !1, o = 0, s = 0, c = 1, l = c, u = 0) {
|
|
1609
1594
|
return {
|
|
1610
1595
|
specularShape: e,
|
|
@@ -1727,8 +1712,6 @@ function Kn(e, t, n, r, i, a, o, s, c) {
|
|
|
1727
1712
|
}
|
|
1728
1713
|
e[3] = i * Math.max(0, Math.min(1, p));
|
|
1729
1714
|
}
|
|
1730
|
-
//#endregion
|
|
1731
|
-
//#region packages/core/src/shape/bevel-shading.ts
|
|
1732
1715
|
function qn(e) {
|
|
1733
1716
|
let t = e.length, n = new Float64Array(t);
|
|
1734
1717
|
if (t === 0) return n;
|
|
@@ -1906,16 +1889,12 @@ function rr(e, t, n) {
|
|
|
1906
1889
|
}
|
|
1907
1890
|
e.putImageData(f, c, l);
|
|
1908
1891
|
}
|
|
1909
|
-
//#endregion
|
|
1910
|
-
//#region packages/core/src/text/highlight-box.ts
|
|
1911
1892
|
function ir(e, t) {
|
|
1912
1893
|
return {
|
|
1913
1894
|
top: e - t * .85,
|
|
1914
1895
|
height: t * 1.1
|
|
1915
1896
|
};
|
|
1916
1897
|
}
|
|
1917
|
-
//#endregion
|
|
1918
|
-
//#region packages/core/src/text/justify-positions.ts
|
|
1919
1898
|
function ar(e, t, n, r, i = 0) {
|
|
1920
1899
|
let a = [], o = 0, s = 0;
|
|
1921
1900
|
for (let c of t) a.push({
|
|
@@ -1927,8 +1906,6 @@ function ar(e, t, n, r, i = 0) {
|
|
|
1927
1906
|
dx: r(e.slice(0, o).join("")) + o * i + s * n
|
|
1928
1907
|
}), a;
|
|
1929
1908
|
}
|
|
1930
|
-
//#endregion
|
|
1931
|
-
//#region packages/pptx/src/powerpoint-line-metrics.ts
|
|
1932
1909
|
var or = {
|
|
1933
1910
|
palatino: "Palatino Linotype",
|
|
1934
1911
|
helvetica: "Arial",
|
|
@@ -2154,8 +2131,6 @@ function Cr(e, t, n, r) {
|
|
|
2154
2131
|
let s = e === "t" ? a : (a - o) / 2;
|
|
2155
2132
|
return Math.round(s / r) * r;
|
|
2156
2133
|
}
|
|
2157
|
-
//#endregion
|
|
2158
|
-
//#region packages/pptx/src/google-fonts.ts
|
|
2159
2134
|
var wr = {
|
|
2160
2135
|
...a,
|
|
2161
2136
|
...oe
|
|
@@ -2268,13 +2243,9 @@ function jr(e, t, n) {
|
|
|
2268
2243
|
function Mr(e, t, n, r) {
|
|
2269
2244
|
return le(Or(e), M(t) ?? M(n) ?? r);
|
|
2270
2245
|
}
|
|
2271
|
-
//#endregion
|
|
2272
|
-
//#region packages/pptx/src/types.ts
|
|
2273
2246
|
function Nr(e) {
|
|
2274
2247
|
return e;
|
|
2275
2248
|
}
|
|
2276
|
-
//#endregion
|
|
2277
|
-
//#region packages/pptx/src/reflection-blur.ts
|
|
2278
2249
|
var Pr = .5;
|
|
2279
2250
|
function Fr(e, t) {
|
|
2280
2251
|
if (!(t > 0) || !(e.h > 0)) return [{
|
|
@@ -2296,8 +2267,6 @@ function Fr(e, t) {
|
|
|
2296
2267
|
function Ir(e, t, n, r, i) {
|
|
2297
2268
|
for (let a of Fr(n, r)) e.save(), e.beginPath(), e.rect(0, a.y, i, a.h), e.clip(), e.filter = a.radius > 0 ? `blur(${a.radius}px)` : "none", e.drawImage(t, 0, 0), e.restore();
|
|
2298
2269
|
}
|
|
2299
|
-
//#endregion
|
|
2300
|
-
//#region packages/pptx/src/hyperlink.ts
|
|
2301
2270
|
function Lr(e, t) {
|
|
2302
2271
|
let n = e !== void 0 && e !== "" ? e : void 0, r = t !== void 0 && t !== "" ? t : void 0;
|
|
2303
2272
|
if (n === void 0 && r === void 0) return;
|
|
@@ -2314,8 +2283,6 @@ function Lr(e, t) {
|
|
|
2314
2283
|
ref: i
|
|
2315
2284
|
};
|
|
2316
2285
|
}
|
|
2317
|
-
//#endregion
|
|
2318
|
-
//#region packages/pptx/src/media-chrome.ts
|
|
2319
2286
|
function Rr(e, t, n, r, i, a) {
|
|
2320
2287
|
let o = Math.max(18, Math.min(32, Math.min(r, i) * .25));
|
|
2321
2288
|
if (e.save(), e.shadowColor = "rgba(0, 0, 0, 0.3)", e.shadowBlur = o * .35, e.fillStyle = "rgba(20, 20, 20, 0.7)", e.beginPath(), e.arc(t, n, o, 0, Math.PI * 2), e.fill(), e.shadowColor = "transparent", e.shadowBlur = 0, e.fillStyle = "#fff", a === "paused") {
|
|
@@ -2328,8 +2295,6 @@ function Rr(e, t, n, r, i, a) {
|
|
|
2328
2295
|
}
|
|
2329
2296
|
e.restore();
|
|
2330
2297
|
}
|
|
2331
|
-
//#endregion
|
|
2332
|
-
//#region packages/pptx/src/bidi-line.ts
|
|
2333
2298
|
var zr = { isTab: (e) => "isTab" in e }, Br = (e) => Ke(e), Vr = (e, t) => it(e, t, zr), Hr = (e) => /\s/.test(String.fromCodePoint(e));
|
|
2334
2299
|
function Ur(e, t, n, r, i) {
|
|
2335
2300
|
if (r === "just" && i) return null;
|
|
@@ -2358,8 +2323,6 @@ function Ur(e, t, n, r, i) {
|
|
|
2358
2323
|
}
|
|
2359
2324
|
return l;
|
|
2360
2325
|
}
|
|
2361
|
-
//#endregion
|
|
2362
|
-
//#region packages/pptx/src/table-border-conflict.ts
|
|
2363
2326
|
function Wr(e) {
|
|
2364
2327
|
let t = e ? Ut(e.replace(/^#/, "").slice(0, 6)) : null;
|
|
2365
2328
|
return t ? {
|
|
@@ -2384,8 +2347,6 @@ function Kr(e, t) {
|
|
|
2384
2347
|
let n = Gr(e.color), r = Gr(t.color);
|
|
2385
2348
|
return n === r || n < r ? e : t;
|
|
2386
2349
|
}
|
|
2387
|
-
//#endregion
|
|
2388
|
-
//#region packages/pptx/src/smartart-fallback-contrast.ts
|
|
2389
2350
|
function qr(e) {
|
|
2390
2351
|
let t = Ut(e.length === 8 ? e.slice(0, 6) : e);
|
|
2391
2352
|
if (!t) return null;
|
|
@@ -2420,8 +2381,6 @@ function Xr(e, t) {
|
|
|
2420
2381
|
let r = qr(t.replace(/^#/, ""));
|
|
2421
2382
|
return r !== null && r >= .5 ? null : "#FFFFFF";
|
|
2422
2383
|
}
|
|
2423
|
-
//#endregion
|
|
2424
|
-
//#region packages/pptx/src/tab-layout.ts
|
|
2425
2384
|
function Zr(e, t, n, r, i, a = 0) {
|
|
2426
2385
|
let o = e.map((e) => e.width), s = (t) => {
|
|
2427
2386
|
let n = 0;
|
|
@@ -2448,8 +2407,6 @@ function Zr(e, t, n, r, i, a = 0) {
|
|
|
2448
2407
|
}
|
|
2449
2408
|
return o;
|
|
2450
2409
|
}
|
|
2451
|
-
//#endregion
|
|
2452
|
-
//#region packages/pptx/src/vertical-text.ts
|
|
2453
2410
|
var Qr = () => !1;
|
|
2454
2411
|
function $r(e, t, n, r, i, a, o = "fill", s = Qr) {
|
|
2455
2412
|
let c = e.textAlign, l = e.textBaseline, u = o === "stroke" ? e.strokeText.bind(e) : e.fillText.bind(e), d = r - xt(e, t, i), f = 0;
|
|
@@ -2472,8 +2429,6 @@ function $r(e, t, n, r, i, a, o = "fill", s = Qr) {
|
|
|
2472
2429
|
function ei(e, t, n, r, i, a, o = "fill") {
|
|
2473
2430
|
$r(e, t, n, r, i, a, o, (t) => Ue(e, t));
|
|
2474
2431
|
}
|
|
2475
|
-
//#endregion
|
|
2476
|
-
//#region packages/core/src/drawingml-text/measure.ts
|
|
2477
2432
|
var ti = /* @__PURE__ */ new WeakMap();
|
|
2478
2433
|
function ni(e) {
|
|
2479
2434
|
let t = 0;
|
|
@@ -2514,8 +2469,6 @@ function ii(e, t, n = 0) {
|
|
|
2514
2469
|
}
|
|
2515
2470
|
return e.measureText(t).width + n * Math.max(0, ni(t) - 1);
|
|
2516
2471
|
}
|
|
2517
|
-
//#endregion
|
|
2518
|
-
//#region packages/pptx/src/stacked-text.ts
|
|
2519
2472
|
function ai(e, t) {
|
|
2520
2473
|
let n = t.lineMetric?.glyph ?? (t.faceFamily ? on(t.faceFamily, /\bbold\b/.test(t.font), /\bitalic\b/.test(t.font)) : void 0);
|
|
2521
2474
|
if (n) return n;
|
|
@@ -2695,8 +2648,6 @@ function si(e, t) {
|
|
|
2695
2648
|
}
|
|
2696
2649
|
return e.textAlign = s, e.textBaseline = c, o;
|
|
2697
2650
|
}
|
|
2698
|
-
//#endregion
|
|
2699
|
-
//#region packages/pptx/src/east-asian-default-coverage.ts
|
|
2700
2651
|
var ci = [
|
|
2701
2652
|
[12288, 40959],
|
|
2702
2653
|
[44032, 55203],
|
|
@@ -2858,8 +2809,6 @@ var ki = new Set([
|
|
|
2858
2809
|
function Ni(e, t) {
|
|
2859
2810
|
return ki.has(e) || e >= 9312 && e <= 9471 || e >= 9632 && e <= 10175 || e >= 65072 && e <= 65103 ? !0 : Ai.has(e) ? !Mi.test(t ?? "") : e >= 8216 && e <= 8222 && ji.test(t ?? "");
|
|
2860
2811
|
}
|
|
2861
|
-
//#endregion
|
|
2862
|
-
//#region packages/pptx/src/renderer.ts
|
|
2863
2812
|
function Z(e, t) {
|
|
2864
2813
|
return e * t;
|
|
2865
2814
|
}
|
|
@@ -6003,8 +5952,6 @@ async function Yo(e, t, n, r, a = {}, o, s, c = () => !1) {
|
|
|
6003
5952
|
}
|
|
6004
5953
|
return c() || a.dim && Uo(I, a.dim, f, p), e;
|
|
6005
5954
|
}
|
|
6006
|
-
//#endregion
|
|
6007
|
-
//#region packages/pptx/src/presentation-preflight.ts
|
|
6008
5955
|
var Xo = Object.freeze({
|
|
6009
5956
|
archiveEntryCount: 0,
|
|
6010
5957
|
declaredInflatedBytes: 0,
|
|
@@ -6481,5 +6428,4 @@ var _s = class {
|
|
|
6481
6428
|
function bs(e) {
|
|
6482
6429
|
return !!e && typeof e == "object" && e.protocol === "ooxml-pull-v1";
|
|
6483
6430
|
}
|
|
6484
|
-
//#endregion
|
|
6485
6431
|
export { ts as a, Go as c, Rr as d, wr as f, ms as i, qo as l, un as m, bs as n, fs as o, jr as p, _s as r, ps as s, ys as t, Jo as u };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $t as e, Qr as t, Sr as n, Zr as r, an as i, br as a, ei as o, en as s, f as c, g as l, ia as u, ii as d, nn as f, p, qn as m, ri as h, rn as g, ti as _, tn as v, vt as y, xr as b, yr as x } from "./plot-area-frame-
|
|
2
|
-
//#region packages/core/src/chart/rich-data-label.ts
|
|
1
|
+
import { $t as e, Qr as t, Sr as n, Zr as r, an as i, br as a, ei as o, en as s, f as c, g as l, ia as u, ii as d, nn as f, p, qn as m, ri as h, rn as g, ti as _, tn as v, vt as y, xr as b, yr as x } from "./plot-area-frame-D3JtHvov.js";
|
|
3
2
|
var S = 4096, C = 4, w = S;
|
|
4
3
|
function T(e, t, n, r) {
|
|
5
4
|
let i = [[]], a = [null], o = 0, s = (e) => {
|
|
@@ -63,8 +62,6 @@ function E(e, t, n, r, i = "center", a = "middle", o = t.width) {
|
|
|
63
62
|
s += t.lineHeights[r];
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
|
-
//#endregion
|
|
67
|
-
//#region packages/core/src/shape/scene3d-draw.ts
|
|
68
65
|
function D(e, t, n, r) {
|
|
69
66
|
let i = e.x, a = e.y, o = t.x, s = t.y, c = n.x, l = n.y, u = r.x, d = r.y, f = o - c, p = u - c, m = i - o + c - u, h = s - l, g = d - l, _ = a - s + l - d, v, y;
|
|
70
67
|
if (Math.abs(m) < 1e-12 && Math.abs(_) < 1e-12) v = 0, y = 0;
|
|
@@ -212,8 +209,6 @@ function B(e, t, n, i, a, o, s, c, l, u, d) {
|
|
|
212
209
|
let T = t.imageSmoothingEnabled, E = t.imageSmoothingQuality;
|
|
213
210
|
return t.imageSmoothingEnabled = !0, t.imageSmoothingQuality = "high", t.drawImage(x, 0, 0, _ * C, v * C, p, m, _, v), t.imageSmoothingEnabled = T, t.imageSmoothingQuality = E, t.restore(), !0;
|
|
214
211
|
}
|
|
215
|
-
//#endregion
|
|
216
|
-
//#region packages/core/src/chart/three-d-surface-picture.ts
|
|
217
212
|
function V(e, t) {
|
|
218
213
|
if (!t || ![
|
|
219
214
|
t.l,
|
|
@@ -453,8 +448,6 @@ function q(r, u, y, S, C, w, T, E, D, O, k = 1) {
|
|
|
453
448
|
for (let e of K) e.canvas.width = 0;
|
|
454
449
|
}
|
|
455
450
|
}
|
|
456
|
-
//#endregion
|
|
457
|
-
//#region packages/core/src/chart/material-color.ts
|
|
458
451
|
function J(e) {
|
|
459
452
|
return e.rotationX === 15 && e.rotationY === 20 && e.rightAngleAxes === !1 && e.perspective === 30;
|
|
460
453
|
}
|
|
@@ -480,8 +473,6 @@ function Y(e) {
|
|
|
480
473
|
}, r = Math.hypot(n.x, n.y, n.z), i = Math.max(0, (t.x * n.x + t.y * n.y + t.z * n.z) / r);
|
|
481
474
|
return Math.max(.48, Math.min(1.22, .48 + .78 * i));
|
|
482
475
|
}
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region packages/core/src/chart/three-d.ts
|
|
485
476
|
function ne(e, t, n, r, i) {
|
|
486
477
|
let a = Number.isFinite(e) && e > 0 ? e : 0, o = Number.isFinite(t) ? $(t, 0, 500) : 150, s = Math.max(1, Math.trunc(r)), c = $(Math.trunc(n), 0, s - 1), l = i ? 1 : s, u = a / (l + o / 100);
|
|
487
478
|
return {
|
|
@@ -874,5 +865,4 @@ function le(e, t, n = {}) {
|
|
|
874
865
|
}
|
|
875
866
|
};
|
|
876
867
|
}
|
|
877
|
-
//#endregion
|
|
878
868
|
export { I as _, oe as a, re as c, Y as d, ee as f, F as g, N as h, le as i, J as l, q as m, ce as n, se as o, K as p, X as r, ne as s, ie as t, te as u, E as v, T as y };
|
package/dist/three-d.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as
|
|
4
|
-
|
|
1
|
+
// optional-renderer: packages/core/src/chart/three-d-renderer.ts
|
|
2
|
+
import { $a as e, Ba as t, Bi as n, Ca as r, Cn as i, Fi as a, Ga as o, Ha as s, Ii as c, Ja as l, Ji as u, Ka as d, Ki as f, Li as p, Ln as m, Nt as h, Ot as g, Pi as _, Ra as v, Ri as y, Rn as b, Rr as x, Sa as S, Si as C, Ui as w, Va as T, Vi as E, Wa as D, Wi as O, Xi as k, Yi as A, Zi as j, _a as M, bn as N, ca as P, da as F, ea as I, eo as L, fa as R, gi as z, ha as B, hi as V, ia as H, ja as U, ka as W, l as ee, la as G, ma as K, mi as te, n as q, na as ne, no as J, oa as Y, on as X, pa as re, qi as Z, qt as ie, sa as ae, sn as oe, sr as se, t as ce, ta as le, v as ue, va as de, vi as fe, vn as pe, xa as me, xn as he, xt as ge, ya as _e, yn as ve, za as ye, zi as be, zn as xe, zr as Se } from "./plot-area-frame-D3JtHvov.js";
|
|
3
|
+
import { a as Ce, c as we, i as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, s as je, t as Me, u as Ne, v as Pe, y as Fe } from "./three-d-ByHGsYrX.js";
|
|
4
|
+
import { t as Ie } from "./renderer-module-contract-BuTx2FWJ.js";
|
|
5
5
|
function Le(t, n, r, i) {
|
|
6
6
|
return e(t, i) ? r : n.chartexFormatIdx ?? i;
|
|
7
7
|
}
|
|
@@ -20,8 +20,6 @@ function Re(e, n, r, i, a) {
|
|
|
20
20
|
let f = v(n.chartexStyle, u, o);
|
|
21
21
|
return f === void 0 ? s(c, u, o, r?.chartexStyle, n.chartexStyle) : f;
|
|
22
22
|
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region packages/core/src/chart/three-d-mesh.ts
|
|
25
23
|
var ze = 32;
|
|
26
24
|
function Be(e) {
|
|
27
25
|
switch (e) {
|
|
@@ -455,8 +453,6 @@ function Je(e) {
|
|
|
455
453
|
silhouetteEdges: h.slice(0, u ? void 0 : -1).map((e, t) => [e, g[t]])
|
|
456
454
|
};
|
|
457
455
|
}
|
|
458
|
-
//#endregion
|
|
459
|
-
//#region packages/core/src/chart/three-d-scene.ts
|
|
460
456
|
function Ye(e, t) {
|
|
461
457
|
if (![e, t].every(Number.isFinite)) return null;
|
|
462
458
|
let n = t - e;
|
|
@@ -594,8 +590,6 @@ function nt(e) {
|
|
|
594
590
|
}
|
|
595
591
|
return l;
|
|
596
592
|
}
|
|
597
|
-
//#endregion
|
|
598
|
-
//#region packages/core/src/chart/three-d-stroke.ts
|
|
599
593
|
var Q = 1e-9, rt = 1e4, it = (e, t, n) => ({
|
|
600
594
|
x: e.x + (t.x - e.x) * n,
|
|
601
595
|
y: e.y + (t.y - e.y) * n,
|
|
@@ -795,8 +789,6 @@ function dt(e, t) {
|
|
|
795
789
|
}
|
|
796
790
|
return s;
|
|
797
791
|
}
|
|
798
|
-
//#endregion
|
|
799
|
-
//#region packages/core/src/chart/three-d-outline.ts
|
|
800
792
|
var ft = 1e-9, pt = (e, t) => Math.hypot(e.x - t.x, e.y - t.y, e.depth - t.depth) <= ft, mt = (e, t) => e.x - t.x || e.y - t.y || e.depth - t.depth, ht = (e, t) => {
|
|
801
793
|
let n = Math.min(e.length, t.length);
|
|
802
794
|
for (let r = 0; r < n; r++) {
|
|
@@ -879,8 +871,6 @@ function vt(e) {
|
|
|
879
871
|
junctions: l
|
|
880
872
|
};
|
|
881
873
|
}
|
|
882
|
-
//#endregion
|
|
883
|
-
//#region packages/core/src/chart/three-d-renderer.ts
|
|
884
874
|
function yt(e) {
|
|
885
875
|
let t = /* @__PURE__ */ new Map();
|
|
886
876
|
for (let n of e.legendEntries ?? []) t.set(n.idx, n);
|
|
@@ -2775,8 +2765,5 @@ function An(e, t, n, r, i) {
|
|
|
2775
2765
|
function jn(e, t, n, r, i = 0) {
|
|
2776
2766
|
return !t.threeD || !(t.chartType === "pie" || wt.has(t.chartType)) ? !1 : Mt(t) ? An(e, t, n, r, i) ? !0 : kn(e, t, n, r, i) : (Yt(e, n), !0);
|
|
2777
2767
|
}
|
|
2778
|
-
//#endregion
|
|
2779
|
-
//#region src/three-d.ts
|
|
2780
2768
|
var Mn = Ie({ render: jn }, "threeD");
|
|
2781
|
-
//#endregion
|
|
2782
2769
|
export { Mn as threeD };
|
package/dist/tiff.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
|
|
1
|
+
// optional-renderer: packages/core/src/image/tiff.ts
|
|
2
|
+
import { c as e, l as t, o as n, s as r, u as i } from "./pixel-budget-DI82Hn3R.js";
|
|
3
|
+
import { i as a, r as o, t as s } from "./tiff-contract-DEd8CGuz.js";
|
|
4
|
+
import { t as c } from "./raster-target-Ca3tyA0L.js";
|
|
5
|
+
import { t as l } from "./renderer-module-contract-BuTx2FWJ.js";
|
|
6
6
|
var u = class {
|
|
7
7
|
bytes;
|
|
8
8
|
truncatedMessage;
|
|
@@ -856,8 +856,5 @@ async function xe(e, t = {}) {
|
|
|
856
856
|
}
|
|
857
857
|
return i || g("TIFF ImageBitmap creation returned no bitmap"), i;
|
|
858
858
|
}
|
|
859
|
-
//#endregion
|
|
860
|
-
//#region src/tiff.ts
|
|
861
859
|
var Se = l({ render: xe }, "tiff");
|
|
862
|
-
//#endregion
|
|
863
860
|
export { s as TiffDecodeError, a as isTiffDecodeError, Se as tiff };
|
package/dist/types/chart-ex.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-oB13FB5_.d.ts
|
|
2
2
|
interface Duotone {
|
|
3
3
|
clr1: string;
|
|
4
4
|
clr2: string;
|
|
@@ -1223,7 +1223,7 @@ interface ChartRect {
|
|
|
1223
1223
|
h: number;
|
|
1224
1224
|
}
|
|
1225
1225
|
//#endregion
|
|
1226
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
1226
|
+
//#region dist/.types-work/chart-ex-contract-Btw9pmox.d.ts
|
|
1227
1227
|
interface ChartExRenderer {
|
|
1228
1228
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1229
1229
|
}
|
package/dist/types/docx.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region dist/.types-work/chart-
|
|
1
|
+
//#region dist/.types-work/chart-oB13FB5_.d.ts
|
|
2
2
|
type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
|
|
3
3
|
interface ImageResourceOptions {
|
|
4
4
|
decodedByteBudget?: number;
|
|
@@ -1333,12 +1333,12 @@ interface ChartRect {
|
|
|
1333
1333
|
h: number;
|
|
1334
1334
|
}
|
|
1335
1335
|
//#endregion
|
|
1336
|
-
//#region dist/.types-work/chart-ex-contract-
|
|
1336
|
+
//#region dist/.types-work/chart-ex-contract-Btw9pmox.d.ts
|
|
1337
1337
|
interface ChartExRenderer {
|
|
1338
1338
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1339
1339
|
}
|
|
1340
1340
|
//#endregion
|
|
1341
|
-
//#region dist/.types-work/mathjax-
|
|
1341
|
+
//#region dist/.types-work/mathjax-DXhFag3c.d.ts
|
|
1342
1342
|
interface MathSvg {
|
|
1343
1343
|
svg: string;
|
|
1344
1344
|
widthEm: number;
|
|
@@ -1350,17 +1350,17 @@ interface MathRenderer {
|
|
|
1350
1350
|
mathMLToSvg(mathml: string): Promise<MathSvg>;
|
|
1351
1351
|
}
|
|
1352
1352
|
//#endregion
|
|
1353
|
-
//#region dist/.types-work/three-d-contract-
|
|
1353
|
+
//#region dist/.types-work/three-d-contract-C1vpmN0H.d.ts
|
|
1354
1354
|
interface ChartThreeDRenderer {
|
|
1355
1355
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1356
1356
|
}
|
|
1357
1357
|
//#endregion
|
|
1358
|
-
//#region dist/.types-work/region-map-contract-
|
|
1358
|
+
//#region dist/.types-work/region-map-contract-C3gO5S5h.d.ts
|
|
1359
1359
|
interface ChartRegionMapRenderer {
|
|
1360
1360
|
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
1361
1361
|
}
|
|
1362
1362
|
//#endregion
|
|
1363
|
-
//#region dist/.types-work/tiff-contract-
|
|
1363
|
+
//#region dist/.types-work/tiff-contract-CiDe3tba.d.ts
|
|
1364
1364
|
interface TiffRenderOptions {
|
|
1365
1365
|
targetWidthPx?: number;
|
|
1366
1366
|
targetHeightPx?: number;
|
|
@@ -1375,7 +1375,7 @@ interface TiffRenderer {
|
|
|
1375
1375
|
render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
|
|
1376
1376
|
}
|
|
1377
1377
|
//#endregion
|
|
1378
|
-
//#region dist/.types-work/hyperlink-
|
|
1378
|
+
//#region dist/.types-work/hyperlink-Du5ndoeF.d.ts
|
|
1379
1379
|
type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
|
|
1380
1380
|
type CjkFallback = 'auto' | CjkLang;
|
|
1381
1381
|
type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
|
|
@@ -1511,7 +1511,7 @@ type HyperlinkTarget = {
|
|
|
1511
1511
|
};
|
|
1512
1512
|
declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
|
|
1513
1513
|
//#endregion
|
|
1514
|
-
//#region dist/.types-work/find-highlight-
|
|
1514
|
+
//#region dist/.types-work/find-highlight-bgte5AM6.d.ts
|
|
1515
1515
|
interface TextSelectionContextOptions {
|
|
1516
1516
|
readonly maxTextCharacters?: number;
|
|
1517
1517
|
readonly maxRunLocators?: number;
|
|
@@ -1572,7 +1572,7 @@ interface FindHighlightColors {
|
|
|
1572
1572
|
active?: string;
|
|
1573
1573
|
}
|
|
1574
1574
|
//#endregion
|
|
1575
|
-
//#region dist/.types-work/model-source-
|
|
1575
|
+
//#region dist/.types-work/model-source-o_kIn8O6.d.ts
|
|
1576
1576
|
type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
|
|
1577
1577
|
type ModelSourceConfigValue = string | number | boolean | null;
|
|
1578
1578
|
type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
|
|
@@ -1602,7 +1602,7 @@ interface ModelSourceModule<TArchive = unknown> {
|
|
|
1602
1602
|
openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
|
|
1603
1603
|
}
|
|
1604
1604
|
//#endregion
|
|
1605
|
-
//#region dist/.types-work/types-
|
|
1605
|
+
//#region dist/.types-work/types-C2FlVYUX.d.ts
|
|
1606
1606
|
type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
|
|
1607
1607
|
interface DocxDiagnostic {
|
|
1608
1608
|
readonly code: DocxDiagnosticCode;
|
|
@@ -1634,6 +1634,7 @@ interface EmbeddedFontRef {
|
|
|
1634
1634
|
fontKey: string;
|
|
1635
1635
|
}
|
|
1636
1636
|
interface DocSettings {
|
|
1637
|
+
footnoteLayoutLikeWW8?: boolean;
|
|
1637
1638
|
doNotUseHtmlParagraphAutoSpacing?: boolean;
|
|
1638
1639
|
kinsoku?: boolean;
|
|
1639
1640
|
noLineBreaksBefore?: string;
|
|
@@ -2425,7 +2426,7 @@ interface RenderPageOptions {
|
|
|
2425
2426
|
showTrackedChanges?: boolean;
|
|
2426
2427
|
}
|
|
2427
2428
|
//#endregion
|
|
2428
|
-
//#region dist/.types-work/docx-
|
|
2429
|
+
//#region dist/.types-work/docx-Y6PoeUXw.d.ts
|
|
2429
2430
|
interface CommentAnchorRange {
|
|
2430
2431
|
readonly commentId: string;
|
|
2431
2432
|
readonly source: Readonly<DocxStorySource>;
|