@roomle/web-sdk 4.2.0-alpha.4 → 4.2.0-alpha.5
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-D4K3PT_C.mjs → api-C98GESLz.mjs} +2 -2
- package/lib/{api-D4K3PT_C.mjs.map → api-C98GESLz.mjs.map} +1 -1
- package/lib/asset-loader.worker-eqHzNAwa.mjs.map +1 -1
- package/lib/budgeteer.sw-BUMElkO1.mjs.map +1 -1
- package/lib/configurator-DOJ9I1n7.mjs +2 -0
- package/lib/{configurator-B_N3E-fU.mjs → configurator-DxA5QvfQ.mjs} +3 -3
- package/lib/{configurator-B_N3E-fU.mjs.map → configurator-DxA5QvfQ.mjs.map} +1 -1
- package/lib/{glb-viewer-CD_K6nh8.mjs → glb-viewer-BdpDKWWZ.mjs} +3 -3
- package/lib/{glb-viewer-CD_K6nh8.mjs.map → glb-viewer-BdpDKWWZ.mjs.map} +1 -1
- package/lib/glb-viewer-ClmIxWHc.mjs +2 -0
- package/lib/{homag-intelligence-Df4SRelQ.mjs → homag-intelligence-DKXsYTQJ.mjs} +3 -3
- package/lib/{homag-intelligence-Df4SRelQ.mjs.map → homag-intelligence-DKXsYTQJ.mjs.map} +1 -1
- package/lib/{material-viewer-DDDOHL63.mjs → material-viewer-YWcy7waq.mjs} +3 -3
- package/lib/{material-viewer-DDDOHL63.mjs.map → material-viewer-YWcy7waq.mjs.map} +1 -1
- package/lib/{packages-aOLE-uAL.mjs → packages-CAofv6La.mjs} +5 -5
- package/lib/{packages-aOLE-uAL.mjs.map → packages-CAofv6La.mjs.map} +1 -1
- package/lib/planner-BwXcTPN5.mjs +2 -0
- package/lib/{planner-CJh1gqtX.mjs → planner-CTtIkoNc.mjs} +3 -3
- package/lib/{planner-CJh1gqtX.mjs.map → planner-CTtIkoNc.mjs.map} +1 -1
- package/lib/roomle-headless.js +8 -8
- package/lib/{roomle-sdk-Dj9Zd1PS.mjs → roomle-sdk-B-V7NcMU.mjs} +13 -13
- package/lib/{roomle-sdk-Dj9Zd1PS.mjs.map → roomle-sdk-B-V7NcMU.mjs.map} +1 -1
- package/lib/roomle-sdk.js +6 -6
- package/lib/{roomle-webgpu-renderer-CNZiK43x.mjs → roomle-webgpu-renderer-Dzuy_Y39.mjs} +3 -3
- package/lib/{roomle-webgpu-renderer-CNZiK43x.mjs.map → roomle-webgpu-renderer-Dzuy_Y39.mjs.map} +1 -1
- package/lib/{script-loader-60UDaEVE.mjs → script-loader-Bc41zbmK.mjs} +2 -2
- package/lib/{script-loader-60UDaEVE.mjs.map → script-loader-Bc41zbmK.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 +1 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js +1 -0
- 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/{tools-core-1rVSAXUA.mjs → tools-core-BsBeei_q.mjs} +3 -3
- package/lib/{tools-core-1rVSAXUA.mjs.map → tools-core-BsBeei_q.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-XCSeE4KT.mjs +0 -2
- package/lib/glb-viewer-BCdULq80.mjs +0 -2
- package/lib/planner-DkI43IZF.mjs +0 -2
|
@@ -47582,7 +47582,7 @@ var Jp = class {
|
|
|
47582
47582
|
let { x: n, y: r } = this._domHelper.getClientDimensions();
|
|
47583
47583
|
if (t ||= !1, t || (this._scene.background = this._initData.colors.DEFAULT_BACKGROUND), this._initData.webGpu) {
|
|
47584
47584
|
let { WebGPURenderer: e } = await import("./three.webgpu-bR4-ABJu.mjs");
|
|
47585
|
-
this._renderer = new e({ antialias: !1 }), await this._renderer.init();
|
|
47585
|
+
this._renderer = new e({ antialias: !1 }), this._renderer.setClearColor(new M(1, 1, 1), 1), await this._renderer.init();
|
|
47586
47586
|
} else this._renderer = new Hn({
|
|
47587
47587
|
antialias: !this._globalInitData?.e2e,
|
|
47588
47588
|
alpha: !0
|
|
@@ -47597,7 +47597,7 @@ var Jp = class {
|
|
|
47597
47597
|
}, this._initData.linearAoFilter);
|
|
47598
47598
|
e.setQualityMap(Tp), e.setAutoQuality(this._initData.autoQuality), this._initData.debug && e.loadLutImages(Kp), this._roomleRenderer = e;
|
|
47599
47599
|
} else {
|
|
47600
|
-
let { RoomleWebGPURenderer: e } = await import("./roomle-webgpu-renderer-
|
|
47600
|
+
let { RoomleWebGPURenderer: e } = await import("./roomle-webgpu-renderer-Dzuy_Y39.mjs"), t = new e(this._creator_, this._renderer, !0, {
|
|
47601
47601
|
outlineVisibleEdgeColor: this._initData.colors.SELECTION.getHex(),
|
|
47602
47602
|
outlineHiddenEdgeColor: this._initData.colors.SELECTION.getHex()
|
|
47603
47603
|
});
|
|
@@ -48051,7 +48051,7 @@ var gm = class extends ld {
|
|
|
48051
48051
|
let t = new qp(this._creator_, e, vm, vm);
|
|
48052
48052
|
return t.setQualityMap(Tp), t;
|
|
48053
48053
|
}
|
|
48054
|
-
let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-
|
|
48054
|
+
let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-Dzuy_Y39.mjs");
|
|
48055
48055
|
return new t(this._creator_, e, !1);
|
|
48056
48056
|
}
|
|
48057
48057
|
async switchToPlannerSettings() {
|
|
@@ -52125,7 +52125,7 @@ var wg = "rml_plans", Tg = {
|
|
|
52125
52125
|
e.length > 0 && this._show3dDimensionsMulti(e);
|
|
52126
52126
|
} else this._show3dDimensions(e);
|
|
52127
52127
|
let i = this.getPlanObject(e.getId()), a;
|
|
52128
|
-
i && (a = await Mm([i], this._plannerKernelAccess, this._rapiAccess)), this._roomlePlannerUiCallback.onPlanElementChanged(ep.MOVED, a?.length ? a[0] : {
|
|
52128
|
+
i.runtimeId && (a = await Mm([i], this._plannerKernelAccess, this._rapiAccess)), this._roomlePlannerUiCallback.onPlanElementChanged(ep.MOVED, a?.length ? a[0] : {
|
|
52129
52129
|
...i,
|
|
52130
52130
|
data: null
|
|
52131
52131
|
});
|
|
@@ -54287,7 +54287,7 @@ var o_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
54287
54287
|
async switchToConfigurator() {
|
|
54288
54288
|
let e = await this._singlePromiseFactory.create(Fa.START_HSC, "startHSC", (e) => {
|
|
54289
54289
|
if (this._hscInstance) return e(this._hscInstance);
|
|
54290
|
-
import("./configurator-
|
|
54290
|
+
import("./configurator-DOJ9I1n7.mjs").then(({ Configurator: t }) => {
|
|
54291
54291
|
let n = new t(this._creator_);
|
|
54292
54292
|
n.boot({
|
|
54293
54293
|
kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
|
|
@@ -54305,7 +54305,7 @@ var o_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
54305
54305
|
async switchToViewer() {
|
|
54306
54306
|
let e = await this._singlePromiseFactory.create(Fa.START_GLB, "startGLB", (e) => {
|
|
54307
54307
|
if (this._glbInstance) return e(this._glbInstance);
|
|
54308
|
-
import("./glb-viewer-
|
|
54308
|
+
import("./glb-viewer-ClmIxWHc.mjs").then((t) => {
|
|
54309
54309
|
let n = new t.GlbViewer(this._creator_);
|
|
54310
54310
|
n.boot(), n.getApi().setOverrides(this._initData);
|
|
54311
54311
|
let r = this._domHelper.element;
|
|
@@ -55210,7 +55210,7 @@ var o_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
55210
55210
|
globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
|
|
55211
55211
|
}, "*", [t.port2]);
|
|
55212
55212
|
let n = Vg(t.port1), r = null;
|
|
55213
|
-
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new a_(this._creator_, r)), await new (await (import("./homag-intelligence-
|
|
55213
|
+
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new a_(this._creator_, r)), await new (await (import("./homag-intelligence-DKXsYTQJ.mjs"))).HomagIntelligence(this, e, n).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
|
|
55214
55214
|
}
|
|
55215
55215
|
async _loadHomagIntelligenceArticles(e, t) {
|
|
55216
55216
|
let n = this._homagIntelligence;
|
|
@@ -58772,7 +58772,7 @@ var mv = [
|
|
|
58772
58772
|
static getConfigurator(e, t) {
|
|
58773
58773
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
58774
58774
|
let n = hv.lookup("global-init-data");
|
|
58775
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-
|
|
58775
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-DOJ9I1n7.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58776
58776
|
}
|
|
58777
58777
|
static getPlanner(e, t) {
|
|
58778
58778
|
return this._getPlanner(e, t);
|
|
@@ -58783,15 +58783,15 @@ var mv = [
|
|
|
58783
58783
|
static async getGlbViewer(e, t) {
|
|
58784
58784
|
t = this._setupDI(K.GLB_VIEWER, e, t);
|
|
58785
58785
|
let n = hv.lookup("global-init-data");
|
|
58786
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-
|
|
58786
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-ClmIxWHc.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58787
58787
|
}
|
|
58788
58788
|
static getMaterialViewer(e, t) {
|
|
58789
58789
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
58790
58790
|
let n = hv.lookup("global-init-data");
|
|
58791
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-
|
|
58791
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-YWcy7waq.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58792
58792
|
}
|
|
58793
58793
|
static getCoreTools(e, t) {
|
|
58794
|
-
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-
|
|
58794
|
+
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-BsBeei_q.mjs").then(({ ToolsCore: n }) => {
|
|
58795
58795
|
let r = new n(t);
|
|
58796
58796
|
r.boot(), e(r);
|
|
58797
58797
|
}, n));
|
|
@@ -58819,7 +58819,7 @@ var mv = [
|
|
|
58819
58819
|
}
|
|
58820
58820
|
static _getPlanner(e, t, n) {
|
|
58821
58821
|
let r = this._setupDI(K.PLANNER, e, t), i = hv.lookup("global-init-data");
|
|
58822
|
-
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-
|
|
58822
|
+
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-BwXcTPN5.mjs").then(({ Planner: t }) => {
|
|
58823
58823
|
e(n ? new t(r, n) : new t(r));
|
|
58824
58824
|
}, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58825
58825
|
}
|
|
@@ -58836,4 +58836,4 @@ var mv = [
|
|
|
58836
58836
|
//#endregion
|
|
58837
58837
|
export { G as $, Vu as A, Vc as B, Bd as C, pd as D, X as E, eu as F, Cc as G, Ic as H, _l as I, xc as J, wc as K, sl as L, Su as M, uu as N, ld as O, su as P, Xs as Q, al as R, ef as S, Sd as T, Fc as U, K as V, Tc as W, fc as X, mc as Y, lc as Z, pp as _, W_ as a, Pa as at, Vf as b, A_ as c, Na as ct, Rm as d, Wi as dt, go as et, Sm as f, Ri as ft, hm as g, gm as h, rv as i, Fa as it, wu as j, cd as k, D_ as l, ka as lt, ym as m, Mi as mt, hv as n, Qa as nt, U_ as o, V as ot, bm as p, Ni as pt, Sc as q, mv as r, Xa as rt, H_ as s, H as st, gv as t, to as tt, p_ as u, Oa as ut, ip as v, Ld as w, Hf as x, ep as y, Hc as z };
|
|
58838
58838
|
|
|
58839
|
-
//# sourceMappingURL=roomle-sdk-
|
|
58839
|
+
//# sourceMappingURL=roomle-sdk-B-V7NcMU.mjs.map
|