@roomle/web-sdk 3.7.0 → 3.8.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.
Files changed (132) hide show
  1. package/lib/{BufferGeometry-BzmfTBQt.mjs → BufferGeometry-ltw0XkYt.mjs} +7 -4
  2. package/lib/BufferGeometry-ltw0XkYt.mjs.map +1 -0
  3. package/lib/ConfiguratorKernel.js +6 -6
  4. package/lib/ConfiguratorKernel.wasm +0 -0
  5. package/lib/{GLTFExporter-CyhgWPq0.mjs → GLTFExporter-BqjC9LhS.mjs} +9 -14
  6. package/lib/GLTFExporter-BqjC9LhS.mjs.map +1 -0
  7. package/lib/{Object3D-C3wqWk6O.mjs → Object3D-BZaiqQIE.mjs} +24 -12
  8. package/lib/Object3D-BZaiqQIE.mjs.map +1 -0
  9. package/lib/{PointLightHelper-DwIXACyT.mjs → PointLightHelper-AxCe6I00.mjs} +4 -4
  10. package/lib/PointLightHelper-AxCe6I00.mjs.map +1 -0
  11. package/lib/RoomleCore.js +8 -8
  12. package/lib/RoomleCore.wasm +0 -0
  13. package/lib/RoomleToolsCore.wasm +0 -0
  14. package/lib/{SpotLightHelper-CfLHM7LU.mjs → SpotLightHelper-DpMerFPv.mjs} +3 -3
  15. package/lib/{SpotLightHelper-CfLHM7LU.mjs.map → SpotLightHelper-DpMerFPv.mjs.map} +1 -1
  16. package/lib/{USDZExporter-kmxcTvnQ.mjs → USDZExporter-qUD2VgwK.mjs} +2 -2
  17. package/lib/{USDZExporter-kmxcTvnQ.mjs.map → USDZExporter-qUD2VgwK.mjs.map} +1 -1
  18. package/lib/{Vector4-DUqY3Egg.mjs → Vector4-BfZH1ecw.mjs} +7 -4
  19. package/lib/Vector4-BfZH1ecw.mjs.map +1 -0
  20. package/lib/{api-X1dDTDvL.mjs → api-CbHAzwVm.mjs} +2 -2
  21. package/lib/{api-X1dDTDvL.mjs.map → api-CbHAzwVm.mjs.map} +1 -1
  22. package/lib/asset-loader.worker-A7nEeQB4.mjs.map +1 -1
  23. package/lib/{banana-for-scale-Bpf8RfLi.mjs → banana-for-scale-DiBCpVNM.mjs} +3 -3
  24. package/lib/{banana-for-scale-Bpf8RfLi.mjs.map → banana-for-scale-DiBCpVNM.mjs.map} +1 -1
  25. package/lib/budgeteer.sw-CQWYbQSc.mjs.map +1 -1
  26. package/lib/{common-utils-DMI8Yuhe.mjs → common-utils-AB4Lnet3.mjs} +2 -2
  27. package/lib/{common-utils-DMI8Yuhe.mjs.map → common-utils-AB4Lnet3.mjs.map} +1 -1
  28. package/lib/{component-dimensioning-MtS9xiY-.mjs → component-dimensioning-LUnZnpqG.mjs} +5 -5
  29. package/lib/{component-dimensioning-MtS9xiY-.mjs.map → component-dimensioning-LUnZnpqG.mjs.map} +1 -1
  30. package/lib/{component-raycast-helper-C1qWqpRH.mjs → component-raycast-helper-Bl0mWPcj.mjs} +4 -4
  31. package/lib/{component-raycast-helper-C1qWqpRH.mjs.map → component-raycast-helper-Bl0mWPcj.mjs.map} +1 -1
  32. package/lib/configurator-BmJX0gB5.mjs +2 -0
  33. package/lib/configurator-CP80d0HI.mjs +45 -0
  34. package/lib/{configurator-Cg1a9XSL.mjs.map → configurator-CP80d0HI.mjs.map} +1 -1
  35. package/lib/{continuous-drawing-helper-CQx5Sbns.mjs → continuous-drawing-helper-BlRy7u2t.mjs} +3 -3
  36. package/lib/{continuous-drawing-helper-CQx5Sbns.mjs.map → continuous-drawing-helper-BlRy7u2t.mjs.map} +1 -1
  37. package/lib/dimensioning-helper-5xsc6I7Y.mjs +2 -0
  38. package/lib/{dimensioning-helper-GPn7Z8GE.mjs → dimensioning-helper-vPhGfHd-.mjs} +3 -3
  39. package/lib/{dimensioning-helper-GPn7Z8GE.mjs.map → dimensioning-helper-vPhGfHd-.mjs.map} +1 -1
  40. package/lib/{glb-viewer-tgKOPCaI.mjs → glb-viewer-B7pA8K_w.mjs} +71 -54
  41. package/lib/glb-viewer-B7pA8K_w.mjs.map +1 -0
  42. package/lib/glb-viewer-XFEP993c.mjs +2 -0
  43. package/lib/{highlight-coordinator-DRHeEU-E.mjs → highlight-coordinator-DeB46jQq.mjs} +9 -3
  44. package/lib/highlight-coordinator-DeB46jQq.mjs.map +1 -0
  45. package/lib/{homag-intelligence-D5mCTWgG.mjs → homag-intelligence-f1JD0An1.mjs} +3 -3
  46. package/lib/homag-intelligence-f1JD0An1.mjs.map +1 -0
  47. package/lib/{imos-ix-poc-export-helper-BKFs_Yhm.mjs → imos-ix-poc-export-helper-Vyv-uuNs.mjs} +3 -3
  48. package/lib/{imos-ix-poc-export-helper-BKFs_Yhm.mjs.map → imos-ix-poc-export-helper-Vyv-uuNs.mjs.map} +1 -1
  49. package/lib/kernel-C7YDLxq8.mjs.map +1 -1
  50. package/lib/{kernel-utils-B80amC-l.mjs → kernel-utils-BG1uqfT_.mjs} +2 -2
  51. package/lib/{kernel-utils-B80amC-l.mjs.map → kernel-utils-BG1uqfT_.mjs.map} +1 -1
  52. package/lib/{main-CJ5TNhBt.mjs → main-CuqGqemT.mjs} +2916 -2605
  53. package/lib/main-CuqGqemT.mjs.map +1 -0
  54. package/lib/{material-viewer-DCqZzMZN.mjs → material-viewer-Cij9aWpI.mjs} +23 -23
  55. package/lib/{material-viewer-DCqZzMZN.mjs.map → material-viewer-Cij9aWpI.mjs.map} +1 -1
  56. package/lib/packages-DALvuVA_.mjs +4 -0
  57. package/lib/planner-CVn2Lls0.mjs +2 -0
  58. package/lib/planner-DKbmQVSf.mjs +44 -0
  59. package/lib/{planner-CSboZram.mjs.map → planner-DKbmQVSf.mjs.map} +1 -1
  60. package/lib/{plugin-system-DD0Z9Jvt.mjs → plugin-system-BEZnFUyT.mjs} +2 -2
  61. package/lib/{plugin-system-DD0Z9Jvt.mjs.map → plugin-system-BEZnFUyT.mjs.map} +1 -1
  62. package/lib/{roomle-headless-setup-nsoGENQV.mjs → roomle-headless-setup-CMK-quZI.mjs} +131 -77
  63. package/lib/roomle-headless-setup-CMK-quZI.mjs.map +1 -0
  64. package/lib/roomle-headless.d.ts +333 -44
  65. package/lib/roomle-headless.js +196 -80
  66. package/lib/roomle-headless.js.map +1 -1
  67. package/lib/{roomle-renderer-BEJNPCKx.mjs → roomle-renderer-BgT28pfp.mjs} +2 -2
  68. package/lib/{roomle-renderer-BEJNPCKx.mjs.map → roomle-renderer-BgT28pfp.mjs.map} +1 -1
  69. package/lib/roomle-sdk.d.ts +168 -37
  70. package/lib/roomle-sdk.js +7 -7
  71. package/lib/roomle-webgpu-renderer-BdCItfH1.mjs +2243 -0
  72. package/lib/roomle-webgpu-renderer-BdCItfH1.mjs.map +1 -0
  73. package/lib/{scene-renderer-Dm1kij1z.mjs → scene-renderer-Bdl7umAf.mjs} +6 -6
  74. package/lib/{scene-renderer-Dm1kij1z.mjs.map → scene-renderer-Bdl7umAf.mjs.map} +1 -1
  75. package/lib/{script-loader-DqaDm1FG.mjs → script-loader-BtWHegD-.mjs} +2 -2
  76. package/lib/{script-loader-DqaDm1FG.mjs.map → script-loader-BtWHegD-.mjs.map} +1 -1
  77. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  78. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCallback.d.ts +2 -2
  79. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCallback.js +2 -2
  80. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCallback.js.map +1 -1
  81. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +12 -3
  82. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js +1 -0
  83. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map +1 -1
  84. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +43 -2
  85. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js +20 -1
  86. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +1 -1
  87. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationLoader.d.ts +1 -1
  88. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationLoader.js +1 -1
  89. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/loader/configurationLoader.js.map +1 -1
  90. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.js +6 -6
  91. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  92. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.js +8 -8
  93. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  94. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  95. package/lib/{stats-helper-D7a7oxnj.mjs → stats-helper-BvDfWWfq.mjs} +2 -2
  96. package/lib/{stats-helper-D7a7oxnj.mjs.map → stats-helper-BvDfWWfq.mjs.map} +1 -1
  97. package/lib/{three.core-BmQnspOL.mjs → three.core-K1JzUaep.mjs} +748 -706
  98. package/lib/three.core-K1JzUaep.mjs.map +1 -0
  99. package/lib/{three.module-DkrZwaid.mjs → three.module-Q2K9uyhi.mjs} +1022 -965
  100. package/lib/three.module-Q2K9uyhi.mjs.map +1 -0
  101. package/lib/{three.webgpu-DLZjhIYv.mjs → three.webgpu-7v7o6Pxs.mjs} +3804 -3481
  102. package/lib/three.webgpu-7v7o6Pxs.mjs.map +1 -0
  103. package/lib/three.webgpu-ChguPx4k.mjs +3 -0
  104. package/lib/{threejs-utils-CrK_gp1x.mjs → threejs-utils-BzXU2M3w.mjs} +67 -47
  105. package/lib/threejs-utils-BzXU2M3w.mjs.map +1 -0
  106. package/lib/{tools-core-CZWgXTFV.mjs → tools-core-BoxckhTR.mjs} +6 -6
  107. package/lib/{tools-core-CZWgXTFV.mjs.map → tools-core-BoxckhTR.mjs.map} +1 -1
  108. package/package.json +4 -4
  109. package/lib/BufferGeometry-BzmfTBQt.mjs.map +0 -1
  110. package/lib/GLTFExporter-CyhgWPq0.mjs.map +0 -1
  111. package/lib/Object3D-C3wqWk6O.mjs.map +0 -1
  112. package/lib/PointLightHelper-DwIXACyT.mjs.map +0 -1
  113. package/lib/Vector4-DUqY3Egg.mjs.map +0 -1
  114. package/lib/configurator-C5t3clCx.mjs +0 -2
  115. package/lib/configurator-Cg1a9XSL.mjs +0 -45
  116. package/lib/dimensioning-helper-Bfe0fImX.mjs +0 -2
  117. package/lib/glb-viewer-DIEpkrvY.mjs +0 -2
  118. package/lib/glb-viewer-tgKOPCaI.mjs.map +0 -1
  119. package/lib/highlight-coordinator-DRHeEU-E.mjs.map +0 -1
  120. package/lib/homag-intelligence-D5mCTWgG.mjs.map +0 -1
  121. package/lib/main-CJ5TNhBt.mjs.map +0 -1
  122. package/lib/packages-DuOz6rk6.mjs +0 -4
  123. package/lib/planner-CSboZram.mjs +0 -44
  124. package/lib/planner-CWPqJktz.mjs +0 -2
  125. package/lib/roomle-headless-setup-nsoGENQV.mjs.map +0 -1
  126. package/lib/roomle-webgpu-renderer-D5flithq.mjs +0 -1502
  127. package/lib/roomle-webgpu-renderer-D5flithq.mjs.map +0 -1
  128. package/lib/three.core-BmQnspOL.mjs.map +0 -1
  129. package/lib/three.module-DkrZwaid.mjs.map +0 -1
  130. package/lib/three.webgpu-DLZjhIYv.mjs.map +0 -1
  131. package/lib/three.webgpu-RkQxSIwG.mjs +0 -3
  132. package/lib/threejs-utils-CrK_gp1x.mjs.map +0 -1
@@ -22,6 +22,7 @@ import { Intersection } from 'three';
22
22
  import { Layers } from 'three';
23
23
  import { Light } from 'three';
24
24
  import { Material } from 'three';
25
+ import { MaterialEventMap } from 'three';
25
26
  import { Mesh } from 'three';
26
27
  import { MeshPhysicalMaterial } from 'three';
27
28
  import { MeshStandardMaterial } from 'three';
@@ -79,6 +80,13 @@ export declare class AddOnSpotArray extends EmsArray<KernelAddOnSpot> {
79
80
  export declare class AddOnSpotArray_2 extends EmsArray<KernelAddOnSpot> {
80
81
  }
81
82
 
83
+ export declare class AdjustableCameraControl3D extends CameraControl3D {
84
+ shouldIgnoreStandardBehavior: boolean;
85
+ adjust(bounds: Vector3, position: Vector3, yaw: number, pitch: number, _fov: number): void;
86
+ protected _update(overrideTarget?: Vector3): void;
87
+ animateCamera(delta: number): boolean;
88
+ }
89
+
82
90
  export declare interface Anchor {
83
91
  value: ResizingAnchor;
84
92
  }
@@ -120,6 +128,7 @@ export declare class AnimationValueMap {
120
128
  setValueAndGetOldValue(animationName: string, value: string, level: number): string;
121
129
  getPriorAnimations(animationName: string, level: number): string[];
122
130
  getSequentAnimations(animationName: string, level: number): string[];
131
+ getValues(): string[];
123
132
  }
124
133
 
125
134
  /**
@@ -631,7 +640,7 @@ export declare class CeilingLight extends PointLight {
631
640
  private _shouldCastShadow;
632
641
  getContainer(): Mesh | null;
633
642
  get shouldCastShadow(): boolean;
634
- constructor(debug: boolean, maxQualityLevel: QualityLevel);
643
+ constructor(debug: boolean | undefined, maxQualityLevel: QualityLevel);
635
644
  recalculatePower(amountOfLights: number): void;
636
645
  update(qualityLevel: QualityLevel): void;
637
646
  addDebugUI(ceilingLightsParameters: GenericGUIParamFolder): void;
@@ -875,6 +884,7 @@ export declare interface CommonInitData {
875
884
 
876
885
  export declare abstract class CommonKernelAccess implements LifeCycleCallbacks, Context {
877
886
  _creator_: string;
887
+ private _kernelCallbackGuard;
878
888
  protected _rapiAccess: RapiAccess;
879
889
  private _materialProvider;
880
890
  protected _scriptLoader: ScriptLoader;
@@ -1238,6 +1248,7 @@ export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
1238
1248
  muteKernelCallbacks: boolean;
1239
1249
  constructor(creator: string);
1240
1250
  init(kernelType: KERNEL_TYPE): void;
1251
+ protected _getScriptLoaderKernelId(_kernelType: KERNEL_TYPE): string;
1241
1252
  protected _loadSuccess(): void;
1242
1253
  protected _loadError(): void;
1243
1254
  selectedComponent(componentId: number): void;
@@ -1296,7 +1307,7 @@ export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
1296
1307
  componentParameters(): void;
1297
1308
  requestComponentDimensions(): void;
1298
1309
  planObjectCreated(conversationId: number, planObjectId: number): void;
1299
- planObjectUpdated(planObjectId: number, pendingDocking: boolean): void;
1310
+ planObjectUpdated(planObjectId: number, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
1300
1311
  planObjectConfigurationUpdated(planObjectId: number, configuration: ConfigurationString, hash: string, _rootPlanComponentId: number, _valid: boolean, pendingDocking: boolean): Promise<void>;
1301
1312
  private _onBoundsUpdate;
1302
1313
  planObjectDeleted(): void;
@@ -1352,6 +1363,9 @@ export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
1352
1363
  listOfVariantsError(dbId: RapiId, error: string): void;
1353
1364
  addDebugClient(debugClient: DebugClient): void;
1354
1365
  configureExternalObjectApi(_externalObjectSetting?: ExternalObjectApiConfiguration): void;
1366
+ evaluateJsScript(objectOrComponentId: number, name: string, argumentObject: any): void;
1367
+ getComponentBounds(componentId: number, animationValueMap?: AnimationValueMap): KernelComponentBounds;
1368
+ updateComponentBounds(component: RoomleComponent): void;
1355
1369
  }
1356
1370
 
1357
1371
  export declare interface ConfiguratorKernelAccessCallbackI extends KernelAccessCallbackI {
@@ -1361,7 +1375,7 @@ export declare interface ConfiguratorKernelAccessCallbackI extends KernelAccessC
1361
1375
 
1362
1376
  export declare interface ConfiguratorKernelCallbackI extends CommonConfiguratorKernelCallbackI {
1363
1377
  planObjectCreated(conversationId: number, planObjectId: number): void;
1364
- planObjectUpdated(planObject: PlanObjectKernel, pendingDocking: boolean): void;
1378
+ planObjectUpdated(planObject: PlanObjectKernel, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
1365
1379
  planObjectConfigurationUpdated(planObjectId: number, configuration: ConfigurationString, hash: string, pendingDocking: boolean): void;
1366
1380
  configurationLoaded(conversationId: number, objectId: number, componentId: number, hash: string, errors: any, isFreeFlying: boolean): void;
1367
1381
  Editor3dAddDockPreview(componentId: number, previewId: number, componentType: KernelComponentType): void;
@@ -1410,7 +1424,7 @@ export declare interface ConfiguratorKernelClass {
1410
1424
  setPlanObjectParameter(planObjectId: number, parameterKey: string, value: string): void;
1411
1425
  dockComponent(childId: number, childDockId: number, parentId: number, parentDockId: number, position?: KernelVector3): void;
1412
1426
  getComponent(componentId: number): KernelComponent;
1413
- getComponentBounds(componentId: number, animationValues: string[]): KernelAssembledObjectBounds;
1427
+ getComponentBounds(componentId: number, animationValues: string[]): KernelComponentBounds;
1414
1428
  getComponentId(componentId: number): RapiId;
1415
1429
  isExternalPlanObject(objectOrPlanComponentId: number): boolean;
1416
1430
  getComponentOrModuleInformation(objectOrPlanComponentId: number): KernelObjectInformation;
@@ -1443,6 +1457,10 @@ export declare interface ConfiguratorKernelClass {
1443
1457
  loadExternalAttributeDefinition(serializedDefinition: string): void;
1444
1458
  setExternalObjectConstructionProperties(serializedProperties: string): void;
1445
1459
  registerDebugClient(debugClient: DebugClient): void;
1460
+ getGlobalParameterValue(objectOrComponentId: number, name: string): string;
1461
+ getRuntimeIdOfRootComponent(objectOrComponentId: number): number;
1462
+ getRuntimeIdsOfChildComponents(objectOrComponentId: number): number[];
1463
+ getComponentParameterValue(objectOrComponentId: number, name: string): string;
1446
1464
  }
1447
1465
 
1448
1466
  export declare interface ConfiguratorKernelContainer {
@@ -1476,7 +1494,6 @@ export declare interface ConfiguratorKernelContainer {
1476
1494
  export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel {
1477
1495
  private _rootComponentRuntimeId;
1478
1496
  private _rootComponentId;
1479
- private _isExternalObject;
1480
1497
  constructor(planObject: PlanObject);
1481
1498
  addRootComponent(component: RoomleComponent): void;
1482
1499
  addChildEntityComponent(component: RoomleComponent): void;
@@ -1562,7 +1579,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1562
1579
  protected _configuratorUiCallbacks: ConfiguratorUiCallbacks;
1563
1580
  protected _plannerKernelAccess: PlannerKernelAccess;
1564
1581
  protected _globalInitData: GlobalInitData;
1565
- protected _viewModel: ConfiguratorViewModel;
1582
+ _viewModel: ConfiguratorViewModel;
1566
1583
  private _componentFactory;
1567
1584
  protected _highlightHelper: HighlightHelper;
1568
1585
  private _dimensionHelper;
@@ -1582,7 +1599,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1582
1599
  enableEvents(): void;
1583
1600
  enableConfiguratorEvents(): void;
1584
1601
  disableConfiguratorEvents(): void;
1585
- protected _getViewModel(): ConfiguratorViewModel;
1602
+ get viewModel(): ConfiguratorViewModel;
1586
1603
  protected _getKernelAccess(): PlannerKernelAccess;
1587
1604
  private _showDockings;
1588
1605
  cancelDockings(): void;
@@ -1592,6 +1609,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1592
1609
  private _onDimensionsAdded;
1593
1610
  private _onHoverOff;
1594
1611
  private _highlightComponent;
1612
+ private _highlightSubModules;
1595
1613
  protected shouldClearShadowsAndAO(): boolean;
1596
1614
  resume(): void;
1597
1615
  private _materialLoaded;
@@ -1667,7 +1685,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1667
1685
  };
1668
1686
  private _permissionToDeleteComponent;
1669
1687
  componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
1670
- planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean): void;
1688
+ planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
1671
1689
  componentDeleted(component: RoomleComponent): void;
1672
1690
  previewConstructionDone(_component: RoomleComponent, hasPreviews: boolean): void;
1673
1691
  configurationLoaded(component: RoomleComponent, isFreeFlying: boolean): void;
@@ -1694,7 +1712,6 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1694
1712
  getComponent(componentRuntimeId: number): KernelComponent;
1695
1713
  cameraBehaviourChanged(updateDistance?: boolean): void;
1696
1714
  protected _setCameraControlListeners(): void;
1697
- protected _shouldRenderUi(): boolean;
1698
1715
  protected setEventHandlerObject(object: Object3D): void;
1699
1716
  protected _readyForRender(): void;
1700
1717
  getComponentFromRuntimeId(elementId: number): RoomleComponent | null;
@@ -1709,7 +1726,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1709
1726
  private _removeCustomComponentDimensions;
1710
1727
  clearHighlighting(): void;
1711
1728
  getExternalSubArticles(_id: number): PosArticle[];
1712
- protected _updateHighlightHelper(object?: Object3D | null): void;
1729
+ protected _updateHighlightHelper(invalidate?: boolean, object?: Object3D | null): void;
1713
1730
  }
1714
1731
 
1715
1732
  export declare class ConfiguratorUiCallbacks extends UiCallback implements ConfiguratorDebugCallbacks {
@@ -2072,7 +2089,7 @@ export declare class ConfiguratorViewModel implements ConfiguratorKernelCallback
2072
2089
  finishParameterChange(resolve: () => void, _reject: () => void): void;
2073
2090
  planObjectConfigurationUpdated(planObjectId: number, _configuration: ConfigurationString, _hash: string, pendingDocking: boolean): void;
2074
2091
  planObjectCreated(_conversationId: number, configurationRuntimeId: number): void;
2075
- planObjectUpdated(planObject: PlanObjectKernel, pendingDocking: boolean): void;
2092
+ planObjectUpdated(planObject: PlanObjectKernel, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
2076
2093
  sceneCleared(): void;
2077
2094
  setListener(listener: ConfiguratorViewModelCallbackI): void;
2078
2095
  getBoundingBox(excludeEnvironment?: boolean): Box3 | null;
@@ -2104,7 +2121,7 @@ export declare class ConfiguratorViewModel implements ConfiguratorKernelCallback
2104
2121
  export declare interface ConfiguratorViewModelCallbackI {
2105
2122
  componentUpdated(component: RoomleComponent, kernelComponent: KernelComponent): void;
2106
2123
  componentDeleted(component: RoomleComponent): void;
2107
- planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean): void;
2124
+ planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
2108
2125
  planObjectConstructionDone(planObject: PlanObjectKernel): void;
2109
2126
  previewConstructionDone(component: RoomleComponent, hasPreviews: boolean): void;
2110
2127
  configurationLoaded(component: RoomleComponent, isFreeFlying: boolean): void;
@@ -2213,6 +2230,23 @@ export declare const CORE_DOCK_PAIR_TYPE: {
2213
2230
  readonly LINE: 1;
2214
2231
  };
2215
2232
 
2233
+ export declare const CORE_DRAWING_MODE: {
2234
+ readonly WALL: 0;
2235
+ readonly ROOM_CONTOUR: 1;
2236
+ readonly CONTOUR: 2;
2237
+ };
2238
+
2239
+ export declare const CORE_EDGE_TYPE: {
2240
+ readonly WALL: 0;
2241
+ readonly EDGE: 1;
2242
+ readonly CONSTRUCTION: 2;
2243
+ };
2244
+
2245
+ export declare const CORE_FLOOR_TYPE: {
2246
+ readonly DEFAULT: 0;
2247
+ readonly TERRAIN: 1;
2248
+ };
2249
+
2216
2250
  export declare const CORE_HELP_LINE_TYPE: {
2217
2251
  readonly NONE: 0;
2218
2252
  readonly WALL_SNAP_LEVEL: 1;
@@ -2524,6 +2558,10 @@ export declare const DRAW_PREVIEW_MODES: {
2524
2558
  readonly VECTOR: "vector";
2525
2559
  };
2526
2560
 
2561
+ export declare interface DrawingMode {
2562
+ value: Enumify<typeof CORE_DRAWING_MODE>;
2563
+ }
2564
+
2527
2565
  export declare const enum DrawingType {
2528
2566
  CONTINOUS = 0,
2529
2567
  CLICK_PER_CLICK = 1
@@ -2566,6 +2604,10 @@ export declare interface DynamicLightSettingSource {
2566
2604
  ls?: PreDefinedLightSettings;
2567
2605
  }
2568
2606
 
2607
+ export declare interface EdgeType {
2608
+ value: Enumify<typeof CORE_EDGE_TYPE>;
2609
+ }
2610
+
2569
2611
  export declare interface Element_2 {
2570
2612
  id: string;
2571
2613
  label: string;
@@ -2943,12 +2985,14 @@ export declare interface ExternalObjectAPI {
2943
2985
  getExternalRoomInformation(): Promise<ExternalRoomInformation>;
2944
2986
  /**
2945
2987
  * It generates a snapshot of the external object in the plan without saving any data.
2946
- * The snapshot includes order data, room information, the plan XML, GLBs of the complete scene,
2988
+ * By default, the snapshot includes order data, room information, the plan XML, GLBs of the complete scene,
2947
2989
  * and only the objects in the scene, as well as perspective images and a top image.
2948
2990
  * The complete XML plan is returned. The assets are returned as base64 strings.
2991
+ * The `requestData` parameter can be used to control which parts of the snapshot are generated, returning only requested properties to improve performance. If `requestData` is passed, omitted properties will be `undefined`.
2992
+ * @param requestData An optional filter object indicating which snapshot properties to generate.
2949
2993
  * @returns the snapshot of the external objects
2950
2994
  */
2951
- getExternalObjectSnapshot(): Promise<ExternalObjectSnapshotData | null>;
2995
+ getExternalObjectSnapshot(requestData?: ExternalObjectSnapshotRequest): Promise<ExternalObjectSnapshotData | null>;
2952
2996
  /**
2953
2997
  * It generates a snapshot of the external object and saves the data and assets in the Roomle backend.
2954
2998
  * The snapshot includes order data, room information, the plan XML, GLBs of the complete scene,
@@ -3014,6 +3058,7 @@ export declare interface ExternalObjectLoadConfiguration {
3014
3058
  respondWithPositionInPlan: boolean;
3015
3059
  lockCallbacks: boolean;
3016
3060
  tryToMergeNewGroups: boolean;
3061
+ calculationUpdate: boolean;
3017
3062
  moduleIdMap: ExternalObjectLoadingIdMap[];
3018
3063
  }
3019
3064
 
@@ -3056,13 +3101,23 @@ export declare interface ExternalObjectSegment {
3056
3101
  }
3057
3102
 
3058
3103
  export declare interface ExternalObjectSnapshotData {
3059
- orderData: HiOrderData | null | undefined;
3060
- planXML: string;
3061
- objectGlb: string | undefined;
3062
- perspectiveImage: string | undefined;
3063
- topImage: string | undefined;
3064
- perspectiveObjectImage: string | undefined;
3065
- topObjectImage: string | undefined;
3104
+ orderData?: HiOrderData | null;
3105
+ planXML?: string;
3106
+ objectGlb?: string;
3107
+ perspectiveImage?: string;
3108
+ topImage?: string;
3109
+ perspectiveObjectImage?: string;
3110
+ topObjectImage?: string;
3111
+ }
3112
+
3113
+ export declare interface ExternalObjectSnapshotRequest {
3114
+ orderData?: boolean;
3115
+ planXML?: boolean;
3116
+ objectGlb?: boolean;
3117
+ perspectiveImage?: boolean;
3118
+ topImage?: boolean;
3119
+ perspectiveObjectImage?: boolean;
3120
+ topObjectImage?: boolean;
3066
3121
  }
3067
3122
 
3068
3123
  export declare interface ExternalObjectSnapshotSaveResult {
@@ -3162,6 +3217,7 @@ export declare interface FeatureFlags {
3162
3217
  /* Excluded from this release type: advancedDimensioning */
3163
3218
  /* Excluded from this release type: webGpu */
3164
3219
  /* Excluded from this release type: advancedHighlighting */
3220
+ /* Excluded from this release type: fence */
3165
3221
  }
3166
3222
 
3167
3223
  export declare interface FetchOptions {
@@ -3201,7 +3257,7 @@ export declare interface FloorAreaData<Vector2Type = Vector3, Vector3Type = Vect
3201
3257
 
3202
3258
  export declare type FloorAreaDataTransferable = FloorAreaData<Position2, Position3>;
3203
3259
 
3204
- export declare abstract class FloorMaterial extends BaseMaterial {
3260
+ export declare class FloorMaterial extends BaseMaterial {
3205
3261
  uvScale(): KernelVector3f;
3206
3262
  rotation(): KernelVector3f;
3207
3263
  }
@@ -3213,6 +3269,10 @@ export declare class FloorPlanElementViewModel extends PlanElementViewModel {
3213
3269
  private calculateTextVisibility;
3214
3270
  }
3215
3271
 
3272
+ export declare interface FloorType {
3273
+ value: Enumify<typeof CORE_FLOOR_TYPE>;
3274
+ }
3275
+
3216
3276
  /**
3217
3277
  * Minimal structural type that both dat.gui `GUI` folders (WebGL) and three.js
3218
3278
  * `ParametersGroup` (WebGPU) satisfy, this allows building
@@ -3247,6 +3307,12 @@ export declare class GeometryHelpLineArray extends EmsArray<GeometryHelpLine> {
3247
3307
 
3248
3308
  export declare const getCatalogIdFromConfigurationHash: (id: RapiId) => RapiId | null;
3249
3309
 
3310
+ export declare interface GLBRenderWorkerListener {
3311
+ onStart(count: number): void;
3312
+ onElementFinished(finishedElements: number): void;
3313
+ onFinished(zip: any): void;
3314
+ }
3315
+
3250
3316
  export declare class GlbViewer extends Main {
3251
3317
  private _viewer;
3252
3318
  protected setupGlobals(): void;
@@ -3258,6 +3324,39 @@ export declare class GlbViewer extends Main {
3258
3324
  protected getContextName(): string;
3259
3325
  }
3260
3326
 
3327
+ export declare class GlbViewerCameraBehaviour extends CameraBehaviour {
3328
+ get cameraControl(): AdjustableCameraControl3D;
3329
+ updateCameraOnItemLoaded(bounds: Box3): Promise<void>;
3330
+ externalApiMoveCamera(cameraParameter: CameraParameter): Promise<void>;
3331
+ }
3332
+
3333
+ export declare class GLBViewerSceneManager extends SceneManager implements GLBRenderWorkerListener {
3334
+ private _glbInputManager;
3335
+ private _rapiAccess;
3336
+ private _currentGLB;
3337
+ private _standardSceneBackgroundColor;
3338
+ private _itemsCount;
3339
+ constructor(creator: string, offset: CanvasOffset);
3340
+ protected createCameraControl(_mode: Enumify_3<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
3341
+ protected _getInputManager(): InputManager;
3342
+ loadStaticItem(id: string, callback?: (percent: number) => void): Promise<void>;
3343
+ loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3, callback?: (percent: number) => void): Promise<void>;
3344
+ preparePerspectiveImage(options?: PrepareImageOptions, providedRenderer?: WebGLRenderer): Promise<Base64Image>;
3345
+ adjustCamera(position: Vector3, yaw: number, pitch: number, fov: number): void;
3346
+ onStart(count: number): void;
3347
+ onElementFinished(itemsFinished: number): void;
3348
+ onFinished(_zip: any): void;
3349
+ clearScene(): void;
3350
+ enableHD(): void;
3351
+ sceneChanged(): void;
3352
+ getBounds(): Box3 | null;
3353
+ protected get glbViewerCameraBehaviour(): GlbViewerCameraBehaviour;
3354
+ getGeometryBounds(): Box3 | null;
3355
+ cameraBehaviourChanged(updateDistance?: boolean): void;
3356
+ moveCamera(cameraParameter: CameraParameter): Promise<void>;
3357
+ protected _readyForRender(): void;
3358
+ }
3359
+
3261
3360
  export declare class GlbViewerUiCallbacks {
3262
3361
  }
3263
3362
 
@@ -3402,7 +3501,7 @@ export declare interface GlueLogic {
3402
3501
  getVerifiedGroupAttributeOptions(groupId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
3403
3502
  updateProperty(rootModuleId?: string, propertyName?: string, propertyValue?: string | number | boolean): void;
3404
3503
  findValidSubArticles(posGroupIds: string[] | string): PosArticle[];
3405
- getValidContainerModulesForSubArticle(posGroupIds: string[] | string, subArticleId: string): ExternalObjectValidContainerModules[];
3504
+ getValidContainerModulesForSubArticle(posGroupIds: string[] | string, subArticleId: string): ValidContainerModules[];
3406
3505
  addSubArticle(articleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
3407
3506
  deleteSubArticles(groupId: string, subModuleId: string[] | string): Promise<void>;
3408
3507
  arrangeRootModulesOfGroup(changedGroup: ExternalObjectGroup): Promise<void>;
@@ -3490,6 +3589,7 @@ export declare interface HighlightHelper {
3490
3589
  checkPreviewVisibility(configuratorViewModel: ConfiguratorViewModel): void;
3491
3590
  areAllComponentsInFrustum(previews: RoomleComponent[]): boolean;
3492
3591
  onSelectionChanged(object: Object3D, componentIds: number[], callback?: () => void): void;
3592
+ invalidate?(): void;
3493
3593
  }
3494
3594
 
3495
3595
  export declare type HiLoadObjectReason = (typeof HI_LOAD_OBJECT_REASON)[keyof typeof HI_LOAD_OBJECT_REASON];
@@ -3720,6 +3820,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
3720
3820
  discardExternalObjectsWhenLoadingPlan?: boolean;
3721
3821
  featureFlags: FeatureFlags;
3722
3822
  meshRaycasting?: boolean;
3823
+ defaultFloorMaterial?: number | string;
3723
3824
  mode?: Enumify_3<typeof CAMERA_TYPE>;
3724
3825
  edit?: boolean;
3725
3826
  moc?: boolean;
@@ -4002,6 +4103,11 @@ export declare interface KernelComponent {
4002
4103
  childAnimationTransformations: ComponentAnimationTransformation[];
4003
4104
  }
4004
4105
 
4106
+ export declare interface KernelComponentBounds {
4107
+ boxForMeasurement: KernelCube;
4108
+ geometryBounds: KernelAssembledObjectBounds;
4109
+ }
4110
+
4005
4111
  export declare interface KernelComponentDocking {
4006
4112
  componentId: number;
4007
4113
  isRootComponent: boolean;
@@ -4071,6 +4177,7 @@ export declare interface KernelFloor extends KernelObject {
4071
4177
  area: number;
4072
4178
  material: KernelFloorMaterial;
4073
4179
  readonly parapetHeight: number;
4180
+ readonly floorType: FloorType;
4074
4181
  getCenter: () => KernelVector3;
4075
4182
  getRandomPointInside: () => KernelVector3;
4076
4183
  getLabelPosition: () => KernelVector3;
@@ -4391,6 +4498,7 @@ export declare interface KernelWall extends KernelObject {
4391
4498
  readonly wallType: KernelEnum;
4392
4499
  readonly leftNormal: KernelVector3;
4393
4500
  readonly rightNormal: KernelVector3;
4501
+ readonly edgeType: EdgeType;
4394
4502
  getAngle: () => number;
4395
4503
  }
4396
4504
 
@@ -4746,8 +4854,8 @@ export declare class MeasurementLinePlanElementViewModel extends PlanElementView
4746
4854
  private updatePointDraggableGeometry;
4747
4855
  getPoint1Draggable(): DraggableNode;
4748
4856
  getPoint2Draggable(): DraggableNode;
4749
- getPoint1DraggableBoundingBox(): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material | Material[], Object3DEventMap>;
4750
- getPoint2DraggableBoundingBox(): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material | Material[], Object3DEventMap>;
4857
+ getPoint1DraggableBoundingBox(): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>;
4858
+ getPoint2DraggableBoundingBox(): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>;
4751
4859
  hidePreviewBox(): void;
4752
4860
  selectPoint1Draggable(): void;
4753
4861
  selectPoint2Draggable(): void;
@@ -4811,7 +4919,7 @@ export declare class MeshGenerator implements Context {
4811
4919
  protected _assignItem(mesh: Mesh, catalogItemId: string): Promise<void>;
4812
4920
  setMaterialLoadedListener(fun: () => void): void;
4813
4921
  removeMaterialLoadedListener(): void;
4814
- protected _createMesh(runtimeComponentId: number, geometryId: string | null, geometry: BufferGeometry): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material, Object3DEventMap>;
4922
+ protected _createMesh(runtimeComponentId: number, geometryId: string | null, geometry: BufferGeometry): Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap>, Object3DEventMap>;
4815
4923
  protected _getComponentMeshId(runtimeComponentId: number, geometryId: string): string;
4816
4924
  }
4817
4925
 
@@ -5176,7 +5284,7 @@ export declare interface PlanInteractionHandler {
5176
5284
  addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
5177
5285
  addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
5178
5286
  addOrUpdateExternalPlanObjects(serialzedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject[];
5179
- createPreviewGeometryForAddOn(objectId: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
5287
+ createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
5180
5288
  catalogItemLoaded(catalogItem: KernelCatalogItem): void;
5181
5289
  removeElement(planObject: KernelObject): void;
5182
5290
  removeObjectWithId(objectId: string): void;
@@ -5195,12 +5303,13 @@ export declare interface PlanInteractionHandler {
5195
5303
  undo(): void;
5196
5304
  redo(): void;
5197
5305
  isVectorPreviewModeEnabled(): boolean;
5306
+ getDrawingMode(): DrawingMode;
5198
5307
  sCreateUnclosedSpaceEnabled(): boolean;
5199
5308
  beginDrawing(point: {
5200
5309
  x: number;
5201
5310
  y: number;
5202
5311
  z: number;
5203
- }, vectorPreviewMode: boolean, createUnclosedSpace: boolean): void;
5312
+ }, drawingMode: DrawingMode, createUnclosedSpace: boolean): void;
5204
5313
  endDrawing(point: {
5205
5314
  x: number;
5206
5315
  y: number;
@@ -5249,6 +5358,8 @@ export declare interface PlanInteractionHandler {
5249
5358
  setWallRightMaterial(wall: KernelWall, material: KernelWallMaterial): void;
5250
5359
  setFloorMaterial(floor: KernelFloor, material: KernelFloorMaterial): void;
5251
5360
  setFloorLabelObject(floor: KernelFloor, serializedLabelObject: string): void;
5361
+ setFloorType(floor: KernelFloor, floorType: FloorType): void;
5362
+ setEdgeType(wall: KernelWall, edgeType: EdgeType): void;
5252
5363
  getContinuousDrawingManager(): ContinuousDrawingManager;
5253
5364
  setSnapFeedbackWhileDrawing(enabled: boolean): void;
5254
5365
  consistsOfMergedComponents(object: KernelObject): boolean;
@@ -5278,6 +5389,7 @@ export declare interface PlanInteractionHandler {
5278
5389
  objectToObjectSnapMode: SnapMode;
5279
5390
  dockWhenSnap: boolean;
5280
5391
  unDockOnMove: boolean;
5392
+ enableTerrain: boolean;
5281
5393
  }
5282
5394
 
5283
5395
  export declare abstract class PlanMeasure extends PlanElement {
@@ -5396,6 +5508,11 @@ export declare class PlannerFpCameraBehaviour extends PlannerCameraBehaviour {
5396
5508
  }
5397
5509
 
5398
5510
  export declare interface PlannerInitData {
5511
+ /**
5512
+ * @description Sets the default floor material when creating a new plan or drawing.
5513
+ * Can be a number (RGB color) or a string (material ID).
5514
+ */
5515
+ defaultFloorMaterial?: number | string;
5399
5516
  /**
5400
5517
  * @description Select with which camera mode to start initially.
5401
5518
  * usage: mode=2D
@@ -5414,14 +5531,17 @@ export declare interface PlannerInitData {
5414
5531
  }
5415
5532
 
5416
5533
  export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
5417
- private _kernelAccessCallback;
5418
5534
  private _roomlePlannerUiCallback;
5419
5535
  private _planInteractionHandler;
5420
5536
  private _plannerKernelCallbackListener;
5537
+ private _plannerReadyListeners;
5538
+ private _plannerReady;
5539
+ addListener(listener: KernelAccessCallbackI): void;
5540
+ removeListener(listener: KernelAccessCallbackI): void;
5421
5541
  private _homagIntelligence;
5422
5542
  get kernelContainer(): any;
5423
5543
  constructor(creator: string);
5424
- protected _loadSuccess(): void;
5544
+ protected _loadSuccess(): Promise<void>;
5425
5545
  protected _loadError(): void;
5426
5546
  get homagIntelligence(): HomagIntelligence | null;
5427
5547
  setHomagIntelligence(homagIntelligence: HomagIntelligence | null): void;
@@ -5572,6 +5692,7 @@ export declare interface PlannerKernelContainer {
5572
5692
  WallMaterial: WallMaterial;
5573
5693
  Plan: Plan;
5574
5694
  DrawingType: DrawingType;
5695
+ DrawingMode: DrawingMode;
5575
5696
  ResizingAnchor: ResizingAnchor;
5576
5697
  toResizingAnchor: (a: number) => ResizingAnchor;
5577
5698
  PlanInteractionHandler: PlanInteractionHandler;
@@ -5745,6 +5866,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
5745
5866
  private _completelyLoaded;
5746
5867
  private _configurableItemGuard;
5747
5868
  private _planCompletelyLoadedGuard;
5869
+ private _fullyReadyGuard;
5748
5870
  private _dragStartBounds;
5749
5871
  currentSelection: SelectionPayload | null;
5750
5872
  private _paperBackground;
@@ -5775,7 +5897,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
5775
5897
  private _activateElement;
5776
5898
  planCleared(): void;
5777
5899
  planHistoryStateChanged(): void;
5778
- protected _getViewModel(): PlanViewModel;
5900
+ get viewModel(): PlanViewModel;
5779
5901
  private _getDragPosition;
5780
5902
  private _hideAllMeasurementsNodeOnElementChange;
5781
5903
  private _onSelectionChange;
@@ -6527,6 +6649,7 @@ export declare interface PrepareImageOptions {
6527
6649
  showDimensions?: boolean;
6528
6650
  runtimeIds?: number[];
6529
6651
  rotationY?: number;
6652
+ preserveSceneBackground?: boolean;
6530
6653
  }
6531
6654
 
6532
6655
  export declare interface PrepareImageOptionsPlanner extends PrepareImageOptions {
@@ -8204,6 +8327,7 @@ export declare class RoomleGLBViewer implements GlobalAPI, Context, ExternalEmbe
8204
8327
  getCameraOffset(): CanvasOffset;
8205
8328
  init(element: HTMLElement, initData?: InitDataDefinition): Promise<void>;
8206
8329
  private _initPromiseCallback;
8330
+ getSceneManager(): GLBViewerSceneManager;
8207
8331
  /**
8208
8332
  * Remove the current glb from the scene if it exists
8209
8333
  */
@@ -8231,7 +8355,7 @@ export declare class RoomleGLBViewer implements GlobalAPI, Context, ExternalEmbe
8231
8355
  * @param sceneSettings
8232
8356
  */
8233
8357
  loadSceneSetting(sceneSettings: SceneSettings): Promise<void>;
8234
- preparePerspectiveImage(): Promise<Base64Image>;
8358
+ preparePerspectiveImage(options?: PrepareImageOptions): Promise<Base64Image>;
8235
8359
  processRenderList(jsonString: string, width?: number, height?: number): void;
8236
8360
  setOverrides(initData: Partial<InitDataDefinition & GlobalInitDataDefinition> | InitData | undefined): void;
8237
8361
  updateSize(): void;
@@ -8406,7 +8530,6 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
8406
8530
  private _homagIntelligence;
8407
8531
  private _configuratorContext;
8408
8532
  private _domHelper;
8409
- private _kernelAccessCallback;
8410
8533
  private _plannerKernelAccess;
8411
8534
  private _rapiAccess;
8412
8535
  private _singlePromiseFactory;
@@ -8687,7 +8810,7 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
8687
8810
  * @param sceneEvents
8688
8811
  */
8689
8812
  setSceneEvents(sceneEvents: SceneEvents): void;
8690
- getExternalObjectSnapshot(): Promise<ExternalObjectSnapshotData | null>;
8813
+ getExternalObjectSnapshot(requestData?: ExternalObjectSnapshotRequest): Promise<ExternalObjectSnapshotData | null>;
8691
8814
  saveExternalObjectSnapshot(parentPlanId?: RapiId): Promise<ExternalObjectSnapshotSaveResult | null>;
8692
8815
  private _getExternalObjectGroupsInPlan;
8693
8816
  private _savePlanSnapshotExternalObjects;
@@ -9215,9 +9338,12 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
9215
9338
  disableUiInteractionMode(): void;
9216
9339
  enableUiInteractionMode(): void;
9217
9340
  getQualityLevel(): QualityLevel;
9341
+ setCameraType(cameraType: Enumify_3<typeof CAMERA_TYPE>): void;
9342
+ switchToPlanner(renderMode: PlannerRenderMode): void;
9218
9343
  highlightObjects(selectedMeshes: Object3D[]): void;
9219
9344
  loadLutImages(_luts: LutImageDefinition[]): void;
9220
9345
  render(scene: Scene, camera: Camera): void;
9346
+ private updateCameraProjectionMatrix;
9221
9347
  private assembleRenderPasses;
9222
9348
  setAutoQuality(_autoQuality: boolean): void;
9223
9349
  setCustomShadingParameters(_customShadingParameters: CustomShadingParameters | undefined, _customShadingParametersMoc: CustomShadingParameters | undefined): void;
@@ -9375,7 +9501,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
9375
9501
  protected _orthographicOffsetCamera: OrthographicOffsetCamera | null;
9376
9502
  protected abstract createCameraControl(mode: Enumify_3<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
9377
9503
  protected abstract _getInputManager(): InputManager;
9378
- protected get cameraBehaviour(): CameraBehaviour;
9504
+ get cameraBehaviour(): CameraBehaviour;
9379
9505
  abstract sceneChanged(): void;
9380
9506
  abstract getBounds(): Box3 | null;
9381
9507
  abstract getGeometryBounds(): Box3 | null;
@@ -9404,7 +9530,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
9404
9530
  protected _renderWithoutShadowsAndAO(): void;
9405
9531
  protected _requestRender(): void;
9406
9532
  protected _shouldRenderUi(): boolean;
9407
- private _renderUi;
9533
+ private _renderUiWithDepthPrepass;
9408
9534
  private _animateCamera;
9409
9535
  protected shouldClearShadowsAndAO(): boolean;
9410
9536
  protected _setupScene(_offset?: CanvasOffset, transparent?: boolean): Promise<void>;
@@ -9825,6 +9951,11 @@ export declare interface UserAction {
9825
9951
  actionLabel: number;
9826
9952
  }
9827
9953
 
9954
+ export declare interface ValidContainerModules {
9955
+ calculatedPosGroup: PosGroup;
9956
+ validContainerModules: ExternalObjectValidContainerModules[];
9957
+ }
9958
+
9828
9959
  export declare type ValuesFromObject<T> = T[keyof T];
9829
9960
 
9830
9961
  export declare class VariableArray extends EmsArray<KernelVariable> {
@@ -9898,7 +10029,7 @@ export declare interface WallExtensionType {
9898
10029
  ExtendBoth: EMSConstant;
9899
10030
  }
9900
10031
 
9901
- export declare abstract class WallMaterial extends BaseMaterial {
10032
+ export declare class WallMaterial extends BaseMaterial {
9902
10033
  }
9903
10034
 
9904
10035
  export declare class WallPlanElementViewModel extends PlanElementViewModel {
package/lib/roomle-sdk.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { i as e, t } from "./kernel-C7YDLxq8.mjs";
2
- import { A as n, B as r, E as i, G as a, H as o, M as s, N as c, P as l, R as u, U as d, V as f, _ as p, a as m, at as h, c as g, ct as _, g as v, j as y, n as b, ot as x, rt as S, s as C, v as w, y as T, z as E } from "./main-CJ5TNhBt.mjs";
3
- import { t as D } from "./configurator-Cg1a9XSL.mjs";
4
- import { t as O } from "./planner-CSboZram.mjs";
5
- import { n as k, t as A } from "./glb-viewer-tgKOPCaI.mjs";
6
- import { t as j } from "./api-X1dDTDvL.mjs";
7
- import "./packages-DuOz6rk6.mjs";
8
- export { t as CONFIGURATION_TYPE, e as CORE_PERMISSION_TO_DELETE, D as Configurator, m as ConfiguratorUiCallbacks, n as FloorPlanElementViewModel, A as GlbViewer, a as GlobalCallback, u as HI_CONTEXT_ACTION, h as IdbManager, b as Main, T as MeasurementLinePlanElementViewModel, v as PLAN_ELEMENT_CHANGE_TYPES, l as PlanElementViewModel, c as PlanObjectViewModel, O as Planner, S as RapiAccess, j as RoomDesignerApi, i as RoomleConfigurator, k as RoomleGLBViewer, _ as RoomleLightSource, C as RoomlePlanner, p as RoomlePlannerUiCallback, g as RoomleSdk, s as StaticPlanObjectViewModel, y as WallPlanElementViewModel, E as createExtObj, d as createExtObjId, x as getCatalogIdFromConfigurationHash, r as isExtObjId, f as isExternalObject, w as isSafari, o as removeExtObjIdPrefix };
2
+ import { B as n, F as r, H as i, K as a, M as o, N as s, O as c, P as l, U as u, V as d, W as f, a as p, b as m, c as h, it as g, j as _, l as v, lt as y, n as b, ot as x, st as S, v as C, x as w, y as T, z as E } from "./main-CuqGqemT.mjs";
3
+ import { t as D } from "./configurator-CP80d0HI.mjs";
4
+ import { t as O } from "./planner-DKbmQVSf.mjs";
5
+ import { n as k, t as A } from "./glb-viewer-B7pA8K_w.mjs";
6
+ import { t as j } from "./api-CbHAzwVm.mjs";
7
+ import "./packages-DALvuVA_.mjs";
8
+ export { t as CONFIGURATION_TYPE, e as CORE_PERMISSION_TO_DELETE, D as Configurator, p as ConfiguratorUiCallbacks, _ as FloorPlanElementViewModel, A as GlbViewer, a as GlobalCallback, E as HI_CONTEXT_ACTION, x as IdbManager, b as Main, w as MeasurementLinePlanElementViewModel, C as PLAN_ELEMENT_CHANGE_TYPES, r as PlanElementViewModel, l as PlanObjectViewModel, O as Planner, g as RapiAccess, j as RoomDesignerApi, c as RoomleConfigurator, k as RoomleGLBViewer, y as RoomleLightSource, h as RoomlePlanner, T as RoomlePlannerUiCallback, v as RoomleSdk, s as StaticPlanObjectViewModel, o as WallPlanElementViewModel, n as createExtObj, f as createExtObjId, S as getCatalogIdFromConfigurationHash, d as isExtObjId, i as isExternalObject, m as isSafari, u as removeExtObjIdPrefix };