pptx-vue-viewer 1.7.1 → 1.8.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.
- package/CHANGELOG.md +8 -0
- package/dist/{dist-d0emB_12.cjs → dist-DGzWa4K-.cjs} +12 -12
- package/dist/dist-DGzWa4K-.cjs.br +0 -0
- package/dist/{dist-d0emB_12.cjs.gz → dist-DGzWa4K-.cjs.gz} +0 -0
- package/dist/{dist-rZwZm8BJ.js → dist-Der6tZoF.js} +12 -12
- package/dist/dist-Der6tZoF.js.br +0 -0
- package/dist/{dist-rZwZm8BJ.js.gz → dist-Der6tZoF.js.gz} +0 -0
- package/dist/gif-encoder-CWrzj_HV.cjs +2 -0
- package/dist/gif-encoder-CWrzj_HV.cjs.br +3 -0
- package/dist/gif-encoder-CWrzj_HV.cjs.gz +0 -0
- package/dist/gif-encoder-Ill8ft7u.js +2 -0
- package/dist/gif-encoder-Ill8ft7u.js.br +0 -0
- package/dist/gif-encoder-Ill8ft7u.js.gz +0 -0
- package/dist/i18n.cjs +3 -0
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.js +3 -0
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +3 -2
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.js.br +1 -1
- package/dist/index.js.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TitleBar.vue.d.ts +2 -0
- package/dist/viewer/components/ribbon/TitleBar.vue.d.ts.map +1 -1
- package/dist/viewer/composables/useAutosave.d.ts +6 -5
- package/dist/viewer/composables/useAutosave.d.ts.map +1 -1
- 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 +1 -1
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-BISw0Uc0.js → viewer-B2PHuNyk.js} +280 -274
- package/dist/viewer-B2PHuNyk.js.br +0 -0
- package/dist/viewer-B2PHuNyk.js.gz +0 -0
- package/dist/{viewer-DBv_eGp5.cjs → viewer-vDStbr8Y.cjs} +280 -274
- package/dist/viewer-vDStbr8Y.cjs.br +0 -0
- package/dist/viewer-vDStbr8Y.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/dist-d0emB_12.cjs.br +0 -0
- package/dist/dist-rZwZm8BJ.js.br +0 -0
- package/dist/gif-encoder-DLqdbuCQ.cjs +0 -2
- package/dist/gif-encoder-DLqdbuCQ.cjs.br +0 -0
- package/dist/gif-encoder-DLqdbuCQ.cjs.gz +0 -0
- package/dist/gif-encoder-jHawPvgi.js +0 -2
- package/dist/gif-encoder-jHawPvgi.js.br +0 -3
- package/dist/gif-encoder-jHawPvgi.js.gz +0 -0
- package/dist/viewer-BISw0Uc0.js.br +0 -0
- package/dist/viewer-BISw0Uc0.js.gz +0 -0
- package/dist/viewer-DBv_eGp5.cjs.br +0 -0
- package/dist/viewer-DBv_eGp5.cjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ 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.7.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.7.2) - 2026-07-07
|
|
8
|
+
|
|
9
|
+
## [1.7.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.7.1) - 2026-07-06
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
- **deps:** Update tailwindcss to ^4.3.2 and @angular/common to ^22.0.5 (by @ChristopherVR) ([ae1b615](https://github.com/ChristopherVR/pptx-viewer/commit/ae1b615b3632a8dc3bcd9a201fbab583648da97c))
|
|
14
|
+
|
|
7
15
|
## [1.7.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.7.0) - 2026-07-05
|
|
8
16
|
|
|
9
17
|
## [1.6.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.6.0) - 2026-07-05
|
|
@@ -29237,7 +29237,7 @@ var sy = class t extends ry {
|
|
|
29237
29237
|
const e = this.slideRelsMap.get(t);
|
|
29238
29238
|
if (e) {
|
|
29239
29239
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29240
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29240
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29241
29241
|
try {
|
|
29242
29242
|
const t = await this.zip.file(r)?.async("string");
|
|
29243
29243
|
if (t) {
|
|
@@ -29253,7 +29253,7 @@ var sy = class t extends ry {
|
|
|
29253
29253
|
const e = this.slideRelsMap.get(t);
|
|
29254
29254
|
if (e) {
|
|
29255
29255
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29256
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29256
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29257
29257
|
try {
|
|
29258
29258
|
const t = await this.zip.file(r)?.async("string");
|
|
29259
29259
|
if (t) {
|
|
@@ -29270,7 +29270,7 @@ var sy = class t extends ry {
|
|
|
29270
29270
|
const e = this.slideRelsMap.get(t);
|
|
29271
29271
|
if (e) {
|
|
29272
29272
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29273
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29273
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29274
29274
|
try {
|
|
29275
29275
|
const t = await this.zip.file(r)?.async("string");
|
|
29276
29276
|
if (t) {
|
|
@@ -29286,7 +29286,7 @@ var sy = class t extends ry {
|
|
|
29286
29286
|
const e = this.slideRelsMap.get(t);
|
|
29287
29287
|
if (e) {
|
|
29288
29288
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29289
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29289
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29290
29290
|
try {
|
|
29291
29291
|
const t = await this.zip.file(r)?.async("string");
|
|
29292
29292
|
if (t) {
|
|
@@ -29303,7 +29303,7 @@ var sy = class t extends ry {
|
|
|
29303
29303
|
const e = this.slideRelsMap.get(t);
|
|
29304
29304
|
if (e) {
|
|
29305
29305
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29306
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29306
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29307
29307
|
try {
|
|
29308
29308
|
const t = await this.zip.file(r)?.async("string");
|
|
29309
29309
|
if (t) {
|
|
@@ -29319,7 +29319,7 @@ var sy = class t extends ry {
|
|
|
29319
29319
|
const e = this.slideRelsMap.get(t);
|
|
29320
29320
|
if (e) {
|
|
29321
29321
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29322
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29322
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29323
29323
|
try {
|
|
29324
29324
|
const t = await this.zip.file(r)?.async("string");
|
|
29325
29325
|
if (t) {
|
|
@@ -29336,7 +29336,7 @@ var sy = class t extends ry {
|
|
|
29336
29336
|
if (e) {
|
|
29337
29337
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29338
29338
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29339
|
-
return n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29339
|
+
return n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29340
29340
|
}
|
|
29341
29341
|
}
|
|
29342
29342
|
}
|
|
@@ -29345,7 +29345,7 @@ var sy = class t extends ry {
|
|
|
29345
29345
|
if (e) {
|
|
29346
29346
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29347
29347
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29348
|
-
return n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29348
|
+
return n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29349
29349
|
}
|
|
29350
29350
|
}
|
|
29351
29351
|
}
|
|
@@ -29685,7 +29685,7 @@ var gy = class extends my {
|
|
|
29685
29685
|
let n;
|
|
29686
29686
|
for (const [, r] of e.entries()) if (r.includes("slideMaster")) {
|
|
29687
29687
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29688
|
-
n = r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29688
|
+
n = r.startsWith("/") ? r.substring(1) : r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29689
29689
|
break;
|
|
29690
29690
|
}
|
|
29691
29691
|
if (!n) return [];
|
|
@@ -29748,7 +29748,7 @@ var gy = class extends my {
|
|
|
29748
29748
|
let n;
|
|
29749
29749
|
for (const [, r] of e.entries()) if (r.includes("slideLayout")) {
|
|
29750
29750
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29751
|
-
n = r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29751
|
+
n = r.startsWith("/") ? r.substring(1) : r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29752
29752
|
break;
|
|
29753
29753
|
}
|
|
29754
29754
|
if (!n) return [];
|
|
@@ -31831,7 +31831,7 @@ var By = class extends Ly {
|
|
|
31831
31831
|
if (e) {
|
|
31832
31832
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
31833
31833
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
31834
|
-
return n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
31834
|
+
return n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
31835
31835
|
}
|
|
31836
31836
|
}
|
|
31837
31837
|
}
|
|
@@ -31851,7 +31851,7 @@ var By = class extends Ly {
|
|
|
31851
31851
|
if (!o) return this.getLayoutOptions();
|
|
31852
31852
|
const a = /* @__PURE__ */ new Set();
|
|
31853
31853
|
for (const [, t] of o.entries()) if (t.includes("slideLayout")) {
|
|
31854
|
-
const e = i.substring(0, i.lastIndexOf("/") + 1), n = t.startsWith("..") ? this.resolvePath(e, t) : `ppt/${t.replace("../", "")}`;
|
|
31854
|
+
const e = i.substring(0, i.lastIndexOf("/") + 1), n = t.startsWith("/") ? t.substring(1) : t.startsWith("..") ? this.resolvePath(e, t) : `ppt/${t.replace("../", "")}`;
|
|
31855
31855
|
a.add(n);
|
|
31856
31856
|
}
|
|
31857
31857
|
const s = [];
|
|
Binary file
|
|
Binary file
|
|
@@ -29236,7 +29236,7 @@ var ly = class t extends iy {
|
|
|
29236
29236
|
const e = this.slideRelsMap.get(t);
|
|
29237
29237
|
if (e) {
|
|
29238
29238
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29239
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29239
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29240
29240
|
try {
|
|
29241
29241
|
const t = await this.zip.file(r)?.async("string");
|
|
29242
29242
|
if (t) {
|
|
@@ -29252,7 +29252,7 @@ var ly = class t extends iy {
|
|
|
29252
29252
|
const e = this.slideRelsMap.get(t);
|
|
29253
29253
|
if (e) {
|
|
29254
29254
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29255
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29255
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29256
29256
|
try {
|
|
29257
29257
|
const t = await this.zip.file(r)?.async("string");
|
|
29258
29258
|
if (t) {
|
|
@@ -29269,7 +29269,7 @@ var ly = class t extends iy {
|
|
|
29269
29269
|
const e = this.slideRelsMap.get(t);
|
|
29270
29270
|
if (e) {
|
|
29271
29271
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29272
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29272
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29273
29273
|
try {
|
|
29274
29274
|
const t = await this.zip.file(r)?.async("string");
|
|
29275
29275
|
if (t) {
|
|
@@ -29285,7 +29285,7 @@ var ly = class t extends iy {
|
|
|
29285
29285
|
const e = this.slideRelsMap.get(t);
|
|
29286
29286
|
if (e) {
|
|
29287
29287
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29288
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29288
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29289
29289
|
try {
|
|
29290
29290
|
const t = await this.zip.file(r)?.async("string");
|
|
29291
29291
|
if (t) {
|
|
@@ -29302,7 +29302,7 @@ var ly = class t extends iy {
|
|
|
29302
29302
|
const e = this.slideRelsMap.get(t);
|
|
29303
29303
|
if (e) {
|
|
29304
29304
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29305
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29305
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29306
29306
|
try {
|
|
29307
29307
|
const t = await this.zip.file(r)?.async("string");
|
|
29308
29308
|
if (t) {
|
|
@@ -29318,7 +29318,7 @@ var ly = class t extends iy {
|
|
|
29318
29318
|
const e = this.slideRelsMap.get(t);
|
|
29319
29319
|
if (e) {
|
|
29320
29320
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29321
|
-
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29321
|
+
const e = t.substring(0, t.lastIndexOf("/") + 1), r = n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29322
29322
|
try {
|
|
29323
29323
|
const t = await this.zip.file(r)?.async("string");
|
|
29324
29324
|
if (t) {
|
|
@@ -29335,7 +29335,7 @@ var ly = class t extends iy {
|
|
|
29335
29335
|
if (e) {
|
|
29336
29336
|
for (const [, n] of e.entries()) if (n.includes("slideLayout")) {
|
|
29337
29337
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29338
|
-
return n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29338
|
+
return n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29339
29339
|
}
|
|
29340
29340
|
}
|
|
29341
29341
|
}
|
|
@@ -29344,7 +29344,7 @@ var ly = class t extends iy {
|
|
|
29344
29344
|
if (e) {
|
|
29345
29345
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
29346
29346
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29347
|
-
return n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29347
|
+
return n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
29348
29348
|
}
|
|
29349
29349
|
}
|
|
29350
29350
|
}
|
|
@@ -29684,7 +29684,7 @@ var yy = class extends fy {
|
|
|
29684
29684
|
let n;
|
|
29685
29685
|
for (const [, r] of e.entries()) if (r.includes("slideMaster")) {
|
|
29686
29686
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29687
|
-
n = r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29687
|
+
n = r.startsWith("/") ? r.substring(1) : r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29688
29688
|
break;
|
|
29689
29689
|
}
|
|
29690
29690
|
if (!n) return [];
|
|
@@ -29747,7 +29747,7 @@ var yy = class extends fy {
|
|
|
29747
29747
|
let n;
|
|
29748
29748
|
for (const [, r] of e.entries()) if (r.includes("slideLayout")) {
|
|
29749
29749
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
29750
|
-
n = r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29750
|
+
n = r.startsWith("/") ? r.substring(1) : r.startsWith("..") ? this.resolvePath(e, r) : `ppt/${r.replace("../", "")}`;
|
|
29751
29751
|
break;
|
|
29752
29752
|
}
|
|
29753
29753
|
if (!n) return [];
|
|
@@ -31830,7 +31830,7 @@ var Ny = class extends Dy {
|
|
|
31830
31830
|
if (e) {
|
|
31831
31831
|
for (const [, n] of e.entries()) if (n.includes("slideMaster")) {
|
|
31832
31832
|
const e = t.substring(0, t.lastIndexOf("/") + 1);
|
|
31833
|
-
return n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
31833
|
+
return n.startsWith("/") ? n.substring(1) : n.startsWith("..") ? this.resolvePath(e, n) : `ppt/${n.replace("../", "")}`;
|
|
31834
31834
|
}
|
|
31835
31835
|
}
|
|
31836
31836
|
}
|
|
@@ -31850,7 +31850,7 @@ var Ny = class extends Dy {
|
|
|
31850
31850
|
if (!o) return this.getLayoutOptions();
|
|
31851
31851
|
const a = /* @__PURE__ */ new Set();
|
|
31852
31852
|
for (const [, t] of o.entries()) if (t.includes("slideLayout")) {
|
|
31853
|
-
const e = i.substring(0, i.lastIndexOf("/") + 1), n = t.startsWith("..") ? this.resolvePath(e, t) : `ppt/${t.replace("../", "")}`;
|
|
31853
|
+
const e = i.substring(0, i.lastIndexOf("/") + 1), n = t.startsWith("/") ? t.substring(1) : t.startsWith("..") ? this.resolvePath(e, t) : `ppt/${t.replace("../", "")}`;
|
|
31854
31854
|
a.add(n);
|
|
31855
31855
|
}
|
|
31856
31856
|
const s = [];
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/i18n.cjs
CHANGED
|
@@ -19,6 +19,9 @@ var t = function(t) {
|
|
|
19
19
|
"pptx.autosave.saving": "Saving…",
|
|
20
20
|
"pptx.autosave.saved": "Saved {{time}}",
|
|
21
21
|
"pptx.autosave.error": "Autosave error",
|
|
22
|
+
"pptx.autosave.disabled": "AutoSave unavailable",
|
|
23
|
+
"pptx.autosave.disabledNoFilePath": "AutoSave disabled: no file path provided",
|
|
24
|
+
"pptx.autosave.disabledToggleOff": "AutoSave off",
|
|
22
25
|
"pptx.autosave.justNow": "just now",
|
|
23
26
|
"pptx.autosave.oneMinAgo": "1 min ago",
|
|
24
27
|
"pptx.autosave.minutesAgo": "{{count}} min ago",
|
package/dist/i18n.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -21,6 +21,9 @@ var e = function(t) {
|
|
|
21
21
|
"pptx.autosave.saving": "Saving…",
|
|
22
22
|
"pptx.autosave.saved": "Saved {{time}}",
|
|
23
23
|
"pptx.autosave.error": "Autosave error",
|
|
24
|
+
"pptx.autosave.disabled": "AutoSave unavailable",
|
|
25
|
+
"pptx.autosave.disabledNoFilePath": "AutoSave disabled: no file path provided",
|
|
26
|
+
"pptx.autosave.disabledToggleOff": "AutoSave off",
|
|
24
27
|
"pptx.autosave.justNow": "just now",
|
|
25
28
|
"pptx.autosave.oneMinAgo": "1 min ago",
|
|
26
29
|
"pptx.autosave.minutesAgo": "{{count}} min ago",
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./viewer-
|
|
2
|
+
const e = require("./viewer-vDStbr8Y.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ElementRenderer = e.ElementRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.clearAudienceContent = e.clearAudienceContent, exports.cn = e.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.provideViewerTheme = e.provideViewerTheme, exports.storeAudienceContent = e.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useThemeStyle = e.useThemeStyle, exports.useViewerTheme = e.useViewerTheme;
|
package/dist/index.cjs.br
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
y
|
|
2
|
-
|
|
1
|
+
y �
|
|
2
|
+
�6�o��`�Nc#��y��m�h�;h:^H7�$:
|
|
3
|
+
��q����7QB�y�RiX`�@C�*ރN%
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as a, F as s, G as e, N as r, P as i, V as o, a as t, d as n, f as d, i as l, n as m, o as p, p as w, r as P, t as S, u as f, z as v } from "./viewer-
|
|
1
|
+
import { B as a, F as s, G as e, N as r, P as i, V as o, a as t, d as n, f as d, i as l, n as m, o as p, p as w, r as P, t as S, u as f, z as v } from "./viewer-B2PHuNyk.js";
|
|
2
2
|
export { S as AUDIENCE_HASH, w as ElementRenderer, p as PowerPointViewer, f as SlideCanvas, d as SlideStage, m as clearAudienceContent, n as cn, v as defaultCssVars, a as defaultRadius, o as defaultThemeColors, P as isAudienceTab, l as loadAudienceContent, r as provideViewerTheme, t as storeAudienceContent, e as themeToCssVars, i as useThemeStyle, s as useViewerTheme };
|
package/dist/index.js.br
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
#���`�0�]�K��<��y�01�[{V����|o����r"ݒ���ٮ��ė��qNIR���d�W��#�����1���5��#����;��>������%�ܭ����������"�еNQ��#�/zC��>�n�"F`�J<��@&�CLW��4����]�!x4�[Y��~Dz�g��cl�j?���e�����
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AAowEA,OAAO,KAAK,EAAyB,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAgyHpG,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -8,6 +8,8 @@ interface Props {
|
|
|
8
8
|
isDirty: boolean;
|
|
9
9
|
autosaveStatus?: AutosaveStatus;
|
|
10
10
|
autosaveEnabled: boolean;
|
|
11
|
+
/** Reason code when autosave is disabled (e.g. 'no_file_path'). */
|
|
12
|
+
autosaveDisabledReason?: string;
|
|
11
13
|
onToggleAutosave: () => void;
|
|
12
14
|
canUndo: boolean;
|
|
13
15
|
canRedo: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TitleBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TitleBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/ribbon/TitleBar.vue"],"names":[],"mappings":"AAkMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,UAAU,KAAK;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IACzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;CAChC;AAyOD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,12 +3,13 @@ import { Ref } from 'vue';
|
|
|
3
3
|
/**
|
|
4
4
|
* Autosave status, surfaced for status-pill rendering.
|
|
5
5
|
*
|
|
6
|
-
* - `idle`
|
|
7
|
-
* - `
|
|
8
|
-
* - `
|
|
9
|
-
* - `
|
|
6
|
+
* - `idle` : nothing has been saved yet (or no edits since mount).
|
|
7
|
+
* - `disabled` : autosave is inactive because requirements are not met.
|
|
8
|
+
* - `saving` : an `onSave` invocation is currently in flight.
|
|
9
|
+
* - `saved` : the most recent save succeeded.
|
|
10
|
+
* - `error` : the most recent save threw.
|
|
10
11
|
*/
|
|
11
|
-
export type AutosaveStatus = 'idle' | 'saving' | 'saved' | 'error';
|
|
12
|
+
export type AutosaveStatus = 'idle' | 'disabled' | 'saving' | 'saved' | 'error';
|
|
12
13
|
/**
|
|
13
14
|
* Timer-injection seam so the debounce window is testable with
|
|
14
15
|
* `vi.useFakeTimers()`. Defaults to the global `setTimeout` /
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAutosave.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useAutosave.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B
|
|
1
|
+
{"version":3,"file":"useAutosave.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/useAutosave.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,EAAE,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7D,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,kBAAkB;IAClC;;;;OAIG;IACH,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;IACzB,uEAAuE;IACvE,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACjC,qDAAqD;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,uEAAuE;IACvE,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAiB;IACjC,yCAAyC;IACzC,MAAM,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC5B,uDAAuD;IACvD,WAAW,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAChC,8DAA8D;IAC9D,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,iDAAiD;IACjD,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACtB;AASD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,kBAAkB,GAAG,iBAAiB,CAoF1E"}
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../viewer-
|
|
2
|
+
const e = require("../viewer-vDStbr8Y.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ChartRenderer = e.ChartRenderer_default, exports.ConnectorRenderer = e.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = e.ElementRenderer_default, exports.EquationRenderer = e.EquationRenderer_default, exports.InkRenderer = e.InkRenderer_default, exports.Model3DRenderer = e.Model3DRenderer_default, exports.OleRenderer = e.OleRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.SmartArtRenderer = e.SmartArtRenderer_default, exports.TableRenderer = e.TableRenderer_default, exports.WordArtText = e.WordArtText_default, exports.ZoomRenderer = e.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = e.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.getContainerStyle = e.getContainerStyle, exports.getImageSrc = e.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = e.getShapeFillStrokeStyle, exports.getTextBlockStyle = e.getTextBlockStyle, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.storeAudienceContent = e.storeAudienceContent, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as a, C as s, D as e, E as r, I as n, L as d, M as o, O as t, R, S as i, T as l, U as m, W as S, _ as w, a as C, b as p, c as v, f as x, g as A, h as E, i as T, j as b, k as c, l as f, m as g, n as h, o as j, p as k, r as u, s as D, t as I, u as M, v as O, w as P, x as W, y as q } from "../viewer-
|
|
1
|
+
import { A as a, C as s, D as e, E as r, I as n, L as d, M as o, O as t, R, S as i, T as l, U as m, W as S, _ as w, a as C, b as p, c as v, f as x, g as A, h as E, i as T, j as b, k as c, l as f, m as g, n as h, o as j, p as k, r as u, s as D, t as I, u as M, v as O, w as P, x as W, y as q } from "../viewer-B2PHuNyk.js";
|
|
2
2
|
export { I as AUDIENCE_HASH, s as ChartRenderer, i as ConnectorRenderer, t as DEFAULT_CANVAS_HEIGHT, c as DEFAULT_CANVAS_WIDTH, a as DEFAULT_FILL_COLOR, b as DEFAULT_STROKE_COLOR, o as DEFAULT_TEXT_COLOR, k as ElementRenderer, W as EquationRenderer, p as InkRenderer, q as Model3DRenderer, O as OleRenderer, j as PowerPointViewer, M as SlideCanvas, x as SlideStage, w as SmartArtRenderer, A as TableRenderer, E as WordArtText, g as ZoomRenderer, n as buildInitialGuides, h as clearAudienceContent, d as collectImagePaths, R as collectMediaElements, P as getContainerStyle, l as getImageSrc, m as getResolvedShapeClipPath, S as getResolvedShapeClipPathFor, r as getShapeFillStrokeStyle, e as getTextBlockStyle, u as isAudienceTab, T as loadAudienceContent, C as storeAudienceContent, f as useEditorHistory, v as useEditorOperations, D as useLoadContent };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|