@roomle/web-sdk 4.3.0-alpha.2 → 4.3.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-C430uhWG.mjs → api-1PNZF4e6.mjs} +2 -2
- package/lib/{api-C430uhWG.mjs.map → api-1PNZF4e6.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/configurator-5BzSqk39.mjs +2 -0
- package/lib/{configurator-CUiTTJmW.mjs → configurator-BMXr72V6.mjs} +3 -3
- package/lib/{configurator-CUiTTJmW.mjs.map → configurator-BMXr72V6.mjs.map} +1 -1
- package/lib/glb-viewer-B3hqfiM6.mjs +2 -0
- package/lib/{glb-viewer-DB5c3Qk5.mjs → glb-viewer-CFMOHQk3.mjs} +3 -3
- package/lib/{glb-viewer-DB5c3Qk5.mjs.map → glb-viewer-CFMOHQk3.mjs.map} +1 -1
- package/lib/{homag-intelligence-8eBT714O.mjs → homag-intelligence-BcNm3Zg8.mjs} +3 -3
- package/lib/{homag-intelligence-8eBT714O.mjs.map → homag-intelligence-BcNm3Zg8.mjs.map} +1 -1
- package/lib/{material-viewer-CfZwcbei.mjs → material-viewer-DlLHNvj_.mjs} +3 -3
- package/lib/{material-viewer-CfZwcbei.mjs.map → material-viewer-DlLHNvj_.mjs.map} +1 -1
- package/lib/{packages-0GadOkxt.mjs → packages-BKnJk02a.mjs} +5 -5
- package/lib/{packages-0GadOkxt.mjs.map → packages-BKnJk02a.mjs.map} +1 -1
- package/lib/{planner-CyQKj8Ok.mjs → planner-BLcwLi9h.mjs} +3 -3
- package/lib/{planner-CyQKj8Ok.mjs.map → planner-BLcwLi9h.mjs.map} +1 -1
- package/lib/planner-CgL9JfFb.mjs +2 -0
- package/lib/roomle-headless.js +7 -7
- package/lib/{roomle-sdk-CpgzRTKP.mjs → roomle-sdk-DdQjEWNK.mjs} +10 -10
- package/lib/{roomle-sdk-CpgzRTKP.mjs.map → roomle-sdk-DdQjEWNK.mjs.map} +1 -1
- package/lib/roomle-sdk.js +6 -6
- package/lib/{script-loader-BmScoq7Y.mjs → script-loader-Binkn2lL.mjs} +2 -2
- package/lib/{script-loader-BmScoq7Y.mjs.map → script-loader-Binkn2lL.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-CAEfSB8I.mjs → tools-core-C8T-y6HX.mjs} +3 -3
- package/lib/{tools-core-CAEfSB8I.mjs.map → tools-core-C8T-y6HX.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-9ICb3RBz.mjs +0 -2
- package/lib/glb-viewer-_gIYHXT9.mjs +0 -2
- package/lib/planner-D63FNjtX.mjs +0 -2
|
@@ -49212,7 +49212,7 @@ var Wm = async (e, t) => {
|
|
|
49212
49212
|
label: e.customLabel || e.articleId,
|
|
49213
49213
|
perspectiveImage: e.customThumbnail,
|
|
49214
49214
|
externalMeta: { skipCloudinary: !0 }
|
|
49215
|
-
}), e.data = n;
|
|
49215
|
+
}), n && e.configurationType?.value === s.EXTERNAL && (n.width ??= e.dimensions?.x, n.height ??= e.dimensions?.z, n.depth ??= e.dimensions?.y), e.data = n;
|
|
49216
49216
|
}
|
|
49217
49217
|
return r;
|
|
49218
49218
|
}, qm = class extends A {
|
|
@@ -54439,7 +54439,7 @@ var b_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
54439
54439
|
async switchToConfigurator() {
|
|
54440
54440
|
let e = await this._singlePromiseFactory.create(Ra.START_HSC, "startHSC", (e) => {
|
|
54441
54441
|
if (this._hscInstance) return e(this._hscInstance);
|
|
54442
|
-
import("./configurator-
|
|
54442
|
+
import("./configurator-5BzSqk39.mjs").then(({ Configurator: t }) => {
|
|
54443
54443
|
let n = new t(this._creator_);
|
|
54444
54444
|
n.boot({
|
|
54445
54445
|
kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
|
|
@@ -54457,7 +54457,7 @@ var b_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
54457
54457
|
async switchToViewer() {
|
|
54458
54458
|
let e = await this._singlePromiseFactory.create(Ra.START_GLB, "startGLB", (e) => {
|
|
54459
54459
|
if (this._glbInstance) return e(this._glbInstance);
|
|
54460
|
-
import("./glb-viewer-
|
|
54460
|
+
import("./glb-viewer-B3hqfiM6.mjs").then((t) => {
|
|
54461
54461
|
let n = new t.GlbViewer(this._creator_);
|
|
54462
54462
|
n.boot(), n.getApi().setOverrides(this._initData);
|
|
54463
54463
|
let r = this._domHelper.element;
|
|
@@ -55376,7 +55376,7 @@ var b_ = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
|
|
|
55376
55376
|
globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
|
|
55377
55377
|
}, "*", [t.port2]);
|
|
55378
55378
|
let n = t_(t.port1), r = null;
|
|
55379
|
-
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new y_(this._creator_, r)), await new (await (import("./homag-intelligence-
|
|
55379
|
+
this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new y_(this._creator_, r)), await new (await (import("./homag-intelligence-BcNm3Zg8.mjs"))).HomagIntelligence(this, e, n).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
|
|
55380
55380
|
}
|
|
55381
55381
|
async _loadHomagIntelligenceArticles(e, t) {
|
|
55382
55382
|
let n = this._homagIntelligence;
|
|
@@ -58949,7 +58949,7 @@ var Pv = [
|
|
|
58949
58949
|
static getConfigurator(e, t) {
|
|
58950
58950
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
58951
58951
|
let n = Fv.lookup("global-init-data");
|
|
58952
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-
|
|
58952
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-5BzSqk39.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58953
58953
|
}
|
|
58954
58954
|
static getPlanner(e, t) {
|
|
58955
58955
|
return this._getPlanner(e, t);
|
|
@@ -58960,15 +58960,15 @@ var Pv = [
|
|
|
58960
58960
|
static async getGlbViewer(e, t) {
|
|
58961
58961
|
t = this._setupDI(K.GLB_VIEWER, e, t);
|
|
58962
58962
|
let n = Fv.lookup("global-init-data");
|
|
58963
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-
|
|
58963
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-B3hqfiM6.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58964
58964
|
}
|
|
58965
58965
|
static getMaterialViewer(e, t) {
|
|
58966
58966
|
t = this._setupDI(K.CONFIGURATOR, e, t);
|
|
58967
58967
|
let n = Fv.lookup("global-init-data");
|
|
58968
|
-
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-
|
|
58968
|
+
return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-DlLHNvj_.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
58969
58969
|
}
|
|
58970
58970
|
static getCoreTools(e, t) {
|
|
58971
|
-
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-
|
|
58971
|
+
return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-C8T-y6HX.mjs").then(({ ToolsCore: n }) => {
|
|
58972
58972
|
let r = new n(t);
|
|
58973
58973
|
r.boot(), e(r);
|
|
58974
58974
|
}, n));
|
|
@@ -58996,7 +58996,7 @@ var Pv = [
|
|
|
58996
58996
|
}
|
|
58997
58997
|
static _getPlanner(e, t, n) {
|
|
58998
58998
|
let r = this._setupDI(K.PLANNER, e, t), i = Fv.lookup("global-init-data");
|
|
58999
|
-
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-
|
|
58999
|
+
return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-CgL9JfFb.mjs").then(({ Planner: t }) => {
|
|
59000
59000
|
e(n ? new t(r, n) : new t(r));
|
|
59001
59001
|
}, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
|
|
59002
59002
|
}
|
|
@@ -59013,4 +59013,4 @@ var Pv = [
|
|
|
59013
59013
|
//#endregion
|
|
59014
59014
|
export { G as $, $u as A, Gc as B, Qd as C, Td as D, X as E, du as F, Dc as G, Bc as H, Ol as I, Tc as J, Oc as K, vl as L, Nu as M, xu as N, xd as O, vu as P, $s as Q, gl as R, pf as S, Pd as T, zc as U, K as V, kc as W, gc as X, vc as Y, pc as Z, Tp as _, av as a, La as at, $f as b, G_ as c, Ia as ct, Qm as d, qi as dt, yo as et, Im as f, Vi as ft, km as g, Am as h, vv as i, Ra as it, Fu as j, bd as k, H_ as l, Ma as lt, Nm as m, Fi as mt, Fv as n, to as nt, iv as o, V as ot, Pm as p, Ii as pt, Ec as q, Pv as r, $a as rt, rv as s, H as st, Iv as t, io as tt, O_ as u, ja as ut, gp as v, Yd as w, ep as x, fp as y, Kc as z };
|
|
59015
59015
|
|
|
59016
|
-
//# sourceMappingURL=roomle-sdk-
|
|
59016
|
+
//# sourceMappingURL=roomle-sdk-DdQjEWNK.mjs.map
|