@roomle/web-sdk 5.2.0-alpha.6 → 5.2.0-alpha.8

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-B3oINf2T.mjs → api-DFtMPW0B.mjs} +2 -2
  5. package/lib/{api-B3oINf2T.mjs.map → api-DFtMPW0B.mjs.map} +1 -1
  6. package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -1
  7. package/lib/budgeteer.sw-yR2xApHT.mjs.map +1 -1
  8. package/lib/configurator-Bvr4WQgw.mjs +2 -0
  9. package/lib/{configurator-Bav9s7xV.mjs → configurator-tJPEoXNo.mjs} +3 -3
  10. package/lib/{configurator-Bav9s7xV.mjs.map → configurator-tJPEoXNo.mjs.map} +1 -1
  11. package/lib/{glb-viewer-BQnK34mh.mjs → glb-viewer-C_yA5VPi.mjs} +3 -3
  12. package/lib/{glb-viewer-BQnK34mh.mjs.map → glb-viewer-C_yA5VPi.mjs.map} +1 -1
  13. package/lib/glb-viewer-PArpcKaC.mjs +2 -0
  14. package/lib/{homag-intelligence-Cni8daMZ.mjs → homag-intelligence-CvKPnW8j.mjs} +3 -3
  15. package/lib/{homag-intelligence-Cni8daMZ.mjs.map → homag-intelligence-CvKPnW8j.mjs.map} +1 -1
  16. package/lib/{material-viewer-COJkt92n.mjs → material-viewer-BKXxmrdo.mjs} +3 -3
  17. package/lib/{material-viewer-COJkt92n.mjs.map → material-viewer-BKXxmrdo.mjs.map} +1 -1
  18. package/lib/{packages-D7_SxZSb.mjs → packages-DEEywrg6.mjs} +5 -5
  19. package/lib/{packages-D7_SxZSb.mjs.map → packages-DEEywrg6.mjs.map} +1 -1
  20. package/lib/{planner-CSUr6Psy.mjs → planner-CgJxkSt7.mjs} +3 -3
  21. package/lib/{planner-CSUr6Psy.mjs.map → planner-CgJxkSt7.mjs.map} +1 -1
  22. package/lib/planner-kfY0-KyN.mjs +2 -0
  23. package/lib/roomle-headless.js +7 -7
  24. package/lib/{roomle-sdk-BbPFaMEs.mjs → roomle-sdk-DaxoOKwx.mjs} +10 -10
  25. package/lib/{roomle-sdk-BbPFaMEs.mjs.map → roomle-sdk-DaxoOKwx.mjs.map} +1 -1
  26. package/lib/roomle-sdk.js +6 -6
  27. package/lib/{script-loader-XspfvObG.mjs → script-loader-fboIOYbL.mjs} +2 -2
  28. package/lib/{script-loader-XspfvObG.mjs.map → script-loader-fboIOYbL.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-DDPV5mG2.mjs → tools-core-NCflO410.mjs} +3 -3
  34. package/lib/{tools-core-DDPV5mG2.mjs.map → tools-core-NCflO410.mjs.map} +1 -1
  35. package/package.json +2 -2
  36. package/lib/configurator-6hztf0Nj.mjs +0 -2
  37. package/lib/glb-viewer-4BUo6z8D.mjs +0 -2
  38. package/lib/planner-CwWcSacU.mjs +0 -2
@@ -54464,7 +54464,7 @@ var gy = "rml_plans", _y = {
54464
54464
  let t = vy(e), n = e.metaKey && e.key === "Meta" || e.ctrlKey && e.key === "Control", r = t > 1 ? W.STANDARD : n ? W.MULTISELECT : W.STANDARD;
54465
54465
  this._plannerSceneEventHandler.setSelectionMode(r);
54466
54466
  }
54467
- this._checkPanning(e), this._plannerSceneEventHandler && this._plannerSceneEventHandler.hasSelection() && e.key && (e.key === "Backspace" || e.key === "Delete") && (this.deletePlanElementSelection(), e.preventDefault());
54467
+ this._checkPanning(e), this._plannerSceneEventHandler && this._plannerSceneEventHandler.hasSelection() && e.key && (e.key === "Backspace" || e.key === "Delete") && (this.deletePlanElementSelection(), e.preventDefault()), e.key && (e.key === "Escape" || e.key === "Esc") && !this._plannerSceneEventHandler.isCurrentlyDrawing && this._configuratorContext.baseContext === K.PLANNER && !this._plannerSceneEventHandler.isDragIn() && this._plannerSceneEventHandler.hasSelection() && this.cancelPlanElementSelection("click_outside");
54468
54468
  }
54469
54469
  async _checkCopyPaste(e) {
54470
54470
  if (Mr(e) && e.key === "c") {
@@ -56138,7 +56138,7 @@ var Qy = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
56138
56138
  async switchToConfigurator() {
56139
56139
  let e = await this._singlePromiseFactory.create(qa.START_HSC, "startHSC", (e) => {
56140
56140
  if (this._hscInstance) return e(this._hscInstance);
56141
- import("./configurator-6hztf0Nj.mjs").then(({ Configurator: t }) => {
56141
+ import("./configurator-Bvr4WQgw.mjs").then(({ Configurator: t }) => {
56142
56142
  let n = new t(this._creator_);
56143
56143
  n.boot({
56144
56144
  kernelInstance: this._planInteractionManager.getConfiguratorKernel(),
@@ -56156,7 +56156,7 @@ var Qy = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
56156
56156
  async switchToViewer() {
56157
56157
  let e = await this._singlePromiseFactory.create(qa.START_GLB, "startGLB", (e) => {
56158
56158
  if (this._glbInstance) return e(this._glbInstance);
56159
- import("./glb-viewer-4BUo6z8D.mjs").then((t) => {
56159
+ import("./glb-viewer-PArpcKaC.mjs").then((t) => {
56160
56160
  let n = new t.GlbViewer(this._creator_);
56161
56161
  n.boot(), n.getApi().setOverrides(this._initData);
56162
56162
  let r = this._domHelper.element;
@@ -57125,7 +57125,7 @@ var Qy = "<plan version=\"2\"><walls><nodes/><edges/></walls><planobjects/><text
57125
57125
  globalInitData: JSON.parse(JSON.stringify(this._globalInitData))
57126
57126
  }, "*", [t.port2]);
57127
57127
  let n = Ny(t.port1), r = null;
57128
- this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new Zy(this._creator_, r)), await new (await (import("./homag-intelligence-Cni8daMZ.mjs"))).HomagIntelligence(this, e, n, () => this._plannerKernelAccess.arrangementCorrectionEnabled).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
57128
+ this._initData.hi?.libraryId && (r = n.onLoadArticleCatalog(this._initData.hi.libraryId), this._earlyHiTagCatalogCallbacks = new Zy(this._creator_, r)), await new (await (import("./homag-intelligence-CvKPnW8j.mjs"))).HomagIntelligence(this, e, n, () => this._plannerKernelAccess.arrangementCorrectionEnabled).loadSavedPosData(), this._initData.hi?.libraryId && await this.loadExternalObjectLibrary(this._initData.hi.libraryId, r ?? void 0);
57129
57129
  }
57130
57130
  async _loadHomagIntelligenceArticles(e, t) {
57131
57131
  let n = this._homagIntelligence;
@@ -61090,7 +61090,7 @@ var MS = [
61090
61090
  static getConfigurator(e, t) {
61091
61091
  t = this._setupDI(K.CONFIGURATOR, e, t);
61092
61092
  let n = NS.lookup("global-init-data");
61093
- return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-6hztf0Nj.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61093
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./configurator-Bvr4WQgw.mjs").then(({ Configurator: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61094
61094
  }
61095
61095
  static getPlanner(e, t) {
61096
61096
  return this._getPlanner(e, t);
@@ -61101,15 +61101,15 @@ var MS = [
61101
61101
  static async getGlbViewer(e, t) {
61102
61102
  t = this._setupDI(K.GLB_VIEWER, e, t);
61103
61103
  let n = NS.lookup("global-init-data");
61104
- return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-4BUo6z8D.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61104
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./glb-viewer-PArpcKaC.mjs").then(({ GlbViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61105
61105
  }
61106
61106
  static getMaterialViewer(e, t) {
61107
61107
  t = this._setupDI(K.CONFIGURATOR, e, t);
61108
61108
  let n = NS.lookup("global-init-data");
61109
- return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-COJkt92n.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61109
+ return n === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : n.configuratorId ? new Promise((e, n) => import("./material-viewer-BKXxmrdo.mjs").then(({ MaterialViewer: n }) => e(new n(t)), n)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61110
61110
  }
61111
61111
  static getCoreTools(e, t) {
61112
- return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-DDPV5mG2.mjs").then(({ ToolsCore: n }) => {
61112
+ return t = this._setupDI(K.TOOLS_CORE, e, t), new Promise((e, n) => import("./tools-core-NCflO410.mjs").then(({ ToolsCore: n }) => {
61113
61113
  let r = new n(t);
61114
61114
  r.boot(), e(r);
61115
61115
  }, n));
@@ -61137,7 +61137,7 @@ var MS = [
61137
61137
  }
61138
61138
  static _getPlanner(e, t, n) {
61139
61139
  let r = this._setupDI(K.PLANNER, e, t), i = NS.lookup("global-init-data");
61140
- return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-CwWcSacU.mjs").then(({ Planner: t }) => {
61140
+ return i === null ? Promise.reject(/* @__PURE__ */ Error("global-init-data is not available")) : i.configuratorId ? new Promise((e, t) => import("./planner-kfY0-KyN.mjs").then(({ Planner: t }) => {
61141
61141
  e(n ? new t(r, n) : new t(r));
61142
61142
  }, t)) : Promise.reject(/* @__PURE__ */ Error("configuratorId is not set"));
61143
61143
  }
@@ -61154,4 +61154,4 @@ var MS = [
61154
61154
  //#endregion
61155
61155
  export { cc as $, tp as A, tu as B, gm as C, Vp as D, X as E, ff as F, Vc as G, K as H, vd as I, Rc as J, zc as K, cd as L, Ff as M, Sf as N, Lp as O, yf as P, Cc as Q, od as R, Am as S, Xp as T, Qc as U, Bl as V, Zc as W, Oc as X, Lc as Y, Ec as Z, tg as _, Lb as a, qa as at, wh as b, Cb as c, H as ct, A_ as d, Ba as dt, G as et, m_ as f, Qi as ft, s_ as g, c_ as h, Bi as ht, Xb as i, co as it, Lf as j, Ip as k, xb as l, Ga as lt, d_ as m, Vi as mt, NS as n, mo as nt, Ib as o, Ka as ot, f_ as p, Ki as pt, Bc as q, MS as r, uo as rt, Fb as s, V as st, PS as t, Oo as tt, ob as u, Va as ut, Kh as v, pm as w, Th as x, Hh as y, nu as z };
61156
61156
 
61157
- //# sourceMappingURL=roomle-sdk-BbPFaMEs.mjs.map
61157
+ //# sourceMappingURL=roomle-sdk-DaxoOKwx.mjs.map