@roomle/web-sdk 5.1.0 → 5.2.0-alpha.10
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.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-Woc5NOM1.mjs → api-DzAvODF3.mjs} +13 -10
- package/lib/{api-Woc5NOM1.mjs.map → api-DzAvODF3.mjs.map} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -1
- package/lib/budgeteer.sw.js +1 -1
- package/lib/common-utils-CNGLvAo_.mjs.map +1 -1
- package/lib/{component-raycast-helper-CaY2UMli.mjs → component-raycast-helper-DmNjzxSD.mjs} +2 -2
- package/lib/{component-raycast-helper-CaY2UMli.mjs.map → component-raycast-helper-DmNjzxSD.mjs.map} +1 -1
- package/lib/configurator-BpxToJbA.mjs +2 -0
- package/lib/{configurator-i-Zl5omd.mjs → configurator-CJFwkh54.mjs} +4 -4
- package/lib/{configurator-i-Zl5omd.mjs.map → configurator-CJFwkh54.mjs.map} +1 -1
- package/lib/glb-viewer-45djC72D.mjs +2 -0
- package/lib/{glb-viewer-C1-vP2Vq.mjs → glb-viewer-BSHmO1do.mjs} +5 -5
- package/lib/{glb-viewer-C1-vP2Vq.mjs.map → glb-viewer-BSHmO1do.mjs.map} +1 -1
- package/lib/{highlight-coordinator-DKMaPGPo.mjs → highlight-coordinator-DDyo_U8P.mjs} +3 -3
- package/lib/{highlight-coordinator-DKMaPGPo.mjs.map → highlight-coordinator-DDyo_U8P.mjs.map} +1 -1
- package/lib/{homag-intelligence-Dr0m9LxO.mjs → homag-intelligence-CNxcr-eA.mjs} +7 -4
- package/lib/homag-intelligence-CNxcr-eA.mjs.map +1 -0
- package/lib/{material-viewer-CHzje_V0.mjs → material-viewer-HzxKTFQF.mjs} +11 -11
- package/lib/{material-viewer-CHzje_V0.mjs.map → material-viewer-HzxKTFQF.mjs.map} +1 -1
- package/lib/{packages-DbOsSpKq.mjs → packages-BebHC0FC.mjs} +5 -5
- package/lib/{packages-DbOsSpKq.mjs.map → packages-BebHC0FC.mjs.map} +1 -1
- package/lib/{planner-BOrph7M7.mjs → planner-DLRkyi_2.mjs} +3 -3
- package/lib/{planner-BOrph7M7.mjs.map → planner-DLRkyi_2.mjs.map} +1 -1
- package/lib/planner-FqhSeWWA.mjs +2 -0
- package/lib/roomle-headless.d.ts +269 -31
- package/lib/roomle-headless.js +11 -11
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -1
- package/lib/{roomle-sdk-CN9TqA78.mjs → roomle-sdk-Bt3h0SSr.mjs} +4254 -3668
- package/lib/roomle-sdk-Bt3h0SSr.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +269 -31
- package/lib/roomle-sdk.js +8 -8
- package/lib/{roomle-webgpu-renderer-C26OAfkn.mjs → roomle-webgpu-renderer-__fKL0NL.mjs} +7 -7
- package/lib/roomle-webgpu-renderer-__fKL0NL.mjs.map +1 -0
- package/lib/{scene-renderer-DGSgD6mp.mjs → scene-renderer-DdVBP89m.mjs} +11 -11
- package/lib/{scene-renderer-DGSgD6mp.mjs.map → scene-renderer-DdVBP89m.mjs.map} +1 -1
- package/lib/{script-loader-CL3F8sIY.mjs → script-loader-CIboUjm9.mjs} +2 -2
- package/lib/{script-loader-CL3F8sIY.mjs.map → script-loader-CIboUjm9.mjs.map} +1 -1
- package/lib/static/packages/workers/generated/budgeteer.sw.js +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 +23 -4
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +1 -1
- 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.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-C74q5Bje.mjs → stats-helper-DYmtEOGb.mjs} +2 -2
- package/lib/{stats-helper-C74q5Bje.mjs.map → stats-helper-DYmtEOGb.mjs.map} +1 -1
- package/lib/{three.module-DUSFrLM6.mjs → three.module-230BZkaT.mjs} +2 -2
- package/lib/{three.module-DUSFrLM6.mjs.map → three.module-230BZkaT.mjs.map} +1 -1
- package/lib/{threejs-utils-DHTRY4yW.mjs → threejs-utils-Dy-rm1a9.mjs} +66 -64
- package/lib/threejs-utils-Dy-rm1a9.mjs.map +1 -0
- package/lib/{tools-core-D3kc3jRW.mjs → tools-core-BpUxOTe-.mjs} +3 -3
- package/lib/{tools-core-D3kc3jRW.mjs.map → tools-core-BpUxOTe-.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-Bo_pnqDi.mjs +0 -2
- package/lib/glb-viewer-CaNU0FLF.mjs +0 -2
- package/lib/homag-intelligence-Dr0m9LxO.mjs.map +0 -1
- package/lib/planner-DXeyIHUx.mjs +0 -2
- package/lib/roomle-sdk-CN9TqA78.mjs.map +0 -1
- package/lib/roomle-webgpu-renderer-C26OAfkn.mjs.map +0 -1
- package/lib/threejs-utils-DHTRY4yW.mjs.map +0 -1
package/lib/roomle-sdk.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-BebHC0FC.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Tt as s, xt as c } from "./threejs-utils-Dy-rm1a9.mjs";
|
|
4
4
|
import { D as l, g as u } from "./common-utils-CNGLvAo_.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { t as F } from "./configurator-
|
|
7
|
-
import { t as I } from "./planner-
|
|
8
|
-
import { n as L, t as R } from "./glb-viewer-
|
|
9
|
-
import { t as z } from "./api-
|
|
10
|
-
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, F as Configurator, T as FloorPlanElementViewModel, R as GlbViewer,
|
|
5
|
+
import { B as d, F as f, G as p, J as m, K as h, M as g, N as _, P as v, S as y, Y as b, b as x, dt as S, ft as C, ht as w, j as T, k as E, lt as D, q as O, t as k, u as A, ut as j, x as M, y as N, z as P } from "./roomle-sdk-Bt3h0SSr.mjs";
|
|
6
|
+
import { t as F } from "./configurator-CJFwkh54.mjs";
|
|
7
|
+
import { t as I } from "./planner-DLRkyi_2.mjs";
|
|
8
|
+
import { n as L, t as R } from "./glb-viewer-BSHmO1do.mjs";
|
|
9
|
+
import { t as z } from "./api-DzAvODF3.mjs";
|
|
10
|
+
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, F as Configurator, T as FloorPlanElementViewModel, R as GlbViewer, d as HI_CONTEXT_ACTION, P as HI_GROUP_OPERATION, y as MeasurementLinePlanElementViewModel, N as PLAN_ELEMENT_CHANGE_TYPES, f as PlanElementViewModel, v as PlanObjectViewModel, I as Planner, D as RapiAccess, j as RapiInvalidIdError, S as RapiOfflineError, z as RoomDesignerApi, E as RoomleConfigurator, L as RoomleGLBViewer, w as RoomleLightSource, A as RoomlePlanner, k as RoomleSdk, _ as StaticPlanObjectViewModel, g as WallPlanElementViewModel, p as createExtObj, b as createExtObjId, u as download, C as getCatalogIdFromConfigurationHash, h as isExtObjId, O as isExternalObject, x as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, M as isSafari, l as md5Hash, m as removeExtObjIdPrefix };
|
|
@@ -106,7 +106,7 @@ var W = /* @__PURE__ */ new Ae(), Xt = /* @__PURE__ */ new d(), Zt = /* @__PURE_
|
|
|
106
106
|
selectedObjects: this.selectedObjects,
|
|
107
107
|
edgeThickness: this.edgeThickness,
|
|
108
108
|
edgeGlow: this.edgeGlow
|
|
109
|
-
}), s = L(a.mul(this.visibleEdgeColor).add(o.mul(this.hiddenEdgeColor)).mul(this.edgeStrength), 0);
|
|
109
|
+
}), s = L(a.mul(this.visibleEdgeColor).add(o.mul(this.hiddenEdgeColor)).mul(this.edgeStrength), 0).toInspector("Outline / Composite");
|
|
110
110
|
return i === "outline" ? L(0, 0, 0, 0).add(s) : t.add(s);
|
|
111
111
|
}
|
|
112
112
|
addParametersToGUI(e, t) {
|
|
@@ -2858,9 +2858,9 @@ var nr = (e, t, n, r) => new $n(pt(e), ot(t), ot(n), r), rr = class e extends tn
|
|
|
2858
2858
|
if (!(r instanceof D) || this.sliceCount.value === 0 || this.stepCount.value === 0) return t;
|
|
2859
2859
|
let a = e.getTextureNode("output"), o = e.getTextureNode("diffuseColor"), s = e.getTextureNode("depth"), c = e.getTextureNode("normal"), l = St((e) => Be(c.sample(e))), u = Qn(a, s, l, r);
|
|
2860
2860
|
u.sliceCount = this.sliceCount, u.stepCount = this.stepCount, u.radius = this.radius, u.expFactor = this.expFactor, u.thickness = this.thickness, u.backfaceLighting = this.backfaceLighting, u.aoIntensity = this.aoIntensity, u.giIntensity = this.giIntensity, u.useLinearThickness = this.useLinearThickness, u.useScreenSpaceSampling = this.useScreenSpaceSampling, u.useTemporalFiltering = this.useTemporalFiltering;
|
|
2861
|
-
let d = u.getGINode(), f = u.getAONode(), p = nr(d, s, l, r);
|
|
2861
|
+
let d = u.getGINode().toInspector("SSGI / GI"), f = u.getAONode().toInspector("SSGI / AO"), p = nr(d, s, l, r).toInspector("SSGI / GI Denoised");
|
|
2862
2862
|
p.radius = this.giDenoiseRadius;
|
|
2863
|
-
let m = nr(f, s, l, r);
|
|
2863
|
+
let m = nr(f, s, l, r).toInspector("SSGI / AO Denoised");
|
|
2864
2864
|
m.radius = this.aoDenoiseRadius;
|
|
2865
2865
|
let h = L(Mt(a.rgb.mul(m.r), o.rgb.mul(p.rgb)), a.a);
|
|
2866
2866
|
return h.name = "Ssgi Composite", i === "ao only" ? L(M(f.r), 1) : i === "gi only" ? L(d.rgb, 1) : i === "denoised ao only" ? L(M(m.r), 1) : i === "denoised gi only" ? L(p.rgb, 1) : i === "direct lighting only" ? a : i === "without denoise" ? L(Mt(a.rgb.mul(f.r), o.rgb.mul(d.rgb)), a.a) : h;
|
|
@@ -3201,8 +3201,8 @@ var fr = /* @__PURE__ */ new Ae(), pr = /* @__PURE__ */ new d(), mr, hr = class
|
|
|
3201
3201
|
}
|
|
3202
3202
|
assemble(e, t, n, r, i) {
|
|
3203
3203
|
if (!(r instanceof D) || i === "no fog" || i === "depth") return this.removeSceneFog(), t;
|
|
3204
|
-
let a = e.getTextureNode("depth"), o = this.getTransparentObjectsDepthPassTexture(n, r), s = Ve(a.r, o.r), c = F(r.projectionMatrixInverse), l = F(r.matrixWorld), u = Ve(F(r.far).onRenderUpdate(() => r.far), 50).sub(this.fogFarBlend), d = u.sub(this.fogNearBlend), f = L(Ht.x.mul(2).sub(1), Ht.y.mul(2).sub(1), s, 1), p = c.mul(f), m = p.xyz.div(p.w), h = l.mul(L(m, 1)).xyz.xz.length(), g = u.sub(h).div(u.sub(d)).clamp(0, 1);
|
|
3205
|
-
return this.addSceneFog(n, d, u), Ge(L(this.fogColor, 1), t, g);
|
|
3204
|
+
let a = e.getTextureNode("depth"), o = this.getTransparentObjectsDepthPassTexture(n, r), s = Ve(a.r, o.r), c = F(r.projectionMatrixInverse), l = F(r.matrixWorld), u = Ve(F(r.far).onRenderUpdate(() => r.far), 50).sub(this.fogFarBlend), d = u.sub(this.fogNearBlend), f = L(Ht.x.mul(2).sub(1), Ht.y.mul(2).sub(1), s, 1), p = c.mul(f), m = p.xyz.div(p.w), h = l.mul(L(m, 1)).xyz.xz.length(), g = u.sub(h).div(u.sub(d)).clamp(0, 1).toInspector("Fog / Factor");
|
|
3205
|
+
return this.addSceneFog(n, d, u), Ge(L(this.fogColor, 1), t, g).toInspector("Fog / Composite");
|
|
3206
3206
|
}
|
|
3207
3207
|
addSceneFog(e, t, n) {
|
|
3208
3208
|
let r = It.xz.length(), i = n.sub(r).div(n.sub(t)).clamp(0, 1).oneMinus();
|
|
@@ -3267,7 +3267,7 @@ var fr = /* @__PURE__ */ new Ae(), pr = /* @__PURE__ */ new d(), mr, hr = class
|
|
|
3267
3267
|
}
|
|
3268
3268
|
switchToPlanner(e) {
|
|
3269
3269
|
super.switchToPlanner(e);
|
|
3270
|
-
let t = this.
|
|
3270
|
+
let t = this._skyStateTracker.isSkyEnabled;
|
|
3271
3271
|
this._webGpuGroundShadowReflection.setFloorVisible(t), this._webGpuGroundShadowReflection.setTopLightVisible(!t && e !== Se.Mode2D), this._webGpuSkyContainer.setVisible(t), this._skyStateTracker.notifyEnteredPlanner(), this.disableFogPass(), this.passNeedsReassembly = !0;
|
|
3272
3272
|
}
|
|
3273
3273
|
highlightObjects(e) {
|
|
@@ -3432,4 +3432,4 @@ ye([ve, _e("design:type", Object)], kr.prototype, "_domHelper", void 0), ye([ve,
|
|
|
3432
3432
|
//#endregion
|
|
3433
3433
|
export { kr as RoomleWebGPURenderer };
|
|
3434
3434
|
|
|
3435
|
-
//# sourceMappingURL=roomle-webgpu-renderer-
|
|
3435
|
+
//# sourceMappingURL=roomle-webgpu-renderer-__fKL0NL.mjs.map
|