@roomle/web-sdk 2.94.0-alpha.1 → 2.94.0
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 +5 -7
- package/lib/TextGeometry-ab643210.js +2 -0
- package/lib/TextGeometry-ab643210.js.map +1 -0
- package/lib/TextGeometry-cd81779b.nomodule.js +2 -0
- package/lib/TextGeometry-cd81779b.nomodule.js.map +1 -0
- package/lib/{banana-for-scale-7d77113f.nomodule.js → banana-for-scale-1f451414.nomodule.js} +2 -2
- package/lib/{banana-for-scale-7d77113f.nomodule.js.map → banana-for-scale-1f451414.nomodule.js.map} +1 -1
- package/lib/{banana-for-scale-a6cfb03f.js → banana-for-scale-8479c8a1.js} +2 -2
- package/lib/{banana-for-scale-a6cfb03f.js.map → banana-for-scale-8479c8a1.js.map} +1 -1
- package/lib/{budgeteer-measure-7662ae7e.js → budgeteer-measure-f6505461.js} +2 -2
- package/lib/{budgeteer-measure-7662ae7e.js.map → budgeteer-measure-f6505461.js.map} +1 -1
- package/lib/budgeteer-measure.nomodule.js +1 -1
- package/lib/{camera-behaviour-55f86fa4.nomodule.js → camera-behaviour-27b6ce79.nomodule.js} +2 -2
- package/lib/camera-behaviour-27b6ce79.nomodule.js.map +1 -0
- package/lib/{camera-behaviour-05fc5ef1.js → camera-behaviour-b9a52002.js} +2 -2
- package/lib/camera-behaviour-b9a52002.js.map +1 -0
- package/lib/{component-dimensioning-d2271998.nomodule.js → component-dimensioning-9cc86304.nomodule.js} +2 -2
- package/lib/component-dimensioning-9cc86304.nomodule.js.map +1 -0
- package/lib/{component-dimensioning-a9ea8349.js → component-dimensioning-aa4cd8f4.js} +2 -2
- package/lib/component-dimensioning-aa4cd8f4.js.map +1 -0
- package/lib/{component-raycast-helper-e910b27c.nomodule.js → component-raycast-helper-163d42ba.nomodule.js} +2 -2
- package/lib/component-raycast-helper-163d42ba.nomodule.js.map +1 -0
- package/lib/{component-raycast-helper-80394a4e.js → component-raycast-helper-479486e8.js} +2 -2
- package/lib/component-raycast-helper-479486e8.js.map +1 -0
- package/lib/{configurator-a35cc80c.js → configurator-9333ac17.js} +2 -2
- package/lib/configurator-9333ac17.js.map +1 -0
- package/lib/{configurator-79cf93dd.nomodule.js → configurator-b5e4a5ee.nomodule.js} +2 -2
- package/lib/configurator-b5e4a5ee.nomodule.js.map +1 -0
- package/lib/configurator-main-d0382ff8.js +2 -0
- package/lib/configurator-main-d0382ff8.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{continuous-drawing-helper-d10bf8bc.nomodule.js → continuous-drawing-helper-6f2f4c78.nomodule.js} +2 -2
- package/lib/continuous-drawing-helper-6f2f4c78.nomodule.js.map +1 -0
- package/lib/{continuous-drawing-helper-be34f1ca.js → continuous-drawing-helper-f8a966d9.js} +2 -2
- package/lib/continuous-drawing-helper-f8a966d9.js.map +1 -0
- package/lib/{default-light-setting-f7470fe4.js → default-light-setting-6425c714.js} +2 -2
- package/lib/default-light-setting-6425c714.js.map +1 -0
- package/lib/{default-light-setting-31cbd6d3.nomodule.js → default-light-setting-99036b6f.nomodule.js} +2 -2
- package/lib/default-light-setting-99036b6f.nomodule.js.map +1 -0
- package/lib/definitions/common-core/src/utils/init-data.d.ts +0 -2
- package/lib/definitions/common-core/src/utils/shims.d.ts +0 -10
- package/lib/definitions/common-core/src/webgl/renderer/scene-renderer.d.ts +1 -2
- package/lib/definitions/common-core/src/webgl/roomle-webgl-renderer.d.ts +1 -1
- package/lib/definitions/configurator-core/src/roomle-configurator.d.ts +1 -4
- package/lib/definitions/configurator-core/src/webgl/configurator-scene-manager.d.ts +0 -1
- package/lib/definitions/packages/common-core/src/utils/init-data.d.ts +0 -2
- package/lib/definitions/packages/common-core/src/utils/shims.d.ts +0 -10
- package/lib/definitions/packages/common-core/src/webgl/renderer/scene-renderer.d.ts +1 -2
- package/lib/definitions/packages/common-core/src/webgl/roomle-webgl-renderer.d.ts +1 -1
- package/lib/definitions/packages/configurator-core/src/roomle-configurator.d.ts +1 -4
- package/lib/definitions/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +0 -1
- package/lib/definitions/packages/planner-core/src/external-object-api-callbacks.d.ts +13 -26
- package/lib/definitions/packages/planner-core/src/external-object-api.d.ts +1 -2
- package/lib/definitions/packages/planner-core/src/roomle-planner-ui-callback.d.ts +5 -9
- package/lib/definitions/packages/planner-core/src/roomle-planner.d.ts +3 -6
- package/lib/definitions/packages/planner-core/src/services/planner-kernel-access.d.ts +11 -11
- package/lib/definitions/packages/planner-core/src/utils/planner-scene-manager.d.ts +1 -1
- package/lib/definitions/packages/planner-core/src/view-model/plan-view-model.d.ts +0 -1
- package/lib/definitions/packages/planner-core/src/webgl/planner-scene-manager.d.ts +0 -5
- package/lib/definitions/packages/typings/planner.d.ts +1 -20
- package/lib/definitions/planner-core/src/external-object-api-callbacks.d.ts +13 -26
- package/lib/definitions/planner-core/src/external-object-api.d.ts +1 -2
- package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +5 -9
- package/lib/definitions/planner-core/src/roomle-planner.d.ts +3 -6
- package/lib/definitions/planner-core/src/services/planner-kernel-access.d.ts +11 -11
- package/lib/definitions/planner-core/src/utils/planner-scene-manager.d.ts +1 -1
- package/lib/definitions/planner-core/src/view-model/plan-view-model.d.ts +0 -1
- package/lib/definitions/planner-core/src/webgl/planner-scene-manager.d.ts +0 -5
- package/lib/definitions/typings/planner.d.ts +1 -20
- package/lib/dimensioning-helper-318b729d.js +2 -0
- package/lib/{dimensioning-helper-940e213e.js.map → dimensioning-helper-318b729d.js.map} +1 -1
- package/lib/dimensioning-helper-49404687.nomodule.js +2 -0
- package/lib/dimensioning-helper-49404687.nomodule.js.map +1 -0
- package/lib/{glb-viewer-447927c4.nomodule.js → glb-viewer-2d94a287.nomodule.js} +2 -2
- package/lib/{glb-viewer-447927c4.nomodule.js.map → glb-viewer-2d94a287.nomodule.js.map} +1 -1
- package/lib/{glb-viewer-fd67ff04.js → glb-viewer-66869df0.js} +2 -2
- package/lib/{glb-viewer-fd67ff04.js.map → glb-viewer-66869df0.js.map} +1 -1
- package/lib/{glb-viewer-camera-behaviour-2608e844.nomodule.js → glb-viewer-camera-behaviour-0aba3eb3.nomodule.js} +2 -2
- package/lib/glb-viewer-camera-behaviour-0aba3eb3.nomodule.js.map +1 -0
- package/lib/{glb-viewer-camera-behaviour-141567b1.js → glb-viewer-camera-behaviour-169bee0e.js} +2 -2
- package/lib/glb-viewer-camera-behaviour-169bee0e.js.map +1 -0
- package/lib/glb-viewer-main-1b2e5764.js +2 -0
- package/lib/glb-viewer-main-1b2e5764.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/TextGeometry-f4299b59.legacy.js +2 -0
- package/lib/legacy/TextGeometry-f4299b59.legacy.js.map +1 -0
- package/lib/legacy/{banana-for-scale-d076a131.legacy.js → banana-for-scale-a28854f7.legacy.js} +2 -2
- package/lib/legacy/{banana-for-scale-d076a131.legacy.js.map → banana-for-scale-a28854f7.legacy.js.map} +1 -1
- package/lib/legacy/budgeteer-measure.legacy.js +1 -1
- package/lib/legacy/camera-behaviour-e6ce4b6d.legacy.js +2 -0
- package/lib/legacy/camera-behaviour-e6ce4b6d.legacy.js.map +1 -0
- package/lib/legacy/{component-dimensioning-2f39ca2d.legacy.js → component-dimensioning-a3182494.legacy.js} +2 -2
- package/lib/legacy/component-dimensioning-a3182494.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-d8951895.legacy.js → component-raycast-helper-17b7f665.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-17b7f665.legacy.js.map +1 -0
- package/lib/legacy/configurator-c69e87db.legacy.js +2 -0
- package/lib/legacy/configurator-c69e87db.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{continuous-drawing-helper-6d3c0faf.legacy.js → continuous-drawing-helper-bb050ff2.legacy.js} +2 -2
- package/lib/legacy/continuous-drawing-helper-bb050ff2.legacy.js.map +1 -0
- package/lib/legacy/{default-light-setting-e60bff1b.legacy.js → default-light-setting-086a7648.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-086a7648.legacy.js.map +1 -0
- package/lib/legacy/dimensioning-helper-fb07be35.legacy.js +2 -0
- package/lib/legacy/dimensioning-helper-fb07be35.legacy.js.map +1 -0
- package/lib/legacy/{glb-viewer-14374774.legacy.js → glb-viewer-4a69cf11.legacy.js} +2 -2
- package/lib/legacy/{glb-viewer-14374774.legacy.js.map → glb-viewer-4a69cf11.legacy.js.map} +1 -1
- package/lib/legacy/{glb-viewer-camera-behaviour-7ffdea3d.legacy.js → glb-viewer-camera-behaviour-a0bd3636.legacy.js} +2 -2
- package/lib/legacy/glb-viewer-camera-behaviour-a0bd3636.legacy.js.map +1 -0
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/main-thread-to-worker-7c2b8bc9.legacy.js +7 -0
- package/lib/legacy/main-thread-to-worker-7c2b8bc9.legacy.js.map +1 -0
- package/lib/legacy/{material-viewer-12b157a5.legacy.js → material-viewer-aec0f3b7.legacy.js} +2 -2
- package/lib/legacy/material-viewer-aec0f3b7.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/planner-2bc74cf2.legacy.js +2 -0
- package/lib/legacy/planner-2bc74cf2.legacy.js.map +1 -0
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/{query-params-helper-9bc9aa02.legacy.js → query-params-helper-aca6a1b1.legacy.js} +2 -2
- package/lib/legacy/query-params-helper-aca6a1b1.legacy.js.map +1 -0
- package/lib/legacy/roomle-configurator-d5ea14c2.legacy.js +2 -0
- package/lib/legacy/roomle-configurator-d5ea14c2.legacy.js.map +1 -0
- package/lib/legacy/roomle-dependency-injection-500dbf0d.legacy.js +9 -0
- package/lib/legacy/roomle-dependency-injection-500dbf0d.legacy.js.map +1 -0
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-ee55f933.legacy.js → script-loader-d6b10e8e.legacy.js} +2 -2
- package/lib/legacy/script-loader-d6b10e8e.legacy.js.map +1 -0
- package/lib/legacy/static/ConfiguratorKernel-793e445c9d64ee4b.wasm +0 -0
- package/lib/legacy/static/RoomleCore-7d39e007d6f9b788.wasm +0 -0
- package/lib/legacy/static/{RoomleCore-ed8b449f8ddfd032.js → RoomleCore-f2d7b1b87640ef15.js} +5 -5
- package/lib/legacy/static/RoomleToolsCore-9c348432c6d79392.wasm +0 -0
- package/lib/legacy/static/default-external-object-api-configuration-1e7103889f664a3f.json +16 -0
- package/lib/legacy/{stats-helper-d995ff14.legacy.js → stats-helper-4d796606.legacy.js} +2 -2
- package/lib/legacy/stats-helper-4d796606.legacy.js.map +1 -0
- package/lib/legacy/{tools-core-3c0d3832.legacy.js → tools-core-15dc1d58.legacy.js} +2 -2
- package/lib/legacy/tools-core-15dc1d58.legacy.js.map +1 -0
- package/lib/main-thread-to-worker-2529fa31.nomodule.js +2 -0
- package/lib/main-thread-to-worker-2529fa31.nomodule.js.map +1 -0
- package/lib/main-thread-to-worker-ee3036b3.js +2 -0
- package/lib/main-thread-to-worker-ee3036b3.js.map +1 -0
- package/lib/{material-viewer-1fa1935f.nomodule.js → material-viewer-2c8625ff.nomodule.js} +2 -2
- package/lib/material-viewer-2c8625ff.nomodule.js.map +1 -0
- package/lib/{material-viewer-0638640d.js → material-viewer-c9197111.js} +2 -2
- package/lib/material-viewer-c9197111.js.map +1 -0
- package/lib/material-viewer-main-8787208d.js +2 -0
- package/lib/material-viewer-main-8787208d.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/planner-5fb6f448.js +2 -0
- package/lib/planner-5fb6f448.js.map +1 -0
- package/lib/planner-65127889.nomodule.js +2 -0
- package/lib/planner-65127889.nomodule.js.map +1 -0
- package/lib/planner-main-d8ae156a.js +2 -0
- package/lib/planner-main-d8ae156a.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/{query-params-helper-4f855064.nomodule.js → query-params-helper-51a53f8c.nomodule.js} +2 -2
- package/lib/query-params-helper-51a53f8c.nomodule.js.map +1 -0
- package/lib/{query-params-helper-28405b8d.js → query-params-helper-c9492f35.js} +2 -2
- package/lib/query-params-helper-c9492f35.js.map +1 -0
- package/lib/roomle-configurator-9fe534c7.js +2 -0
- package/lib/roomle-configurator-9fe534c7.js.map +1 -0
- package/lib/roomle-configurator-ebb94f0f.nomodule.js +2 -0
- package/lib/roomle-configurator-ebb94f0f.nomodule.js.map +1 -0
- package/lib/roomle-dependency-injection-4e221caa.js +9 -0
- package/lib/roomle-dependency-injection-4e221caa.js.map +1 -0
- package/lib/roomle-dependency-injection-5fd128b0.nomodule.js +9 -0
- package/lib/roomle-dependency-injection-5fd128b0.nomodule.js.map +1 -0
- package/lib/{roomle-sdk-02567b03.js → roomle-sdk-6ccf3ded.js} +2 -2
- package/lib/roomle-sdk-6ccf3ded.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-be245e2c.js → script-loader-8964e022.js} +2 -2
- package/lib/script-loader-8964e022.js.map +1 -0
- package/lib/{script-loader-1491eb6e.nomodule.js → script-loader-b4e814f2.nomodule.js} +2 -2
- package/lib/script-loader-b4e814f2.nomodule.js.map +1 -0
- package/lib/static/ConfiguratorKernel-793e445c9d64ee4b.wasm +0 -0
- package/lib/static/RoomleCore-7d39e007d6f9b788.wasm +0 -0
- package/lib/static/{RoomleCore-ed8b449f8ddfd032.js → RoomleCore-f2d7b1b87640ef15.js} +1 -1
- package/lib/static/{RoomleCore-ed8b449f8ddfd032.js.map → RoomleCore-f2d7b1b87640ef15.js.map} +1 -1
- package/lib/static/RoomleToolsCore-9c348432c6d79392.wasm +0 -0
- package/lib/static/default-external-object-api-configuration-1e7103889f664a3f.json +16 -0
- package/lib/{stats-helper-31f64ecd.js → stats-helper-510ddd65.js} +2 -2
- package/lib/stats-helper-510ddd65.js.map +1 -0
- package/lib/{stats-helper-89db8c48.nomodule.js → stats-helper-86728f77.nomodule.js} +2 -2
- package/lib/stats-helper-86728f77.nomodule.js.map +1 -0
- package/lib/{tools-core-dd55a366.nomodule.js → tools-core-0f3ae134.nomodule.js} +2 -2
- package/lib/tools-core-0f3ae134.nomodule.js.map +1 -0
- package/lib/{tools-core-531ed8dc.js → tools-core-bae4492f.js} +2 -2
- package/lib/tools-core-bae4492f.js.map +1 -0
- package/package.json +3 -3
- package/lib/TextGeometry-259292ec.nomodule.js +0 -2
- package/lib/TextGeometry-259292ec.nomodule.js.map +0 -1
- package/lib/TextGeometry-dc304c0e.js +0 -2
- package/lib/TextGeometry-dc304c0e.js.map +0 -1
- package/lib/camera-behaviour-05fc5ef1.js.map +0 -1
- package/lib/camera-behaviour-55f86fa4.nomodule.js.map +0 -1
- package/lib/component-dimensioning-a9ea8349.js.map +0 -1
- package/lib/component-dimensioning-d2271998.nomodule.js.map +0 -1
- package/lib/component-raycast-helper-80394a4e.js.map +0 -1
- package/lib/component-raycast-helper-e910b27c.nomodule.js.map +0 -1
- package/lib/configurator-79cf93dd.nomodule.js.map +0 -1
- package/lib/configurator-a35cc80c.js.map +0 -1
- package/lib/configurator-main-94e1c5d0.js +0 -2
- package/lib/configurator-main-94e1c5d0.js.map +0 -1
- package/lib/continuous-drawing-helper-be34f1ca.js.map +0 -1
- package/lib/continuous-drawing-helper-d10bf8bc.nomodule.js.map +0 -1
- package/lib/default-light-setting-31cbd6d3.nomodule.js.map +0 -1
- package/lib/default-light-setting-f7470fe4.js.map +0 -1
- package/lib/definitions/configurator-core/src/utils/imos-ix-poc-export-helper.d.ts +0 -43
- package/lib/definitions/packages/configurator-core/src/utils/imos-ix-poc-export-helper.d.ts +0 -43
- package/lib/dimensioning-helper-940e213e.js +0 -2
- package/lib/dimensioning-helper-c90a2e59.nomodule.js +0 -2
- package/lib/dimensioning-helper-c90a2e59.nomodule.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-141567b1.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-2608e844.nomodule.js.map +0 -1
- package/lib/glb-viewer-main-3c69bc92.js +0 -2
- package/lib/glb-viewer-main-3c69bc92.js.map +0 -1
- package/lib/imos-ix-poc-export-helper-dee4f3a1.js +0 -2
- package/lib/imos-ix-poc-export-helper-dee4f3a1.js.map +0 -1
- package/lib/imos-ix-poc-export-helper-e4c914df.nomodule.js +0 -2
- package/lib/imos-ix-poc-export-helper-e4c914df.nomodule.js.map +0 -1
- package/lib/legacy/TextGeometry-5fb8e830.legacy.js +0 -2
- package/lib/legacy/TextGeometry-5fb8e830.legacy.js.map +0 -1
- package/lib/legacy/camera-behaviour-b583d9da.legacy.js +0 -2
- package/lib/legacy/camera-behaviour-b583d9da.legacy.js.map +0 -1
- package/lib/legacy/component-dimensioning-2f39ca2d.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-d8951895.legacy.js.map +0 -1
- package/lib/legacy/configurator-254d3ebf.legacy.js +0 -2
- package/lib/legacy/configurator-254d3ebf.legacy.js.map +0 -1
- package/lib/legacy/continuous-drawing-helper-6d3c0faf.legacy.js.map +0 -1
- package/lib/legacy/default-light-setting-e60bff1b.legacy.js.map +0 -1
- package/lib/legacy/dimensioning-helper-216dab16.legacy.js +0 -2
- package/lib/legacy/dimensioning-helper-216dab16.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-camera-behaviour-7ffdea3d.legacy.js.map +0 -1
- package/lib/legacy/imos-ix-poc-export-helper-2426ab25.legacy.js +0 -2
- package/lib/legacy/imos-ix-poc-export-helper-2426ab25.legacy.js.map +0 -1
- package/lib/legacy/main-thread-to-worker-1ffd1d44.legacy.js +0 -7
- package/lib/legacy/main-thread-to-worker-1ffd1d44.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-12b157a5.legacy.js.map +0 -1
- package/lib/legacy/planner-7f2c55fa.legacy.js +0 -2
- package/lib/legacy/planner-7f2c55fa.legacy.js.map +0 -1
- package/lib/legacy/query-params-helper-9bc9aa02.legacy.js.map +0 -1
- package/lib/legacy/roomle-configurator-f918de16.legacy.js +0 -2
- package/lib/legacy/roomle-configurator-f918de16.legacy.js.map +0 -1
- package/lib/legacy/roomle-dependency-injection-eb7a606c.legacy.js +0 -9
- package/lib/legacy/roomle-dependency-injection-eb7a606c.legacy.js.map +0 -1
- package/lib/legacy/script-loader-ee55f933.legacy.js.map +0 -1
- package/lib/legacy/static/ConfiguratorKernel-6f3c0f674deeab31.wasm +0 -0
- package/lib/legacy/static/RoomleCore-3d2f18d8ad3a0176.wasm +0 -0
- package/lib/legacy/static/RoomleToolsCore-b75693bfe1271a75.wasm +0 -0
- package/lib/legacy/static/default-external-object-api-configuration-c4294f96099e0d09.json +0 -70
- package/lib/legacy/stats-helper-d995ff14.legacy.js.map +0 -1
- package/lib/legacy/tools-core-3c0d3832.legacy.js.map +0 -1
- package/lib/main-thread-to-worker-352ff4b1.js +0 -8
- package/lib/main-thread-to-worker-352ff4b1.js.map +0 -1
- package/lib/main-thread-to-worker-7f1cb5ea.nomodule.js +0 -8
- package/lib/main-thread-to-worker-7f1cb5ea.nomodule.js.map +0 -1
- package/lib/material-viewer-0638640d.js.map +0 -1
- package/lib/material-viewer-1fa1935f.nomodule.js.map +0 -1
- package/lib/material-viewer-main-e1bec764.js +0 -2
- package/lib/material-viewer-main-e1bec764.js.map +0 -1
- package/lib/planner-95c43453.nomodule.js +0 -2
- package/lib/planner-95c43453.nomodule.js.map +0 -1
- package/lib/planner-d31cce72.js +0 -2
- package/lib/planner-d31cce72.js.map +0 -1
- package/lib/planner-main-e4a5d313.js +0 -2
- package/lib/planner-main-e4a5d313.js.map +0 -1
- package/lib/query-params-helper-28405b8d.js.map +0 -1
- package/lib/query-params-helper-4f855064.nomodule.js.map +0 -1
- package/lib/roomle-configurator-53e99bd9.nomodule.js +0 -2
- package/lib/roomle-configurator-53e99bd9.nomodule.js.map +0 -1
- package/lib/roomle-configurator-cceb45ae.js +0 -2
- package/lib/roomle-configurator-cceb45ae.js.map +0 -1
- package/lib/roomle-dependency-injection-0758cad6.nomodule.js +0 -9
- package/lib/roomle-dependency-injection-0758cad6.nomodule.js.map +0 -1
- package/lib/roomle-dependency-injection-91bf1e95.js +0 -9
- package/lib/roomle-dependency-injection-91bf1e95.js.map +0 -1
- package/lib/roomle-sdk-02567b03.js.map +0 -1
- package/lib/script-loader-1491eb6e.nomodule.js.map +0 -1
- package/lib/script-loader-be245e2c.js.map +0 -1
- package/lib/static/ConfiguratorKernel-6f3c0f674deeab31.wasm +0 -0
- package/lib/static/RoomleCore-3d2f18d8ad3a0176.wasm +0 -0
- package/lib/static/RoomleToolsCore-b75693bfe1271a75.wasm +0 -0
- package/lib/static/default-external-object-api-configuration-c4294f96099e0d09.json +0 -70
- package/lib/stats-helper-31f64ecd.js.map +0 -1
- package/lib/stats-helper-89db8c48.nomodule.js.map +0 -1
- package/lib/tools-core-531ed8dc.js.map +0 -1
- package/lib/tools-core-dd55a366.nomodule.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./script-loader-
|
|
2
|
-
//# sourceMappingURL=configurator-
|
|
1
|
+
System.register(["./script-loader-b4e814f2.nomodule.js","./roomle-dependency-injection-5fd128b0.nomodule.js","./camera-behaviour-27b6ce79.nomodule.js","./component-raycast-helper-163d42ba.nomodule.js","./roomle-configurator-ebb94f0f.nomodule.js","./query-params-helper-51a53f8c.nomodule.js","./main-thread-to-worker-2529fa31.nomodule.js","./default-light-setting-99036b6f.nomodule.js"],(function(e){var o,n,t,r,a,i,c,s,l,u,p,d,f,h;return{setters:[function(e){o=e.S,n=e.M},function(e){t=e.D,r=e.L,a=e.R,i=e.a,c=e.b,s=e.A},function(e){l=e.C,u=e.a},function(e){p=e.default},function(e){d=e.C,f=e.a,h=e.R},function(){},function(){},function(){}],execute:function(){const m=[new t("logger",r),new t("rapi-access",a),new t("script-loader",o),new t("camera-control-3d",l),new t("camera-control",u),new t("data-syncer",i),new t("configurator-scene-manager",d,1),new t("configurator-view-model",f,1),new t("component-raycast-helper",p,0)];e("Configurator",class extends n{setupDependencies(){c.setup(m),this.lookup("planner-kernel-access",this._context).init(1),this.lookup("rapi-access",this._context),this.lookup("script-loader",this._context),this.lookup("logger",this._context)}cleanUpGlobals(){delete window.RoomleConfigurator}cleanUpDependencies(){const e=this.lookup("script-loader"),o=this.lookup("rapi-access");this.lookup("dom-helper");const n=this.lookup("configurator-scene-manager");e&&e.cleanUp(),o&&o.cleanUp(),n&&n.cleanUp()}setupGlobals(e){const{kernelInstance:o,kernelContainer:n,planObjectId:t}=e||{};s.init({kernelInstance:o,kernelContainer:n,planObjectId:t})}getApi(){return this._configurator}bootFinished(){this._configurator=new h(this._context),this._configurator.getMain=()=>this,window.RoomleConfigurator||(window.RoomleConfigurator=this._configurator)}getContextName(){return"configurator"}})}}}));
|
|
2
|
+
//# sourceMappingURL=configurator-b5e4a5ee.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-b5e4a5ee.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Configurator}from"./configurator-9333ac17.js";import"./script-loader-8964e022.js";import"./query-params-helper-c9492f35.js";import"./main-thread-to-worker-ee3036b3.js";import"./roomle-dependency-injection-4e221caa.js";import"./camera-behaviour-b9a52002.js";import"./component-raycast-helper-479486e8.js";import"./roomle-configurator-9fe534c7.js";import"./default-light-setting-6425c714.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-d0382ff8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-main-d0382ff8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./configurator-
|
|
1
|
+
System.register(["./configurator-b5e4a5ee.nomodule.js","./script-loader-b4e814f2.nomodule.js","./query-params-helper-51a53f8c.nomodule.js","./main-thread-to-worker-2529fa31.nomodule.js","./roomle-dependency-injection-5fd128b0.nomodule.js","./camera-behaviour-27b6ce79.nomodule.js","./component-raycast-helper-163d42ba.nomodule.js","./roomle-configurator-ebb94f0f.nomodule.js","./default-light-setting-99036b6f.nomodule.js"],(function(){var e;return{setters:[function(o){e=o.Configurator},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],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
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=continuous-drawing-helper-
|
|
1
|
+
System.register(["./roomle-dependency-injection-5fd128b0.nomodule.js","./main-thread-to-worker-2529fa31.nomodule.js"],(function(e){var i,t,r,n,s;return{setters:[function(e){i=e.ac},function(e){t=e.aT,r=e.h,n=e.w,s=e.z}],execute:function(){e("default",class{constructor(){this._currentInnerRadius=0}init(e,i,t){this._drawingGroup=e,this._continuousDrawingManager=i,this._kernelZoomFactor=t,this.update()}update(){this._initCircle(),this._updateCircle()}_initCircle(){if(this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3,i=new t(e,e+e/50,32),c=new r({color:10066329,side:n});this._circleMesh=new s(i,c),this._circleMesh.name="Circle",this._circleMesh.rotation.set(Math.PI/2,0,0),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._drawingGroup.add(this._circleMesh)}_updateCircle(){if(!this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3;if(e!==this._currentInnerRadius){const i=e+e/50;this._circleMesh.geometry=new t(e,i,32)}const r=i(this._continuousDrawingManager.getStartPoint());r.y=5,this._circleMesh.position.copy(r),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._currentInnerRadius=e}setKernelZoomFactor(e){this._kernelZoomFactor=e}endDrawing(){this._drawingGroup.remove(this._circleMesh),this._circleMesh=null}})}}}));
|
|
2
|
+
//# sourceMappingURL=continuous-drawing-helper-6f2f4c78.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"continuous-drawing-helper-6f2f4c78.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ac as convertToTHREE}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=continuous-drawing-helper-
|
|
1
|
+
import{ac as convertToTHREE}from"./roomle-dependency-injection-4e221caa.js";import{aT as RingGeometry,h as MeshBasicMaterial,w as DoubleSide,z as Mesh}from"./main-thread-to-worker-ee3036b3.js";class ContinuousDrawingHelper{constructor(){this._currentInnerRadius=0}init(e,i,r){this._drawingGroup=e,this._continuousDrawingManager=i,this._kernelZoomFactor=r,this.update()}update(){this._initCircle(),this._updateCircle()}_initCircle(){if(this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3,i=new RingGeometry(e,e+e/50,32),r=new MeshBasicMaterial({color:10066329,side:DoubleSide});this._circleMesh=new Mesh(i,r),this._circleMesh.name="Circle",this._circleMesh.rotation.set(Math.PI/2,0,0),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._drawingGroup.add(this._circleMesh)}_updateCircle(){if(!this._circleMesh)return;const e=70/this._kernelZoomFactor/1e3;if(e!==this._currentInnerRadius){const i=e+e/50;this._circleMesh.geometry=new RingGeometry(e,i,32)}const i=convertToTHREE(this._continuousDrawingManager.getStartPoint());i.y=5,this._circleMesh.position.copy(i),this._circleMesh.visible=this._continuousDrawingManager.shouldShowCircle(),this._currentInnerRadius=e}setKernelZoomFactor(e){this._kernelZoomFactor=e}endDrawing(){this._drawingGroup.remove(this._circleMesh),this._circleMesh=null}}export{ContinuousDrawingHelper as default};
|
|
2
|
+
//# sourceMappingURL=continuous-drawing-helper-f8a966d9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"continuous-drawing-helper-f8a966d9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as LightSetting}from"./camera-behaviour-
|
|
2
|
-
//# sourceMappingURL=default-light-setting-
|
|
1
|
+
import{L as LightSetting}from"./camera-behaviour-b9a52002.js";import{ag as getGUI}from"./roomle-dependency-injection-4e221caa.js";import{D as DirectionalLight,C as Color,V as Vector2,a as Vector3,A as AmbientLight}from"./main-thread-to-worker-ee3036b3.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 DirectionalLight(new 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 Vector2(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new Vector3(0,0,0)),this._secondDirectionalLight=new DirectionalLight(new 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 Vector2(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new Vector3(0,0,0)),this._ambientLight=new AmbientLight(new Color(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new Vector3),a=Math.max(Math.max(t.x,t.y),t.z)+1,e=a/2;this._mainDirectionalLight.shadow.camera.top=e,this._mainDirectionalLight.shadow.camera.bottom=-e,this._mainDirectionalLight.shadow.camera.left=-e,this._mainDirectionalLight.shadow.camera.right=e,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=e,this._secondDirectionalLight.shadow.camera.bottom=-e,this._secondDirectionalLight.shadow.camera.left=-e,this._secondDirectionalLight.shadow.camera.right=e,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 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 Color(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new 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 Color(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new Vector3(0,0,0)))}}}}export{DefaultLightSetting as D};
|
|
2
|
+
//# sourceMappingURL=default-light-setting-6425c714.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-6425c714.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./camera-behaviour-
|
|
2
|
-
//# sourceMappingURL=default-light-setting-
|
|
1
|
+
System.register(["./camera-behaviour-27b6ce79.nomodule.js","./roomle-dependency-injection-5fd128b0.nomodule.js","./main-thread-to-worker-2529fa31.nomodule.js"],(function(i){var t,a,e,n,o,s,h;return{setters:[function(i){t=i.L},function(i){a=i.ag},function(i){e=i.D,n=i.C,o=i.V,s=i.a,h=i.A}],execute:function(){i("D",class extends t{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 e(new n(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 o(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new s(0,0,0)),this._secondDirectionalLight=new e(new n(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 o(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new s(0,0,0)),this._ambientLight=new h(new n(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new s),a=Math.max(Math.max(t.x,t.y),t.z)+1,e=a/2;this._mainDirectionalLight.shadow.camera.top=e,this._mainDirectionalLight.shadow.camera.bottom=-e,this._mainDirectionalLight.shadow.camera.left=-e,this._mainDirectionalLight.shadow.camera.right=e,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=e,this._secondDirectionalLight.shadow.camera.bottom=-e,this._secondDirectionalLight.shadow.camera.left=-e,this._secondDirectionalLight.shadow.camera.right=e,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=a();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 n(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 n(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(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 n(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new s(0,0,0)))}}}})}}}));
|
|
2
|
+
//# sourceMappingURL=default-light-setting-99036b6f.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-99036b6f.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -30,7 +30,6 @@ export default class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
30
30
|
stats?: boolean;
|
|
31
31
|
_measureTraffic?: boolean;
|
|
32
32
|
debug?: boolean;
|
|
33
|
-
debugGeometry?: boolean;
|
|
34
33
|
usePriceService?: boolean;
|
|
35
34
|
disableDebugGUI?: boolean;
|
|
36
35
|
disableEnvMap?: boolean;
|
|
@@ -41,7 +40,6 @@ export default class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
41
40
|
legacyLight?: boolean;
|
|
42
41
|
sceneLight?: DefaultEnvironmentSceneType;
|
|
43
42
|
shading?: SceneShadingType;
|
|
44
|
-
linearAoFilter?: boolean;
|
|
45
43
|
customShading?: CustomShadingParameters;
|
|
46
44
|
customShadingMoc?: CustomShadingParameters;
|
|
47
45
|
restrictionLevel?: number;
|
|
@@ -227,11 +227,6 @@ export interface CommonInitData {
|
|
|
227
227
|
* - Free camera movement (no restrictions, camera stays after reload, panning using Shift key)
|
|
228
228
|
*/
|
|
229
229
|
debug?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* @description This flag enables:
|
|
232
|
-
* - External object docking vector debug geometry
|
|
233
|
-
*/
|
|
234
|
-
debugGeometry?: boolean;
|
|
235
230
|
/**
|
|
236
231
|
* @description If set to true, prices are calculated using the Roomle price service.
|
|
237
232
|
* For more information ask your Roomle contact.
|
|
@@ -286,11 +281,6 @@ export interface CommonInitData {
|
|
|
286
281
|
* @groups scene-settings
|
|
287
282
|
*/
|
|
288
283
|
customShading?: CustomShadingParameters;
|
|
289
|
-
/**
|
|
290
|
-
* @description Activates the linear AO filter mode to reduce AO anti-aliasing artifacts
|
|
291
|
-
* @groups scene-settings
|
|
292
|
-
*/
|
|
293
|
-
linearAoFilter?: boolean;
|
|
294
284
|
/**
|
|
295
285
|
* @description Customized shading properties for the overall appearance in MOC
|
|
296
286
|
* @groups scene-settings
|
|
@@ -62,7 +62,6 @@ export declare class SceneRenderer {
|
|
|
62
62
|
debugOutput: string;
|
|
63
63
|
outputColorSpace: string;
|
|
64
64
|
toneMapping: string;
|
|
65
|
-
linearAoFilter: boolean;
|
|
66
65
|
environmentLights: boolean;
|
|
67
66
|
enableObjectSelection: boolean;
|
|
68
67
|
groundLevel: number;
|
|
@@ -91,7 +90,7 @@ export declare class SceneRenderer {
|
|
|
91
90
|
get shadowAndAoPass(): ShadowAndAoPass;
|
|
92
91
|
get debugPass(): DebugPass;
|
|
93
92
|
get shadowAndAoGroundPlane(): ShadowGroundPlane;
|
|
94
|
-
constructor(renderer: WebGLRenderer, width: number, height: number
|
|
93
|
+
constructor(renderer: WebGLRenderer, width: number, height: number);
|
|
95
94
|
private _addEventListeners;
|
|
96
95
|
dispose(): void;
|
|
97
96
|
setSize(width: number, height: number): void;
|
|
@@ -37,7 +37,7 @@ export declare class RoomleWebGLRenderer {
|
|
|
37
37
|
get bakedGroundContactShadowParameters(): BakedGroundContactShadowParameters;
|
|
38
38
|
get groundReflectionParameters(): GroundReflectionParameters;
|
|
39
39
|
get outlineParameters(): OutlineParameters;
|
|
40
|
-
constructor(renderer: WebGLRenderer, width: number, height: number
|
|
40
|
+
constructor(renderer: WebGLRenderer, width: number, height: number);
|
|
41
41
|
dispose(): void;
|
|
42
42
|
setSize(width: number, height: number): void;
|
|
43
43
|
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
@@ -21,7 +21,6 @@ import type { GlobalCallback } from '../../common-core/src/services/global-callb
|
|
|
21
21
|
import type RoomleToolsCore from '../../tools-core/src/roomle-tools-core';
|
|
22
22
|
import type { Scene } from 'three';
|
|
23
23
|
import type IdbManager from '../../common-core/src/services/idb-manager';
|
|
24
|
-
import type { HomagIxArticleParams, HomagIxHeaderParams, HomagIxOrderParams } from './utils/imos-ix-poc-export-helper';
|
|
25
24
|
import type { ConfiguratorDebugAPI } from './configurator-debug-api';
|
|
26
25
|
interface ConfigurationLoadedResponse {
|
|
27
26
|
partList: KernelPartList;
|
|
@@ -671,9 +670,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
671
670
|
generateProductionServiceExport(defaultExportDefinition?: string): Promise<any>;
|
|
672
671
|
generateTCExport(defaultExportDefinition?: string): Promise<any>;
|
|
673
672
|
generateIMOSiXExport(defaultExportDefinition?: string): Promise<any>;
|
|
674
|
-
|
|
675
|
-
downloadHomagIxExportPoC(): Promise<any>;
|
|
676
|
-
generateHomagIxExport(exportType: ExportType, defaultExportDefinition?: string): Promise<any>;
|
|
673
|
+
generateExport(exportType: ExportType, defaultExportDefinition?: string): Promise<any>;
|
|
677
674
|
setEnvironmentMap(params: {
|
|
678
675
|
url?: string;
|
|
679
676
|
intensity?: number;
|
|
@@ -58,7 +58,6 @@ export default class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
58
58
|
protected shouldClearShadowsAndAO(): boolean;
|
|
59
59
|
resume(): void;
|
|
60
60
|
private _materialLoaded;
|
|
61
|
-
waitForMaterialQueue(): Promise<void>;
|
|
62
61
|
pause(): void;
|
|
63
62
|
protected _setupScene(offset?: CanvasOffset, transparent?: boolean, skipLightSetup?: boolean): void;
|
|
64
63
|
sceneCleared(shouldHardReset: boolean): void;
|
|
@@ -30,7 +30,6 @@ export default class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
30
30
|
stats?: boolean;
|
|
31
31
|
_measureTraffic?: boolean;
|
|
32
32
|
debug?: boolean;
|
|
33
|
-
debugGeometry?: boolean;
|
|
34
33
|
usePriceService?: boolean;
|
|
35
34
|
disableDebugGUI?: boolean;
|
|
36
35
|
disableEnvMap?: boolean;
|
|
@@ -41,7 +40,6 @@ export default class InitData implements Context, Omit<InitDataDefinition, 'colo
|
|
|
41
40
|
legacyLight?: boolean;
|
|
42
41
|
sceneLight?: DefaultEnvironmentSceneType;
|
|
43
42
|
shading?: SceneShadingType;
|
|
44
|
-
linearAoFilter?: boolean;
|
|
45
43
|
customShading?: CustomShadingParameters;
|
|
46
44
|
customShadingMoc?: CustomShadingParameters;
|
|
47
45
|
restrictionLevel?: number;
|
|
@@ -227,11 +227,6 @@ export interface CommonInitData {
|
|
|
227
227
|
* - Free camera movement (no restrictions, camera stays after reload, panning using Shift key)
|
|
228
228
|
*/
|
|
229
229
|
debug?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* @description This flag enables:
|
|
232
|
-
* - External object docking vector debug geometry
|
|
233
|
-
*/
|
|
234
|
-
debugGeometry?: boolean;
|
|
235
230
|
/**
|
|
236
231
|
* @description If set to true, prices are calculated using the Roomle price service.
|
|
237
232
|
* For more information ask your Roomle contact.
|
|
@@ -286,11 +281,6 @@ export interface CommonInitData {
|
|
|
286
281
|
* @groups scene-settings
|
|
287
282
|
*/
|
|
288
283
|
customShading?: CustomShadingParameters;
|
|
289
|
-
/**
|
|
290
|
-
* @description Activates the linear AO filter mode to reduce AO anti-aliasing artifacts
|
|
291
|
-
* @groups scene-settings
|
|
292
|
-
*/
|
|
293
|
-
linearAoFilter?: boolean;
|
|
294
284
|
/**
|
|
295
285
|
* @description Customized shading properties for the overall appearance in MOC
|
|
296
286
|
* @groups scene-settings
|
|
@@ -62,7 +62,6 @@ export declare class SceneRenderer {
|
|
|
62
62
|
debugOutput: string;
|
|
63
63
|
outputColorSpace: string;
|
|
64
64
|
toneMapping: string;
|
|
65
|
-
linearAoFilter: boolean;
|
|
66
65
|
environmentLights: boolean;
|
|
67
66
|
enableObjectSelection: boolean;
|
|
68
67
|
groundLevel: number;
|
|
@@ -91,7 +90,7 @@ export declare class SceneRenderer {
|
|
|
91
90
|
get shadowAndAoPass(): ShadowAndAoPass;
|
|
92
91
|
get debugPass(): DebugPass;
|
|
93
92
|
get shadowAndAoGroundPlane(): ShadowGroundPlane;
|
|
94
|
-
constructor(renderer: WebGLRenderer, width: number, height: number
|
|
93
|
+
constructor(renderer: WebGLRenderer, width: number, height: number);
|
|
95
94
|
private _addEventListeners;
|
|
96
95
|
dispose(): void;
|
|
97
96
|
setSize(width: number, height: number): void;
|
|
@@ -37,7 +37,7 @@ export declare class RoomleWebGLRenderer {
|
|
|
37
37
|
get bakedGroundContactShadowParameters(): BakedGroundContactShadowParameters;
|
|
38
38
|
get groundReflectionParameters(): GroundReflectionParameters;
|
|
39
39
|
get outlineParameters(): OutlineParameters;
|
|
40
|
-
constructor(renderer: WebGLRenderer, width: number, height: number
|
|
40
|
+
constructor(renderer: WebGLRenderer, width: number, height: number);
|
|
41
41
|
dispose(): void;
|
|
42
42
|
setSize(width: number, height: number): void;
|
|
43
43
|
setCameraType(cameraType: Enumify<typeof CAMERA_TYPE>): void;
|
|
@@ -21,7 +21,6 @@ import type { GlobalCallback } from '../../common-core/src/services/global-callb
|
|
|
21
21
|
import type RoomleToolsCore from '../../tools-core/src/roomle-tools-core';
|
|
22
22
|
import type { Scene } from 'three';
|
|
23
23
|
import type IdbManager from '../../common-core/src/services/idb-manager';
|
|
24
|
-
import type { HomagIxArticleParams, HomagIxHeaderParams, HomagIxOrderParams } from './utils/imos-ix-poc-export-helper';
|
|
25
24
|
import type { ConfiguratorDebugAPI } from './configurator-debug-api';
|
|
26
25
|
interface ConfigurationLoadedResponse {
|
|
27
26
|
partList: KernelPartList;
|
|
@@ -671,9 +670,7 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
671
670
|
generateProductionServiceExport(defaultExportDefinition?: string): Promise<any>;
|
|
672
671
|
generateTCExport(defaultExportDefinition?: string): Promise<any>;
|
|
673
672
|
generateIMOSiXExport(defaultExportDefinition?: string): Promise<any>;
|
|
674
|
-
|
|
675
|
-
downloadHomagIxExportPoC(): Promise<any>;
|
|
676
|
-
generateHomagIxExport(exportType: ExportType, defaultExportDefinition?: string): Promise<any>;
|
|
673
|
+
generateExport(exportType: ExportType, defaultExportDefinition?: string): Promise<any>;
|
|
677
674
|
setEnvironmentMap(params: {
|
|
678
675
|
url?: string;
|
|
679
676
|
intensity?: number;
|
package/lib/definitions/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ export default class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
58
58
|
protected shouldClearShadowsAndAO(): boolean;
|
|
59
59
|
resume(): void;
|
|
60
60
|
private _materialLoaded;
|
|
61
|
-
waitForMaterialQueue(): Promise<void>;
|
|
62
61
|
pause(): void;
|
|
63
62
|
protected _setupScene(offset?: CanvasOffset, transparent?: boolean, skipLightSetup?: boolean): void;
|
|
64
63
|
sceneCleared(shouldHardReset: boolean): void;
|
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
import type { CancelSelectionReasons } from '../../typings/planner';
|
|
2
|
-
export interface ExternalObjectSegment {
|
|
3
|
-
cmd: string;
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
type: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ExternalObjectContour {
|
|
9
|
-
level: number;
|
|
10
|
-
segments: ExternalObjectSegment[];
|
|
11
|
-
}
|
|
12
2
|
export interface ExternalObjectGroupPosition {
|
|
13
3
|
pos: number[];
|
|
14
4
|
rotation?: number;
|
|
15
|
-
|
|
5
|
+
}
|
|
6
|
+
export interface ExternalObjectGroup {
|
|
7
|
+
groupId: string;
|
|
8
|
+
pos: number[];
|
|
9
|
+
rotation?: number;
|
|
16
10
|
}
|
|
17
11
|
export interface ExternalObjectRootModule {
|
|
18
12
|
moduleId: string;
|
|
19
13
|
pos: number[];
|
|
20
14
|
rotation?: number;
|
|
21
15
|
}
|
|
22
|
-
export interface
|
|
23
|
-
groupId
|
|
16
|
+
export interface ExternalObjectGroupAndModules {
|
|
17
|
+
groupId?: string;
|
|
24
18
|
pos: number[];
|
|
25
19
|
rotation?: number;
|
|
26
|
-
rootModules
|
|
27
|
-
contours?: ExternalObjectContour[];
|
|
20
|
+
rootModules: ExternalObjectRootModule[];
|
|
28
21
|
}
|
|
29
22
|
export interface ExternalObjectUiCallback {
|
|
30
23
|
/** "onMergeExternalObjectGroup" is invoked when a group of root modules is merged into another group of root modules.
|
|
@@ -35,7 +28,7 @@ export interface ExternalObjectUiCallback {
|
|
|
35
28
|
* @param targetGroup The target group of root modules.
|
|
36
29
|
* @param idsOfGroupsMerged The IDs of the groups merged into the target group.
|
|
37
30
|
*/
|
|
38
|
-
onMergeExternalObjectGroup(targetGroup:
|
|
31
|
+
onMergeExternalObjectGroup(targetGroup: ExternalObjectGroupAndModules, idsOfGroupsMerged: string | string[]): void;
|
|
39
32
|
/**
|
|
40
33
|
* "onSplitExternalObjectGroup" is invoked when one or more root modules are split from a group of root modules.
|
|
41
34
|
* The split root modules form a new group, which must be assigned a new ID.
|
|
@@ -44,13 +37,13 @@ export interface ExternalObjectUiCallback {
|
|
|
44
37
|
* @param splitGroup The original group of root modules.
|
|
45
38
|
* @param newGroupedRootModules The new group of root modules.
|
|
46
39
|
*/
|
|
47
|
-
onSplitExternalObjectGroup(splitGroup:
|
|
40
|
+
onSplitExternalObjectGroup(splitGroup: ExternalObjectGroupAndModules, newGroupedRootModules: ExternalObjectGroupAndModules | ExternalObjectGroupAndModules[]): void;
|
|
48
41
|
/**
|
|
49
42
|
* "onExternalObjectGroupArrangementChanged" is invoked when the arrangement (position and rotation) of the root modules of a group has changed .
|
|
50
43
|
* "changedGroup" contains the information about the root modules of the group.
|
|
51
44
|
* @param changedGroup The new arranged group and its root modules .
|
|
52
45
|
*/
|
|
53
|
-
onExternalObjectGroupArrangementChanged(changedGroup:
|
|
46
|
+
onExternalObjectGroupArrangementChanged(changedGroup: ExternalObjectGroupAndModules): void;
|
|
54
47
|
/**
|
|
55
48
|
* "onDeleteExternalObjectGroup" is invoked when a group of root modules and all the root modules it contains are deleted.
|
|
56
49
|
* The group with the ID "groupIdToDelete" is removed from the plan and is completely deleted.
|
|
@@ -69,7 +62,7 @@ export interface ExternalObjectUiCallback {
|
|
|
69
62
|
* @param rootModuleIdToDelete The ID of the root module.
|
|
70
63
|
* @param splitGroups The new groups of root modules that have been split off.
|
|
71
64
|
*/
|
|
72
|
-
onDeleteExternalObjectRootModule(remainingGroup:
|
|
65
|
+
onDeleteExternalObjectRootModule(remainingGroup: ExternalObjectGroupAndModules, rootModuleIdToDelete: string, splitOffGroups?: ExternalObjectGroupAndModules[]): void;
|
|
73
66
|
/**
|
|
74
67
|
* "onDeleteExternalObjectSubModule" is invoked when a sub module is deleted from a root module.
|
|
75
68
|
* The sub module with the ID "subModuleIdToDelete" is removed from the root module with the ID "rootModuleId"
|
|
@@ -88,16 +81,10 @@ export interface ExternalObjectUiCallback {
|
|
|
88
81
|
*/
|
|
89
82
|
onDuplicateExternalObjectGroup(sourceGroupId: string, newGroupPosition: ExternalObjectGroupPosition): void;
|
|
90
83
|
/**
|
|
91
|
-
* “
|
|
92
|
-
* or when the plan itself is changed.
|
|
84
|
+
* “onMovedExternalObjectGroup” is invoked when a group of root modules is moved or rotated to a new position.
|
|
93
85
|
* The group with the ID "group.id" is moved to the new position and orientation defined in "group".
|
|
94
86
|
* @param group The group of root modules.
|
|
95
87
|
*/
|
|
96
|
-
onChangedPlaningSituationForExternalObjectGroup(group: ExternalObjectGroup): void;
|
|
97
|
-
/**
|
|
98
|
-
* @deprecated and replaced by “onChangedPlaningSituationForExternalObjectGroup”.
|
|
99
|
-
* @param group The group of root modules.
|
|
100
|
-
*/
|
|
101
88
|
onMovedExternalObjectGroup(group: ExternalObjectGroup): void;
|
|
102
89
|
/**
|
|
103
90
|
* "onExternalObjectEnvironmentChanged" is invoked when the plan (walls, doors, windows, etc.) has changed.
|
|
@@ -57,9 +57,8 @@ export interface ExternalObjectAPI {
|
|
|
57
57
|
/**
|
|
58
58
|
* "removeExternalObjectGroup" removes a group and all its modules from the plan.
|
|
59
59
|
* @param groupId The ID of the group of modules.
|
|
60
|
-
* @param wasMerged Should be set to true if the group has been merged with another group (this is required to generate correct undo/redo steps).
|
|
61
60
|
*/
|
|
62
|
-
removeExternalObjectGroup(groupId: string
|
|
61
|
+
removeExternalObjectGroup(groupId: string): Promise<void>;
|
|
63
62
|
/**
|
|
64
63
|
* "removeExternalObjectRootModule" removes a root module from a group and splits the remaining group if the removed root module is located between other root modules.
|
|
65
64
|
* If the group consists of only one root module, the group is removed.
|
|
@@ -14,7 +14,7 @@ import type { MeasurementLineDimension, MeasurementLineDimensionTransferable } f
|
|
|
14
14
|
import type { ConstructionMeasurementsTransferable } from './utils/measurements';
|
|
15
15
|
import type { FloorAreaDataTransferable } from './view-model/floor-plan-element-view-model';
|
|
16
16
|
import { type BASE_CONTEXT } from '../../common-core/src/main';
|
|
17
|
-
import type { ExternalObjectGroup, ExternalObjectGroupPosition, ExternalObjectUiCallback } from './external-object-api-callbacks';
|
|
17
|
+
import type { ExternalObjectGroup, ExternalObjectGroupAndModules, ExternalObjectGroupPosition, ExternalObjectUiCallback } from './external-object-api-callbacks';
|
|
18
18
|
export interface SelectionPayload {
|
|
19
19
|
item?: RapiItem;
|
|
20
20
|
configuration?: RapiConfiguration;
|
|
@@ -179,15 +179,15 @@ export default class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
179
179
|
/**
|
|
180
180
|
* documented in interface ExternalObjectUiCallback
|
|
181
181
|
*/
|
|
182
|
-
onMergeExternalObjectGroup: (targetGroup:
|
|
182
|
+
onMergeExternalObjectGroup: (targetGroup: ExternalObjectGroupAndModules, idsOfGroupsMerged: string | string[]) => void;
|
|
183
183
|
/**
|
|
184
184
|
* documented in interface ExternalObjectUiCallback
|
|
185
185
|
*/
|
|
186
|
-
onSplitExternalObjectGroup: (originalGroup:
|
|
186
|
+
onSplitExternalObjectGroup: (originalGroup: ExternalObjectGroupAndModules, newGroupedRootModules: ExternalObjectGroupAndModules | ExternalObjectGroupAndModules[]) => void;
|
|
187
187
|
/**
|
|
188
188
|
* documented in interface ExternalObjectUiCallback
|
|
189
189
|
*/
|
|
190
|
-
onExternalObjectGroupArrangementChanged: (changedGroup:
|
|
190
|
+
onExternalObjectGroupArrangementChanged: (changedGroup: ExternalObjectGroupAndModules) => void;
|
|
191
191
|
/**
|
|
192
192
|
* documented in interface ExternalObjectUiCallback
|
|
193
193
|
*/
|
|
@@ -195,7 +195,7 @@ export default class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
195
195
|
/**
|
|
196
196
|
* documented in interface ExternalObjectUiCallback
|
|
197
197
|
*/
|
|
198
|
-
onDeleteExternalObjectRootModule: (_remainingGroup:
|
|
198
|
+
onDeleteExternalObjectRootModule: (_remainingGroup: ExternalObjectGroupAndModules, _rootModuleIdToDelete: string, _splitOffGroups?: ExternalObjectGroupAndModules[]) => void;
|
|
199
199
|
/**
|
|
200
200
|
* documented in interface ExternalObjectUiCallback
|
|
201
201
|
*/
|
|
@@ -204,10 +204,6 @@ export default class RoomlePlannerUiCallback extends UiCallback implements Exter
|
|
|
204
204
|
* documented in interface ExternalObjectUiCallback
|
|
205
205
|
*/
|
|
206
206
|
onDuplicateExternalObjectGroup: (sourceGroupId: string, newGroupPosition: ExternalObjectGroupPosition) => void;
|
|
207
|
-
/**
|
|
208
|
-
* documented in interface ExternalObjectUiCallback
|
|
209
|
-
*/
|
|
210
|
-
onChangedPlaningSituationForExternalObjectGroup: (group: ExternalObjectGroup) => void;
|
|
211
207
|
/**
|
|
212
208
|
* documented in interface ExternalObjectUiCallback
|
|
213
209
|
*/
|
|
@@ -6,7 +6,7 @@ import type { Configurator } from '../../configurator-core/src/configurator';
|
|
|
6
6
|
import type { GlobalInitDataDefinition, InitDataDefinition } from '../../common-core/src/utils/shims';
|
|
7
7
|
import type { ConfigurationString, RapiConfiguration, RapiId, RapiItem, RapiPlan, RapiPlanSnapshotGetData } from '../../typings/rapi-types';
|
|
8
8
|
import type { Context } from '../../common-core/src/di/context';
|
|
9
|
-
import {
|
|
9
|
+
import type { CancelSelectionReasons, KernelObject, KernelWall, PlanInteractionHandler, PlanModelViewHelper, PlanOverview } from '../../typings/planner';
|
|
10
10
|
import type { KernelAccessCallbackI } from '../../common-core/src/kernel-access-callback';
|
|
11
11
|
import type InitData from '../../common-core/src/utils/init-data';
|
|
12
12
|
import type { CanvasOffset, Position3 } from '../../common-core/src/common-interfaces';
|
|
@@ -376,7 +376,6 @@ export default class RoomlePlanner implements KernelAccessCallbackI, RoomlePlann
|
|
|
376
376
|
resolveShortUrl(shortUrl: string): Promise<string>;
|
|
377
377
|
enableEvents(): void;
|
|
378
378
|
disableEvents(): void;
|
|
379
|
-
downloadHomagIxExportPoC(): Promise<any>;
|
|
380
379
|
configureExternalObjectApi(configurationJson: string | ExternalObjectApiConfiguration): Promise<void>;
|
|
381
380
|
loadExternalObjectLibrary(libraryJson: string | object): void;
|
|
382
381
|
loadExternalObjectGroup(groupJson: string | object, findFreeSpaceInPlan: boolean, verifyArrangement?: boolean): Promise<void>;
|
|
@@ -384,7 +383,7 @@ export default class RoomlePlanner implements KernelAccessCallbackI, RoomlePlann
|
|
|
384
383
|
renderImagesOfExternalObjectGroup(groupsJson: string | object): Promise<{
|
|
385
384
|
[key: string]: string;
|
|
386
385
|
}>;
|
|
387
|
-
removeExternalObjectGroup(groupId: string
|
|
386
|
+
removeExternalObjectGroup(groupId: string): Promise<void>;
|
|
388
387
|
removeExternalObjectRootModule(rootModuleId: string): void;
|
|
389
388
|
selectExternalObjectGroup(groupId: string): Promise<void>;
|
|
390
389
|
selectExternalObjectRootModule(rootModuleId: string): Promise<void>;
|
|
@@ -392,9 +391,7 @@ export default class RoomlePlanner implements KernelAccessCallbackI, RoomlePlann
|
|
|
392
391
|
openOrCloseGeometryOfExternalObject(groupIdOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): Promise<void>;
|
|
393
392
|
private _selectKernelComponent;
|
|
394
393
|
_selectExternalObjectGroup(groupId: string, switchToPlanner: boolean): Promise<void>;
|
|
395
|
-
_selectExternalObjectModule(rootModuleId: string, subModuleId: string | null, selectPlanObject: boolean, switchToConfigurator: boolean, selectComponent: boolean
|
|
396
|
-
private _selectPlanObject;
|
|
397
|
-
private _getSelectedPlanObjectComponent;
|
|
394
|
+
_selectExternalObjectModule(rootModuleId: string, subModuleId: string | null, selectPlanObject: boolean, switchToConfigurator: boolean, selectComponent: boolean): Promise<void>;
|
|
398
395
|
/**
|
|
399
396
|
* @internal
|
|
400
397
|
* Use this callbacks to hook in your functionality
|
|
@@ -6,7 +6,7 @@ import type RoomlePlannerUiCallback from '../roomle-planner-ui-callback';
|
|
|
6
6
|
import type PlanElementViewModel from '../../../common-core/src/view-model/plan-element-view-model';
|
|
7
7
|
import type { Position3 } from '../../../common-core/src/common-interfaces';
|
|
8
8
|
import ConfiguratorKernelAccess from '../../../common-core/src/configurator-kernel-access';
|
|
9
|
-
import type { ExternalObjectGroup, ExternalObjectGroupPosition } from '../external-object-api-callbacks';
|
|
9
|
+
import type { ExternalObjectGroup, ExternalObjectGroupAndModules, ExternalObjectGroupPosition } from '../external-object-api-callbacks';
|
|
10
10
|
export interface PlannerKernelCallbackI {
|
|
11
11
|
handlerSwitchedPlans(fromPlan: Plan, toPlan: Plan): void;
|
|
12
12
|
planCompletelyLoaded(plan: Plan): void;
|
|
@@ -67,12 +67,12 @@ export default class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
67
67
|
externalObjectConfigurationChanged(plan: Plan, planObject: PlanObject, configuration: string): void;
|
|
68
68
|
externalObjectConfigurationLoaded(plan: Plan, planObject: PlanObject, configuration: string): void;
|
|
69
69
|
externalObjectConfigurationDeleted(plan: Plan, planObject: PlanObject, uniqueId: string): void;
|
|
70
|
-
externalObjectComponentDeleted(plan: Plan, planObject: PlanObject, remainingGroupOrGroups:
|
|
70
|
+
externalObjectComponentDeleted(plan: Plan, planObject: PlanObject, remainingGroupOrGroups: ExternalObjectGroupAndModules | ExternalObjectGroupAndModules[], deletedRootModuleId: string): void;
|
|
71
71
|
externalObjectConfigurationDuplicated(plan: Plan, planObject: PlanObject, sourceGroupId: string, newGroupPosition: ExternalObjectGroupPosition): void;
|
|
72
|
-
|
|
73
|
-
externalObjectConfigurationsMerged(plan: Plan, planObject: PlanObject, mergedGroup:
|
|
74
|
-
externalObjectComponentSplitOff(plan: Plan, planObject: PlanObject, splitGroups:
|
|
75
|
-
externalObjectArrangementChanged(plan: Plan, planObject: PlanObject, changedGroup:
|
|
72
|
+
externalObjectConfigurationMoved(plan: Plan, planObject: PlanObject, movedGroup: ExternalObjectGroup): void;
|
|
73
|
+
externalObjectConfigurationsMerged(plan: Plan, planObject: PlanObject, mergedGroup: ExternalObjectGroupAndModules, sourceGroupId: string): void;
|
|
74
|
+
externalObjectComponentSplitOff(plan: Plan, planObject: PlanObject, splitGroups: ExternalObjectGroupAndModules[]): void;
|
|
75
|
+
externalObjectArrangementChanged(plan: Plan, planObject: PlanObject, changedGroup: ExternalObjectGroupAndModules): void;
|
|
76
76
|
planObjectConfigurationLoaded(plan: Plan, element: PlanElement, success: boolean): Promise<void>;
|
|
77
77
|
requestCatalogItem(catalogItemId: string): void;
|
|
78
78
|
startedDrawing(): void;
|
|
@@ -95,12 +95,12 @@ export default class PlannerKernelAccess extends ConfiguratorKernelAccess {
|
|
|
95
95
|
protected _externalObjectConfigurationChanged(objectId: number, configuration: string): void;
|
|
96
96
|
protected _externalObjectConfigurationLoaded(objectId: number, configuration: string): void;
|
|
97
97
|
protected _externalObjectConfigurationDeleted(groupId: string): void;
|
|
98
|
-
protected _externalObjectComponentDeleted(remainingGroupOrGroups:
|
|
98
|
+
protected _externalObjectComponentDeleted(remainingGroupOrGroups: ExternalObjectGroupAndModules | ExternalObjectGroupAndModules[], deletedRootModuleId: string): void;
|
|
99
99
|
_externalObjectConfigurationDuplicated(sourceGroupId: string, newGroupPosition: ExternalObjectGroupPosition): void;
|
|
100
|
-
|
|
101
|
-
_externalObjectConfigurationsMerged(mergedGroup:
|
|
102
|
-
_externalObjectComponentSplitOff(splitGroups:
|
|
103
|
-
_externalObjectArrangementChanged(changedGroup:
|
|
100
|
+
_externalObjectConfigurationsMoved(movedGroup: ExternalObjectGroup): void;
|
|
101
|
+
_externalObjectConfigurationsMerged(mergedGroup: ExternalObjectGroupAndModules, sourceGroupId: string): void;
|
|
102
|
+
_externalObjectComponentSplitOff(splitGroups: ExternalObjectGroupAndModules[]): void;
|
|
103
|
+
_externalObjectArrangementChanged(changedGroup: ExternalObjectGroupAndModules): void;
|
|
104
104
|
planSnapshotCreated(planSnapshot: RapiPlanSnapshotPostData): void;
|
|
105
105
|
requestDeleteComponents(componentIds: number[]): void;
|
|
106
106
|
requestDeleteComponent(componentId: number): void;
|
|
@@ -3,5 +3,5 @@ import type { PlanObjectPosition } from '../../../typings/planner';
|
|
|
3
3
|
import type { Camera } from 'three';
|
|
4
4
|
import type PlanElementViewModel from '../../../common-core/src/view-model/plan-element-view-model';
|
|
5
5
|
export declare const createTransferableObjectPosition: (planViewModel: PlanObjectViewModel | PlanElementViewModel, camera: Camera, clientWidth: number, clientHeight: number) => PlanObjectPosition;
|
|
6
|
-
export type CallbackObjectType = 'static' | 'configuration' | 'wall' | 'measure' | 'door' | 'floor' | 'window' | 'unknown'
|
|
6
|
+
export type CallbackObjectType = 'static' | 'configuration' | 'wall' | 'measure' | 'door' | 'floor' | 'window' | 'unknown';
|
|
7
7
|
export declare const getCallbackObjectType: (planElementViewModel: PlanElementViewModel) => CallbackObjectType;
|
|
@@ -54,7 +54,6 @@ export default class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
54
54
|
addPlanElementViewModel(planElementViewModel: PlanElementViewModel): void;
|
|
55
55
|
private _handleConfiguratorPlanObjectViewModel;
|
|
56
56
|
private _linkPlanObjectViewModelAndComponent;
|
|
57
|
-
private _detachPlanObjectViewModelFromComponent;
|
|
58
57
|
private _handleConfiguratorConstructionPlanObjectViewModel;
|
|
59
58
|
private _handleConstructionPlanObjectViewModel;
|
|
60
59
|
private _handleStaticPlanObjectViewModel;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Base64Image, CanvasOffset } from '../../../common-core/src/common-interfaces';
|
|
2
2
|
import type { PlannerKernelCallbackI } from '../services/planner-kernel-access';
|
|
3
3
|
import type { CancelSelectionReasons, Plan, PlanElement } from '../../../typings/planner';
|
|
4
|
-
import type { KernelPlanObjectComponent } from '../../../typings/kernel';
|
|
5
4
|
import { type KernelEnum, type KernelPlanObject, type KernelVector3, type RuntimeId } from '../../../typings/kernel';
|
|
6
5
|
import PlannerSceneEventHandler from './planner-scene-event-handler';
|
|
7
6
|
import type { BatchPaintMaterial, RoomlePlannerCallback, SceneEvents } from '../roomle-planner';
|
|
@@ -206,9 +205,5 @@ export default class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
206
205
|
protected setEventHandlerObject(object: Object3D): void;
|
|
207
206
|
protected _readyForRender(): void;
|
|
208
207
|
protected notifyPlannerOnComponentSelectionCancel(isExternalObject: boolean, reason: CancelSelectionReasons): void;
|
|
209
|
-
private _planObjectSelectionChanged;
|
|
210
|
-
highlightExternalObject(planObjectComponent: KernelPlanObjectComponent): void;
|
|
211
|
-
private _selectExternalObjectModule;
|
|
212
|
-
getObjectComponent(id: number): KernelPlanObjectComponent;
|
|
213
208
|
}
|
|
214
209
|
export {};
|