pptx-angular-viewer 4.32.0 → 4.33.1
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 +39 -0
- package/README.md +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,45 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs releases whenever any published file changes, not only on
|
|
8
8
|
conventional commits.
|
|
9
9
|
|
|
10
|
+
## [4.33.1](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.33.1) - 2026-10-11
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **angular:** Apply gallery picks by id, not through the memoized descriptor ([43c0c76](https://github.com/ChristopherVR/ooxml/commit/43c0c7602a824b4fb94b4ac5e162df149f3c16db))
|
|
15
|
+
|
|
16
|
+
### Testing
|
|
17
|
+
|
|
18
|
+
- **pptx:** Find the angular img tag whatever the template formatting ([fca83d0](https://github.com/ChristopherVR/ooxml/commit/fca83d070c7627dbd2b075d07f8fd92e75808383))
|
|
19
|
+
- **pptx:** Share workers across the binding package unit tests ([d51469c](https://github.com/ChristopherVR/ooxml/commit/d51469cc709e145007222ef0510a19bedbf08728))
|
|
20
|
+
- **ui:** Keep each DOM environment and test state in its own worker ([6d52bec](https://github.com/ChristopherVR/ooxml/commit/6d52bec41343129aa621e11e173fe3c706e82b6e))
|
|
21
|
+
|
|
22
|
+
### Styling
|
|
23
|
+
|
|
24
|
+
- **pptx:** Format the pptx viewer with its own oxfmt configuration ([7ca9f51](https://github.com/ChristopherVR/ooxml/commit/7ca9f51be7d0926e28cc5913792cfc1c966c0d35))
|
|
25
|
+
|
|
26
|
+
## [4.33.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.33.0) - 2026-10-10
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- **color:** Add the Office theme colour palette to the color area ([646b6b5](https://github.com/ChristopherVR/ooxml/commit/646b6b532a304013f0c8783801ab3401de8a1950))
|
|
31
|
+
- **pptx:** Add host ribbon tabs to all five PowerPoint bindings ([2089f62](https://github.com/ChristopherVR/ooxml/commit/2089f620d736c867dbd383f2fe4dd39eff7e6cc3))
|
|
32
|
+
- **text:** Add the fonts' design advance widths, regular and bold ([15f7eeb](https://github.com/ChristopherVR/ooxml/commit/15f7eebb692c4cf43d8febdd49070e583daef22a))
|
|
33
|
+
- **visio:** Pick theme colours that follow the page theme ([d29c9c7](https://github.com/ChristopherVR/ooxml/commit/d29c9c7b8ae343821db3461ca55af2283d6a19ef))
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
- **pptx:** Verify certificate chains with node:crypto, not node-forge ([51e6312](https://github.com/ChristopherVR/ooxml/commit/51e6312aa152a47ac11a6beced49b373adf0fb68))
|
|
38
|
+
- **pptx:** Keep the browser's image drag out of picture moves ([817a36a](https://github.com/ChristopherVR/ooxml/commit/817a36a1eae21a48e149ee5459597577dd2cdf22))
|
|
39
|
+
|
|
40
|
+
### Refactor
|
|
41
|
+
|
|
42
|
+
- **geometry:** Move the orthogonal connector router out of pptx ([7628894](https://github.com/ChristopherVR/ooxml/commit/7628894c847d098846b7250e8cf7cfee0b8e1ecd))
|
|
43
|
+
- **ui:** Move Excel and Word colour pickers onto the shared grid ([ab332b6](https://github.com/ChristopherVR/ooxml/commit/ab332b6ed7a4b80bc5016de05efb3fad694c85de))
|
|
44
|
+
|
|
45
|
+
### Styling
|
|
46
|
+
|
|
47
|
+
- Apply oxfmt to files drifted from the formatter ([daeabf2](https://github.com/ChristopherVR/ooxml/commit/daeabf26125af866f90359ac8a5716234d5b8b36))
|
|
48
|
+
|
|
10
49
|
## [4.32.0](https://github.com/ChristopherVR/ooxml/releases/tag/pptx-angular-viewer@4.32.0) - 2026-10-10
|
|
11
50
|
|
|
12
51
|
### Features
|
package/README.md
CHANGED
|
@@ -66,7 +66,6 @@ degrade gracefully (poster images, no live session).
|
|
|
66
66
|
```ts
|
|
67
67
|
import { Component, signal } from '@angular/core';
|
|
68
68
|
import { PowerPointViewerComponent } from 'pptx-angular-viewer';
|
|
69
|
-
|
|
70
69
|
// Base chrome styles (toolbar, thumbnails, layout). Import once.
|
|
71
70
|
import 'pptx-angular-viewer/styles';
|
|
72
71
|
|
|
@@ -250,6 +249,7 @@ geometry or user zoom. See the [cross-binding defaults](../../docs/guide/viewpor
|
|
|
250
249
|
| `surfaceChart3D`, `barChart3D`, `lineChart3D`, `areaChart3D`, `pieChart3D` | `boolean` | `false` | Independently opt in to interactive Three.js renderers for the matching 3D chart kinds; each falls back to SVG when WebGL is unavailable. |
|
|
251
250
|
| `ai` | `PptxAiConfig` | n/a | Optional AI assistant configuration. The SDK peer loads only when its panel is opened. |
|
|
252
251
|
| `hiddenActions` | `ToolbarActionId[]` | `[]` | Toolbar buttons/ribbon tabs to hide individually (e.g. `['share', 'broadcast']`), instead of hiding the whole toolbar. |
|
|
252
|
+
| `ribbonAddIns` | `RibbonAddInTab[]` | n/a | Ribbon tabs the host adds after Help; a command runs its `run` callback and raises `office-ribbon-add-in` (see the customization guide) |
|
|
253
253
|
| `customization` | `ViewerCustomization` | - | Hide, lock or remap any part of the UI (ribbon tabs/buttons, File > Options pages/sections/settings, File tab, context menus, shortcuts, panels, AI/collaboration, dialogs); the same helpers (`hideRibbonTab`, `lockSetting`, ...) are on the component instance. See the [UI Customization guide](https://christophervr.github.io/ooxml/pptx/guide/customization). |
|
|
254
254
|
| `defaultThemeKey` | `string` | n/a | Initial File > Options > Appearance selection when no persisted preference exists. |
|
|
255
255
|
| `availableThemes` | `ThemeCatalogEntry[]` | n/a | Theme choices offered by File > Options > Appearance (defaults to the built-in catalog). |
|
|
@@ -347,9 +347,9 @@ for the full list.
|
|
|
347
347
|
UI labels go through [@ngx-translate/core](https://github.com/ngx-translate/core) with dotted keys such as `pptx.statusBar.allSaved`. Provide it with `provideTranslateService()` (the demo's `src/i18n.ts` shows a minimal config, including a `MissingTranslationHandler` that derives Title Case labels for any key you don't explicitly translate):
|
|
348
348
|
|
|
349
349
|
```ts
|
|
350
|
-
import { translationsEn, keyToLabel } from 'pptx-angular-viewer';
|
|
351
350
|
import { inject } from '@angular/core';
|
|
352
351
|
import { TranslateService } from '@ngx-translate/core';
|
|
352
|
+
import { translationsEn, keyToLabel } from 'pptx-angular-viewer';
|
|
353
353
|
|
|
354
354
|
// register the English dictionary, e.g. in your root component
|
|
355
355
|
inject(TranslateService).setTranslation('en', translationsEn);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-angular-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.33.1",
|
|
4
4
|
"description": "pptx-viewer for Angular: a PowerPoint viewer and editor component to render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"html2canvas-pro": "^2.5.1",
|
|
96
96
|
"jspdf": "^4.2.1",
|
|
97
97
|
"jszip": "^3.10.2",
|
|
98
|
-
"ooxml-ui": "^1.
|
|
98
|
+
"ooxml-ui": "^1.8.3",
|
|
99
99
|
"opentype.js": "^2.0.0",
|
|
100
|
-
"pptx-viewer-core": "^4.13.
|
|
100
|
+
"pptx-viewer-core": "^4.13.5",
|
|
101
101
|
"tslib": "^2.8.1",
|
|
102
102
|
"zod": "^4.6.5"
|
|
103
103
|
},
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"happy-dom": "^20.14.5",
|
|
116
116
|
"jsdom": "^30.1.2",
|
|
117
117
|
"ng-packagr": "^22.2.4",
|
|
118
|
-
"pptx-viewer-core": "^4.13.
|
|
118
|
+
"pptx-viewer-core": "^4.13.5",
|
|
119
119
|
"rxjs": "^7.8.2",
|
|
120
120
|
"tailwindcss": "^4.3.3",
|
|
121
121
|
"three": "^0.186.1",
|