pptx-angular-viewer 1.1.33 → 1.1.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-angular-viewer",
3
- "version": "1.1.33",
3
+ "version": "1.1.35",
4
4
  "description": "Angular PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "angular",
@@ -44,7 +44,7 @@
44
44
  "html2canvas-pro": "^2.0.4",
45
45
  "jspdf": "^4.2.1",
46
46
  "jszip": "^3.10.1",
47
- "pptx-viewer-core": "^1.1.29",
47
+ "pptx-viewer-core": "^1.1.31",
48
48
  "tslib": "^2.8.1"
49
49
  },
50
50
  "peerDependencies": {
@@ -1,7 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { Signal, OnInit, OnDestroy, OnChanges, SimpleChanges, InjectionToken, Provider } from '@angular/core';
3
3
  import * as pptx_viewer_core from 'pptx-viewer-core';
4
- import { ShapeStyle, PptxTextWarpPreset, XmlObject, PptxElementAnimation, PptxSlide, PptxElement, TextStyle, PptxTransitionType, PptxEmbeddedFont, AccessibilityIssueSeverity, AccessibilityIssue, AccessibilityIssueType, AccessibilityCheckOptions, PptxComment, PptxTheme, PptxSlideMaster, PptxCoreProperties, ParsedSignature, PptxTableCell, PptxThemePreset, InkPptxElement, TextSegment, Model3DPptxElement, ZoomPptxElement, PptxSlideTransition, TablePptxElement, ChartPptxElement, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationTimingCurve, PptxAnimationRepeatMode, PptxAnimationDirection, PptxAnimationSequence, SignatureStatus } from 'pptx-viewer-core';
4
+ import { ShapeStyle, PptxTextWarpPreset, XmlObject, PptxElementAnimation, PptxSlide, PptxElement, TextStyle, PptxTransitionType, PptxEmbeddedFont, AccessibilityIssueSeverity, AccessibilityIssue, AccessibilityIssueType, AccessibilityCheckOptions, PptxComment, PptxTheme, PptxSlideMaster, PptxCoreProperties, ParsedSignature, PptxTableCell, PptxThemePreset, InkPptxElement, TextSegment, Model3DPptxElement, ZoomPptxElement, PptxSlideTransition, TablePptxElement, ChartPptxElement, SmartArtPptxElement, PptxSmartArtData, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationTimingCurve, PptxAnimationRepeatMode, PptxAnimationDirection, PptxAnimationSequence, SignatureStatus } from 'pptx-viewer-core';
5
5
  import * as pptx_angular_viewer from 'pptx-angular-viewer';
6
6
  import { Options } from 'html2canvas-pro';
7
7
  import { SafeHtml } from '@angular/platform-browser';
@@ -4750,6 +4750,17 @@ declare class InspectorPanelComponent {
4750
4750
  protected readonly tableEl: _angular_core.Signal<TablePptxElement | undefined>;
4751
4751
  /** The selected element narrowed to a chart, or undefined. */
4752
4752
  protected readonly chartEl: _angular_core.Signal<ChartPptxElement | undefined>;
4753
+ /** The selected element narrowed to SmartArt, or undefined. */
4754
+ protected readonly smartArtEl: _angular_core.Signal<SmartArtPptxElement | undefined>;
4755
+ /** The selected SmartArt element's data model, or undefined. */
4756
+ protected readonly smartArtData: _angular_core.Signal<PptxSmartArtData | undefined>;
4757
+ /**
4758
+ * Commit an updated SmartArt data model as one history entry. Patching only
4759
+ * `smartArtData` routes through the same `EditorStateService.updateElement`
4760
+ * path as every other inspector section, so undo/redo and persistence work
4761
+ * identically.
4762
+ */
4763
+ protected onSmartArtDataChange(smartArtData: PptxSmartArtData): void;
4753
4764
  /** Commit a partial-element patch from an advanced sub-panel as one history entry. */
4754
4765
  protected onPatch(patch: Partial<PptxElement>): void;
4755
4766
  /** Commit a fully-replaced element (table/chart data editors) as one history entry. */