@roomle/embedding-lib 5.33.0-alpha.3 → 5.34.0-alpha.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.
@@ -1,6 +1,14 @@
1
- ## [5.33.0-alpha.3](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.33.0-alpha.2...embedding-lib-v5.33.0-alpha.3) (2025-11-27)
1
+ ## [5.34.0-alpha.1](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.33.0...embedding-lib-v5.34.0-alpha.1) (2025-12-03)
2
+
3
+
4
+ ### Features
5
+
6
+ * check if it is necessary to switch back to planner after delete ([5c5e428](https://github.com/roomle-dev/roomle-ui/commit/5c5e4287d531a574d5ba15a08104e1e53f69ab98))
7
+ * evaluate permissionToDeleteInIsolation for configurator mode ([57332a9](https://github.com/roomle-dev/roomle-ui/commit/57332a951d677e45cbd0909f26ee450b4826412d))
8
+ * **planner:** not reset camera when switching to 3d ([2bc9f73](https://github.com/roomle-dev/roomle-ui/commit/2bc9f7345f3862c380e21c3d087747a92eb3ab47))
2
9
 
3
10
 
4
11
  ### Bug Fixes
5
12
 
6
- * add flag plannerIsolationConfigurator instead of using startInDetail ([57f374e](https://github.com/roomle-dev/roomle-ui/commit/57f374e28206164e0f7f92588f16a9b6dec8ec11))
13
+ * AddAbsoluteDimensioning and dimensionings throw ERROR due to missing font family ([56c00d0](https://github.com/roomle-dev/roomle-ui/commit/56c00d0ef85256cf6dab5b0f769feb217420b19d))
14
+ * Updated CheckDropDownEntryKind enum by adding Invalid ([4be0934](https://github.com/roomle-dev/roomle-ui/commit/4be0934bf33accbe5d01a7f4b3b865f34921f5bc))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "5.33.0-alpha.3",
3
+ "version": "5.34.0-alpha.1",
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",
@@ -7,7 +7,6 @@ export default class Planner3dCameraBehaviour extends PlannerCameraBehaviour {
7
7
  get cameraControl(): CameraControl3D;
8
8
  resetCameraOnPlanCompletelyLoaded(bounds: Box3): void;
9
9
  externalApiResetCameraPosition(bounds: Box3): void;
10
- resetCameraOnSwitchTo3d(bounds: Box3): void;
11
10
  disablePanningOnShiftRelease(): void;
12
11
  enablePanningOnShiftClick(): void;
13
12
  updateCameraOnDrawWalls(bounds: Box3): void;
@@ -1,6 +1,5 @@
1
1
  import { Dimensioning, DimensioningAxis } from '../../../typings/kernel';
2
2
  import { Box3, Object3D, Vector3 } from 'three';
3
- import { Font } from 'three/examples/jsm/loaders/FontLoader';
4
3
 
5
4
  export interface DimensioningAndAxis {
6
5
  dimensioning: Dimensioning;
@@ -12,20 +11,12 @@ export default class ComponentDimensioning extends Object3D {
12
11
  private _dimensioning;
13
12
  private _axis;
14
13
  private _size;
15
- private _relativeCameraDirection;
16
- private _font;
17
14
  private _level;
18
- private _line;
19
- private _text;
20
- private _plane;
21
15
  private _lineMaterial;
22
- private _planeMaterial;
23
- private _textMaterial;
24
- constructor(dimensioningAndAxis: DimensioningAndAxis, boundingBox: Box3, font: Font, relativeCameraDirection: Vector3);
16
+ constructor(dimensioningAndAxis: DimensioningAndAxis, boundingBox: Box3, relativeCameraDirection: Vector3);
25
17
  clone(): any;
26
18
  private _initMaterials;
27
19
  private _init;
28
20
  private _addEdgeSideLines;
29
21
  private _addLine;
30
- private _addText;
31
22
  }
@@ -19,7 +19,6 @@ export default class DimensioningHelper {
19
19
  private _object;
20
20
  private _objectRotation;
21
21
  private _cameraPosition;
22
- private _font;
23
22
  private _onVisibilityChange;
24
23
  private _topDimensions;
25
24
  private _initialized;
@@ -134,7 +134,13 @@ export default class ConfiguratorSceneManager extends SceneManager implements Co
134
134
  private _dockKernelComponent;
135
135
  private _onSelectedRuntimeComponentsChange;
136
136
  private _onSelectedRuntimeComponentChange;
137
+ backToPlanner(): void;
137
138
  requestDeleteSelectedComponent(): void;
139
+ getDeleteComponentContext(componentRuntimeIds: number[]): {
140
+ canBeDeleted: boolean;
141
+ switchBackToPlanner: boolean;
142
+ };
143
+ private _permissionToDeleteComponent;
138
144
  componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
139
145
  planObjectUpdated(planObject: PlanObject, geometryChanged: boolean, pendingDocking: boolean): void;
140
146
  componentDeleted(component: RoomleComponent): void;
@@ -319,6 +319,7 @@ export interface CheckDropDownEntry {
319
319
  }
320
320
  export declare enum CheckDropDownEntryKind {
321
321
  Normal = 0,
322
- Conflicting = 1
322
+ Conflicting = 1,
323
+ Invalid = 2
323
324
  }
324
325
  export {};
@@ -1,6 +1,6 @@
1
1
  import { UiCallback } from '../../common-core/src/utils/ui-callback';
2
2
  import { CancelSelectionReasons, PlanInteractionHandler, PlanObjectPosition } from '../../typings/planner';
3
- import { ConfiguratorKernelClass, ExternalModuleInformation, UiPlanObject } from '../../typings/kernel';
3
+ import { ConfiguratorKernelClass, ExternalModuleInformation, KernelPlanObjectComponent, UiPlanObject } from '../../typings/kernel';
4
4
  import { PlannerKernelContainer } from '../../typings/planner-kernel-container';
5
5
  import { CAMERA_TYPE } from '../../common-core/src/cameracontrol/camera-type';
6
6
  import { SELECTION_MODE } from '../../configurator-core/src/utils/selection-handler';
@@ -26,6 +26,8 @@ export interface SelectionPayload {
26
26
  measurementLine?: MeasurementLineDimension;
27
27
  staticItemRuntimeId?: number;
28
28
  externalConfigurationType?: string;
29
+ objectComponent?: KernelPlanObjectComponent;
30
+ permissionToDelete?: number;
29
31
  }
30
32
  export declare const PLAN_ELEMENT_CHANGE_TYPES: {
31
33
  readonly ADDED: "added";
@@ -578,7 +578,6 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
578
578
  fetchPrice(planId?: string): Promise<any>;
579
579
  getOrderManagerGroupData(planId?: string): Promise<any>;
580
580
  getRapiAccess(): RapiAccess;
581
- canElementBeDeleted(planElement: PlanElementViewModel): boolean;
582
581
  getElementOpenCloseAnimation(planElement: PlanElementViewModel): AnimationKeyAndValue | null;
583
582
  /**
584
583
  * Sets up the Homag Intelligence module
@@ -278,7 +278,6 @@ export interface KernelPlanObjectComponent extends KernelPlanObjectBase {
278
278
  externalRootModuleId: string;
279
279
  externalSubModuleId: string;
280
280
  isAGeneratedModule: boolean;
281
- canBeDeleted: boolean;
282
281
  permissionToDelete: KernelPermissionToDelete;
283
282
  permissionToDeleteInIsolation: KernelPermissionToDelete;
284
283
  isExchangeable: boolean;
@@ -1,7 +1,6 @@
1
1
  import { PlannerUiState } from '../../planner/store/planner-ui-state';
2
- import { SdkConnector } from '../../configurator/business-logic/sdk-connector';
3
2
 
4
- export declare const isDeleteElementPossible: (sdkConnector: SdkConnector, plannerUiState: PlannerUiState) => Promise<any>;
3
+ export declare const isDeleteElementPossible: (plannerUiState: PlannerUiState, isReDockEnabled: boolean) => boolean;
5
4
  export declare const usePlannerActionsVisibility: () => {
6
5
  showStartConfiguring: import('vue').ComputedRef<boolean>;
7
6
  showActionButtons: import('vue').ComputedRef<boolean>;
@@ -1,4 +0,0 @@
1
- import { default as LATO_SUB_FILE_NAME } from '../../public/fonts/lato_regular_sub.json?json';
2
- import { default as LATO_FILE_NAME } from '../../public/fonts/lato_regular.json?json';
3
-
4
- export { LATO_SUB_FILE_NAME, LATO_FILE_NAME };