pptx-angular-viewer 1.17.1 → 1.26.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 +42 -0
- package/README.md +10 -9
- package/fesm2022/pptx-angular-viewer.mjs +16465 -8560
- package/fesm2022/pptx-angular-viewer.mjs.map +1 -1
- package/package.json +5 -5
- package/pptx-angular-viewer.css +2 -2
- package/types/pptx-angular-viewer.d.ts +1013 -307
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,48 @@ 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.25.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.25.0) - 2026-07-17
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
- **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
|
|
12
|
+
|
|
13
|
+
## [1.24.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.24.0) - 2026-07-17
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
- **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
|
|
18
|
+
|
|
19
|
+
## [1.23.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.23.0) - 2026-07-17
|
|
20
|
+
|
|
21
|
+
### Dependencies
|
|
22
|
+
|
|
23
|
+
- **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
|
|
24
|
+
|
|
25
|
+
## [1.22.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.22.0) - 2026-07-17
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
- **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
|
|
30
|
+
|
|
31
|
+
## [1.21.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.21.0) - 2026-07-17
|
|
32
|
+
|
|
33
|
+
### Dependencies
|
|
34
|
+
|
|
35
|
+
- **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
|
|
36
|
+
|
|
37
|
+
## [1.20.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.20.0) - 2026-07-17
|
|
38
|
+
|
|
39
|
+
## [1.19.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.19.0) - 2026-07-17
|
|
40
|
+
|
|
41
|
+
## [1.18.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.18.0) - 2026-07-16
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
- **packages:** Add package-specific readme visuals (by @ChristopherVR) ([9e20f13](https://github.com/ChristopherVR/pptx-viewer/commit/9e20f133dc8f21db75a1ca5e46e77c0af3c96d66))
|
|
46
|
+
|
|
47
|
+
## [1.17.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.17.1) - 2026-07-15
|
|
48
|
+
|
|
7
49
|
## [1.17.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-angular-viewer@1.17.0) - 2026-07-13
|
|
8
50
|
|
|
9
51
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Angular app: no server, no conversion step, no PowerPoint install required. Drop
|
|
|
8
8
|
in a `<pptx-viewer>` component, hand it the file's bytes, and it renders slides
|
|
9
9
|
as real HTML and CSS with full editing and export support.
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
The rendering is done by the framework-agnostic [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) engine, which turns a `.pptx` file into a structured slide model. This package is the Angular layer that draws that model on screen, and the engine is **bundled in**, so you install just one package.
|
|
14
14
|
|
|
@@ -145,13 +145,14 @@ async save() {
|
|
|
145
145
|
|
|
146
146
|
### Inputs
|
|
147
147
|
|
|
148
|
-
| Input | Type | Default | Description
|
|
149
|
-
| --------------- | ----------------------------------- | ------- |
|
|
150
|
-
| `content` | `Uint8Array \| ArrayBuffer \| null` | `null` | The `.pptx` bytes to render.
|
|
151
|
-
| `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties.
|
|
152
|
-
| `class` | `string` | `''` | Class applied to the root element.
|
|
153
|
-
| `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing.
|
|
154
|
-
| `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role).
|
|
148
|
+
| Input | Type | Default | Description |
|
|
149
|
+
| --------------- | ----------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------- |
|
|
150
|
+
| `content` | `Uint8Array \| ArrayBuffer \| null` | `null` | The `.pptx` bytes to render. |
|
|
151
|
+
| `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties. |
|
|
152
|
+
| `class` | `string` | `''` | Class applied to the root element. |
|
|
153
|
+
| `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing. |
|
|
154
|
+
| `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role). |
|
|
155
|
+
| `hiddenActions` | `ToolbarActionId[]` | `[]` | Toolbar buttons/ribbon tabs to hide individually (e.g. `['share', 'broadcast']`), instead of hiding the whole toolbar. |
|
|
155
156
|
|
|
156
157
|
### Outputs
|
|
157
158
|
|
|
@@ -212,7 +213,7 @@ inject(TranslateService).setTranslation('en', translationsEn);
|
|
|
212
213
|
inject(TranslateService).use('fr');
|
|
213
214
|
```
|
|
214
215
|
|
|
215
|
-
Unlike React/Vue, `translationsEn`, `keyToLabel`, and the `TranslationKey` type (for type-checking a new locale dictionary as `Record<TranslationKey, string>`) are exported from the package **root**, not an `/i18n` subpath. See the [Localization guide](https://christophervr.github.io/pptx-viewer/guide/localization) for the full picture across all
|
|
216
|
+
Unlike React/Vue, `translationsEn`, `keyToLabel`, and the `TranslationKey` type (for type-checking a new locale dictionary as `Record<TranslationKey, string>`) are exported from the package **root**, not an `/i18n` subpath. See the [Localization guide](https://christophervr.github.io/pptx-viewer/guide/localization) for the full picture across all five viewer bindings and how to contribute a translation upstream; the live demo's language picker is a working reference.
|
|
216
217
|
|
|
217
218
|
## Limitations
|
|
218
219
|
|