pptx-react-viewer 2.1.0 → 2.2.1
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 +8 -0
- package/dist/{AiChatPanel-VCCVHAAI.js → AiChatPanel-O4NYWO3D.js} +24 -24
- package/dist/AiChatPanel-O4NYWO3D.js.br +0 -0
- package/dist/AiChatPanel-O4NYWO3D.js.gz +0 -0
- package/dist/{AiChatPanel-RFBZWMUE.mjs → AiChatPanel-XRKEPXAM.mjs} +5 -5
- package/dist/AiChatPanel-XRKEPXAM.mjs.br +0 -0
- package/dist/AiChatPanel-XRKEPXAM.mjs.gz +0 -0
- package/dist/{Model3DScene-RQIGSYGQ.js → Model3DScene-HYE6HA2C.js} +3 -3
- package/dist/{Model3DScene-RQIGSYGQ.js.br → Model3DScene-HYE6HA2C.js.br} +0 -0
- package/dist/Model3DScene-HYE6HA2C.js.gz +0 -0
- package/dist/{Model3DScene-2M6HVWTE.mjs → Model3DScene-JN5F5C4Z.mjs} +2 -2
- package/dist/Model3DScene-JN5F5C4Z.mjs.br +0 -0
- package/dist/Model3DScene-JN5F5C4Z.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-2FVASQGC.js → SurfaceChart3DScene-FDJ6LC4E.js} +3 -3
- package/dist/SurfaceChart3DScene-FDJ6LC4E.js.br +0 -0
- package/dist/SurfaceChart3DScene-FDJ6LC4E.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-EGMWY4CZ.mjs → SurfaceChart3DScene-V7P3LQVV.mjs} +2 -2
- package/dist/{SurfaceChart3DScene-EGMWY4CZ.mjs.br → SurfaceChart3DScene-V7P3LQVV.mjs.br} +0 -0
- package/dist/SurfaceChart3DScene-V7P3LQVV.mjs.gz +0 -0
- package/dist/{chunk-46Z6MNRS.js → chunk-2QHCOESN.js} +137 -42
- package/dist/chunk-2QHCOESN.js.br +0 -0
- package/dist/chunk-2QHCOESN.js.gz +0 -0
- package/dist/{chunk-LDF77JJD.js → chunk-2U243ZEP.js} +248 -248
- package/dist/chunk-2U243ZEP.js.br +0 -0
- package/dist/chunk-2U243ZEP.js.gz +0 -0
- package/dist/{chunk-27XBWVO5.mjs → chunk-6G6S7PEI.mjs} +95 -2
- package/dist/chunk-6G6S7PEI.mjs.br +0 -0
- package/dist/{chunk-27XBWVO5.mjs.gz → chunk-6G6S7PEI.mjs.gz} +0 -0
- package/dist/{chunk-NGE7YQTF.mjs → chunk-7NSLKNCT.mjs} +68 -74
- package/dist/chunk-7NSLKNCT.mjs.br +0 -0
- package/dist/chunk-7NSLKNCT.mjs.gz +0 -0
- package/dist/{chunk-BHVCED34.mjs → chunk-I2HF7ZPO.mjs} +1 -1
- package/dist/chunk-I2HF7ZPO.mjs.br +0 -0
- package/dist/chunk-I2HF7ZPO.mjs.gz +0 -0
- package/dist/{chunk-ZRY7NLKS.js → chunk-K2AW5UXT.js} +375 -381
- package/dist/chunk-K2AW5UXT.js.br +0 -0
- package/dist/chunk-K2AW5UXT.js.gz +0 -0
- package/dist/{chunk-7DQHWPIB.mjs → chunk-O75FHZQJ.mjs} +4 -4
- package/dist/chunk-O75FHZQJ.mjs.br +0 -0
- package/dist/chunk-O75FHZQJ.mjs.gz +0 -0
- package/dist/{chunk-6YXLGMTN.mjs → chunk-PE2I5L6R.mjs} +27 -12
- package/dist/chunk-PE2I5L6R.mjs.br +0 -0
- package/dist/{chunk-6YXLGMTN.mjs.gz → chunk-PE2I5L6R.mjs.gz} +0 -0
- package/dist/{chunk-2X72MOPZ.mjs → chunk-PZTPX3HK.mjs} +10 -1
- package/dist/chunk-PZTPX3HK.mjs.br +0 -0
- package/dist/chunk-PZTPX3HK.mjs.gz +0 -0
- package/dist/{chunk-VHO53ZXZ.js → chunk-QULJW7LU.js} +1190 -917
- package/dist/chunk-QULJW7LU.js.br +0 -0
- package/dist/chunk-QULJW7LU.js.gz +0 -0
- package/dist/{chunk-CLNGAVNH.js → chunk-R2H3FHK6.js} +27 -12
- package/dist/chunk-R2H3FHK6.js.br +0 -0
- package/dist/{chunk-CLNGAVNH.js.gz → chunk-R2H3FHK6.js.gz} +0 -0
- package/dist/{chunk-Y4OSELBT.mjs → chunk-RYHBWTPI.mjs} +350 -77
- package/dist/chunk-RYHBWTPI.mjs.br +0 -0
- package/dist/chunk-RYHBWTPI.mjs.gz +0 -0
- package/dist/{chunk-SYPHGLIB.js → chunk-XJTWUXXC.js} +3 -3
- package/dist/chunk-XJTWUXXC.js.br +0 -0
- package/dist/chunk-XJTWUXXC.js.gz +0 -0
- package/dist/{chunk-CUUYYYC5.js → chunk-YIFO3WQO.js} +10 -1
- package/dist/chunk-YIFO3WQO.js.br +0 -0
- package/dist/chunk-YIFO3WQO.js.gz +0 -0
- package/dist/{dist-J6PC54PZ.mjs → dist-VEWYRBTB.mjs} +1 -1
- package/dist/dist-VEWYRBTB.mjs.br +0 -0
- package/dist/dist-VEWYRBTB.mjs.gz +0 -0
- package/dist/{dist-4LUVI3SW.js → dist-ZCJLIRYG.js} +568 -568
- package/dist/dist-ZCJLIRYG.js.br +0 -0
- package/dist/dist-ZCJLIRYG.js.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-nAyIdGqF.d.ts → index-CDCSXtK3.d.ts} +32 -16
- package/dist/index-CDCSXtK3.d.ts.map +1 -0
- package/dist/index.js +37 -37
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +42 -14
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +80 -80
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +5 -5
- 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/viewer/index.js +23 -23
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +7 -7
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +1 -1
- package/dist/AiChatPanel-RFBZWMUE.mjs.br +0 -0
- package/dist/AiChatPanel-RFBZWMUE.mjs.gz +0 -0
- package/dist/AiChatPanel-VCCVHAAI.js.br +0 -0
- package/dist/AiChatPanel-VCCVHAAI.js.gz +0 -0
- package/dist/Model3DScene-2M6HVWTE.mjs.br +0 -0
- package/dist/Model3DScene-2M6HVWTE.mjs.gz +0 -0
- package/dist/Model3DScene-RQIGSYGQ.js.gz +0 -0
- package/dist/SurfaceChart3DScene-2FVASQGC.js.br +0 -0
- package/dist/SurfaceChart3DScene-2FVASQGC.js.gz +0 -0
- package/dist/SurfaceChart3DScene-EGMWY4CZ.mjs.gz +0 -0
- package/dist/chunk-27XBWVO5.mjs.br +0 -0
- package/dist/chunk-2X72MOPZ.mjs.br +0 -0
- package/dist/chunk-2X72MOPZ.mjs.gz +0 -0
- package/dist/chunk-46Z6MNRS.js.br +0 -0
- package/dist/chunk-46Z6MNRS.js.gz +0 -0
- package/dist/chunk-6YXLGMTN.mjs.br +0 -0
- package/dist/chunk-7DQHWPIB.mjs.br +0 -0
- package/dist/chunk-7DQHWPIB.mjs.gz +0 -0
- package/dist/chunk-BHVCED34.mjs.br +0 -0
- package/dist/chunk-BHVCED34.mjs.gz +0 -0
- package/dist/chunk-CLNGAVNH.js.br +0 -0
- package/dist/chunk-CUUYYYC5.js.br +0 -0
- package/dist/chunk-CUUYYYC5.js.gz +0 -0
- package/dist/chunk-LDF77JJD.js.br +0 -0
- package/dist/chunk-LDF77JJD.js.gz +0 -0
- package/dist/chunk-NGE7YQTF.mjs.br +0 -0
- package/dist/chunk-NGE7YQTF.mjs.gz +0 -0
- package/dist/chunk-SYPHGLIB.js.br +0 -0
- package/dist/chunk-SYPHGLIB.js.gz +0 -0
- package/dist/chunk-VHO53ZXZ.js.br +0 -0
- package/dist/chunk-VHO53ZXZ.js.gz +0 -0
- package/dist/chunk-Y4OSELBT.mjs.br +0 -0
- package/dist/chunk-Y4OSELBT.mjs.gz +0 -0
- package/dist/chunk-ZRY7NLKS.js.br +0 -0
- package/dist/chunk-ZRY7NLKS.js.gz +0 -0
- package/dist/dist-4LUVI3SW.js.br +0 -0
- package/dist/dist-4LUVI3SW.js.gz +0 -0
- package/dist/dist-J6PC54PZ.mjs.br +0 -0
- package/dist/dist-J6PC54PZ.mjs.gz +0 -0
- package/dist/index-nAyIdGqF.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ 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.2.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.2.0) - 2026-07-24
|
|
8
|
+
|
|
9
|
+
## [2.1.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.1.0) - 2026-07-23
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- **react:** Support React 18 alongside React 19 (by @ChristopherVR) ([21bc383](https://github.com/ChristopherVR/pptx-viewer/commit/21bc383f1d7b57541eb1b844cba1e5dfc5d8280c))
|
|
14
|
+
|
|
7
15
|
## [2.0.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-react-viewer@2.0.0) - 2026-07-23
|
|
8
16
|
|
|
9
17
|
### Features
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
3
|
+
var chunkXJTWUXXC_js = require('./chunk-XJTWUXXC.js');
|
|
4
|
+
var chunk2U243ZEP_js = require('./chunk-2U243ZEP.js');
|
|
5
|
+
require('./chunk-2QHCOESN.js');
|
|
6
|
+
require('./chunk-YIFO3WQO.js');
|
|
7
|
+
require('./chunk-R2H3FHK6.js');
|
|
8
8
|
require('./chunk-4VNS5WPM.js');
|
|
9
9
|
var react = require('react');
|
|
10
10
|
var reactI18next = require('react-i18next');
|
|
@@ -31,7 +31,7 @@ function useAiChat(bridge, config) {
|
|
|
31
31
|
setInitError(void 0);
|
|
32
32
|
void (async () => {
|
|
33
33
|
try {
|
|
34
|
-
const available = await
|
|
34
|
+
const available = await chunkXJTWUXXC_js.isAiAvailable();
|
|
35
35
|
if (cancelled) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
@@ -39,7 +39,7 @@ function useAiChat(bridge, config) {
|
|
|
39
39
|
setState("unavailable");
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
|
-
const built = await
|
|
42
|
+
const built = await chunkXJTWUXXC_js.createAiChatSession(bridge, configRef.current);
|
|
43
43
|
if (cancelled) {
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
@@ -145,7 +145,7 @@ function withDeckContext(inner, bridge, strategy) {
|
|
|
145
145
|
}
|
|
146
146
|
let context = "";
|
|
147
147
|
try {
|
|
148
|
-
context = await
|
|
148
|
+
context = await chunkXJTWUXXC_js.buildDeckContext(bridge, { strategy, focus: {} });
|
|
149
149
|
} catch {
|
|
150
150
|
context = "";
|
|
151
151
|
}
|
|
@@ -208,7 +208,7 @@ function useAiConversation(session, config, bridge, options = {}) {
|
|
|
208
208
|
continue;
|
|
209
209
|
}
|
|
210
210
|
seen.add(call.toolCallId);
|
|
211
|
-
onToolTargetRef.current?.(
|
|
211
|
+
onToolTargetRef.current?.(chunkXJTWUXXC_js.toolCanvasTarget(call.toolName, call.input));
|
|
212
212
|
}
|
|
213
213
|
}, [chat.messages]);
|
|
214
214
|
const send = react.useCallback(
|
|
@@ -284,7 +284,7 @@ function deriveTitle(messages) {
|
|
|
284
284
|
}
|
|
285
285
|
function useAiHistory(input) {
|
|
286
286
|
const { deckId, messages, setMessages } = input;
|
|
287
|
-
const store = react.useMemo(() => input.store ??
|
|
287
|
+
const store = react.useMemo(() => input.store ?? chunkXJTWUXXC_js.createChatHistoryStore(), [input.store]);
|
|
288
288
|
const [activeChatId, setActiveChatId] = react.useState(newChatId);
|
|
289
289
|
const [chats, setChats] = react.useState([]);
|
|
290
290
|
const createdAtRef = react.useRef(Date.now());
|
|
@@ -427,7 +427,7 @@ function AiComposer({
|
|
|
427
427
|
disabled: value.trim().length === 0,
|
|
428
428
|
title: t("pptx.ai.send"),
|
|
429
429
|
"aria-label": t("pptx.ai.send"),
|
|
430
|
-
className:
|
|
430
|
+
className: chunk2U243ZEP_js.cn(
|
|
431
431
|
"shrink-0 rounded-sm p-1.5 transition-colors",
|
|
432
432
|
value.trim().length === 0 ? "text-muted-foreground/50" : "bg-primary text-primary-foreground hover:bg-primary/90"
|
|
433
433
|
),
|
|
@@ -453,15 +453,15 @@ function AiFocusBar({
|
|
|
453
453
|
onClearPicks
|
|
454
454
|
}) {
|
|
455
455
|
const { t } = reactI18next.useTranslation();
|
|
456
|
-
const chips =
|
|
457
|
-
const twoTables =
|
|
456
|
+
const chips = chunkXJTWUXXC_js.focusTargetChips(targets, slides);
|
|
457
|
+
const twoTables = chunkXJTWUXXC_js.isTwoTableFocus(targets, slides);
|
|
458
458
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border bg-secondary/30", children: [
|
|
459
459
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center gap-1 px-2.5 py-1.5", children: [
|
|
460
460
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-semibold uppercase tracking-wide text-muted-foreground", children: t("pptx.ai.focusScope") }),
|
|
461
461
|
chips.map((chip) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
462
462
|
"span",
|
|
463
463
|
{
|
|
464
|
-
className:
|
|
464
|
+
className: chunk2U243ZEP_js.cn(
|
|
465
465
|
"inline-flex max-w-[10rem] items-center rounded-full px-2 py-0.5 text-[11px]",
|
|
466
466
|
hasPicks || isPinned ? "bg-primary/15 text-primary" : "bg-muted text-muted-foreground"
|
|
467
467
|
),
|
|
@@ -494,7 +494,7 @@ function AiFocusBar({
|
|
|
494
494
|
title: t("pptx.ai.pickElement"),
|
|
495
495
|
"aria-label": t("pptx.ai.pickAria"),
|
|
496
496
|
"aria-pressed": pickMode,
|
|
497
|
-
className:
|
|
497
|
+
className: chunk2U243ZEP_js.cn(
|
|
498
498
|
"rounded-sm p-1",
|
|
499
499
|
pickMode ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent"
|
|
500
500
|
),
|
|
@@ -573,7 +573,7 @@ function AiHistoryList({ chats, activeChatId, onResume, onDelete }) {
|
|
|
573
573
|
{
|
|
574
574
|
type: "button",
|
|
575
575
|
onClick: () => onResume(chat.id),
|
|
576
|
-
className:
|
|
576
|
+
className: chunk2U243ZEP_js.cn(
|
|
577
577
|
"flex min-w-0 flex-1 items-start gap-2 rounded-sm px-2 py-1.5 text-left hover:bg-accent",
|
|
578
578
|
chat.id === activeChatId && "bg-accent/60"
|
|
579
579
|
),
|
|
@@ -728,26 +728,26 @@ function AiToolCallCard({ part }) {
|
|
|
728
728
|
const failed = part.state === "output-error";
|
|
729
729
|
const done = part.state === "output-available";
|
|
730
730
|
const running = !failed && !done;
|
|
731
|
-
const activity =
|
|
731
|
+
const activity = chunkXJTWUXXC_js.describeToolActivity(part.toolName, part.input, running ? "present" : "past");
|
|
732
732
|
const Icon = ICONS[activity.icon] ?? lu.LuWrench;
|
|
733
|
-
const rawSummary =
|
|
733
|
+
const rawSummary = chunkXJTWUXXC_js.summarizeToolArgs(part.input);
|
|
734
734
|
const statusLabel = failed ? t("pptx.ai.toolFailed") : done ? t("pptx.ai.toolDone") : t("pptx.ai.toolRunning");
|
|
735
735
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-[12px]", children: [
|
|
736
736
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
737
737
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
738
738
|
Icon,
|
|
739
739
|
{
|
|
740
|
-
className:
|
|
740
|
+
className: chunk2U243ZEP_js.cn(
|
|
741
741
|
"w-3.5 h-3.5 shrink-0",
|
|
742
742
|
failed ? "text-destructive" : "text-muted-foreground"
|
|
743
743
|
)
|
|
744
744
|
}
|
|
745
745
|
),
|
|
746
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
746
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk2U243ZEP_js.cn("truncate", failed ? "text-destructive" : "text-foreground"), children: activity.label }),
|
|
747
747
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
748
748
|
"span",
|
|
749
749
|
{
|
|
750
|
-
className:
|
|
750
|
+
className: chunk2U243ZEP_js.cn(
|
|
751
751
|
"ml-auto inline-flex items-center gap-1 rounded-sm px-1.5 py-0.5 text-[10px]",
|
|
752
752
|
failed ? "bg-destructive/15 text-destructive" : done ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground"
|
|
753
753
|
),
|
|
@@ -764,7 +764,7 @@ function AiToolCallCard({ part }) {
|
|
|
764
764
|
rawSummary && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "group mt-0.5 pl-5", children: [
|
|
765
765
|
/* @__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
766
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-0.5 break-words font-mono text-[10px] text-muted-foreground/80", children: [
|
|
767
|
-
|
|
767
|
+
chunkXJTWUXXC_js.toolLabel(part.toolName),
|
|
768
768
|
": ",
|
|
769
769
|
rawSummary
|
|
770
770
|
] })
|
|
@@ -795,7 +795,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
795
795
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
796
796
|
"div",
|
|
797
797
|
{
|
|
798
|
-
className:
|
|
798
|
+
className: chunk2U243ZEP_js.cn(
|
|
799
799
|
"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full",
|
|
800
800
|
isUser ? "bg-secondary text-muted-foreground" : "bg-primary/15 text-primary"
|
|
801
801
|
),
|
|
@@ -842,7 +842,7 @@ function AiMessageList({ messages, isStreaming, bridge }) {
|
|
|
842
842
|
}
|
|
843
843
|
function AiProposalCard({ proposal, onAccept, onReject }) {
|
|
844
844
|
const { t } = reactI18next.useTranslation();
|
|
845
|
-
const lines = proposal.summary.map(
|
|
845
|
+
const lines = proposal.summary.map(chunkXJTWUXXC_js.humanizeDiffLine);
|
|
846
846
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-md border border-primary/40 bg-primary/5 p-2.5", children: [
|
|
847
847
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1.5 text-[11px] font-semibold uppercase tracking-wide text-primary", children: t("pptx.ai.proposedChange") }),
|
|
848
848
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-[12px] font-medium text-foreground", children: proposal.label }),
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
1
|
+
import { isAiAvailable, createAiChatSession, toolCanvasTarget, createChatHistoryStore, focusTargetChips, isTwoTableFocus, humanizeDiffLine, buildDeckContext, describeToolActivity, summarizeToolArgs, toolLabel } from './chunk-I2HF7ZPO.mjs';
|
|
2
|
+
import { cn } from './chunk-O75FHZQJ.mjs';
|
|
3
|
+
import './chunk-6G6S7PEI.mjs';
|
|
4
|
+
import './chunk-PZTPX3HK.mjs';
|
|
5
|
+
import './chunk-PE2I5L6R.mjs';
|
|
6
6
|
import './chunk-XGB3TDIC.mjs';
|
|
7
7
|
import { useMemo, useRef, useState, useEffect, useReducer, useCallback } from 'react';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk2QHCOESN_js = require('./chunk-2QHCOESN.js');
|
|
4
|
+
require('./chunk-R2H3FHK6.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -15,7 +15,7 @@ function Model3DScene({ modelUrl, interactive, width, height }) {
|
|
|
15
15
|
return;
|
|
16
16
|
}
|
|
17
17
|
let disposed = false;
|
|
18
|
-
void
|
|
18
|
+
void chunk2QHCOESN_js.mountModel3D(container, modelUrl, { width, height, interactive }).then((handle) => {
|
|
19
19
|
if (disposed) {
|
|
20
20
|
handle.dispose();
|
|
21
21
|
} else {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mountModel3D } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { mountModel3D } from './chunk-6G6S7PEI.mjs';
|
|
2
|
+
import './chunk-PE2I5L6R.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
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunk2QHCOESN_js = require('./chunk-2QHCOESN.js');
|
|
4
|
+
require('./chunk-R2H3FHK6.js');
|
|
5
5
|
require('./chunk-4VNS5WPM.js');
|
|
6
6
|
var react = require('react');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -26,7 +26,7 @@ function SurfaceChart3DScene({
|
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
28
|
let disposed = false;
|
|
29
|
-
void
|
|
29
|
+
void chunk2QHCOESN_js.mountSurfaceChart3D(container, {
|
|
30
30
|
cols,
|
|
31
31
|
rows,
|
|
32
32
|
heightMap,
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mountSurfaceChart3D } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { mountSurfaceChart3D } from './chunk-6G6S7PEI.mjs';
|
|
2
|
+
import './chunk-PE2I5L6R.mjs';
|
|
3
3
|
import './chunk-XGB3TDIC.mjs';
|
|
4
4
|
import { useRef, useEffect } from 'react';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
Binary file
|
|
Binary file
|