@roomle/web-sdk 2.44.0-alpha.1 → 2.44.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/.releaserc.json +55 -58
- package/README.md +3 -0
- package/lib/{banana-for-scale-c9b91436.nomodule.js → banana-for-scale-97a65f2f.nomodule.js} +2 -2
- package/lib/{banana-for-scale-c9b91436.nomodule.js.map → banana-for-scale-97a65f2f.nomodule.js.map} +1 -1
- package/lib/{banana-for-scale-1f350acc.js → banana-for-scale-e8876cf0.js} +2 -2
- package/lib/{banana-for-scale-1f350acc.js.map → banana-for-scale-e8876cf0.js.map} +1 -1
- package/lib/{budgeteer-measure-1e85a5b9.js → budgeteer-measure-23a42ba1.js} +2 -2
- 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-8b90144f.js → component-dimensioning-c495efe5.js} +2 -2
- package/lib/component-dimensioning-c495efe5.js.map +1 -0
- package/lib/{component-dimensioning-11e334e6.nomodule.js → component-dimensioning-c9877d28.nomodule.js} +2 -2
- package/lib/component-dimensioning-c9877d28.nomodule.js.map +1 -0
- package/lib/{component-raycast-helper-d34cf336.js → component-raycast-helper-23393bb6.js} +2 -2
- package/lib/component-raycast-helper-23393bb6.js.map +1 -0
- package/lib/{component-raycast-helper-917c5fce.nomodule.js → component-raycast-helper-3ec360cf.nomodule.js} +2 -2
- package/lib/component-raycast-helper-3ec360cf.nomodule.js.map +1 -0
- package/lib/{configurator-74c366d0.nomodule.js → configurator-6e17bbb4.nomodule.js} +2 -2
- package/lib/configurator-6e17bbb4.nomodule.js.map +1 -0
- package/lib/{configurator-fb2e05ef.js → configurator-a0113de7.js} +2 -2
- package/lib/configurator-a0113de7.js.map +1 -0
- package/lib/configurator-dummy-app.js.map +1 -1
- package/lib/configurator-dummy.html +167 -79
- package/lib/configurator-main-10fa7f9b.js +2 -0
- package/lib/configurator-main-10fa7f9b.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{default-light-setting-43be6138.js → default-light-setting-408ac1bd.js} +2 -2
- package/lib/default-light-setting-408ac1bd.js.map +1 -0
- package/lib/{default-light-setting-e2fe40ee.nomodule.js → default-light-setting-f72c0eb6.nomodule.js} +2 -2
- package/lib/default-light-setting-f72c0eb6.nomodule.js.map +1 -0
- package/lib/definitions/common-core/src/lightsetting/dynamic-light-setting-loader.d.ts +1 -1
- package/lib/definitions/common-core/src/main.d.ts +3 -4
- package/lib/definitions/common-core/src/utils/shims.d.ts +2 -2
- package/lib/definitions/configurator-core/src/roomle-configurator.d.ts +70 -70
- package/lib/definitions/configurator-core/src/services/configurator-ui-callback.d.ts +5 -5
- package/lib/definitions/glb-viewer-core/src/roomle-glb-viewer.d.ts +2 -2
- package/lib/definitions/material-viewer/src/roomle-material-viewer.d.ts +2 -2
- package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +1 -0
- package/lib/{dimensioning-helper-439a1eab.js → dimensioning-helper-be971abb.js} +2 -2
- package/lib/{dimensioning-helper-439a1eab.js.map → dimensioning-helper-be971abb.js.map} +1 -1
- package/lib/{dimensioning-helper-5d68f7b8.nomodule.js → dimensioning-helper-d1ca3c93.nomodule.js} +2 -2
- package/lib/dimensioning-helper-d1ca3c93.nomodule.js.map +1 -0
- package/lib/embedding-dummy.html +122 -94
- package/lib/{glb-viewer-d2d45ce4.js → glb-viewer-1c3b5760.js} +2 -2
- package/lib/{glb-viewer-d2d45ce4.js.map → glb-viewer-1c3b5760.js.map} +1 -1
- package/lib/{glb-viewer-185f0c5b.nomodule.js → glb-viewer-21871044.nomodule.js} +2 -2
- package/lib/{glb-viewer-185f0c5b.nomodule.js.map → glb-viewer-21871044.nomodule.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-main-76258bd6.js +2 -0
- package/lib/glb-viewer-main-76258bd6.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/{banana-for-scale-35cca9b6.legacy.js → banana-for-scale-5bbe2474.legacy.js} +2 -2
- package/lib/legacy/{banana-for-scale-35cca9b6.legacy.js.map → banana-for-scale-5bbe2474.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-9aeb85f3.legacy.js → component-dimensioning-19219632.legacy.js} +2 -2
- package/lib/legacy/component-dimensioning-19219632.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-c9e6fa8a.legacy.js → component-raycast-helper-8f7251fb.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-8f7251fb.legacy.js.map +1 -0
- package/lib/legacy/{configurator-0dc9d32c.legacy.js → configurator-25fd6957.legacy.js} +2 -2
- package/lib/legacy/configurator-25fd6957.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{default-light-setting-bb797007.legacy.js → default-light-setting-fc14e161.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-fc14e161.legacy.js.map +1 -0
- package/lib/legacy/{dimensioning-helper-9d5a7b3c.legacy.js → dimensioning-helper-3703ce6f.legacy.js} +2 -2
- package/lib/legacy/dimensioning-helper-3703ce6f.legacy.js.map +1 -0
- package/lib/legacy/{glb-viewer-069756aa.legacy.js → glb-viewer-750198d1.legacy.js} +2 -2
- package/lib/legacy/{glb-viewer-069756aa.legacy.js.map → glb-viewer-750198d1.legacy.js.map} +1 -1
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/{main-thread-to-worker-f535fe2c.legacy.js → main-thread-to-worker-cc24f989.legacy.js} +1 -1
- package/lib/legacy/main-thread-to-worker-cc24f989.legacy.js.map +1 -0
- package/lib/legacy/{material-viewer-a96582f6.legacy.js → material-viewer-85314524.legacy.js} +2 -2
- package/lib/legacy/material-viewer-85314524.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/{pixotron-4d1c8db2.legacy.js → pixotron-fe363849.legacy.js} +2 -2
- package/lib/legacy/{pixotron-4d1c8db2.legacy.js.map → pixotron-fe363849.legacy.js.map} +1 -1
- package/lib/legacy/planner-a422d4e7.legacy.js +2 -0
- package/lib/legacy/{planner-3334d9c4.legacy.js.map → planner-a422d4e7.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/{roomle-configurator-cd107a29.legacy.js → roomle-configurator-4ac0dbee.legacy.js} +2 -2
- package/lib/legacy/{roomle-configurator-cd107a29.legacy.js.map → roomle-configurator-4ac0dbee.legacy.js.map} +1 -1
- package/lib/legacy/roomle-dependency-injection-c859bb7b.legacy.js +16 -0
- package/lib/legacy/{roomle-dependency-injection-aa414f84.legacy.js.map → roomle-dependency-injection-c859bb7b.legacy.js.map} +1 -1
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-37d724e7.legacy.js → script-loader-e0a57fb9.legacy.js} +2 -2
- package/lib/legacy/script-loader-e0a57fb9.legacy.js.map +1 -0
- package/lib/legacy/static/DepthShadowGenerator-a3a9d85ff2c3d24c.js +266 -0
- package/lib/legacy/static/Tween-5ebfb82307807fdc.js +767 -0
- package/lib/legacy/static/{asset-loader.worker-7fdd71efd75f50d4.js → asset-loader.worker-caa87aba0f76ce49.js} +1 -1
- package/lib/legacy/static/{budgeteer.sw-6e3fb7e14289ed96.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/{static/shaders-af852933f81878aa.json → legacy/static/shaders-219b62c099a8555a.json} +1 -1
- package/lib/legacy/{stats-helper-358f1fcc.legacy.js → stats-helper-301dc461.legacy.js} +2 -2
- package/lib/legacy/{stats-helper-358f1fcc.legacy.js.map → stats-helper-301dc461.legacy.js.map} +1 -1
- package/lib/legacy/{tools-core-f3b4d22c.legacy.js → tools-core-762555af.legacy.js} +2 -2
- package/lib/legacy/tools-core-762555af.legacy.js.map +1 -0
- package/lib/{main-thread-to-worker-31ec8d3a.nomodule.js → main-thread-to-worker-6a4eb1ee.nomodule.js} +1 -1
- package/lib/main-thread-to-worker-6a4eb1ee.nomodule.js.map +1 -0
- package/lib/{main-thread-to-worker-e9986fa8.js → main-thread-to-worker-88f74244.js} +1 -1
- package/lib/main-thread-to-worker-88f74244.js.map +1 -0
- package/lib/{material-viewer-e7514f95.js → material-viewer-4c7564b3.js} +2 -2
- package/lib/material-viewer-4c7564b3.js.map +1 -0
- package/lib/{material-viewer-2db93afe.nomodule.js → material-viewer-5591d60a.nomodule.js} +2 -2
- package/lib/material-viewer-5591d60a.nomodule.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-16e395e9.js +2 -0
- package/lib/material-viewer-main-16e395e9.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/measure.html +27 -34
- package/lib/{pixotron-e1f44e21.js → pixotron-5905d47b.js} +2 -2
- package/lib/{pixotron-e1f44e21.js.map → pixotron-5905d47b.js.map} +1 -1
- package/lib/{pixotron-11d8ecf1.nomodule.js → pixotron-9fe87cf0.nomodule.js} +2 -2
- package/lib/{pixotron-11d8ecf1.nomodule.js.map → pixotron-9fe87cf0.nomodule.js.map} +1 -1
- package/lib/planner-85bd03e6.nomodule.js +2 -0
- package/lib/{planner-2fb083b9.nomodule.js.map → planner-85bd03e6.nomodule.js.map} +1 -1
- package/lib/planner-dummy-app.js.map +1 -1
- package/lib/planner-dummy.html +64 -43
- package/lib/planner-e72d2ec5.js +2 -0
- package/lib/{planner-b9697b33.js.map → planner-e72d2ec5.js.map} +1 -1
- package/lib/planner-main-0d79120f.js +2 -0
- package/lib/planner-main-0d79120f.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/{roomle-configurator-3bc0f646.js → roomle-configurator-43aab7fd.js} +2 -2
- package/lib/{roomle-configurator-3bc0f646.js.map → roomle-configurator-43aab7fd.js.map} +1 -1
- package/lib/{roomle-configurator-e2cafe97.nomodule.js → roomle-configurator-e72d373d.nomodule.js} +2 -2
- package/lib/{roomle-configurator-e2cafe97.nomodule.js.map → roomle-configurator-e72d373d.nomodule.js.map} +1 -1
- package/lib/roomle-dependency-injection-0464676f.js +16 -0
- package/lib/{roomle-dependency-injection-244ed68c.js.map → roomle-dependency-injection-0464676f.js.map} +1 -1
- package/lib/roomle-dependency-injection-07615f35.nomodule.js +16 -0
- package/lib/{roomle-dependency-injection-4c51790a.nomodule.js.map → roomle-dependency-injection-07615f35.nomodule.js.map} +1 -1
- package/lib/{roomle-sdk-9cc773d7.js → roomle-sdk-dd5cc592.js} +2 -2
- package/lib/roomle-sdk-dd5cc592.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-584a0480.js → script-loader-394f7657.js} +2 -2
- package/lib/script-loader-394f7657.js.map +1 -0
- package/lib/{script-loader-ff5cfb68.nomodule.js → script-loader-8efb6055.nomodule.js} +2 -2
- package/lib/script-loader-8efb6055.nomodule.js.map +1 -0
- package/lib/static/{DepthShadowGenerator-4c4b06f0801c4034.js → DepthShadowGenerator-a3a9d85ff2c3d24c.js} +0 -0
- package/lib/static/DepthShadowGenerator-a3a9d85ff2c3d24c.js.map +1 -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-7fdd71efd75f50d4.js → asset-loader.worker-caa87aba0f76ce49.js} +1 -1
- package/lib/static/{asset-loader.worker-7fdd71efd75f50d4.js.map → asset-loader.worker-caa87aba0f76ce49.js.map} +0 -0
- package/lib/static/asset-loader.worker.js +1 -1
- package/lib/static/{budgeteer.sw-6e3fb7e14289ed96.js → budgeteer.sw-0a8d4e36e18346a5.js} +1 -1
- package/lib/static/{budgeteer.sw-6e3fb7e14289ed96.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/{legacy/static/shaders-af852933f81878aa.json → static/shaders-219b62c099a8555a.json} +1 -1
- 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/{stats-helper-bd19ced2.nomodule.js → stats-helper-13e6116f.nomodule.js} +2 -2
- package/lib/{stats-helper-bd19ced2.nomodule.js.map → stats-helper-13e6116f.nomodule.js.map} +1 -1
- package/lib/{stats-helper-a6263360.js → stats-helper-ab16facc.js} +2 -2
- package/lib/{stats-helper-a6263360.js.map → stats-helper-ab16facc.js.map} +1 -1
- package/lib/{tools-core-4f0c9377.js → tools-core-bef60f9d.js} +2 -2
- package/lib/tools-core-bef60f9d.js.map +1 -0
- package/lib/{tools-core-f609446a.nomodule.js → tools-core-c6126068.nomodule.js} +2 -2
- package/lib/tools-core-c6126068.nomodule.js.map +1 -0
- package/package.json +2 -2
- package/scripts/copy-assets-sdk.js +66 -54
- package/lib/budgeteer-measure-1e85a5b9.js.map +0 -1
- package/lib/component-dimensioning-11e334e6.nomodule.js.map +0 -1
- package/lib/component-dimensioning-8b90144f.js.map +0 -1
- package/lib/component-raycast-helper-917c5fce.nomodule.js.map +0 -1
- package/lib/component-raycast-helper-d34cf336.js.map +0 -1
- package/lib/configurator-74c366d0.nomodule.js.map +0 -1
- package/lib/configurator-fb2e05ef.js.map +0 -1
- package/lib/configurator-main-082f03f0.js +0 -2
- package/lib/configurator-main-082f03f0.js.map +0 -1
- package/lib/default-light-setting-43be6138.js.map +0 -1
- package/lib/default-light-setting-e2fe40ee.nomodule.js.map +0 -1
- package/lib/dimensioning-helper-5d68f7b8.nomodule.js.map +0 -1
- package/lib/glb-viewer-main-e2508ced.js +0 -2
- package/lib/glb-viewer-main-e2508ced.js.map +0 -1
- package/lib/legacy/component-dimensioning-9aeb85f3.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-c9e6fa8a.legacy.js.map +0 -1
- package/lib/legacy/configurator-0dc9d32c.legacy.js.map +0 -1
- package/lib/legacy/default-light-setting-bb797007.legacy.js.map +0 -1
- package/lib/legacy/dimensioning-helper-9d5a7b3c.legacy.js.map +0 -1
- package/lib/legacy/main-thread-to-worker-f535fe2c.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-a96582f6.legacy.js.map +0 -1
- package/lib/legacy/planner-3334d9c4.legacy.js +0 -2
- package/lib/legacy/roomle-dependency-injection-aa414f84.legacy.js +0 -16
- package/lib/legacy/script-loader-37d724e7.legacy.js.map +0 -1
- package/lib/legacy/static/DepthShadowGenerator-4c4b06f0801c4034.js +0 -262
- 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/tools-core-f3b4d22c.legacy.js.map +0 -1
- package/lib/main-thread-to-worker-31ec8d3a.nomodule.js.map +0 -1
- package/lib/main-thread-to-worker-e9986fa8.js.map +0 -1
- package/lib/material-viewer-2db93afe.nomodule.js.map +0 -1
- package/lib/material-viewer-e7514f95.js.map +0 -1
- package/lib/material-viewer-main-50c85f10.js +0 -2
- package/lib/material-viewer-main-50c85f10.js.map +0 -1
- package/lib/planner-2fb083b9.nomodule.js +0 -2
- package/lib/planner-b9697b33.js +0 -2
- package/lib/planner-main-ac348208.js +0 -2
- package/lib/planner-main-ac348208.js.map +0 -1
- package/lib/roomle-dependency-injection-244ed68c.js +0 -16
- package/lib/roomle-dependency-injection-4c51790a.nomodule.js +0 -16
- package/lib/roomle-sdk-9cc773d7.js.map +0 -1
- package/lib/script-loader-584a0480.js.map +0 -1
- package/lib/script-loader-ff5cfb68.nomodule.js.map +0 -1
- package/lib/static/DepthShadowGenerator-4c4b06f0801c4034.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/tools-core-4f0c9377.js.map +0 -1
- package/lib/tools-core-f609446a.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-0464676f.js";import"./main-thread-to-worker-88f74244.js";import"./roomle-configurator-43aab7fd.js";import"./pixotron-5905d47b.js";import"./script-loader-394f7657.js";import"./component-raycast-helper-23393bb6.js";import"./default-light-setting-408ac1bd.js";import{Configurator}from"./configurator-a0113de7.js";(new Configurator).boot(),window.requestIdleCallback||(window.requestIdleCallback=o=>setTimeout(()=>{let e=Date.now();o({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)});
|
|
2
|
+
//# sourceMappingURL=configurator-main-10fa7f9b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-main-10fa7f9b.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-07615f35.nomodule.js","./main-thread-to-worker-6a4eb1ee.nomodule.js","./roomle-configurator-e72d373d.nomodule.js","./pixotron-9fe87cf0.nomodule.js","./script-loader-8efb6055.nomodule.js","./component-raycast-helper-3ec360cf.nomodule.js","./default-light-setting-f72c0eb6.nomodule.js","./configurator-6e17bbb4.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-0464676f.js";import{L as LightSetting}from"./pixotron-5905d47b.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-408ac1bd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-408ac1bd.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-07615f35.nomodule.js","./pixotron-9fe87cf0.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-f72c0eb6.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-f72c0eb6.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -36,7 +36,7 @@ export interface DynamicLight {
|
|
|
36
36
|
height?: number;
|
|
37
37
|
movesWithCamera?: boolean;
|
|
38
38
|
}
|
|
39
|
-
type PreDefinedLightSettings = typeof PREDEFINED_LIGHTSETTING[
|
|
39
|
+
type PreDefinedLightSettings = (typeof PREDEFINED_LIGHTSETTING)[keyof typeof PREDEFINED_LIGHTSETTING];
|
|
40
40
|
export interface DynamicLightSettingSource {
|
|
41
41
|
url?: string;
|
|
42
42
|
json?: string;
|
|
@@ -19,14 +19,13 @@ export interface GlobalAPI {
|
|
|
19
19
|
* Sets the available screen space for our item
|
|
20
20
|
* Example 1: right 0.9 means 10% padding on the right side
|
|
21
21
|
* Example 2: bottom 0.2 means 20% padding on the bottom side
|
|
22
|
-
* default:
|
|
23
|
-
* @param offset
|
|
22
|
+
* default: 'left: 0, top: 1, right: 1, bottom: 0'
|
|
23
|
+
* @param offset
|
|
24
24
|
*/
|
|
25
25
|
setCameraOffset(offset: CanvasOffset): void;
|
|
26
26
|
/**
|
|
27
27
|
* Gets the available screen space for our item
|
|
28
|
-
* default:
|
|
29
|
-
* Returns {@link CanvasOffset}
|
|
28
|
+
* default: 'left: 0, top: 1, right: 1, bottom: 0'
|
|
30
29
|
*/
|
|
31
30
|
getCameraOffset(): CanvasOffset;
|
|
32
31
|
getUnitFormatter(): UnitFormatter;
|
|
@@ -188,13 +188,13 @@ export interface ConfiguratorInitData {
|
|
|
188
188
|
offlineSync?: string;
|
|
189
189
|
/**
|
|
190
190
|
* Set the floor material which is used when loading the configurator
|
|
191
|
-
* For different options see {@link EnvironmentSetting}
|
|
191
|
+
* For different options see {@link @roomle/web-sdk/common-core/src/environment/dynamic-environment-setting-loader#EnvironmentSetting}
|
|
192
192
|
*/
|
|
193
193
|
initialFloorMaterial?: string;
|
|
194
194
|
/**
|
|
195
195
|
* @internal
|
|
196
196
|
* Load a light setting using an URL.
|
|
197
|
-
* Check lights in {@link SceneSettings} for an example.
|
|
197
|
+
* Check lights in {@link @roomle/web-sdk/common-core/src/scene-settings-loader#SceneSettings} for an example.
|
|
198
198
|
*/
|
|
199
199
|
dls?: string;
|
|
200
200
|
ls?: string;
|
|
@@ -113,7 +113,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
113
113
|
*/
|
|
114
114
|
disableHDGeometry(): Promise<void | ConfigurationLoadedResponse>;
|
|
115
115
|
/**
|
|
116
|
-
* Change the camera offset
|
|
116
|
+
* Change the camera offset
|
|
117
117
|
* @param offset
|
|
118
118
|
*/
|
|
119
119
|
changeOffset(offset: CanvasOffset): void;
|
|
@@ -219,7 +219,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
219
219
|
/**
|
|
220
220
|
* Sets the parameter of the selected component. If nothing is selected the parameters of the
|
|
221
221
|
* parameters of the plan object are set
|
|
222
|
-
* @param parameter an instance of the kernel parameter we want to set, use
|
|
222
|
+
* @param parameter an instance of the kernel parameter we want to set, use 'key: "your-key"' if
|
|
223
223
|
* you do not have a kernel instance and do not need validation of the input
|
|
224
224
|
* @param value the value we want to set on the parameter as string
|
|
225
225
|
* @param isRaw turn this to true if you dont want the kernel to parse the value string, e.g. convert 100cm to 1000
|
|
@@ -227,7 +227,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
227
227
|
setParameter(parameter: KernelParameter, value: string, isRaw?: boolean): Promise<void>;
|
|
228
228
|
/**
|
|
229
229
|
* Method to set a parameter on the plan object. This is used by embedding as well
|
|
230
|
-
* @param parameter an instance of the kernel parameter we want to set, use
|
|
230
|
+
* @param parameter an instance of the kernel parameter we want to set, use 'key: "your-key"' if
|
|
231
231
|
* you do not have a kernel instance and do not need validation of the input
|
|
232
232
|
* @param value the value we want to set on the parameter as string
|
|
233
233
|
*/
|
|
@@ -238,7 +238,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
238
238
|
getParametersOfPlanObject(): Promise<KernelParameter[]>;
|
|
239
239
|
/**
|
|
240
240
|
* Method to set a parameter on the root component. This is used by embedding as well
|
|
241
|
-
* @param parameter an instance of the kernel parameter we want to set, use
|
|
241
|
+
* @param parameter an instance of the kernel parameter we want to set, use 'key: "your-key"' if
|
|
242
242
|
* you do not have a kernel instance and do not need validation of the input
|
|
243
243
|
* @param value the value we want to set on the parameter as string
|
|
244
244
|
*/
|
|
@@ -294,7 +294,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
294
294
|
*/
|
|
295
295
|
requestAsset(url: string): AssetUrl;
|
|
296
296
|
/**
|
|
297
|
-
* Sets the material of the floor to the given
|
|
297
|
+
* Sets the material of the floor to the given RapiMaterial.
|
|
298
298
|
* If the current environment is not floor environment it will be changed
|
|
299
299
|
*
|
|
300
300
|
* @param material
|
|
@@ -347,7 +347,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
347
347
|
*/
|
|
348
348
|
changeTypeChangeTag(rapiId: RapiId): void;
|
|
349
349
|
/**
|
|
350
|
-
*
|
|
350
|
+
* After calling this method the UiCallback removeTypeChangeTag is triggered (see: {@link @roomle/web-sdk/configurator-core/src/services/configurator-ui-callback#ConfiguratorUiCallbacks.onRemoveTypeChangeTag})
|
|
351
351
|
* @param rapiId
|
|
352
352
|
*/
|
|
353
353
|
removeTypeChangeTag(rapiId: RapiId): void;
|
|
@@ -365,14 +365,14 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
365
365
|
/**
|
|
366
366
|
* Show dimensions (width, height, depth) of object
|
|
367
367
|
*
|
|
368
|
-
* See {@link onDimensionsVisibilityChange} to get notified when dimension visibility changes
|
|
368
|
+
* See {@link @roomle/web-sdk/configurator-core/src/services/configurator-ui-callback#ConfiguratorUiCallbacks.onDimensionsVisibilityChange} to get notified when dimension visibility changes
|
|
369
369
|
*/
|
|
370
370
|
showDimensions(): void;
|
|
371
371
|
/**
|
|
372
372
|
* Hides dimensions when they are shown (see {@link showDimensions}).
|
|
373
373
|
* Calling hideDimensions does not force dimensions to be always hidden.
|
|
374
374
|
*
|
|
375
|
-
* See {@link onDimensionsVisibilityChange} to get notified when dimension visibility changes
|
|
375
|
+
* See {@link @roomle/web-sdk/configurator-core/src/services/configurator-ui-callback#ConfiguratorUiCallbacks.onDimensionsVisibilityChange} to get notified when dimension visibility changes
|
|
376
376
|
*/
|
|
377
377
|
hideDimensions(): void;
|
|
378
378
|
/**
|
|
@@ -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 @roomle/web-sdk/common-core/src/scene-settings-loader#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
|
|
@@ -474,7 +474,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
474
474
|
setBakedShadow(hex: string, url: string): void;
|
|
475
475
|
/**
|
|
476
476
|
* Loads a SceneSettings object, currently it can can contain a light setting definition
|
|
477
|
-
* (see {@link loadDynamicLightSetting}) and an environment definition (see {@link EnvironmentSetting}).
|
|
477
|
+
* (see {@link @roomle/web-sdk/configurator-core/src/roomle-configurator#RoomleConfigurator.loadDynamicLightSetting}) and an environment definition (see {@link @roomle/web-sdk/common-core/src/environment/dynamic-environment-setting-loader#EnvironmentSetting}).
|
|
478
478
|
* @param sceneSettings
|
|
479
479
|
*/
|
|
480
480
|
loadSceneSetting(sceneSettings: SceneSettings): Promise<void>;
|
|
@@ -530,12 +530,12 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
530
530
|
*/
|
|
531
531
|
zoomOut(value?: number): void;
|
|
532
532
|
/**
|
|
533
|
-
*
|
|
533
|
+
* Use this callbacks to hook in your functionality
|
|
534
534
|
*/
|
|
535
535
|
get callbacks(): ConfiguratorUiCallbacks;
|
|
536
536
|
/**
|
|
537
537
|
* @internal
|
|
538
|
-
*
|
|
538
|
+
* Use this callbacks to hook in your functionality
|
|
539
539
|
*/
|
|
540
540
|
get globalCallbacks(): GlobalCallback;
|
|
541
541
|
/**
|
|
@@ -580,7 +580,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
580
580
|
* Sets the parameter of the component by it's runtime id
|
|
581
581
|
* parameters of the plan object are set
|
|
582
582
|
* @param runtimeId number, the runtime id of the component. You can retrieve this ID from partlist etc
|
|
583
|
-
* @param parameter an instance of the kernel parameter we want to set, use
|
|
583
|
+
* @param parameter an instance of the kernel parameter we want to set, use 'key: "your-key"' if
|
|
584
584
|
* you do not have a kernel instance and do not need validation of the input
|
|
585
585
|
* @param value the value we want to set on the parameter as string
|
|
586
586
|
*/
|