@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.
- package/lib/{banana-for-scale-e4d75eac.js → banana-for-scale-b58e4a0e.js} +2 -2
- package/lib/{banana-for-scale-e4d75eac.js.map → banana-for-scale-b58e4a0e.js.map} +1 -1
- package/lib/{banana-for-scale-feb40956.nomodule.js → banana-for-scale-f41ca31e.nomodule.js} +2 -2
- package/lib/{banana-for-scale-feb40956.nomodule.js.map → banana-for-scale-f41ca31e.nomodule.js.map} +1 -1
- package/lib/{camera-behaviour-ad80f446.js → camera-behaviour-8c72e240.js} +2 -2
- package/lib/{camera-behaviour-ad80f446.js.map → camera-behaviour-8c72e240.js.map} +1 -1
- package/lib/{camera-behaviour-c12c4352.nomodule.js → camera-behaviour-bd9ccbc9.nomodule.js} +2 -2
- package/lib/{camera-behaviour-c12c4352.nomodule.js.map → camera-behaviour-bd9ccbc9.nomodule.js.map} +1 -1
- package/lib/{component-dimensioning-9ff33293.nomodule.js → component-dimensioning-a78cbeed.nomodule.js} +2 -2
- package/lib/component-dimensioning-a78cbeed.nomodule.js.map +1 -0
- package/lib/{component-dimensioning-4aca065a.js → component-dimensioning-d280333c.js} +2 -2
- package/lib/component-dimensioning-d280333c.js.map +1 -0
- package/lib/{component-raycast-helper-ad3cc50d.js → component-raycast-helper-828e2f08.js} +2 -2
- package/lib/component-raycast-helper-828e2f08.js.map +1 -0
- package/lib/{component-raycast-helper-d5ddab65.nomodule.js → component-raycast-helper-c9cad866.nomodule.js} +2 -2
- package/lib/component-raycast-helper-c9cad866.nomodule.js.map +1 -0
- package/lib/{configurator-79c102cc.js → configurator-1e9c2009.js} +2 -2
- package/lib/configurator-1e9c2009.js.map +1 -0
- package/lib/{configurator-0ac7c962.nomodule.js → configurator-52b50723.nomodule.js} +2 -2
- package/lib/configurator-52b50723.nomodule.js.map +1 -0
- package/lib/configurator-dummy-app.js +1 -1
- package/lib/configurator-dummy-app.js.map +1 -1
- package/lib/configurator-dummy.html +23 -15
- package/lib/configurator-main-a48aa6d7.js +2 -0
- package/lib/configurator-main-a48aa6d7.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{continuous-drawing-helper-85fa88c5.js → continuous-drawing-helper-7a8f6ef2.js} +2 -2
- package/lib/continuous-drawing-helper-7a8f6ef2.js.map +1 -0
- package/lib/{continuous-drawing-helper-4fa1eb65.nomodule.js → continuous-drawing-helper-9f5ada52.nomodule.js} +2 -2
- package/lib/continuous-drawing-helper-9f5ada52.nomodule.js.map +1 -0
- package/lib/{default-light-setting-23ff4500.js → default-light-setting-2429e980.js} +2 -2
- package/lib/default-light-setting-2429e980.js.map +1 -0
- package/lib/{default-light-setting-d4c4c06d.nomodule.js → default-light-setting-eb626622.nomodule.js} +2 -2
- package/lib/default-light-setting-eb626622.nomodule.js.map +1 -0
- package/lib/definitions/common-core/mock/kernel-instances.d.ts +2 -2
- package/lib/definitions/common-core/src/static-files/environment-maps.d.ts +7 -7
- package/lib/definitions/common-core/src/static-files/libs.d.ts +1 -1
- package/lib/definitions/common-core/src/static-files/light-settings.d.ts +6 -6
- package/lib/definitions/common-core/src/static-files/roomle-core.d.ts +7 -7
- package/lib/definitions/common-core/src/webgl/renderer/pass/ao-pass.d.ts +1 -1
- package/lib/definitions/common-core/src/webgl/renderer/scene-renderer.d.ts +5 -5
- package/lib/definitions/configurator-core/src/static-files/geometries.d.ts +1 -1
- package/lib/definitions/packages/acceptance-tests/src/utils/async-acceptance-test.d.ts +2 -0
- package/lib/definitions/packages/common-core/config/base.environment.d.ts +2 -0
- package/lib/definitions/packages/common-core/config/environment.d.ts +2 -0
- package/lib/definitions/packages/common-core/mock/common-kernel-access-mock.d.ts +9 -0
- package/lib/definitions/packages/common-core/mock/console-handler.d.ts +7 -0
- package/lib/definitions/packages/common-core/mock/constants.d.ts +1 -0
- package/lib/definitions/packages/common-core/mock/kernel-instances.d.ts +222 -0
- package/lib/definitions/packages/common-core/mock/mock-camera-parameters.d.ts +16 -0
- package/lib/definitions/packages/common-core/mock/mock-draco-loader.d.ts +6 -0
- package/lib/definitions/packages/common-core/mock/mock-gltf-loader.d.ts +9 -0
- package/lib/definitions/packages/common-core/mock/mock-idb-manager.d.ts +19 -0
- package/lib/definitions/packages/common-core/mock/mock-image-renderer.d.ts +18 -0
- package/lib/definitions/packages/common-core/mock/mock-input-event-dispatcher.d.ts +11 -0
- package/lib/definitions/packages/common-core/mock/mock-rapi-types.d.ts +94 -0
- package/lib/definitions/packages/common-core/mock/mock-utils.d.ts +25 -0
- package/lib/definitions/packages/common-core/mock/rapi-globals.d.ts +6 -0
- package/lib/definitions/packages/common-core/mock/three-mock.d.ts +45 -0
- package/lib/definitions/packages/common-core/mock/tween-mock.d.ts +4 -0
- package/lib/definitions/packages/common-core/src/async-guard.d.ts +12 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-behaviour-3d.d.ts +5 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-behaviour-state.d.ts +8 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-behaviour.d.ts +13 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-control-2d.d.ts +27 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-control-3d.d.ts +81 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-control.d.ts +128 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/camera-type.d.ts +7 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/configurator-camera-behaviour.d.ts +21 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/glb-viewer-camera-behaviour.d.ts +9 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/material-viewer-camera-behaviour.d.ts +5 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/planner-2d-camera-behaviour.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/planner-3d-camera-behaviour.d.ts +20 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/planner-camera-behaviour.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/cameracontrol/planner-fp-camera-behaviour.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/common-configurator-kernel-callback.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/common-interfaces.d.ts +37 -0
- package/lib/definitions/packages/common-core/src/configurator-kernel-access.d.ts +145 -0
- package/lib/definitions/packages/common-core/src/di/container.d.ts +20 -0
- package/lib/definitions/packages/common-core/src/di/context.d.ts +3 -0
- package/lib/definitions/packages/common-core/src/di/global-definitions.d.ts +6 -0
- package/lib/definitions/packages/common-core/src/di/inject.d.ts +2 -0
- package/lib/definitions/packages/common-core/src/di/injectables.d.ts +2 -0
- package/lib/definitions/packages/common-core/src/di/roomle-dependency-injection.d.ts +9 -0
- package/lib/definitions/packages/common-core/src/environment/background-environment.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/environment/dynamic-environment-setting-loader.d.ts +82 -0
- package/lib/definitions/packages/common-core/src/environment/environment.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/environment/ground-projected-environment.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/error-handler.d.ts +18 -0
- package/lib/definitions/packages/common-core/src/form-data-util.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/input/input-manager.d.ts +105 -0
- package/lib/definitions/packages/common-core/src/kernel-access-callback.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/kernel-io.d.ts +27 -0
- package/lib/definitions/packages/common-core/src/life-cycle-manager.d.ts +13 -0
- package/lib/definitions/packages/common-core/src/lightsetting/dynamic-light-setting-loader.d.ts +60 -0
- package/lib/definitions/packages/common-core/src/lightsetting/dynamic-light-setting.d.ts +26 -0
- package/lib/definitions/packages/common-core/src/lightsetting/light-setting.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/logger.d.ts +6 -0
- package/lib/definitions/packages/common-core/src/main.d.ts +107 -0
- package/lib/definitions/packages/common-core/src/network-layer.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/rapi-access.d.ts +184 -0
- package/lib/definitions/packages/common-core/src/roomle-sdk.d.ts +45 -0
- package/lib/definitions/packages/common-core/src/scene-settings-loader.d.ts +8 -0
- package/lib/definitions/packages/common-core/src/script-loader.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/services/cache-holder.d.ts +11 -0
- package/lib/definitions/packages/common-core/src/services/common-kernel-access.d.ts +131 -0
- package/lib/definitions/packages/common-core/src/services/data-syncer.d.ts +41 -0
- package/lib/definitions/packages/common-core/src/services/global-callback.d.ts +35 -0
- package/lib/definitions/packages/common-core/src/services/hdr-environment-loader.d.ts +18 -0
- package/lib/definitions/packages/common-core/src/services/idb-manager.d.ts +19 -0
- package/lib/definitions/packages/common-core/src/services/memory-manager.d.ts +10 -0
- package/lib/definitions/packages/common-core/src/static-files/environment-maps.d.ts +7 -0
- package/lib/definitions/packages/common-core/src/static-files/libs.d.ts +1 -0
- package/lib/definitions/packages/common-core/src/static-files/light-settings.d.ts +6 -0
- package/lib/definitions/packages/common-core/src/static-files/roomle-core.d.ts +7 -0
- package/lib/definitions/packages/common-core/src/static-files/three.d.ts +5 -0
- package/lib/definitions/packages/common-core/src/types.d.ts +8 -0
- package/lib/definitions/packages/common-core/src/utils/app-context.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/utils/benchmark.d.ts +24 -0
- package/lib/definitions/packages/common-core/src/utils/browser-helper.d.ts +6 -0
- package/lib/definitions/packages/common-core/src/utils/common-utils.d.ts +111 -0
- package/lib/definitions/packages/common-core/src/utils/dom-helper.d.ts +25 -0
- package/lib/definitions/packages/common-core/src/utils/enumerable.d.ts +3 -0
- package/lib/definitions/packages/common-core/src/utils/feature-detection.d.ts +6 -0
- package/lib/definitions/packages/common-core/src/utils/fps-couter.d.ts +12 -0
- package/lib/definitions/packages/common-core/src/utils/global-init-data.d.ts +18 -0
- package/lib/definitions/packages/common-core/src/utils/init-data.d.ts +82 -0
- package/lib/definitions/packages/common-core/src/utils/kernel-utils.d.ts +13 -0
- package/lib/definitions/packages/common-core/src/utils/local-storage-helper.d.ts +22 -0
- package/lib/definitions/packages/common-core/src/utils/local-storage.d.ts +9 -0
- package/lib/definitions/packages/common-core/src/utils/material-creator.d.ts +9 -0
- package/lib/definitions/packages/common-core/src/utils/math-helper.d.ts +9 -0
- package/lib/definitions/packages/common-core/src/utils/parameter-types.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/utils/promise-queue.d.ts +21 -0
- package/lib/definitions/packages/common-core/src/utils/query-params-helper.d.ts +3 -0
- package/lib/definitions/packages/common-core/src/utils/rapi-utils.d.ts +10 -0
- package/lib/definitions/packages/common-core/src/utils/shims.d.ts +459 -0
- package/lib/definitions/packages/common-core/src/utils/single-promise-factory.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/utils/stats-helper.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/utils/string-utils.d.ts +1 -0
- package/lib/definitions/packages/common-core/src/utils/threejs-utils.d.ts +135 -0
- package/lib/definitions/packages/common-core/src/utils/ui-callback.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/utils/url-shortener.d.ts +6 -0
- package/lib/definitions/packages/common-core/src/utils/waiter.d.ts +10 -0
- package/lib/definitions/packages/common-core/src/view-model/configurable-construction-plan-object-view-model.d.ts +21 -0
- package/lib/definitions/packages/common-core/src/view-model/configurator-plan-object-view-model.d.ts +19 -0
- package/lib/definitions/packages/common-core/src/view-model/configurator-view-model.d.ts +122 -0
- package/lib/definitions/packages/common-core/src/view-model/helpers/constants.d.ts +2 -0
- package/lib/definitions/packages/common-core/src/view-model/kernel-view-model.d.ts +7 -0
- package/lib/definitions/packages/common-core/src/view-model/plan-element-view-model.d.ts +46 -0
- package/lib/definitions/packages/common-core/src/view-model/plan-object-view-model.d.ts +33 -0
- package/lib/definitions/packages/common-core/src/wasm-loader.d.ts +1 -0
- package/lib/definitions/packages/common-core/src/webgl/EnvMapReader.d.ts +18 -0
- package/lib/definitions/packages/common-core/src/webgl/baked-shadow-plane.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/webgl/configurator-context.d.ts +19 -0
- package/lib/definitions/packages/common-core/src/webgl/hdr-env-map-reader.d.ts +18 -0
- package/lib/definitions/packages/common-core/src/webgl/image-renderer.d.ts +36 -0
- package/lib/definitions/packages/common-core/src/webgl/layer.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/webgl/mesh-generator.d.ts +49 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/environment-definition.d.ts +44 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/environment-scene.d.ts +40 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/light-source-detection-debug.d.ts +15 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/light-source-detection.d.ts +87 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/materials/blend-ao-and-shadow-material.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/materials/blend-ao-pass-depth-material.d.ts +12 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/materials/illumination-buffer-material.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/materials/normal-depth-material.d.ts +14 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/materials/postprocessing-material-plugin.d.ts +25 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/objects/shadow-ground-plane.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/outline-renderer.d.ts +39 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/ao-pass.d.ts +61 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/baked-ground-contact-shadow-pass.d.ts +78 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/debug-pass.d.ts +23 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/gbuffer-render-pass.d.ts +69 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/ground-reflection-pass.d.ts +74 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/outline-pass.d.ts +64 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/pass-utility.d.ts +12 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/poisson-denoise-pass.d.ts +68 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/render-pass.d.ts +18 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/scene-render-pass.d.ts +12 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/screen-space-shadow-map-pass.d.ts +208 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pass/shadow-and-ao-pass.d.ts +109 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/pmrem-environment.d.ts +11 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/render-cache.d.ts +69 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/render-pass-manager.d.ts +73 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/render-utility.d.ts +84 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/scene-renderer-gui.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/scene-renderer.d.ts +117 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/shader-utility.d.ts +112 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/shaders/ao-shader.d.ts +84 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/shaders/poisson-denoise-shader.d.ts +74 -0
- package/lib/definitions/packages/common-core/src/webgl/renderer/shading-settings.d.ts +49 -0
- package/lib/definitions/packages/common-core/src/webgl/roomle-component-factory.d.ts +103 -0
- package/lib/definitions/packages/common-core/src/webgl/roomle-webgl-renderer-quality-levels.d.ts +5 -0
- package/lib/definitions/packages/common-core/src/webgl/roomle-webgl-renderer.d.ts +67 -0
- package/lib/definitions/packages/common-core/src/webgl/scene-event-handler.d.ts +16 -0
- package/lib/definitions/packages/common-core/src/webgl/scene-manager.d.ts +140 -0
- package/lib/definitions/packages/common-core/src/webgl/static-item-loader.d.ts +21 -0
- package/lib/definitions/packages/configurator-core/__acceptance__/boot.d.ts +1 -0
- package/lib/definitions/packages/configurator-core/mock/configurator-mock-data.d.ts +200 -0
- package/lib/definitions/packages/configurator-core/mock/kernel-mock.d.ts +29 -0
- package/lib/definitions/packages/configurator-core/src/configurator-debug-api.d.ts +7 -0
- package/lib/definitions/packages/configurator-core/src/configurator.d.ts +14 -0
- package/lib/definitions/packages/configurator-core/src/input/configurator-input-manager.d.ts +3 -0
- package/lib/definitions/packages/configurator-core/src/roomle-configurator.d.ts +684 -0
- package/lib/definitions/packages/configurator-core/src/services/configurator-kernel-access-callback.d.ts +19 -0
- package/lib/definitions/packages/configurator-core/src/services/configurator-ui-callback.d.ts +294 -0
- package/lib/definitions/packages/configurator-core/src/services/unit-formatter.d.ts +46 -0
- package/lib/definitions/packages/configurator-core/src/static-files/fonts.d.ts +2 -0
- package/lib/definitions/packages/configurator-core/src/static-files/geometries.d.ts +1 -0
- package/lib/definitions/packages/configurator-core/src/static-files/settings.d.ts +1 -0
- package/lib/definitions/packages/configurator-core/src/static-files/textures.d.ts +1 -0
- package/lib/definitions/packages/configurator-core/src/utils/async-dependency-loader.d.ts +5 -0
- package/lib/definitions/packages/configurator-core/src/utils/async-helper.d.ts +12 -0
- package/lib/definitions/packages/configurator-core/src/utils/component-dimensioning-helper.d.ts +17 -0
- package/lib/definitions/packages/configurator-core/src/utils/component-dimensioning.d.ts +35 -0
- package/lib/definitions/packages/configurator-core/src/utils/component-raycast-helper.d.ts +22 -0
- package/lib/definitions/packages/configurator-core/src/utils/configurator-history.d.ts +47 -0
- package/lib/definitions/packages/configurator-core/src/utils/dimensioning-helper.d.ts +61 -0
- package/lib/definitions/packages/configurator-core/src/utils/error-messages.d.ts +4 -0
- package/lib/definitions/packages/configurator-core/src/utils/event-dispatcher.d.ts +16 -0
- package/lib/definitions/packages/configurator-core/src/utils/global-definitions.d.ts +8 -0
- package/lib/definitions/packages/configurator-core/src/utils/indexeddb-adapter.d.ts +9 -0
- package/lib/definitions/packages/configurator-core/src/utils/injectables.d.ts +2 -0
- package/lib/definitions/packages/configurator-core/src/utils/parameter-helper.d.ts +14 -0
- package/lib/definitions/packages/configurator-core/src/utils/raycast-helper.d.ts +83 -0
- package/lib/definitions/packages/configurator-core/src/utils/selection-handler.d.ts +33 -0
- package/lib/definitions/packages/configurator-core/src/utils/sort-helper.d.ts +3 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/animation-helper.d.ts +1 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/async-test-helper.d.ts +1 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/fetch-helper.d.ts +7 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/globals-helper.d.ts +4 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/image-diff.d.ts +10 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/mock-data/materials.d.ts +11 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/mock-data/partlists.d.ts +2 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/preview-helper.d.ts +4 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/ui-mock.d.ts +17 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/utils.d.ts +4 -0
- package/lib/definitions/packages/configurator-core/src/utils/test-helpers/webgl-mock.d.ts +10 -0
- package/lib/definitions/packages/configurator-core/src/utils/text-with-background.d.ts +23 -0
- package/lib/definitions/packages/configurator-core/src/utils/ui-intersection-helper.d.ts +24 -0
- package/lib/definitions/packages/configurator-core/src/webgl/banana-for-scale.d.ts +13 -0
- package/lib/definitions/packages/configurator-core/src/webgl/configurator-mesh-generator.d.ts +11 -0
- package/lib/definitions/packages/configurator-core/src/webgl/configurator-scene-event-handler.d.ts +93 -0
- package/lib/definitions/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +154 -0
- package/lib/definitions/packages/configurator-core/src/webgl/environment/floor-environment.d.ts +34 -0
- package/lib/definitions/packages/configurator-core/src/webgl/lightsetting/default-light-setting.d.ts +15 -0
- package/lib/definitions/packages/configurator-core/src/webgl/lightsetting/hd-light-setting.d.ts +15 -0
- package/lib/definitions/packages/configurator-core/src/webgl/lightsetting/top-image-light-setting.d.ts +12 -0
- package/lib/definitions/packages/configurator-core/src/webgl/plugin-system.d.ts +43 -0
- package/lib/definitions/packages/glb-viewer-core/mock/mock-scene-settings.d.ts +1 -0
- package/lib/definitions/packages/glb-viewer-core/src/camera-control/adjustable-camera-control-3d.d.ts +8 -0
- package/lib/definitions/packages/glb-viewer-core/src/glb-viewer.d.ts +13 -0
- package/lib/definitions/packages/glb-viewer-core/src/input/glb-input-manager.d.ts +3 -0
- package/lib/definitions/packages/glb-viewer-core/src/roomle-glb-viewer.d.ts +108 -0
- package/lib/definitions/packages/glb-viewer-core/src/services/glb-render-worker.d.ts +27 -0
- package/lib/definitions/packages/glb-viewer-core/src/utils/global-definitions.d.ts +7 -0
- package/lib/definitions/packages/glb-viewer-core/src/utils/injectables.d.ts +2 -0
- package/lib/definitions/packages/glb-viewer-core/src/webgl/glb-viewer-light-setting.d.ts +11 -0
- package/lib/definitions/packages/glb-viewer-core/src/webgl/glb-viewer-scene-manager.d.ts +35 -0
- package/lib/definitions/packages/material-viewer/src/material-viewer.d.ts +13 -0
- package/lib/definitions/packages/material-viewer/src/roomle-material-viewer-ui-callback.d.ts +10 -0
- package/lib/definitions/packages/material-viewer/src/roomle-material-viewer.d.ts +126 -0
- package/lib/definitions/packages/material-viewer/src/utils/global-definitions.d.ts +7 -0
- package/lib/definitions/packages/material-viewer/src/utils/injectables.d.ts +2 -0
- package/lib/definitions/packages/material-viewer/src/webgl/material-viewer-scene-manager.d.ts +47 -0
- package/lib/definitions/packages/planner-core/__tests__/webgl/lightsetting/planner-light-setting.d.ts +1 -0
- package/lib/definitions/packages/planner-core/mock/planner-kernel-access-mock.d.ts +22 -0
- package/lib/definitions/packages/planner-core/mock/planner-mock-helper.d.ts +39 -0
- package/lib/definitions/packages/planner-core/src/camera-control/camera-control-first-person.d.ts +42 -0
- package/lib/definitions/packages/planner-core/src/external-object-api-callbacks.d.ts +123 -0
- package/lib/definitions/packages/planner-core/src/external-object-api.d.ts +91 -0
- package/lib/definitions/packages/planner-core/src/input/planner-input-manager.d.ts +5 -0
- package/lib/definitions/packages/planner-core/src/plan-xml.d.ts +1 -0
- package/lib/definitions/packages/planner-core/src/planner-main.d.ts +1 -0
- package/lib/definitions/packages/planner-core/src/planner.d.ts +13 -0
- package/lib/definitions/packages/planner-core/src/roomle-planner-ui-callback.d.ts +229 -0
- package/lib/definitions/packages/planner-core/src/roomle-planner.d.ts +381 -0
- package/lib/definitions/packages/planner-core/src/services/planner-kernel-access.d.ts +107 -0
- package/lib/definitions/packages/planner-core/src/utils/global-definitions.d.ts +13 -0
- package/lib/definitions/packages/planner-core/src/utils/injectables.d.ts +2 -0
- package/lib/definitions/packages/planner-core/src/utils/map-to-ui-plan-objects.d.ts +4 -0
- package/lib/definitions/packages/planner-core/src/utils/measurements.d.ts +68 -0
- package/lib/definitions/packages/planner-core/src/utils/planner-scene-manager.d.ts +7 -0
- package/lib/definitions/packages/planner-core/src/utils/planner-selection-handler.d.ts +39 -0
- package/lib/definitions/packages/planner-core/src/view-model/ceiling-plan-element-view-model.d.ts +7 -0
- package/lib/definitions/packages/planner-core/src/view-model/construction-plan-object-view-model.d.ts +19 -0
- package/lib/definitions/packages/planner-core/src/view-model/floor-plan-element-view-model.d.ts +21 -0
- package/lib/definitions/packages/planner-core/src/view-model/measurement-line-plan-element-view-model.d.ts +82 -0
- package/lib/definitions/packages/planner-core/src/view-model/node-plan-element-view-model.d.ts +19 -0
- package/lib/definitions/packages/planner-core/src/view-model/plan-view-model.d.ts +130 -0
- package/lib/definitions/packages/planner-core/src/view-model/static-plan-object-view-model.d.ts +16 -0
- package/lib/definitions/packages/planner-core/src/view-model/wall-plan-element-view-model.d.ts +29 -0
- package/lib/definitions/packages/planner-core/src/webgl/construction-top-view.d.ts +29 -0
- package/lib/definitions/packages/planner-core/src/webgl/continuous-drawing-helper.d.ts +15 -0
- package/lib/definitions/packages/planner-core/src/webgl/draggable-node.d.ts +17 -0
- package/lib/definitions/packages/planner-core/src/webgl/lightsetting/planner-light-setting.d.ts +17 -0
- package/lib/definitions/packages/planner-core/src/webgl/paper-background.d.ts +4 -0
- package/lib/definitions/packages/planner-core/src/webgl/planner-mesh-generator.d.ts +22 -0
- package/lib/definitions/packages/planner-core/src/webgl/planner-scene-event-handler.d.ts +165 -0
- package/lib/definitions/packages/planner-core/src/webgl/planner-scene-manager.d.ts +203 -0
- package/lib/definitions/packages/test-helpers/unit/global-setup.d.ts +1 -0
- package/lib/definitions/packages/test-helpers/unit/modules-setup.d.ts +1 -0
- package/lib/definitions/packages/tools-core/src/roomle-tools-core.d.ts +37 -0
- package/lib/definitions/packages/tools-core/src/tools-core.d.ts +13 -0
- package/lib/definitions/packages/tools-core/src/utils/global-definitions.d.ts +7 -0
- package/lib/definitions/packages/tools-core/src/utils/injectables.d.ts +2 -0
- package/lib/definitions/packages/typings/configurator-kernel-container.d.ts +102 -0
- package/lib/definitions/packages/typings/ems.d.ts +27 -0
- package/lib/definitions/packages/typings/global-definitions.d.ts +33 -0
- package/lib/definitions/packages/typings/helper.d.ts +2 -0
- package/lib/definitions/packages/typings/kernel.d.ts +549 -0
- package/lib/definitions/packages/typings/planner-kernel-container.d.ts +378 -0
- package/lib/definitions/packages/typings/planner.d.ts +312 -0
- package/lib/definitions/packages/typings/rapi-types.d.ts +507 -0
- package/lib/definitions/packages/typings/shims.d.ts +11 -0
- package/lib/definitions/packages/typings/stats.d.ts +4 -0
- package/lib/definitions/packages/workers/__tests__/asset-loader.d.ts +1 -0
- package/lib/definitions/packages/workers/__tests__/budgeteer.sw.d.ts +1 -0
- package/lib/definitions/packages/workers/__tests__/communication-interface.d.ts +1 -0
- package/lib/definitions/packages/workers/src/asset-loader.d.ts +8 -0
- package/lib/definitions/packages/workers/src/asset-loader.worker.d.ts +1 -0
- package/lib/definitions/packages/workers/src/budgeteer/constants.d.ts +41 -0
- package/lib/definitions/packages/workers/src/budgeteer.sw.d.ts +17 -0
- package/lib/definitions/packages/workers/src/communication-interface.d.ts +29 -0
- package/lib/definitions/packages/workers/src/main-thread-to-worker.d.ts +8 -0
- package/lib/definitions/packages/workers/src/static-files/workers.d.ts +2 -0
- package/lib/definitions/packages/workers/src/worker-to-main-thread.d.ts +6 -0
- package/lib/definitions/workers/src/static-files/workers.d.ts +2 -2
- package/lib/{dimensioning-helper-3791540c.js → dimensioning-helper-8fada061.js} +2 -2
- package/lib/{dimensioning-helper-3791540c.js.map → dimensioning-helper-8fada061.js.map} +1 -1
- package/lib/{dimensioning-helper-b53817df.nomodule.js → dimensioning-helper-d47c9edf.nomodule.js} +2 -2
- package/lib/{dimensioning-helper-b53817df.nomodule.js.map → dimensioning-helper-d47c9edf.nomodule.js.map} +1 -1
- package/lib/{glb-viewer-aea6535d.nomodule.js → glb-viewer-a25b0873.nomodule.js} +2 -2
- package/lib/{glb-viewer-aea6535d.nomodule.js.map → glb-viewer-a25b0873.nomodule.js.map} +1 -1
- package/lib/{glb-viewer-camera-behaviour-d658f34e.js → glb-viewer-camera-behaviour-52886e1f.js} +2 -2
- package/lib/glb-viewer-camera-behaviour-52886e1f.js.map +1 -0
- package/lib/{glb-viewer-camera-behaviour-9325772d.nomodule.js → glb-viewer-camera-behaviour-8a296b6a.nomodule.js} +2 -2
- package/lib/glb-viewer-camera-behaviour-8a296b6a.nomodule.js.map +1 -0
- package/lib/glb-viewer-dummy-app.js +1 -1
- package/lib/glb-viewer-dummy-app.js.map +1 -1
- package/lib/glb-viewer-dummy.html +21 -8
- package/lib/{glb-viewer-b330b54a.js → glb-viewer-e32127db.js} +2 -2
- package/lib/{glb-viewer-b330b54a.js.map → glb-viewer-e32127db.js.map} +1 -1
- package/lib/glb-viewer-main-97edab3e.js +2 -0
- package/lib/glb-viewer-main-97edab3e.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/{banana-for-scale-593ea694.legacy.js → banana-for-scale-e4f59983.legacy.js} +2 -2
- package/lib/legacy/{banana-for-scale-593ea694.legacy.js.map → banana-for-scale-e4f59983.legacy.js.map} +1 -1
- package/lib/legacy/{camera-behaviour-51fc4c82.legacy.js → camera-behaviour-9b61a95f.legacy.js} +2 -2
- package/lib/legacy/{camera-behaviour-51fc4c82.legacy.js.map → camera-behaviour-9b61a95f.legacy.js.map} +1 -1
- package/lib/legacy/{component-dimensioning-ab232080.legacy.js → component-dimensioning-ba0543e5.legacy.js} +2 -2
- package/lib/legacy/component-dimensioning-ba0543e5.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-de3471f1.legacy.js → component-raycast-helper-7fd4ecbd.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-7fd4ecbd.legacy.js.map +1 -0
- package/lib/legacy/{configurator-864151ae.legacy.js → configurator-bf37ef4f.legacy.js} +2 -2
- package/lib/legacy/configurator-bf37ef4f.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{continuous-drawing-helper-2556f222.legacy.js → continuous-drawing-helper-a31548e4.legacy.js} +2 -2
- package/lib/legacy/continuous-drawing-helper-a31548e4.legacy.js.map +1 -0
- package/lib/legacy/{default-light-setting-a6fedb74.legacy.js → default-light-setting-22cacd7f.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-22cacd7f.legacy.js.map +1 -0
- package/lib/legacy/{dimensioning-helper-278d13e8.legacy.js → dimensioning-helper-ad7b5c7d.legacy.js} +2 -2
- package/lib/legacy/{dimensioning-helper-278d13e8.legacy.js.map → dimensioning-helper-ad7b5c7d.legacy.js.map} +1 -1
- package/lib/legacy/{glb-viewer-4710bb8c.legacy.js → glb-viewer-277e9923.legacy.js} +2 -2
- package/lib/legacy/{glb-viewer-4710bb8c.legacy.js.map → glb-viewer-277e9923.legacy.js.map} +1 -1
- package/lib/legacy/{glb-viewer-camera-behaviour-597a4cfb.legacy.js → glb-viewer-camera-behaviour-412fbe86.legacy.js} +2 -2
- package/lib/legacy/glb-viewer-camera-behaviour-412fbe86.legacy.js.map +1 -0
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/{material-viewer-e5257a79.legacy.js → material-viewer-52e8295c.legacy.js} +2 -2
- package/lib/legacy/material-viewer-52e8295c.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/{planner-155235c4.legacy.js → planner-044479b3.legacy.js} +2 -2
- package/lib/legacy/{planner-155235c4.legacy.js.map → planner-044479b3.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/{roomle-configurator-00b7dfe6.legacy.js → roomle-configurator-5ac0340f.legacy.js} +2 -2
- package/lib/legacy/roomle-configurator-5ac0340f.legacy.js.map +1 -0
- package/lib/legacy/{roomle-dependency-injection-4b96176b.legacy.js → roomle-dependency-injection-d48c04ad.legacy.js} +3 -3
- package/lib/legacy/{roomle-dependency-injection-4b96176b.legacy.js.map → roomle-dependency-injection-d48c04ad.legacy.js.map} +1 -1
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-ea8d221c.legacy.js → script-loader-7ad66700.legacy.js} +2 -2
- package/lib/legacy/script-loader-7ad66700.legacy.js.map +1 -0
- package/lib/legacy/static/{ConfiguratorKernel-cb6bcbc8263848c0.wasm → ConfiguratorKernel-732bdd63f6c11dc1.wasm} +0 -0
- package/lib/legacy/static/{RoomleCore-e33e61707a73ca08.wasm → RoomleCore-35e23065d11c19d3.wasm} +0 -0
- package/lib/{static/RoomleToolsCore-8cb2e530bd437bbf.wasm → legacy/static/RoomleToolsCore-775a48881eb11aa7.wasm} +0 -0
- package/lib/legacy/{stats-helper-fcada6da.legacy.js → stats-helper-196061d5.legacy.js} +2 -2
- package/lib/legacy/stats-helper-196061d5.legacy.js.map +1 -0
- package/lib/legacy/{tools-core-775b3812.legacy.js → tools-core-5102655f.legacy.js} +2 -2
- package/lib/legacy/tools-core-5102655f.legacy.js.map +1 -0
- package/lib/{material-viewer-041cb500.nomodule.js → material-viewer-56fc73f4.nomodule.js} +2 -2
- package/lib/material-viewer-56fc73f4.nomodule.js.map +1 -0
- package/lib/{material-viewer-1c46ac45.js → material-viewer-c29ae4b2.js} +2 -2
- package/lib/material-viewer-c29ae4b2.js.map +1 -0
- package/lib/material-viewer-dummy-app.js +1 -1
- package/lib/material-viewer-dummy-app.js.map +1 -1
- package/lib/material-viewer-dummy.html +21 -8
- package/lib/material-viewer-main-378d1293.js +2 -0
- package/lib/material-viewer-main-378d1293.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/measure.html +1 -1
- package/lib/{planner-2afe2262.js → planner-bba8dcd2.js} +2 -2
- package/lib/{planner-2afe2262.js.map → planner-bba8dcd2.js.map} +1 -1
- package/lib/planner-dummy-app.js +1 -1
- package/lib/planner-dummy-app.js.map +1 -1
- package/lib/planner-dummy.html +21 -8
- package/lib/{planner-48aaf396.nomodule.js → planner-e02db37f.nomodule.js} +2 -2
- package/lib/{planner-48aaf396.nomodule.js.map → planner-e02db37f.nomodule.js.map} +1 -1
- package/lib/planner-main-fbab2ff0.js +2 -0
- package/lib/planner-main-fbab2ff0.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/{roomle-configurator-65bdca7b.nomodule.js → roomle-configurator-187c177e.nomodule.js} +2 -2
- package/lib/roomle-configurator-187c177e.nomodule.js.map +1 -0
- package/lib/{roomle-configurator-b94bf934.js → roomle-configurator-62ae03f5.js} +2 -2
- package/lib/roomle-configurator-62ae03f5.js.map +1 -0
- package/lib/{roomle-dependency-injection-491a348c.nomodule.js → roomle-dependency-injection-4a8b1ad1.nomodule.js} +3 -3
- package/lib/{roomle-dependency-injection-491a348c.nomodule.js.map → roomle-dependency-injection-4a8b1ad1.nomodule.js.map} +1 -1
- package/lib/{roomle-dependency-injection-043be118.js → roomle-dependency-injection-6de5766a.js} +3 -3
- package/lib/{roomle-dependency-injection-043be118.js.map → roomle-dependency-injection-6de5766a.js.map} +1 -1
- package/lib/{roomle-sdk-ebc300ad.js → roomle-sdk-bac3fd49.js} +2 -2
- package/lib/roomle-sdk-bac3fd49.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-a6b1634c.js → script-loader-3fdcb546.js} +2 -2
- package/lib/script-loader-3fdcb546.js.map +1 -0
- package/lib/{script-loader-fc96beb7.nomodule.js → script-loader-a1b573de.nomodule.js} +2 -2
- package/lib/script-loader-a1b573de.nomodule.js.map +1 -0
- package/lib/static/ConfiguratorKernel-44357cf7219395c9.js +1 -86
- package/lib/static/ConfiguratorKernel-44357cf7219395c9.js.map +1 -0
- package/lib/static/{ConfiguratorKernel-cb6bcbc8263848c0.wasm → ConfiguratorKernel-732bdd63f6c11dc1.wasm} +0 -0
- package/lib/static/RoomleCore-077080ce4dd282d0.js +1 -90
- package/lib/static/RoomleCore-077080ce4dd282d0.js.map +1 -0
- package/lib/static/{RoomleCore-e33e61707a73ca08.wasm → RoomleCore-35e23065d11c19d3.wasm} +0 -0
- package/lib/static/RoomleToolsCore-5dffa0f3345223bd.js +1 -86
- package/lib/static/RoomleToolsCore-5dffa0f3345223bd.js.map +1 -0
- package/lib/{legacy/static/RoomleToolsCore-8cb2e530bd437bbf.wasm → static/RoomleToolsCore-775a48881eb11aa7.wasm} +0 -0
- package/lib/static/Tween-d57ee5d181fce582.js +1 -767
- package/lib/static/Tween-d57ee5d181fce582.js.map +1 -0
- package/lib/static/asset-loader.worker-1735a5fb1e401244.js +1 -2
- package/lib/static/asset-loader.worker-1735a5fb1e401244.js.map +1 -0
- package/lib/static/asset-loader.worker.js +1 -1
- package/lib/static/asset-loader.worker.js.map +1 -1
- package/lib/static/budgeteer.sw-a4a226d2fc19672e.js +1 -2
- package/lib/static/budgeteer.sw-a4a226d2fc19672e.js.map +1 -0
- package/lib/static/budgeteer.sw.js +1 -1
- package/lib/static/budgeteer.sw.js.map +1 -1
- package/lib/static/jszip.min-c96375d50e72b199.js +1 -2
- package/lib/static/jszip.min-c96375d50e72b199.js.map +1 -0
- package/lib/static/worker-to-main-thread-3ad1cee7.js +1 -1
- package/lib/static/worker-to-main-thread-3ad1cee7.js.map +1 -1
- package/lib/{stats-helper-7a40c853.js → stats-helper-1d140605.js} +2 -2
- package/lib/stats-helper-1d140605.js.map +1 -0
- package/lib/{stats-helper-483cd12f.nomodule.js → stats-helper-3bb6f7e7.nomodule.js} +2 -2
- package/lib/stats-helper-3bb6f7e7.nomodule.js.map +1 -0
- package/lib/system/s.min.js +1 -1
- package/lib/system/s.min.js.map +1 -1
- package/lib/{tools-core-a3043617.nomodule.js → tools-core-8a7b9b4c.nomodule.js} +2 -2
- package/lib/tools-core-8a7b9b4c.nomodule.js.map +1 -0
- package/lib/{tools-core-f258f30f.js → tools-core-a1803081.js} +2 -2
- package/lib/tools-core-a1803081.js.map +1 -0
- package/lib/transparency.html +22 -8
- package/package.json +2 -2
- package/lib/component-dimensioning-4aca065a.js.map +0 -1
- package/lib/component-dimensioning-9ff33293.nomodule.js.map +0 -1
- package/lib/component-raycast-helper-ad3cc50d.js.map +0 -1
- package/lib/component-raycast-helper-d5ddab65.nomodule.js.map +0 -1
- package/lib/configurator-0ac7c962.nomodule.js.map +0 -1
- package/lib/configurator-79c102cc.js.map +0 -1
- package/lib/configurator-main-56a1b42c.js +0 -2
- package/lib/configurator-main-56a1b42c.js.map +0 -1
- package/lib/continuous-drawing-helper-4fa1eb65.nomodule.js.map +0 -1
- package/lib/continuous-drawing-helper-85fa88c5.js.map +0 -1
- package/lib/default-light-setting-23ff4500.js.map +0 -1
- package/lib/default-light-setting-d4c4c06d.nomodule.js.map +0 -1
- package/lib/embedding-dummy-app.js +0 -0
- package/lib/embedding-dummy-app.js.map +0 -1
- package/lib/embedding-dummy.html +0 -141
- package/lib/glb-viewer-camera-behaviour-9325772d.nomodule.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-d658f34e.js.map +0 -1
- package/lib/glb-viewer-main-1f625ba1.js +0 -2
- package/lib/glb-viewer-main-1f625ba1.js.map +0 -1
- package/lib/legacy/component-dimensioning-ab232080.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-de3471f1.legacy.js.map +0 -1
- package/lib/legacy/configurator-864151ae.legacy.js.map +0 -1
- package/lib/legacy/continuous-drawing-helper-2556f222.legacy.js.map +0 -1
- package/lib/legacy/default-light-setting-a6fedb74.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-camera-behaviour-597a4cfb.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-e5257a79.legacy.js.map +0 -1
- package/lib/legacy/roomle-configurator-00b7dfe6.legacy.js.map +0 -1
- package/lib/legacy/script-loader-ea8d221c.legacy.js.map +0 -1
- package/lib/legacy/stats-helper-fcada6da.legacy.js.map +0 -1
- package/lib/legacy/tools-core-775b3812.legacy.js.map +0 -1
- package/lib/material-viewer-041cb500.nomodule.js.map +0 -1
- package/lib/material-viewer-1c46ac45.js.map +0 -1
- package/lib/material-viewer-main-4e01b15a.js +0 -2
- package/lib/material-viewer-main-4e01b15a.js.map +0 -1
- package/lib/planner-main-0a80cac5.js +0 -2
- package/lib/planner-main-0a80cac5.js.map +0 -1
- package/lib/roomle-configurator-65bdca7b.nomodule.js.map +0 -1
- package/lib/roomle-configurator-b94bf934.js.map +0 -1
- package/lib/roomle-sdk-ebc300ad.js.map +0 -1
- package/lib/script-loader-a6b1634c.js.map +0 -1
- package/lib/script-loader-fc96beb7.nomodule.js.map +0 -1
- package/lib/stats-helper-483cd12f.nomodule.js.map +0 -1
- package/lib/stats-helper-7a40c853.js.map +0 -1
- package/lib/tools-core-a3043617.nomodule.js.map +0 -1
- package/lib/tools-core-f258f30f.js.map +0 -1
- /package/lib/definitions/{common-core/__tests__/async-guard.d.ts → packages/benchmark/budgeteer-measure.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/camera-control-2d.d.ts → packages/common-core/__tests__/async-guard.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/camera-control-3d.d.ts → packages/common-core/__tests__/camera-control-2d.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/camera-mode-helper.d.ts → packages/common-core/__tests__/camera-control-3d.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/common-kernel-access.d.ts → packages/common-core/__tests__/camera-mode-helper.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/configurator-kernel-access.d.ts → packages/common-core/__tests__/common-kernel-access.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/data-syncer.d.ts → packages/common-core/__tests__/configurator-kernel-access.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/dependency-injection.d.ts → packages/common-core/__tests__/data-syncer.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/dom-helper.d.ts → packages/common-core/__tests__/dependency-injection.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/dynamic-environment-setting-loader.d.ts → packages/common-core/__tests__/dom-helper.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/dynamic-light-setting-loader.d.ts → packages/common-core/__tests__/dynamic-environment-setting-loader.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/input-manager.d.ts → packages/common-core/__tests__/dynamic-light-setting-loader.d.ts} +0 -0
- /package/lib/definitions/{common-core → packages/common-core}/__tests__/image-renderer.d.ts +0 -0
- /package/lib/definitions/{common-core/__tests__/life-cycle-manager.d.ts → packages/common-core/__tests__/input-manager.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/main.d.ts → packages/common-core/__tests__/life-cycle-manager.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/rapi-access.d.ts → packages/common-core/__tests__/main.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/raycast-helper.d.ts → packages/common-core/__tests__/rapi-access.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/roomle-component-factory.d.ts → packages/common-core/__tests__/raycast-helper.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/script-loader.d.ts → packages/common-core/__tests__/roomle-component-factory.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/static-item-loader.d.ts → packages/common-core/__tests__/script-loader.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/ui-callback.d.ts → packages/common-core/__tests__/static-item-loader.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/app-context.d.ts → packages/common-core/__tests__/ui-callback.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/benchmark.d.ts → packages/common-core/__tests__/utils/app-context.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/browser-helper.d.ts → packages/common-core/__tests__/utils/benchmark.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/common-utils.d.ts → packages/common-core/__tests__/utils/browser-helper.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/enumerable.d.ts → packages/common-core/__tests__/utils/common-utils.d.ts} +0 -0
- /package/lib/definitions/{common-core → packages/common-core}/__tests__/utils/dom-helper.d.ts +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/kernel-utils.d.ts → packages/common-core/__tests__/utils/enumerable.d.ts} +0 -0
- /package/lib/definitions/{common-core → packages/common-core}/__tests__/utils/exposable.d.ts +0 -0
- /package/lib/definitions/{common-core → packages/common-core}/__tests__/utils/expose-for.d.ts +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/local-storage-helper.d.ts → packages/common-core/__tests__/utils/kernel-utils.d.ts} +0 -0
- /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
- /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
- /package/lib/definitions/{common-core/__tests__/utils/measurements.d.ts → packages/common-core/__tests__/utils/math-helper.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/promise-queue.d.ts → packages/common-core/__tests__/utils/measurements.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/query-params-helper.d.ts → packages/common-core/__tests__/utils/promise-queue.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/rapi-utils.d.ts → packages/common-core/__tests__/utils/query-params-helper.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/threejs-utils.d.ts → packages/common-core/__tests__/utils/rapi-utils.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/validate-params.d.ts → packages/common-core/__tests__/utils/threejs-utils.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/utils/waiter.d.ts → packages/common-core/__tests__/utils/validate-params.d.ts} +0 -0
- /package/lib/definitions/{common-core/__tests__/view-model/configurator-view-model.d.ts → packages/common-core/__tests__/utils/waiter.d.ts} +0 -0
- /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
- /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
- /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
- /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
- /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
- /package/lib/definitions/{configurator-core/__tests__/configurator-scene-event-handler.d.ts → packages/configurator-core/__tests__/configurator-mesh-generator.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/configurator-scene-manager.d.ts → packages/configurator-core/__tests__/configurator-scene-event-handler.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/configurator.d.ts → packages/configurator-core/__tests__/configurator-scene-manager.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/environment/floor-environment.d.ts → packages/configurator-core/__tests__/configurator.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/plugin-system.d.ts → packages/configurator-core/__tests__/environment/floor-environment.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/roomle-configurator.d.ts → packages/configurator-core/__tests__/plugin-system.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/scene-event-handler.d.ts → packages/configurator-core/__tests__/roomle-configurator.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/services/unit-formatter.d.ts → packages/configurator-core/__tests__/scene-event-handler.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/utils/component-dimensioning-helper.d.ts → packages/configurator-core/__tests__/services/unit-formatter.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/utils/component-dimensioning.d.ts → packages/configurator-core/__tests__/utils/component-dimensioning-helper.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/utils/component-raycast-helper.d.ts → packages/configurator-core/__tests__/utils/component-dimensioning.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/utils/configurator-history.d.ts → packages/configurator-core/__tests__/utils/component-raycast-helper.d.ts} +0 -0
- /package/lib/definitions/{configurator-core/__tests__/utils/dimensioning-helper.d.ts → packages/configurator-core/__tests__/utils/configurator-history.d.ts} +0 -0
- /package/lib/definitions/{glb-viewer-core/__tests__/adjujstable-camera-control-3d.d.ts → packages/configurator-core/__tests__/utils/dimensioning-helper.d.ts} +0 -0
- /package/lib/definitions/{glb-viewer-core/__tests__/glb-viewer-scene-manager.d.ts → packages/configurator-core/src/configurator-main.d.ts} +0 -0
- /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
- /package/lib/definitions/{material-viewer/__tests__/roomle-material-viewer.d.ts → packages/glb-viewer-core/__tests__/glb-viewer-scene-manager.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/Roomle-tool-cores.d.ts → packages/glb-viewer-core/__tests__/roomle-glb-viewer.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/camera-control-first-person.d.ts → packages/glb-viewer-core/src/glb-viewer-main.d.ts} +0 -0
- /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
- /package/lib/definitions/{planner-core/__tests__/configurator-plan-object-view-model.d.ts → packages/material-viewer/src/material-viewer-main.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/plan-object-view-model.d.ts → packages/planner-core/__tests__/Roomle-tool-cores.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/plan-view-model.d.ts → packages/planner-core/__tests__/camera-control-first-person.d.ts} +0 -0
- /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
- /package/lib/definitions/{planner-core/__tests__/planner-kernel-access.d.ts → packages/planner-core/__tests__/configurator-plan-object-view-model.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/planner-mesh-generator.d.ts → packages/planner-core/__tests__/plan-object-view-model.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/planner-scene-event-handler.d.ts → packages/planner-core/__tests__/plan-view-model.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/planner-scene-manager.d.ts → packages/planner-core/__tests__/planner-input-manager.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/planner-selection-handler.d.ts → packages/planner-core/__tests__/planner-kernel-access.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/planner.d.ts → packages/planner-core/__tests__/planner-mesh-generator.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/roomle-planner.d.ts → packages/planner-core/__tests__/planner-scene-event-handler.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/static-plan-object-view-model.d.ts → packages/planner-core/__tests__/planner-scene-manager.d.ts} +0 -0
- /package/lib/definitions/{planner-core/__tests__/webgl/lightsetting/planner-light-setting.d.ts → packages/planner-core/__tests__/planner-selection-handler.d.ts} +0 -0
- /package/lib/definitions/{workers/__tests__/asset-loader.d.ts → packages/planner-core/__tests__/planner.d.ts} +0 -0
- /package/lib/definitions/{workers/__tests__/budgeteer.sw.d.ts → packages/planner-core/__tests__/roomle-planner.d.ts} +0 -0
- /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);
|