pptx-angular-viewer 2.0.1 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-D2zc6UxX.mjs → pptx-angular-viewer-chat-history-idb-wNAwjS8U.mjs} +2 -2
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-D2zc6UxX.mjs.map → pptx-angular-viewer-chat-history-idb-wNAwjS8U.mjs.map} +1 -1
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-D9eqILzM.mjs → pptx-angular-viewer-pptx-angular-viewer-BwaiF7Nf.mjs} +1054 -560
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-D9eqILzM.mjs.map → pptx-angular-viewer-pptx-angular-viewer-BwaiF7Nf.mjs.map} +1 -1
- package/fesm2022/pptx-angular-viewer.mjs +1 -1
- package/package.json +3 -3
- package/types/pptx-angular-viewer.d.ts +221 -142
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as ALIGN_OPTIONS, a as AUDIENCE_HASH, b as AUDIENCE_NONCE_KEY, c as AVATAR_COLOR_SWATCHES, d as AccessibilityPanelComponent, e as AccessibilityService, f as AccountPageComponent, g as ActionSettingsPanelComponent, h as AdvancedChartEditorComponent, i as AiChangeOverlayComponent, j as AiChatPanelComponent, k as AiChatService, l as AiComposerComponent, m as AiFocusBarComponent, n as AiFocusHighlightOverlayComponent, o as AiMessageListComponent, p as AiPanelStore, q as AiProposalCardComponent, r as AiSettingsSectionComponent, s as AiToolCallCardComponent, u as AnimationAuthorPanelComponent, v as AnimationPanelComponent, w as AnimationPlaybackService, x as AutosaveService, B as BroadcastDialogComponent, C as CHART_EDITOR_STYLES, y as CURSOR_PALETTE, z as CanvasFitService, D as ChartAxisOptionsComponent, E as ChartAxisStyleOptionsComponent, F as ChartComboTypeOptionsComponent, G as ChartDataEditorComponent, H as ChartDataLabelOptionsComponent, I as ChartDatapointOptionsComponent, J as ChartDisplayOptionsComponent, K as ChartElementViewComponent, L as ChartErrorBarOptionsComponent, M as ChartMarkerOptionsComponent, N as ChartPartSelectionService, O as ChartPrimitivesComponent, P as ChartRendererComponent, Q as ChartTrendlineOptionsComponent, R as CollaborationCursorsComponent, S as CollaborationService, T as ColorChangedImageComponent, U as CommentsPanelComponent, V as CommentsService, W as ComparePanelComponent, X as ConnectorRendererComponent, Y as ConnectorTextOverlayComponent, Z as CustomShowsComponent, _ as DATA_TABLE_HEADER_H, $ as DATA_TABLE_KEY_W, a0 as DATA_TABLE_PADDING, a1 as DATA_TABLE_ROW_H, a2 as DEFAULT_BOUNDS, a3 as DEFAULT_BROADCAST_SERVER_URL, a4 as DEFAULT_CANVAS_HEIGHT, a5 as DEFAULT_CANVAS_WIDTH, a6 as DEFAULT_COLOR_SCHEME, a7 as DEFAULT_FILL_COLOR, a8 as DEFAULT_LAYOUT, a9 as DEFAULT_PALETTE, aa as DEFAULT_PRINT_SETTINGS, ab as DEFAULT_SLIDE_BACKGROUND, ac as DEFAULT_STROKE_COLOR, ad as DEFAULT_STYLE, ae as DEFAULT_TABLE_ROW_HEIGHT, af as DEFAULT_TEXT_COLOR, ag as DEFAULT_VIEWER_PROFILE, ah as DIRECTIONAL_PRESETS, ai as DIRECTION_OPTIONS, aj as DocumentPropertiesCardComponent, ak as EMBEDDED_FONTS_STYLE_ID, al as EMPHASIS_PRESETS, am as ENTRANCE_PRESETS, an as EQUATION_TEMPLATES, ao as EXIT_PRESETS, ap as EditorContextMenuComponent, aq as EditorHistory, ar as EditorStateService, as as EditorToolbarComponent, at as EffectsPanelComponent, au as ElementRendererComponent, av as EmbeddedFontsService, aw as EncryptedFileDialogComponent, ax as EquationEditorDialogComponent, ay as EquationRendererComponent, az as EquationTemplateGalleryComponent, aA as ExportProgressModalComponent, aB as ExportService, aC as FieldContextService, aD as FindBarComponent, aE as FindReplaceBarComponent, aF as FollowModeBarComponent, aG as FontEmbeddingListComponent, aH as FontEmbeddingPanelComponent, aI as GALLERY_THEME_PRESETS, aJ as GradientPickerComponent, aK as HANDOUT_OPTIONS, aL as HeaderFooterDialogComponent, aM as HyperlinkDialogComponent, aN as ImagePropertiesPanelComponent, aO as InkDrawingService, aP as InkRendererComponent, aQ as InsertSmartArtDialogComponent, aR as InspectorPaneHeaderComponent, aS as InspectorPanelComponent, aT as IsMobileService, aU as KeepAnnotationsDialogComponent, aV as LOCALE_CATALOG, aW as LONG_PRESS_DURATION_MS, aX as LONG_PRESS_MOVE_TOLERANCE_PX, aY as LoadContentService, aZ as LocalPresencePublisher, a_ as MAX_ZOOM_SCALE, a$ as MIN_ZOOM_SCALE, b0 as MediaPreviewComponent, b1 as MediaPropertiesPanelComponent, b2 as MediaRendererComponent, b3 as MediaTrimTimelineComponent, b4 as MobileBottomBarComponent, b5 as MobileMenuSheetComponent, b6 as MobilePresenterViewComponent, b7 as MobileSheetComponent, b8 as MobileSlidesSheetComponent, b9 as MobileToolbarComponent, ba as ModalDialogComponent, bb as Model3DRendererComponent, bc as NotesHandoutCardComponent, bd as NotesPanelComponent, be as NotesToolbarComponent, bf as OleRendererComponent, bg as POWER_POINT_VIEWER_PROVIDERS, bh as PRESENTER_CHANNEL_NAME, bi as PRESENTER_MSG_ORIGIN, bj as PasswordProtectionDialogComponent, bk as PasswordStrengthMeterComponent, bl as PowerPointViewerComponent, bm as PresentationAnnotationOverlayComponent, bn as PresentationAnnotationsService, bo as PresentationOverlayComponent, bp as PresentationPropertiesPanelComponent, bq as PresentationSettingsCardComponent, br as PresentationSubtitleBarComponent, bs as PresentationTransitionOverlayComponent, bt as PresenterViewComponent, bu as PresenterWindowService, bv as PrintDialogComponent, bw as PrintService, bx as PrintSettingsPanelComponent, by as PropertiesDialogComponent, bz as REPEAT_MODE_OPTIONS, bA as RESIZE_HANDLES, bB as RULER_THICKNESS, bC as RemoteSelectionOverlayComponent, bD as RibbonAnimationsSectionComponent, bE as RibbonArrangeSectionComponent, bF as RibbonColorPopoverComponent, bG as RibbonComponent, bH as RibbonDesignSectionComponent, bI as RibbonDrawSectionComponent, bJ as RibbonDrawingGroupComponent, bK as RibbonEditingSectionComponent, bL as RibbonFileSectionComponent, bM as RibbonFontControlsComponent, bN as RibbonHomeSectionComponent, bO as RibbonInsertFieldsComponent, bP as RibbonInsertSectionComponent, bQ as RibbonParagraphControlsComponent, bR as RibbonPrimaryRowComponent, bS as RibbonReviewSectionComponent, bT as RibbonSlideshowSectionComponent, bU as RibbonTransitionsSectionComponent, bV as RibbonViewSectionComponent, bW as RulerGuidesService, bX as SEQUENCE_OPTIONS, bY as SEVERITY_GROUPS, bZ as SEVERITY_LABELS, b_ as SHORTCUT_REFERENCE_ITEMS, b$ as SLIDE_PX_PER_INCH, c0 as SLIDE_TRANSITION_KEYFRAMES, c1 as SMARTART_DEFAULT_PALETTE, c2 as SMARTART_PALETTES, c3 as SMART_ART_COLOR_SCHEMES, c4 as SMART_ART_STYLE_OPTIONS, c5 as SUB_ITEM_LABEL, c6 as SVG_WARP_PRESETS, c7 as SWIPE_MAX_VERTICAL_PX, c8 as SWIPE_THRESHOLD_PX, c9 as SelectionPaneComponent, ca as SetUpSlideShowDialogComponent, cb as SettingsAppearanceTabComponent, cc as SettingsDialogComponent, cd as SettingsLanguageTabComponent, ce as ShareDialogComponent, cf as ShortcutPanelComponent, cg as ShowOptionsFieldsetComponent, ch as ShowSlidesFieldsetComponent, ci as SignatureStrippedDialogComponent, cj as SignaturesPanelComponent, ck as SignaturesService, cl as SlideCanvasComponent, cm as SlideDefaultInspectorComponent, cn as SlideDiffChangesComponent, co as SlideDiffRowComponent, cp as SlideDiffThumbnailsComponent, cq as SlideSizeCardComponent, cr as SlideSorterOverlayComponent, cs as SlideThemeOverridePanelComponent, ct as SlidesPanelComponent, cu as SmartArt3DRendererComponent, cv as SmartArt3DService, cw as SmartArtPreviewComponent, cx as SmartArtPropertiesComponent, cy as SmartArtRendererComponent, cz as StatusBarComponent, cA as TABLE_STRUCTURE_TOGGLES, cB as TEXT_DIRECTION_OPTIONS, cC as THEME_CATALOG, cD as TIMING_CURVE_OPTIONS, cE as TRIGGER_OPTIONS, cF as TYPE_LABELS, cG as TableCellAdvancedFillComponent, cH as TableCellFormattingComponent, cI as TableDataEditorComponent, cJ as TablePropertiesComponent, cK as TableRendererComponent, cL as TableResizeOverlayComponent, cM as TableSelectionService, cN as TextAdvancedPanelComponent, cO as ThemeEditorFieldsComponent, cP as ThemeGalleryComponent, cQ as ThemeSelectorCardComponent, cR as TitleBarComponent, cS as VALIGN_OPTIONS, cT as VIEWER_THEME, cU as VersionHistoryPanelComponent, cV as ViewerCanvasEditingService, cW as ViewerCollabCursorService, cX as ViewerCollaborationSessionService, cY as ViewerCompareService, cZ as ViewerCustomShowsService, c_ as ViewerDialogsService, c$ as ViewerDocumentPropertiesService, d0 as ViewerExportService, d1 as ViewerExtraDialogsComponent, d2 as ViewerFileIOService, d3 as ViewerFindReplaceService, d4 as ViewerFormatPainterService, d5 as ViewerInspectorPanelService, d6 as ViewerKeyboardService, d7 as ViewerMobileSheetService, d8 as ViewerPresentationModeService, d9 as ViewerThemeGalleryService, da as ViewerTouchGesturesService, db as ViewerZoomService, dc as WEBM_MIME_CANDIDATES, dd as WriteBackScheduler, de as ZoomNavigationService, df as ZoomRendererComponent, dg as ZoomTargetService, dh as addCategory, di as addCommentToList, dj as addGradientStopPatch, dk as addItem, dl as addSeries, dm as addSubItem, dn as advanceStep, dp as aiToggleVisible, dq as alignPatch, dr as animationFor, ds as annotationMapToInkInserts, dt as applyAcceptedDiff, du as applyAnimationPreset, dv as applyFindReplacements, dw as applyFormatToElement, dx as applyMove, dy as applyResize, dz as applyTableStylePreset, dA as asMediaElement, dB as assignUserColor, dC as attachTouchGestures, dD as beginNodeEdit, dE as boolFromEvent, dF as bringForward, dG as bringToFront, dH as buildBarActions, dI as buildBroadcastConfig, dJ as buildBroadcastViewerUrl, dK as buildCategoryLabels, dL as buildCellParagraphs, dM as buildChartViewModel, dN as buildChatLogExport, dO as buildChatLogMarkdown, dP as buildChromeStyle, dQ as buildClearHyperlinkPatch, dR as buildClickGroups, dS as buildColStyles, dT as buildCollaborationConfig, dU as buildComboViewModel, dV as buildCssGradientFromShapeStyle, dW as buildDuotoneFilter, dX as buildDuotoneFilterId, dY as buildEmbeddedFontStyles, dZ as buildEquationElement, d_ as buildEquationSegment, d$ as buildFallbackViewModel, e0 as buildFontFaceRule, e1 as buildGradientFillCss, e2 as buildGridlinesAndLabels, e3 as buildHyperlinkPatch, e4 as buildInkContainerStyle, e5 as buildInkStrokes, e6 as buildLegend, e7 as buildModel3DContainerStyle, e8 as buildModel3DViewModel, e9 as buildOleActionModel, ea as buildOleInfoRows, eb as buildPatternFillCss, ec as buildPrintDocument, ed as buildPropertiesPatch, ee as buildRegionMapViewModel, ef as buildSaveSlides, eg as buildShareUrl, eh as buildSmartArtInsertElement, ei as buildSmartArtNodes, ej as buildStockViewModel, ek as buildSurfaceViewModel, el as buildTableViewModel, em as buildTreemapViewModel, en as buildTrimFragment, eo as buildWaterfallViewModel, ep as buildZeroLine, eq as buildZoomContainerStyle, er as buildZoomViewModel, es as bulletIndentPx, et as canAddTopLevelNode, eu as canRemoveTopLevelNode, ev as canStartBroadcast, ew as canStartShare, ex as canUseClipboard, ey as captionDisplayText, ez as cellRunStyle, eA as cellStyleToStyleMap, eB as cellTdStyle, eC as changeCountLabel, eD as changeIcon, eE as characterSpacingPatch, eF as checkFontAvailable, eG as clampCursorPosition, eH as clampGifDimensions, eI as clampIndex, eJ as clampNotesFontSize, eK as clampScale, eL as clampStep, eM as clearAllLocalViewerData, eN as clearAudienceContent, eO as cn, eP as collectAccessibilityIssues, eQ as collectElementText, eR as collectSlideText, eS as collectStoredChats, eT as collectUsedFontFamilies, eU as columnWidthStyle, eV as commitNodeText, eW as computeAlign, eX as computeAxisTitlePrimitives, eY as computeBarRects, eZ as computeBubbleRadius, e_ as computeCornerHandle, e$ as computeDataTablePrimitives, f0 as computeDistribute, f1 as computeDrawingViewBox, f2 as computeErrorBarPrimitives, f3 as computeFocusTargets, f4 as computeHandleBoxes, f5 as computeHandoutLayout, f6 as computeIsMobile, f7 as computeIsTablet, f8 as computeLinePoints, f9 as computeLinearRegression, fa as computePageCount, fb as computePieLayout, fc as computePieSlicePath, fd as computePieSlices, fe as computePlotLayout, ff as computeRSquared, fg as computeRadarPoints, fh as computeScatterDots, fi as computeSelectionBoxes, fj as computeSingleSelected, fk as computeSlideIndices, fl as computeSnap, fm as computeStackedBarRects, fn as computeStackedValueRange, fo as computeTextLines, fp as computeTimerProgress, fq as computeTrendlinePrimitives, fr as computeValueRange, fs as convertOmmlToMathMl, ft as copyFormatFromElement, fu as countAccessibilityIssues, fv as countAnnotationStrokes, fw as createAngularAiBridge, fx as createCustomShow, fy as createSwipeDismissDrag, fz as createWebrtcBundle, fA as createWebsocketBundle, fB as cssObjectToStyleMap, fC as currentColorScheme, fD as currentLayout, fE as currentStyle, fF as defaultCssVars, fG as defaultRadius, fH as defaultThemeColors, fI as deleteElementsByIds, fJ as deleteRecoveryVersion, fK as demoteNode, fL as deriveModel3DBlobUrl, fM as derivePresenceList, fN as describeSmartArtBounds, fO as disableGlowPatch, fP as disableInnerShadowPatch, fQ as disableOuterShadowPatch, fR as disableReflectionPatch, fS as disableSoftEdgePatch, fT as duplicateElementById, fU as durationOf, fV as effectsStateOf, fW as enableGlowPatch, fX as enableInnerShadowPatch, fY as enableOuterShadowPatch, fZ as enableReflectionPatch, f_ as enableSoftEdgePatch, f$ as encodeGif, g0 as estimatePageCount, g1 as evenColumnWidths, g2 as evenRowHeights, g3 as exitPresentationFullscreen, g4 as exportAiChatLogs, g5 as extractPathPoints, g6 as eyedropperAvailable, g7 as fillColorOf, g8 as findInSlides, g9 as findOwningSlideIndex, ga as findSlideIndexByElementId, gb as fitPolynomial, gc as fitZoom, gd as focusTargetChips, ge as fontMimeForFormat, gf as fontSizeOf, gg as formatAutoNumber, gh as formatAxisValue, gi as formatBytes, gj as formatCursorLabel, gk as formatElapsed, gl as formatFileSize, gm as formatPropertyDate, gn as formatTime, go as fpsToFrameIntervalMs, gp as generateBroadcastRoomId, gq as generateCommentId, gr as generateCustomShowId, gs as generatePressureCircles, gt as generateRulerTicks, gu as getClrChangeParams, gv as getContainerStyle, gw as getDuotoneFilterDef, gx as getImageSrc, gy as getLocalStorageUsageSummary, gz as getOleAriaLabel, gA as getOleBadgeLabel, gB as getOleDisplayName, gC as getOleDownloadFileName, gD as getOleTypeColor, gE as getOleTypeLabel, gF as getPasswordStrength, gG as getPatternSvg, gH as getPlaceholderStyle, gI as getRecoveryVersions, gJ as getResolvedShapeClipPath, gK as getResolvedShapeClipPathFor, gL as getShapeFillStrokeStyle, gM as getSlideBackgroundStyle, gN as getSlideTransitionAnimations, gO as getSmartArtNodeBounds, gP as getSpeechRecognitionCtor, gQ as getTextBlockStyle, gR as getTextWarp, gS as getTouchDistance, gT as getWarpCategory, gU as getWarpPath, gV as gradientStateFromStyle, gW as gradientStateOf, gX as gradientStatePatch, gY as gridColumns, gZ as groupElements, g_ as groupIssuesBySeverity, g$ as hasAnimation, h0 as hasCopyableFormat, h1 as hasExistingLink, h2 as hasExitedFullscreen, h3 as hasGradientFill, h4 as hasPressureVariation, h5 as headerLabel, h6 as inkViewBox, h7 as insertColumn, h8 as insertRow, h9 as interpolateWidth, ha as isAudienceTab, hb as isBold, hc as isBrowserOpenableMime, hd as isChildNode, he as isElementInteractive, hf as isInjectableUrl, hg as isItalic, hh as isPpactionUrl, hi as isPresenterMessage, hj as isSigned, hk as isTextElement, hl as isTwoTableFocus, hm as isUnderline, hn as isUrlSafe, ho as isValidRoomId, hp as isViewportBackgroundPressTarget, hq as isZoomActivationKey, hr as issueTrackKey, hs as issueTypeLabel, ht as keyToLabel, hu as latexToMathml, hv as linePointsToSvgString, hw as lineSpacingPatch, hx as loadAudienceContent, hy as mergeCaptionResults, hz as mergeDown, hA as mergeRight, hB as mergeSelection, hC as moveElementBy, hD as moveNodeDown, hE as moveNodeUp, hF as msToFrameDelayCs, hG as narrowToCircle, hH as narrowToPolygon, hI as narrowToRect, hJ as newChartElement, hK as newEquationElement, hL as newPresetShapeElement, hM as newShapeElement, hN as newSmartArtElement, hO as newTableElement, hP as newTextElement, hQ as nextVisibleIndex, hR as nodeBold, hS as nodeEditBox, hT as nodeFillColor, hU as nodeFontColor, hV as nodeIdFromKey, hW as nodeItalic, hX as nodeStyle, hY as normalizeFontFormat, hZ as normalizeSlidesPerPage, h_ as normalizeValue, h$ as numFromEvent, i0 as ommlToMathml, i1 as ooxmlDashToCssBorderStyle, i2 as openNativeEyeDropper, i3 as overallStatus, i4 as paletteColor, i5 as parseAudienceNonce, i6 as parseNodeTextarea, i7 as partitionSlides, i8 as patchChartData, i9 as patchChartStyle, ia as patchTableData, ib as patchTextStyle, ic as pendingElementStyles, id as pickColorByClickFallback, ie as pickSupportedMimeType, ig as planGifFrames, ih as planVideoSegments, ii as pointsToSvgPathD, ij as presenceToCursors, ik as presetByLayout, il as presetsForCategory, im as pressuresToWidths, io as prevVisibleIndex, ip as projectDrawingShapes, iq as promoteNode, ir as provideViewerTheme, is as radarAngle, it as radarRingPoints, iu as recordWebm, iv as redistributeColumnWidth, iw as removeAnimation, ix as removeCategory, iy as removeColumn, iz as removeCommentFromList, iA as removeElementAnimation, iB as removeGradientStopPatch, iC as removeNode, iD as removeRow, iE as removeSeries, iF as renderToCanvas, iG as reorderAnimationDown, iH as reorderAnimationUp, iI as replaceInSlides, iJ as replaceMatch, iK as requestPresentationFullscreen, iL as resizeElement, iM as resolveCaptionTracks, iN as resolveChartKind, iO as resolveFontVariant, iP as resolveHyperlinkHref, iQ as resolveInteractiveElementId, iR as resolveMediaSrc, iS as resolveOleType, iT as resolveParagraphBullet, iU as resolvePresenterNotes, iV as resolveProfileInitial, iW as resolveRegionCode, iX as resolveSmartArtPalette, iY as resolveThemeCatalogEntry, iZ as resolveTransitionDuration, i_ as revealedElementStyles, i$ as routeOrthogonalConnector, j0 as rowStyle, j1 as sampleColorFromSlide, j2 as sanitizeColor, j3 as sanitizeSlideIndex, j4 as sanitizeUserName, j5 as saveViewerProfile, j6 as scanAvailableFonts, j7 as searchSlides, j8 as seedBroadcastFields, j9 as seedHyperlinkDraft, ja as seedPropertiesDraft, jb as seedShareFields, jc as segmentFrameCount, jd as selectValue, je as sendBackward, jf as sendToBack, jg as sequentialColorScale, jh as serializeWriteBack, ji as seriesColor, jj as setAnimationEmphasis, jk as setAnimationEntrance, jl as setAnimationExit, jm as setAxis, jn as setAxisLogScale, jo as setAxisTitleStyle, jp as setCategoryLabel, jq as setCellText, jr as setColorScheme, js as setDataLabels, jt as setDataPointExplosion, ju as setDataPointFill, jv as setDataPointLabel, jw as setDelay, jx as setDirection, jy as setDuration, jz as setElementPosition, jA as setGridlineStyle, jB as setLayout, jC as setLegend, jD as setNodeStyle, jE as setNodeText, jF as setRepeatCount, jG as setRepeatMode, jH as setSequence, jI as setSeriesChartType, jJ as setSeriesColor, jK as setSeriesErrorBars, jL as setSeriesMarker, jM as setSeriesName, jN as setSeriesTrendline, jO as setSeriesValue, jP as setStyle, jQ as setTimingCurve, jR as setTitle, jS as setTrigger, jT as setTriggerShapeId, jU as shapeStylePatch, jV as sheetAfterNavigate, jW as shouldBlockClickAdvance, jX as shouldUseSvgWarp, jY as showDirectionPicker, jZ as showsTemplateAffordance, j_ as signatureCountLabel, j$ as signatureKey, k0 as signatureTimestamp, k1 as signerName, k2 as slideDiffStatusLabel, k3 as slideNumberOf, k4 as smartArtNodes, k5 as smartArtPaletteColour, k6 as snapToGridStep, k7 as splitCursorCell, k8 as splitMergedCell, k9 as statusKind, ka as statusLabel, kb as storeAudienceContent, kc as stringFromEvent, kd as strokeColorOf, ke as strokeToInkElement, kf as styleShadowFilter, kg as textAdvancedPatch, kh as textAdvancedStateFromStyle, ki as textAdvancedStateOf, kj as textColorOf, kk as textDirectionPatch, kl as textStyleOf, km as textStylePatch, kn as themeStyle, ko as themeToCssVars, kp as thumbnailHeight, kq as thumbnailZoom, kr as toggleCommentResolvedInList, ks as toggleNodeBold, kt as toggleNodeItalic, ku as toggleSheet, kv as topLevelNodeCount, kw as transformSelectedTextCase, kx as translationsEn, ky as ungroupElements, kz as updateElementById, kA as updateGlowPatch, kB as updateGradientStopPatch, kC as updateInnerShadowPatch, kD as updateOuterShadowPatch, kE as updateReflectionPatch, kF as vAlignPatch, kG as validatePassword, kH as validatePrintSettings, kI as validateRoomId, kJ as valueToY, kK as vermilionDarkColors, kL as vermilionDarkTheme, kM as vermilionLightColors, kN as vermilionLightTheme, kO as vermilionRadius, kP as waypointsToPathD, kQ as worstStatus, kR as zoomTargetSlideIndex } from './pptx-angular-viewer-pptx-angular-viewer-D9eqILzM.mjs';
|
|
1
|
+
export { A as ALIGN_OPTIONS, a as AUDIENCE_HASH, b as AUDIENCE_NONCE_KEY, c as AVATAR_COLOR_SWATCHES, d as AccessibilityPanelComponent, e as AccessibilityService, f as AccountPageComponent, g as ActionSettingsPanelComponent, h as AdvancedChartEditorComponent, i as AiChangeOverlayComponent, j as AiChatPanelComponent, k as AiChatService, l as AiComposerComponent, m as AiFocusBarComponent, n as AiFocusHighlightOverlayComponent, o as AiMessageListComponent, p as AiPanelStore, q as AiProposalCardComponent, r as AiSettingsSectionComponent, s as AiToolCallCardComponent, u as AnimationAuthorPanelComponent, v as AnimationPanelComponent, w as AnimationPlaybackService, x as AutosaveService, B as BroadcastDialogComponent, C as CHART_EDITOR_STYLES, y as CURSOR_PALETTE, z as CanvasFitService, D as ChartAxisOptionsComponent, E as ChartAxisStyleOptionsComponent, F as ChartComboTypeOptionsComponent, G as ChartDataEditorComponent, H as ChartDataLabelOptionsComponent, I as ChartDatapointOptionsComponent, J as ChartDisplayOptionsComponent, K as ChartElementViewComponent, L as ChartErrorBarOptionsComponent, M as ChartMarkerOptionsComponent, N as ChartPartSelectionService, O as ChartPrimitivesComponent, P as ChartRendererComponent, Q as ChartTrendlineOptionsComponent, R as CollaborationCursorsComponent, S as CollaborationService, T as ColorChangedImageComponent, U as CommentsPanelComponent, V as CommentsService, W as ComparePanelComponent, X as ConnectorRendererComponent, Y as ConnectorTextOverlayComponent, Z as CustomShowsComponent, _ as DATA_TABLE_HEADER_H, $ as DATA_TABLE_KEY_W, a0 as DATA_TABLE_PADDING, a1 as DATA_TABLE_ROW_H, a2 as DEFAULT_BOUNDS, a3 as DEFAULT_BROADCAST_SERVER_URL, a4 as DEFAULT_CANVAS_HEIGHT, a5 as DEFAULT_CANVAS_WIDTH, a6 as DEFAULT_COLOR_SCHEME, a7 as DEFAULT_FILL_COLOR, a8 as DEFAULT_LAYOUT, a9 as DEFAULT_PALETTE, aa as DEFAULT_PRINT_SETTINGS, ab as DEFAULT_SLIDE_BACKGROUND, ac as DEFAULT_STROKE_COLOR, ad as DEFAULT_STYLE, ae as DEFAULT_TABLE_ROW_HEIGHT, af as DEFAULT_TEXT_COLOR, ag as DEFAULT_VIEWER_PROFILE, ah as DIRECTIONAL_PRESETS, ai as DIRECTION_OPTIONS, aj as DocumentPropertiesCardComponent, ak as EMBEDDED_FONTS_STYLE_ID, al as EMPHASIS_PRESETS, am as ENTRANCE_PRESETS, an as EQUATION_TEMPLATES, ao as EXIT_PRESETS, ap as EditorContextMenuComponent, aq as EditorHistory, ar as EditorStateService, as as EditorToolbarComponent, at as EffectsPanelComponent, au as ElementRendererComponent, av as EmbeddedFontsService, aw as EncryptedFileDialogComponent, ax as EquationEditorDialogComponent, ay as EquationRendererComponent, az as EquationTemplateGalleryComponent, aA as ExportProgressModalComponent, aB as ExportService, aC as FieldContextService, aD as FindBarComponent, aE as FindReplaceBarComponent, aF as FollowModeBarComponent, aG as FontEmbeddingListComponent, aH as FontEmbeddingPanelComponent, aI as GALLERY_THEME_PRESETS, aJ as GradientPickerComponent, aK as HANDOUT_OPTIONS, aL as HeaderFooterDialogComponent, aM as HyperlinkDialogComponent, aN as ImagePropertiesPanelComponent, aO as InkDrawingService, aP as InkRendererComponent, aQ as InsertSmartArtDialogComponent, aR as InspectorPaneHeaderComponent, aS as InspectorPanelComponent, aT as IsMobileService, aU as KeepAnnotationsDialogComponent, aV as LOCALE_CATALOG, aW as LONG_PRESS_DURATION_MS, aX as LONG_PRESS_MOVE_TOLERANCE_PX, aY as LoadContentService, aZ as LocalPresencePublisher, a_ as MAX_ZOOM_SCALE, a$ as MIN_ZOOM_SCALE, b0 as MediaPreviewComponent, b1 as MediaPropertiesPanelComponent, b2 as MediaRendererComponent, b3 as MediaTrimTimelineComponent, b4 as MobileBottomBarComponent, b5 as MobileMenuSheetComponent, b6 as MobilePresenterViewComponent, b7 as MobileSheetComponent, b8 as MobileSlidesSheetComponent, b9 as MobileToolbarComponent, ba as ModalDialogComponent, bb as Model3DRendererComponent, bc as NotesHandoutCardComponent, bd as NotesPanelComponent, be as NotesToolbarComponent, bf as OleRendererComponent, bg as POWER_POINT_VIEWER_PROVIDERS, bh as PRESENTER_CHANNEL_NAME, bi as PRESENTER_MSG_ORIGIN, bj as PasswordProtectionDialogComponent, bk as PasswordStrengthMeterComponent, bl as PowerPointViewerComponent, bm as PresentationAnnotationOverlayComponent, bn as PresentationAnnotationsService, bo as PresentationOverlayComponent, bp as PresentationPropertiesPanelComponent, bq as PresentationSettingsCardComponent, br as PresentationSubtitleBarComponent, bs as PresentationTransitionOverlayComponent, bt as PresenterViewComponent, bu as PresenterWindowService, bv as PrintDialogComponent, bw as PrintService, bx as PrintSettingsPanelComponent, by as PropertiesDialogComponent, bz as REPEAT_MODE_OPTIONS, bA as RESIZE_HANDLES, bB as RULER_THICKNESS, bC as RemoteSelectionOverlayComponent, bD as RibbonAnimationsSectionComponent, bE as RibbonArrangeSectionComponent, bF as RibbonColorPopoverComponent, bG as RibbonComponent, bH as RibbonDesignSectionComponent, bI as RibbonDrawSectionComponent, bJ as RibbonDrawingGroupComponent, bK as RibbonEditingSectionComponent, bL as RibbonFileSectionComponent, bM as RibbonFontControlsComponent, bN as RibbonHomeSectionComponent, bO as RibbonInsertFieldsComponent, bP as RibbonInsertSectionComponent, bQ as RibbonParagraphControlsComponent, bR as RibbonPrimaryRowComponent, bS as RibbonReviewSectionComponent, bT as RibbonSlideshowSectionComponent, bU as RibbonTransitionsSectionComponent, bV as RibbonViewSectionComponent, bW as RulerGuidesService, bX as SEQUENCE_OPTIONS, bY as SEVERITY_GROUPS, bZ as SEVERITY_LABELS, b_ as SHORTCUT_REFERENCE_ITEMS, b$ as SLIDE_PX_PER_INCH, c0 as SLIDE_TRANSITION_KEYFRAMES, c1 as SMARTART_DEFAULT_PALETTE, c2 as SMARTART_PALETTES, c3 as SMART_ART_COLOR_SCHEMES, c4 as SMART_ART_STYLE_OPTIONS, c5 as SUB_ITEM_LABEL, c6 as SVG_WARP_PRESETS, c7 as SWIPE_MAX_VERTICAL_PX, c8 as SWIPE_THRESHOLD_PX, c9 as SelectionPaneComponent, ca as SetUpSlideShowDialogComponent, cb as SettingsAppearanceTabComponent, cc as SettingsDialogComponent, cd as SettingsLanguageTabComponent, ce as ShareDialogComponent, cf as ShortcutPanelComponent, cg as ShowOptionsFieldsetComponent, ch as ShowSlidesFieldsetComponent, ci as SignatureStrippedDialogComponent, cj as SignaturesPanelComponent, ck as SignaturesService, cl as SlideCanvasComponent, cm as SlideDefaultInspectorComponent, cn as SlideDiffChangesComponent, co as SlideDiffRowComponent, cp as SlideDiffThumbnailsComponent, cq as SlideSizeCardComponent, cr as SlideSorterOverlayComponent, cs as SlideThemeOverridePanelComponent, ct as SlidesPanelComponent, cu as SmartArt3DRendererComponent, cv as SmartArt3DService, cw as SmartArtPreviewComponent, cx as SmartArtPropertiesComponent, cy as SmartArtRendererComponent, cz as StatusBarComponent, cA as TABLE_STRUCTURE_TOGGLES, cB as TEXT_DIRECTION_OPTIONS, cC as THEME_CATALOG, cD as TIMING_CURVE_OPTIONS, cE as TRIGGER_OPTIONS, cF as TYPE_LABELS, cG as TableCellAdvancedFillComponent, cH as TableCellFormattingComponent, cI as TableDataEditorComponent, cJ as TablePropertiesComponent, cK as TableRendererComponent, cL as TableResizeOverlayComponent, cM as TableSelectionService, cN as TextAdvancedPanelComponent, cO as ThemeEditorFieldsComponent, cP as ThemeGalleryComponent, cQ as ThemeSelectorCardComponent, cR as TitleBarComponent, cS as VALIGN_OPTIONS, cT as VIEWER_THEME, cU as VersionHistoryPanelComponent, cV as ViewerCanvasEditingService, cW as ViewerCollabCursorService, cX as ViewerCollaborationSessionService, cY as ViewerCompareService, cZ as ViewerCustomShowsService, c_ as ViewerDialogsService, c$ as ViewerDocumentPropertiesService, d0 as ViewerExportService, d1 as ViewerExtraDialogsComponent, d2 as ViewerFileIOService, d3 as ViewerFindReplaceService, d4 as ViewerFormatPainterService, d5 as ViewerInspectorPanelService, d6 as ViewerKeyboardService, d7 as ViewerMobileSheetService, d8 as ViewerPresentationModeService, d9 as ViewerThemeGalleryService, da as ViewerTouchGesturesService, db as ViewerZoomService, dc as WEBM_MIME_CANDIDATES, dd as WriteBackScheduler, de as ZoomNavigationService, df as ZoomRendererComponent, dg as ZoomTargetService, dh as addCategory, di as addCommentToList, dj as addGradientStopPatch, dk as addItem, dl as addSeries, dm as addSubItem, dn as advanceStep, dp as aiToggleVisible, dq as alignPatch, dr as animationFor, ds as annotationMapToInkInserts, dt as applyAcceptedDiff, du as applyAnimationPreset, dv as applyFindReplacements, dw as applyFormatToElement, dx as applyMove, dy as applyResize, dz as applyTableStylePreset, dA as asMediaElement, dB as assignUserColor, dC as attachTouchGestures, dD as beginNodeEdit, dE as boolFromEvent, dF as bringForward, dG as bringToFront, dH as buildBarActions, dI as buildBroadcastConfig, dJ as buildBroadcastViewerUrl, dK as buildCategoryLabels, dL as buildCellParagraphs, dM as buildChartViewModel, dN as buildChatLogExport, dO as buildChatLogMarkdown, dP as buildChromeStyle, dQ as buildClearHyperlinkPatch, dR as buildClickGroups, dS as buildColStyles, dT as buildCollaborationConfig, dU as buildComboViewModel, dV as buildCssGradientFromShapeStyle, dW as buildDuotoneFilter, dX as buildDuotoneFilterId, dY as buildEmbeddedFontStyles, dZ as buildEquationElement, d_ as buildEquationSegment, d$ as buildFallbackViewModel, e0 as buildFontFaceRule, e1 as buildGradientFillCss, e2 as buildGridlinesAndLabels, e3 as buildHyperlinkPatch, e4 as buildInkContainerStyle, e5 as buildInkStrokes, e6 as buildLegend, e7 as buildModel3DContainerStyle, e8 as buildModel3DViewModel, e9 as buildOleActionModel, ea as buildOleInfoRows, eb as buildPatternFillCss, ec as buildPrintDocument, ed as buildPropertiesPatch, ee as buildRegionMapViewModel, ef as buildSaveSlides, eg as buildShareUrl, eh as buildSmartArtInsertElement, ei as buildSmartArtNodes, ej as buildStockViewModel, ek as buildSurfaceViewModel, el as buildTableViewModel, em as buildTreemapViewModel, en as buildTrimFragment, eo as buildWaterfallViewModel, ep as buildZeroLine, eq as buildZoomContainerStyle, er as buildZoomViewModel, es as bulletIndentPx, et as canAddTopLevelNode, eu as canRemoveTopLevelNode, ev as canStartBroadcast, ew as canStartShare, ex as canUseClipboard, ey as captionDisplayText, ez as cellRunStyle, eA as cellStyleToStyleMap, eB as cellTdStyle, eC as changeCountLabel, eD as changeIcon, eE as characterSpacingPatch, eF as checkFontAvailable, eG as clampCursorPosition, eH as clampGifDimensions, eI as clampIndex, eJ as clampNotesFontSize, eK as clampScale, eL as clampStep, eM as clearAllLocalViewerData, eN as clearAudienceContent, eO as cn, eP as collectAccessibilityIssues, eQ as collectElementText, eR as collectSlideText, eS as collectStoredChats, eT as collectUsedFontFamilies, eU as columnWidthStyle, eV as commitNodeText, eW as computeAlign, eX as computeAxisTitlePrimitives, eY as computeBarRects, eZ as computeBubbleRadius, e_ as computeCornerHandle, e$ as computeDataTablePrimitives, f0 as computeDistribute, f1 as computeDrawingViewBox, f2 as computeErrorBarPrimitives, f3 as computeFocusTargets, f4 as computeHandleBoxes, f5 as computeHandoutLayout, f6 as computeIsMobile, f7 as computeIsTablet, f8 as computeLinePoints, f9 as computeLinearRegression, fa as computePageCount, fb as computePieLayout, fc as computePieSlicePath, fd as computePieSlices, fe as computePlotLayout, ff as computeRSquared, fg as computeRadarPoints, fh as computeScatterDots, fi as computeSelectionBoxes, fj as computeSingleSelected, fk as computeSlideIndices, fl as computeSnap, fm as computeStackedBarRects, fn as computeStackedValueRange, fo as computeTextLines, fp as computeTimerProgress, fq as computeTrendlinePrimitives, fr as computeValueRange, fs as convertOmmlToMathMl, ft as copyFormatFromElement, fu as countAccessibilityIssues, fv as countAnnotationStrokes, fw as createAngularAiBridge, fx as createCustomShow, fy as createSwipeDismissDrag, fz as createWebrtcBundle, fA as createWebsocketBundle, fB as cssObjectToStyleMap, fC as currentColorScheme, fD as currentLayout, fE as currentStyle, fF as defaultCssVars, fG as defaultRadius, fH as defaultThemeColors, fI as deleteElementsByIds, fJ as deleteRecoveryVersion, fK as demoteNode, fL as deriveModel3DBlobUrl, fM as derivePresenceList, fN as describeSmartArtBounds, fO as disableGlowPatch, fP as disableInnerShadowPatch, fQ as disableOuterShadowPatch, fR as disableReflectionPatch, fS as disableSoftEdgePatch, fT as duplicateElementById, fU as durationOf, fV as effectsStateOf, fW as enableGlowPatch, fX as enableInnerShadowPatch, fY as enableOuterShadowPatch, fZ as enableReflectionPatch, f_ as enableSoftEdgePatch, f$ as encodeGif, g0 as estimatePageCount, g1 as evenColumnWidths, g2 as evenRowHeights, g3 as exitPresentationFullscreen, g4 as exportAiChatLogs, g5 as extractPathPoints, g6 as eyedropperAvailable, g7 as fillColorOf, g8 as findInSlides, g9 as findOwningSlideIndex, ga as findSlideIndexByElementId, gb as fitPolynomial, gc as fitZoom, gd as focusTargetChips, ge as fontMimeForFormat, gf as fontSizeOf, gg as formatAutoNumber, gh as formatAxisValue, gi as formatBytes, gj as formatCursorLabel, gk as formatElapsed, gl as formatFileSize, gm as formatPropertyDate, gn as formatTime, go as fpsToFrameIntervalMs, gp as generateBroadcastRoomId, gq as generateCommentId, gr as generateCustomShowId, gs as generatePressureCircles, gt as generateRulerTicks, gu as getClrChangeParams, gv as getContainerStyle, gw as getDuotoneFilterDef, gx as getImageSrc, gy as getLocalStorageUsageSummary, gz as getOleAriaLabel, gA as getOleBadgeLabel, gB as getOleDisplayName, gC as getOleDownloadFileName, gD as getOleTypeColor, gE as getOleTypeLabel, gF as getPasswordStrength, gG as getPatternSvg, gH as getPlaceholderStyle, gI as getRecoveryVersions, gJ as getResolvedShapeClipPath, gK as getResolvedShapeClipPathFor, gL as getShapeFillStrokeStyle, gM as getSlideBackgroundStyle, gN as getSlideTransitionAnimations, gO as getSmartArtNodeBounds, gP as getSpeechRecognitionCtor, gQ as getTextBlockStyle, gR as getTextWarp, gS as getTouchDistance, gT as getWarpCategory, gU as getWarpPath, gV as gradientStateFromStyle, gW as gradientStateOf, gX as gradientStatePatch, gY as gridColumns, gZ as groupElements, g_ as groupIssuesBySeverity, g$ as hasAnimation, h0 as hasCopyableFormat, h1 as hasExistingLink, h2 as hasExitedFullscreen, h3 as hasGradientFill, h4 as hasPressureVariation, h5 as headerLabel, h6 as inkViewBox, h7 as insertColumn, h8 as insertRow, h9 as interpolateWidth, ha as isAudienceTab, hb as isBold, hc as isBrowserOpenableMime, hd as isChildNode, he as isElementInteractive, hf as isInjectableUrl, hg as isItalic, hh as isPpactionUrl, hi as isPresenterMessage, hj as isSigned, hk as isTextElement, hl as isTwoTableFocus, hm as isUnderline, hn as isUrlSafe, ho as isValidRoomId, hp as isViewportBackgroundPressTarget, hq as isZoomActivationKey, hr as issueTrackKey, hs as issueTypeLabel, ht as keyToLabel, hu as latexToMathml, hv as linePointsToSvgString, hw as lineSpacingPatch, hx as loadAudienceContent, hy as mergeCaptionResults, hz as mergeDown, hA as mergeRight, hB as mergeSelection, hC as moveElementBy, hD as moveNodeDown, hE as moveNodeUp, hF as msToFrameDelayCs, hG as narrowToCircle, hH as narrowToPolygon, hI as narrowToRect, hJ as newChartElement, hK as newEquationElement, hL as newPresetShapeElement, hM as newShapeElement, hN as newSmartArtElement, hO as newTableElement, hP as newTextElement, hQ as nextVisibleIndex, hR as nodeBold, hS as nodeEditBox, hT as nodeFillColor, hU as nodeFontColor, hV as nodeIdFromKey, hW as nodeItalic, hX as nodeStyle, hY as normalizeFontFormat, hZ as normalizeSlidesPerPage, h_ as normalizeValue, h$ as numFromEvent, i0 as ommlToMathml, i1 as ooxmlDashToCssBorderStyle, i2 as openNativeEyeDropper, i3 as overallStatus, i4 as paletteColor, i5 as parseAudienceNonce, i6 as parseNodeTextarea, i7 as partitionSlides, i8 as patchChartData, i9 as patchChartStyle, ia as patchTableData, ib as patchTextStyle, ic as pendingElementStyles, id as pickColorByClickFallback, ie as pickSupportedMimeType, ig as planGifFrames, ih as planVideoSegments, ii as pointsToSvgPathD, ij as presenceToCursors, ik as presetByLayout, il as presetsForCategory, im as pressuresToWidths, io as prevVisibleIndex, ip as projectDrawingShapes, iq as promoteNode, ir as provideViewerTheme, is as radarAngle, it as radarRingPoints, iu as recordWebm, iv as redistributeColumnWidth, iw as removeAnimation, ix as removeCategory, iy as removeColumn, iz as removeCommentFromList, iA as removeElementAnimation, iB as removeGradientStopPatch, iC as removeNode, iD as removeRow, iE as removeSeries, iF as renderToCanvas, iG as reorderAnimationDown, iH as reorderAnimationUp, iI as replaceInSlides, iJ as replaceMatch, iK as requestPresentationFullscreen, iL as resizeElement, iM as resolveCaptionTracks, iN as resolveChartKind, iO as resolveFontVariant, iP as resolveHyperlinkHref, iQ as resolveInteractiveElementId, iR as resolveMediaSrc, iS as resolveOleType, iT as resolveParagraphBullet, iU as resolvePresenterNotes, iV as resolveProfileInitial, iW as resolveRegionCode, iX as resolveSmartArtPalette, iY as resolveThemeCatalogEntry, iZ as resolveTransitionDuration, i_ as revealedElementStyles, i$ as routeOrthogonalConnector, j0 as rowStyle, j1 as sampleColorFromSlide, j2 as sanitizeColor, j3 as sanitizeSlideIndex, j4 as sanitizeUserName, j5 as saveViewerProfile, j6 as scanAvailableFonts, j7 as searchSlides, j8 as seedBroadcastFields, j9 as seedHyperlinkDraft, ja as seedPropertiesDraft, jb as seedShareFields, jc as segmentFrameCount, jd as selectValue, je as sendBackward, jf as sendToBack, jg as sequentialColorScale, jh as serializeWriteBack, ji as seriesColor, jj as setAnimationEmphasis, jk as setAnimationEntrance, jl as setAnimationExit, jm as setAxis, jn as setAxisLogScale, jo as setAxisTitleStyle, jp as setCategoryLabel, jq as setCellText, jr as setColorScheme, js as setDataLabels, jt as setDataPointExplosion, ju as setDataPointFill, jv as setDataPointLabel, jw as setDelay, jx as setDirection, jy as setDuration, jz as setElementPosition, jA as setGridlineStyle, jB as setLayout, jC as setLegend, jD as setNodeStyle, jE as setNodeText, jF as setRepeatCount, jG as setRepeatMode, jH as setSequence, jI as setSeriesChartType, jJ as setSeriesColor, jK as setSeriesErrorBars, jL as setSeriesMarker, jM as setSeriesName, jN as setSeriesTrendline, jO as setSeriesValue, jP as setStyle, jQ as setTimingCurve, jR as setTitle, jS as setTrigger, jT as setTriggerShapeId, jU as shapeStylePatch, jV as sheetAfterNavigate, jW as shouldBlockClickAdvance, jX as shouldUseSvgWarp, jY as showDirectionPicker, jZ as showsTemplateAffordance, j_ as signatureCountLabel, j$ as signatureKey, k0 as signatureTimestamp, k1 as signerName, k2 as slideDiffStatusLabel, k3 as slideNumberOf, k4 as smartArtNodes, k5 as smartArtPaletteColour, k6 as snapToGridStep, k7 as splitCursorCell, k8 as splitMergedCell, k9 as statusKind, ka as statusLabel, kb as storeAudienceContent, kc as stringFromEvent, kd as strokeColorOf, ke as strokeToInkElement, kf as styleShadowFilter, kg as textAdvancedPatch, kh as textAdvancedStateFromStyle, ki as textAdvancedStateOf, kj as textColorOf, kk as textDirectionPatch, kl as textStyleOf, km as textStylePatch, kn as themeStyle, ko as themeToCssVars, kp as thumbnailHeight, kq as thumbnailZoom, kr as toggleCommentResolvedInList, ks as toggleNodeBold, kt as toggleNodeItalic, ku as toggleSheet, kv as topLevelNodeCount, kw as transformSelectedTextCase, kx as translationsEn, ky as ungroupElements, kz as updateElementById, kA as updateGlowPatch, kB as updateGradientStopPatch, kC as updateInnerShadowPatch, kD as updateOuterShadowPatch, kE as updateReflectionPatch, kF as vAlignPatch, kG as validatePassword, kH as validatePrintSettings, kI as validateRoomId, kJ as valueToY, kK as vermilionDarkColors, kL as vermilionDarkTheme, kM as vermilionLightColors, kN as vermilionLightTheme, kO as vermilionRadius, kP as waypointsToPathD, kQ as worstStatus, kR as zoomTargetSlideIndex } from './pptx-angular-viewer-pptx-angular-viewer-BwaiF7Nf.mjs';
|
|
2
2
|
export { SWITCHABLE_LAYOUT_TYPES, addSmartArtNode, addSmartArtNodeAsChild, chartDataAddCategory, chartDataAddSeries, chartDataChangeType, chartDataRemoveCategory, chartDataRemoveSeries, chartDataUpdatePoint, demoteSmartArtNode, promoteSmartArtNode, removeSmartArtNode, reorderSmartArtNode, switchSmartArtLayout, updateSmartArtNodeText } from 'pptx-viewer-core';
|
|
3
3
|
//# sourceMappingURL=pptx-angular-viewer.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-angular-viewer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Angular PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"zod": "^4.4.3"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@angular/common": "^22.0.
|
|
60
|
-
"@angular/core": "^22.0.
|
|
59
|
+
"@angular/common": "^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
60
|
+
"@angular/core": "^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
61
61
|
"@ngx-translate/core": "^18.0.0",
|
|
62
62
|
"ai": ">=6 <8",
|
|
63
63
|
"rxjs": "^7.8.0",
|
|
@@ -2911,6 +2911,82 @@ interface YjsFactories {
|
|
|
2911
2911
|
createText: () => YTextLike;
|
|
2912
2912
|
}
|
|
2913
2913
|
|
|
2914
|
+
/**
|
|
2915
|
+
* collaboration-live-patch-target.ts: locating an element inside the shared
|
|
2916
|
+
* Y.Doc and writing one interim patch into it.
|
|
2917
|
+
*
|
|
2918
|
+
* Split out of `collaboration-live-patch.ts` (which owns the throttled patcher
|
|
2919
|
+
* and the binding-facing helpers) to keep both files inside the repo's 300 LOC
|
|
2920
|
+
* ceiling. This half is pure: given a doc it finds the element's Y.Map through
|
|
2921
|
+
* the existing schema and applies geometry / text, with no timers or state.
|
|
2922
|
+
*/
|
|
2923
|
+
|
|
2924
|
+
/** Interim geometry for an element mid-gesture. All fields optional. */
|
|
2925
|
+
interface LiveGeometryPatch {
|
|
2926
|
+
x?: number;
|
|
2927
|
+
y?: number;
|
|
2928
|
+
width?: number;
|
|
2929
|
+
height?: number;
|
|
2930
|
+
rotation?: number;
|
|
2931
|
+
}
|
|
2932
|
+
/** The element's pre-edit rich text, used to remap the interim plain text. */
|
|
2933
|
+
interface LiveTextSource {
|
|
2934
|
+
textSegments?: TextSegment[];
|
|
2935
|
+
textStyle?: TextStyle;
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* collaboration-live-patch.ts: interim ("live preview") writes straight into
|
|
2940
|
+
* the shared Y.Doc, bypassing each binding's slides state.
|
|
2941
|
+
*
|
|
2942
|
+
* Why: the editors deliberately keep gestures out of framework state. React's
|
|
2943
|
+
* drag/resize writes `style.left/top/width/height` on the DOM node and only
|
|
2944
|
+
* calls `updateElementById` on pointer-up; every binding's inline text editor
|
|
2945
|
+
* buffers the typed string and only commits it on blur. Because the Y.Doc sync
|
|
2946
|
+
* is driven off the slides state, remote peers saw nothing until the gesture
|
|
2947
|
+
* (or the edit) ended.
|
|
2948
|
+
*
|
|
2949
|
+
* This module patches the element's Y.Map directly, so the host keeps its
|
|
2950
|
+
* per-frame performance design while peers see the move/typing live:
|
|
2951
|
+
*
|
|
2952
|
+
* - geometry scalars (x / y / width / height / rotation) are set in place
|
|
2953
|
+
* - text goes through the SAME character-level Y.Text merge the reconcile
|
|
2954
|
+
* pass uses (`reconcileElementTextBody`), so concurrent typing on one
|
|
2955
|
+
* element still merges instead of last-write-wins
|
|
2956
|
+
* - writes are throttled (~1 per 50ms) with a trailing write, plus an
|
|
2957
|
+
* explicit `flush()` for gesture end
|
|
2958
|
+
* - every transaction is tagged with LOCAL_SYNC_ORIGIN, exactly like
|
|
2959
|
+
* `reconcileSlidesInYDoc`, so the local observer skips the echo
|
|
2960
|
+
*
|
|
2961
|
+
* It is a no-op until `configure()` is handed a live doc + factories, so
|
|
2962
|
+
* bindings can call it unconditionally.
|
|
2963
|
+
*/
|
|
2964
|
+
|
|
2965
|
+
interface CollaborationLivePatcher {
|
|
2966
|
+
/** Attach a live doc (or `null` to go dormant). Pending patches are dropped. */
|
|
2967
|
+
configure: (doc: YDocLike | null, factories: YjsFactories | null) => void;
|
|
2968
|
+
/** True when a doc + factories are attached, i.e. patches will be written. */
|
|
2969
|
+
isActive: () => boolean;
|
|
2970
|
+
/** Queue interim geometry for an element. */
|
|
2971
|
+
patchGeometry: (slideId: string | undefined, elementId: string, geometry: LiveGeometryPatch) => void;
|
|
2972
|
+
/** Queue interim text for an element (remapped over `source`'s segments). */
|
|
2973
|
+
patchText: (slideId: string | undefined, elementId: string, text: string, source?: LiveTextSource) => void;
|
|
2974
|
+
/** Write everything queued right now (call on gesture end / edit commit). */
|
|
2975
|
+
flush: () => void;
|
|
2976
|
+
/** Drop pending work, cancel timers and detach the doc. */
|
|
2977
|
+
dispose: () => void;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
interface DepartureChannel {
|
|
2981
|
+
/**
|
|
2982
|
+
* Announce that this client is leaving `roomId`. Synchronous on purpose:
|
|
2983
|
+
* it must survive being called from a `pagehide` handler.
|
|
2984
|
+
*/
|
|
2985
|
+
announce: () => void;
|
|
2986
|
+
/** Stop listening and release the channel. */
|
|
2987
|
+
dispose: () => void;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2914
2990
|
/**
|
|
2915
2991
|
* slide-compare — pure, framework-agnostic slide-diff engine shared by every
|
|
2916
2992
|
* binding (React / Vue / Angular).
|
|
@@ -5680,6 +5756,98 @@ declare class AutosaveService {
|
|
|
5680
5756
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AutosaveService>;
|
|
5681
5757
|
}
|
|
5682
5758
|
|
|
5759
|
+
/**
|
|
5760
|
+
* collaboration-providers.ts: transport factories for the Angular
|
|
5761
|
+
* collaboration service.
|
|
5762
|
+
*
|
|
5763
|
+
* Isolates the dynamic `yjs` / `y-websocket` / `y-webrtc` imports and provider
|
|
5764
|
+
* construction so the service focuses on lifecycle + reactive state. The Yjs
|
|
5765
|
+
* packages are dynamically imported (plain string-literal specifiers, matching
|
|
5766
|
+
* React/Vue) so they are fully tree-shaken when collaboration is unused, while
|
|
5767
|
+
* still resolving correctly under a consuming app's Vite dev server: an
|
|
5768
|
+
* `@vite-ignore`d or variable specifier skips Vite's dev-time bare-specifier
|
|
5769
|
+
* rewrite, which then fails to resolve natively in the browser.
|
|
5770
|
+
*/
|
|
5771
|
+
|
|
5772
|
+
/** Minimal awareness surface used by the service. */
|
|
5773
|
+
interface AwarenessLike {
|
|
5774
|
+
clientID?: number;
|
|
5775
|
+
/** Passing `null` withdraws the local presence (see `clearLocalAwareness`). */
|
|
5776
|
+
setLocalState?: (state: null) => void;
|
|
5777
|
+
setLocalStateField: (field: string, value: unknown) => void;
|
|
5778
|
+
getStates: () => Map<number, Record<string, unknown>>;
|
|
5779
|
+
on: (event: string, cb: () => void) => void;
|
|
5780
|
+
off?: (event: string, cb: () => void) => void;
|
|
5781
|
+
}
|
|
5782
|
+
/** Y.Doc plus a `destroy()` handle. */
|
|
5783
|
+
interface DestroyableYDoc extends YDocLike {
|
|
5784
|
+
destroy: () => void;
|
|
5785
|
+
}
|
|
5786
|
+
/** Minimal provider surface used by the service. */
|
|
5787
|
+
interface ProviderLike {
|
|
5788
|
+
awareness: AwarenessLike;
|
|
5789
|
+
disconnect: () => void;
|
|
5790
|
+
destroy: () => void;
|
|
5791
|
+
on: (event: string, cb: (payload: Record<string, unknown>) => void) => void;
|
|
5792
|
+
/** y-websocket only: true once the socket is open. */
|
|
5793
|
+
wsconnected?: boolean;
|
|
5794
|
+
/** y-websocket only: true once the initial server document sync completed. */
|
|
5795
|
+
synced?: boolean;
|
|
5796
|
+
}
|
|
5797
|
+
/** Everything a freshly-created transport hands back to the service. */
|
|
5798
|
+
interface ProviderBundle {
|
|
5799
|
+
doc: DestroyableYDoc;
|
|
5800
|
+
provider: ProviderLike;
|
|
5801
|
+
awareness: AwarenessLike;
|
|
5802
|
+
factories: YjsFactories;
|
|
5803
|
+
/**
|
|
5804
|
+
* Synchronous "I am leaving" announcement. The provider's own awareness
|
|
5805
|
+
* removal is broadcast a microtask later, which never escapes a document
|
|
5806
|
+
* that is already being destroyed (see the shared collaboration-departure
|
|
5807
|
+
* module), so `disconnect()` announces through this first.
|
|
5808
|
+
*/
|
|
5809
|
+
departure: DepartureChannel;
|
|
5810
|
+
}
|
|
5811
|
+
/** Create a y-websocket transport bundle for `config`. */
|
|
5812
|
+
declare function createWebsocketBundle(config: CollaborationConfig): Promise<ProviderBundle>;
|
|
5813
|
+
/**
|
|
5814
|
+
* Create a y-webrtc (peer-to-peer, serverless) transport bundle for `config`.
|
|
5815
|
+
* Peers rendezvous through the configured `signaling` servers (or y-webrtc's
|
|
5816
|
+
* public default) and same-browser tabs additionally sync via BroadcastChannel.
|
|
5817
|
+
* `authToken` is passed as the room `password`.
|
|
5818
|
+
*/
|
|
5819
|
+
declare function createWebrtcBundle(config: CollaborationConfig): Promise<ProviderBundle>;
|
|
5820
|
+
|
|
5821
|
+
/**
|
|
5822
|
+
* collaboration-local-presence.ts: publishes the local user's presence into a
|
|
5823
|
+
* single awareness `presence` field.
|
|
5824
|
+
*
|
|
5825
|
+
* Cursor, selection, and active-slide updates all merge into one record so a
|
|
5826
|
+
* later cursor move never clobbers the selection (or vice versa). The remote
|
|
5827
|
+
* side reads this shape via the shared `derivePresenceList`.
|
|
5828
|
+
*/
|
|
5829
|
+
|
|
5830
|
+
/** Immutable identity of the local collaborator. */
|
|
5831
|
+
interface LocalIdentity {
|
|
5832
|
+
userName: string;
|
|
5833
|
+
userColor: string;
|
|
5834
|
+
userAvatar?: string;
|
|
5835
|
+
role?: string;
|
|
5836
|
+
}
|
|
5837
|
+
declare class LocalPresencePublisher {
|
|
5838
|
+
private readonly awareness;
|
|
5839
|
+
private readonly identity;
|
|
5840
|
+
private activeSlide;
|
|
5841
|
+
private cursor;
|
|
5842
|
+
private selection;
|
|
5843
|
+
constructor(awareness: AwarenessLike, identity: LocalIdentity);
|
|
5844
|
+
/** Re-emit the merged presence record (also used as a heartbeat). */
|
|
5845
|
+
publish(): void;
|
|
5846
|
+
setCursor(x: number, y: number, activeSlideIndex?: number): void;
|
|
5847
|
+
setSelection(selectedElementId: string | undefined, activeSlideIndex?: number): void;
|
|
5848
|
+
setActiveSlide(index: number): void;
|
|
5849
|
+
}
|
|
5850
|
+
|
|
5683
5851
|
/**
|
|
5684
5852
|
* template-mode.ts: separate-state model + per-element interactivity gate for the
|
|
5685
5853
|
* editTemplateMode feature.
|
|
@@ -5745,6 +5913,17 @@ declare function isElementInteractive(element: PptxElement, baseInteractive: boo
|
|
|
5745
5913
|
*/
|
|
5746
5914
|
declare function showsTemplateAffordance(element: PptxElement, editTemplateMode: boolean): boolean;
|
|
5747
5915
|
|
|
5916
|
+
/**
|
|
5917
|
+
* collaboration-session-setup.ts: build up and tear down a live collaboration
|
|
5918
|
+
* session for the Angular `CollaborationService`.
|
|
5919
|
+
*
|
|
5920
|
+
* Extracted from `collaboration.service.ts` so the service keeps only its
|
|
5921
|
+
* reactive state and public API. `activateSession` wires a freshly-created
|
|
5922
|
+
* provider bundle into a running session and returns the {@link ActiveSession}
|
|
5923
|
+
* the service holds as a single atomic handle; `teardownSession` disposes it.
|
|
5924
|
+
*/
|
|
5925
|
+
|
|
5926
|
+
/** Options a host passes to `connect`, held for reconnection. */
|
|
5748
5927
|
interface ConnectOptions {
|
|
5749
5928
|
onRemoteSlides?: (slides: PptxSlide[]) => void;
|
|
5750
5929
|
canvasWidth?: number;
|
|
@@ -5758,6 +5937,7 @@ interface ConnectOptions {
|
|
|
5758
5937
|
*/
|
|
5759
5938
|
getTemplateElements?: () => TemplateElementsBySlideId;
|
|
5760
5939
|
}
|
|
5940
|
+
|
|
5761
5941
|
declare class CollaborationService {
|
|
5762
5942
|
readonly status: _angular_core.WritableSignal<ConnectionStatus>;
|
|
5763
5943
|
readonly connected: _angular_core.Signal<boolean>;
|
|
@@ -5773,24 +5953,16 @@ declare class CollaborationService {
|
|
|
5773
5953
|
readonly followedSlideIndex: _angular_core.Signal<number | null>;
|
|
5774
5954
|
/** Active-slide index of the first `owner` peer (the broadcaster), or null. */
|
|
5775
5955
|
readonly broadcasterSlideIndex: _angular_core.Signal<number | null>;
|
|
5776
|
-
private ydoc;
|
|
5777
|
-
private provider;
|
|
5778
|
-
private awareness;
|
|
5779
|
-
private selfId;
|
|
5780
|
-
private applyingRemote;
|
|
5781
|
-
private yFactories;
|
|
5782
|
-
private lastSynced;
|
|
5783
|
-
private connectTimer;
|
|
5784
|
-
private unobserveSlides;
|
|
5785
|
-
private readonly writeBack;
|
|
5786
5956
|
/**
|
|
5787
|
-
*
|
|
5788
|
-
*
|
|
5789
|
-
*
|
|
5790
|
-
* whose real content has not arrived yet.
|
|
5957
|
+
* Interim ("live preview") Y.Doc write channel: publishes in-flight inline
|
|
5958
|
+
* editor text that has not reached the slides state yet, so peers see typing
|
|
5959
|
+
* as it happens instead of on commit. Dormant outside a session.
|
|
5791
5960
|
*/
|
|
5792
|
-
|
|
5793
|
-
private
|
|
5961
|
+
readonly livePatcher: CollaborationLivePatcher;
|
|
5962
|
+
private session;
|
|
5963
|
+
private readonly writeBack;
|
|
5964
|
+
/** Granular local<->doc slide sync (gate + echo dedupe + broadcast/adopt). */
|
|
5965
|
+
private readonly slideSync;
|
|
5794
5966
|
private onRemoteSlides;
|
|
5795
5967
|
private canvasWidth;
|
|
5796
5968
|
private canvasHeight;
|
|
@@ -5799,7 +5971,6 @@ declare class CollaborationService {
|
|
|
5799
5971
|
private currentConfig;
|
|
5800
5972
|
private lastConfig;
|
|
5801
5973
|
private lastOptions;
|
|
5802
|
-
private localPresence;
|
|
5803
5974
|
/**
|
|
5804
5975
|
* Reentrancy token for {@link connect}: bumped by every connect() and
|
|
5805
5976
|
* disconnect(). A connect() whose token no longer matches after an await was
|
|
@@ -5813,52 +5984,24 @@ declare class CollaborationService {
|
|
|
5813
5984
|
connect(config: CollaborationConfig, options?: ConnectOptions): Promise<void>;
|
|
5814
5985
|
/** Reconnect using the configuration from the most recent {@link connect}. */
|
|
5815
5986
|
retry(): Promise<void>;
|
|
5816
|
-
/** Wire the provider status events + (websocket-only) connection timeout. */
|
|
5817
|
-
private wireStatus;
|
|
5818
|
-
/**
|
|
5819
|
-
* Open the first-write gate on the provider's initial-sync confirmation.
|
|
5820
|
-
* y-websocket emits 'sync' with a boolean; y-webrtc emits 'synced' with an
|
|
5821
|
-
* object carrying a `synced` flag (and only once a peer syncs, hence the
|
|
5822
|
-
* grace timer). Listen to both; opening is idempotent.
|
|
5823
|
-
*/
|
|
5824
|
-
private wireSynced;
|
|
5825
|
-
/**
|
|
5826
|
-
* Perform the deferred first broadcast once the gate opens. When the doc is
|
|
5827
|
-
* still empty (fresh room, or nobody else present), clear the baseline so
|
|
5828
|
-
* the pending deck actually seeds it; when remote content already arrived,
|
|
5829
|
-
* the pending deck matches the applied baseline and the write is a no-op.
|
|
5830
|
-
*/
|
|
5831
|
-
private flushPendingBroadcast;
|
|
5832
|
-
/** Handle a remote Y.Doc change, skipping our own local-origin transactions. */
|
|
5833
|
-
private onRemoteChange;
|
|
5834
5987
|
disconnect(): void;
|
|
5835
|
-
/**
|
|
5836
|
-
* Broadcast the local slide set to peers, reconciling only what changed into
|
|
5837
|
-
* the pptx:slides Y.Array. An empty deck is never written (so a late-joiner
|
|
5838
|
-
* that has not yet received the doc cannot clobber it), and an unchanged deck
|
|
5839
|
-
* is skipped.
|
|
5840
|
-
*/
|
|
5841
5988
|
/**
|
|
5842
5989
|
* Record the current local deck as the sync baseline so the first (unchanged)
|
|
5843
5990
|
* broadcast after connecting is suppressed. Call right after {@link connect}
|
|
5844
|
-
* for a joiner whose local deck is a placeholder awaiting remote sync
|
|
5845
|
-
* never overwrites the shared document before receiving it.
|
|
5991
|
+
* for a joiner whose local deck is a placeholder awaiting remote sync.
|
|
5846
5992
|
*/
|
|
5847
5993
|
seedBaseline(slides: readonly PptxSlide[]): void;
|
|
5848
5994
|
/**
|
|
5849
|
-
* Re-adopt the shared document's slides after a local content load
|
|
5850
|
-
*
|
|
5851
|
-
*
|
|
5852
|
-
* already applied (a late joiner's bootstrap deck parsing slower than the
|
|
5853
|
-
* doc sync) silently clobbers the synced state and, with the doc itself
|
|
5854
|
-
* unchanged, the remote observer never re-fires. When the room already has
|
|
5855
|
-
* slides they win: the doc content is re-applied through `onRemoteSlides`
|
|
5856
|
-
* and recorded as the sync baseline (bypassing the usual JSON dedupe) so
|
|
5857
|
-
* the follow-up local broadcast of the adopted deck is a no-op. An empty
|
|
5858
|
-
* room means this client is the seeder and the loaded deck stands, written
|
|
5859
|
-
* by the normal gated broadcast path. Returns true when the doc was adopted.
|
|
5995
|
+
* Re-adopt the shared document's slides after a local content load committed
|
|
5996
|
+
* a parsed deck to viewer state (see {@link SlideSyncEngine.adoptDocAfterLoad}).
|
|
5997
|
+
* Returns true when the room's slides were adopted over the loaded deck.
|
|
5860
5998
|
*/
|
|
5861
5999
|
adoptDocSlidesAfterLoad(): boolean;
|
|
6000
|
+
/**
|
|
6001
|
+
* Broadcast the local slide set to peers, reconciling only what changed into
|
|
6002
|
+
* the pptx:slides Y.Array. Empty/unchanged decks are skipped; while the gate
|
|
6003
|
+
* is shut the deck is held pending until the initial sync confirms.
|
|
6004
|
+
*/
|
|
5862
6005
|
broadcastSlides(slides: readonly PptxSlide[]): void;
|
|
5863
6006
|
setCursor(x: number, y: number, activeSlideIndex?: number): void;
|
|
5864
6007
|
setSelection(selectedElementId: string | undefined, activeSlideIndex?: number): void;
|
|
@@ -5866,7 +6009,6 @@ declare class CollaborationService {
|
|
|
5866
6009
|
setActiveSlide(index: number): void;
|
|
5867
6010
|
/** Follow the given peer's active slide, or `null` to stop following. */
|
|
5868
6011
|
followUser(clientId: number | null): void;
|
|
5869
|
-
private clearConnectTimer;
|
|
5870
6012
|
private scheduleWriteBack;
|
|
5871
6013
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollaborationService, never>;
|
|
5872
6014
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CollaborationService>;
|
|
@@ -6261,8 +6403,6 @@ interface BarAction {
|
|
|
6261
6403
|
key: NonNullable<MobileBarSheet> | 'insert';
|
|
6262
6404
|
labelKey: string;
|
|
6263
6405
|
ariaLabelKey?: string;
|
|
6264
|
-
/** SVG path data for the icon (24 × 24 view-box). */
|
|
6265
|
-
svgPath: string;
|
|
6266
6406
|
disabled: boolean;
|
|
6267
6407
|
active: boolean;
|
|
6268
6408
|
badge?: number;
|
|
@@ -6820,6 +6960,7 @@ declare class ViewerCanvasEditingService {
|
|
|
6820
6960
|
private readonly editor;
|
|
6821
6961
|
private readonly dialogs;
|
|
6822
6962
|
private readonly formatPainter;
|
|
6963
|
+
private readonly collab;
|
|
6823
6964
|
/** Id of the element being inline text-edited, or null. */
|
|
6824
6965
|
readonly editingId: _angular_core.WritableSignal<string | null>;
|
|
6825
6966
|
/** Open editor context-menu position (client coords), or null. */
|
|
@@ -6841,6 +6982,16 @@ declare class ViewerCanvasEditingService {
|
|
|
6841
6982
|
id: string;
|
|
6842
6983
|
updates: Partial<TextStyle>;
|
|
6843
6984
|
}): void;
|
|
6985
|
+
/**
|
|
6986
|
+
* Mirror an in-progress inline edit to collaborators. The typed text only
|
|
6987
|
+
* reaches the editor state (and therefore the Y.Doc reconcile) on commit, so
|
|
6988
|
+
* without this peers saw nothing until the editor blurred. No-op when not
|
|
6989
|
+
* collaborating.
|
|
6990
|
+
*/
|
|
6991
|
+
onTextInput(event: {
|
|
6992
|
+
id: string;
|
|
6993
|
+
text: string;
|
|
6994
|
+
}): void;
|
|
6844
6995
|
/** Commit an inline text edit: replace the element's text (one history entry). */
|
|
6845
6996
|
onTextCommit(event: {
|
|
6846
6997
|
id: string;
|
|
@@ -9418,6 +9569,15 @@ declare class SlideCanvasComponent implements SlideContext {
|
|
|
9418
9569
|
id: string;
|
|
9419
9570
|
text: string;
|
|
9420
9571
|
}>;
|
|
9572
|
+
/**
|
|
9573
|
+
* Emitted on EVERY keystroke while inline-editing. The commit path stays the
|
|
9574
|
+
* only thing that touches editor state/history; this feeds the collaboration
|
|
9575
|
+
* live preview so peers see typing before the edit commits.
|
|
9576
|
+
*/
|
|
9577
|
+
readonly textInput: _angular_core.OutputEmitterRef<{
|
|
9578
|
+
id: string;
|
|
9579
|
+
text: string;
|
|
9580
|
+
}>;
|
|
9421
9581
|
/** Emitted when an inline edit is cancelled (Escape). */
|
|
9422
9582
|
readonly textCancel: _angular_core.OutputEmitterRef<void>;
|
|
9423
9583
|
/** Emitted on Ctrl/Cmd+B/I/U while inline-editing (parity with React/Vue). */
|
|
@@ -9563,6 +9723,8 @@ declare class SlideCanvasComponent implements SlideContext {
|
|
|
9563
9723
|
private trimTrailingSpaceBeforeCaret;
|
|
9564
9724
|
/** Toggle bold/italic/underline for the element under inline edit. */
|
|
9565
9725
|
private emitTextFormat;
|
|
9726
|
+
/** Mirror each keystroke out for the collaboration live preview. */
|
|
9727
|
+
onTextInput(event: Event, id: string): void;
|
|
9566
9728
|
commitText(event: Event, id: string): void;
|
|
9567
9729
|
onContextMenu(event: MouseEvent): void;
|
|
9568
9730
|
onHandlePointerDown(event: PointerEvent, handle: ResizeHandle): void;
|
|
@@ -9592,7 +9754,7 @@ declare class SlideCanvasComponent implements SlideContext {
|
|
|
9592
9754
|
readonly vRulerTicks: _angular_core.Signal<readonly RulerTick[]>;
|
|
9593
9755
|
readonly stageStyle: _angular_core.Signal<StyleMap>;
|
|
9594
9756
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlideCanvasComponent, never>;
|
|
9595
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlideCanvasComponent, "pptx-slide-canvas", never, { "slide": { "alias": "slide"; "required": false; "isSignal": true; }; "canvasSize": { "alias": "canvasSize"; "required": true; "isSignal": true; }; "mediaDataUrls": { "alias": "mediaDataUrls"; "required": false; "isSignal": true; }; "zoom": { "alias": "zoom"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showRulers": { "alias": "showRulers"; "required": false; "isSignal": true; }; "showGuides": { "alias": "showGuides"; "required": false; "isSignal": true; }; "snapToGrid": { "alias": "snapToGrid"; "required": false; "isSignal": true; }; "snapToShape": { "alias": "snapToShape"; "required": false; "isSignal": true; }; "guideCommand": { "alias": "guideCommand"; "required": false; "isSignal": true; }; "spellCheck": { "alias": "spellCheck"; "required": false; "isSignal": true; }; "snapToGuides": { "alias": "snapToGuides"; "required": false; "isSignal": true; }; "autoFit": { "alias": "autoFit"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "presenting": { "alias": "presenting"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "editingId": { "alias": "editingId"; "required": false; "isSignal": true; }; "editTemplateMode": { "alias": "editTemplateMode"; "required": false; "isSignal": true; }; "templateElements": { "alias": "templateElements"; "required": false; "isSignal": true; }; "aiHighlights": { "alias": "aiHighlights"; "required": false; "isSignal": true; }; "aiActive": { "alias": "aiActive"; "required": false; "isSignal": true; }; "aiActiveSlideIndex": { "alias": "aiActiveSlideIndex"; "required": false; "isSignal": true; }; "aiChangeBatch": { "alias": "aiChangeBatch"; "required": false; "isSignal": true; }; "aiPickMode": { "alias": "aiPickMode"; "required": false; "isSignal": true; }; "drawTool": { "alias": "drawTool"; "required": false; "isSignal": true; }; "drawColor": { "alias": "drawColor"; "required": false; "isSignal": true; }; "drawWidth": { "alias": "drawWidth"; "required": false; "isSignal": true; }; }, { "elementSelect": "elementSelect"; "backgroundClick": "backgroundClick"; "transformStart": "transformStart"; "transformUpdate": "transformUpdate"; "contextMenu": "contextMenu"; "textEditStart": "textEditStart"; "textCommit": "textCommit"; "textCancel": "textCancel"; "textFormat": "textFormat"; "rotateUpdate": "rotateUpdate"; "marqueeSelect": "marqueeSelect"; "inkStrokeComplete": "inkStrokeComplete"; "eraserHit": "eraserHit"; "cellCommit": "cellCommit"; "tableChange": "tableChange"; }, never, never, true, never>;
|
|
9757
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlideCanvasComponent, "pptx-slide-canvas", never, { "slide": { "alias": "slide"; "required": false; "isSignal": true; }; "canvasSize": { "alias": "canvasSize"; "required": true; "isSignal": true; }; "mediaDataUrls": { "alias": "mediaDataUrls"; "required": false; "isSignal": true; }; "zoom": { "alias": "zoom"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showRulers": { "alias": "showRulers"; "required": false; "isSignal": true; }; "showGuides": { "alias": "showGuides"; "required": false; "isSignal": true; }; "snapToGrid": { "alias": "snapToGrid"; "required": false; "isSignal": true; }; "snapToShape": { "alias": "snapToShape"; "required": false; "isSignal": true; }; "guideCommand": { "alias": "guideCommand"; "required": false; "isSignal": true; }; "spellCheck": { "alias": "spellCheck"; "required": false; "isSignal": true; }; "snapToGuides": { "alias": "snapToGuides"; "required": false; "isSignal": true; }; "autoFit": { "alias": "autoFit"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "presenting": { "alias": "presenting"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "editingId": { "alias": "editingId"; "required": false; "isSignal": true; }; "editTemplateMode": { "alias": "editTemplateMode"; "required": false; "isSignal": true; }; "templateElements": { "alias": "templateElements"; "required": false; "isSignal": true; }; "aiHighlights": { "alias": "aiHighlights"; "required": false; "isSignal": true; }; "aiActive": { "alias": "aiActive"; "required": false; "isSignal": true; }; "aiActiveSlideIndex": { "alias": "aiActiveSlideIndex"; "required": false; "isSignal": true; }; "aiChangeBatch": { "alias": "aiChangeBatch"; "required": false; "isSignal": true; }; "aiPickMode": { "alias": "aiPickMode"; "required": false; "isSignal": true; }; "drawTool": { "alias": "drawTool"; "required": false; "isSignal": true; }; "drawColor": { "alias": "drawColor"; "required": false; "isSignal": true; }; "drawWidth": { "alias": "drawWidth"; "required": false; "isSignal": true; }; }, { "elementSelect": "elementSelect"; "backgroundClick": "backgroundClick"; "transformStart": "transformStart"; "transformUpdate": "transformUpdate"; "contextMenu": "contextMenu"; "textEditStart": "textEditStart"; "textCommit": "textCommit"; "textInput": "textInput"; "textCancel": "textCancel"; "textFormat": "textFormat"; "rotateUpdate": "rotateUpdate"; "marqueeSelect": "marqueeSelect"; "inkStrokeComplete": "inkStrokeComplete"; "eraserHit": "eraserHit"; "cellCommit": "cellCommit"; "tableChange": "tableChange"; }, never, never, true, never>;
|
|
9596
9758
|
}
|
|
9597
9759
|
|
|
9598
9760
|
/**
|
|
@@ -13978,7 +14140,7 @@ declare class AccountPageComponent {
|
|
|
13978
14140
|
readonly accountAuth: _angular_core.InputSignal<AccountAuthConfig | undefined>;
|
|
13979
14141
|
private readonly translate;
|
|
13980
14142
|
protected readonly swatches: readonly string[];
|
|
13981
|
-
protected readonly version = "2.
|
|
14143
|
+
protected readonly version = "2.1.0";
|
|
13982
14144
|
protected readonly profile: _angular_core.WritableSignal<ViewerProfile>;
|
|
13983
14145
|
protected readonly initial: _angular_core.Signal<string>;
|
|
13984
14146
|
protected readonly usage: _angular_core.WritableSignal<LocalStorageUsageSummary | null>;
|
|
@@ -15967,89 +16129,6 @@ interface SwipeDismissDrag {
|
|
|
15967
16129
|
*/
|
|
15968
16130
|
declare function createSwipeDismissDrag(onDismiss: () => void): SwipeDismissDrag;
|
|
15969
16131
|
|
|
15970
|
-
/**
|
|
15971
|
-
* collaboration-providers.ts: transport factories for the Angular
|
|
15972
|
-
* collaboration service.
|
|
15973
|
-
*
|
|
15974
|
-
* Isolates the dynamic `yjs` / `y-websocket` / `y-webrtc` imports and provider
|
|
15975
|
-
* construction so the service focuses on lifecycle + reactive state. The Yjs
|
|
15976
|
-
* packages are dynamically imported (plain string-literal specifiers, matching
|
|
15977
|
-
* React/Vue) so they are fully tree-shaken when collaboration is unused, while
|
|
15978
|
-
* still resolving correctly under a consuming app's Vite dev server: an
|
|
15979
|
-
* `@vite-ignore`d or variable specifier skips Vite's dev-time bare-specifier
|
|
15980
|
-
* rewrite, which then fails to resolve natively in the browser.
|
|
15981
|
-
*/
|
|
15982
|
-
|
|
15983
|
-
/** Minimal awareness surface used by the service. */
|
|
15984
|
-
interface AwarenessLike {
|
|
15985
|
-
clientID?: number;
|
|
15986
|
-
setLocalStateField: (field: string, value: unknown) => void;
|
|
15987
|
-
getStates: () => Map<number, Record<string, unknown>>;
|
|
15988
|
-
on: (event: string, cb: () => void) => void;
|
|
15989
|
-
off?: (event: string, cb: () => void) => void;
|
|
15990
|
-
}
|
|
15991
|
-
/** Y.Doc plus a `destroy()` handle. */
|
|
15992
|
-
interface DestroyableYDoc extends YDocLike {
|
|
15993
|
-
destroy: () => void;
|
|
15994
|
-
}
|
|
15995
|
-
/** Minimal provider surface used by the service. */
|
|
15996
|
-
interface ProviderLike {
|
|
15997
|
-
awareness: AwarenessLike;
|
|
15998
|
-
disconnect: () => void;
|
|
15999
|
-
destroy: () => void;
|
|
16000
|
-
on: (event: string, cb: (payload: Record<string, unknown>) => void) => void;
|
|
16001
|
-
/** y-websocket only: true once the socket is open. */
|
|
16002
|
-
wsconnected?: boolean;
|
|
16003
|
-
/** y-websocket only: true once the initial server document sync completed. */
|
|
16004
|
-
synced?: boolean;
|
|
16005
|
-
}
|
|
16006
|
-
/** Everything a freshly-created transport hands back to the service. */
|
|
16007
|
-
interface ProviderBundle {
|
|
16008
|
-
doc: DestroyableYDoc;
|
|
16009
|
-
provider: ProviderLike;
|
|
16010
|
-
awareness: AwarenessLike;
|
|
16011
|
-
factories: YjsFactories;
|
|
16012
|
-
}
|
|
16013
|
-
/** Create a y-websocket transport bundle for `config`. */
|
|
16014
|
-
declare function createWebsocketBundle(config: CollaborationConfig): Promise<ProviderBundle>;
|
|
16015
|
-
/**
|
|
16016
|
-
* Create a y-webrtc (peer-to-peer, serverless) transport bundle for `config`.
|
|
16017
|
-
* Peers rendezvous through the configured `signaling` servers (or y-webrtc's
|
|
16018
|
-
* public default) and same-browser tabs additionally sync via BroadcastChannel.
|
|
16019
|
-
* `authToken` is passed as the room `password`.
|
|
16020
|
-
*/
|
|
16021
|
-
declare function createWebrtcBundle(config: CollaborationConfig): Promise<ProviderBundle>;
|
|
16022
|
-
|
|
16023
|
-
/**
|
|
16024
|
-
* collaboration-local-presence.ts: publishes the local user's presence into a
|
|
16025
|
-
* single awareness `presence` field.
|
|
16026
|
-
*
|
|
16027
|
-
* Cursor, selection, and active-slide updates all merge into one record so a
|
|
16028
|
-
* later cursor move never clobbers the selection (or vice versa). The remote
|
|
16029
|
-
* side reads this shape via the shared `derivePresenceList`.
|
|
16030
|
-
*/
|
|
16031
|
-
|
|
16032
|
-
/** Immutable identity of the local collaborator. */
|
|
16033
|
-
interface LocalIdentity {
|
|
16034
|
-
userName: string;
|
|
16035
|
-
userColor: string;
|
|
16036
|
-
userAvatar?: string;
|
|
16037
|
-
role?: string;
|
|
16038
|
-
}
|
|
16039
|
-
declare class LocalPresencePublisher {
|
|
16040
|
-
private readonly awareness;
|
|
16041
|
-
private readonly identity;
|
|
16042
|
-
private activeSlide;
|
|
16043
|
-
private cursor;
|
|
16044
|
-
private selection;
|
|
16045
|
-
constructor(awareness: AwarenessLike, identity: LocalIdentity);
|
|
16046
|
-
/** Re-emit the merged presence record (also used as a heartbeat). */
|
|
16047
|
-
publish(): void;
|
|
16048
|
-
setCursor(x: number, y: number, activeSlideIndex?: number): void;
|
|
16049
|
-
setSelection(selectedElementId: string | undefined, activeSlideIndex?: number): void;
|
|
16050
|
-
setActiveSlide(index: number): void;
|
|
16051
|
-
}
|
|
16052
|
-
|
|
16053
16132
|
/**
|
|
16054
16133
|
* collaboration-writeback.ts: elected-writer serialization helper for the
|
|
16055
16134
|
* Angular collaboration service.
|