@ifc-lite/viewer 1.18.0 → 1.19.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/.turbo/turbo-build.log +19 -16
- package/.turbo/turbo-typecheck.log +1 -1
- package/CHANGELOG.md +444 -0
- package/dist/assets/basketViewActivator-CA2CTcVo.js +71 -0
- package/dist/assets/{bcf-DOG9_WPX.js → bcf-4K724hw0.js} +18 -18
- package/dist/assets/decode-worker-Collf_X_.js +1320 -0
- package/dist/assets/{exporters-B_OBqIyD.js → exporters-xbXqEDlO.js} +2547 -1958
- package/dist/assets/{geometry.worker-xHHy-9DV.js → geometry.worker-DQEZB2rB.js} +1 -1
- package/dist/assets/ids-2WdONLlu.js +2033 -0
- package/dist/assets/ifc-lite_bg-4yUkDRD8.wasm +0 -0
- package/dist/assets/index-BXeEKqJG.css +1 -0
- package/dist/assets/{index-BKq-M3Mk.js → index-D8Epw-e7.js} +51781 -32599
- package/dist/assets/index-XwKzDuw6.js +22 -0
- package/dist/assets/{native-bridge-SHXiQwFW.js → native-bridge-DKmx1z95.js} +2 -2
- package/dist/assets/{sandbox-jez21HtV.js → sandbox-tccwm5Bo.js} +1402 -1329
- package/dist/assets/{server-client-ncOQVNso.js → server-client-LoWPK1N2.js} +1 -1
- package/dist/assets/three-CDRZThFA.js +4057 -0
- package/dist/assets/{wasm-bridge-DyfBSB8z.js → wasm-bridge-BsJGgPMs.js} +1 -1
- package/dist/index.html +8 -7
- package/dist/samples/building-architecture.ifc +453 -0
- package/dist/samples/hello-wall.ifc +1054 -0
- package/dist/samples/infra-bridge.ifc +962 -0
- package/package.json +13 -7
- package/public/samples/building-architecture.ifc +453 -0
- package/public/samples/hello-wall.ifc +1054 -0
- package/public/samples/infra-bridge.ifc +962 -0
- package/src/App.tsx +37 -3
- package/src/components/mcp/HeroScene.tsx +876 -0
- package/src/components/mcp/McpLanding.tsx +1318 -0
- package/src/components/mcp/McpPlayground.tsx +524 -0
- package/src/components/mcp/PlaygroundChat.tsx +1097 -0
- package/src/components/mcp/PlaygroundViewer.tsx +815 -0
- package/src/components/mcp/README.md +171 -0
- package/src/components/mcp/data.ts +659 -0
- package/src/components/mcp/playground-dispatcher.ts +1649 -0
- package/src/components/mcp/playground-files.ts +107 -0
- package/src/components/mcp/playground-uploads.ts +122 -0
- package/src/components/mcp/types.ts +65 -0
- package/src/components/mcp/use-mcp-page.ts +109 -0
- package/src/components/viewer/MainToolbar.tsx +23 -2
- package/src/components/viewer/PointCloudPanel.tsx +174 -0
- package/src/components/viewer/Viewport.tsx +18 -1
- package/src/components/viewer/ViewportContainer.tsx +78 -9
- package/src/components/viewer/ViewportOverlays.tsx +13 -2
- package/src/components/viewer/tools/AddElementOverlay.tsx +43 -2
- package/src/components/viewer/usePointCloudLifecycle.ts +64 -0
- package/src/components/viewer/usePointCloudSync.ts +98 -0
- package/src/generated/mcp-catalog.json +82 -0
- package/src/hooks/ingest/pointCloudIngest.ts +391 -0
- package/src/hooks/ingest/viewerModelIngest.ts +32 -3
- package/src/hooks/useIfcFederation.ts +72 -3
- package/src/hooks/useIfcLoader.ts +67 -3
- package/src/services/file-dialog.ts +4 -2
- package/src/store/index.ts +10 -1
- package/src/store/slices/pointCloudSlice.ts +102 -0
- package/src/store/types.ts +7 -0
- package/vite.config.ts +7 -0
- package/dist/assets/basketViewActivator-Cm1QEk_R.js +0 -1
- package/dist/assets/ids-DQ5jY0E8.js +0 -1
- package/dist/assets/ifc-lite_bg-ADjKXSms.wasm +0 -0
- package/dist/assets/index-COnQRuqY.css +0 -1
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifc-lite/viewer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "IFC-Lite viewer application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@anthropic-ai/sdk": "^0.39.0",
|
|
8
|
+
"react-markdown": "^9.0.1",
|
|
9
|
+
"remark-gfm": "^4.0.0",
|
|
10
|
+
"three": "^0.183.1",
|
|
8
11
|
"@codemirror/autocomplete": "^6.20.0",
|
|
9
12
|
"@codemirror/commands": "^6.10.2",
|
|
10
13
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
@@ -52,19 +55,21 @@
|
|
|
52
55
|
"@ifc-lite/drawing-2d": "^1.15.3",
|
|
53
56
|
"@ifc-lite/encoding": "^1.14.6",
|
|
54
57
|
"@ifc-lite/export": "^1.18.0",
|
|
55
|
-
"@ifc-lite/geometry": "^1.
|
|
56
|
-
"@ifc-lite/ids": "^1.14.
|
|
58
|
+
"@ifc-lite/geometry": "^1.17.0",
|
|
59
|
+
"@ifc-lite/ids": "^1.14.11",
|
|
57
60
|
"@ifc-lite/lens": "^1.14.4",
|
|
58
61
|
"@ifc-lite/lists": "^1.14.10",
|
|
62
|
+
"@ifc-lite/mcp": "^0.2.0",
|
|
59
63
|
"@ifc-lite/mutations": "^1.15.0",
|
|
60
|
-
"@ifc-lite/parser": "^2.
|
|
64
|
+
"@ifc-lite/parser": "^2.3.0",
|
|
65
|
+
"@ifc-lite/pointcloud": "^0.2.0",
|
|
61
66
|
"@ifc-lite/query": "^1.14.7",
|
|
62
|
-
"@ifc-lite/renderer": "^1.
|
|
67
|
+
"@ifc-lite/renderer": "^1.18.0",
|
|
63
68
|
"@ifc-lite/sandbox": "^1.15.0",
|
|
64
|
-
"@ifc-lite/server-client": "^1.15.3",
|
|
65
69
|
"@ifc-lite/sdk": "^1.15.0",
|
|
70
|
+
"@ifc-lite/server-client": "^1.15.3",
|
|
66
71
|
"@ifc-lite/spatial": "^1.14.5",
|
|
67
|
-
"@ifc-lite/wasm": "^1.16.
|
|
72
|
+
"@ifc-lite/wasm": "^1.16.8"
|
|
68
73
|
},
|
|
69
74
|
"devDependencies": {
|
|
70
75
|
"@tailwindcss/postcss": "^4.1.18",
|
|
@@ -72,6 +77,7 @@
|
|
|
72
77
|
"@types/proj4": "^2.19.0",
|
|
73
78
|
"@types/react": "^18.2.0",
|
|
74
79
|
"@types/react-dom": "^18.2.0",
|
|
80
|
+
"@types/three": "^0.183.0",
|
|
75
81
|
"@vitejs/plugin-react": "^4.2.0",
|
|
76
82
|
"jszip": "^3.10.0",
|
|
77
83
|
"tsx": "^4.7.0",
|