pptx-react-viewer 2.19.4 → 2.19.5
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 +6 -0
- package/dist/{chunk-PY4526QN.mjs → chunk-3WR2D4AJ.mjs} +1 -1
- package/dist/chunk-3WR2D4AJ.mjs.br +0 -0
- package/dist/chunk-3WR2D4AJ.mjs.gz +0 -0
- package/dist/{chunk-V7GPBZKH.js → chunk-C4LQ7ZWL.js} +54 -54
- package/dist/chunk-C4LQ7ZWL.js.br +0 -0
- package/dist/chunk-C4LQ7ZWL.js.gz +0 -0
- package/dist/{chunk-FBXLCEK7.js → chunk-FDZNVVQ7.js} +1 -1
- package/dist/chunk-FDZNVVQ7.js.br +0 -0
- package/dist/chunk-FDZNVVQ7.js.gz +0 -0
- package/dist/{chunk-6GRIVSUK.mjs → chunk-GNSYA6W3.mjs} +2 -2
- package/dist/chunk-GNSYA6W3.mjs.br +0 -0
- package/dist/chunk-GNSYA6W3.mjs.gz +0 -0
- package/dist/index.js +11 -11
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.js +73 -73
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +1 -1
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +14 -14
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +2 -2
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/dist/{y-websocket-DCTJ76B7.mjs → y-websocket-HUEA7LH7.mjs} +27 -6
- package/dist/y-websocket-HUEA7LH7.mjs.br +0 -0
- package/dist/y-websocket-HUEA7LH7.mjs.gz +0 -0
- package/dist/{y-websocket-DQLOWGV6.js → y-websocket-YRPS7AFF.js} +27 -6
- package/dist/y-websocket-YRPS7AFF.js.br +0 -0
- package/dist/y-websocket-YRPS7AFF.js.gz +0 -0
- package/package.json +3 -3
- package/dist/chunk-6GRIVSUK.mjs.br +0 -0
- package/dist/chunk-6GRIVSUK.mjs.gz +0 -0
- package/dist/chunk-FBXLCEK7.js.br +0 -0
- package/dist/chunk-FBXLCEK7.js.gz +0 -0
- package/dist/chunk-PY4526QN.mjs.br +0 -0
- package/dist/chunk-PY4526QN.mjs.gz +0 -0
- package/dist/chunk-V7GPBZKH.js.br +0 -0
- package/dist/chunk-V7GPBZKH.js.gz +0 -0
- package/dist/y-websocket-DCTJ76B7.mjs.br +0 -0
- package/dist/y-websocket-DCTJ76B7.mjs.gz +0 -0
- package/dist/y-websocket-DQLOWGV6.js.br +0 -0
- package/dist/y-websocket-DQLOWGV6.js.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ A release listed with no entries carried no Conventional Commit in this package'
|
|
|
7
7
|
scope: scripts/release-plan.mjs re-releases a package whenever any of its files
|
|
8
8
|
change, not only on conventional ones.
|
|
9
9
|
|
|
10
|
+
## [2.19.4](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.19.4) - 2026-08-14
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **vanilla:** Repair the properties panel, inline editor, mobile chrome and show performance (by @ChristopherVR) ([47265ef](https://github.com/ChristopherVR/pptx-viewer/commit/47265efba9459359695bdcd74038b8b6d0787d0f))
|
|
15
|
+
|
|
10
16
|
## [2.19.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.19.3) - 2026-08-14
|
|
11
17
|
|
|
12
18
|
### Bug Fixes
|
|
@@ -298,7 +298,7 @@ function useYjsProvider({ config }) {
|
|
|
298
298
|
}
|
|
299
299
|
setStatus("connecting");
|
|
300
300
|
try {
|
|
301
|
-
const [Y, { WebsocketProvider }] = await Promise.all([import('./yjs-4ED7E5CZ.mjs'), import('./y-websocket-
|
|
301
|
+
const [Y, { WebsocketProvider }] = await Promise.all([import('./yjs-4ED7E5CZ.mjs'), import('./y-websocket-HUEA7LH7.mjs')]);
|
|
302
302
|
const yDoc = new Y.Doc();
|
|
303
303
|
const provider = new WebsocketProvider(config.serverUrl, roomId, yDoc, {
|
|
304
304
|
params: config.authToken ? { token: config.authToken } : void 0
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkPEGZP2W2_js = require('./chunk-PEGZP2W2.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkFDZNVVQ7_js = require('./chunk-FDZNVVQ7.js');
|
|
5
5
|
var chunkD4LINQVA_js = require('./chunk-D4LINQVA.js');
|
|
6
6
|
var chunkMVKRI3CZ_js = require('./chunk-MVKRI3CZ.js');
|
|
7
7
|
var chunkIJY5WNZK_js = require('./chunk-IJY5WNZK.js');
|
|
@@ -43,7 +43,7 @@ function CollaborationProvider({
|
|
|
43
43
|
canvasHeight,
|
|
44
44
|
children
|
|
45
45
|
}) {
|
|
46
|
-
const value =
|
|
46
|
+
const value = chunkFDZNVVQ7_js.useCollaborativeState({
|
|
47
47
|
config,
|
|
48
48
|
canvasWidth,
|
|
49
49
|
canvasHeight
|
|
@@ -4630,7 +4630,7 @@ function SlideTemplateGalleryDialog({
|
|
|
4630
4630
|
scheme
|
|
4631
4631
|
}) {
|
|
4632
4632
|
const { t } = reactI18next.useTranslation();
|
|
4633
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
4633
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
4634
4634
|
const [selected, setSelected] = React14.useState(null);
|
|
4635
4635
|
const dialogRef = React14.useRef(null);
|
|
4636
4636
|
useModalFocus(isOpen, dialogRef, onClose);
|
|
@@ -5781,7 +5781,7 @@ function AccountPage() {
|
|
|
5781
5781
|
return void 0;
|
|
5782
5782
|
});
|
|
5783
5783
|
};
|
|
5784
|
-
const version = "2.19.
|
|
5784
|
+
const version = "2.19.4" ;
|
|
5785
5785
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
5786
5786
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
|
|
5787
5787
|
/* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
@@ -6041,7 +6041,7 @@ function FileSection(p) {
|
|
|
6041
6041
|
const [page, setPage] = React14.useState("home");
|
|
6042
6042
|
const [query, setQuery] = React14.useState("");
|
|
6043
6043
|
const [recent, setRecent] = React14.useState([]);
|
|
6044
|
-
const { isHidden } =
|
|
6044
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(p.hiddenActions);
|
|
6045
6045
|
const exportHidden = isHidden("export");
|
|
6046
6046
|
React14.useEffect(() => {
|
|
6047
6047
|
void chunkIJY5WNZK_js.listBackstageRecentFiles(t).then(setRecent);
|
|
@@ -7464,7 +7464,7 @@ function CustomShowsControls({
|
|
|
7464
7464
|
}
|
|
7465
7465
|
function SlideShowSection(p) {
|
|
7466
7466
|
const { t } = reactI18next.useTranslation();
|
|
7467
|
-
const { isHidden } =
|
|
7467
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(p.hiddenActions);
|
|
7468
7468
|
const [showsOpen, setShowsOpen] = React14.useState(false);
|
|
7469
7469
|
const showsRef = React14.useRef(null);
|
|
7470
7470
|
React14.useEffect(() => {
|
|
@@ -8604,7 +8604,7 @@ function MobileSheet({
|
|
|
8604
8604
|
headerRight
|
|
8605
8605
|
}) {
|
|
8606
8606
|
const sheetRef = React14.useRef(null);
|
|
8607
|
-
const { dragY, dragging, handlers } =
|
|
8607
|
+
const { dragY, dragging, handlers } = chunkFDZNVVQ7_js.useSheetDismissDrag(onClose);
|
|
8608
8608
|
useModalFocus(open, sheetRef, onClose);
|
|
8609
8609
|
if (!open) {
|
|
8610
8610
|
return null;
|
|
@@ -8691,7 +8691,7 @@ function MobileMenuSheet(props) {
|
|
|
8691
8691
|
const { t } = reactI18next.useTranslation();
|
|
8692
8692
|
const { open, onClose } = props;
|
|
8693
8693
|
const [active, setActive] = React14.useState("home");
|
|
8694
|
-
const { isTabVisible } =
|
|
8694
|
+
const { isTabVisible } = chunkFDZNVVQ7_js.useToolbarVisibility(props.hiddenActions);
|
|
8695
8695
|
return /* @__PURE__ */ jsxRuntime.jsx(MobileSheet, { open, onClose, autoHeight: true, title: t("pptx.mobileToolbar.menu"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
|
|
8696
8696
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-0 z-10 bg-background border-b border-border", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5 px-3 py-2", children: MENU_ITEMS.filter(({ key }) => isTabVisible(key)).map(({ key, label, icon: Icon }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8697
8697
|
"button",
|
|
@@ -8953,7 +8953,7 @@ function MobileToolbar(props) {
|
|
|
8953
8953
|
const { t } = reactI18next.useTranslation();
|
|
8954
8954
|
const { mode, canUndo, canRedo, onUndo, onRedo, onSetMode, onSaveAsPptx } = props;
|
|
8955
8955
|
const [menuOpen, setMenuOpen] = React14.useState(false);
|
|
8956
|
-
const { isHidden } =
|
|
8956
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(props.hiddenActions);
|
|
8957
8957
|
const showEdit = mode === "edit" || mode === "master";
|
|
8958
8958
|
const btn = "inline-flex items-center justify-center min-w-[44px] min-h-[44px] rounded-md text-foreground/80 hover:bg-accent/60 disabled:opacity-40 disabled:cursor-not-allowed active:scale-95 transition-transform";
|
|
8959
8959
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -9417,7 +9417,7 @@ function TabRowActions(p) {
|
|
|
9417
9417
|
const { t } = reactI18next.useTranslation();
|
|
9418
9418
|
const collab = useCollaboration();
|
|
9419
9419
|
const isCollaborating = collab && collab.status === "connected";
|
|
9420
|
-
const { isHidden } =
|
|
9420
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(p.hiddenActions);
|
|
9421
9421
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1 pr-1", children: [
|
|
9422
9422
|
p.onEnterRehearsalMode && !isHidden("record") && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9423
9423
|
"button",
|
|
@@ -9841,7 +9841,7 @@ function ToolbarPrimaryRow(p) {
|
|
|
9841
9841
|
function Toolbar(p) {
|
|
9842
9842
|
const { mode, isNarrowViewport, isCompactToolbarOpen, toolbarSection, onSetToolbarSection } = p;
|
|
9843
9843
|
const { t } = reactI18next.useTranslation();
|
|
9844
|
-
const { isTabVisible } =
|
|
9844
|
+
const { isTabVisible } = chunkFDZNVVQ7_js.useToolbarVisibility(p.hiddenActions);
|
|
9845
9845
|
if (isNarrowViewport && mode !== "present") {
|
|
9846
9846
|
return /* @__PURE__ */ jsxRuntime.jsx(MobileToolbar, { ...p });
|
|
9847
9847
|
}
|
|
@@ -13439,7 +13439,7 @@ function SlidesPaneSidebar({
|
|
|
13439
13439
|
[sectionGroups, showSectionHeaders, effectiveCollapsed]
|
|
13440
13440
|
);
|
|
13441
13441
|
const shouldVirtualize = slides.length >= VIRTUALIZATION_THRESHOLD;
|
|
13442
|
-
const { startIndex, endIndex, totalHeight, offsetY, scrollContainerRef, scrollToIndex } =
|
|
13442
|
+
const { startIndex, endIndex, totalHeight, offsetY, scrollContainerRef, scrollToIndex } = chunkFDZNVVQ7_js.useVirtualizedSlides({
|
|
13443
13443
|
totalItems: shouldVirtualize ? flatItems.length : 0,
|
|
13444
13444
|
itemHeight: estimatedItemHeight
|
|
13445
13445
|
});
|
|
@@ -16184,7 +16184,7 @@ function SlideNotesPanel({
|
|
|
16184
16184
|
});
|
|
16185
16185
|
const hasNotes = draft.trim().length > 0;
|
|
16186
16186
|
const slideLabel = activeSlide ? t("pptx.notes.slideN", { n: activeSlide.slideNumber }) : t("pptx.notes.noSlide");
|
|
16187
|
-
const { dragY, handlers: dragHandlers } =
|
|
16187
|
+
const { dragY, handlers: dragHandlers } = chunkFDZNVVQ7_js.useSheetDismissDrag(onToggle);
|
|
16188
16188
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16189
16189
|
isExpanded && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16190
16190
|
"button",
|
|
@@ -17313,7 +17313,7 @@ function DocumentPropertiesDialog({
|
|
|
17313
17313
|
const handleClose = React14.useCallback(() => {
|
|
17314
17314
|
onClose();
|
|
17315
17315
|
}, [onClose]);
|
|
17316
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
17316
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(handleClose);
|
|
17317
17317
|
if (!isOpen) {
|
|
17318
17318
|
return null;
|
|
17319
17319
|
}
|
|
@@ -29191,7 +29191,7 @@ function InspectorPane(props) {
|
|
|
29191
29191
|
} = props;
|
|
29192
29192
|
const hasSelection = selectedElement !== null;
|
|
29193
29193
|
const { t } = reactI18next.useTranslation();
|
|
29194
|
-
const { dragY, handlers: dragHandlers } =
|
|
29194
|
+
const { dragY, handlers: dragHandlers } = chunkFDZNVVQ7_js.useSheetDismissDrag(onClose);
|
|
29195
29195
|
const {
|
|
29196
29196
|
animationPanelHeight,
|
|
29197
29197
|
effectiveThemeOptions,
|
|
@@ -29879,7 +29879,7 @@ function PresentationTouchControls({
|
|
|
29879
29879
|
hideNavigation = false
|
|
29880
29880
|
}) {
|
|
29881
29881
|
const { t } = reactI18next.useTranslation();
|
|
29882
|
-
const { isTouchDevice } =
|
|
29882
|
+
const { isTouchDevice } = chunkFDZNVVQ7_js.useIsMobile();
|
|
29883
29883
|
if (!isTouchDevice) {
|
|
29884
29884
|
return null;
|
|
29885
29885
|
}
|
|
@@ -30717,7 +30717,7 @@ function PrintDialog({
|
|
|
30717
30717
|
defaultFrameSlides
|
|
30718
30718
|
}) {
|
|
30719
30719
|
const { t } = reactI18next.useTranslation();
|
|
30720
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
30720
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
30721
30721
|
const [printWhat, setPrintWhat] = React14.useState("slides");
|
|
30722
30722
|
const [orientation, setOrientation] = React14.useState("landscape");
|
|
30723
30723
|
const [colorMode, setColorMode] = React14.useState("color");
|
|
@@ -31246,7 +31246,7 @@ function BroadcastDialog({
|
|
|
31246
31246
|
const [serverUrl, setServerUrl] = React14.useState("");
|
|
31247
31247
|
const [copied, setCopied] = React14.useState(false);
|
|
31248
31248
|
const dialogRef = React14.useRef(null);
|
|
31249
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
31249
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
31250
31250
|
useModalFocus(open, dialogRef, onClose);
|
|
31251
31251
|
React14.useEffect(() => {
|
|
31252
31252
|
if (open && !isBroadcasting) {
|
|
@@ -31809,7 +31809,7 @@ function ShareDialog({
|
|
|
31809
31809
|
const [invitation, setInvitation] = React14.useState("");
|
|
31810
31810
|
const [copied, setCopied] = React14.useState(false);
|
|
31811
31811
|
const dialogRef = React14.useRef(null);
|
|
31812
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
31812
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
31813
31813
|
useModalFocus(open, dialogRef, onClose);
|
|
31814
31814
|
React14.useEffect(() => {
|
|
31815
31815
|
if (activeCollaboration) {
|
|
@@ -32084,12 +32084,12 @@ function HyperlinkEditDialog({
|
|
|
32084
32084
|
onCancel
|
|
32085
32085
|
}) {
|
|
32086
32086
|
const { t } = reactI18next.useTranslation();
|
|
32087
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
32087
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onCancel);
|
|
32088
32088
|
const inputRef = React14.useRef(null);
|
|
32089
|
-
const detectedType =
|
|
32090
|
-
const emailParts =
|
|
32091
|
-
const detectedSlide =
|
|
32092
|
-
const detectedVerb = initialAction ?
|
|
32089
|
+
const detectedType = chunkFDZNVVQ7_js.detectTargetType(initialUrl, initialAction);
|
|
32090
|
+
const emailParts = chunkFDZNVVQ7_js.parseEmailUrl(initialUrl || "");
|
|
32091
|
+
const detectedSlide = chunkFDZNVVQ7_js.parseSlideFromUrl(initialUrl, initialAction);
|
|
32092
|
+
const detectedVerb = initialAction ? chunkFDZNVVQ7_js.ACTION_VERB_MAP[initialAction.toLowerCase()] || "nextSlide" : "nextSlide";
|
|
32093
32093
|
const [targetType, setTargetType] = React14.useState(detectedType);
|
|
32094
32094
|
const [url, setUrl] = React14.useState(
|
|
32095
32095
|
detectedType === "email" || detectedType === "slide" || detectedType === "action" ? "" : initialUrl || ""
|
|
@@ -32365,7 +32365,7 @@ function ViewerBottomPanels({
|
|
|
32365
32365
|
hideStatusBar = false,
|
|
32366
32366
|
hiddenActions
|
|
32367
32367
|
}) {
|
|
32368
|
-
const { isHidden } =
|
|
32368
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(hiddenActions);
|
|
32369
32369
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
32370
32370
|
onResizeBottom && !isSlideNotesCollapsed && /* @__PURE__ */ jsxRuntime.jsx(ResizeHandle, { direction: "vertical", onResize: onResizeBottom }),
|
|
32371
32371
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32587,7 +32587,7 @@ function TitleBarQuickExtras(p) {
|
|
|
32587
32587
|
function TitleBar(p) {
|
|
32588
32588
|
const { t } = reactI18next.useTranslation();
|
|
32589
32589
|
const editing = (p.mode === "edit" || p.mode === "master") && p.canEdit;
|
|
32590
|
-
const { isHidden } =
|
|
32590
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(p.hiddenActions);
|
|
32591
32591
|
const quickAccess = useViewerOptionsContext().quickAccess;
|
|
32592
32592
|
const [searchQuery, setSearchQuery] = React14.useState("");
|
|
32593
32593
|
const [searchFocused, setSearchFocused] = React14.useState(false);
|
|
@@ -32881,7 +32881,7 @@ function ViewerToolbarSection(props) {
|
|
|
32881
32881
|
[activeSlide, propertyHandlers]
|
|
32882
32882
|
);
|
|
32883
32883
|
const scopedLayoutOptions = React14__default.default.useMemo(
|
|
32884
|
-
() =>
|
|
32884
|
+
() => chunkFDZNVVQ7_js.scopeLayoutOptionsToActiveSlide(s.layoutOptions, activeSlide),
|
|
32885
32885
|
[s.layoutOptions, activeSlide]
|
|
32886
32886
|
);
|
|
32887
32887
|
const handleResetSlide = React14.useCallback(() => {
|
|
@@ -33355,7 +33355,7 @@ function EquationEditorDialog({
|
|
|
33355
33355
|
existingOmml
|
|
33356
33356
|
}) {
|
|
33357
33357
|
const { t } = reactI18next.useTranslation();
|
|
33358
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
33358
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
33359
33359
|
const initialLatex = React14.useMemo(() => {
|
|
33360
33360
|
if (!existingOmml) {
|
|
33361
33361
|
return "";
|
|
@@ -33576,7 +33576,7 @@ function InsertSmartArtDialog({
|
|
|
33576
33576
|
onInsert
|
|
33577
33577
|
}) {
|
|
33578
33578
|
const { t } = reactI18next.useTranslation();
|
|
33579
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
33579
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
33580
33580
|
const [activeCategory, setActiveCategory] = React14.useState("list");
|
|
33581
33581
|
const [selectedLayout, setSelectedLayout] = React14.useState(null);
|
|
33582
33582
|
const dialogRef = React14.useRef(null);
|
|
@@ -34279,7 +34279,7 @@ function ViewerCanvasArea(props) {
|
|
|
34279
34279
|
aiCanvasActive = false
|
|
34280
34280
|
} = props;
|
|
34281
34281
|
const { t } = reactI18next.useTranslation();
|
|
34282
|
-
const { isHidden } =
|
|
34282
|
+
const { isHidden } = chunkFDZNVVQ7_js.useToolbarVisibility(hiddenActions);
|
|
34283
34283
|
const viewerOptions = useViewerOptionsContext();
|
|
34284
34284
|
const effectiveSlide = mode === "master" ? masterPseudoSlide : activeSlide;
|
|
34285
34285
|
const effectiveTemplateElements = mode === "master" ? [] : templateElements;
|
|
@@ -34407,7 +34407,7 @@ ${url}`)) {
|
|
|
34407
34407
|
s.setActiveSlideIndex((i) => Math.max(0, i - 1));
|
|
34408
34408
|
}
|
|
34409
34409
|
}, [mode, presentation, s]);
|
|
34410
|
-
const swipe =
|
|
34410
|
+
const swipe = chunkFDZNVVQ7_js.useSwipeNavigation({
|
|
34411
34411
|
enabled: swipeEnabled,
|
|
34412
34412
|
onNext: handleSwipeNext,
|
|
34413
34413
|
onPrev: handleSwipePrev
|
|
@@ -35185,7 +35185,7 @@ function MobileDismissSheet({
|
|
|
35185
35185
|
className,
|
|
35186
35186
|
children
|
|
35187
35187
|
}) {
|
|
35188
|
-
const { dragY, handlers } =
|
|
35188
|
+
const { dragY, handlers } = chunkFDZNVVQ7_js.useSheetDismissDrag(onClose);
|
|
35189
35189
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35190
35190
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35191
35191
|
"button",
|
|
@@ -36282,7 +36282,7 @@ function MobileChromeOverlay(props) {
|
|
|
36282
36282
|
canEdit,
|
|
36283
36283
|
commentCount
|
|
36284
36284
|
} = props;
|
|
36285
|
-
const { keyboardInset, isKeyboardOpen } =
|
|
36285
|
+
const { keyboardInset, isKeyboardOpen } = chunkFDZNVVQ7_js.useKeyboardInsets();
|
|
36286
36286
|
const activeSheet = s.isSlidesPaneOpen ? "slides" : s.isInspectorPaneOpen ? s.sidebarPanelMode === "comments" ? "comments" : "inspector" : !s.isSlideNotesCollapsed ? "notes" : null;
|
|
36287
36287
|
const closeAllSheets = () => {
|
|
36288
36288
|
s.setIsSlidesPaneOpen(false);
|
|
@@ -36918,10 +36918,10 @@ async function exportAiChatLogs(options) {
|
|
|
36918
36918
|
const slug = timestampSlug(now);
|
|
36919
36919
|
if (format === "markdown") {
|
|
36920
36920
|
const blob = new Blob([buildChatLogMarkdown(doc)], { type: "text/markdown" });
|
|
36921
|
-
|
|
36921
|
+
chunkFDZNVVQ7_js.downloadBlob(blob, `pptx-ai-chats-${slug}.md`);
|
|
36922
36922
|
} else {
|
|
36923
36923
|
const blob = new Blob([JSON.stringify(doc, null, 2)], { type: "application/json" });
|
|
36924
|
-
|
|
36924
|
+
chunkFDZNVVQ7_js.downloadBlob(blob, `pptx-ai-chats-${slug}.json`);
|
|
36925
36925
|
}
|
|
36926
36926
|
return chats.length;
|
|
36927
36927
|
}
|
|
@@ -37166,7 +37166,7 @@ function SettingsDialog({
|
|
|
37166
37166
|
}) {
|
|
37167
37167
|
const [activeTabId, setActiveTabId] = React14.useState("general");
|
|
37168
37168
|
const { t } = reactI18next.useTranslation();
|
|
37169
|
-
const { panelStyle, handlers: dragHandlers } =
|
|
37169
|
+
const { panelStyle, handlers: dragHandlers } = chunkFDZNVVQ7_js.useModalDismissDrag(onClose);
|
|
37170
37170
|
const snapshotRef = React14.useRef(null);
|
|
37171
37171
|
const wasOpenRef = React14.useRef(false);
|
|
37172
37172
|
React14.useEffect(() => {
|
|
@@ -37886,8 +37886,8 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
37886
37886
|
filePath
|
|
37887
37887
|
});
|
|
37888
37888
|
const [isShareDialogOpen, setIsShareDialogOpen] = React14.useState(false);
|
|
37889
|
-
const { reducedMotion, toggleReducedMotion } =
|
|
37890
|
-
const state =
|
|
37889
|
+
const { reducedMotion, toggleReducedMotion } = chunkFDZNVVQ7_js.useReducedMotion();
|
|
37890
|
+
const state = chunkFDZNVVQ7_js.useViewerState({ content, canEdit });
|
|
37891
37891
|
const {
|
|
37892
37892
|
containerRef,
|
|
37893
37893
|
mode,
|
|
@@ -37947,7 +37947,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
37947
37947
|
},
|
|
37948
37948
|
[state, reducedMotion, toggleReducedMotion]
|
|
37949
37949
|
);
|
|
37950
|
-
const { optionsStore, options: viewerOptions } =
|
|
37950
|
+
const { optionsStore, options: viewerOptions } = chunkFDZNVVQ7_js.useViewerOptions();
|
|
37951
37951
|
const settingsRef = React14.useRef(settings);
|
|
37952
37952
|
settingsRef.current = settings;
|
|
37953
37953
|
const handleSettingsChangeRef = React14.useRef(handleSettingsChange);
|
|
@@ -37992,10 +37992,10 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
37992
37992
|
await Promise.all(snapshots.map((entry) => chunkIJY5WNZK_js.deleteAutosaveSnapshot(entry.key)));
|
|
37993
37993
|
})();
|
|
37994
37994
|
}, []);
|
|
37995
|
-
const mobile =
|
|
37995
|
+
const mobile = chunkFDZNVVQ7_js.useIsMobile({ containerRef });
|
|
37996
37996
|
const { isMobile, isTouchDevice, isVirtualKeyboardOpen } = mobile;
|
|
37997
|
-
const resizablePanels =
|
|
37998
|
-
const { gridSpacingPx, visibleSlideIndexes, slideSectionGroups, masterPseudoSlide } =
|
|
37997
|
+
const resizablePanels = chunkFDZNVVQ7_js.useResizablePanels();
|
|
37998
|
+
const { gridSpacingPx, visibleSlideIndexes, slideSectionGroups, masterPseudoSlide } = chunkFDZNVVQ7_js.useDerivedSlideState({
|
|
37999
37999
|
slides,
|
|
38000
38000
|
sections: state.sections,
|
|
38001
38001
|
customShows: state.customShows,
|
|
@@ -38018,7 +38018,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38018
38018
|
state.isDrawingRef
|
|
38019
38019
|
]
|
|
38020
38020
|
);
|
|
38021
|
-
const zoom =
|
|
38021
|
+
const zoom = chunkFDZNVVQ7_js.useZoomViewport({
|
|
38022
38022
|
canvasSize,
|
|
38023
38023
|
selectedElements: state.selectedElements
|
|
38024
38024
|
});
|
|
@@ -38026,7 +38026,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38026
38026
|
const markDocumentDirty = React14.useCallback(() => {
|
|
38027
38027
|
setIsDirty(true);
|
|
38028
38028
|
}, [setIsDirty]);
|
|
38029
|
-
const history =
|
|
38029
|
+
const history = chunkFDZNVVQ7_js.useEditorHistory({
|
|
38030
38030
|
slides,
|
|
38031
38031
|
canvasSize,
|
|
38032
38032
|
activeSlideIndex,
|
|
@@ -38049,7 +38049,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38049
38049
|
setEditTemplateMode: state.setEditTemplateMode,
|
|
38050
38050
|
setHeaderFooter: state.setHeaderFooter
|
|
38051
38051
|
});
|
|
38052
|
-
const { presentation, annotations, actionSoundHandlerRef } =
|
|
38052
|
+
const { presentation, annotations, actionSoundHandlerRef } = chunkFDZNVVQ7_js.usePresentationSetup({
|
|
38053
38053
|
mode,
|
|
38054
38054
|
slides,
|
|
38055
38055
|
visibleSlideIndexes,
|
|
@@ -38072,7 +38072,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38072
38072
|
showSubtitles: !prev.showSubtitles
|
|
38073
38073
|
}))
|
|
38074
38074
|
});
|
|
38075
|
-
|
|
38075
|
+
chunkFDZNVVQ7_js.useTouchGestures({
|
|
38076
38076
|
targetRef: zoom.canvasViewportRef,
|
|
38077
38077
|
currentScale: zoom.scale,
|
|
38078
38078
|
callbacks: {
|
|
@@ -38094,7 +38094,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38094
38094
|
},
|
|
38095
38095
|
enabled: isTouchDevice
|
|
38096
38096
|
});
|
|
38097
|
-
const dialogs =
|
|
38097
|
+
const dialogs = chunkFDZNVVQ7_js.useViewerDialogs({
|
|
38098
38098
|
mode,
|
|
38099
38099
|
slides,
|
|
38100
38100
|
activeSlide,
|
|
@@ -38136,7 +38136,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38136
38136
|
zoom.handleZoomToFit();
|
|
38137
38137
|
zoom.canvasViewportRef.current?.scrollTo({ left: 0, top: 0 });
|
|
38138
38138
|
}, [mode]);
|
|
38139
|
-
const editorOps =
|
|
38139
|
+
const editorOps = chunkFDZNVVQ7_js.useEditorOperations({
|
|
38140
38140
|
state,
|
|
38141
38141
|
history,
|
|
38142
38142
|
zoom,
|
|
@@ -38171,7 +38171,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38171
38171
|
setIsEncryptedDialogOpen,
|
|
38172
38172
|
handlerRef,
|
|
38173
38173
|
loadVersion
|
|
38174
|
-
} =
|
|
38174
|
+
} = chunkFDZNVVQ7_js.useViewerIntegration({
|
|
38175
38175
|
state,
|
|
38176
38176
|
zoom,
|
|
38177
38177
|
history,
|
|
@@ -38215,7 +38215,7 @@ var PowerPointViewer = React14.forwardRef(
|
|
|
38215
38215
|
},
|
|
38216
38216
|
[state]
|
|
38217
38217
|
);
|
|
38218
|
-
const layoutSwitching =
|
|
38218
|
+
const layoutSwitching = chunkFDZNVVQ7_js.useLayoutSwitching({
|
|
38219
38219
|
handler: handlerRef.current,
|
|
38220
38220
|
slides,
|
|
38221
38221
|
activeSlideIndex,
|
|
@@ -38653,7 +38653,7 @@ function CollaborationDocumentSync({
|
|
|
38653
38653
|
}
|
|
38654
38654
|
return bytes instanceof Uint8Array ? bytes : new Uint8Array(bytes);
|
|
38655
38655
|
}, []);
|
|
38656
|
-
|
|
38656
|
+
chunkFDZNVVQ7_js.useYjsDocumentSync({
|
|
38657
38657
|
doc: collab?.doc ?? null,
|
|
38658
38658
|
slides,
|
|
38659
38659
|
templateElementsBySlideId,
|
|
@@ -38665,7 +38665,7 @@ function CollaborationDocumentSync({
|
|
|
38665
38665
|
loadVersion,
|
|
38666
38666
|
loadOrigin
|
|
38667
38667
|
});
|
|
38668
|
-
|
|
38668
|
+
chunkFDZNVVQ7_js.useCollaborationLivePatch({
|
|
38669
38669
|
patcher: livePatcher,
|
|
38670
38670
|
doc: collab?.doc ?? null,
|
|
38671
38671
|
isConnected: collab?.status === "connected",
|
|
@@ -38679,13 +38679,13 @@ function CollaborationFollowLayer({
|
|
|
38679
38679
|
slideCount
|
|
38680
38680
|
}) {
|
|
38681
38681
|
const collab = useCollaboration();
|
|
38682
|
-
const { followedClientId, followUser } =
|
|
38682
|
+
const { followedClientId, followUser } = chunkFDZNVVQ7_js.useFollowMode({
|
|
38683
38683
|
collab,
|
|
38684
38684
|
activeSlideIndex,
|
|
38685
38685
|
setActiveSlideIndex,
|
|
38686
38686
|
slideCount
|
|
38687
38687
|
});
|
|
38688
|
-
|
|
38688
|
+
chunkFDZNVVQ7_js.useBroadcastFollower({
|
|
38689
38689
|
collab,
|
|
38690
38690
|
activeSlideIndex,
|
|
38691
38691
|
setActiveSlideIndex,
|
|
Binary file
|
|
Binary file
|
|
@@ -304,7 +304,7 @@ function useYjsProvider({ config }) {
|
|
|
304
304
|
}
|
|
305
305
|
setStatus("connecting");
|
|
306
306
|
try {
|
|
307
|
-
const [Y, { WebsocketProvider }] = await Promise.all([import('./yjs-OWUA3UHD.js'), import('./y-websocket-
|
|
307
|
+
const [Y, { WebsocketProvider }] = await Promise.all([import('./yjs-OWUA3UHD.js'), import('./y-websocket-YRPS7AFF.js')]);
|
|
308
308
|
const yDoc = new Y.Doc();
|
|
309
309
|
const provider = new WebsocketProvider(config.serverUrl, roomId, yDoc, {
|
|
310
310
|
params: config.authToken ? { token: config.authToken } : void 0
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computeFocusTargets, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, toRenderableParts } from './chunk-FWX6HUVA.mjs';
|
|
2
|
-
import { useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useLayoutSwitching, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, downloadBlob } from './chunk-
|
|
2
|
+
import { useReducedMotion, useViewerState, useViewerOptions, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useLayoutSwitching, useYjsDocumentSync, useCollaborationLivePatch, useFollowMode, useBroadcastFollower, scopeLayoutOptionsToActiveSlide, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, useCollaborativeState, useVirtualizedSlides, useSwipeNavigation, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, downloadBlob } from './chunk-3WR2D4AJ.mjs';
|
|
3
3
|
import { MIN_ELEMENT_SIZE, DEFAULT_STROKE_COLOR, getConnectorPathGeometry, buildLineShadowCss, buildLineGlowFilter, renderConnectorMarker, getShapeVisualStyle, getTextStyleForElement, DEFAULT_TEXT_COLOR, renderVectorShape, isConnectorOrLineElement, build3DExtrusionData, getImageRenderStyle, cn, getTextLayoutStyle, renderTableElement, renderMediaElement, shouldRenderFallbackLabel, SHAPE_PRESETS, ANIMATION_PRESET_OPTIONS, DEFAULT_FILL_COLOR, hasDagDuotoneEffect, renderDagDuotoneSvgFilter, getCropShapeClipPath, getImageTilingStyle, getDuotoneColors, getTextWarpStyle, renderTextSegments, buildReactChartViewModel, renderChartElement, buildTextBody3DSceneStyle, SLIDE_NAV_THUMBNAIL_WIDTH, DEFAULT_TEXT_FONT_SIZE, DEFAULT_FONT_FAMILY, TOOLBAR_SECTIONS, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, HYPERLINK_COLOR, GRID_SIZE, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, THEME_COLOR_SWATCHES, STROKE_DASH_OPTIONS } from './chunk-2HNIYZ3O.mjs';
|
|
4
4
|
import { LOCALE_CATALOG, translationsEn } from './chunk-SQJBFMEX.mjs';
|
|
5
5
|
import { hasShapeProperties, normalizeHexColor, colorWithOpacity, normalizeStrokeDashType, getSvgStrokeDasharray, getCompoundLineOffsets, getCompoundLineWidths, svgLineCap, hasTextProperties, getElementTransform, getAriaRoleDescription, getAriaLabel, getAriaRole, resolveElementInteractivity, isEditableTextElement, isElementRendered, isElementActionable, getImageEffectsOpacity, getImageEffectsFilter, getElementTransformWithoutRotation, inlineElementPointerEvents, isHollowShapeElement, LINK_TOOLTIP_HOST_CLASS, ACTION_BUTTON_PRESETS, mediaTransportVisible, isInkElement, getGroupChildParentFill, getElementLabel, SWITCHABLE_LAYOUT_TYPES, DEFAULT_VIEWER_OPTIONS, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, listAutosaveSnapshots, deleteAutosaveSnapshot, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, shouldShowAutosaveRecoveryPrompt, paintedStrokeWidth, buildCssGradientFromShapeStyle, ensureActionAffordanceStyles, resolveElementActionAffordance, actionAffordanceLabels, getComputedEffectStyle, getSoftEdgeSvgFilter, buildStrokeOutline, buildHollowHitOutline, strokeOutlineViewBox, revealedSmartArtNodeCount, buildSmartArtA11y, computeSmartArtLayout, flattenNodes, buildSummaryZoomView, isImageTiled, getImageColorWashStyle, isImageLikeElement, placeCaretAtEnd, getPendingSelectionRestore, restoreSegmentSelection, getTextCompensationTransform, ensureChartInteractionStyles, applyChartBuildReveal, formatAxisValue, hasPressureVariation, getInkReplayStyles, INK_REPLAY_KEYFRAMES, resolveInkColor, resolveInkWidth, resolveInkOpacity, pressuresToWidths, getContentPartReplayStyles, resolveOleType, getOleTypeColor, getOleTypeLabel, filterRenderedElements, resolveGroupChildFill, isLinkedTextBox, getOverflowSegments, shouldUseSvgWarp, getTextBodyRotationTransform, RULER_THICKNESS, RULER_FONT_SIZE, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, themeToCssVars, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, templateSchemeFromTheme, createBackstagePresentation, setMasterViewBackgroundColor, printPropertiesFrameSlides, printPropertiesSlidesPerPage, VIEWER_OPTIONS_TABS, DEFAULT_QUICK_ACCESS_COMMAND_IDS, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_PANEL_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_HINT_CLASS, DEFAULT_PALETTE2, resolvePalette, computeDrawingViewBox, projectDrawingShapes, styleShadowFilter, resolveDrawingShapeNodeId, getImageSvgFilters, buildDuotoneCacheKey, getDuotoneCachedResult, applyDuotone, setDuotoneCachedResult, buildCacheKey, DEFAULT_COLOR_CHANGE_TOLERANCE, getCachedResult, applyColorChange, setCachedResult, findChartPartTarget, dragValueForPart, withChartPointValue, dragAnchorViewY, withChartTitle, buildSmartArt3DModel, extractPathPoints, generatePressureCircles, isBrowserOpenableMime, formatBytes, getOleBadgeLabel, openUrlInNewTab, getSubstituteFontFamily, getWarpPath, getSlideBackgroundStyle, filterCommands, resolveTitleBarStatusKey, TITLE_BAR_CLASSES, TITLE_BAR_DEFAULT_FILE_KEY, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, buildContextMenuEntries, themeColorSchemesEqual, EXPANDED_MAX_HEIGHT, STATUS_BAR_CLASSES, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, centeredSvgTextLines, computeInlineEditorRect, findSmartArtNodeText, setSmartArtNodeStyle, rebuildDrawingShapesIfCleared, shouldCommitSmartArtNodeText, updateSmartArtNodeText, groupIntoParagraphs, substituteFieldText, extraQuickAccessCommands, TAB_ROW_ACTION_CLASSES, listBackstageRecentFiles, BACKSTAGE_NAV, INSERT_CHART_TYPES, CHARACTER_SPACING_OPTIONS, RIBBON_SHAPE_SWATCHES, shapeFillChange, shapeOutlineChange, readRibbonTransitionDraft, ribbonTransitionUpdates, playSlideTransitionPreview, RIBBON_TRANSITION_PRESETS, DEFAULT_MOTION_PATH_PRESET_ID, SLIDE_SHOW_OPTIONS, slideShowOptionChange, readSlideShowOption, SLIDE_VIRTUALIZATION_THRESHOLD, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, getSlideTransitionAnimations, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_STYLE, SLIDE_TRANSITION_KEYFRAMES, annotationOverlayZIndex, presentationInkPath, motionPathFor, setMotionPath, getShapeAdjustmentHandleDescriptors, PRESENTER_NAVIGATOR_LABEL_KEYS, PEN_COLORS, HIGHLIGHTER_COLORS, isBlackboardActive, slideSizeToCanvasPx, resolveSelectionPaneRename, PRESET_THEMES, normalizeSegments, createPlainNotesSegments, segmentsToEditorHtml, DEBOUNCE_MS, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX, isUrlSafe, escapeHtml2, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, PRESENTER_CONSOLE_CONTROLS, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, resolveDefaultFontFamily, buildFontCatalog, ENTRANCE_PRESET_VALUES, EMPHASIS_PRESET_VALUES, EXIT_PRESET_VALUES, MOTION_PATH_FAMILIES, motionPathFamilyLabelKey, motionPathPresetsByFamily, motionPathPresetLabelKey, masterViewPseudoSlide, authorConnectorBetweenSites, generateTicks, rulerDragToGuidePosition, getCommentMarkerPosition, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, themeColorLabel, buildThemeColorGrid, THEME_COLOR_SCHEME_KEYS, COMMON_FONTS, buildSmartArtPresetData, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, isCurrentLayout, SLIDE_TEMPLATES, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, isElementLocked, mergeSlideTransition, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildLayoutPreviewGeometry, buildSlideTemplateContent, elementLockTogglePatch, buildTableDataGrid, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, TABLE_STYLE_PRESETS, chartDataChangeType, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, sanitizeGradientStops, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, resolveSlideSizeSelection, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, flattenTagCollections, formatCommentTimestamp, clearMotionPath, DIRECTIONAL_PRESETS, motionPathPresetIdForPath, computeMergeCellRight, computeMergeCellDown, computeSplitCell, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSmartArtNodeAsChild, removeSmartArtNode, clampCropValue, DUOTONE_PRESETS, ARTISTIC_EFFECTS, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, toSlideIndex, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, animationEffectLabel, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, switchSmartArtLayout, addSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, reorderSmartArtNode, SHAPE_QUICK_STYLES, quickStyleSwatchCss, getPatternSvg, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS } from './chunk-J3JFXIDN.mjs';
|
|
@@ -5775,7 +5775,7 @@ function AccountPage() {
|
|
|
5775
5775
|
return void 0;
|
|
5776
5776
|
});
|
|
5777
5777
|
};
|
|
5778
|
-
const version = "2.19.
|
|
5778
|
+
const version = "2.19.4" ;
|
|
5779
5779
|
return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
|
|
5780
5780
|
/* @__PURE__ */ jsxs("section", { className: cardClass, children: [
|
|
5781
5781
|
/* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkC4LQ7ZWL_js = require('./chunk-C4LQ7ZWL.js');
|
|
4
4
|
require('./chunk-PEGZP2W2.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkFDZNVVQ7_js = require('./chunk-FDZNVVQ7.js');
|
|
6
6
|
var chunkD4LINQVA_js = require('./chunk-D4LINQVA.js');
|
|
7
7
|
var chunkMVKRI3CZ_js = require('./chunk-MVKRI3CZ.js');
|
|
8
8
|
var chunkIJY5WNZK_js = require('./chunk-IJY5WNZK.js');
|
|
@@ -12,39 +12,39 @@ require('./chunk-4VNS5WPM.js');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkC4LQ7ZWL_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkC4LQ7ZWL_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkC4LQ7ZWL_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkC4LQ7ZWL_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkC4LQ7ZWL_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkC4LQ7ZWL_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkC4LQ7ZWL_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFDZNVVQ7_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFDZNVVQ7_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-GNSYA6W3.mjs';
|
|
2
2
|
import './chunk-FWX6HUVA.mjs';
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-3WR2D4AJ.mjs';
|
|
4
4
|
export { getAnimationInitialStyle } from './chunk-2HNIYZ3O.mjs';
|
|
5
5
|
export { LOCALE_CATALOG } from './chunk-SQJBFMEX.mjs';
|
|
6
6
|
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-J3JFXIDN.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|