@mkabatek/pptx-viewer 1.5.4 → 1.5.11
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/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/dist/viewer/index.js +3 -1
- package/dist/viewer/index.mjs +3 -1
- package/package.json +2 -9
- package/node_modules/emf-converter/LICENSE +0 -21
- package/node_modules/emf-converter/README.md +0 -629
- package/node_modules/emf-converter/dist/index.d.mts +0 -86
- package/node_modules/emf-converter/dist/index.d.ts +0 -86
- package/node_modules/emf-converter/dist/index.js +0 -4257
- package/node_modules/emf-converter/dist/index.mjs +0 -4253
- package/node_modules/emf-converter/package.json +0 -53
- package/node_modules/mtx-decompressor/LICENSE +0 -373
- package/node_modules/mtx-decompressor/README.md +0 -271
- package/node_modules/mtx-decompressor/dist/index.d.mts +0 -84
- package/node_modules/mtx-decompressor/dist/index.d.ts +0 -84
- package/node_modules/mtx-decompressor/dist/index.js +0 -1532
- package/node_modules/mtx-decompressor/dist/index.mjs +0 -1528
- package/node_modules/mtx-decompressor/package.json +0 -44
- package/node_modules/pptx-viewer-core/LICENSE +0 -21
- package/node_modules/pptx-viewer-core/NOTICE +0 -16
- package/node_modules/pptx-viewer-core/README.md +0 -1294
- package/node_modules/pptx-viewer-core/dist/SvgExporter-BtZczTlB.d.ts +0 -557
- package/node_modules/pptx-viewer-core/dist/SvgExporter-D4mBWJHE.d.mts +0 -557
- package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +0 -150
- package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +0 -150
- package/node_modules/pptx-viewer-core/dist/cli/index.js +0 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.mjs +0 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +0 -48
- package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +0 -48
- package/node_modules/pptx-viewer-core/dist/converter/index.js +0 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.mjs +0 -0
- package/node_modules/pptx-viewer-core/dist/index.d.mts +0 -12744
- package/node_modules/pptx-viewer-core/dist/index.d.ts +0 -12744
- package/node_modules/pptx-viewer-core/dist/index.js +0 -66894
- package/node_modules/pptx-viewer-core/dist/index.mjs +0 -66420
- package/node_modules/pptx-viewer-core/dist/presentation-nZxgWvXq.d.mts +0 -5645
- package/node_modules/pptx-viewer-core/dist/presentation-nZxgWvXq.d.ts +0 -5645
- package/node_modules/pptx-viewer-core/dist/signature-inspection-status-BCUpfCQh.d.mts +0 -220
- package/node_modules/pptx-viewer-core/dist/signature-inspection-status-BCUpfCQh.d.ts +0 -220
- package/node_modules/pptx-viewer-core/dist/signature-node/index.d.mts +0 -177
- package/node_modules/pptx-viewer-core/dist/signature-node/index.d.ts +0 -177
- package/node_modules/pptx-viewer-core/dist/signature-node/index.js +0 -1206
- package/node_modules/pptx-viewer-core/dist/signature-node/index.mjs +0 -1143
- package/node_modules/pptx-viewer-core/dist/text-operations-DCTGMltY.d.mts +0 -134
- package/node_modules/pptx-viewer-core/dist/text-operations-DYmhoi7U.d.ts +0 -134
- package/node_modules/pptx-viewer-core/package.json +0 -96
package/dist/index.js
CHANGED
|
@@ -106889,11 +106889,13 @@ var PptxHandlerRuntime54 = class extends PptxHandlerRuntime53 {
|
|
|
106889
106889
|
rawXmlStr = await this.zip.file(slidePath)?.async("string") ?? void 0;
|
|
106890
106890
|
} catch {
|
|
106891
106891
|
}
|
|
106892
|
+
const slidePrefix = slidePath ? `${slidePath}-` : "";
|
|
106892
106893
|
return this.parseSpTreeChildren(
|
|
106893
106894
|
spTree,
|
|
106894
106895
|
slidePath,
|
|
106895
106896
|
rawXmlStr,
|
|
106896
|
-
"p:spTree"
|
|
106897
|
+
"p:spTree",
|
|
106898
|
+
slidePrefix
|
|
106897
106899
|
);
|
|
106898
106900
|
}
|
|
106899
106901
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -106862,11 +106862,13 @@ var PptxHandlerRuntime54 = class extends PptxHandlerRuntime53 {
|
|
|
106862
106862
|
rawXmlStr = await this.zip.file(slidePath)?.async("string") ?? void 0;
|
|
106863
106863
|
} catch {
|
|
106864
106864
|
}
|
|
106865
|
+
const slidePrefix = slidePath ? `${slidePath}-` : "";
|
|
106865
106866
|
return this.parseSpTreeChildren(
|
|
106866
106867
|
spTree,
|
|
106867
106868
|
slidePath,
|
|
106868
106869
|
rawXmlStr,
|
|
106869
|
-
"p:spTree"
|
|
106870
|
+
"p:spTree",
|
|
106871
|
+
slidePrefix
|
|
106870
106872
|
);
|
|
106871
106873
|
}
|
|
106872
106874
|
};
|
package/dist/viewer/index.js
CHANGED
|
@@ -107064,11 +107064,13 @@ var PptxHandlerRuntime54 = class extends PptxHandlerRuntime53 {
|
|
|
107064
107064
|
rawXmlStr = await this.zip.file(slidePath)?.async("string") ?? void 0;
|
|
107065
107065
|
} catch {
|
|
107066
107066
|
}
|
|
107067
|
+
const slidePrefix = slidePath ? `${slidePath}-` : "";
|
|
107067
107068
|
return this.parseSpTreeChildren(
|
|
107068
107069
|
spTree,
|
|
107069
107070
|
slidePath,
|
|
107070
107071
|
rawXmlStr,
|
|
107071
|
-
"p:spTree"
|
|
107072
|
+
"p:spTree",
|
|
107073
|
+
slidePrefix
|
|
107072
107074
|
);
|
|
107073
107075
|
}
|
|
107074
107076
|
};
|
package/dist/viewer/index.mjs
CHANGED
|
@@ -107037,11 +107037,13 @@ var PptxHandlerRuntime54 = class extends PptxHandlerRuntime53 {
|
|
|
107037
107037
|
rawXmlStr = await this.zip.file(slidePath)?.async("string") ?? void 0;
|
|
107038
107038
|
} catch {
|
|
107039
107039
|
}
|
|
107040
|
+
const slidePrefix = slidePath ? `${slidePath}-` : "";
|
|
107040
107041
|
return this.parseSpTreeChildren(
|
|
107041
107042
|
spTree,
|
|
107042
107043
|
slidePath,
|
|
107043
107044
|
rawXmlStr,
|
|
107044
|
-
"p:spTree"
|
|
107045
|
+
"p:spTree",
|
|
107046
|
+
slidePrefix
|
|
107045
107047
|
);
|
|
107046
107048
|
}
|
|
107047
107049
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mkabatek/pptx-viewer",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.11",
|
|
4
4
|
"description": "React-based PowerPoint viewer, editor, and canvas export — depends on pptx-viewer-core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editor",
|
|
@@ -58,10 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"clsx": "^2.1.1",
|
|
60
60
|
"dompurify": "^3.4.2",
|
|
61
|
-
"emf-converter": "workspace:*",
|
|
62
61
|
"html2canvas-pro": "^2.0.2",
|
|
63
|
-
"mtx-decompressor": "workspace:*",
|
|
64
|
-
"pptx-viewer-core": "workspace:*",
|
|
65
62
|
"tailwind-merge": "^3.5.0"
|
|
66
63
|
},
|
|
67
64
|
"devDependencies": {
|
|
@@ -95,9 +92,5 @@
|
|
|
95
92
|
"y-websocket": "^3.0.0",
|
|
96
93
|
"yjs": "^13.6.30"
|
|
97
94
|
},
|
|
98
|
-
"bundledDependencies": [
|
|
99
|
-
"emf-converter",
|
|
100
|
-
"mtx-decompressor",
|
|
101
|
-
"pptx-viewer-core"
|
|
102
|
-
]
|
|
95
|
+
"bundledDependencies": []
|
|
103
96
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025-present pptx-viewer contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|