@roomle/web-sdk 4.3.0-alpha.3 → 4.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{api-1PNZF4e6.mjs → api-C-enDIJZ.mjs} +2 -2
- package/lib/{api-1PNZF4e6.mjs.map → api-C-enDIJZ.mjs.map} +1 -1
- package/lib/asset-loader.worker-eqHzNAwa.mjs.map +1 -1
- package/lib/banana-for-scale-DGYmxeBG.mjs.map +1 -1
- package/lib/budgeteer.sw-BUMElkO1.mjs.map +1 -1
- package/lib/{component-dimensioning-BXN285kw.mjs → component-dimensioning-rJ6hbyvw.mjs} +2 -2
- package/lib/{component-dimensioning-BXN285kw.mjs.map → component-dimensioning-rJ6hbyvw.mjs.map} +1 -1
- package/lib/{component-raycast-helper-CADFRMLS.mjs → component-raycast-helper-CLX5fLt9.mjs} +2 -2
- package/lib/{component-raycast-helper-CADFRMLS.mjs.map → component-raycast-helper-CLX5fLt9.mjs.map} +1 -1
- package/lib/configurator-BfdyDYqe.mjs +2 -0
- package/lib/{configurator-BMXr72V6.mjs → configurator-D8Bfu2_w.mjs} +4 -4
- package/lib/{configurator-BMXr72V6.mjs.map → configurator-D8Bfu2_w.mjs.map} +1 -1
- package/lib/glb-viewer-BFYG-bD2.mjs +2 -0
- package/lib/{glb-viewer-CFMOHQk3.mjs → glb-viewer-DMg1tKfk.mjs} +11 -11
- package/lib/{glb-viewer-CFMOHQk3.mjs.map → glb-viewer-DMg1tKfk.mjs.map} +1 -1
- package/lib/{highlight-coordinator-RCfVwPHC.mjs → highlight-coordinator-JwAVkMeS.mjs} +2 -2
- package/lib/{highlight-coordinator-RCfVwPHC.mjs.map → highlight-coordinator-JwAVkMeS.mjs.map} +1 -1
- package/lib/{homag-intelligence-BcNm3Zg8.mjs → homag-intelligence-CbzWp4pY.mjs} +3 -3
- package/lib/{homag-intelligence-BcNm3Zg8.mjs.map → homag-intelligence-CbzWp4pY.mjs.map} +1 -1
- package/lib/{material-viewer-DlLHNvj_.mjs → material-viewer-C4oV4F7e.mjs} +19 -19
- package/lib/{material-viewer-DlLHNvj_.mjs.map → material-viewer-C4oV4F7e.mjs.map} +1 -1
- package/lib/{packages-BKnJk02a.mjs → packages-Pc3dsyed.mjs} +5 -5
- package/lib/{packages-BKnJk02a.mjs.map → packages-Pc3dsyed.mjs.map} +1 -1
- package/lib/{planner-BLcwLi9h.mjs → planner-B3IWgziF.mjs} +3 -3
- package/lib/{planner-BLcwLi9h.mjs.map → planner-B3IWgziF.mjs.map} +1 -1
- package/lib/planner-BhnBEaPV.mjs +2 -0
- package/lib/roomle-headless.d.ts +25 -1
- package/lib/roomle-headless.js +9 -9
- package/lib/{roomle-sdk-DdQjEWNK.mjs → roomle-sdk-Be4K-H8u.mjs} +3525 -3202
- package/lib/roomle-sdk-Be4K-H8u.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +25 -1
- package/lib/roomle-sdk.js +8 -8
- package/lib/{scene-renderer-CSBoi_8w.mjs → scene-renderer-C8Lh-lff.mjs} +2 -2
- package/lib/{scene-renderer-CSBoi_8w.mjs.map → scene-renderer-C8Lh-lff.mjs.map} +1 -1
- package/lib/{script-loader-Binkn2lL.mjs → script-loader-CzikXnNg.mjs} +2 -2
- package/lib/{script-loader-Binkn2lL.mjs.map → script-loader-CzikXnNg.mjs.map} +1 -1
- package/lib/{stats-helper-P4jYV8as.mjs → stats-helper-Ddg1O4fO.mjs} +2 -2
- package/lib/{stats-helper-P4jYV8as.mjs.map → stats-helper-Ddg1O4fO.mjs.map} +1 -1
- package/lib/{threejs-utils-DKJ0uer7.mjs → threejs-utils-D5DMIzUO.mjs} +108 -98
- package/lib/threejs-utils-D5DMIzUO.mjs.map +1 -0
- package/lib/{tools-core-C8T-y6HX.mjs → tools-core-CVdBXX3L.mjs} +3 -3
- package/lib/{tools-core-C8T-y6HX.mjs.map → tools-core-CVdBXX3L.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-5BzSqk39.mjs +0 -2
- package/lib/glb-viewer-B3hqfiM6.mjs +0 -2
- package/lib/planner-CgL9JfFb.mjs +0 -2
- package/lib/roomle-sdk-DdQjEWNK.mjs.map +0 -1
- package/lib/threejs-utils-DKJ0uer7.mjs.map +0 -1
package/lib/roomle-sdk.d.ts
CHANGED
|
@@ -5636,8 +5636,12 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5636
5636
|
protected _isSelected: boolean;
|
|
5637
5637
|
private _objectWaiter;
|
|
5638
5638
|
protected _topView: boolean;
|
|
5639
|
+
private _hiddenByCameraFacing;
|
|
5639
5640
|
constructor(planObject: PlanObject);
|
|
5640
5641
|
getSize(): Vector3;
|
|
5642
|
+
setHiddenByCameraFacing(hidden: boolean): void;
|
|
5643
|
+
protected _applyCameraFacingVisibility(): void;
|
|
5644
|
+
isHiddenByCameraFacing(): boolean;
|
|
5641
5645
|
update(): void;
|
|
5642
5646
|
protected _updateBoundingBox(): void;
|
|
5643
5647
|
getPosition(): Vector3;
|
|
@@ -5660,6 +5664,7 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
5660
5664
|
hidePreviewBox(): void;
|
|
5661
5665
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
5662
5666
|
protected _setPositionOfBoundingBox(size: Vector3, mesh: RoomleEventedMesh): void;
|
|
5667
|
+
get isSelected(): boolean;
|
|
5663
5668
|
select(): void;
|
|
5664
5669
|
deselect(): void;
|
|
5665
5670
|
hoverOn(): void;
|
|
@@ -6136,6 +6141,7 @@ export declare class PlannerSceneEventHandler extends SceneEventHandler<SceneEve
|
|
|
6136
6141
|
private _hoverOnMultiSelect;
|
|
6137
6142
|
private _hoverOnStandard;
|
|
6138
6143
|
private _hoverOff;
|
|
6144
|
+
private _isHiddenConstructionElement;
|
|
6139
6145
|
private _isHoveredObjectNonDraggable;
|
|
6140
6146
|
setLoadingCursor(isLoading: boolean): void;
|
|
6141
6147
|
private _setCursor;
|
|
@@ -6197,6 +6203,7 @@ export declare class PlannerSceneEventHandler extends SceneEventHandler<SceneEve
|
|
|
6197
6203
|
}
|
|
6198
6204
|
|
|
6199
6205
|
export declare class PlannerSceneManager extends ConfiguratorSceneManager implements PlannerKernelCallbackI {
|
|
6206
|
+
private _draggedConstructionPlanElementViewModel;
|
|
6200
6207
|
private _rapiAccess;
|
|
6201
6208
|
private _plannerMeshGenerator;
|
|
6202
6209
|
private _plannerInputManager;
|
|
@@ -6282,6 +6289,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6282
6289
|
resetConfiguratorContext(reason: CancelSelectionReasons): void;
|
|
6283
6290
|
protected _setupScene(offset?: CanvasOffset, transparent?: boolean): Promise<void>;
|
|
6284
6291
|
protected onBeforeRender(): void;
|
|
6292
|
+
private _resetCameraFacingVisibility;
|
|
6285
6293
|
private _forceWallsAndCeiling;
|
|
6286
6294
|
protected _getInputManager(): InputManager;
|
|
6287
6295
|
protected createCameraControl(mode: Enumify_3<typeof CAMERA_TYPE>, _offset: CanvasOffset): void;
|
|
@@ -6430,6 +6438,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6430
6438
|
private _show3dDimensionsMulti;
|
|
6431
6439
|
private _resolve3dDimensionPlanElementViewModel;
|
|
6432
6440
|
private _resolve3dDimensionPlanElementViewModels;
|
|
6441
|
+
private _shouldShow3dDimensionsForPlanElement;
|
|
6433
6442
|
/**
|
|
6434
6443
|
* Re-show 3D dimensions for the currently selected objects.
|
|
6435
6444
|
* Called when snapping state changes to update editability.
|
|
@@ -6454,6 +6463,8 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6454
6463
|
* since the last generation (for better label placement).
|
|
6455
6464
|
*/
|
|
6456
6465
|
private _regenerate3dDimensionsIfNeeded;
|
|
6466
|
+
private _updateCameraFacingVisibility;
|
|
6467
|
+
private _syncSelectionForDroppedConstructionVisibility;
|
|
6457
6468
|
private _sendRoomMeasurements;
|
|
6458
6469
|
private _sendMeasurementLineDimension;
|
|
6459
6470
|
private _sendObjectMeasurements;
|
|
@@ -6768,6 +6779,7 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
6768
6779
|
getConfigurablePlanObjectViewModels(): ConfiguratorPlanObjectViewModel[];
|
|
6769
6780
|
getConfigurableConstructionPlanObjectViewModels(): ConfiguratorPlanObjectViewModel[];
|
|
6770
6781
|
getConstructionPlanObjectViewModels(): ConstructionPlanObjectViewModel[];
|
|
6782
|
+
getAllConstructionPlanObjectViewModels(): PlanElementViewModel[];
|
|
6771
6783
|
getWallPlanObjectViewModels(): WallPlanElementViewModel[];
|
|
6772
6784
|
getNodePlanObjectViewModels(): NodePlanElementViewModel[];
|
|
6773
6785
|
getFloorPlanObjectViewModels(): FloorPlanElementViewModel[];
|
|
@@ -10942,10 +10954,11 @@ export declare interface WallMeasurementVariant {
|
|
|
10942
10954
|
|
|
10943
10955
|
export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
10944
10956
|
private _lineForInvisibleWall?;
|
|
10957
|
+
private _cameraFacingHighlightMesh?;
|
|
10945
10958
|
private _hasAttachedAttic;
|
|
10946
10959
|
private _visible;
|
|
10960
|
+
private _cameraFacingHighlighted;
|
|
10947
10961
|
constructor(planObject: PlanObject);
|
|
10948
|
-
get isSelected(): boolean;
|
|
10949
10962
|
private _isFenceContourWall;
|
|
10950
10963
|
private _checkHasAttachedAttic;
|
|
10951
10964
|
getWallDimension(zoomFactor: number, clientWidth: number, clientHeight: number, preferredSideOverride?: LeftOrRightWallSide, isTerrainMeasurement?: boolean): WallDimension;
|
|
@@ -10958,6 +10971,10 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
10958
10971
|
show(): void;
|
|
10959
10972
|
hide(): void;
|
|
10960
10973
|
setContainerVisibility(isVisible: boolean): void;
|
|
10974
|
+
setHiddenByCameraFacing(hidden: boolean): void;
|
|
10975
|
+
isHiddenByCameraFacing(): boolean;
|
|
10976
|
+
private _applyCameraFacingHighlightState;
|
|
10977
|
+
private _setCameraFacingVisibility;
|
|
10961
10978
|
private _enableTopView;
|
|
10962
10979
|
private _setTopMaterial;
|
|
10963
10980
|
private _disableTopView;
|
|
@@ -10972,6 +10989,13 @@ export declare class WallPlanElementViewModel extends PlanElementViewModel {
|
|
|
10972
10989
|
protected _generateBoundingBox(): RoomleEventedMesh;
|
|
10973
10990
|
private _computeLineVertices;
|
|
10974
10991
|
private _createLineForInvisibleWall;
|
|
10992
|
+
private _createCameraFacingHighlightMesh;
|
|
10993
|
+
private _createCameraFacingHighlightMaterial;
|
|
10994
|
+
private _getCameraFacingHighlightSourceMaterial;
|
|
10995
|
+
private _ensureCameraFacingHighlightMesh;
|
|
10996
|
+
private _updateCameraFacingHighlightMesh;
|
|
10997
|
+
private _computeWallFootprintVertices;
|
|
10998
|
+
private _computeWallFootprintFallbackVertices;
|
|
10975
10999
|
private _updateLineGeometry;
|
|
10976
11000
|
private _addThinLineForInvisibleWall;
|
|
10977
11001
|
private _updateThinLine;
|
package/lib/roomle-sdk.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as e, i as t, n, r, t as i } from "./packages-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./packages-Pc3dsyed.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { F as l, G as u, J as d, K as f, M as p, N as m, P as h, S as g, W as _, b as v, ct as y, dt as b, j as x, k as S, lt as C, mt as w, q as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-
|
|
5
|
-
import { t as M } from "./configurator-
|
|
6
|
-
import { t as N } from "./planner-
|
|
7
|
-
import { n as P, t as F } from "./glb-viewer-
|
|
8
|
-
import { t as I } from "./api-
|
|
9
|
-
export { o as CONFIGURATION_TYPE,
|
|
3
|
+
import { bt as s, gt as c } from "./threejs-utils-D5DMIzUO.mjs";
|
|
4
|
+
import { F as l, G as u, J as d, K as f, M as p, N as m, P as h, S as g, W as _, b as v, ct as y, dt as b, j as x, k as S, lt as C, mt as w, q as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-Be4K-H8u.mjs";
|
|
5
|
+
import { t as M } from "./configurator-D8Bfu2_w.mjs";
|
|
6
|
+
import { t as N } from "./planner-B3IWgziF.mjs";
|
|
7
|
+
import { n as P, t as F } from "./glb-viewer-DMg1tKfk.mjs";
|
|
8
|
+
import { t as I } from "./api-C-enDIJZ.mjs";
|
|
9
|
+
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, M as Configurator, x as FloorPlanElementViewModel, F as GlbViewer, j as HI_CONTEXT_ACTION, g as MeasurementLinePlanElementViewModel, A as PLAN_ELEMENT_CHANGE_TYPES, l as PlanElementViewModel, h as PlanObjectViewModel, N as Planner, y as RapiAccess, C as RapiInvalidIdError, O as RapiOfflineError, I as RoomDesignerApi, S as RoomleConfigurator, P as RoomleGLBViewer, w as RoomleLightSource, D as RoomlePlanner, E as RoomleSdk, m as StaticPlanObjectViewModel, p as WallPlanElementViewModel, _ as createExtObj, d as createExtObjId, b as getCatalogIdFromConfigurationHash, u as isExtObjId, f as isExternalObject, v as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, k as isSafari, T as removeExtObjIdPrefix };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as e } from "./threejs-utils-D5DMIzUO.mjs";
|
|
2
2
|
import { An as t, Ci as n, Di as r, E as i, En as a, Gn as o, J as s, Mr as c, On as l, S as u, Si as d, Tr as f, Ur as p, V as m, Vt as h, Wr as g, Y as _, Z as ee, _n as v, at as te, bn as y, cn as b, ct as x, en as ne, f as re, fn as ie, gi as ae, gn as oe, h as se, hn as ce, ht as le, kr as ue, ln as S, mi as C, mn as de, mt as fe, ni as w, oi as pe, pi as T, qt as E, si as me, sn as D, st as he, un as ge, w as O, wi as k, y as _e, z as A, zt as ve } from "./three.core-0KaTx8dm.mjs";
|
|
3
3
|
import { r as ye } from "./three.module-dym6j3lO.mjs";
|
|
4
4
|
import { C as j, D as be, E as xe, O as M, S as N, T as Se, _ as Ce, a as we, b as P, d as Te, f as F, g as I, h as Ee, i as De, l as L, m as Oe, n as ke, o as Ae, p as je, r as Me, s as Ne, t as Pe, u as R, v as Fe, w as z, x as B, y as Ie } from "./shading-settings-CRNmMpcn.mjs";
|
|
@@ -2707,4 +2707,4 @@ Ve([Be, ze("design:type", Object)], Zt.prototype, "_initData", void 0);
|
|
|
2707
2707
|
//#endregion
|
|
2708
2708
|
export { ft as a, Mt as i, Zt as n, W as o, Q as r, Xt as t };
|
|
2709
2709
|
|
|
2710
|
-
//# sourceMappingURL=scene-renderer-
|
|
2710
|
+
//# sourceMappingURL=scene-renderer-C8Lh-lff.mjs.map
|