pptx-react-viewer 1.1.46 → 1.1.48

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/dist/index.mjs.br CHANGED
Binary file
package/dist/index.mjs.gz CHANGED
Binary file
@@ -1,5 +1,5 @@
1
- import { C as CollaborationConfig, c as ConnectionStatus, U as UserPresence, d as CollaborationContextValue } from '../PowerPointViewer-B_EM_Tg7.mjs';
2
- export { A as AccessibilityIssue, e as AnimationPresetOption, f as CanvasSize, h as CollaborationRole, i as ConnectorArrowOption, j as ConnectorGeometryOption, k as ConnectorGeometryType, l as ConnectorPathGeometry, D as DragState, m as DrawingTool, E as EditorHistorySnapshot, n as ElementBounds, o as ElementClipboardPayload, p as ElementContextMenuAction, q as ElementContextMenuState, F as FileViewerHandle, M as MarqueeSelectionState, r as ParsedTableCell, s as ParsedTableData, P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, t as PresentationAnimationRuntime, R as ResizeHandle, u as ResizeState, S as ShapeAdjustmentDragState, v as ShapeAdjustmentHandleDescriptor, w as ShapePreset, x as ShapeQuickStyle, y as ShortcutReferenceItem, z as SlideAlignment, B as SlideSectionGroup, G as SlideTransitionOption, H as StrokeDashOption, I as SupportedShapeType, T as TableCellEditorState, J as ToolbarSection, V as ViewerMode, g as getAnimationInitialStyle } from '../PowerPointViewer-B_EM_Tg7.mjs';
1
+ import { C as CollaborationConfig, c as ConnectionStatus, U as UserPresence, d as CollaborationContextValue } from '../PowerPointViewer-DSaLy8x5.mjs';
2
+ export { A as AccessibilityIssue, e as AnimationPresetOption, f as CanvasSize, h as CollaborationRole, i as ConnectorArrowOption, j as ConnectorGeometryOption, k as ConnectorGeometryType, l as ConnectorPathGeometry, D as DragState, m as DrawingTool, E as EditorHistorySnapshot, n as ElementBounds, o as ElementClipboardPayload, p as ElementContextMenuAction, q as ElementContextMenuState, F as FileViewerHandle, M as MarqueeSelectionState, r as ParsedTableCell, s as ParsedTableData, P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, t as PresentationAnimationRuntime, R as ResizeHandle, u as ResizeState, S as ShapeAdjustmentDragState, v as ShapeAdjustmentHandleDescriptor, w as ShapePreset, x as ShapeQuickStyle, y as ShortcutReferenceItem, z as SlideAlignment, B as SlideSectionGroup, G as SlideTransitionOption, H as StrokeDashOption, I as SupportedShapeType, T as TableCellEditorState, J as ToolbarSection, V as ViewerMode, g as getAnimationInitialStyle } from '../PowerPointViewer-DSaLy8x5.mjs';
3
3
  import { d, e, n, o, m, l, P, X, p, q, r, s, t, u, v, w, x, y, z, A, B, D, E, F, G, H, J, K, L, h, i, k, j, f, g } from './presentation-BRAUjTRt.js';
4
4
  import React__default, { RefObject } from 'react';
5
5
  import { Awareness } from 'y-protocols/awareness';
@@ -1400,6 +1400,19 @@ interface ThemeSwitchingResult {
1400
1400
  */
1401
1401
  declare function useThemeSwitching(input: UseThemeSwitchingInput): ThemeSwitchingResult;
1402
1402
 
1403
+ /**
1404
+ * useYjsProvider: Manages the Yjs document and WebSocket provider lifecycle.
1405
+ *
1406
+ * Creates a Y.Doc and connects via WebSocketProvider to the collaboration
1407
+ * server. Exposes connection status and cleanup on unmount.
1408
+ *
1409
+ * This hook is intentionally thin: it only manages the transport layer.
1410
+ * Application-level collaboration logic lives in useCollaborativeState
1411
+ * and usePresenceTracking.
1412
+ *
1413
+ * @module collaboration/useYjsProvider
1414
+ */
1415
+
1403
1416
  interface UseYjsProviderInput {
1404
1417
  config: CollaborationConfig;
1405
1418
  }
@@ -1,5 +1,5 @@
1
- import { C as CollaborationConfig, c as ConnectionStatus, U as UserPresence, d as CollaborationContextValue } from '../PowerPointViewer-B_EM_Tg7.js';
2
- export { A as AccessibilityIssue, e as AnimationPresetOption, f as CanvasSize, h as CollaborationRole, i as ConnectorArrowOption, j as ConnectorGeometryOption, k as ConnectorGeometryType, l as ConnectorPathGeometry, D as DragState, m as DrawingTool, E as EditorHistorySnapshot, n as ElementBounds, o as ElementClipboardPayload, p as ElementContextMenuAction, q as ElementContextMenuState, F as FileViewerHandle, M as MarqueeSelectionState, r as ParsedTableCell, s as ParsedTableData, P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, t as PresentationAnimationRuntime, R as ResizeHandle, u as ResizeState, S as ShapeAdjustmentDragState, v as ShapeAdjustmentHandleDescriptor, w as ShapePreset, x as ShapeQuickStyle, y as ShortcutReferenceItem, z as SlideAlignment, B as SlideSectionGroup, G as SlideTransitionOption, H as StrokeDashOption, I as SupportedShapeType, T as TableCellEditorState, J as ToolbarSection, V as ViewerMode, g as getAnimationInitialStyle } from '../PowerPointViewer-B_EM_Tg7.js';
1
+ import { C as CollaborationConfig, c as ConnectionStatus, U as UserPresence, d as CollaborationContextValue } from '../PowerPointViewer-DSaLy8x5.js';
2
+ export { A as AccessibilityIssue, e as AnimationPresetOption, f as CanvasSize, h as CollaborationRole, i as ConnectorArrowOption, j as ConnectorGeometryOption, k as ConnectorGeometryType, l as ConnectorPathGeometry, D as DragState, m as DrawingTool, E as EditorHistorySnapshot, n as ElementBounds, o as ElementClipboardPayload, p as ElementContextMenuAction, q as ElementContextMenuState, F as FileViewerHandle, M as MarqueeSelectionState, r as ParsedTableCell, s as ParsedTableData, P as PowerPointViewer, a as PowerPointViewerHandle, b as PowerPointViewerProps, t as PresentationAnimationRuntime, R as ResizeHandle, u as ResizeState, S as ShapeAdjustmentDragState, v as ShapeAdjustmentHandleDescriptor, w as ShapePreset, x as ShapeQuickStyle, y as ShortcutReferenceItem, z as SlideAlignment, B as SlideSectionGroup, G as SlideTransitionOption, H as StrokeDashOption, I as SupportedShapeType, T as TableCellEditorState, J as ToolbarSection, V as ViewerMode, g as getAnimationInitialStyle } from '../PowerPointViewer-DSaLy8x5.js';
3
3
  import { d, e, n, o, m, l, P, X, p, q, r, s, t, u, v, w, x, y, z, A, B, D, E, F, G, H, J, K, L, h, i, k, j, f, g } from './presentation-BRAUjTRt.js';
4
4
  import React__default, { RefObject } from 'react';
5
5
  import { Awareness } from 'y-protocols/awareness';
@@ -1400,6 +1400,19 @@ interface ThemeSwitchingResult {
1400
1400
  */
1401
1401
  declare function useThemeSwitching(input: UseThemeSwitchingInput): ThemeSwitchingResult;
1402
1402
 
1403
+ /**
1404
+ * useYjsProvider: Manages the Yjs document and WebSocket provider lifecycle.
1405
+ *
1406
+ * Creates a Y.Doc and connects via WebSocketProvider to the collaboration
1407
+ * server. Exposes connection status and cleanup on unmount.
1408
+ *
1409
+ * This hook is intentionally thin: it only manages the transport layer.
1410
+ * Application-level collaboration logic lives in useCollaborativeState
1411
+ * and usePresenceTracking.
1412
+ *
1413
+ * @module collaboration/useYjsProvider
1414
+ */
1415
+
1403
1416
  interface UseYjsProviderInput {
1404
1417
  config: CollaborationConfig;
1405
1418
  }