@roomle/web-sdk 2.43.0 → 2.44.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.releaserc.json +55 -58
- package/README.md +3 -0
- package/lib/banana-for-scale-58aa07e7.nomodule.js +2 -0
- package/lib/{banana-for-scale-d4c457d4.nomodule.js.map → banana-for-scale-58aa07e7.nomodule.js.map} +1 -1
- package/lib/banana-for-scale-b0cad920.js +2 -0
- package/lib/{banana-for-scale-29fe9ece.js.map → banana-for-scale-b0cad920.js.map} +1 -1
- package/lib/budgeteer-measure-23a42ba1.js +2 -0
- package/lib/budgeteer-measure-23a42ba1.js.map +1 -0
- package/lib/budgeteer-measure.nomodule.js +1 -1
- package/lib/budgeteer-measure.nomodule.js.map +1 -1
- package/lib/component-dimensioning-3e2b21b8.nomodule.js +2 -0
- package/lib/component-dimensioning-3e2b21b8.nomodule.js.map +1 -0
- package/lib/{component-dimensioning-7b9b757c.nomodule.js → component-dimensioning-c2294a31.js} +2 -2
- package/lib/component-dimensioning-c2294a31.js.map +1 -0
- package/lib/{component-raycast-helper-e2883ebb.nomodule.js → component-raycast-helper-0b429141.nomodule.js} +2 -2
- package/lib/component-raycast-helper-0b429141.nomodule.js.map +1 -0
- package/lib/{component-raycast-helper-1eac1f65.js → component-raycast-helper-96be30dc.js} +2 -2
- package/lib/component-raycast-helper-96be30dc.js.map +1 -0
- package/lib/{configurator-df61a67c.js → configurator-1a9502eb.js} +2 -2
- package/lib/configurator-1a9502eb.js.map +1 -0
- package/lib/{configurator-9b988733.nomodule.js → configurator-ad930002.nomodule.js} +2 -2
- package/lib/configurator-ad930002.nomodule.js.map +1 -0
- package/lib/configurator-dummy-app.js.map +1 -1
- package/lib/configurator-dummy.html +167 -79
- package/lib/configurator-main-d4d311c0.js +2 -0
- package/lib/configurator-main-d4d311c0.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{default-light-setting-004b9cd2.js → default-light-setting-17aeb133.js} +2 -2
- package/lib/default-light-setting-17aeb133.js.map +1 -0
- package/lib/{default-light-setting-c6c8e1ad.nomodule.js → default-light-setting-917cc079.nomodule.js} +2 -2
- package/lib/default-light-setting-917cc079.nomodule.js.map +1 -0
- package/lib/definitions/acceptance-tests/src/utils/async-acceptance-test.d.ts +1 -1
- package/lib/definitions/common-core/mock/three-mock.d.ts +1 -1
- package/lib/definitions/common-core/src/error-handler.d.ts +1 -1
- package/lib/definitions/common-core/src/kernel-io.d.ts +1 -1
- package/lib/definitions/common-core/src/lightsetting/dynamic-light-setting-loader.d.ts +1 -1
- package/lib/definitions/common-core/src/rapi-access.d.ts +3 -3
- package/lib/definitions/common-core/src/script-loader.d.ts +1 -1
- package/lib/definitions/common-core/src/utils/common-utils.d.ts +1 -1
- package/lib/definitions/common-core/src/view-model/configurator-view-model.d.ts +1 -0
- package/lib/definitions/common-core/src/webgl/image-renderer.d.ts +1 -1
- package/lib/definitions/configurator-core/src/roomle-configurator.d.ts +58 -58
- package/lib/definitions/configurator-core/src/services/configurator-ui-callback.d.ts +2 -2
- package/lib/definitions/configurator-core/src/utils/event-dispatcher.d.ts +1 -1
- package/lib/definitions/configurator-core/src/utils/indexeddb-adapter.d.ts +2 -2
- package/lib/definitions/configurator-core/src/utils/test-helpers/interaction-helper.d.ts +2 -2
- package/lib/definitions/configurator-core/src/utils/test-helpers/ui-mock.d.ts +3 -3
- package/lib/definitions/configurator-core/src/utils/ui-intersection-helper.d.ts +2 -2
- package/lib/definitions/planner-core/mock/planner-kernel-access-mock.d.ts +1 -1
- package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +1 -0
- package/lib/definitions/tools-core/src/roomle-tools-core.d.ts +1 -1
- package/lib/definitions/typings/global-definitions.d.ts +1 -1
- package/lib/definitions/typings/helper.d.ts +1 -1
- package/lib/definitions/typings/kernel.d.ts +1 -1
- package/lib/definitions/typings/rapi-types.d.ts +9 -9
- package/lib/definitions/workers/src/budgeteer.sw.d.ts +1 -1
- package/lib/dimensioning-helper-0995e4b8.nomodule.js +2 -0
- package/lib/dimensioning-helper-0995e4b8.nomodule.js.map +1 -0
- package/lib/dimensioning-helper-b166264a.js +2 -0
- package/lib/{dimensioning-helper-707197b7.js.map → dimensioning-helper-b166264a.js.map} +1 -1
- package/lib/embedding-dummy.html +122 -94
- package/lib/glb-viewer-45e04caa.js +2 -0
- package/lib/{glb-viewer-a3b1ff73.js.map → glb-viewer-45e04caa.js.map} +1 -1
- package/lib/glb-viewer-dummy-app.js.map +1 -1
- package/lib/glb-viewer-dummy.html +44 -30
- package/lib/glb-viewer-f5f9a050.nomodule.js +2 -0
- package/lib/{glb-viewer-23b774e0.nomodule.js.map → glb-viewer-f5f9a050.nomodule.js.map} +1 -1
- package/lib/glb-viewer-main-be603c6d.js +2 -0
- package/lib/glb-viewer-main-be603c6d.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/banana-for-scale-2021b8ce.legacy.js +2 -0
- package/lib/legacy/{banana-for-scale-f8ab137f.legacy.js.map → banana-for-scale-2021b8ce.legacy.js.map} +1 -1
- package/lib/legacy/budgeteer-measure.legacy.js +1 -1
- package/lib/legacy/budgeteer-measure.legacy.js.map +1 -1
- package/lib/legacy/component-dimensioning-f4289533.legacy.js +2 -0
- package/lib/legacy/component-dimensioning-f4289533.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-59acc8b8.legacy.js → component-raycast-helper-afb624ed.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-afb624ed.legacy.js.map +1 -0
- package/lib/legacy/{configurator-678bed92.legacy.js → configurator-431855b5.legacy.js} +2 -2
- package/lib/legacy/configurator-431855b5.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{default-light-setting-0eae7ddf.legacy.js → default-light-setting-29282b63.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-29282b63.legacy.js.map +1 -0
- package/lib/legacy/dimensioning-helper-b5001288.legacy.js +2 -0
- package/lib/legacy/dimensioning-helper-b5001288.legacy.js.map +1 -0
- package/lib/legacy/glb-viewer-0020898e.legacy.js +2 -0
- package/lib/legacy/{glb-viewer-ddc7a29d.legacy.js.map → glb-viewer-0020898e.legacy.js.map} +1 -1
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/main-thread-to-worker-cc24f989.legacy.js +2 -0
- package/lib/legacy/main-thread-to-worker-cc24f989.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-51065b97.legacy.js +2 -0
- package/lib/legacy/material-viewer-51065b97.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/pixotron-e0f1cf47.legacy.js +2 -0
- package/lib/legacy/{pixotron-80fe5913.legacy.js.map → pixotron-e0f1cf47.legacy.js.map} +1 -1
- package/lib/legacy/planner-1af4bef2.legacy.js +2 -0
- package/lib/legacy/{planner-e41a2569.legacy.js.map → planner-1af4bef2.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/roomle-configurator-40f860e2.legacy.js +2 -0
- package/lib/legacy/{roomle-configurator-6602a267.legacy.js.map → roomle-configurator-40f860e2.legacy.js.map} +1 -1
- package/lib/legacy/roomle-dependency-injection-c465c69e.legacy.js +16 -0
- package/lib/legacy/{roomle-dependency-injection-e294616d.legacy.js.map → roomle-dependency-injection-c465c69e.legacy.js.map} +1 -1
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-9dc48cfd.legacy.js → script-loader-f53b8215.legacy.js} +2 -2
- package/lib/legacy/script-loader-f53b8215.legacy.js.map +1 -0
- package/lib/legacy/static/{ConfiguratorKernel-e9065c8be4011f61.js → ConfiguratorKernel-0f003a2d53bdb498.js} +74 -73
- package/lib/legacy/static/ConfiguratorKernel-fee68dd17368f9c8.wasm +0 -0
- package/lib/legacy/static/ConfiguratorKernelJs-397177488117675e.js +146 -0
- package/lib/legacy/static/ConfiguratorKernelJs-6735c733ccd66361.mem +0 -0
- package/lib/legacy/static/DepthShadowGenerator-a3a9d85ff2c3d24c.js +266 -0
- package/lib/legacy/static/RoomleCore-4eb435620392fcc4.js +130 -0
- package/lib/legacy/static/RoomleCore-83f9a9bf9e4d7f73.wasm +0 -0
- package/lib/legacy/static/RoomleCoreJs-46a5e90adbb12d0c.js +154 -0
- package/lib/legacy/static/RoomleCoreJs-8bc350683d3c35ae.mem +0 -0
- package/lib/legacy/static/{RoomleToolsCore-eb38af3a8c882dff.js → RoomleToolsCore-2ec3c50f245db642.js} +70 -70
- package/lib/legacy/static/RoomleToolsCore-e949cc1f9026c61f.wasm +0 -0
- package/lib/legacy/static/Tween-5ebfb82307807fdc.js +767 -0
- package/lib/legacy/static/{asset-loader.worker-796c70f59b977071.js → asset-loader.worker-caa87aba0f76ce49.js} +1 -1
- package/lib/legacy/static/{budgeteer.sw-e7566da86237bca8.js → budgeteer.sw-0a8d4e36e18346a5.js} +1 -1
- package/lib/legacy/static/camera-05824b47cdb951e4.json +39 -0
- package/lib/legacy/static/dat.gui.min-24a0d861d5534d62.js +2447 -0
- package/lib/legacy/static/rubik_regular-bc008a7de2daee79.json +3535 -0
- package/lib/legacy/static/rubik_regular_sub-2dd2d5cca49018c5.json +168 -0
- package/lib/legacy/static/shaders-88030e4fbae39928.json +1 -0
- package/lib/legacy/stats-helper-951a6039.legacy.js +2 -0
- package/lib/legacy/{stats-helper-b0633f63.legacy.js.map → stats-helper-951a6039.legacy.js.map} +1 -1
- package/lib/legacy/{tools-core-0b66a05d.legacy.js → tools-core-8e9fd5dd.legacy.js} +2 -2
- package/lib/legacy/tools-core-8e9fd5dd.legacy.js.map +1 -0
- package/lib/main-thread-to-worker-6a4eb1ee.nomodule.js +2 -0
- package/lib/main-thread-to-worker-6a4eb1ee.nomodule.js.map +1 -0
- package/lib/main-thread-to-worker-88f74244.js +2 -0
- package/lib/main-thread-to-worker-88f74244.js.map +1 -0
- package/lib/material-viewer-2df0572f.nomodule.js +2 -0
- package/lib/material-viewer-2df0572f.nomodule.js.map +1 -0
- package/lib/material-viewer-ca21925a.js +2 -0
- package/lib/material-viewer-ca21925a.js.map +1 -0
- package/lib/material-viewer-dummy-app.js.map +1 -1
- package/lib/material-viewer-dummy.html +39 -22
- package/lib/material-viewer-main-5b2d8fb1.js +2 -0
- package/lib/material-viewer-main-5b2d8fb1.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/measure.html +27 -34
- package/lib/pixotron-32c4e05d.js +2 -0
- package/lib/{pixotron-4eb69a29.js.map → pixotron-32c4e05d.js.map} +1 -1
- package/lib/pixotron-3be821e5.nomodule.js +2 -0
- package/lib/{pixotron-b8a4128f.nomodule.js.map → pixotron-3be821e5.nomodule.js.map} +1 -1
- package/lib/planner-07dfff6d.js +2 -0
- package/lib/{planner-05629dc5.js.map → planner-07dfff6d.js.map} +1 -1
- package/lib/planner-21a6fccd.nomodule.js +2 -0
- package/lib/{planner-0c378c93.nomodule.js.map → planner-21a6fccd.nomodule.js.map} +1 -1
- package/lib/planner-dummy-app.js.map +1 -1
- package/lib/planner-dummy.html +64 -43
- package/lib/planner-main-8a56d68d.js +2 -0
- package/lib/planner-main-8a56d68d.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/roomle-configurator-072f6af1.nomodule.js +2 -0
- package/lib/{roomle-configurator-ca8a3f05.nomodule.js.map → roomle-configurator-072f6af1.nomodule.js.map} +1 -1
- package/lib/roomle-configurator-21e1c87c.js +2 -0
- package/lib/{roomle-configurator-a2354193.js.map → roomle-configurator-21e1c87c.js.map} +1 -1
- package/lib/roomle-dependency-injection-8d66ecac.js +16 -0
- package/lib/{roomle-dependency-injection-dade8841.js.map → roomle-dependency-injection-8d66ecac.js.map} +1 -1
- package/lib/roomle-dependency-injection-f0b933f6.nomodule.js +16 -0
- package/lib/{roomle-dependency-injection-4d02aeed.nomodule.js.map → roomle-dependency-injection-f0b933f6.nomodule.js.map} +1 -1
- package/lib/{roomle-sdk-acba0c06.js → roomle-sdk-038a1704.js} +2 -2
- package/lib/roomle-sdk-038a1704.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-122c197b.js → script-loader-a1d7afdd.js} +2 -2
- package/lib/script-loader-a1d7afdd.js.map +1 -0
- package/lib/{script-loader-425dddf6.nomodule.js → script-loader-c56ceed8.nomodule.js} +2 -2
- package/lib/script-loader-c56ceed8.nomodule.js.map +1 -0
- package/lib/static/ConfiguratorKernel-0f003a2d53bdb498.js +1 -0
- package/lib/static/ConfiguratorKernel-0f003a2d53bdb498.js.map +1 -0
- package/lib/static/ConfiguratorKernel-fee68dd17368f9c8.wasm +0 -0
- package/lib/static/ConfiguratorKernelJs-397177488117675e.js +146 -0
- package/lib/static/ConfiguratorKernelJs-6735c733ccd66361.mem +0 -0
- package/lib/static/{DepthShadowGenerator-4c4b06f0801c4034.js → DepthShadowGenerator-a3a9d85ff2c3d24c.js} +0 -0
- package/lib/static/DepthShadowGenerator-a3a9d85ff2c3d24c.js.map +1 -0
- package/lib/static/RoomleCore-4eb435620392fcc4.js +1 -0
- package/lib/static/RoomleCore-4eb435620392fcc4.js.map +1 -0
- package/lib/static/RoomleCore-83f9a9bf9e4d7f73.wasm +0 -0
- package/lib/static/RoomleCoreJs-46a5e90adbb12d0c.js +154 -0
- package/lib/static/RoomleCoreJs-8bc350683d3c35ae.mem +0 -0
- package/lib/static/RoomleToolsCore-2ec3c50f245db642.js +1 -0
- package/lib/static/RoomleToolsCore-2ec3c50f245db642.js.map +1 -0
- package/lib/static/RoomleToolsCore-e949cc1f9026c61f.wasm +0 -0
- package/lib/static/{Tween-d024b02fe34f25ab.js → Tween-5ebfb82307807fdc.js} +0 -0
- package/lib/static/Tween-5ebfb82307807fdc.js.map +1 -0
- package/lib/static/{asset-loader.worker-796c70f59b977071.js → asset-loader.worker-caa87aba0f76ce49.js} +1 -1
- package/lib/static/{asset-loader.worker-796c70f59b977071.js.map → asset-loader.worker-caa87aba0f76ce49.js.map} +0 -0
- package/lib/static/asset-loader.worker.js +1 -1
- package/lib/static/{budgeteer.sw-e7566da86237bca8.js → budgeteer.sw-0a8d4e36e18346a5.js} +1 -1
- package/lib/static/{budgeteer.sw-e7566da86237bca8.js.map → budgeteer.sw-0a8d4e36e18346a5.js.map} +0 -0
- package/lib/static/budgeteer.sw.js +1 -1
- package/lib/static/camera-05824b47cdb951e4.json +39 -0
- package/lib/static/{dat.gui.min-b5cbb61e5c62f0bf.js → dat.gui.min-24a0d861d5534d62.js} +0 -0
- package/lib/static/dat.gui.min-24a0d861d5534d62.js.map +1 -0
- package/lib/static/rubik_regular-bc008a7de2daee79.json +3535 -0
- package/lib/static/rubik_regular_sub-2dd2d5cca49018c5.json +168 -0
- package/lib/static/shaders-88030e4fbae39928.json +1 -0
- package/lib/static/worker-to-main-thread-3ad1cee7.js +1 -0
- package/lib/static/worker-to-main-thread-3ad1cee7.js.map +1 -0
- package/lib/static/worker-to-main-thread-73234f7a.js +1 -0
- package/lib/static/worker-to-main-thread-73234f7a.js.map +1 -0
- package/lib/stats-helper-53909b17.js +2 -0
- package/lib/{stats-helper-c731f63a.js.map → stats-helper-53909b17.js.map} +1 -1
- package/lib/{stats-helper-c731f63a.js → stats-helper-a75dc3da.nomodule.js} +2 -2
- package/lib/{stats-helper-37c0d77c.nomodule.js.map → stats-helper-a75dc3da.nomodule.js.map} +1 -1
- package/lib/{tools-core-4c13977c.js → tools-core-4e24e712.js} +2 -2
- package/lib/tools-core-4e24e712.js.map +1 -0
- package/lib/{tools-core-89d54f1f.nomodule.js → tools-core-865f89df.nomodule.js} +2 -2
- package/lib/tools-core-865f89df.nomodule.js.map +1 -0
- package/package.json +2 -2
- package/scripts/copy-assets-sdk.js +68 -56
- package/lib/banana-for-scale-29fe9ece.js +0 -2
- package/lib/banana-for-scale-d4c457d4.nomodule.js +0 -2
- package/lib/budgeteer-measure-1377faa9.js +0 -2
- package/lib/budgeteer-measure-1377faa9.js.map +0 -1
- package/lib/component-dimensioning-7b9b757c.nomodule.js.map +0 -1
- package/lib/component-dimensioning-d77dc5fd.js +0 -2
- package/lib/component-dimensioning-d77dc5fd.js.map +0 -1
- package/lib/component-raycast-helper-1eac1f65.js.map +0 -1
- package/lib/component-raycast-helper-e2883ebb.nomodule.js.map +0 -1
- package/lib/configurator-9b988733.nomodule.js.map +0 -1
- package/lib/configurator-df61a67c.js.map +0 -1
- package/lib/configurator-main-c2a9b119.js +0 -2
- package/lib/configurator-main-c2a9b119.js.map +0 -1
- package/lib/default-light-setting-004b9cd2.js.map +0 -1
- package/lib/default-light-setting-c6c8e1ad.nomodule.js.map +0 -1
- package/lib/dimensioning-helper-62227f7c.nomodule.js +0 -2
- package/lib/dimensioning-helper-62227f7c.nomodule.js.map +0 -1
- package/lib/dimensioning-helper-707197b7.js +0 -2
- package/lib/glb-viewer-23b774e0.nomodule.js +0 -2
- package/lib/glb-viewer-a3b1ff73.js +0 -2
- package/lib/glb-viewer-main-b413d64a.js +0 -2
- package/lib/glb-viewer-main-b413d64a.js.map +0 -1
- package/lib/legacy/banana-for-scale-f8ab137f.legacy.js +0 -2
- package/lib/legacy/component-dimensioning-06a6f9ee.legacy.js +0 -2
- package/lib/legacy/component-dimensioning-06a6f9ee.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-59acc8b8.legacy.js.map +0 -1
- package/lib/legacy/configurator-678bed92.legacy.js.map +0 -1
- package/lib/legacy/default-light-setting-0eae7ddf.legacy.js.map +0 -1
- package/lib/legacy/dimensioning-helper-97e8b9c5.legacy.js +0 -2
- package/lib/legacy/dimensioning-helper-97e8b9c5.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-ddc7a29d.legacy.js +0 -2
- package/lib/legacy/main-thread-to-worker-e2f2b9cb.legacy.js +0 -2
- package/lib/legacy/main-thread-to-worker-e2f2b9cb.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-a01fd304.legacy.js +0 -2
- package/lib/legacy/material-viewer-a01fd304.legacy.js.map +0 -1
- package/lib/legacy/pixotron-80fe5913.legacy.js +0 -2
- package/lib/legacy/planner-e41a2569.legacy.js +0 -2
- package/lib/legacy/roomle-configurator-6602a267.legacy.js +0 -2
- package/lib/legacy/roomle-dependency-injection-e294616d.legacy.js +0 -16
- package/lib/legacy/script-loader-9dc48cfd.legacy.js.map +0 -1
- package/lib/legacy/static/ConfiguratorKernel-2e859fe27a3c86ed.wasm +0 -0
- package/lib/legacy/static/ConfiguratorKernelJs-23e7a53b8a38380c.mem +0 -0
- package/lib/legacy/static/ConfiguratorKernelJs-b43dc826821e864e.js +0 -146
- package/lib/legacy/static/DepthShadowGenerator-4c4b06f0801c4034.js +0 -262
- package/lib/legacy/static/RoomleCore-07c1ebfd847560ef.wasm +0 -0
- package/lib/legacy/static/RoomleCore-b08e77d418a3f4a0.js +0 -130
- package/lib/legacy/static/RoomleCoreJs-b207f4e5106d5bf5.js +0 -154
- package/lib/legacy/static/RoomleCoreJs-f9d0ac5ec78a81f3.mem +0 -0
- package/lib/legacy/static/RoomleToolsCore-c33ca3a9cb8ba880.wasm +0 -0
- package/lib/legacy/static/Tween-d024b02fe34f25ab.js +0 -913
- package/lib/legacy/static/camera-f4cef679615485dc.json +0 -39
- package/lib/legacy/static/dat.gui.min-b5cbb61e5c62f0bf.js +0 -13
- package/lib/legacy/static/rubik_regular-75bd7bb699e9e39d.json +0 -1
- package/lib/legacy/static/rubik_regular_sub-eb3f3b61078695cc.json +0 -1
- package/lib/legacy/static/shaders-7bdb2939b2a0d677.json +0 -1
- package/lib/legacy/stats-helper-b0633f63.legacy.js +0 -2
- package/lib/legacy/tools-core-0b66a05d.legacy.js.map +0 -1
- package/lib/main-thread-to-worker-681bab1a.js +0 -2
- package/lib/main-thread-to-worker-681bab1a.js.map +0 -1
- package/lib/main-thread-to-worker-7283a354.nomodule.js +0 -2
- package/lib/main-thread-to-worker-7283a354.nomodule.js.map +0 -1
- package/lib/material-viewer-2ca0de10.js +0 -2
- package/lib/material-viewer-2ca0de10.js.map +0 -1
- package/lib/material-viewer-ba8646c8.nomodule.js +0 -2
- package/lib/material-viewer-ba8646c8.nomodule.js.map +0 -1
- package/lib/material-viewer-main-dd95bf93.js +0 -2
- package/lib/material-viewer-main-dd95bf93.js.map +0 -1
- package/lib/pixotron-4eb69a29.js +0 -2
- package/lib/pixotron-b8a4128f.nomodule.js +0 -2
- package/lib/planner-05629dc5.js +0 -2
- package/lib/planner-0c378c93.nomodule.js +0 -2
- package/lib/planner-main-117f91e4.js +0 -2
- package/lib/planner-main-117f91e4.js.map +0 -1
- package/lib/roomle-configurator-a2354193.js +0 -2
- package/lib/roomle-configurator-ca8a3f05.nomodule.js +0 -2
- package/lib/roomle-dependency-injection-4d02aeed.nomodule.js +0 -16
- package/lib/roomle-dependency-injection-dade8841.js +0 -16
- package/lib/roomle-sdk-acba0c06.js.map +0 -1
- package/lib/script-loader-122c197b.js.map +0 -1
- package/lib/script-loader-425dddf6.nomodule.js.map +0 -1
- package/lib/static/ConfiguratorKernel-2e859fe27a3c86ed.wasm +0 -0
- package/lib/static/ConfiguratorKernel-e9065c8be4011f61.js +0 -1
- package/lib/static/ConfiguratorKernel-e9065c8be4011f61.js.map +0 -1
- package/lib/static/ConfiguratorKernelJs-23e7a53b8a38380c.mem +0 -0
- package/lib/static/ConfiguratorKernelJs-b43dc826821e864e.js +0 -146
- package/lib/static/DepthShadowGenerator-4c4b06f0801c4034.js.map +0 -1
- package/lib/static/RoomleCore-07c1ebfd847560ef.wasm +0 -0
- package/lib/static/RoomleCore-b08e77d418a3f4a0.js +0 -1
- package/lib/static/RoomleCore-b08e77d418a3f4a0.js.map +0 -1
- package/lib/static/RoomleCoreJs-b207f4e5106d5bf5.js +0 -154
- package/lib/static/RoomleCoreJs-f9d0ac5ec78a81f3.mem +0 -0
- package/lib/static/RoomleToolsCore-c33ca3a9cb8ba880.wasm +0 -0
- package/lib/static/RoomleToolsCore-eb38af3a8c882dff.js +0 -1
- package/lib/static/RoomleToolsCore-eb38af3a8c882dff.js.map +0 -1
- package/lib/static/Tween-d024b02fe34f25ab.js.map +0 -1
- package/lib/static/camera-f4cef679615485dc.json +0 -39
- package/lib/static/dat.gui.min-b5cbb61e5c62f0bf.js.map +0 -1
- package/lib/static/rubik_regular-75bd7bb699e9e39d.json +0 -1
- package/lib/static/rubik_regular_sub-eb3f3b61078695cc.json +0 -1
- package/lib/static/shaders-7bdb2939b2a0d677.json +0 -1
- package/lib/stats-helper-37c0d77c.nomodule.js +0 -2
- package/lib/tools-core-4c13977c.js.map +0 -1
- package/lib/tools-core-89d54f1f.nomodule.js.map +0 -1
|
@@ -1,94 +1,182 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8"
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge"
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
6
6
|
<title>HSC Dummy</title>
|
|
7
|
-
<meta name="description" content=""
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.loadConfiguration {
|
|
7
|
+
<meta name="description" content="" />
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<style>
|
|
12
|
+
.loadConfiguration {
|
|
14
13
|
background-color: lightblue;
|
|
15
|
-
|
|
14
|
+
}
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
.loadConfigurableItem {
|
|
18
17
|
background-color: lightsalmon;
|
|
19
|
-
|
|
20
|
-
</style>
|
|
21
|
-
<div>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
18
|
+
}
|
|
19
|
+
</style>
|
|
20
|
+
<div>
|
|
21
|
+
<textarea type="text" id="input-configuration"></textarea>
|
|
22
|
+
<button id="load-configuration" disabled="disabled">
|
|
23
|
+
Load configuration
|
|
24
|
+
</button>
|
|
25
|
+
<button id="load-rapi-configuration" disabled="disabled">
|
|
26
|
+
Load rapi configuration
|
|
27
|
+
</button>
|
|
28
|
+
<button id="load-item" disabled="disabled">Load rapi item</button>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="dummy-buttons">
|
|
31
|
+
<button
|
|
32
|
+
disabled="disabled"
|
|
33
|
+
class="loadConfigurableItem"
|
|
34
|
+
data-rml-id="sitzfeldt:Panama_L_version_rechts"
|
|
35
|
+
>
|
|
36
|
+
Sitzfeldt Sofa
|
|
37
|
+
</button>
|
|
38
|
+
<button
|
|
39
|
+
disabled="disabled"
|
|
40
|
+
class="loadConfigurableItem"
|
|
41
|
+
data-rml-id="koinor:Formia_11710052"
|
|
42
|
+
>
|
|
43
|
+
Formia Sofa
|
|
44
|
+
</button>
|
|
45
|
+
<button
|
|
46
|
+
disabled="disabled"
|
|
47
|
+
class="loadConfigurableItem"
|
|
48
|
+
data-rml-id="joka:Arte_Bed"
|
|
49
|
+
>
|
|
50
|
+
Joka Bed
|
|
51
|
+
</button>
|
|
52
|
+
<button
|
|
53
|
+
disabled="disabled"
|
|
54
|
+
class="loadConfigurableItem"
|
|
55
|
+
data-rml-id="moormann:FNP2"
|
|
56
|
+
>
|
|
57
|
+
Moormann Shelf
|
|
58
|
+
</button>
|
|
59
|
+
<button
|
|
60
|
+
disabled="disabled"
|
|
61
|
+
class="loadConfigurableItem"
|
|
62
|
+
data-rml-id="team7:RilettoBed"
|
|
63
|
+
>
|
|
64
|
+
Team7 Bed
|
|
65
|
+
</button>
|
|
66
|
+
<button
|
|
67
|
+
disabled="disabled"
|
|
68
|
+
class="loadConfigurableItem"
|
|
69
|
+
data-rml-id="strasser:ST-ONEUnitL244"
|
|
70
|
+
>
|
|
71
|
+
Strasser Kitchen
|
|
72
|
+
</button>
|
|
38
73
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
74
|
+
<button
|
|
75
|
+
disabled="disabled"
|
|
76
|
+
class="loadConfiguration"
|
|
77
|
+
data-rml-id="venjakob:Turn:3941E6FE3112C540CB94152649A6F6512BDABA6322BBC7372B8D89EA5A44F5D5"
|
|
78
|
+
>
|
|
79
|
+
Venkajob Chair
|
|
80
|
+
</button>
|
|
81
|
+
<button
|
|
82
|
+
disabled="disabled"
|
|
83
|
+
class="loadConfiguration"
|
|
84
|
+
data-rml-id="biohort:Highline_Master:E4A40F90869CFB913BF9BC68A4CE6407C2602FEC1C386F1CAECA2A142766F871"
|
|
85
|
+
>
|
|
44
86
|
Biohort
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
RAPI
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
87
|
+
</button>
|
|
88
|
+
<button
|
|
89
|
+
disabled="disabled"
|
|
90
|
+
class="loadConfiguration"
|
|
91
|
+
data-rml-id="usm:frame:FA92430853C0E886C163F12A7DEAEB4609CD3EAC30AA9AC2B6601E6273EB3130"
|
|
92
|
+
>
|
|
93
|
+
USM conf from RAPI
|
|
94
|
+
</button>
|
|
95
|
+
<button
|
|
96
|
+
disabled="disabled"
|
|
97
|
+
class="loadConfiguration"
|
|
98
|
+
data-rml-id="KIKA:Consul:01D1C44477E66A4F12A98E6834A496C8A95FA99492FEC6380087F479F5B709EB"
|
|
99
|
+
>
|
|
100
|
+
Kika conf from RAPI
|
|
101
|
+
</button>
|
|
102
|
+
<button
|
|
103
|
+
disabled="disabled"
|
|
104
|
+
class="loadConfiguration"
|
|
105
|
+
data-rml-id="ikea:PAX_Wardrobe:61B46FE6B3C405B706F67FAA093092C2DFB9C691052AFC72F9B941BA81BB0C44"
|
|
106
|
+
>
|
|
107
|
+
Ikea conf from RAPI
|
|
108
|
+
</button>
|
|
57
109
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
110
|
+
<button disabled="disabled" id="load-configuration-sofa">
|
|
111
|
+
KIKA Sofa
|
|
112
|
+
</button>
|
|
113
|
+
<button disabled="disabled" id="load-configuration-string-big">
|
|
114
|
+
USM from String (big)
|
|
115
|
+
</button>
|
|
116
|
+
<button disabled="disabled" id="load-configuration-string-small">
|
|
117
|
+
USM from String (small)
|
|
118
|
+
</button>
|
|
119
|
+
<button disabled="disabled" id="load-configuration-fantoni">
|
|
120
|
+
Fantoni from String
|
|
121
|
+
</button>
|
|
122
|
+
<button disabled="disabled" id="load-configuration-muuto">
|
|
123
|
+
Muuto from String
|
|
124
|
+
</button>
|
|
125
|
+
<button disabled="disabled" id="debug-scene-graph">Scene Graph</button>
|
|
126
|
+
<button disabled="disabled" id="component-change-width">
|
|
127
|
+
Change Width to 350.00
|
|
128
|
+
</button>
|
|
129
|
+
<button disabled="disabled" id="preview-dockings">Show Ghosts</button>
|
|
130
|
+
<button disabled="disabled" id="preview-dockings-fantoni">
|
|
131
|
+
Show Fantoni Ghosts
|
|
132
|
+
</button>
|
|
133
|
+
<button disabled="disabled" id="preview-dockings-muuto">
|
|
134
|
+
Show Muuto Ghosts
|
|
135
|
+
</button>
|
|
136
|
+
<button disabled="disabled" id="preview-dockings-umdasch">
|
|
137
|
+
Show Umdasch Ghosts
|
|
138
|
+
</button>
|
|
139
|
+
<button disabled="disabled" id="image">Perspective Image</button>
|
|
140
|
+
<button disabled="disabled" id="top-image">Top Image</button>
|
|
141
|
+
<button disabled="disabled" id="part-image">Part Image</button>
|
|
142
|
+
<button disabled="disabled" id="render-image">Render Image</button>
|
|
143
|
+
<button disabled="disabled" id="component-delete">
|
|
144
|
+
Delete Component
|
|
145
|
+
</button>
|
|
146
|
+
<button disabled="disabled" id="camera-reset">Reset Camera</button>
|
|
147
|
+
<button disabled="disabled" id="pause">Pause</button>
|
|
148
|
+
<button disabled="disabled" id="resume">Resume</button>
|
|
149
|
+
<button disabled="disabled" id="component-info">Component Info</button>
|
|
150
|
+
</div>
|
|
151
|
+
<script>
|
|
152
|
+
window.performance.mark('load_app_js_start');
|
|
153
|
+
var appjsLoaded = function load(event) {
|
|
82
154
|
console.log('ON LOAD DONE');
|
|
83
155
|
window.performance.mark('load_app_js_end');
|
|
84
|
-
window.performance.measure(
|
|
156
|
+
window.performance.measure(
|
|
157
|
+
'load_app_js',
|
|
158
|
+
'load_app_js_start',
|
|
159
|
+
'load_app_js_end'
|
|
160
|
+
);
|
|
85
161
|
const script = document.createElement('script');
|
|
86
162
|
script.src = 'configurator-dummy-app.js';
|
|
87
163
|
document.body.appendChild(script);
|
|
88
|
-
|
|
89
|
-
</script>
|
|
90
|
-
<div
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
164
|
+
};
|
|
165
|
+
</script>
|
|
166
|
+
<div
|
|
167
|
+
id="roomle-configurator"
|
|
168
|
+
style="
|
|
169
|
+
height: 100vh;
|
|
170
|
+
width: 100%;
|
|
171
|
+
background-color: deeppink;
|
|
172
|
+
border: solid 1px gray;
|
|
173
|
+
"
|
|
174
|
+
></div>
|
|
175
|
+
<script
|
|
176
|
+
src="configurator-main.js"
|
|
177
|
+
id="appjs"
|
|
178
|
+
type="module"
|
|
179
|
+
onload="appjsLoaded();"
|
|
180
|
+
></script>
|
|
181
|
+
</body>
|
|
94
182
|
</html>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./query-params-helper-a271f9dc.js";import"./roomle-dependency-injection-8d66ecac.js";import"./main-thread-to-worker-88f74244.js";import"./roomle-configurator-21e1c87c.js";import"./pixotron-32c4e05d.js";import"./script-loader-a1d7afdd.js";import"./component-raycast-helper-96be30dc.js";import"./default-light-setting-17aeb133.js";import{Configurator}from"./configurator-1a9502eb.js";(new Configurator).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let o=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-o))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});
|
|
2
|
+
//# sourceMappingURL=configurator-main-d4d311c0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-main-d4d311c0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./query-params-helper-c231e1b8.nomodule.js","./roomle-dependency-injection-
|
|
1
|
+
System.register(["./query-params-helper-c231e1b8.nomodule.js","./roomle-dependency-injection-f0b933f6.nomodule.js","./main-thread-to-worker-6a4eb1ee.nomodule.js","./roomle-configurator-072f6af1.nomodule.js","./pixotron-3be821e5.nomodule.js","./script-loader-c56ceed8.nomodule.js","./component-raycast-helper-0b429141.nomodule.js","./default-light-setting-917cc079.nomodule.js","./configurator-ad930002.nomodule.js"],(function(){var e;return{setters:[function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(o){e=o.Configurator}],execute:function(){(new e).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let o=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-o))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)})}}}));
|
|
2
2
|
//# sourceMappingURL=configurator-main.nomodule.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as getGUI}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=default-light-setting-
|
|
1
|
+
import{h as getGUI}from"./roomle-dependency-injection-8d66ecac.js";import{L as LightSetting}from"./pixotron-32c4e05d.js";class DefaultLightSetting extends LightSetting{constructor(i,t){super(i,t),this._params={ambientLight:{color:"#ffffff"},mainDirLight:{position:{x:-3,y:4,z:4},color:"#ffffff"},secondDirLight:{position:{x:3,y:4,z:3},color:"#ffffff"}},this._mainDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.mainDirLight.color),.8),this._mainDirectionalLight.position.set(this._params.mainDirLight.position.x,this._params.mainDirLight.position.y,this._params.mainDirLight.position.z),this._mainDirectionalLight.layers.set(1),this._mainDirectionalLight.castShadow=!0,this._mainDirectionalLight.shadow.camera.near=.1,this._mainDirectionalLight.shadow.camera.far=100,this._mainDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._secondDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.secondDirLight.color),.2),this._secondDirectionalLight.position.set(this._params.secondDirLight.position.x,this._params.secondDirLight.position.y,this._params.secondDirLight.position.z),this._secondDirectionalLight.layers.set(1),this._secondDirectionalLight.castShadow=!1,this._secondDirectionalLight.shadow.camera.near=.1,this._secondDirectionalLight.shadow.camera.far=100,this._secondDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._ambientLight=new THREE.AmbientLight(new THREE.Color(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new THREE.Vector3),a=Math.max(Math.max(t.x,t.y),t.z)+1,o=a/2;this._mainDirectionalLight.shadow.camera.top=o,this._mainDirectionalLight.shadow.camera.bottom=-o,this._mainDirectionalLight.shadow.camera.left=-o,this._mainDirectionalLight.shadow.camera.right=o,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=o,this._secondDirectionalLight.shadow.camera.bottom=-o,this._secondDirectionalLight.shadow.camera.left=-o,this._secondDirectionalLight.shadow.camera.right=o,this._secondDirectionalLight.shadow.camera.near=.01,this._secondDirectionalLight.shadow.camera.far=4*a,this._secondDirectionalLight.shadow.camera.updateProjectionMatrix()}addToScene(){this._scene.add(this._mainDirectionalLight),this._scene.add(this._secondDirectionalLight),this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._mainDirectionalLight),this._scene.remove(this._secondDirectionalLight),this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let i=getGUI();if(i){if(this._ambientLight){let t=i.addFolder("Ambient Light");t.add(this._ambientLight,"visible"),t.add(this._ambientLight,"intensity").min(0).max(5).step(.1),t.addColor(this._params.ambientLight,"color").onChange(i=>this._ambientLight.color=new THREE.Color(i))}if(this._mainDirectionalLight){let t=i.addFolder("Main Directional Light");t.add(this._mainDirectionalLight,"visible"),t.add(this._mainDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._mainDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}if(this._secondDirectionalLight){let t=i.addFolder("Second Directional Light");t.add(this._secondDirectionalLight,"visible"),t.add(this._secondDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._secondDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}}}}export{DefaultLightSetting as D};
|
|
2
|
+
//# sourceMappingURL=default-light-setting-17aeb133.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-17aeb133.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=default-light-setting-
|
|
1
|
+
System.register(["./roomle-dependency-injection-f0b933f6.nomodule.js","./pixotron-3be821e5.nomodule.js"],(function(i){var t,a;return{setters:[function(i){t=i.h},function(i){a=i.L}],execute:function(){i("D",class extends a{constructor(i,t){super(i,t),this._params={ambientLight:{color:"#ffffff"},mainDirLight:{position:{x:-3,y:4,z:4},color:"#ffffff"},secondDirLight:{position:{x:3,y:4,z:3},color:"#ffffff"}},this._mainDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.mainDirLight.color),.8),this._mainDirectionalLight.position.set(this._params.mainDirLight.position.x,this._params.mainDirLight.position.y,this._params.mainDirLight.position.z),this._mainDirectionalLight.layers.set(1),this._mainDirectionalLight.castShadow=!0,this._mainDirectionalLight.shadow.camera.near=.1,this._mainDirectionalLight.shadow.camera.far=100,this._mainDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._secondDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.secondDirLight.color),.2),this._secondDirectionalLight.position.set(this._params.secondDirLight.position.x,this._params.secondDirLight.position.y,this._params.secondDirLight.position.z),this._secondDirectionalLight.layers.set(1),this._secondDirectionalLight.castShadow=!1,this._secondDirectionalLight.shadow.camera.near=.1,this._secondDirectionalLight.shadow.camera.far=100,this._secondDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._ambientLight=new THREE.AmbientLight(new THREE.Color(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new THREE.Vector3),a=Math.max(Math.max(t.x,t.y),t.z)+1,o=a/2;this._mainDirectionalLight.shadow.camera.top=o,this._mainDirectionalLight.shadow.camera.bottom=-o,this._mainDirectionalLight.shadow.camera.left=-o,this._mainDirectionalLight.shadow.camera.right=o,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=o,this._secondDirectionalLight.shadow.camera.bottom=-o,this._secondDirectionalLight.shadow.camera.left=-o,this._secondDirectionalLight.shadow.camera.right=o,this._secondDirectionalLight.shadow.camera.near=.01,this._secondDirectionalLight.shadow.camera.far=4*a,this._secondDirectionalLight.shadow.camera.updateProjectionMatrix()}addToScene(){this._scene.add(this._mainDirectionalLight),this._scene.add(this._secondDirectionalLight),this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._mainDirectionalLight),this._scene.remove(this._secondDirectionalLight),this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let i=t();if(i){if(this._ambientLight){let t=i.addFolder("Ambient Light");t.add(this._ambientLight,"visible"),t.add(this._ambientLight,"intensity").min(0).max(5).step(.1),t.addColor(this._params.ambientLight,"color").onChange(i=>this._ambientLight.color=new THREE.Color(i))}if(this._mainDirectionalLight){let t=i.addFolder("Main Directional Light");t.add(this._mainDirectionalLight,"visible"),t.add(this._mainDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._mainDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}if(this._secondDirectionalLight){let t=i.addFolder("Second Directional Light");t.add(this._secondDirectionalLight,"visible"),t.add(this._secondDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._secondDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}}}})}}}));
|
|
2
|
+
//# sourceMappingURL=default-light-setting-917cc079.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-917cc079.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import Main from '../../../common-core/src/main';
|
|
2
|
-
export default function (appInstance: Main, testname: string, test: (reject: (error: Error) => void) => void): Promise<
|
|
2
|
+
export default function (appInstance: Main, testname: string, test: (reject: (error: Error) => void) => void): Promise<void>;
|
|
@@ -26,7 +26,7 @@ export declare class WebGLRendererMock {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class ThreeLoaderMock {
|
|
28
28
|
load(url: string, callback: (texture: THREE.Texture) => void): void;
|
|
29
|
-
setPath(
|
|
29
|
+
setPath(_path: string): void;
|
|
30
30
|
}
|
|
31
31
|
export default class ThreeMock {
|
|
32
32
|
static setup(): void;
|
|
@@ -3,7 +3,7 @@ export declare const enum ERROR_CODES {
|
|
|
3
3
|
GENERIC_RAPI_ERROR = 1,
|
|
4
4
|
CONTENT_PROBLEM = 2
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type ErrorListener = (...args: any[]) => void;
|
|
7
7
|
export declare class RoomleError extends Error {
|
|
8
8
|
rmlErrorCode: ERROR_CODES;
|
|
9
9
|
}
|
|
@@ -13,7 +13,7 @@ export declare const KERNEL_MESSAGE_TYPE: {
|
|
|
13
13
|
readonly WARNING: "warning";
|
|
14
14
|
readonly LOG: "log";
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type KernelMessageType = ValuesFromObject<typeof KERNEL_MESSAGE_TYPE>;
|
|
17
17
|
export default class KernelIo extends Logger implements Context {
|
|
18
18
|
_creator_: string;
|
|
19
19
|
private _globalCallback;
|
|
@@ -36,7 +36,7 @@ export interface DynamicLight {
|
|
|
36
36
|
height?: number;
|
|
37
37
|
movesWithCamera?: boolean;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
type PreDefinedLightSettings = (typeof PREDEFINED_LIGHTSETTING)[keyof typeof PREDEFINED_LIGHTSETTING];
|
|
40
40
|
export interface DynamicLightSettingSource {
|
|
41
41
|
url?: string;
|
|
42
42
|
json?: string;
|
|
@@ -6,9 +6,9 @@ import { Context } from './di/context';
|
|
|
6
6
|
export declare const MAX_URL_LENGTH = 1500;
|
|
7
7
|
export declare const MESH_DEFAULT_FORMAT = "crt";
|
|
8
8
|
export declare const MESH_DEFAULT_QUALITY = 50;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
type HttpVerbGet = 'GET';
|
|
10
|
+
type HttpVerbPost = 'POST';
|
|
11
|
+
type HttpVerbPut = 'PUT';
|
|
12
12
|
export interface FetchOptions {
|
|
13
13
|
id?: RapiId;
|
|
14
14
|
method?: HttpVerbGet | HttpVerbPost | HttpVerbPut;
|
|
@@ -10,6 +10,6 @@ export default class ScriptLoader implements Context {
|
|
|
10
10
|
fetch(url: string, options: {
|
|
11
11
|
id: string;
|
|
12
12
|
}): Promise<unknown>;
|
|
13
|
-
loadScripts(scripts: ScriptData[]): Promise<[
|
|
13
|
+
loadScripts(scripts: ScriptData[]): Promise<any[]>;
|
|
14
14
|
cleanUp(): void;
|
|
15
15
|
}
|
|
@@ -47,7 +47,7 @@ export declare const getGlbUrl: (item: RapiItem) => string;
|
|
|
47
47
|
export declare const deepMerge: (obj1: any, obj2: any) => any;
|
|
48
48
|
export declare const getValue: (value: any, defaultValue: any) => any;
|
|
49
49
|
export declare const removeItem: (arr: any[], element: any) => void;
|
|
50
|
-
export
|
|
50
|
+
export type ValuesFromObject<T> = T[keyof T];
|
|
51
51
|
export declare const copy: <T>(object: T) => T;
|
|
52
52
|
export declare const isWebGl2: () => boolean;
|
|
53
53
|
/**
|
|
@@ -45,6 +45,7 @@ export default class ConfiguratorViewModel implements ConfiguratorKernelCallback
|
|
|
45
45
|
protected _getKernelAccess(): PlannerKernelAccess;
|
|
46
46
|
clearReference(): void;
|
|
47
47
|
private _applyMeshTransform;
|
|
48
|
+
private _applyMeshUVTransform;
|
|
48
49
|
private _addMeshToSubPart;
|
|
49
50
|
private _addMeshToComponent;
|
|
50
51
|
private _changeMeshOfComponent;
|
|
@@ -6,7 +6,7 @@ declare const DEFAULT_RENDER_OPTIONS: {
|
|
|
6
6
|
*/
|
|
7
7
|
useCurrentPerspective: boolean;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type RenderOptions = Partial<typeof DEFAULT_RENDER_OPTIONS>;
|
|
10
10
|
export interface PrepareImageOptions {
|
|
11
11
|
size?: number;
|
|
12
12
|
showDimensions?: boolean;
|
|
@@ -391,67 +391,67 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
391
391
|
*/
|
|
392
392
|
syncTypeChangeTag(tagId: RapiId): Promise<void>;
|
|
393
393
|
/**
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
394
|
+
* Loads a dynamic light settings into the scene. The dynamic light setting source can be an
|
|
395
|
+
* object (js), json, or an url (url to json). See {@link SceneSettings} how to define it.
|
|
396
|
+
*
|
|
397
|
+
* Exampe:
|
|
398
|
+
* ```
|
|
399
|
+
{
|
|
400
|
+
"lights": [
|
|
401
|
+
{
|
|
402
|
+
"type": "rectarea",
|
|
403
|
+
"name": "main",
|
|
404
|
+
"intensity": 240,
|
|
405
|
+
"color": "#ffffff",
|
|
406
|
+
"position": {
|
|
407
|
+
"x": -0.5,
|
|
408
|
+
"y": 6,
|
|
409
|
+
"z": 3
|
|
410
|
+
},
|
|
411
|
+
"target": {
|
|
412
|
+
"x": 0,
|
|
413
|
+
"y": 0,
|
|
414
|
+
"z": 0
|
|
415
|
+
},
|
|
416
|
+
"castShadow": true,
|
|
417
|
+
"width": 0.8,
|
|
418
|
+
"height": 0.8
|
|
415
419
|
},
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
"
|
|
427
|
-
|
|
428
|
-
|
|
420
|
+
{
|
|
421
|
+
"type": "spot",
|
|
422
|
+
"name": "side",
|
|
423
|
+
"intensity": 0.3,
|
|
424
|
+
"color": "#ffffff",
|
|
425
|
+
"position": {
|
|
426
|
+
"x": 2,
|
|
427
|
+
"y": 3,
|
|
428
|
+
"z": 1.5
|
|
429
|
+
},
|
|
430
|
+
"target": {
|
|
431
|
+
"x": 0,
|
|
432
|
+
"y": 0.1,
|
|
433
|
+
"z": 0
|
|
434
|
+
},
|
|
435
|
+
"castShadow": false,
|
|
436
|
+
"angle": 50,
|
|
437
|
+
"penumbra": 0.5
|
|
429
438
|
},
|
|
430
|
-
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
"
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
"type": "ambient",
|
|
441
|
-
"name": "ambient",
|
|
442
|
-
"intensity": 0.3,
|
|
443
|
-
"color": "#ffffff",
|
|
444
|
-
"position": {
|
|
445
|
-
"x": 0,
|
|
446
|
-
"y": 0,
|
|
447
|
-
"z": 0
|
|
439
|
+
{
|
|
440
|
+
"type": "ambient",
|
|
441
|
+
"name": "ambient",
|
|
442
|
+
"intensity": 0.3,
|
|
443
|
+
"color": "#ffffff",
|
|
444
|
+
"position": {
|
|
445
|
+
"x": 0,
|
|
446
|
+
"y": 0,
|
|
447
|
+
"z": 0
|
|
448
|
+
}
|
|
448
449
|
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
*/
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
```
|
|
453
|
+
* @param source
|
|
454
|
+
*/
|
|
455
455
|
loadDynamicLightSetting(source: DynamicLightSettingSource): Promise<void>;
|
|
456
456
|
/**
|
|
457
457
|
* Used for test puprose only
|
|
@@ -5,8 +5,8 @@ import { ConfigurationHash, RapiId, RapiTagForUi } from '../../../typings/rapi-t
|
|
|
5
5
|
import { UiCallback } from '../../../common-core/src/utils/ui-callback';
|
|
6
6
|
import { ConfiguratorKernelContainer } from '../../../typings/configurator-kernel-container';
|
|
7
7
|
import { PlannerKernelContainer } from '../../../typings/planner-kernel-container';
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type ComponentAction = 'edit' | 'add';
|
|
9
|
+
export type ComponentType = 'preview' | 'component';
|
|
10
10
|
export interface UIComponentInfo {
|
|
11
11
|
id: number;
|
|
12
12
|
position: {
|
|
@@ -4,6 +4,6 @@ export default class IndexedDbAdapter {
|
|
|
4
4
|
static openDb(dbName: string, dbVersion: number, upgradeDbCallback: (this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any): Promise<IDBDatabase>;
|
|
5
5
|
static getObjectStore(dbConnection: IDBDatabase, storeName: string, transactionMode: IDBTransactionMode): IDBObjectStore;
|
|
6
6
|
static getRecordFromObjectStore(dbConnection: IDBDatabase, storeName: string, recordId: string): Promise<WasmDbEntry>;
|
|
7
|
-
static deleteRecordFromObjectStore(dbConnection: IDBDatabase, storeName: string, recordId: string): Promise<
|
|
8
|
-
static saveRecordToObjectStore(dbConnection: IDBDatabase, storeName: string, objRecord: WasmDbEntry): Promise<
|
|
7
|
+
static deleteRecordFromObjectStore(dbConnection: IDBDatabase, storeName: string, recordId: string): Promise<void>;
|
|
8
|
+
static saveRecordToObjectStore(dbConnection: IDBDatabase, storeName: string, objRecord: WasmDbEntry): Promise<void>;
|
|
9
9
|
}
|
|
@@ -7,9 +7,9 @@ export declare const enum SELECTORS {
|
|
|
7
7
|
FIRST_PREVIEW_OF_FIRST_ROOMLE_COMPONENT = 1
|
|
8
8
|
}
|
|
9
9
|
export default class InteractionHelper {
|
|
10
|
-
static click(objectIn3D: RoomleComponent, debug?: boolean): Promise<
|
|
10
|
+
static click(objectIn3D: RoomleComponent, debug?: boolean): Promise<void>;
|
|
11
11
|
static drag(child: UiPossibleChild, start: {
|
|
12
12
|
x: number;
|
|
13
13
|
y: number;
|
|
14
|
-
}): Promise<
|
|
14
|
+
}): Promise<void>;
|
|
15
15
|
}
|
|
@@ -9,9 +9,9 @@ export default class UIMock {
|
|
|
9
9
|
constructor(element: HTMLElement);
|
|
10
10
|
private _onUpdateParameters;
|
|
11
11
|
private _onUpdatePossibleChildren;
|
|
12
|
-
initAndLoadId(id: RapiId): Promise<
|
|
13
|
-
possibleChildrenUpdate(): Promise<
|
|
14
|
-
parametersUpdate(): Promise<
|
|
12
|
+
initAndLoadId(id: RapiId): Promise<void>;
|
|
13
|
+
possibleChildrenUpdate(): Promise<void>;
|
|
14
|
+
parametersUpdate(): Promise<void>;
|
|
15
15
|
getParameterByKey(id: string): KernelParameter;
|
|
16
16
|
getPossibleChild(id: RapiId): UiPossibleChild;
|
|
17
17
|
}
|