@roomle/web-sdk 6.0.0-alpha.1 → 6.0.0-alpha.3
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-56gsJaFH.mjs → api-CfHIG8XG.mjs} +2 -2
- package/lib/{api-56gsJaFH.mjs.map → api-CfHIG8XG.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/configurator-DXd3P_DJ.mjs +2 -0
- package/lib/{configurator-B2Yqt1V5.mjs → configurator-vJ5idG1h.mjs} +3 -3
- package/lib/{configurator-B2Yqt1V5.mjs.map → configurator-vJ5idG1h.mjs.map} +1 -1
- package/lib/{glb-viewer-BLe8SEWm.mjs → glb-viewer-C2U_66OO.mjs} +3 -3
- package/lib/{glb-viewer-BLe8SEWm.mjs.map → glb-viewer-C2U_66OO.mjs.map} +1 -1
- package/lib/glb-viewer-DiHXOqau.mjs +2 -0
- package/lib/{homag-intelligence-DmCkEgju.mjs → homag-intelligence-CzTJI_Bo.mjs} +3 -3
- package/lib/{homag-intelligence-DmCkEgju.mjs.map → homag-intelligence-CzTJI_Bo.mjs.map} +1 -1
- package/lib/{material-viewer-DlPRNBJK.mjs → material-viewer-1TdW2e5Q.mjs} +3 -3
- package/lib/{material-viewer-DlPRNBJK.mjs.map → material-viewer-1TdW2e5Q.mjs.map} +1 -1
- package/lib/{packages-CRUOFLSm.mjs → packages-DbCxjl5Y.mjs} +5 -5
- package/lib/{packages-CRUOFLSm.mjs.map → packages-DbCxjl5Y.mjs.map} +1 -1
- package/lib/{planner-DLmepUoo.mjs → planner-BWxMYEwu.mjs} +3 -3
- package/lib/{planner-DLmepUoo.mjs.map → planner-BWxMYEwu.mjs.map} +1 -1
- package/lib/planner-Bwo0xEWJ.mjs +2 -0
- package/lib/roomle-headless.js +7 -7
- package/lib/{roomle-sdk-ORPlJCHx.mjs → roomle-sdk-BIGMLwuJ.mjs} +10 -10
- package/lib/{roomle-sdk-ORPlJCHx.mjs.map → roomle-sdk-BIGMLwuJ.mjs.map} +1 -1
- package/lib/roomle-sdk.js +6 -6
- package/lib/{script-loader-CKTdvq5h.mjs → script-loader-DOhxnpYD.mjs} +2 -2
- package/lib/{script-loader-CKTdvq5h.mjs.map → script-loader-DOhxnpYD.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/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-DNlMbyR3.mjs → tools-core-DscrDxxP.mjs} +3 -3
- package/lib/{tools-core-DNlMbyR3.mjs.map → tools-core-DscrDxxP.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-sOl9pxCL.mjs +0 -2
- package/lib/glb-viewer-Y_Md3SYw.mjs +0 -2
- package/lib/planner-XmE07_OQ.mjs +0 -2
|
@@ -57860,7 +57860,7 @@ var Kw = "rml_plans", qw = {
|
|
|
57860
57860
|
}
|
|
57861
57861
|
_handleRoomWallDeletion(e, t, n) {
|
|
57862
57862
|
let r = e.getKernelObject(), i = this._getAttachedRoomFloors(r.getId());
|
|
57863
|
-
if (
|
|
57863
|
+
if (i.length !== 1) return !1;
|
|
57864
57864
|
let a = i.filter((e) => Cv(e, r.getId())), o = i.filter((e) => !a.includes(e)), s = new Set(o.map((e) => e.getId())), c = /* @__PURE__ */ new Set();
|
|
57865
57865
|
for (let e of o) for (let t of Sv(e)) c.add(t.getId());
|
|
57866
57866
|
a.length && (this._removeConstructionsAttachedToWall(r.getId(), t, n), this._convertWallToInvisible(r), t.add(r.getId()), c.delete(r.getId()));
|
|
@@ -59426,7 +59426,7 @@ var OT = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
59426
59426
|
async switchToConfigurator() {
|
|
59427
59427
|
let e = await this._singlePromiseFactory.create(Ga.START_HSC, "startHSC", (e) => {
|
|
59428
59428
|
if (this._hscInstance) return e(this._hscInstance);
|
|
59429
|
-
import("./configurator-
|
|
59429
|
+
import("./configurator-DXd3P_DJ.mjs").then(({ Configurator: t }) => {
|
|
59430
59430
|
let n = new t(this._creator_);
|
|
59431
59431
|
n.boot({
|
|
59432
59432
|
kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
|
|
@@ -59444,7 +59444,7 @@ var OT = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
59444
59444
|
async switchToViewer() {
|
|
59445
59445
|
let e = await this._singlePromiseFactory.create(Ga.START_GLB, "startGLB", (e) => {
|
|
59446
59446
|
if (this._glbInstance) return e(this._glbInstance);
|
|
59447
|
-
import("./glb-viewer-
|
|
59447
|
+
import("./glb-viewer-DiHXOqau.mjs").then((t) => {
|
|
59448
59448
|
let n = new t.GlbViewer(this._creator_);
|
|
59449
59449
|
n.boot(), n.getApi().setOverrides(this._initData);
|
|
59450
59450
|
let r = this._domHelper.element;
|
|
@@ -60425,7 +60425,7 @@ var OT = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
60425
60425
|
globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
|
|
60426
60426
|
}, "*", [t.port2]);
|
|
60427
60427
|
let n = lT(t.port1), r = null;
|
|
60428
|
-
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new DT(this._creator_, r)), await new (await (import("./homag-intelligence-
|
|
60428
|
+
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new DT(this._creator_, r)), await new (await (import("./homag-intelligence-CzTJI_Bo.mjs"))).HomagIntelligence(this, e, n, () => this._plannerKernelAccess.arrangementCorrectionEnabled).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
|
|
60429
60429
|
}
|
|
60430
60430
|
async _loadHomagIntelligenceArticles(e, t) {
|
|
60431
60431
|
let n = this._homagIntelligence;
|
|
@@ -64399,7 +64399,7 @@ var lO = [
|
|
|
64399
64399
|
static getConfigurator(e, t) {
|
|
64400
64400
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
64401
64401
|
let n = uO.lookup("global-init-data");
|
|
64402
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-
|
|
64402
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-DXd3P_DJ.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64403
64403
|
}
|
|
64404
64404
|
static getPlanner(e, t) {
|
|
64405
64405
|
return this._getPlanner(e, t);
|
|
@@ -64410,15 +64410,15 @@ var lO = [
|
|
|
64410
64410
|
static async getGlbViewer(e, t) {
|
|
64411
64411
|
t = this._setupDI(K.GLB_VIEWER, e, t);
|
|
64412
64412
|
let n = uO.lookup("global-init-data");
|
|
64413
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-
|
|
64413
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-DiHXOqau.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64414
64414
|
}
|
|
64415
64415
|
static getMaterialViewer(e, t) {
|
|
64416
64416
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
64417
64417
|
let n = uO.lookup("global-init-data");
|
|
64418
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-
|
|
64418
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-1TdW2e5Q.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64419
64419
|
}
|
|
64420
64420
|
static getCoreTools(e, t) {
|
|
64421
|
-
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-
|
|
64421
|
+
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-DscrDxxP.mjs").then(({ ToolsCore: n }) => {
|
|
64422
64422
|
let r = new n(t);
|
|
64423
64423
|
r.boot(), e(r);
|
|
64424
64424
|
}, n));
|
|
@@ -64446,7 +64446,7 @@ var lO = [
|
|
|
64446
64446
|
}
|
|
64447
64447
|
static _getPlanner(e, t, n) {
|
|
64448
64448
|
let r = this._setupDI(K.PLANNER, e, t), i = uO.lookup("global-init-data");
|
|
64449
|
-
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-
|
|
64449
|
+
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-Bwo0xEWJ.mjs").then(({ Planner: t }) => {
|
|
64450
64450
|
e(n ? new t(r, n) : new t(r));
|
|
64451
64451
|
}, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
64452
64452
|
}
|
|
@@ -64463,4 +64463,4 @@ var lO = [
|
|
|
64463
64463
|
//#endregion
|
|
64464
64464
|
export { wc as $, Mv as A, md as B, cb as C, My as D, Iy as E, V_ as F, Zc as G, wu as H, P_ as I, Rc as J, Xc as K, Vg as L, cv as M, X_ as N, jy as O, W_ as P, Ec as Q, jg 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, Rx as _, Bi as _t, mE as a, co as at, ox as b, eE as c, Wa as ct, oC as d, Ua as dt, xc as et, ZS as f, za as ft, WS as g, Vi as gt, GS as h, Ki as ht, DE as i, fo as it, yv as j, Xv as k, QT as l, V as lt, JS as m, Qi as mt, uO as n, G as nt, pE as o, oo as ot, YS as p, Ra as pt, Bc as q, lO as r, Eo as rt, fE as s, Ga as st, dO as t, oc as tt, IT as u, H as ut, kx as v, Gy as w, sx as x, Tx as y, kg as z };
|
|
64465
64465
|
|
|
64466
|
-
//# sourceMappingURL=roomle-sdk-
|
|
64466
|
+
//# sourceMappingURL=roomle-sdk-BIGMLwuJ.mjs.map
|