@roomle/web-sdk 4.2.0-alpha.3 → 4.2.0-alpha.4

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.
Files changed (38) hide show
  1. package/lib/ConfiguratorKernel.wasm +0 -0
  2. package/lib/RoomleCore.wasm +0 -0
  3. package/lib/RoomleToolsCore.wasm +0 -0
  4. package/lib/{api-BcdMPjhw.mjs → api-D4K3PT_C.mjs} +2 -2
  5. package/lib/{api-BcdMPjhw.mjs.map → api-D4K3PT_C.mjs.map} +1 -1
  6. package/lib/asset-loader.worker-eqHzNAwa.mjs.map +1 -1
  7. package/lib/budgeteer.sw-BUMElkO1.mjs.map +1 -1
  8. package/lib/{configurator-CqUyAvhd.mjs → configurator-B_N3E-fU.mjs} +3 -3
  9. package/lib/{configurator-CqUyAvhd.mjs.map → configurator-B_N3E-fU.mjs.map} +1 -1
  10. package/lib/configurator-XCSeE4KT.mjs +2 -0
  11. package/lib/glb-viewer-BCdULq80.mjs +2 -0
  12. package/lib/{glb-viewer-C6XU_HMw.mjs → glb-viewer-CD_K6nh8.mjs} +3 -3
  13. package/lib/{glb-viewer-C6XU_HMw.mjs.map → glb-viewer-CD_K6nh8.mjs.map} +1 -1
  14. package/lib/{homag-intelligence-Cmhold3S.mjs → homag-intelligence-Df4SRelQ.mjs} +3 -3
  15. package/lib/{homag-intelligence-Cmhold3S.mjs.map → homag-intelligence-Df4SRelQ.mjs.map} +1 -1
  16. package/lib/{material-viewer-3laQuEgj.mjs → material-viewer-DDDOHL63.mjs} +3 -3
  17. package/lib/{material-viewer-3laQuEgj.mjs.map → material-viewer-DDDOHL63.mjs.map} +1 -1
  18. package/lib/{packages-BRoZjsxP.mjs → packages-aOLE-uAL.mjs} +5 -5
  19. package/lib/{packages-BRoZjsxP.mjs.map → packages-aOLE-uAL.mjs.map} +1 -1
  20. package/lib/{planner-2ZsNeXnj.mjs → planner-CJh1gqtX.mjs} +3 -3
  21. package/lib/{planner-2ZsNeXnj.mjs.map → planner-CJh1gqtX.mjs.map} +1 -1
  22. package/lib/planner-DkI43IZF.mjs +2 -0
  23. package/lib/roomle-headless.js +7 -7
  24. package/lib/{roomle-sdk-CwG0lo8o.mjs → roomle-sdk-Dj9Zd1PS.mjs} +11 -11
  25. package/lib/{roomle-sdk-CwG0lo8o.mjs.map → roomle-sdk-Dj9Zd1PS.mjs.map} +1 -1
  26. package/lib/roomle-sdk.js +6 -6
  27. package/lib/{script-loader-CsWF2xfV.mjs → script-loader-60UDaEVE.mjs} +2 -2
  28. package/lib/{script-loader-CsWF2xfV.mjs.map → script-loader-60UDaEVE.mjs.map} +1 -1
  29. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  30. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  31. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  32. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  33. package/lib/{tools-core-CghU3HxF.mjs → tools-core-1rVSAXUA.mjs} +3 -3
  34. package/lib/{tools-core-CghU3HxF.mjs.map → tools-core-1rVSAXUA.mjs.map} +1 -1
  35. package/package.json +2 -2
  36. package/lib/configurator-B5JKyAVr.mjs +0 -2
  37. package/lib/glb-viewer-dwZ7AQ5k.mjs +0 -2
  38. package/lib/planner-CU5ZaWGK.mjs +0 -2
@@ -52894,7 +52894,7 @@ var wg = "rml_plans", Tg = {
52894
52894
  return new Promise((t, r) => {
52895
52895
  this._waitForAssets().then(async () => {
52896
52896
  let r;
52897
- this.cameraBehaviour.cameraControl instanceof Sd ? r = this.cameraBehaviour.cameraControl.getCamera().clone() : (r = this.getPerspectiveOffsetCamera().clone(), this.viewModel.getCeilingGroup().visible = !1, r.layers.enableAll(), await this.viewModel.setCameraType(G.CAMERA_3D)), r.resetOffset();
52897
+ this.cameraBehaviour.cameraControl instanceof Sd ? r = this.cameraBehaviour.cameraControl.getCamera().clone() : (r = this.getPerspectiveOffsetCamera().clone(), r.layers.enableAll(), await this.viewModel.setCameraType(G.CAMERA_3D)), r.resetOffset();
52898
52898
  let i = e.object ? ym.getCameraTargetForBBox(new j().setFromObject(e.object)) : e.runtimeIds ? ym.getCameraTargetForBBox(this.viewModel.getBoundingBoxFromRuntimeIds(e.runtimeIds)) : this._calculateImageCameraTarget();
52899
52899
  this._lightSetting?.removeFromScene();
52900
52900
  let a = e.object ? Ne(this._scene) : this._scene;
@@ -52902,7 +52902,7 @@ var wg = "rml_plans", Tg = {
52902
52902
  let o;
52903
52903
  try {
52904
52904
  o = await this._imageRenderer.preparePerspectiveImage(a, r, i, e, e.showWallsAndCeiling ? void 0 : (e) => {
52905
- C(e, this.viewModel.getWallPlanObjectViewModels());
52905
+ this.viewModel.getCeilingGroup().visible = !1, C(e, this.viewModel.getWallPlanObjectViewModels());
52906
52906
  });
52907
52907
  } finally {
52908
52908
  this._keepWallsAndCeilingVisible = !1;
@@ -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-B5JKyAVr.mjs").then(({ Configurator: t }) => {
54290
+ import("./configurator-XCSeE4KT.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-dwZ7AQ5k.mjs").then((t) => {
54308
+ import("./glb-viewer-BCdULq80.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-Cmhold3S.mjs"))).HomagIntelligence(this, e, n).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
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-Df4SRelQ.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-B5JKyAVr.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
58775
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-XCSeE4KT.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-dwZ7AQ5k.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
58786
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-BCdULq80.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-3laQuEgj.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
58791
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-DDDOHL63.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-CghU3HxF.mjs").then(({ ToolsCore: n }) => {
58794
+ return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-1rVSAXUA.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-CU5ZaWGK.mjs").then(({ Planner: t }) => {
58822
+ return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-DkI43IZF.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-CwG0lo8o.mjs.map
58839
+ //# sourceMappingURL=roomle-sdk-Dj9Zd1PS.mjs.map