pptx-angular-viewer 3.20.1 → 3.21.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 +13 -0
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-DGdVQ5kC.mjs → pptx-angular-viewer-chat-history-idb-DewzErjQ.mjs} +2 -2
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-DGdVQ5kC.mjs.map → pptx-angular-viewer-chat-history-idb-DewzErjQ.mjs.map} +1 -1
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-De1uOCxq.mjs → pptx-angular-viewer-pptx-angular-viewer-vihD7wHf.mjs} +922 -486
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-De1uOCxq.mjs.map → pptx-angular-viewer-pptx-angular-viewer-vihD7wHf.mjs.map} +1 -1
- package/fesm2022/pptx-angular-viewer.mjs +1 -1
- package/package.json +1 -1
- package/types/pptx-angular-viewer.d.ts +208 -136
- package/types/pptx-angular-viewer.d.ts.map +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as pptx_viewer_core from 'pptx-viewer-core';
|
|
2
2
|
import { PptxThemePreset, PptxElement, PptxSlide, ShapeStyle, PptxTextWarpPreset, XmlObject, PptxChartSeries, PptxChartLegendTextStyle, PptxChartData, PptxChartDataLabelPosition, PptxChartType, PptxElementAnimation, PptxAnimationPreset, PptxAnimationSequence, PptxAnimationTrigger, PptxAnimationTimingCurve, PptxAnimationRepeatMode, PptxAnimationDirection, PptxAfterAnimationAction, ParsedTableStyleMap, PptxThemeColorScheme, PptxThemeFontScheme, TablePptxElement, PptxSection, OlePptxElement, TextSegment, TextStyle, PptxTransitionType, PptxSlideTransition, SmartArtLayoutType, SmartArtColorScheme, PptxSmartArtChrome, PptxSmartArtDrawingShape, SmartArtStyle, PptxSmartArtData, PptxThemeColorRef, PlaceholderDefaults, PptxEmbeddedFont, SmartArtLayout, AccessibilityIssueSeverity, AccessibilityIssue, AccessibilityIssueType, AccessibilityCheckOptions, ElementActionType, InkPptxElement, PptxComment, PptxChartBarDirection, ImagePptxElement, MasterViewTab, MediaPptxElement, PptxTheme, PptxHandler, PptxData, PptxHandlerSaveOptions, PptxModernCommentAuthor, PptxCommentMention, PptxHeaderFooter, PptxCustomShow, PptxSlideMaster, PptxNotesMaster, PptxHandoutMaster, PptxPresentationProperties, PptxViewProperties, PptxCoreProperties, PptxAppProperties, PptxThemeOption, PptxCustomProperty, PptxTagCollection, ParsedSignature, PptxSaveFormat, PptxTableCell, PptxTableCellStyle, PptxTableRow, PptxTableData, SvgExportOptions, PptxGridSpacing, ChartPptxElement, RenderedNode, RenderedCircleNode, RenderedPolygonNode, RenderedRectNode, SmartArtLayoutResult, Model3DPptxElement, ZoomPptxElement, SmartArtPptxElement, PptxAnimationTimelineAnchor, MaterialPresetType, Text3DStyle, BevelPresetType, PptxBar3DShape, PptxChartDataLabelOptions, PptxChartAxisType, PptxChartAxisFormatting, PptxChartMarker, PptxChartDataPoint, PptxChartTrendline, PptxChartErrBars, PptxTextStyleLevels, SignatureStatus, ElementAction, PptxImageEffects, MediaBookmark, ColorMapAliasKey, ChartAxisEdit, ChartDataPointLabelEdit, PptxChartLegendPosition, PptxChartStyle, ChartAxisTitleStyleEdit, PptxChartMarkerSymbol, ChartGridlineStyleEdit, PptxSmartArtNode, PptxSmartArtNodeStyle, PptxLayoutPreview, MediaCaptionTrack, PptxMediaType } from 'pptx-viewer-core';
|
|
3
3
|
export { GroupResult, SWITCHABLE_LAYOUT_TYPES, UngroupResult, addSmartArtNode, addSmartArtNodeAsChild, chartDataChangeType, chartDataUpdatePoint, demoteSmartArtNode, formatAutoNumberMarker as formatAutoNumber, groupElements, promoteSmartArtNode, removeSmartArtNode, reorderSmartArtNode, switchSmartArtLayout, ungroupElements, updateSmartArtNodeText } from 'pptx-viewer-core';
|
|
4
|
+
import { Doc } from 'yjs';
|
|
4
5
|
import * as _angular_core from '@angular/core';
|
|
5
6
|
import { Signal, WritableSignal, OnDestroy, OnInit, AfterViewInit, OnChanges, SimpleChanges, InjectionToken, Provider } from '@angular/core';
|
|
6
7
|
import * as AiSdk from 'ai';
|
|
@@ -177,6 +178,166 @@ declare function resolveThemeCatalogEntry(key: string | undefined, catalog?: rea
|
|
|
177
178
|
*/
|
|
178
179
|
declare const GALLERY_THEME_PRESETS: readonly PptxThemePreset[];
|
|
179
180
|
|
|
181
|
+
/**
|
|
182
|
+
* collaboration-presence.ts: Pure, framework-agnostic logic for the real-time
|
|
183
|
+
* collaboration subsystem (Yjs-backed presence + remote cursors).
|
|
184
|
+
*
|
|
185
|
+
* Everything here is a plain function with no framework / Yjs dependency, so it
|
|
186
|
+
* can be unit-tested in isolation and shared across the React, Vue, and Angular
|
|
187
|
+
* bindings. The bindings own the stateful provider lifecycle (creating the
|
|
188
|
+
* Y.Doc / WebsocketProvider, wiring awareness listeners) and call into these
|
|
189
|
+
* helpers to validate config, sanitise inbound awareness data, and project it
|
|
190
|
+
* into render-ready view-models.
|
|
191
|
+
*
|
|
192
|
+
* Responsibilities:
|
|
193
|
+
* - Validate the room id and detect mixed-content (ws:// from https) up front.
|
|
194
|
+
* - Sanitise inbound awareness data (XSS, bounds, colour, avatar, room id).
|
|
195
|
+
* - Map awareness state into a `RemoteCursor` view-model for rendering.
|
|
196
|
+
* - Derive the presence list (remote users only, stale entries dropped).
|
|
197
|
+
* - Deterministic per-user colour assignment + cursor label formatting.
|
|
198
|
+
*
|
|
199
|
+
* This mirrors the React `sanitize.ts` / `usePresenceTracking.ts` helpers and
|
|
200
|
+
* the Angular `collaboration-helpers.ts` (which predates this shared copy).
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
/** Connection lifecycle states for the Yjs WebSocket provider. */
|
|
204
|
+
type ConnectionStatus = 'disconnected' | 'connecting' | 'connected' | 'error';
|
|
205
|
+
/** A single remote collaborator's cursor, in unscaled slide coordinates. */
|
|
206
|
+
interface RemoteCursor {
|
|
207
|
+
/** Stable id for the remote client (awareness clientId or peer id). */
|
|
208
|
+
clientId: number | string;
|
|
209
|
+
/** Display name shown in the label chip. */
|
|
210
|
+
userName: string;
|
|
211
|
+
/** Cursor + chip colour (any CSS colour string). */
|
|
212
|
+
color: string;
|
|
213
|
+
/** Unscaled slide-space X coordinate (px). */
|
|
214
|
+
x: number;
|
|
215
|
+
/** Unscaled slide-space Y coordinate (px). */
|
|
216
|
+
y: number;
|
|
217
|
+
/** Optional ids of elements this user has selected. */
|
|
218
|
+
selectionIds?: string[];
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Presence data for a remote collaborator, sanitised from the awareness
|
|
222
|
+
* protocol. Returned by {@link sanitizePresence}; coordinates are in unscaled
|
|
223
|
+
* slide pixels, clamped to the supplied canvas bounds.
|
|
224
|
+
*/
|
|
225
|
+
interface SanitizedPresence {
|
|
226
|
+
clientId: number;
|
|
227
|
+
userName: string;
|
|
228
|
+
userAvatar?: string;
|
|
229
|
+
userColor: string;
|
|
230
|
+
activeSlideIndex: number;
|
|
231
|
+
cursorX: number;
|
|
232
|
+
cursorY: number;
|
|
233
|
+
lastUpdated: string;
|
|
234
|
+
selectedElementId?: string;
|
|
235
|
+
role?: CollaborationRole;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Palette used for deterministic per-user colour assignment. Distinct, legible
|
|
239
|
+
* hues with white-text contrast. Mirrors the React default-colour set.
|
|
240
|
+
*/
|
|
241
|
+
declare const CURSOR_PALETTE: readonly string[];
|
|
242
|
+
/** True when `roomId` is a safe 1-128 char alphanumeric/`-`/`_` token. */
|
|
243
|
+
declare function isValidRoomId(roomId: string): boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Validate a room id, returning it when valid and throwing otherwise. Mirrors
|
|
246
|
+
* the React `validateRoomId`.
|
|
247
|
+
*/
|
|
248
|
+
declare function validateRoomId(roomId: string): string;
|
|
249
|
+
/** Strip HTML tags, trim, and clamp to 64 chars; falls back to `'Anonymous'`. */
|
|
250
|
+
declare function sanitizeUserName(name: unknown): string;
|
|
251
|
+
/** Validate a 6-digit hex colour; returns `fallback` when invalid. */
|
|
252
|
+
declare function sanitizeColor(color: unknown, fallback?: string): string;
|
|
253
|
+
/** Coerce a value to a non-negative integer slide index. */
|
|
254
|
+
declare function sanitizeSlideIndex(value: unknown): number;
|
|
255
|
+
/** Clamp a cursor coordinate to `[min - margin, max + margin]`. */
|
|
256
|
+
declare function clampCursorPosition(value: unknown, min: number, max: number): number;
|
|
257
|
+
/**
|
|
258
|
+
* Deterministically pick a palette colour for a user. The same `seed` (client
|
|
259
|
+
* id or user name) always maps to the same colour so a peer keeps a stable hue.
|
|
260
|
+
*/
|
|
261
|
+
declare function assignUserColor(seed: number | string, palette?: readonly string[]): string;
|
|
262
|
+
/**
|
|
263
|
+
* Clamp/format a cursor label so long names don't overflow the chip. When
|
|
264
|
+
* truncating, the result is exactly `maxChars` characters including a trailing
|
|
265
|
+
* `...` ellipsis.
|
|
266
|
+
*/
|
|
267
|
+
declare function formatCursorLabel(userName: string, maxChars?: number): string;
|
|
268
|
+
/**
|
|
269
|
+
* Derive the remote-presence list from a raw awareness state map. Skips the
|
|
270
|
+
* local client, sanitises each entry, and drops stale entries (older than
|
|
271
|
+
* `staleMs`, evaluated against `now`).
|
|
272
|
+
*/
|
|
273
|
+
declare function derivePresenceList(states: Map<number, Record<string, unknown>>, localClientId: number, canvasWidth: number, canvasHeight: number, now?: number, staleMs?: number): SanitizedPresence[];
|
|
274
|
+
/**
|
|
275
|
+
* Map a sanitised presence list into the cursor view-model for the overlay,
|
|
276
|
+
* optionally filtering to a single slide (so cursors only show on the slide the
|
|
277
|
+
* local user is viewing). Pass `activeSlideIndex` undefined to show all.
|
|
278
|
+
*/
|
|
279
|
+
declare function presenceToCursors(presence: readonly SanitizedPresence[], activeSlideIndex?: number): RemoteCursor[];
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* collaboration-presence-publisher.ts: throttled writer for the local user's
|
|
283
|
+
* awareness presence.
|
|
284
|
+
*
|
|
285
|
+
* Publishes a single nested `presence` field over Yjs awareness, the
|
|
286
|
+
* cross-framework wire format every binding (React, Vue, Angular, Vanilla,
|
|
287
|
+
* Svelte) reads via `derivePresenceList`. The shape mirrors `sanitizePresence`:
|
|
288
|
+
* `{ userName, userColor, userAvatar?, role?, activeSlideIndex, cursorX,
|
|
289
|
+
* cursorY, selectedElementId?, lastUpdated }`.
|
|
290
|
+
*
|
|
291
|
+
* Outgoing updates are throttled to `BROADCAST_THROTTLE_MS` (leading edge plus
|
|
292
|
+
* a trailing flush) so rapid cursor moves do not flood the network; a caller's
|
|
293
|
+
* heartbeat re-publishes via {@link PresencePublisher.flush} so peers do not
|
|
294
|
+
* time us out.
|
|
295
|
+
*/
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Structural interface for the lazily-imported Yjs awareness surface. Every
|
|
299
|
+
* binding's live `y-protocols/awareness` `Awareness` instance satisfies this.
|
|
300
|
+
*/
|
|
301
|
+
interface AwarenessLike$1 {
|
|
302
|
+
clientID?: number;
|
|
303
|
+
setLocalStateField: (field: string, value: unknown) => void;
|
|
304
|
+
getStates: () => Map<number, Record<string, unknown>>;
|
|
305
|
+
on: (event: string, cb: () => void) => void;
|
|
306
|
+
off?: (event: string, cb: () => void) => void;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/** Connection state reported by the host, independent of the viewer lifetime. */
|
|
310
|
+
interface ExternalCollaborationSnapshot {
|
|
311
|
+
status: ConnectionStatus;
|
|
312
|
+
/**
|
|
313
|
+
* The host has loaded the authoritative document and permits local edits.
|
|
314
|
+
* Keep true while offline to allow ordinary Yjs offline edits, or set false
|
|
315
|
+
* to suspend writes until a fresh sync. The viewer never infers this from
|
|
316
|
+
* `status` and never opens it after a timeout.
|
|
317
|
+
*/
|
|
318
|
+
synced: boolean;
|
|
319
|
+
}
|
|
320
|
+
/** The public y-protocols Awareness surface needed by a borrowed session. */
|
|
321
|
+
interface ExternalCollaborationAwareness extends AwarenessLike$1 {
|
|
322
|
+
clientID: number;
|
|
323
|
+
getLocalState: () => Record<string, unknown> | null;
|
|
324
|
+
setLocalState: (state: Record<string, unknown> | null) => void;
|
|
325
|
+
off: (event: string, callback: () => void) => void;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Host-owned Yjs resources. The host creates, connects and destroys them.
|
|
329
|
+
* Keep this object and its resources stable for a session; report connection
|
|
330
|
+
* changes through subscribe instead of replacing the collaboration config.
|
|
331
|
+
*/
|
|
332
|
+
interface ExternalCollaborationSession {
|
|
333
|
+
readonly doc: Doc;
|
|
334
|
+
/** Awareness must belong to doc. One viewer publishes slide presence at a time. */
|
|
335
|
+
readonly awareness: ExternalCollaborationAwareness;
|
|
336
|
+
getSnapshot: () => ExternalCollaborationSnapshot;
|
|
337
|
+
/** Subscribe to status or synced changes; return an unsubscribe function. */
|
|
338
|
+
subscribe: (listener: () => void) => () => void;
|
|
339
|
+
}
|
|
340
|
+
|
|
180
341
|
/** A shallow property patch for a top-level element on an ordinary slide. */
|
|
181
342
|
interface ElementUpdate {
|
|
182
343
|
slideId: string;
|
|
@@ -323,11 +484,18 @@ interface CollaborationConfig {
|
|
|
323
484
|
roomId: string;
|
|
324
485
|
/**
|
|
325
486
|
* WebSocket server URL for the Yjs provider (e.g. "wss://collab.example.com").
|
|
326
|
-
* Ignored (may be empty) when `transport` is `'webrtc'`.
|
|
487
|
+
* Ignored (may be empty) for `externalSession` or when `transport` is `'webrtc'`.
|
|
327
488
|
*/
|
|
328
489
|
serverUrl: string;
|
|
329
490
|
/** Transport to use. Defaults to `'websocket'`. */
|
|
330
491
|
transport?: CollaborationTransport;
|
|
492
|
+
/**
|
|
493
|
+
* Use the host's document, awareness and transport instead of creating a
|
|
494
|
+
* provider. Transport, serverUrl, signaling and authToken are ignored. The
|
|
495
|
+
* viewer only detaches its listeners and presence on stop; it never destroys
|
|
496
|
+
* these resources. Keep this object stable and report readiness via subscribe.
|
|
497
|
+
*/
|
|
498
|
+
externalSession?: ExternalCollaborationSession;
|
|
331
499
|
/**
|
|
332
500
|
* WebRTC signaling server URLs (only used when `transport` is `'webrtc'`).
|
|
333
501
|
* Defaults to y-webrtc's built-in public signaling list. Same-browser tabs
|
|
@@ -4765,120 +4933,6 @@ declare function isPpactionUrl(url: string | undefined): boolean;
|
|
|
4765
4933
|
*/
|
|
4766
4934
|
declare function resolveHyperlinkHref(url: string | undefined): string | undefined;
|
|
4767
4935
|
|
|
4768
|
-
/**
|
|
4769
|
-
* collaboration-presence.ts: Pure, framework-agnostic logic for the real-time
|
|
4770
|
-
* collaboration subsystem (Yjs-backed presence + remote cursors).
|
|
4771
|
-
*
|
|
4772
|
-
* Everything here is a plain function with no framework / Yjs dependency, so it
|
|
4773
|
-
* can be unit-tested in isolation and shared across the React, Vue, and Angular
|
|
4774
|
-
* bindings. The bindings own the stateful provider lifecycle (creating the
|
|
4775
|
-
* Y.Doc / WebsocketProvider, wiring awareness listeners) and call into these
|
|
4776
|
-
* helpers to validate config, sanitise inbound awareness data, and project it
|
|
4777
|
-
* into render-ready view-models.
|
|
4778
|
-
*
|
|
4779
|
-
* Responsibilities:
|
|
4780
|
-
* - Validate the room id and detect mixed-content (ws:// from https) up front.
|
|
4781
|
-
* - Sanitise inbound awareness data (XSS, bounds, colour, avatar, room id).
|
|
4782
|
-
* - Map awareness state into a `RemoteCursor` view-model for rendering.
|
|
4783
|
-
* - Derive the presence list (remote users only, stale entries dropped).
|
|
4784
|
-
* - Deterministic per-user colour assignment + cursor label formatting.
|
|
4785
|
-
*
|
|
4786
|
-
* This mirrors the React `sanitize.ts` / `usePresenceTracking.ts` helpers and
|
|
4787
|
-
* the Angular `collaboration-helpers.ts` (which predates this shared copy).
|
|
4788
|
-
*/
|
|
4789
|
-
|
|
4790
|
-
/** Connection lifecycle states for the Yjs WebSocket provider. */
|
|
4791
|
-
type ConnectionStatus = 'disconnected' | 'connecting' | 'connected' | 'error';
|
|
4792
|
-
/** A single remote collaborator's cursor, in unscaled slide coordinates. */
|
|
4793
|
-
interface RemoteCursor {
|
|
4794
|
-
/** Stable id for the remote client (awareness clientId or peer id). */
|
|
4795
|
-
clientId: number | string;
|
|
4796
|
-
/** Display name shown in the label chip. */
|
|
4797
|
-
userName: string;
|
|
4798
|
-
/** Cursor + chip colour (any CSS colour string). */
|
|
4799
|
-
color: string;
|
|
4800
|
-
/** Unscaled slide-space X coordinate (px). */
|
|
4801
|
-
x: number;
|
|
4802
|
-
/** Unscaled slide-space Y coordinate (px). */
|
|
4803
|
-
y: number;
|
|
4804
|
-
/** Optional ids of elements this user has selected. */
|
|
4805
|
-
selectionIds?: string[];
|
|
4806
|
-
}
|
|
4807
|
-
/**
|
|
4808
|
-
* Presence data for a remote collaborator, sanitised from the awareness
|
|
4809
|
-
* protocol. Returned by {@link sanitizePresence}; coordinates are in unscaled
|
|
4810
|
-
* slide pixels, clamped to the supplied canvas bounds.
|
|
4811
|
-
*/
|
|
4812
|
-
interface SanitizedPresence {
|
|
4813
|
-
clientId: number;
|
|
4814
|
-
userName: string;
|
|
4815
|
-
userAvatar?: string;
|
|
4816
|
-
userColor: string;
|
|
4817
|
-
activeSlideIndex: number;
|
|
4818
|
-
cursorX: number;
|
|
4819
|
-
cursorY: number;
|
|
4820
|
-
lastUpdated: string;
|
|
4821
|
-
selectedElementId?: string;
|
|
4822
|
-
role?: CollaborationRole;
|
|
4823
|
-
}
|
|
4824
|
-
/**
|
|
4825
|
-
* Palette used for deterministic per-user colour assignment. Distinct, legible
|
|
4826
|
-
* hues with white-text contrast. Mirrors the React default-colour set.
|
|
4827
|
-
*/
|
|
4828
|
-
declare const CURSOR_PALETTE: readonly string[];
|
|
4829
|
-
/** True when `roomId` is a safe 1-128 char alphanumeric/`-`/`_` token. */
|
|
4830
|
-
declare function isValidRoomId(roomId: string): boolean;
|
|
4831
|
-
/**
|
|
4832
|
-
* Validate a room id, returning it when valid and throwing otherwise. Mirrors
|
|
4833
|
-
* the React `validateRoomId`.
|
|
4834
|
-
*/
|
|
4835
|
-
declare function validateRoomId(roomId: string): string;
|
|
4836
|
-
/** Strip HTML tags, trim, and clamp to 64 chars; falls back to `'Anonymous'`. */
|
|
4837
|
-
declare function sanitizeUserName(name: unknown): string;
|
|
4838
|
-
/** Validate a 6-digit hex colour; returns `fallback` when invalid. */
|
|
4839
|
-
declare function sanitizeColor(color: unknown, fallback?: string): string;
|
|
4840
|
-
/** Coerce a value to a non-negative integer slide index. */
|
|
4841
|
-
declare function sanitizeSlideIndex(value: unknown): number;
|
|
4842
|
-
/** Clamp a cursor coordinate to `[min - margin, max + margin]`. */
|
|
4843
|
-
declare function clampCursorPosition(value: unknown, min: number, max: number): number;
|
|
4844
|
-
/**
|
|
4845
|
-
* Deterministically pick a palette colour for a user. The same `seed` (client
|
|
4846
|
-
* id or user name) always maps to the same colour so a peer keeps a stable hue.
|
|
4847
|
-
*/
|
|
4848
|
-
declare function assignUserColor(seed: number | string, palette?: readonly string[]): string;
|
|
4849
|
-
/**
|
|
4850
|
-
* Clamp/format a cursor label so long names don't overflow the chip. When
|
|
4851
|
-
* truncating, the result is exactly `maxChars` characters including a trailing
|
|
4852
|
-
* `...` ellipsis.
|
|
4853
|
-
*/
|
|
4854
|
-
declare function formatCursorLabel(userName: string, maxChars?: number): string;
|
|
4855
|
-
/**
|
|
4856
|
-
* Derive the remote-presence list from a raw awareness state map. Skips the
|
|
4857
|
-
* local client, sanitises each entry, and drops stale entries (older than
|
|
4858
|
-
* `staleMs`, evaluated against `now`).
|
|
4859
|
-
*/
|
|
4860
|
-
declare function derivePresenceList(states: Map<number, Record<string, unknown>>, localClientId: number, canvasWidth: number, canvasHeight: number, now?: number, staleMs?: number): SanitizedPresence[];
|
|
4861
|
-
/**
|
|
4862
|
-
* Map a sanitised presence list into the cursor view-model for the overlay,
|
|
4863
|
-
* optionally filtering to a single slide (so cursors only show on the slide the
|
|
4864
|
-
* local user is viewing). Pass `activeSlideIndex` undefined to show all.
|
|
4865
|
-
*/
|
|
4866
|
-
declare function presenceToCursors(presence: readonly SanitizedPresence[], activeSlideIndex?: number): RemoteCursor[];
|
|
4867
|
-
|
|
4868
|
-
/** One row of the active-session connected-users list. */
|
|
4869
|
-
interface ActiveSessionUserDescriptor {
|
|
4870
|
-
/** `'local'` for the current user, otherwise `String(clientId)`. */
|
|
4871
|
-
id: string;
|
|
4872
|
-
name: string;
|
|
4873
|
-
/** Up to 2 uppercase characters, for the avatar-circle fallback. */
|
|
4874
|
-
initials: string;
|
|
4875
|
-
color: string;
|
|
4876
|
-
avatarUrl?: string;
|
|
4877
|
-
isLocal: boolean;
|
|
4878
|
-
/** 1-based slide number the remote user is viewing; unset for the local entry. */
|
|
4879
|
-
slideNumber?: number;
|
|
4880
|
-
}
|
|
4881
|
-
|
|
4882
4936
|
/**
|
|
4883
4937
|
* collaboration-text-codec.ts: TextSegment[] <-> Y.Text delta codec used by the
|
|
4884
4938
|
* collaboration sync layer. Split out of collaboration-sync.ts to keep both
|
|
@@ -5007,7 +5061,8 @@ interface LiveTextSource {
|
|
|
5007
5061
|
* pass uses (`reconcileElementTextBody`), so concurrent typing on one
|
|
5008
5062
|
* element still merges instead of last-write-wins
|
|
5009
5063
|
* - writes are throttled (~1 per 50ms) with a trailing write, plus an
|
|
5010
|
-
* explicit `flush()` for gesture end
|
|
5064
|
+
* explicit `flush()` for gesture end; borrowed sessions opt into immediate
|
|
5065
|
+
* writes so the host can revoke readiness without losing accepted edits
|
|
5011
5066
|
* - every transaction is tagged with LOCAL_SYNC_ORIGIN, exactly like
|
|
5012
5067
|
* `reconcileSlidesInYDoc`, so the local observer skips the echo
|
|
5013
5068
|
*
|
|
@@ -5017,7 +5072,9 @@ interface LiveTextSource {
|
|
|
5017
5072
|
|
|
5018
5073
|
interface CollaborationLivePatcher {
|
|
5019
5074
|
/** Attach a live doc (or `null` to go dormant). Pending patches are dropped. */
|
|
5020
|
-
configure: (doc: YDocLike | null, factories: YjsFactories | null
|
|
5075
|
+
configure: (doc: YDocLike | null, factories: YjsFactories | null,
|
|
5076
|
+
/** Publish synchronously when the host may revoke write readiness at any time. */
|
|
5077
|
+
immediate?: boolean) => void;
|
|
5021
5078
|
/** True when a doc + factories are attached, i.e. patches will be written. */
|
|
5022
5079
|
isActive: () => boolean;
|
|
5023
5080
|
/** Queue interim geometry for an element. */
|
|
@@ -5062,6 +5119,20 @@ interface CollaborationLivePatcher {
|
|
|
5062
5119
|
*/
|
|
5063
5120
|
type CollabLoadOrigin = 'bootstrap' | 'user';
|
|
5064
5121
|
|
|
5122
|
+
/** One row of the active-session connected-users list. */
|
|
5123
|
+
interface ActiveSessionUserDescriptor {
|
|
5124
|
+
/** `'local'` for the current user, otherwise `String(clientId)`. */
|
|
5125
|
+
id: string;
|
|
5126
|
+
name: string;
|
|
5127
|
+
/** Up to 2 uppercase characters, for the avatar-circle fallback. */
|
|
5128
|
+
initials: string;
|
|
5129
|
+
color: string;
|
|
5130
|
+
avatarUrl?: string;
|
|
5131
|
+
isLocal: boolean;
|
|
5132
|
+
/** 1-based slide number the remote user is viewing; unset for the local entry. */
|
|
5133
|
+
slideNumber?: number;
|
|
5134
|
+
}
|
|
5135
|
+
|
|
5065
5136
|
interface DepartureChannel {
|
|
5066
5137
|
/**
|
|
5067
5138
|
* Announce that this client is leaving `roomId`. Synchronous on purpose:
|
|
@@ -10279,14 +10350,14 @@ declare class CollaborationService {
|
|
|
10279
10350
|
readonly active: _angular_core.WritableSignal<boolean>;
|
|
10280
10351
|
/** Role of the local user in the active session, or undefined when idle. */
|
|
10281
10352
|
readonly activeRole: _angular_core.WritableSignal<CollaborationRole | undefined>;
|
|
10282
|
-
|
|
10283
|
-
readonly
|
|
10353
|
+
/** Active viewer role or host readiness can temporarily block editing. */
|
|
10354
|
+
readonly readOnly: _angular_core.WritableSignal<boolean>;
|
|
10355
|
+
private readonly presenceState;
|
|
10356
|
+
readonly presence: _angular_core.WritableSignal<pptx_angular_viewer.RemotePresence[]>;
|
|
10357
|
+
readonly cursors: _angular_core.Signal<pptx_angular_viewer.RemoteCursor[]>;
|
|
10284
10358
|
readonly connectedCount: _angular_core.Signal<number>;
|
|
10285
|
-
/** The client id the local user is currently following (null when free). */
|
|
10286
10359
|
readonly followedClientId: _angular_core.WritableSignal<number | null>;
|
|
10287
|
-
/** Active-slide index of the followed peer, or null when not following. */
|
|
10288
10360
|
readonly followedSlideIndex: _angular_core.Signal<number | null>;
|
|
10289
|
-
/** Active-slide index of the first `owner` peer (the broadcaster), or null. */
|
|
10290
10361
|
readonly broadcasterSlideIndex: _angular_core.Signal<number | null>;
|
|
10291
10362
|
/**
|
|
10292
10363
|
* Interim ("live preview") Y.Doc write channel: publishes in-flight inline
|
|
@@ -10308,15 +10379,11 @@ declare class CollaborationService {
|
|
|
10308
10379
|
private lastConfig;
|
|
10309
10380
|
private lastOptions;
|
|
10310
10381
|
/**
|
|
10311
|
-
* Reentrancy token for
|
|
10312
|
-
*
|
|
10313
|
-
*
|
|
10314
|
-
* service state to the newer call (a second provider join on the same room
|
|
10315
|
-
* would otherwise throw inside Yjs and kill the surviving session).
|
|
10382
|
+
* Reentrancy token for connect: every connect/disconnect invalidates pending
|
|
10383
|
+
* async setup. A superseded setup releases only what it created and never
|
|
10384
|
+
* tears down the newer session (a second provider join can otherwise throw).
|
|
10316
10385
|
*/
|
|
10317
10386
|
private connectToken;
|
|
10318
|
-
/** Memoises the awareness -> presence projection so idle heartbeats are dropped. */
|
|
10319
|
-
private readonly projector;
|
|
10320
10387
|
private readonly refreshPresence;
|
|
10321
10388
|
constructor();
|
|
10322
10389
|
connect(config: CollaborationConfig, options?: ConnectOptions): Promise<void>;
|
|
@@ -10345,7 +10412,7 @@ declare class CollaborationService {
|
|
|
10345
10412
|
setSelection(selectedElementId: string | undefined, activeSlideIndex?: number): void;
|
|
10346
10413
|
/** Publish the local active-slide index (drives follow-along). */
|
|
10347
10414
|
setActiveSlide(index: number): void;
|
|
10348
|
-
/** Follow the given peer's active slide, or
|
|
10415
|
+
/** Follow the given peer's active slide, or null to stop following. */
|
|
10349
10416
|
followUser(clientId: number | null): void;
|
|
10350
10417
|
private scheduleWriteBack;
|
|
10351
10418
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollaborationService, never>;
|
|
@@ -11695,6 +11762,7 @@ declare class ViewerCanvasEditingService {
|
|
|
11695
11762
|
/** Id of the element being inline text-edited, or null. */
|
|
11696
11763
|
readonly editingId: _angular_core.WritableSignal<string | null>;
|
|
11697
11764
|
private inlineSnapshot;
|
|
11765
|
+
private acceptedText;
|
|
11698
11766
|
private readonly listSession;
|
|
11699
11767
|
onListSession(event: {
|
|
11700
11768
|
controller: InlineListController;
|
|
@@ -11702,6 +11770,8 @@ declare class ViewerCanvasEditingService {
|
|
|
11702
11770
|
}): void;
|
|
11703
11771
|
formatInlineSnapshot(snapshot: InlineTextEditSnapshot): boolean;
|
|
11704
11772
|
endInlineListSession(): void;
|
|
11773
|
+
/** Keep the last accepted input visible after a readiness or permission loss. */
|
|
11774
|
+
suspendInlineEdit(): void;
|
|
11705
11775
|
readInlineSnapshot(): InlineTextEditSnapshot | undefined;
|
|
11706
11776
|
/** Open editor context-menu position (client coords), or null. */
|
|
11707
11777
|
readonly contextMenuPos: _angular_core.WritableSignal<{
|
|
@@ -13293,7 +13363,7 @@ declare class PowerPointViewerComponent implements PowerPointViewerAPI {
|
|
|
13293
13363
|
* end-of-slide-show screen rather than falling back to the editor.
|
|
13294
13364
|
*/
|
|
13295
13365
|
protected readonly audienceSessionEnded: _angular_core.WritableSignal<boolean>;
|
|
13296
|
-
/**
|
|
13366
|
+
/** Read-only interaction does not hide an active collaboration's live deck. */
|
|
13297
13367
|
protected readonly displaySlides: _angular_core.Signal<readonly PptxSlide[]>;
|
|
13298
13368
|
protected readonly slideCount: _angular_core.Signal<number>;
|
|
13299
13369
|
/**
|
|
@@ -13306,7 +13376,7 @@ declare class PowerPointViewerComponent implements PowerPointViewerAPI {
|
|
|
13306
13376
|
/** Mutable copy of the merged display deck for inputs that require a non-readonly array. */
|
|
13307
13377
|
protected readonly displaySlidesMut: _angular_core.Signal<PptxSlide[]>;
|
|
13308
13378
|
protected readonly activeSlide: _angular_core.Signal<PptxSlide>;
|
|
13309
|
-
/** Inherited template
|
|
13379
|
+
/** Inherited template elements for the live editor or collaboration slide source. */
|
|
13310
13380
|
protected readonly activeTemplateElements: _angular_core.Signal<readonly PptxElement[]>;
|
|
13311
13381
|
/**
|
|
13312
13382
|
* Selected `THEME_CATALOG` (or `availableThemes`) key, driving File >
|
|
@@ -21550,7 +21620,7 @@ declare class AccountPageComponent {
|
|
|
21550
21620
|
readonly accountAuth: _angular_core.InputSignal<AccountAuthConfig | undefined>;
|
|
21551
21621
|
private readonly translate;
|
|
21552
21622
|
protected readonly swatches: readonly string[];
|
|
21553
|
-
protected readonly version = "3.20.
|
|
21623
|
+
protected readonly version = "3.20.1";
|
|
21554
21624
|
protected readonly profile: _angular_core.WritableSignal<ViewerProfile>;
|
|
21555
21625
|
protected readonly initial: _angular_core.Signal<string>;
|
|
21556
21626
|
protected readonly usage: _angular_core.WritableSignal<LocalStorageUsageSummary | null>;
|
|
@@ -24287,14 +24357,16 @@ declare function rulerHighlight(start: number | undefined, span: number | undefi
|
|
|
24287
24357
|
* Save/Export path (`buildDeckSaveOptions`). Without it the write-back
|
|
24288
24358
|
* dropped every session-level edit outside `slides`.
|
|
24289
24359
|
*/
|
|
24290
|
-
declare function serializeWriteBack(ydoc: YDocLike, sourceBytes: Uint8Array, templateElements: TemplateElementsBySlideId, saveOptions?: PptxHandlerSaveOptions): Promise<Uint8Array>;
|
|
24360
|
+
declare function serializeWriteBack(ydoc: YDocLike, sourceBytes: Uint8Array, templateElements: TemplateElementsBySlideId, saveOptions?: PptxHandlerSaveOptions, isCurrent?: () => boolean): Promise<Uint8Array>;
|
|
24291
24361
|
/**
|
|
24292
24362
|
* Debounced elected-writer write-back. Only the session `owner` with an
|
|
24293
24363
|
* `onWriteBack` callback schedules anything; each new change resets the timer,
|
|
24294
24364
|
* and on fire it serializes the live Y.Doc and hands the bytes to the host.
|
|
24295
24365
|
*/
|
|
24296
24366
|
declare class WriteBackScheduler {
|
|
24297
|
-
private
|
|
24367
|
+
private ydoc;
|
|
24368
|
+
private serialize;
|
|
24369
|
+
private readonly scheduler;
|
|
24298
24370
|
schedule(config: CollaborationConfig | null, ydoc: YDocLike | null, getSourceBytes: (() => Uint8Array | null) | null, getTemplateElements: (() => TemplateElementsBySlideId) | null, getSaveOptions?: (() => PptxHandlerSaveOptions) | null): void;
|
|
24299
24371
|
cancel(): void;
|
|
24300
24372
|
}
|
|
@@ -24981,5 +25053,5 @@ declare function thumbnailHeight(canvasW: number, canvasH: number, thumbW: numbe
|
|
|
24981
25053
|
declare function gridColumns(containerW: number, thumbW: number, gap: number, maxCols: number): number;
|
|
24982
25054
|
|
|
24983
25055
|
export { AFTER_ANIMATION_VALUES, ALIGN_OPTIONS, ANIMATION_PRESET_CATEGORIES, AUDIENCE_HASH, AUDIENCE_NONCE_KEY, AVATAR_COLOR_SWATCHES, AXIS_LABEL_COLOR, AccessibilityPanelComponent, AccessibilityService, AccessibilityTextPanelComponent, AccountPageComponent, ActionSettingsPanelComponent, AdvancedChartEditorComponent, AiChangeOverlayComponent, AiChatPanelComponent, AiChatService, AiComposerComponent, AiFocusBarComponent, AiFocusHighlightOverlayComponent, AiHistoryMenuComponent, AiHistoryService, AiMessageListComponent, AiPanelStore, AiProposalCardComponent, AiSettingsSectionComponent, AiToolCallCardComponent, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, AutosaveRecoveryDialogComponent, AutosaveService, BroadcastDialogComponent, CHART_EDITOR_STYLES, CINEMATIC_TRANSITION_KEYFRAMES, CURSOR_PALETTE, CanvasFitService, ChartAxisOptionsComponent, ChartAxisStyleOptionsComponent, ChartComboTypeOptionsComponent, ChartDataEditorComponent, ChartDataLabelOptionsComponent, ChartDatapointMarkerOptionsComponent, ChartDatapointOptionsComponent, ChartDisplayOptionsComponent, ChartElementViewComponent, ChartErrorBarOptionsComponent, ChartMarkerOptionsComponent, ChartPartSelectionService, ChartPrimitivesComponent, ChartRendererComponent, ChartTrendlineOptionsComponent, ChartTypeSelectorComponent, CollaborationCursorsComponent, CollaborationService, ColorChangedImageComponent, CommentMarkersOverlayComponent, CommentsPanelComponent, CommentsService, ComparePanelComponent, ConnectorRendererComponent, ConnectorTextOverlayComponent, CustomShowsComponent, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_SCHEME, DEFAULT_FILL_COLOR, DEFAULT_LAYOUT, DEFAULT_MORPH_DURATION_MS, DEFAULT_PALETTE$1 as DEFAULT_PALETTE, DEFAULT_PATTERN_FILL_PRESET, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_STYLE, DEFAULT_TABLE_ROW_HEIGHT, DEFAULT_TEXT_COLOR, DEFAULT_VIEWER_PROFILE, DIRECTIONAL_PRESETS, DIRECTION_OPTIONS, DocumentPropertiesCardComponent, EASE, EFFECT_SOUND_CATALOGUE, EMBEDDED_FONTS_STYLE_ID, EMPHASIS_PRESETS, ENTRANCE_PRESETS, TEMPLATES as EQUATION_TEMPLATES, EXIT_PRESETS, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EncryptedFileDialogComponent, EquationEditorDialogComponent, EquationRendererComponent, EquationTemplateGalleryComponent, ExportProgressModalComponent, ExportService, FieldContextService, FindBarComponent, FindReplaceBarComponent, FollowModeBarComponent, FontEmbeddingListComponent, FontEmbeddingPanelComponent, GALLERY_THEME_PRESETS, GOOGLE_WEBFONTS_LINK_ID, GRIDLINE_COLOR, GoogleWebfontsService, GradientPickerComponent, HANDOUT_OPTIONS, HeaderFooterDialogComponent, HyperlinkDialogComponent, INSTANT, ImagePropertiesPanelComponent, InkDrawingService, InkRendererComponent, InsertSmartArtDialogComponent, InspectorPaneHeaderComponent, InspectorPanelComponent, IsMobileService, KeepAnnotationsDialogComponent, LOCALE_CATALOG, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, LoadContentService, LocalPresencePublisher, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOTION_PATH_COLUMNS, MediaPreviewComponent, MediaPropertiesPanelComponent, MediaRendererComponent, MediaTrimTimelineComponent, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesHandoutCardComponent, NotesPanelComponent, NotesToolbarComponent, OleRendererComponent, OutlineViewOverlayComponent, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, POWER_POINT_VIEWER_PROVIDERS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PRESENTER_CHANNEL_NAME, PRESENTER_MSG_ORIGIN, PRESENTER_TIMER_SEGMENT_MS, PX_PER_CM, PX_PER_INCH, PasswordProtectionDialogComponent, PasswordStrengthMeterComponent, PowerPointViewerComponent, PresentToolbarAutoHide, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationPropertiesPanelComponent, PresentationSettingsCardComponent, PresentationSubtitleBarComponent, PresentationToolbarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PresenterWindowService, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, RANDOM_ELIGIBLE_TYPES, REPEAT_MODE_OPTIONS, RESIZE_HANDLES, RULER_FONT_SIZE, RULER_THICKNESS, ReadingViewOverlayComponent, RemoteSelectionOverlayComponent, RibbonAnimationGalleryComponent, RibbonAnimationsSectionComponent, RibbonArrangeSectionComponent, RibbonColorPopoverComponent, RibbonComponent, RibbonDesignSectionComponent, RibbonDrawSectionComponent, RibbonDrawingGroupComponent, RibbonEditingSectionComponent, RibbonFileSectionComponent, RibbonFontControlsComponent, RibbonHomeSectionComponent, RibbonHyperlinkButtonComponent, RibbonInsertFieldsComponent, RibbonInsertSectionComponent, RibbonMotionPathGalleryComponent, RibbonParagraphControlsComponent, RibbonPrimaryRowComponent, RibbonReviewSectionComponent, RibbonShapeExtrasComponent, RibbonSlideshowSectionComponent, RibbonTransitionsSectionComponent, RibbonViewSectionComponent, RulerGuidesService, SEQUENCE_OPTIONS, SEVERITY_GROUPS, SEVERITY_LABELS, DEFAULT_TRANSITION_DURATION_MS as SHARED_DEFAULT_TRANSITION_DURATION_MS, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, DEFAULT_PALETTE as SMARTART_DEFAULT_PALETTE, PALETTES as SMARTART_PALETTES, SMART_ART_COLOR_SCHEMES, SMART_ART_STYLE_OPTIONS, SUB_ITEM_LABEL, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, SelectionPaneComponent, SetUpSlideShowDialogComponent, SettingsAppearanceTabComponent, SettingsDialogComponent, SettingsLanguageTabComponent, ShareDialogComponent, ShortcutPanelComponent, ShowOptionsFieldsetComponent, ShowSlidesFieldsetComponent, SignatureStrippedDialogComponent, SignaturesPanelComponent, SignaturesService, SlideBackgroundCardComponent, SlideCanvasComponent, SlideDefaultInspectorComponent, SlideDiffChangesComponent, SlideDiffRowComponent, SlideDiffThumbnailsComponent, SlideSizeCardComponent, SlideSorterOverlayComponent, SlideThemeOverridePanelComponent, SlideTransitionCardComponent, SlidesPanelComponent, SmartArt3DRendererComponent, SmartArt3DService, SmartArtPreviewComponent, SmartArtPropertiesComponent, SmartArtRendererComponent, StatusBarComponent, TABLE_STRUCTURE_TOGGLES, TEXT_3D_BOTTOM_BEVEL_KEYS, TEXT_3D_TOP_BEVEL_KEYS, TEXT_DIRECTION_OPTIONS, THEME_CATALOG, TIMING_CURVE_OPTIONS, TRANSITION_SPEED_DURATION_MS, TRIGGER_OPTIONS, TYPE_LABELS, TableCellAdvancedFillComponent, TableCellFormattingComponent, TableDataEditorComponent, TablePropertiesComponent, TableRendererComponent, TableResizeOverlayComponent, TableSelectionService, TagsCardComponent, Text3DBevelSectionComponent, Text3DPanelComponent, TextAdvancedPanelComponent, ThemeEditorFieldsComponent, ThemeGalleryComponent, ThemeSelectorCardComponent, TitleBarComponent, TitleBarSearchComponent, TransitionDirectionPickerComponent, TransitionPreviewComponent, VALIGN_OPTIONS, VIEWER_THEME, VersionHistoryPanelComponent, ViewerCanvasEditingService, ViewerCollabCursorService, ViewerCollaborationSessionService, ViewerCompareService, ViewerCustomShowsService, ViewerDialogsService, ViewerDocumentPropertiesService, ViewerExportService, ViewerExtraDialogsComponent, ViewerFileIOService, ViewerFindReplaceService, ViewerFormatPainterService, ViewerInspectorPanelService, ViewerKeyboardService, ViewerMobileSheetService, ViewerPresentationModeService, ViewerThemeGalleryService, ViewerTouchGesturesService, ViewerZoomService, WEBM_MIME_CANDIDATES, WHEEL_SPOKE_COUNTS, WriteBackScheduler, ZERO_LINE_COLOR, ZoomNavigationService, ZoomRendererComponent, ZoomTargetService, addCategory, addCommentToList, addGradientStopPatch, addItem, addSeries, addSubItem, advanceStep, affordanceElements, aiToggleVisible, alignPatch, animationFor, animationPresetLabelKey, annotationMapToInkInserts, applyAcceptedDiff, applyAnimationPreset, applyFindReplacements, applyFormatToElement, applyMove, applyResize, asMediaElement, assignUserColor, attachShowVisibilityPause, attachTouchGestures, axisTickValues, beginDrawingNodeEdit, beginNodeEdit, bevelSizePatch, boolFromEvent, bringForward, bringToFront, buildBarActions, buildBroadcastConfig, buildBroadcastViewerUrl, buildCategoryLabels, buildCellParagraphs, buildChartViewModel, buildChatLogExport, buildChatLogMarkdown, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildColStyles, buildCollaborationConfig, buildComboViewModel, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildEquationElement, buildEquationSegment, buildFallbackViewModel, buildFontFaceRule, buildGradientFillCss, buildGridlinesAndLabels, buildHyperlinkPatch, buildInkContainerStyle, buildInkStrokes, buildLegend, buildLiveInkStrokeView, buildMarkTooltip, buildModel3DContainerStyle, buildModel3DViewModel, buildOleActionModel, buildOleInfoRows, buildPatternFillCss, buildPieViewModel, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildRadarViewModel, buildRegionMapViewModel, buildSaveSlides, buildShareUrl, buildSmartArtInsertElement, buildSmartArtNodes, buildStockViewModel, buildSurfaceViewModel, buildTableViewModel, buildTreemapViewModel, buildTrimFragment, buildWaterfallViewModel, buildZeroLine, buildZoomContainerStyle, buildZoomViewModel, bulletIndentPx, canAddTopLevelNode, canEditSmartArtNodes, canGroupSelection, canRemoveTopLevelNode, canSetStrokeWidth, canStartBroadcast, canStartShare, canUngroupSelection, canUseClipboard, captionDisplayText, cellRunStyle, cellStyleToStyleMap, cellTdStyle, changeCountLabel, changeIcon, characterSpacingPatch, chartPreserveAspectRatio, checkFontAvailable, clampCursorPosition, clampGifDimensions, clampIndex, clampNotesFontSize, clampScale, clampStep, clearAllLocalViewerData, clearAudienceContent, cn, collectAccessibilityIssues, collectElementText, collectSlideText, collectStoredChats, collectUsedFontFamilies, columnWidthStyle, commitNodeText, computeAlign, computeAxisTitlePrimitives, computeBarRects, computeBubbleRadius, computeCornerHandle, computeDistribute, computeDrawingViewBox, computeErrorBarPrimitives, computeFocusTargets, computeGridSpacingPx, computeHandleBoxes, computeHandoutLayout, computeIsMobile, computeIsTablet, computeLinePoints, computeLinearRegression, computePageCount, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRSquared, computeRadarPoints, computeResizeHandleBoxes, computeRotateHandleBox, computeScatterDots, computeScatterXDomain, computeSelectionBoxes, computeSingleSelected, computeSlideIndices, computeSnap, computeStackedBarRects, computeStackedValueRange, computeTrendlinePrimitives, computeValueRange, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, countAnnotationStrokes, createAngularAiBridge, createCustomShow, createImageElementFromFile, createSwipeDismissDrag, createWebrtcBundle, createWebsocketBundle, cssObjectToStyleMap, currentColorScheme, currentLayout, currentStyle, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, deleteVersion as deleteRecoveryVersion, demoteNode, deriveModel3DBlobUrl, derivePresenceList, describeSmartArtBounds, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, duplicateElementById, durationOf, effectsStateOf, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, endShowMediaCleanup, estimatePageCount, exitPresentationFullscreen, exportAiChatLogs, extractPathPoints, eyedropperAvailable, fillColorOf, findInSlides, findOwningSlideIndex, findSlideIndexByElementId, firstVisibleIndex, fitPolynomial, fitZoom, focusTargetChips, fontMimeForFormat, fontSizeOf, forgetSessionDeck, formatAxisValue, formatBytes, formatCursorLabel, formatElapsed, formatFileSize, formatInlineListStyle, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generatePressureCircles, generateTicks, getCinematicTransitionAnimations, getClrChangeParams, getContainerStyle, getDuotoneFilterDef, getEffectSoundAsset, getEffectSoundState, getImageSrc, getLocalStorageUsageSummary, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDownloadFileName, getOleTypeColor, getOleTypeLabel, getP14TransitionAnimations, getPasswordStrength, getPatternSvg, getPlaceholderStyle, getVersions as getRecoveryVersions, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getSessionTabId, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTextBlockStyle, getTextWarp, getTouchDistance, getWarpCategory, getWarpPath, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gradientStopColorCommitPatch, gridColumns, groupIssuesBySeverity, hasAnimation, hasCopyableFormat, hasExistingLink, hasExitedFullscreen, hasGradientFill, hasPressureVariation, hasVisibleSlideAfter, headerLabel, imageDimensions, inkViewBox, insertTableElementColumn as insertColumn, insertTableElementRow as insertRow, interpolateWidth, isAudienceTab, isBold, isBrowserOpenableMime, isChildNode, isElementInteractive, isInjectableUrl, isItalic, isLegacyBinaryPresentation, isPpactionUrl, isPresenterMessage, isSigned, isSupportedPresentationFile, isTextElement, isTwoTableFocus, isUnderline, isUrlSafe, isValidRoomId, isViewportBackgroundPressTarget, isZoomActivationKey, issueTrackKey, issueTypeLabel, keyToLabel, lastVisibleIndex, latexToMathml, layoutConnectorPaints, layoutNodeLabels, linePointsToSvgString, lineSpacingPatch, loadAudienceContent, loadSessionDeck, mediaFallbackFor, mediaSurfaceFor, mergeCaptionResults, mergeDown, mergeRight, mergeSelection, mergeTablesDirective, moveElementBy, moveNodeDown, moveNodeUp, msToFrameDelayCs, narrowToCircle, narrowToPolygon, narrowToRect, newChartElement, newEquationElement, newPresetShapeElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextVisibleIndex, nodeBold, nodeEditBox, nodeFillColor, nodeFontColor, nodeIdFromKey, nodeItalic, nodeStyle, normalizeFontFormat, normalizeSlidesPerPage, normalizeValue, numFromEvent, ommlToMathml, ooxmlDashToCssBorderStyle, openNativeEyeDropper, overallStatus, paletteColor, parseAudienceNonce, parseNodeTextarea, partitionSlides, patchChartData, patchChartStyle, patchTableData, patchTextStyle, patternPresetOptions, pendingElementStyles, pickColorByClickFallback, pickFile, pickSupportedMimeType, planGifFrames, planVideoSegments, pointFromPointerEvent, pointsToSvgPathD, presenceToCursors, presentationBaseName, presentationStageStyle, presenterTimerProgress, presetByLayout, presetsForCategory, pressuresToWidths, prevVisibleIndex, projectDrawingShapes, promoteNode, provideViewerTheme, radarAngle, radarRingPoints, readAsDataUrl, recordWebm, registerCrossSlideAudio, rememberSessionDeck, removeAnimation, removeCategory, removeTableElementColumn as removeColumn, removeCommentFromList, removeElementAnimation, removeGradientStopPatch, removeNode, removeTableElementRow as removeRow, removeSeries, renderToCanvas, reorderAnimationDown, reorderAnimationUp, replaceInSlides, replaceMatch, requestPresentationFullscreen, resizeElement, resolveCaptionTracks, resolveChartKind, resolveDirection, resolveDirection8, resolveFontVariant, resolveHyperlinkHref, resolveInteractiveElementId, resolveMediaSrc, resolveOleType, resolveOrientation, resolveParagraphBullet, resolvePresenterNotes, resolveProfileInitial, resolveRegionCode, resolveRibbonCanGroup, resolveSlideAutoAdvanceMs, resolveSlideTransition, resolvePalette as resolveSmartArtPalette, resolveThemeCatalogEntry, resolveTransitionDuration, resolveTransitionDurationMs, resolveWheelSpokeCount, restoreSessionDeck, revealedElementStyles, routeOrthogonalConnector, rowStyle, rulerDragToGuidePosition, rulerHighlight, rulerStripTicks, sampleColorFromSlide, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, saveViewerProfile, savedPresentationFileName, scanAvailableFonts, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, selectValue, sendBackward, sendToBack, sequentialColorScale, serializeWriteBack, seriesColor, setAfterAnimation, setAfterAnimationColor, setAnimationEmphasis, setAnimationEntrance, setAnimationExit, setAxis, setAxisLogScale, setAxisTitleStyle, setCategoryLabel, setCellText, setColorScheme, setDataLabels, setDataPointExplosion, setDataPointFill, setDataPointLabel, setDataPointMarker, setDelay, setDirection, setDuration, setEffectSound, setEffectStockSound, setElementPosition, setGridlineStyle, setLayout, setLegend, setNodeStyle, setNodeText, setRepeatCount, setRepeatMode, setSequence, setSeriesChartType, setSeriesColor, setSeriesErrorBars, setSeriesMarker, setSeriesName, setSeriesTrendline, setSeriesValue, setStyle, setTimingCurve, setTitle, setTrigger, setTriggerShapeId, shapeStylePatch, sheetAfterNavigate, shouldBlockClickAdvance, shouldUseSvgWarp, showDirectionPicker, showsTemplateAffordance, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusLabel as slideDiffStatusLabel, slideNumberOf, slidesWithReappliedLayout, smartArtNodes, paletteColour as smartArtPaletteColour, snapToGridStep, splitCursorCell, splitMergedCell, statusKind, statusLabel$1 as statusLabel, storeAudienceContent, stringFromEvent, strokeColorOf, strokeToInkElement, strokeWidthOf, styleShadowFilter, surfaceColor, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textColorOf, textDirectionPatch, textFontSizePatch, textStyleOf, textStylePatch, themeStyle, themeToCssVars, thumbnailHeight, thumbnailZoom, toggleCommentResolvedInList, toggleNodeBold, toggleNodeItalic, toggleSheet, topLevelNodeCount, transformSelectedTextCase, translationsEn, updateElementById, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateOuterShadowPatch, updateReflectionPatch, vAlignPatch, validatePassword, validatePrintSettings, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, waypointsToPathD, withManualLayouts, worstStatus, zoomTargetSlideIndex };
|
|
24984
|
-
export type { AccessibilityIssueGroup, AccountAuthConfig, ActionDescriptor, ActiveShow, AiCanvasHighlight, AiChatInitState, AiHistoryInitDeps, AiLogChat, AiLogExport, AiLogFormat, AiLogMessage, AiPanelSelectionAccessors, AlignBox, AlignMode, AnimationClickGroup, AnimationGroup, AnimationPresetCategory, AnimationPresetEntry, AnimationPresetPick, AnnotationInkInsert, AnnotationStroke, AttachTouchGesturesConfig, AuthoredRange, AwarenessLike, BarRect, Box, BridgeDeps, BroadcastConfig, BroadcastDefaults, BubbleRadiusOptions, CSSProperties, CanvasSize, CellCoord, CellParagraph, CellTextRun, ChartPartRef, ChartPartSelection, ChartSvgDef, ChartSvgPatternDef, ChartValueDrag, ChartViewModel, ClassValue, ClrChangeParams, CollaborationConfig, CollaborationRole, RouterRect as ConnectorObstacle, RouterPoint as ConnectorPoint, ConnectorRouting, CopiedFormat, CornerHandleBox, CustomShow, CustomThemeEdit, DestroyableYDoc, DiagonalBorderInfo, DistributeMode, DocumentProperties, DrawingViewBox, DuotoneFilterDef, EffectSoundState, EffectsState, ElementUpdate, ElementUpdateOptions, EmbeddedFontStyles, EquationTemplate, EyedropperResult, FindOptions, FindResult, FocusChip, FocusSelectionInput, GifFrame, GifFramePlan, GifPlanOptions, GlowState, GradientState, GradientStop$1 as GradientStop, HandleBox, HandoutSlidesPerPage, HyperlinkDraft, InkPoint, InkStroke, InkStrokeView, InlineEditState, InnerShadowState, LegendEntry, LinePoint, LinearFit, LocalIdentity, LocalStorageUsageSummary, LocaleCatalogEntry, MobileSheetKey, Model3DViewModel, MotionPathColumn, MotionPathEntry, NodeEditBox, NotesSegmentViewModel, ObjectUrlFactory, OleActionModel, OleInfoRow, OuterShadowState, OutlineCommit, OverallSignatureStatus, PartitionedSlides, PathPoint, PieSliceGeometry, PieSliceOptions, PlotLayout, PlotLayoutOptions, PositionUpdate, PowerPointViewerAPI, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiElementUpdate, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy, PresentToolbarAction, PresentationTool, PresenterExitMessage, PresenterMessage, PresenterNotes, PresenterSlideChangeMessage, PresenterTimerProgress, PressureCircle, PrintColorMode, PrintHtmlDocumentOptions as PrintDocumentOptions, PrintOrientation, PrintSettings, PrintSlideRange, PrintWhat, PropertiesDraft, ProposalView, ProviderBundle, ProviderLike, RadarPoint, RecordWebmOptions, RecoveryVersion, ReflectionState, RemoteCursor, SanitizedPresence as RemotePresence, RenderedShape, ReplaceResult, ResizeHandle, ResolvedCaptionTrack, ResolvedDirection, ResolvedDirection8, ResolvedFontVariant, ResolvedOleType, RulerUnit, SavedPresentationFormat, ScatterDot, ScatterXDomain, SelectionBox, SessionDeck, ShapeStyleChanges, ShareDefaults$1 as ShareDefaults, ShareFormFields, ShortcutReferenceItem, SignatureStatusKind, SlideInspectorTab, SlideTransitionAnimations, SmartArtInsertEvent, SmartArtNodeBounds, SnapBox, SnapGuide, SnapResult, SoftEdgeState, SpeechAlternative, SpeechRecognitionCtor, SpeechRecognitionEventLite, SpeechRecognitionLite, SpeechResult, SpeechResultList, SpeechSupportState, StagedProposal, StrokeToInkElementOpts, StyleMap, SupportedChartKind, SvgAreaGradient, SvgCircle, SvgLine, SvgPath, SvgPolygon, SvgPolyline, SvgPrimitive, SvgRect, SvgText, SwipeDismissDrag, TableBooleanFlag, TableCellSelection, TableCellViewModel, TableRowViewModel, TemplateElementsBySlideId, Text3DBevelKeys, TextAdvancedChanges, TextAdvancedState, TextStyleChanges, TextWarpCssDef, TextWarpDef, TextWarpPathDef, ThemeCatalogEntry, Tick, ToolbarActionId, TouchGestureCallbacks, TranslationKey, ValueRange, VideoPlanOptions, VideoSegmentPlan, ViewerMode, ViewerProfile, ViewerSettings, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding, ZoomTranslate, ZoomViewModel };
|
|
25056
|
+
export type { AccessibilityIssueGroup, AccountAuthConfig, ActionDescriptor, ActiveShow, AiCanvasHighlight, AiChatInitState, AiHistoryInitDeps, AiLogChat, AiLogExport, AiLogFormat, AiLogMessage, AiPanelSelectionAccessors, AlignBox, AlignMode, AnimationClickGroup, AnimationGroup, AnimationPresetCategory, AnimationPresetEntry, AnimationPresetPick, AnnotationInkInsert, AnnotationStroke, AttachTouchGesturesConfig, AuthoredRange, AwarenessLike, BarRect, Box, BridgeDeps, BroadcastConfig, BroadcastDefaults, BubbleRadiusOptions, CSSProperties, CanvasSize, CellCoord, CellParagraph, CellTextRun, ChartPartRef, ChartPartSelection, ChartSvgDef, ChartSvgPatternDef, ChartValueDrag, ChartViewModel, ClassValue, ClrChangeParams, CollaborationConfig, CollaborationRole, RouterRect as ConnectorObstacle, RouterPoint as ConnectorPoint, ConnectorRouting, CopiedFormat, CornerHandleBox, CustomShow, CustomThemeEdit, DestroyableYDoc, DiagonalBorderInfo, DistributeMode, DocumentProperties, DrawingViewBox, DuotoneFilterDef, EffectSoundState, EffectsState, ElementUpdate, ElementUpdateOptions, EmbeddedFontStyles, EquationTemplate, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, EyedropperResult, FindOptions, FindResult, FocusChip, FocusSelectionInput, GifFrame, GifFramePlan, GifPlanOptions, GlowState, GradientState, GradientStop$1 as GradientStop, HandleBox, HandoutSlidesPerPage, HyperlinkDraft, InkPoint, InkStroke, InkStrokeView, InlineEditState, InnerShadowState, LegendEntry, LinePoint, LinearFit, LocalIdentity, LocalStorageUsageSummary, LocaleCatalogEntry, MobileSheetKey, Model3DViewModel, MotionPathColumn, MotionPathEntry, NodeEditBox, NotesSegmentViewModel, ObjectUrlFactory, OleActionModel, OleInfoRow, OuterShadowState, OutlineCommit, OverallSignatureStatus, PartitionedSlides, PathPoint, PieSliceGeometry, PieSliceOptions, PlotLayout, PlotLayoutOptions, PositionUpdate, PowerPointViewerAPI, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiElementUpdate, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy, PresentToolbarAction, PresentationTool, PresenterExitMessage, PresenterMessage, PresenterNotes, PresenterSlideChangeMessage, PresenterTimerProgress, PressureCircle, PrintColorMode, PrintHtmlDocumentOptions as PrintDocumentOptions, PrintOrientation, PrintSettings, PrintSlideRange, PrintWhat, PropertiesDraft, ProposalView, ProviderBundle, ProviderLike, RadarPoint, RecordWebmOptions, RecoveryVersion, ReflectionState, RemoteCursor, SanitizedPresence as RemotePresence, RenderedShape, ReplaceResult, ResizeHandle, ResolvedCaptionTrack, ResolvedDirection, ResolvedDirection8, ResolvedFontVariant, ResolvedOleType, RulerUnit, SavedPresentationFormat, ScatterDot, ScatterXDomain, SelectionBox, SessionDeck, ShapeStyleChanges, ShareDefaults$1 as ShareDefaults, ShareFormFields, ShortcutReferenceItem, SignatureStatusKind, SlideInspectorTab, SlideTransitionAnimations, SmartArtInsertEvent, SmartArtNodeBounds, SnapBox, SnapGuide, SnapResult, SoftEdgeState, SpeechAlternative, SpeechRecognitionCtor, SpeechRecognitionEventLite, SpeechRecognitionLite, SpeechResult, SpeechResultList, SpeechSupportState, StagedProposal, StrokeToInkElementOpts, StyleMap, SupportedChartKind, SvgAreaGradient, SvgCircle, SvgLine, SvgPath, SvgPolygon, SvgPolyline, SvgPrimitive, SvgRect, SvgText, SwipeDismissDrag, TableBooleanFlag, TableCellSelection, TableCellViewModel, TableRowViewModel, TemplateElementsBySlideId, Text3DBevelKeys, TextAdvancedChanges, TextAdvancedState, TextStyleChanges, TextWarpCssDef, TextWarpDef, TextWarpPathDef, ThemeCatalogEntry, Tick, ToolbarActionId, TouchGestureCallbacks, TranslationKey, ValueRange, VideoPlanOptions, VideoSegmentPlan, ViewerMode, ViewerProfile, ViewerSettings, ViewerTheme, ViewerThemeColors, ViewportFitOptions, ViewportFitPadding, ZoomTranslate, ZoomViewModel };
|
|
24985
25057
|
//# sourceMappingURL=pptx-angular-viewer.d.ts.map
|