pptx-vue-viewer 1.24.2 → 1.24.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/CHANGELOG.md +2 -0
- package/dist/composables-unstable.cjs +1 -1
- package/dist/composables-unstable.cjs.br +0 -0
- package/dist/composables-unstable.cjs.gz +0 -0
- package/dist/composables-unstable.js +1 -1
- package/dist/composables-unstable.js.br +0 -0
- package/dist/composables-unstable.js.gz +0 -0
- package/dist/{dist-5FcjzIkV.js → dist-CMnQ-wCx.js} +121 -117
- package/dist/dist-CMnQ-wCx.js.br +0 -0
- package/dist/dist-CMnQ-wCx.js.gz +0 -0
- package/dist/{dist-Cm_BQgBe.cjs → dist-V2853frW.cjs} +121 -117
- package/dist/dist-V2853frW.cjs.br +0 -0
- package/dist/dist-V2853frW.cjs.gz +0 -0
- package/dist/gif-encoder-C_JOjQDF.js +2 -0
- package/dist/gif-encoder-C_JOjQDF.js.br +0 -0
- package/dist/gif-encoder-C_JOjQDF.js.gz +0 -0
- package/dist/gif-encoder-pYsxpOka.cjs +2 -0
- package/dist/gif-encoder-pYsxpOka.cjs.br +0 -0
- package/dist/gif-encoder-pYsxpOka.cjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-BdPOup9Q.js → useViewerSettingsDialog-BVSc0Rlh.js} +34 -6
- package/dist/useViewerSettingsDialog-BVSc0Rlh.js.br +0 -0
- package/dist/useViewerSettingsDialog-BVSc0Rlh.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-D5oP7tps.cjs → useViewerSettingsDialog-Dk1xF6cg.cjs} +202 -174
- package/dist/useViewerSettingsDialog-Dk1xF6cg.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Dk1xF6cg.cjs.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-Bl5YfWO0.cjs → viewer-B86J9Mdo.cjs} +2 -2
- package/dist/viewer-B86J9Mdo.cjs.br +0 -0
- package/dist/viewer-B86J9Mdo.cjs.gz +0 -0
- package/dist/{viewer-B3tFbH1y.js → viewer-Bp2Imd72.js} +3 -3
- package/dist/viewer-Bp2Imd72.js.br +0 -0
- package/dist/viewer-Bp2Imd72.js.gz +0 -0
- package/package.json +1 -1
- package/dist/dist-5FcjzIkV.js.br +0 -0
- package/dist/dist-5FcjzIkV.js.gz +0 -0
- package/dist/dist-Cm_BQgBe.cjs.br +0 -0
- package/dist/dist-Cm_BQgBe.cjs.gz +0 -0
- package/dist/gif-encoder-BZra4crt.cjs +0 -2
- package/dist/gif-encoder-BZra4crt.cjs.br +0 -0
- package/dist/gif-encoder-BZra4crt.cjs.gz +0 -0
- package/dist/gif-encoder-DhAWBkxt.js +0 -2
- package/dist/gif-encoder-DhAWBkxt.js.br +0 -0
- package/dist/gif-encoder-DhAWBkxt.js.gz +0 -0
- package/dist/useViewerSettingsDialog-BdPOup9Q.js.br +0 -0
- package/dist/useViewerSettingsDialog-BdPOup9Q.js.gz +0 -0
- package/dist/useViewerSettingsDialog-D5oP7tps.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-D5oP7tps.cjs.gz +0 -0
- package/dist/viewer-B3tFbH1y.js.br +0 -0
- package/dist/viewer-B3tFbH1y.js.gz +0 -0
- package/dist/viewer-Bl5YfWO0.cjs.br +0 -0
- package/dist/viewer-Bl5YfWO0.cjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
6
|
|
|
7
|
+
## [1.24.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.24.2) - 2026-07-19
|
|
8
|
+
|
|
7
9
|
## [1.24.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.24.1) - 2026-07-18
|
|
8
10
|
|
|
9
11
|
## [1.24.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.24.0) - 2026-07-18
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./useViewerSettingsDialog-
|
|
2
|
+
const e = require("./useViewerSettingsDialog-Dk1xF6cg.cjs");
|
|
3
3
|
let t = require("vue");
|
|
4
4
|
function s(e) {
|
|
5
5
|
const t = /* @__PURE__ */ new Set(), s = [];
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as a, $t as s, A as t, At as e, B as n, Bt as u, Ct as l, D as i, Dt as c, E as o, Ei as r, Et as v, F as f, G as d, Gt as g, H as h, Ht as m, I as p, J as w, Jt as y, K as E, Kt as S, L as j, M as D, Mt as M, N as V, Nt as W, O as k, Ot as q, P as x, Pr as z, Q as A, R as B, St as G, T as H, Tt as I, U as J, Ut as K, V as N, Vt as O, W as P, Wa as T, Wt as U, X, Xt as Y, Y as Z, Yt as $, Z as _, Zt as b, _ as C, _t as F, a as L, an as Q, at as R, bt as aa, c as sa, ci as ta, cn as ea, ct as na, d as ua, dt as la, er as ia, et as ca, f as oa, fr as ra, ft as va, g as fa, gt as da, h as ga, hn as ha, ht as ma, i as pa, in as wa, it as ya, j as Ea, jt as Sa, k as ja, kt as Da, l as Ma, ln as Va, m as Wa, mt as ka, n as qa, nn as xa, nt as za, o as Aa, on as Ba, ot as Ga, p as Ha, pt as Ia, q as Ja, qt as Ka, r as Na, rn as Oa, rt as Pa, s as Ta, sn as Ua, st as Xa, t as Ya, tr as Za, tt as $a, u as _a, v as ba, vt as Ca, w as Fa, wt as La, xt as Qa, y as Ra, yt as as, z as ss, zt as ts } from "./useViewerSettingsDialog-
|
|
1
|
+
import { $ as a, $t as s, A as t, At as e, B as n, Bt as u, Ct as l, D as i, Dt as c, E as o, Ei as r, Et as v, F as f, G as d, Gt as g, H as h, Ht as m, I as p, J as w, Jt as y, K as E, Kt as S, L as j, M as D, Mt as M, N as V, Nt as W, O as k, Ot as q, P as x, Pr as z, Q as A, R as B, St as G, T as H, Tt as I, U as J, Ut as K, V as N, Vt as O, W as P, Wa as T, Wt as U, X, Xt as Y, Y as Z, Yt as $, Z as _, Zt as b, _ as C, _t as F, a as L, an as Q, at as R, bt as aa, c as sa, ci as ta, cn as ea, ct as na, d as ua, dt as la, er as ia, et as ca, f as oa, fr as ra, ft as va, g as fa, gt as da, h as ga, hn as ha, ht as ma, i as pa, in as wa, it as ya, j as Ea, jt as Sa, k as ja, kt as Da, l as Ma, ln as Va, m as Wa, mt as ka, n as qa, nn as xa, nt as za, o as Aa, on as Ba, ot as Ga, p as Ha, pt as Ia, q as Ja, qt as Ka, r as Na, rn as Oa, rt as Pa, s as Ta, sn as Ua, st as Xa, t as Ya, tr as Za, tt as $a, u as _a, v as ba, vt as Ca, w as Fa, wt as La, xt as Qa, y as Ra, yt as as, z as ss, zt as ts } from "./useViewerSettingsDialog-BVSc0Rlh.js";
|
|
2
2
|
import { computed as es, readonly as ns, ref as us } from "vue";
|
|
3
3
|
function ls(a = []) {
|
|
4
4
|
const s = us(is(a)), t = es(() => 0 === s.value.length);
|
|
Binary file
|
|
Binary file
|
|
@@ -29592,7 +29592,7 @@ function Id(e) {
|
|
|
29592
29592
|
}
|
|
29593
29593
|
function Md(e) {
|
|
29594
29594
|
const t = [];
|
|
29595
|
-
return e.
|
|
29595
|
+
return e.rotation && t.push(`rotate(${e.rotation}deg)`), e.flipHorizontal && t.push("scaleX(-1)"), e.flipVertical && t.push("scaleY(-1)"), t.length > 0 ? t.join(" ") : void 0;
|
|
29596
29596
|
}
|
|
29597
29597
|
function Fd(e) {
|
|
29598
29598
|
const t = [];
|
|
@@ -51776,10 +51776,12 @@ var RF = class e extends FF {
|
|
|
51776
51776
|
pointsToPixels(e) {
|
|
51777
51777
|
return e * (96 / 72);
|
|
51778
51778
|
}
|
|
51779
|
-
parseParagraphSpacingPx(e) {
|
|
51779
|
+
parseParagraphSpacingPx(e, t) {
|
|
51780
51780
|
if (!e) return;
|
|
51781
|
-
const
|
|
51782
|
-
|
|
51781
|
+
const r = Number.parseInt(String(e["a:spcPts"]?.["@_val"] || ""), 10);
|
|
51782
|
+
if (Number.isFinite(r)) return this.pointsToPixels(r / 100);
|
|
51783
|
+
const n = Number.parseInt(String(e["a:spcPct"]?.["@_val"] || ""), 10);
|
|
51784
|
+
return Number.isFinite(n) && "number" == typeof t && t > 0 ? n / 1e5 * t : void 0;
|
|
51783
51785
|
}
|
|
51784
51786
|
parseLineSpacingMultiplier(e) {
|
|
51785
51787
|
if (!e) return;
|
|
@@ -51795,79 +51797,76 @@ var RF = class e extends FF {
|
|
|
51795
51797
|
void 0 === e.fontFamily && void 0 !== t.fontFamily && (e.fontFamily = t.fontFamily), void 0 === e.fontSize && void 0 !== t.fontSize && (e.fontSize = t.fontSize), void 0 === e.bold && void 0 !== t.bold && (e.bold = t.bold), void 0 === e.italic && void 0 !== t.italic && (e.italic = t.italic), void 0 === e.color && void 0 !== t.color && (e.color = t.color), void 0 === e.paragraphMarginLeft && void 0 !== t.marginLeft && (e.paragraphMarginLeft = t.marginLeft), void 0 === e.paragraphIndent && void 0 !== t.indent && (e.paragraphIndent = t.indent), void 0 === e.lineSpacing && void 0 === e.lineSpacingExactPt && (void 0 !== t.lineSpacing ? e.lineSpacing = t.lineSpacing : void 0 !== t.lineSpacingExactPt && (e.lineSpacingExactPt = t.lineSpacingExactPt)), void 0 === e.paragraphSpacingBefore && void 0 !== t.spaceBefore && (e.paragraphSpacingBefore = t.spaceBefore), void 0 === e.paragraphSpacingAfter && void 0 !== t.spaceAfter && (e.paragraphSpacingAfter = t.spaceAfter), void 0 === e.align && void 0 !== t.alignment && (e.align = t.alignment);
|
|
51796
51798
|
}
|
|
51797
51799
|
}, jF = class extends $F {
|
|
51798
|
-
resolveParagraphBulletInfo(e, t, r, n, i = !1, a) {
|
|
51800
|
+
resolveParagraphBulletInfo(e, t, r, n, i = !1, a, o) {
|
|
51799
51801
|
if (!e) return null;
|
|
51800
|
-
const
|
|
51801
|
-
if (Iu(
|
|
51802
|
-
const
|
|
51803
|
-
|
|
51804
|
-
Lu(Lu(r, "a:lstStyle"),
|
|
51805
|
-
|
|
51802
|
+
const s = e["a:pPr"];
|
|
51803
|
+
if (Iu(s, "a:buNone")) return { none: !0 };
|
|
51804
|
+
const l = Number.parseInt(String(s?.["@_lvl"] || "0"), 10), c = Number.isFinite(l) ? Math.min(Math.max(l + 1, 1), 9) : 1, d = `a:lvl${c}pPr`, p = Lu(Lu(n, "a:lstStyle"), d), h = [
|
|
51805
|
+
s,
|
|
51806
|
+
Lu(Lu(r, "a:lstStyle"), d),
|
|
51807
|
+
p,
|
|
51806
51808
|
Bu(r, "a:lstStyle", "a:defPPr"),
|
|
51807
51809
|
Bu(n, "a:lstStyle", "a:defPPr")
|
|
51808
51810
|
];
|
|
51809
|
-
let
|
|
51810
|
-
for (const e of
|
|
51811
|
+
let u;
|
|
51812
|
+
for (const e of h) if (e) {
|
|
51811
51813
|
if (Iu(e, "a:buNone")) return { none: !0 };
|
|
51812
51814
|
if (e["a:buChar"] || e["a:buAutoNum"] || e["a:buBlip"] || void 0 !== e["a:buFontTx"] || void 0 !== e["a:buClrTx"] || void 0 !== e["a:buSzTx"]) {
|
|
51813
|
-
|
|
51815
|
+
u = e;
|
|
51814
51816
|
break;
|
|
51815
51817
|
}
|
|
51816
51818
|
}
|
|
51817
|
-
if (!
|
|
51818
|
-
|
|
51819
|
-
|
|
51820
|
-
|
|
51821
|
-
|
|
51822
|
-
|
|
51823
|
-
|
|
51824
|
-
|
|
51825
|
-
|
|
51826
|
-
|
|
51827
|
-
|
|
51828
|
-
|
|
51829
|
-
|
|
51830
|
-
|
|
51831
|
-
|
|
51832
|
-
|
|
51833
|
-
|
|
51834
|
-
|
|
51835
|
-
|
|
51836
|
-
const
|
|
51837
|
-
|
|
51838
|
-
|
|
51839
|
-
|
|
51840
|
-
|
|
51841
|
-
|
|
51842
|
-
|
|
51843
|
-
|
|
51844
|
-
|
|
51845
|
-
|
|
51846
|
-
...
|
|
51847
|
-
...g ? { fontInherit: !0 } : {},
|
|
51848
|
-
...C ? { colorInherit: !0 } : {},
|
|
51849
|
-
...T ? { sizeInherit: !0 } : {}
|
|
51819
|
+
if (!u) {
|
|
51820
|
+
const e = o?.[c - 1] ?? o?.[-1] ?? (i ? this.presentationDefaultTextStyle?.levelStyles?.[c - 1] ?? this.presentationDefaultTextStyle?.levelStyles?.[-1] : void 0);
|
|
51821
|
+
return this.createBulletInfoFromLevelStyle(e, t);
|
|
51822
|
+
}
|
|
51823
|
+
const m = u["a:buFont"], g = m?.["@_typeface"] ? String(m["@_typeface"]) : void 0, f = void 0 !== u["a:buFontTx"], y = u["a:buSzPct"];
|
|
51824
|
+
let x;
|
|
51825
|
+
if (void 0 !== y?.["@_val"]) {
|
|
51826
|
+
const e = Number.parseInt(String(y["@_val"]), 10);
|
|
51827
|
+
Number.isFinite(e) && (x = e / 1e3);
|
|
51828
|
+
}
|
|
51829
|
+
const b = u["a:buSzPts"];
|
|
51830
|
+
let T;
|
|
51831
|
+
if (void 0 !== b?.["@_val"]) {
|
|
51832
|
+
const e = Number.parseInt(String(b["@_val"]), 10);
|
|
51833
|
+
Number.isFinite(e) && (T = e / 100);
|
|
51834
|
+
}
|
|
51835
|
+
const S = void 0 !== u["a:buSzTx"], w = u["a:buClr"];
|
|
51836
|
+
let v, C;
|
|
51837
|
+
w && (v = this.parseColor(w), C = xi(w));
|
|
51838
|
+
const _ = void 0 !== u["a:buClrTx"], k = String(u["a:buChar"]?.["@_char"] || "");
|
|
51839
|
+
if (k.length > 0) return {
|
|
51840
|
+
char: k,
|
|
51841
|
+
fontFamily: g,
|
|
51842
|
+
sizePercent: x,
|
|
51843
|
+
sizePts: T,
|
|
51844
|
+
color: v,
|
|
51845
|
+
...C ? { colorXml: C } : {},
|
|
51846
|
+
...f ? { fontInherit: !0 } : {},
|
|
51847
|
+
..._ ? { colorInherit: !0 } : {},
|
|
51848
|
+
...S ? { sizeInherit: !0 } : {}
|
|
51850
51849
|
};
|
|
51851
|
-
const
|
|
51852
|
-
if (
|
|
51853
|
-
const e =
|
|
51850
|
+
const P = u["a:buAutoNum"];
|
|
51851
|
+
if (P) {
|
|
51852
|
+
const e = P["@_type"] ? String(P["@_type"]) : void 0, r = Number.parseInt(String(P["@_startAt"] || "1"), 10);
|
|
51854
51853
|
return {
|
|
51855
51854
|
autoNumType: e,
|
|
51856
51855
|
autoNumStartAt: Number.isFinite(r) ? r : 1,
|
|
51857
51856
|
paragraphIndex: t,
|
|
51858
|
-
fontFamily:
|
|
51859
|
-
sizePercent:
|
|
51860
|
-
sizePts:
|
|
51861
|
-
color:
|
|
51862
|
-
...
|
|
51863
|
-
...
|
|
51864
|
-
...
|
|
51865
|
-
...
|
|
51857
|
+
fontFamily: g,
|
|
51858
|
+
sizePercent: x,
|
|
51859
|
+
sizePts: T,
|
|
51860
|
+
color: v,
|
|
51861
|
+
...C ? { colorXml: C } : {},
|
|
51862
|
+
...f ? { fontInherit: !0 } : {},
|
|
51863
|
+
..._ ? { colorInherit: !0 } : {},
|
|
51864
|
+
...S ? { sizeInherit: !0 } : {}
|
|
51866
51865
|
};
|
|
51867
51866
|
}
|
|
51868
|
-
const
|
|
51869
|
-
if (
|
|
51870
|
-
const e =
|
|
51867
|
+
const L = u["a:buBlip"];
|
|
51868
|
+
if (L) {
|
|
51869
|
+
const e = L["a:blip"], t = e?.["@_r:embed"] ? String(e["@_r:embed"]) : void 0, r = { ...L };
|
|
51871
51870
|
if (t && a) {
|
|
51872
51871
|
const n = this.slideRelsMap.get(a)?.get(t);
|
|
51873
51872
|
let i;
|
|
@@ -51880,20 +51879,20 @@ var RF = class e extends FF {
|
|
|
51880
51879
|
imageRelId: t,
|
|
51881
51880
|
imageDataUrl: i,
|
|
51882
51881
|
imageBlipFillXml: r,
|
|
51883
|
-
fontFamily:
|
|
51884
|
-
sizePercent:
|
|
51885
|
-
sizePts:
|
|
51886
|
-
color:
|
|
51887
|
-
...
|
|
51882
|
+
fontFamily: g,
|
|
51883
|
+
sizePercent: x,
|
|
51884
|
+
sizePts: T,
|
|
51885
|
+
color: v,
|
|
51886
|
+
...C ? { colorXml: C } : {}
|
|
51888
51887
|
};
|
|
51889
51888
|
}
|
|
51890
51889
|
return {
|
|
51891
51890
|
imageBlipFillXml: r,
|
|
51892
|
-
fontFamily:
|
|
51893
|
-
sizePercent:
|
|
51894
|
-
sizePts:
|
|
51895
|
-
color:
|
|
51896
|
-
...
|
|
51891
|
+
fontFamily: g,
|
|
51892
|
+
sizePercent: x,
|
|
51893
|
+
sizePts: T,
|
|
51894
|
+
color: v,
|
|
51895
|
+
...C ? { colorXml: C } : {}
|
|
51897
51896
|
};
|
|
51898
51897
|
}
|
|
51899
51898
|
return null;
|
|
@@ -52101,12 +52100,13 @@ var RF = class e extends FF {
|
|
|
52101
52100
|
dist: "dist",
|
|
52102
52101
|
thaiDist: "thaiDist"
|
|
52103
52102
|
}[a["@_algn"]] || "left", r.align || (r.align = s);
|
|
52103
|
+
const l = "number" == typeof r.fontSize ? r.fontSize : void 0;
|
|
52104
52104
|
if (void 0 === r.paragraphSpacingBefore) {
|
|
52105
|
-
const e = this.parseParagraphSpacingPx(a?.["a:spcBef"]);
|
|
52105
|
+
const e = this.parseParagraphSpacingPx(a?.["a:spcBef"], l);
|
|
52106
52106
|
void 0 !== e && (r.paragraphSpacingBefore = e);
|
|
52107
52107
|
}
|
|
52108
52108
|
if (void 0 === r.paragraphSpacingAfter) {
|
|
52109
|
-
const e = this.parseParagraphSpacingPx(a?.["a:spcAft"]);
|
|
52109
|
+
const e = this.parseParagraphSpacingPx(a?.["a:spcAft"], l);
|
|
52110
52110
|
void 0 !== e && (r.paragraphSpacingAfter = e);
|
|
52111
52111
|
}
|
|
52112
52112
|
if (void 0 === r.lineSpacing && void 0 === r.lineSpacingExactPt) {
|
|
@@ -52163,29 +52163,29 @@ var RF = class e extends FF {
|
|
|
52163
52163
|
const e = this.parseOptionalBooleanAttr(a["@_hangingPunct"]);
|
|
52164
52164
|
void 0 !== e && (r.hangingPunctuation = e);
|
|
52165
52165
|
}
|
|
52166
|
-
const
|
|
52166
|
+
const c = this.extractTextRunStyle(a?.["a:defRPr"], s, n.slideRelationshipMap, !1), d = void 0 === a?.["@_lvl"] ? -1 : Number.parseInt(String(a["@_lvl"]), 10), p = -1 === d ? "a:defPPr" : `a:lvl${Number.isFinite(d) ? Math.min(Math.max(d + 1, 1), 9) : 1}pPr`, h = this.extractTextRunStyle(n.inheritedTxBody?.["a:lstStyle"]?.[p]?.["a:defRPr"], s, n.slideRelationshipMap, !1), u = this.extractTextRunStyle(n.txBody?.["a:lstStyle"]?.[p]?.["a:defRPr"], s, n.slideRelationshipMap, !1), m = this.extractTextRunStyle(t?.["a:endParaRPr"], s, n.slideRelationshipMap, !1), g = {
|
|
52167
52167
|
...n.bodyDefaultRunStyle,
|
|
52168
|
-
...p,
|
|
52169
52168
|
...h,
|
|
52170
52169
|
...u,
|
|
52171
|
-
...
|
|
52170
|
+
...m,
|
|
52171
|
+
...c
|
|
52172
52172
|
};
|
|
52173
52173
|
if (n.effectiveLevelStyles) {
|
|
52174
|
-
const e = -1 ===
|
|
52175
|
-
t && (this.applyPlaceholderLevelDefaults(
|
|
52174
|
+
const e = -1 === d ? -1 : Number.isFinite(d) ? Math.min(Math.max(d, 0), 8) : 0, t = n.effectiveLevelStyles[e] ?? n.effectiveLevelStyles[-1] ?? (-1 === e ? n.effectiveLevelStyles[0] : void 0);
|
|
52175
|
+
t && (this.applyPlaceholderLevelDefaults(g, t), this.applyPlaceholderLevelDefaults(r, t));
|
|
52176
52176
|
}
|
|
52177
52177
|
void 0 === a?.["@_algn"] && void 0 !== r.align && (s = r.align);
|
|
52178
|
-
let
|
|
52178
|
+
let f = void 0 !== a?.["@_marL"] ? Number.parseInt(String(a["@_marL"]), 10) / e.EMU_PER_PX : void 0, y = void 0 !== a?.["@_indent"] ? Number.parseInt(String(a["@_indent"]), 10) / e.EMU_PER_PX : void 0;
|
|
52179
52179
|
if (n.effectiveLevelStyles) {
|
|
52180
|
-
const e = -1 ===
|
|
52181
|
-
t && (void 0 ===
|
|
52180
|
+
const e = -1 === d ? -1 : Number.isFinite(d) ? Math.min(Math.max(d, 0), 8) : 0, t = n.effectiveLevelStyles[e] ?? n.effectiveLevelStyles[-1] ?? (-1 === e ? n.effectiveLevelStyles[0] : void 0);
|
|
52181
|
+
t && (void 0 === f && void 0 !== t.marginLeft && (f = t.marginLeft), void 0 === y && void 0 !== t.indent && (y = t.indent));
|
|
52182
52182
|
}
|
|
52183
52183
|
return {
|
|
52184
52184
|
paraAlign: s,
|
|
52185
|
-
mergedDefaultRunStyle:
|
|
52185
|
+
mergedDefaultRunStyle: g,
|
|
52186
52186
|
indent: {
|
|
52187
|
-
marginLeft:
|
|
52188
|
-
indent:
|
|
52187
|
+
marginLeft: f,
|
|
52188
|
+
indent: y
|
|
52189
52189
|
}
|
|
52190
52190
|
};
|
|
52191
52191
|
}
|
|
@@ -52195,7 +52195,7 @@ var RF = class e extends FF {
|
|
|
52195
52195
|
let l;
|
|
52196
52196
|
const c = (e) => {
|
|
52197
52197
|
l || (l = { ...e });
|
|
52198
|
-
}, d = "body" === a.placeholderInfo?.type || "obj" === a.placeholderInfo?.type, p = this.resolveParagraphBulletInfo(e, t, a.txBody, a.inheritedTxBody, d, a.slidePath);
|
|
52198
|
+
}, d = "body" === a.placeholderInfo?.type || "obj" === a.placeholderInfo?.type, p = this.resolveParagraphBulletInfo(e, t, a.txBody, a.inheritedTxBody, d, a.slidePath, a.effectiveLevelStyles);
|
|
52199
52199
|
if (p && !p.none) {
|
|
52200
52200
|
let e;
|
|
52201
52201
|
if (p.char) e = `${p.char} `;
|
|
@@ -53001,16 +53001,20 @@ var QF = class e extends YF {
|
|
|
53001
53001
|
resolveThemeColor(e) {
|
|
53002
53002
|
const t = e.trim().toLowerCase();
|
|
53003
53003
|
if (!t) return;
|
|
53004
|
+
const r = (e) => "folhlink" === e.toLowerCase() ? "folHlink" : e;
|
|
53004
53005
|
if ("phclr" === t) return this.themeColorMap.phclr || this.themeColorMap.accent1 || this.getDefaultSchemeColorMap().accent1;
|
|
53005
|
-
const
|
|
53006
|
-
if (
|
|
53007
|
-
const e = r
|
|
53008
|
-
if (e)
|
|
53006
|
+
const n = this.currentSlideClrMapOverride ?? this.currentMasterClrMap;
|
|
53007
|
+
if (n) {
|
|
53008
|
+
const e = n[r(t)];
|
|
53009
|
+
if (e) {
|
|
53010
|
+
const t = r(e);
|
|
53011
|
+
return this.themeColorMap[t] || this.getDefaultSchemeColorMap()[t];
|
|
53012
|
+
}
|
|
53009
53013
|
} else {
|
|
53010
53014
|
const e = tD[t];
|
|
53011
|
-
if (e) return this.themeColorMap[e] || this.themeColorMap[t] || this.getDefaultSchemeColorMap()[t];
|
|
53015
|
+
if (e) return this.themeColorMap[e] || this.themeColorMap[r(t)] || this.getDefaultSchemeColorMap()[r(t)];
|
|
53012
53016
|
}
|
|
53013
|
-
return this.themeColorMap[t] || this.getDefaultSchemeColorMap()[t];
|
|
53017
|
+
return this.themeColorMap[r(t)] || this.getDefaultSchemeColorMap()[r(t)];
|
|
53014
53018
|
}
|
|
53015
53019
|
normalizeStrokeDashType(e) {
|
|
53016
53020
|
const t = String(e ?? "").trim();
|
|
@@ -53452,42 +53456,42 @@ var QF = class e extends YF {
|
|
|
53452
53456
|
void 0 !== e && (r.lineSpacingExactPt = e);
|
|
53453
53457
|
}
|
|
53454
53458
|
}
|
|
53455
|
-
const s = this.parseParagraphSpacingPx(t["a:spcBef"]);
|
|
53456
|
-
void 0 !==
|
|
53457
|
-
const
|
|
53458
|
-
void 0 !==
|
|
53459
|
-
const
|
|
53460
|
-
|
|
53461
|
-
const
|
|
53462
|
-
|
|
53463
|
-
const
|
|
53464
|
-
|
|
53465
|
-
const
|
|
53466
|
-
if (void 0 !==
|
|
53467
|
-
const e = Number.parseInt(String(
|
|
53459
|
+
const s = Number.parseInt(String(t["a:defRPr"]?.["@_sz"] || ""), 10), l = Number.isFinite(s) ? this.pointsToPixels(s / 100) : void 0, c = this.parseParagraphSpacingPx(t["a:spcBef"], l);
|
|
53460
|
+
void 0 !== c && (r.spaceBefore = c);
|
|
53461
|
+
const d = this.parseParagraphSpacingPx(t["a:spcAft"], l);
|
|
53462
|
+
void 0 !== d && (r.spaceAfter = d);
|
|
53463
|
+
const p = t["a:buChar"];
|
|
53464
|
+
p?.["@_char"] && (r.bulletChar = String(p["@_char"]));
|
|
53465
|
+
const h = t["a:buAutoNum"];
|
|
53466
|
+
h?.["@_type"] && (r.bulletAutoNumType = String(h["@_type"]));
|
|
53467
|
+
const u = t["a:buFont"];
|
|
53468
|
+
u?.["@_typeface"] && (r.bulletFontFamily = String(u["@_typeface"]));
|
|
53469
|
+
const m = t["a:buSzPct"];
|
|
53470
|
+
if (void 0 !== m?.["@_val"]) {
|
|
53471
|
+
const e = Number.parseInt(String(m["@_val"]), 10);
|
|
53468
53472
|
Number.isFinite(e) && (r.bulletSizePercent = e / 1e3);
|
|
53469
53473
|
}
|
|
53470
|
-
const
|
|
53471
|
-
if (
|
|
53472
|
-
const e =
|
|
53474
|
+
const g = t["a:buClr"];
|
|
53475
|
+
if (g) {
|
|
53476
|
+
const e = g["a:srgbClr"];
|
|
53473
53477
|
e?.["@_val"] && (r.bulletColor = String(e["@_val"]));
|
|
53474
53478
|
}
|
|
53475
|
-
const
|
|
53476
|
-
if (void 0 !==
|
|
53477
|
-
const e = Number.parseInt(String(
|
|
53479
|
+
const f = t["a:buSzPts"];
|
|
53480
|
+
if (void 0 !== f?.["@_val"]) {
|
|
53481
|
+
const e = Number.parseInt(String(f["@_val"]), 10);
|
|
53478
53482
|
Number.isFinite(e) && (r.bulletSizePts = e / 100);
|
|
53479
53483
|
}
|
|
53480
53484
|
Iu(t, "a:buNone") && (r.bulletNone = !0);
|
|
53481
|
-
const
|
|
53482
|
-
if (
|
|
53483
|
-
if (void 0 !==
|
|
53484
|
-
const e = Number.parseInt(String(
|
|
53485
|
+
const y = t["a:defRPr"];
|
|
53486
|
+
if (y) {
|
|
53487
|
+
if (void 0 !== y["@_sz"]) {
|
|
53488
|
+
const e = Number.parseInt(String(y["@_sz"]), 10);
|
|
53485
53489
|
Number.isFinite(e) && (r.fontSize = e / 100 * (96 / 72));
|
|
53486
53490
|
}
|
|
53487
|
-
void 0 !==
|
|
53488
|
-
const e = this.parseColor(
|
|
53491
|
+
void 0 !== y["@_b"] && (r.bold = "1" === y["@_b"]), void 0 !== y["@_i"] && (r.italic = "1" === y["@_i"]);
|
|
53492
|
+
const e = this.parseColor(y["a:solidFill"]);
|
|
53489
53493
|
e && (r.color = e);
|
|
53490
|
-
const t =
|
|
53494
|
+
const t = y["a:latin"];
|
|
53491
53495
|
if (t?.["@_typeface"]) {
|
|
53492
53496
|
const e = String(t["@_typeface"]);
|
|
53493
53497
|
r.fontFamily = this.resolveThemeTypeface(e) ?? e;
|
|
Binary file
|
|
Binary file
|