@roomle/embedding-lib 5.27.0-alpha.2 → 5.27.0-alpha.4
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.
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
## [5.27.0-alpha.
|
|
1
|
+
## [5.27.0-alpha.4](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.27.0-alpha.3...embedding-lib-v5.27.0-alpha.4) (2025-09-03)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* move the dimensions label from SDK to UI ([fed29f6](https://github.com/roomle-dev/roomle-ui/commit/fed29f6c3b9e5eec3faab3996bfeace271c5c05a))
|
|
8
|
-
* smart positions of measurements label and add collision detection between labels ([ebf82c6](https://github.com/roomle-dev/roomle-ui/commit/ebf82c63c6b9a52e939c799d6b9b8f1becff3d6b))
|
|
9
|
-
* **core:** upgrade to version 2.59.0-alpha.4 ([d370635](https://github.com/roomle-dev/roomle-ui/commit/d3706359b12d6d258d51d8a8466ef143e7951644))
|
|
10
|
-
* **core:** upgrade to version 2.59.0-alpha.5 ([92227a9](https://github.com/roomle-dev/roomle-ui/commit/92227a93bead21f191cd33711ed936426e5ed4b3))
|
|
11
|
-
* **core:** upgrade to version 2.59.0-alpha.6 ([222e9b0](https://github.com/roomle-dev/roomle-ui/commit/222e9b008715e1de03bed9c3306e4eb32ffe0949))
|
|
6
|
+
* **core:** upgrade to version 2.59.0-alpha.8 ([e8646e4](https://github.com/roomle-dev/roomle-ui/commit/e8646e43d24db4b5553de5d82d99e1d10663cd48))
|
|
12
7
|
|
|
13
8
|
|
|
14
9
|
### Bug Fixes
|
|
15
10
|
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
11
|
+
* check if camera target is zero before using saved camera position ([8c8f535](https://github.com/roomle-dev/roomle-ui/commit/8c8f5358de4fa7af201e7eb6aa48bf2f0e9f5818))
|
|
12
|
+
* drag construction objects in 2D ([ea23601](https://github.com/roomle-dev/roomle-ui/commit/ea23601b979a4547b9ce394b65b2b2352fb4b394))
|
|
13
|
+
* update position of remaining root modules when deleting a root module ([9e71f46](https://github.com/roomle-dev/roomle-ui/commit/9e71f469ef992b43fc4f90995595cf620f7acba9))
|
package/package.json
CHANGED
package/packages/web-sdk/packages/common-core/src/cameracontrol/planner-3d-camera-behaviour.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export default class Planner3dCameraBehaviour extends PlannerCameraBehaviour {
|
|
|
15
15
|
updateCameraOnPlanElementDraggedOutsidePlanBounds(bounds: Box3): void;
|
|
16
16
|
updateCameraOnPlanElementInsertedInsideCurrentCameraView(bounds: Box3): void;
|
|
17
17
|
updateCameraOnPlanElementRemoved(bounds: Box3): void;
|
|
18
|
-
updateCameraOnBackToPlanner(
|
|
18
|
+
updateCameraOnBackToPlanner(bounds: Box3, startCameraParams: CameraParameter, endCameraParams: CameraParameter): Promise<void>;
|
|
19
19
|
resetCameraOnEnableWallDrawing(bounds: Box3): void;
|
|
20
20
|
externalApiMoveCamera(cameraParameter: CameraParameter): Promise<void>;
|
|
21
21
|
}
|
|
@@ -365,11 +365,11 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
365
365
|
calcPartsPriceSum(partList: KernelPartList): Promise<KernelPartListPrice>;
|
|
366
366
|
/**
|
|
367
367
|
* Swap two plan objects in the scene in the same position for example swap two object variants
|
|
368
|
-
* @param old this is the current selected plan object
|
|
368
|
+
* @param old this is the current selected plan object (runtime ID number or PlanElementViewModel)
|
|
369
369
|
* @param idOfNew the RAPI id of the new plan object
|
|
370
|
-
* returns runtime ID of the new object
|
|
370
|
+
* @returns runtime ID of the new object
|
|
371
371
|
*/
|
|
372
|
-
swapObject(old: PlanElementViewModel, idOfNew: RapiId): Promise<number>;
|
|
372
|
+
swapObject(old: number | PlanElementViewModel, idOfNew: RapiId): Promise<number>;
|
|
373
373
|
exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
|
|
374
374
|
exportCanvasScreenshot(quality?: number): Promise<string>;
|
|
375
375
|
/**
|