pptx-react-viewer 2.2.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{AiChatPanel-O4NYWO3D.js → AiChatPanel-HLLGXBZF.js} +23 -24
- package/dist/AiChatPanel-HLLGXBZF.js.br +0 -0
- package/dist/AiChatPanel-HLLGXBZF.js.gz +0 -0
- package/dist/{AiChatPanel-XRKEPXAM.mjs → AiChatPanel-SXYMXFYS.mjs} +4 -5
- package/dist/AiChatPanel-SXYMXFYS.mjs.br +0 -0
- package/dist/AiChatPanel-SXYMXFYS.mjs.gz +0 -0
- package/dist/{Model3DScene-JN5F5C4Z.mjs → Model3DScene-IECT4RWT.mjs} +1 -2
- package/dist/Model3DScene-IECT4RWT.mjs.br +0 -0
- package/dist/Model3DScene-IECT4RWT.mjs.gz +0 -0
- package/dist/{Model3DScene-HYE6HA2C.js → Model3DScene-ZQBWLAMC.js} +2 -3
- package/dist/Model3DScene-ZQBWLAMC.js.br +0 -0
- package/dist/Model3DScene-ZQBWLAMC.js.gz +0 -0
- package/dist/{PowerPointViewer-gmU5rc7K.d.ts → PowerPointViewer-Cjn1RgSz.d.ts} +2 -2
- package/dist/{PowerPointViewer-gmU5rc7K.d.ts.map → PowerPointViewer-Cjn1RgSz.d.ts.map} +1 -1
- package/dist/{SurfaceChart3DScene-FDJ6LC4E.js → SurfaceChart3DScene-4KRMRWW6.js} +2 -3
- package/dist/SurfaceChart3DScene-4KRMRWW6.js.br +0 -0
- package/dist/SurfaceChart3DScene-4KRMRWW6.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-V7P3LQVV.mjs → SurfaceChart3DScene-52C3IMPQ.mjs} +1 -2
- package/dist/SurfaceChart3DScene-52C3IMPQ.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-52C3IMPQ.mjs.gz +0 -0
- package/dist/audience-content-store-BMlth_3U.d.ts +386 -0
- package/dist/audience-content-store-BMlth_3U.d.ts.map +1 -0
- package/dist/{chunk-YIFO3WQO.js → chunk-25VSL2BB.js} +1 -0
- package/dist/chunk-25VSL2BB.js.br +0 -0
- package/dist/chunk-25VSL2BB.js.gz +0 -0
- package/dist/{chunk-XJTWUXXC.js → chunk-5GHLRHBR.js} +3 -3
- package/dist/chunk-5GHLRHBR.js.br +0 -0
- package/dist/chunk-5GHLRHBR.js.gz +0 -0
- package/dist/{chunk-2U243ZEP.js → chunk-5TPQJWEO.js} +267 -252
- package/dist/chunk-5TPQJWEO.js.br +0 -0
- package/dist/chunk-5TPQJWEO.js.gz +0 -0
- package/dist/{chunk-O75FHZQJ.mjs → chunk-G6Q3NXRV.mjs} +23 -8
- package/dist/chunk-G6Q3NXRV.mjs.br +0 -0
- package/dist/chunk-G6Q3NXRV.mjs.gz +0 -0
- package/dist/{chunk-RYHBWTPI.mjs → chunk-KK7FWBGO.mjs} +89 -69
- package/dist/chunk-KK7FWBGO.mjs.br +0 -0
- package/dist/chunk-KK7FWBGO.mjs.gz +0 -0
- package/dist/{chunk-7NSLKNCT.mjs → chunk-LRIXPSVT.mjs} +4 -6
- package/dist/chunk-LRIXPSVT.mjs.br +0 -0
- package/dist/chunk-LRIXPSVT.mjs.gz +0 -0
- package/dist/{chunk-I2HF7ZPO.mjs → chunk-Q6FC2552.mjs} +1 -1
- package/dist/chunk-Q6FC2552.mjs.br +0 -0
- package/dist/chunk-Q6FC2552.mjs.gz +0 -0
- package/dist/{chunk-R2H3FHK6.js → chunk-QBZA2GMB.mjs} +47788 -32364
- package/dist/chunk-QBZA2GMB.mjs.br +0 -0
- package/dist/chunk-QBZA2GMB.mjs.gz +0 -0
- package/dist/{chunk-K2AW5UXT.js → chunk-VEZO33T2.js} +314 -316
- package/dist/chunk-VEZO33T2.js.br +0 -0
- package/dist/chunk-VEZO33T2.js.gz +0 -0
- package/dist/{chunk-PE2I5L6R.mjs → chunk-WK56SFN7.js} +48287 -31794
- package/dist/chunk-WK56SFN7.js.br +0 -0
- package/dist/chunk-WK56SFN7.js.gz +0 -0
- package/dist/{chunk-QULJW7LU.js → chunk-XSBFV6TL.js} +929 -909
- package/dist/chunk-XSBFV6TL.js.br +0 -0
- package/dist/chunk-XSBFV6TL.js.gz +0 -0
- package/dist/{chunk-PZTPX3HK.mjs → chunk-Z6HIZWIQ.mjs} +1 -0
- package/dist/chunk-Z6HIZWIQ.mjs.br +0 -0
- package/dist/chunk-Z6HIZWIQ.mjs.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index.d.ts +92 -87
- package/dist/index.js +39 -40
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +519 -514
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -81
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -6
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/{animation-timeline-eb5z0SHW.d.ts → types-DciBT90G.d.ts} +4 -3
- package/dist/types-DciBT90G.d.ts.map +1 -0
- package/dist/{useViewerBuildingBlocks-CjureTRf.d.ts → useViewerBuildingBlocks-DMDZRawe.d.ts} +4 -4
- package/dist/{useViewerBuildingBlocks-CjureTRf.d.ts.map → useViewerBuildingBlocks-DMDZRawe.d.ts.map} +1 -1
- package/dist/viewer/index.d.ts +92 -88
- package/dist/viewer/index.js +22 -24
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -8
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +4 -4
- package/dist/AiChatPanel-O4NYWO3D.js.br +0 -0
- package/dist/AiChatPanel-O4NYWO3D.js.gz +0 -0
- package/dist/AiChatPanel-XRKEPXAM.mjs.br +0 -0
- package/dist/AiChatPanel-XRKEPXAM.mjs.gz +0 -0
- package/dist/Model3DScene-HYE6HA2C.js.br +0 -0
- package/dist/Model3DScene-HYE6HA2C.js.gz +0 -0
- package/dist/Model3DScene-JN5F5C4Z.mjs.br +0 -0
- package/dist/Model3DScene-JN5F5C4Z.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-FDJ6LC4E.js.br +0 -0
- package/dist/SurfaceChart3DScene-FDJ6LC4E.js.gz +0 -0
- package/dist/SurfaceChart3DScene-V7P3LQVV.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-V7P3LQVV.mjs.gz +0 -0
- package/dist/animation-timeline-eb5z0SHW.d.ts.map +0 -1
- package/dist/chunk-2QHCOESN.js +0 -28037
- package/dist/chunk-2QHCOESN.js.br +0 -0
- package/dist/chunk-2QHCOESN.js.gz +0 -0
- package/dist/chunk-2U243ZEP.js.br +0 -0
- package/dist/chunk-2U243ZEP.js.gz +0 -0
- package/dist/chunk-6G6S7PEI.mjs +0 -27604
- package/dist/chunk-6G6S7PEI.mjs.br +0 -0
- package/dist/chunk-6G6S7PEI.mjs.gz +0 -0
- package/dist/chunk-7NSLKNCT.mjs.br +0 -0
- package/dist/chunk-7NSLKNCT.mjs.gz +0 -0
- package/dist/chunk-I2HF7ZPO.mjs.br +0 -0
- package/dist/chunk-I2HF7ZPO.mjs.gz +0 -0
- package/dist/chunk-IKBO6CZC.js +0 -2
- package/dist/chunk-IKBO6CZC.js.br +0 -3
- package/dist/chunk-IKBO6CZC.js.gz +0 -0
- package/dist/chunk-K2AW5UXT.js.br +0 -0
- package/dist/chunk-K2AW5UXT.js.gz +0 -0
- package/dist/chunk-O75FHZQJ.mjs.br +0 -0
- package/dist/chunk-O75FHZQJ.mjs.gz +0 -0
- package/dist/chunk-PE2I5L6R.mjs.br +0 -0
- package/dist/chunk-PE2I5L6R.mjs.gz +0 -0
- package/dist/chunk-PZTPX3HK.mjs.br +0 -0
- package/dist/chunk-PZTPX3HK.mjs.gz +0 -0
- package/dist/chunk-QULJW7LU.js.br +0 -0
- package/dist/chunk-QULJW7LU.js.gz +0 -0
- package/dist/chunk-R2H3FHK6.js.br +0 -0
- package/dist/chunk-R2H3FHK6.js.gz +0 -0
- package/dist/chunk-RYHBWTPI.mjs.br +0 -0
- package/dist/chunk-RYHBWTPI.mjs.gz +0 -0
- package/dist/chunk-T5U6P2JH.mjs +0 -1
- package/dist/chunk-T5U6P2JH.mjs.br +0 -0
- package/dist/chunk-T5U6P2JH.mjs.gz +0 -0
- package/dist/chunk-XJTWUXXC.js.br +0 -0
- package/dist/chunk-XJTWUXXC.js.gz +0 -0
- package/dist/chunk-YIFO3WQO.js.br +0 -0
- package/dist/chunk-YIFO3WQO.js.gz +0 -0
- package/dist/dist-VEWYRBTB.mjs +0 -2
- package/dist/dist-VEWYRBTB.mjs.br +0 -0
- package/dist/dist-VEWYRBTB.mjs.gz +0 -0
- package/dist/dist-ZCJLIRYG.js +0 -2275
- package/dist/dist-ZCJLIRYG.js.br +0 -0
- package/dist/dist-ZCJLIRYG.js.gz +0 -0
- package/dist/index-CDCSXtK3.d.ts +0 -685
- package/dist/index-CDCSXtK3.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
6
|
|
|
7
|
+
## [2.3.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.3.0) - 2026-07-25
|
|
8
|
+
|
|
9
|
+
## [2.2.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.2.1) - 2026-07-24
|
|
10
|
+
|
|
7
11
|
## [2.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.2.0) - 2026-07-24
|
|
8
12
|
|
|
9
13
|
## [2.1.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.1.0) - 2026-07-23
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-R2H3FHK6.js');
|
|
3
|
+
var chunk5GHLRHBR_js = require('./chunk-5GHLRHBR.js');
|
|
4
|
+
var chunk5TPQJWEO_js = require('./chunk-5TPQJWEO.js');
|
|
5
|
+
require('./chunk-25VSL2BB.js');
|
|
6
|
+
require('./chunk-WK56SFN7.js');
|
|
8
7
|
require('./chunk-4VNS5WPM.js');
|
|
9
8
|
var react = require('react');
|
|
10
9
|
var reactI18next = require('react-i18next');
|
|
@@ -31,7 +30,7 @@ function useAiChat(bridge, config) {
|
|
|
31
30
|
setInitError(void 0);
|
|
32
31
|
void (async () => {
|
|
33
32
|
try {
|
|
34
|
-
const available = await
|
|
33
|
+
const available = await chunk5GHLRHBR_js.isAiAvailable();
|
|
35
34
|
if (cancelled) {
|
|
36
35
|
return;
|
|
37
36
|
}
|
|
@@ -39,7 +38,7 @@ function useAiChat(bridge, config) {
|
|
|
39
38
|
setState("unavailable");
|
|
40
39
|
return;
|
|
41
40
|
}
|
|
42
|
-
const built = await
|
|
41
|
+
const built = await chunk5GHLRHBR_js.createAiChatSession(bridge, configRef.current);
|
|
43
42
|
if (cancelled) {
|
|
44
43
|
return;
|
|
45
44
|
}
|
|
@@ -145,7 +144,7 @@ function withDeckContext(inner, bridge, strategy) {
|
|
|
145
144
|
}
|
|
146
145
|
let context = "";
|
|
147
146
|
try {
|
|
148
|
-
context = await
|
|
147
|
+
context = await chunk5GHLRHBR_js.buildDeckContext(bridge, { strategy, focus: {} });
|
|
149
148
|
} catch {
|
|
150
149
|
context = "";
|
|
151
150
|
}
|
|
@@ -208,7 +207,7 @@ function useAiConversation(session, config, bridge, options = {}) {
|
|
|
208
207
|
continue;
|
|
209
208
|
}
|
|
210
209
|
seen.add(call.toolCallId);
|
|
211
|
-
onToolTargetRef.current?.(
|
|
210
|
+
onToolTargetRef.current?.(chunk5GHLRHBR_js.toolCanvasTarget(call.toolName, call.input));
|
|
212
211
|
}
|
|
213
212
|
}, [chat.messages]);
|
|
214
213
|
const send = react.useCallback(
|
|
@@ -284,7 +283,7 @@ function deriveTitle(messages) {
|
|
|
284
283
|
}
|
|
285
284
|
function useAiHistory(input) {
|
|
286
285
|
const { deckId, messages, setMessages } = input;
|
|
287
|
-
const store = react.useMemo(() => input.store ??
|
|
286
|
+
const store = react.useMemo(() => input.store ?? chunk5GHLRHBR_js.createChatHistoryStore(), [input.store]);
|
|
288
287
|
const [activeChatId, setActiveChatId] = react.useState(newChatId);
|
|
289
288
|
const [chats, setChats] = react.useState([]);
|
|
290
289
|
const createdAtRef = react.useRef(Date.now());
|
|
@@ -427,7 +426,7 @@ function AiComposer({
|
|
|
427
426
|
disabled: value.trim().length === 0,
|
|
428
427
|
title: t("pptx.ai.send"),
|
|
429
428
|
"aria-label": t("pptx.ai.send"),
|
|
430
|
-
className:
|
|
429
|
+
className: chunk5TPQJWEO_js.cn(
|
|
431
430
|
"shrink-0 rounded-sm p-1.5 transition-colors",
|
|
432
431
|
value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
433
432
|
),
|
|
@@ -453,15 +452,15 @@ function AiFocusBar({
|
|
|
453
452
|
onClearPicks
|
|
454
453
|
}) {
|
|
455
454
|
const { t } = reactI18next.useTranslation();
|
|
456
|
-
const chips =
|
|
457
|
-
const twoTables =
|
|
455
|
+
const chips = chunk5GHLRHBR_js.focusTargetChips(targets, slides);
|
|
456
|
+
const twoTables = chunk5GHLRHBR_js.isTwoTableFocus(targets, slides);
|
|
458
457
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
|
|
459
458
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
|
|
460
459
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
|
|
461
460
|
chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
462
461
|
"span",
|
|
463
462
|
{
|
|
464
|
-
className:
|
|
463
|
+
className: chunk5TPQJWEO_js.cn(
|
|
465
464
|
"inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
|
|
466
465
|
hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
|
|
467
466
|
),
|
|
@@ -494,7 +493,7 @@ function AiFocusBar({
|
|
|
494
493
|
title: t("pptx.ai.pickElement"),
|
|
495
494
|
"aria-label": t("pptx.ai.pickAria"),
|
|
496
495
|
"aria-pressed": pickMode,
|
|
497
|
-
className:
|
|
496
|
+
className: chunk5TPQJWEO_js.cn(
|
|
498
497
|
"rounded-sm p-1",
|
|
499
498
|
pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
|
|
500
499
|
),
|
|
@@ -573,7 +572,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
|
|
|
573
572
|
{
|
|
574
573
|
type: "button",
|
|
575
574
|
onClick: () => onResume(chat.id),
|
|
576
|
-
className:
|
|
575
|
+
className: chunk5TPQJWEO_js.cn(
|
|
577
576
|
"flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
|
|
578
577
|
chat.id === activeChatId && "bg-accent/60"
|
|
579
578
|
),
|
|
@@ -728,26 +727,26 @@ function AiToolCallCard({ part }) {
|
|
|
728
727
|
const failed = part.state === "output-error";
|
|
729
728
|
const done = part.state === "output-available";
|
|
730
729
|
const running = !failed && !done;
|
|
731
|
-
const activity =
|
|
730
|
+
const activity = chunk5GHLRHBR_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
|
|
732
731
|
const Icon = ICONS[activity.icon] ?? lu.LuWrench;
|
|
733
|
-
const rawSummary =
|
|
732
|
+
const rawSummary = chunk5GHLRHBR_js.summarizeToolArgs(part.input);
|
|
734
733
|
const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
|
|
735
734
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
|
|
736
735
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
737
736
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
738
737
|
Icon,
|
|
739
738
|
{
|
|
740
|
-
className:
|
|
739
|
+
className: chunk5TPQJWEO_js.cn(
|
|
741
740
|
"w-3.5 h-3.5 shrink-0",
|
|
742
741
|
failed ? "text-destructive" : "text-muted-foreground"
|
|
743
742
|
)
|
|
744
743
|
}
|
|
745
744
|
),
|
|
746
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
745
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk5TPQJWEO_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
|
|
747
746
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
748
747
|
"span",
|
|
749
748
|
{
|
|
750
|
-
className:
|
|
749
|
+
className: chunk5TPQJWEO_js.cn(
|
|
751
750
|
"ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
|
|
752
751
|
failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
|
|
753
752
|
),
|
|
@@ -764,7 +763,7 @@ function AiToolCallCard({ part }) {
|
|
|
764
763
|
rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
|
|
765
764
|
/* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer list-none text-[10px] text-muted-foreground/70 hover:text-muted-foreground", children: t("pptx.ai.toolDetails") }),
|
|
766
765
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
|
|
767
|
-
|
|
766
|
+
chunk5GHLRHBR_js.toolLabel(part.toolName),
|
|
768
767
|
": ",
|
|
769
768
|
rawSummary
|
|
770
769
|
] })
|
|
@@ -795,7 +794,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
795
794
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
796
795
|
"div",
|
|
797
796
|
{
|
|
798
|
-
className:
|
|
797
|
+
className: chunk5TPQJWEO_js.cn(
|
|
799
798
|
"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
|
|
800
799
|
isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
|
|
801
800
|
),
|
|
@@ -842,7 +841,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
842
841
|
}
|
|
843
842
|
function AiProposalCard({ proposal, onAccept, onReject }) {
|
|
844
843
|
const { t } = reactI18next.useTranslation();
|
|
845
|
-
const lines = proposal.summary.map(
|
|
844
|
+
const lines = proposal.summary.map(chunk5GHLRHBR_js.humanizeDiffLine);
|
|
846
845
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
|
|
847
846
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
|
|
848
847
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-
|
|
2
|
-
import { cn } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-PE2I5L6R.mjs';
|
|
1
|
+
import { isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-Q6FC2552.mjs';
|
|
2
|
+
import { cn } from './chunk-G6Q3NXRV.mjs';
|
|
3
|
+
import './chunk-Z6HIZWIQ.mjs';
|
|
4
|
+
import './chunk-QBZA2GMB.mjs';
|
|
6
5
|
import './chunk-XGB3TDIC.mjs';
|
|
7
6
|
import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
|
|
8
7
|
import { useTranslation } from 'react-i18next';
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-R2H3FHK6.js');
|
|
3
|
+
var chunkWK56SFN7_js = require('./chunk-WK56SFN7.js');
|
|
5
4
|
require('./chunk-4VNS5WPM.js');
|
|
6
5
|
var react = require('react');
|
|
7
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -15,7 +14,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
|
|
|
15
14
|
return;
|
|
16
15
|
}
|
|
17
16
|
let disposed = false;
|
|
18
|
-
void
|
|
17
|
+
void chunkWK56SFN7_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
|
|
19
18
|
if (disposed) {
|
|
20
19
|
handle.dispose();
|
|
21
20
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as PowerPointViewerHandle, p as PowerPointViewerProps } from "./types-DciBT90G.js";
|
|
2
2
|
import { PptxAnimationPreset, PptxNativeAnimation } from "pptx-viewer-core";
|
|
3
3
|
import "pptx-viewer-shared";
|
|
4
4
|
import React from "react";
|
|
@@ -18,4 +18,4 @@ declare function getAnimationInitialStyle(preset: PptxAnimationPreset | undefine
|
|
|
18
18
|
declare const PowerPointViewer: import("react").ForwardRefExoticComponent<PowerPointViewerProps & import("react").RefAttributes<PowerPointViewerHandle>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { getAnimationInitialStyle as n, PowerPointViewer as t };
|
|
21
|
-
//# sourceMappingURL=PowerPointViewer-
|
|
21
|
+
//# sourceMappingURL=PowerPointViewer-Cjn1RgSz.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerPointViewer-
|
|
1
|
+
{"version":3,"file":"PowerPointViewer-Cjn1RgSz.d.ts","names":[],"sources":["../src/viewer/utils/animation-effects.ts","../src/viewer/PowerPointViewer.tsx"],"mappings":";;;;;iBAmBgB,yBACf,QAAQ,iCACR,kBAAkB,sBAChB,MAAM;;;;;;;;;;;;cCwFI,kCAAgB,0BAAA,wCAAA,cAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-R2H3FHK6.js');
|
|
3
|
+
var chunkWK56SFN7_js = require('./chunk-WK56SFN7.js');
|
|
5
4
|
require('./chunk-4VNS5WPM.js');
|
|
6
5
|
var react = require('react');
|
|
7
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -26,7 +25,7 @@ function SurfaceChart3DScene({
|
|
|
26
25
|
return;
|
|
27
26
|
}
|
|
28
27
|
let disposed = false;
|
|
29
|
-
void
|
|
28
|
+
void chunkWK56SFN7_js.mountSurfaceChart3D(container, {
|
|
30
29
|
cols,
|
|
31
30
|
rows,
|
|
32
31
|
heightMap,
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { mountSurfaceChart3D } from './chunk-
|
|
2
|
-
import './chunk-PE2I5L6R.mjs';
|
|
1
|
+
import { mountSurfaceChart3D } from './chunk-QBZA2GMB.mjs';
|
|
3
2
|
import './chunk-XGB3TDIC.mjs';
|
|
4
3
|
import { useRef, useEffect } from 'react';
|
|
5
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|