e80e0de74c
* feat(viewer-lib): Added MeasurementData and stuck with shared library defined measurement related types * feat(viewer-lib): Some updates: - Removed unnecessary calculations in point to point measurement. More lean now. Implemented serialization/deserialization - Tempoarary serialization/deserializaton for the rest of the measurement types - MeasurementsExtension now is able to load measurements from MeasurementData objects - Updated viewer's export list to not export mesurements related types that are now exclusively exported by the shared library * feat(viewer): Perpendicular measurements simplification (a little bit) and serialization/deserialization * chore(frontend): Updated measurement types imports * chore(viewer-lib): Removed the old normal indicator line from the perpendicular measurement * feat(viewer-lib): Updates: - Generic fromMeasurementData and toMeasurementData for all measurements since it's unniversal - Each measurement type serializes/deserializes only specialized data - Implemented ponint measurement serializing/deserializing and programmatic functionining * feat(viewer-lib): Area mesurement serialization/deserialization * feat(viewer-lib): Updates: - Each measurement subtype now reports the MeasurementType it belongs to - MeasurementsExtension now emits a MeasurementsChanged event with all the measurements as payload whenever the measurements change - units and precision are no longer serialized/deserialized on a per-measurement basis - Added sync API member addMeasurement * chore(viewer-lib): Fix compiler error * chore(viewer-lib): Added measurements getter in MeasurementExtension * feat(fe2): save/reload measurements integration (#5351) * measurements idempotent api * extra adjustments, stuff seems to work * lint fix * more lint fix * fix for visible going false * better identification * fix FlyControls change action --------- Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "@speckle/viewer-sandbox",
|
|
"private": true,
|
|
"version": "2.5.4",
|
|
"description": "Sandbox for testing, debugging & developing the viewer package",
|
|
"homepage": "https://speckle.systems",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/specklesystems/speckle-server.git",
|
|
"directory": "packages/viewer"
|
|
},
|
|
"author": "AEC Systems",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint:js": "eslint .",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint": "yarn lint:js && yarn lint:ts",
|
|
"lint:ci": "yarn lint:tsc",
|
|
"wrangler": "wrangler"
|
|
},
|
|
"dependencies": {
|
|
"@speckle/objectloader2": "workspace:^",
|
|
"@speckle/shared": "workspace:^",
|
|
"@speckle/viewer": "workspace:^",
|
|
"tweakpane": "^3.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tweakpane/core": "^1.0.9",
|
|
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
|
"@typescript-eslint/parser": "^7.12.0",
|
|
"eslint": "^9.4.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"typescript": "^4.5.4",
|
|
"vite": "^5.0.12",
|
|
"wrangler": "^3.51.2"
|
|
}
|
|
}
|