@xom11/whiteboard 0.31.0 → 0.32.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/dist/ai.d.mts +148 -27
- package/dist/ai.d.ts +148 -27
- package/dist/ai.js +2652 -430
- package/dist/ai.js.map +1 -1
- package/dist/ai.mjs +2482 -426
- package/dist/ai.mjs.map +1 -1
- package/dist/catalog.json +4 -4
- package/dist/{chunk-JJ4FPCBE.mjs → chunk-4EXRNZRX.mjs} +641 -75
- package/dist/chunk-4EXRNZRX.mjs.map +1 -0
- package/dist/{chunk-BMYC2ILT.mjs → chunk-DBG6DZ2V.mjs} +4 -4
- package/dist/{chunk-BMYC2ILT.mjs.map → chunk-DBG6DZ2V.mjs.map} +1 -1
- package/dist/{chunk-T3N4BSJV.mjs → chunk-DCFZTKFE.mjs} +13 -5
- package/dist/chunk-DCFZTKFE.mjs.map +1 -0
- package/dist/{chunk-DWIEVCGK.mjs → chunk-DJM5EWTT.mjs} +53 -3
- package/dist/chunk-DJM5EWTT.mjs.map +1 -0
- package/dist/{chunk-44JY2AKC.mjs → chunk-F42MZ745.mjs} +3 -3
- package/dist/{chunk-44JY2AKC.mjs.map → chunk-F42MZ745.mjs.map} +1 -1
- package/dist/{chunk-TMRFSOM7.mjs → chunk-FI2MGX5H.mjs} +4 -4
- package/dist/{chunk-TMRFSOM7.mjs.map → chunk-FI2MGX5H.mjs.map} +1 -1
- package/dist/{chunk-KOXOC2FI.mjs → chunk-KLGPAMJS.mjs} +10 -7
- package/dist/chunk-KLGPAMJS.mjs.map +1 -0
- package/dist/{chunk-73Q7ADVL.mjs → chunk-MNHOFOM5.mjs} +2 -2
- package/dist/{chunk-73Q7ADVL.mjs.map → chunk-MNHOFOM5.mjs.map} +1 -1
- package/dist/{chunk-K5BS2H56.mjs → chunk-MOAXHVKI.mjs} +4 -4
- package/dist/{chunk-K5BS2H56.mjs.map → chunk-MOAXHVKI.mjs.map} +1 -1
- package/dist/chunk-SUXIMLYN.mjs +238 -0
- package/dist/chunk-SUXIMLYN.mjs.map +1 -0
- package/dist/{chunk-LTLLQUMN.mjs → chunk-XSTGTEGP.mjs} +4 -4
- package/dist/{chunk-LTLLQUMN.mjs.map → chunk-XSTGTEGP.mjs.map} +1 -1
- package/dist/geometry-2d.js +883 -119
- package/dist/geometry-2d.js.map +1 -1
- package/dist/geometry-2d.mjs +4 -4
- package/dist/geometry-3d.js +3995 -471
- package/dist/geometry-3d.js.map +1 -1
- package/dist/geometry-3d.mjs +4 -4
- package/dist/graph-2d.js +706 -111
- package/dist/graph-2d.js.map +1 -1
- package/dist/graph-2d.mjs +4 -4
- package/dist/{handleExtractProblem-BrDY9ifM.d.ts → handleExtractProblem-mtJyhEw3.d.mts} +2 -0
- package/dist/{handleExtractProblem-BrDY9ifM.d.mts → handleExtractProblem-mtJyhEw3.d.ts} +2 -0
- package/dist/{host-KMWP7KBT.mjs → host-JNLJ5BVR.mjs} +8 -8
- package/dist/{host-KMWP7KBT.mjs.map → host-JNLJ5BVR.mjs.map} +1 -1
- package/dist/{host-4FIUNIDQ.mjs → host-VRWLQSMH.mjs} +7 -7
- package/dist/{host-4FIUNIDQ.mjs.map → host-VRWLQSMH.mjs.map} +1 -1
- package/dist/host-W4U6YCSX.mjs +4973 -0
- package/dist/host-W4U6YCSX.mjs.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4090 -392
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -21
- package/dist/index.mjs.map +1 -1
- package/dist/serialize-7UZWQQ4I.mjs +9 -0
- package/dist/{serialize-PGHQZEPV.mjs.map → serialize-7UZWQQ4I.mjs.map} +1 -1
- package/package.json +4 -1
- package/dist/chunk-DWIEVCGK.mjs.map +0 -1
- package/dist/chunk-JJ4FPCBE.mjs.map +0 -1
- package/dist/chunk-KOXOC2FI.mjs.map +0 -1
- package/dist/chunk-QK6OVDLC.mjs +0 -103
- package/dist/chunk-QK6OVDLC.mjs.map +0 -1
- package/dist/chunk-T3N4BSJV.mjs.map +0 -1
- package/dist/host-4ZB4XD4S.mjs +0 -2378
- package/dist/host-4ZB4XD4S.mjs.map +0 -1
- package/dist/serialize-PGHQZEPV.mjs +0 -9
package/dist/graph-2d.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { graph2dStamp } from './chunk-
|
|
2
|
+
export { graph2dStamp } from './chunk-MOAXHVKI.mjs';
|
|
3
3
|
import './chunk-KWDBVLST.mjs';
|
|
4
4
|
import './chunk-O4WIZFRQ.mjs';
|
|
5
5
|
import './chunk-K7VJU7LQ.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-F42MZ745.mjs';
|
|
7
7
|
import './chunk-IE2GGHNF.mjs';
|
|
8
8
|
import './chunk-ICR4CVOE.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-4EXRNZRX.mjs';
|
|
10
10
|
import './chunk-CH6SFONH.mjs';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-MNHOFOM5.mjs';
|
|
12
12
|
import './chunk-B4NJJZFR.mjs';
|
|
13
13
|
import './chunk-5UTGXHLJ.mjs';
|
|
14
14
|
import './chunk-J5LGTIGS.mjs';
|
|
@@ -14,6 +14,8 @@ interface ExtractProblemSuccess {
|
|
|
14
14
|
ok: true;
|
|
15
15
|
text: string;
|
|
16
16
|
confidence: 'high' | 'low';
|
|
17
|
+
/** Cảnh báo công thức/ký hiệu nghi bị OCR huỷ (detectFormulaRisk). Rỗng = sạch. */
|
|
18
|
+
warnings: string[];
|
|
17
19
|
usage: {
|
|
18
20
|
inputTokens: number;
|
|
19
21
|
outputTokens: number;
|
|
@@ -14,6 +14,8 @@ interface ExtractProblemSuccess {
|
|
|
14
14
|
ok: true;
|
|
15
15
|
text: string;
|
|
16
16
|
confidence: 'high' | 'low';
|
|
17
|
+
/** Cảnh báo công thức/ký hiệu nghi bị OCR huỷ (detectFormulaRisk). Rỗng = sạch. */
|
|
18
|
+
warnings: string[];
|
|
17
19
|
usage: {
|
|
18
20
|
inputTokens: number;
|
|
19
21
|
outputTokens: number;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useChordShortcut } from './chunk-HNQLZIEP.mjs';
|
|
3
3
|
import { useToolStateMachine } from './chunk-NVJ7K3DK.mjs';
|
|
4
|
-
import { safeJsx, initJxgBoard, attachJxgWheelZoom, useToast, ToastHost, STAMP_PANEL_DESKTOP, ToastProvider, useStampStore, StampLeftPanel, ObjectRow } from './chunk-
|
|
5
|
-
import { isDefaultBbox, autoFitBoardToContent, serializeBoard, renderGeometrySvgFromState, isGeometryCustomData, deserializeBoard } from './chunk-
|
|
4
|
+
import { safeJsx, initJxgBoard, attachJxgWheelZoom, useToast, ToastHost, STAMP_PANEL_DESKTOP, ToastProvider, useStampStore, StampLeftPanel, ObjectRow } from './chunk-XSTGTEGP.mjs';
|
|
5
|
+
import { isDefaultBbox, autoFitBoardToContent, serializeBoard, renderGeometrySvgFromState, isGeometryCustomData, deserializeBoard } from './chunk-KLGPAMJS.mjs';
|
|
6
6
|
import { themeLabel, paletteFor, themeAxis, themeGrid } from './chunk-R5FL6S7L.mjs';
|
|
7
7
|
import { JxgRenderer } from './chunk-IE2GGHNF.mjs';
|
|
8
8
|
import './chunk-ICR4CVOE.mjs';
|
|
9
|
-
import { nextLabel, useEditorState, listObjects } from './chunk-
|
|
9
|
+
import { nextLabel, useEditorState, listObjects } from './chunk-4EXRNZRX.mjs';
|
|
10
10
|
import './chunk-CH6SFONH.mjs';
|
|
11
|
-
import { validateFile, fileToImagePart, describeDsl } from './chunk-
|
|
12
|
-
import { handleExtractProblem } from './chunk-
|
|
13
|
-
import { DEFAULT_VIEW_2D } from './chunk-
|
|
11
|
+
import { validateFile, fileToImagePart, describeDsl } from './chunk-DJM5EWTT.mjs';
|
|
12
|
+
import { handleExtractProblem } from './chunk-SUXIMLYN.mjs';
|
|
13
|
+
import { DEFAULT_VIEW_2D } from './chunk-MNHOFOM5.mjs';
|
|
14
14
|
import './chunk-B4NJJZFR.mjs';
|
|
15
15
|
import { useIsMobile } from './chunk-P2AOIF7S.mjs';
|
|
16
16
|
import { insertStampImage } from './chunk-QLQ4MJNO.mjs';
|
|
@@ -4246,5 +4246,5 @@ var GeometryStampHost = forwardRef(
|
|
|
4246
4246
|
);
|
|
4247
4247
|
|
|
4248
4248
|
export { GeometryStampHost };
|
|
4249
|
-
//# sourceMappingURL=host-
|
|
4250
|
-
//# sourceMappingURL=host-
|
|
4249
|
+
//# sourceMappingURL=host-JNLJ5BVR.mjs.map
|
|
4250
|
+
//# sourceMappingURL=host-JNLJ5BVR.mjs.map
|