@roomle/embedding-lib 5.25.0-alpha.3 → 5.25.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,6 +1,30 @@
1
- ## [5.25.0-alpha.3](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.25.0-alpha.2...embedding-lib-v5.25.0-alpha.3) (2025-07-23)
1
+ ## [5.25.0-alpha.4](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.25.0-alpha.3...embedding-lib-v5.25.0-alpha.4) (2025-08-04)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **core:** upgrade to version 2.57.0-alpha.7 ([73ef34f](https://github.com/roomle-dev/roomle-ui/commit/73ef34f9217be99976a57c241d9d88d98c39814e))
6
+ * add Bulgarian and Slovakian languages ([8f1fc67](https://github.com/roomle-dev/roomle-ui/commit/8f1fc67cff5de23d97f542b29b5497f806314838))
7
+ * embedding api for setting animation values of configurations ([2e99810](https://github.com/roomle-dev/roomle-ui/commit/2e9981060a14f52a3ba9ad81ffee20d2bfafe184))
8
+ * object dimensioning with individual dimensioning axes ([0b7cd94](https://github.com/roomle-dev/roomle-ui/commit/0b7cd94631897fa2578173490296e6f947c3f85d))
9
+ * **core:** upgrade to version 2.58.0-alpha.1 ([3b97d5f](https://github.com/roomle-dev/roomle-ui/commit/3b97d5f1af08e7c8c38a4f7edcc632a9fdd5788c))
10
+ * **core:** upgrade to version 2.58.0-alpha.2 ([523ec6c](https://github.com/roomle-dev/roomle-ui/commit/523ec6ce14be24d51d2c1e4c82838270707c5ad9))
11
+ * **core:** upgrade to version 2.58.0-alpha.3 ([79c4d30](https://github.com/roomle-dev/roomle-ui/commit/79c4d30594a5801a893029f86f6286abef79e3de))
12
+ * **core:** upgrade to version 2.58.0-alpha.4 ([394d952](https://github.com/roomle-dev/roomle-ui/commit/394d9522d024a68e9565a81d6c4531227964adba))
13
+ * **core:** upgrade to version 2.58.0-alpha.5 ([2ede69a](https://github.com/roomle-dev/roomle-ui/commit/2ede69a9840b4cf5e695a9d8d17c793e5e8badc4))
14
+ * **core:** upgrade to version 2.58.0-alpha.6 ([ca5ff49](https://github.com/roomle-dev/roomle-ui/commit/ca5ff49af721c43ea9c8093280d3f6f3b5d72f6c))
15
+ * **core:** upgrade to version 2.58.0-alpha.7 ([5bdcaeb](https://github.com/roomle-dev/roomle-ui/commit/5bdcaeb1075d614694151411f829ebd5ede4bbcf))
16
+ * **core:** upgrade to version 2.58.0-alpha.8 ([29ab1ad](https://github.com/roomle-dev/roomle-ui/commit/29ab1adb89acaa739631310ffaa43fafa7d003a3))
17
+ * **core:** upgrade to version 2.58.0 ([12d9422](https://github.com/roomle-dev/roomle-ui/commit/12d942213b0b55b722e46085fec8a4ae32f791aa))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * exclude dimensioning from G-Buffer (and thus from AO) ([1ffd715](https://github.com/roomle-dev/roomle-ui/commit/1ffd7158f9caa345b08229f71962819765e86f23))
23
+ * keep Z coordinate when dragging in 2D ([d3499f3](https://github.com/roomle-dev/roomle-ui/commit/d3499f36ed9ca9c3c56f3614eef841bdaedd675a))
24
+ * Missing focus when clicking measurement bubble ([a3c75e9](https://github.com/roomle-dev/roomle-ui/commit/a3c75e99ae1cb9fe3c835c1e8fbcb2a120777dbd))
25
+ * update loco translations for da fr nl and sv languages ([3d6ecc2](https://github.com/roomle-dev/roomle-ui/commit/3d6ecc293179ed7638e44578915caefca7da7fba))
26
+
27
+
28
+ ### Reverts
29
+
30
+ * removed duplicate function "convertFromKernel" ([af83508](https://github.com/roomle-dev/roomle-ui/commit/af83508d3fdfc68f1d5b7651c616009ebd303ad2))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "5.25.0-alpha.3",
3
+ "version": "5.25.0-alpha.4",
4
4
  "description": "This is a small library which can be used to communicate with the Roomle Configurator",
5
5
  "type": "module",
6
6
  "main": "./roomle-embedding-lib.umd.js",
@@ -65,5 +65,5 @@ export declare class GBufferMaterialCache extends ObjectRenderCache {
65
65
  dispose(): void;
66
66
  addLineOrPoint(object3d: Object3D): void;
67
67
  addMesh(mesh: Mesh): void;
68
- addObject(_object3d: Object3D): void;
68
+ addObject(object3d: Object3D): void;
69
69
  }
@@ -244,6 +244,19 @@ export default class RoomleConfigurator<P extends readonly PluginName[] = readon
244
244
  * @param value the value we want to set on the parameter as string
245
245
  */
246
246
  setParameterOfPlanObject(parameter: KernelParameter, value: string): Promise<void>;
247
+ /**
248
+ * Sets an animation value of the selected component. If nothing is selected the values of the
249
+ * animations of the plan object are set
250
+ * @param key key of the animation as string
251
+ * @param value the value we want to set on the animation as string
252
+ */
253
+ setAnimationValue(key: string, value: string): Promise<void>;
254
+ /**
255
+ * Method to set an animation value on the plan object.
256
+ * @param key key of the animation as string
257
+ * @param value the value we want to set on the animation as string
258
+ */
259
+ setAnimationValueOfPlanObject(key: string, value: string): Promise<void>;
247
260
  /**
248
261
  * Returns all parameters which correspond to the plan object. This is also exposed for embedding
249
262
  */
@@ -1,5 +1,6 @@
1
1
  import { KernelParameter } from '../../../../typings/kernel';
2
2
 
3
+ export declare const ANIMATION_PARAMETER_PREFIX = "animation:";
3
4
  export declare class AnimationValueMap {
4
5
  private valueMap;
5
6
  static filterAnimationParameters(parameters: KernelParameter[]): KernelParameter[];
@@ -11,13 +11,13 @@ export default class ComponentDimensioningHelper implements Context {
11
11
  private _componentDimensioningsExist;
12
12
  constructor(creator: string);
13
13
  setCamera(camera: PerspectiveCamera): void;
14
- add(component: RoomleComponent): boolean;
14
+ add(component: RoomleComponent, updateRenderer: () => void): boolean;
15
15
  private _assembleDimensionings;
16
16
  private _findAxis;
17
17
  private _mapDimensioningToAxis;
18
- private _transformObjectDimensioning;
19
- private _transformDimensioningScale;
18
+ private _transformObjectDimensioningAxis;
20
19
  private _transformPosition;
20
+ private _transformDirectionVector;
21
21
  remove(component: RoomleComponent, remove?: boolean): Promise<void>;
22
22
  hasComponentDimensions(): boolean;
23
23
  reset(): Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import { Object3D, Scene, Box3, Vector3 } from 'three';
2
2
  import { KernelCube } from '../../../typings/kernel';
3
3
 
4
+ export declare const DIMENSIONING_GEOMETRY = "dimensioning";
4
5
  export default class DimensioningHelper {
5
6
  _creator_: string;
6
7
  private _unitFormatter;