pptx-react-viewer 4.74.0 → 4.76.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 +50 -0
- package/README.md +1 -1
- package/dist/{AiChatPanel-PLQ3NBTK.js → AiChatPanel-4V7QB5Z3.js} +19 -19
- package/dist/AiChatPanel-4V7QB5Z3.js.br +0 -0
- package/dist/AiChatPanel-4V7QB5Z3.js.gz +0 -0
- package/dist/{AiChatPanel-E7CJSTW7.mjs → AiChatPanel-6ML3VLIX.mjs} +1 -1
- package/dist/AiChatPanel-6ML3VLIX.mjs.br +0 -0
- package/dist/AiChatPanel-6ML3VLIX.mjs.gz +0 -0
- package/dist/ai.js +2 -2
- package/dist/ai.js.br +0 -0
- package/dist/ai.js.gz +0 -0
- package/dist/ai.mjs +1 -1
- package/dist/ai.mjs.br +0 -0
- package/dist/ai.mjs.gz +0 -0
- package/dist/{chunk-P2COO2QO.js → chunk-6GFSF2ML.js} +65 -13
- package/dist/chunk-6GFSF2ML.js.br +0 -0
- package/dist/chunk-6GFSF2ML.js.gz +0 -0
- package/dist/chunk-FFTZYNL4.mjs +2 -0
- package/dist/chunk-FFTZYNL4.mjs.br +6 -0
- package/dist/chunk-FFTZYNL4.mjs.gz +0 -0
- package/dist/chunk-LWGPHJHC.js +151 -0
- package/dist/chunk-LWGPHJHC.js.br +0 -0
- package/dist/chunk-LWGPHJHC.js.gz +0 -0
- package/dist/{chunk-LVEFHZ76.js → chunk-MU3BIZ2U.js} +1 -1
- package/dist/chunk-MU3BIZ2U.js.br +0 -0
- package/dist/chunk-MU3BIZ2U.js.gz +0 -0
- package/dist/{chunk-FBSPQYRE.mjs → chunk-N3YK2BCA.mjs} +61 -14
- package/dist/chunk-N3YK2BCA.mjs.br +0 -0
- package/dist/chunk-N3YK2BCA.mjs.gz +0 -0
- package/dist/{chunk-SQ7OASDY.mjs → chunk-OC4RP2CB.mjs} +590 -392
- package/dist/chunk-OC4RP2CB.mjs.br +0 -0
- package/dist/chunk-OC4RP2CB.mjs.gz +0 -0
- package/dist/chunk-P2IEKYVG.js +29 -0
- package/dist/chunk-P2IEKYVG.js.br +0 -0
- package/dist/chunk-P2IEKYVG.js.gz +0 -0
- package/dist/{chunk-CRC3V4UG.mjs → chunk-PPOGAZ53.mjs} +646 -263
- package/dist/chunk-PPOGAZ53.mjs.br +0 -0
- package/dist/chunk-PPOGAZ53.mjs.gz +0 -0
- package/dist/{chunk-JZE6BORE.mjs → chunk-RMEWSJZU.mjs} +1 -1
- package/dist/chunk-RMEWSJZU.mjs.br +0 -0
- package/dist/chunk-RMEWSJZU.mjs.gz +0 -0
- package/dist/{chunk-XG4WSJ4O.js → chunk-SEIVQGH5.js} +1632 -1240
- package/dist/chunk-SEIVQGH5.js.br +0 -0
- package/dist/chunk-SEIVQGH5.js.gz +0 -0
- package/dist/{chunk-D4WC35PL.js → chunk-XTYBIJ2S.js} +1136 -939
- package/dist/chunk-XTYBIJ2S.js.br +0 -0
- package/dist/chunk-XTYBIJ2S.js.gz +0 -0
- package/dist/chunk-Y53EC3JU.mjs +27 -0
- package/dist/chunk-Y53EC3JU.mjs.br +0 -0
- package/dist/chunk-Y53EC3JU.mjs.gz +0 -0
- package/dist/i18n/de.cjs +5 -0
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +5 -0
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +5 -0
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +5 -0
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +5 -0
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +5 -0
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +5 -0
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +5 -0
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.d.ts +76 -26
- package/dist/index.js +126 -126
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +52 -24
- package/dist/internals.js +82 -81
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -2
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/no-i18next.d.ts +1343 -0
- package/dist/no-i18next.js +251 -0
- package/dist/no-i18next.js.br +0 -0
- package/dist/no-i18next.js.gz +0 -0
- package/dist/no-i18next.mjs +6 -0
- package/dist/no-i18next.mjs.br +0 -0
- package/dist/no-i18next.mjs.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 +37 -18
- package/dist/viewer/index.js +25 -24
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -4
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +9 -4
- package/dist/AiChatPanel-E7CJSTW7.mjs.br +0 -0
- package/dist/AiChatPanel-E7CJSTW7.mjs.gz +0 -0
- package/dist/AiChatPanel-PLQ3NBTK.js.br +0 -0
- package/dist/AiChatPanel-PLQ3NBTK.js.gz +0 -0
- package/dist/chunk-CRC3V4UG.mjs.br +0 -0
- package/dist/chunk-CRC3V4UG.mjs.gz +0 -0
- package/dist/chunk-D4WC35PL.js.br +0 -0
- package/dist/chunk-D4WC35PL.js.gz +0 -0
- package/dist/chunk-FBSPQYRE.mjs.br +0 -0
- package/dist/chunk-FBSPQYRE.mjs.gz +0 -0
- package/dist/chunk-JZE6BORE.mjs.br +0 -0
- package/dist/chunk-JZE6BORE.mjs.gz +0 -0
- package/dist/chunk-LVEFHZ76.js.br +0 -0
- package/dist/chunk-LVEFHZ76.js.gz +0 -0
- package/dist/chunk-P2COO2QO.js.br +0 -0
- package/dist/chunk-P2COO2QO.js.gz +0 -0
- package/dist/chunk-SQ7OASDY.mjs.br +0 -0
- package/dist/chunk-SQ7OASDY.mjs.gz +0 -0
- package/dist/chunk-XG4WSJ4O.js.br +0 -0
- package/dist/chunk-XG4WSJ4O.js.gz +0 -0
package/dist/viewer/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactNode, ReactElement, RefObject } from 'react';
|
|
3
1
|
import * as ooxml_ui_pptx from 'ooxml-ui/pptx';
|
|
4
2
|
import { CollaborationRole, CollaborationConfig, HistoryTheme, ViewportFitOptions, ViewerFontSource, CanvasSize, DocumentStorage, CloudFileProvider, ViewerAutosaveStatus, AutosaveRecord, ConnectionStatus, ViewerTheme, ThemeCatalogEntry, AccountAuthConfig, CollaborationInput, GoogleFontsOption, ListConversionScope, ToolbarActionId, RibbonAddInTab, ViewerCustomization, PptxLoadLimits, PowerPointViewerAPI, ViewerCustomizationApi, BorrowedCollaborationAwareness } from 'ooxml-ui/pptx';
|
|
5
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
|
+
import * as React from 'react';
|
|
5
|
+
import React__default, { ReactNode, ReactElement, RefObject } from 'react';
|
|
6
6
|
import { PptxAnimationPreset, ConnectorArrowType, PptxSlide, PptxElement, XmlObject, PptxCoreProperties, PptxElementAnimation, ShapeStyle, PptxSlideTransition, StrokeDashType, PptxNativeAnimation, PptxThemePreset, PptxThemeColorScheme, PptxThemeFontScheme, PptxHandler, PptxData } from 'ooxml-core/pptx';
|
|
7
7
|
import { CollaborationWriteBackState, CollaborationState } from 'ooxml-core/collab';
|
|
8
8
|
export { CollaborationState } from 'ooxml-core/collab';
|
|
@@ -14,6 +14,18 @@ import { LocaleCatalogEntry } from 'ooxml-ui/pptx/i18n';
|
|
|
14
14
|
import * as Y from 'yjs';
|
|
15
15
|
import { Doc } from 'yjs';
|
|
16
16
|
|
|
17
|
+
/** What the viewer passes `translate`: exactly the params of the call. */
|
|
18
|
+
interface PptxTranslateParams {
|
|
19
|
+
readonly defaultValue?: string;
|
|
20
|
+
readonly count?: number;
|
|
21
|
+
readonly [name: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A host translator for {@link PptxI18nProvider}: the text for a viewer key (`pptx.*`) in the
|
|
25
|
+
* host's active language. Return the key itself, an empty string, `null` or `undefined` for "no
|
|
26
|
+
* translation": the viewer then shows its built-in English text.
|
|
27
|
+
*/
|
|
28
|
+
type PptxTranslate = (key: string, params?: PptxTranslateParams) => string | null | undefined;
|
|
17
29
|
/**
|
|
18
30
|
* Union of all shape preset types that the viewer can insert or render.
|
|
19
31
|
* Maps to OOXML `a:prstGeom` preset values (e.g. "rect", "ellipse").
|
|
@@ -351,6 +363,19 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
351
363
|
onModeChange?: (mode: ooxml_ui_pptx.ViewerMode) => void;
|
|
352
364
|
/** Callback when the zoom level changes. */
|
|
353
365
|
onZoomChange?: (zoom: number) => void;
|
|
366
|
+
/**
|
|
367
|
+
* Ribbon Display Options, the starting mode: `always` docks the tabs and commands above the
|
|
368
|
+
* slide (the default), `tabs` shows only the tab row (a chosen tab lays its commands over the
|
|
369
|
+
* slide until a press elsewhere or Escape), `fullScreen` hides the title bar and the ribbon
|
|
370
|
+
* until the strip at the top is pressed. Changing it later applies the mode without calling
|
|
371
|
+
* `onRibbonDisplayChange`.
|
|
372
|
+
*/
|
|
373
|
+
ribbonDisplay?: ooxml_ui_pptx.RibbonDisplayMode;
|
|
374
|
+
/**
|
|
375
|
+
* Called when the user picks a Ribbon Display Option (the menu, Ctrl+F1, a double click on a
|
|
376
|
+
* tab). Not called when the host changes `ribbonDisplay`.
|
|
377
|
+
*/
|
|
378
|
+
onRibbonDisplayChange?: (mode: ooxml_ui_pptx.RibbonDisplayMode) => void;
|
|
354
379
|
/** Callback when element selection changes. */
|
|
355
380
|
onSelectionChange?: (elementIds: string[]) => void;
|
|
356
381
|
/** Callback when the total slide count changes (slide added/deleted). */
|
|
@@ -488,19 +513,25 @@ interface PowerPointViewerProps extends ViewportFitOptions {
|
|
|
488
513
|
/**
|
|
489
514
|
* Initial locale code for File > Options > Language. Falls back to a persisted `localStorage`
|
|
490
515
|
* choice, then `'en'`. Ignored inside a `PptxI18nProvider`, whose `locale` is the language.
|
|
516
|
+
* Without a provider it applies only while the viewer reads a configured react-i18next
|
|
517
|
+
* instance; with neither (for example `pptx-react-viewer/no-i18next` on its own) the viewer
|
|
518
|
+
* shows its built-in English text and ignores it.
|
|
491
519
|
*/
|
|
492
520
|
defaultLocale?: string;
|
|
493
521
|
/**
|
|
494
|
-
* Locale choices offered by File > Options > Language.
|
|
495
|
-
* host's `react-i18next` instance
|
|
496
|
-
*
|
|
522
|
+
* Locale choices offered by File > Options > Language. Without a provider they default to the
|
|
523
|
+
* codes registered on the host's `react-i18next` instance, and have no effect when the viewer
|
|
524
|
+
* reads no configured instance (see `defaultLocale`). Inside a `PptxI18nProvider` there is no
|
|
525
|
+
* default: pass two or more, together with `onLocaleChange`, to show the Language category.
|
|
497
526
|
*/
|
|
498
527
|
availableLocales?: LocaleCatalogEntry[];
|
|
499
528
|
/**
|
|
500
529
|
* Called when the user picks a language from File > Options > Language. When provided, the
|
|
501
530
|
* host owns applying and persisting the choice; otherwise the viewer applies and persists it
|
|
502
531
|
* itself. Inside a `PptxI18nProvider` the host always owns the language: without this callback
|
|
503
|
-
* the Language category is left out.
|
|
532
|
+
* the Language category is left out. Without a provider, when the viewer reads no configured
|
|
533
|
+
* react-i18next instance (see `defaultLocale`), the Language category is left out and this is
|
|
534
|
+
* never called.
|
|
504
535
|
*/
|
|
505
536
|
onLocaleChange?: (code: string) => void;
|
|
506
537
|
/**
|
|
@@ -776,18 +807,6 @@ declare function getAnimationInitialStyle(preset: PptxAnimationPreset | undefine
|
|
|
776
807
|
* access (e.g. serialising the current content for saving).
|
|
777
808
|
*/
|
|
778
809
|
declare const PowerPointViewer: React.ForwardRefExoticComponent<PowerPointViewerProps & React.RefAttributes<PowerPointViewerHandle>>;
|
|
779
|
-
/** What the viewer passes `translate`: exactly the params of the call. */
|
|
780
|
-
interface PptxTranslateParams {
|
|
781
|
-
readonly defaultValue?: string;
|
|
782
|
-
readonly count?: number;
|
|
783
|
-
readonly [name: string]: unknown;
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
* A host translator for {@link PptxI18nProvider}: the text for a viewer key (`pptx.*`) in the
|
|
787
|
-
* host's active language. Return the key itself, an empty string, `null` or `undefined` for "no
|
|
788
|
-
* translation": the viewer then shows its built-in English text.
|
|
789
|
-
*/
|
|
790
|
-
type PptxTranslate = (key: string, params?: PptxTranslateParams) => string | null | undefined;
|
|
791
810
|
interface PptxI18nProviderProps {
|
|
792
811
|
/**
|
|
793
812
|
* Translates a viewer key; see {@link PptxTranslate}. Keep it referentially stable (a
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
require('../chunk-
|
|
5
|
-
|
|
6
|
-
var
|
|
3
|
+
require('../chunk-P2IEKYVG.js');
|
|
4
|
+
var chunkXTYBIJ2S_js = require('../chunk-XTYBIJ2S.js');
|
|
5
|
+
require('../chunk-MU3BIZ2U.js');
|
|
6
|
+
var chunkSEIVQGH5_js = require('../chunk-SEIVQGH5.js');
|
|
7
|
+
var chunk6GFSF2ML_js = require('../chunk-6GFSF2ML.js');
|
|
7
8
|
require('../chunk-PIRHQTI4.js');
|
|
8
9
|
var pptx = require('ooxml-ui/pptx');
|
|
9
10
|
|
|
@@ -11,71 +12,71 @@ var pptx = require('ooxml-ui/pptx');
|
|
|
11
12
|
|
|
12
13
|
Object.defineProperty(exports, "CollaborationStatusIndicator", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkXTYBIJ2S_js.CollaborationStatusIndicator; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "PptxI18nProvider", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkD4WC35PL_js.PptxI18nProvider; }
|
|
19
|
+
get: function () { return chunkXTYBIJ2S_js.PowerPointViewer; }
|
|
23
20
|
});
|
|
24
21
|
Object.defineProperty(exports, "UserAvatarBar", {
|
|
25
22
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkXTYBIJ2S_js.UserAvatarBar; }
|
|
27
24
|
});
|
|
28
25
|
Object.defineProperty(exports, "CollaborationProvider", {
|
|
29
26
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkSEIVQGH5_js.CollaborationProvider; }
|
|
31
28
|
});
|
|
32
29
|
Object.defineProperty(exports, "RemoteUserCursors", {
|
|
33
30
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkSEIVQGH5_js.RemoteUserCursors; }
|
|
35
32
|
});
|
|
36
33
|
Object.defineProperty(exports, "clearAudienceContent", {
|
|
37
34
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkSEIVQGH5_js.clearAudienceContent; }
|
|
39
36
|
});
|
|
40
37
|
Object.defineProperty(exports, "isAudienceTab", {
|
|
41
38
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkSEIVQGH5_js.isAudienceTab; }
|
|
43
40
|
});
|
|
44
41
|
Object.defineProperty(exports, "loadAudienceContent", {
|
|
45
42
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkSEIVQGH5_js.loadAudienceContent; }
|
|
47
44
|
});
|
|
48
45
|
Object.defineProperty(exports, "parseAudienceNonce", {
|
|
49
46
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkSEIVQGH5_js.parseAudienceNonce; }
|
|
51
48
|
});
|
|
52
49
|
Object.defineProperty(exports, "storeAudienceContent", {
|
|
53
50
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkSEIVQGH5_js.storeAudienceContent; }
|
|
55
52
|
});
|
|
56
53
|
Object.defineProperty(exports, "useCollaborativeHistory", {
|
|
57
54
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkSEIVQGH5_js.useCollaborativeHistory; }
|
|
59
56
|
});
|
|
60
57
|
Object.defineProperty(exports, "useCollaborativeState", {
|
|
61
58
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkSEIVQGH5_js.useCollaborativeState; }
|
|
63
60
|
});
|
|
64
61
|
Object.defineProperty(exports, "usePresenceTracking", {
|
|
65
62
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkSEIVQGH5_js.usePresenceTracking; }
|
|
67
64
|
});
|
|
68
65
|
Object.defineProperty(exports, "useThemeSwitching", {
|
|
69
66
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkSEIVQGH5_js.useThemeSwitching; }
|
|
71
68
|
});
|
|
72
69
|
Object.defineProperty(exports, "useYjsProvider", {
|
|
73
70
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkSEIVQGH5_js.useYjsProvider; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "PptxI18nProvider", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunk6GFSF2ML_js.PptxI18nProvider; }
|
|
75
76
|
});
|
|
76
77
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
77
78
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk6GFSF2ML_js.getAnimationInitialStyle; }
|
|
79
80
|
});
|
|
80
81
|
Object.defineProperty(exports, "forgetSessionDeck", {
|
|
81
82
|
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,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
1
|
+
import '../chunk-Y53EC3JU.mjs';
|
|
2
|
+
export { CollaborationStatusIndicator, PowerPointViewer, UserAvatarBar } from '../chunk-OC4RP2CB.mjs';
|
|
3
|
+
import '../chunk-RMEWSJZU.mjs';
|
|
4
|
+
export { CollaborationProvider, RemoteUserCursors, clearAudienceContent, isAudienceTab, loadAudienceContent, parseAudienceNonce, storeAudienceContent, useCollaborativeHistory, useCollaborativeState, usePresenceTracking, useThemeSwitching, useYjsProvider } from '../chunk-PPOGAZ53.mjs';
|
|
5
|
+
export { PptxI18nProvider, getAnimationInitialStyle } from '../chunk-N3YK2BCA.mjs';
|
|
5
6
|
import '../chunk-UV2HVMKZ.mjs';
|
|
6
7
|
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.76.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",
|
|
@@ -46,6 +46,11 @@
|
|
|
46
46
|
"import": "./dist/index.mjs",
|
|
47
47
|
"require": "./dist/index.js"
|
|
48
48
|
},
|
|
49
|
+
"./no-i18next": {
|
|
50
|
+
"types": "./dist/no-i18next.d.ts",
|
|
51
|
+
"import": "./dist/no-i18next.mjs",
|
|
52
|
+
"require": "./dist/no-i18next.js"
|
|
53
|
+
},
|
|
49
54
|
"./viewer": {
|
|
50
55
|
"types": "./dist/viewer/index.d.ts",
|
|
51
56
|
"import": "./dist/viewer/index.mjs",
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
}
|
|
113
118
|
},
|
|
114
119
|
"scripts": {
|
|
115
|
-
"build": "tsup && tsdown && node ../../scripts/merge-declarations.mjs && node ../../scripts/bundle-declarations.mjs index viewer/index i18n internals ai && node ../../scripts/merge-declarations.mjs .types-bundle && node ../../scripts/prune-stray-declarations.mjs dist index.d.ts viewer/index.d.ts i18n.d.ts internals.d.ts ai.d.ts && npx @tailwindcss/cli -i src/styles/pptx-viewer.css -o dist/pptx-viewer.css --minify && node scripts/build-canvas-css.mjs && node ../locales/scripts/copy-subpaths.mjs && node ../../scripts/compress-dist.mjs dist",
|
|
120
|
+
"build": "tsup && tsdown && node ../../scripts/merge-declarations.mjs && node ../../scripts/bundle-declarations.mjs index no-i18next viewer/index i18n internals ai && node ../../scripts/merge-declarations.mjs .types-bundle && node ../../scripts/prune-stray-declarations.mjs dist index.d.ts no-i18next.d.ts viewer/index.d.ts i18n.d.ts internals.d.ts ai.d.ts && npx @tailwindcss/cli -i src/styles/pptx-viewer.css -o dist/pptx-viewer.css --minify && node scripts/build-canvas-css.mjs && node ../locales/scripts/copy-subpaths.mjs && node ../../scripts/compress-dist.mjs dist",
|
|
116
121
|
"build:css": "npx @tailwindcss/cli -i src/styles/pptx-viewer.css -o dist/pptx-viewer.css --minify && node scripts/build-canvas-css.mjs",
|
|
117
122
|
"dev": "tsup --watch",
|
|
118
123
|
"typecheck": "tsc --noEmit --pretty",
|
|
@@ -126,8 +131,8 @@
|
|
|
126
131
|
"clsx": "^2.1.1",
|
|
127
132
|
"dompurify": "^3.4.17",
|
|
128
133
|
"html2canvas-pro": "^2.6.3",
|
|
129
|
-
"ooxml-core": "^1.
|
|
130
|
-
"ooxml-ui": "^1.
|
|
134
|
+
"ooxml-core": "^1.50.0",
|
|
135
|
+
"ooxml-ui": "^1.50.0",
|
|
131
136
|
"opentype.js": "^2.0.0",
|
|
132
137
|
"tailwind-merge": "^3.7.0"
|
|
133
138
|
},
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|