@roomle/web-sdk 6.0.0-alpha.4 → 6.0.0-alpha.6
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/ConfiguratorKernel.wasm +0 -0
- package/lib/RoomleCore.js +4 -4
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-rniFBA-W.mjs → api-I1bgFpKH.mjs} +2 -2
- package/lib/{api-rniFBA-W.mjs.map → api-I1bgFpKH.mjs.map} +1 -1
- package/lib/asset-loader.worker-Ct8sEbaT.mjs.map +1 -1
- package/lib/budgeteer.sw-C1IOfc0T.mjs.map +1 -1
- package/lib/{component-raycast-helper-DmNjzxSD.mjs → component-raycast-helper-Bjf5x6Qp.mjs} +2 -2
- package/lib/{component-raycast-helper-DmNjzxSD.mjs.map → component-raycast-helper-Bjf5x6Qp.mjs.map} +1 -1
- package/lib/configurator-BcxjhPB-.mjs +2 -0
- package/lib/{configurator-xn7jpBZU.mjs → configurator-CwQozwVs.mjs} +4 -4
- package/lib/{configurator-xn7jpBZU.mjs.map → configurator-CwQozwVs.mjs.map} +1 -1
- package/lib/{glb-viewer-DQW1uEae.mjs → glb-viewer-5NgPGvFe.mjs} +4 -4
- package/lib/{glb-viewer-DQW1uEae.mjs.map → glb-viewer-5NgPGvFe.mjs.map} +1 -1
- package/lib/glb-viewer-GwdZDNtz.mjs +2 -0
- package/lib/{highlight-coordinator-DDyo_U8P.mjs → highlight-coordinator-Dqcq3yh_.mjs} +3 -3
- package/lib/{highlight-coordinator-DDyo_U8P.mjs.map → highlight-coordinator-Dqcq3yh_.mjs.map} +1 -1
- package/lib/{homag-intelligence-H-BzewMH.mjs → homag-intelligence-D-kW6GAF.mjs} +3 -3
- package/lib/{homag-intelligence-H-BzewMH.mjs.map → homag-intelligence-D-kW6GAF.mjs.map} +1 -1
- package/lib/{material-viewer-CxuGhB8b.mjs → material-viewer-DgNM-Kmt.mjs} +4 -4
- package/lib/{material-viewer-CxuGhB8b.mjs.map → material-viewer-DgNM-Kmt.mjs.map} +1 -1
- package/lib/{packages-DXTmm5eH.mjs → packages-CsiSy4Us.mjs} +5 -5
- package/lib/packages-CsiSy4Us.mjs.map +1 -0
- package/lib/planner-DGkW1Mq0.mjs +2 -0
- package/lib/{planner-r-BVyJyI.mjs → planner-DogbSCHr.mjs} +3 -3
- package/lib/{planner-r-BVyJyI.mjs.map → planner-DogbSCHr.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +79 -1
- package/lib/roomle-headless.js +9 -9
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -1
- package/lib/{roomle-sdk-BIIJRe32.mjs → roomle-sdk-IZYU_OVO.mjs} +36 -34
- package/lib/roomle-sdk-IZYU_OVO.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +79 -1
- package/lib/roomle-sdk.js +7 -7
- package/lib/{roomle-webgpu-renderer-BQuRMtn8.mjs → roomle-webgpu-renderer-ZT__n9mA.mjs} +429 -428
- package/lib/{roomle-webgpu-renderer-BQuRMtn8.mjs.map → roomle-webgpu-renderer-ZT__n9mA.mjs.map} +1 -1
- package/lib/{scene-renderer-DdVBP89m.mjs → scene-renderer-3S4aBupw.mjs} +2 -2
- package/lib/{scene-renderer-DdVBP89m.mjs.map → scene-renderer-3S4aBupw.mjs.map} +1 -1
- package/lib/{script-loader-BVBVh2F_.mjs → script-loader-BfwGS3BJ.mjs} +2 -2
- package/lib/{script-loader-BVBVh2F_.mjs.map → script-loader-BfwGS3BJ.mjs.map} +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +48 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.js +4 -4
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-DYmtEOGb.mjs → stats-helper-tcYuZsXn.mjs} +2 -2
- package/lib/{stats-helper-DYmtEOGb.mjs.map → stats-helper-tcYuZsXn.mjs.map} +1 -1
- package/lib/{threejs-utils-Dy-rm1a9.mjs → threejs-utils-DyIt_Zd4.mjs} +2 -4
- package/lib/threejs-utils-DyIt_Zd4.mjs.map +1 -0
- package/lib/{tools-core-qoVhVWQJ.mjs → tools-core-tAlpPQkz.mjs} +3 -3
- package/lib/{tools-core-qoVhVWQJ.mjs.map → tools-core-tAlpPQkz.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-CrCPVj-F.mjs +0 -2
- package/lib/glb-viewer-saf-p1k1.mjs +0 -2
- package/lib/packages-DXTmm5eH.mjs.map +0 -1
- package/lib/planner-CExgNxbp.mjs +0 -2
- package/lib/roomle-sdk-BIIJRe32.mjs.map +0 -1
- package/lib/threejs-utils-Dy-rm1a9.mjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./kernel-BWfRHWkW.mjs";
|
|
2
|
-
import { $ as c, At as l, B as u, C as d, Ct as f, D as p, Dt as m, E as h, Et as g, F as _, G as v, H as y, I as b, J as x, K as S, L as C, M as w, Mt as T, N as E, Ot as ee, P as te, Q as ne, R as re, S as ie, St as ae, T as oe, Tt as se, U as ce, V as le, X as ue, Z as de, _ as fe, a as pe, at as me, b as he, bt as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as De, j as Oe, jt as ke, k as Ae, kt as je, l as Me, lt as Ne, m as D, n as Pe, nt as Fe, o as Ie, ot as Le, p as Re, pt as ze, q as Be, r as Ve, rt as He, s as Ue, st as We, t as Ge, tt as Ke, ut as qe, v as Je, w as Ye, wt as Xe, x as Ze, xt as Qe, y as $e, z as et } from "./threejs-utils-
|
|
2
|
+
import { $ as c, At as l, B as u, C as d, Ct as f, D as p, Dt as m, E as h, Et as g, F as _, G as v, H as y, I as b, J as x, K as S, L as C, M as w, Mt as T, N as E, Ot as ee, P as te, Q as ne, R as re, S as ie, St as ae, T as oe, Tt as se, U as ce, V as le, X as ue, Z as de, _ as fe, a as pe, at as me, b as he, bt as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as De, j as Oe, jt as ke, k as Ae, kt as je, l as Me, lt as Ne, m as D, n as Pe, nt as Fe, o as Ie, ot as Le, p as Re, pt as ze, q as Be, r as Ve, rt as He, s as Ue, st as We, t as Ge, tt as Ke, ut as qe, v as Je, w as Ye, wt as Xe, x as Ze, xt as Qe, y as $e, z as et } from "./threejs-utils-DyIt_Zd4.mjs";
|
|
3
3
|
import { $t as tt, An as nt, Ar as rt, At as it, Bt as at, C as ot, Cn as st, Di as ct, Dn as lt, Dr as ut, Dt as dt, E as ft, Ei as O, En as pt, Et as mt, Fn as ht, Gt as gt, H as _t, Hr as vt, Ht as yt, It as bt, Jr as xt, Jt as St, Kn as Ct, Kt as wt, Lr as Tt, Lt as Et, M as Dt, Mn as Ot, Nn as kt, Oi as At, On as jt, Or as Mt, Ot as Nt, Pn as Pt, Pr as Ft, Qr as It, Qt as Lt, R as Rt, Rn as zt, S as Bt, Sn as Vt, St as Ht, Ti as k, Tn as Ut, U as Wt, V as Gt, Vt as Kt, Wr as qt, Yr as Jt, Z as Yt, Zr as Xt, Zt, _n as Qt, _t as $t, an as en, at as tn, bn as nn, ci as rn, cn as an, ct as on, d as sn, dt as cn, ei as ln, et as un, f as A, h as dn, hi as fn, ht as pn, ii as mn, in as hn, jn as gn, jt as _n, k as vn, kn as yn, kr as bn, l as xn, li as Sn, ln as j, lt as Cn, m as wn, mt as Tn, n as En, nn as Dn, nt as On, p as kn, qr as An, qt as jn, r as Mn, sn as Nn, st as Pn, ti as Fn, tn as In, un as Ln, v as Rn, vn as zn, w as M, wr as Bn, wt as Vn, x as Hn, xn as Un, zn as Wn } from "./three.core-BTUCraWz.mjs";
|
|
4
4
|
import { n as Gn, t as Kn } from "./three.module-230BZkaT.mjs";
|
|
5
5
|
import { c as qn, t as Jn } from "./shading-settings-DJ4kY2Cn.mjs";
|
|
6
|
-
import { a as Yn, c as Xn, i as Zn, n as Qn, o as $n, r as er, s as tr, t as N } from "./scene-renderer-
|
|
6
|
+
import { a as Yn, c as Xn, i as Zn, n as Qn, o as $n, r as er, s as tr, t as N } from "./scene-renderer-3S4aBupw.mjs";
|
|
7
7
|
import { i as nr, n as P, r as F, t as I } from "./decorate-CjaqqbUP.mjs";
|
|
8
8
|
import { c as rr, l as ir, s as ar, t as or, u as sr } from "./dimensioning-helper-WQTVJpxQ.mjs";
|
|
9
9
|
import { a as L, c as cr, i as R, n as lr, o as ur, r as dr, s as fr, t as pr } from "./kernel-utils-BwJOfYWh.mjs";
|
|
@@ -37080,11 +37080,11 @@ var Js = 16, Ys = 6, Xs = class {
|
|
|
37080
37080
|
}
|
|
37081
37081
|
}, mc = class {
|
|
37082
37082
|
constructor() {
|
|
37083
|
-
this.enabled = !0, this.intensity = .1, this.startFadeout = .05, this.endFadeout = .15, this.reflectionScale = 1;
|
|
37083
|
+
this.enabled = !0, this.intensity = .1, this.startFadeout = .05, this.endFadeout = .15, this.baseColor = 16777215, this.reflectionScale = 1;
|
|
37084
37084
|
}
|
|
37085
37085
|
}, hc = class {
|
|
37086
37086
|
constructor() {
|
|
37087
|
-
this.enabled = !0, this.nearBlend = 7, this.farBlend = 10;
|
|
37087
|
+
this.enabled = !0, this.nearBlend = 7, this.farBlend = 10, this.color = void 0;
|
|
37088
37088
|
}
|
|
37089
37089
|
}, gc = class {
|
|
37090
37090
|
constructor() {
|
|
@@ -43151,7 +43151,7 @@ var Ac = () => {
|
|
|
43151
43151
|
metalness: .1
|
|
43152
43152
|
});
|
|
43153
43153
|
this._cacheHolder.materialCache.set(t, o), this.changeMaterialOfMesh(e, o), setTimeout(() => n(), 0);
|
|
43154
|
-
});
|
|
43154
|
+
}, void 0, r);
|
|
43155
43155
|
else {
|
|
43156
43156
|
let e = "can not set material, catalog item top image is not set";
|
|
43157
43157
|
console.warn(e), r(e);
|
|
@@ -43642,8 +43642,8 @@ var c_ = "component_dimensioning_line_material", l_ = 3618615, u_ = .05, d_ = .0
|
|
|
43642
43642
|
o.setAttribute("position", new wn(new Float32Array(s), 3));
|
|
43643
43643
|
let c = new at(o, this._lineMaterial);
|
|
43644
43644
|
c.name = "component dimension line " + this._dimensioning.axis, c.renderOrder = tr.DIMENSION_LINE, c.layers.set(z.DIMENSIONS), this._mainLineObject = c, this.add(c);
|
|
43645
|
-
let l = this._unitFormatter.formatMMValueToUnitString(t * 1e3);
|
|
43646
|
-
this._dimensionInMM = t * 1e3,
|
|
43645
|
+
let l = this._unitFormatter.formatMMValueToUnitString(t * 1e3), u = this._dimensioning.interactionKey ? l : this._dimensioning.label || l;
|
|
43646
|
+
this._dimensionInMM = t * 1e3, u !== null && (this._textLabel = this.createTextLabel(u), this.add(this._textLabel));
|
|
43647
43647
|
}
|
|
43648
43648
|
setLabelVisible(e) {
|
|
43649
43649
|
this._textLabel && (this._textLabel.visible = e);
|
|
@@ -44011,6 +44011,10 @@ var g_ = /* @__PURE__ */ new Map(), __ = (e) => {
|
|
|
44011
44011
|
finalize: "immediate",
|
|
44012
44012
|
methods: ["setElementVisibility"]
|
|
44013
44013
|
},
|
|
44014
|
+
lock: {
|
|
44015
|
+
finalize: "immediate",
|
|
44016
|
+
methods: ["lockElement", "unlockElement"]
|
|
44017
|
+
},
|
|
44014
44018
|
addObjects: {
|
|
44015
44019
|
finalize: "immediate",
|
|
44016
44020
|
methods: ["addPlanObjects"]
|
|
@@ -52766,7 +52770,7 @@ var rC = 3e3, iC = .65, aC = 1.16, oC = class {
|
|
|
52766
52770
|
}, this._initData.linearAoFilter);
|
|
52767
52771
|
e.setQualityMap(fS), e.setAutoQuality(this._initData.autoQuality), this._initData.debug && e.loadLutImages(NS), this._roomleRenderer = e;
|
|
52768
52772
|
} else {
|
|
52769
|
-
let { RoomleWebGPURenderer: e } = await import("./roomle-webgpu-renderer-
|
|
52773
|
+
let { RoomleWebGPURenderer: e } = await import("./roomle-webgpu-renderer-ZT__n9mA.mjs"), t = new e(this._creator_, this._renderer, !0, {
|
|
52770
52774
|
outlineVisibleEdgeColor: this._initData.colors.SELECTION.getHex(),
|
|
52771
52775
|
outlineHiddenEdgeColor: this._initData.colors.SELECTION.getHex()
|
|
52772
52776
|
});
|
|
@@ -52881,7 +52885,7 @@ var rC = 3e3, iC = .65, aC = 1.16, oC = class {
|
|
|
52881
52885
|
});
|
|
52882
52886
|
}
|
|
52883
52887
|
showWebGLStats() {
|
|
52884
|
-
this._roomleRenderer instanceof PS && import("./stats-helper-
|
|
52888
|
+
this._roomleRenderer instanceof PS && import("./stats-helper-tcYuZsXn.mjs").then((e) => {
|
|
52885
52889
|
this._statsHelper = new e.default(), this._roomleRenderer.setOnQualityLevelChangeCallback((e) => {
|
|
52886
52890
|
this._statsHelper?.updateQualityInfo(e);
|
|
52887
52891
|
});
|
|
@@ -53231,7 +53235,7 @@ var sC = class extends Jy {
|
|
|
53231
53235
|
let t = new PS(this._creator_, e, lC, lC);
|
|
53232
53236
|
return t.setQualityMap(fS), t;
|
|
53233
53237
|
}
|
|
53234
|
-
let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-
|
|
53238
|
+
let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-ZT__n9mA.mjs");
|
|
53235
53239
|
return new t(this._creator_, e, !1);
|
|
53236
53240
|
}
|
|
53237
53241
|
async switchToPlannerSettings(e) {
|
|
@@ -53525,7 +53529,7 @@ var dC = class {
|
|
|
53525
53529
|
async _initOptionalModules() {
|
|
53526
53530
|
let e = this._initData.transparentHighlighting, t = !!this._initData.externalObjectSettings.transparentHighlighting;
|
|
53527
53531
|
if (e || t) {
|
|
53528
|
-
let { default: n } = await import("./highlight-coordinator-
|
|
53532
|
+
let { default: n } = await import("./highlight-coordinator-Dqcq3yh_.mjs");
|
|
53529
53533
|
this._highlightHelper = new n({
|
|
53530
53534
|
transparentHighlighting: e,
|
|
53531
53535
|
externalTransparentHighlighting: t
|
|
@@ -57279,7 +57283,7 @@ var cT = "rml_plans", lT = {
|
|
|
57279
57283
|
"metaKey"
|
|
57280
57284
|
].reduce((t, n) => (e[n] && t++, t), 0), dT = (e, t) => e >= 90 || e < -90 ? t === "left" ? "right" : "left" : t, fT = class extends pC {
|
|
57281
57285
|
constructor(e, t, n, r) {
|
|
57282
|
-
super(e, t, r), this._draggedConstructionPlanElementViewModel = null, this._homagIntelligence = null, this._itemsLoadingStatePromises = [], this._pendingConfigurationSaves = /* @__PURE__ */ new Set(), this._keepWallsAndCeilingVisible = !1, this._staticItemGuard = new sr(), this._completelyLoaded = !1, this.
|
|
57286
|
+
super(e, t, r), this._draggedConstructionPlanElementViewModel = null, this._homagIntelligence = null, this._itemsLoadingStatePromises = [], this._pendingConfigurationSaves = /* @__PURE__ */ new Set(), this._keepWallsAndCeilingVisible = !1, this._staticItemGuard = new sr(), this._completelyLoaded = !1, this._planCompletelyLoadedGuard = new sr(), this._fullyReadyGuard = (() => {
|
|
57283
57287
|
let e = new sr();
|
|
57284
57288
|
return e.resolve(), e;
|
|
57285
57289
|
})(), this.currentSelection = null, this._paperBackground = null, this._cameraState = null, this._cameraStateLocked = !1, this._planElementHighlighter = null, this._highlightRefreshScheduled = !1, this._planner3dDimensionHelper = new yw(), this._selectedPlanElementViewModel2d = null, this._wallDimensions2d = [], this._nodeDimensions2d = [], this._objectMeasurements2d = null, this._objectMeasurementsPlanElementId2d = null, this._constructionMeasurements2d = null, this._measurementLineDimensions2d = [], this._floorAreas2d = [], this._hide2dMeasurements = !1, this._is2dMeasurementsOverlayDirty = !1, this._debugSpheres = {
|
|
@@ -57366,7 +57370,7 @@ var cT = "rml_plans", lT = {
|
|
|
57366
57370
|
}, this), this._plannerSceneEventHandler.addEventListener($.DRAW, () => this._renderWithoutShadowsAndAO(), this), this._plannerSceneEventHandler.addEventListener($.DRAWING_END, () => {
|
|
57367
57371
|
this._renderWithoutShadowsAndAO(), this._roomleRenderer?.setGroundShadow(!0, this._scene);
|
|
57368
57372
|
}, this), this._getKernelAccess().addPlannerListener(this), this._plannerMeshGenerator.setMaterialLoadedListener(() => {
|
|
57369
|
-
this.
|
|
57373
|
+
this._requestRender();
|
|
57370
57374
|
}), window.onbeforeunload = this.clearScene.bind(this), this._renderListener && (this._getInputManager().addEventListener(Y.ZOOM_IN, this._renderListener, this), this._getInputManager().addEventListener(Y.ZOOM_OUT, this._renderListener, this)), this._getInputManager().addEventListener(Y.DOWN, this._onMouseDown, this), this.disableConfiguratorEvents(), r !== G.CAMERA_FP && this.enablePlannerEvents(), setTimeout(() => this._updatePaperBackground(), 0), this._initData.debug && (this._debugSpheres.wallPoints.name = "Walls debug points", this._debugSpheres.constructionElementsPoints.name = "Construction elements debug points", this._debugSpheres.floorPoints.name = "Floor debug points", this._scene.add(this._debugSpheres.wallPoints), this._scene.add(this._debugSpheres.constructionElementsPoints), this._scene.add(this._debugSpheres.floorPoints)), this._debouncedSaveConfiguration = Ur(this._saveConfiguration.bind(this), 100, (e) => e.element);
|
|
57371
57375
|
}
|
|
57372
57376
|
isDragging() {
|
|
@@ -57712,13 +57716,11 @@ var cT = "rml_plans", lT = {
|
|
|
57712
57716
|
}));
|
|
57713
57717
|
t.name = "Ground", t.position.y = -.01, t.userData.isFloor = !0, this._scene.add(t);
|
|
57714
57718
|
}
|
|
57715
|
-
this._setCeiling(), this._staticItemGuard.reset(), this.
|
|
57716
|
-
let n = this.
|
|
57717
|
-
Promise.all([
|
|
57718
|
-
this.
|
|
57719
|
-
|
|
57720
|
-
this._planCompletelyLoadedGuard.wait()
|
|
57721
|
-
]).then(this._itemsLoaded.bind(this));
|
|
57719
|
+
this._setCeiling(), this._staticItemGuard.reset(), this._planCompletelyLoadedGuard.reset(), this._fullyReadyGuard.reset();
|
|
57720
|
+
let n = this.viewModel.getCorePlan();
|
|
57721
|
+
Promise.all([this._staticItemGuard.wait(), this._planCompletelyLoadedGuard.wait()]).then(() => this._plannerMeshGenerator.materialQueue.finished(!0)).then(() => {
|
|
57722
|
+
if (n === this.viewModel.getCorePlan()) return this._itemsLoaded();
|
|
57723
|
+
});
|
|
57722
57724
|
}
|
|
57723
57725
|
_restoreLampStates() {
|
|
57724
57726
|
let e = this._plannerKernelAccess?.planInteractionManager.getPlan();
|
|
@@ -59645,7 +59647,7 @@ var WT = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
59645
59647
|
async switchToConfigurator() {
|
|
59646
59648
|
let e = await this._singlePromiseFactory.create(Ga.START_HSC, "startHSC", (e) => {
|
|
59647
59649
|
if (this._hscInstance) return e(this._hscInstance);
|
|
59648
|
-
import("./configurator-
|
|
59650
|
+
import("./configurator-BcxjhPB-.mjs").then(({ Configurator: t }) => {
|
|
59649
59651
|
let n = new t(this._creator_);
|
|
59650
59652
|
n.boot({
|
|
59651
59653
|
kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
|
|
@@ -59663,7 +59665,7 @@ var WT = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
59663
59665
|
async switchToViewer() {
|
|
59664
59666
|
let e = await this._singlePromiseFactory.create(Ga.START_GLB, "startGLB", (e) => {
|
|
59665
59667
|
if (this._glbInstance) return e(this._glbInstance);
|
|
59666
|
-
import("./glb-viewer-
|
|
59668
|
+
import("./glb-viewer-GwdZDNtz.mjs").then((t) => {
|
|
59667
59669
|
let n = new t.GlbViewer(this._creator_);
|
|
59668
59670
|
n.boot(), n.getApi().setOverrides(this._initData);
|
|
59669
59671
|
let r = this._domHelper.element;
|
|
@@ -60671,7 +60673,7 @@ var WT = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
60671
60673
|
globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
|
|
60672
60674
|
}, "*", [t.port2]);
|
|
60673
60675
|
let n = TT(t.port1), r = null;
|
|
60674
|
-
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new UT(this._creator_, r)), await new (await (import("./homag-intelligence-
|
|
60676
|
+
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new UT(this._creator_, r)), await new (await (import("./homag-intelligence-D-kW6GAF.mjs"))).HomagIntelligence(this, e, n, () => this._plannerKernelAccess.arrangementCorrectionEnabled).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
|
|
60675
60677
|
}
|
|
60676
60678
|
async _loadHomagIntelligenceArticles(e, t) {
|
|
60677
60679
|
let n = this._homagIntelligence;
|
|
@@ -63552,10 +63554,10 @@ var HE = class {
|
|
|
63552
63554
|
bounces: !1
|
|
63553
63555
|
}), f = d.getDepthNode();
|
|
63554
63556
|
this.fixCameraOffsetsForReflector(d);
|
|
63555
|
-
let p = s(u.startFadeout), m = s(u.endFadeout), h = s(u.intensity);
|
|
63556
|
-
this._startFadeout = p, this._endFadeout = m, this._intensity = h, this._reflectiveMaterial = new t({ colorNode: n(() => {
|
|
63557
|
+
let p = s(u.startFadeout), m = s(u.endFadeout), h = s(u.intensity), g = s(kr(u.baseColor));
|
|
63558
|
+
this._startFadeout = p, this._endFadeout = m, this._intensity = h, this._baseColor = g, this._reflectiveMaterial = new t({ colorNode: n(() => {
|
|
63557
63559
|
let e = o(p, m, f.x).remap(0, 1, r(1).sub(h), 1);
|
|
63558
|
-
return i(l(d, null, 10), c(1), e);
|
|
63560
|
+
return i(l(d, null, 10), c(g, 1), e);
|
|
63559
63561
|
})() }), this._shadowOnlyMaterial = new t({ color: this._initData.colors.DEFAULT_BACKGROUND }), this._floorMesh = new j(new gn(100, 100), this._reflectiveMaterial), this._floorMesh.position.set(0, -.01, 0), d.target.position.set(0, .01, 0), this._floorMesh.rotation.x = -Math.PI / 2, this._floorMesh.receiveShadow = !0, this._floorMesh.userData.isGroundShadowFloor = !0, this._floorMesh.add(d.target), e.add(this._floorMesh), this.setReflectionEnabled(u?.enabled ?? !0);
|
|
63560
63562
|
}
|
|
63561
63563
|
addTopLight(e) {
|
|
@@ -63604,11 +63606,11 @@ var HE = class {
|
|
|
63604
63606
|
r.add(n, "intensity", 0, 5, .01).name("intensity").onChange(() => t()), r.add(n.shadow, "intensity", 0, 1, .01).name("shadow intensity").onChange(() => t()), r.add(n.shadow, "radius", 0, 10, .1).name("shadow blur").onChange(() => t());
|
|
63605
63607
|
}
|
|
63606
63608
|
addGroundReflectionParametersToGUI(e, t) {
|
|
63607
|
-
if (this._startFadeout === void 0 || this._endFadeout === void 0 || this._intensity === void 0) return;
|
|
63609
|
+
if (this._startFadeout === void 0 || this._endFadeout === void 0 || this._intensity === void 0 || this._baseColor === void 0) return;
|
|
63608
63610
|
let n = e.addFolder("Ground Reflection"), r = { enabled: this._floorMesh?.material === this._reflectiveMaterial };
|
|
63609
63611
|
n.add(r, "enabled").name("enabled").onChange(() => {
|
|
63610
63612
|
this.setReflectionEnabled(r.enabled), t();
|
|
63611
|
-
}), n.add(this._startFadeout, "value", 0, 1, .001).name("start fadeout").onChange(() => t()), n.add(this._endFadeout, "value", 0, 1, .001).name("end fadeout").onChange(() => t()), n.add(this._intensity, "value", 0, 1, .01).name("intensity").onChange(() => t());
|
|
63613
|
+
}), n.add(this._startFadeout, "value", 0, 1, .001).name("start fadeout").onChange(() => t()), n.add(this._endFadeout, "value", 0, 1, .001).name("end fadeout").onChange(() => t()), n.add(this._intensity, "value", 0, 1, .01).name("intensity").onChange(() => t()), n.addColor(this._baseColor, "value").name("base color").onChange(() => t());
|
|
63612
63614
|
}
|
|
63613
63615
|
};
|
|
63614
63616
|
I([F, P("design:type", Object)], UE.prototype, "_initData", void 0);
|
|
@@ -64650,7 +64652,7 @@ var TO = [
|
|
|
64650
64652
|
static getConfigurator(e, t) {
|
|
64651
64653
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
64652
64654
|
let n = EO.lookup("global-init-data");
|
|
64653
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-
|
|
64655
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-BcxjhPB-.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64654
64656
|
}
|
|
64655
64657
|
static getPlanner(e, t) {
|
|
64656
64658
|
return this._getPlanner(e, t);
|
|
@@ -64661,15 +64663,15 @@ var TO = [
|
|
|
64661
64663
|
static async getGlbViewer(e, t) {
|
|
64662
64664
|
t = this._setupDI(K.GLB_VIEWER, e, t);
|
|
64663
64665
|
let n = EO.lookup("global-init-data");
|
|
64664
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-
|
|
64666
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-GwdZDNtz.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64665
64667
|
}
|
|
64666
64668
|
static getMaterialViewer(e, t) {
|
|
64667
64669
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
64668
64670
|
let n = EO.lookup("global-init-data");
|
|
64669
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-
|
|
64671
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-DgNM-Kmt.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64670
64672
|
}
|
|
64671
64673
|
static getCoreTools(e, t) {
|
|
64672
|
-
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-
|
|
64674
|
+
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-tAlpPQkz.mjs").then(({ ToolsCore: n }) => {
|
|
64673
64675
|
let r = new n(t);
|
|
64674
64676
|
r.boot(), e(r);
|
|
64675
64677
|
}, n));
|
|
@@ -64697,7 +64699,7 @@ var TO = [
|
|
|
64697
64699
|
}
|
|
64698
64700
|
static _getPlanner(e, t, n) {
|
|
64699
64701
|
let r = this._setupDI(K.PLANNER, e, t), i = EO.lookup("global-init-data");
|
|
64700
|
-
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-
|
|
64702
|
+
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-DGkW1Mq0.mjs").then(({ Planner: t }) => {
|
|
64701
64703
|
e(n ? new t(r, n) : new t(r));
|
|
64702
64704
|
}, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64703
64705
|
}
|
|
@@ -64714,4 +64716,4 @@ var TO = [
|
|
|
64714
64716
|
//#endregion
|
|
64715
64717
|
export { wc as $, Jv as A, md as B, wb as C, Jy as D, Qy as E, rv as F, Zc as G, wu as H, X_ as I, Rc as J, Xc as K, r_ as L, wv as M, fv as N, qy as O, ov as P, Ec as Q, qg as R, Db as S, Z as T, Cu as U, hd as V, K as W, Lc as X, zc as Y, Ic as Z, eS as _, Bi as _t, AE as a, co as at, Sx as b, gE as c, Wa as ct, SC as d, Ua as dt, xc as et, pC as f, za as ft, oC as g, Vi as gt, sC as h, Ki as ht, UE as i, fo as it, Fv as j, fy as k, mE as l, V as lt, uC as m, Qi as mt, EO as n, G as nt, kE as o, oo as ot, dC as p, Ra as pt, Bc as q, TO as r, Eo as rt, OE as s, Ga as st, DO as t, oc as tt, QT as u, H as ut, Gx as v, sb as w, Cx as x, Vx as y, Gg as z };
|
|
64716
64718
|
|
|
64717
|
-
//# sourceMappingURL=roomle-sdk-
|
|
64719
|
+
//# sourceMappingURL=roomle-sdk-IZYU_OVO.mjs.map
|