pptx-react-viewer 4.43.0 → 4.44.0

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{AiChatPanel-VI2IQ7XU.js → AiChatPanel-TGZQBH3L.js} +9 -9
  3. package/dist/AiChatPanel-TGZQBH3L.js.br +0 -0
  4. package/dist/AiChatPanel-TGZQBH3L.js.gz +0 -0
  5. package/dist/{AiChatPanel-R5UTSMXU.mjs → AiChatPanel-Z5VHI4WA.mjs} +1 -1
  6. package/dist/AiChatPanel-Z5VHI4WA.mjs.br +0 -0
  7. package/dist/AiChatPanel-Z5VHI4WA.mjs.gz +0 -0
  8. package/dist/{chunk-3LIHPZKS.mjs → chunk-FBN7UFW2.mjs} +15 -9
  9. package/dist/chunk-FBN7UFW2.mjs.br +0 -0
  10. package/dist/chunk-FBN7UFW2.mjs.gz +0 -0
  11. package/dist/{chunk-UACDKMXF.mjs → chunk-NXOETWSO.mjs} +18 -17
  12. package/dist/chunk-NXOETWSO.mjs.br +0 -0
  13. package/dist/chunk-NXOETWSO.mjs.gz +0 -0
  14. package/dist/{chunk-GLWV52C6.js → chunk-OYK6O2UM.js} +260 -259
  15. package/dist/chunk-OYK6O2UM.js.br +0 -0
  16. package/dist/chunk-OYK6O2UM.js.gz +0 -0
  17. package/dist/{chunk-FKY33ZKL.js → chunk-VJZJESNT.js} +14 -8
  18. package/dist/chunk-VJZJESNT.js.br +0 -0
  19. package/dist/chunk-VJZJESNT.js.gz +0 -0
  20. package/dist/{chunk-ITV63NJ5.mjs → chunk-W6PDVBAF.mjs} +113 -127
  21. package/dist/chunk-W6PDVBAF.mjs.br +0 -0
  22. package/dist/chunk-W6PDVBAF.mjs.gz +0 -0
  23. package/dist/{chunk-CHPELGQD.js → chunk-YIYIJB3X.js} +1420 -1434
  24. package/dist/chunk-YIYIJB3X.js.br +0 -0
  25. package/dist/chunk-YIYIJB3X.js.gz +0 -0
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +24 -24
  28. package/dist/index.js.br +0 -0
  29. package/dist/index.js.gz +0 -0
  30. package/dist/index.mjs +3 -3
  31. package/dist/index.mjs.br +0 -0
  32. package/dist/index.mjs.gz +0 -0
  33. package/dist/internals.d.ts +2 -2
  34. package/dist/internals.js +81 -81
  35. package/dist/internals.js.br +0 -0
  36. package/dist/internals.js.gz +0 -0
  37. package/dist/internals.mjs +2 -2
  38. package/dist/internals.mjs.br +0 -0
  39. package/dist/internals.mjs.gz +0 -0
  40. package/dist/viewer/index.d.ts +2 -2
  41. package/dist/viewer/index.js +19 -19
  42. package/dist/viewer/index.js.br +0 -0
  43. package/dist/viewer/index.js.gz +0 -0
  44. package/dist/viewer/index.mjs +3 -3
  45. package/dist/viewer/index.mjs.br +0 -0
  46. package/dist/viewer/index.mjs.gz +0 -0
  47. package/package.json +3 -3
  48. package/dist/AiChatPanel-R5UTSMXU.mjs.br +0 -0
  49. package/dist/AiChatPanel-R5UTSMXU.mjs.gz +0 -0
  50. package/dist/AiChatPanel-VI2IQ7XU.js.br +0 -0
  51. package/dist/AiChatPanel-VI2IQ7XU.js.gz +0 -0
  52. package/dist/chunk-3LIHPZKS.mjs.br +0 -0
  53. package/dist/chunk-3LIHPZKS.mjs.gz +0 -0
  54. package/dist/chunk-CHPELGQD.js.br +0 -0
  55. package/dist/chunk-CHPELGQD.js.gz +0 -0
  56. package/dist/chunk-FKY33ZKL.js.br +0 -0
  57. package/dist/chunk-FKY33ZKL.js.gz +0 -0
  58. package/dist/chunk-GLWV52C6.js.br +0 -0
  59. package/dist/chunk-GLWV52C6.js.gz +0 -0
  60. package/dist/chunk-ITV63NJ5.mjs.br +0 -0
  61. package/dist/chunk-ITV63NJ5.mjs.gz +0 -0
  62. package/dist/chunk-UACDKMXF.mjs.br +0 -0
  63. package/dist/chunk-UACDKMXF.mjs.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
2
- import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, CanvasSize, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, ToolbarActionId, RibbonAddInTab, ViewerCustomization, PowerPointViewerAPI, ViewerCustomizationApi, BorrowedCollaborationAwareness } from 'ooxml-ui/pptx';
2
+ import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, CanvasSize, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, CollaborationInput, 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';
@@ -480,7 +480,7 @@ interface PowerPointViewerProps extends ViewportFitOptions {
480
480
  * />
481
481
  * ```
482
482
  */
483
- collaboration?: CollaborationConfig;
483
+ collaboration?: CollaborationInput;
484
484
  /**
485
485
  * Callback invoked when the user starts a collaboration session from the
486
486
  * Share dialog. The host app should use this to set the `collaboration`
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkCHPELGQD_js = require('../chunk-CHPELGQD.js');
4
- var chunkGLWV52C6_js = require('../chunk-GLWV52C6.js');
5
- var chunkFKY33ZKL_js = require('../chunk-FKY33ZKL.js');
3
+ var chunkYIYIJB3X_js = require('../chunk-YIYIJB3X.js');
4
+ var chunkOYK6O2UM_js = require('../chunk-OYK6O2UM.js');
5
+ var chunkVJZJESNT_js = require('../chunk-VJZJESNT.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 chunkCHPELGQD_js.CollaborationStatusIndicator; }
13
+ get: function () { return chunkYIYIJB3X_js.CollaborationStatusIndicator; }
14
14
  });
15
15
  Object.defineProperty(exports, "PowerPointViewer", {
16
16
  enumerable: true,
17
- get: function () { return chunkCHPELGQD_js.PowerPointViewer; }
17
+ get: function () { return chunkYIYIJB3X_js.PowerPointViewer; }
18
18
  });
19
19
  Object.defineProperty(exports, "UserAvatarBar", {
20
20
  enumerable: true,
21
- get: function () { return chunkCHPELGQD_js.UserAvatarBar; }
21
+ get: function () { return chunkYIYIJB3X_js.UserAvatarBar; }
22
22
  });
23
23
  Object.defineProperty(exports, "CollaborationProvider", {
24
24
  enumerable: true,
25
- get: function () { return chunkGLWV52C6_js.CollaborationProvider; }
25
+ get: function () { return chunkOYK6O2UM_js.CollaborationProvider; }
26
26
  });
27
27
  Object.defineProperty(exports, "RemoteUserCursors", {
28
28
  enumerable: true,
29
- get: function () { return chunkGLWV52C6_js.RemoteUserCursors; }
29
+ get: function () { return chunkOYK6O2UM_js.RemoteUserCursors; }
30
30
  });
31
31
  Object.defineProperty(exports, "clearAudienceContent", {
32
32
  enumerable: true,
33
- get: function () { return chunkGLWV52C6_js.clearAudienceContent; }
33
+ get: function () { return chunkOYK6O2UM_js.clearAudienceContent; }
34
34
  });
35
35
  Object.defineProperty(exports, "isAudienceTab", {
36
36
  enumerable: true,
37
- get: function () { return chunkGLWV52C6_js.isAudienceTab; }
37
+ get: function () { return chunkOYK6O2UM_js.isAudienceTab; }
38
38
  });
39
39
  Object.defineProperty(exports, "loadAudienceContent", {
40
40
  enumerable: true,
41
- get: function () { return chunkGLWV52C6_js.loadAudienceContent; }
41
+ get: function () { return chunkOYK6O2UM_js.loadAudienceContent; }
42
42
  });
43
43
  Object.defineProperty(exports, "parseAudienceNonce", {
44
44
  enumerable: true,
45
- get: function () { return chunkGLWV52C6_js.parseAudienceNonce; }
45
+ get: function () { return chunkOYK6O2UM_js.parseAudienceNonce; }
46
46
  });
47
47
  Object.defineProperty(exports, "storeAudienceContent", {
48
48
  enumerable: true,
49
- get: function () { return chunkGLWV52C6_js.storeAudienceContent; }
49
+ get: function () { return chunkOYK6O2UM_js.storeAudienceContent; }
50
50
  });
51
51
  Object.defineProperty(exports, "useCollaborativeHistory", {
52
52
  enumerable: true,
53
- get: function () { return chunkGLWV52C6_js.useCollaborativeHistory; }
53
+ get: function () { return chunkOYK6O2UM_js.useCollaborativeHistory; }
54
54
  });
55
55
  Object.defineProperty(exports, "useCollaborativeState", {
56
56
  enumerable: true,
57
- get: function () { return chunkGLWV52C6_js.useCollaborativeState; }
57
+ get: function () { return chunkOYK6O2UM_js.useCollaborativeState; }
58
58
  });
59
59
  Object.defineProperty(exports, "usePresenceTracking", {
60
60
  enumerable: true,
61
- get: function () { return chunkGLWV52C6_js.usePresenceTracking; }
61
+ get: function () { return chunkOYK6O2UM_js.usePresenceTracking; }
62
62
  });
63
63
  Object.defineProperty(exports, "useThemeSwitching", {
64
64
  enumerable: true,
65
- get: function () { return chunkGLWV52C6_js.useThemeSwitching; }
65
+ get: function () { return chunkOYK6O2UM_js.useThemeSwitching; }
66
66
  });
67
67
  Object.defineProperty(exports, "useYjsProvider", {
68
68
  enumerable: true,
69
- get: function () { return chunkGLWV52C6_js.useYjsProvider; }
69
+ get: function () { return chunkOYK6O2UM_js.useYjsProvider; }
70
70
  });
71
71
  Object.defineProperty(exports, "getAnimationInitialStyle", {
72
72
  enumerable: true,
73
- get: function () { return chunkFKY33ZKL_js.getAnimationInitialStyle; }
73
+ get: function () { return chunkVJZJESNT_js.getAnimationInitialStyle; }
74
74
  });
75
75
  Object.defineProperty(exports, "forgetSessionDeck", {
76
76
  enumerable: true,
Binary file
Binary file
@@ -1,5 +1,5 @@
1
- export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-ITV63NJ5.mjs';
2
- export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-UACDKMXF.mjs';
3
- export { getAnimationInitialStyle } from '../chunk-3LIHPZKS.mjs';
1
+ export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-W6PDVBAF.mjs';
2
+ export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-NXOETWSO.mjs';
3
+ export { getAnimationInitialStyle } from '../chunk-FBN7UFW2.mjs';
4
4
  import '../chunk-Q3DHYOLK.mjs';
5
5
  export { forgetSessionDeck, getSessionTabId, loadSessionDeck, rememberSessionDeck, restoreSessionDeck } from 'ooxml-ui/pptx';
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-react-viewer",
3
- "version": "4.43.0",
3
+ "version": "4.44.0",
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.17",
121
121
  "html2canvas-pro": "^2.5.2",
122
- "ooxml-core": "^1.20.0",
123
- "ooxml-ui": "^1.19.0",
122
+ "ooxml-core": "^1.21.0",
123
+ "ooxml-ui": "^1.20.0",
124
124
  "opentype.js": "^2.0.0",
125
125
  "tailwind-merge": "^3.7.0"
126
126
  },
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