pptx-react-viewer 1.1.5 → 1.1.7
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-CX0a7wz_.d.mts → PowerPointViewer-C5jGuKGB.d.mts} +3 -1
- package/dist/{PowerPointViewer-CX0a7wz_.d.ts → PowerPointViewer-C5jGuKGB.d.ts} +3 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1575 -515
- package/dist/index.mjs +1577 -517
- package/dist/pptx-viewer.css +1 -1
- package/dist/viewer/index.d.mts +6 -25
- package/dist/viewer/index.d.ts +6 -25
- package/dist/viewer/index.js +1575 -515
- package/dist/viewer/index.mjs +1577 -517
- package/node_modules/emf-converter/package.json +1 -1
- package/node_modules/mtx-decompressor/package.json +1 -1
- package/node_modules/pptx-viewer-core/dist/{SvgExporter-0TxiiorD.d.ts → SvgExporter-BtZczTlB.d.ts} +1 -1
- package/node_modules/pptx-viewer-core/dist/{SvgExporter-BQ4KbRO9.d.mts → SvgExporter-D4mBWJHE.d.mts} +1 -1
- package/node_modules/pptx-viewer-core/dist/cli/index.d.mts +2 -2
- package/node_modules/pptx-viewer-core/dist/cli/index.d.ts +2 -2
- package/node_modules/pptx-viewer-core/dist/cli/index.js +0 -0
- package/node_modules/pptx-viewer-core/dist/cli/index.mjs +0 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.d.mts +3 -3
- package/node_modules/pptx-viewer-core/dist/converter/index.d.ts +3 -3
- package/node_modules/pptx-viewer-core/dist/converter/index.js +0 -0
- package/node_modules/pptx-viewer-core/dist/converter/index.mjs +0 -0
- package/node_modules/pptx-viewer-core/dist/index.d.mts +967 -60
- package/node_modules/pptx-viewer-core/dist/index.d.ts +967 -60
- package/node_modules/pptx-viewer-core/dist/index.js +29613 -16737
- package/node_modules/pptx-viewer-core/dist/index.mjs +29588 -16737
- package/node_modules/pptx-viewer-core/dist/{presentation-ArhfImJ5.d.mts → presentation-nZxgWvXq.d.mts} +875 -27
- package/node_modules/pptx-viewer-core/dist/{presentation-ArhfImJ5.d.ts → presentation-nZxgWvXq.d.ts} +875 -27
- package/node_modules/pptx-viewer-core/dist/{text-operations-CLj-sJyk.d.mts → text-operations-DCTGMltY.d.mts} +1 -1
- package/node_modules/pptx-viewer-core/dist/{text-operations-rhJV-A_W.d.ts → text-operations-DYmhoi7U.d.ts} +1 -1
- package/node_modules/pptx-viewer-core/package.json +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PptxSlide, PptxElement, ShapeStyle, PptxAnimationPreset, ConnectorArrowType, XmlObject, PptxElementAnimation, PptxSlideTransition, StrokeDashType, PptxNativeAnimation } from 'pptx-viewer-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
+
import { Doc } from 'yjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Core data-model types for the PowerPoint viewer/editor plugin.
|
|
@@ -257,6 +258,7 @@ interface ViewerTheme {
|
|
|
257
258
|
*
|
|
258
259
|
* @module collaboration/types
|
|
259
260
|
*/
|
|
261
|
+
|
|
260
262
|
/**
|
|
261
263
|
* Configuration for enabling real-time collaboration on a presentation.
|
|
262
264
|
*
|
|
@@ -323,7 +325,7 @@ interface CollaborationContextValue {
|
|
|
323
325
|
/** The collaboration config that was provided. */
|
|
324
326
|
config: CollaborationConfig;
|
|
325
327
|
/** The Yjs document (for document sync). */
|
|
326
|
-
doc:
|
|
328
|
+
doc: Doc | null;
|
|
327
329
|
/** Manually retry the WebSocket connection after a timeout or error. */
|
|
328
330
|
retry: () => void;
|
|
329
331
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PptxSlide, PptxElement, ShapeStyle, PptxAnimationPreset, ConnectorArrowType, XmlObject, PptxElementAnimation, PptxSlideTransition, StrokeDashType, PptxNativeAnimation } from 'pptx-viewer-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
+
import { Doc } from 'yjs';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Core data-model types for the PowerPoint viewer/editor plugin.
|
|
@@ -257,6 +258,7 @@ interface ViewerTheme {
|
|
|
257
258
|
*
|
|
258
259
|
* @module collaboration/types
|
|
259
260
|
*/
|
|
261
|
+
|
|
260
262
|
/**
|
|
261
263
|
* Configuration for enabling real-time collaboration on a presentation.
|
|
262
264
|
*
|
|
@@ -323,7 +325,7 @@ interface CollaborationContextValue {
|
|
|
323
325
|
/** The collaboration config that was provided. */
|
|
324
326
|
config: CollaborationConfig;
|
|
325
327
|
/** The Yjs document (for document sync). */
|
|
326
|
-
doc:
|
|
328
|
+
doc: Doc | null;
|
|
327
329
|
/** Manually retry the WebSocket connection after a timeout or error. */
|
|
328
330
|
retry: () => void;
|
|
329
331
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { V as ViewerThemeColors, a as ViewerTheme } from './PowerPointViewer-
|
|
2
|
-
export { P as PowerPointViewer, b as PowerPointViewerHandle, c as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-
|
|
1
|
+
import { V as ViewerThemeColors, a as ViewerTheme } from './PowerPointViewer-C5jGuKGB.mjs';
|
|
2
|
+
export { P as PowerPointViewer, b as PowerPointViewerHandle, c as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-C5jGuKGB.mjs';
|
|
3
3
|
import { Options } from 'html2canvas-pro';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import 'pptx-viewer-core';
|
|
6
6
|
import 'react';
|
|
7
|
+
import 'yjs';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Default dark-theme color values.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { V as ViewerThemeColors, a as ViewerTheme } from './PowerPointViewer-
|
|
2
|
-
export { P as PowerPointViewer, b as PowerPointViewerHandle, c as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-
|
|
1
|
+
import { V as ViewerThemeColors, a as ViewerTheme } from './PowerPointViewer-C5jGuKGB.js';
|
|
2
|
+
export { P as PowerPointViewer, b as PowerPointViewerHandle, c as PowerPointViewerProps, g as getAnimationInitialStyle } from './PowerPointViewer-C5jGuKGB.js';
|
|
3
3
|
import { Options } from 'html2canvas-pro';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import 'pptx-viewer-core';
|
|
6
6
|
import 'react';
|
|
7
|
+
import 'yjs';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Default dark-theme color values.
|