pptx-react-viewer 4.49.0 → 4.51.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.
- package/CHANGELOG.md +125 -0
- package/README.md +38 -4
- package/dist/{AiChatPanel-S4WNQCY4.js → AiChatPanel-EV22O7UO.js} +19 -20
- package/dist/AiChatPanel-EV22O7UO.js.br +0 -0
- package/dist/AiChatPanel-EV22O7UO.js.gz +0 -0
- package/dist/{AiChatPanel-NKTBHT5B.mjs → AiChatPanel-R323KNGN.mjs} +1 -2
- package/dist/AiChatPanel-R323KNGN.mjs.br +0 -0
- package/dist/AiChatPanel-R323KNGN.mjs.gz +0 -0
- package/dist/{chunk-Z62JFXMZ.mjs → chunk-ACFR4LFQ.mjs} +577 -1028
- package/dist/chunk-ACFR4LFQ.mjs.br +0 -0
- package/dist/chunk-ACFR4LFQ.mjs.gz +0 -0
- package/dist/chunk-DDJ634MV.js.br +0 -0
- package/dist/chunk-DDJ634MV.js.gz +0 -0
- package/dist/{chunk-YKLL2Z33.mjs → chunk-ETJ752B5.mjs} +597 -1871
- package/dist/chunk-ETJ752B5.mjs.br +0 -0
- package/dist/chunk-ETJ752B5.mjs.gz +0 -0
- package/dist/chunk-QIUK53JR.mjs.br +0 -0
- package/dist/chunk-QIUK53JR.mjs.gz +0 -0
- package/dist/{chunk-ME5QRTVS.js → chunk-V3XADJ2O.js} +763 -1214
- package/dist/chunk-V3XADJ2O.js.br +0 -0
- package/dist/chunk-V3XADJ2O.js.gz +0 -0
- package/dist/{chunk-2ZXXHNNR.js → chunk-VI5DQRQZ.js} +2052 -3325
- package/dist/chunk-VI5DQRQZ.js.br +0 -0
- package/dist/chunk-VI5DQRQZ.js.gz +0 -0
- package/dist/{chunk-JAI42EXQ.js → chunk-Z22RD3E2.js} +41 -12
- package/dist/chunk-Z22RD3E2.js.br +0 -0
- package/dist/chunk-Z22RD3E2.js.gz +0 -0
- package/dist/{chunk-PFV626ED.mjs → chunk-ZCGYPCZM.mjs} +37 -8
- package/dist/chunk-ZCGYPCZM.mjs.br +0 -0
- package/dist/chunk-ZCGYPCZM.mjs.gz +0 -0
- package/dist/i18n/de.cjs +1138 -221
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +1138 -221
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +1138 -221
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +1138 -221
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +1138 -221
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +1138 -221
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +1138 -221
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +1138 -221
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.d.ts +56 -27
- package/dist/index.js +28 -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.d.ts +105 -94
- 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/pptx-viewer-canvas.css +1 -1
- package/dist/pptx-viewer-canvas.css.br +0 -0
- package/dist/pptx-viewer-canvas.css.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/viewer/index.d.ts +58 -24
- package/dist/viewer/index.js +23 -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/dist/{y-webrtc-2H7UYAQD.mjs → y-webrtc-HRGGVQZH.mjs} +1 -1
- package/dist/y-webrtc-HRGGVQZH.mjs.br +0 -0
- package/dist/y-webrtc-HRGGVQZH.mjs.gz +0 -0
- package/dist/{y-webrtc-DVPQNFLL.js → y-webrtc-QVVT5PCK.js} +124 -124
- package/dist/y-webrtc-QVVT5PCK.js.br +0 -0
- package/dist/y-webrtc-QVVT5PCK.js.gz +0 -0
- package/dist/{y-websocket-WORVRRQS.mjs → y-websocket-46M6UFI7.mjs} +1 -1
- package/dist/y-websocket-46M6UFI7.mjs.br +0 -0
- package/dist/y-websocket-46M6UFI7.mjs.gz +0 -0
- package/dist/{y-websocket-TN4OKPXQ.js → y-websocket-EDOMWMAD.js} +78 -78
- package/dist/y-websocket-EDOMWMAD.js.br +0 -0
- package/dist/y-websocket-EDOMWMAD.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-NKTBHT5B.mjs.br +0 -0
- package/dist/AiChatPanel-NKTBHT5B.mjs.gz +0 -0
- package/dist/AiChatPanel-S4WNQCY4.js.br +0 -0
- package/dist/AiChatPanel-S4WNQCY4.js.gz +0 -0
- package/dist/chunk-2ZXXHNNR.js.br +0 -0
- package/dist/chunk-2ZXXHNNR.js.gz +0 -0
- package/dist/chunk-3VVZGHHY.mjs.br +0 -0
- package/dist/chunk-3VVZGHHY.mjs.gz +0 -0
- package/dist/chunk-JAI42EXQ.js.br +0 -0
- package/dist/chunk-JAI42EXQ.js.gz +0 -0
- package/dist/chunk-ME5QRTVS.js.br +0 -0
- package/dist/chunk-ME5QRTVS.js.gz +0 -0
- package/dist/chunk-NUNDT6EL.js.br +0 -0
- package/dist/chunk-NUNDT6EL.js.gz +0 -0
- package/dist/chunk-PFV626ED.mjs.br +0 -0
- package/dist/chunk-PFV626ED.mjs.gz +0 -0
- package/dist/chunk-YKLL2Z33.mjs.br +0 -0
- package/dist/chunk-YKLL2Z33.mjs.gz +0 -0
- package/dist/chunk-Z62JFXMZ.mjs.br +0 -0
- package/dist/chunk-Z62JFXMZ.mjs.gz +0 -0
- package/dist/y-webrtc-2H7UYAQD.mjs.br +0 -0
- package/dist/y-webrtc-2H7UYAQD.mjs.gz +0 -0
- package/dist/y-webrtc-DVPQNFLL.js.br +0 -0
- package/dist/y-webrtc-DVPQNFLL.js.gz +0 -0
- package/dist/y-websocket-TN4OKPXQ.js.br +0 -0
- package/dist/y-websocket-TN4OKPXQ.js.gz +0 -0
- package/dist/y-websocket-WORVRRQS.mjs.br +0 -0
- package/dist/y-websocket-WORVRRQS.mjs.gz +0 -0
- package/dist/{chunk-NUNDT6EL.js → chunk-DDJ634MV.js} +436 -436
- package/dist/{chunk-3VVZGHHY.mjs → chunk-QIUK53JR.mjs} +436 -436
package/dist/viewer/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
|
|
|
2
2
|
import { CollaborationRole, CollaborationConfig, ViewportFitOptions, ViewerFontSource, CanvasSize, DocumentStorage, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, 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
|
-
import React__default, { RefObject } from 'react';
|
|
5
|
+
import React__default, { ReactNode, ReactElement, RefObject } from 'react';
|
|
6
6
|
import { LocaleCatalogEntry } from 'ooxml-ui/pptx/i18n';
|
|
7
7
|
import { PptxAnimationPreset, ConnectorArrowType, PptxSlide, PptxElement, XmlObject, PptxCoreProperties, PptxElementAnimation, ShapeStyle, PptxSlideTransition, StrokeDashType, PptxNativeAnimation, PptxThemePreset, PptxThemeColorScheme, PptxThemeFontScheme, PptxHandler, PptxData } from 'ooxml-core/pptx';
|
|
8
8
|
import { CollaborationWriteBackState, CollaborationState } from 'ooxml-core/collab';
|
|
@@ -480,21 +480,21 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
480
480
|
*/
|
|
481
481
|
onThemeChange?: (key: string) => void;
|
|
482
482
|
/**
|
|
483
|
-
* Initial locale code for File > Options > Language. Falls back to a
|
|
484
|
-
*
|
|
483
|
+
* Initial locale code for File > Options > Language. Falls back to a persisted `localStorage`
|
|
484
|
+
* choice, then `'en'`. Ignored inside a `PptxI18nProvider`, whose `locale` is the language.
|
|
485
485
|
*/
|
|
486
486
|
defaultLocale?: string;
|
|
487
487
|
/**
|
|
488
|
-
* Locale choices offered by File > Options > Language. Defaults to the
|
|
489
|
-
*
|
|
490
|
-
*
|
|
488
|
+
* Locale choices offered by File > Options > Language. Defaults to the codes registered on the
|
|
489
|
+
* host's `react-i18next` instance. Inside a `PptxI18nProvider` there is no default: pass two or
|
|
490
|
+
* more, together with `onLocaleChange`, to show the Language category.
|
|
491
491
|
*/
|
|
492
492
|
availableLocales?: LocaleCatalogEntry[];
|
|
493
493
|
/**
|
|
494
|
-
* Called when the user picks a language from File > Options > Language.
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
*
|
|
494
|
+
* Called when the user picks a language from File > Options > Language. When provided, the
|
|
495
|
+
* host owns applying and persisting the choice; otherwise the viewer applies and persists it
|
|
496
|
+
* itself. Inside a `PptxI18nProvider` the host always owns the language: without this callback
|
|
497
|
+
* the Language category is left out.
|
|
498
498
|
*/
|
|
499
499
|
onLocaleChange?: (code: string) => void;
|
|
500
500
|
/**
|
|
@@ -724,6 +724,45 @@ declare function getAnimationInitialStyle(preset: PptxAnimationPreset | undefine
|
|
|
724
724
|
* access (e.g. serialising the current content for saving).
|
|
725
725
|
*/
|
|
726
726
|
declare const PowerPointViewer: React.ForwardRefExoticComponent<PowerPointViewerProps & React.RefAttributes<PowerPointViewerHandle>>;
|
|
727
|
+
//#endregion
|
|
728
|
+
//#region src/viewer/i18n/types.d.ts
|
|
729
|
+
/** What the viewer passes `translate`: exactly the params of the call. */
|
|
730
|
+
interface PptxTranslateParams {
|
|
731
|
+
readonly defaultValue?: string;
|
|
732
|
+
readonly count?: number;
|
|
733
|
+
readonly [name: string]: unknown;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* A host translator for {@link PptxI18nProvider}: the text for a viewer key (`pptx.*`) in the
|
|
737
|
+
* host's active language. Return the key itself, an empty string, `null` or `undefined` for "no
|
|
738
|
+
* translation": the viewer then shows its built-in English text.
|
|
739
|
+
*/
|
|
740
|
+
type PptxTranslate = (key: string, params?: PptxTranslateParams) => string | null | undefined;
|
|
741
|
+
//#endregion
|
|
742
|
+
//#region src/viewer/i18n/provider.d.ts
|
|
743
|
+
interface PptxI18nProviderProps {
|
|
744
|
+
/**
|
|
745
|
+
* Translates a viewer key; see {@link PptxTranslate}. Keep it referentially stable (a
|
|
746
|
+
* module-level function or `useCallback`): the viewer re-translates, re-rendering and re-running
|
|
747
|
+
* every translated effect, whenever `translate` or `locale` changes. To pick up messages loaded
|
|
748
|
+
* later for the same language, pass a new function.
|
|
749
|
+
*/
|
|
750
|
+
readonly translate: PptxTranslate;
|
|
751
|
+
/**
|
|
752
|
+
* The host's active language: what the viewer reports and File > Options > Language shows as
|
|
753
|
+
* selected. A change re-translates the viewer, also when `translate` stays the same.
|
|
754
|
+
*/
|
|
755
|
+
readonly locale: string;
|
|
756
|
+
readonly children?: ReactNode;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Translates every viewer component below it (`PowerPointViewer` and the standalone building
|
|
760
|
+
* blocks) through the host's own i18n library instead of react-i18next. A `PowerPointViewer`
|
|
761
|
+
* reads the provider nearest above it; a provider rendered inside the viewer is ignored, so the
|
|
762
|
+
* whole viewer shares one language. React only: the other bindings translate through their
|
|
763
|
+
* framework's i18n library or a `messages` dictionary.
|
|
764
|
+
*/
|
|
765
|
+
declare function PptxI18nProvider({ translate, locale, children }: PptxI18nProviderProps): ReactElement;
|
|
727
766
|
|
|
728
767
|
//#region src/viewer/hooks/useThemeSwitching.d.ts
|
|
729
768
|
interface UseThemeSwitchingInput {
|
|
@@ -912,7 +951,7 @@ interface UseYjsProviderInput {
|
|
|
912
951
|
config?: CollaborationConfig;
|
|
913
952
|
}
|
|
914
953
|
interface UseYjsProviderResult {
|
|
915
|
-
/** Current
|
|
954
|
+
/** Current connection status. */
|
|
916
955
|
status: ConnectionStatus$1;
|
|
917
956
|
/** The Yjs awareness instance (null until connected). */
|
|
918
957
|
awareness: Awareness | null;
|
|
@@ -924,24 +963,19 @@ interface UseYjsProviderResult {
|
|
|
924
963
|
* Whether the provider completed its initial document sync. Local doc
|
|
925
964
|
* writes should be gated on this so a late joiner never seeds its
|
|
926
965
|
* bootstrap deck into a room whose content has not arrived yet. Websocket
|
|
927
|
-
* flips it on the provider's
|
|
928
|
-
*
|
|
929
|
-
* receives a sync event).
|
|
966
|
+
* flips it on the provider's sync event; webrtc on peer sync or after the
|
|
967
|
+
* grace period (a lone fresh-room peer never receives a sync event).
|
|
930
968
|
*/
|
|
931
969
|
synced: boolean;
|
|
932
970
|
/** Manually retry the connection after a timeout or error. */
|
|
933
971
|
retry: () => void;
|
|
934
972
|
}
|
|
935
973
|
/**
|
|
936
|
-
* Lazily loads `yjs` and
|
|
937
|
-
*
|
|
938
|
-
*
|
|
939
|
-
*
|
|
940
|
-
* the provider is torn down and status moves to `'error'`. The consumer
|
|
941
|
-
* can call `retry()` to attempt a fresh connection.
|
|
974
|
+
* Lazily loads `yjs` and the transport, creates a Y.Doc and provider, and
|
|
975
|
+
* tracks the connection lifecycle through the shared session controller.
|
|
976
|
+
* The Yjs packages are dynamically imported so they are fully tree-shaken
|
|
977
|
+
* when collaboration is not enabled.
|
|
942
978
|
*
|
|
943
|
-
* The Yjs packages are dynamically imported so they are fully
|
|
944
|
-
* tree-shaken when collaboration is not enabled.
|
|
945
979
|
* This low-level hook owns built-in transports only. Use useCollaborativeState
|
|
946
980
|
* (or the full/headless viewer) to attach a host-owned external session.
|
|
947
981
|
*/
|
|
@@ -1066,5 +1100,5 @@ interface CollaborationStatusIndicatorProps {
|
|
|
1066
1100
|
}
|
|
1067
1101
|
declare function CollaborationStatusIndicator({ status, connectedCount, onRetry }: CollaborationStatusIndicatorProps): React__default.ReactElement;
|
|
1068
1102
|
|
|
1069
|
-
export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, RemoteUserCursors, UserAvatarBar, getAnimationInitialStyle, isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider };
|
|
1070
|
-
export type { AccessibilityIssue, AnimationPresetOption, CanvasContextMenuState, CanvasSize$1 as CanvasSize, CollaborationContextValue, CollaborationStatusIndicatorProps, ConnectionStatus$1 as ConnectionStatus, ConnectorArrowOption, ConnectorGeometryOption, ConnectorGeometryType, ConnectorPathGeometry, DragState, DrawingTool, EditorHistorySnapshot, ElementBounds, ElementContextMenuAction, ElementContextMenuState, FileViewerHandle, MarqueeSelectionState, ParsedTableCell, ParsedTableData, PowerPointViewerHandle, PowerPointViewerProps, PresentationAnimationRuntime, RemoteUserCursorsProps, ResizeHandle, ResizeState, ShapePreset, ShapeQuickStyle, ShortcutReferenceItem, SlideAlignment, SlideSectionGroup, SlideTransitionOption, StrokeDashOption, SupportedShapeType, TableCellEditorState, ThemeSwitchingResult, ToolbarSection, UseCollaborativeHistoryResult, UseCollaborativeStateInput, UsePresenceTrackingResult, UseThemeSwitchingInput, UserAvatarBarProps, UserPresence };
|
|
1103
|
+
export { CollaborationProvider, CollaborationStatusIndicator, PowerPointViewer, PptxI18nProvider, RemoteUserCursors, UserAvatarBar, getAnimationInitialStyle, isAudienceTab, parseAudienceNonce, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider };
|
|
1104
|
+
export type { AccessibilityIssue, AnimationPresetOption, CanvasContextMenuState, CanvasSize$1 as CanvasSize, CollaborationContextValue, CollaborationStatusIndicatorProps, ConnectionStatus$1 as ConnectionStatus, ConnectorArrowOption, ConnectorGeometryOption, ConnectorGeometryType, ConnectorPathGeometry, DragState, DrawingTool, EditorHistorySnapshot, ElementBounds, ElementContextMenuAction, ElementContextMenuState, FileViewerHandle, MarqueeSelectionState, ParsedTableCell, ParsedTableData, PowerPointViewerHandle, PowerPointViewerProps, PptxI18nProviderProps, PptxTranslate, PptxTranslateParams, PresentationAnimationRuntime, RemoteUserCursorsProps, ResizeHandle, ResizeState, ShapePreset, ShapeQuickStyle, ShortcutReferenceItem, SlideAlignment, SlideSectionGroup, SlideTransitionOption, StrokeDashOption, SupportedShapeType, TableCellEditorState, ThemeSwitchingResult, ToolbarSection, UseCollaborativeHistoryResult, UseCollaborativeStateInput, UsePresenceTrackingResult, UseThemeSwitchingInput, UserAvatarBarProps, UserPresence };
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkVI5DQRQZ_js = require('../chunk-VI5DQRQZ.js');
|
|
4
|
+
var chunkV3XADJ2O_js = require('../chunk-V3XADJ2O.js');
|
|
5
|
+
var chunkZ22RD3E2_js = require('../chunk-Z22RD3E2.js');
|
|
6
6
|
require('../chunk-PIRHQTI4.js');
|
|
7
7
|
var pptx = require('ooxml-ui/pptx');
|
|
8
8
|
|
|
@@ -10,67 +10,71 @@ 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 chunkVI5DQRQZ_js.CollaborationStatusIndicator; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkVI5DQRQZ_js.PowerPointViewer; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "PptxI18nProvider", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkVI5DQRQZ_js.PptxI18nProvider; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "UserAvatarBar", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkVI5DQRQZ_js.UserAvatarBar; }
|
|
22
26
|
});
|
|
23
27
|
Object.defineProperty(exports, "CollaborationProvider", {
|
|
24
28
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkV3XADJ2O_js.CollaborationProvider; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "RemoteUserCursors", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkV3XADJ2O_js.RemoteUserCursors; }
|
|
30
34
|
});
|
|
31
35
|
Object.defineProperty(exports, "clearAudienceContent", {
|
|
32
36
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkV3XADJ2O_js.clearAudienceContent; }
|
|
34
38
|
});
|
|
35
39
|
Object.defineProperty(exports, "isAudienceTab", {
|
|
36
40
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkV3XADJ2O_js.isAudienceTab; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "loadAudienceContent", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkV3XADJ2O_js.loadAudienceContent; }
|
|
42
46
|
});
|
|
43
47
|
Object.defineProperty(exports, "parseAudienceNonce", {
|
|
44
48
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkV3XADJ2O_js.parseAudienceNonce; }
|
|
46
50
|
});
|
|
47
51
|
Object.defineProperty(exports, "storeAudienceContent", {
|
|
48
52
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkV3XADJ2O_js.storeAudienceContent; }
|
|
50
54
|
});
|
|
51
55
|
Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
52
56
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkV3XADJ2O_js.useCollaborativeHistory; }
|
|
54
58
|
});
|
|
55
59
|
Object.defineProperty(exports, "useCollaborativeState", {
|
|
56
60
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkV3XADJ2O_js.useCollaborativeState; }
|
|
58
62
|
});
|
|
59
63
|
Object.defineProperty(exports, "usePresenceTracking", {
|
|
60
64
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkV3XADJ2O_js.usePresenceTracking; }
|
|
62
66
|
});
|
|
63
67
|
Object.defineProperty(exports, "useThemeSwitching", {
|
|
64
68
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkV3XADJ2O_js.useThemeSwitching; }
|
|
66
70
|
});
|
|
67
71
|
Object.defineProperty(exports, "useYjsProvider", {
|
|
68
72
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkV3XADJ2O_js.useYjsProvider; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkZ22RD3E2_js.getAnimationInitialStyle; }
|
|
74
78
|
});
|
|
75
79
|
Object.defineProperty(exports, "forgetSessionDeck", {
|
|
76
80
|
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, PptxI18nProvider, UserAvatarBar } from '../chunk-ETJ752B5.mjs';
|
|
2
|
+
export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-ACFR4LFQ.mjs';
|
|
3
|
+
export { getAnimationInitialStyle } from '../chunk-ZCGYPCZM.mjs';
|
|
4
4
|
import '../chunk-UV2HVMKZ.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getUnixTime, create2, floor, MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, unexpectedCase, some, isArray, every, every2, create3, fromCharCode, hasProperty, getVariable, nop, equalityDeep, EqualityTraitSymbol, methodUnimplemented, equals, isObject, production, repeat, createEncoder, writeVarUint, writeSyncStep1, writeVarUint8Array, encodeAwarenessUpdate, toUint8Array, writeUpdate, removeAwarenessStates, subscribe, writeSyncStep2, writeUint8, writeVarString, unsubscribe, toBase64, fromBase64, ObservableV2, Awareness, setIfUndefined, createDecoder, readVarString, readVarUint8Array, readVarUint, readUint8, applyAwarenessUpdate, readSyncMessage, messageYjsSyncStep2, publish, writeAny, Observable, readAny, encodeUtf8, supportsColor, create, min, log10, map, messageYjsSyncStep1 } from './chunk-
|
|
1
|
+
import { getUnixTime, create2, floor, MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, unexpectedCase, some, isArray, every, every2, create3, fromCharCode, hasProperty, getVariable, nop, equalityDeep, EqualityTraitSymbol, methodUnimplemented, equals, isObject, production, repeat, createEncoder, writeVarUint, writeSyncStep1, writeVarUint8Array, encodeAwarenessUpdate, toUint8Array, writeUpdate, removeAwarenessStates, subscribe, writeSyncStep2, writeUint8, writeVarString, unsubscribe, toBase64, fromBase64, ObservableV2, Awareness, setIfUndefined, createDecoder, readVarString, readVarUint8Array, readVarUint, readUint8, applyAwarenessUpdate, readSyncMessage, messageYjsSyncStep2, publish, writeAny, Observable, readAny, encodeUtf8, supportsColor, create, min, log10, map, messageYjsSyncStep1 } from './chunk-QIUK53JR.mjs';
|
|
2
2
|
import { __commonJS, __toESM, __require } from './chunk-UV2HVMKZ.mjs';
|
|
3
3
|
import 'yjs';
|
|
4
4
|
|
|
Binary file
|
|
Binary file
|