@roomle/web-sdk 2.84.0-bo-mvp.6 → 2.85.0-alpha.1

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 (248) hide show
  1. package/.releaserc.json +0 -5
  2. package/lib/{TextGeometry-6c37ac59.nomodule.js → TextGeometry-028ef3cf.nomodule.js} +2 -2
  3. package/lib/{TextGeometry-6c37ac59.nomodule.js.map → TextGeometry-028ef3cf.nomodule.js.map} +1 -1
  4. package/lib/{TextGeometry-64e47e97.js → TextGeometry-def07ca8.js} +2 -2
  5. package/lib/{TextGeometry-64e47e97.js.map → TextGeometry-def07ca8.js.map} +1 -1
  6. package/lib/{banana-for-scale-34b96698.js → banana-for-scale-034cc5dc.js} +2 -2
  7. package/lib/{banana-for-scale-34b96698.js.map → banana-for-scale-034cc5dc.js.map} +1 -1
  8. package/lib/{banana-for-scale-9e387250.nomodule.js → banana-for-scale-1ab56953.nomodule.js} +2 -2
  9. package/lib/{banana-for-scale-9e387250.nomodule.js.map → banana-for-scale-1ab56953.nomodule.js.map} +1 -1
  10. package/lib/{budgeteer-measure-a84ddf03.js → budgeteer-measure-e4c7fe1a.js} +2 -2
  11. package/lib/{budgeteer-measure-a84ddf03.js.map → budgeteer-measure-e4c7fe1a.js.map} +1 -1
  12. package/lib/budgeteer-measure.nomodule.js +1 -1
  13. package/lib/camera-behaviour-c471cf80.nomodule.js +2 -0
  14. package/lib/{camera-behaviour-df863bce.nomodule.js.map → camera-behaviour-c471cf80.nomodule.js.map} +1 -1
  15. package/lib/camera-behaviour-f1fc8341.js +2 -0
  16. package/lib/{camera-behaviour-4c8b6a41.js.map → camera-behaviour-f1fc8341.js.map} +1 -1
  17. package/lib/{component-dimensioning-360cd0ec.nomodule.js → component-dimensioning-68525959.nomodule.js} +2 -2
  18. package/lib/component-dimensioning-68525959.nomodule.js.map +1 -0
  19. package/lib/{component-dimensioning-4432ffeb.js → component-dimensioning-85cc876e.js} +2 -2
  20. package/lib/component-dimensioning-85cc876e.js.map +1 -0
  21. package/lib/{component-raycast-helper-12e0d723.js → component-raycast-helper-13725a70.js} +2 -2
  22. package/lib/component-raycast-helper-13725a70.js.map +1 -0
  23. package/lib/{component-raycast-helper-7721dd62.nomodule.js → component-raycast-helper-210b2bd1.nomodule.js} +2 -2
  24. package/lib/component-raycast-helper-210b2bd1.nomodule.js.map +1 -0
  25. package/lib/configurator-2fa43928.js +2 -0
  26. package/lib/configurator-2fa43928.js.map +1 -0
  27. package/lib/configurator-e41974af.nomodule.js +2 -0
  28. package/lib/configurator-e41974af.nomodule.js.map +1 -0
  29. package/lib/configurator-main-fa603285.js +2 -0
  30. package/lib/configurator-main-fa603285.js.map +1 -0
  31. package/lib/configurator-main.nomodule.js +1 -1
  32. package/lib/{continuous-drawing-helper-e119741b.js → continuous-drawing-helper-53c52537.js} +2 -2
  33. package/lib/continuous-drawing-helper-53c52537.js.map +1 -0
  34. package/lib/{continuous-drawing-helper-9a1708cc.nomodule.js → continuous-drawing-helper-b476ae1f.nomodule.js} +2 -2
  35. package/lib/continuous-drawing-helper-b476ae1f.nomodule.js.map +1 -0
  36. package/lib/{jszip.min-b2d68fda.js → default-light-setting-6bc84cb1.js} +2 -2
  37. package/lib/default-light-setting-6bc84cb1.js.map +1 -0
  38. package/lib/{jszip.min-788df76c.nomodule.js → default-light-setting-94a0efa3.nomodule.js} +2 -2
  39. package/lib/default-light-setting-94a0efa3.nomodule.js.map +1 -0
  40. package/lib/definitions/common-core/src/cameracontrol/planner-2d-camera-behaviour.d.ts +2 -2
  41. package/lib/definitions/common-core/src/configurator-kernel-access.d.ts +2 -5
  42. package/lib/definitions/common-core/src/rapi-access.d.ts +5 -2
  43. package/lib/definitions/common-core/src/utils/shims.d.ts +0 -10
  44. package/lib/definitions/configurator-core/src/roomle-configurator.d.ts +0 -10
  45. package/lib/definitions/configurator-core/src/static-files/geometries.d.ts +0 -1
  46. package/lib/definitions/configurator-core/src/webgl/configurator-scene-manager.d.ts +0 -4
  47. package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +0 -62
  48. package/lib/definitions/planner-core/src/roomle-planner.d.ts +2 -15
  49. package/lib/definitions/planner-core/src/services/planner-kernel-access.d.ts +4 -18
  50. package/lib/definitions/planner-core/src/utils/map-to-ui-plan-objects.d.ts +1 -1
  51. package/lib/definitions/planner-core/src/view-model/plan-view-model.d.ts +0 -1
  52. package/lib/definitions/planner-core/src/webgl/planner-scene-manager.d.ts +0 -2
  53. package/lib/definitions/typings/kernel.d.ts +4 -20
  54. package/lib/definitions/typings/planner.d.ts +1 -1
  55. package/lib/{dimensioning-helper-816e4aaf.js → dimensioning-helper-6b964e3b.js} +2 -2
  56. package/lib/{dimensioning-helper-816e4aaf.js.map → dimensioning-helper-6b964e3b.js.map} +1 -1
  57. package/lib/{dimensioning-helper-8ec372c9.nomodule.js → dimensioning-helper-8de4a0b8.nomodule.js} +2 -2
  58. package/lib/{dimensioning-helper-8ec372c9.nomodule.js.map → dimensioning-helper-8de4a0b8.nomodule.js.map} +1 -1
  59. package/lib/glb-viewer-3586996a.js +2 -0
  60. package/lib/glb-viewer-3586996a.js.map +1 -0
  61. package/lib/glb-viewer-6ad3eb53.nomodule.js +2 -0
  62. package/lib/glb-viewer-6ad3eb53.nomodule.js.map +1 -0
  63. package/lib/{glb-viewer-camera-behaviour-00b68def.nomodule.js → glb-viewer-camera-behaviour-57f593d4.nomodule.js} +2 -2
  64. package/lib/glb-viewer-camera-behaviour-57f593d4.nomodule.js.map +1 -0
  65. package/lib/{glb-viewer-camera-behaviour-f47480cc.js → glb-viewer-camera-behaviour-65583e34.js} +2 -2
  66. package/lib/glb-viewer-camera-behaviour-65583e34.js.map +1 -0
  67. package/lib/glb-viewer-main-61add308.js +2 -0
  68. package/lib/glb-viewer-main-61add308.js.map +1 -0
  69. package/lib/glb-viewer-main.nomodule.js +1 -1
  70. package/lib/legacy/{TextGeometry-50d12ddd.legacy.js → TextGeometry-c00b7ecb.legacy.js} +2 -2
  71. package/lib/legacy/{TextGeometry-50d12ddd.legacy.js.map → TextGeometry-c00b7ecb.legacy.js.map} +1 -1
  72. package/lib/legacy/{banana-for-scale-30e4b138.legacy.js → banana-for-scale-0e914a45.legacy.js} +2 -2
  73. package/lib/legacy/{banana-for-scale-30e4b138.legacy.js.map → banana-for-scale-0e914a45.legacy.js.map} +1 -1
  74. package/lib/legacy/budgeteer-measure.legacy.js +1 -1
  75. package/lib/legacy/camera-behaviour-4128d879.legacy.js +2 -0
  76. package/lib/legacy/{camera-behaviour-de85414a.legacy.js.map → camera-behaviour-4128d879.legacy.js.map} +1 -1
  77. package/lib/legacy/{component-dimensioning-ef7fce95.legacy.js → component-dimensioning-cf81879e.legacy.js} +2 -2
  78. package/lib/legacy/component-dimensioning-cf81879e.legacy.js.map +1 -0
  79. package/lib/legacy/{component-raycast-helper-4a538752.legacy.js → component-raycast-helper-009d1f45.legacy.js} +2 -2
  80. package/lib/legacy/component-raycast-helper-009d1f45.legacy.js.map +1 -0
  81. package/lib/legacy/configurator-0be503c2.legacy.js +2 -0
  82. package/lib/{glb-viewer-b94bb723.js.map → legacy/configurator-0be503c2.legacy.js.map} +1 -1
  83. package/lib/legacy/configurator-main.legacy.js +1 -1
  84. package/lib/legacy/{continuous-drawing-helper-fcff7cb0.legacy.js → continuous-drawing-helper-17338404.legacy.js} +2 -2
  85. package/lib/legacy/continuous-drawing-helper-17338404.legacy.js.map +1 -0
  86. package/lib/legacy/{jszip.min-d813f7b9.legacy.js → default-light-setting-16629396.legacy.js} +2 -2
  87. package/lib/legacy/default-light-setting-16629396.legacy.js.map +1 -0
  88. package/lib/legacy/{dimensioning-helper-b37ff811.legacy.js → dimensioning-helper-42a663eb.legacy.js} +2 -2
  89. package/lib/legacy/{dimensioning-helper-b37ff811.legacy.js.map → dimensioning-helper-42a663eb.legacy.js.map} +1 -1
  90. package/lib/legacy/glb-viewer-6bda8901.legacy.js +2 -0
  91. package/lib/legacy/glb-viewer-6bda8901.legacy.js.map +1 -0
  92. package/lib/legacy/{glb-viewer-camera-behaviour-b184cad2.legacy.js → glb-viewer-camera-behaviour-f9d7a62e.legacy.js} +2 -2
  93. package/lib/legacy/glb-viewer-camera-behaviour-f9d7a62e.legacy.js.map +1 -0
  94. package/lib/legacy/glb-viewer-main.legacy.js +1 -1
  95. package/lib/legacy/{main-thread-to-worker-f02de9c2.legacy.js → main-thread-to-worker-a28094cc.legacy.js} +3 -3
  96. package/lib/legacy/{main-thread-to-worker-f02de9c2.legacy.js.map → main-thread-to-worker-a28094cc.legacy.js.map} +1 -1
  97. package/lib/legacy/{material-viewer-f47656bf.legacy.js → material-viewer-5d15bc6c.legacy.js} +2 -2
  98. package/lib/legacy/material-viewer-5d15bc6c.legacy.js.map +1 -0
  99. package/lib/legacy/material-viewer-main.legacy.js +1 -1
  100. package/lib/legacy/planner-26085930.legacy.js +2 -0
  101. package/lib/legacy/{planner-4e5297e7.legacy.js.map → planner-26085930.legacy.js.map} +1 -1
  102. package/lib/legacy/planner-main.legacy.js +1 -1
  103. package/lib/legacy/{query-params-helper-0f7e3d70.legacy.js → query-params-helper-81aac523.legacy.js} +2 -2
  104. package/lib/legacy/query-params-helper-81aac523.legacy.js.map +1 -0
  105. package/lib/legacy/roomle-configurator-801dfd28.legacy.js +2 -0
  106. package/lib/legacy/roomle-configurator-801dfd28.legacy.js.map +1 -0
  107. package/lib/legacy/roomle-dependency-injection-b6633659.legacy.js +9 -0
  108. package/lib/legacy/roomle-dependency-injection-b6633659.legacy.js.map +1 -0
  109. package/lib/legacy/roomle-sdk.legacy.js +1 -1
  110. package/lib/legacy/{script-loader-18076aeb.legacy.js → script-loader-161d337b.legacy.js} +2 -2
  111. package/lib/legacy/script-loader-161d337b.legacy.js.map +1 -0
  112. package/lib/legacy/static/{ConfiguratorKernel-f7c78229c8610458.js → ConfiguratorKernel-5c9e3a9a021d9c94.js} +3 -3
  113. package/lib/{static/ConfiguratorKernel-d2138f44eed524f4.wasm → legacy/static/ConfiguratorKernel-b905729404ced494.wasm} +0 -0
  114. package/lib/{static/RoomleCore-d831e90fa6a61e38.wasm → legacy/static/RoomleCore-3e498b4dbab73c95.wasm} +0 -0
  115. package/lib/legacy/static/{RoomleCore-34da59877c9fc80d.js → RoomleCore-62d4a3fa9db24cf6.js} +2 -2
  116. package/lib/legacy/static/RoomleToolsCore-256566b6e8ee3a5f.wasm +0 -0
  117. package/lib/{static/RoomleToolsCore-b1b3c955c7b9feb4.js → legacy/static/RoomleToolsCore-aa5a05bc83496730.js} +2 -2
  118. package/lib/legacy/{stats-helper-a1bca002.legacy.js → stats-helper-70f3a803.legacy.js} +2 -2
  119. package/lib/legacy/stats-helper-70f3a803.legacy.js.map +1 -0
  120. package/lib/legacy/{tools-core-3fbb41d6.legacy.js → tools-core-fb6f2cc3.legacy.js} +2 -2
  121. package/lib/legacy/tools-core-fb6f2cc3.legacy.js.map +1 -0
  122. package/lib/{main-thread-to-worker-a33146dd.nomodule.js → main-thread-to-worker-1a58abb6.nomodule.js} +2 -2
  123. package/lib/{main-thread-to-worker-a33146dd.nomodule.js.map → main-thread-to-worker-1a58abb6.nomodule.js.map} +1 -1
  124. package/lib/{main-thread-to-worker-af604b88.js → main-thread-to-worker-554053aa.js} +2 -2
  125. package/lib/{main-thread-to-worker-af604b88.js.map → main-thread-to-worker-554053aa.js.map} +1 -1
  126. package/lib/{material-viewer-657333df.nomodule.js → material-viewer-4e7f4777.nomodule.js} +2 -2
  127. package/lib/material-viewer-4e7f4777.nomodule.js.map +1 -0
  128. package/lib/{material-viewer-ed5eb75e.js → material-viewer-4ee66cc0.js} +2 -2
  129. package/lib/material-viewer-4ee66cc0.js.map +1 -0
  130. package/lib/material-viewer-main-63b64a51.js +2 -0
  131. package/lib/material-viewer-main-63b64a51.js.map +1 -0
  132. package/lib/material-viewer-main.nomodule.js +1 -1
  133. package/lib/planner-39fa9725.js +2 -0
  134. package/lib/{planner-6d7f6600.js.map → planner-39fa9725.js.map} +1 -1
  135. package/lib/planner-56a2218e.nomodule.js +2 -0
  136. package/lib/{planner-7ba93669.nomodule.js.map → planner-56a2218e.nomodule.js.map} +1 -1
  137. package/lib/planner-main-8123556f.js +2 -0
  138. package/lib/planner-main-8123556f.js.map +1 -0
  139. package/lib/planner-main.nomodule.js +1 -1
  140. package/lib/{query-params-helper-ff314078.nomodule.js → query-params-helper-a2901800.nomodule.js} +2 -2
  141. package/lib/query-params-helper-a2901800.nomodule.js.map +1 -0
  142. package/lib/{query-params-helper-15c8e313.js → query-params-helper-a5a14aba.js} +2 -2
  143. package/lib/query-params-helper-a5a14aba.js.map +1 -0
  144. package/lib/roomle-configurator-21764f93.nomodule.js +2 -0
  145. package/lib/roomle-configurator-21764f93.nomodule.js.map +1 -0
  146. package/lib/roomle-configurator-7d84bc6f.js +2 -0
  147. package/lib/roomle-configurator-7d84bc6f.js.map +1 -0
  148. package/lib/{roomle-dependency-injection-54346ed3.js → roomle-dependency-injection-410ef785.js} +3 -3
  149. package/lib/roomle-dependency-injection-410ef785.js.map +1 -0
  150. package/lib/{roomle-dependency-injection-3428203b.nomodule.js → roomle-dependency-injection-8c2de058.nomodule.js} +3 -3
  151. package/lib/roomle-dependency-injection-8c2de058.nomodule.js.map +1 -0
  152. package/lib/{roomle-sdk-a6718230.js → roomle-sdk-a2fef129.js} +2 -2
  153. package/lib/roomle-sdk-a2fef129.js.map +1 -0
  154. package/lib/roomle-sdk.nomodule.js +1 -1
  155. package/lib/{script-loader-6dff1dd5.js → script-loader-1ab763ef.js} +2 -2
  156. package/lib/script-loader-1ab763ef.js.map +1 -0
  157. package/lib/{script-loader-46fdf39c.nomodule.js → script-loader-2e2919cf.nomodule.js} +2 -2
  158. package/lib/script-loader-2e2919cf.nomodule.js.map +1 -0
  159. package/lib/static/{ConfiguratorKernel-f7c78229c8610458.js → ConfiguratorKernel-5c9e3a9a021d9c94.js} +3 -3
  160. package/lib/{legacy/static/ConfiguratorKernel-d2138f44eed524f4.wasm → static/ConfiguratorKernel-b905729404ced494.wasm} +0 -0
  161. package/lib/{legacy/static/RoomleCore-d831e90fa6a61e38.wasm → static/RoomleCore-3e498b4dbab73c95.wasm} +0 -0
  162. package/lib/static/{RoomleCore-34da59877c9fc80d.js → RoomleCore-62d4a3fa9db24cf6.js} +2 -2
  163. package/lib/static/RoomleToolsCore-256566b6e8ee3a5f.wasm +0 -0
  164. package/lib/{legacy/static/RoomleToolsCore-b1b3c955c7b9feb4.js → static/RoomleToolsCore-aa5a05bc83496730.js} +2 -2
  165. package/lib/{stats-helper-9c650ea8.js → stats-helper-466a0083.js} +2 -2
  166. package/lib/stats-helper-466a0083.js.map +1 -0
  167. package/lib/{stats-helper-eb5e9f74.nomodule.js → stats-helper-81acfbd7.nomodule.js} +2 -2
  168. package/lib/stats-helper-81acfbd7.nomodule.js.map +1 -0
  169. package/lib/{tools-core-0a93b789.nomodule.js → tools-core-5452b585.nomodule.js} +2 -2
  170. package/lib/tools-core-5452b585.nomodule.js.map +1 -0
  171. package/lib/{tools-core-a3d1fe3f.js → tools-core-bebf51be.js} +2 -2
  172. package/lib/tools-core-bebf51be.js.map +1 -0
  173. package/package.json +2 -2
  174. package/lib/camera-behaviour-4c8b6a41.js +0 -2
  175. package/lib/camera-behaviour-df863bce.nomodule.js +0 -2
  176. package/lib/component-dimensioning-360cd0ec.nomodule.js.map +0 -1
  177. package/lib/component-dimensioning-4432ffeb.js.map +0 -1
  178. package/lib/component-raycast-helper-12e0d723.js.map +0 -1
  179. package/lib/component-raycast-helper-7721dd62.nomodule.js.map +0 -1
  180. package/lib/configurator-6659335d.nomodule.js +0 -2
  181. package/lib/configurator-6659335d.nomodule.js.map +0 -1
  182. package/lib/configurator-d11d20d3.js +0 -2
  183. package/lib/configurator-d11d20d3.js.map +0 -1
  184. package/lib/configurator-main-46145976.js +0 -2
  185. package/lib/configurator-main-46145976.js.map +0 -1
  186. package/lib/continuous-drawing-helper-9a1708cc.nomodule.js.map +0 -1
  187. package/lib/continuous-drawing-helper-e119741b.js.map +0 -1
  188. package/lib/definitions/configurator-core/src/export/production-manager-export.d.ts +0 -35
  189. package/lib/definitions/configurator-core/src/utils/export-helper.d.ts +0 -38
  190. package/lib/definitions/planner-core/src/external-object-api-callbacks.d.ts +0 -119
  191. package/lib/definitions/planner-core/src/external-object-api.d.ts +0 -83
  192. package/lib/definitions/planner-core/src/roomle-planner-external-object.d.ts +0 -44
  193. package/lib/glb-viewer-2a70382e.nomodule.js +0 -2
  194. package/lib/glb-viewer-2a70382e.nomodule.js.map +0 -1
  195. package/lib/glb-viewer-b94bb723.js +0 -2
  196. package/lib/glb-viewer-camera-behaviour-00b68def.nomodule.js.map +0 -1
  197. package/lib/glb-viewer-camera-behaviour-f47480cc.js.map +0 -1
  198. package/lib/glb-viewer-main-c25754f0.js +0 -2
  199. package/lib/glb-viewer-main-c25754f0.js.map +0 -1
  200. package/lib/jszip.min-788df76c.nomodule.js.map +0 -1
  201. package/lib/jszip.min-b2d68fda.js.map +0 -1
  202. package/lib/legacy/camera-behaviour-de85414a.legacy.js +0 -2
  203. package/lib/legacy/component-dimensioning-ef7fce95.legacy.js.map +0 -1
  204. package/lib/legacy/component-raycast-helper-4a538752.legacy.js.map +0 -1
  205. package/lib/legacy/configurator-eb9d7484.legacy.js +0 -2
  206. package/lib/legacy/configurator-eb9d7484.legacy.js.map +0 -1
  207. package/lib/legacy/continuous-drawing-helper-fcff7cb0.legacy.js.map +0 -1
  208. package/lib/legacy/glb-viewer-9966b081.legacy.js +0 -2
  209. package/lib/legacy/glb-viewer-9966b081.legacy.js.map +0 -1
  210. package/lib/legacy/glb-viewer-camera-behaviour-b184cad2.legacy.js.map +0 -1
  211. package/lib/legacy/jszip.min-d813f7b9.legacy.js.map +0 -1
  212. package/lib/legacy/material-viewer-f47656bf.legacy.js.map +0 -1
  213. package/lib/legacy/planner-4e5297e7.legacy.js +0 -2
  214. package/lib/legacy/query-params-helper-0f7e3d70.legacy.js.map +0 -1
  215. package/lib/legacy/roomle-configurator-0069ec73.legacy.js +0 -2
  216. package/lib/legacy/roomle-configurator-0069ec73.legacy.js.map +0 -1
  217. package/lib/legacy/roomle-dependency-injection-abb688a0.legacy.js +0 -9
  218. package/lib/legacy/roomle-dependency-injection-abb688a0.legacy.js.map +0 -1
  219. package/lib/legacy/script-loader-18076aeb.legacy.js.map +0 -1
  220. package/lib/legacy/static/RoomleToolsCore-52f374377826e651.wasm +0 -0
  221. package/lib/legacy/static/monkey-0ab775bb33780513.obj +0 -7966
  222. package/lib/legacy/stats-helper-a1bca002.legacy.js.map +0 -1
  223. package/lib/legacy/tools-core-3fbb41d6.legacy.js.map +0 -1
  224. package/lib/material-viewer-657333df.nomodule.js.map +0 -1
  225. package/lib/material-viewer-ed5eb75e.js.map +0 -1
  226. package/lib/material-viewer-main-86fed38e.js +0 -2
  227. package/lib/material-viewer-main-86fed38e.js.map +0 -1
  228. package/lib/planner-6d7f6600.js +0 -2
  229. package/lib/planner-7ba93669.nomodule.js +0 -2
  230. package/lib/planner-main-f05178c6.js +0 -2
  231. package/lib/planner-main-f05178c6.js.map +0 -1
  232. package/lib/query-params-helper-15c8e313.js.map +0 -1
  233. package/lib/query-params-helper-ff314078.nomodule.js.map +0 -1
  234. package/lib/roomle-configurator-39e5d8da.js +0 -2
  235. package/lib/roomle-configurator-39e5d8da.js.map +0 -1
  236. package/lib/roomle-configurator-70ac3887.nomodule.js +0 -2
  237. package/lib/roomle-configurator-70ac3887.nomodule.js.map +0 -1
  238. package/lib/roomle-dependency-injection-3428203b.nomodule.js.map +0 -1
  239. package/lib/roomle-dependency-injection-54346ed3.js.map +0 -1
  240. package/lib/roomle-sdk-a6718230.js.map +0 -1
  241. package/lib/script-loader-46fdf39c.nomodule.js.map +0 -1
  242. package/lib/script-loader-6dff1dd5.js.map +0 -1
  243. package/lib/static/RoomleToolsCore-52f374377826e651.wasm +0 -0
  244. package/lib/static/monkey-0ab775bb33780513.obj +0 -7966
  245. package/lib/stats-helper-9c650ea8.js.map +0 -1
  246. package/lib/stats-helper-eb5e9f74.nomodule.js.map +0 -1
  247. package/lib/tools-core-0a93b789.nomodule.js.map +0 -1
  248. package/lib/tools-core-a3d1fe3f.js.map +0 -1
@@ -1,2 +1,2 @@
1
- System.register(["./script-loader-46fdf39c.nomodule.js","./roomle-dependency-injection-3428203b.nomodule.js","./camera-behaviour-df863bce.nomodule.js","./main-thread-to-worker-a33146dd.nomodule.js","./query-params-helper-ff314078.nomodule.js"],(function(e){var t,a,i,r,s,n,o,h,l,m,_,c,d,g,u,p,M,w,y,C,f,v,S,b,P,x,F,G,I,U,R,T,A,B,D,k,E;return{setters:[function(e){t=e.S,a=e.M},function(e){i=e._,r=e.i,s=e.u,n=e.x,o=e.y,h=e.a5,l=e.aM,m=e.aN,_=e.ae,c=e.aO,d=e.ad,g=e.aP,u=e.D,p=e.L,M=e.aK,w=e.aQ,y=e.R,C=e.b},function(e){f=e.b,v=e.S,S=e.B,b=e.C,P=e.F,x=e.T},function(e){F=e.aE,G=e.aP,I=e.z,U=e.C,R=e.ad,T=e.w,A=e.a,B=e.a7,D=e.aS,k=e.b8,E=e.a9},function(){}],execute:function(){class O extends f{get cameraControl(){return this._cameraControl}}class V extends v{constructor(e,t){super(e,t,s.RMV,F.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(n.createDynamicLightSettingSource(null,o.CAMERA)),this._initScene()}_initScene(){const e=new G(1,1,1,100,100,100),t=h.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(t),this._mesh=new I(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:a}=this._initData;if(a?this.changeFloorMaterialById(a):this._environment=new S(this._scene,null,new U(16777215)),this.cameraBehaviour.cameraControl instanceof b){const e=new R;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(t=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),t()})})}loadMaterial(e){return new Promise(t=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),t()})}loadMaterialShading(e){return new Promise(t=>{let a={shading:e};this._setMaterial(l(this._material,a)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),t()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===T,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return m(this._material,e)}createCameraControl(e,t){this._changeCameraBehaviour(new O(new b(this._creator_,this._getInputManager(),new A(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new R).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=_();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new U(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?T:B,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(m(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new G(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new D(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new k(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new k(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const t=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof P||(this._environment=new P(this._scene,this._environment,!0)),new Promise((e,a)=>{this._environment.changeFloorMaterial(t,this._maxAnisotropy).then(()=>{this._requestRender(),e()},a)})}async addTexture(e,t){const a=100/(0===e.mmWidth?1:e.mmWidth),i=100/(0===e.mmHeight?1:e.mmHeight);if(t){const r=new Image;r.src=t;const s=new E;s.image=r,r.onload=function(){s.needsUpdate=!0},c(s,e,this._material,this._maxAnisotropy,a,i,this._renderer.capabilities.maxTextures)}else await d(e.image,e,this._material,this._maxAnisotropy,a,i,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}i([r],V.prototype,"_inputManager",void 0),i([r],V.prototype,"_configuratorMeshGenerator",void 0),i([r],V.prototype,"_roomleMaterialViewerUiCallback",void 0),i([r],V.prototype,"_rapiAccess",void 0);class j{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,t){Promise.all([this._scriptLoader.fetch(x,{id:"tween-js"})]).then(()=>{this._sceneManager=new V(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,t={}){return t.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,t={}){return t.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,t){return this._sceneManager.addTexture(e,t)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:t,intensity:a,rotation:i,maxLightSources:r}=e;this._sceneManager.setEnvironmentMap(t,a,i,r)}}i([r],j.prototype,"_domHelper",void 0),i([r],j.prototype,"_scriptLoader",void 0),i([r],j.prototype,"_lifeCycleManager",void 0),i([r],j.prototype,"_roomleMaterialViewerUiCallback",void 0),i([r],j.prototype,"_initData",void 0),i([r],j.prototype,"_rapiAccess",void 0),i([r],j.prototype,"_unitFormatter",void 0),i([r],j.prototype,"_idbManager",void 0);const H=[new u("script-loader",t),new u("logger",p),new u("input-manager",M,1),new u("configurator-mesh-generator",w),new u("rapi-access",y),new u("roomle-material-viewer-ui-callback",class extends g{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];e("MaterialViewer",class extends a{setupGlobals(){}setupDependencies(){C.setup(H),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new j(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}})}}}));
2
- //# sourceMappingURL=material-viewer-657333df.nomodule.js.map
1
+ System.register(["./script-loader-2e2919cf.nomodule.js","./roomle-dependency-injection-8c2de058.nomodule.js","./camera-behaviour-c471cf80.nomodule.js","./main-thread-to-worker-1a58abb6.nomodule.js","./query-params-helper-a2901800.nomodule.js"],(function(e){var t,a,i,r,s,n,o,h,l,m,_,c,d,g,u,p,M,w,y,C,f,v,S,b,P,x,F,G,I,U,R,T,A,B,D,k,E;return{setters:[function(e){t=e.S,a=e.M},function(e){i=e._,r=e.i,s=e.u,n=e.x,o=e.y,h=e.a5,l=e.aL,m=e.aM,_=e.ae,c=e.aN,d=e.ad,g=e.aO,u=e.D,p=e.L,M=e.aJ,w=e.aP,y=e.R,C=e.b},function(e){f=e.b,v=e.S,S=e.B,b=e.C,P=e.F,x=e.T},function(e){F=e.aE,G=e.aP,I=e.z,U=e.C,R=e.ad,T=e.w,A=e.a,B=e.a7,D=e.aS,k=e.b8,E=e.a9},function(){}],execute:function(){class O extends f{get cameraControl(){return this._cameraControl}}class V extends v{constructor(e,t){super(e,t,s.RMV,F.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(n.createDynamicLightSettingSource(null,o.CAMERA)),this._initScene()}_initScene(){const e=new G(1,1,1,100,100,100),t=h.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(t),this._mesh=new I(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:a}=this._initData;if(a?this.changeFloorMaterialById(a):this._environment=new S(this._scene,null,new U(16777215)),this.cameraBehaviour.cameraControl instanceof b){const e=new R;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(t=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),t()})})}loadMaterial(e){return new Promise(t=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),t()})}loadMaterialShading(e){return new Promise(t=>{let a={shading:e};this._setMaterial(l(this._material,a)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),t()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===T,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return m(this._material,e)}createCameraControl(e,t){this._changeCameraBehaviour(new O(new b(this._creator_,this._getInputManager(),new A(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new R).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=_();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new U(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?T:B,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(m(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new G(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new D(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new k(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new k(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const t=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof P||(this._environment=new P(this._scene,this._environment,!0)),new Promise((e,a)=>{this._environment.changeFloorMaterial(t,this._maxAnisotropy).then(()=>{this._requestRender(),e()},a)})}async addTexture(e,t){const a=100/(0===e.mmWidth?1:e.mmWidth),i=100/(0===e.mmHeight?1:e.mmHeight);if(t){const r=new Image;r.src=t;const s=new E;s.image=r,r.onload=function(){s.needsUpdate=!0},c(s,e,this._material,this._maxAnisotropy,a,i,this._renderer.capabilities.maxTextures)}else await d(e.image,e,this._material,this._maxAnisotropy,a,i,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}i([r],V.prototype,"_inputManager",void 0),i([r],V.prototype,"_configuratorMeshGenerator",void 0),i([r],V.prototype,"_roomleMaterialViewerUiCallback",void 0),i([r],V.prototype,"_rapiAccess",void 0);class j{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,t){Promise.all([this._scriptLoader.fetch(x,{id:"tween-js"})]).then(()=>{this._sceneManager=new V(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,t={}){return t.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,t={}){return t.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,t){return this._sceneManager.addTexture(e,t)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:t,intensity:a,rotation:i,maxLightSources:r}=e;this._sceneManager.setEnvironmentMap(t,a,i,r)}}i([r],j.prototype,"_domHelper",void 0),i([r],j.prototype,"_scriptLoader",void 0),i([r],j.prototype,"_lifeCycleManager",void 0),i([r],j.prototype,"_roomleMaterialViewerUiCallback",void 0),i([r],j.prototype,"_initData",void 0),i([r],j.prototype,"_rapiAccess",void 0),i([r],j.prototype,"_unitFormatter",void 0),i([r],j.prototype,"_idbManager",void 0);const L=[new u("script-loader",t),new u("logger",p),new u("input-manager",M,1),new u("configurator-mesh-generator",w),new u("rapi-access",y),new u("roomle-material-viewer-ui-callback",class extends g{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];e("MaterialViewer",class extends a{setupGlobals(){}setupDependencies(){C.setup(L),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new j(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}})}}}));
2
+ //# sourceMappingURL=material-viewer-4e7f4777.nomodule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"material-viewer-4e7f4777.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{S as ScriptLoader,M as Main}from"./script-loader-6dff1dd5.js";import{_ as __decorate,i as inject,u as CANVAS_ID,x as DynamicLightSettingLoader,y as PREDEFINED_LIGHTSETTING,a5 as MaterialCreator,aM as setMaterial,aN as getMaterialShading,ae as getGUI,aO as addExistingTexture,ad as addTexture,aP as UiCallback,D as DependencyInjectionAssignment,L as Logger,aK as InputManager,aQ as ConfiguratorMeshGenerator,R as RapiAccess,b as RoomleDependencyInjection}from"./roomle-dependency-injection-54346ed3.js";import{b as CameraBehaviour,S as SceneManager,B as BackgroundEnvironment,C as CameraControl3D,F as FloorEnvironment,T as TWEEN_FILE_NAME}from"./camera-behaviour-4c8b6a41.js";import{aE as CAMERA_TYPE,aP as BoxGeometry,z as Mesh,C as Color,ad as Box3,w as DoubleSide,a as Vector3,a7 as FrontSide,aS as SphereGeometry,b8 as PlaneGeometry,a9 as Texture}from"./main-thread-to-worker-af604b88.js";import"./query-params-helper-15c8e313.js";class MaterialViewerCameraBehaviour extends CameraBehaviour{get cameraControl(){return this._cameraControl}}class MaterialViewerSceneManager extends SceneManager{constructor(e,a){super(e,a,CANVAS_ID.RMV,CAMERA_TYPE.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(DynamicLightSettingLoader.createDynamicLightSettingSource(null,PREDEFINED_LIGHTSETTING.CAMERA)),this._initScene()}_initScene(){const e=new BoxGeometry(1,1,1,100,100,100),a=MaterialCreator.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(a),this._mesh=new Mesh(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:t}=this._initData;if(t?this.changeFloorMaterialById(t):this._environment=new BackgroundEnvironment(this._scene,null,new Color(16777215)),this.cameraBehaviour.cameraControl instanceof CameraControl3D){const e=new Box3;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(a=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})})}loadMaterial(e){return new Promise(a=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),a()})}loadMaterialShading(e){return new Promise(a=>{let t={shading:e};this._setMaterial(setMaterial(this._material,t)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===DoubleSide,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return getMaterialShading(this._material,e)}createCameraControl(e,a){this._changeCameraBehaviour(new MaterialViewerCameraBehaviour(new CameraControl3D(this._creator_,this._getInputManager(),new Vector3(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new Box3).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=getGUI();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new Color(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?DoubleSide:FrontSide,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(getMaterialShading(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new BoxGeometry(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new SphereGeometry(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new PlaneGeometry(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new PlaneGeometry(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const a=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof FloorEnvironment||(this._environment=new FloorEnvironment(this._scene,this._environment,!0)),new Promise((e,t)=>{this._environment.changeFloorMaterial(a,this._maxAnisotropy).then(()=>{this._requestRender(),e()},t)})}async addTexture(e,a){const t=100/(0===e.mmWidth?1:e.mmWidth),r=100/(0===e.mmHeight?1:e.mmHeight);if(a){const i=new Image;i.src=a;const s=new Texture;s.image=i,i.onload=function(){s.needsUpdate=!0},addExistingTexture(s,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures)}else await addTexture(e.image,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}__decorate([inject],MaterialViewerSceneManager.prototype,"_inputManager",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_configuratorMeshGenerator",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_rapiAccess",void 0);class RoomleMaterialViewer{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,a){Promise.all([this._scriptLoader.fetch(TWEEN_FILE_NAME,{id:"tween-js"})]).then(()=>{this._sceneManager=new MaterialViewerSceneManager(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,a){return this._sceneManager.addTexture(e,a)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:a,intensity:t,rotation:r,maxLightSources:i}=e;this._sceneManager.setEnvironmentMap(a,t,r,i)}}__decorate([inject],RoomleMaterialViewer.prototype,"_domHelper",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_scriptLoader",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_lifeCycleManager",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_initData",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_rapiAccess",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_unitFormatter",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_idbManager",void 0);const INJECTABLES=[new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("input-manager",InputManager,1),new DependencyInjectionAssignment("configurator-mesh-generator",ConfiguratorMeshGenerator),new DependencyInjectionAssignment("rapi-access",RapiAccess),new DependencyInjectionAssignment("roomle-material-viewer-ui-callback",class extends UiCallback{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];class MaterialViewer extends Main{setupGlobals(){}setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new RoomleMaterialViewer(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}}export{MaterialViewer};
2
- //# sourceMappingURL=material-viewer-ed5eb75e.js.map
1
+ import{S as ScriptLoader,M as Main}from"./script-loader-1ab763ef.js";import{_ as __decorate,i as inject,u as CANVAS_ID,x as DynamicLightSettingLoader,y as PREDEFINED_LIGHTSETTING,a5 as MaterialCreator,aL as setMaterial,aM as getMaterialShading,ae as getGUI,aN as addExistingTexture,ad as addTexture,aO as UiCallback,D as DependencyInjectionAssignment,L as Logger,aJ as InputManager,aP as ConfiguratorMeshGenerator,R as RapiAccess,b as RoomleDependencyInjection}from"./roomle-dependency-injection-410ef785.js";import{b as CameraBehaviour,S as SceneManager,B as BackgroundEnvironment,C as CameraControl3D,F as FloorEnvironment,T as TWEEN_FILE_NAME}from"./camera-behaviour-f1fc8341.js";import{aE as CAMERA_TYPE,aP as BoxGeometry,z as Mesh,C as Color,ad as Box3,w as DoubleSide,a as Vector3,a7 as FrontSide,aS as SphereGeometry,b8 as PlaneGeometry,a9 as Texture}from"./main-thread-to-worker-554053aa.js";import"./query-params-helper-a5a14aba.js";class MaterialViewerCameraBehaviour extends CameraBehaviour{get cameraControl(){return this._cameraControl}}class MaterialViewerSceneManager extends SceneManager{constructor(e,a){super(e,a,CANVAS_ID.RMV,CAMERA_TYPE.CAMERA_3D),this._sceneParams={type:"cube"},this._materialParams={color:"#ffffff",metallic:.5,alpha:0,alphaCutoff:0,doubleSided:!1},this._renderer.capabilities.maxTextures>8&&this.loadDynamicLightSetting(DynamicLightSettingLoader.createDynamicLightSettingSource(null,PREDEFINED_LIGHTSETTING.CAMERA)),this._initScene()}_initScene(){const e=new BoxGeometry(1,1,1,100,100,100),a=MaterialCreator.createMeshPhysicalMaterial({color:this._initData.colors.PRIMARY});this._setMaterial(a),this._mesh=new Mesh(e,this._material),this._mesh.castShadow=!0,this._mesh.position.setY(.5),this._scene.add(this._mesh);const{initialFloorMaterial:t}=this._initData;if(t?this.changeFloorMaterialById(t):this._environment=new BackgroundEnvironment(this._scene,null,new Color(16777215)),this.cameraBehaviour.cameraControl instanceof CameraControl3D){const e=new Box3;e.setFromObject(this._mesh),console.trace("reset camera"),this.cameraBehaviour.cameraControl.updateAndReset(e)}this.showGUI()}loadMaterialId(e){return new Promise(a=>{this._configuratorMeshGenerator.loadMaterial(e,1e3,1e3).then(e=>{this._setMaterial(e),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})})}loadMaterial(e){return new Promise(a=>{e.__rapi_path__||(e.__rapi_path__="materials"),this._mesh.material=this._material,this._configuratorMeshGenerator.loadTextures(e,this._material,100,100).then(()=>{this._updateGUI(),this._requestRender()}),a()})}loadMaterialShading(e){return new Promise(a=>{let t={shading:e};this._setMaterial(setMaterial(this._material,t)),this._mesh.material=this._material,this._updateGUI(),this._requestRender(),a()})}resetMaterial(){this._initScene()}_setMaterial(e){this._material=e,this._materialParams.alpha=e.opacity,this._materialParams.alphaCutoff=e.alphaTest,this._materialParams.color="#"+e.color.getHexString(),this._materialParams.doubleSided=e.side===DoubleSide,this._materialParams.metallic=1===e.metalness?1:e.reflectivity}getMaterialShading(e=1){return getMaterialShading(this._material,e)}createCameraControl(e,a){this._changeCameraBehaviour(new MaterialViewerCameraBehaviour(new CameraControl3D(this._creator_,this._getInputManager(),new Vector3(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._inputManager}sceneChanged(){}getBounds(){return this._mesh?(new Box3).setFromObject(this._mesh):null}getGeometryBounds(){return null}_guiLoaded(){this._updateGUI()}_updateGUI(){let e=getGUI();e&&(this._guiGeometryFolder||(this._guiGeometryFolder=e.addFolder("Geometry"),this._guiGeometryFolder.add(this._sceneParams,"type",{Cube:"cube",Sphere:"sphere",PlaneVertical:"plane_vertical",PlaneHorizontal:"plane_horizontal"}).onChange(e=>{this._setGeometry()})),this._material&&(this._guiMaterialFolder&&e.removeFolder(this._guiMaterialFolder),this._guiMaterialFolder=e.addFolder("Material"),this._guiMaterialFolder.addColor(this._materialParams,"color").onChange(e=>{this._material.color=new Color(e),this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"metallic").min(0).max(1).step(.01).onChange(e=>{this._material.metalness=1===e?1:.5,this._material.reflectivity=e||.5,this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"roughness").min(0).max(1).step(.01).onChange(e=>{this._shadingChanged()}),this._guiMaterialFolder.add(this._material,"transmission").min(0).max(1).step(.01).onChange(e=>{this._material.transmission=e,e>0&&(this._material.opacity=1,this._material.alphaTest=.5,this._material.depthWrite=!1,this._material.transparent=!0,this._material.metalness=0),this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alpha").min(0).max(1).step(.01).onChange(e=>{this._material.transparent=e<1,this._material.opacity=e,this._material.depthWrite=e>=1,this._mesh.castShadow=!this._material.transparent,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"alphaCutoff").min(0).max(1).step(.01).onChange(e=>{this._material.alphaTest=e||0,this._shadingChanged()}),this._guiMaterialFolder.add(this._materialParams,"doubleSided").onChange(e=>{this._material.side=e?DoubleSide:FrontSide,this._shadingChanged()})),this._addGUIListener(e))}_shadingChanged(){this._roomleMaterialViewerUiCallback.onMaterialShadingChanged(getMaterialShading(this._material))}setGeometry(e){this._sceneParams.type=e,this._setGeometry()}_setGeometry(){let e;"cube"===this._sceneParams.type&&(e=new BoxGeometry(1,1,1,100,100,100)),"sphere"===this._sceneParams.type&&(e=new SphereGeometry(.5,100,100)),"plane_horizontal"===this._sceneParams.type&&(e=new PlaneGeometry(1,1),e.rotateX(-Math.PI/2)),"plane_vertical"===this._sceneParams.type&&(e=new PlaneGeometry(1,1)),this._mesh.geometry=e,this._renderEverything()}async changeFloorMaterialById(e){const a=await this._rapiAccess.getMaterial(e);return this._environment&&this._environment instanceof FloorEnvironment||(this._environment=new FloorEnvironment(this._scene,this._environment,!0)),new Promise((e,t)=>{this._environment.changeFloorMaterial(a,this._maxAnisotropy).then(()=>{this._requestRender(),e()},t)})}async addTexture(e,a){const t=100/(0===e.mmWidth?1:e.mmWidth),r=100/(0===e.mmHeight?1:e.mmHeight);if(a){const i=new Image;i.src=a;const s=new Texture;s.image=i,i.onload=function(){s.needsUpdate=!0},addExistingTexture(s,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures)}else await addTexture(e.image,e,this._material,this._maxAnisotropy,t,r,this._renderer.capabilities.maxTextures);this._requestRender()}removeTexture(e){"ORM"===e.mapping&&(this._material.aoMap=null,this._material.roughnessMap=null,this._material.metalnessMap=null),"RGB"!==e.mapping&&"RGBA"!==e.mapping||(this._material.map=null),"XYZ"===e.mapping&&(this._material.normalMap=null),this._material.needsUpdate=!0,this._requestRender()}clearCache(){this._configuratorMeshGenerator.clear()}}__decorate([inject],MaterialViewerSceneManager.prototype,"_inputManager",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_configuratorMeshGenerator",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],MaterialViewerSceneManager.prototype,"_rapiAccess",void 0);class RoomleMaterialViewer{constructor(e){this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e){return this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,a){Promise.all([this._scriptLoader.fetch(TWEEN_FILE_NAME,{id:"tween-js"})]).then(()=>{this._sceneManager=new MaterialViewerSceneManager(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}get callbacks(){return this._roomleMaterialViewerUiCallback}set callbacks(e){this._roomleMaterialViewerUiCallback=e}loadMaterialShading(e){return this._sceneManager.loadMaterialShading(e)}resetMaterial(){this._sceneManager.resetMaterial()}loadMaterial(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterial(e)}loadMaterialId(e,a={}){return a.flushCache&&this._clearCaches(),this._sceneManager.loadMaterialId(e)}getMaterialShading(e=1){return this._sceneManager.getMaterialShading(e)}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}setOverrides(e){e&&this._initData.setOverrides(e)}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}async changeFloorMaterialById(e){return this._sceneManager.changeFloorMaterialById(e)}setGeometry(e){this._sceneManager.setGeometry(e)}async addTexture(e,a){return this._sceneManager.addTexture(e,a)}removeTexture(e){return this._sceneManager.removeTexture(e)}_clearCaches(){this._rapiAccess.cleanUp(),this._sceneManager.clearCache()}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:a,intensity:t,rotation:r,maxLightSources:i}=e;this._sceneManager.setEnvironmentMap(a,t,r,i)}}__decorate([inject],RoomleMaterialViewer.prototype,"_domHelper",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_scriptLoader",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_lifeCycleManager",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_roomleMaterialViewerUiCallback",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_initData",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_rapiAccess",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_unitFormatter",void 0),__decorate([inject],RoomleMaterialViewer.prototype,"_idbManager",void 0);const INJECTABLES=[new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("input-manager",InputManager,1),new DependencyInjectionAssignment("configurator-mesh-generator",ConfiguratorMeshGenerator),new DependencyInjectionAssignment("rapi-access",RapiAccess),new DependencyInjectionAssignment("roomle-material-viewer-ui-callback",class extends UiCallback{constructor(e){super(e),this.onMaterialShadingChanged=e=>{}}},1)];class MaterialViewer extends Main{setupGlobals(){}setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new RoomleMaterialViewer(this._context),window.RoomleMaterialViewer||(window.RoomleMaterialViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"material-viewer"}}export{MaterialViewer};
2
+ //# sourceMappingURL=material-viewer-4ee66cc0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"material-viewer-4ee66cc0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{MaterialViewer}from"./material-viewer-4ee66cc0.js";import"./script-loader-1ab763ef.js";import"./query-params-helper-a5a14aba.js";import"./main-thread-to-worker-554053aa.js";import"./roomle-dependency-injection-410ef785.js";import"./camera-behaviour-f1fc8341.js";(new MaterialViewer).boot();
2
+ //# sourceMappingURL=material-viewer-main-63b64a51.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"material-viewer-main-63b64a51.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- System.register(["./material-viewer-657333df.nomodule.js","./script-loader-46fdf39c.nomodule.js","./query-params-helper-ff314078.nomodule.js","./main-thread-to-worker-a33146dd.nomodule.js","./roomle-dependency-injection-3428203b.nomodule.js","./camera-behaviour-df863bce.nomodule.js"],(function(){var e;return{setters:[function(n){e=n.MaterialViewer},function(){},function(){},function(){},function(){},function(){}],execute:function(){(new e).boot()}}}));
1
+ System.register(["./material-viewer-4e7f4777.nomodule.js","./script-loader-2e2919cf.nomodule.js","./query-params-helper-a2901800.nomodule.js","./main-thread-to-worker-1a58abb6.nomodule.js","./roomle-dependency-injection-8c2de058.nomodule.js","./camera-behaviour-c471cf80.nomodule.js"],(function(){var e;return{setters:[function(n){e=n.MaterialViewer},function(){},function(){},function(){},function(){},function(){}],execute:function(){(new e).boot()}}}));
2
2
  //# sourceMappingURL=material-viewer-main.nomodule.js.map