three-cad-viewer 4.3.8 → 4.3.9
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/core/studio-manager.d.ts +7 -0
- package/dist/core/types.d.ts +11 -0
- package/dist/core/viewer.d.ts +1 -0
- package/dist/index.d.ts +5 -5
- package/dist/rendering/environment.d.ts +3 -19
- package/dist/rendering/material-factory.d.ts +8 -6
- package/dist/rendering/raycast.d.ts +1 -1
- package/dist/rendering/studio-composer.d.ts +1 -1
- package/dist/rendering/tree-model.d.ts +1 -1
- package/dist/three-cad-viewer.esm.js +866 -275
- package/dist/three-cad-viewer.esm.js.map +1 -1
- package/dist/three-cad-viewer.esm.min.js +2 -2
- package/dist/three-cad-viewer.js +866 -275
- package/dist/three-cad-viewer.min.js +2 -2
- package/dist/tools/cad_tools/tools.d.ts +1 -1
- package/dist/utils/utils.d.ts +1 -1
- package/package.json +4 -2
|
@@ -11,7 +11,7 @@ export declare const ToolTypes: {
|
|
|
11
11
|
readonly PROPERTIES: "PropertiesMeasurement";
|
|
12
12
|
readonly SELECT: "SelectObjects";
|
|
13
13
|
};
|
|
14
|
-
export type ToolType = typeof ToolTypes[keyof typeof ToolTypes];
|
|
14
|
+
export type ToolType = (typeof ToolTypes)[keyof typeof ToolTypes];
|
|
15
15
|
/**
|
|
16
16
|
* UI elements for measurement panels.
|
|
17
17
|
*/
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -143,4 +143,4 @@ declare class EventListenerManager {
|
|
|
143
143
|
dispose(): void;
|
|
144
144
|
}
|
|
145
145
|
export { flatten, isEqual, sceneTraverse, prettyPrintVector, KeyMapper, scaleLight, deepDispose, disposeGeometry, EventListenerManager, isMesh, isLine, isPoints, isOrthographicCamera, isPerspectiveCamera, isLineSegments2, hasColor, hasEmissive, isMeshStandardMaterial, toVector3Tuple, toQuaternionTuple, };
|
|
146
|
-
export type { KeyEventKey, KeyMappingConfig, DisposableTree
|
|
146
|
+
export type { KeyEventKey, KeyMappingConfig, DisposableTree };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "three-cad-viewer",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WebGL-based CAD viewer built on Three.js with clipping planes, measurement tools, and tree navigation",
|
|
6
6
|
"repository": {
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
"docs": "./scripts/build_docs.sh",
|
|
41
41
|
"release": "./scripts/release.sh",
|
|
42
42
|
"lint": "eslint src/",
|
|
43
|
+
"format": "prettier --write \"src/**/*.{ts,js,css}\" \"tests/**/*.{ts,js}\" \"*.{html,md,json}\" \".prettierrc\" \".vscode/*.json\"",
|
|
44
|
+
"format:check": "prettier --check \"src/**/*.{ts,js,css}\" \"tests/**/*.{ts,js}\" \"*.{html,md,json}\" \".prettierrc\" \".vscode/*.json\"",
|
|
43
45
|
"test": "vitest",
|
|
44
46
|
"test:ui": "vitest --ui",
|
|
45
47
|
"test:run": "vitest run",
|
|
@@ -89,4 +91,4 @@
|
|
|
89
91
|
"resolutions": {
|
|
90
92
|
"minimatch": "10.2.5"
|
|
91
93
|
}
|
|
92
|
-
}
|
|
94
|
+
}
|