@roomle/web-sdk 5.1.0-alpha.6 → 5.1.0-typestest.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 (53) hide show
  1. package/.releaserc.json +12 -0
  2. package/lib/ConfiguratorKernel.wasm +0 -0
  3. package/lib/RoomleCore.wasm +0 -0
  4. package/lib/RoomleToolsCore.wasm +0 -0
  5. package/lib/{api-ClfVJAUd.mjs → api-DGnvZIcv.mjs} +2 -2
  6. package/lib/{api-ClfVJAUd.mjs.map → api-DGnvZIcv.mjs.map} +1 -1
  7. package/lib/{component-dimensioning-yPK46Y5o.mjs → component-dimensioning-BvF9Vdm0.mjs} +2 -2
  8. package/lib/{component-dimensioning-yPK46Y5o.mjs.map → component-dimensioning-BvF9Vdm0.mjs.map} +1 -1
  9. package/lib/{component-raycast-helper-CnpnRaFg.mjs → component-raycast-helper-BtOEYKaR.mjs} +2 -2
  10. package/lib/{component-raycast-helper-CnpnRaFg.mjs.map → component-raycast-helper-BtOEYKaR.mjs.map} +1 -1
  11. package/lib/{configurator-BM31Kt-5.mjs → configurator-BFZrqpSE.mjs} +4 -4
  12. package/lib/{configurator-BM31Kt-5.mjs.map → configurator-BFZrqpSE.mjs.map} +1 -1
  13. package/lib/configurator-DUKXHWSS.mjs +2 -0
  14. package/lib/{glb-viewer-B2si39v2.mjs → glb-viewer-DY3xeUtU.mjs} +4 -4
  15. package/lib/{glb-viewer-B2si39v2.mjs.map → glb-viewer-DY3xeUtU.mjs.map} +1 -1
  16. package/lib/glb-viewer-GQsVJ2fM.mjs +2 -0
  17. package/lib/{highlight-coordinator-DU6oFunq.mjs → highlight-coordinator-Q8dEUY3D.mjs} +2 -2
  18. package/lib/{highlight-coordinator-DU6oFunq.mjs.map → highlight-coordinator-Q8dEUY3D.mjs.map} +1 -1
  19. package/lib/{homag-intelligence-CSBo-iks.mjs → homag-intelligence-SidskTjc.mjs} +3 -3
  20. package/lib/{homag-intelligence-CSBo-iks.mjs.map → homag-intelligence-SidskTjc.mjs.map} +1 -1
  21. package/lib/{material-viewer-C2Pj4-II.mjs → material-viewer-CzzbbiY3.mjs} +4 -4
  22. package/lib/{material-viewer-C2Pj4-II.mjs.map → material-viewer-CzzbbiY3.mjs.map} +1 -1
  23. package/lib/{packages-C0xavGqP.mjs → packages-Cduqgaaj.mjs} +5 -5
  24. package/lib/{packages-C0xavGqP.mjs.map → packages-Cduqgaaj.mjs.map} +1 -1
  25. package/lib/planner-BX25vBoU.mjs +2 -0
  26. package/lib/{planner-C1KkZRGk.mjs → planner-ClhRT5pF.mjs} +3 -3
  27. package/lib/{planner-C1KkZRGk.mjs.map → planner-ClhRT5pF.mjs.map} +1 -1
  28. package/lib/roomle-headless.d.ts +1574 -287
  29. package/lib/roomle-headless.js +8 -8
  30. package/lib/{roomle-sdk-BhHLCbgP.mjs → roomle-sdk-VJa0TBo9.mjs} +1270 -1276
  31. package/lib/roomle-sdk-VJa0TBo9.mjs.map +1 -0
  32. package/lib/roomle-sdk.d.ts +1554 -267
  33. package/lib/roomle-sdk.js +7 -7
  34. package/lib/{scene-renderer--DzrpIl_.mjs → scene-renderer-C3ubDmx0.mjs} +2 -2
  35. package/lib/{scene-renderer--DzrpIl_.mjs.map → scene-renderer-C3ubDmx0.mjs.map} +1 -1
  36. package/lib/{script-loader-BHniYj5b.mjs → script-loader-DIm0FRqb.mjs} +2 -2
  37. package/lib/{script-loader-BHniYj5b.mjs.map → script-loader-DIm0FRqb.mjs.map} +1 -1
  38. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  39. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  40. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  41. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  42. package/lib/{stats-helper-DYjPPDnz.mjs → stats-helper-BQ4iIDmH.mjs} +2 -2
  43. package/lib/{stats-helper-DYjPPDnz.mjs.map → stats-helper-BQ4iIDmH.mjs.map} +1 -1
  44. package/lib/{threejs-utils-lVSsgAiQ.mjs → threejs-utils-CMmJiCGK.mjs} +2 -2
  45. package/lib/threejs-utils-CMmJiCGK.mjs.map +1 -0
  46. package/lib/{tools-core-QUdVgS4n.mjs → tools-core-SxI9qPW4.mjs} +3 -3
  47. package/lib/{tools-core-QUdVgS4n.mjs.map → tools-core-SxI9qPW4.mjs.map} +1 -1
  48. package/package.json +7 -16
  49. package/lib/configurator-CRQg04Bp.mjs +0 -2
  50. package/lib/glb-viewer-DWybhP87.mjs +0 -2
  51. package/lib/planner-DJE5aZXG.mjs +0 -2
  52. package/lib/roomle-sdk-BhHLCbgP.mjs.map +0 -1
  53. package/lib/threejs-utils-lVSsgAiQ.mjs.map +0 -1
@@ -6,26 +6,9 @@ import { Camera as Camera_2 } from 'three/webgpu';
6
6
  import { Color } from 'three';
7
7
  import { ColorRepresentation } from 'three';
8
8
  import { ColorRepresentation as ColorRepresentation_2 } from 'three/webgpu';
9
- import { CommunicationInterfaceCallback } from '../../../workers/src/communication-interface';
10
- import { ConstructionObjectDoorArch } from 'roomle-core-hsc/src/embind/plannerCoreInterface';
11
- import { createExtObjId } from '../../../../../common/src/utils/external-objects';
12
- import { Enumify } from '../../../common/src/utils/types';
13
- import { Enumify as Enumify_2 } from '../../../../../../common/src/utils/types';
14
- import { Enumify as Enumify_3 } from '../../../../../common/src/utils/types';
15
- import { Enumify as Enumify_4 } from '../../../../common/src/utils/types';
16
9
  import { Euler } from 'three';
17
- import { ExtObjId } from '../../../common/src/utils/external-objects';
18
- import { ExtObjId as ExtObjId_2 } from '../../../../../common/src/utils/external-objects';
19
10
  import { Group } from 'three';
20
- import { HiCallbacks } from '../../../../common/src/hi/hi-types';
21
- import { HiOrderData } from '../../../../common/src/hi/hi-types';
22
- import { HiOrderHeader } from '../../../../common/src/hi/hi-types';
23
11
  import { Intersection } from 'three';
24
- import { isIdAComponent } from '../../common/src/utils/id-inferrer';
25
- import { isIdAConfigurationString } from '../../common/src/utils/id-inferrer';
26
- import { isIdAnItem } from '../../common/src/utils/id-inferrer';
27
- import { isIdAPlan } from '../../common/src/utils/id-inferrer';
28
- import { isPlanSnapshotId } from '../../common/src/utils/id-inferrer';
29
12
  import { Layers } from 'three';
30
13
  import { Light } from 'three';
31
14
  import { Material } from 'three';
@@ -34,32 +17,33 @@ import { Mesh } from 'three';
34
17
  import { MeshPhysicalMaterial } from 'three';
35
18
  import { MeshStandardMaterial } from 'three';
36
19
  import { NormalBufferAttributes } from 'three';
37
- import { Nullable } from '../../common/src/utils/types';
38
- import { Nullable as Nullable_2 } from '../../../../../common/src/utils/types';
39
20
  import { Object3D } from 'three';
40
21
  import { Object3D as Object3D_2 } from 'three/webgpu';
41
22
  import { Object3DEventMap } from 'three';
42
23
  import { OrthographicCamera } from 'three';
43
24
  import { ParametersGroup } from 'three/examples/jsm/inspector/tabs/Parameters.js';
44
- import { PartList } from 'roomle-core-hsc/src/embind/configuratorCoreInterface';
45
25
  import { PerspectiveCamera } from 'three';
46
- import { PlanInteractionHandler as PlanInteractionHandler_2 } from 'roomle-core-hsc/src/embind/plannerCoreInterface';
47
26
  import { PointLight } from 'three';
48
27
  import { Scene } from 'three';
49
28
  import { Scene as Scene_2 } from 'three/webgpu';
50
29
  import { Texture } from 'three';
51
30
  import { TextureLoader } from 'three';
52
31
  import { Vector2 } from 'three';
53
- import { Vector3 } from 'three';
32
+ import { Vector3 as Vector3_2 } from 'three';
54
33
  import { WebGLRenderer } from 'three';
55
34
  import { WebGPURenderer } from 'three/webgpu';
56
- import { WORKER_MESSAGE } from '../../../workers/src/communication-interface';
57
35
 
58
36
  export declare abstract class AbstractModel {
59
37
  extRef: number;
60
38
  abstract getId(): number;
61
39
  }
62
40
 
41
+ export declare interface AbstractModel_2 {
42
+ new (): AbstractModel_2;
43
+ getId(): number;
44
+ extRef: ExternalReference_2;
45
+ }
46
+
63
47
  export declare class AbstractModelWrapper extends AbstractModel {
64
48
  getId(): number;
65
49
  }
@@ -85,16 +69,23 @@ export declare interface AddOnSpot {
85
69
  mask: string;
86
70
  }
87
71
 
72
+ export declare interface AddOnSpot_2 {
73
+ mask: string;
74
+ position: Vector3;
75
+ }
76
+
88
77
  export declare class AddOnSpotArray extends EmsArray<KernelAddOnSpot> {
89
78
  }
90
79
 
91
- export declare class AddOnSpotArray_2 extends EmsArray<KernelAddOnSpot> {
80
+ export declare type AddOnSpotArray_2 = EmscriptenArray<AddOnSpot_2>;
81
+
82
+ export declare class AddOnSpotArray_3 extends EmsArray<KernelAddOnSpot> {
92
83
  }
93
84
 
94
85
  export declare class AdjustableCameraControl3D extends CameraControl3D {
95
86
  shouldIgnoreStandardBehavior: boolean;
96
- adjust(bounds: Vector3, position: Vector3, yaw: number, pitch: number, _fov: number): void;
97
- protected _update(overrideTarget?: Vector3): void;
87
+ adjust(bounds: Vector3_2, position: Vector3_2, yaw: number, pitch: number, _fov: number): void;
88
+ protected _update(overrideTarget?: Vector3_2): void;
98
89
  animateCamera(delta: number): boolean;
99
90
  }
100
91
 
@@ -102,12 +93,33 @@ export declare interface Anchor {
102
93
  value: ResizingAnchor;
103
94
  }
104
95
 
96
+ export declare interface Animation_2 {
97
+ actions: AnimationAction[];
98
+ animate?: boolean;
99
+ applyToChildren?: boolean;
100
+ enabled: boolean;
101
+ group: string;
102
+ key: string;
103
+ label: string;
104
+ level: number;
105
+ sort: number;
106
+ visibleInPlanner: boolean;
107
+ }
108
+
105
109
  export declare const ANIMATION_LEVEL: {
106
110
  readonly COMPONENT: 0;
107
111
  readonly OBJECT_COMPONENT: 1;
108
112
  readonly OBJECT: 2;
109
113
  };
110
114
 
115
+ export declare interface AnimationAction {
116
+ key: string;
117
+ label: string;
118
+ type: string;
119
+ }
120
+
121
+ export declare type AnimationArray = EmscriptenArray<Animation_2>;
122
+
111
123
  export declare interface AnimationKeyAndValue {
112
124
  key: string;
113
125
  value: string;
@@ -120,6 +132,11 @@ export declare interface AnimationTransformation {
120
132
  key: string;
121
133
  }
122
134
 
135
+ export declare interface AnimationTransformation_2 {
136
+ animationMatrix: Matrix4;
137
+ key: string;
138
+ }
139
+
123
140
  export declare interface AnimationTransition {
124
141
  from: string;
125
142
  to: string;
@@ -158,6 +175,11 @@ export declare interface AppState {
158
175
 
159
176
  export declare type ArticleNumber = string;
160
177
 
178
+ export declare interface AssembledObjectBounds {
179
+ boundingBox: Box;
180
+ parts: ObjectBoundsArray;
181
+ }
182
+
161
183
  export declare interface Asset {
162
184
  format: string;
163
185
  url: string;
@@ -180,13 +202,39 @@ export declare interface AssetResponse {
180
202
  value?: number;
181
203
  }
182
204
 
205
+ export declare interface AssetResponse_2 {
206
+ data: any;
207
+ id: string;
208
+ type: AssetType_2;
209
+ value?: number;
210
+ }
211
+
183
212
  export declare interface AssetType {
184
213
  value: Enumify<typeof CORE_ASSET_TYPE>;
185
214
  }
186
215
 
216
+ export declare interface AssetType_2 {
217
+ value: Enumify_3<typeof CORE_ASSET_TYPE_2>;
218
+ }
219
+
187
220
  export declare type AssetUrl = string;
188
221
 
189
- export declare interface AtticDimension<Vector2Type = Vector3 | Position2, Vector3Type = Vector3 | Position3> {
222
+ export declare interface Attic extends PlanElement_2 {
223
+ new (): Attic;
224
+ getFrom(): Node_3;
225
+ getTo(): Node_3;
226
+ getAssociatedWall(): Wall_2;
227
+ get2dPolygon(): PointArray_2;
228
+ getRidgePoints(): PointArray_2;
229
+ getPointsWithHeight(height: number): PointArray_2;
230
+ readonly side: WallSide_2;
231
+ readonly kneeHeight: number;
232
+ readonly width: number;
233
+ }
234
+
235
+ export declare type AtticArray = EmscriptenArray<Attic>;
236
+
237
+ export declare interface AtticDimension<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
190
238
  /** Start position of the attic in 3D **/
191
239
  fromPosition3d?: Vector3Type;
192
240
  /** End position of the attic in 3D **/
@@ -270,6 +318,16 @@ export declare abstract class BaseMaterial {
270
318
  getSourceType(): KernelEnum;
271
319
  }
272
320
 
321
+ export declare interface BaseMaterial_2 extends AbstractModel_2 {
322
+ new (): BaseMaterial_2;
323
+ getCatalogItemId(): string;
324
+ getSourceType(): MaterialSourceType_2;
325
+ catalogItemId: string;
326
+ materialId: string;
327
+ rgbValue: number;
328
+ useCustomColor: boolean;
329
+ }
330
+
273
331
  export declare interface BaseMDAttributeInfo {
274
332
  id: string;
275
333
  name: string;
@@ -292,6 +350,11 @@ export declare interface BatchPaintMaterial {
292
350
  catalogItemId?: RapiId;
293
351
  }
294
352
 
353
+ export declare interface Box {
354
+ origin: Vector3;
355
+ size: Vector3;
356
+ }
357
+
295
358
  export declare class CacheHolder {
296
359
  private _componentCache;
297
360
  private _geometryCache;
@@ -345,7 +408,7 @@ export declare class CameraBehaviourState implements Context {
345
408
  _creator_: string;
346
409
  private _lastPlanBounds;
347
410
  constructor(creator: string);
348
- isWithinPlanBounds(position: Vector3, updatedBounds?: Box3): boolean;
411
+ isWithinPlanBounds(position: Vector3_2, updatedBounds?: Box3): boolean;
349
412
  }
350
413
 
351
414
  export declare abstract class CameraControl extends EventDispatcher<CameraEventMap> implements Context {
@@ -356,8 +419,8 @@ export declare abstract class CameraControl extends EventDispatcher<CameraEventM
356
419
  protected _width: number;
357
420
  protected _height: number;
358
421
  protected _boundingBox: Box3;
359
- protected _cameraPosition: Vector3;
360
- protected _targetPosition: Vector3;
422
+ protected _cameraPosition: Vector3_2;
423
+ protected _targetPosition: Vector3_2;
361
424
  protected _tweenEnd: CameraParameter | null;
362
425
  private _stateSaved;
363
426
  private _cameraStandingStill;
@@ -395,14 +458,14 @@ export declare abstract class CameraControl extends EventDispatcher<CameraEventM
395
458
  lock(): void;
396
459
  unlock(): void;
397
460
  isLocked(): boolean;
398
- getTargetPosition(): Vector3;
461
+ getTargetPosition(): Vector3_2;
399
462
  protected _saveYawAndPitch(): void;
400
- getInputPosition(position: Position2): Vector3;
463
+ getInputPosition(position: Position2): Vector3_2;
401
464
  addLightContainer(container: Object3D): void;
402
- checkNearFarDistance(point: Vector3): void;
465
+ checkNearFarDistance(point: Vector3_2): void;
403
466
  setBounds(boundingBox: Box3): void;
404
467
  get domHelper(): DomHelper;
405
- protected abstract _update(overrideTarget?: Vector3, ignoreChecks?: boolean | undefined, keepVariables?: boolean | undefined): void;
468
+ protected abstract _update(overrideTarget?: Vector3_2, ignoreChecks?: boolean | undefined, keepVariables?: boolean | undefined): void;
406
469
  abstract getKernelZoomFactor(): number;
407
470
  }
408
471
 
@@ -425,7 +488,7 @@ export declare class CameraControl2D extends CameraControl {
425
488
  private _zoomTo;
426
489
  private _move;
427
490
  zoomToFitBounds(bounds: Box3, zoomInAllowed: boolean, force?: boolean): void;
428
- protected _update(_overrideTarget?: Vector3, _ignoreChecks?: boolean | undefined, _keepVariables?: boolean | undefined): void;
491
+ protected _update(_overrideTarget?: Vector3_2, _ignoreChecks?: boolean | undefined, _keepVariables?: boolean | undefined): void;
429
492
  animateCamera(delta: number): boolean;
430
493
  getKernelZoomFactor(): number;
431
494
  }
@@ -474,16 +537,16 @@ export declare class CameraControl3D extends CameraControl {
474
537
  checkBoundsAndPlaceCamera(boundingBox: Box3, reset?: boolean): void;
475
538
  adjustToBoundsWithoutChangingDistance(boundingBox: Box3): void;
476
539
  zoomToFitBounds(boundingBox: Box3, reset?: boolean): void;
477
- updateToBounds(boundingBox: Box3, isPreview: boolean, changeCamera?: boolean, target?: Vector3): void;
540
+ updateToBounds(boundingBox: Box3, isPreview: boolean, changeCamera?: boolean, target?: Vector3_2): void;
478
541
  protected _checkZoomDistance(boundingBox: Box3, idealDistance: number): void;
479
- protected _setDistanceAndRangesBasedOnBounds(bounds: Vector3, updateDistance?: boolean): number;
542
+ protected _setDistanceAndRangesBasedOnBounds(bounds: Vector3_2, updateDistance?: boolean): number;
480
543
  private _getIdealDistance;
481
544
  private _getOffset;
482
545
  private _getMargin;
483
- reset(bounds: Box3, target?: Vector3, yaw?: number, pitch?: number, animate?: boolean): void;
546
+ reset(bounds: Box3, target?: Vector3_2, yaw?: number, pitch?: number, animate?: boolean): void;
484
547
  updateDistanceAndRangesBasedOnBounds(boundingBox: Box3, updateDistance?: boolean): void;
485
548
  updateAndReset(boundingBox: Box3, animate?: boolean): Promise<void>;
486
- protected _update(overrideTarget?: Vector3, ignoreChecks?: boolean, keepVariables?: boolean): void;
549
+ protected _update(overrideTarget?: Vector3_2, ignoreChecks?: boolean, keepVariables?: boolean): void;
487
550
  private _zoomChanged;
488
551
  zoomTo(cameraParameters: CameraParameter): Promise<void>;
489
552
  private _getCameraSphere;
@@ -533,7 +596,7 @@ export declare class CameraControlFirstPerson extends CameraControl {
533
596
  private _move;
534
597
  private _up;
535
598
  private _onLongDown;
536
- protected _update(_overrideTarget?: Vector3): void;
599
+ protected _update(_overrideTarget?: Vector3_2): void;
537
600
  updateCamera(): void;
538
601
  private _onKeyChanged;
539
602
  private _processKeyMap;
@@ -603,8 +666,8 @@ export declare interface CameraParameter {
603
666
  }
604
667
 
605
668
  export declare interface CameraTarget {
606
- center: Vector3;
607
- bounds: Vector3;
669
+ center: Vector3_2;
670
+ bounds: Vector3_2;
608
671
  diagonal: number;
609
672
  }
610
673
 
@@ -650,9 +713,23 @@ export declare class CatalogItem extends AbstractModelWrapper {
650
713
  flipable: boolean;
651
714
  }
652
715
 
716
+ export declare interface CatalogItem_2 extends AbstractModel_2 {
717
+ new (id: string): CatalogItem_2;
718
+ size: Vector3;
719
+ layer: number;
720
+ type: string;
721
+ detailType: string;
722
+ configuration: string;
723
+ orderable: boolean;
724
+ scaleable: boolean;
725
+ flipable: boolean;
726
+ }
727
+
653
728
  export declare class CatalogItemPtrList extends EmsList<CatalogItem> {
654
729
  }
655
730
 
731
+ export declare type CatalogItemPtrList_2 = EmscriptenList_2<CatalogItem_2>;
732
+
656
733
  export declare class CeilingLight extends PointLight {
657
734
  private _container;
658
735
  private _shouldCastShadow;
@@ -980,6 +1057,43 @@ export declare abstract class CommonKernelAccess implements LifeCycleCallbacks,
980
1057
  requestPartListAndUpdatePricesOfParts(uniqueId?: ConfigurationHash, _prices?: Map<ArticleNumber, RapiPrice>): Promise<void>;
981
1058
  }
982
1059
 
1060
+ export declare interface CommunicationInterfaceCallback {
1061
+ onCommand(command: WORKER_MESSAGE, conversationId: number, data: any): void;
1062
+ }
1063
+
1064
+ export declare interface Component {
1065
+ addOnSpots: AddOnSpot_2[];
1066
+ animations: Animation_2[];
1067
+ boxForMeasurement: Box;
1068
+ childAnimationTransformations: ComponentAnimationTransformation_2[];
1069
+ childIds: number[];
1070
+ componentId: string;
1071
+ dimensioningAxes: DimensioningAxis_2[];
1072
+ dimensionings: Dimensioning_2[];
1073
+ draggingIsLocked: boolean;
1074
+ externalComponent: boolean;
1075
+ geometryBounds: AssembledObjectBounds;
1076
+ globalTransform: Matrix4;
1077
+ hash: string;
1078
+ id: number;
1079
+ label: string;
1080
+ labelIsCalculated: boolean;
1081
+ objectId: number;
1082
+ parameterGroups: ParameterGroup[];
1083
+ parameters: Parameter[];
1084
+ parentId: number;
1085
+ permissionToDelete: PermissionToDelete;
1086
+ permissionToDeleteInIsolation: PermissionToDelete;
1087
+ position: Vector3;
1088
+ possibleChildren: PossibleChild[];
1089
+ rootId: number;
1090
+ rootModuleIds: number[];
1091
+ rootSiblingIds: number[];
1092
+ rotation: Vector3;
1093
+ type: PlanComponentType;
1094
+ valid: boolean;
1095
+ }
1096
+
983
1097
  export declare type ComponentAction = 'edit' | 'add';
984
1098
 
985
1099
  export declare interface ComponentAnimationTransformation {
@@ -987,12 +1101,22 @@ export declare interface ComponentAnimationTransformation {
987
1101
  componentRuntimeId: number;
988
1102
  }
989
1103
 
1104
+ export declare interface ComponentAnimationTransformation_2 {
1105
+ animations: AnimationTransformation_2[];
1106
+ componentRuntimeId: number;
1107
+ }
1108
+
990
1109
  export declare class ComponentArray extends EmsArray<KernelComponent> {
991
1110
  }
992
1111
 
993
1112
  export declare class ComponentArray_2 extends EmsArray<KernelComponent> {
994
1113
  }
995
1114
 
1115
+ export declare interface ComponentBounds {
1116
+ boxForMeasurement: Box;
1117
+ geometryBounds: AssembledObjectBounds;
1118
+ }
1119
+
996
1120
  export declare type ComponentType = 'preview' | 'component';
997
1121
 
998
1122
  export declare type ConfigForPlugin<P extends PluginName> = PluginConfigMap[P];
@@ -1025,6 +1149,18 @@ export declare interface ConfigurationLoadedResponse {
1025
1149
  rootComponentLabel: string;
1026
1150
  }
1027
1151
 
1152
+ export declare interface ConfigurationPlanView {
1153
+ dimensioningColor?: string;
1154
+ dimensioningLineWidth?: number;
1155
+ label: string;
1156
+ lineColor?: string;
1157
+ lineOfSight: Vector3;
1158
+ lineWidth?: number;
1159
+ viewType: PlanViewType_2;
1160
+ }
1161
+
1162
+ export declare type ConfigurationPlanViewArray = EmscriptenArray<ConfigurationPlanView>;
1163
+
1028
1164
  export declare type ConfigurationString = string;
1029
1165
 
1030
1166
  export declare interface ConfigurationUniqueIdAndHash {
@@ -1092,7 +1228,7 @@ export declare interface ConfiguratorInitData {
1092
1228
  * @description Sets the behavior of the highlighting of a hovered component.
1093
1229
  * usage: highlighting=smart
1094
1230
  */
1095
- highlighting?: Enumify_3<typeof ROOMLE_HIGHLIGHTNG>;
1231
+ highlighting?: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
1096
1232
  /**
1097
1233
  * @description Set the floor material which is used when loading the configurator
1098
1234
  * For different options see {@link @roomle/web-sdk/configurator-core/src/environment/dynamic-environment-setting-loader#EnvironmentSetting}
@@ -1212,6 +1348,8 @@ export declare interface ConfiguratorInitData {
1212
1348
  meshRaycasting?: boolean;
1213
1349
  }
1214
1350
 
1351
+ export declare type ConfiguratorKernel = Kernel;
1352
+
1215
1353
  export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
1216
1354
  private _memoryManager;
1217
1355
  private _configuratorKernelAccessCallback;
@@ -1540,7 +1678,7 @@ export declare class ConfiguratorSceneEventHandler extends SceneEventHandler<Sce
1540
1678
  private _dragEnd;
1541
1679
  protected _interaction(forceRender?: boolean): void;
1542
1680
  hasSelection(): boolean;
1543
- update(bounds: Vector3 | null, rootComponentPosition: Vector3 | null, backgroundScene: Scene | null): void;
1681
+ update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
1544
1682
  isDragIn(): boolean;
1545
1683
  isDragging(): boolean;
1546
1684
  setRootComponentId(rootComponentId: number): void;
@@ -1576,7 +1714,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1576
1714
  private _isComponentDimensionsVisible;
1577
1715
  private _dimensionUpdateDebounced;
1578
1716
  private _sceneSetupReady;
1579
- constructor(creator: string, offset: CanvasOffset, mode: Enumify_3<typeof CAMERA_TYPE>);
1717
+ constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
1580
1718
  /**
1581
1719
  * Single point for deciding whether to push HTML label positions to the UI.
1582
1720
  * the scene manager must push screen positions after any change.
@@ -1649,7 +1787,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1649
1787
  private _cancelSelection;
1650
1788
  private _selectComponent;
1651
1789
  private _deselectComponent;
1652
- getScreenXY(position: Vector3): Vector3;
1790
+ getScreenXY(position: Vector3_2): Vector3_2;
1653
1791
  setSelectionMode(mode: SELECTION_MODE): void;
1654
1792
  changeFloorMaterial(material: RapiMaterial): Promise<void>;
1655
1793
  zoomIn(value?: number): void;
@@ -1693,7 +1831,7 @@ export declare class ConfiguratorSceneManager extends SceneManager implements Co
1693
1831
  private _shouldHighlightComponent;
1694
1832
  saveConfigToIdb(): void;
1695
1833
  protected _getInputManager(): InputManager;
1696
- protected createCameraControl(_mode: Enumify_3<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
1834
+ protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
1697
1835
  getBounds(): Box3 | null;
1698
1836
  getGeometryBounds(): Box3 | null;
1699
1837
  sceneChanged(): void;
@@ -2130,7 +2268,7 @@ export declare interface ConfiguratorViewModelCallbackI {
2130
2268
  addPreviewHandlers(previewComponent: PreviewComponent): void;
2131
2269
  }
2132
2270
 
2133
- export declare type ConstructionMeasurement = MeasurementBase<Vector3, Vector3>;
2271
+ export declare type ConstructionMeasurement = MeasurementBase<Vector3_2, Vector3_2>;
2134
2272
 
2135
2273
  export declare interface ConstructionMeasurements {
2136
2274
  leftMeasurement: ConstructionMeasurement;
@@ -2150,9 +2288,32 @@ export declare abstract class ConstructionObject extends PlanObjectPtr {
2150
2288
  getAttachedWall(): Wall;
2151
2289
  }
2152
2290
 
2291
+ export declare interface ConstructionObject_2 extends PlanObject_2 {
2292
+ new (): ConstructionObject_2;
2293
+ getAttachedWall(): Wall_2;
2294
+ getPreferredSide(): WallSide_2;
2295
+ getCornerFromLeft(): Vector3;
2296
+ getCornerFromRight(): Vector3;
2297
+ getCornerToLeft(): Vector3;
2298
+ getCornerToRight(): Vector3;
2299
+ getDoorArches(): ConstructionObjectDoorArchArray;
2300
+ }
2301
+
2302
+ export declare interface ConstructionObjectDoorArch {
2303
+ getStartPoint(): Vector3;
2304
+ getEndPoint(): Vector3;
2305
+ getStartPointRelativeToObject(): Vector3;
2306
+ getEndPointRelativeToObject(): Vector3;
2307
+ getOpeningDirection(): OpeningDirection;
2308
+ }
2309
+
2310
+ export declare type ConstructionObjectDoorArchArray = EmscriptenArray<ConstructionObjectDoorArch>;
2311
+
2153
2312
  export declare class ConstructionObjectSet extends EmsSet<ConstructionObject> {
2154
2313
  }
2155
2314
 
2315
+ export declare type ConstructionObjectSet_2 = EmscriptenSet<ConstructionObject_2>;
2316
+
2156
2317
  export declare interface ConstructionOverview {
2157
2318
  objects: KernelPlanObjectList;
2158
2319
  parts: PartList;
@@ -2176,9 +2337,9 @@ export declare class ConstructionPlanObjectViewModel extends StaticPlanObjectVie
2176
2337
  protected _generateBoundingBox(): RoomleEventedMesh;
2177
2338
  protected _updateBoundingBox(): void;
2178
2339
  getTopViewContainer(): ConstructionTopView;
2179
- getConstructionElementMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number): Nullable_2<ConstructionMeasurements>;
2340
+ getConstructionElementMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number): Nullable<ConstructionMeasurements>;
2180
2341
  update(): void;
2181
- protected _setPositionOfBoundingBox(size: Vector3, mesh: RoomleEventedMesh): void;
2342
+ protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
2182
2343
  }
2183
2344
 
2184
2345
  export declare class ConstructionTopView extends Object3D {
@@ -2208,13 +2369,27 @@ export declare interface Context {
2208
2369
  }
2209
2370
 
2210
2371
  export declare interface ContinuousDrawingManager {
2372
+ new (): ContinuousDrawingManager;
2373
+ getStartPoint(): Vector3;
2374
+ getDrawingAngle(): number;
2375
+ getCircleRotation(): number;
2376
+ shouldShowCircle(): boolean;
2377
+ isCorridorValid(): boolean;
2378
+ getCorridor(): Line;
2379
+ getDrawnPoints(): PointArray_2;
2380
+ getModelCircleRadius(): number;
2381
+ readonly CIRCLE_RADIUS: number;
2382
+ circleRadius: number;
2383
+ }
2384
+
2385
+ export declare interface ContinuousDrawingManager_2 {
2211
2386
  getStartPoint(): KernelVector3;
2212
2387
  getDrawingAngle(): number;
2213
2388
  getCircleRotation(): number;
2214
2389
  shouldShowCircle(): boolean;
2215
2390
  isCorridorValid(): boolean;
2216
2391
  getCorridor(): any;
2217
- getDrawnPoints(): PointArray_2;
2392
+ getDrawnPoints(): PointArray_3;
2218
2393
  CIRCLE_RADIUS: number;
2219
2394
  }
2220
2395
 
@@ -2228,6 +2403,22 @@ export declare const CORE_ASSET_TYPE: {
2228
2403
  readonly EXTERNAL_SVG_URL: 6;
2229
2404
  };
2230
2405
 
2406
+ export declare const CORE_ASSET_TYPE_2: {
2407
+ readonly ITEM: 0;
2408
+ readonly COMPONENT: 1;
2409
+ readonly EXTERNAL_MESH: 2;
2410
+ readonly MATERIAL_PROPERTIES: 3;
2411
+ readonly MATERIAL_GROUP: 4;
2412
+ readonly EXTERNAL_OBJ_URL: 5;
2413
+ readonly EXTERNAL_SVG_URL: 6;
2414
+ };
2415
+
2416
+ export declare const CORE_DIMENSION_TYPE: {
2417
+ readonly X: 0;
2418
+ readonly Y: 1;
2419
+ readonly Z: 2;
2420
+ };
2421
+
2231
2422
  export declare const CORE_DOCK_PAIR_TYPE: {
2232
2423
  readonly POINT: 0;
2233
2424
  readonly LINE: 1;
@@ -2239,17 +2430,40 @@ export declare const CORE_DRAWING_MODE: {
2239
2430
  readonly CONTOUR: 2;
2240
2431
  };
2241
2432
 
2433
+ export declare const CORE_DRAWING_MODE_2: {
2434
+ readonly WALL: 0;
2435
+ readonly ROOM_CONTOUR: 1;
2436
+ readonly CONTOUR: 2;
2437
+ readonly CONSTRUCTION_CONTOUR: 3;
2438
+ };
2439
+
2440
+ export declare const CORE_DRAWING_TYPE: {
2441
+ readonly CONTINOUS: 0;
2442
+ readonly CLICK_PER_CLICK: 1;
2443
+ };
2444
+
2242
2445
  export declare const CORE_EDGE_TYPE: {
2243
2446
  readonly WALL: 0;
2244
2447
  readonly EDGE: 1;
2245
2448
  readonly CONSTRUCTION: 2;
2246
2449
  };
2247
2450
 
2451
+ export declare const CORE_EDGE_TYPE_2: {
2452
+ readonly WALL: 0;
2453
+ readonly EDGE: 1;
2454
+ readonly CONSTRUCTION: 2;
2455
+ };
2456
+
2248
2457
  export declare const CORE_FLOOR_TYPE: {
2249
2458
  readonly DEFAULT: 0;
2250
2459
  readonly TERRAIN: 1;
2251
2460
  };
2252
2461
 
2462
+ export declare const CORE_FLOOR_TYPE_2: {
2463
+ readonly DEFAULT: 0;
2464
+ readonly TERRAIN: 1;
2465
+ };
2466
+
2253
2467
  export declare const CORE_HELP_LINE_TYPE: {
2254
2468
  readonly NONE: 0;
2255
2469
  readonly WALL_SNAP_LEVEL: 1;
@@ -2261,11 +2475,23 @@ export declare const CORE_HELP_LINE_TYPE: {
2261
2475
  readonly WALL_ALIGNMENT_SNAPPED: 7;
2262
2476
  };
2263
2477
 
2478
+ export declare const CORE_MATERIAL_SOURCE_TYPE: {
2479
+ readonly NONE: 0;
2480
+ readonly CATALOGITEM: 1;
2481
+ readonly MATERIAL: 2;
2482
+ readonly RGBVALUE: 3;
2483
+ };
2484
+
2264
2485
  export declare const CORE_NODE_TYPE: {
2265
2486
  readonly DEFAULT: 0;
2266
2487
  readonly CONSTRUCTION: 1;
2267
2488
  };
2268
2489
 
2490
+ export declare const CORE_NODE_TYPE_2: {
2491
+ readonly DEFAULT: 0;
2492
+ readonly CONSTRUCTION: 1;
2493
+ };
2494
+
2269
2495
  export declare const CORE_OBJECT_CATEGORY: {
2270
2496
  readonly OBJECT: 0;
2271
2497
  readonly DOOR: 1;
@@ -2275,12 +2501,44 @@ export declare const CORE_OBJECT_CATEGORY: {
2275
2501
  readonly EXTERNAL_CONSTRUCTION: 5;
2276
2502
  };
2277
2503
 
2504
+ export declare const CORE_OBJECT_TYPE_CATEGORY: {
2505
+ readonly OBJECT: 0;
2506
+ readonly DOOR: 1;
2507
+ readonly WINDOW: 2;
2508
+ readonly CONSTRUCTION: 3;
2509
+ readonly UNKNOWN: 4;
2510
+ readonly EXTERNAL_CONSTRUCTION: 5;
2511
+ };
2512
+
2513
+ export declare const CORE_OPENING_DIRECTION: {
2514
+ readonly LEFT_CLOCKWISE: 0;
2515
+ readonly LEFT_COUNTERCLOCKWISE: 1;
2516
+ readonly RIGHT_CLOCKWISE: 2;
2517
+ readonly RIGHT_COUNTERCLOCKWISE: 3;
2518
+ };
2519
+
2520
+ export declare const CORE_PARAMETER_TYPE_STRING: {
2521
+ readonly UNKNOWN: "";
2522
+ readonly INTEGER: "Integer";
2523
+ readonly DECIMAL: "Decimal";
2524
+ readonly STRING: "String";
2525
+ readonly BOOLTYPE: "Boolean";
2526
+ readonly MATERIAL: "Material";
2527
+ readonly COLOR: "Color";
2528
+ };
2529
+
2278
2530
  export declare const CORE_PERMISSION_TO_DELETE: {
2279
2531
  readonly NEVER: 0;
2280
2532
  readonly REDOCK_CHILDREN: 1;
2281
2533
  readonly ALWAYS: 2;
2282
2534
  };
2283
2535
 
2536
+ export declare const CORE_PERMISSION_TO_DELETE_2: {
2537
+ readonly NEVER: 0;
2538
+ readonly REDOCK_CHILDREN: 1;
2539
+ readonly ALWAYS: 2;
2540
+ };
2541
+
2284
2542
  export declare const CORE_PLAN_COMPONENT_TYPE: {
2285
2543
  readonly ROOT_COMPONENT: 0;
2286
2544
  readonly COMPONENT: 1;
@@ -2289,6 +2547,27 @@ export declare const CORE_PLAN_COMPONENT_TYPE: {
2289
2547
  readonly SUB_ARTICLE: 4;
2290
2548
  };
2291
2549
 
2550
+ export declare const CORE_PLAN_COMPONENT_TYPE_2: {
2551
+ readonly ROOT_COMPONENT: 0;
2552
+ readonly COMPONENT: 1;
2553
+ readonly ROOT_MODULE: 2;
2554
+ readonly SUB_MODULE: 3;
2555
+ readonly SUB_ARTICLE: 4;
2556
+ };
2557
+
2558
+ export declare const CORE_PLAN_ELEMENT_TYPE: {
2559
+ readonly NODE: 0;
2560
+ readonly WALL: 1;
2561
+ readonly OBJECT: 2;
2562
+ readonly FLOOR: 3;
2563
+ readonly CEILING: 4;
2564
+ readonly TEXT: 5;
2565
+ readonly MEASURE: 6;
2566
+ readonly IMAGE: 7;
2567
+ readonly GROUP: 8;
2568
+ readonly ATTIC: 9;
2569
+ };
2570
+
2292
2571
  export declare const CORE_PLAN_ROOM_GEOMETRY_MODE: {
2293
2572
  readonly FLOOR: 0;
2294
2573
  readonly ROOM: 1;
@@ -2300,6 +2579,30 @@ export declare const CORE_PLAN_VIEW_TYPE: {
2300
2579
  readonly ELEVATION: 1;
2301
2580
  };
2302
2581
 
2582
+ export declare const CORE_PLAN_VIEW_TYPE_2: {
2583
+ readonly FLOOR: 0;
2584
+ readonly ELEVATION: 1;
2585
+ };
2586
+
2587
+ export declare const CORE_RESIZING_ANCHOR: {
2588
+ readonly CENTER: 0;
2589
+ readonly BACKLEFT: 1;
2590
+ readonly BACKRIGHT: 2;
2591
+ readonly FRONTLEFT: 3;
2592
+ readonly FRONTRIGHT: 4;
2593
+ readonly BACK: 5;
2594
+ readonly FRONT: 6;
2595
+ readonly LEFT: 7;
2596
+ readonly RIGHT: 8;
2597
+ };
2598
+
2599
+ export declare const CORE_SNAP_MODE: {
2600
+ readonly OFF: 0;
2601
+ readonly ON_COLLISION: 1;
2602
+ readonly ON_COLLISION_ROTATE_WITHIN_DISTANCE: 2;
2603
+ readonly WITHIN_SNAP_DISTANCE: 3;
2604
+ };
2605
+
2303
2606
  export declare const CORE_SNAP_STATE: {
2304
2607
  readonly DEFAULT: 0;
2305
2608
  readonly DOCKING: 1;
@@ -2311,9 +2614,48 @@ export declare const CORE_TYPE_OF_CORE_ID: {
2311
2614
  readonly PLANNER: 1;
2312
2615
  };
2313
2616
 
2617
+ export declare const CORE_UNIT_TYPE_STRING: {
2618
+ readonly UNKNOWN_UNIT: "unknown";
2619
+ readonly LENGTH: "length";
2620
+ readonly AREA: "area";
2621
+ readonly ANGLE: "angle";
2622
+ readonly COUNT: "count";
2623
+ };
2624
+
2625
+ export declare const CORE_VIEW_TYPE: {
2626
+ readonly EMPTY: 0;
2627
+ readonly TOGGLE: 1;
2628
+ readonly IMAGELIST: 2;
2629
+ readonly IMAGEBIG: 3;
2630
+ readonly IMAGESMALL: 4;
2631
+ readonly INPUTFIELD: 5;
2632
+ readonly DROPDOWN: 6;
2633
+ readonly SLIDER: 7;
2634
+ readonly BUTTON: 8;
2635
+ };
2636
+
2637
+ export declare const CORE_WALL_EXTENSION_TYPE: {
2638
+ readonly EXTENDBEGIN: 0;
2639
+ readonly EXTENDEND: 1;
2640
+ readonly EXTENDBOTH: 2;
2641
+ };
2642
+
2643
+ export declare const CORE_WALL_SIDE: {
2644
+ readonly LEFT: 0;
2645
+ readonly RIGHT: 1;
2646
+ readonly MIDDLE: 2;
2647
+ };
2648
+
2649
+ export declare const CORE_WALL_TYPE: {
2650
+ readonly STANDALONEWALL: 0;
2651
+ readonly OUTERWALLLEFT: 1;
2652
+ readonly OUTERWALLRIGHT: 2;
2653
+ readonly INNERWALL: 3;
2654
+ };
2655
+
2314
2656
  export declare const createExtObj: (data: Record<string, unknown>) => Record<string, unknown>;
2315
2657
 
2316
- export { createExtObjId }
2658
+ export declare const createExtObjId: (id: string) => ExtObjId;
2317
2659
 
2318
2660
  export declare interface CSS2DOverlayRenderer {
2319
2661
  renderSnapshot(camera: Camera, width: number, height: number): Promise<HTMLElement | null> | HTMLElement | null;
@@ -2395,16 +2737,39 @@ export declare class DataSyncer implements Context, CommunicationInterfaceCallba
2395
2737
  preFillAssetCache(key: string, url: string): void;
2396
2738
  }
2397
2739
 
2740
+ export declare interface Debug {
2741
+ raycaster?: boolean;
2742
+ camera?: boolean;
2743
+ boundingBox?: boolean;
2744
+ PlannerKernelContainer?: any;
2745
+ ConfiguratorKernel?: any;
2746
+ Kernel?: any;
2747
+ KernelContainer?: any;
2748
+ Helper?: any;
2749
+ SceneManager?: unknown;
2750
+ interactionTimingMs?: number;
2751
+ }
2752
+
2398
2753
  export declare interface DebugClient {
2399
2754
  debugValueMapChange(changes: DebugValueMapChange): void;
2400
2755
  }
2401
2756
 
2757
+ export declare interface DebugClient_2 {
2758
+ debugValueMapChange(changes: DebugValueMapChange_2): void;
2759
+ }
2760
+
2402
2761
  export declare interface DebugValueMapChange {
2403
2762
  sourceId: number;
2404
2763
  sourceInfo: string;
2405
2764
  valueMaps: Record<string, DebugValueMapDump>;
2406
2765
  }
2407
2766
 
2767
+ export declare interface DebugValueMapChange_2 {
2768
+ sourceId: number;
2769
+ sourceInfo: string;
2770
+ valueMaps: Record<string, DebugValueMapDump_2>;
2771
+ }
2772
+
2408
2773
  export declare interface DebugValueMapDump {
2409
2774
  type: string;
2410
2775
  componentId: string;
@@ -2414,6 +2779,15 @@ export declare interface DebugValueMapDump {
2414
2779
  values: Record<string, string>;
2415
2780
  }
2416
2781
 
2782
+ export declare interface DebugValueMapDump_2 {
2783
+ type: string;
2784
+ componentId: string;
2785
+ internalId: string;
2786
+ id: number;
2787
+ parentId: number;
2788
+ values: Record<string, string>;
2789
+ }
2790
+
2417
2791
  export declare const DEFAULT_ENVIRONMENT_SCENE_TYPES: {
2418
2792
  readonly ALL_AROUND: "all_around";
2419
2793
  readonly FRONT: "front";
@@ -2426,9 +2800,9 @@ export declare const DEFAULT_RENDER_OPTIONS: {
2426
2800
  useCurrentPerspective: boolean;
2427
2801
  };
2428
2802
 
2429
- export declare type DefaultEnvironmentSceneType = Enumify_2<typeof DEFAULT_ENVIRONMENT_SCENE_TYPES> | null;
2803
+ export declare type DefaultEnvironmentSceneType = Enumify<typeof DEFAULT_ENVIRONMENT_SCENE_TYPES> | null;
2430
2804
 
2431
- export declare interface DimensionDefinition<Vector2Type = Vector3 | Position2, Vector3Type = Vector3 | Position3> extends MeasurementBase<Vector2Type, Vector3Type> {
2805
+ export declare interface DimensionDefinition<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> extends MeasurementBase<Vector2Type, Vector3Type> {
2432
2806
  id: number;
2433
2807
  lengthFormatted: string;
2434
2808
  fromWithoutPadding?: Vector2Type;
@@ -2448,6 +2822,20 @@ export declare interface Dimensioning {
2448
2822
  interactionKey?: string;
2449
2823
  }
2450
2824
 
2825
+ export declare interface Dimensioning_2 {
2826
+ axis: string;
2827
+ from: number;
2828
+ interactionKey: string;
2829
+ label: string;
2830
+ level: number;
2831
+ maxLevel: number;
2832
+ to: number;
2833
+ type: {
2834
+ value: DimensionType;
2835
+ };
2836
+ visible: boolean;
2837
+ }
2838
+
2451
2839
  export declare interface DimensioningAxis {
2452
2840
  direction: KernelVector3;
2453
2841
  key: string;
@@ -2456,6 +2844,14 @@ export declare interface DimensioningAxis {
2456
2844
  alternativeOrigin?: KernelVector3;
2457
2845
  }
2458
2846
 
2847
+ export declare interface DimensioningAxis_2 {
2848
+ alternativeOrigin?: Vector3;
2849
+ direction: Vector3;
2850
+ key: string;
2851
+ labelDirection: Vector3;
2852
+ origin: Vector3;
2853
+ }
2854
+
2459
2855
  export declare class DimensioningHelper {
2460
2856
  _creator_: string;
2461
2857
  private _unitFormatter;
@@ -2503,7 +2899,7 @@ export declare class DimensioningHelper {
2503
2899
  enableTopDimensions(): void;
2504
2900
  disableTopDimensions(): void;
2505
2901
  getBoundingBox(): Box3;
2506
- setCameraPosition(position: Vector3): void;
2902
+ setCameraPosition(position: Vector3_2): void;
2507
2903
  private _performUpdate;
2508
2904
  private _clear;
2509
2905
  }
@@ -2534,6 +2930,10 @@ export declare interface DimensionLabelsTransferable {
2534
2930
  componentId: number;
2535
2931
  }
2536
2932
 
2933
+ export declare interface DimensionType {
2934
+ value: Enumify_3<typeof CORE_DIMENSION_TYPE>;
2935
+ }
2936
+
2537
2937
  export declare interface DockingLineSegment {
2538
2938
  from: number;
2539
2939
  to: number;
@@ -2576,7 +2976,7 @@ export declare class DraggableNode extends Object3D {
2576
2976
  private _outerRingRadius;
2577
2977
  constructor(name: string, sphereSize?: number);
2578
2978
  private _initNodeMesh;
2579
- getSize(): Vector3;
2979
+ getSize(): Vector3_2;
2580
2980
  hoverOn(): void;
2581
2981
  hoverOff(): void;
2582
2982
  setSphereColor(color: number): void;
@@ -2612,11 +3012,19 @@ export declare interface DrawingMode {
2612
3012
  value: Enumify<typeof CORE_DRAWING_MODE>;
2613
3013
  }
2614
3014
 
3015
+ export declare interface DrawingMode_2 {
3016
+ value: Enumify_2<typeof CORE_DRAWING_MODE_2>;
3017
+ }
3018
+
2615
3019
  export declare const enum DrawingType {
2616
3020
  CONTINOUS = 0,
2617
3021
  CLICK_PER_CLICK = 1
2618
3022
  }
2619
3023
 
3024
+ export declare interface DrawingType_2 {
3025
+ value: Enumify_2<typeof CORE_DRAWING_TYPE>;
3026
+ }
3027
+
2620
3028
  /**
2621
3029
  * Description of fields:
2622
3030
  - type: 'ambient'/'rectarea'/'spot'/'directional'
@@ -2637,8 +3045,8 @@ export declare interface DynamicLight {
2637
3045
  name?: string;
2638
3046
  intensity?: number;
2639
3047
  color?: string;
2640
- position?: Vector3;
2641
- target?: Vector3;
3048
+ position?: Vector3_2;
3049
+ target?: Vector3_2;
2642
3050
  castShadow?: boolean;
2643
3051
  angle?: number;
2644
3052
  penumbra?: number;
@@ -2660,6 +3068,10 @@ export declare interface EdgeDeflection {
2660
3068
  }
2661
3069
 
2662
3070
  export declare interface EdgeType {
3071
+ value: Enumify_2<typeof CORE_EDGE_TYPE_2>;
3072
+ }
3073
+
3074
+ export declare interface EdgeType_2 {
2663
3075
  value: Enumify<typeof CORE_EDGE_TYPE>;
2664
3076
  }
2665
3077
 
@@ -2707,11 +3119,38 @@ export declare class EMSConstant {
2707
3119
  value: number;
2708
3120
  }
2709
3121
 
3122
+ export declare interface EmscriptenArray<T> {
3123
+ new (): EmscriptenArray<T>;
3124
+ get(index: number): T;
3125
+ push_back(element: T): void;
3126
+ resize(from: number, to: number): void;
3127
+ set(index: number, element: T): T;
3128
+ size(): number;
3129
+ clone(index: number): EmscriptenArray<T>;
3130
+ delete(index: number): void;
3131
+ deleteLater(index: number): void;
3132
+ isAliasOf(index: number): boolean;
3133
+ isDeleted(index: number): boolean;
3134
+ }
3135
+
2710
3136
  export declare interface EmscriptenList {
2711
3137
  size: () => number;
2712
3138
  length: number;
2713
3139
  }
2714
3140
 
3141
+ export declare class EmscriptenList_2<T> {
3142
+ new(): EmscriptenList_2<T>;
3143
+ push_back(element: T): void;
3144
+ size(): number;
3145
+ get(index: number): T;
3146
+ }
3147
+
3148
+ export declare interface EmscriptenSet<T> {
3149
+ new (): EmscriptenSet<T>;
3150
+ insert: (element: T) => void;
3151
+ size: () => number;
3152
+ }
3153
+
2715
3154
  export declare type EmscriptenString = any;
2716
3155
 
2717
3156
  export declare class EmsList<T> {
@@ -2740,9 +3179,15 @@ export declare class EmsSet<T> {
2740
3179
  size(): number;
2741
3180
  }
2742
3181
 
3182
+ export declare type Enumify<T> = T[keyof T];
3183
+
3184
+ export declare type Enumify_2<T> = T[keyof T];
3185
+
3186
+ export declare type Enumify_3<T> = T[keyof T];
3187
+
2743
3188
  export declare abstract class Environment {
2744
3189
  protected _scene: Scene | null;
2745
- protected _bounds: Vector3;
3190
+ protected _bounds: Vector3_2;
2746
3191
  constructor(scene: Scene, oldEnvironment?: Environment);
2747
3192
  abstract needsBounds(): boolean;
2748
3193
  abstract needsCamera(): boolean;
@@ -2751,7 +3196,7 @@ export declare abstract class Environment {
2751
3196
  abstract removeFromScene(): void;
2752
3197
  abstract showGUI(sceneParameters: GenericGUIParamFolder): void;
2753
3198
  reload(): void;
2754
- updateBounds(bounds: Vector3, _force?: boolean): void;
3199
+ updateBounds(bounds: Vector3_2, _force?: boolean): void;
2755
3200
  cleanUp(): void;
2756
3201
  }
2757
3202
 
@@ -2879,6 +3324,8 @@ export declare const enum ExportType {
2879
3324
  HOMAGiX = 2
2880
3325
  }
2881
3326
 
3327
+ export declare const EXTERNAL_ID_PREFIX = "__ext__obj__#";
3328
+
2882
3329
  export declare interface ExternalAttributeInformation {
2883
3330
  groupId: string;
2884
3331
  moduleIds: ExternalModuleInformation[];
@@ -2886,6 +3333,13 @@ export declare interface ExternalAttributeInformation {
2886
3333
  value: string;
2887
3334
  }
2888
3335
 
3336
+ export declare interface ExternalAttributeInformation_2 {
3337
+ attributeId: string;
3338
+ groupId: string;
3339
+ moduleIds: ExternalModuleInformationArray;
3340
+ value: string;
3341
+ }
3342
+
2889
3343
  export declare type ExternalConfiguration = Partial<RapiConfigurationEnhanced> & Pick<RapiConfigurationEnhanced, keyof Element_2 | 'configurationHash'> & ExternalElement;
2890
3344
 
2891
3345
  export declare interface ExternalDataResponse<T> {
@@ -2903,6 +3357,12 @@ export declare interface ExternalEmbeddable<T = any> {
2903
3357
  callbacks: T;
2904
3358
  }
2905
3359
 
3360
+ export declare interface ExternalEnv {
3361
+ assetPath?: string;
3362
+ initData?: InitDataDefinition;
3363
+ locale?: string;
3364
+ }
3365
+
2906
3366
  export declare type ExternalGroupData = object | object[] | string | string[];
2907
3367
 
2908
3368
  export declare type ExternalItem = Partial<RapiItem> & Pick<RapiItem, keyof Element_2> & ExternalElement;
@@ -2918,11 +3378,19 @@ export declare interface ExternalModuleInformation {
2918
3378
  }
2919
3379
 
2920
3380
  export declare interface ExternalModuleInformation_2 {
3381
+ groupId: string;
3382
+ rootModuleId: string;
3383
+ subModuleId: string;
3384
+ }
3385
+
3386
+ export declare interface ExternalModuleInformation_3 {
2921
3387
  groupId: string;
2922
3388
  rootModuleId: string;
2923
3389
  subModuleId: string | null;
2924
3390
  }
2925
3391
 
3392
+ export declare type ExternalModuleInformationArray = EmscriptenArray<ExternalModuleInformation_2>;
3393
+
2926
3394
  export declare type ExternalObject = ExternalItem | ExternalConfiguration;
2927
3395
 
2928
3396
  export declare interface ExternalObjectAPI {
@@ -3185,6 +3653,17 @@ export declare interface ExternalObjectGroupLayoutSide {
3185
3653
  }
3186
3654
 
3187
3655
  export declare interface ExternalObjectLoadConfiguration {
3656
+ applyGlobalChildMode: boolean;
3657
+ applyGroupPosition: boolean;
3658
+ calculationUpdate: boolean;
3659
+ findFreeSpaceInPlan: boolean;
3660
+ isVisible: boolean;
3661
+ lockCallbacks: boolean;
3662
+ respondWithPositionInPlan: boolean;
3663
+ tryToMergeNewGroups: boolean;
3664
+ }
3665
+
3666
+ export declare interface ExternalObjectLoadConfiguration_2 {
3188
3667
  applyGlobalChildMode: boolean;
3189
3668
  applyGroupPosition: boolean;
3190
3669
  findFreeSpaceInPlan: boolean;
@@ -3308,6 +3787,10 @@ export declare class ExternalReference {
3308
3787
  clearSelfRef(): void;
3309
3788
  }
3310
3789
 
3790
+ export declare interface ExternalReference_2 {
3791
+ new (): ExternalReference_2;
3792
+ }
3793
+
3311
3794
  export declare type ExternalResponseValidator = (type: 'rapi-access', response: Response) => Promise<boolean>;
3312
3795
 
3313
3796
  export declare interface ExternalRoomInformation {
@@ -3324,7 +3807,22 @@ export declare interface ExternalValidContainerModule {
3324
3807
  rootId: string;
3325
3808
  }
3326
3809
 
3327
- export { ExtObjId }
3810
+ export declare interface ExternalValidContainerModule_2 {
3811
+ containerModuleId: string;
3812
+ parentModuleId: string;
3813
+ rootId: string;
3814
+ }
3815
+
3816
+ export declare type ExtObjId = `${typeof EXTERNAL_ID_PREFIX}${string}`;
3817
+
3818
+ export declare interface ExtrudedRectangle {
3819
+ angle: number;
3820
+ bottomCenter: Vector3;
3821
+ readonly cornerPoints: PointArray_2;
3822
+ readonly eulerRotation: Vector3;
3823
+ readonly referencePoints: RectangleReferencePoints;
3824
+ size: Vector3;
3825
+ }
3328
3826
 
3329
3827
  export declare interface FeatureFlags {
3330
3828
  pulsePreview?: boolean;
@@ -3350,7 +3848,7 @@ export declare class FeatureFlagsImplementation implements FeatureFlags {
3350
3848
  reDock: boolean;
3351
3849
  advancedDocking: boolean;
3352
3850
  mergeOnInsert: boolean;
3353
- drawPreviewMode: Enumify_3<typeof DRAW_PREVIEW_MODES>;
3851
+ drawPreviewMode: Enumify<typeof DRAW_PREVIEW_MODES>;
3354
3852
  interiorLights: boolean;
3355
3853
  advancedDimensioning: boolean;
3356
3854
  enableSnapping: boolean;
@@ -3389,9 +3887,24 @@ export declare abstract class Floor extends PlanElement {
3389
3887
  getRandomPointInside(): KernelVector3f;
3390
3888
  }
3391
3889
 
3392
- export declare interface FloorAreaData<Vector2Type = Vector3, Vector3Type = Vector3> {
3890
+ export declare interface Floor_2 extends PlanElement_2 {
3891
+ new (): Floor_2;
3892
+ getCorners(): PointArray_2;
3893
+ getTriangulationIndices(): SizeTArray_2;
3894
+ getNumberOfTriangles(): number;
3895
+ getRandomPointInside(): Vector3;
3896
+ getLabelPosition(): Vector3;
3897
+ getWallsOfRoom(): RoomWall[];
3898
+ getLabelObject(): string;
3899
+ readonly area: number;
3900
+ readonly material: FloorMaterial_2;
3901
+ readonly parapetHeight: number;
3902
+ readonly floorType: FloorType;
3903
+ }
3904
+
3905
+ export declare interface FloorAreaData<Vector2Type = Vector3_2, Vector3Type = Vector3_2> {
3393
3906
  area: number;
3394
- formattedArea: Nullable_2<string>;
3907
+ formattedArea: Nullable<string>;
3395
3908
  textPosition3d: Vector3Type;
3396
3909
  textPosition2d: Vector2Type;
3397
3910
  isTextVisible: boolean;
@@ -3411,6 +3924,12 @@ export declare class FloorMaterial extends BaseMaterial {
3411
3924
  rotation(): KernelVector3f;
3412
3925
  }
3413
3926
 
3927
+ export declare interface FloorMaterial_2 extends BaseMaterial_2 {
3928
+ new (): FloorMaterial_2;
3929
+ readonly uvScale: Vector3;
3930
+ readonly rotation: number;
3931
+ }
3932
+
3414
3933
  export declare interface FloorPlanEdge {
3415
3934
  id: number;
3416
3935
  start: KernelVector3f;
@@ -3431,7 +3950,11 @@ export declare class FloorPlanElementViewModel extends PlanElementViewModel {
3431
3950
  }
3432
3951
 
3433
3952
  export declare interface FloorType {
3434
- value: Enumify<typeof CORE_FLOOR_TYPE>;
3953
+ value: Enumify_2<typeof CORE_FLOOR_TYPE>;
3954
+ }
3955
+
3956
+ export declare interface FloorType_2 {
3957
+ value: Enumify<typeof CORE_FLOOR_TYPE_2>;
3435
3958
  }
3436
3959
 
3437
3960
  /**
@@ -3503,13 +4026,13 @@ export declare class GLBViewerSceneManager extends SceneManager implements GLBRe
3503
4026
  private _standardSceneBackgroundColor;
3504
4027
  private _itemsCount;
3505
4028
  constructor(creator: string, offset: CanvasOffset);
3506
- protected createCameraControl(_mode: Enumify_3<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
4029
+ protected createCameraControl(_mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
3507
4030
  protected _getInputManager(): InputManager;
3508
4031
  loadStaticItem(id: string, callback?: (percent: number) => void): Promise<void>;
3509
- loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3, callback?: (percent: number) => void): Promise<void>;
4032
+ loadGLB(url: string, automaticallyAdjustCamera?: boolean, scaling?: Vector3_2, callback?: (percent: number) => void): Promise<void>;
3510
4033
  preparePerspectiveImage(options?: PrepareImageOptions, providedRenderer?: WebGLRenderer): Promise<Base64Image>;
3511
4034
  private _prepareWebGpuPerspectiveImage;
3512
- adjustCamera(position: Vector3, yaw: number, pitch: number, fov: number): void;
4035
+ adjustCamera(position: Vector3_2, yaw: number, pitch: number, fov: number): void;
3513
4036
  onStart(count: number): void;
3514
4037
  onElementFinished(itemsFinished: number): void;
3515
4038
  onFinished(_zip: any): void;
@@ -3555,7 +4078,7 @@ export declare interface GlobalAPI {
3555
4078
  getUnitFormatter(): UnitFormatter;
3556
4079
  getStorage(): IdbManager;
3557
4080
  setEnvironmentMap(params: EnvMapParams): void;
3558
- get globalCallbacks(): GlobalCallback;
4081
+ /* Excluded from this release type: globalCallbacks */
3559
4082
  }
3560
4083
 
3561
4084
  export declare class GlobalCallback extends UiCallback {
@@ -3582,7 +4105,7 @@ export declare class GlobalCallback extends UiCallback {
3582
4105
  * @param _json the JSON response
3583
4106
  * @returns void
3584
4107
  */
3585
- onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<Nullable_2<RapiJsonBox> | undefined>;
4108
+ onApiJsonReceived: (_url: string, _rapiPath: RAPI_PATHS, _json: any) => Promise<Nullable<RapiJsonBox> | undefined>;
3586
4109
  /**
3587
4110
  * is called the scene is ready for rendering it as an image
3588
4111
  */
@@ -3657,7 +4180,7 @@ export declare interface GlueLogic {
3657
4180
  duplicateGroup(duplicatedGroup: ExternalObjectGroup): Promise<void>;
3658
4181
  adjustGroup(groupId: string): Promise<void>;
3659
4182
  swapRootModule(groupId: string, rootModuleId: string, articleId: string): Promise<void>;
3660
- modifyAttribute(groupId: string, moduleIdObjects: ExternalModuleInformation_2[], attributeName: string, value: string): Promise<void>;
4183
+ modifyAttribute(groupId: string, moduleIdObjects: ExternalModuleInformation_3[], attributeName: string, value: string): Promise<void>;
3661
4184
  updateAttribute(rootModuleId: string, moduleId: string | null, attributeId: string, attributeValue: string | boolean): Promise<void>;
3662
4185
  getVerifiedAttributeOptions(moduleId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
3663
4186
  getVerifiedGroupAttributeOptions(groupId: string, attributeIds?: string | string[]): Promise<Record<string, CheckDropDownResult> | undefined>;
@@ -3693,22 +4216,22 @@ export declare interface HandWrittenPlanInteractionHandler {
3693
4216
  delete(): void;
3694
4217
  init(reference: HandWrittenPlanInteractionHandler, zoomFactor: number, viewSnapDist: number, wallSnapMode: any, objectSnapMode: any, shouldSnap: boolean, drawingType: any): void;
3695
4218
  getConfiguratorKernel(): ConfiguratorKernelClass;
3696
- loadPlanXML(xml: string): Plan_2;
3697
- createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_2;
3698
- getPlan(): Plan_2;
4219
+ loadPlanXML(xml: string): Plan_3;
4220
+ createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
4221
+ getPlan(): Plan_3;
3699
4222
  moveElementTo(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean, cameraPosition?: KernelVector3): void;
3700
4223
  moveElementToIn2d(planObject: KernelObject, targetPosition: KernelVector3, dragging: boolean): void;
3701
4224
  moveElementBy(planObject: KernelObject, distance: KernelVector3, dragging: boolean): void;
3702
4225
  duplicatePlanObject(object: PlanObject, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
3703
4226
  duplicatePlanObjects(objects: PlanObjectList, count: number, findFreeSpaceInPlan: boolean): PlanObject[];
3704
- setElementVisibility(element: PlanElement_2, isVisible: boolean): void;
4227
+ setElementVisibility(element: PlanElement_3, isVisible: boolean): void;
3705
4228
  moveObjectsBy(planObjects: KernelObjectPtrList, distance: KernelVector3): void;
3706
4229
  rotateObjectTo(planObject: KernelObject, angleInRad: number): void;
3707
4230
  setObjectRotation(planObject: KernelObject, angleInRad: number): void;
3708
4231
  addPlanObjects(list: KernelObjectPtrList, findFreeSpaceInPlan: boolean): PlanObject[];
3709
4232
  addPlanObjectFromItem(object: KernelObject, position: KernelVector3, type: number, findFreeSpaceInPlan: boolean): PlanObject;
3710
- addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject[];
3711
- createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
4233
+ addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration_2, mergedGroupIds: string | string[]): PlanObject[];
4234
+ createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule_2[]): void;
3712
4235
  catalogItemLoaded(catalogItem: KernelCatalogItem): void;
3713
4236
  removeElement(planObject: KernelObject): void;
3714
4237
  removeObjectWithId(objectId: string): void;
@@ -3777,14 +4300,14 @@ export declare interface HandWrittenPlanInteractionHandler {
3777
4300
  setDefaultInteriorWallMaterial(wallMaterial: KernelWallMaterial): void;
3778
4301
  getDefaultFloorMaterial(): KernelFloorMaterial;
3779
4302
  setDefaultFloorMaterial(floorMaterial: KernelFloorMaterial): void;
3780
- setElementCustomDataJson(element: PlanElement_2, customDataJson: string): void;
4303
+ setElementCustomDataJson(element: PlanElement_3, customDataJson: string): void;
3781
4304
  setWallLeftMaterial(wall: KernelWall, material: KernelWallMaterial): void;
3782
4305
  setWallRightMaterial(wall: KernelWall, material: KernelWallMaterial): void;
3783
4306
  setFloorMaterial(floor: KernelFloor, material: KernelFloorMaterial): void;
3784
4307
  setFloorLabelObject(floor: KernelFloor, serializedLabelObject: string): void;
3785
- setFloorType(floor: KernelFloor, floorType: FloorType): void;
3786
- setEdgeType(wall: KernelWall, edgeType: EdgeType): void;
3787
- getContinuousDrawingManager(): ContinuousDrawingManager;
4308
+ setFloorType(floor: KernelFloor, floorType: FloorType_2): void;
4309
+ setEdgeType(wall: KernelWall, edgeType: EdgeType_2): void;
4310
+ getContinuousDrawingManager(): ContinuousDrawingManager_2;
3788
4311
  setSnapFeedbackWhileDrawing(enabled: boolean): void;
3789
4312
  consistsOfMergedComponents(object: KernelObject): boolean;
3790
4313
  setObjectSize(anObject: KernelObject, aNewSize: KernelVector3, anAnchor: Anchor): void;
@@ -3793,9 +4316,9 @@ export declare interface HandWrittenPlanInteractionHandler {
3793
4316
  setObjectCustomColor(object: PlanObject, rgbColor: number, useCustomColor: boolean): void;
3794
4317
  setObjectCustomLabel(object: PlanObject, label: string): void;
3795
4318
  setObjectFixedZ(anObject: KernelObject, shouldFlipZ: boolean): void;
3796
- setMeasurePoint1(measure: PlanMeasure_2, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
3797
- setMeasurePoint2(measure: PlanMeasure_2, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
3798
- addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f): PlanMeasure_2;
4319
+ setMeasurePoint1(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
4320
+ setMeasurePoint2(measure: PlanMeasure_3, point: KernelVector3f, snapToWalls: boolean, snapToObjects: boolean): void;
4321
+ addMeasure(startPosition: KernelVector3f, endPosition: KernelVector3f): PlanMeasure_3;
3799
4322
  setDiscardExternalObjectsOnLoad(discard: boolean): void;
3800
4323
  isChildObjectModePossible(object: KernelObject): boolean;
3801
4324
  isEnabledChildObjectMode(object: KernelObject): boolean;
@@ -3810,8 +4333,8 @@ export declare interface HandWrittenPlanInteractionHandler {
3810
4333
  customRaster: number;
3811
4334
  enableSnap: boolean;
3812
4335
  enableDrawingSnap: boolean;
3813
- objectToWallSnapMode: SnapMode;
3814
- objectToObjectSnapMode: SnapMode;
4336
+ objectToWallSnapMode: SnapMode_2;
4337
+ objectToObjectSnapMode: SnapMode_2;
3815
4338
  dockWhenSnap: boolean;
3816
4339
  unDockOnMove: boolean;
3817
4340
  enableTerrain: boolean;
@@ -3866,6 +4389,12 @@ export declare const HI_LOAD_OBJECT_REASON: {
3866
4389
  readonly UNDO_REDO: "undo_redo";
3867
4390
  };
3868
4391
 
4392
+ export declare const HI_PANEL_ACTION: {
4393
+ readonly HIDE: "hide";
4394
+ readonly SHOW_ATTRIBUTES: "attributes";
4395
+ readonly SHOW_ARTICLES: "articles";
4396
+ };
4397
+
3869
4398
  export declare interface HiApiOptions extends HomagIntelligenceSubscription {
3870
4399
  om?: HomagIntelligenceSubscription;
3871
4400
  baseUrl?: string;
@@ -3876,6 +4405,91 @@ export declare interface HiApiOptions extends HomagIntelligenceSubscription {
3876
4405
 
3877
4406
  export declare type HiAttributeOptionsResult = CheckDropDownResult | CheckDropDownEntry[] | undefined;
3878
4407
 
4408
+ export declare interface HiCallbacks {
4409
+ /**
4410
+ * Requests the calculation script for the given library ID.
4411
+ * @param libraryId the ID of the library for which the calculation script is requested
4412
+ * @returns the calculation script as a string
4413
+ */
4414
+ onLoadJavascript: (libraryId: string) => Promise<string>;
4415
+ /**
4416
+ * Requests the master data for the given library ID.
4417
+ * @param libraryId the ID of the library for which the master data is requested
4418
+ * @returns the master data as a Promise
4419
+ */
4420
+ onLoadMasterData: (libraryId: string) => Promise<MasterData>;
4421
+ /**
4422
+ * Requests the article catalog for the given library ID.
4423
+ * @param libraryId the ID of the library for which the article catalog is requested
4424
+ * @returns the article catalog as a Promise
4425
+ */
4426
+ onLoadArticleCatalog: (libraryId: string) => Promise<any>;
4427
+ /**
4428
+ * Notifies the host application that a price calculation should be performed.
4429
+ * @param posGroups all groups in the plan
4430
+ */
4431
+ onPriceCalc?: (posGroups: PosGroup[]) => Promise<void>;
4432
+ /**
4433
+ * Retrieves the current external load data which has to be used to replace the existing groups in the plan.
4434
+ * @returns load data or null if no replacement is needed
4435
+ */
4436
+ onGetSavedPosGroupData?: () => Promise<PosSaveData | null>;
4437
+ /**
4438
+ * "onCompletelyLoaded" is invoked when the groups in the plan are completely loaded.
4439
+ */
4440
+ onPosGroupsCompletelyLoaded?: () => void;
4441
+ /**
4442
+ * "onPosGroupAdded" is invoked when a new group was created. (e.g. duplicate object)
4443
+ * @param groupData The new group data JSON.
4444
+ */
4445
+ onPosGroupAdded?: (posGroups: PosGroup[]) => Promise<void>;
4446
+ /**
4447
+ * "onPosGroupChanged" is invoked when a new group was modified and recalculated. (e.g. split, merge, change, attribute)
4448
+ *
4449
+ * @param groupData The new group data JSON.
4450
+ */
4451
+ onPosGroupChanged?: (posGroups: PosGroup[]) => Promise<void>;
4452
+ /**
4453
+ * "onPosGroupDeleted" is invoked when a group was delete. (e.g. delete button in scene)
4454
+ * @param groupData The ID of the group which was deleted.
4455
+ */
4456
+ onPosGroupDeleted?: (posGroupIds: string[]) => Promise<void>;
4457
+ /**
4458
+ * "onShowHidePanel" is invoked when a the content of the side panel should be changed or hidden.
4459
+ * @param panel The panel to show or hide.
4460
+ * @param posGroupId Optional ID of the selected group in case of SHOW_ATTRIBUTES.
4461
+ * @param rootModuleId Optional ID of the selected root module in case of SHOW_ATTRIBUTES.
4462
+ * @param subModuleId Optional ID of the selected sub module in case of SHOW_ATTRIBUTES.
4463
+ */
4464
+ onShowHidePanel?: (panel: HiPanelActionType, posGroupId?: string | null, rootModuleId?: string | null, subModuleId?: string | null) => void;
4465
+ /**
4466
+ * "onSelectModule" is invoked when a the selected object in the scene was changed.
4467
+ * @param posGroupId ID of the selected group
4468
+ * @param rootModuleId ID of the selected root module
4469
+ * @param subModuleId Optional id of the selected sub module
4470
+ */
4471
+ onSelectModule?: (posGroupId: string | null, rootModuleId: string | null, subModuleId?: string | null) => void;
4472
+ /**
4473
+ * Request the price for the given order data.
4474
+ * @param orderData order data
4475
+ * @returns price data
4476
+ */
4477
+ onFetchPrice?: (orderData: HiOrder) => Promise<HiPriceData | null>;
4478
+ /**
4479
+ * "onPlaceOrder" is invoked when the user wants to place an order.
4480
+ * You can use this to send the order data to Order Manager or to a 3rd party service.
4481
+ * @param orderData
4482
+ */
4483
+ onPlaceOrder?: (orderData: any) => Promise<void>;
4484
+ /**
4485
+ * "onLogMessage" is invoked when the Homag Intelligence library wants to log a message.
4486
+ * You can use this to log messages in your own UI.
4487
+ * @param area
4488
+ * @param message
4489
+ */
4490
+ onLogMessage?: (area: string, message: string) => void;
4491
+ }
4492
+
3879
4493
  export declare type HiContextAction = (typeof HI_CONTEXT_ACTION)[keyof typeof HI_CONTEXT_ACTION];
3880
4494
 
3881
4495
  /**
@@ -3910,6 +4524,42 @@ export declare interface HiObjectSelectionApi {
3910
4524
  selectionChanged(selectionMode: SELECTION_MODE, objectType: CallbackObjectType, payload: SelectionPayload, _payloadPromise: Promise<SelectionPayload>, _planElementViewModel: PlanElementViewModel): void;
3911
4525
  }
3912
4526
 
4527
+ export declare interface HiOrder extends HiOrderHeader {
4528
+ items: HiOrderData[];
4529
+ }
4530
+
4531
+ export declare interface HiOrderData {
4532
+ [key: string]: any;
4533
+ additionalData: Array<Record<string, any>>;
4534
+ }
4535
+
4536
+ export declare interface HiOrderHeader {
4537
+ id: string;
4538
+ state: string;
4539
+ orderNumber: string;
4540
+ orderName: string;
4541
+ orderDescription: string;
4542
+ project: string;
4543
+ personInCharge: string;
4544
+ orderDate: string;
4545
+ deliveryDatePlanned: string;
4546
+ addresses: Array<{
4547
+ type: string;
4548
+ street: string;
4549
+ houseNumber: string;
4550
+ postalCode: string;
4551
+ city: string;
4552
+ country: string;
4553
+ }>;
4554
+ customerName: string;
4555
+ customerNumber: string;
4556
+ createdAt: string;
4557
+ changedAt: string;
4558
+ changedBy: string;
4559
+ }
4560
+
4561
+ export declare type HiPanelActionType = (typeof HI_PANEL_ACTION)[keyof typeof HI_PANEL_ACTION];
4562
+
3913
4563
  export declare interface HiPlanContext {
3914
4564
  masterData?: Record<string, MasterData>;
3915
4565
  rooms?: ExternalRoomInformation;
@@ -3919,6 +4569,11 @@ export declare interface HiPlanContext {
3919
4569
 
3920
4570
  export declare type HiPlanContextSection = 'masterData' | 'rooms' | 'articles' | 'groups';
3921
4571
 
4572
+ export declare interface HiPriceData {
4573
+ [key: string]: any;
4574
+ orderData: HiOrder;
4575
+ }
4576
+
3922
4577
  export declare class HiTagCatalogCallbacks implements Context {
3923
4578
  _creator_: string;
3924
4579
  private _glueLogic;
@@ -4091,7 +4746,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
4091
4746
  precisionCm?: number;
4092
4747
  unit?: string;
4093
4748
  unitStringType?: string;
4094
- measurementSystem?: Enumify_3<typeof MEASUREMENT_SYSTEM_STRING>;
4749
+ measurementSystem?: Enumify<typeof MEASUREMENT_SYSTEM_STRING>;
4095
4750
  meshSelection: boolean;
4096
4751
  stats: boolean;
4097
4752
  debug: boolean;
@@ -4113,7 +4768,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
4113
4768
  restrictionLevel: number;
4114
4769
  hi?: HomagIntelligenceInitData;
4115
4770
  disableDefaultLabelStyles: boolean;
4116
- highlighting: Enumify_3<typeof ROOMLE_HIGHLIGHTNG>;
4771
+ highlighting: Enumify<typeof ROOMLE_HIGHLIGHTNG>;
4117
4772
  initialFloorMaterial?: string;
4118
4773
  dls?: string;
4119
4774
  ls?: string;
@@ -4141,7 +4796,7 @@ export declare class InitData implements Context, Omit<InitDataDefinition, 'colo
4141
4796
  webGpuConfig: WebGpuConfig;
4142
4797
  meshRaycasting: boolean;
4143
4798
  defaultFloorMaterial?: number | string;
4144
- mode: Enumify_3<typeof CAMERA_TYPE>;
4799
+ mode: Enumify<typeof CAMERA_TYPE>;
4145
4800
  edit: boolean;
4146
4801
  moc: boolean;
4147
4802
  lockPlan: boolean;
@@ -4305,7 +4960,9 @@ export declare interface InsertItemResult {
4305
4960
  export declare class IntArray extends EmsArray<number> {
4306
4961
  }
4307
4962
 
4308
- export declare class IntArray_2 extends EmsArray<number> {
4963
+ export declare type IntArray_2 = EmscriptenArray<number>;
4964
+
4965
+ export declare class IntArray_3 extends EmsArray<number> {
4309
4966
  }
4310
4967
 
4311
4968
  export declare type InteractionMethodName = Exclude<keyof PlanInteractionManager, keyof UndoRedoHandler>;
@@ -4319,24 +4976,115 @@ export declare const enum INTERSECTION_MODE {
4319
4976
  CONFIGURATOR = 1
4320
4977
  }
4321
4978
 
4322
- export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
4323
-
4324
- export declare const isExtObjId: (id: unknown) => id is ExtObjId_2;
4325
-
4326
- export declare const isFirefox: () => boolean;
4327
-
4328
- export { isIdAComponent }
4329
-
4330
- export { isIdAConfigurationString }
4331
-
4332
- export { isIdAnItem }
4333
-
4334
- export { isIdAPlan }
4335
-
4336
- export { isPlanSnapshotId }
4337
-
4338
- export declare const isSafari: () => boolean;
4339
-
4979
+ export declare const isExternalObject: (someThing: unknown) => someThing is ExternalObject;
4980
+
4981
+ export declare const isExtObjId: (id: unknown) => id is ExtObjId;
4982
+
4983
+ export declare const isFirefox: () => boolean;
4984
+
4985
+ export declare const isIdAComponent: (id: string) => boolean;
4986
+
4987
+ export declare const isIdAConfigurationString: (id: string) => boolean;
4988
+
4989
+ export declare const isIdAnItem: (id: string) => boolean;
4990
+
4991
+ export declare const isIdAPlan: (id: string) => boolean;
4992
+
4993
+ export declare const isPlanSnapshotId: (id: string | RapiId) => id is RapiPlanSnapshotId;
4994
+
4995
+ export declare const isSafari: () => boolean;
4996
+
4997
+ export declare interface Kernel {
4998
+ new (): Kernel;
4999
+ setUpdateCallbacksOnlyIfGeometryIsReady(onlyUpdateIfReady: boolean): void;
5000
+ setLevel(level: number): void;
5001
+ useHDGeometry(shouldUse: boolean): void;
5002
+ useEnvironmentGeometry(shouldUse: boolean): void;
5003
+ setDockInsertPreviewBoxParameters(thickness: number, protruding: number, intruding: number, bevelSize: number): void;
5004
+ setLogLevel(level: number): void;
5005
+ loadConfiguration(conversationId: number, serializedConfiguration: string, bounding: Vector3): void;
5006
+ updateConfiguration(conversationId: number, objectOrComponentId: number, serializedConfiguration: string): void;
5007
+ loadFreeFlyingConfiguration(conversationId: number, serializedConfiguration: string): void;
5008
+ loadComponentDefinition(serializedComponent: string): void;
5009
+ requestComponentDockPreview(targetObjectId: number, componentId: string, serializedComponent: string, dragIn: boolean, allowInsertInBetween: boolean): void;
5010
+ requestItemDockPreview(targetObjectId: number, serializedConfiguration: string, dragIn: boolean, allowInsertInBetween: boolean): void;
5011
+ requestExternalObjectDockPreview(targetObjectId: number, articleId: string, dragIn: boolean, allowInsertInBetween: boolean): void;
5012
+ assetsLoaded(assets: AssetResponse_2 | AssetResponse_2[]): void;
5013
+ loadPlainComponent(conversationId: number, componentId: string, serializedComponent: string): void;
5014
+ saveConfiguration(planObjectId: number): void;
5015
+ getComponent(planComponentId: number): Component;
5016
+ getComponentBounds(componentId: number, animationValues: string[]): ComponentBounds;
5017
+ getComponentParameters(planComponentId: number): ParameterArray_2;
5018
+ getPlanComponentAnimations(planComponentId: number): AnimationArray;
5019
+ setComponentParameter(planComponentId: number, key: string, value: string): void;
5020
+ getCommonPlanComponentParameters(somePlanComponentIds: LongArray): ParametersAndParameterGroups;
5021
+ setPlanComponentsParameter(somePlanComponentIds: LongArray, key: string, value: string): void;
5022
+ dockComponent(id: number, dockId: number, parentId: number, parentDockId: number, position?: Vector3): void;
5023
+ dockComponentWithPosition(id: number, dockId: number, parentId: number, parentDockId: number, position: Vector3): void;
5024
+ determinePlanComponentsThatWillBeDeleted(planComponentId: number, tryDockChildrenToParent: boolean): LongArray;
5025
+ deleteComponent(planComponentId: number, redockChildrenToParent: boolean): void;
5026
+ deleteMultipleComponents(somePlanComponentIds: LongArray): void;
5027
+ prepareForIncrementalUpdate(): void;
5028
+ doNextIncrementalUpdate(): void;
5029
+ getPartList(planComponentId: number): PartList;
5030
+ getPlanObjectPartList(planObjectId: number): PartList;
5031
+ getFullPartList(): PartList;
5032
+ isConfigurationValid(planObjectOrComponentId: number): boolean;
5033
+ retrieveConfigurationId(planObjectOrComponentId: number): UniqueIdAndHash;
5034
+ getHashOfSerializedConfiguration(serializedConfiguration: string): string;
5035
+ getSerializedConfiguration(planObjectOrComponentId: number): string;
5036
+ createNewSerializedConfiguration(planObjectOrComponentId: number): string;
5037
+ clearScene(): void;
5038
+ clearAll(): void;
5039
+ reset(): void;
5040
+ getEnvironmentVariables(): void;
5041
+ getEnvironmentVariable(key: string): void;
5042
+ setEnvironmentVariable(key: string, value: string): void;
5043
+ getPlannedObjects(): void;
5044
+ getPlanObjectParameters(planObjectId: number): ParameterArray_2;
5045
+ getCommonPlanObjectParameters(planObjectIds: LongArray): ParameterArray_2;
5046
+ getPlanObjectAnimations(planObjectId: number): AnimationArray;
5047
+ getPlanViews(planObjectId: number): ConfigurationPlanViewArray;
5048
+ setPlanObjectParameter(planObjectId: number, key: string, value: string): void;
5049
+ setPlanObjectsParameter(somePlanObjectIds: LongArray, key: string, value: string): void;
5050
+ deletePlanObject(planObjectId: number): void;
5051
+ isExternalPlanObject(objectOrPlanComponentId: number): boolean;
5052
+ getComponentOrModuleInformation(objectOrPlanComponentId: number): ObjectInformation;
5053
+ getExternalObjectAttribute(objectOrPlanComponentId: number, attributeId: string, value: string): ExternalAttributeInformation_2;
5054
+ getPlanObject(planObjectId: number): PlanObject_3;
5055
+ getPlanObjectFromPlanComponent(planComponentId: number): PlanObject_3;
5056
+ getRootPlanComponentIdFromObjectId(planObjectId: number): number;
5057
+ getGlobalParameterValue(objectOrComponentId: number, name: string): string;
5058
+ getRuntimeIdOfRootComponent(objectOrComponentId: number): number;
5059
+ getRuntimeIdsOfChildComponents(objectOrComponentId: number): LongArray;
5060
+ getComponentParameterValue(objectOrComponentId: number, name: string): string;
5061
+ getComponentId(objectOrPlanComponentId: number): string;
5062
+ getCurrencySymbol(planComponentId: number): string;
5063
+ getPrice(planComponentId: number): number;
5064
+ addPriceList(priceListId: string): void;
5065
+ resetPriceListIds(): void;
5066
+ requestPlanObjectConstruction(planComponentId: number): void;
5067
+ requestMergedPlanObjectConstruction(planComponentId: number): void;
5068
+ requestPlanComponentConstruction(planComponentId: number): boolean;
5069
+ requestDeltaPlanComponentConstruction(planComponentId: number): boolean;
5070
+ requestPlanComponentConstructionRecursive(planComponentId: number): void;
5071
+ requestPreviewGeometry(dockingObjectOrComponentId: number, targetObjectRuntimeId: number, allowInsertInBetween: boolean): void;
5072
+ cancelDocking(planComponentOrPlanObjectId: number, undoDrag: boolean): void;
5073
+ setActiveGroupInView(activeGroup: string): void;
5074
+ setActiveGroupInViewForPlanObject(activeGroup: string, planObjectOrComponentId: number): void;
5075
+ getPlanObjectPossibleChildren(planObjectId: number): PossibleChildArray_2;
5076
+ getChildrenOfPlanObject(planObjectId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
5077
+ getPlanComponentPossibleChildren(planComponentId: number): PossibleChildArray_2;
5078
+ getChildrenOfPlanComponent(planComponentId: number, onlyPossibleChildren: boolean, onlyVisibleChildren: boolean): PossibleChildArray_2;
5079
+ syncPlanObjectToView(conversationId: number, planObjectId: number): void;
5080
+ getAddOnSpotsForPlanObject(planObjectId: number): AddOnSpotArray_2;
5081
+ setExternalMeshInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
5082
+ setAssetInvalid(assetType: AssetType_2, idOrUrl: string, quality: number): void;
5083
+ loadExternalAttributeDefinition(serializedDefinition: string): void;
5084
+ setExternalObjectConstructionProperties(serializedProperties: string): void;
5085
+ registerDebugClient(debugClient: DebugClient_2): void;
5086
+ }
5087
+
4340
5088
  export declare const KERNEL_MESSAGE_TYPE: {
4341
5089
  readonly EXCEPTION: "exception";
4342
5090
  readonly ERROR: "error";
@@ -4387,9 +5135,9 @@ export declare interface KernelAttic extends KernelObject {
4387
5135
  getFrom(): NodePlanObject;
4388
5136
  getTo(): NodePlanObject;
4389
5137
  getAssociatedWall(): KernelWall;
4390
- get2dPolygon(): PointArray_2;
4391
- getRidgePoints(): PointArray_2;
4392
- getPointsWithHeight(height: number): PointArray_2;
5138
+ get2dPolygon(): PointArray_3;
5139
+ getRidgePoints(): PointArray_3;
5140
+ getPointsWithHeight(height: number): PointArray_3;
4393
5141
  readonly side: WallSide;
4394
5142
  readonly kneeHeight: number;
4395
5143
  readonly width: number;
@@ -4522,7 +5270,7 @@ export declare interface KernelFloor extends KernelObject {
4522
5270
  area: number;
4523
5271
  material: KernelFloorMaterial;
4524
5272
  readonly parapetHeight: number;
4525
- readonly floorType: FloorType;
5273
+ readonly floorType: FloorType_2;
4526
5274
  getCenter: () => KernelVector3;
4527
5275
  getRandomPointInside: () => KernelVector3;
4528
5276
  getLabelPosition: () => KernelVector3;
@@ -4852,7 +5600,7 @@ export declare interface KernelWall extends KernelObject {
4852
5600
  readonly wallType: KernelEnum;
4853
5601
  readonly leftNormal: KernelVector3;
4854
5602
  readonly rightNormal: KernelVector3;
4855
- readonly edgeType: EdgeType;
5603
+ readonly edgeType: EdgeType_2;
4856
5604
  getAngle: () => number;
4857
5605
  }
4858
5606
 
@@ -4950,6 +5698,15 @@ export declare interface LightSourceConfiguration {
4950
5698
  maximumNumberOfLightSources: number;
4951
5699
  }
4952
5700
 
5701
+ export declare interface Line {
5702
+ angle: number;
5703
+ endPoint: Vector3;
5704
+ length: number;
5705
+ startPoint: Vector3;
5706
+ }
5707
+
5708
+ export declare type LineArray = EmscriptenArray<Line>;
5709
+
4953
5710
  export declare interface LinksCollection {
4954
5711
  [key: string]: string;
4955
5712
  }
@@ -4993,7 +5750,9 @@ export declare interface LogMessageScope {
4993
5750
  attrId?: string;
4994
5751
  }
4995
5752
 
4996
- export declare class LongArray extends EmsArray<number> {
5753
+ export declare type LongArray = EmscriptenArray<number>;
5754
+
5755
+ export declare class LongArray_2 extends EmsArray<number> {
4997
5756
  }
4998
5757
 
4999
5758
  export declare const enum MAIL_TYPE {
@@ -5054,6 +5813,10 @@ export declare const enum MaterialSourceType {
5054
5813
  RgbValue = 3
5055
5814
  }
5056
5815
 
5816
+ export declare interface MaterialSourceType_2 {
5817
+ value: Enumify_2<typeof CORE_MATERIAL_SOURCE_TYPE>;
5818
+ }
5819
+
5057
5820
  export declare class MaterialViewer extends Main {
5058
5821
  private _viewer;
5059
5822
  protected setupGlobals(): void;
@@ -5065,6 +5828,10 @@ export declare class MaterialViewer extends Main {
5065
5828
  protected getContextName(): string;
5066
5829
  }
5067
5830
 
5831
+ export declare interface Matrix4 {
5832
+ m: number[];
5833
+ }
5834
+
5068
5835
  export declare type MaybePromise<T> = (() => T) | (() => Promise<T>);
5069
5836
 
5070
5837
  export declare type MDAttributeInfo = MDBoolAttributeInfo | MDTextAttributeInfo | MDIntegerAttributeInfo | MDRealAttributeInfo | MDDimAttributeInfo;
@@ -5148,7 +5915,7 @@ export declare const MEASUREMENT_SYSTEM_STRING: {
5148
5915
  METRIC: string;
5149
5916
  };
5150
5917
 
5151
- export declare interface MeasurementBase<Vector2Type = Vector3 | Position2, Vector3Type = Vector3 | Position3> {
5918
+ export declare interface MeasurementBase<Vector2Type = Vector3_2 | Position2, Vector3Type = Vector3_2 | Position3> {
5152
5919
  /** start position of the dimension in 3D **/
5153
5920
  fromPosition3d: Vector3Type;
5154
5921
  /** end position of the dimension in 3D **/
@@ -5173,7 +5940,7 @@ export declare interface MeasurementBase<Vector2Type = Vector3 | Position2, Vect
5173
5940
  dashed?: boolean;
5174
5941
  }
5175
5942
 
5176
- export declare type MeasurementLineDimension = DimensionDefinition<Vector3, Vector3>;
5943
+ export declare type MeasurementLineDimension = DimensionDefinition<Vector3_2, Vector3_2>;
5177
5944
 
5178
5945
  export declare type MeasurementLineDimensionTransferable = DimensionDefinition<Position2, Position3>;
5179
5946
 
@@ -5322,6 +6089,13 @@ export declare abstract class Node_2 extends PlanElement {
5322
6089
  getMaxWallHeight(): number;
5323
6090
  }
5324
6091
 
6092
+ export declare interface Node_3 extends PlanElement_2 {
6093
+ new (): Node_3;
6094
+ getNumberOfConnectedWalls(): number;
6095
+ getMaxWallHeight(): number;
6096
+ readonly nodeType: NodeType_2;
6097
+ }
6098
+
5325
6099
  export declare interface NodeDimensionTransferable {
5326
6100
  id: number;
5327
6101
  position2d: Position2;
@@ -5337,7 +6111,7 @@ export declare class NodePlanElementViewModel extends PlanElementViewModel {
5337
6111
  update(): void;
5338
6112
  setFenceEnabled(enabled: boolean): void;
5339
6113
  setTopView(enabled: boolean): void;
5340
- getSize(): Vector3;
6114
+ getSize(): Vector3_2;
5341
6115
  show(): void;
5342
6116
  hide(): void;
5343
6117
  protected getSelectionRingColor(): number;
@@ -5366,7 +6140,11 @@ export declare interface NodeType {
5366
6140
  value: Enumify<typeof CORE_NODE_TYPE>;
5367
6141
  }
5368
6142
 
5369
- export { Nullable }
6143
+ export declare interface NodeType_2 {
6144
+ value: Enumify_2<typeof CORE_NODE_TYPE_2>;
6145
+ }
6146
+
6147
+ export declare type Nullable<T> = T | null;
5370
6148
 
5371
6149
  export declare interface Object3DRoomleEventMap extends Object3DEventMap {
5372
6150
  [OBJECT_EVENT.CLICK]: {
@@ -5377,7 +6155,7 @@ export declare interface Object3DRoomleEventMap extends Object3DEventMap {
5377
6155
  };
5378
6156
  [OBJECT_EVENT.DRAG]: {
5379
6157
  attachment: {
5380
- position: Vector3;
6158
+ position: Vector3_2;
5381
6159
  };
5382
6160
  };
5383
6161
  [OBJECT_EVENT.DRAG_END]: {
@@ -5416,6 +6194,13 @@ export declare const enum OBJECT_EVENT {
5416
6194
  ROTATE = "rotate"
5417
6195
  }
5418
6196
 
6197
+ export declare interface ObjectBounds {
6198
+ boundingBox: Box;
6199
+ rectangleBox: ExtrudedRectangle;
6200
+ }
6201
+
6202
+ export declare type ObjectBoundsArray = EmscriptenArray<ObjectBounds>;
6203
+
5419
6204
  export declare interface ObjectCategory {
5420
6205
  value: Enumify<typeof CORE_OBJECT_CATEGORY>;
5421
6206
  }
@@ -5425,6 +6210,12 @@ export declare interface ObjectConfigurationType {
5425
6210
  }
5426
6211
 
5427
6212
  export declare interface ObjectFrontRotation {
6213
+ lookAtSide: WallSide_2;
6214
+ rotation: number;
6215
+ rotationRoundTo90deg: number;
6216
+ }
6217
+
6218
+ export declare interface ObjectFrontRotation_2 {
5428
6219
  lookAtSide: WallSide;
5429
6220
  rotation: number;
5430
6221
  rotationRoundTo90deg: number;
@@ -5434,9 +6225,29 @@ export declare abstract class ObjectGroup extends PlanElement {
5434
6225
  getObjects(): PlanObjectPtr;
5435
6226
  }
5436
6227
 
6228
+ export declare interface ObjectGroup_2 extends PlanElement_2 {
6229
+ new (): ObjectGroup_2;
6230
+ getGroupId(): number;
6231
+ getObjects(): PlanObjectPtrList_2;
6232
+ }
6233
+
5437
6234
  export declare interface ObjectGroupPtr {
5438
6235
  }
5439
6236
 
6237
+ export declare interface ObjectInformation {
6238
+ componentId: string;
6239
+ configurationRuntimeId: number;
6240
+ entityRuntimeId: number;
6241
+ externalModule: ExternalModuleInformation_2;
6242
+ isAGeneratedModule: boolean;
6243
+ name: string;
6244
+ permissionToDelete: PermissionToDelete;
6245
+ permissionToDeleteInIsolation: PermissionToDelete;
6246
+ runtimeId: number;
6247
+ source: string;
6248
+ type: PlanComponentType;
6249
+ }
6250
+
5440
6251
  export declare interface ObjectMeasurements {
5441
6252
  rectMeasurements: ObjectWallDimension[];
5442
6253
  objectMeasurements: ObjectWallDimension[];
@@ -5466,13 +6277,21 @@ export declare interface ObjectToWallLine {
5466
6277
  export declare class ObjectToWallLineArray extends EmsArray<ObjectToWallLine> {
5467
6278
  }
5468
6279
 
5469
- export declare type ObjectWallDimension = DimensionDefinition<Vector3, Vector3>;
6280
+ export declare interface ObjectTypeCategory {
6281
+ value: Enumify_2<typeof CORE_OBJECT_TYPE_CATEGORY>;
6282
+ }
6283
+
6284
+ export declare type ObjectWallDimension = DimensionDefinition<Vector3_2, Vector3_2>;
5470
6285
 
5471
6286
  export declare interface OffsetCamera {
5472
6287
  offset: CanvasOffset;
5473
6288
  resetOffset(): void;
5474
6289
  }
5475
6290
 
6291
+ export declare interface OpeningDirection {
6292
+ value: Enumify_2<typeof CORE_OPENING_DIRECTION>;
6293
+ }
6294
+
5476
6295
  export declare interface OrthographicOffsetCamera extends OrthographicCamera, OffsetCamera {
5477
6296
  }
5478
6297
 
@@ -5486,6 +6305,26 @@ export declare interface OutlineCustomParameters {
5486
6305
  outlineHiddenEdgeColor: ColorRepresentation;
5487
6306
  }
5488
6307
 
6308
+ export declare interface Parameter {
6309
+ enabled: boolean;
6310
+ group: string;
6311
+ highlighted: boolean;
6312
+ key: string;
6313
+ label: string;
6314
+ objectIds: IntArray_2;
6315
+ sort: number;
6316
+ source: string;
6317
+ type: ParameterTypeString;
6318
+ unitType: UnitTypeString;
6319
+ validGroups: string[];
6320
+ validRange: Range_2;
6321
+ validValues: ParameterValue[];
6322
+ value: string;
6323
+ valuesAreEqual: boolean;
6324
+ viewType: ViewType;
6325
+ visibleInPlanner: boolean;
6326
+ }
6327
+
5489
6328
  export declare const enum PARAMETER_KERNEL_TYPE {
5490
6329
  UNKNOWN = "",
5491
6330
  INTEGER = "Integer",
@@ -5525,7 +6364,16 @@ export declare const PARAMETER_VIEW_TYPE: {
5525
6364
  export declare class ParameterArray extends EmsArray<KernelParameter> {
5526
6365
  }
5527
6366
 
5528
- export declare class ParameterArray_2 extends EmsArray<KernelParameter> {
6367
+ export declare type ParameterArray_2 = EmscriptenArray<Parameter>;
6368
+
6369
+ export declare class ParameterArray_3 extends EmsArray<KernelParameter> {
6370
+ }
6371
+
6372
+ export declare interface ParameterGroup {
6373
+ collapsed: boolean;
6374
+ key: string;
6375
+ label: string;
6376
+ sort: number;
5529
6377
  }
5530
6378
 
5531
6379
  export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup> {
@@ -5534,6 +6382,20 @@ export declare class ParameterGroupArray extends EmsArray<KernelParameterGroup>
5534
6382
  export declare class ParameterGroupArray_2 extends EmsArray<KernelParameterGroup> {
5535
6383
  }
5536
6384
 
6385
+ export declare interface ParametersAndParameterGroups {
6386
+ animations: Animation_2[];
6387
+ parameterGroups: ParameterGroup[];
6388
+ parameters: Parameter[];
6389
+ }
6390
+
6391
+ export declare type ParameterTypeString = Enumify_3<typeof CORE_PARAMETER_TYPE_STRING>;
6392
+
6393
+ export declare interface ParameterValue {
6394
+ label: string;
6395
+ thumbnail: string;
6396
+ value: string;
6397
+ }
6398
+
5537
6399
  export declare class ParameterValueArray extends EmsArray<KernelParameterValue> {
5538
6400
  }
5539
6401
 
@@ -5551,18 +6413,59 @@ export declare interface ParamterKeyValue {
5551
6413
  parameterValue: string;
5552
6414
  }
5553
6415
 
6416
+ export declare interface Part {
6417
+ articleNr: string;
6418
+ componentId: string;
6419
+ componentRuntimeIds: number[];
6420
+ count: number;
6421
+ currencySymbol: string;
6422
+ hasGeometry: boolean;
6423
+ isModule: boolean;
6424
+ label: string;
6425
+ labelIsCalculated: boolean;
6426
+ packageSize: number;
6427
+ parameters: PartListParameter[];
6428
+ permissionToDelete: PermissionToDelete;
6429
+ permissionToDeleteInIsolation: PermissionToDelete;
6430
+ price: number;
6431
+ retailerPrice: number;
6432
+ subpartId: number;
6433
+ valid: boolean;
6434
+ }
6435
+
5554
6436
  export declare class PartArray extends EmsArray<KernelPart> {
5555
6437
  }
5556
6438
 
5557
6439
  export declare class PartArray_2 extends EmsArray<KernelPart> {
5558
6440
  }
5559
6441
 
6442
+ export declare interface PartList {
6443
+ fullList: Part[];
6444
+ originPart: Part;
6445
+ perMainComponent: PartList[];
6446
+ }
6447
+
6448
+ export declare interface PartListParameter {
6449
+ key: string;
6450
+ label: string;
6451
+ sort: number;
6452
+ type: string;
6453
+ unitType: string;
6454
+ value: string;
6455
+ valueLabel: string;
6456
+ valueThumbnail: string;
6457
+ }
6458
+
5560
6459
  export declare class PartListParameterArray extends EmsArray<KernelPartListParameter> {
5561
6460
  }
5562
6461
 
5563
6462
  export declare class PartListParameterArray_2 extends EmsArray<KernelPartListParameter> {
5564
6463
  }
5565
6464
 
6465
+ export declare interface PermissionToDelete {
6466
+ value: Enumify_3<typeof CORE_PERMISSION_TO_DELETE_2>;
6467
+ }
6468
+
5566
6469
  export declare interface PerspectiveOffsetCamera extends PerspectiveCamera, OffsetCamera {
5567
6470
  }
5568
6471
 
@@ -5586,7 +6489,32 @@ export declare abstract class Plan extends AbstractModelWrapper {
5586
6489
  syncToView(): void;
5587
6490
  }
5588
6491
 
5589
- export declare interface Plan_2 extends KernelObject {
6492
+ export declare interface Plan_2 extends AbstractModel_2 {
6493
+ new (): Plan_2;
6494
+ increaseLockLevels(): void;
6495
+ getPlanXML(includeRuntimeId: boolean, version: number): string;
6496
+ getPlanXMLWithNormalizedLockLevels(includeRuntimeId: boolean, version: number): string;
6497
+ createPlanXmlWithSingleObject(object: PlanObject_2, includeRuntimeId: boolean, version: number): string;
6498
+ createPlanXmlWithObjects(objectIds: string | string[], includeRuntimeId: boolean, version: number): string;
6499
+ getRotationForFrontView(objectIds: number | number[]): number;
6500
+ getBounds(): Box;
6501
+ getPlanObjects(): PlanObject_2[];
6502
+ getWalls(): Wall_2[];
6503
+ getWallCount(): number;
6504
+ getAttics(): Attic[];
6505
+ getFloors(): Floor_2[];
6506
+ getImageCount(): number;
6507
+ isEmpty(): boolean;
6508
+ getTotalFloorArea(): number;
6509
+ syncPlanToView(): void;
6510
+ defaultParapetHeight: number;
6511
+ defaultWallColor: number;
6512
+ defaultWallHeight: number;
6513
+ defaultWallThickness: number;
6514
+ vectorWallThickness: number;
6515
+ }
6516
+
6517
+ export declare interface Plan_3 extends KernelObject {
5590
6518
  defaultParapetHeight: number;
5591
6519
  defaultWallHeight: number;
5592
6520
  defaultWallThickness: number;
@@ -5615,6 +6543,10 @@ export declare const PLAN_ROOM_GEOMETRY_MODE: {
5615
6543
  readonly PLAN: "plan";
5616
6544
  };
5617
6545
 
6546
+ export declare interface PlanComponentType {
6547
+ value: Enumify_3<typeof CORE_PLAN_COMPONENT_TYPE_2>;
6548
+ }
6549
+
5618
6550
  export declare abstract class PlanElement extends AbstractModelWrapper {
5619
6551
  isLocked: boolean;
5620
6552
  isValid: boolean;
@@ -5622,7 +6554,22 @@ export declare abstract class PlanElement extends AbstractModelWrapper {
5622
6554
  getCenter(): KernelVector3f;
5623
6555
  }
5624
6556
 
5625
- export declare interface PlanElement_2 extends KernelObject {
6557
+ export declare interface PlanElement_2 extends AbstractModel_2 {
6558
+ new (): PlanElement_2;
6559
+ getType(): PlanElementType_2;
6560
+ getCenter(): Vector3;
6561
+ getRootComponentCenter(): Vector3;
6562
+ getMeshCenter(): Vector3;
6563
+ getMeshOffsetRelativeToObject(): Vector3;
6564
+ getCustomDataJson(): string;
6565
+ isDuplicable(): boolean;
6566
+ isDeletableInIsolation(): boolean;
6567
+ isLocked(): boolean;
6568
+ isValid(): boolean;
6569
+ readonly hidden: boolean;
6570
+ }
6571
+
6572
+ export declare interface PlanElement_3 extends KernelObject {
5626
6573
  getType(): any;
5627
6574
  getCenter(): KernelVector3;
5628
6575
  getMeshCenter(): KernelVector3;
@@ -5645,6 +6592,10 @@ export declare const enum PlanElementType {
5645
6592
  CEILING = 7
5646
6593
  }
5647
6594
 
6595
+ export declare interface PlanElementType_2 {
6596
+ value: Enumify_2<typeof CORE_PLAN_ELEMENT_TYPE>;
6597
+ }
6598
+
5648
6599
  export declare class PlanElementViewModel extends KernelViewModel {
5649
6600
  protected _container: Object3D;
5650
6601
  protected _boundingBox: RoomleEventedMesh;
@@ -5656,7 +6607,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
5656
6607
  private _containerVisible;
5657
6608
  private _hiddenByCameraFacing;
5658
6609
  constructor(planObject: PlanObject);
5659
- getSize(): Vector3;
6610
+ getSize(): Vector3_2;
5660
6611
  setHiddenByCameraFacing(hidden: boolean): void;
5661
6612
  setContainerVisibility(isVisible: boolean): void;
5662
6613
  protected isContainerVisible(): boolean;
@@ -5664,7 +6615,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
5664
6615
  isHiddenByCameraFacing(): boolean;
5665
6616
  update(): void;
5666
6617
  protected _updateBoundingBox(): void;
5667
- getPosition(): Vector3;
6618
+ getPosition(): Vector3_2;
5668
6619
  getRotation(): number;
5669
6620
  getBounds(): Box3;
5670
6621
  getMeasurementBounds(): Box3[];
@@ -5683,7 +6634,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
5683
6634
  remove(): void;
5684
6635
  hidePreviewBox(): void;
5685
6636
  protected _generateBoundingBox(): RoomleEventedMesh;
5686
- protected _setPositionOfBoundingBox(size: Vector3, mesh: RoomleEventedMesh): void;
6637
+ protected _setPositionOfBoundingBox(size: Vector3_2, mesh: RoomleEventedMesh): void;
5687
6638
  get isSelected(): boolean;
5688
6639
  select(): void;
5689
6640
  deselect(): void;
@@ -5703,8 +6654,163 @@ export declare abstract class PlanImage extends PlanElement {
5703
6654
  center: KernelVector3f;
5704
6655
  }
5705
6656
 
6657
+ export declare interface PlanImage_2 extends PlanElement_2 {
6658
+ new (): PlanImage_2;
6659
+ readonly url: string;
6660
+ readonly size: Vector3;
6661
+ readonly rotation: Vector3;
6662
+ readonly center: Vector3;
6663
+ }
6664
+
5706
6665
  export declare type PlanInteractionHandler = Omit<PlanInteractionHandler_2, keyof HandWrittenPlanInteractionHandler> & HandWrittenPlanInteractionHandler;
5707
6666
 
6667
+ export declare interface PlanInteractionHandler_2 {
6668
+ new (): PlanInteractionHandler_2;
6669
+ init(reference: PlanInteractionHandler_2, zoomFactor: number, viewSnapDist: number, wallSnapMode: SnapMode, objectSnapMode: SnapMode, shouldSnap: boolean, drawingType: DrawingType_2): void;
6670
+ loadPlanXML(planXml: string): Plan_2;
6671
+ createPlanWithObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number): Plan_2;
6672
+ setDefaultParapetHeight(parapetHeight: number, applyToAll: boolean): void;
6673
+ setRoomParapetHeight(floor: Floor_2, parapetHeight: number): void;
6674
+ setDefaultWallColor(wallColor: number, applyToAll: boolean): void;
6675
+ setDefaultWallHeight(wallHeight: number, applyToAll: boolean): void;
6676
+ setDefaultWallThickness(wallThickness: number, applyToAll: boolean): void;
6677
+ getDefaultExteriorWallMaterial(): WallMaterial_2;
6678
+ setDefaultExteriorWallMaterial(wallMaterial: WallMaterial_2): void;
6679
+ getDefaultInteriorWallMaterial(): WallMaterial_2;
6680
+ setDefaultInteriorWallMaterial(wallMaterial: WallMaterial_2): void;
6681
+ getDefaultFloorMaterial(): FloorMaterial_2;
6682
+ setDefaultFloorMaterial(floorMaterial: FloorMaterial_2): void;
6683
+ moveElementBy(element: PlanElement_2, offset: Vector3, dragging: boolean): void;
6684
+ moveElementTo(element: PlanElement_2, position: Vector3, dragging: boolean, cameraPosition?: Vector3): void;
6685
+ moveElementToIn2d(element: PlanElement_2, position: Vector3, dragging: boolean): void;
6686
+ setDiscardExternalObjectsOnLoad(discard: boolean): void;
6687
+ moveObjectsBy(objects: PlanObjectPtrList_2, offset: Vector3): void;
6688
+ removeChildObjectAtPosition(element: PlanElement_2, position: Vector3): boolean;
6689
+ lockElement(element: PlanElement_2): void;
6690
+ unlockElement(element: PlanElement_2): void;
6691
+ consistsOfMergedComponents(object: PlanObject_2): boolean;
6692
+ isChildObjectModePossible(object: PlanObject_2): boolean;
6693
+ getChildObjectMode(object: PlanObject_2): number;
6694
+ setChildObjectMode(object: PlanObject_2, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
6695
+ setChildObjectModeOfExternalObject(objectId: string, mode: number, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
6696
+ setChildObjectModeForAllPlanObjects(mode: number): void;
6697
+ isEnabledChildObjectMode(object: PlanObject_2): boolean;
6698
+ enableChildObjects(object: PlanObject_2, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
6699
+ disableChildObjects(object: PlanObject_2): PlanObject_2;
6700
+ disableChildObjectsOfAllPlanObjects(): void;
6701
+ enableChildObjectsOfExternalObject(objectId: string, switchChildModeOffForAllOtherObjects: boolean): PlanObject_2;
6702
+ disableChildObjectsOfExternalObject(objectId: string): PlanObject_2;
6703
+ rotateObjectTo(object: PlanObject_2, targetAngleInRad: number): void;
6704
+ changePitchAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
6705
+ changeRollAngleTo(object: PlanObject_2, targetAngleInRad: number): void;
6706
+ rotateObjectBy(object: PlanObject_2, deltaAngleInRad: number): void;
6707
+ rotateObjectsBy(objects: PlanObjectPtrList_2, deltaAngleInRad: number, pivot: Vector3): void;
6708
+ rotateGroupBy(group: ObjectGroup_2, angleInRad: number, pivot: Vector3): void;
6709
+ setObjectRotation(object: PlanObject_2, targetAngleInRad: number): void;
6710
+ setObjectFlipX(object: PlanObject_2, shouldFlipX: boolean): void;
6711
+ setObjectFlipY(object: PlanObject_2, shouldFlipY: boolean): void;
6712
+ setObjectFixedZ(object: PlanObject_2, shouldFlipZ: boolean): void;
6713
+ setObjectCustomColor(object: PlanObject_2, rgbColor: number, useCustomColor: boolean): void;
6714
+ setObjectCustomLabel(object: PlanObject_2, label: string): void;
6715
+ setElementCustomDataJson(element: PlanElement_2, customDataJson: string): void;
6716
+ setObjectSize(object: PlanObject_2, newSize: Vector3, anchor: ResizingAnchor_2): void;
6717
+ deleteObjectsInGroup(group: ObjectGroup_2): void;
6718
+ replaceObject(objectToBeReplaced: PlanElement_2, replacement: PlanElement_2): void;
6719
+ duplicateGroup(group: ObjectGroup_2, count: number, findFreeSpaceInPlan: boolean): ObjectGroup_2[];
6720
+ mergeObjects(objects: PlanObjectPtrList_2): void;
6721
+ groupObjects(objects: PlanObjectPtrList_2): ObjectGroup_2;
6722
+ ungroup(group: ObjectGroup_2): void;
6723
+ duplicatePlanObjects(objects: PlanObjectPtrList_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
6724
+ setElementVisibility(element: PlanElement_2, isVisible: boolean): void;
6725
+ setLengthOfEdge2D(wall: Wall_2, newLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
6726
+ setLengthOfSlopingEdge(wall: Wall_2, newSlopingLength: number, side: WallSide_2, extensionType: WallExtensionType_2, alsoMoveOrthogonalWalls: boolean): void;
6727
+ setNodeType(node: Node_3, nodeType: NodeType_2): void;
6728
+ setWallThickness(wall: Wall_2, thickness: number): void;
6729
+ setWallHeight(wall: Wall_2, height: number): void;
6730
+ setWallColor(wall: Wall_2, color: number): void;
6731
+ setWallLeftMaterial(wall: Wall_2, material: WallMaterial_2): void;
6732
+ setWallRightMaterial(wall: Wall_2, material: WallMaterial_2): void;
6733
+ splitWall(wall: Wall_2, splitPoint: Vector3): void;
6734
+ setAtticSide(attic: Attic, side: WallSide_2): void;
6735
+ setAtticKneeHeight(attic: Attic, kneeHeight: number): void;
6736
+ setAtticWidth(attic: Attic, width: number): void;
6737
+ setFloorMaterial(floor: Floor_2, material: FloorMaterial_2): void;
6738
+ setFloorMaterialRotation(floor: Floor_2, rotationInRad: number): void;
6739
+ setFloorMaterialUvScale(floor: Floor_2, uvScale: Vector3): void;
6740
+ setFloorLabelObject(floor: Floor_2, serializedLabelObject: string): void;
6741
+ setFloorType(floor: Floor_2, floorType: FloorType): void;
6742
+ setEdgeType(wall: Wall_2, edgeType: EdgeType): void;
6743
+ setPlanTexterText(text: PlanText_2, texterText: string): void;
6744
+ setPlanTexterSize(text: PlanText_2, newSize: Vector3): void;
6745
+ setMeasurePoint1(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
6746
+ setMeasurePoint2(measure: PlanMeasure_2, point: Vector3, snapToWalls: boolean, snapToObjects: boolean): void;
6747
+ setPlanImageRotation(image: PlanImage_2, newRotation: Vector3): void;
6748
+ setPlanImageSize(image: PlanImage_2, newSize: Vector3): void;
6749
+ removeElement(element: PlanElement_2): void;
6750
+ removeObjectWithId(objectId: string): void;
6751
+ duplicatePlanObject(object: PlanObject_2, count: number, findFreeSpaceInPlan: boolean): PlanObject_2[];
6752
+ addWall(from: Node_3, to: Node_3): Wall_2;
6753
+ addAttic(wall: Wall_2, kneeHeight: number, width: number, side: WallSide_2 | null | undefined): Attic;
6754
+ addNode(position: Vector3): Node_3;
6755
+ addText(text: string, position: Vector3): PlanText_2;
6756
+ addPlanObject(itemId: string, type: string, size: Vector3, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
6757
+ addPlanObjects(catalogItems: CatalogItemPtrList_2, findFreeSpaceInPlan: boolean): PlanObject_2[];
6758
+ addPlanObjectFromItem(item: CatalogItem_2, position: Vector3, rotationInRad: number, findFreeSpaceInPlan: boolean): PlanObject_2;
6759
+ addOrUpdateExternalPlanObjects(groups: string | string[], position: Vector3, rotationInRad: number, updateConfiguration: ExternalObjectLoadConfiguration, mergedGroupIds: string | string[]): PlanObject_2[];
6760
+ createPreviewGeometryForAddOn(objectId: string, objectConfiguration: string, articleId: string, groupDefinitions: string, validContainerModules: ExternalValidContainerModule[]): void;
6761
+ catalogItemLoaded(catalogItem: CatalogItem_2): void;
6762
+ addMeasure(startPosition: Vector3, endPosition: Vector3): PlanMeasure_2;
6763
+ addImage(url: string, center: Vector3, size: Vector3, rotation: Vector3): PlanImage_2;
6764
+ setPlanObjectMesh(object: PlanObject_2, mesh: any): void;
6765
+ getPlan(): Plan_2;
6766
+ setPlan(plan: Plan_2): void;
6767
+ clearPlan(): void;
6768
+ setViewSnapDist(distance: number): void;
6769
+ setViewSnapHeightLevelDistance(distance: number): void;
6770
+ setViewSnapEdgeEndPointDistance(distance: number): void;
6771
+ setZoomFactor(distance: number): void;
6772
+ setRotationSnapAngle(angleInRadians: number): void;
6773
+ endInteraction(): void;
6774
+ clearHistory(): void;
6775
+ startInteraction(): void;
6776
+ resumeInteraction(): void;
6777
+ setSnapFeedbackWhileDrawing(shouldSnapWhileDrawing: boolean): void;
6778
+ setSnapToClusterWhileContinuousDrawing(shouldSnapWhileDrawing: boolean): void;
6779
+ setParallelWallToleranceInDegrees(tolerance: number): void;
6780
+ isVectorPreviewModeEnabled(): boolean;
6781
+ getDrawingMode(): DrawingMode_2;
6782
+ isCreateUnclosedSpaceEnabled(): boolean;
6783
+ beginDrawing(position: Vector3, drawingMode: DrawingMode_2, createUnclosedSpace: boolean): void;
6784
+ currentDrawingPosition(position: Vector3): void;
6785
+ forceNode(position: Vector3): void;
6786
+ endDrawing(position: Vector3): void;
6787
+ cancelDrawing(): void;
6788
+ setDrawingType(newDrawingType: DrawingType_2): void;
6789
+ getContinuousDrawingManager(): ContinuousDrawingManager;
6790
+ deactivateAllSnappingActivity(): void;
6791
+ reactivateAllSnappingActivity(): void;
6792
+ getConfiguratorKernel(): ConfiguratorKernel;
6793
+ loadPlanObjectConfigurations(): void;
6794
+ undo(): void;
6795
+ redo(): void;
6796
+ isRedoPossible(): boolean;
6797
+ isUndoPossible(): boolean;
6798
+ getRelativeHistoryPosition(): number;
6799
+ generateTCExport(planObjectItemIds: string[]): string;
6800
+ unit: string;
6801
+ objectToWallSnapMode: SnapMode;
6802
+ objectToObjectSnapMode: SnapMode;
6803
+ enableSnap: boolean;
6804
+ enableRaster: boolean;
6805
+ customRaster: number;
6806
+ moveWallsOrthogonal: boolean;
6807
+ enableDrawingSnap: boolean;
6808
+ dockWhenSnap: boolean;
6809
+ unDockOnMove: boolean;
6810
+ automaticallyIntersectWithWalls: boolean;
6811
+ enableTerrain: boolean;
6812
+ }
6813
+
5708
6814
  export declare class PlanInteractionHandlerExtension extends UndoRedoHandler {
5709
6815
  addOrUpdateExternalPlanObjects(serializedConfiguration: string | string[], position: KernelVector3, rotationInRad: number, updateConfiguration: any, mergedGroupIds: string | string[]): PlanObject[];
5710
6816
  applyKernelParameterChange<T>(callback: () => T, parameterKey: string, elementId?: string | number): T;
@@ -5735,7 +6841,13 @@ export declare abstract class PlanMeasure extends PlanElement {
5735
6841
  getPoint2(): KernelVector3f;
5736
6842
  }
5737
6843
 
5738
- export declare interface PlanMeasure_2 extends PlanObject {
6844
+ export declare interface PlanMeasure_2 extends PlanElement_2 {
6845
+ new (): PlanMeasure_2;
6846
+ getPoint1(): Vector3;
6847
+ getPoint2(): Vector3;
6848
+ }
6849
+
6850
+ export declare interface PlanMeasure_3 extends PlanObject {
5739
6851
  getPoint1(): KernelVector3f;
5740
6852
  getPoint2(): KernelVector3f;
5741
6853
  }
@@ -5754,21 +6866,21 @@ export declare abstract class PlanModelViewHelper {
5754
6866
  }
5755
6867
 
5756
6868
  export declare interface PlanModelViewHelper_2 {
5757
- getPlanOverview(plan: Plan_2): PlanOverview;
5758
- getConstructionOverview(plan: Plan_2): ConstructionOverview;
5759
- getPlanObject(plan: Plan_2, aRuntimeId: number): KernelPlanObject;
5760
- isChildObjectRootComponent(plan: Plan_2, componentRuntimeId: number): boolean;
5761
- isAnimationRootComponent(plan: Plan_2, componentRuntimeId: number): boolean;
5762
- getRootPlanObjectId(plan: Plan_2, aRuntimeId: number): number;
5763
- getObjectComponent(plan: Plan_2, typeOfId: TypeOfCoreId, anId: number): KernelPlanObjectComponent;
5764
- getExternalObjectComponent(plan: Plan_2, groupId: string, moduleId: string): KernelPlanObjectComponent;
5765
- requestMesh3d(element: PlanElement_2): void;
5766
- getExternalObjectGroups(plan: Plan_2): KernelObjectConfigurationArray;
5767
- getExternalRoomInformation(plan: Plan_2, mode: PlanRoomGeometryMode_2): RoomInformation;
6869
+ getPlanOverview(plan: Plan_3): PlanOverview;
6870
+ getConstructionOverview(plan: Plan_3): ConstructionOverview;
6871
+ getPlanObject(plan: Plan_3, aRuntimeId: number): KernelPlanObject;
6872
+ isChildObjectRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
6873
+ isAnimationRootComponent(plan: Plan_3, componentRuntimeId: number): boolean;
6874
+ getRootPlanObjectId(plan: Plan_3, aRuntimeId: number): number;
6875
+ getObjectComponent(plan: Plan_3, typeOfId: TypeOfCoreId, anId: number): KernelPlanObjectComponent;
6876
+ getExternalObjectComponent(plan: Plan_3, groupId: string, moduleId: string): KernelPlanObjectComponent;
6877
+ requestMesh3d(element: PlanElement_3): void;
6878
+ getExternalObjectGroups(plan: Plan_3): KernelObjectConfigurationArray;
6879
+ getExternalRoomInformation(plan: Plan_3, mode: PlanRoomGeometryMode_2): RoomInformation;
5768
6880
  getGroupedObjects(anObject: PlanObject): KernelPlanObject[];
5769
- calculateLightSourceDistribution(plan: Plan_2, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
6881
+ calculateLightSourceDistribution(plan: Plan_3, lightSourceConfiguration: LightSourceConfiguration): RoomLightSourceDistributionArray;
5770
6882
  getObjectSnapInformation(anObject: PlanObject, debugHelpLines: boolean): ObjectSnapInformation;
5771
- getPlanViews(plan: Plan_2): PlanView[];
6883
+ getPlanViews(plan: Plan_3): PlanView[];
5772
6884
  }
5773
6885
 
5774
6886
  export declare class Planner<P extends readonly PluginName[] = readonly []> extends Main {
@@ -5860,7 +6972,7 @@ export declare interface PlannerInitData {
5860
6972
  * usage: mode=2D
5861
6973
  * options: 2D, 3D, FP
5862
6974
  */
5863
- mode?: Enumify_3<typeof CAMERA_TYPE>;
6975
+ mode?: Enumify<typeof CAMERA_TYPE>;
5864
6976
  /* Excluded from this release type: edit */
5865
6977
  /**
5866
6978
  * @description If set to true it will treat the planner as a multi object configurator (moc).
@@ -5938,50 +7050,50 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
5938
7050
  requestPlanObjectDimensions(): void;
5939
7051
  cleanUpCallbacks(): void;
5940
7052
  registerCallbacks(): void;
5941
- planElementRemoved(element: PlanElement_2): void;
5942
- handlerSwitchedPlans(fromPlan: Plan_2, toPlan: Plan_2): void;
7053
+ planElementRemoved(element: PlanElement_3): void;
7054
+ handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
5943
7055
  planBoundsChanged(): void;
5944
7056
  planCleared(): void;
5945
- planCompletelyLoaded(plan: Plan_2): void;
5946
- planElement3dMeshChanged(_plan: Plan_2, element: PlanElement_2): void;
7057
+ planCompletelyLoaded(plan: Plan_3): void;
7058
+ planElement3dMeshChanged(_plan: Plan_3, element: PlanElement_3): void;
5947
7059
  private _onStaticItemAdded;
5948
7060
  private _onConfigurableItemAdded;
5949
7061
  private _onConfigurableConstructionItemAdded;
5950
- planElementAdded(plan: Plan_2, element: PlanElement_2): Promise<void>;
5951
- planElementChanged(plan: Plan_2, element: PlanElement_2): void;
7062
+ planElementAdded(plan: Plan_3, element: PlanElement_3): Promise<void>;
7063
+ planElementChanged(plan: Plan_3, element: PlanElement_3): void;
5952
7064
  planHistoryStateChanged(): void;
5953
- planObjectConfigurationCreated(_plan: Plan_2, _element: PlanObject): void;
5954
- externalObjectConfigurationChanged(plan: Plan_2, planObject: PlanObject, configuration: string): void;
5955
- externalObjectConfigurationLoaded(plan: Plan_2, planObject: PlanObject, configuration: string): void;
5956
- externalObjectConfigurationDeleted(plan: Plan_2, planObject: PlanObject, uniqueId: string): void;
5957
- externalObjectComponentDeleted(plan: Plan_2, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
5958
- externalObjectConfigurationDuplicated(plan: Plan_2, planObject: PlanObject, duplicatedGroup: ExternalObjectGroup): void;
5959
- externalObjectPositionChanged(plan: Plan_2, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
5960
- externalObjectPlanChanged(plan: Plan_2, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
5961
- externalObjectConfigurationsMerged(plan: Plan_2, planObject: PlanObject, mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): void;
5962
- externalObjectComponentSplitOff(plan: Plan_2, planObject: PlanObject, splitGroups: ExternalObjectGroup[]): void;
5963
- externalObjectRequestAddOnContainers(plan: Plan_2, planObject: PlanObject, groupId: string, subArticleId: string): void;
5964
- externalObjectAddSubArticle(plan: Plan_2, planObject: PlanObject, subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
5965
- externalObjectMoveSubArticle(plan: Plan_2, planObject: PlanObject, subArticleId: string, subModuleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
5966
- externalObjectRemoveSubModule(plan: Plan_2, planObject: PlanObject, groupId: string, subModuleId: string): void;
5967
- planObjectConfigurationLoaded(plan: Plan_2, element: PlanElement_2, success: boolean): Promise<void>;
5968
- planObjectConfigurationChanged(plan: Plan_2, object: PlanObject): void;
7065
+ planObjectConfigurationCreated(_plan: Plan_3, _element: PlanObject): void;
7066
+ externalObjectConfigurationChanged(plan: Plan_3, planObject: PlanObject, configuration: string): void;
7067
+ externalObjectConfigurationLoaded(plan: Plan_3, planObject: PlanObject, configuration: string): void;
7068
+ externalObjectConfigurationDeleted(plan: Plan_3, planObject: PlanObject, uniqueId: string): void;
7069
+ externalObjectComponentDeleted(plan: Plan_3, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroup | ExternalObjectGroup[], deletedRootModuleId: string): void;
7070
+ externalObjectConfigurationDuplicated(plan: Plan_3, planObject: PlanObject, duplicatedGroup: ExternalObjectGroup): void;
7071
+ externalObjectPositionChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
7072
+ externalObjectPlanChanged(plan: Plan_3, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
7073
+ externalObjectConfigurationsMerged(plan: Plan_3, planObject: PlanObject, mergedGroup: ExternalObjectGroup, idsOfGroupsMerged: string | string[], targetRootModuleId: string, mergedWithDragging: boolean): void;
7074
+ externalObjectComponentSplitOff(plan: Plan_3, planObject: PlanObject, splitGroups: ExternalObjectGroup[]): void;
7075
+ externalObjectRequestAddOnContainers(plan: Plan_3, planObject: PlanObject, groupId: string, subArticleId: string): void;
7076
+ externalObjectAddSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
7077
+ externalObjectMoveSubArticle(plan: Plan_3, planObject: PlanObject, subArticleId: string, subModuleId: string, rootModuleId: string, parentModuleId: string, insertPosition?: number[]): void;
7078
+ externalObjectRemoveSubModule(plan: Plan_3, planObject: PlanObject, groupId: string, subModuleId: string): void;
7079
+ planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): Promise<void>;
7080
+ planObjectConfigurationChanged(plan: Plan_3, object: PlanObject): void;
5969
7081
  requestCatalogItem(catalogItemId: string): void;
5970
7082
  startedDrawing(): void;
5971
7083
  stoppedDrawing(): void;
5972
7084
  updateMesh2d(): void;
5973
7085
  beginConstruction(): void;
5974
- addMesh(planElement: PlanElement_2, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
7086
+ addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
5975
7087
  endConstruction(): void;
5976
- beginPlanConstruction(plan: Plan_2): void;
5977
- addPlanMesh(plan: Plan_2, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
5978
- endPlanConstruction(plan: Plan_2): void;
5979
- createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number): Plan_2;
7088
+ beginPlanConstruction(plan: Plan_3): void;
7089
+ addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
7090
+ endPlanConstruction(plan: Plan_3): void;
7091
+ createPlanFromObject(rapiElement: RapiItem | RapiConfiguration, position?: Position3, rotation?: number): Plan_3;
5980
7092
  addPlanObjectFromItem(rapiElement: RapiItem | RapiConfiguration, newUndoRedoStep: boolean, position?: Position3, rotation?: number, keepInteractionOpen?: boolean): Promise<RuntimeId>;
5981
7093
  private _performAddPlanObjectFromItem;
5982
7094
  coupleReferences(jsObject: any, coreReference: KernelObject): void;
5983
7095
  private _decoupleReferences;
5984
- isConstructionPlanElement(planElement: PlanElement_2): boolean;
7096
+ isConstructionPlanElement(planElement: PlanElement_3): boolean;
5985
7097
  planObjectSelectionChanged(configurationRuntimeId: number, elementRuntimeId: number): void;
5986
7098
  protected _componentSelectionChanged(_planObject: PlanObjectKernel, component: KernelComponent): void;
5987
7099
  protected _externalObjectParameterChanged(objectOrComponentId: number, parameterKey: string, value: string): void;
@@ -6001,7 +7113,7 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
6001
7113
  configureExternalObjectApi(externalObjectSettings?: ExternalObjectApiConfiguration): Promise<void>;
6002
7114
  setComponentParameter(componentId: number, interactionKey: string, newValue: any): void;
6003
7115
  protected _getAnimationLevelForObject(runtimeId: number, _animation: KernelAnimation): AnimationLevelType;
6004
- getObjectComponent(runtimeId: number, typeOfId: Enumify_3<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
7116
+ getObjectComponent(runtimeId: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
6005
7117
  isChildObjectRootComponent(roomleComponent: RoomleComponent): boolean;
6006
7118
  isAnimationRootComponent(roomleComponent: RoomleComponent): boolean;
6007
7119
  changePlanObjectParameter(runtimeId: number, parameterKey: string, type: string, value: string, resolve: () => void, reject: () => void): void;
@@ -6010,18 +7122,18 @@ export declare class PlannerKernelAccess extends ConfiguratorKernelAccess {
6010
7122
  }
6011
7123
 
6012
7124
  export declare interface PlannerKernelCallbackI {
6013
- handlerSwitchedPlans(fromPlan: Plan_2, toPlan: Plan_2): void;
6014
- planCompletelyLoaded(plan: Plan_2): void;
6015
- beginPlanConstruction(plan: Plan_2): void;
6016
- addMesh(planElement: PlanElement_2, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
6017
- addPlanMesh(plan: Plan_2, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
6018
- endPlanConstruction(plan: Plan_2): void;
7125
+ handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
7126
+ planCompletelyLoaded(plan: Plan_3): void;
7127
+ beginPlanConstruction(plan: Plan_3): void;
7128
+ addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
7129
+ addPlanMesh(plan: Plan_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, type: KernelEnum): void;
7130
+ endPlanConstruction(plan: Plan_3): void;
6019
7131
  addPlanObjectToScene(planElementViewModel: PlanObjectViewModel | null): void;
6020
7132
  removePlanObjectFromScene(planElementViewModel: PlanObjectViewModel | undefined): void;
6021
- planElementChanged(plan: Plan_2, planObject: PlanElementViewModel): void;
6022
- planElementRemoved(element: PlanElement_2): void;
6023
- planObjectConfigurationLoaded(plan: Plan_2, element: PlanElement_2, success: boolean): void;
6024
- planObjectConfigurationChanged(plan: Plan_2, element: PlanElementViewModel): void;
7133
+ planElementChanged(plan: Plan_3, planObject: PlanElementViewModel): void;
7134
+ planElementRemoved(element: PlanElement_3): void;
7135
+ planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
7136
+ planObjectConfigurationChanged(plan: Plan_3, element: PlanElementViewModel): void;
6025
7137
  planBoundsChanged(): void;
6026
7138
  planHistoryStateChanged(): void;
6027
7139
  planCleared(): void;
@@ -6079,7 +7191,7 @@ export declare interface PlannerKernelContainer {
6079
7191
  unregisterPlannerCallback: (callbacksObject: any) => void;
6080
7192
  StringArray: StringArray;
6081
7193
  Vector2fArray: Vector2fArray;
6082
- LongArray: LongArray;
7194
+ LongArray: LongArray_2;
6083
7195
  DockPairPreviewArray: DockPairPreviewArray_2;
6084
7196
  ComponentArray: ComponentArray_2;
6085
7197
  Type: Type_2;
@@ -6087,16 +7199,16 @@ export declare interface PlannerKernelContainer {
6087
7199
  VariableArray: VariableArray_2;
6088
7200
  RangeArray: RangeArray_2;
6089
7201
  ParameterValueArray: ParameterValueArray_2;
6090
- ParameterArray: ParameterArray_2;
7202
+ ParameterArray: ParameterArray_3;
6091
7203
  ParameterGroupArray: ParameterGroupArray_2;
6092
7204
  PartListParameterArray: PartListParameterArray_2;
6093
7205
  ConfigurationArray: ConfigurationArray_2;
6094
7206
  PartArray: PartArray_2;
6095
- PossibleChildArray: PossibleChildArray_2;
6096
- AddOnSpotArray: AddOnSpotArray_2;
7207
+ PossibleChildArray: PossibleChildArray_3;
7208
+ AddOnSpotArray: AddOnSpotArray_3;
6097
7209
  PlanObjectList: PlanObjectList;
6098
7210
  ParamKeyValuePairArray: ParamKeyValuePairArray_2;
6099
- IntArray: IntArray_2;
7211
+ IntArray: IntArray_3;
6100
7212
  Kernel: ConfiguratorKernelClass;
6101
7213
  Unit: Unit_2;
6102
7214
  UnitStringType: UnitStringType_2;
@@ -6280,7 +7392,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6280
7392
  private _hide2dMeasurements;
6281
7393
  private _is2dMeasurementsOverlayDirty;
6282
7394
  private _debugSpheres;
6283
- constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode: Enumify_3<typeof CAMERA_TYPE>);
7395
+ constructor(creator: string, offset: CanvasOffset, plannerCallback: RoomlePlannerCallback, mode: Enumify<typeof CAMERA_TYPE>);
6284
7396
  isDragging(): boolean;
6285
7397
  protected _initializeMeshGeneratorSettings(): void;
6286
7398
  setHomagIntelligence(homagIntelligence: HomagIntelligence | null): void;
@@ -6323,7 +7435,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6323
7435
  private _resetCameraFacingVisibility;
6324
7436
  private _forceWallsAndCeiling;
6325
7437
  protected _getInputManager(): InputManager;
6326
- protected createCameraControl(mode: Enumify_3<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
7438
+ protected createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
6327
7439
  startViewing(): void;
6328
7440
  startConfiguring(): void;
6329
7441
  private _is3DView;
@@ -6337,10 +7449,10 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6337
7449
  requestCatalogItem(catalogItemId: string): void;
6338
7450
  private _staticItemsLoaded;
6339
7451
  preload(id: string): void;
6340
- planXMLLoaded(plan: Plan_2): void;
7452
+ planXMLLoaded(plan: Plan_3): void;
6341
7453
  private _activateCeilingLight;
6342
- planCompletelyLoaded(_plan: Plan_2): void;
6343
- handlerSwitchedPlans(fromPlan: Plan_2, toPlan: Plan_2): void;
7454
+ planCompletelyLoaded(_plan: Plan_3): void;
7455
+ handlerSwitchedPlans(fromPlan: Plan_3, toPlan: Plan_3): void;
6344
7456
  /**
6345
7457
  * Re-applies the persisted lamp on/off state after a plan finishes loading.
6346
7458
  * Reads the `lampOff` flag from each element's `customDataJson` (which the
@@ -6348,13 +7460,13 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6348
7460
  */
6349
7461
  private _restoreLampStates;
6350
7462
  private _itemsLoaded;
6351
- beginPlanConstruction(_plan: Plan_2): void;
6352
- addPlanMesh(_plan: Plan_2, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
6353
- endPlanConstruction(_plan: Plan_2): void;
7463
+ beginPlanConstruction(_plan: Plan_3): void;
7464
+ addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
7465
+ endPlanConstruction(_plan: Plan_3): void;
6354
7466
  addPlanObjectToScene(planViewModel: PlanObjectViewModel | null): Promise<void>;
6355
7467
  private _recycleLights;
6356
7468
  removePlanObjectFromScene(planViewModel: PlanElementViewModel | undefined): void;
6357
- planElementChanged(plan: Plan_2, planElementViewModel: PlanElementViewModel): void;
7469
+ planElementChanged(plan: Plan_3, planElementViewModel: PlanElementViewModel): void;
6358
7470
  exportGLB(options?: ModelExportOptions): Promise<void>;
6359
7471
  exportUSDZ(options?: ModelExportOptions): Promise<void>;
6360
7472
  importGLB(url: string): void;
@@ -6384,7 +7496,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6384
7496
  redo(): Promise<void>;
6385
7497
  private _reshowDimensionsAfterUndoRedo;
6386
7498
  protected _updateConfigurationFromHistory(configurationString: string): Promise<void>;
6387
- setMode(mode: Enumify_3<typeof CAMERA_TYPE>): void;
7499
+ setMode(mode: Enumify<typeof CAMERA_TYPE>): void;
6388
7500
  private _clearHighlighting;
6389
7501
  updateHighlightingOfPlanElements(): void;
6390
7502
  planObjectUpdated(planObject: PlanObjectKernel, geometryChanged: boolean, pendingDocking: boolean, automaticCalculationUpdate: boolean): void;
@@ -6392,9 +7504,9 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6392
7504
  highlightPlanElementsById(runtimeIds: number[] | null): void;
6393
7505
  highlightPlanElementById(runtimeId: number | null): void;
6394
7506
  destroy(): void;
6395
- planObjectConfigurationLoaded(plan: Plan_2, element: PlanElement_2, success: boolean): void;
6396
- planObjectConfigurationChanged(_plan: Plan_2, element: PlanElementViewModel): Promise<void>;
6397
- addMesh(_planElement: PlanElement_2, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array): void;
7507
+ planObjectConfigurationLoaded(plan: Plan_3, element: PlanElement_3, success: boolean): void;
7508
+ planObjectConfigurationChanged(_plan: Plan_3, element: PlanElementViewModel): Promise<void>;
7509
+ addMesh(_planElement: PlanElement_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array): void;
6398
7510
  updateCameraOnDrawWalls(): void;
6399
7511
  getBounds(): Box3;
6400
7512
  getGeometryBounds(): Box3 | null;
@@ -6407,7 +7519,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6407
7519
  rotatePlanElements(ids: RuntimeId[], rotateBy: number): void;
6408
7520
  rotatePlanElementSelection(rotateBy: number): void;
6409
7521
  planBoundsChanged(): void;
6410
- planElementRemoved(element: PlanElement_2): void;
7522
+ planElementRemoved(element: PlanElement_3): void;
6411
7523
  private _onPlanChanged;
6412
7524
  prepareTopImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
6413
7525
  preparePerspectiveImageOf(runtimeId: RuntimeId, options?: PrepareImageOptions): Promise<Base64Image>;
@@ -6434,8 +7546,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6434
7546
  getPositionForDragEvent(dragEvent: DragEvent | TouchEvent | {
6435
7547
  clientX: number;
6436
7548
  clientY: number;
6437
- }): Vector3 | null;
6438
- getPositionForLastPointer(): Vector3 | null;
7549
+ }): Vector3_2 | null;
7550
+ getPositionForLastPointer(): Vector3_2 | null;
6439
7551
  isPointerUp(): boolean;
6440
7552
  getPlannerSceneEventHandler(): PlannerSceneEventHandler;
6441
7553
  disablePlannerEvents(): void;
@@ -6522,7 +7634,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6522
7634
  enableEvents(): void;
6523
7635
  resetCameraPositionToStart(): void;
6524
7636
  moveCamera(cameraParameter: CameraParameter): Promise<void>;
6525
- protected _setInteriorOrExteriorWallMaterial(type: Enumify_3<typeof SET_WALL_MATERIAL_TYPE>, material: BatchPaintMaterial): void;
7637
+ protected _setInteriorOrExteriorWallMaterial(type: Enumify<typeof SET_WALL_MATERIAL_TYPE>, material: BatchPaintMaterial): void;
6526
7638
  changeInteriorWallsMaterial(material: BatchPaintMaterial): void;
6527
7639
  changeExteriorWallsMaterial(material: BatchPaintMaterial): void;
6528
7640
  changeFloorsMaterial(floors: KernelFloor[], material: BatchPaintMaterial): void;
@@ -6552,7 +7664,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6552
7664
  switchConfiguratorObject(clickedComponentId: number): Promise<void>;
6553
7665
  selectObjectComponent(planObjectComponent: KernelPlanObjectComponent, switchToConfigurator: boolean, selectComponent: boolean): Promise<void>;
6554
7666
  _swapObjectInConfigurator(planObjectComponent: KernelPlanObjectComponent): Promise<void>;
6555
- getObjectComponent(id: number, typeOfId: Enumify_3<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
7667
+ getObjectComponent(id: number, typeOfId: Enumify<typeof CORE_TYPE_OF_CORE_ID>): KernelPlanObjectComponent | null;
6556
7668
  getExternalObjectComponent(groupOrRootModuleId: string, subModuleId: string): KernelPlanObjectComponent;
6557
7669
  getCameraParameters3d(): CameraParameter | null;
6558
7670
  private _createCeilingLightGroup;
@@ -6576,7 +7688,7 @@ export declare interface PlanNode extends KernelObject {
6576
7688
  getNumberOfConnectedWalls(): number;
6577
7689
  }
6578
7690
 
6579
- export declare interface PlanObject extends PlanElement_2 {
7691
+ export declare interface PlanObject extends PlanElement_3 {
6580
7692
  size: KernelVector3;
6581
7693
  rotation: number;
6582
7694
  customLabel: string;
@@ -6599,11 +7711,63 @@ export declare interface PlanObject extends PlanElement_2 {
6599
7711
  isConstructionObjectProduct(): boolean;
6600
7712
  getWallDistances(): ObjectToWallLineArray;
6601
7713
  getRectangle(): Rectangle;
6602
- getRotationToPreferredFront(): ObjectFrontRotation;
7714
+ getRotationToPreferredFront(): ObjectFrontRotation_2;
6603
7715
  isRootComponentOfChildObject(componentRuntimeId: number): boolean;
6604
7716
  getReplacementConstructionId(): number;
6605
7717
  }
6606
7718
 
7719
+ export declare interface PlanObject_2 extends PlanElement_2 {
7720
+ new (): PlanObject_2;
7721
+ getCatalogItemId(): string;
7722
+ getOpenConversationId(): number;
7723
+ getConfigurationRuntimeId(): number;
7724
+ getReplacementConstructionId(): number;
7725
+ getObjectType(): string;
7726
+ getObjectCategory(): ObjectTypeCategory;
7727
+ hasConfiguration(): boolean;
7728
+ isAdjustable(): boolean;
7729
+ isExternalObject(): boolean;
7730
+ isConstructionObjectProduct(): boolean;
7731
+ retrieveConfigurationId(): UniqueIdAndHash;
7732
+ getConfiguration(): string;
7733
+ isConfigurationLoaded(): boolean;
7734
+ getRectangle(): ExtrudedRectangle;
7735
+ getWallDistances(): LineArray;
7736
+ getRotationToPreferredFront(): ObjectFrontRotation;
7737
+ isRootComponentOfChildObject(componentRuntimeId: number): boolean;
7738
+ readonly customLabel: string;
7739
+ readonly roll: number;
7740
+ readonly pitch: number;
7741
+ readonly entityYaw: number;
7742
+ readonly rotation: number;
7743
+ readonly rgbColor: number;
7744
+ readonly useCustomColor: boolean;
7745
+ readonly level: number;
7746
+ readonly flipX: boolean;
7747
+ readonly flipXEnabled: boolean;
7748
+ readonly flipY: boolean;
7749
+ readonly flipYEnabled: boolean;
7750
+ readonly fixedZ: boolean;
7751
+ size: Vector3;
7752
+ readonly boxForMeasurement: Box;
7753
+ readonly measurementBounds: AssembledObjectBounds;
7754
+ }
7755
+
7756
+ export declare interface PlanObject_3 {
7757
+ animations: Animation_2[];
7758
+ boxForMeasurement: Box;
7759
+ dimensioningAxes: DimensioningAxis_2[];
7760
+ dimensionings: Dimensioning_2[];
7761
+ externalId: string;
7762
+ externalObject: boolean;
7763
+ geometryBounds: Box;
7764
+ geometryBoundsWithEnvironment: Box;
7765
+ id: number;
7766
+ parameterGroups: ParameterGroup[];
7767
+ parameters: Parameter[];
7768
+ rootPlanComponentId: number;
7769
+ }
7770
+
6607
7771
  export declare interface PlanObjectKernel {
6608
7772
  geometryBounds: KernelCube;
6609
7773
  boxForMeasurement: KernelCube;
@@ -6647,6 +7811,8 @@ export declare abstract class PlanObjectPtr extends AbstractModelWrapper {
6647
7811
  export declare class PlanObjectPtrList extends EmsList<PlanObjectPtr> {
6648
7812
  }
6649
7813
 
7814
+ export declare type PlanObjectPtrList_2 = EmscriptenList_2<PlanObject_2>;
7815
+
6650
7816
  export declare class PlanObjectPtrVector extends EmsArray<PlanObjectPtr> {
6651
7817
  }
6652
7818
 
@@ -6667,8 +7833,8 @@ export declare class PlanObjectViewModel extends PlanElementViewModel {
6667
7833
  isInitDone(): Promise<void>;
6668
7834
  clear(): void;
6669
7835
  getPlanObject(): PlanObject;
6670
- getSize(): Vector3;
6671
- getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]): Nullable_2<ObjectMeasurements>;
7836
+ getSize(): Vector3_2;
7837
+ getObjectMeasurements(zoomFactor: number, clientWidth: number, clientHeight: number, otherObjects?: NeighboringObjectMeasurementInfo[]): Nullable<ObjectMeasurements>;
6672
7838
  update(): void;
6673
7839
  }
6674
7840
 
@@ -6676,7 +7842,7 @@ export declare interface PlanOverview {
6676
7842
  area: number;
6677
7843
  bounds: KernelCube;
6678
7844
  objects: KernelPlanObjectList;
6679
- outsideWalls: PlanElement_2[];
7845
+ outsideWalls: PlanElement_3[];
6680
7846
  rooms: PlanOverviewRoom[];
6681
7847
  }
6682
7848
 
@@ -6697,6 +7863,11 @@ export declare abstract class PlanText extends PlanElement {
6697
7863
  getText(): string;
6698
7864
  }
6699
7865
 
7866
+ export declare interface PlanText_2 extends PlanElement_2 {
7867
+ new (): PlanText_2;
7868
+ getText(): string;
7869
+ }
7870
+
6700
7871
  export declare interface PlanView extends KernelPlanViewStyle {
6701
7872
  id: number;
6702
7873
  viewType: PlanViewType;
@@ -6741,9 +7912,9 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
6741
7912
  startedDrawing(): void;
6742
7913
  stoppedDrawing(): void;
6743
7914
  planBoundsChanged(): void;
6744
- setReference(plan: Plan_2): void;
7915
+ setReference(plan: Plan_3): void;
6745
7916
  clearReference(): void;
6746
- getCorePlan(): Plan_2;
7917
+ getCorePlan(): Plan_3;
6747
7918
  addPlanElementViewModel(planElementViewModel: PlanElementViewModel): void;
6748
7919
  private _handleConfiguratorPlanObjectViewModel;
6749
7920
  private _linkPlanObjectViewModelAndComponent;
@@ -6832,19 +8003,19 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
6832
8003
  protected _setMaterial(mesh: Mesh, material: any, _type?: KernelEnum, materialAttributes?: Record<string, string>): void;
6833
8004
  Editor3dComponentCreated(componentDocking: KernelComponentDocking): void;
6834
8005
  addPlanObjectToScene(_planViewModel: PlanObjectViewModel | null): void;
6835
- handlerSwitchedPlans(_fromPlan: Plan_2, _toPlan: Plan_2): void;
6836
- planCompletelyLoaded(_plan: Plan_2): void;
6837
- beginPlanConstruction(_plan: Plan_2): void;
6838
- addPlanMesh(_plan: Plan_2, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
6839
- endPlanConstruction(_plan: Plan_2): void;
6840
- planElementChanged(_plan: Plan_2, _planObject: PlanElementViewModel): void;
6841
- planObjectConfigurationLoaded(_plan: Plan_2, planElement: PlanElement_2, success: boolean): void;
8006
+ handlerSwitchedPlans(_fromPlan: Plan_3, _toPlan: Plan_3): void;
8007
+ planCompletelyLoaded(_plan: Plan_3): void;
8008
+ beginPlanConstruction(_plan: Plan_3): void;
8009
+ addPlanMesh(_plan: Plan_3, _material: any, _vertices: Float32Array, _indices: Int32Array, _uvCoords: Float32Array, _normals: Float32Array, _type: KernelEnum): void;
8010
+ endPlanConstruction(_plan: Plan_3): void;
8011
+ planElementChanged(_plan: Plan_3, _planObject: PlanElementViewModel): void;
8012
+ planObjectConfigurationLoaded(_plan: Plan_3, planElement: PlanElement_3, success: boolean): void;
6842
8013
  recomputeConfigurableBoundingBoxes(): void;
6843
- planObjectConfigurationChanged(_plan: Plan_2, _element: PlanElementViewModel): void;
6844
- addMesh(planElement: PlanElement_2, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
8014
+ planObjectConfigurationChanged(_plan: Plan_3, _element: PlanElementViewModel): void;
8015
+ addMesh(planElement: PlanElement_3, material: any, vertices: Float32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array): void;
6845
8016
  removePlanObjectFromScene(planElementViewModel: PlanElementViewModel | undefined): void;
6846
8017
  private _isConstructionType;
6847
- planElementRemoved(element: PlanElement_2): void;
8018
+ planElementRemoved(element: PlanElement_3): void;
6848
8019
  private _removeObject;
6849
8020
  protected getMeshGenerator(): MeshGenerator;
6850
8021
  componentConfigurationUpdated(runtimeComponentId: number, geometryChanged: boolean): void;
@@ -6856,8 +8027,8 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
6856
8027
  showAll(): void;
6857
8028
  planHistoryStateChanged(): void;
6858
8029
  setNodeVisibility(visible: boolean): void;
6859
- setCameraType(cameraType: Enumify_3<typeof CAMERA_TYPE>): Promise<void>;
6860
- get cameraType(): Enumify_3<typeof CAMERA_TYPE>;
8030
+ setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): Promise<void>;
8031
+ get cameraType(): Enumify<typeof CAMERA_TYPE>;
6861
8032
  setNodeZoom(zoom: number): void;
6862
8033
  planCleared(): void;
6863
8034
  requestCatalogItem(_catalogItemId: string): void;
@@ -6871,6 +8042,10 @@ export declare interface PlanViewType {
6871
8042
  value: Enumify<typeof CORE_PLAN_VIEW_TYPE>;
6872
8043
  }
6873
8044
 
8045
+ export declare interface PlanViewType_2 {
8046
+ value: Enumify_3<typeof CORE_PLAN_VIEW_TYPE_2>;
8047
+ }
8048
+
6874
8049
  export declare interface PluginConfigMap {
6875
8050
  'external-objects': RapiConfigurationEnhanced | ExternalConfiguration;
6876
8051
  }
@@ -6886,21 +8061,23 @@ export declare class PluginSystem implements Context, ScenePluginHooks {
6886
8061
  private _cameraPosition;
6887
8062
  private _plugins;
6888
8063
  constructor(creator: string);
6889
- init(scene: Scene, uiScene: Scene, cameraPosition: Vector3): Promise<void>;
8064
+ init(scene: Scene, uiScene: Scene, cameraPosition: Vector3_2): Promise<void>;
6890
8065
  addPlugin(plugin: ScenePlugin): void;
6891
8066
  updateBounds(bounds: Box3): void;
6892
8067
  clearScene(scene: Scene, uiScene: Scene): void;
6893
8068
  getActivePlugins(): ScenePlugin[];
6894
8069
  getPlugin<T extends ScenePlugin>(type: any): T | null;
6895
- moveCameraEnd(position: Vector3): void;
6896
- moveCameraStart(position: Vector3): void;
8070
+ moveCameraEnd(position: Vector3_2): void;
8071
+ moveCameraStart(position: Vector3_2): void;
6897
8072
  needsUiScene(): boolean;
6898
8073
  }
6899
8074
 
6900
8075
  export declare class PointArray extends EmsArray<KernelVector3f> {
6901
8076
  }
6902
8077
 
6903
- export declare class PointArray_2 extends EmsArray<KernelVector3f> {
8078
+ export declare type PointArray_2 = EmscriptenArray<Vector3>;
8079
+
8080
+ export declare class PointArray_3 extends EmsArray<KernelVector3f> {
6904
8081
  }
6905
8082
 
6906
8083
  export declare interface PointerInputEvent {
@@ -7158,10 +8335,20 @@ export declare interface PosSaveData {
7158
8335
  rooms?: PosContour[];
7159
8336
  }
7160
8337
 
8338
+ export declare interface PossibleChild {
8339
+ componentId: string;
8340
+ group: string;
8341
+ isDefault: boolean;
8342
+ itemId: string;
8343
+ possible: boolean;
8344
+ }
8345
+
7161
8346
  export declare class PossibleChildArray extends EmsArray<KernelPossibleChild> {
7162
8347
  }
7163
8348
 
7164
- export declare class PossibleChildArray_2 extends EmsArray<KernelPossibleChild> {
8349
+ export declare type PossibleChildArray_2 = EmscriptenArray<PossibleChild>;
8350
+
8351
+ export declare class PossibleChildArray_3 extends EmsArray<KernelPossibleChild> {
7165
8352
  }
7166
8353
 
7167
8354
  export declare interface PossibleChildPreviewElement {
@@ -7212,19 +8399,19 @@ export declare interface PreviewComponent extends RoomleComponent {
7212
8399
  stringId: string;
7213
8400
  receivedPointAssociation: boolean;
7214
8401
  dockInsertAnimation?: DragInsertAnimation;
7215
- clickPosition?: Vector3;
8402
+ clickPosition?: Vector3_2;
7216
8403
  clonePreview(cloneId: string): PreviewComponent;
7217
8404
  preparePreview(): void;
7218
8405
  startPulsating(): void;
7219
- updateClickPosition(intersectionPoint: Vector3): void;
8406
+ updateClickPosition(intersectionPoint: Vector3_2): void;
7220
8407
  }
7221
8408
 
7222
8409
  export declare interface PreviewLineComponent extends PreviewComponent {
7223
- lineFrom: Vector3;
7224
- lineTo: Vector3;
8410
+ lineFrom: Vector3_2;
8411
+ lineTo: Vector3_2;
7225
8412
  lineSegments: PreviewLineSegment[];
7226
- positionFrom: Vector3;
7227
- positionTo: Vector3;
8413
+ positionFrom: Vector3_2;
8414
+ positionTo: Vector3_2;
7228
8415
  roomleLineFrom: KernelVector3;
7229
8416
  roomleLineTo: KernelVector3;
7230
8417
  roomlePositionFrom: KernelVector3;
@@ -7233,8 +8420,8 @@ export declare interface PreviewLineComponent extends PreviewComponent {
7233
8420
  lineMesh: Mesh;
7234
8421
  boundingLineMesh: RoomleEventedMesh;
7235
8422
  clonePreviewLine(cloneId: string): PreviewLineComponent;
7236
- getPositionForIntersectionPoint(intersectionPoint: Vector3): Vector3;
7237
- updatePreviewPosition(intersectionPoint: Vector3): void;
8423
+ getPositionForIntersectionPoint(intersectionPoint: Vector3_2): Vector3_2;
8424
+ updatePreviewPosition(intersectionPoint: Vector3_2): void;
7238
8425
  hideSelectionLine(): void;
7239
8426
  }
7240
8427
 
@@ -7277,6 +8464,13 @@ export declare class PromiseQueue<T> {
7277
8464
  get length(): number;
7278
8465
  }
7279
8466
 
8467
+ export declare interface Range_2 {
8468
+ step: number;
8469
+ type: string;
8470
+ valueFrom: number;
8471
+ valueTo: number;
8472
+ }
8473
+
7280
8474
  export declare class RangeArray extends EmsArray<KernelRange> {
7281
8475
  }
7282
8476
 
@@ -8008,7 +9202,7 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
8008
9202
  private _onRotate;
8009
9203
  private _positionPlanes;
8010
9204
  private _calculateOffset;
8011
- update(bounds: Vector3 | null, rootComponentPosition: Vector3 | null, backgroundScene: Scene | null): void;
9205
+ update(bounds: Vector3_2 | null, rootComponentPosition: Vector3_2 | null, backgroundScene: Scene | null): void;
8012
9206
  clear(): void;
8013
9207
  enableDragIn(mesh: RoomleEventedMesh): void;
8014
9208
  setRootComponentId(rootComponentId: number): void;
@@ -8018,18 +9212,30 @@ export declare class RaycastHelper extends EventDispatcher<Record<RAYCAST_EVENT,
8018
9212
  intersectMouseOnScene(event: Pick<PointerInputEvent, 'positionRelative'>): KernelVector3 | null;
8019
9213
  enableOnWallSnapping(): void;
8020
9214
  disableOnWallSnapping(): void;
8021
- getCameraPosition(): Vector3;
9215
+ getCameraPosition(): Vector3_2;
8022
9216
  }
8023
9217
 
8024
9218
  export declare interface Rectangle {
8025
9219
  angle: number;
8026
9220
  center: KernelVector3f;
8027
- cornerPoints: PointArray_2;
8028
- referencePoints: RectangleReferencePoints;
9221
+ cornerPoints: PointArray_3;
9222
+ referencePoints: RectangleReferencePoints_2;
8029
9223
  size: KernelVector3f;
8030
9224
  }
8031
9225
 
8032
9226
  export declare interface RectangleReferencePoints {
9227
+ bottom: Vector3;
9228
+ bottomLeft: Vector3;
9229
+ bottomRight: Vector3;
9230
+ center: Vector3;
9231
+ left: Vector3;
9232
+ right: Vector3;
9233
+ top: Vector3;
9234
+ topLeft: Vector3;
9235
+ topRight: Vector3;
9236
+ }
9237
+
9238
+ export declare interface RectangleReferencePoints_2 {
8033
9239
  bottom: KernelVector3;
8034
9240
  bottomLeft: KernelVector3;
8035
9241
  bottomRight: KernelVector3;
@@ -8041,7 +9247,7 @@ export declare interface RectangleReferencePoints {
8041
9247
  topRight: KernelVector3;
8042
9248
  }
8043
9249
 
8044
- export declare const removeExtObjIdPrefix: (id: ExtObjId_2) => string;
9250
+ export declare const removeExtObjIdPrefix: (id: ExtObjId) => string;
8045
9251
 
8046
9252
  export declare type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
8047
9253
 
@@ -8057,6 +9263,10 @@ export declare const enum ResizingAnchor {
8057
9263
  Right = 8
8058
9264
  }
8059
9265
 
9266
+ export declare interface ResizingAnchor_2 {
9267
+ value: Enumify_2<typeof CORE_RESIZING_ANCHOR>;
9268
+ }
9269
+
8060
9270
  export declare class RoomDesignerApi implements RoomDesignerRequests {
8061
9271
  private _roomlePlanner;
8062
9272
  constructor(roomlePlanner: RoomlePlannerType);
@@ -9721,7 +10931,7 @@ export declare type RoomlePlannerType = RoomlePlanner | RoomlePlannerWithExtObjs
9721
10931
  export declare class RoomlePlannerUiCallback extends UiCallback implements ExternalObjectUiCallback {
9722
10932
  constructor(creator: string);
9723
10933
  onItemsLoaded: () => void;
9724
- onCameraChanged: (type: Enumify_4<typeof CAMERA_TYPE>) => void;
10934
+ onCameraChanged: (type: Enumify<typeof CAMERA_TYPE>) => void;
9725
10935
  onCameraIdle: () => void;
9726
10936
  onTotalFloorAreaChanged: (totalFloorArea: number) => void;
9727
10937
  onPlanInteractionManagerCreated: (planInteractionManager: PlanInteractionManager) => void;
@@ -9759,7 +10969,7 @@ export declare class RoomlePlannerUiCallback extends UiCallback implements Exter
9759
10969
  * When an element in the plan has been added, removed or changed
9760
10970
  * null if changed, added or removed object is not a item or configuration, such as a wall or construction element
9761
10971
  */
9762
- onPlanElementChanged: (changeType: Enumify_4<typeof PLAN_ELEMENT_CHANGE_TYPES>, changedObject: UiPlanObject) => void;
10972
+ onPlanElementChanged: (changeType: Enumify<typeof PLAN_ELEMENT_CHANGE_TYPES>, changedObject: UiPlanObject) => void;
9763
10973
  /**
9764
10974
  * When the plan has been completely loaded
9765
10975
  */
@@ -9896,7 +11106,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
9896
11106
  renderer: RendererType;
9897
11107
  protected isConfiguratorMode: boolean;
9898
11108
  protected isCameraMoving: boolean;
9899
- protected cameraType: Enumify_4<typeof CAMERA_TYPE>;
11109
+ protected cameraType: Enumify<typeof CAMERA_TYPE>;
9900
11110
  protected shadowNeedsUpdate: boolean;
9901
11111
  protected boundingBox: Box3;
9902
11112
  protected boundingBoxNeedsUpdate: boolean;
@@ -9905,7 +11115,7 @@ export declare abstract class RoomleRenderer<RendererType extends WebGLRenderer
9905
11115
  dispose(): void;
9906
11116
  setSize(width: number, height: number): void;
9907
11117
  getSize(target: Vector2): Vector2;
9908
- setCameraType(cameraType: Enumify_4<typeof CAMERA_TYPE>): void;
11118
+ setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
9909
11119
  movingCameraStarts(): void;
9910
11120
  movingCameraStops(): void;
9911
11121
  forceShadowUpdates(_updateBakedGroundShadow: boolean): void;
@@ -10008,7 +11218,7 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
10008
11218
  clearCache(): void;
10009
11219
  disableUiInteractionMode(): void;
10010
11220
  enableUiInteractionMode(): void;
10011
- setCameraType(cameraType: Enumify_3<typeof CAMERA_TYPE>): void;
11221
+ setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
10012
11222
  switchToConfigurator(): void;
10013
11223
  switchToPlanner(renderMode: PlannerRenderMode): void;
10014
11224
  highlightObjects(selectedMeshes: Object3D_2[]): void;
@@ -10038,13 +11248,18 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
10038
11248
  export declare interface RoomLightSourceDistribution {
10039
11249
  ceilingId: number;
10040
11250
  floorId: number;
10041
- positionsInPlan: PointArray_2;
10042
- positionsRelativeToFloor: PointArray_2;
11251
+ positionsInPlan: PointArray_3;
11252
+ positionsRelativeToFloor: PointArray_3;
10043
11253
  }
10044
11254
 
10045
11255
  export declare class RoomLightSourceDistributionArray extends EmsArray<RoomLightSourceDistribution> {
10046
11256
  }
10047
11257
 
11258
+ export declare interface RoomWall {
11259
+ roomSide: WallSide_2;
11260
+ wall: Wall_2;
11261
+ }
11262
+
10048
11263
  /**
10049
11264
  * Shared API between configurator and planner
10050
11265
  */
@@ -10179,7 +11394,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
10179
11394
  protected _isInteriorLightActive: boolean;
10180
11395
  protected _perspectiveOffsetCamera: PerspectiveOffsetCamera | null;
10181
11396
  protected _orthographicOffsetCamera: OrthographicOffsetCamera | null;
10182
- protected abstract createCameraControl(mode: Enumify_3<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
11397
+ protected abstract createCameraControl(mode: Enumify<typeof CAMERA_TYPE>, offset: CanvasOffset): void;
10183
11398
  protected abstract _getInputManager(): InputManager;
10184
11399
  get cameraBehaviour(): CameraBehaviour;
10185
11400
  protected _scheduleRenderLoopFunction(renderLoopFunction: () => void): void;
@@ -10193,7 +11408,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
10193
11408
  abstract getGeometryBounds(): Box3 | null;
10194
11409
  protected onBeforeRender(): void;
10195
11410
  protected _onAfterRender: () => void;
10196
- protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode: Enumify_3<typeof CAMERA_TYPE>);
11411
+ protected constructor(creator: string, offset: CanvasOffset, canvasID: string, mode: Enumify<typeof CAMERA_TYPE>);
10197
11412
  addEventListener(_listener: LifeCycleCallbacks): void;
10198
11413
  removeEventListener(_listener: LifeCycleCallbacks): void;
10199
11414
  get lightCache(): LightCache | null;
@@ -10236,8 +11451,8 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
10236
11451
  cleanUp(): void;
10237
11452
  clearScene(): void;
10238
11453
  enableHD(source?: DynamicLightSettingSource): void;
10239
- protected _loadGLTF(gltfJSON: string, position?: Vector3, rotation?: number, size?: Vector3, scale?: Vector3, color?: number, callback?: (percent: number) => void): Promise<Object3D>;
10240
- protected _loadGLB(url: string, position?: Vector3, rotation?: number, size?: Vector3, scale?: Vector3, color?: number, colorable?: boolean, callback?: (percent: number) => void): Promise<Object3D>;
11454
+ protected _loadGLTF(gltfJSON: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, callback?: (percent: number) => void): Promise<Object3D>;
11455
+ protected _loadGLB(url: string, position?: Vector3_2, rotation?: number, size?: Vector3_2, scale?: Vector3_2, color?: number, colorable?: boolean, callback?: (percent: number) => void): Promise<Object3D>;
10241
11456
  showGUI(): Promise<void>;
10242
11457
  protected initializeWebGLGUI(): void;
10243
11458
  protected initializeWebGPUGUI(roomleWebGPURenderer: RoomleWebGPURenderer): void;
@@ -10291,8 +11506,8 @@ export declare interface ScenePlugin extends ScenePluginHooks, Context {
10291
11506
  export declare interface ScenePluginHooks {
10292
11507
  updateBounds(bounds: Box3): void;
10293
11508
  clearScene(scene: Scene, uiScene: Scene): void;
10294
- moveCameraEnd(position: Vector3): void;
10295
- moveCameraStart(position: Vector3): void;
11509
+ moveCameraEnd(position: Vector3_2): void;
11510
+ moveCameraStart(position: Vector3_2): void;
10296
11511
  needsUiScene(): boolean;
10297
11512
  }
10298
11513
 
@@ -10301,7 +11516,7 @@ export declare interface SceneSettings {
10301
11516
  lights: DynamicLight[];
10302
11517
  }
10303
11518
 
10304
- export declare type SceneShadingType = Enumify_2<typeof SCENE_SHADING_TYPES>;
11519
+ export declare type SceneShadingType = Enumify<typeof SCENE_SHADING_TYPES>;
10305
11520
 
10306
11521
  export declare interface ScriptData {
10307
11522
  name: string;
@@ -10365,6 +11580,8 @@ export declare class SinglePromiseFactory implements Context {
10365
11580
  export declare class SizeTArray extends EmsArray<number> {
10366
11581
  }
10367
11582
 
11583
+ export declare type SizeTArray_2 = EmscriptenArray<number>;
11584
+
10368
11585
  export declare const SKY_EVENT: {
10369
11586
  readonly ENTERED_PLANNER: "sky:entered-planner";
10370
11587
  readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
@@ -10385,7 +11602,11 @@ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap>
10385
11602
  notifyEnteredConfigurator(): void;
10386
11603
  }
10387
11604
 
10388
- export declare const enum SnapMode {
11605
+ export declare interface SnapMode {
11606
+ value: Enumify_2<typeof CORE_SNAP_MODE>;
11607
+ }
11608
+
11609
+ export declare const enum SnapMode_2 {
10389
11610
  OFF = 0,
10390
11611
  ON_COLLISION = 1,
10391
11612
  ON_COLLISION_ROTATE_WITHIN_DISTANCE = 2,
@@ -10763,8 +11984,8 @@ export declare class UndoRedoHandler {
10763
11984
  private reset;
10764
11985
  undo(): void;
10765
11986
  redo(): void;
10766
- loadPlanXML(xml: string): Plan_2;
10767
- createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_2;
11987
+ loadPlanXML(xml: string): Plan_3;
11988
+ createPlanWithObjectFromItem(object: KernelObject, position: KernelVector3, rotationInRad: number): Plan_3;
10768
11989
  endDrawing(point: {
10769
11990
  x: number;
10770
11991
  y: number;
@@ -10805,6 +12026,12 @@ export declare class UndoRedoHandler {
10805
12026
  onCoreLoad(reason: HiLoadObjectReason): void;
10806
12027
  }
10807
12028
 
12029
+ export declare interface UniqueIdAndHash {
12030
+ hash: string;
12031
+ libraryId: string;
12032
+ uniqueId: string;
12033
+ }
12034
+
10808
12035
  export declare const enum Unit {
10809
12036
  InchFeet = 0,
10810
12037
  MM = 1,
@@ -10922,6 +12149,8 @@ export declare const enum UnitType_2 {
10922
12149
  COUNT = 3
10923
12150
  }
10924
12151
 
12152
+ export declare type UnitTypeString = Enumify_3<typeof CORE_UNIT_TYPE_STRING>;
12153
+
10925
12154
  export declare type UseIdbStore = <T>(txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
10926
12155
 
10927
12156
  export declare interface UserAction {
@@ -10955,6 +12184,16 @@ export declare interface VariantsList {
10955
12184
  export declare class Vector2fArray extends EmsArray<KernelVector2f> {
10956
12185
  }
10957
12186
 
12187
+ export declare interface Vector3 {
12188
+ x: number;
12189
+ y: number;
12190
+ z: number;
12191
+ }
12192
+
12193
+ export declare interface ViewType {
12194
+ value: Enumify_3<typeof CORE_VIEW_TYPE>;
12195
+ }
12196
+
10958
12197
  export declare class Wall extends PlanObjectPtr {
10959
12198
  readonly thickness: number;
10960
12199
  readonly height: number;
@@ -10980,6 +12219,36 @@ export declare class Wall extends PlanObjectPtr {
10980
12219
  getPointWithHeight(aHeight: number): KernelVector3f;
10981
12220
  }
10982
12221
 
12222
+ export declare interface Wall_2 extends PlanElement_2 {
12223
+ new (): Wall_2;
12224
+ getFrom(): Node_3;
12225
+ getTo(): Node_3;
12226
+ getAttachedAttics(): AtticArray;
12227
+ getCornerFromLeft(): Vector3;
12228
+ getCornerFromRight(): Vector3;
12229
+ getCornerToLeft(): Vector3;
12230
+ getCornerToRight(): Vector3;
12231
+ getAngle(): number;
12232
+ getLength(side: WallSide_2): number;
12233
+ getSlopingLength(): number;
12234
+ getPreferredSide(): WallSide_2;
12235
+ getAttachedObjects(): ConstructionObjectSet_2;
12236
+ getAttachedObjectsExtRefArray(): SizeTArray_2;
12237
+ getCenter(): Vector3;
12238
+ getHeightAt(aPoint: Vector3): number;
12239
+ getPointWithHeight(aHeight: number): Vector3;
12240
+ readonly meshThickness: number;
12241
+ readonly isVectorWall: boolean;
12242
+ readonly thickness: number;
12243
+ readonly height: number;
12244
+ readonly leftMaterial: WallMaterial_2;
12245
+ readonly rightMaterial: WallMaterial_2;
12246
+ readonly wallType: WallType;
12247
+ readonly leftNormal: Vector3;
12248
+ readonly rightNormal: Vector3;
12249
+ readonly edgeType: EdgeType;
12250
+ }
12251
+
10983
12252
  export declare const WALL_SIDES: {
10984
12253
  readonly LEFT: 0;
10985
12254
  readonly RIGHT: 1;
@@ -11002,7 +12271,7 @@ export declare interface WallDefinition {
11002
12271
  };
11003
12272
  }
11004
12273
 
11005
- export declare type WallDimension = DimensionDefinition<Vector3, Vector3> & {
12274
+ export declare type WallDimension = DimensionDefinition<Vector3_2, Vector3_2> & {
11006
12275
  label?: string;
11007
12276
  measurementKind?: WallMeasurementKind;
11008
12277
  slopingMeasurement?: WallMeasurementVariant;
@@ -11020,9 +12289,17 @@ export declare interface WallExtensionType {
11020
12289
  ExtendBoth: EMSConstant;
11021
12290
  }
11022
12291
 
12292
+ export declare interface WallExtensionType_2 {
12293
+ value: Enumify_2<typeof CORE_WALL_EXTENSION_TYPE>;
12294
+ }
12295
+
11023
12296
  export declare class WallMaterial extends BaseMaterial {
11024
12297
  }
11025
12298
 
12299
+ export declare interface WallMaterial_2 extends BaseMaterial_2 {
12300
+ new (): WallMaterial_2;
12301
+ }
12302
+
11026
12303
  export declare type WallMeasurementKind = 'edge2d' | 'sloping';
11027
12304
 
11028
12305
  export declare interface WallMeasurementVariant {
@@ -11103,6 +12380,14 @@ export declare interface WallSide {
11103
12380
  value: Enumify<typeof WALL_SIDES>;
11104
12381
  }
11105
12382
 
12383
+ export declare interface WallSide_2 {
12384
+ value: Enumify_2<typeof CORE_WALL_SIDE>;
12385
+ }
12386
+
12387
+ export declare interface WallType {
12388
+ value: Enumify_2<typeof CORE_WALL_TYPE>;
12389
+ }
12390
+
11106
12391
  export declare const WEBGPU_TONE_MAPPINGS: {
11107
12392
  readonly NONE: "none";
11108
12393
  readonly LINEAR: "linear";
@@ -11393,7 +12678,7 @@ export declare interface WebGpuSSGIConfigDefinition {
11393
12678
  aoDenoiseRadius?: number;
11394
12679
  }
11395
12680
 
11396
- export declare type WebGpuToneMapping = Enumify_3<typeof WEBGPU_TONE_MAPPINGS>;
12681
+ export declare type WebGpuToneMapping = Enumify<typeof WEBGPU_TONE_MAPPINGS>;
11397
12682
 
11398
12683
  export declare class WebGpuTopLightConfig implements WebGpuTopLightConfigDefinition {
11399
12684
  intensity: number;
@@ -11421,6 +12706,16 @@ export declare interface WebGpuTopLightConfigDefinition {
11421
12706
  shadowRadius?: number;
11422
12707
  }
11423
12708
 
12709
+ export declare const enum WORKER_MESSAGE {
12710
+ PREFIX = 0,
12711
+ INIT = 1,
12712
+ ERROR = 2,
12713
+ ASSET_LOADED = 3,
12714
+ INIT_DONE = 4,
12715
+ LOAD_ASSET = 5,
12716
+ SW_CLAIMED_CONTROL = 6
12717
+ }
12718
+
11424
12719
  export declare class ZoomChangeEvent {
11425
12720
  minZoom: boolean;
11426
12721
  maxZoom: boolean;
@@ -11430,18 +12725,10 @@ export declare class ZoomChangeEvent {
11430
12725
  export { }
11431
12726
 
11432
12727
  declare global {
11433
- // @ts-ignore -- just for testing
11434
- const THREE: typeof __THREE; // eslint-disable-line
11435
- // @ts-ignore -- just for testing
11436
- const dat: typeof __dat; // eslint-disable-line
11437
- // @ts-ignore -- just for testing
11438
- const WebAssembly: any; // eslint-disable-line
11439
12728
  interface Window {
11440
12729
  KernelCallback?: { isReady: () => void } | null;
11441
- __RML_WEBGL_GUI__: GUI; // eslint-disable-line
11442
12730
  __RML__DEBUG__?: Debug;
11443
12731
  __RML__ENV__?: ExternalEnv;
11444
- _rsl: { [key: string]: ThreeShader };
11445
12732
  THREE?: any;
11446
12733
  }
11447
12734
  }