@roomle/web-sdk 2.91.0-alpha.1 → 2.91.0-alpha.3

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 (587) hide show
  1. package/lib/{banana-for-scale-e4d75eac.js → banana-for-scale-b58e4a0e.js} +2 -2
  2. package/lib/{banana-for-scale-e4d75eac.js.map → banana-for-scale-b58e4a0e.js.map} +1 -1
  3. package/lib/{banana-for-scale-feb40956.nomodule.js → banana-for-scale-f41ca31e.nomodule.js} +2 -2
  4. package/lib/{banana-for-scale-feb40956.nomodule.js.map → banana-for-scale-f41ca31e.nomodule.js.map} +1 -1
  5. package/lib/{camera-behaviour-ad80f446.js → camera-behaviour-8c72e240.js} +2 -2
  6. package/lib/{camera-behaviour-ad80f446.js.map → camera-behaviour-8c72e240.js.map} +1 -1
  7. package/lib/{camera-behaviour-c12c4352.nomodule.js → camera-behaviour-bd9ccbc9.nomodule.js} +2 -2
  8. package/lib/{camera-behaviour-c12c4352.nomodule.js.map → camera-behaviour-bd9ccbc9.nomodule.js.map} +1 -1
  9. package/lib/{component-dimensioning-9ff33293.nomodule.js → component-dimensioning-a78cbeed.nomodule.js} +2 -2
  10. package/lib/component-dimensioning-a78cbeed.nomodule.js.map +1 -0
  11. package/lib/{component-dimensioning-4aca065a.js → component-dimensioning-d280333c.js} +2 -2
  12. package/lib/component-dimensioning-d280333c.js.map +1 -0
  13. package/lib/{component-raycast-helper-ad3cc50d.js → component-raycast-helper-828e2f08.js} +2 -2
  14. package/lib/component-raycast-helper-828e2f08.js.map +1 -0
  15. package/lib/{component-raycast-helper-d5ddab65.nomodule.js → component-raycast-helper-c9cad866.nomodule.js} +2 -2
  16. package/lib/component-raycast-helper-c9cad866.nomodule.js.map +1 -0
  17. package/lib/{configurator-79c102cc.js → configurator-1e9c2009.js} +2 -2
  18. package/lib/configurator-1e9c2009.js.map +1 -0
  19. package/lib/{configurator-0ac7c962.nomodule.js → configurator-52b50723.nomodule.js} +2 -2
  20. package/lib/configurator-52b50723.nomodule.js.map +1 -0
  21. package/lib/configurator-dummy-app.js +1 -1
  22. package/lib/configurator-dummy-app.js.map +1 -1
  23. package/lib/configurator-dummy.html +23 -15
  24. package/lib/configurator-main-a48aa6d7.js +2 -0
  25. package/lib/configurator-main-a48aa6d7.js.map +1 -0
  26. package/lib/configurator-main.nomodule.js +1 -1
  27. package/lib/{continuous-drawing-helper-85fa88c5.js → continuous-drawing-helper-7a8f6ef2.js} +2 -2
  28. package/lib/continuous-drawing-helper-7a8f6ef2.js.map +1 -0
  29. package/lib/{continuous-drawing-helper-4fa1eb65.nomodule.js → continuous-drawing-helper-9f5ada52.nomodule.js} +2 -2
  30. package/lib/continuous-drawing-helper-9f5ada52.nomodule.js.map +1 -0
  31. package/lib/{default-light-setting-23ff4500.js → default-light-setting-2429e980.js} +2 -2
  32. package/lib/default-light-setting-2429e980.js.map +1 -0
  33. package/lib/{default-light-setting-d4c4c06d.nomodule.js → default-light-setting-eb626622.nomodule.js} +2 -2
  34. package/lib/default-light-setting-eb626622.nomodule.js.map +1 -0
  35. package/lib/definitions/common-core/mock/kernel-instances.d.ts +2 -2
  36. package/lib/definitions/common-core/src/static-files/environment-maps.d.ts +7 -7
  37. package/lib/definitions/common-core/src/static-files/libs.d.ts +1 -1
  38. package/lib/definitions/common-core/src/static-files/light-settings.d.ts +6 -6
  39. package/lib/definitions/common-core/src/static-files/roomle-core.d.ts +7 -7
  40. package/lib/definitions/common-core/src/webgl/renderer/pass/ao-pass.d.ts +1 -1
  41. package/lib/definitions/common-core/src/webgl/renderer/scene-renderer.d.ts +5 -5
  42. package/lib/definitions/configurator-core/src/static-files/geometries.d.ts +1 -1
  43. package/lib/definitions/packages/acceptance-tests/src/utils/async-acceptance-test.d.ts +2 -0
  44. package/lib/definitions/packages/common-core/config/base.environment.d.ts +2 -0
  45. package/lib/definitions/packages/common-core/config/environment.d.ts +2 -0
  46. package/lib/definitions/packages/common-core/mock/common-kernel-access-mock.d.ts +9 -0
  47. package/lib/definitions/packages/common-core/mock/console-handler.d.ts +7 -0
  48. package/lib/definitions/packages/common-core/mock/constants.d.ts +1 -0
  49. package/lib/definitions/packages/common-core/mock/kernel-instances.d.ts +222 -0
  50. package/lib/definitions/packages/common-core/mock/mock-camera-parameters.d.ts +16 -0
  51. package/lib/definitions/packages/common-core/mock/mock-draco-loader.d.ts +6 -0
  52. package/lib/definitions/packages/common-core/mock/mock-gltf-loader.d.ts +9 -0
  53. package/lib/definitions/packages/common-core/mock/mock-idb-manager.d.ts +19 -0
  54. package/lib/definitions/packages/common-core/mock/mock-image-renderer.d.ts +18 -0
  55. package/lib/definitions/packages/common-core/mock/mock-input-event-dispatcher.d.ts +11 -0
  56. package/lib/definitions/packages/common-core/mock/mock-rapi-types.d.ts +94 -0
  57. package/lib/definitions/packages/common-core/mock/mock-utils.d.ts +25 -0
  58. package/lib/definitions/packages/common-core/mock/rapi-globals.d.ts +6 -0
  59. package/lib/definitions/packages/common-core/mock/three-mock.d.ts +45 -0
  60. package/lib/definitions/packages/common-core/mock/tween-mock.d.ts +4 -0
  61. package/lib/definitions/packages/common-core/src/async-guard.d.ts +12 -0
  62. package/lib/definitions/packages/common-core/src/cameracontrol/camera-behaviour-3d.d.ts +5 -0
  63. package/lib/definitions/packages/common-core/src/cameracontrol/camera-behaviour-state.d.ts +8 -0
  64. package/lib/definitions/packages/common-core/src/cameracontrol/camera-behaviour.d.ts +13 -0
  65. package/lib/definitions/packages/common-core/src/cameracontrol/camera-control-2d.d.ts +27 -0
  66. package/lib/definitions/packages/common-core/src/cameracontrol/camera-control-3d.d.ts +81 -0
  67. package/lib/definitions/packages/common-core/src/cameracontrol/camera-control.d.ts +128 -0
  68. package/lib/definitions/packages/common-core/src/cameracontrol/camera-type.d.ts +7 -0
  69. package/lib/definitions/packages/common-core/src/cameracontrol/configurator-camera-behaviour.d.ts +21 -0
  70. package/lib/definitions/packages/common-core/src/cameracontrol/glb-viewer-camera-behaviour.d.ts +9 -0
  71. package/lib/definitions/packages/common-core/src/cameracontrol/material-viewer-camera-behaviour.d.ts +5 -0
  72. package/lib/definitions/packages/common-core/src/cameracontrol/planner-2d-camera-behaviour.d.ts +16 -0
  73. package/lib/definitions/packages/common-core/src/cameracontrol/planner-3d-camera-behaviour.d.ts +20 -0
  74. package/lib/definitions/packages/common-core/src/cameracontrol/planner-camera-behaviour.d.ts +15 -0
  75. package/lib/definitions/packages/common-core/src/cameracontrol/planner-fp-camera-behaviour.d.ts +15 -0
  76. package/lib/definitions/packages/common-core/src/common-configurator-kernel-callback.d.ts +16 -0
  77. package/lib/definitions/packages/common-core/src/common-interfaces.d.ts +37 -0
  78. package/lib/definitions/packages/common-core/src/configurator-kernel-access.d.ts +145 -0
  79. package/lib/definitions/packages/common-core/src/di/container.d.ts +20 -0
  80. package/lib/definitions/packages/common-core/src/di/context.d.ts +3 -0
  81. package/lib/definitions/packages/common-core/src/di/global-definitions.d.ts +6 -0
  82. package/lib/definitions/packages/common-core/src/di/inject.d.ts +2 -0
  83. package/lib/definitions/packages/common-core/src/di/injectables.d.ts +2 -0
  84. package/lib/definitions/packages/common-core/src/di/roomle-dependency-injection.d.ts +9 -0
  85. package/lib/definitions/packages/common-core/src/environment/background-environment.d.ts +15 -0
  86. package/lib/definitions/packages/common-core/src/environment/dynamic-environment-setting-loader.d.ts +82 -0
  87. package/lib/definitions/packages/common-core/src/environment/environment.d.ts +15 -0
  88. package/lib/definitions/packages/common-core/src/environment/ground-projected-environment.d.ts +14 -0
  89. package/lib/definitions/packages/common-core/src/error-handler.d.ts +18 -0
  90. package/lib/definitions/packages/common-core/src/form-data-util.d.ts +15 -0
  91. package/lib/definitions/packages/common-core/src/input/input-manager.d.ts +105 -0
  92. package/lib/definitions/packages/common-core/src/kernel-access-callback.d.ts +14 -0
  93. package/lib/definitions/packages/common-core/src/kernel-io.d.ts +27 -0
  94. package/lib/definitions/packages/common-core/src/life-cycle-manager.d.ts +13 -0
  95. package/lib/definitions/packages/common-core/src/lightsetting/dynamic-light-setting-loader.d.ts +60 -0
  96. package/lib/definitions/packages/common-core/src/lightsetting/dynamic-light-setting.d.ts +26 -0
  97. package/lib/definitions/packages/common-core/src/lightsetting/light-setting.d.ts +14 -0
  98. package/lib/definitions/packages/common-core/src/logger.d.ts +6 -0
  99. package/lib/definitions/packages/common-core/src/main.d.ts +107 -0
  100. package/lib/definitions/packages/common-core/src/network-layer.d.ts +15 -0
  101. package/lib/definitions/packages/common-core/src/rapi-access.d.ts +184 -0
  102. package/lib/definitions/packages/common-core/src/roomle-sdk.d.ts +45 -0
  103. package/lib/definitions/packages/common-core/src/scene-settings-loader.d.ts +8 -0
  104. package/lib/definitions/packages/common-core/src/script-loader.d.ts +15 -0
  105. package/lib/definitions/packages/common-core/src/services/cache-holder.d.ts +11 -0
  106. package/lib/definitions/packages/common-core/src/services/common-kernel-access.d.ts +131 -0
  107. package/lib/definitions/packages/common-core/src/services/data-syncer.d.ts +41 -0
  108. package/lib/definitions/packages/common-core/src/services/global-callback.d.ts +35 -0
  109. package/lib/definitions/packages/common-core/src/services/hdr-environment-loader.d.ts +18 -0
  110. package/lib/definitions/packages/common-core/src/services/idb-manager.d.ts +19 -0
  111. package/lib/definitions/packages/common-core/src/services/memory-manager.d.ts +10 -0
  112. package/lib/definitions/packages/common-core/src/static-files/environment-maps.d.ts +7 -0
  113. package/lib/definitions/packages/common-core/src/static-files/libs.d.ts +1 -0
  114. package/lib/definitions/packages/common-core/src/static-files/light-settings.d.ts +6 -0
  115. package/lib/definitions/packages/common-core/src/static-files/roomle-core.d.ts +7 -0
  116. package/lib/definitions/packages/common-core/src/static-files/three.d.ts +5 -0
  117. package/lib/definitions/packages/common-core/src/types.d.ts +8 -0
  118. package/lib/definitions/packages/common-core/src/utils/app-context.d.ts +14 -0
  119. package/lib/definitions/packages/common-core/src/utils/benchmark.d.ts +24 -0
  120. package/lib/definitions/packages/common-core/src/utils/browser-helper.d.ts +6 -0
  121. package/lib/definitions/packages/common-core/src/utils/common-utils.d.ts +111 -0
  122. package/lib/definitions/packages/common-core/src/utils/dom-helper.d.ts +25 -0
  123. package/lib/definitions/packages/common-core/src/utils/enumerable.d.ts +3 -0
  124. package/lib/definitions/packages/common-core/src/utils/feature-detection.d.ts +6 -0
  125. package/lib/definitions/packages/common-core/src/utils/fps-couter.d.ts +12 -0
  126. package/lib/definitions/packages/common-core/src/utils/global-init-data.d.ts +18 -0
  127. package/lib/definitions/packages/common-core/src/utils/init-data.d.ts +82 -0
  128. package/lib/definitions/packages/common-core/src/utils/kernel-utils.d.ts +13 -0
  129. package/lib/definitions/packages/common-core/src/utils/local-storage-helper.d.ts +22 -0
  130. package/lib/definitions/packages/common-core/src/utils/local-storage.d.ts +9 -0
  131. package/lib/definitions/packages/common-core/src/utils/material-creator.d.ts +9 -0
  132. package/lib/definitions/packages/common-core/src/utils/math-helper.d.ts +9 -0
  133. package/lib/definitions/packages/common-core/src/utils/parameter-types.d.ts +15 -0
  134. package/lib/definitions/packages/common-core/src/utils/promise-queue.d.ts +21 -0
  135. package/lib/definitions/packages/common-core/src/utils/query-params-helper.d.ts +3 -0
  136. package/lib/definitions/packages/common-core/src/utils/rapi-utils.d.ts +10 -0
  137. package/lib/definitions/packages/common-core/src/utils/shims.d.ts +459 -0
  138. package/lib/definitions/packages/common-core/src/utils/single-promise-factory.d.ts +16 -0
  139. package/lib/definitions/packages/common-core/src/utils/stats-helper.d.ts +15 -0
  140. package/lib/definitions/packages/common-core/src/utils/string-utils.d.ts +1 -0
  141. package/lib/definitions/packages/common-core/src/utils/threejs-utils.d.ts +135 -0
  142. package/lib/definitions/packages/common-core/src/utils/ui-callback.d.ts +16 -0
  143. package/lib/definitions/packages/common-core/src/utils/url-shortener.d.ts +6 -0
  144. package/lib/definitions/packages/common-core/src/utils/waiter.d.ts +10 -0
  145. package/lib/definitions/packages/common-core/src/view-model/configurable-construction-plan-object-view-model.d.ts +21 -0
  146. package/lib/definitions/packages/common-core/src/view-model/configurator-plan-object-view-model.d.ts +19 -0
  147. package/lib/definitions/packages/common-core/src/view-model/configurator-view-model.d.ts +122 -0
  148. package/lib/definitions/packages/common-core/src/view-model/helpers/constants.d.ts +2 -0
  149. package/lib/definitions/packages/common-core/src/view-model/kernel-view-model.d.ts +7 -0
  150. package/lib/definitions/packages/common-core/src/view-model/plan-element-view-model.d.ts +46 -0
  151. package/lib/definitions/packages/common-core/src/view-model/plan-object-view-model.d.ts +33 -0
  152. package/lib/definitions/packages/common-core/src/wasm-loader.d.ts +1 -0
  153. package/lib/definitions/packages/common-core/src/webgl/EnvMapReader.d.ts +18 -0
  154. package/lib/definitions/packages/common-core/src/webgl/baked-shadow-plane.d.ts +14 -0
  155. package/lib/definitions/packages/common-core/src/webgl/configurator-context.d.ts +19 -0
  156. package/lib/definitions/packages/common-core/src/webgl/hdr-env-map-reader.d.ts +18 -0
  157. package/lib/definitions/packages/common-core/src/webgl/image-renderer.d.ts +36 -0
  158. package/lib/definitions/packages/common-core/src/webgl/layer.d.ts +14 -0
  159. package/lib/definitions/packages/common-core/src/webgl/mesh-generator.d.ts +49 -0
  160. package/lib/definitions/packages/common-core/src/webgl/renderer/environment-definition.d.ts +44 -0
  161. package/lib/definitions/packages/common-core/src/webgl/renderer/environment-scene.d.ts +40 -0
  162. package/lib/definitions/packages/common-core/src/webgl/renderer/light-source-detection-debug.d.ts +15 -0
  163. package/lib/definitions/packages/common-core/src/webgl/renderer/light-source-detection.d.ts +87 -0
  164. package/lib/definitions/packages/common-core/src/webgl/renderer/materials/blend-ao-and-shadow-material.d.ts +14 -0
  165. package/lib/definitions/packages/common-core/src/webgl/renderer/materials/blend-ao-pass-depth-material.d.ts +12 -0
  166. package/lib/definitions/packages/common-core/src/webgl/renderer/materials/illumination-buffer-material.d.ts +14 -0
  167. package/lib/definitions/packages/common-core/src/webgl/renderer/materials/normal-depth-material.d.ts +14 -0
  168. package/lib/definitions/packages/common-core/src/webgl/renderer/materials/postprocessing-material-plugin.d.ts +25 -0
  169. package/lib/definitions/packages/common-core/src/webgl/renderer/objects/shadow-ground-plane.d.ts +16 -0
  170. package/lib/definitions/packages/common-core/src/webgl/renderer/outline-renderer.d.ts +39 -0
  171. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/ao-pass.d.ts +61 -0
  172. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/baked-ground-contact-shadow-pass.d.ts +78 -0
  173. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/debug-pass.d.ts +23 -0
  174. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/gbuffer-render-pass.d.ts +69 -0
  175. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/ground-reflection-pass.d.ts +74 -0
  176. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/outline-pass.d.ts +64 -0
  177. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/pass-utility.d.ts +12 -0
  178. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/poisson-denoise-pass.d.ts +68 -0
  179. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/render-pass.d.ts +18 -0
  180. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/scene-render-pass.d.ts +12 -0
  181. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/screen-space-shadow-map-pass.d.ts +208 -0
  182. package/lib/definitions/packages/common-core/src/webgl/renderer/pass/shadow-and-ao-pass.d.ts +109 -0
  183. package/lib/definitions/packages/common-core/src/webgl/renderer/pmrem-environment.d.ts +11 -0
  184. package/lib/definitions/packages/common-core/src/webgl/renderer/render-cache.d.ts +69 -0
  185. package/lib/definitions/packages/common-core/src/webgl/renderer/render-pass-manager.d.ts +73 -0
  186. package/lib/definitions/packages/common-core/src/webgl/renderer/render-utility.d.ts +84 -0
  187. package/lib/definitions/packages/common-core/src/webgl/renderer/scene-renderer-gui.d.ts +16 -0
  188. package/lib/definitions/packages/common-core/src/webgl/renderer/scene-renderer.d.ts +117 -0
  189. package/lib/definitions/packages/common-core/src/webgl/renderer/shader-utility.d.ts +112 -0
  190. package/lib/definitions/packages/common-core/src/webgl/renderer/shaders/ao-shader.d.ts +84 -0
  191. package/lib/definitions/packages/common-core/src/webgl/renderer/shaders/poisson-denoise-shader.d.ts +74 -0
  192. package/lib/definitions/packages/common-core/src/webgl/renderer/shading-settings.d.ts +49 -0
  193. package/lib/definitions/packages/common-core/src/webgl/roomle-component-factory.d.ts +103 -0
  194. package/lib/definitions/packages/common-core/src/webgl/roomle-webgl-renderer-quality-levels.d.ts +5 -0
  195. package/lib/definitions/packages/common-core/src/webgl/roomle-webgl-renderer.d.ts +67 -0
  196. package/lib/definitions/packages/common-core/src/webgl/scene-event-handler.d.ts +16 -0
  197. package/lib/definitions/packages/common-core/src/webgl/scene-manager.d.ts +140 -0
  198. package/lib/definitions/packages/common-core/src/webgl/static-item-loader.d.ts +21 -0
  199. package/lib/definitions/packages/configurator-core/__acceptance__/boot.d.ts +1 -0
  200. package/lib/definitions/packages/configurator-core/mock/configurator-mock-data.d.ts +200 -0
  201. package/lib/definitions/packages/configurator-core/mock/kernel-mock.d.ts +29 -0
  202. package/lib/definitions/packages/configurator-core/src/configurator-debug-api.d.ts +7 -0
  203. package/lib/definitions/packages/configurator-core/src/configurator.d.ts +14 -0
  204. package/lib/definitions/packages/configurator-core/src/input/configurator-input-manager.d.ts +3 -0
  205. package/lib/definitions/packages/configurator-core/src/roomle-configurator.d.ts +684 -0
  206. package/lib/definitions/packages/configurator-core/src/services/configurator-kernel-access-callback.d.ts +19 -0
  207. package/lib/definitions/packages/configurator-core/src/services/configurator-ui-callback.d.ts +294 -0
  208. package/lib/definitions/packages/configurator-core/src/services/unit-formatter.d.ts +46 -0
  209. package/lib/definitions/packages/configurator-core/src/static-files/fonts.d.ts +2 -0
  210. package/lib/definitions/packages/configurator-core/src/static-files/geometries.d.ts +1 -0
  211. package/lib/definitions/packages/configurator-core/src/static-files/settings.d.ts +1 -0
  212. package/lib/definitions/packages/configurator-core/src/static-files/textures.d.ts +1 -0
  213. package/lib/definitions/packages/configurator-core/src/utils/async-dependency-loader.d.ts +5 -0
  214. package/lib/definitions/packages/configurator-core/src/utils/async-helper.d.ts +12 -0
  215. package/lib/definitions/packages/configurator-core/src/utils/component-dimensioning-helper.d.ts +17 -0
  216. package/lib/definitions/packages/configurator-core/src/utils/component-dimensioning.d.ts +35 -0
  217. package/lib/definitions/packages/configurator-core/src/utils/component-raycast-helper.d.ts +22 -0
  218. package/lib/definitions/packages/configurator-core/src/utils/configurator-history.d.ts +47 -0
  219. package/lib/definitions/packages/configurator-core/src/utils/dimensioning-helper.d.ts +61 -0
  220. package/lib/definitions/packages/configurator-core/src/utils/error-messages.d.ts +4 -0
  221. package/lib/definitions/packages/configurator-core/src/utils/event-dispatcher.d.ts +16 -0
  222. package/lib/definitions/packages/configurator-core/src/utils/global-definitions.d.ts +8 -0
  223. package/lib/definitions/packages/configurator-core/src/utils/indexeddb-adapter.d.ts +9 -0
  224. package/lib/definitions/packages/configurator-core/src/utils/injectables.d.ts +2 -0
  225. package/lib/definitions/packages/configurator-core/src/utils/parameter-helper.d.ts +14 -0
  226. package/lib/definitions/packages/configurator-core/src/utils/raycast-helper.d.ts +83 -0
  227. package/lib/definitions/packages/configurator-core/src/utils/selection-handler.d.ts +33 -0
  228. package/lib/definitions/packages/configurator-core/src/utils/sort-helper.d.ts +3 -0
  229. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/animation-helper.d.ts +1 -0
  230. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/async-test-helper.d.ts +1 -0
  231. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/fetch-helper.d.ts +7 -0
  232. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/globals-helper.d.ts +4 -0
  233. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/image-diff.d.ts +10 -0
  234. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/mock-data/materials.d.ts +11 -0
  235. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/mock-data/partlists.d.ts +2 -0
  236. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/preview-helper.d.ts +4 -0
  237. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/ui-mock.d.ts +17 -0
  238. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/utils.d.ts +4 -0
  239. package/lib/definitions/packages/configurator-core/src/utils/test-helpers/webgl-mock.d.ts +10 -0
  240. package/lib/definitions/packages/configurator-core/src/utils/text-with-background.d.ts +23 -0
  241. package/lib/definitions/packages/configurator-core/src/utils/ui-intersection-helper.d.ts +24 -0
  242. package/lib/definitions/packages/configurator-core/src/webgl/banana-for-scale.d.ts +13 -0
  243. package/lib/definitions/packages/configurator-core/src/webgl/configurator-mesh-generator.d.ts +11 -0
  244. package/lib/definitions/packages/configurator-core/src/webgl/configurator-scene-event-handler.d.ts +93 -0
  245. package/lib/definitions/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +154 -0
  246. package/lib/definitions/packages/configurator-core/src/webgl/environment/floor-environment.d.ts +34 -0
  247. package/lib/definitions/packages/configurator-core/src/webgl/lightsetting/default-light-setting.d.ts +15 -0
  248. package/lib/definitions/packages/configurator-core/src/webgl/lightsetting/hd-light-setting.d.ts +15 -0
  249. package/lib/definitions/packages/configurator-core/src/webgl/lightsetting/top-image-light-setting.d.ts +12 -0
  250. package/lib/definitions/packages/configurator-core/src/webgl/plugin-system.d.ts +43 -0
  251. package/lib/definitions/packages/glb-viewer-core/mock/mock-scene-settings.d.ts +1 -0
  252. package/lib/definitions/packages/glb-viewer-core/src/camera-control/adjustable-camera-control-3d.d.ts +8 -0
  253. package/lib/definitions/packages/glb-viewer-core/src/glb-viewer.d.ts +13 -0
  254. package/lib/definitions/packages/glb-viewer-core/src/input/glb-input-manager.d.ts +3 -0
  255. package/lib/definitions/packages/glb-viewer-core/src/roomle-glb-viewer.d.ts +108 -0
  256. package/lib/definitions/packages/glb-viewer-core/src/services/glb-render-worker.d.ts +27 -0
  257. package/lib/definitions/packages/glb-viewer-core/src/utils/global-definitions.d.ts +7 -0
  258. package/lib/definitions/packages/glb-viewer-core/src/utils/injectables.d.ts +2 -0
  259. package/lib/definitions/packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.d.ts +11 -0
  260. package/lib/definitions/packages/glb-viewer-core/src/webgl/glb-viewer-scene-manager.d.ts +35 -0
  261. package/lib/definitions/packages/material-viewer/src/material-viewer.d.ts +13 -0
  262. package/lib/definitions/packages/material-viewer/src/roomle-material-viewer-ui-callback.d.ts +10 -0
  263. package/lib/definitions/packages/material-viewer/src/roomle-material-viewer.d.ts +126 -0
  264. package/lib/definitions/packages/material-viewer/src/utils/global-definitions.d.ts +7 -0
  265. package/lib/definitions/packages/material-viewer/src/utils/injectables.d.ts +2 -0
  266. package/lib/definitions/packages/material-viewer/src/webgl/material-viewer-scene-manager.d.ts +47 -0
  267. package/lib/definitions/packages/planner-core/__tests__/webgl/lightsetting/planner-light-setting.d.ts +1 -0
  268. package/lib/definitions/packages/planner-core/mock/planner-kernel-access-mock.d.ts +22 -0
  269. package/lib/definitions/packages/planner-core/mock/planner-mock-helper.d.ts +39 -0
  270. package/lib/definitions/packages/planner-core/src/camera-control/camera-control-first-person.d.ts +42 -0
  271. package/lib/definitions/packages/planner-core/src/external-object-api-callbacks.d.ts +123 -0
  272. package/lib/definitions/packages/planner-core/src/external-object-api.d.ts +91 -0
  273. package/lib/definitions/packages/planner-core/src/input/planner-input-manager.d.ts +5 -0
  274. package/lib/definitions/packages/planner-core/src/plan-xml.d.ts +1 -0
  275. package/lib/definitions/packages/planner-core/src/planner-main.d.ts +1 -0
  276. package/lib/definitions/packages/planner-core/src/planner.d.ts +13 -0
  277. package/lib/definitions/packages/planner-core/src/roomle-planner-ui-callback.d.ts +229 -0
  278. package/lib/definitions/packages/planner-core/src/roomle-planner.d.ts +381 -0
  279. package/lib/definitions/packages/planner-core/src/services/planner-kernel-access.d.ts +107 -0
  280. package/lib/definitions/packages/planner-core/src/utils/global-definitions.d.ts +13 -0
  281. package/lib/definitions/packages/planner-core/src/utils/injectables.d.ts +2 -0
  282. package/lib/definitions/packages/planner-core/src/utils/map-to-ui-plan-objects.d.ts +4 -0
  283. package/lib/definitions/packages/planner-core/src/utils/measurements.d.ts +68 -0
  284. package/lib/definitions/packages/planner-core/src/utils/planner-scene-manager.d.ts +7 -0
  285. package/lib/definitions/packages/planner-core/src/utils/planner-selection-handler.d.ts +39 -0
  286. package/lib/definitions/packages/planner-core/src/view-model/ceiling-plan-element-view-model.d.ts +7 -0
  287. package/lib/definitions/packages/planner-core/src/view-model/construction-plan-object-view-model.d.ts +19 -0
  288. package/lib/definitions/packages/planner-core/src/view-model/floor-plan-element-view-model.d.ts +21 -0
  289. package/lib/definitions/packages/planner-core/src/view-model/measurement-line-plan-element-view-model.d.ts +82 -0
  290. package/lib/definitions/packages/planner-core/src/view-model/node-plan-element-view-model.d.ts +19 -0
  291. package/lib/definitions/packages/planner-core/src/view-model/plan-view-model.d.ts +130 -0
  292. package/lib/definitions/packages/planner-core/src/view-model/static-plan-object-view-model.d.ts +16 -0
  293. package/lib/definitions/packages/planner-core/src/view-model/wall-plan-element-view-model.d.ts +29 -0
  294. package/lib/definitions/packages/planner-core/src/webgl/construction-top-view.d.ts +29 -0
  295. package/lib/definitions/packages/planner-core/src/webgl/continuous-drawing-helper.d.ts +15 -0
  296. package/lib/definitions/packages/planner-core/src/webgl/draggable-node.d.ts +17 -0
  297. package/lib/definitions/packages/planner-core/src/webgl/lightsetting/planner-light-setting.d.ts +17 -0
  298. package/lib/definitions/packages/planner-core/src/webgl/paper-background.d.ts +4 -0
  299. package/lib/definitions/packages/planner-core/src/webgl/planner-mesh-generator.d.ts +22 -0
  300. package/lib/definitions/packages/planner-core/src/webgl/planner-scene-event-handler.d.ts +165 -0
  301. package/lib/definitions/packages/planner-core/src/webgl/planner-scene-manager.d.ts +203 -0
  302. package/lib/definitions/packages/test-helpers/unit/global-setup.d.ts +1 -0
  303. package/lib/definitions/packages/test-helpers/unit/modules-setup.d.ts +1 -0
  304. package/lib/definitions/packages/tools-core/src/roomle-tools-core.d.ts +37 -0
  305. package/lib/definitions/packages/tools-core/src/tools-core.d.ts +13 -0
  306. package/lib/definitions/packages/tools-core/src/utils/global-definitions.d.ts +7 -0
  307. package/lib/definitions/packages/tools-core/src/utils/injectables.d.ts +2 -0
  308. package/lib/definitions/packages/typings/configurator-kernel-container.d.ts +102 -0
  309. package/lib/definitions/packages/typings/ems.d.ts +27 -0
  310. package/lib/definitions/packages/typings/global-definitions.d.ts +33 -0
  311. package/lib/definitions/packages/typings/helper.d.ts +2 -0
  312. package/lib/definitions/packages/typings/kernel.d.ts +549 -0
  313. package/lib/definitions/packages/typings/planner-kernel-container.d.ts +378 -0
  314. package/lib/definitions/packages/typings/planner.d.ts +312 -0
  315. package/lib/definitions/packages/typings/rapi-types.d.ts +507 -0
  316. package/lib/definitions/packages/typings/shims.d.ts +11 -0
  317. package/lib/definitions/packages/typings/stats.d.ts +4 -0
  318. package/lib/definitions/packages/workers/__tests__/asset-loader.d.ts +1 -0
  319. package/lib/definitions/packages/workers/__tests__/budgeteer.sw.d.ts +1 -0
  320. package/lib/definitions/packages/workers/__tests__/communication-interface.d.ts +1 -0
  321. package/lib/definitions/packages/workers/src/asset-loader.d.ts +8 -0
  322. package/lib/definitions/packages/workers/src/asset-loader.worker.d.ts +1 -0
  323. package/lib/definitions/packages/workers/src/budgeteer/constants.d.ts +41 -0
  324. package/lib/definitions/packages/workers/src/budgeteer.sw.d.ts +17 -0
  325. package/lib/definitions/packages/workers/src/communication-interface.d.ts +29 -0
  326. package/lib/definitions/packages/workers/src/main-thread-to-worker.d.ts +8 -0
  327. package/lib/definitions/packages/workers/src/static-files/workers.d.ts +2 -0
  328. package/lib/definitions/packages/workers/src/worker-to-main-thread.d.ts +6 -0
  329. package/lib/definitions/workers/src/static-files/workers.d.ts +2 -2
  330. package/lib/{dimensioning-helper-3791540c.js → dimensioning-helper-8fada061.js} +2 -2
  331. package/lib/{dimensioning-helper-3791540c.js.map → dimensioning-helper-8fada061.js.map} +1 -1
  332. package/lib/{dimensioning-helper-b53817df.nomodule.js → dimensioning-helper-d47c9edf.nomodule.js} +2 -2
  333. package/lib/{dimensioning-helper-b53817df.nomodule.js.map → dimensioning-helper-d47c9edf.nomodule.js.map} +1 -1
  334. package/lib/{glb-viewer-aea6535d.nomodule.js → glb-viewer-a25b0873.nomodule.js} +2 -2
  335. package/lib/{glb-viewer-aea6535d.nomodule.js.map → glb-viewer-a25b0873.nomodule.js.map} +1 -1
  336. package/lib/{glb-viewer-camera-behaviour-d658f34e.js → glb-viewer-camera-behaviour-52886e1f.js} +2 -2
  337. package/lib/glb-viewer-camera-behaviour-52886e1f.js.map +1 -0
  338. package/lib/{glb-viewer-camera-behaviour-9325772d.nomodule.js → glb-viewer-camera-behaviour-8a296b6a.nomodule.js} +2 -2
  339. package/lib/glb-viewer-camera-behaviour-8a296b6a.nomodule.js.map +1 -0
  340. package/lib/glb-viewer-dummy-app.js +1 -1
  341. package/lib/glb-viewer-dummy-app.js.map +1 -1
  342. package/lib/glb-viewer-dummy.html +21 -8
  343. package/lib/{glb-viewer-b330b54a.js → glb-viewer-e32127db.js} +2 -2
  344. package/lib/{glb-viewer-b330b54a.js.map → glb-viewer-e32127db.js.map} +1 -1
  345. package/lib/glb-viewer-main-97edab3e.js +2 -0
  346. package/lib/glb-viewer-main-97edab3e.js.map +1 -0
  347. package/lib/glb-viewer-main.nomodule.js +1 -1
  348. package/lib/legacy/{banana-for-scale-593ea694.legacy.js → banana-for-scale-e4f59983.legacy.js} +2 -2
  349. package/lib/legacy/{banana-for-scale-593ea694.legacy.js.map → banana-for-scale-e4f59983.legacy.js.map} +1 -1
  350. package/lib/legacy/{camera-behaviour-51fc4c82.legacy.js → camera-behaviour-9b61a95f.legacy.js} +2 -2
  351. package/lib/legacy/{camera-behaviour-51fc4c82.legacy.js.map → camera-behaviour-9b61a95f.legacy.js.map} +1 -1
  352. package/lib/legacy/{component-dimensioning-ab232080.legacy.js → component-dimensioning-ba0543e5.legacy.js} +2 -2
  353. package/lib/legacy/component-dimensioning-ba0543e5.legacy.js.map +1 -0
  354. package/lib/legacy/{component-raycast-helper-de3471f1.legacy.js → component-raycast-helper-7fd4ecbd.legacy.js} +2 -2
  355. package/lib/legacy/component-raycast-helper-7fd4ecbd.legacy.js.map +1 -0
  356. package/lib/legacy/{configurator-864151ae.legacy.js → configurator-bf37ef4f.legacy.js} +2 -2
  357. package/lib/legacy/configurator-bf37ef4f.legacy.js.map +1 -0
  358. package/lib/legacy/configurator-main.legacy.js +1 -1
  359. package/lib/legacy/{continuous-drawing-helper-2556f222.legacy.js → continuous-drawing-helper-a31548e4.legacy.js} +2 -2
  360. package/lib/legacy/continuous-drawing-helper-a31548e4.legacy.js.map +1 -0
  361. package/lib/legacy/{default-light-setting-a6fedb74.legacy.js → default-light-setting-22cacd7f.legacy.js} +2 -2
  362. package/lib/legacy/default-light-setting-22cacd7f.legacy.js.map +1 -0
  363. package/lib/legacy/{dimensioning-helper-278d13e8.legacy.js → dimensioning-helper-ad7b5c7d.legacy.js} +2 -2
  364. package/lib/legacy/{dimensioning-helper-278d13e8.legacy.js.map → dimensioning-helper-ad7b5c7d.legacy.js.map} +1 -1
  365. package/lib/legacy/{glb-viewer-4710bb8c.legacy.js → glb-viewer-277e9923.legacy.js} +2 -2
  366. package/lib/legacy/{glb-viewer-4710bb8c.legacy.js.map → glb-viewer-277e9923.legacy.js.map} +1 -1
  367. package/lib/legacy/{glb-viewer-camera-behaviour-597a4cfb.legacy.js → glb-viewer-camera-behaviour-412fbe86.legacy.js} +2 -2
  368. package/lib/legacy/glb-viewer-camera-behaviour-412fbe86.legacy.js.map +1 -0
  369. package/lib/legacy/glb-viewer-main.legacy.js +1 -1
  370. package/lib/legacy/{material-viewer-e5257a79.legacy.js → material-viewer-52e8295c.legacy.js} +2 -2
  371. package/lib/legacy/material-viewer-52e8295c.legacy.js.map +1 -0
  372. package/lib/legacy/material-viewer-main.legacy.js +1 -1
  373. package/lib/legacy/{planner-155235c4.legacy.js → planner-044479b3.legacy.js} +2 -2
  374. package/lib/legacy/{planner-155235c4.legacy.js.map → planner-044479b3.legacy.js.map} +1 -1
  375. package/lib/legacy/planner-main.legacy.js +1 -1
  376. package/lib/legacy/{roomle-configurator-00b7dfe6.legacy.js → roomle-configurator-5ac0340f.legacy.js} +2 -2
  377. package/lib/legacy/roomle-configurator-5ac0340f.legacy.js.map +1 -0
  378. package/lib/legacy/{roomle-dependency-injection-4b96176b.legacy.js → roomle-dependency-injection-d48c04ad.legacy.js} +3 -3
  379. package/lib/legacy/{roomle-dependency-injection-4b96176b.legacy.js.map → roomle-dependency-injection-d48c04ad.legacy.js.map} +1 -1
  380. package/lib/legacy/roomle-sdk.legacy.js +1 -1
  381. package/lib/legacy/{script-loader-ea8d221c.legacy.js → script-loader-7ad66700.legacy.js} +2 -2
  382. package/lib/legacy/script-loader-7ad66700.legacy.js.map +1 -0
  383. package/lib/legacy/static/{ConfiguratorKernel-cb6bcbc8263848c0.wasm → ConfiguratorKernel-732bdd63f6c11dc1.wasm} +0 -0
  384. package/lib/legacy/static/{RoomleCore-e33e61707a73ca08.wasm → RoomleCore-35e23065d11c19d3.wasm} +0 -0
  385. package/lib/{static/RoomleToolsCore-8cb2e530bd437bbf.wasm → legacy/static/RoomleToolsCore-775a48881eb11aa7.wasm} +0 -0
  386. package/lib/legacy/{stats-helper-fcada6da.legacy.js → stats-helper-196061d5.legacy.js} +2 -2
  387. package/lib/legacy/stats-helper-196061d5.legacy.js.map +1 -0
  388. package/lib/legacy/{tools-core-775b3812.legacy.js → tools-core-5102655f.legacy.js} +2 -2
  389. package/lib/legacy/tools-core-5102655f.legacy.js.map +1 -0
  390. package/lib/{material-viewer-041cb500.nomodule.js → material-viewer-56fc73f4.nomodule.js} +2 -2
  391. package/lib/material-viewer-56fc73f4.nomodule.js.map +1 -0
  392. package/lib/{material-viewer-1c46ac45.js → material-viewer-c29ae4b2.js} +2 -2
  393. package/lib/material-viewer-c29ae4b2.js.map +1 -0
  394. package/lib/material-viewer-dummy-app.js +1 -1
  395. package/lib/material-viewer-dummy-app.js.map +1 -1
  396. package/lib/material-viewer-dummy.html +21 -8
  397. package/lib/material-viewer-main-378d1293.js +2 -0
  398. package/lib/material-viewer-main-378d1293.js.map +1 -0
  399. package/lib/material-viewer-main.nomodule.js +1 -1
  400. package/lib/measure.html +1 -1
  401. package/lib/{planner-2afe2262.js → planner-bba8dcd2.js} +2 -2
  402. package/lib/{planner-2afe2262.js.map → planner-bba8dcd2.js.map} +1 -1
  403. package/lib/planner-dummy-app.js +1 -1
  404. package/lib/planner-dummy-app.js.map +1 -1
  405. package/lib/planner-dummy.html +21 -8
  406. package/lib/{planner-48aaf396.nomodule.js → planner-e02db37f.nomodule.js} +2 -2
  407. package/lib/{planner-48aaf396.nomodule.js.map → planner-e02db37f.nomodule.js.map} +1 -1
  408. package/lib/planner-main-fbab2ff0.js +2 -0
  409. package/lib/planner-main-fbab2ff0.js.map +1 -0
  410. package/lib/planner-main.nomodule.js +1 -1
  411. package/lib/{roomle-configurator-65bdca7b.nomodule.js → roomle-configurator-187c177e.nomodule.js} +2 -2
  412. package/lib/roomle-configurator-187c177e.nomodule.js.map +1 -0
  413. package/lib/{roomle-configurator-b94bf934.js → roomle-configurator-62ae03f5.js} +2 -2
  414. package/lib/roomle-configurator-62ae03f5.js.map +1 -0
  415. package/lib/{roomle-dependency-injection-491a348c.nomodule.js → roomle-dependency-injection-4a8b1ad1.nomodule.js} +3 -3
  416. package/lib/{roomle-dependency-injection-491a348c.nomodule.js.map → roomle-dependency-injection-4a8b1ad1.nomodule.js.map} +1 -1
  417. package/lib/{roomle-dependency-injection-043be118.js → roomle-dependency-injection-6de5766a.js} +3 -3
  418. package/lib/{roomle-dependency-injection-043be118.js.map → roomle-dependency-injection-6de5766a.js.map} +1 -1
  419. package/lib/{roomle-sdk-ebc300ad.js → roomle-sdk-bac3fd49.js} +2 -2
  420. package/lib/roomle-sdk-bac3fd49.js.map +1 -0
  421. package/lib/roomle-sdk.nomodule.js +1 -1
  422. package/lib/{script-loader-a6b1634c.js → script-loader-3fdcb546.js} +2 -2
  423. package/lib/script-loader-3fdcb546.js.map +1 -0
  424. package/lib/{script-loader-fc96beb7.nomodule.js → script-loader-a1b573de.nomodule.js} +2 -2
  425. package/lib/script-loader-a1b573de.nomodule.js.map +1 -0
  426. package/lib/static/ConfiguratorKernel-44357cf7219395c9.js +1 -86
  427. package/lib/static/ConfiguratorKernel-44357cf7219395c9.js.map +1 -0
  428. package/lib/static/{ConfiguratorKernel-cb6bcbc8263848c0.wasm → ConfiguratorKernel-732bdd63f6c11dc1.wasm} +0 -0
  429. package/lib/static/RoomleCore-077080ce4dd282d0.js +1 -90
  430. package/lib/static/RoomleCore-077080ce4dd282d0.js.map +1 -0
  431. package/lib/static/{RoomleCore-e33e61707a73ca08.wasm → RoomleCore-35e23065d11c19d3.wasm} +0 -0
  432. package/lib/static/RoomleToolsCore-5dffa0f3345223bd.js +1 -86
  433. package/lib/static/RoomleToolsCore-5dffa0f3345223bd.js.map +1 -0
  434. package/lib/{legacy/static/RoomleToolsCore-8cb2e530bd437bbf.wasm → static/RoomleToolsCore-775a48881eb11aa7.wasm} +0 -0
  435. package/lib/static/Tween-d57ee5d181fce582.js +1 -767
  436. package/lib/static/Tween-d57ee5d181fce582.js.map +1 -0
  437. package/lib/static/asset-loader.worker-1735a5fb1e401244.js +1 -2
  438. package/lib/static/asset-loader.worker-1735a5fb1e401244.js.map +1 -0
  439. package/lib/static/asset-loader.worker.js +1 -1
  440. package/lib/static/asset-loader.worker.js.map +1 -1
  441. package/lib/static/budgeteer.sw-a4a226d2fc19672e.js +1 -2
  442. package/lib/static/budgeteer.sw-a4a226d2fc19672e.js.map +1 -0
  443. package/lib/static/budgeteer.sw.js +1 -1
  444. package/lib/static/budgeteer.sw.js.map +1 -1
  445. package/lib/static/jszip.min-c96375d50e72b199.js +1 -2
  446. package/lib/static/jszip.min-c96375d50e72b199.js.map +1 -0
  447. package/lib/static/worker-to-main-thread-3ad1cee7.js +1 -1
  448. package/lib/static/worker-to-main-thread-3ad1cee7.js.map +1 -1
  449. package/lib/{stats-helper-7a40c853.js → stats-helper-1d140605.js} +2 -2
  450. package/lib/stats-helper-1d140605.js.map +1 -0
  451. package/lib/{stats-helper-483cd12f.nomodule.js → stats-helper-3bb6f7e7.nomodule.js} +2 -2
  452. package/lib/stats-helper-3bb6f7e7.nomodule.js.map +1 -0
  453. package/lib/system/s.min.js +1 -1
  454. package/lib/system/s.min.js.map +1 -1
  455. package/lib/{tools-core-a3043617.nomodule.js → tools-core-8a7b9b4c.nomodule.js} +2 -2
  456. package/lib/tools-core-8a7b9b4c.nomodule.js.map +1 -0
  457. package/lib/{tools-core-f258f30f.js → tools-core-a1803081.js} +2 -2
  458. package/lib/tools-core-a1803081.js.map +1 -0
  459. package/lib/transparency.html +22 -8
  460. package/package.json +2 -2
  461. package/lib/component-dimensioning-4aca065a.js.map +0 -1
  462. package/lib/component-dimensioning-9ff33293.nomodule.js.map +0 -1
  463. package/lib/component-raycast-helper-ad3cc50d.js.map +0 -1
  464. package/lib/component-raycast-helper-d5ddab65.nomodule.js.map +0 -1
  465. package/lib/configurator-0ac7c962.nomodule.js.map +0 -1
  466. package/lib/configurator-79c102cc.js.map +0 -1
  467. package/lib/configurator-main-56a1b42c.js +0 -2
  468. package/lib/configurator-main-56a1b42c.js.map +0 -1
  469. package/lib/continuous-drawing-helper-4fa1eb65.nomodule.js.map +0 -1
  470. package/lib/continuous-drawing-helper-85fa88c5.js.map +0 -1
  471. package/lib/default-light-setting-23ff4500.js.map +0 -1
  472. package/lib/default-light-setting-d4c4c06d.nomodule.js.map +0 -1
  473. package/lib/embedding-dummy-app.js +0 -0
  474. package/lib/embedding-dummy-app.js.map +0 -1
  475. package/lib/embedding-dummy.html +0 -141
  476. package/lib/glb-viewer-camera-behaviour-9325772d.nomodule.js.map +0 -1
  477. package/lib/glb-viewer-camera-behaviour-d658f34e.js.map +0 -1
  478. package/lib/glb-viewer-main-1f625ba1.js +0 -2
  479. package/lib/glb-viewer-main-1f625ba1.js.map +0 -1
  480. package/lib/legacy/component-dimensioning-ab232080.legacy.js.map +0 -1
  481. package/lib/legacy/component-raycast-helper-de3471f1.legacy.js.map +0 -1
  482. package/lib/legacy/configurator-864151ae.legacy.js.map +0 -1
  483. package/lib/legacy/continuous-drawing-helper-2556f222.legacy.js.map +0 -1
  484. package/lib/legacy/default-light-setting-a6fedb74.legacy.js.map +0 -1
  485. package/lib/legacy/glb-viewer-camera-behaviour-597a4cfb.legacy.js.map +0 -1
  486. package/lib/legacy/material-viewer-e5257a79.legacy.js.map +0 -1
  487. package/lib/legacy/roomle-configurator-00b7dfe6.legacy.js.map +0 -1
  488. package/lib/legacy/script-loader-ea8d221c.legacy.js.map +0 -1
  489. package/lib/legacy/stats-helper-fcada6da.legacy.js.map +0 -1
  490. package/lib/legacy/tools-core-775b3812.legacy.js.map +0 -1
  491. package/lib/material-viewer-041cb500.nomodule.js.map +0 -1
  492. package/lib/material-viewer-1c46ac45.js.map +0 -1
  493. package/lib/material-viewer-main-4e01b15a.js +0 -2
  494. package/lib/material-viewer-main-4e01b15a.js.map +0 -1
  495. package/lib/planner-main-0a80cac5.js +0 -2
  496. package/lib/planner-main-0a80cac5.js.map +0 -1
  497. package/lib/roomle-configurator-65bdca7b.nomodule.js.map +0 -1
  498. package/lib/roomle-configurator-b94bf934.js.map +0 -1
  499. package/lib/roomle-sdk-ebc300ad.js.map +0 -1
  500. package/lib/script-loader-a6b1634c.js.map +0 -1
  501. package/lib/script-loader-fc96beb7.nomodule.js.map +0 -1
  502. package/lib/stats-helper-483cd12f.nomodule.js.map +0 -1
  503. package/lib/stats-helper-7a40c853.js.map +0 -1
  504. package/lib/tools-core-a3043617.nomodule.js.map +0 -1
  505. package/lib/tools-core-f258f30f.js.map +0 -1
  506. /package/lib/definitions/{common-core/__tests__/async-guard.d.ts → packages/benchmark/budgeteer-measure.d.ts} +0 -0
  507. /package/lib/definitions/{common-core/__tests__/camera-control-2d.d.ts → packages/common-core/__tests__/async-guard.d.ts} +0 -0
  508. /package/lib/definitions/{common-core/__tests__/camera-control-3d.d.ts → packages/common-core/__tests__/camera-control-2d.d.ts} +0 -0
  509. /package/lib/definitions/{common-core/__tests__/camera-mode-helper.d.ts → packages/common-core/__tests__/camera-control-3d.d.ts} +0 -0
  510. /package/lib/definitions/{common-core/__tests__/common-kernel-access.d.ts → packages/common-core/__tests__/camera-mode-helper.d.ts} +0 -0
  511. /package/lib/definitions/{common-core/__tests__/configurator-kernel-access.d.ts → packages/common-core/__tests__/common-kernel-access.d.ts} +0 -0
  512. /package/lib/definitions/{common-core/__tests__/data-syncer.d.ts → packages/common-core/__tests__/configurator-kernel-access.d.ts} +0 -0
  513. /package/lib/definitions/{common-core/__tests__/dependency-injection.d.ts → packages/common-core/__tests__/data-syncer.d.ts} +0 -0
  514. /package/lib/definitions/{common-core/__tests__/dom-helper.d.ts → packages/common-core/__tests__/dependency-injection.d.ts} +0 -0
  515. /package/lib/definitions/{common-core/__tests__/dynamic-environment-setting-loader.d.ts → packages/common-core/__tests__/dom-helper.d.ts} +0 -0
  516. /package/lib/definitions/{common-core/__tests__/dynamic-light-setting-loader.d.ts → packages/common-core/__tests__/dynamic-environment-setting-loader.d.ts} +0 -0
  517. /package/lib/definitions/{common-core/__tests__/input-manager.d.ts → packages/common-core/__tests__/dynamic-light-setting-loader.d.ts} +0 -0
  518. /package/lib/definitions/{common-core → packages/common-core}/__tests__/image-renderer.d.ts +0 -0
  519. /package/lib/definitions/{common-core/__tests__/life-cycle-manager.d.ts → packages/common-core/__tests__/input-manager.d.ts} +0 -0
  520. /package/lib/definitions/{common-core/__tests__/main.d.ts → packages/common-core/__tests__/life-cycle-manager.d.ts} +0 -0
  521. /package/lib/definitions/{common-core/__tests__/rapi-access.d.ts → packages/common-core/__tests__/main.d.ts} +0 -0
  522. /package/lib/definitions/{common-core/__tests__/raycast-helper.d.ts → packages/common-core/__tests__/rapi-access.d.ts} +0 -0
  523. /package/lib/definitions/{common-core/__tests__/roomle-component-factory.d.ts → packages/common-core/__tests__/raycast-helper.d.ts} +0 -0
  524. /package/lib/definitions/{common-core/__tests__/script-loader.d.ts → packages/common-core/__tests__/roomle-component-factory.d.ts} +0 -0
  525. /package/lib/definitions/{common-core/__tests__/static-item-loader.d.ts → packages/common-core/__tests__/script-loader.d.ts} +0 -0
  526. /package/lib/definitions/{common-core/__tests__/ui-callback.d.ts → packages/common-core/__tests__/static-item-loader.d.ts} +0 -0
  527. /package/lib/definitions/{common-core/__tests__/utils/app-context.d.ts → packages/common-core/__tests__/ui-callback.d.ts} +0 -0
  528. /package/lib/definitions/{common-core/__tests__/utils/benchmark.d.ts → packages/common-core/__tests__/utils/app-context.d.ts} +0 -0
  529. /package/lib/definitions/{common-core/__tests__/utils/browser-helper.d.ts → packages/common-core/__tests__/utils/benchmark.d.ts} +0 -0
  530. /package/lib/definitions/{common-core/__tests__/utils/common-utils.d.ts → packages/common-core/__tests__/utils/browser-helper.d.ts} +0 -0
  531. /package/lib/definitions/{common-core/__tests__/utils/enumerable.d.ts → packages/common-core/__tests__/utils/common-utils.d.ts} +0 -0
  532. /package/lib/definitions/{common-core → packages/common-core}/__tests__/utils/dom-helper.d.ts +0 -0
  533. /package/lib/definitions/{common-core/__tests__/utils/kernel-utils.d.ts → packages/common-core/__tests__/utils/enumerable.d.ts} +0 -0
  534. /package/lib/definitions/{common-core → packages/common-core}/__tests__/utils/exposable.d.ts +0 -0
  535. /package/lib/definitions/{common-core → packages/common-core}/__tests__/utils/expose-for.d.ts +0 -0
  536. /package/lib/definitions/{common-core/__tests__/utils/local-storage-helper.d.ts → packages/common-core/__tests__/utils/kernel-utils.d.ts} +0 -0
  537. /package/lib/definitions/{common-core/__tests__/utils/map-to-ui-plan-objects.d.ts → packages/common-core/__tests__/utils/local-storage-helper.d.ts} +0 -0
  538. /package/lib/definitions/{common-core/__tests__/utils/math-helper.d.ts → packages/common-core/__tests__/utils/map-to-ui-plan-objects.d.ts} +0 -0
  539. /package/lib/definitions/{common-core/__tests__/utils/measurements.d.ts → packages/common-core/__tests__/utils/math-helper.d.ts} +0 -0
  540. /package/lib/definitions/{common-core/__tests__/utils/promise-queue.d.ts → packages/common-core/__tests__/utils/measurements.d.ts} +0 -0
  541. /package/lib/definitions/{common-core/__tests__/utils/query-params-helper.d.ts → packages/common-core/__tests__/utils/promise-queue.d.ts} +0 -0
  542. /package/lib/definitions/{common-core/__tests__/utils/rapi-utils.d.ts → packages/common-core/__tests__/utils/query-params-helper.d.ts} +0 -0
  543. /package/lib/definitions/{common-core/__tests__/utils/threejs-utils.d.ts → packages/common-core/__tests__/utils/rapi-utils.d.ts} +0 -0
  544. /package/lib/definitions/{common-core/__tests__/utils/validate-params.d.ts → packages/common-core/__tests__/utils/threejs-utils.d.ts} +0 -0
  545. /package/lib/definitions/{common-core/__tests__/utils/waiter.d.ts → packages/common-core/__tests__/utils/validate-params.d.ts} +0 -0
  546. /package/lib/definitions/{common-core/__tests__/view-model/configurator-view-model.d.ts → packages/common-core/__tests__/utils/waiter.d.ts} +0 -0
  547. /package/lib/definitions/{common-core/__tests__/view-model/construction-plan-object-view-model.d.ts → packages/common-core/__tests__/view-model/configurator-view-model.d.ts} +0 -0
  548. /package/lib/definitions/{common-core/__tests__/view-model/measurement-line-plan-element-view-model.d.ts → packages/common-core/__tests__/view-model/construction-plan-object-view-model.d.ts} +0 -0
  549. /package/lib/definitions/{common-core/__tests__/view-model/plan-element-view-model.d.ts → packages/common-core/__tests__/view-model/measurement-line-plan-element-view-model.d.ts} +0 -0
  550. /package/lib/definitions/{common-core/__tests__/view-model/wall-plan-element-view-model.d.ts → packages/common-core/__tests__/view-model/plan-element-view-model.d.ts} +0 -0
  551. /package/lib/definitions/{configurator-core/__tests__/configurator-mesh-generator.d.ts → packages/common-core/__tests__/view-model/wall-plan-element-view-model.d.ts} +0 -0
  552. /package/lib/definitions/{configurator-core/__tests__/configurator-scene-event-handler.d.ts → packages/configurator-core/__tests__/configurator-mesh-generator.d.ts} +0 -0
  553. /package/lib/definitions/{configurator-core/__tests__/configurator-scene-manager.d.ts → packages/configurator-core/__tests__/configurator-scene-event-handler.d.ts} +0 -0
  554. /package/lib/definitions/{configurator-core/__tests__/configurator.d.ts → packages/configurator-core/__tests__/configurator-scene-manager.d.ts} +0 -0
  555. /package/lib/definitions/{configurator-core/__tests__/environment/floor-environment.d.ts → packages/configurator-core/__tests__/configurator.d.ts} +0 -0
  556. /package/lib/definitions/{configurator-core/__tests__/plugin-system.d.ts → packages/configurator-core/__tests__/environment/floor-environment.d.ts} +0 -0
  557. /package/lib/definitions/{configurator-core/__tests__/roomle-configurator.d.ts → packages/configurator-core/__tests__/plugin-system.d.ts} +0 -0
  558. /package/lib/definitions/{configurator-core/__tests__/scene-event-handler.d.ts → packages/configurator-core/__tests__/roomle-configurator.d.ts} +0 -0
  559. /package/lib/definitions/{configurator-core/__tests__/services/unit-formatter.d.ts → packages/configurator-core/__tests__/scene-event-handler.d.ts} +0 -0
  560. /package/lib/definitions/{configurator-core/__tests__/utils/component-dimensioning-helper.d.ts → packages/configurator-core/__tests__/services/unit-formatter.d.ts} +0 -0
  561. /package/lib/definitions/{configurator-core/__tests__/utils/component-dimensioning.d.ts → packages/configurator-core/__tests__/utils/component-dimensioning-helper.d.ts} +0 -0
  562. /package/lib/definitions/{configurator-core/__tests__/utils/component-raycast-helper.d.ts → packages/configurator-core/__tests__/utils/component-dimensioning.d.ts} +0 -0
  563. /package/lib/definitions/{configurator-core/__tests__/utils/configurator-history.d.ts → packages/configurator-core/__tests__/utils/component-raycast-helper.d.ts} +0 -0
  564. /package/lib/definitions/{configurator-core/__tests__/utils/dimensioning-helper.d.ts → packages/configurator-core/__tests__/utils/configurator-history.d.ts} +0 -0
  565. /package/lib/definitions/{glb-viewer-core/__tests__/adjujstable-camera-control-3d.d.ts → packages/configurator-core/__tests__/utils/dimensioning-helper.d.ts} +0 -0
  566. /package/lib/definitions/{glb-viewer-core/__tests__/glb-viewer-scene-manager.d.ts → packages/configurator-core/src/configurator-main.d.ts} +0 -0
  567. /package/lib/definitions/{glb-viewer-core/__tests__/roomle-glb-viewer.d.ts → packages/glb-viewer-core/__tests__/adjujstable-camera-control-3d.d.ts} +0 -0
  568. /package/lib/definitions/{material-viewer/__tests__/roomle-material-viewer.d.ts → packages/glb-viewer-core/__tests__/glb-viewer-scene-manager.d.ts} +0 -0
  569. /package/lib/definitions/{planner-core/__tests__/Roomle-tool-cores.d.ts → packages/glb-viewer-core/__tests__/roomle-glb-viewer.d.ts} +0 -0
  570. /package/lib/definitions/{planner-core/__tests__/camera-control-first-person.d.ts → packages/glb-viewer-core/src/glb-viewer-main.d.ts} +0 -0
  571. /package/lib/definitions/{planner-core/__tests__/configurable-configurator-plan-object-view-model.d.ts → packages/material-viewer/__tests__/roomle-material-viewer.d.ts} +0 -0
  572. /package/lib/definitions/{planner-core/__tests__/configurator-plan-object-view-model.d.ts → packages/material-viewer/src/material-viewer-main.d.ts} +0 -0
  573. /package/lib/definitions/{planner-core/__tests__/plan-object-view-model.d.ts → packages/planner-core/__tests__/Roomle-tool-cores.d.ts} +0 -0
  574. /package/lib/definitions/{planner-core/__tests__/plan-view-model.d.ts → packages/planner-core/__tests__/camera-control-first-person.d.ts} +0 -0
  575. /package/lib/definitions/{planner-core/__tests__/planner-input-manager.d.ts → packages/planner-core/__tests__/configurable-configurator-plan-object-view-model.d.ts} +0 -0
  576. /package/lib/definitions/{planner-core/__tests__/planner-kernel-access.d.ts → packages/planner-core/__tests__/configurator-plan-object-view-model.d.ts} +0 -0
  577. /package/lib/definitions/{planner-core/__tests__/planner-mesh-generator.d.ts → packages/planner-core/__tests__/plan-object-view-model.d.ts} +0 -0
  578. /package/lib/definitions/{planner-core/__tests__/planner-scene-event-handler.d.ts → packages/planner-core/__tests__/plan-view-model.d.ts} +0 -0
  579. /package/lib/definitions/{planner-core/__tests__/planner-scene-manager.d.ts → packages/planner-core/__tests__/planner-input-manager.d.ts} +0 -0
  580. /package/lib/definitions/{planner-core/__tests__/planner-selection-handler.d.ts → packages/planner-core/__tests__/planner-kernel-access.d.ts} +0 -0
  581. /package/lib/definitions/{planner-core/__tests__/planner.d.ts → packages/planner-core/__tests__/planner-mesh-generator.d.ts} +0 -0
  582. /package/lib/definitions/{planner-core/__tests__/roomle-planner.d.ts → packages/planner-core/__tests__/planner-scene-event-handler.d.ts} +0 -0
  583. /package/lib/definitions/{planner-core/__tests__/static-plan-object-view-model.d.ts → packages/planner-core/__tests__/planner-scene-manager.d.ts} +0 -0
  584. /package/lib/definitions/{planner-core/__tests__/webgl/lightsetting/planner-light-setting.d.ts → packages/planner-core/__tests__/planner-selection-handler.d.ts} +0 -0
  585. /package/lib/definitions/{workers/__tests__/asset-loader.d.ts → packages/planner-core/__tests__/planner.d.ts} +0 -0
  586. /package/lib/definitions/{workers/__tests__/budgeteer.sw.d.ts → packages/planner-core/__tests__/roomle-planner.d.ts} +0 -0
  587. /package/lib/definitions/{workers/__tests__/communication-interface.d.ts → packages/planner-core/__tests__/static-plan-object-view-model.d.ts} +0 -0
@@ -1,767 +1 @@
1
- /**
2
- * Tween.js - Licensed under the MIT license
3
- * https://github.com/tweenjs/tween.js
4
- * ----------------------------------------------
5
- *
6
- * See https://github.com/tweenjs/tween.js/graphs/contributors for the full list of contributors.
7
- * Thank you all, you're awesome!
8
- */
9
-
10
- // 666 //
11
-
12
- var _Group = function () {
13
- this._tweens = {};
14
- this._tweensAddedDuringUpdate = {};
15
- };
16
-
17
- _Group.prototype = {
18
- getAll: function () {
19
- return Object.keys(this._tweens).map(function (tweenId) {
20
- return this._tweens[tweenId];
21
- }.bind(this));
22
- },
23
-
24
- removeAll: function () {
25
- this._tweens = {};
26
- },
27
-
28
- add: function (tween) {
29
- this._tweens[tween.getId()] = tween;
30
- this._tweensAddedDuringUpdate[tween.getId()] = tween;
31
- },
32
-
33
- remove: function (tween) {
34
- delete this._tweens[tween.getId()];
35
- delete this._tweensAddedDuringUpdate[tween.getId()];
36
- },
37
-
38
- update: function (time, preserve) {
39
- var tweenIds = Object.keys(this._tweens);
40
-
41
- if (tweenIds.length === 0) {
42
- return false;
43
- }
44
-
45
- time = time !== undefined ? time : TWEEN.now();
46
-
47
- // Tweens are updated in "batches". If you add a new tween during an update, then the
48
- // new tween will be updated in the next batch.
49
- // If you remove a tween during an update, it may or may not be updated. However,
50
- // if the removed tween was added during the current batch, then it will not be updated.
51
- while (tweenIds.length > 0) {
52
- this._tweensAddedDuringUpdate = {};
53
-
54
- for (var i = 0; i < tweenIds.length; i++) {
55
- var tween = this._tweens[tweenIds[i]];
56
-
57
- if (tween && tween.update(time) === false) {
58
- tween._isPlaying = false;
59
-
60
- if (!preserve) {
61
- delete this._tweens[tweenIds[i]];
62
- }
63
- }
64
- }
65
-
66
- tweenIds = Object.keys(this._tweensAddedDuringUpdate);
67
- }
68
-
69
- return true;
70
- }
71
- };
72
-
73
- var TWEEN = new _Group();
74
-
75
- TWEEN.Group = _Group;
76
- TWEEN._nextId = 0;
77
- TWEEN.nextId = function () {
78
- return TWEEN._nextId++;
79
- };
80
-
81
- // Include a performance.now polyfill.
82
- // In node.js, use process.hrtime.
83
- if (typeof (window) === 'undefined' && typeof (process) !== 'undefined') {
84
- TWEEN.now = function () {
85
- var time = process.hrtime();
86
-
87
- // Convert [seconds, nanoseconds] to milliseconds.
88
- return time[0] * 1000 + time[1] / 1000000;
89
- };
90
- }
91
- // In a browser, use window.performance.now if it is available.
92
- else if (typeof (window) !== 'undefined' &&
93
- window.performance !== undefined &&
94
- window.performance.now !== undefined) {
95
- // This must be bound, because directly assigning this function
96
- // leads to an invocation exception in Chrome.
97
- TWEEN.now = window.performance.now.bind(window.performance);
98
- }
99
- // Use Date.now if it is available.
100
- else if (Date.now !== undefined) {
101
- TWEEN.now = Date.now;
102
- }
103
- // Otherwise, use 'new Date().getTime()'.
104
- else {
105
- TWEEN.now = function () {
106
- return new Date().getTime();
107
- };
108
- }
109
-
110
- TWEEN.Tween = function (object, group) {
111
- this._object = object;
112
- this._valuesStart = {};
113
- this._valuesEnd = {};
114
- this._valuesStartRepeat = {};
115
- this._duration = 1000;
116
- this._repeat = 0;
117
- this._repeatDelayTime = undefined;
118
- this._yoyo = false;
119
- this._isPlaying = false;
120
- this._reversed = false;
121
- this._delayTime = 0;
122
- this._startTime = null;
123
- this._easingFunction = TWEEN.Easing.Linear.None;
124
- this._interpolationFunction = TWEEN.Interpolation.Linear;
125
- this._chainedTweens = [];
126
- this._onStartCallback = null;
127
- this._onStartCallbackFired = false;
128
- this._onUpdateCallback = null;
129
- this._onCompleteCallback = null;
130
- this._onStopCallback = null;
131
- this._group = group || TWEEN;
132
- this._id = TWEEN.nextId();
133
- };
134
-
135
- TWEEN.Tween.prototype = {
136
- getId: function getId() {
137
- return this._id;
138
- },
139
-
140
- isPlaying: function isPlaying() {
141
- return this._isPlaying;
142
- },
143
-
144
- to: function to(properties, duration) {
145
- this._valuesEnd = properties;
146
-
147
- if (duration !== undefined) {
148
- this._duration = duration;
149
- }
150
-
151
- return this;
152
- },
153
-
154
- start: function start(time) {
155
- this._group.add(this);
156
-
157
- this._isPlaying = true;
158
-
159
- this._onStartCallbackFired = false;
160
-
161
- this._startTime = time !== undefined ? typeof time === 'string' ? TWEEN.now() + parseFloat(time) : time : TWEEN.now();
162
- this._startTime += this._delayTime;
163
-
164
- for (var property in this._valuesEnd) {
165
- // Check if an Array was provided as property value
166
- if (this._valuesEnd[property] instanceof Array) {
167
- if (this._valuesEnd[property].length === 0) {
168
- continue;
169
- }
170
-
171
- // Create a local copy of the Array with the start value at the front
172
- this._valuesEnd[property] = [this._object[property]].concat(this._valuesEnd[property]);
173
-
174
- }
175
-
176
- // If `to()` specifies a property that doesn't exist in the source object,
177
- // we should not set that property in the object
178
- if (this._object[property] === undefined) {
179
- continue;
180
- }
181
-
182
- // Save the starting value.
183
- this._valuesStart[property] = this._object[property];
184
-
185
- if ((this._valuesStart[property] instanceof Array) === false) {
186
- this._valuesStart[property] *= 1.0; // Ensures we're using numbers, not strings
187
- }
188
-
189
- this._valuesStartRepeat[property] = this._valuesStart[property] || 0;
190
- }
191
-
192
- return this;
193
- },
194
-
195
- stop: function stop() {
196
- if (!this._isPlaying) {
197
- return this;
198
- }
199
-
200
- this._group.remove(this);
201
- this._isPlaying = false;
202
-
203
- if (this._onStopCallback !== null) {
204
- this._onStopCallback(this._object);
205
- }
206
-
207
- this.stopChainedTweens();
208
- return this;
209
- },
210
-
211
- end: function end() {
212
- this.update(this._startTime + this._duration);
213
- return this;
214
- },
215
-
216
- stopChainedTweens: function stopChainedTweens() {
217
-
218
- for (var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i++) {
219
- this._chainedTweens[i].stop();
220
- }
221
- },
222
-
223
- delay: function delay(amount) {
224
- this._delayTime = amount;
225
- return this;
226
- },
227
-
228
- repeat: function repeat(times) {
229
- this._repeat = times;
230
- return this;
231
- },
232
-
233
- repeatDelay: function repeatDelay(amount) {
234
- this._repeatDelayTime = amount;
235
- return this;
236
- },
237
-
238
- yoyo: function yoyo(yoyo) {
239
- this._yoyo = yoyo;
240
- return this;
241
- },
242
-
243
- easing: function easing(easing) {
244
- this._easingFunction = easing;
245
- return this;
246
- },
247
-
248
- interpolation: function interpolation(interpolation) {
249
- this._interpolationFunction = interpolation;
250
- return this;
251
- },
252
-
253
- chain: function chain() {
254
- this._chainedTweens = arguments;
255
- return this;
256
- },
257
-
258
- onStart: function onStart(callback) {
259
- this._onStartCallback = callback;
260
- return this;
261
- },
262
-
263
- onUpdate: function onUpdate(callback) {
264
- this._onUpdateCallback = callback;
265
- return this;
266
- },
267
-
268
- onComplete: function onComplete(callback) {
269
- this._onCompleteCallback = callback;
270
- return this;
271
- },
272
-
273
- onStop: function onStop(callback) {
274
- this._onStopCallback = callback;
275
- return this;
276
- },
277
-
278
- update: function update(time) {
279
- var property;
280
- var elapsed;
281
- var value;
282
-
283
- if (time < this._startTime) {
284
- return true;
285
- }
286
-
287
- if (this._onStartCallbackFired === false) {
288
- if (this._onStartCallback !== null) {
289
- this._onStartCallback(this._object);
290
- }
291
-
292
- this._onStartCallbackFired = true;
293
- }
294
-
295
- elapsed = (time - this._startTime) / this._duration;
296
- elapsed = elapsed > 1 ? 1 : elapsed;
297
-
298
- value = this._easingFunction(elapsed);
299
-
300
- for (property in this._valuesEnd) {
301
- // Don't update properties that do not exist in the source object
302
- if (this._valuesStart[property] === undefined) {
303
- continue;
304
- }
305
-
306
- var start = this._valuesStart[property] || 0;
307
- var end = this._valuesEnd[property];
308
-
309
- if (end instanceof Array) {
310
- this._object[property] = this._interpolationFunction(end, value);
311
- } else {
312
- // Parses relative end values with start as base (e.g.: +10, -3)
313
- if (typeof (end) === 'string') {
314
-
315
- if (end.charAt(0) === '+' || end.charAt(0) === '-') {
316
- end = start + parseFloat(end);
317
- } else {
318
- end = parseFloat(end);
319
- }
320
- }
321
-
322
- // Protect against non numeric properties.
323
- if (typeof (end) === 'number') {
324
- this._object[property] = start + (end - start) * value;
325
- }
326
- }
327
- }
328
-
329
- if (this._onUpdateCallback !== null) {
330
- this._onUpdateCallback(this._object);
331
- }
332
-
333
- if (elapsed === 1) {
334
- if (this._repeat > 0) {
335
- if (isFinite(this._repeat)) {
336
- this._repeat--;
337
- }
338
-
339
- // Reassign starting values, restart by making startTime = now
340
- for (property in this._valuesStartRepeat) {
341
-
342
- if (typeof (this._valuesEnd[property]) === 'string') {
343
- this._valuesStartRepeat[property] = this._valuesStartRepeat[property] + parseFloat(this._valuesEnd[property]);
344
- }
345
-
346
- if (this._yoyo) {
347
- var tmp = this._valuesStartRepeat[property];
348
-
349
- this._valuesStartRepeat[property] = this._valuesEnd[property];
350
- this._valuesEnd[property] = tmp;
351
- }
352
-
353
- this._valuesStart[property] = this._valuesStartRepeat[property];
354
- }
355
-
356
- if (this._yoyo) {
357
- this._reversed = !this._reversed;
358
- }
359
-
360
- if (this._repeatDelayTime !== undefined) {
361
- this._startTime = time + this._repeatDelayTime;
362
- } else {
363
- this._startTime = time + this._delayTime;
364
- }
365
-
366
- return true;
367
- } else {
368
- if (this._onCompleteCallback !== null) {
369
- this._onCompleteCallback(this._object);
370
- }
371
-
372
- for (var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i++) {
373
- // Make the chained tweens start exactly at the time they should,
374
- // even if the `update()` method was called way past the duration of the tween
375
- this._chainedTweens[i].start(this._startTime + this._duration);
376
- }
377
-
378
- return false;
379
- }
380
- }
381
-
382
- return true;
383
-
384
- }
385
- };
386
-
387
- TWEEN.Easing = {
388
- Linear: {
389
- None: function (k) {
390
- return k;
391
-
392
- }
393
-
394
- },
395
-
396
- Quadratic: {
397
- In: function (k) {
398
- return k * k;
399
- },
400
-
401
- Out: function (k) {
402
- return k * (2 - k);
403
- },
404
-
405
- InOut: function (k) {
406
- if ((k *= 2) < 1) {
407
- return 0.5 * k * k;
408
- }
409
-
410
- return -0.5 * (--k * (k - 2) - 1);
411
-
412
- }
413
-
414
- },
415
-
416
- Cubic: {
417
- In: function (k) {
418
- return k * k * k;
419
- },
420
-
421
- Out: function (k) {
422
- return --k * k * k + 1;
423
- },
424
-
425
- InOut: function (k) {
426
- if ((k *= 2) < 1) {
427
- return 0.5 * k * k * k;
428
- }
429
-
430
- return 0.5 * ((k -= 2) * k * k + 2);
431
-
432
- }
433
-
434
- },
435
-
436
- Quartic: {
437
- In: function (k) {
438
- return k * k * k * k;
439
- },
440
-
441
- Out: function (k) {
442
-
443
- return 1 - (--k * k * k * k);
444
-
445
- },
446
-
447
- InOut: function (k) {
448
- if ((k *= 2) < 1) {
449
- return 0.5 * k * k * k * k;
450
- }
451
-
452
- return -0.5 * ((k -= 2) * k * k * k - 2);
453
-
454
- }
455
-
456
- },
457
-
458
- Quintic: {
459
- In: function (k) {
460
- return k * k * k * k * k;
461
- },
462
-
463
- Out: function (k) {
464
- return --k * k * k * k * k + 1;
465
- },
466
-
467
- InOut: function (k) {
468
- if ((k *= 2) < 1) {
469
- return 0.5 * k * k * k * k * k;
470
- }
471
-
472
- return 0.5 * ((k -= 2) * k * k * k * k + 2);
473
-
474
- }
475
-
476
- },
477
-
478
- Sinusoidal: {
479
- In: function (k) {
480
-
481
- return 1 - Math.cos(k * Math.PI / 2);
482
-
483
- },
484
-
485
- Out: function (k) {
486
-
487
- return Math.sin(k * Math.PI / 2);
488
-
489
- },
490
-
491
- InOut: function (k) {
492
- return 0.5 * (1 - Math.cos(Math.PI * k));
493
-
494
- }
495
-
496
- },
497
-
498
- Exponential: {
499
- In: function (k) {
500
- return k === 0 ? 0 : Math.pow(1024, k - 1);
501
- },
502
-
503
- Out: function (k) {
504
- return k === 1 ? 1 : 1 - Math.pow(2, -10 * k);
505
- },
506
-
507
- InOut: function (k) {
508
- if (k === 0) {
509
- return 0;
510
- }
511
-
512
- if (k === 1) {
513
- return 1;
514
- }
515
-
516
- if ((k *= 2) < 1) {
517
- return 0.5 * Math.pow(1024, k - 1);
518
- }
519
-
520
- return 0.5 * (-Math.pow(2, -10 * (k - 1)) + 2);
521
-
522
- }
523
-
524
- },
525
-
526
- Circular: {
527
- In: function (k) {
528
- return 1 - Math.sqrt(1 - k * k);
529
- },
530
-
531
- Out: function (k) {
532
-
533
- return Math.sqrt(1 - (--k * k));
534
-
535
- },
536
-
537
- InOut: function (k) {
538
- if ((k *= 2) < 1) {
539
- return -0.5 * (Math.sqrt(1 - k * k) - 1);
540
- }
541
-
542
- return 0.5 * (Math.sqrt(1 - (k -= 2) * k) + 1);
543
-
544
- }
545
-
546
- },
547
-
548
- Elastic: {
549
- In: function (k) {
550
- if (k === 0) {
551
- return 0;
552
- }
553
-
554
- if (k === 1) {
555
- return 1;
556
- }
557
-
558
- return -Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
559
- },
560
-
561
- Out: function (k) {
562
- if (k === 0) {
563
- return 0;
564
- }
565
-
566
- if (k === 1) {
567
- return 1;
568
- }
569
-
570
- return Math.pow(2, -10 * k) * Math.sin((k - 0.1) * 5 * Math.PI) + 1;
571
- },
572
-
573
- InOut: function (k) {
574
- if (k === 0) {
575
- return 0;
576
- }
577
-
578
- if (k === 1) {
579
- return 1;
580
- }
581
-
582
- k *= 2;
583
-
584
- if (k < 1) {
585
- return -0.5 * Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
586
- }
587
-
588
- return 0.5 * Math.pow(2, -10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI) + 1;
589
-
590
- }
591
-
592
- },
593
-
594
- Back: {
595
- In: function (k) {
596
- var s = 1.70158;
597
-
598
- return k * k * ((s + 1) * k - s);
599
- },
600
-
601
- Out: function (k) {
602
- var s = 1.70158;
603
-
604
- return --k * k * ((s + 1) * k + s) + 1;
605
- },
606
-
607
- InOut: function (k) {
608
- var s = 1.70158 * 1.525;
609
-
610
- if ((k *= 2) < 1) {
611
- return 0.5 * (k * k * ((s + 1) * k - s));
612
- }
613
-
614
- return 0.5 * ((k -= 2) * k * ((s + 1) * k + s) + 2);
615
-
616
- }
617
-
618
- },
619
-
620
- Bounce: {
621
- In: function (k) {
622
- return 1 - TWEEN.Easing.Bounce.Out(1 - k);
623
- },
624
-
625
- Out: function (k) {
626
-
627
- if (k < (1 / 2.75)) {
628
- return 7.5625 * k * k;
629
- } else if (k < (2 / 2.75)) {
630
- return 7.5625 * (k -= (1.5 / 2.75)) * k + 0.75;
631
- } else if (k < (2.5 / 2.75)) {
632
- return 7.5625 * (k -= (2.25 / 2.75)) * k + 0.9375;
633
- } else {
634
- return 7.5625 * (k -= (2.625 / 2.75)) * k + 0.984375;
635
- }
636
- },
637
-
638
- InOut: function (k) {
639
- if (k < 0.5) {
640
- return TWEEN.Easing.Bounce.In(k * 2) * 0.5;
641
- }
642
-
643
- return TWEEN.Easing.Bounce.Out(k * 2 - 1) * 0.5 + 0.5;
644
-
645
- }
646
-
647
- }
648
-
649
- };
650
-
651
- TWEEN.Interpolation = {
652
- Linear: function (v, k) {
653
- var m = v.length - 1;
654
- var f = m * k;
655
- var i = Math.floor(f);
656
- var fn = TWEEN.Interpolation.Utils.Linear;
657
-
658
- if (k < 0) {
659
- return fn(v[0], v[1], f);
660
- }
661
-
662
- if (k > 1) {
663
- return fn(v[m], v[m - 1], m - f);
664
- }
665
-
666
- return fn(v[i], v[i + 1 > m ? m : i + 1], f - i);
667
- },
668
-
669
- Bezier: function (v, k) {
670
- var b = 0;
671
- var n = v.length - 1;
672
- var pw = Math.pow;
673
- var bn = TWEEN.Interpolation.Utils.Bernstein;
674
-
675
- for (var i = 0; i <= n; i++) {
676
- b += pw(1 - k, n - i) * pw(k, i) * v[i] * bn(n, i);
677
- }
678
-
679
- return b;
680
- },
681
-
682
- CatmullRom: function (v, k) {
683
- var m = v.length - 1;
684
- var f = m * k;
685
- var i = Math.floor(f);
686
- var fn = TWEEN.Interpolation.Utils.CatmullRom;
687
-
688
- if (v[0] === v[m]) {
689
- if (k < 0) {
690
- i = Math.floor(f = m * (1 + k));
691
- }
692
-
693
- return fn(v[(i - 1 + m) % m], v[i], v[(i + 1) % m], v[(i + 2) % m], f - i);
694
-
695
- } else {
696
- if (k < 0) {
697
- return v[0] - (fn(v[0], v[0], v[1], v[1], -f) - v[0]);
698
- }
699
-
700
- if (k > 1) {
701
- return v[m] - (fn(v[m], v[m], v[m - 1], v[m - 1], f - m) - v[m]);
702
- }
703
-
704
- return fn(v[i ? i - 1 : 0], v[i], v[m < i + 1 ? m : i + 1], v[m < i + 2 ? m : i + 2], f - i);
705
-
706
- }
707
- },
708
-
709
- Utils: {
710
- Linear: function (p0, p1, t) {
711
- return (p1 - p0) * t + p0;
712
- },
713
-
714
- Bernstein: function (n, i) {
715
- var fc = TWEEN.Interpolation.Utils.Factorial;
716
-
717
- return fc(n) / fc(i) / fc(n - i);
718
- },
719
-
720
- Factorial: (function () {
721
- var a = [1];
722
-
723
- return function (n) {
724
- var s = 1;
725
-
726
- if (a[n]) {
727
- return a[n];
728
- }
729
-
730
- for (var i = n; i > 1; i--) {
731
- s *= i;
732
- }
733
-
734
- a[n] = s;
735
- return s;
736
- };
737
- })(),
738
-
739
- CatmullRom: function (p0, p1, p2, p3, t) {
740
- var v0 = (p2 - p0) * 0.5;
741
- var v1 = (p3 - p1) * 0.5;
742
- var t2 = t * t;
743
- var t3 = t * t2;
744
-
745
- return (2 * p1 - 2 * p2 + v0 + v1) * t3 + (-3 * p1 + 3 * p2 - 2 * v0 - v1) * t2 + v0 * t + p1;
746
-
747
- }
748
-
749
- }
750
-
751
- };
752
-
753
- // UMD (Universal Module Definition)
754
- (function (root) {
755
- if (typeof define === 'function' && define.amd) {
756
- // AMD
757
- define([], function () {
758
- return TWEEN;
759
- });
760
- } else if (typeof module !== 'undefined' && typeof exports === 'object') {
761
- // Node.js
762
- module.exports = TWEEN;
763
- } else if (root !== undefined) {
764
- // Global variable
765
- root.TWEEN = TWEEN;
766
- }
767
- })(this);
1
+ var _Group=function(){this._tweens={},this._tweensAddedDuringUpdate={}};_Group.prototype={getAll:function(){return Object.keys(this._tweens).map(function(t){return this._tweens[t]}.bind(this))},removeAll:function(){this._tweens={}},add:function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},remove:function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},update:function(t,n){var e=Object.keys(this._tweens);if(0===e.length)return!1;for(t=void 0!==t?t:TWEEN.now();e.length>0;){this._tweensAddedDuringUpdate={};for(var i=0;i<e.length;i++){var r=this._tweens[e[i]];r&&!1===r.update(t)&&(r._isPlaying=!1,n||delete this._tweens[e[i]])}e=Object.keys(this._tweensAddedDuringUpdate)}return!0}};var a,TWEEN=new _Group;TWEEN.Group=_Group,TWEEN._nextId=0,TWEEN.nextId=function(){return TWEEN._nextId++},"undefined"==typeof window&&"undefined"!=typeof process?TWEEN.now=function(){var t=process.hrtime();return 1e3*t[0]+t[1]/1e6}:"undefined"!=typeof window&&void 0!==window.performance&&void 0!==window.performance.now?TWEEN.now=window.performance.now.bind(window.performance):void 0!==Date.now?TWEEN.now=Date.now:TWEEN.now=function(){return(new Date).getTime()},TWEEN.Tween=function(t,n){this._object=t,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._repeat=0,this._repeatDelayTime=void 0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=null,this._easingFunction=TWEEN.Easing.Linear.None,this._interpolationFunction=TWEEN.Interpolation.Linear,this._chainedTweens=[],this._onStartCallback=null,this._onStartCallbackFired=!1,this._onUpdateCallback=null,this._onCompleteCallback=null,this._onStopCallback=null,this._group=n||TWEEN,this._id=TWEEN.nextId()},TWEEN.Tween.prototype={getId:function(){return this._id},isPlaying:function(){return this._isPlaying},to:function(t,n){return this._valuesEnd=t,void 0!==n&&(this._duration=n),this},start:function(t){for(var n in this._group.add(this),this._isPlaying=!0,this._onStartCallbackFired=!1,this._startTime=void 0!==t?"string"==typeof t?TWEEN.now()+parseFloat(t):t:TWEEN.now(),this._startTime+=this._delayTime,this._valuesEnd){if(this._valuesEnd[n]instanceof Array){if(0===this._valuesEnd[n].length)continue;this._valuesEnd[n]=[this._object[n]].concat(this._valuesEnd[n])}void 0!==this._object[n]&&(this._valuesStart[n]=this._object[n],this._valuesStart[n]instanceof Array==0&&(this._valuesStart[n]*=1),this._valuesStartRepeat[n]=this._valuesStart[n]||0)}return this},stop:function(){return this._isPlaying?(this._group.remove(this),this._isPlaying=!1,null!==this._onStopCallback&&this._onStopCallback(this._object),this.stopChainedTweens(),this):this},end:function(){return this.update(this._startTime+this._duration),this},stopChainedTweens:function(){for(var t=0,n=this._chainedTweens.length;t<n;t++)this._chainedTweens[t].stop()},delay:function(t){return this._delayTime=t,this},repeat:function(t){return this._repeat=t,this},repeatDelay:function(t){return this._repeatDelayTime=t,this},yoyo:function(t){return this._yoyo=t,this},easing:function(t){return this._easingFunction=t,this},interpolation:function(t){return this._interpolationFunction=t,this},chain:function(){return this._chainedTweens=arguments,this},onStart:function(t){return this._onStartCallback=t,this},onUpdate:function(t){return this._onUpdateCallback=t,this},onComplete:function(t){return this._onCompleteCallback=t,this},onStop:function(t){return this._onStopCallback=t,this},update:function(t){var n,e,i;if(t<this._startTime)return!0;for(n in!1===this._onStartCallbackFired&&(null!==this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),e=(e=(t-this._startTime)/this._duration)>1?1:e,i=this._easingFunction(e),this._valuesEnd)if(void 0!==this._valuesStart[n]){var r=this._valuesStart[n]||0,a=this._valuesEnd[n];a instanceof Array?this._object[n]=this._interpolationFunction(a,i):("string"==typeof a&&(a="+"===a.charAt(0)||"-"===a.charAt(0)?r+parseFloat(a):parseFloat(a)),"number"==typeof a&&(this._object[n]=r+(a-r)*i))}if(null!==this._onUpdateCallback&&this._onUpdateCallback(this._object),1===e){if(this._repeat>0){for(n in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat){if("string"==typeof this._valuesEnd[n]&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo){var s=this._valuesStartRepeat[n];this._valuesStartRepeat[n]=this._valuesEnd[n],this._valuesEnd[n]=s}this._valuesStart[n]=this._valuesStartRepeat[n]}return this._yoyo&&(this._reversed=!this._reversed),void 0!==this._repeatDelayTime?this._startTime=t+this._repeatDelayTime:this._startTime=t+this._delayTime,!0}null!==this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var o=0,u=this._chainedTweens.length;o<u;o++)this._chainedTweens[o].start(this._startTime+this._duration);return!1}return!0}},TWEEN.Easing={Linear:{None:function(t){return t}},Quadratic:{In:function(t){return t*t},Out:function(t){return t*(2-t)},InOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)}},Cubic:{In:function(t){return t*t*t},Out:function(t){return--t*t*t+1},InOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)}},Quartic:{In:function(t){return t*t*t*t},Out:function(t){return 1- --t*t*t*t},InOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)}},Quintic:{In:function(t){return t*t*t*t*t},Out:function(t){return--t*t*t*t*t+1},InOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)}},Sinusoidal:{In:function(t){return 1-Math.cos(t*Math.PI/2)},Out:function(t){return Math.sin(t*Math.PI/2)},InOut:function(t){return.5*(1-Math.cos(Math.PI*t))}},Exponential:{In:function(t){return 0===t?0:Math.pow(1024,t-1)},Out:function(t){return 1===t?1:1-Math.pow(2,-10*t)},InOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))}},Circular:{In:function(t){return 1-Math.sqrt(1-t*t)},Out:function(t){return Math.sqrt(1- --t*t)},InOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}},Elastic:{In:function(t){return 0===t?0:1===t?1:-Math.pow(2,10*(t-1))*Math.sin(5*(t-1.1)*Math.PI)},Out:function(t){return 0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin(5*(t-.1)*Math.PI)+1},InOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?-.5*Math.pow(2,10*(t-1))*Math.sin(5*(t-1.1)*Math.PI):.5*Math.pow(2,-10*(t-1))*Math.sin(5*(t-1.1)*Math.PI)+1}},Back:{In:function(t){var n=1.70158;return t*t*((n+1)*t-n)},Out:function(t){var n=1.70158;return--t*t*((n+1)*t+n)+1},InOut:function(t){var n=2.5949095;return(t*=2)<1?t*t*((n+1)*t-n)*.5:.5*((t-=2)*t*((n+1)*t+n)+2)}},Bounce:{In:function(t){return 1-TWEEN.Easing.Bounce.Out(1-t)},Out:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},InOut:function(t){return t<.5?.5*TWEEN.Easing.Bounce.In(2*t):.5*TWEEN.Easing.Bounce.Out(2*t-1)+.5}}},TWEEN.Interpolation={Linear:function(t,n){var e=t.length-1,i=e*n,r=Math.floor(i),a=TWEEN.Interpolation.Utils.Linear;return n<0?a(t[0],t[1],i):n>1?a(t[e],t[e-1],e-i):a(t[r],t[r+1>e?e:r+1],i-r)},Bezier:function(t,n){for(var e=0,i=t.length-1,r=Math.pow,a=TWEEN.Interpolation.Utils.Bernstein,s=0;s<=i;s++)e+=r(1-n,i-s)*r(n,s)*t[s]*a(i,s);return e},CatmullRom:function(t,n){var e=t.length-1,i=e*n,r=Math.floor(i),a=TWEEN.Interpolation.Utils.CatmullRom;return t[0]===t[e]?(n<0&&(r=Math.floor(i=e*(1+n))),a(t[(r-1+e)%e],t[r],t[(r+1)%e],t[(r+2)%e],i-r)):n<0?t[0]-(a(t[0],t[0],t[1],t[1],-i)-t[0]):n>1?t[e]-(a(t[e],t[e],t[e-1],t[e-1],i-e)-t[e]):a(t[r?r-1:0],t[r],t[e<r+1?e:r+1],t[e<r+2?e:r+2],i-r)},Utils:{Linear:function(t,n,e){return(n-t)*e+t},Bernstein:function(t,n){var e=TWEEN.Interpolation.Utils.Factorial;return e(t)/e(n)/e(t-n)},Factorial:(a=[1],function(t){var n=1;if(a[t])return a[t];for(var e=t;e>1;e--)n*=e;return a[t]=n,n}),CatmullRom:function(t,n,e,i,r){var a=.5*(e-t),s=.5*(i-n),o=r*r;return(2*n-2*e+a+s)*(r*o)+(-3*n+3*e-2*a-s)*o+a*r+n}}},"function"==typeof define&&define.amd?define([],(function(){return TWEEN})):"undefined"!=typeof module&&"object"==typeof exports?module.exports=TWEEN:void 0!==this&&(this.TWEEN=TWEEN);