@roomle/web-sdk 7.0.0-alpha.1 → 7.0.0-alpha.2

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 (87) hide show
  1. package/THIRD-PARTY-NOTICES.txt +2 -2
  2. package/lib/{BufferGeometry-CzBRCIk3.mjs → BufferGeometry-YaAhwXNX.mjs} +2 -2
  3. package/lib/{BufferGeometry-CzBRCIk3.mjs.map → BufferGeometry-YaAhwXNX.mjs.map} +1 -1
  4. package/lib/ConfiguratorKernel.wasm +0 -0
  5. package/lib/{Object3D-Bkmul_of.mjs → Object3D-Dx0HN7Wz.mjs} +1 -1
  6. package/lib/{Object3D-Bkmul_of.mjs.map → Object3D-Dx0HN7Wz.mjs.map} +1 -1
  7. package/lib/{PointLightHelper-DOW-3Hvn.mjs → PointLightHelper-B8k3nJVr.mjs} +4 -4
  8. package/lib/{PointLightHelper-DOW-3Hvn.mjs.map → PointLightHelper-B8k3nJVr.mjs.map} +1 -1
  9. package/lib/RoomleCore.wasm +0 -0
  10. package/lib/RoomleToolsCore.wasm +0 -0
  11. package/lib/{SpotLightHelper-sE9yZPeq.mjs → SpotLightHelper-jqI3QyNE.mjs} +3 -3
  12. package/lib/{SpotLightHelper-sE9yZPeq.mjs.map → SpotLightHelper-jqI3QyNE.mjs.map} +1 -1
  13. package/lib/{USDZExporter-zhEk6F4K.mjs → USDZExporter-BS1qa3HO.mjs} +2 -2
  14. package/lib/{USDZExporter-zhEk6F4K.mjs.map → USDZExporter-BS1qa3HO.mjs.map} +1 -1
  15. package/lib/{Vector4-CmUR_DSp.mjs → Vector4-BmWb-htx.mjs} +2 -2
  16. package/lib/{Vector4-CmUR_DSp.mjs.map → Vector4-BmWb-htx.mjs.map} +1 -1
  17. package/lib/{api-1YHSF8TD.mjs → api-DOHbOr7K.mjs} +2 -2
  18. package/lib/{api-1YHSF8TD.mjs.map → api-DOHbOr7K.mjs.map} +1 -1
  19. package/lib/asset-loader.worker-Bdvb-pt7.mjs.map +1 -1
  20. package/lib/budgeteer.sw-ByZxiRBr.mjs.map +1 -1
  21. package/lib/{common-utils-DZiN8bjs.mjs → common-utils-zPOllvAT.mjs} +3 -2
  22. package/lib/common-utils-zPOllvAT.mjs.map +1 -0
  23. package/lib/{component-raycast-helper-BSFG09WY.mjs → component-raycast-helper-CMFpSJXC.mjs} +3 -3
  24. package/lib/{component-raycast-helper-BSFG09WY.mjs.map → component-raycast-helper-CMFpSJXC.mjs.map} +1 -1
  25. package/lib/{configuration-operations-DI677LMN.mjs → configuration-operations-DJD9A1xP.mjs} +38 -38
  26. package/lib/{configuration-operations-DI677LMN.mjs.map → configuration-operations-DJD9A1xP.mjs.map} +1 -1
  27. package/lib/configurator-D5Ehj649.mjs +3 -0
  28. package/lib/configurator-DCynrn7X.mjs +46 -0
  29. package/lib/{configurator-CgFJ2voV.mjs.map → configurator-DCynrn7X.mjs.map} +1 -1
  30. package/lib/{configurator-capabilities-CLqul800.mjs → configurator-capabilities-BfSMwdWh.mjs} +12 -12
  31. package/lib/{configurator-capabilities-CLqul800.mjs.map → configurator-capabilities-BfSMwdWh.mjs.map} +1 -1
  32. package/lib/configurator-capabilities-DAJuxSTw.mjs +3 -0
  33. package/lib/{fflate.module-CpWr9KGw.mjs → fflate.module-BfCRKtjc.mjs} +1 -1
  34. package/lib/{fflate.module-CpWr9KGw.mjs.map → fflate.module-BfCRKtjc.mjs.map} +1 -1
  35. package/lib/{glb-viewer-B2WH46su.mjs → glb-viewer-BhiCqjpE.mjs} +24 -24
  36. package/lib/{glb-viewer-B2WH46su.mjs.map → glb-viewer-BhiCqjpE.mjs.map} +1 -1
  37. package/lib/glb-viewer-BrggGLte.mjs +3 -0
  38. package/lib/{hi-mcp-server-tVF1bn28.mjs → hi-mcp-server-rSu1HL4m.mjs} +2 -2
  39. package/lib/{hi-mcp-server-tVF1bn28.mjs.map → hi-mcp-server-rSu1HL4m.mjs.map} +1 -1
  40. package/lib/{highlight-coordinator-CiBzWsMf.mjs → highlight-coordinator-DbqhP7Hy.mjs} +3 -3
  41. package/lib/{highlight-coordinator-CiBzWsMf.mjs.map → highlight-coordinator-DbqhP7Hy.mjs.map} +1 -1
  42. package/lib/{homag-intelligence-CdYda0Mb.mjs → homag-intelligence-DuFtYgdG.mjs} +3 -3
  43. package/lib/{homag-intelligence-CdYda0Mb.mjs.map → homag-intelligence-DuFtYgdG.mjs.map} +1 -1
  44. package/lib/{material-viewer-BrARE0p0.mjs → material-viewer-uEDqIbCx.mjs} +25 -21
  45. package/lib/material-viewer-uEDqIbCx.mjs.map +1 -0
  46. package/lib/{packages-DhBz4dX3.mjs → packages-DOCmEOxI.mjs} +6 -6
  47. package/lib/{packages-DhBz4dX3.mjs.map → packages-DOCmEOxI.mjs.map} +1 -1
  48. package/lib/planner-B9GbQLSB.mjs +3 -0
  49. package/lib/{planner-SRvOM5ZQ.mjs → planner-D8UVNfkJ.mjs} +16 -16
  50. package/lib/{planner-SRvOM5ZQ.mjs.map → planner-D8UVNfkJ.mjs.map} +1 -1
  51. package/lib/roomle-headless.d.ts +14 -18
  52. package/lib/roomle-headless.js +35 -32
  53. package/lib/roomle-headless.js.map +1 -1
  54. package/lib/{roomle-sdk-Sdrd7K0F.mjs → roomle-sdk-C0YpFZdj.mjs} +24740 -24770
  55. package/lib/roomle-sdk-C0YpFZdj.mjs.map +1 -0
  56. package/lib/roomle-sdk.d.ts +14 -18
  57. package/lib/roomle-sdk.js +9 -9
  58. package/lib/{roomle-webgpu-renderer-CWoN5YzU.mjs → roomle-webgpu-renderer-DZ9LaZfc.mjs} +3 -3
  59. package/lib/{roomle-webgpu-renderer-CWoN5YzU.mjs.map → roomle-webgpu-renderer-DZ9LaZfc.mjs.map} +1 -1
  60. package/lib/{scene-renderer-CsbP23gu.mjs → scene-renderer-BmtXHWEw.mjs} +3 -3
  61. package/lib/{scene-renderer-CsbP23gu.mjs.map → scene-renderer-BmtXHWEw.mjs.map} +1 -1
  62. package/lib/{script-loader-D9Tr-8LN.mjs → script-loader-jRBMP-ca.mjs} +2 -2
  63. package/lib/{script-loader-D9Tr-8LN.mjs.map → script-loader-jRBMP-ca.mjs.map} +1 -1
  64. package/lib/{shading-settings-mnQRn2LO.mjs → shading-settings-CpXZmOnx.mjs} +2 -2
  65. package/lib/{shading-settings-mnQRn2LO.mjs.map → shading-settings-CpXZmOnx.mjs.map} +1 -1
  66. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  67. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  68. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  69. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  70. package/lib/{stats-helper-Q25NjvCQ.mjs → stats-helper-jzrLyoHV.mjs} +2 -2
  71. package/lib/{stats-helper-Q25NjvCQ.mjs.map → stats-helper-jzrLyoHV.mjs.map} +1 -1
  72. package/lib/{threejs-utils-C3CWKZXa.mjs → threejs-utils-D1gtvxiA.mjs} +7 -15
  73. package/lib/{threejs-utils-C3CWKZXa.mjs.map → threejs-utils-D1gtvxiA.mjs.map} +1 -1
  74. package/lib/{tools-core-BBYYzygJ.mjs → tools-core-k93qrqfB.mjs} +6 -6
  75. package/lib/{tools-core-BBYYzygJ.mjs.map → tools-core-k93qrqfB.mjs.map} +1 -1
  76. package/lib/{util-BdWrqTeC.mjs → util-LmkV26fg.mjs} +1 -1
  77. package/lib/{util-BdWrqTeC.mjs.map → util-LmkV26fg.mjs.map} +1 -1
  78. package/package.json +2 -2
  79. package/sbom.cdx.json +5 -5
  80. package/lib/common-utils-DZiN8bjs.mjs.map +0 -1
  81. package/lib/configurator-AwPowYQR.mjs +0 -3
  82. package/lib/configurator-CgFJ2voV.mjs +0 -46
  83. package/lib/configurator-capabilities-Dg8oD49T.mjs +0 -3
  84. package/lib/glb-viewer-sxVA5IgD.mjs +0 -3
  85. package/lib/material-viewer-BrARE0p0.mjs.map +0 -1
  86. package/lib/planner-D6uV0kCw.mjs +0 -3
  87. package/lib/roomle-sdk-Sdrd7K0F.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
 
2
- import "./common-utils-DZiN8bjs.mjs";
3
- import "./roomle-sdk-Sdrd7K0F.mjs";
4
- import "./configurator-CgFJ2voV.mjs";
5
- import "./planner-SRvOM5ZQ.mjs";
6
- import "./glb-viewer-B2WH46su.mjs";
2
+ import "./common-utils-zPOllvAT.mjs";
3
+ import "./roomle-sdk-C0YpFZdj.mjs";
4
+ import "./configurator-DCynrn7X.mjs";
5
+ import "./planner-D8UVNfkJ.mjs";
6
+ import "./glb-viewer-BhiCqjpE.mjs";
7
7
  //#region ../common/src/utils/id-inferrer.ts
8
8
  var e = (e) => e.split(":").length - 1 == 1, t = (e) => e.split(":").length - 1 <= 0, n = (e) => e ? e.startsWith("component@") : !1, r = (e) => e.startsWith("{") && e.endsWith("}"), i = (e) => e.startsWith("ps_");
9
9
  //#endregion
10
10
  export { i as a, e as i, r as n, t as r, n as t };
11
11
 
12
- //# sourceMappingURL=packages-DhBz4dX3.mjs.map
12
+ //# sourceMappingURL=packages-DOCmEOxI.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"packages-DhBz4dX3.mjs","names":[],"sources":["../../../common/src/utils/id-inferrer.ts"],"sourcesContent":["import type { RapiId, RapiPlanSnapshotId } from '@roomle/web-sdk';\n\nexport const isIdAnItem = (id: string) => id.split(':').length - 1 === 1;\n\nexport const isIdAPlan = (id: string) => id.split(':').length - 1 <= 0;\n\nexport const isIdAComponent = (id: string) =>\n id ? id.startsWith('component@') : false;\n\nexport const isIdAConfigurationString = (id: string) =>\n id.startsWith('{') && id.endsWith('}');\n\nexport const isPlanSnapshotId = (\n id: string | RapiId,\n): id is RapiPlanSnapshotId => id.startsWith('ps_');\n\nexport type RapiElementKind = 'planSnapshot' | 'item' | 'configuration';\n\nexport const getRapiElementKind = (id: string): RapiElementKind => {\n if (isPlanSnapshotId(id)) {\n return 'planSnapshot';\n }\n return isIdAnItem(id) ? 'item' : 'configuration';\n};\n"],"mappings":";;;;;;;AAEA,IAAa,KAAc,MAAe,EAAG,MAAM,IAAI,CAAC,SAAS,KAAM,GAE1D,KAAa,MAAe,EAAG,MAAM,IAAI,CAAC,SAAS,KAAK,GAExD,KAAkB,MAC7B,IAAK,EAAG,WAAW,aAAa,GAAG,IAExB,KAA4B,MACvC,EAAG,WAAW,IAAI,IAAI,EAAG,SAAS,IAAI,EAE3B,KACX,MAC6B,EAAG,WAAW,MAAM"}
1
+ {"version":3,"file":"packages-DOCmEOxI.mjs","names":[],"sources":["../../../common/src/utils/id-inferrer.ts"],"sourcesContent":["import type { RapiId, RapiPlanSnapshotId } from '@roomle/web-sdk';\n\nexport const isIdAnItem = (id: string) => id.split(':').length - 1 === 1;\n\nexport const isIdAPlan = (id: string) => id.split(':').length - 1 <= 0;\n\nexport const isIdAComponent = (id: string) =>\n id ? id.startsWith('component@') : false;\n\nexport const isIdAConfigurationString = (id: string) =>\n id.startsWith('{') && id.endsWith('}');\n\nexport const isPlanSnapshotId = (\n id: string | RapiId,\n): id is RapiPlanSnapshotId => id.startsWith('ps_');\n\nexport type RapiElementKind = 'planSnapshot' | 'item' | 'configuration';\n\nexport const getRapiElementKind = (id: string): RapiElementKind => {\n if (isPlanSnapshotId(id)) {\n return 'planSnapshot';\n }\n return isIdAnItem(id) ? 'item' : 'configuration';\n};\n"],"mappings":";;;;;;;AAEA,IAAa,KAAc,MAAe,EAAG,MAAM,IAAI,CAAC,SAAS,KAAM,GAE1D,KAAa,MAAe,EAAG,MAAM,IAAI,CAAC,SAAS,KAAK,GAExD,KAAkB,MAC7B,IAAK,EAAG,WAAW,aAAa,GAAG,IAExB,KAA4B,MACvC,EAAG,WAAW,IAAI,IAAI,EAAG,SAAS,IAAI,EAE3B,KACX,MAC6B,EAAG,WAAW,MAAM"}
@@ -0,0 +1,3 @@
1
+
2
+ import { t as e } from "./planner-D8UVNfkJ.mjs";
3
+ export { e as Planner };
@@ -1,27 +1,27 @@
1
1
 
2
- import { A as e, C as t, K as n, S as r, c as i, dt as a, ft as o, mt as s, n as c, nt as l, ot as u, q as d, u as f, vt as p, z as m } from "./roomle-sdk-Sdrd7K0F.mjs";
3
- import { t as h } from "./script-loader-D9Tr-8LN.mjs";
2
+ import { H as e, M as t, N as n, P as r, Q as i, d as a, dt as o, ft as s, j as c, mt as l, n as u, nt as d, ot as f, p, vt as m } from "./roomle-sdk-C0YpFZdj.mjs";
3
+ import { t as h } from "./script-loader-jRBMP-ca.mjs";
4
4
  //#region packages/planner-core/src/input/planner-input-manager.ts
5
- var g = class extends m {
5
+ var g = class extends i {
6
6
  _canDrag(e) {
7
7
  return !0;
8
8
  }
9
9
  }, _ = [
10
- new o("script-loader", h),
11
- new o("planner-input-manager", g, a.CONTEXT),
12
- new o("logger", u),
13
- new o("planner-mesh-generator", i),
14
- new o("configurator-view-model", r, a.CONTEXT),
15
- new o("rapi-access", s),
16
- new o("global-init-data", l),
17
- new o("planner-selection-handler", t)
18
- ], v = class extends d {
10
+ new s("script-loader", h),
11
+ new s("planner-input-manager", g, o.CONTEXT),
12
+ new s("logger", f),
13
+ new s("planner-mesh-generator", a),
14
+ new s("configurator-view-model", n, o.CONTEXT),
15
+ new s("rapi-access", l),
16
+ new s("global-init-data", d),
17
+ new s("planner-selection-handler", r)
18
+ ], v = class extends t {
19
19
  constructor(e, t) {
20
20
  super(e), this._activePlugins = t || [];
21
21
  }
22
22
  setupGlobals() {}
23
23
  setupDependencies() {
24
- c.setup(_), this.lookup("logger", this._context), this.lookup("planner-kernel-access", this._context).init(e.PLANNER);
24
+ u.setup(_), this.lookup("logger", this._context), this.lookup("planner-kernel-access", this._context).init(e.PLANNER);
25
25
  }
26
26
  cleanUpGlobals() {
27
27
  throw Error("Method not implemented.");
@@ -30,7 +30,7 @@ var g = class extends m {
30
30
  throw Error("Method not implemented.");
31
31
  }
32
32
  async bootFinished() {
33
- if (this._planner = new f(this._context, this._activePlugins), this._planner.getMain = () => this, window.RoomlePlanner || (this._activePlugins.length, window.RoomlePlanner = this._planner), this.lookup("init-data", this._context)?.hi && p()) try {
33
+ if (this._planner = new p(this._context, this._activePlugins), this._planner.getMain = () => this, window.RoomlePlanner || (this._activePlugins.length, window.RoomlePlanner = this._planner), this.lookup("init-data", this._context)?.hi && m()) try {
34
34
  await this._planner.setupHomagIntelligence();
35
35
  } catch (e) {
36
36
  console.error("The HI library could not be loaded, the planner starts without it", e);
@@ -40,10 +40,10 @@ var g = class extends m {
40
40
  return this._planner;
41
41
  }
42
42
  getContextName() {
43
- return n.PLANNER;
43
+ return c.PLANNER;
44
44
  }
45
45
  };
46
46
  //#endregion
47
47
  export { v as t };
48
48
 
49
- //# sourceMappingURL=planner-SRvOM5ZQ.mjs.map
49
+ //# sourceMappingURL=planner-D8UVNfkJ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"planner-SRvOM5ZQ.mjs","names":[],"sources":["../../packages/planner-core/src/input/planner-input-manager.ts","../../packages/planner-core/src/utils/injectables.ts","../../packages/planner-core/src/planner.ts"],"sourcesContent":["import type { INPUT_EVENT_TYPE } from '../../../common-core/src/input/input-manager';\nimport InputManager from '../../../common-core/src/input/input-manager';\n\nexport default class PlannerInputManager extends InputManager {\n protected _canDrag(_type: INPUT_EVENT_TYPE): boolean {\n return true;\n }\n}\n","import ScriptLoader from '../../../common-core/src/script-loader';\nimport {\n DependencyInjectionAssignment,\n DI_TYPE,\n} from '../../../common-core/src/di/container';\nimport Logger from '../../../common-core/src/logger';\nimport { default as PlannerMeshGenerator } from '../webgl/planner-mesh-generator';\nimport { RapiAccess } from '../../../common-core/src/rapi-access';\nimport PlannerInputManager from '../input/planner-input-manager';\nimport PlannerSelectionHandler from './planner-selection-handler';\nimport GlobalInitData from '../../../common-core/src/utils/global-init-data';\nimport ConfiguratorViewModel from '../../../common-core/src/view-model/configurator-view-model';\n\nexport const INJECTABLES: DependencyInjectionAssignment[] = [\n new DependencyInjectionAssignment('script-loader', ScriptLoader),\n new DependencyInjectionAssignment(\n 'planner-input-manager',\n PlannerInputManager,\n DI_TYPE.CONTEXT,\n ),\n new DependencyInjectionAssignment('logger', Logger),\n new DependencyInjectionAssignment(\n 'planner-mesh-generator',\n PlannerMeshGenerator,\n ),\n new DependencyInjectionAssignment(\n 'configurator-view-model',\n ConfiguratorViewModel,\n DI_TYPE.CONTEXT,\n ),\n new DependencyInjectionAssignment('rapi-access', RapiAccess),\n new DependencyInjectionAssignment('global-init-data', GlobalInitData),\n new DependencyInjectionAssignment(\n 'planner-selection-handler',\n PlannerSelectionHandler,\n ),\n];\n","import './utils/global-definitions';\nimport { Main, BASE_CONTEXT } from '../../common-core/src/main';\nimport { RoomlePlanner } from './roomle-planner';\nimport RoomleDependencyInjection from '../../common-core/src/di/roomle-dependency-injection';\nimport { INJECTABLES } from './utils/injectables';\nimport type PlannerKernelAccess from './services/planner-kernel-access';\nimport type Logger from '../../common-core/src/logger';\nimport { KERNEL_TYPE } from '../../common-core/src/services/common-kernel-access';\nimport type { PluginName } from '../../configurator-core/src/utils/plugin-types';\nimport type InitData from '../../common-core/src/utils/init-data';\nimport { isInIframe } from '../../common-core/src/utils/rapi-utils';\n\nexport class Planner<\n P extends readonly PluginName[] = readonly [],\n> extends Main {\n private _planner: RoomlePlanner<P>;\n private _activePlugins: P;\n\n constructor(creator?: string, activePlugins?: P) {\n super(creator);\n this._activePlugins = (activePlugins || []) as P;\n }\n protected setupGlobals(): void {\n //globals are initialized in bootFinished()\n }\n\n protected setupDependencies(): void {\n RoomleDependencyInjection.setup(INJECTABLES);\n this.lookup<Logger>('logger', this._context);\n // instantiate kernel acccess\n // instantiate pka\n // set pka on kernel access\n const plannerKernelAccess = this.lookup<PlannerKernelAccess>(\n 'planner-kernel-access',\n this._context,\n );\n plannerKernelAccess.init(KERNEL_TYPE.PLANNER);\n }\n\n protected cleanUpGlobals(): void {\n throw new Error('Method not implemented.');\n }\n\n protected cleanUpDependencies(): void {\n throw new Error('Method not implemented.');\n }\n\n protected async bootFinished(): Promise<void> {\n this._planner = new RoomlePlanner<P>(this._context, this._activePlugins);\n\n this._planner.getMain = () => {\n return this;\n };\n\n if (!window.RoomlePlanner) {\n if (this._activePlugins.length === 0) {\n // cast to unknown because we know that the planner is a RoomlePlanner\n window.RoomlePlanner = this._planner as unknown as RoomlePlanner;\n } else {\n window.RoomlePlanner = this._planner as RoomlePlanner<\n readonly PluginName[]\n >;\n }\n }\n\n const initData = this.lookup<InitData>('init-data', this._context);\n\n if (initData?.hi && isInIframe()) {\n try {\n await this._planner.setupHomagIntelligence();\n } catch (error) {\n console.error(\n 'The HI library could not be loaded, the planner starts without it',\n error,\n );\n }\n }\n }\n\n public getApi(): RoomlePlanner<P> {\n return this._planner;\n }\n\n protected getContextName(): string {\n return BASE_CONTEXT.PLANNER;\n }\n}\n"],"mappings":";;;;AAGA,IAAqB,IAArB,cAAiD,EAAa;CAC5D,SAAmB,GAAkC;AACnD,SAAO;;GCQE,IAA+C;CAC1D,IAAI,EAA8B,iBAAiB,EAAa;CAChE,IAAI,EACF,yBACA,GACA,EAAQ,QACT;CACD,IAAI,EAA8B,UAAU,EAAO;CACnD,IAAI,EACF,0BACA,EACD;CACD,IAAI,EACF,2BACA,GACA,EAAQ,QACT;CACD,IAAI,EAA8B,eAAe,EAAW;CAC5D,IAAI,EAA8B,oBAAoB,EAAe;CACrE,IAAI,EACF,6BACA,EACD;CACF,ECxBY,IAAb,cAEU,EAAK;CAIb,YAAY,GAAkB,GAAmB;AAE/C,EADA,MAAM,EAAQ,EACd,KAAK,iBAAkB,KAAiB,EAAE;;CAE5C,eAA+B;CAI/B,oBAAoC;AAMN,EAL5B,EAA0B,MAAM,EAAY,EAC5C,KAAK,OAAe,UAAU,KAAK,SAAS,EAIhB,KAAK,OAC/B,yBACA,KAAK,SACN,CACmB,KAAK,EAAY,QAAQ;;CAG/C,iBAAiC;AAC/B,QAAU,MAAM,0BAA0B;;CAG5C,sBAAsC;AACpC,QAAU,MAAM,0BAA0B;;CAG5C,MAAgB,eAA8B;AAoB5C,MAnBA,KAAK,WAAW,IAAI,EAAiB,KAAK,UAAU,KAAK,eAAe,EAExE,KAAK,SAAS,gBACL,MAGJ,OAAO,kBACN,KAAK,eAAe,QAEtB,OAAO,gBAAgB,KAAK,WAQf,KAAK,OAAiB,aAAa,KAAK,SAAS,EAEpD,MAAM,GAAY,CAC9B,KAAI;AACF,SAAM,KAAK,SAAS,wBAAwB;WACrC,GAAO;AACd,WAAQ,MACN,qEACA,EACD;;;CAKP,SAAkC;AAChC,SAAO,KAAK;;CAGd,iBAAmC;AACjC,SAAO,EAAa"}
1
+ {"version":3,"file":"planner-D8UVNfkJ.mjs","names":[],"sources":["../../packages/planner-core/src/input/planner-input-manager.ts","../../packages/planner-core/src/utils/injectables.ts","../../packages/planner-core/src/planner.ts"],"sourcesContent":["import type { INPUT_EVENT_TYPE } from '../../../common-core/src/input/input-manager';\nimport InputManager from '../../../common-core/src/input/input-manager';\n\nexport default class PlannerInputManager extends InputManager {\n protected _canDrag(_type: INPUT_EVENT_TYPE): boolean {\n return true;\n }\n}\n","import ScriptLoader from '../../../common-core/src/script-loader';\nimport {\n DependencyInjectionAssignment,\n DI_TYPE,\n} from '../../../common-core/src/di/container';\nimport Logger from '../../../common-core/src/logger';\nimport { default as PlannerMeshGenerator } from '../webgl/planner-mesh-generator';\nimport { RapiAccess } from '../../../common-core/src/rapi-access';\nimport PlannerInputManager from '../input/planner-input-manager';\nimport PlannerSelectionHandler from './planner-selection-handler';\nimport GlobalInitData from '../../../common-core/src/utils/global-init-data';\nimport ConfiguratorViewModel from '../../../common-core/src/view-model/configurator-view-model';\n\nexport const INJECTABLES: DependencyInjectionAssignment[] = [\n new DependencyInjectionAssignment('script-loader', ScriptLoader),\n new DependencyInjectionAssignment(\n 'planner-input-manager',\n PlannerInputManager,\n DI_TYPE.CONTEXT,\n ),\n new DependencyInjectionAssignment('logger', Logger),\n new DependencyInjectionAssignment(\n 'planner-mesh-generator',\n PlannerMeshGenerator,\n ),\n new DependencyInjectionAssignment(\n 'configurator-view-model',\n ConfiguratorViewModel,\n DI_TYPE.CONTEXT,\n ),\n new DependencyInjectionAssignment('rapi-access', RapiAccess),\n new DependencyInjectionAssignment('global-init-data', GlobalInitData),\n new DependencyInjectionAssignment(\n 'planner-selection-handler',\n PlannerSelectionHandler,\n ),\n];\n","import './utils/global-definitions';\nimport { Main, BASE_CONTEXT } from '../../common-core/src/main';\nimport { RoomlePlanner } from './roomle-planner';\nimport RoomleDependencyInjection from '../../common-core/src/di/roomle-dependency-injection';\nimport { INJECTABLES } from './utils/injectables';\nimport type PlannerKernelAccess from './services/planner-kernel-access';\nimport type Logger from '../../common-core/src/logger';\nimport { KERNEL_TYPE } from '../../common-core/src/services/common-kernel-access';\nimport type { PluginName } from '../../configurator-core/src/utils/plugin-types';\nimport type InitData from '../../common-core/src/utils/init-data';\nimport { isInIframe } from '../../common-core/src/utils/rapi-utils';\n\nexport class Planner<\n P extends readonly PluginName[] = readonly [],\n> extends Main {\n private _planner: RoomlePlanner<P>;\n private _activePlugins: P;\n\n constructor(creator?: string, activePlugins?: P) {\n super(creator);\n this._activePlugins = (activePlugins || []) as P;\n }\n protected setupGlobals(): void {\n //globals are initialized in bootFinished()\n }\n\n protected setupDependencies(): void {\n RoomleDependencyInjection.setup(INJECTABLES);\n this.lookup<Logger>('logger', this._context);\n // instantiate kernel acccess\n // instantiate pka\n // set pka on kernel access\n const plannerKernelAccess = this.lookup<PlannerKernelAccess>(\n 'planner-kernel-access',\n this._context,\n );\n plannerKernelAccess.init(KERNEL_TYPE.PLANNER);\n }\n\n protected cleanUpGlobals(): void {\n throw new Error('Method not implemented.');\n }\n\n protected cleanUpDependencies(): void {\n throw new Error('Method not implemented.');\n }\n\n protected async bootFinished(): Promise<void> {\n this._planner = new RoomlePlanner<P>(this._context, this._activePlugins);\n\n this._planner.getMain = () => {\n return this;\n };\n\n if (!window.RoomlePlanner) {\n if (this._activePlugins.length === 0) {\n // cast to unknown because we know that the planner is a RoomlePlanner\n window.RoomlePlanner = this._planner as unknown as RoomlePlanner;\n } else {\n window.RoomlePlanner = this._planner as RoomlePlanner<\n readonly PluginName[]\n >;\n }\n }\n\n const initData = this.lookup<InitData>('init-data', this._context);\n\n if (initData?.hi && isInIframe()) {\n try {\n await this._planner.setupHomagIntelligence();\n } catch (error) {\n console.error(\n 'The HI library could not be loaded, the planner starts without it',\n error,\n );\n }\n }\n }\n\n public getApi(): RoomlePlanner<P> {\n return this._planner;\n }\n\n protected getContextName(): string {\n return BASE_CONTEXT.PLANNER;\n }\n}\n"],"mappings":";;;;AAGA,IAAqB,IAArB,cAAiD,EAAa;CAC5D,SAAmB,GAAkC;AACnD,SAAO;;GCQE,IAA+C;CAC1D,IAAI,EAA8B,iBAAiB,EAAa;CAChE,IAAI,EACF,yBACA,GACA,EAAQ,QACT;CACD,IAAI,EAA8B,UAAU,EAAO;CACnD,IAAI,EACF,0BACA,EACD;CACD,IAAI,EACF,2BACA,GACA,EAAQ,QACT;CACD,IAAI,EAA8B,eAAe,EAAW;CAC5D,IAAI,EAA8B,oBAAoB,EAAe;CACrE,IAAI,EACF,6BACA,EACD;CACF,ECxBY,IAAb,cAEU,EAAK;CAIb,YAAY,GAAkB,GAAmB;AAE/C,EADA,MAAM,EAAQ,EACd,KAAK,iBAAkB,KAAiB,EAAE;;CAE5C,eAA+B;CAI/B,oBAAoC;AAMN,EAL5B,EAA0B,MAAM,EAAY,EAC5C,KAAK,OAAe,UAAU,KAAK,SAAS,EAIhB,KAAK,OAC/B,yBACA,KAAK,SACN,CACmB,KAAK,EAAY,QAAQ;;CAG/C,iBAAiC;AAC/B,QAAU,MAAM,0BAA0B;;CAG5C,sBAAsC;AACpC,QAAU,MAAM,0BAA0B;;CAG5C,MAAgB,eAA8B;AAoB5C,MAnBA,KAAK,WAAW,IAAI,EAAiB,KAAK,UAAU,KAAK,eAAe,EAExE,KAAK,SAAS,gBACL,MAGJ,OAAO,kBACN,KAAK,eAAe,QAEtB,OAAO,gBAAgB,KAAK,WAQf,KAAK,OAAiB,aAAa,KAAK,SAAS,EAEpD,MAAM,GAAY,CAC9B,KAAI;AACF,SAAM,KAAK,SAAS,wBAAwB;WACrC,GAAO;AACd,WAAQ,MACN,qEACA,EACD;;;CAKP,SAAkC;AAChC,SAAO,KAAK;;CAGd,iBAAmC;AACjC,SAAO,EAAa"}
@@ -1962,7 +1962,6 @@ export declare class ConfiguratorKernelAccess extends CommonKernelAccess {
1962
1962
  private _updateComponentDependencies;
1963
1963
  private _updatePlanObjectParameters;
1964
1964
  private _updateCommonPlanObjectParameters;
1965
- private _enableRootComponentParametersAsGlobal;
1966
1965
  private _updatePlanObjectChildren;
1967
1966
  updatePlanObjectDependencies(planObjectId: number): void;
1968
1967
  /** Sends the parameters and possible children of the selected components of the plan object to the UI. */
@@ -2659,14 +2658,6 @@ export declare class ConfiguratorUiCallbacks extends UiCallback implements Confi
2659
2658
  ids: RapiId[];
2660
2659
  message: string;
2661
2660
  }) => void;
2662
- /**
2663
- * When a sync has been started
2664
- */
2665
- onSyncStarted: () => void;
2666
- /**
2667
- * When a previously requested sync has been completed
2668
- */
2669
- onSyncDone: () => void;
2670
2661
  /**
2671
2662
  * When UI should show floor material selection
2672
2663
  */
@@ -3694,7 +3685,6 @@ export declare class DataSyncer implements Context, CommunicationInterfaceCallba
3694
3685
  private _isStarting;
3695
3686
  private _alwaysUseCache;
3696
3687
  constructor(creator: string);
3697
- start(catalogId: RapiId): Promise<void>;
3698
3688
  syncCatalog(catalogId: RapiId): Promise<void>;
3699
3689
  syncFloorTag(tagId: RapiId): Promise<any>;
3700
3690
  syncTypeChangeTag(tagId: RapiId): Promise<any>;
@@ -3714,6 +3704,7 @@ export declare class DataSyncer implements Context, CommunicationInterfaceCallba
3714
3704
  private _assetUrlToBase64;
3715
3705
  private _softReject;
3716
3706
  requestAsset(url: string, urlAsFallback?: boolean): AssetUrl | null;
3707
+ requestCachedAsset(url: string): AssetUrl | null;
3717
3708
  setAlwaysUseCache(alwaysUseCache: boolean): void;
3718
3709
  preFillAssetCache(key: string, url: string): void;
3719
3710
  }
@@ -7950,6 +7941,7 @@ export declare class MeshGenerator implements Context {
7950
7941
  private _loadBenchmarkTextures;
7951
7942
  protected _loadTextures(rapiMaterial: RapiMaterial, material: MeshPhysicalMaterial, width?: number, height?: number): Promise<void>;
7952
7943
  private _addTexturesToMaterial;
7944
+ private _addTextureAsset;
7953
7945
  protected _loadMaterial(materialId: string, width?: number, height?: number): Promise<Material>;
7954
7946
  protected _assignMaterial(mesh: Mesh, materialId: string, materialAttributes?: Record<string, string | null>): Promise<void>;
7955
7947
  get maxAnisotropy(): number;
@@ -10560,6 +10552,8 @@ export declare const enum RAPI_PATHS {
10560
10552
  PLAN_SNAPSHOTS = "planSnapshots"
10561
10553
  }
10562
10554
 
10555
+ export declare type RAPI_TEXTURE_ASSET_TYPE = 'image1k' | 'src';
10556
+
10563
10557
  export declare const enum RAPI_TEXTURE_TYPE {
10564
10558
  RGB = "RGB",// diffuse color texture
10565
10559
  RGBA = "RGBA",// Diffuse color texture and opacity map
@@ -10596,7 +10590,6 @@ export declare class RapiAccess implements Context {
10596
10590
  getPreloadForConfiguration(id: RapiId): Promise<void>;
10597
10591
  private _getPreload;
10598
10592
  changeUseOfHDGeometry(): void;
10599
- getHSCPackage(id: RapiId): Promise<RapiPackage | void>;
10600
10593
  getComponent(id: RapiId): Promise<RapiComponent>;
10601
10594
  getConfiguration(id: RapiId): Promise<RapiConfiguration>;
10602
10595
  getConfigurations(ids: RapiId[]): Promise<RapiConfiguration[]>;
@@ -10849,6 +10842,12 @@ export declare const enum RapiFavoriteType {
10849
10842
 
10850
10843
  export declare type RapiId = string;
10851
10844
 
10845
+ export declare interface RapiImageAsset extends RapiJson {
10846
+ format: string;
10847
+ url: AssetUrl;
10848
+ generated: string;
10849
+ }
10850
+
10852
10851
  /**
10853
10852
  * Error thrown when _getById is called with an invalid or empty id.
10854
10853
  * This is a programmer error and should not happen in production.
@@ -10983,12 +10982,6 @@ export declare class RapiOfflineError extends Error {
10983
10982
  constructor(rapiPath: RAPI_PATHS, id: RapiId);
10984
10983
  }
10985
10984
 
10986
- export declare interface RapiPackage extends RapiJson {
10987
- components: RapiComponent[];
10988
- materials: RapiMaterial[];
10989
- textures: RapiTexture[];
10990
- }
10991
-
10992
10985
  export declare interface RapiPlan extends RapiJson {
10993
10986
  name: string;
10994
10987
  description: string;
@@ -11165,9 +11158,12 @@ export declare interface RapiTexture extends RapiJson {
11165
11158
  mmWidth: number;
11166
11159
  tileable: boolean;
11167
11160
  material: RapiId;
11168
- [key: string]: string | number | boolean | AssetUrl | RapiId | LinksCollection | null | undefined;
11161
+ assets?: RapiTextureAssetMap;
11162
+ [key: string]: string | number | boolean | AssetUrl | RapiId | LinksCollection | RapiTextureAssetMap | null | undefined;
11169
11163
  }
11170
11164
 
11165
+ export declare type RapiTextureAssetMap = Partial<Record<RAPI_TEXTURE_ASSET_TYPE, RapiImageAsset>>;
11166
+
11171
11167
  export declare interface RapiUser extends RapiJson {
11172
11168
  username: string;
11173
11169
  salutationCode: number;
@@ -1,17 +1,17 @@
1
1
  /*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
2
- import { a as e, i as t, n, r, t as i } from "./packages-DhBz4dX3.mjs";
2
+ import { a as e, i as t, n, r, t as i } from "./packages-DOCmEOxI.mjs";
3
3
  import { i as a, t as o } from "./kernel-2ku6lFfE.mjs";
4
- import { Ot as s, Tt as c, wt as l } from "./threejs-utils-C3CWKZXa.mjs";
4
+ import { Ot as s, Tt as c, wt as l } from "./threejs-utils-D1gtvxiA.mjs";
5
5
  import { m as u, nt as d, wi as f } from "./three.core-BpdpLVZy.mjs";
6
6
  import { i as p } from "./decorate-CooD7C6J.mjs";
7
- import { D as m, H as h, g as ee } from "./common-utils-DZiN8bjs.mjs";
8
- import { $ as te, A as ne, F as re, H as ie, I as ae, K as oe, L as se, M as ce, N as g, O as _, P as le, Q as ue, R as de, U as fe, W as pe, X as me, Y as he, Z as ge, _t as _e, a as ve, b as ye, bt as v, dt as y, ft as b, gt as x, ht as S, i as C, l as w, m as T, mt as E, o as D, pt as O, r as k, s as A, t as j, u as M, ut as N, x as P, y as be } from "./roomle-sdk-Sdrd7K0F.mjs";
7
+ import { D as ee, H as m, g as te } from "./common-utils-zPOllvAT.mjs";
8
+ import { A as ne, C as re, G as ie, H as ae, J as oe, K as se, O as ce, V as le, X as ue, Y as h, Z as de, _ as fe, _t as pe, b as me, bt as he, c as ge, dt as g, f as _e, ft as _, gt as ve, ht as ye, i as v, j as y, k as b, l as x, m as S, mt as C, o as w, p as T, pt as E, q as D, r as O, s as k, t as A, u as j, ut as M, v as N, y as P, z as be } from "./roomle-sdk-C0YpFZdj.mjs";
9
9
  import { n as xe } from "./roomle-renderer-hDktY-wA.mjs";
10
- import { n as Se } from "./script-loader-D9Tr-8LN.mjs";
11
- import { t as Ce } from "./configurator-CgFJ2voV.mjs";
12
- import { t as we } from "./planner-SRvOM5ZQ.mjs";
13
- import { n as Te, t as Ee } from "./glb-viewer-B2WH46su.mjs";
14
- import { t as De } from "./api-1YHSF8TD.mjs";
10
+ import { n as Se } from "./script-loader-jRBMP-ca.mjs";
11
+ import { t as Ce } from "./configurator-DCynrn7X.mjs";
12
+ import { t as we } from "./planner-D8UVNfkJ.mjs";
13
+ import { n as Te, t as Ee } from "./glb-viewer-BhiCqjpE.mjs";
14
+ import { t as De } from "./api-DOHbOr7K.mjs";
15
15
  import { t as Oe } from "./roomle-headless-setup-Cbu025cl.mjs";
16
16
  import { createRequire as ke } from "module";
17
17
  //#region packages/headless-core/src/headless-tween-stub.ts
@@ -179,11 +179,14 @@ var Ae = {
179
179
  requestAsset(e, t = !1) {
180
180
  return e;
181
181
  }
182
+ requestCachedAsset(e) {
183
+ return null;
184
+ }
182
185
  setAlwaysUseCache(e) {}
183
186
  preFillAssetCache(e, t) {}
184
- }, Fe = class extends w {
187
+ }, Fe = class extends _e {
185
188
  _getScriptLoaderKernelId(e) {
186
- return e === ne.PLANNER ? "kernel-planner" : "kernel";
189
+ return e === ae.PLANNER ? "kernel-planner" : "kernel";
187
190
  }
188
191
  useEnvironmentGeometry(e) {
189
192
  if (!this._kernelInstance) throw Error("trying to set useEnvironmentGeometry but there is no kernel instance yet!");
@@ -202,7 +205,7 @@ var Ae = {
202
205
  } : n;
203
206
  } });
204
207
  }
205
- }, Le = class extends C {
208
+ }, Le = class extends v {
206
209
  async addReflectiveFloor(e) {}
207
210
  }, R = null;
208
211
  function Re(e) {
@@ -357,7 +360,7 @@ var Ve = (e) => {
357
360
  let { WebGPUPathTracer: t } = await import("./webgpu-CFHzLgQ9.mjs"), n = new t(e);
358
361
  return n.useMegakernel(!0), n.dynamicLowRes = !1, n.renderDelay = 0, n.fadeDuration = 0, n.minSamples = 1, this._pathTracer = n, this._renderer = e, n;
359
362
  }
360
- }, We = class e extends T {
363
+ }, We = class e extends re {
361
364
  constructor(...e) {
362
365
  super(...e), this._headlessPathTracerRenderer = null;
363
366
  }
@@ -371,7 +374,7 @@ var Ve = (e) => {
371
374
  }
372
375
  async _createRoomleRenderer(e) {
373
376
  if (!e.isWebGPURenderer) return super._createRoomleRenderer(e);
374
- let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-CWoN5YzU.mjs");
377
+ let { RoomleWebGPURenderer: t } = await import("./roomle-webgpu-renderer-DZ9LaZfc.mjs");
375
378
  return new t(this._creator_, e, !0, void 0, !1);
376
379
  }
377
380
  static hasExplicitCameraPlacement(e) {
@@ -435,7 +438,7 @@ var Ve = (e) => {
435
438
  let { width: r, height: i } = e.domElement;
436
439
  return t.readbackScaled(Math.max(1, Math.round(r * n)), Math.max(1, Math.round(i * n)));
437
440
  }
438
- }, G = class extends ve {
441
+ }, G = class extends ge {
439
442
  constructor(...e) {
440
443
  super(...e), this._callbacks = /* @__PURE__ */ new Set(), this._dispatcherInstalled = !1;
441
444
  }
@@ -445,11 +448,11 @@ var Ve = (e) => {
445
448
  }), !0);
446
449
  }
447
450
  static async loadEquirectTexture(e) {
448
- let t = await (e.toLowerCase().endsWith(".exr") ? new A() : new D()).loadAsync(e);
451
+ let t = await (e.toLowerCase().endsWith(".exr") ? new j() : new x()).loadAsync(e);
449
452
  return t.mapping = 303, t;
450
453
  }
451
454
  }, Ge = (e, t) => {
452
- let n = new N();
455
+ let n = new M();
453
456
  globalThis.__RML__DI__ = n;
454
457
  class r extends Ne {
455
458
  constructor(n) {
@@ -457,18 +460,18 @@ var Ve = (e) => {
457
460
  }
458
461
  }
459
462
  let i = [
460
- new b("script-loader", Me, y.CONTEXT, !0),
461
- new b("dom-helper", r, y.CONTEXT, !0),
462
- new b("data-syncer", Pe, y.GLOBAL, !0),
463
- new b("planner-kernel-access", Fe, y.GLOBAL, !0),
464
- new b("kernel-callback-guard", Ie, y.GLOBAL, !0),
465
- new b("web-gpu-ground-shadow-reflection", Le, y.CONTEXT, !0),
466
- new b("image-renderer", We, y.CONTEXT, !0),
467
- new b("hdr-environment-loader", G, y.GLOBAL, !0)
463
+ new _("script-loader", Me, g.CONTEXT, !0),
464
+ new _("dom-helper", r, g.CONTEXT, !0),
465
+ new _("data-syncer", Pe, g.GLOBAL, !0),
466
+ new _("planner-kernel-access", Fe, g.GLOBAL, !0),
467
+ new _("kernel-callback-guard", Ie, g.GLOBAL, !0),
468
+ new _("web-gpu-ground-shadow-reflection", Le, g.CONTEXT, !0),
469
+ new _("image-renderer", We, g.CONTEXT, !0),
470
+ new _("hdr-environment-loader", G, g.GLOBAL, !0)
468
471
  ];
469
- return n.addDependencyInjectionAssignments(k), n.addDependencyInjectionAssignments(i), n;
472
+ return n.addDependencyInjectionAssignments(O), n.addDependencyInjectionAssignments(i), n;
470
473
  }, K = 12e4, Ke = async (e, t) => {
471
- let n = await j.callbacks, r = n?.onReadyForRender, i = n ? new Promise((e) => {
474
+ let n = await A.callbacks, r = n?.onReadyForRender, i = n ? new Promise((e) => {
472
475
  n.onReadyForRender = () => {
473
476
  try {
474
477
  r?.();
@@ -477,7 +480,7 @@ var Ve = (e) => {
477
480
  }
478
481
  };
479
482
  }) : Promise.resolve(), a = e.getSceneManager().whenRenderLoopFunctionApplied();
480
- await t(e), await Promise.all([h(i, "HeadlessRoomleSdk: onReadyForRender never fired, the scene never finished loading its assets", K), h(a, "HeadlessRoomleSdk: the plan was never added to the scene, the render loop never ran the scheduled scene-graph mutation", K)]);
483
+ await t(e), await Promise.all([m(i, "HeadlessRoomleSdk: onReadyForRender never fired, the scene never finished loading its assets", K), m(a, "HeadlessRoomleSdk: the plan was never added to the scene, the render loop never ran the scheduled scene-graph mutation", K)]);
481
484
  }, q = (e) => {
482
485
  let t = e.ssaa ?? (e.pathTracer ? 1 : 2), n = e.width ?? e.size ?? 1024, r = e.height ?? e.size ?? 1024;
483
486
  return {
@@ -524,7 +527,7 @@ var Ve = (e) => {
524
527
  }, Je = 1024, Ye = 768, Xe = "inline-plan-xml#", Ze = "inline-configuration#", Q = (e, t) => e && !t, Qe = class e {
525
528
  static async create(t) {
526
529
  let n = new e(t);
527
- return await j.setGlobalInitData({
530
+ return await A.setGlobalInitData({
528
531
  configuratorId: t.configuratorId,
529
532
  locale: t.locale,
530
533
  tenant: t.tenant,
@@ -554,7 +557,7 @@ var Ve = (e) => {
554
557
  async _bootPlanner() {
555
558
  let { width: e, height: t, ...n } = this._initData;
556
559
  if (n.moc === !1) throw Error("HeadlessRoomleSdk: planner requires moc:true");
557
- let r = await j.getPlanner({
560
+ let r = await A.getPlanner({
558
561
  ...n,
559
562
  moc: !0,
560
563
  webGpu: !0,
@@ -598,7 +601,7 @@ var Ve = (e) => {
598
601
  }
599
602
  async _load(e, t, n, r) {
600
603
  let i = await this._getPlanner();
601
- if (i.getConfiguratorContext().baseContext = oe.PLANNER, this._loadedScene?.identity === e) return;
604
+ if (i.getConfiguratorContext().baseContext = y.PLANNER, this._loadedScene?.identity === e) return;
602
605
  this._loadedScene = null;
603
606
  let a = Q(r, n);
604
607
  this._useEnvironmentGeometry(a), await Ke(i, t), this._loadedScene = {
@@ -731,6 +734,6 @@ var Ve = (e) => {
731
734
  $()?.setModelExportOngoing(e);
732
735
  }, et = () => $()?.isModelExportOngoing() ?? !1;
733
736
  //#endregion
734
- export { o as CONFIGURATION_TYPE, l as CORE_EDGE_TYPE, c as CORE_FLOOR_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, Ce as Configurator, re as FloorPlanElementViewModel, Ee as GlbViewer, pe as HI_CONTEXT_ACTION, ie as HI_GROUP_OPERATION, fe as HI_TOOL_COMMAND, Qe as HeadlessRoomleSdk, O as HttpResponseError, le as MeasurementLinePlanElementViewModel, be as PLAN_ELEMENT_CHANGE_TYPES, de as PlanElementViewModel, se as PlanObjectViewModel, we as Planner, E as RapiAccess, S as RapiInvalidIdError, x as RapiOfflineError, De as RoomDesignerApi, _ as RoomleConfigurator, Te as RoomleGLBViewer, v as RoomleLightSource, M as RoomlePlanner, j as RoomleSdk, ae as StaticPlanObjectViewModel, ce as WallPlanElementViewModel, he as createExtObj, te as createExtObjId, ee as download, _e as getCatalogIdFromConfigurationHash, Oe as getHeadlessWebGpuMaxTextureDimension, g as isDeletedInvisibleWall, me as isExtObjId, ge as isExternalObject, ye as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, et as isModelExportOngoing, e as isPlanSnapshotId, P as isSafari, m as md5Hash, ue as removeExtObjIdPrefix, $e as setModelExportOngoing, Re as setPathTracerExternalDenoiser, He as setPathTracerPreviewHook, Ve as setPathTracerProgressHook };
737
+ export { o as CONFIGURATION_TYPE, l as CORE_EDGE_TYPE, c as CORE_FLOOR_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, Ce as Configurator, oe as FloorPlanElementViewModel, Ee as GlbViewer, S as HI_CONTEXT_ACTION, w as HI_GROUP_OPERATION, k as HI_TOOL_COMMAND, Qe as HeadlessRoomleSdk, E as HttpResponseError, D as MeasurementLinePlanElementViewModel, ce as PLAN_ELEMENT_CHANGE_TYPES, de as PlanElementViewModel, ue as PlanObjectViewModel, we as Planner, C as RapiAccess, ye as RapiInvalidIdError, ve as RapiOfflineError, De as RoomDesignerApi, be as RoomleConfigurator, Te as RoomleGLBViewer, he as RoomleLightSource, T as RoomlePlanner, A as RoomleSdk, h as StaticPlanObjectViewModel, ie as WallPlanElementViewModel, fe as createExtObj, le as createExtObjId, te as download, pe as getCatalogIdFromConfigurationHash, Oe as getHeadlessWebGpuMaxTextureDimension, se as isDeletedInvisibleWall, N as isExtObjId, P as isExternalObject, b as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, et as isModelExportOngoing, e as isPlanSnapshotId, ne as isSafari, ee as md5Hash, me as removeExtObjIdPrefix, $e as setModelExportOngoing, Re as setPathTracerExternalDenoiser, He as setPathTracerPreviewHook, Ve as setPathTracerProgressHook };
735
738
 
736
739
  //# sourceMappingURL=roomle-headless.js.map