@roomle/web-sdk 2.99.0 → 2.100.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 (281) hide show
  1. package/lib/Object3D-2abce9d8.nomodule.js +2 -0
  2. package/lib/Object3D-2abce9d8.nomodule.js.map +1 -0
  3. package/lib/Object3D-80e9d0f8.js +2 -0
  4. package/lib/Object3D-80e9d0f8.js.map +1 -0
  5. package/lib/SpotLightHelper-56c85cfb.nomodule.js +2 -0
  6. package/lib/SpotLightHelper-56c85cfb.nomodule.js.map +1 -0
  7. package/lib/SpotLightHelper-79188e47.js +2 -0
  8. package/lib/SpotLightHelper-79188e47.js.map +1 -0
  9. package/lib/{banana-for-scale-22ad6a20.nomodule.js → banana-for-scale-795d9c6c.nomodule.js} +2 -2
  10. package/lib/{banana-for-scale-22ad6a20.nomodule.js.map → banana-for-scale-795d9c6c.nomodule.js.map} +1 -1
  11. package/lib/{banana-for-scale-da4282fd.js → banana-for-scale-c5d8d13e.js} +2 -2
  12. package/lib/{banana-for-scale-da4282fd.js.map → banana-for-scale-c5d8d13e.js.map} +1 -1
  13. package/lib/camera-behaviour-ceced6f1.nomodule.js +2 -0
  14. package/lib/{camera-behaviour-90408ba5.nomodule.js.map → camera-behaviour-ceced6f1.nomodule.js.map} +1 -1
  15. package/lib/camera-behaviour-fe3f4008.js +2 -0
  16. package/lib/{camera-behaviour-2f2ffe82.js.map → camera-behaviour-fe3f4008.js.map} +1 -1
  17. package/lib/{component-dimensioning-a5e291d6.nomodule.js → component-dimensioning-5417ce83.nomodule.js} +2 -2
  18. package/lib/component-dimensioning-5417ce83.nomodule.js.map +1 -0
  19. package/lib/{component-dimensioning-ca877f31.js → component-dimensioning-b575bfa7.js} +2 -2
  20. package/lib/component-dimensioning-b575bfa7.js.map +1 -0
  21. package/lib/{component-raycast-helper-785b39cd.js → component-raycast-helper-8faecce8.js} +2 -2
  22. package/lib/component-raycast-helper-8faecce8.js.map +1 -0
  23. package/lib/{component-raycast-helper-40f9eb14.nomodule.js → component-raycast-helper-cde6065c.nomodule.js} +2 -2
  24. package/lib/component-raycast-helper-cde6065c.nomodule.js.map +1 -0
  25. package/lib/configurator-0ad4d1f9.nomodule.js +2 -0
  26. package/lib/configurator-0ad4d1f9.nomodule.js.map +1 -0
  27. package/lib/configurator-4565594d.js +2 -0
  28. package/lib/configurator-4565594d.js.map +1 -0
  29. package/lib/configurator-main-c79ddf0c.js +2 -0
  30. package/lib/configurator-main-c79ddf0c.js.map +1 -0
  31. package/lib/configurator-main.nomodule.js +1 -1
  32. package/lib/continuous-drawing-helper-6a23cf51.js +2 -0
  33. package/lib/continuous-drawing-helper-6a23cf51.js.map +1 -0
  34. package/lib/continuous-drawing-helper-70637238.nomodule.js +2 -0
  35. package/lib/continuous-drawing-helper-70637238.nomodule.js.map +1 -0
  36. package/lib/default-light-setting-755cfddc.js +2 -0
  37. package/lib/default-light-setting-755cfddc.js.map +1 -0
  38. package/lib/default-light-setting-e6087240.nomodule.js +2 -0
  39. package/lib/default-light-setting-e6087240.nomodule.js.map +1 -0
  40. package/lib/definitions/common-core/src/cameracontrol/camera-control-3d.d.ts +2 -1
  41. package/lib/definitions/common-core/src/cameracontrol/configurator-camera-behaviour.d.ts +1 -1
  42. package/lib/definitions/common-core/src/utils/common-utils.d.ts +1 -0
  43. package/lib/definitions/common-core/src/utils/init-data.d.ts +3 -0
  44. package/lib/definitions/common-core/src/utils/shims.d.ts +8 -3
  45. package/lib/definitions/common-core/src/webgl/image-renderer.d.ts +1 -0
  46. package/lib/definitions/common-core/src/webgl/roomle-webgl-renderer.d.ts +3 -0
  47. package/lib/definitions/common-core/src/webgl/scene-manager.d.ts +1 -0
  48. package/lib/definitions/packages/common-core/src/cameracontrol/camera-control-3d.d.ts +2 -1
  49. package/lib/definitions/packages/common-core/src/cameracontrol/configurator-camera-behaviour.d.ts +1 -1
  50. package/lib/definitions/packages/common-core/src/utils/common-utils.d.ts +1 -0
  51. package/lib/definitions/packages/common-core/src/utils/init-data.d.ts +3 -0
  52. package/lib/definitions/packages/common-core/src/utils/shims.d.ts +8 -3
  53. package/lib/definitions/packages/common-core/src/webgl/image-renderer.d.ts +1 -0
  54. package/lib/definitions/packages/common-core/src/webgl/roomle-webgl-renderer.d.ts +3 -0
  55. package/lib/definitions/packages/common-core/src/webgl/scene-manager.d.ts +1 -0
  56. package/lib/definitions/packages/planner-core/src/lights/ceiling-light.d.ts +19 -0
  57. package/lib/definitions/packages/planner-core/src/lights/lamp-light.d.ts +9 -0
  58. package/lib/definitions/packages/planner-core/src/lights/light-group.d.ts +11 -0
  59. package/lib/definitions/packages/planner-core/src/lights/rect-area-light.d.ts +7 -0
  60. package/lib/definitions/packages/planner-core/src/roomle-planner-ui-callback.d.ts +1 -1
  61. package/lib/definitions/packages/planner-core/src/roomle-planner.d.ts +10 -2
  62. package/lib/definitions/packages/planner-core/src/utils/{planner-scene-manager.d.ts → planner-scene-utils.d.ts} +5 -2
  63. package/lib/definitions/packages/planner-core/src/view-model/floor-plan-element-view-model.d.ts +1 -0
  64. package/lib/definitions/packages/planner-core/src/view-model/plan-view-model.d.ts +21 -0
  65. package/lib/definitions/packages/planner-core/src/webgl/planner-scene-manager.d.ts +3 -6
  66. package/lib/definitions/packages/typings/planner.d.ts +7 -1
  67. package/lib/definitions/planner-core/src/lights/ceiling-light.d.ts +19 -0
  68. package/lib/definitions/planner-core/src/lights/lamp-light.d.ts +9 -0
  69. package/lib/definitions/planner-core/src/lights/light-group.d.ts +11 -0
  70. package/lib/definitions/planner-core/src/lights/rect-area-light.d.ts +7 -0
  71. package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +1 -1
  72. package/lib/definitions/planner-core/src/roomle-planner.d.ts +10 -2
  73. package/lib/definitions/planner-core/src/utils/{planner-scene-manager.d.ts → planner-scene-utils.d.ts} +5 -2
  74. package/lib/definitions/planner-core/src/view-model/floor-plan-element-view-model.d.ts +1 -0
  75. package/lib/definitions/planner-core/src/view-model/plan-view-model.d.ts +21 -0
  76. package/lib/definitions/planner-core/src/webgl/planner-scene-manager.d.ts +3 -6
  77. package/lib/definitions/typings/planner.d.ts +7 -1
  78. package/lib/dimensioning-helper-089673fa.nomodule.js +2 -0
  79. package/lib/dimensioning-helper-089673fa.nomodule.js.map +1 -0
  80. package/lib/dimensioning-helper-ba9dbb6f.js +2 -0
  81. package/lib/{dimensioning-helper-fb456f28.js.map → dimensioning-helper-ba9dbb6f.js.map} +1 -1
  82. package/lib/glb-viewer-232298a7.nomodule.js +2 -0
  83. package/lib/{glb-viewer-58aa56b3.nomodule.js.map → glb-viewer-232298a7.nomodule.js.map} +1 -1
  84. package/lib/glb-viewer-bc27fd7c.js +2 -0
  85. package/lib/{glb-viewer-d4c6c346.js.map → glb-viewer-bc27fd7c.js.map} +1 -1
  86. package/lib/{glb-viewer-camera-behaviour-1b347e77.nomodule.js → glb-viewer-camera-behaviour-b9f0adaa.nomodule.js} +2 -2
  87. package/lib/glb-viewer-camera-behaviour-b9f0adaa.nomodule.js.map +1 -0
  88. package/lib/{glb-viewer-camera-behaviour-24e823bc.js → glb-viewer-camera-behaviour-f8871d34.js} +2 -2
  89. package/lib/glb-viewer-camera-behaviour-f8871d34.js.map +1 -0
  90. package/lib/glb-viewer-main-058270a7.js +2 -0
  91. package/lib/glb-viewer-main-058270a7.js.map +1 -0
  92. package/lib/glb-viewer-main.nomodule.js +1 -1
  93. package/lib/{imos-ix-poc-export-helper-b7a91cdb.nomodule.js → imos-ix-poc-export-helper-29ce417b.nomodule.js} +2 -2
  94. package/lib/imos-ix-poc-export-helper-29ce417b.nomodule.js.map +1 -0
  95. package/lib/{imos-ix-poc-export-helper-7b16b54e.js → imos-ix-poc-export-helper-43b4c646.js} +2 -2
  96. package/lib/imos-ix-poc-export-helper-43b4c646.js.map +1 -0
  97. package/lib/legacy/Object3D-1f141c55.legacy.js +2 -0
  98. package/lib/legacy/Object3D-1f141c55.legacy.js.map +1 -0
  99. package/lib/legacy/SpotLightHelper-28698e83.legacy.js +2 -0
  100. package/lib/legacy/SpotLightHelper-28698e83.legacy.js.map +1 -0
  101. package/lib/legacy/TextGeometry-559f28ce.legacy.js +2 -0
  102. package/lib/legacy/{TextGeometry-778d127b.legacy.js.map → TextGeometry-559f28ce.legacy.js.map} +1 -1
  103. package/lib/legacy/{banana-for-scale-b274801d.legacy.js → banana-for-scale-8a3d4091.legacy.js} +2 -2
  104. package/lib/legacy/{banana-for-scale-b274801d.legacy.js.map → banana-for-scale-8a3d4091.legacy.js.map} +1 -1
  105. package/lib/legacy/budgeteer-measure.legacy.js +1 -1
  106. package/lib/legacy/camera-behaviour-363a4e78.legacy.js +2 -0
  107. package/lib/legacy/{camera-behaviour-b47dbdd3.legacy.js.map → camera-behaviour-363a4e78.legacy.js.map} +1 -1
  108. package/lib/legacy/{component-dimensioning-a3ba2ba6.legacy.js → component-dimensioning-f92c2840.legacy.js} +2 -2
  109. package/lib/legacy/component-dimensioning-f92c2840.legacy.js.map +1 -0
  110. package/lib/legacy/{component-raycast-helper-a5178cda.legacy.js → component-raycast-helper-91c67dd6.legacy.js} +2 -2
  111. package/lib/legacy/component-raycast-helper-91c67dd6.legacy.js.map +1 -0
  112. package/lib/legacy/configurator-bdb72223.legacy.js +2 -0
  113. package/lib/legacy/configurator-bdb72223.legacy.js.map +1 -0
  114. package/lib/legacy/configurator-main.legacy.js +1 -1
  115. package/lib/legacy/continuous-drawing-helper-e8db250c.legacy.js +2 -0
  116. package/lib/legacy/continuous-drawing-helper-e8db250c.legacy.js.map +1 -0
  117. package/lib/legacy/default-light-setting-07ced87c.legacy.js +2 -0
  118. package/lib/legacy/default-light-setting-07ced87c.legacy.js.map +1 -0
  119. package/lib/legacy/dimensioning-helper-bb3492c7.legacy.js +2 -0
  120. package/lib/legacy/dimensioning-helper-bb3492c7.legacy.js.map +1 -0
  121. package/lib/legacy/external-objects-01d5a216.legacy.js +2 -0
  122. package/lib/legacy/external-objects-01d5a216.legacy.js.map +1 -0
  123. package/lib/legacy/{glb-viewer-camera-behaviour-4be0da6a.legacy.js → glb-viewer-camera-behaviour-8a35f77c.legacy.js} +2 -2
  124. package/lib/legacy/glb-viewer-camera-behaviour-8a35f77c.legacy.js.map +1 -0
  125. package/lib/legacy/glb-viewer-d69f6cae.legacy.js +2 -0
  126. package/lib/legacy/{glb-viewer-d3854b02.legacy.js.map → glb-viewer-d69f6cae.legacy.js.map} +1 -1
  127. package/lib/legacy/glb-viewer-main.legacy.js +1 -1
  128. package/lib/legacy/{imos-ix-poc-export-helper-ee70d653.legacy.js → imos-ix-poc-export-helper-ca5160da.legacy.js} +2 -2
  129. package/lib/legacy/imos-ix-poc-export-helper-ca5160da.legacy.js.map +1 -0
  130. package/lib/legacy/{main-thread-to-worker-da6ad96a.legacy.js → main-thread-to-worker-32b45184.legacy.js} +3 -3
  131. package/lib/legacy/{main-thread-to-worker-da6ad96a.legacy.js.map → main-thread-to-worker-32b45184.legacy.js.map} +1 -1
  132. package/lib/legacy/material-viewer-770e3a93.legacy.js +2 -0
  133. package/lib/legacy/material-viewer-770e3a93.legacy.js.map +1 -0
  134. package/lib/legacy/material-viewer-main.legacy.js +1 -1
  135. package/lib/legacy/planner-53e1ae1f.legacy.js +2 -0
  136. package/lib/legacy/{planner-f0a71818.legacy.js.map → planner-53e1ae1f.legacy.js.map} +1 -1
  137. package/lib/legacy/planner-main.legacy.js +1 -1
  138. package/lib/legacy/query-params-helper-ad6b6b64.legacy.js +2 -0
  139. package/lib/legacy/query-params-helper-ad6b6b64.legacy.js.map +1 -0
  140. package/lib/legacy/roomle-configurator-2ab0523e.legacy.js +2 -0
  141. package/lib/legacy/roomle-configurator-2ab0523e.legacy.js.map +1 -0
  142. package/lib/legacy/roomle-dependency-injection-39798155.legacy.js +9 -0
  143. package/lib/legacy/{roomle-dependency-injection-058aa06f.legacy.js.map → roomle-dependency-injection-39798155.legacy.js.map} +1 -1
  144. package/lib/legacy/roomle-sdk.legacy.js +1 -1
  145. package/lib/legacy/{script-loader-9921991a.legacy.js → script-loader-6f4bb7db.legacy.js} +2 -2
  146. package/lib/legacy/script-loader-6f4bb7db.legacy.js.map +1 -0
  147. package/lib/legacy/static/ConfiguratorKernel-eb2b45aa8bdd5c73.wasm +0 -0
  148. package/lib/legacy/static/RoomleCore-a4df483fa6f93517.wasm +0 -0
  149. package/lib/legacy/static/RoomleToolsCore-9ea339d54e57756a.wasm +0 -0
  150. package/lib/legacy/{stats-helper-c7bf779b.legacy.js → stats-helper-e75d2585.legacy.js} +2 -2
  151. package/lib/legacy/stats-helper-e75d2585.legacy.js.map +1 -0
  152. package/lib/legacy/{tools-core-645fb16a.legacy.js → tools-core-c5e76ffc.legacy.js} +2 -2
  153. package/lib/legacy/tools-core-c5e76ffc.legacy.js.map +1 -0
  154. package/lib/material-viewer-a489d3c2.nomodule.js +2 -0
  155. package/lib/material-viewer-a489d3c2.nomodule.js.map +1 -0
  156. package/lib/material-viewer-f818f681.js +2 -0
  157. package/lib/material-viewer-f818f681.js.map +1 -0
  158. package/lib/material-viewer-main-a4985787.js +2 -0
  159. package/lib/material-viewer-main-a4985787.js.map +1 -0
  160. package/lib/material-viewer-main.nomodule.js +1 -1
  161. package/lib/planner-32c9b79e.nomodule.js +2 -0
  162. package/lib/{planner-cb1acb4d.nomodule.js.map → planner-32c9b79e.nomodule.js.map} +1 -1
  163. package/lib/planner-9b39cf77.js +2 -0
  164. package/lib/{planner-a30840a8.js.map → planner-9b39cf77.js.map} +1 -1
  165. package/lib/planner-main-32eac04d.js +2 -0
  166. package/lib/planner-main-32eac04d.js.map +1 -0
  167. package/lib/planner-main.nomodule.js +1 -1
  168. package/lib/roomle-configurator-2d336119.nomodule.js +2 -0
  169. package/lib/roomle-configurator-2d336119.nomodule.js.map +1 -0
  170. package/lib/roomle-configurator-3bf23b9e.js +2 -0
  171. package/lib/roomle-configurator-3bf23b9e.js.map +1 -0
  172. package/lib/{roomle-dependency-injection-8fd89dfe.js → roomle-dependency-injection-c52a0000.js} +3 -3
  173. package/lib/{roomle-dependency-injection-8fd89dfe.js.map → roomle-dependency-injection-c52a0000.js.map} +1 -1
  174. package/lib/roomle-dependency-injection-e789a72d.nomodule.js +9 -0
  175. package/lib/{roomle-dependency-injection-22befdc7.nomodule.js.map → roomle-dependency-injection-e789a72d.nomodule.js.map} +1 -1
  176. package/lib/{roomle-sdk-3f72ba15.js → roomle-sdk-b28548bd.js} +2 -2
  177. package/lib/roomle-sdk-b28548bd.js.map +1 -0
  178. package/lib/roomle-sdk.nomodule.js +1 -1
  179. package/lib/{script-loader-36a9dcdc.js → script-loader-524d3415.js} +2 -2
  180. package/lib/script-loader-524d3415.js.map +1 -0
  181. package/lib/{script-loader-8e8886dd.nomodule.js → script-loader-f57678af.nomodule.js} +2 -2
  182. package/lib/script-loader-f57678af.nomodule.js.map +1 -0
  183. package/lib/static/ConfiguratorKernel-eb2b45aa8bdd5c73.wasm +0 -0
  184. package/lib/static/RoomleCore-a4df483fa6f93517.wasm +0 -0
  185. package/lib/static/RoomleToolsCore-9ea339d54e57756a.wasm +0 -0
  186. package/lib/{stats-helper-b5614bb9.js → stats-helper-8557e89e.js} +2 -2
  187. package/lib/stats-helper-8557e89e.js.map +1 -0
  188. package/lib/{stats-helper-1a0748a7.nomodule.js → stats-helper-a6ed29fb.nomodule.js} +2 -2
  189. package/lib/stats-helper-a6ed29fb.nomodule.js.map +1 -0
  190. package/lib/{tools-core-43082fe5.js → tools-core-26ff177e.js} +2 -2
  191. package/lib/tools-core-26ff177e.js.map +1 -0
  192. package/lib/{tools-core-a5f68507.nomodule.js → tools-core-feefe6d1.nomodule.js} +2 -2
  193. package/lib/tools-core-feefe6d1.nomodule.js.map +1 -0
  194. package/package.json +2 -2
  195. package/lib/camera-behaviour-2f2ffe82.js +0 -2
  196. package/lib/camera-behaviour-90408ba5.nomodule.js +0 -2
  197. package/lib/component-dimensioning-a5e291d6.nomodule.js.map +0 -1
  198. package/lib/component-dimensioning-ca877f31.js.map +0 -1
  199. package/lib/component-raycast-helper-40f9eb14.nomodule.js.map +0 -1
  200. package/lib/component-raycast-helper-785b39cd.js.map +0 -1
  201. package/lib/configurator-2d025a93.nomodule.js +0 -2
  202. package/lib/configurator-2d025a93.nomodule.js.map +0 -1
  203. package/lib/configurator-3e5c27eb.js +0 -2
  204. package/lib/configurator-3e5c27eb.js.map +0 -1
  205. package/lib/configurator-main-f75e4553.js +0 -2
  206. package/lib/configurator-main-f75e4553.js.map +0 -1
  207. package/lib/continuous-drawing-helper-ae2fcdd3.js +0 -2
  208. package/lib/continuous-drawing-helper-ae2fcdd3.js.map +0 -1
  209. package/lib/continuous-drawing-helper-c71ae2ed.nomodule.js +0 -2
  210. package/lib/continuous-drawing-helper-c71ae2ed.nomodule.js.map +0 -1
  211. package/lib/default-light-setting-98201048.nomodule.js +0 -2
  212. package/lib/default-light-setting-98201048.nomodule.js.map +0 -1
  213. package/lib/default-light-setting-ba00bf2b.js +0 -2
  214. package/lib/default-light-setting-ba00bf2b.js.map +0 -1
  215. package/lib/dimensioning-helper-4d7e768a.nomodule.js +0 -2
  216. package/lib/dimensioning-helper-4d7e768a.nomodule.js.map +0 -1
  217. package/lib/dimensioning-helper-fb456f28.js +0 -2
  218. package/lib/glb-viewer-58aa56b3.nomodule.js +0 -2
  219. package/lib/glb-viewer-camera-behaviour-1b347e77.nomodule.js.map +0 -1
  220. package/lib/glb-viewer-camera-behaviour-24e823bc.js.map +0 -1
  221. package/lib/glb-viewer-d4c6c346.js +0 -2
  222. package/lib/glb-viewer-main-64179adf.js +0 -2
  223. package/lib/glb-viewer-main-64179adf.js.map +0 -1
  224. package/lib/imos-ix-poc-export-helper-7b16b54e.js.map +0 -1
  225. package/lib/imos-ix-poc-export-helper-b7a91cdb.nomodule.js.map +0 -1
  226. package/lib/legacy/TextGeometry-778d127b.legacy.js +0 -2
  227. package/lib/legacy/camera-behaviour-b47dbdd3.legacy.js +0 -2
  228. package/lib/legacy/component-dimensioning-a3ba2ba6.legacy.js.map +0 -1
  229. package/lib/legacy/component-raycast-helper-a5178cda.legacy.js.map +0 -1
  230. package/lib/legacy/configurator-002d161a.legacy.js +0 -2
  231. package/lib/legacy/configurator-002d161a.legacy.js.map +0 -1
  232. package/lib/legacy/continuous-drawing-helper-654d7604.legacy.js +0 -2
  233. package/lib/legacy/continuous-drawing-helper-654d7604.legacy.js.map +0 -1
  234. package/lib/legacy/default-light-setting-af961df8.legacy.js +0 -2
  235. package/lib/legacy/default-light-setting-af961df8.legacy.js.map +0 -1
  236. package/lib/legacy/dimensioning-helper-4baa9955.legacy.js +0 -2
  237. package/lib/legacy/dimensioning-helper-4baa9955.legacy.js.map +0 -1
  238. package/lib/legacy/external-objects-2fd4ef1a.legacy.js +0 -2
  239. package/lib/legacy/external-objects-2fd4ef1a.legacy.js.map +0 -1
  240. package/lib/legacy/glb-viewer-camera-behaviour-4be0da6a.legacy.js.map +0 -1
  241. package/lib/legacy/glb-viewer-d3854b02.legacy.js +0 -2
  242. package/lib/legacy/imos-ix-poc-export-helper-ee70d653.legacy.js.map +0 -1
  243. package/lib/legacy/material-viewer-117426bc.legacy.js +0 -2
  244. package/lib/legacy/material-viewer-117426bc.legacy.js.map +0 -1
  245. package/lib/legacy/planner-f0a71818.legacy.js +0 -2
  246. package/lib/legacy/query-params-helper-e3e05119.legacy.js +0 -2
  247. package/lib/legacy/query-params-helper-e3e05119.legacy.js.map +0 -1
  248. package/lib/legacy/roomle-configurator-6db65c94.legacy.js +0 -2
  249. package/lib/legacy/roomle-configurator-6db65c94.legacy.js.map +0 -1
  250. package/lib/legacy/roomle-dependency-injection-058aa06f.legacy.js +0 -9
  251. package/lib/legacy/script-loader-9921991a.legacy.js.map +0 -1
  252. package/lib/legacy/static/ConfiguratorKernel-e0b064b9d4228a3b.wasm +0 -0
  253. package/lib/legacy/static/RoomleCore-e599a6ccf3dd7c2a.wasm +0 -0
  254. package/lib/legacy/static/RoomleToolsCore-83af26798774f70c.wasm +0 -0
  255. package/lib/legacy/stats-helper-c7bf779b.legacy.js.map +0 -1
  256. package/lib/legacy/tools-core-645fb16a.legacy.js.map +0 -1
  257. package/lib/material-viewer-8c7e05be.nomodule.js +0 -2
  258. package/lib/material-viewer-8c7e05be.nomodule.js.map +0 -1
  259. package/lib/material-viewer-d211106c.js +0 -2
  260. package/lib/material-viewer-d211106c.js.map +0 -1
  261. package/lib/material-viewer-main-9668a68c.js +0 -2
  262. package/lib/material-viewer-main-9668a68c.js.map +0 -1
  263. package/lib/planner-a30840a8.js +0 -2
  264. package/lib/planner-cb1acb4d.nomodule.js +0 -2
  265. package/lib/planner-main-5c76b2c2.js +0 -2
  266. package/lib/planner-main-5c76b2c2.js.map +0 -1
  267. package/lib/roomle-configurator-a11055fd.nomodule.js +0 -2
  268. package/lib/roomle-configurator-a11055fd.nomodule.js.map +0 -1
  269. package/lib/roomle-configurator-ab3900ec.js +0 -2
  270. package/lib/roomle-configurator-ab3900ec.js.map +0 -1
  271. package/lib/roomle-dependency-injection-22befdc7.nomodule.js +0 -9
  272. package/lib/roomle-sdk-3f72ba15.js.map +0 -1
  273. package/lib/script-loader-36a9dcdc.js.map +0 -1
  274. package/lib/script-loader-8e8886dd.nomodule.js.map +0 -1
  275. package/lib/static/ConfiguratorKernel-e0b064b9d4228a3b.wasm +0 -0
  276. package/lib/static/RoomleCore-e599a6ccf3dd7c2a.wasm +0 -0
  277. package/lib/static/RoomleToolsCore-83af26798774f70c.wasm +0 -0
  278. package/lib/stats-helper-1a0748a7.nomodule.js.map +0 -1
  279. package/lib/stats-helper-b5614bb9.js.map +0 -1
  280. package/lib/tools-core-43082fe5.js.map +0 -1
  281. package/lib/tools-core-a5f68507.nomodule.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ System.register(["./script-loader-f57678af.nomodule.js","./roomle-dependency-injection-e789a72d.nomodule.js","./camera-behaviour-ceced6f1.nomodule.js","./component-raycast-helper-cde6065c.nomodule.js","./roomle-configurator-2d336119.nomodule.js","./query-params-helper-8731c6a6.nomodule.js","./main-thread-to-worker-ff3b0e7b.nomodule.js","./Object3D-2abce9d8.nomodule.js","./default-light-setting-e6087240.nomodule.js","./external-objects-5b70c3f6.nomodule.js"],(function(e){var o,n,t,r,c,a,i,s,l,u,d,p,f,m;return{setters:[function(e){o=e.S,n=e.M},function(e){t=e.D,r=e.L,c=e.R,a=e.a,i=e.b,s=e.A},function(e){l=e.C,u=e.a},function(e){d=e.default},function(e){p=e.C,f=e.a,m=e.R},function(){},function(){},function(){},function(){},function(){}],execute:function(){const h=[new t("logger",r),new t("rapi-access",c),new t("script-loader",o),new t("camera-control-3d",l),new t("camera-control",u),new t("data-syncer",a),new t("configurator-scene-manager",p,1),new t("configurator-view-model",f,1),new t("component-raycast-helper",d,0)];e("Configurator",class extends n{setupDependencies(){i.setup(h),this.lookup("planner-kernel-access",this._context).init(1),this.lookup("rapi-access",this._context),this.lookup("script-loader",this._context),this.lookup("logger",this._context)}cleanUpGlobals(){delete window.RoomleConfigurator}cleanUpDependencies(){const e=this.lookup("script-loader"),o=this.lookup("rapi-access");this.lookup("dom-helper");const n=this.lookup("configurator-scene-manager");e&&e.cleanUp(),o&&o.cleanUp(),n&&n.cleanUp()}setupGlobals(e){const{kernelInstance:o,kernelContainer:n,planObjectId:t}=e||{};s.init({kernelInstance:o,kernelContainer:n,planObjectId:t})}getApi(){return this._configurator}bootFinished(){this._configurator=new m(this._context),this._configurator.getMain=()=>this,window.RoomleConfigurator||(window.RoomleConfigurator=this._configurator)}getContextName(){return"configurator"}})}}}));
2
+ //# sourceMappingURL=configurator-0ad4d1f9.nomodule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator-0ad4d1f9.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{S as ScriptLoader,M as Main}from"./script-loader-524d3415.js";import{D as DependencyInjectionAssignment,L as Logger,R as RapiAccess,a as DataSyncer,b as RoomleDependencyInjection,A as AppContext}from"./roomle-dependency-injection-c52a0000.js";import{C as CameraControl3D,a as CameraControl}from"./camera-behaviour-fe3f4008.js";import ComponentRaycastHelper from"./component-raycast-helper-8faecce8.js";import{C as ConfiguratorSceneManager,a as ConfiguratorViewModel,R as RoomleConfigurator}from"./roomle-configurator-3bf23b9e.js";import"./query-params-helper-7890ce69.js";import"./main-thread-to-worker-4e303a39.js";import"./Object3D-80e9d0f8.js";import"./default-light-setting-755cfddc.js";import"./external-objects-bf17eb19.js";const INJECTABLES=[new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("rapi-access",RapiAccess),new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("camera-control-3d",CameraControl3D),new DependencyInjectionAssignment("camera-control",CameraControl),new DependencyInjectionAssignment("data-syncer",DataSyncer),new DependencyInjectionAssignment("configurator-scene-manager",ConfiguratorSceneManager,1),new DependencyInjectionAssignment("configurator-view-model",ConfiguratorViewModel,1),new DependencyInjectionAssignment("component-raycast-helper",ComponentRaycastHelper,0)];class Configurator extends Main{setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),this.lookup("planner-kernel-access",this._context).init(1),this.lookup("rapi-access",this._context),this.lookup("script-loader",this._context),this.lookup("logger",this._context)}cleanUpGlobals(){delete window.RoomleConfigurator}cleanUpDependencies(){const e=this.lookup("script-loader"),n=this.lookup("rapi-access");this.lookup("dom-helper");const o=this.lookup("configurator-scene-manager");e&&e.cleanUp(),n&&n.cleanUp(),o&&o.cleanUp()}setupGlobals(e){const{kernelInstance:n,kernelContainer:o,planObjectId:t}=e||{};AppContext.init({kernelInstance:n,kernelContainer:o,planObjectId:t})}getApi(){return this._configurator}bootFinished(){this._configurator=new RoomleConfigurator(this._context),this._configurator.getMain=()=>this,window.RoomleConfigurator||(window.RoomleConfigurator=this._configurator)}getContextName(){return"configurator"}}export{Configurator};
2
+ //# sourceMappingURL=configurator-4565594d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator-4565594d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{Configurator}from"./configurator-4565594d.js";import"./script-loader-524d3415.js";import"./query-params-helper-7890ce69.js";import"./main-thread-to-worker-4e303a39.js";import"./roomle-dependency-injection-c52a0000.js";import"./camera-behaviour-fe3f4008.js";import"./component-raycast-helper-8faecce8.js";import"./roomle-configurator-3bf23b9e.js";import"./Object3D-80e9d0f8.js";import"./default-light-setting-755cfddc.js";import"./external-objects-bf17eb19.js";(new Configurator).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let o=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-o))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});
2
+ //# sourceMappingURL=configurator-main-c79ddf0c.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator-main-c79ddf0c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- System.register(["./configurator-2d025a93.nomodule.js","./script-loader-8e8886dd.nomodule.js","./query-params-helper-8731c6a6.nomodule.js","./main-thread-to-worker-ff3b0e7b.nomodule.js","./roomle-dependency-injection-22befdc7.nomodule.js","./camera-behaviour-90408ba5.nomodule.js","./component-raycast-helper-40f9eb14.nomodule.js","./roomle-configurator-a11055fd.nomodule.js","./default-light-setting-98201048.nomodule.js","./external-objects-5b70c3f6.nomodule.js"],(function(){var e;return{setters:[function(o){e=o.Configurator},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){(new e).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let o=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-o))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)})}}}));
1
+ System.register(["./configurator-0ad4d1f9.nomodule.js","./script-loader-f57678af.nomodule.js","./query-params-helper-8731c6a6.nomodule.js","./main-thread-to-worker-ff3b0e7b.nomodule.js","./roomle-dependency-injection-e789a72d.nomodule.js","./camera-behaviour-ceced6f1.nomodule.js","./component-raycast-helper-cde6065c.nomodule.js","./roomle-configurator-2d336119.nomodule.js","./Object3D-2abce9d8.nomodule.js","./default-light-setting-e6087240.nomodule.js","./external-objects-5b70c3f6.nomodule.js"],(function(){var e;return{setters:[function(o){e=o.Configurator},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){(new e).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let o=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-o))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)})}}}));
2
2
  //# sourceMappingURL=configurator-main.nomodule.js.map
@@ -0,0 +1,2 @@
1
+ import{t as convertToTHREE}from"./roomle-dependency-injection-c52a0000.js";import{aT as RingGeometry,h as MeshBasicMaterial,w as DoubleSide,z as Mesh}from"./main-thread-to-worker-4e303a39.js";class ContinuousDrawingHelper{constructor(){this._currentInnerRadius=0}init(e,i,r){this._drawingGroup=e,this._continuousDrawingManager=i,this._kernelZoomFactor=r,this.update()}update(){this._initCircle(),this._updateCircle()}_initCircle(){if(this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3,i=new RingGeometry(e,e+e/50,32),r=new MeshBasicMaterial({color:10066329,side:DoubleSide});this._circleMesh=new Mesh(i,r),this._circleMesh.name="Circle",this._circleMesh.rotation.set(Math.PI/2,0,0),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._drawingGroup.add(this._circleMesh)}_updateCircle(){if(!this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3;if(e!==this._currentInnerRadius){const i=e+e/50;this._circleMesh.geometry=new RingGeometry(e,i,32)}const i=convertToTHREE(this._continuousDrawingManager.getStartPoint());i.y=5,this._circleMesh.position.copy(i),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._currentInnerRadius=e}setKernelZoomFactor(e){this._kernelZoomFactor=e}endDrawing(){this._drawingGroup.remove(this._circleMesh),this._circleMesh=null}}export{ContinuousDrawingHelper as default};
2
+ //# sourceMappingURL=continuous-drawing-helper-6a23cf51.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continuous-drawing-helper-6a23cf51.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ System.register(["./roomle-dependency-injection-e789a72d.nomodule.js","./main-thread-to-worker-ff3b0e7b.nomodule.js"],(function(e){var i,t,r,n,s;return{setters:[function(e){i=e.t},function(e){t=e.aT,r=e.h,n=e.w,s=e.z}],execute:function(){e("default",class{constructor(){this._currentInnerRadius=0}init(e,i,t){this._drawingGroup=e,this._continuousDrawingManager=i,this._kernelZoomFactor=t,this.update()}update(){this._initCircle(),this._updateCircle()}_initCircle(){if(this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3,i=new t(e,e+e/50,32),c=new r({color:10066329,side:n});this._circleMesh=new s(i,c),this._circleMesh.name="Circle",this._circleMesh.rotation.set(Math.PI/2,0,0),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._drawingGroup.add(this._circleMesh)}_updateCircle(){if(!this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3;if(e!==this._currentInnerRadius){const i=e+e/50;this._circleMesh.geometry=new t(e,i,32)}const r=i(this._continuousDrawingManager.getStartPoint());r.y=5,this._circleMesh.position.copy(r),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._currentInnerRadius=e}setKernelZoomFactor(e){this._kernelZoomFactor=e}endDrawing(){this._drawingGroup.remove(this._circleMesh),this._circleMesh=null}})}}}));
2
+ //# sourceMappingURL=continuous-drawing-helper-70637238.nomodule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continuous-drawing-helper-70637238.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{L as LightSetting}from"./camera-behaviour-fe3f4008.js";import{n as getGUI}from"./roomle-dependency-injection-c52a0000.js";import{D as DirectionalLight,C as Color,V as Vector2,a as Vector3,A as AmbientLight}from"./main-thread-to-worker-4e303a39.js";class DefaultLightSetting extends LightSetting{constructor(i,t){super(i,t),this._params={ambientLight:{color:"#ffffff"},mainDirLight:{position:{x:-3,y:4,z:4},color:"#ffffff"},secondDirLight:{position:{x:3,y:4,z:3},color:"#ffffff"}},this._mainDirectionalLight=new DirectionalLight(new Color(this._params.mainDirLight.color),.8),this._mainDirectionalLight.position.set(this._params.mainDirLight.position.x,this._params.mainDirLight.position.y,this._params.mainDirLight.position.z),this._mainDirectionalLight.layers.set(1),this._mainDirectionalLight.castShadow=!0,this._mainDirectionalLight.shadow.camera.near=.1,this._mainDirectionalLight.shadow.camera.far=100,this._mainDirectionalLight.shadow.mapSize=new Vector2(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new Vector3(0,0,0)),this._secondDirectionalLight=new DirectionalLight(new Color(this._params.secondDirLight.color),.2),this._secondDirectionalLight.position.set(this._params.secondDirLight.position.x,this._params.secondDirLight.position.y,this._params.secondDirLight.position.z),this._secondDirectionalLight.layers.set(1),this._secondDirectionalLight.castShadow=!1,this._secondDirectionalLight.shadow.camera.near=.1,this._secondDirectionalLight.shadow.camera.far=100,this._secondDirectionalLight.shadow.mapSize=new Vector2(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new Vector3(0,0,0)),this._ambientLight=new AmbientLight(new Color(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new Vector3),a=Math.max(Math.max(t.x,t.y),t.z)+1,o=a/2;this._mainDirectionalLight.shadow.camera.top=o,this._mainDirectionalLight.shadow.camera.bottom=-o,this._mainDirectionalLight.shadow.camera.left=-o,this._mainDirectionalLight.shadow.camera.right=o,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=o,this._secondDirectionalLight.shadow.camera.bottom=-o,this._secondDirectionalLight.shadow.camera.left=-o,this._secondDirectionalLight.shadow.camera.right=o,this._secondDirectionalLight.shadow.camera.near=.01,this._secondDirectionalLight.shadow.camera.far=4*a,this._secondDirectionalLight.shadow.camera.updateProjectionMatrix()}addToScene(){this._scene.add(this._mainDirectionalLight),this._scene.add(this._secondDirectionalLight),this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._mainDirectionalLight),this._scene.remove(this._secondDirectionalLight),this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let i=getGUI();if(i){if(this._ambientLight){let t=i.addFolder("Ambient Light");t.add(this._ambientLight,"visible"),t.add(this._ambientLight,"intensity").min(0).max(5).step(.1),t.addColor(this._params.ambientLight,"color").onChange(i=>this._ambientLight.color=new Color(i))}if(this._mainDirectionalLight){let t=i.addFolder("Main Directional Light");t.add(this._mainDirectionalLight,"visible"),t.add(this._mainDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._mainDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new Color(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0)))}if(this._secondDirectionalLight){let t=i.addFolder("Second Directional Light");t.add(this._secondDirectionalLight,"visible"),t.add(this._secondDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._secondDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new Color(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0)))}}}}export{DefaultLightSetting as D};
2
+ //# sourceMappingURL=default-light-setting-755cfddc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-light-setting-755cfddc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ System.register(["./camera-behaviour-ceced6f1.nomodule.js","./roomle-dependency-injection-e789a72d.nomodule.js","./main-thread-to-worker-ff3b0e7b.nomodule.js"],(function(i){var t,a,e,n,o,s,h;return{setters:[function(i){t=i.L},function(i){a=i.n},function(i){e=i.D,n=i.C,o=i.V,s=i.a,h=i.A}],execute:function(){i("D",class extends t{constructor(i,t){super(i,t),this._params={ambientLight:{color:"#ffffff"},mainDirLight:{position:{x:-3,y:4,z:4},color:"#ffffff"},secondDirLight:{position:{x:3,y:4,z:3},color:"#ffffff"}},this._mainDirectionalLight=new e(new n(this._params.mainDirLight.color),.8),this._mainDirectionalLight.position.set(this._params.mainDirLight.position.x,this._params.mainDirLight.position.y,this._params.mainDirLight.position.z),this._mainDirectionalLight.layers.set(1),this._mainDirectionalLight.castShadow=!0,this._mainDirectionalLight.shadow.camera.near=.1,this._mainDirectionalLight.shadow.camera.far=100,this._mainDirectionalLight.shadow.mapSize=new o(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new s(0,0,0)),this._secondDirectionalLight=new e(new n(this._params.secondDirLight.color),.2),this._secondDirectionalLight.position.set(this._params.secondDirLight.position.x,this._params.secondDirLight.position.y,this._params.secondDirLight.position.z),this._secondDirectionalLight.layers.set(1),this._secondDirectionalLight.castShadow=!1,this._secondDirectionalLight.shadow.camera.near=.1,this._secondDirectionalLight.shadow.camera.far=100,this._secondDirectionalLight.shadow.mapSize=new o(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new s(0,0,0)),this._ambientLight=new h(new n(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new s),a=Math.max(Math.max(t.x,t.y),t.z)+1,e=a/2;this._mainDirectionalLight.shadow.camera.top=e,this._mainDirectionalLight.shadow.camera.bottom=-e,this._mainDirectionalLight.shadow.camera.left=-e,this._mainDirectionalLight.shadow.camera.right=e,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=e,this._secondDirectionalLight.shadow.camera.bottom=-e,this._secondDirectionalLight.shadow.camera.left=-e,this._secondDirectionalLight.shadow.camera.right=e,this._secondDirectionalLight.shadow.camera.near=.01,this._secondDirectionalLight.shadow.camera.far=4*a,this._secondDirectionalLight.shadow.camera.updateProjectionMatrix()}addToScene(){this._scene.add(this._mainDirectionalLight),this._scene.add(this._secondDirectionalLight),this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._mainDirectionalLight),this._scene.remove(this._secondDirectionalLight),this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let i=a();if(i){if(this._ambientLight){let t=i.addFolder("Ambient Light");t.add(this._ambientLight,"visible"),t.add(this._ambientLight,"intensity").min(0).max(5).step(.1),t.addColor(this._params.ambientLight,"color").onChange(i=>this._ambientLight.color=new n(i))}if(this._mainDirectionalLight){let t=i.addFolder("Main Directional Light");t.add(this._mainDirectionalLight,"visible"),t.add(this._mainDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._mainDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new n(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0)))}if(this._secondDirectionalLight){let t=i.addFolder("Second Directional Light");t.add(this._secondDirectionalLight,"visible"),t.add(this._secondDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._secondDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new n(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0)))}}}})}}}));
2
+ //# sourceMappingURL=default-light-setting-e6087240.nomodule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-light-setting-e6087240.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -27,6 +27,7 @@ export default class CameraControl3D extends CameraControl {
27
27
  minPolarAngle: number;
28
28
  maxPolarAngle: number;
29
29
  private _objectRotation;
30
+ private _lookAtSide;
30
31
  minAzimuthAngle: number;
31
32
  maxAzimuthAngle: number;
32
33
  private _zoomDistance;
@@ -41,7 +42,7 @@ export default class CameraControl3D extends CameraControl {
41
42
  protected _getCamera(): PerspectiveCamera;
42
43
  getCamera(): PerspectiveOffsetCamera;
43
44
  private _initCamera;
44
- setObjectRotation(objectRotation: number): void;
45
+ setObjectRotation(objectRotation: number, lookAtSide?: number): void;
45
46
  getObjectRotation(): number;
46
47
  updateCamera(): void;
47
48
  animateCamera(delta: number): boolean;
@@ -17,5 +17,5 @@ export default class ConfiguratorCameraBehaviour extends CameraBehaviour {
17
17
  zoomToComponentOnConsecutiveClick(cameraParameters: CameraParameter): Promise<void>;
18
18
  resetCameraToStateOnCancelSelection(): void;
19
19
  zoomToFitBoundsAfterUserInitiatedPreviews(boundingBox: Box3): void;
20
- resetCameraOnStartConfiguring(boundingBox: Box3, cameraParameters: CameraParameter, rotation?: number): Promise<void>;
20
+ resetCameraOnStartConfiguring(boundingBox: Box3, cameraParameters: CameraParameter, rotation?: number, lookAtSide?: number): Promise<void>;
21
21
  }
@@ -64,6 +64,7 @@ export declare const deepMerge: (obj1: any, obj2: any) => any;
64
64
  export declare const getValue: (value: any, defaultValue: any) => any;
65
65
  export declare const removeItem: (arr: any[], element: any) => void;
66
66
  export type ValuesFromObject<T> = T[keyof T];
67
+ export type MaybePromise<T> = (() => T) | (() => Promise<T>);
67
68
  export declare const copy: <T>(object: T) => T;
68
69
  export declare const isWebGl2: () => boolean;
69
70
  /**
@@ -9,6 +9,8 @@ import type { CustomShadingParameters, SceneShadingType } from '../webgl/rendere
9
9
  import type { RapiId } from '../../../typings/rapi-types';
10
10
  import type { CanvasOffset } from '../common-interfaces';
11
11
  import type { ExternalObjectApiConfiguration } from '../../../planner-core/src/external-object-api';
12
+ export declare const DEFAULT_INTERIOR_LIGHTS_ENV_MAP_INTENSITY = 1.5;
13
+ export declare const DEFAULT_INTERIOR_LIGHTS_ENV_MAP_ROTATION = 0;
12
14
  export default class InitData implements Context, Omit<InitDataDefinition, 'colors'> {
13
15
  _creator_: string;
14
16
  autoQuality?: boolean;
@@ -75,6 +77,7 @@ export default class InitData implements Context, Omit<InitDataDefinition, 'colo
75
77
  mode?: Enumify<typeof CAMERA_TYPE>;
76
78
  edit?: boolean;
77
79
  moc?: boolean;
80
+ lockPlan: boolean;
78
81
  externalObjectSettings?: ExternalObjectApiConfiguration;
79
82
  /**
80
83
  * If true, the callbacks will only be called if the geometry is ready.
@@ -71,6 +71,11 @@ export interface GlobalInitDataDefinition {
71
71
  * @description When loading a plan, the external objects from the plan XML are discarded
72
72
  */
73
73
  discardExternalObjectsWhenLoadingPlan?: boolean;
74
+ /**
75
+ * @description If set to true, the plan will be locked and no changes can be made to walls, floors or construction elements.
76
+ * @default false
77
+ */
78
+ lockPlan?: boolean;
74
79
  }
75
80
  export interface FeatureFlags {
76
81
  pulsePreview?: boolean;
@@ -99,10 +104,10 @@ export interface FeatureFlags {
99
104
  */
100
105
  forceSaveThumbnails?: boolean;
101
106
  /**
102
- * @description If set to true, the plan will be locked and no changes can be made to walls, floors or construction elements.
103
- * @default false
107
+ * @internal
108
+ * @description Enables dynamically placed interior lights in the room planner.
104
109
  */
105
- lockPlan?: boolean;
110
+ interiorLights?: boolean;
106
111
  }
107
112
  export type RoomleColors = keyof typeof ROOMLE_COLORS;
108
113
  export type ColorsIn3dScene = Record<RoomleColors, HexColorString | HexColorNumber>;
@@ -12,6 +12,7 @@ export type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
12
12
  export interface PrepareImageOptions {
13
13
  size?: number;
14
14
  showDimensions?: boolean;
15
+ runtimeIds?: number[];
15
16
  }
16
17
  export interface CameraTarget {
17
18
  center: Vector3;
@@ -51,6 +51,9 @@ export declare class RoomleWebGLRenderer {
51
51
  disableUiInteractionMode(): void;
52
52
  private loadRectAreLight;
53
53
  private updateRectAreaLight;
54
+ private updateCeilingLights;
55
+ private updateLampLights;
56
+ private _setQualityLevel;
54
57
  clearCache(): void;
55
58
  forceShadowUpdates(updateBakedGroundShadow: boolean): void;
56
59
  setGroundShadow(enabled: boolean): void;
@@ -99,6 +99,7 @@ export default abstract class SceneManager implements Context, LifeCycleCallback
99
99
  protected shouldClearShadowsAndAO(): boolean;
100
100
  protected _setupScene(offset?: CanvasOffset, transparent?: boolean): void;
101
101
  loadEnvMap(url: string): Promise<void>;
102
+ private _getEnvMapIntensityAndRotation;
102
103
  private _setDefaultEnvironmentScene;
103
104
  private _setEnvMap;
104
105
  private _tabVisible;
@@ -27,6 +27,7 @@ export default class CameraControl3D extends CameraControl {
27
27
  minPolarAngle: number;
28
28
  maxPolarAngle: number;
29
29
  private _objectRotation;
30
+ private _lookAtSide;
30
31
  minAzimuthAngle: number;
31
32
  maxAzimuthAngle: number;
32
33
  private _zoomDistance;
@@ -41,7 +42,7 @@ export default class CameraControl3D extends CameraControl {
41
42
  protected _getCamera(): PerspectiveCamera;
42
43
  getCamera(): PerspectiveOffsetCamera;
43
44
  private _initCamera;
44
- setObjectRotation(objectRotation: number): void;
45
+ setObjectRotation(objectRotation: number, lookAtSide?: number): void;
45
46
  getObjectRotation(): number;
46
47
  updateCamera(): void;
47
48
  animateCamera(delta: number): boolean;
@@ -17,5 +17,5 @@ export default class ConfiguratorCameraBehaviour extends CameraBehaviour {
17
17
  zoomToComponentOnConsecutiveClick(cameraParameters: CameraParameter): Promise<void>;
18
18
  resetCameraToStateOnCancelSelection(): void;
19
19
  zoomToFitBoundsAfterUserInitiatedPreviews(boundingBox: Box3): void;
20
- resetCameraOnStartConfiguring(boundingBox: Box3, cameraParameters: CameraParameter, rotation?: number): Promise<void>;
20
+ resetCameraOnStartConfiguring(boundingBox: Box3, cameraParameters: CameraParameter, rotation?: number, lookAtSide?: number): Promise<void>;
21
21
  }
@@ -64,6 +64,7 @@ export declare const deepMerge: (obj1: any, obj2: any) => any;
64
64
  export declare const getValue: (value: any, defaultValue: any) => any;
65
65
  export declare const removeItem: (arr: any[], element: any) => void;
66
66
  export type ValuesFromObject<T> = T[keyof T];
67
+ export type MaybePromise<T> = (() => T) | (() => Promise<T>);
67
68
  export declare const copy: <T>(object: T) => T;
68
69
  export declare const isWebGl2: () => boolean;
69
70
  /**
@@ -9,6 +9,8 @@ import type { CustomShadingParameters, SceneShadingType } from '../webgl/rendere
9
9
  import type { RapiId } from '../../../typings/rapi-types';
10
10
  import type { CanvasOffset } from '../common-interfaces';
11
11
  import type { ExternalObjectApiConfiguration } from '../../../planner-core/src/external-object-api';
12
+ export declare const DEFAULT_INTERIOR_LIGHTS_ENV_MAP_INTENSITY = 1.5;
13
+ export declare const DEFAULT_INTERIOR_LIGHTS_ENV_MAP_ROTATION = 0;
12
14
  export default class InitData implements Context, Omit<InitDataDefinition, 'colors'> {
13
15
  _creator_: string;
14
16
  autoQuality?: boolean;
@@ -75,6 +77,7 @@ export default class InitData implements Context, Omit<InitDataDefinition, 'colo
75
77
  mode?: Enumify<typeof CAMERA_TYPE>;
76
78
  edit?: boolean;
77
79
  moc?: boolean;
80
+ lockPlan: boolean;
78
81
  externalObjectSettings?: ExternalObjectApiConfiguration;
79
82
  /**
80
83
  * If true, the callbacks will only be called if the geometry is ready.
@@ -71,6 +71,11 @@ export interface GlobalInitDataDefinition {
71
71
  * @description When loading a plan, the external objects from the plan XML are discarded
72
72
  */
73
73
  discardExternalObjectsWhenLoadingPlan?: boolean;
74
+ /**
75
+ * @description If set to true, the plan will be locked and no changes can be made to walls, floors or construction elements.
76
+ * @default false
77
+ */
78
+ lockPlan?: boolean;
74
79
  }
75
80
  export interface FeatureFlags {
76
81
  pulsePreview?: boolean;
@@ -99,10 +104,10 @@ export interface FeatureFlags {
99
104
  */
100
105
  forceSaveThumbnails?: boolean;
101
106
  /**
102
- * @description If set to true, the plan will be locked and no changes can be made to walls, floors or construction elements.
103
- * @default false
107
+ * @internal
108
+ * @description Enables dynamically placed interior lights in the room planner.
104
109
  */
105
- lockPlan?: boolean;
110
+ interiorLights?: boolean;
106
111
  }
107
112
  export type RoomleColors = keyof typeof ROOMLE_COLORS;
108
113
  export type ColorsIn3dScene = Record<RoomleColors, HexColorString | HexColorNumber>;
@@ -12,6 +12,7 @@ export type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
12
12
  export interface PrepareImageOptions {
13
13
  size?: number;
14
14
  showDimensions?: boolean;
15
+ runtimeIds?: number[];
15
16
  }
16
17
  export interface CameraTarget {
17
18
  center: Vector3;
@@ -51,6 +51,9 @@ export declare class RoomleWebGLRenderer {
51
51
  disableUiInteractionMode(): void;
52
52
  private loadRectAreLight;
53
53
  private updateRectAreaLight;
54
+ private updateCeilingLights;
55
+ private updateLampLights;
56
+ private _setQualityLevel;
54
57
  clearCache(): void;
55
58
  forceShadowUpdates(updateBakedGroundShadow: boolean): void;
56
59
  setGroundShadow(enabled: boolean): void;
@@ -99,6 +99,7 @@ export default abstract class SceneManager implements Context, LifeCycleCallback
99
99
  protected shouldClearShadowsAndAO(): boolean;
100
100
  protected _setupScene(offset?: CanvasOffset, transparent?: boolean): void;
101
101
  loadEnvMap(url: string): Promise<void>;
102
+ private _getEnvMapIntensityAndRotation;
102
103
  private _setDefaultEnvironmentScene;
103
104
  private _setEnvMap;
104
105
  private _tabVisible;
@@ -0,0 +1,19 @@
1
+ import { Mesh, PointLight } from 'three';
2
+ import { type QualityLevel } from '../../../common-core/src/webgl/renderer/scene-renderer';
3
+ export declare const CEILING_LIGHT_COLOR = 16774369;
4
+ export declare const CEILING_LIGHT_INTENSITY = 2;
5
+ export declare const CEILING_LIGHT_DISTANCE = 25;
6
+ export declare const CEILING_LIGHT_DECAY = 0;
7
+ export declare const CEILING_LIGHT_POWER = 25;
8
+ export declare const CEILING_LIGHT_SHADOW_INTENSITY = 0.5;
9
+ export declare const CEILING_LIGHT_SHADOW_MAP_SIZE = 0;
10
+ export default class CeilingLight extends PointLight {
11
+ private _container;
12
+ private _shouldCastShadow;
13
+ getContainer(): Mesh;
14
+ get shouldCastShadow(): boolean;
15
+ constructor(debug: boolean, maxQualityLevel: QualityLevel);
16
+ recalculatePower(amountOfLights: number): void;
17
+ update(qualityLevel: QualityLevel): void;
18
+ private _addDebugUI;
19
+ }
@@ -0,0 +1,9 @@
1
+ import { SpotLight } from 'three';
2
+ import type StaticPlanObjectViewModel from '../view-model/static-plan-object-view-model';
3
+ import { type QualityLevel } from '../../../common-core/src/webgl/renderer/scene-renderer';
4
+ export default class LampLight extends SpotLight {
5
+ private _helper;
6
+ constructor(objectViewModel: StaticPlanObjectViewModel, debug: boolean);
7
+ update(qualityLevel?: QualityLevel): void;
8
+ private _addDebugUI;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { Group, type Object3D, type Object3DEventMap } from 'three';
2
+ import type CeilingLight from './ceiling-light';
3
+ export declare class LightGroup extends Group {
4
+ children: CeilingLight[];
5
+ private _availableShadowMaps;
6
+ private _lightsOn;
7
+ get lightsOn(): boolean;
8
+ constructor();
9
+ add(...lights: Array<Object3D<Object3DEventMap>>): this;
10
+ toggleAllLights(turnLightsOn: boolean): void;
11
+ }
@@ -0,0 +1,7 @@
1
+ import { RectAreaLight } from 'three';
2
+ import type StaticPlanObjectViewModel from '../view-model/static-plan-object-view-model';
3
+ export default class RectLampLight extends RectAreaLight {
4
+ private _helper;
5
+ constructor(objectViewModel: StaticPlanObjectViewModel, debug: boolean);
6
+ private _addDebugUI;
7
+ }
@@ -8,7 +8,7 @@ import type { RapiComponent, RapiConfiguration, RapiItem } from '../../typings/r
8
8
  import type { WallDimension, WallDimensionTransferable } from './view-model/wall-plan-element-view-model';
9
9
  import type PlanElementViewModel from '../../common-core/src/view-model/plan-element-view-model';
10
10
  import type { Enumify } from '../../common-core/src/types';
11
- import type { CallbackObjectType } from './utils/planner-scene-manager';
11
+ import type { CallbackObjectType } from './utils/planner-scene-utils';
12
12
  import type { ObjectMeasurementsTransferable } from '../../common-core/src/view-model/plan-object-view-model';
13
13
  import type { MeasurementLineDimension, MeasurementLineDimensionTransferable } from './view-model/measurement-line-plan-element-view-model';
14
14
  import type { ConstructionMeasurementsTransferable } from './utils/measurements';
@@ -27,6 +27,7 @@ import type { GlobalCallback } from '../../common-core/src/services/global-callb
27
27
  import type { ExternalGroupData, ExternalObject, ExtObjId } from '../../typings/external-objects';
28
28
  import type { PluginName } from '../../configurator-core/src/utils/plugin-types';
29
29
  import type { Nullable } from '../../typings/helper';
30
+ import { type MaybePromise } from '../../common-core/src/utils/common-utils';
30
31
  export type ID_TYPE = 'rml_id' | 'tc_id' | 'rml_serialized' | 'tc_serialized';
31
32
  export declare const EXT_OBJ_EXCEPTION = "Could not retrieve configuration for external object! Did you implement onGetConfigurationForExternalObject?";
32
33
  export interface RoomlePlannerCallback {
@@ -233,8 +234,8 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
233
234
  /**
234
235
  * Generates a perspective image (slightly from the side) and returns it as base64
235
236
  * @param options
236
- @param isolationMode - defaults to false. Determines whether to generate a perspective image for the current configuration.
237
- */
237
+ @param isolationMode - defaults to false. Determines whether to generate a perspective image for the current configuration.
238
+ */
238
239
  preparePerspectiveImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<import("../../common-core/src/common-interfaces").Base64Image>;
239
240
  /**
240
241
  * Enables rotation of selected elements
@@ -334,6 +335,7 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
334
335
  * @returns the snapshot of the external objects if there are no external objects it returns null
335
336
  */
336
337
  saveExternalObjectSnapshot(parentPlanId?: RapiId): Promise<Nullable<RapiPlanSnapshotGetDataWith3dUrls>>;
338
+ private _savePlanSnapshotExternalObjects;
337
339
  saveCurrentPlanSnapshot(parentPlanId?: RapiId, configurationHashOrGroupId?: string | string[]): Promise<RapiPlanSnapshotGetData>;
338
340
  getPlanXmlFrom(plan: RapiPlan | RapiPlanSnapshotGetData): any;
339
341
  moveCamera(cameraParameter: CameraParameter): Promise<void>;
@@ -467,4 +469,10 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
467
469
  * @param width The new width value.
468
470
  */
469
471
  updateAtticWidth(attic: KernelAttic, width: number): void;
472
+ /**
473
+ * Runs a given function with a call to start and end interaction in the planInteractionHandler,
474
+ * this should be used when you want to add a history step after interacting with the plan.
475
+ * @param callback any function.
476
+ */
477
+ executeWithInteraction<T>(callback: MaybePromise<T>): Promise<T>;
470
478
  }
@@ -1,7 +1,10 @@
1
- import type PlanObjectViewModel from '../../../common-core/src/view-model/plan-object-view-model';
1
+ import type PplanObjectViewModel from '../../../common-core/src/view-model/plan-object-view-model';
2
2
  import type { PlanObjectPosition } from '../../../typings/planner';
3
3
  import type { Camera } from 'three';
4
4
  import type PlanElementViewModel from '../../../common-core/src/view-model/plan-element-view-model';
5
- export declare const createTransferableObjectPosition: (planViewModel: PlanObjectViewModel | PlanElementViewModel, camera: Camera, clientWidth: number, clientHeight: number) => PlanObjectPosition;
5
+ import type PlanViewModel from '../view-model/plan-view-model';
6
+ import StaticPlanObjectViewModel from '../view-model/static-plan-object-view-model';
7
+ export declare const createTransferableObjectPosition: (planViewModel: PplanObjectViewModel | PlanElementViewModel, camera: Camera, clientWidth: number, clientHeight: number) => PlanObjectPosition;
6
8
  export type CallbackObjectType = 'static' | 'configuration' | 'wall' | 'measure' | 'attic' | 'door' | 'floor' | 'window' | 'unknown' | 'external-configuration';
7
9
  export declare const getCallbackObjectType: (planElementViewModel: PlanElementViewModel) => CallbackObjectType;
10
+ export declare const addDemoLights: (planObjectViewModel: StaticPlanObjectViewModel, planViewModel: PlanViewModel) => void;
@@ -10,6 +10,7 @@ export interface FloorAreaData<Vector2Type = Vector3, Vector3Type = Vector3> {
10
10
  textPosition3d: Vector3Type;
11
11
  textPosition2d: Vector2Type;
12
12
  isTextVisible: boolean;
13
+ roomLabel?: string;
13
14
  }
14
15
  export type FloorAreaDataTransferable = FloorAreaData<Position2, Position3>;
15
16
  export declare const toFloorAreaDataTransferable: (floorAreaData: FloorAreaData) => FloorAreaDataTransferable;
@@ -17,10 +17,16 @@ import type { Mesh } from 'three';
17
17
  import { Box3, Group } from 'three';
18
18
  import ConstructionPlanObjectViewModel from './construction-plan-object-view-model';
19
19
  import MeasurementLinePlanElementViewModel from './measurement-line-plan-element-view-model';
20
+ import { LightGroup } from '../lights/light-group';
21
+ import { type QualityLevel } from '../../../common-core/src/webgl/renderer/scene-renderer';
22
+ import type { Point } from 'roomle-core-hsc/src/embind/configuratorCoreInterface';
20
23
  import WallAtticPlanElementViewModel from './wall-attic-plan-element-view-model';
21
24
  export declare const GROUP_CONSTRUCTION = "Construction";
22
25
  export declare const GROUP_CEILING = "Ceiling";
23
26
  export declare const GROUP_FLOOR = "Floor";
27
+ export declare const MAX_LIGHTS = 1;
28
+ export declare const GROUP_CEILING_LIGHTS = "Ceiling Lights";
29
+ export declare const GROUP_LAMP_LIGHTS = "Lamp Lights";
24
30
  export declare const GROUP_MEASUREMENT_LINE = "Measurement Line";
25
31
  export declare const GROUP_WALL_ATTICS = "Wall Attics";
26
32
  export default class PlanViewModel extends ConfiguratorViewModel implements PlannerKernelCallbackI {
@@ -39,6 +45,8 @@ export default class PlanViewModel extends ConfiguratorViewModel implements Plan
39
45
  private _constructionGroup;
40
46
  private _ceilingGroup;
41
47
  private _floorGroup;
48
+ private _ceilingLightsGroup;
49
+ private _lampLightsGroup;
42
50
  private _measurementLineGroup;
43
51
  private _wallAtticsGroup;
44
52
  private _plannerSceneEventHandler;
@@ -68,6 +76,15 @@ export default class PlanViewModel extends ConfiguratorViewModel implements Plan
68
76
  private _handleFloorPlanElementViewModel;
69
77
  private _handleCeilingPlanElementViewModel;
70
78
  private _handleNodePlanElementViewModel;
79
+ private _getCeilingLightsDistribution;
80
+ handleInitialLights(_maxTextures: number, qualityLevel: QualityLevel): void;
81
+ handleCeilingLights(): void;
82
+ handleLampLight(lamp: StaticPlanObjectViewModel, targetPos: Point, lightPos: Point, color?: number, decay?: number, intensity?: number): void;
83
+ handleRectLampLight(lamp: StaticPlanObjectViewModel, dimensions: {
84
+ width: number;
85
+ height: number;
86
+ }, lightPos: Point, color?: number, rotation?: Point): void;
87
+ toggleCeilingLights(on: boolean): void;
71
88
  private commonHandlerForEditableAndTopView;
72
89
  protected dockComponent(componentId: number, isRootComponent: boolean, parentId: number, componentPosition: KernelVector3, componentRotation: KernelVector3): void;
73
90
  protected _addComponent(component: RoomleComponent): void;
@@ -83,6 +100,8 @@ export default class PlanViewModel extends ConfiguratorViewModel implements Plan
83
100
  getCeilingGroup(): Group;
84
101
  getFloorGroup(): Group;
85
102
  getMeasurementLineGroup(): Group;
103
+ getCeilingLightsGroup(): LightGroup;
104
+ getLampLightsGroup(): Group;
86
105
  getWallAtticsGroup(): Group;
87
106
  getBoundingBox(): Box3;
88
107
  getBoundingBoxOfGeometry(): Box3;
@@ -128,6 +147,8 @@ export default class PlanViewModel extends ConfiguratorViewModel implements Plan
128
147
  private _removeObject;
129
148
  protected getMeshGenerator(): MeshGenerator;
130
149
  componentConfigurationUpdated(runtimeComponentId: number, geometryChanged: boolean): void;
150
+ getBoundingBoxFromRuntimeIds(runtimeIds: number[]): Box3;
151
+ hideAllExceptRuntimeIds(runtimeIds: number[]): void;
131
152
  hideAllExcept(planObjectId: number): void;
132
153
  showAll(): void;
133
154
  planHistoryStateChanged(): void;
@@ -22,16 +22,13 @@ import type { CameraTarget, PrepareImageOptions } from '../../../common-core/src
22
22
  import Planner2dCameraBehaviour from '../../../common-core/src/cameracontrol/planner-2d-camera-behaviour';
23
23
  import Planner3dCameraBehaviour from '../../../common-core/src/cameracontrol/planner-3d-camera-behaviour';
24
24
  import PlannerFpCameraBehaviour from '../../../common-core/src/cameracontrol/planner-fp-camera-behaviour';
25
- import type { EMSConstant } from '../../../typings/planner-kernel-container';
25
+ import { type EMSConstant } from '../../../typings/planner-kernel-container';
26
26
  import type InitData from '../../../common-core/src/utils/init-data';
27
27
  export declare function isLockedElement(planElementViewModel: PlanElementViewModel, initData: InitData): boolean;
28
28
  declare const SET_WALL_MATERIAL_TYPE: {
29
29
  readonly INTERIOR: "interior";
30
30
  readonly EXTERIOR: "exterior";
31
31
  };
32
- interface PrepareImageOptionsPlanner extends PrepareImageOptions {
33
- object?: Object3D;
34
- }
35
32
  export default class PlannerSceneManager extends ConfiguratorSceneManager implements PlannerKernelCallbackI {
36
33
  private _rapiAccess;
37
34
  private _plannerMeshGenerator;
@@ -94,7 +91,7 @@ export default class PlannerSceneManager extends ConfiguratorSceneManager implem
94
91
  endPlanConstruction(_plan: Plan): void;
95
92
  addPlanObjectToScene(planViewModel: PlanObjectViewModel): Promise<void>;
96
93
  removePlanObjectFromScene(planViewModel: PlanElementViewModel): void;
97
- planElementChanged(_plan: Plan, planElementViewModel: PlanElementViewModel): void;
94
+ planElementChanged(plan: Plan, planElementViewModel: PlanElementViewModel): void;
98
95
  exportGLB(_exportObjects?: Object3D[], _id?: string): void;
99
96
  importGLB(url: string): void;
100
97
  clearScene(): void;
@@ -142,7 +139,7 @@ export default class PlannerSceneManager extends ConfiguratorSceneManager implem
142
139
  prepareTopImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
143
140
  preparePerspectiveImageOf(runtimeId: RuntimeId, options?: PrepareImageOptions): Promise<Base64Image>;
144
141
  protected _waitForAssets(): Promise<void>;
145
- _preparePerspectiveImage(options?: PrepareImageOptionsPlanner, isolationMode?: boolean): Promise<Base64Image>;
142
+ private _preparePerspectiveImage;
146
143
  private _handlePlannerIsolationModeState;
147
144
  private _hideAllExceptSelectedElement;
148
145
  preparePerspectiveImage(options?: PrepareImageOptions, isolationMode?: boolean): Promise<Base64Image>;
@@ -66,10 +66,14 @@ export interface Rectangle {
66
66
  referencePoints: RectangleReferencePoints;
67
67
  size: KernelVector3f;
68
68
  }
69
+ export interface ObjectFrontRotation {
70
+ lookAtSide: WallSide;
71
+ rotation: number;
72
+ rotationRoundTo90deg: number;
73
+ }
69
74
  export interface PlanObject extends PlanElement {
70
75
  size: KernelVector3;
71
76
  rotation: number;
72
- rotationToPreferredFront: number;
73
77
  customColor: number;
74
78
  flipX: boolean;
75
79
  flipY: boolean;
@@ -84,6 +88,7 @@ export interface PlanObject extends PlanElement {
84
88
  getObjectType(): string;
85
89
  getWallDistances(): ObjectToWallLineArray;
86
90
  getRectangle(): Rectangle;
91
+ getRotationToPreferredFront(): ObjectFrontRotation;
87
92
  }
88
93
  export interface WallSide {
89
94
  value: Enumify<typeof WALL_SIDES>;
@@ -360,6 +365,7 @@ export interface KernelAttic extends KernelObject {
360
365
  export interface KernelFloor extends KernelObject {
361
366
  area: number;
362
367
  material: KernelFloorMaterial;
368
+ readonly parapetHeight: number;
363
369
  getCenter: () => KernelVector3;
364
370
  getRandomPointInside: () => KernelVector3;
365
371
  getLabelPosition: () => KernelVector3;
@@ -0,0 +1,19 @@
1
+ import { Mesh, PointLight } from 'three';
2
+ import { type QualityLevel } from '../../../common-core/src/webgl/renderer/scene-renderer';
3
+ export declare const CEILING_LIGHT_COLOR = 16774369;
4
+ export declare const CEILING_LIGHT_INTENSITY = 2;
5
+ export declare const CEILING_LIGHT_DISTANCE = 25;
6
+ export declare const CEILING_LIGHT_DECAY = 0;
7
+ export declare const CEILING_LIGHT_POWER = 25;
8
+ export declare const CEILING_LIGHT_SHADOW_INTENSITY = 0.5;
9
+ export declare const CEILING_LIGHT_SHADOW_MAP_SIZE = 0;
10
+ export default class CeilingLight extends PointLight {
11
+ private _container;
12
+ private _shouldCastShadow;
13
+ getContainer(): Mesh;
14
+ get shouldCastShadow(): boolean;
15
+ constructor(debug: boolean, maxQualityLevel: QualityLevel);
16
+ recalculatePower(amountOfLights: number): void;
17
+ update(qualityLevel: QualityLevel): void;
18
+ private _addDebugUI;
19
+ }
@@ -0,0 +1,9 @@
1
+ import { SpotLight } from 'three';
2
+ import type StaticPlanObjectViewModel from '../view-model/static-plan-object-view-model';
3
+ import { type QualityLevel } from '../../../common-core/src/webgl/renderer/scene-renderer';
4
+ export default class LampLight extends SpotLight {
5
+ private _helper;
6
+ constructor(objectViewModel: StaticPlanObjectViewModel, debug: boolean);
7
+ update(qualityLevel?: QualityLevel): void;
8
+ private _addDebugUI;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { Group, type Object3D, type Object3DEventMap } from 'three';
2
+ import type CeilingLight from './ceiling-light';
3
+ export declare class LightGroup extends Group {
4
+ children: CeilingLight[];
5
+ private _availableShadowMaps;
6
+ private _lightsOn;
7
+ get lightsOn(): boolean;
8
+ constructor();
9
+ add(...lights: Array<Object3D<Object3DEventMap>>): this;
10
+ toggleAllLights(turnLightsOn: boolean): void;
11
+ }