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/{PowerPointViewer-B_EM_Tg7.d.mts → PowerPointViewer-DSaLy8x5.d.mts} +4 -10
- package/dist/{PowerPointViewer-B_EM_Tg7.d.ts → PowerPointViewer-DSaLy8x5.d.ts} +4 -10
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +287 -287
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +287 -287
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/viewer/index.d.mts +15 -2
- package/dist/viewer/index.d.ts +15 -2
- package/dist/viewer/index.js +287 -287
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +287 -287
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CollaborationConfig, c as ConnectionStatus, U as UserPresence, d as CollaborationContextValue } from '../PowerPointViewer-
|
|
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-
|
|
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
|
}
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CollaborationConfig, c as ConnectionStatus, U as UserPresence, d as CollaborationContextValue } from '../PowerPointViewer-
|
|
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-
|
|
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
|
}
|