pptx-angular-viewer 3.20.0 → 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 +38 -0
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-amzrYVHP.mjs → pptx-angular-viewer-chat-history-idb-DewzErjQ.mjs} +2 -2
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-amzrYVHP.mjs.map → pptx-angular-viewer-chat-history-idb-DewzErjQ.mjs.map} +1 -1
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-DP0uS-ib.mjs → pptx-angular-viewer-pptx-angular-viewer-vihD7wHf.mjs} +944 -500
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-DP0uS-ib.mjs.map → pptx-angular-viewer-pptx-angular-viewer-vihD7wHf.mjs.map} +1 -1
- package/fesm2022/pptx-angular-viewer.mjs +1 -1
- package/i18n/de.cjs +4 -0
- package/i18n/de.mjs +4 -0
- package/i18n/es.cjs +4 -0
- package/i18n/es.mjs +4 -0
- package/i18n/fr.cjs +4 -0
- package/i18n/fr.mjs +4 -0
- package/i18n/zh-CN.cjs +4 -0
- package/i18n/zh-CN.mjs +4 -0
- package/package.json +2 -2
- package/types/pptx-angular-viewer.d.ts +219 -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
|
|
@@ -1209,6 +1377,17 @@ interface PlotLayout {
|
|
|
1209
1377
|
plotBottom: number;
|
|
1210
1378
|
plotWidth: number;
|
|
1211
1379
|
plotHeight: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* `plotHeight` before any `c:plotArea/c:layout/c:manualLayout` override is
|
|
1382
|
+
* applied. PowerPoint's automatic gridline-count decision (see
|
|
1383
|
+
* `axisTargetIntervals` in chart-axis-nice.ts) is driven by the chart's
|
|
1384
|
+
* natural size, not by where the author later dragged the plot rectangle;
|
|
1385
|
+
* an `inner`-target manual layout in particular reserves no axis-label
|
|
1386
|
+
* band at all, so `plotHeight` alone can read far taller than the chart
|
|
1387
|
+
* PowerPoint actually sized its gridline count against (issue #132: a
|
|
1388
|
+
* manually-laid-out percent chart got 7 gridlines here, 4 in PowerPoint).
|
|
1389
|
+
*/
|
|
1390
|
+
autoPlotHeight: number;
|
|
1212
1391
|
}
|
|
1213
1392
|
/**
|
|
1214
1393
|
* Reserved-space options for `computePlotLayout` (secondary axes + data table).
|
|
@@ -4754,120 +4933,6 @@ declare function isPpactionUrl(url: string | undefined): boolean;
|
|
|
4754
4933
|
*/
|
|
4755
4934
|
declare function resolveHyperlinkHref(url: string | undefined): string | undefined;
|
|
4756
4935
|
|
|
4757
|
-
/**
|
|
4758
|
-
* collaboration-presence.ts: Pure, framework-agnostic logic for the real-time
|
|
4759
|
-
* collaboration subsystem (Yjs-backed presence + remote cursors).
|
|
4760
|
-
*
|
|
4761
|
-
* Everything here is a plain function with no framework / Yjs dependency, so it
|
|
4762
|
-
* can be unit-tested in isolation and shared across the React, Vue, and Angular
|
|
4763
|
-
* bindings. The bindings own the stateful provider lifecycle (creating the
|
|
4764
|
-
* Y.Doc / WebsocketProvider, wiring awareness listeners) and call into these
|
|
4765
|
-
* helpers to validate config, sanitise inbound awareness data, and project it
|
|
4766
|
-
* into render-ready view-models.
|
|
4767
|
-
*
|
|
4768
|
-
* Responsibilities:
|
|
4769
|
-
* - Validate the room id and detect mixed-content (ws:// from https) up front.
|
|
4770
|
-
* - Sanitise inbound awareness data (XSS, bounds, colour, avatar, room id).
|
|
4771
|
-
* - Map awareness state into a `RemoteCursor` view-model for rendering.
|
|
4772
|
-
* - Derive the presence list (remote users only, stale entries dropped).
|
|
4773
|
-
* - Deterministic per-user colour assignment + cursor label formatting.
|
|
4774
|
-
*
|
|
4775
|
-
* This mirrors the React `sanitize.ts` / `usePresenceTracking.ts` helpers and
|
|
4776
|
-
* the Angular `collaboration-helpers.ts` (which predates this shared copy).
|
|
4777
|
-
*/
|
|
4778
|
-
|
|
4779
|
-
/** Connection lifecycle states for the Yjs WebSocket provider. */
|
|
4780
|
-
type ConnectionStatus = 'disconnected' | 'connecting' | 'connected' | 'error';
|
|
4781
|
-
/** A single remote collaborator's cursor, in unscaled slide coordinates. */
|
|
4782
|
-
interface RemoteCursor {
|
|
4783
|
-
/** Stable id for the remote client (awareness clientId or peer id). */
|
|
4784
|
-
clientId: number | string;
|
|
4785
|
-
/** Display name shown in the label chip. */
|
|
4786
|
-
userName: string;
|
|
4787
|
-
/** Cursor + chip colour (any CSS colour string). */
|
|
4788
|
-
color: string;
|
|
4789
|
-
/** Unscaled slide-space X coordinate (px). */
|
|
4790
|
-
x: number;
|
|
4791
|
-
/** Unscaled slide-space Y coordinate (px). */
|
|
4792
|
-
y: number;
|
|
4793
|
-
/** Optional ids of elements this user has selected. */
|
|
4794
|
-
selectionIds?: string[];
|
|
4795
|
-
}
|
|
4796
|
-
/**
|
|
4797
|
-
* Presence data for a remote collaborator, sanitised from the awareness
|
|
4798
|
-
* protocol. Returned by {@link sanitizePresence}; coordinates are in unscaled
|
|
4799
|
-
* slide pixels, clamped to the supplied canvas bounds.
|
|
4800
|
-
*/
|
|
4801
|
-
interface SanitizedPresence {
|
|
4802
|
-
clientId: number;
|
|
4803
|
-
userName: string;
|
|
4804
|
-
userAvatar?: string;
|
|
4805
|
-
userColor: string;
|
|
4806
|
-
activeSlideIndex: number;
|
|
4807
|
-
cursorX: number;
|
|
4808
|
-
cursorY: number;
|
|
4809
|
-
lastUpdated: string;
|
|
4810
|
-
selectedElementId?: string;
|
|
4811
|
-
role?: CollaborationRole;
|
|
4812
|
-
}
|
|
4813
|
-
/**
|
|
4814
|
-
* Palette used for deterministic per-user colour assignment. Distinct, legible
|
|
4815
|
-
* hues with white-text contrast. Mirrors the React default-colour set.
|
|
4816
|
-
*/
|
|
4817
|
-
declare const CURSOR_PALETTE: readonly string[];
|
|
4818
|
-
/** True when `roomId` is a safe 1-128 char alphanumeric/`-`/`_` token. */
|
|
4819
|
-
declare function isValidRoomId(roomId: string): boolean;
|
|
4820
|
-
/**
|
|
4821
|
-
* Validate a room id, returning it when valid and throwing otherwise. Mirrors
|
|
4822
|
-
* the React `validateRoomId`.
|
|
4823
|
-
*/
|
|
4824
|
-
declare function validateRoomId(roomId: string): string;
|
|
4825
|
-
/** Strip HTML tags, trim, and clamp to 64 chars; falls back to `'Anonymous'`. */
|
|
4826
|
-
declare function sanitizeUserName(name: unknown): string;
|
|
4827
|
-
/** Validate a 6-digit hex colour; returns `fallback` when invalid. */
|
|
4828
|
-
declare function sanitizeColor(color: unknown, fallback?: string): string;
|
|
4829
|
-
/** Coerce a value to a non-negative integer slide index. */
|
|
4830
|
-
declare function sanitizeSlideIndex(value: unknown): number;
|
|
4831
|
-
/** Clamp a cursor coordinate to `[min - margin, max + margin]`. */
|
|
4832
|
-
declare function clampCursorPosition(value: unknown, min: number, max: number): number;
|
|
4833
|
-
/**
|
|
4834
|
-
* Deterministically pick a palette colour for a user. The same `seed` (client
|
|
4835
|
-
* id or user name) always maps to the same colour so a peer keeps a stable hue.
|
|
4836
|
-
*/
|
|
4837
|
-
declare function assignUserColor(seed: number | string, palette?: readonly string[]): string;
|
|
4838
|
-
/**
|
|
4839
|
-
* Clamp/format a cursor label so long names don't overflow the chip. When
|
|
4840
|
-
* truncating, the result is exactly `maxChars` characters including a trailing
|
|
4841
|
-
* `...` ellipsis.
|
|
4842
|
-
*/
|
|
4843
|
-
declare function formatCursorLabel(userName: string, maxChars?: number): string;
|
|
4844
|
-
/**
|
|
4845
|
-
* Derive the remote-presence list from a raw awareness state map. Skips the
|
|
4846
|
-
* local client, sanitises each entry, and drops stale entries (older than
|
|
4847
|
-
* `staleMs`, evaluated against `now`).
|
|
4848
|
-
*/
|
|
4849
|
-
declare function derivePresenceList(states: Map<number, Record<string, unknown>>, localClientId: number, canvasWidth: number, canvasHeight: number, now?: number, staleMs?: number): SanitizedPresence[];
|
|
4850
|
-
/**
|
|
4851
|
-
* Map a sanitised presence list into the cursor view-model for the overlay,
|
|
4852
|
-
* optionally filtering to a single slide (so cursors only show on the slide the
|
|
4853
|
-
* local user is viewing). Pass `activeSlideIndex` undefined to show all.
|
|
4854
|
-
*/
|
|
4855
|
-
declare function presenceToCursors(presence: readonly SanitizedPresence[], activeSlideIndex?: number): RemoteCursor[];
|
|
4856
|
-
|
|
4857
|
-
/** One row of the active-session connected-users list. */
|
|
4858
|
-
interface ActiveSessionUserDescriptor {
|
|
4859
|
-
/** `'local'` for the current user, otherwise `String(clientId)`. */
|
|
4860
|
-
id: string;
|
|
4861
|
-
name: string;
|
|
4862
|
-
/** Up to 2 uppercase characters, for the avatar-circle fallback. */
|
|
4863
|
-
initials: string;
|
|
4864
|
-
color: string;
|
|
4865
|
-
avatarUrl?: string;
|
|
4866
|
-
isLocal: boolean;
|
|
4867
|
-
/** 1-based slide number the remote user is viewing; unset for the local entry. */
|
|
4868
|
-
slideNumber?: number;
|
|
4869
|
-
}
|
|
4870
|
-
|
|
4871
4936
|
/**
|
|
4872
4937
|
* collaboration-text-codec.ts: TextSegment[] <-> Y.Text delta codec used by the
|
|
4873
4938
|
* collaboration sync layer. Split out of collaboration-sync.ts to keep both
|
|
@@ -4996,7 +5061,8 @@ interface LiveTextSource {
|
|
|
4996
5061
|
* pass uses (`reconcileElementTextBody`), so concurrent typing on one
|
|
4997
5062
|
* element still merges instead of last-write-wins
|
|
4998
5063
|
* - writes are throttled (~1 per 50ms) with a trailing write, plus an
|
|
4999
|
-
* 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
|
|
5000
5066
|
* - every transaction is tagged with LOCAL_SYNC_ORIGIN, exactly like
|
|
5001
5067
|
* `reconcileSlidesInYDoc`, so the local observer skips the echo
|
|
5002
5068
|
*
|
|
@@ -5006,7 +5072,9 @@ interface LiveTextSource {
|
|
|
5006
5072
|
|
|
5007
5073
|
interface CollaborationLivePatcher {
|
|
5008
5074
|
/** Attach a live doc (or `null` to go dormant). Pending patches are dropped. */
|
|
5009
|
-
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;
|
|
5010
5078
|
/** True when a doc + factories are attached, i.e. patches will be written. */
|
|
5011
5079
|
isActive: () => boolean;
|
|
5012
5080
|
/** Queue interim geometry for an element. */
|
|
@@ -5051,6 +5119,20 @@ interface CollaborationLivePatcher {
|
|
|
5051
5119
|
*/
|
|
5052
5120
|
type CollabLoadOrigin = 'bootstrap' | 'user';
|
|
5053
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
|
+
|
|
5054
5136
|
interface DepartureChannel {
|
|
5055
5137
|
/**
|
|
5056
5138
|
* Announce that this client is leaving `roomId`. Synchronous on purpose:
|
|
@@ -10268,14 +10350,14 @@ declare class CollaborationService {
|
|
|
10268
10350
|
readonly active: _angular_core.WritableSignal<boolean>;
|
|
10269
10351
|
/** Role of the local user in the active session, or undefined when idle. */
|
|
10270
10352
|
readonly activeRole: _angular_core.WritableSignal<CollaborationRole | undefined>;
|
|
10271
|
-
|
|
10272
|
-
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[]>;
|
|
10273
10358
|
readonly connectedCount: _angular_core.Signal<number>;
|
|
10274
|
-
/** The client id the local user is currently following (null when free). */
|
|
10275
10359
|
readonly followedClientId: _angular_core.WritableSignal<number | null>;
|
|
10276
|
-
/** Active-slide index of the followed peer, or null when not following. */
|
|
10277
10360
|
readonly followedSlideIndex: _angular_core.Signal<number | null>;
|
|
10278
|
-
/** Active-slide index of the first `owner` peer (the broadcaster), or null. */
|
|
10279
10361
|
readonly broadcasterSlideIndex: _angular_core.Signal<number | null>;
|
|
10280
10362
|
/**
|
|
10281
10363
|
* Interim ("live preview") Y.Doc write channel: publishes in-flight inline
|
|
@@ -10297,15 +10379,11 @@ declare class CollaborationService {
|
|
|
10297
10379
|
private lastConfig;
|
|
10298
10380
|
private lastOptions;
|
|
10299
10381
|
/**
|
|
10300
|
-
* Reentrancy token for
|
|
10301
|
-
*
|
|
10302
|
-
*
|
|
10303
|
-
* service state to the newer call (a second provider join on the same room
|
|
10304
|
-
* 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).
|
|
10305
10385
|
*/
|
|
10306
10386
|
private connectToken;
|
|
10307
|
-
/** Memoises the awareness -> presence projection so idle heartbeats are dropped. */
|
|
10308
|
-
private readonly projector;
|
|
10309
10387
|
private readonly refreshPresence;
|
|
10310
10388
|
constructor();
|
|
10311
10389
|
connect(config: CollaborationConfig, options?: ConnectOptions): Promise<void>;
|
|
@@ -10334,7 +10412,7 @@ declare class CollaborationService {
|
|
|
10334
10412
|
setSelection(selectedElementId: string | undefined, activeSlideIndex?: number): void;
|
|
10335
10413
|
/** Publish the local active-slide index (drives follow-along). */
|
|
10336
10414
|
setActiveSlide(index: number): void;
|
|
10337
|
-
/** Follow the given peer's active slide, or
|
|
10415
|
+
/** Follow the given peer's active slide, or null to stop following. */
|
|
10338
10416
|
followUser(clientId: number | null): void;
|
|
10339
10417
|
private scheduleWriteBack;
|
|
10340
10418
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollaborationService, never>;
|
|
@@ -11684,6 +11762,7 @@ declare class ViewerCanvasEditingService {
|
|
|
11684
11762
|
/** Id of the element being inline text-edited, or null. */
|
|
11685
11763
|
readonly editingId: _angular_core.WritableSignal<string | null>;
|
|
11686
11764
|
private inlineSnapshot;
|
|
11765
|
+
private acceptedText;
|
|
11687
11766
|
private readonly listSession;
|
|
11688
11767
|
onListSession(event: {
|
|
11689
11768
|
controller: InlineListController;
|
|
@@ -11691,6 +11770,8 @@ declare class ViewerCanvasEditingService {
|
|
|
11691
11770
|
}): void;
|
|
11692
11771
|
formatInlineSnapshot(snapshot: InlineTextEditSnapshot): boolean;
|
|
11693
11772
|
endInlineListSession(): void;
|
|
11773
|
+
/** Keep the last accepted input visible after a readiness or permission loss. */
|
|
11774
|
+
suspendInlineEdit(): void;
|
|
11694
11775
|
readInlineSnapshot(): InlineTextEditSnapshot | undefined;
|
|
11695
11776
|
/** Open editor context-menu position (client coords), or null. */
|
|
11696
11777
|
readonly contextMenuPos: _angular_core.WritableSignal<{
|
|
@@ -13282,7 +13363,7 @@ declare class PowerPointViewerComponent implements PowerPointViewerAPI {
|
|
|
13282
13363
|
* end-of-slide-show screen rather than falling back to the editor.
|
|
13283
13364
|
*/
|
|
13284
13365
|
protected readonly audienceSessionEnded: _angular_core.WritableSignal<boolean>;
|
|
13285
|
-
/**
|
|
13366
|
+
/** Read-only interaction does not hide an active collaboration's live deck. */
|
|
13286
13367
|
protected readonly displaySlides: _angular_core.Signal<readonly PptxSlide[]>;
|
|
13287
13368
|
protected readonly slideCount: _angular_core.Signal<number>;
|
|
13288
13369
|
/**
|
|
@@ -13295,7 +13376,7 @@ declare class PowerPointViewerComponent implements PowerPointViewerAPI {
|
|
|
13295
13376
|
/** Mutable copy of the merged display deck for inputs that require a non-readonly array. */
|
|
13296
13377
|
protected readonly displaySlidesMut: _angular_core.Signal<PptxSlide[]>;
|
|
13297
13378
|
protected readonly activeSlide: _angular_core.Signal<PptxSlide>;
|
|
13298
|
-
/** Inherited template
|
|
13379
|
+
/** Inherited template elements for the live editor or collaboration slide source. */
|
|
13299
13380
|
protected readonly activeTemplateElements: _angular_core.Signal<readonly PptxElement[]>;
|
|
13300
13381
|
/**
|
|
13301
13382
|
* Selected `THEME_CATALOG` (or `availableThemes`) key, driving File >
|
|
@@ -21539,7 +21620,7 @@ declare class AccountPageComponent {
|
|
|
21539
21620
|
readonly accountAuth: _angular_core.InputSignal<AccountAuthConfig | undefined>;
|
|
21540
21621
|
private readonly translate;
|
|
21541
21622
|
protected readonly swatches: readonly string[];
|
|
21542
|
-
protected readonly version = "3.
|
|
21623
|
+
protected readonly version = "3.20.1";
|
|
21543
21624
|
protected readonly profile: _angular_core.WritableSignal<ViewerProfile>;
|
|
21544
21625
|
protected readonly initial: _angular_core.Signal<string>;
|
|
21545
21626
|
protected readonly usage: _angular_core.WritableSignal<LocalStorageUsageSummary | null>;
|
|
@@ -24276,14 +24357,16 @@ declare function rulerHighlight(start: number | undefined, span: number | undefi
|
|
|
24276
24357
|
* Save/Export path (`buildDeckSaveOptions`). Without it the write-back
|
|
24277
24358
|
* dropped every session-level edit outside `slides`.
|
|
24278
24359
|
*/
|
|
24279
|
-
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>;
|
|
24280
24361
|
/**
|
|
24281
24362
|
* Debounced elected-writer write-back. Only the session `owner` with an
|
|
24282
24363
|
* `onWriteBack` callback schedules anything; each new change resets the timer,
|
|
24283
24364
|
* and on fire it serializes the live Y.Doc and hands the bytes to the host.
|
|
24284
24365
|
*/
|
|
24285
24366
|
declare class WriteBackScheduler {
|
|
24286
|
-
private
|
|
24367
|
+
private ydoc;
|
|
24368
|
+
private serialize;
|
|
24369
|
+
private readonly scheduler;
|
|
24287
24370
|
schedule(config: CollaborationConfig | null, ydoc: YDocLike | null, getSourceBytes: (() => Uint8Array | null) | null, getTemplateElements: (() => TemplateElementsBySlideId) | null, getSaveOptions?: (() => PptxHandlerSaveOptions) | null): void;
|
|
24288
24371
|
cancel(): void;
|
|
24289
24372
|
}
|
|
@@ -24970,5 +25053,5 @@ declare function thumbnailHeight(canvasW: number, canvasH: number, thumbW: numbe
|
|
|
24970
25053
|
declare function gridColumns(containerW: number, thumbW: number, gap: number, maxCols: number): number;
|
|
24971
25054
|
|
|
24972
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 };
|
|
24973
|
-
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 };
|
|
24974
25057
|
//# sourceMappingURL=pptx-angular-viewer.d.ts.map
|