@roomle/web-sdk 3.3.0 → 3.4.0

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 (49) hide show
  1. package/lib/{BufferGeometry-DDTUVCTZ.mjs → BufferGeometry-Br8QIDeK.mjs} +2 -2
  2. package/lib/{BufferGeometry-DDTUVCTZ.mjs.map → BufferGeometry-Br8QIDeK.mjs.map} +1 -1
  3. package/lib/ConfiguratorKernel.wasm +0 -0
  4. package/lib/{GLTFExporter-C6OIpz7t.mjs → GLTFExporter-DUjuGznV.mjs} +2 -2
  5. package/lib/{GLTFExporter-C6OIpz7t.mjs.map → GLTFExporter-DUjuGznV.mjs.map} +1 -1
  6. package/lib/{PointLightHelper-D-8-D0hG.mjs → PointLightHelper-_pWwb-rd.mjs} +3 -3
  7. package/lib/{PointLightHelper-D-8-D0hG.mjs.map → PointLightHelper-_pWwb-rd.mjs.map} +1 -1
  8. package/lib/RoomleCore.wasm +0 -0
  9. package/lib/RoomleToolsCore.wasm +0 -0
  10. package/lib/{SpotLightHelper-BNxNjZFU.mjs → SpotLightHelper-DiuKfHVi.mjs} +3 -3
  11. package/lib/{SpotLightHelper-BNxNjZFU.mjs.map → SpotLightHelper-DiuKfHVi.mjs.map} +1 -1
  12. package/lib/{USDZExporter-B5KX4zn1.mjs → USDZExporter-B9ygWQMw.mjs} +2 -2
  13. package/lib/{USDZExporter-B5KX4zn1.mjs.map → USDZExporter-B9ygWQMw.mjs.map} +1 -1
  14. package/lib/{banana-for-scale-D3fCVX5d.mjs → banana-for-scale-Bio4mpMQ.mjs} +2 -2
  15. package/lib/{banana-for-scale-D3fCVX5d.mjs.map → banana-for-scale-Bio4mpMQ.mjs.map} +1 -1
  16. package/lib/{component-dimensioning-B8w976QK.mjs → component-dimensioning-Bar2YYNs.mjs} +2 -2
  17. package/lib/{component-dimensioning-B8w976QK.mjs.map → component-dimensioning-Bar2YYNs.mjs.map} +1 -1
  18. package/lib/{continuous-drawing-helper-Cl60wfg_.mjs → continuous-drawing-helper-BYjzGaWD.mjs} +2 -2
  19. package/lib/{continuous-drawing-helper-Cl60wfg_.mjs.map → continuous-drawing-helper-BYjzGaWD.mjs.map} +1 -1
  20. package/lib/{homag-intelligence-CqhmLFsQ.mjs → homag-intelligence-Bb8gfi80.mjs} +55 -44
  21. package/lib/homag-intelligence-Bb8gfi80.mjs.map +1 -0
  22. package/lib/{imos-ix-poc-export-helper-Pz2nfFtn.mjs → imos-ix-poc-export-helper-Bl13RKd1.mjs} +2 -2
  23. package/lib/{imos-ix-poc-export-helper-Pz2nfFtn.mjs.map → imos-ix-poc-export-helper-Bl13RKd1.mjs.map} +1 -1
  24. package/lib/{index-pH24sRMW.mjs → index-DYoZpNEJ.mjs} +19 -19
  25. package/lib/{index-pH24sRMW.mjs.map → index-DYoZpNEJ.mjs.map} +1 -1
  26. package/lib/{material-viewer-C-w5d8Zk.mjs → material-viewer-DqZ9kv7j.mjs} +2 -2
  27. package/lib/{material-viewer-C-w5d8Zk.mjs.map → material-viewer-DqZ9kv7j.mjs.map} +1 -1
  28. package/lib/roomle-sdk.d.ts +2 -0
  29. package/lib/roomle-sdk.js +1 -1
  30. package/lib/static/roomle-core-hsc/ConfiguratorKernel.wasm +0 -0
  31. package/lib/static/roomle-core-hsc/RoomleCore.wasm +0 -0
  32. package/lib/static/roomle-core-hsc/RoomleServiceCore.wasm +0 -0
  33. package/lib/static/roomle-core-hsc/RoomleToolsCore.wasm +0 -0
  34. package/lib/static/roomle-core-hsc/configuratorCoreInterface.d.ts +1 -0
  35. package/lib/static/roomle-core-hsc/embind/configuratorCoreInterface.d.ts +1 -0
  36. package/lib/static/roomle-core-hsc/package.json +1 -1
  37. package/lib/static/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +1 -0
  38. package/lib/static/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  39. package/lib/static/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  40. package/lib/static/roomle-core-hsc/wasm_modern/RoomleServiceCore.wasm +0 -0
  41. package/lib/static/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  42. package/lib/{stats-helper-CVB69dXL.mjs → stats-helper-BedaceYL.mjs} +2 -2
  43. package/lib/{stats-helper-CVB69dXL.mjs.map → stats-helper-BedaceYL.mjs.map} +1 -1
  44. package/lib/{three.webgpu-D0cV0tjO.mjs → three.webgpu-Bk8XgilA.mjs} +3 -3
  45. package/lib/{three.webgpu-D0cV0tjO.mjs.map → three.webgpu-Bk8XgilA.mjs.map} +1 -1
  46. package/lib/{tools-core-CDh9Csn-.mjs → tools-core-D1vOTlAR.mjs} +2 -2
  47. package/lib/{tools-core-CDh9Csn-.mjs.map → tools-core-D1vOTlAR.mjs.map} +1 -1
  48. package/package.json +1 -1
  49. package/lib/homag-intelligence-CqhmLFsQ.mjs.map +0 -1
@@ -34970,7 +34970,7 @@ class na extends Ka {
34970
34970
  }
34971
34971
  _initLightSourceAndTarget(e, t, n = !1) {
34972
34972
  let i = new xe();
34973
- n && !this._helper && import("./SpotLightHelper-BNxNjZFU.mjs").then(
34973
+ n && !this._helper && import("./SpotLightHelper-DiuKfHVi.mjs").then(
34974
34974
  ({ SpotLightHelper: r }) => {
34975
34975
  this._helper = new r(this, 0), this._helper.visible = !1, this.add(this._helper), i = new xe(
34976
34976
  new kt(0.15, 0.15, 0.15),
@@ -35160,7 +35160,7 @@ class Cl extends __ {
35160
35160
  super(oL, lL, cL), e.intensity ? this.intensity = e.intensity : this.power = hL, e.color && (typeof e.color == "number" ? this.color.setHex(e.color) : this.color = new oe(e.color)), e.distance && (this.distance = e.distance), e.decay && (this.decay = e.decay), this._initLightSource(e.lightPos, t);
35161
35161
  }
35162
35162
  _initLightSource(e, t = !1) {
35163
- t && !this._helper && import("./PointLightHelper-D-8-D0hG.mjs").then(
35163
+ t && !this._helper && import("./PointLightHelper-_pWwb-rd.mjs").then(
35164
35164
  ({ PointLightHelper: n }) => {
35165
35165
  this._helper = new n(this, 0), this._helper.visible = !1, this.add(this._helper);
35166
35166
  }
@@ -40123,7 +40123,7 @@ class Sw {
40123
40123
  async init(e, t, n) {
40124
40124
  this._scene = e, this._uiScene = t, this._cameraPosition = n;
40125
40125
  const { bananaForScale: i } = this._initData;
40126
- i && await import("./banana-for-scale-D3fCVX5d.mjs").then(
40126
+ i && await import("./banana-for-scale-Bio4mpMQ.mjs").then(
40127
40127
  ({ default: r }) => this._plugins.push(new r(this._creator_))
40128
40128
  ), this._plugins.forEach((r) => r.setScene(this._scene)), this._plugins.forEach((r) => r.setUiScene(this._uiScene)), this._plugins.forEach((r) => r.updateBounds(this._bounds)), this._plugins.forEach(
40129
40129
  (r) => r.moveCameraEnd(this._cameraPosition)
@@ -41071,7 +41071,7 @@ class Qc {
41071
41071
  };
41072
41072
  }
41073
41073
  );
41074
- this._dimensionDataMap.set(e.runtimeId, u), import("./component-dimensioning-B8w976QK.mjs").then((f) => {
41074
+ this._dimensionDataMap.set(e.runtimeId, u), import("./component-dimensioning-Bar2YYNs.mjs").then((f) => {
41075
41075
  const m = [];
41076
41076
  c.forEach((_, g) => {
41077
41077
  const p = new f.default(
@@ -41241,7 +41241,7 @@ class Qc {
41241
41241
  }
41242
41242
  remove(e, t = !0) {
41243
41243
  return new Promise((n) => {
41244
- import("./component-dimensioning-B8w976QK.mjs").then((i) => {
41244
+ import("./component-dimensioning-Bar2YYNs.mjs").then((i) => {
41245
41245
  const r = [];
41246
41246
  e.children.forEach((a) => {
41247
41247
  a instanceof i.default && r.push(a);
@@ -41691,7 +41691,7 @@ class G_ extends so {
41691
41691
  const kN = "Construction of configuration failed";
41692
41692
  class gn extends G_ {
41693
41693
  constructor(e) {
41694
- super(e), this._container.name = "Configurable " + this._container.name;
41694
+ super(e), this._container.name = "Configurable " + this._container.name, this._isExternalObject = e?.isExternalObject() ?? !1;
41695
41695
  }
41696
41696
  addRootComponent(e) {
41697
41697
  this.setObject(e), this._rootComponentId = e.id, this._rootComponentRuntimeId = e.runtimeId, this._container.add(this.getObject());
@@ -41723,7 +41723,7 @@ class gn extends G_ {
41723
41723
  _updateBoundingBox() {
41724
41724
  super._updateBoundingBox();
41725
41725
  const e = this.getObject();
41726
- if (!e?.runtimeId)
41726
+ if (!e?.runtimeId || !this._isExternalObject)
41727
41727
  return;
41728
41728
  const t = e, n = this._collectComponentObjects(
41729
41729
  t,
@@ -44640,7 +44640,7 @@ class Hn {
44640
44640
  const r = await this.generateHomagIxExport(
44641
44641
  cc.HOMAGiX,
44642
44642
  e
44643
- ), { homagIxMockUpData: a } = await import("./imos-ix-poc-export-helper-Pz2nfFtn.mjs");
44643
+ ), { homagIxMockUpData: a } = await import("./imos-ix-poc-export-helper-Bl13RKd1.mjs");
44644
44644
  return a(
44645
44645
  r,
44646
44646
  t,
@@ -44653,7 +44653,7 @@ class Hn {
44653
44653
  Yo("IMOSiX.xml", e);
44654
44654
  }
44655
44655
  async generateHomagIxExport(e, t = "") {
44656
- const { generateExportHomagIxConfiguration: n } = await import("./imos-ix-poc-export-helper-Pz2nfFtn.mjs"), i = this._configuratorContext.planObjectId;
44656
+ const { generateExportHomagIxConfiguration: n } = await import("./imos-ix-poc-export-helper-Bl13RKd1.mjs"), i = this._configuratorContext.planObjectId;
44657
44657
  n(
44658
44658
  i,
44659
44659
  e,
@@ -55572,7 +55572,7 @@ class dh extends Xw {
55572
55572
  }
55573
55573
  async _initMobileDrawing() {
55574
55574
  if (this.planInteractionHandler.setDrawingType(bb.CONTINOUS), this.planInteractionHandler.setSnapFeedbackWhileDrawing(!0), !this._continuousDrawingHelper) {
55575
- const { default: e } = await import("./continuous-drawing-helper-Cl60wfg_.mjs");
55575
+ const { default: e } = await import("./continuous-drawing-helper-BYjzGaWD.mjs");
55576
55576
  this._continuousDrawingHelper = new e(), this._continuousDrawingHelper.init(
55577
55577
  this._drawingGroup,
55578
55578
  this.planInteractionHandler.getContinuousDrawingManager(),
@@ -58171,7 +58171,7 @@ class pi {
58171
58171
  alpha: !0
58172
58172
  };
58173
58173
  if (this._initData.featureFlags.webGpu) {
58174
- const { WebGPURenderer: o } = await import("./three.webgpu-D0cV0tjO.mjs");
58174
+ const { WebGPURenderer: o } = await import("./three.webgpu-Bk8XgilA.mjs");
58175
58175
  this._renderer = new o(r), await this._renderer.init();
58176
58176
  } else
58177
58177
  this._renderer = new qc(r);
@@ -58347,7 +58347,7 @@ class pi {
58347
58347
  this._renderEverything();
58348
58348
  }
58349
58349
  showStats() {
58350
- import("./stats-helper-CVB69dXL.mjs").then(
58350
+ import("./stats-helper-BedaceYL.mjs").then(
58351
58351
  (e) => {
58352
58352
  this._statsHelper = new e.default(), this._roomleRenderer.setOnQualityLevelChangeCallback(
58353
58353
  (t) => {
@@ -58615,7 +58615,7 @@ class pi {
58615
58615
  this._isPartOfScene
58616
58616
  );
58617
58617
  try {
58618
- const { USDZExporter: t } = await import("./USDZExporter-B5KX4zn1.mjs");
58618
+ const { USDZExporter: t } = await import("./USDZExporter-B9ygWQMw.mjs");
58619
58619
  if (e) {
58620
58620
  G2(e);
58621
58621
  const n = new _n();
@@ -58647,7 +58647,7 @@ class pi {
58647
58647
  e ?? this._isPartOfScene
58648
58648
  );
58649
58649
  try {
58650
- const { GLTFExporter: n } = await import("./GLTFExporter-C6OIpz7t.mjs");
58650
+ const { GLTFExporter: n } = await import("./GLTFExporter-DUjuGznV.mjs");
58651
58651
  if (t) {
58652
58652
  const r = await new n().parseAsync(t, {
58653
58653
  binary: !0,
@@ -62928,7 +62928,7 @@ class Vk {
62928
62928
  }
62929
62929
  static getMaterialViewer(e, t) {
62930
62930
  return t = this._setupDI(pt.CONFIGURATOR, e, t), Yt.lookup("global-init-data").configuratorId ? new Promise(
62931
- (i, r) => import("./material-viewer-C-w5d8Zk.mjs").then(
62931
+ (i, r) => import("./material-viewer-DqZ9kv7j.mjs").then(
62932
62932
  ({ MaterialViewer: a }) => i(new a(t)),
62933
62933
  r
62934
62934
  )
@@ -62936,7 +62936,7 @@ class Vk {
62936
62936
  }
62937
62937
  static getCoreTools(e, t) {
62938
62938
  return t = this._setupDI(pt.TOOLS_CORE, e, t), new Promise(
62939
- (n, i) => import("./tools-core-CDh9Csn-.mjs").then(
62939
+ (n, i) => import("./tools-core-D1vOTlAR.mjs").then(
62940
62940
  ({ ToolsCore: r }) => {
62941
62941
  const a = new r(t);
62942
62942
  a.boot(), n(a);
@@ -64414,7 +64414,7 @@ class mi {
64414
64414
  this._sceneManager.disableEvents();
64415
64415
  }
64416
64416
  async downloadHomagIxExportPoC() {
64417
- const { downloadHomagIxExportPoC: e } = await import("./imos-ix-poc-export-helper-Pz2nfFtn.mjs"), t = (await this.getPlanModelViewHelper()).getPlanOverview(
64417
+ const { downloadHomagIxExportPoC: e } = await import("./imos-ix-poc-export-helper-Bl13RKd1.mjs"), t = (await this.getPlanModelViewHelper()).getPlanOverview(
64418
64418
  this._plan
64419
64419
  );
64420
64420
  return e(
@@ -65015,7 +65015,7 @@ class mi {
65015
65015
  "*",
65016
65016
  [e.port2]
65017
65017
  );
65018
- const t = hS(e.port1), n = await import("./homag-intelligence-CqhmLFsQ.mjs");
65018
+ const t = hS(e.port1), n = await import("./homag-intelligence-Bb8gfi80.mjs");
65019
65019
  await new n.HomagIntelligence().init(
65020
65020
  // cast to unknown because we know that the planner is a RoomlePlanner
65021
65021
  this,
@@ -70318,4 +70318,4 @@ export {
70318
70318
  i0 as y,
70319
70319
  Yt as z
70320
70320
  };
70321
- //# sourceMappingURL=index-pH24sRMW.mjs.map
70321
+ //# sourceMappingURL=index-DYoZpNEJ.mjs.map