@xom11/whiteboard 0.27.0 → 0.28.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 +1 -1
- package/dist/ai.d.ts +1 -1
- package/dist/ai.js +54 -23
- package/dist/ai.js.map +1 -1
- package/dist/ai.mjs +54 -23
- package/dist/ai.mjs.map +1 -1
- package/dist/catalog.json +4 -4
- package/dist/{chunk-D5JLJ3PT.mjs → chunk-5JM35CXV.mjs} +4 -4
- package/dist/{chunk-D5JLJ3PT.mjs.map → chunk-5JM35CXV.mjs.map} +1 -1
- package/dist/{chunk-KYMBUTPO.mjs → chunk-BU5KLO3P.mjs} +3 -3
- package/dist/{chunk-KYMBUTPO.mjs.map → chunk-BU5KLO3P.mjs.map} +1 -1
- package/dist/{chunk-AYJPOHCI.mjs → chunk-H22OZYTW.mjs} +3 -3
- package/dist/{chunk-AYJPOHCI.mjs.map → chunk-H22OZYTW.mjs.map} +1 -1
- package/dist/{chunk-I3L56GVH.mjs → chunk-OQIQNKPQ.mjs} +3 -3
- package/dist/{chunk-I3L56GVH.mjs.map → chunk-OQIQNKPQ.mjs.map} +1 -1
- package/dist/{chunk-KZGPSTZI.mjs → chunk-QCZVFEN4.mjs} +4 -4
- package/dist/{chunk-KZGPSTZI.mjs.map → chunk-QCZVFEN4.mjs.map} +1 -1
- package/dist/{chunk-4ETJ4CDY.mjs → chunk-QRUAEXLR.mjs} +4 -4
- package/dist/{chunk-4ETJ4CDY.mjs.map → chunk-QRUAEXLR.mjs.map} +1 -1
- package/dist/{chunk-HLAOGXEK.mjs → chunk-V3YJ6JFL.mjs} +3 -3
- package/dist/{chunk-HLAOGXEK.mjs.map → chunk-V3YJ6JFL.mjs.map} +1 -1
- package/dist/{chunk-D5LWSN2Y.mjs → chunk-ZTQBUKLJ.mjs} +30 -13
- package/dist/chunk-ZTQBUKLJ.mjs.map +1 -0
- package/dist/geometry-2d.d.mts +1 -1
- package/dist/geometry-2d.d.ts +1 -1
- package/dist/geometry-2d.js +143 -33
- package/dist/geometry-2d.js.map +1 -1
- package/dist/geometry-2d.mjs +3 -3
- package/dist/geometry-3d.d.mts +1 -1
- package/dist/geometry-3d.d.ts +1 -1
- package/dist/geometry-3d.js +28 -11
- package/dist/geometry-3d.js.map +1 -1
- package/dist/geometry-3d.mjs +3 -3
- package/dist/graph-2d.d.mts +1 -1
- package/dist/graph-2d.d.ts +1 -1
- package/dist/graph-2d.js +28 -11
- package/dist/graph-2d.js.map +1 -1
- package/dist/graph-2d.mjs +3 -3
- package/dist/{host-M26FS244.mjs → host-2ISGVO7O.mjs} +5 -5
- package/dist/{host-M26FS244.mjs.map → host-2ISGVO7O.mjs.map} +1 -1
- package/dist/{host-HAYCJJ2T.mjs → host-4P766V4J.mjs} +110 -27
- package/dist/host-4P766V4J.mjs.map +1 -0
- package/dist/{host-LTJHAY5A.mjs → host-HOSJHQ5H.mjs} +6 -6
- package/dist/{host-LTJHAY5A.mjs.map → host-HOSJHQ5H.mjs.map} +1 -1
- package/dist/index.d.mts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +147 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -15
- package/dist/index.mjs.map +1 -1
- package/dist/latex.d.mts +1 -1
- package/dist/latex.d.ts +1 -1
- package/dist/serialize-N4G6RFBB.mjs +9 -0
- package/dist/{serialize-C3LSUMSA.mjs.map → serialize-N4G6RFBB.mjs.map} +1 -1
- package/dist/{types-zc_Pa0mp.d.mts → types-BHYC2Fiw.d.mts} +25 -1
- package/dist/{types-zc_Pa0mp.d.ts → types-BHYC2Fiw.d.ts} +25 -1
- package/package.json +1 -1
- package/dist/chunk-D5LWSN2Y.mjs.map +0 -1
- package/dist/host-HAYCJJ2T.mjs.map +0 -1
- package/dist/serialize-C3LSUMSA.mjs +0 -9
package/dist/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './index.css';
|
|
3
|
-
import { geometryStamp } from './chunk-
|
|
4
|
-
export { geometryStamp } from './chunk-
|
|
5
|
-
import { geometry3dStamp } from './chunk-
|
|
6
|
-
export { geometry3dStamp } from './chunk-
|
|
7
|
-
import './chunk-
|
|
3
|
+
import { geometryStamp } from './chunk-QCZVFEN4.mjs';
|
|
4
|
+
export { geometryStamp } from './chunk-QCZVFEN4.mjs';
|
|
5
|
+
import { geometry3dStamp } from './chunk-5JM35CXV.mjs';
|
|
6
|
+
export { geometry3dStamp } from './chunk-5JM35CXV.mjs';
|
|
7
|
+
import './chunk-BU5KLO3P.mjs';
|
|
8
8
|
import { latexStamp } from './chunk-PPKHCRRE.mjs';
|
|
9
9
|
export { latexStamp } from './chunk-PPKHCRRE.mjs';
|
|
10
|
-
import { graph2dStamp } from './chunk-
|
|
11
|
-
export { graph2dStamp } from './chunk-
|
|
10
|
+
import { graph2dStamp } from './chunk-QRUAEXLR.mjs';
|
|
11
|
+
export { graph2dStamp } from './chunk-QRUAEXLR.mjs';
|
|
12
12
|
import './chunk-CXHNVYMD.mjs';
|
|
13
13
|
import './chunk-O4WIZFRQ.mjs';
|
|
14
14
|
import './chunk-BNBOIDO5.mjs';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
15
|
+
import './chunk-V3YJ6JFL.mjs';
|
|
16
|
+
import './chunk-H22OZYTW.mjs';
|
|
17
17
|
import './chunk-R5FL6S7L.mjs';
|
|
18
18
|
import './chunk-SZDAS7LK.mjs';
|
|
19
19
|
import './chunk-ICR4CVOE.mjs';
|
|
20
|
-
import './chunk-
|
|
20
|
+
import './chunk-ZTQBUKLJ.mjs';
|
|
21
21
|
import './chunk-IHUFOV7L.mjs';
|
|
22
22
|
export { handleExtractProblem } from './chunk-T3SOHYB2.mjs';
|
|
23
23
|
import './chunk-73Q7ADVL.mjs';
|
|
@@ -39,7 +39,7 @@ var STAMP_CATALOG = Object.freeze([
|
|
|
39
39
|
version: 1,
|
|
40
40
|
experimental: false,
|
|
41
41
|
runtimeDeps: ["jsxgraph"],
|
|
42
|
-
bundleSize: { js:
|
|
42
|
+
bundleSize: { js: 92.81, css: 0 }
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
id: "latex",
|
|
@@ -55,7 +55,7 @@ var STAMP_CATALOG = Object.freeze([
|
|
|
55
55
|
version: 2,
|
|
56
56
|
experimental: true,
|
|
57
57
|
runtimeDeps: ["jsxgraph"],
|
|
58
|
-
bundleSize: { js: 57.
|
|
58
|
+
bundleSize: { js: 57.59, css: 0 }
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
id: "graph2d",
|
|
@@ -63,7 +63,7 @@ var STAMP_CATALOG = Object.freeze([
|
|
|
63
63
|
version: 2,
|
|
64
64
|
experimental: true,
|
|
65
65
|
runtimeDeps: ["jsxgraph"],
|
|
66
|
-
bundleSize: { js: 50.
|
|
66
|
+
bundleSize: { js: 50.33, css: 0 }
|
|
67
67
|
}
|
|
68
68
|
]);
|
|
69
69
|
function findCatalogEntry(id) {
|
|
@@ -1978,7 +1978,8 @@ function Whiteboard({
|
|
|
1978
1978
|
stamps = DEFAULT_STAMPS,
|
|
1979
1979
|
initialScene,
|
|
1980
1980
|
initialFiles,
|
|
1981
|
-
generateGeometryFigure
|
|
1981
|
+
generateGeometryFigure,
|
|
1982
|
+
onGeometryDraft
|
|
1982
1983
|
}) {
|
|
1983
1984
|
const { api, apiRef, isDark, setApiFromExcalidraw, syncThemeFromAppState } = useExcalidrawApi({ onApi });
|
|
1984
1985
|
const {
|
|
@@ -2151,7 +2152,8 @@ function Whiteboard({
|
|
|
2151
2152
|
editingElement,
|
|
2152
2153
|
onClose: closeStamp,
|
|
2153
2154
|
isDark,
|
|
2154
|
-
generateGeometryFigure
|
|
2155
|
+
generateGeometryFigure,
|
|
2156
|
+
onGeometryDraft
|
|
2155
2157
|
}
|
|
2156
2158
|
)
|
|
2157
2159
|
] });
|