pptx-react-viewer 3.16.3 → 3.16.4
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/{AiChatPanel-G33WODR7.js → AiChatPanel-QJKB2BL3.js} +24 -24
- package/dist/AiChatPanel-QJKB2BL3.js.br +0 -0
- package/dist/AiChatPanel-QJKB2BL3.js.gz +0 -0
- package/dist/{AiChatPanel-X7NUNEJO.mjs → AiChatPanel-YWYME2RM.mjs} +3 -3
- package/dist/AiChatPanel-YWYME2RM.mjs.br +0 -0
- package/dist/AiChatPanel-YWYME2RM.mjs.gz +0 -0
- package/dist/{Area3DChartScene-HBTW5EQP.mjs → Area3DChartScene-47SQRQTD.mjs} +1 -1
- package/dist/Area3DChartScene-47SQRQTD.mjs.br +0 -0
- package/dist/Area3DChartScene-47SQRQTD.mjs.gz +0 -0
- package/dist/{Area3DChartScene-R3P4NSR5.js → Area3DChartScene-DEWKUQUS.js} +2 -2
- package/dist/{Area3DChartScene-R3P4NSR5.js.br → Area3DChartScene-DEWKUQUS.js.br} +0 -0
- package/dist/Area3DChartScene-DEWKUQUS.js.gz +0 -0
- package/dist/{Bar3DChartScene-6IKIGGD7.js → Bar3DChartScene-HRCZHDNT.js} +2 -2
- package/dist/Bar3DChartScene-HRCZHDNT.js.br +0 -0
- package/dist/Bar3DChartScene-HRCZHDNT.js.gz +0 -0
- package/dist/{Bar3DChartScene-RTHG6TVC.mjs → Bar3DChartScene-JXXBIKLB.mjs} +1 -1
- package/dist/{Bar3DChartScene-RTHG6TVC.mjs.br → Bar3DChartScene-JXXBIKLB.mjs.br} +0 -0
- package/dist/Bar3DChartScene-JXXBIKLB.mjs.gz +0 -0
- package/dist/{Line3DChartScene-HNNC2O66.js → Line3DChartScene-JPHU2WGC.js} +2 -2
- package/dist/{Line3DChartScene-HNNC2O66.js.br → Line3DChartScene-JPHU2WGC.js.br} +0 -0
- package/dist/Line3DChartScene-JPHU2WGC.js.gz +0 -0
- package/dist/{Line3DChartScene-WQIUFVLB.mjs → Line3DChartScene-S2SV5HCH.mjs} +1 -1
- package/dist/{Line3DChartScene-WQIUFVLB.mjs.br → Line3DChartScene-S2SV5HCH.mjs.br} +0 -0
- package/dist/Line3DChartScene-S2SV5HCH.mjs.gz +0 -0
- package/dist/{Model3DScene-BPHGVJQG.mjs → Model3DScene-4MOLASW6.mjs} +1 -1
- package/dist/Model3DScene-4MOLASW6.mjs.br +0 -0
- package/dist/Model3DScene-4MOLASW6.mjs.gz +0 -0
- package/dist/{Model3DScene-AAMDGTRI.js → Model3DScene-JP4ICMLY.js} +2 -2
- package/dist/Model3DScene-JP4ICMLY.js.br +0 -0
- package/dist/Model3DScene-JP4ICMLY.js.gz +0 -0
- package/dist/{PieChart3DScene-S5OWDFJN.mjs → PieChart3DScene-PV7BN7MS.mjs} +1 -1
- package/dist/{PieChart3DScene-S5OWDFJN.mjs.br → PieChart3DScene-PV7BN7MS.mjs.br} +0 -0
- package/dist/PieChart3DScene-PV7BN7MS.mjs.gz +0 -0
- package/dist/{PieChart3DScene-LO6IJAWY.js → PieChart3DScene-QYWGHJGG.js} +2 -2
- package/dist/{PieChart3DScene-LO6IJAWY.js.br → PieChart3DScene-QYWGHJGG.js.br} +0 -0
- package/dist/PieChart3DScene-QYWGHJGG.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-7CKYX5HW.mjs → SurfaceChart3DScene-7ONY7OIY.mjs} +1 -1
- package/dist/SurfaceChart3DScene-7ONY7OIY.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-7ONY7OIY.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-FLQRXC6F.js → SurfaceChart3DScene-KAD2GVBY.js} +2 -2
- package/dist/{SurfaceChart3DScene-FLQRXC6F.js.br → SurfaceChart3DScene-KAD2GVBY.js.br} +0 -0
- package/dist/SurfaceChart3DScene-KAD2GVBY.js.gz +0 -0
- package/dist/{chunk-CVS2CHLU.js → chunk-4WGGCKLD.js} +5 -5
- package/dist/chunk-4WGGCKLD.js.br +0 -0
- package/dist/chunk-4WGGCKLD.js.gz +0 -0
- package/dist/{chunk-VA2JFII4.mjs → chunk-6TGJ5RGQ.mjs} +1 -1
- package/dist/chunk-6TGJ5RGQ.mjs.br +0 -0
- package/dist/{chunk-VA2JFII4.mjs.gz → chunk-6TGJ5RGQ.mjs.gz} +0 -0
- package/dist/{chunk-QMLJFL7G.js → chunk-EDCU5EK5.js} +451 -451
- package/dist/chunk-EDCU5EK5.js.br +0 -0
- package/dist/chunk-EDCU5EK5.js.gz +0 -0
- package/dist/{chunk-WTPGQ3K7.mjs → chunk-IKQY2ZU2.mjs} +1 -1
- package/dist/chunk-IKQY2ZU2.mjs.br +0 -0
- package/dist/chunk-IKQY2ZU2.mjs.gz +0 -0
- package/dist/{chunk-VVAXSNG5.mjs → chunk-ISXUHV3L.mjs} +2 -2
- package/dist/chunk-ISXUHV3L.mjs.br +0 -0
- package/dist/chunk-ISXUHV3L.mjs.gz +0 -0
- package/dist/{chunk-4CLG3TRU.js → chunk-NMSZ3NSG.js} +169 -169
- package/dist/chunk-NMSZ3NSG.js.br +0 -0
- package/dist/chunk-NMSZ3NSG.js.gz +0 -0
- package/dist/{chunk-3TPQY6WR.js → chunk-PABSSYRA.js} +134 -103
- package/dist/chunk-PABSSYRA.js.br +0 -0
- package/dist/chunk-PABSSYRA.js.gz +0 -0
- package/dist/{chunk-4U3OI6J3.mjs → chunk-R5CW64K4.mjs} +134 -103
- package/dist/chunk-R5CW64K4.mjs.br +0 -0
- package/dist/chunk-R5CW64K4.mjs.gz +0 -0
- package/dist/{chunk-2G2MMJRA.mjs → chunk-USQGKC4A.mjs} +12 -12
- package/dist/chunk-USQGKC4A.mjs.br +0 -0
- package/dist/chunk-USQGKC4A.mjs.gz +0 -0
- package/dist/{chunk-AAVKRMQA.js → chunk-ZWZGKJ4E.js} +1290 -1290
- package/dist/chunk-ZWZGKJ4E.js.br +0 -0
- package/dist/chunk-ZWZGKJ4E.js.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-G33WODR7.js.br +0 -0
- package/dist/AiChatPanel-G33WODR7.js.gz +0 -0
- package/dist/AiChatPanel-X7NUNEJO.mjs.br +0 -0
- package/dist/AiChatPanel-X7NUNEJO.mjs.gz +0 -0
- package/dist/Area3DChartScene-HBTW5EQP.mjs.br +0 -0
- package/dist/Area3DChartScene-HBTW5EQP.mjs.gz +0 -0
- package/dist/Area3DChartScene-R3P4NSR5.js.gz +0 -0
- package/dist/Bar3DChartScene-6IKIGGD7.js.br +0 -0
- package/dist/Bar3DChartScene-6IKIGGD7.js.gz +0 -0
- package/dist/Bar3DChartScene-RTHG6TVC.mjs.gz +0 -0
- package/dist/Line3DChartScene-HNNC2O66.js.gz +0 -0
- package/dist/Line3DChartScene-WQIUFVLB.mjs.gz +0 -0
- package/dist/Model3DScene-AAMDGTRI.js.br +0 -0
- package/dist/Model3DScene-AAMDGTRI.js.gz +0 -0
- package/dist/Model3DScene-BPHGVJQG.mjs.br +0 -0
- package/dist/Model3DScene-BPHGVJQG.mjs.gz +0 -0
- package/dist/PieChart3DScene-LO6IJAWY.js.gz +0 -0
- package/dist/PieChart3DScene-S5OWDFJN.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-7CKYX5HW.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-7CKYX5HW.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-FLQRXC6F.js.gz +0 -0
- package/dist/chunk-2G2MMJRA.mjs.br +0 -0
- package/dist/chunk-2G2MMJRA.mjs.gz +0 -0
- package/dist/chunk-3TPQY6WR.js.br +0 -0
- package/dist/chunk-3TPQY6WR.js.gz +0 -0
- package/dist/chunk-4CLG3TRU.js.br +0 -0
- package/dist/chunk-4CLG3TRU.js.gz +0 -0
- package/dist/chunk-4U3OI6J3.mjs.br +0 -0
- package/dist/chunk-4U3OI6J3.mjs.gz +0 -0
- package/dist/chunk-AAVKRMQA.js.br +0 -0
- package/dist/chunk-AAVKRMQA.js.gz +0 -0
- package/dist/chunk-CVS2CHLU.js.br +0 -0
- package/dist/chunk-CVS2CHLU.js.gz +0 -0
- package/dist/chunk-QMLJFL7G.js.br +0 -0
- package/dist/chunk-QMLJFL7G.js.gz +0 -0
- package/dist/chunk-VA2JFII4.mjs.br +0 -0
- package/dist/chunk-VVAXSNG5.mjs.br +0 -0
- package/dist/chunk-VVAXSNG5.mjs.gz +0 -0
- package/dist/chunk-WTPGQ3K7.mjs.br +0 -0
- package/dist/chunk-WTPGQ3K7.mjs.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
|
+
## [3.16.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.16.3) - 2026-09-11
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- Preserve the current deck when an older load finishes ([668cfa9](https://github.com/ChristopherVR/pptx-viewer/commit/668cfa9f97014453498b6cccdeb0734adf7bca5a))
|
|
15
|
+
|
|
10
16
|
## [3.16.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@3.16.2) - 2026-09-11
|
|
11
17
|
|
|
12
18
|
### Bug Fixes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunk4WGGCKLD_js = require('./chunk-4WGGCKLD.js');
|
|
4
|
+
var chunkNMSZ3NSG_js = require('./chunk-NMSZ3NSG.js');
|
|
5
|
+
require('./chunk-PABSSYRA.js');
|
|
6
6
|
require('./chunk-3AJ54EAB.js');
|
|
7
7
|
require('./chunk-4VNS5WPM.js');
|
|
8
8
|
var react = require('react');
|
|
@@ -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 chunk4WGGCKLD_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 chunk4WGGCKLD_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 chunk4WGGCKLD_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?.(chunk4WGGCKLD_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 ?? chunk4WGGCKLD_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: chunkNMSZ3NSG_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
|
),
|
|
@@ -442,15 +442,15 @@ function AiFocusBar({
|
|
|
442
442
|
onClearPicks
|
|
443
443
|
}) {
|
|
444
444
|
const { t } = reactI18next.useTranslation();
|
|
445
|
-
const chips =
|
|
446
|
-
const twoTables =
|
|
445
|
+
const chips = chunk4WGGCKLD_js.focusTargetChips(targets, slides);
|
|
446
|
+
const twoTables = chunk4WGGCKLD_js.isTwoTableFocus(targets, slides);
|
|
447
447
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
|
|
448
448
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
|
|
449
449
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
|
|
450
450
|
chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
451
451
|
"span",
|
|
452
452
|
{
|
|
453
|
-
className:
|
|
453
|
+
className: chunkNMSZ3NSG_js.cn(
|
|
454
454
|
"inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
|
|
455
455
|
hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
|
|
456
456
|
),
|
|
@@ -466,7 +466,7 @@ function AiFocusBar({
|
|
|
466
466
|
{
|
|
467
467
|
type: "button",
|
|
468
468
|
onClick: () => onSendDirective(
|
|
469
|
-
|
|
469
|
+
chunk4WGGCKLD_js.mergeTablesDirective(
|
|
470
470
|
twoTables.slideIndex,
|
|
471
471
|
twoTables.elementIdA,
|
|
472
472
|
twoTables.elementIdB
|
|
@@ -487,7 +487,7 @@ function AiFocusBar({
|
|
|
487
487
|
title: t("pptx.ai.pickElement"),
|
|
488
488
|
"aria-label": t("pptx.ai.pickAria"),
|
|
489
489
|
"aria-pressed": pickMode,
|
|
490
|
-
className:
|
|
490
|
+
className: chunkNMSZ3NSG_js.cn(
|
|
491
491
|
"rounded-sm p-1 max-md:min-w-[44px]! max-md:min-h-[44px]! flex items-center justify-center",
|
|
492
492
|
pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
|
|
493
493
|
),
|
|
@@ -566,7 +566,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
|
|
|
566
566
|
{
|
|
567
567
|
type: "button",
|
|
568
568
|
onClick: () => onResume(chat.id),
|
|
569
|
-
className:
|
|
569
|
+
className: chunkNMSZ3NSG_js.cn(
|
|
570
570
|
"flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
|
|
571
571
|
chat.id === activeChatId && "bg-accent/60"
|
|
572
572
|
),
|
|
@@ -721,26 +721,26 @@ function AiToolCallCard({ part }) {
|
|
|
721
721
|
const failed = part.state === "output-error";
|
|
722
722
|
const done = part.state === "output-available";
|
|
723
723
|
const running = !failed && !done;
|
|
724
|
-
const activity =
|
|
724
|
+
const activity = chunk4WGGCKLD_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
|
|
725
725
|
const Icon = ICONS[activity.icon] ?? lu.LuWrench;
|
|
726
|
-
const rawSummary =
|
|
726
|
+
const rawSummary = chunk4WGGCKLD_js.summarizeToolArgs(part.input);
|
|
727
727
|
const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
|
|
728
728
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
|
|
729
729
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
730
730
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
731
731
|
Icon,
|
|
732
732
|
{
|
|
733
|
-
className:
|
|
733
|
+
className: chunkNMSZ3NSG_js.cn(
|
|
734
734
|
"w-3.5 h-3.5 shrink-0",
|
|
735
735
|
failed ? "text-destructive" : "text-muted-foreground"
|
|
736
736
|
)
|
|
737
737
|
}
|
|
738
738
|
),
|
|
739
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
739
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkNMSZ3NSG_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
|
|
740
740
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
741
741
|
"span",
|
|
742
742
|
{
|
|
743
|
-
className:
|
|
743
|
+
className: chunkNMSZ3NSG_js.cn(
|
|
744
744
|
"ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
|
|
745
745
|
failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
|
|
746
746
|
),
|
|
@@ -757,7 +757,7 @@ function AiToolCallCard({ part }) {
|
|
|
757
757
|
rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
|
|
758
758
|
/* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer list-none text-[10px] text-muted-foreground/70 hover:text-muted-foreground", children: t("pptx.ai.toolDetails") }),
|
|
759
759
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
|
|
760
|
-
|
|
760
|
+
chunk4WGGCKLD_js.toolLabel(part.toolName),
|
|
761
761
|
": ",
|
|
762
762
|
rawSummary
|
|
763
763
|
] })
|
|
@@ -788,7 +788,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
788
788
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
789
789
|
"div",
|
|
790
790
|
{
|
|
791
|
-
className:
|
|
791
|
+
className: chunkNMSZ3NSG_js.cn(
|
|
792
792
|
"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
|
|
793
793
|
isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
|
|
794
794
|
),
|
|
@@ -835,7 +835,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
835
835
|
}
|
|
836
836
|
function AiProposalCard({ proposal, onAccept, onReject }) {
|
|
837
837
|
const { t } = reactI18next.useTranslation();
|
|
838
|
-
const lines = proposal.summary.map(
|
|
838
|
+
const lines = proposal.summary.map(chunk4WGGCKLD_js.humanizeDiffLine);
|
|
839
839
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
|
|
840
840
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
|
|
841
841
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
|
|
@@ -1043,7 +1043,7 @@ function AiChatPanel({
|
|
|
1043
1043
|
}) {
|
|
1044
1044
|
const { t } = reactI18next.useTranslation();
|
|
1045
1045
|
const { state, session, initError } = useAiChat(bridge, config);
|
|
1046
|
-
const deckId = react.useMemo(() =>
|
|
1046
|
+
const deckId = react.useMemo(() => chunk4WGGCKLD_js.deckIdFromBridge(bridge), [bridge]);
|
|
1047
1047
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1048
1048
|
"div",
|
|
1049
1049
|
{
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-
|
|
2
|
-
import { cn } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { deckIdFromBridge, isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, mergeTablesDirective, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-6TGJ5RGQ.mjs';
|
|
2
|
+
import { cn } from './chunk-IKQY2ZU2.mjs';
|
|
3
|
+
import './chunk-R5CW64K4.mjs';
|
|
4
4
|
import './chunk-HMX3MQR7.mjs';
|
|
5
5
|
import './chunk-XGB3TDIC.mjs';
|
|
6
6
|
import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountAreaChart3D } from './chunk-
|
|
2
|
+
import { mountAreaChart3D } from './chunk-R5CW64K4.mjs';
|
|
3
3
|
import './chunk-XGB3TDIC.mjs';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -23,7 +23,7 @@ function Area3DChartScene({
|
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
let disposed = false;
|
|
26
|
-
void
|
|
26
|
+
void chunkPABSSYRA_js.mountAreaChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
27
|
if (disposed) {
|
|
28
28
|
handle.dispose();
|
|
29
29
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -23,7 +23,7 @@ function Bar3DChartScene({
|
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
let disposed = false;
|
|
26
|
-
void
|
|
26
|
+
void chunkPABSSYRA_js.mountBarChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
27
|
if (disposed) {
|
|
28
28
|
handle.dispose();
|
|
29
29
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountBarChart3D } from './chunk-
|
|
2
|
+
import { mountBarChart3D } from './chunk-R5CW64K4.mjs';
|
|
3
3
|
import './chunk-XGB3TDIC.mjs';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -23,7 +23,7 @@ function Line3DChartScene({
|
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
let disposed = false;
|
|
26
|
-
void
|
|
26
|
+
void chunkPABSSYRA_js.mountLineChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
27
|
if (disposed) {
|
|
28
28
|
handle.dispose();
|
|
29
29
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountLineChart3D } from './chunk-
|
|
2
|
+
import { mountLineChart3D } from './chunk-R5CW64K4.mjs';
|
|
3
3
|
import './chunk-XGB3TDIC.mjs';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.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 chunkPABSSYRA_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
|
|
18
18
|
if (disposed) {
|
|
19
19
|
handle.dispose();
|
|
20
20
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountPieChart3D } from './chunk-
|
|
2
|
+
import { mountPieChart3D } from './chunk-R5CW64K4.mjs';
|
|
3
3
|
import './chunk-XGB3TDIC.mjs';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -21,7 +21,7 @@ function PieChart3DScene({
|
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
23
|
let disposed = false;
|
|
24
|
-
void
|
|
24
|
+
void chunkPABSSYRA_js.mountPieChart3D(container, options, stableInteraction).then((handle) => {
|
|
25
25
|
if (disposed) {
|
|
26
26
|
handle.dispose();
|
|
27
27
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useStableChart3DInteraction, useLatestRef } from './chunk-T6GFCLSM.mjs';
|
|
2
|
-
import { mountSurfaceChart3D } from './chunk-
|
|
2
|
+
import { mountSurfaceChart3D } from './chunk-R5CW64K4.mjs';
|
|
3
3
|
import './chunk-XGB3TDIC.mjs';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDNR6CH6I_js = require('./chunk-DNR6CH6I.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -23,7 +23,7 @@ function SurfaceChart3DScene({
|
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
let disposed = false;
|
|
26
|
-
void
|
|
26
|
+
void chunkPABSSYRA_js.mountSurfaceChart3D(container, options, stableInteraction).then((handle) => {
|
|
27
27
|
if (disposed) {
|
|
28
28
|
handle.dispose();
|
|
29
29
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPABSSYRA_js = require('./chunk-PABSSYRA.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');
|
|
@@ -19079,7 +19079,7 @@ async function buildSlideMarkdown(slides, slideIndex2, meta3, options = {}) {
|
|
|
19079
19079
|
};
|
|
19080
19080
|
let markdown;
|
|
19081
19081
|
try {
|
|
19082
|
-
const converter = new
|
|
19082
|
+
const converter = new chunkPABSSYRA_js.PptxMarkdownConverter(
|
|
19083
19083
|
"",
|
|
19084
19084
|
{
|
|
19085
19085
|
sourceName: meta3.title ?? "deck.pptx",
|
|
@@ -19671,7 +19671,7 @@ var getTheme = (ctx) => {
|
|
|
19671
19671
|
name: theme?.name,
|
|
19672
19672
|
colorScheme: theme?.colorScheme,
|
|
19673
19673
|
fontScheme: theme?.fontScheme,
|
|
19674
|
-
availablePresets: Object.keys(
|
|
19674
|
+
availablePresets: Object.keys(chunkPABSSYRA_js.ThemePresets)
|
|
19675
19675
|
};
|
|
19676
19676
|
};
|
|
19677
19677
|
var readExecutors = {
|
|
@@ -20769,7 +20769,7 @@ function applyElementUpdate(el, u) {
|
|
|
20769
20769
|
applyShapeStyleUpdate(el, u);
|
|
20770
20770
|
}
|
|
20771
20771
|
function applyTextUpdate(el, u) {
|
|
20772
|
-
if (!
|
|
20772
|
+
if (!chunkPABSSYRA_js.hasTextProperties(el)) {
|
|
20773
20773
|
return;
|
|
20774
20774
|
}
|
|
20775
20775
|
const textEl = el;
|
|
@@ -20818,7 +20818,7 @@ function applyShapeStyleUpdate(el, u) {
|
|
|
20818
20818
|
if (u.fillColor === void 0 && u.strokeColor === void 0 && u.strokeWidth === void 0) {
|
|
20819
20819
|
return;
|
|
20820
20820
|
}
|
|
20821
|
-
if (!
|
|
20821
|
+
if (!chunkPABSSYRA_js.hasShapeProperties(el)) {
|
|
20822
20822
|
return;
|
|
20823
20823
|
}
|
|
20824
20824
|
const holder = el;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-
|
|
1
|
+
import { ThemePresets, PptxMarkdownConverter, hasTextProperties, hasShapeProperties } from './chunk-R5CW64K4.mjs';
|
|
2
2
|
import { __export } from './chunk-XGB3TDIC.mjs';
|
|
3
3
|
import * as mcp from 'pptx-viewer-mcp';
|
|
4
4
|
import * as mcpSchemas from 'pptx-viewer-mcp/schemas';
|
|
Binary file
|
|
Binary file
|