pptx-angular-viewer 1.30.0 → 1.30.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-angular-viewer",
3
- "version": "1.30.0",
3
+ "version": "1.30.1",
4
4
  "description": "Angular PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "angular",
@@ -46,7 +46,7 @@
46
46
  "html2canvas-pro": "^2.2.4",
47
47
  "jspdf": "^4.2.1",
48
48
  "jszip": "^3.10.1",
49
- "pptx-viewer-core": "^1.6.4",
49
+ "pptx-viewer-core": "^1.6.5",
50
50
  "tslib": "^2.8.1"
51
51
  },
52
52
  "peerDependencies": {
@@ -4707,6 +4707,20 @@ declare class CollaborationService {
4707
4707
  * never overwrites the shared document before receiving it.
4708
4708
  */
4709
4709
  seedBaseline(slides: readonly PptxSlide[]): void;
4710
+ /**
4711
+ * Re-adopt the shared document's slides after a local content load has been
4712
+ * committed to viewer state. The load pipeline applies its parsed deck
4713
+ * unconditionally, so a load that finishes AFTER the room's slides were
4714
+ * already applied (a late joiner's bootstrap deck parsing slower than the
4715
+ * doc sync) silently clobbers the synced state and, with the doc itself
4716
+ * unchanged, the remote observer never re-fires. When the room already has
4717
+ * slides they win: the doc content is re-applied through `onRemoteSlides`
4718
+ * and recorded as the sync baseline (bypassing the usual JSON dedupe) so
4719
+ * the follow-up local broadcast of the adopted deck is a no-op. An empty
4720
+ * room means this client is the seeder and the loaded deck stands, written
4721
+ * by the normal gated broadcast path. Returns true when the doc was adopted.
4722
+ */
4723
+ adoptDocSlidesAfterLoad(): boolean;
4710
4724
  broadcastSlides(slides: readonly PptxSlide[]): void;
4711
4725
  setCursor(x: number, y: number, activeSlideIndex?: number): void;
4712
4726
  setSelection(selectedElementId: string | undefined, activeSlideIndex?: number): void;
@@ -12105,7 +12119,7 @@ declare class AccountPageComponent {
12105
12119
  readonly accountAuth: _angular_core.InputSignal<AccountAuthConfig | undefined>;
12106
12120
  private readonly translate;
12107
12121
  protected readonly swatches: readonly string[];
12108
- protected readonly version = "1.29.0";
12122
+ protected readonly version = "1.30.0";
12109
12123
  protected readonly profile: _angular_core.WritableSignal<ViewerProfile>;
12110
12124
  protected readonly initial: _angular_core.Signal<string>;
12111
12125
  protected readonly usage: _angular_core.WritableSignal<LocalStorageUsageSummary | null>;