pptx-react-viewer 4.32.0 → 4.33.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 +36 -0
- package/README.md +3 -2
- package/dist/{AiChatPanel-H6ULCALE.mjs → AiChatPanel-CYD46SEM.mjs} +1 -1
- package/dist/AiChatPanel-CYD46SEM.mjs.br +0 -0
- package/dist/AiChatPanel-CYD46SEM.mjs.gz +0 -0
- package/dist/{AiChatPanel-4JU6JFZT.js → AiChatPanel-ONHWZEPV.js} +9 -9
- package/dist/AiChatPanel-ONHWZEPV.js.br +0 -0
- package/dist/AiChatPanel-ONHWZEPV.js.gz +0 -0
- package/dist/{chunk-5O6SSO3K.mjs → chunk-2OIJUZD5.mjs} +8 -3
- package/dist/chunk-2OIJUZD5.mjs.br +0 -0
- package/dist/chunk-2OIJUZD5.mjs.gz +0 -0
- package/dist/{chunk-ZM4QAOFK.js → chunk-7DGKSEIU.js} +4 -9
- package/dist/chunk-7DGKSEIU.js.br +0 -0
- package/dist/chunk-7DGKSEIU.js.gz +0 -0
- package/dist/{chunk-OE5UAZ2Y.mjs → chunk-GSMY5BTO.mjs} +99 -38
- package/dist/chunk-GSMY5BTO.mjs.br +0 -0
- package/dist/chunk-GSMY5BTO.mjs.gz +0 -0
- package/dist/{chunk-NF6QQBYI.js → chunk-JHYNVFFS.js} +1355 -1294
- package/dist/chunk-JHYNVFFS.js.br +0 -0
- package/dist/chunk-JHYNVFFS.js.gz +0 -0
- package/dist/{chunk-BLTSLCCE.mjs → chunk-K4UXDQZ6.mjs} +4 -9
- package/dist/chunk-K4UXDQZ6.mjs.br +0 -0
- package/dist/chunk-K4UXDQZ6.mjs.gz +0 -0
- package/dist/{chunk-OAB7K6VH.js → chunk-TVSTM5J5.js} +252 -247
- package/dist/chunk-TVSTM5J5.js.br +0 -0
- package/dist/chunk-TVSTM5J5.js.gz +0 -0
- package/dist/index.d.ts +19 -1
- package/dist/index.js +24 -24
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.js +81 -81
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +2 -2
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.d.ts +19 -1
- package/dist/viewer/index.js +19 -19
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +3 -3
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +4 -4
- package/dist/AiChatPanel-4JU6JFZT.js.br +0 -0
- package/dist/AiChatPanel-4JU6JFZT.js.gz +0 -0
- package/dist/AiChatPanel-H6ULCALE.mjs.br +0 -0
- package/dist/AiChatPanel-H6ULCALE.mjs.gz +0 -0
- package/dist/chunk-5O6SSO3K.mjs.br +0 -0
- package/dist/chunk-5O6SSO3K.mjs.gz +0 -0
- package/dist/chunk-BLTSLCCE.mjs.br +0 -0
- package/dist/chunk-BLTSLCCE.mjs.gz +0 -0
- package/dist/chunk-NF6QQBYI.js.br +0 -0
- package/dist/chunk-NF6QQBYI.js.gz +0 -0
- package/dist/chunk-OAB7K6VH.js.br +0 -0
- package/dist/chunk-OAB7K6VH.js.gz +0 -0
- package/dist/chunk-OE5UAZ2Y.mjs.br +0 -0
- package/dist/chunk-OE5UAZ2Y.mjs.gz +0 -0
- package/dist/chunk-ZM4QAOFK.js.br +0 -0
- package/dist/chunk-ZM4QAOFK.js.gz +0 -0
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
|
|
2
|
-
import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, ToolbarActionId, ViewerCustomization, PowerPointViewerAPI, ViewerCustomizationApi, BorrowedCollaborationAwareness } from 'ooxml-ui/pptx';
|
|
2
|
+
import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, ToolbarActionId, RibbonAddInTab, ViewerCustomization, PowerPointViewerAPI, ViewerCustomizationApi, BorrowedCollaborationAwareness } from 'ooxml-ui/pptx';
|
|
3
3
|
export { CollaborationConfig, CollaborationRole, ElementClipboardPayload, ExternalCollaborationAwareness, ExternalCollaborationSession, ExternalCollaborationSnapshot, SessionDeck, ShapeAdjustmentDragState, ShapeAdjustmentHandleDescriptor, ViewerMode, clearAudienceContent, forgetSessionDeck, getSessionTabId, loadAudienceContent, loadSessionDeck, rememberSessionDeck, restoreSessionDeck, storeAudienceContent } from 'ooxml-ui/pptx';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import React__default, { RefObject } from 'react';
|
|
@@ -597,6 +597,24 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
597
597
|
* ```
|
|
598
598
|
*/
|
|
599
599
|
hiddenActions?: ToolbarActionId[];
|
|
600
|
+
/**
|
|
601
|
+
* Ribbon tabs the host adds after Help, as an Office add-in does. Each
|
|
602
|
+
* command runs its `run` callback and dispatches a bubbling
|
|
603
|
+
* `office-ribbon-add-in` DOM event (`{ tab, command }`) from the viewer. A
|
|
604
|
+
* tab cannot take the id of a built-in tab, and a drop-down (`items`) is
|
|
605
|
+
* drawn as its items. The desktop ribbon shows them; the phone toolbar does not.
|
|
606
|
+
*
|
|
607
|
+
* @example
|
|
608
|
+
* ```tsx
|
|
609
|
+
* <PowerPointViewer
|
|
610
|
+
* content={bytes}
|
|
611
|
+
* ribbonAddIns={[{ id: 'reports', label: 'Reports', groups: [
|
|
612
|
+
* { label: 'Export', commands: [{ id: 'export', label: 'Export', run: exportReport }] },
|
|
613
|
+
* ] }]}
|
|
614
|
+
* />
|
|
615
|
+
* ```
|
|
616
|
+
*/
|
|
617
|
+
ribbonAddIns?: readonly RibbonAddInTab[];
|
|
600
618
|
/**
|
|
601
619
|
* Opt in to the built-in AI assistant. When provided, a Sparkles toggle
|
|
602
620
|
* appears in the toolbar and opens a chat panel wired to this config; when
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkJHYNVFFS_js = require('../chunk-JHYNVFFS.js');
|
|
4
|
+
var chunkTVSTM5J5_js = require('../chunk-TVSTM5J5.js');
|
|
5
|
+
var chunk7DGKSEIU_js = require('../chunk-7DGKSEIU.js');
|
|
6
6
|
require('../chunk-W2IMY5SY.js');
|
|
7
7
|
var pptx = require('ooxml-ui/pptx');
|
|
8
8
|
|
|
@@ -10,67 +10,67 @@ var pptx = require('ooxml-ui/pptx');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "CollaborationStatusIndicator", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJHYNVFFS_js.CollaborationStatusIndicator; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkJHYNVFFS_js.PowerPointViewer; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "UserAvatarBar", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkJHYNVFFS_js.UserAvatarBar; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CollaborationProvider", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkTVSTM5J5_js.CollaborationProvider; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "RemoteUserCursors", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTVSTM5J5_js.RemoteUserCursors; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "clearAudienceContent", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkTVSTM5J5_js.clearAudienceContent; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isAudienceTab", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTVSTM5J5_js.isAudienceTab; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "loadAudienceContent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTVSTM5J5_js.loadAudienceContent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "parseAudienceNonce", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTVSTM5J5_js.parseAudienceNonce; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "storeAudienceContent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTVSTM5J5_js.storeAudienceContent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTVSTM5J5_js.useCollaborativeHistory; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "useCollaborativeState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkTVSTM5J5_js.useCollaborativeState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "usePresenceTracking", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkTVSTM5J5_js.usePresenceTracking; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "useThemeSwitching", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkTVSTM5J5_js.useThemeSwitching; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "useYjsProvider", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkTVSTM5J5_js.useYjsProvider; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk7DGKSEIU_js.getAnimationInitialStyle; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "forgetSessionDeck", {
|
|
76
76
|
enumerable: true,
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-
|
|
2
|
-
export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-
|
|
3
|
-
export { getAnimationInitialStyle } from '../chunk-
|
|
1
|
+
export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-GSMY5BTO.mjs';
|
|
2
|
+
export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-2OIJUZD5.mjs';
|
|
3
|
+
export { getAnimationInitialStyle } from '../chunk-K4UXDQZ6.mjs';
|
|
4
4
|
import '../chunk-Q3DHYOLK.mjs';
|
|
5
5
|
export { forgetSessionDeck, getSessionTabId, loadSessionDeck, rememberSessionDeck, restoreSessionDeck } from 'ooxml-ui/pptx';
|
package/dist/viewer/index.mjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.mjs.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-react-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.33.1",
|
|
4
4
|
"description": "pptx-viewer for React: a PowerPoint viewer and editor component to render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editor",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"clsx": "^2.1.1",
|
|
120
120
|
"dompurify": "^3.4.16",
|
|
121
121
|
"html2canvas-pro": "^2.5.1",
|
|
122
|
-
"ooxml-core": "^1.
|
|
123
|
-
"ooxml-ui": "^1.
|
|
122
|
+
"ooxml-core": "^1.8.2",
|
|
123
|
+
"ooxml-ui": "^1.8.3",
|
|
124
124
|
"opentype.js": "^2.0.0",
|
|
125
125
|
"tailwind-merge": "^3.7.0"
|
|
126
126
|
},
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"@types/opentype.js": "^1.3.10",
|
|
132
132
|
"@types/react": "^19.3.0",
|
|
133
133
|
"@types/react-dom": "^19.3.0",
|
|
134
|
-
"pptx-viewer-core": "^4.13.
|
|
134
|
+
"pptx-viewer-core": "^4.13.5",
|
|
135
135
|
"tailwindcss": "^4.3.3",
|
|
136
136
|
"tsdown": "^0.23.0",
|
|
137
137
|
"tsup": "^8.5.1",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|