pptx-react-viewer 2.20.3 → 2.20.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 +20 -0
- package/dist/{AiChatPanel-ZSVNVRM5.js → AiChatPanel-3H5WGSM5.js} +23 -23
- package/dist/AiChatPanel-3H5WGSM5.js.br +0 -0
- package/dist/AiChatPanel-3H5WGSM5.js.gz +0 -0
- package/dist/{AiChatPanel-NRWACXJ7.mjs → AiChatPanel-AYS6SCSC.mjs} +3 -3
- package/dist/AiChatPanel-AYS6SCSC.mjs.br +0 -0
- package/dist/AiChatPanel-AYS6SCSC.mjs.gz +0 -0
- package/dist/{Model3DScene-3HGARMTA.js → Model3DScene-6OVVKUSF.js} +2 -2
- package/dist/Model3DScene-6OVVKUSF.js.br +0 -0
- package/dist/Model3DScene-6OVVKUSF.js.gz +0 -0
- package/dist/{Model3DScene-IFYFOD6F.mjs → Model3DScene-QQQEABW7.mjs} +1 -1
- package/dist/Model3DScene-QQQEABW7.mjs.br +0 -0
- package/dist/Model3DScene-QQQEABW7.mjs.gz +0 -0
- package/dist/{chunk-QJJX2E6I.js → chunk-2LOKAZHT.js} +3 -3
- package/dist/chunk-2LOKAZHT.js.br +0 -0
- package/dist/chunk-2LOKAZHT.js.gz +0 -0
- package/dist/{chunk-463BMH5Q.js → chunk-62EM4JYP.js} +383 -383
- package/dist/chunk-62EM4JYP.js.br +0 -0
- package/dist/chunk-62EM4JYP.js.gz +0 -0
- package/dist/{chunk-4Z4HEIP5.js → chunk-BQJU7ZG6.js} +459 -385
- package/dist/chunk-BQJU7ZG6.js.br +0 -0
- package/dist/chunk-BQJU7ZG6.js.gz +0 -0
- package/dist/{chunk-AD4LAXDJ.mjs → chunk-BSOTRNVG.mjs} +7 -7
- package/dist/chunk-BSOTRNVG.mjs.br +0 -0
- package/dist/chunk-BSOTRNVG.mjs.gz +0 -0
- package/dist/{chunk-RJ26DQIM.mjs → chunk-DIJWZ6ZS.mjs} +1 -1
- package/dist/chunk-DIJWZ6ZS.mjs.br +0 -0
- package/dist/chunk-DIJWZ6ZS.mjs.gz +0 -0
- package/dist/{chunk-LLZ25OVR.js → chunk-ETJBX4YT.js} +154 -148
- package/dist/chunk-ETJBX4YT.js.br +0 -0
- package/dist/chunk-ETJBX4YT.js.gz +0 -0
- package/dist/{chunk-4JENQPJ3.js → chunk-JYVQ2MTO.js} +1043 -1043
- package/dist/chunk-JYVQ2MTO.js.br +0 -0
- package/dist/chunk-JYVQ2MTO.js.gz +0 -0
- package/dist/{chunk-O5BR276S.mjs → chunk-PBFNE5X5.mjs} +8 -2
- package/dist/chunk-PBFNE5X5.mjs.br +0 -0
- package/dist/chunk-PBFNE5X5.mjs.gz +0 -0
- package/dist/{chunk-2MENHAYJ.mjs → chunk-ULBSTLY3.mjs} +459 -385
- package/dist/chunk-ULBSTLY3.mjs.br +0 -0
- package/dist/chunk-ULBSTLY3.mjs.gz +0 -0
- package/dist/{chunk-YAKDNRU7.mjs → chunk-ZVFTYICH.mjs} +2 -2
- package/dist/chunk-ZVFTYICH.mjs.br +0 -0
- package/dist/chunk-ZVFTYICH.mjs.gz +0 -0
- package/dist/index.js +45 -45
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.js +78 -78
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +3 -3
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/viewer/index.js +26 -26
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +5 -5
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-NRWACXJ7.mjs.br +0 -0
- package/dist/AiChatPanel-NRWACXJ7.mjs.gz +0 -0
- package/dist/AiChatPanel-ZSVNVRM5.js.br +0 -0
- package/dist/AiChatPanel-ZSVNVRM5.js.gz +0 -0
- package/dist/Model3DScene-3HGARMTA.js.br +0 -0
- package/dist/Model3DScene-3HGARMTA.js.gz +0 -0
- package/dist/Model3DScene-IFYFOD6F.mjs.br +0 -0
- package/dist/Model3DScene-IFYFOD6F.mjs.gz +0 -0
- package/dist/chunk-2MENHAYJ.mjs.br +0 -0
- package/dist/chunk-2MENHAYJ.mjs.gz +0 -0
- package/dist/chunk-463BMH5Q.js.br +0 -0
- package/dist/chunk-463BMH5Q.js.gz +0 -0
- package/dist/chunk-4JENQPJ3.js.br +0 -0
- package/dist/chunk-4JENQPJ3.js.gz +0 -0
- package/dist/chunk-4Z4HEIP5.js.br +0 -0
- package/dist/chunk-4Z4HEIP5.js.gz +0 -0
- package/dist/chunk-AD4LAXDJ.mjs.br +0 -0
- package/dist/chunk-AD4LAXDJ.mjs.gz +0 -0
- package/dist/chunk-LLZ25OVR.js.br +0 -0
- package/dist/chunk-LLZ25OVR.js.gz +0 -0
- package/dist/chunk-O5BR276S.mjs.br +0 -0
- package/dist/chunk-O5BR276S.mjs.gz +0 -0
- package/dist/chunk-QJJX2E6I.js.br +0 -0
- package/dist/chunk-QJJX2E6I.js.gz +0 -0
- package/dist/chunk-RJ26DQIM.mjs.br +0 -0
- package/dist/chunk-RJ26DQIM.mjs.gz +0 -0
- package/dist/chunk-YAKDNRU7.mjs.br +0 -0
- package/dist/chunk-YAKDNRU7.mjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ 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.20.4](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.20.4) - 2026-08-20
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **core:** Correct EOT header parsing for version 0x00020001 containers (by @ChristopherVR) ([e43720e](https://github.com/ChristopherVR/pptx-viewer/commit/e43720ed176c62e0779ddb6fd3fdffc08ba19bbd))
|
|
15
|
+
- **core:** Size table graphic frames from their grid extent (by @ChristopherVR) ([6d75c18](https://github.com/ChristopherVR/pptx-viewer/commit/6d75c18072cc0bb305b6550767dab780314d8dee))
|
|
16
|
+
- **core:** Accept Strict-OOXML lexical percentages in table style tint/shade (by @ChristopherVR) ([8fa8111](https://github.com/ChristopherVR/pptx-viewer/commit/8fa81117e68a9033c37ddd4cf61703100234171c))
|
|
17
|
+
- **core:** Stabilize Strict-conformance resaves (by @ChristopherVR) ([3c43f51](https://github.com/ChristopherVR/pptx-viewer/commit/3c43f5164d1e13edbc3d6e5450e66fd08664d108))
|
|
18
|
+
- **core:** Correct the Strict custom/extended-properties namespace mapping (by @ChristopherVR) ([d5001f9](https://github.com/ChristopherVR/pptx-viewer/commit/d5001f9f4b977fd0a76d31c0fef534ff1a53bea3))
|
|
19
|
+
- **core:** Stop a paragraph's alignment from leaking onto later paragraphs (by @ChristopherVR) ([c18b1e7](https://github.com/ChristopherVR/pptx-viewer/commit/c18b1e7161b4d6e5983c1542cbd2c7fe03081037))
|
|
20
|
+
- **core:** Keep SmartArt cached line-preset shapes with zero width or height (by @ChristopherVR) ([41e3059](https://github.com/ChristopherVR/pptx-viewer/commit/41e30596c4072295b6af3c50439c3966acae2b71))
|
|
21
|
+
- **shared:** Apply autofit shrink-to-fit scale/reduction to paragraph struts (by @ChristopherVR) ([4c1d5c8](https://github.com/ChristopherVR/pptx-viewer/commit/4c1d5c8f4c54ee8200d61c58027284b32e5f8f2c))
|
|
22
|
+
- **react:** Let table-style band colors survive un-styled cells (by @ChristopherVR) ([b1c8215](https://github.com/ChristopherVR/pptx-viewer/commit/b1c82152c13e24a1eb2e952ec267674fc1057d75))
|
|
23
|
+
|
|
24
|
+
## [2.20.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.20.3) - 2026-08-20
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **ci:** Resolve oxlint errors and warnings blocking CI lint job (by @ChristopherVR) ([a2031be](https://github.com/ChristopherVR/pptx-viewer/commit/a2031bedb27a4d1bf7c0cf754ce6b81a241972e5))
|
|
29
|
+
|
|
10
30
|
## [2.20.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.20.2) - 2026-08-20
|
|
11
31
|
|
|
12
32
|
### Bug Fixes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk2LOKAZHT_js = require('./chunk-2LOKAZHT.js');
|
|
4
|
+
var chunkETJBX4YT_js = require('./chunk-ETJBX4YT.js');
|
|
5
5
|
require('./chunk-6CPUGAK7.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-BQJU7ZG6.js');
|
|
7
7
|
require('./chunk-4VNS5WPM.js');
|
|
8
8
|
var react = require('react');
|
|
9
9
|
var reactI18next = require('react-i18next');
|
|
@@ -23,7 +23,7 @@ function useAiChat(bridge, config) {
|
|
|
23
23
|
setInitError(void 0);
|
|
24
24
|
void (async () => {
|
|
25
25
|
try {
|
|
26
|
-
const available = await
|
|
26
|
+
const available = await chunk2LOKAZHT_js.isAiAvailable();
|
|
27
27
|
if (cancelled) {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ function useAiChat(bridge, config) {
|
|
|
31
31
|
setState("unavailable");
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
const built = await
|
|
34
|
+
const built = await chunk2LOKAZHT_js.createAiChatSession(bridge, configRef.current);
|
|
35
35
|
if (cancelled) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
@@ -137,7 +137,7 @@ function withDeckContext(inner, bridge, strategy) {
|
|
|
137
137
|
}
|
|
138
138
|
let context = "";
|
|
139
139
|
try {
|
|
140
|
-
context = await
|
|
140
|
+
context = await chunk2LOKAZHT_js.buildDeckContext(bridge, { strategy, focus: {} });
|
|
141
141
|
} catch {
|
|
142
142
|
context = "";
|
|
143
143
|
}
|
|
@@ -200,7 +200,7 @@ function useAiConversation(useChat, session, config, bridge, options = {}) {
|
|
|
200
200
|
continue;
|
|
201
201
|
}
|
|
202
202
|
seen.add(call.toolCallId);
|
|
203
|
-
onToolTargetRef.current?.(
|
|
203
|
+
onToolTargetRef.current?.(chunk2LOKAZHT_js.toolCanvasTarget(call.toolName, call.input));
|
|
204
204
|
}
|
|
205
205
|
}, [chat.messages]);
|
|
206
206
|
const send = react.useCallback(
|
|
@@ -276,7 +276,7 @@ function deriveTitle(messages) {
|
|
|
276
276
|
}
|
|
277
277
|
function useAiHistory(input) {
|
|
278
278
|
const { deckId, messages, setMessages } = input;
|
|
279
|
-
const store = react.useMemo(() => input.store ??
|
|
279
|
+
const store = react.useMemo(() => input.store ?? chunk2LOKAZHT_js.createChatHistoryStore(), [input.store]);
|
|
280
280
|
const [activeChatId, setActiveChatId] = react.useState(newChatId);
|
|
281
281
|
const [chats, setChats] = react.useState([]);
|
|
282
282
|
const createdAtRef = react.useRef(Date.now());
|
|
@@ -419,7 +419,7 @@ function AiComposer({
|
|
|
419
419
|
disabled: value.trim().length === 0,
|
|
420
420
|
title: t("pptx.ai.send"),
|
|
421
421
|
"aria-label": t("pptx.ai.send"),
|
|
422
|
-
className:
|
|
422
|
+
className: chunkETJBX4YT_js.cn(
|
|
423
423
|
"shrink-0 rounded-sm p-1.5 transition-colors",
|
|
424
424
|
value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
425
425
|
),
|
|
@@ -445,15 +445,15 @@ function AiFocusBar({
|
|
|
445
445
|
onClearPicks
|
|
446
446
|
}) {
|
|
447
447
|
const { t } = reactI18next.useTranslation();
|
|
448
|
-
const chips =
|
|
449
|
-
const twoTables =
|
|
448
|
+
const chips = chunk2LOKAZHT_js.focusTargetChips(targets, slides);
|
|
449
|
+
const twoTables = chunk2LOKAZHT_js.isTwoTableFocus(targets, slides);
|
|
450
450
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
|
|
451
451
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
|
|
452
452
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
|
|
453
453
|
chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
454
454
|
"span",
|
|
455
455
|
{
|
|
456
|
-
className:
|
|
456
|
+
className: chunkETJBX4YT_js.cn(
|
|
457
457
|
"inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
|
|
458
458
|
hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
|
|
459
459
|
),
|
|
@@ -486,7 +486,7 @@ function AiFocusBar({
|
|
|
486
486
|
title: t("pptx.ai.pickElement"),
|
|
487
487
|
"aria-label": t("pptx.ai.pickAria"),
|
|
488
488
|
"aria-pressed": pickMode,
|
|
489
|
-
className:
|
|
489
|
+
className: chunkETJBX4YT_js.cn(
|
|
490
490
|
"rounded-sm p-1",
|
|
491
491
|
pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
|
|
492
492
|
),
|
|
@@ -565,7 +565,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
|
|
|
565
565
|
{
|
|
566
566
|
type: "button",
|
|
567
567
|
onClick: () => onResume(chat.id),
|
|
568
|
-
className:
|
|
568
|
+
className: chunkETJBX4YT_js.cn(
|
|
569
569
|
"flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
|
|
570
570
|
chat.id === activeChatId && "bg-accent/60"
|
|
571
571
|
),
|
|
@@ -720,26 +720,26 @@ function AiToolCallCard({ part }) {
|
|
|
720
720
|
const failed = part.state === "output-error";
|
|
721
721
|
const done = part.state === "output-available";
|
|
722
722
|
const running = !failed && !done;
|
|
723
|
-
const activity =
|
|
723
|
+
const activity = chunk2LOKAZHT_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
|
|
724
724
|
const Icon = ICONS[activity.icon] ?? lu.LuWrench;
|
|
725
|
-
const rawSummary =
|
|
725
|
+
const rawSummary = chunk2LOKAZHT_js.summarizeToolArgs(part.input);
|
|
726
726
|
const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
|
|
727
727
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
|
|
728
728
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
729
729
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
730
730
|
Icon,
|
|
731
731
|
{
|
|
732
|
-
className:
|
|
732
|
+
className: chunkETJBX4YT_js.cn(
|
|
733
733
|
"w-3.5 h-3.5 shrink-0",
|
|
734
734
|
failed ? "text-destructive" : "text-muted-foreground"
|
|
735
735
|
)
|
|
736
736
|
}
|
|
737
737
|
),
|
|
738
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
738
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkETJBX4YT_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
|
|
739
739
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
740
740
|
"span",
|
|
741
741
|
{
|
|
742
|
-
className:
|
|
742
|
+
className: chunkETJBX4YT_js.cn(
|
|
743
743
|
"ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
|
|
744
744
|
failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
|
|
745
745
|
),
|
|
@@ -756,7 +756,7 @@ function AiToolCallCard({ part }) {
|
|
|
756
756
|
rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
|
|
757
757
|
/* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer list-none text-[10px] text-muted-foreground/70 hover:text-muted-foreground", children: t("pptx.ai.toolDetails") }),
|
|
758
758
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
|
|
759
|
-
|
|
759
|
+
chunk2LOKAZHT_js.toolLabel(part.toolName),
|
|
760
760
|
": ",
|
|
761
761
|
rawSummary
|
|
762
762
|
] })
|
|
@@ -787,7 +787,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
787
787
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
788
788
|
"div",
|
|
789
789
|
{
|
|
790
|
-
className:
|
|
790
|
+
className: chunkETJBX4YT_js.cn(
|
|
791
791
|
"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
|
|
792
792
|
isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
|
|
793
793
|
),
|
|
@@ -834,7 +834,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
834
834
|
}
|
|
835
835
|
function AiProposalCard({ proposal, onAccept, onReject }) {
|
|
836
836
|
const { t } = reactI18next.useTranslation();
|
|
837
|
-
const lines = proposal.summary.map(
|
|
837
|
+
const lines = proposal.summary.map(chunk2LOKAZHT_js.humanizeDiffLine);
|
|
838
838
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
|
|
839
839
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
|
|
840
840
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
|
|
@@ -1042,7 +1042,7 @@ function AiChatPanel({
|
|
|
1042
1042
|
}) {
|
|
1043
1043
|
const { t } = reactI18next.useTranslation();
|
|
1044
1044
|
const { state, session, initError } = useAiChat(bridge, config);
|
|
1045
|
-
const deckId = react.useMemo(() =>
|
|
1045
|
+
const deckId = react.useMemo(() => chunk2LOKAZHT_js.deckIdFromBridge(bridge), [bridge]);
|
|
1046
1046
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1047
1047
|
"div",
|
|
1048
1048
|
{
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-
|
|
2
|
-
import { cn } from './chunk-
|
|
1
|
+
import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-DIJWZ6ZS.mjs';
|
|
2
|
+
import { cn } from './chunk-PBFNE5X5.mjs';
|
|
3
3
|
import './chunk-MZOZNBRO.mjs';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-ULBSTLY3.mjs';
|
|
5
5
|
import './chunk-XGB3TDIC.mjs';
|
|
6
6
|
import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBQJU7ZG6_js = require('./chunk-BQJU7ZG6.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
var react = require('react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -14,7 +14,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
|
|
|
14
14
|
return;
|
|
15
15
|
}
|
|
16
16
|
let disposed = false;
|
|
17
|
-
void
|
|
17
|
+
void chunkBQJU7ZG6_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
|
|
18
18
|
if (disposed) {
|
|
19
19
|
handle.dispose();
|
|
20
20
|
} else {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBQJU7ZG6_js = require('./chunk-BQJU7ZG6.js');
|
|
4
4
|
var chunk4VNS5WPM_js = require('./chunk-4VNS5WPM.js');
|
|
5
5
|
var mcp = require('pptx-viewer-mcp');
|
|
6
6
|
var mcpSchemas = require('pptx-viewer-mcp/schemas');
|
|
@@ -14879,7 +14879,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
|
|
|
14879
14879
|
};
|
|
14880
14880
|
let markdown;
|
|
14881
14881
|
try {
|
|
14882
|
-
const converter = new
|
|
14882
|
+
const converter = new chunkBQJU7ZG6_js.PptxMarkdownConverter(
|
|
14883
14883
|
"",
|
|
14884
14884
|
{
|
|
14885
14885
|
sourceName: meta3.title ?? "deck.pptx",
|
|
@@ -15471,7 +15471,7 @@ var getTheme = (ctx) => {
|
|
|
15471
15471
|
name: theme?.name,
|
|
15472
15472
|
colorScheme: theme?.colorScheme,
|
|
15473
15473
|
fontScheme: theme?.fontScheme,
|
|
15474
|
-
availablePresets: Object.keys(
|
|
15474
|
+
availablePresets: Object.keys(chunkBQJU7ZG6_js.ThemePresets)
|
|
15475
15475
|
};
|
|
15476
15476
|
};
|
|
15477
15477
|
var readExecutors = {
|
|
Binary file
|
|
Binary file
|