@roomle/web-sdk 2.85.0-bo-mvp.6 → 2.86.0-alpha.1
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 +0 -5
- package/lib/{TextGeometry-6c37ac59.nomodule.js → TextGeometry-028ef3cf.nomodule.js} +2 -2
- package/lib/{TextGeometry-6c37ac59.nomodule.js.map → TextGeometry-028ef3cf.nomodule.js.map} +1 -1
- package/lib/{TextGeometry-64e47e97.js → TextGeometry-def07ca8.js} +2 -2
- package/lib/{TextGeometry-64e47e97.js.map → TextGeometry-def07ca8.js.map} +1 -1
- package/lib/{banana-for-scale-af8b54dc.nomodule.js → banana-for-scale-70fd617d.nomodule.js} +2 -2
- package/lib/{banana-for-scale-af8b54dc.nomodule.js.map → banana-for-scale-70fd617d.nomodule.js.map} +1 -1
- package/lib/{banana-for-scale-b3f2598c.js → banana-for-scale-c196b4a3.js} +2 -2
- package/lib/{banana-for-scale-b3f2598c.js.map → banana-for-scale-c196b4a3.js.map} +1 -1
- package/lib/{budgeteer-measure-a84ddf03.js → budgeteer-measure-e4c7fe1a.js} +2 -2
- package/lib/{budgeteer-measure-a84ddf03.js.map → budgeteer-measure-e4c7fe1a.js.map} +1 -1
- package/lib/budgeteer-measure.nomodule.js +1 -1
- package/lib/camera-behaviour-3b41bfc0.nomodule.js +2 -0
- package/lib/{camera-behaviour-2daf92d1.nomodule.js.map → camera-behaviour-3b41bfc0.nomodule.js.map} +1 -1
- package/lib/camera-behaviour-d5e8deb1.js +2 -0
- package/lib/{camera-behaviour-b98a3df3.js.map → camera-behaviour-d5e8deb1.js.map} +1 -1
- package/lib/{component-dimensioning-14f18372.nomodule.js → component-dimensioning-517f2375.nomodule.js} +2 -2
- package/lib/component-dimensioning-517f2375.nomodule.js.map +1 -0
- package/lib/{component-dimensioning-1f825042.js → component-dimensioning-ae84523e.js} +2 -2
- package/lib/component-dimensioning-ae84523e.js.map +1 -0
- package/lib/{component-raycast-helper-34e08a40.nomodule.js → component-raycast-helper-3f721151.nomodule.js} +2 -2
- package/lib/component-raycast-helper-3f721151.nomodule.js.map +1 -0
- package/lib/{component-raycast-helper-a7505fd7.js → component-raycast-helper-6039d8aa.js} +2 -2
- package/lib/component-raycast-helper-6039d8aa.js.map +1 -0
- package/lib/configurator-47a99c13.js +2 -0
- package/lib/configurator-47a99c13.js.map +1 -0
- package/lib/configurator-59c6091b.nomodule.js +2 -0
- package/lib/configurator-59c6091b.nomodule.js.map +1 -0
- package/lib/configurator-main-a14f888e.js +2 -0
- package/lib/configurator-main-a14f888e.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{continuous-drawing-helper-9f39baae.nomodule.js → continuous-drawing-helper-026900f1.nomodule.js} +2 -2
- package/lib/continuous-drawing-helper-026900f1.nomodule.js.map +1 -0
- package/lib/{continuous-drawing-helper-3ddb3695.js → continuous-drawing-helper-4da163f4.js} +2 -2
- package/lib/continuous-drawing-helper-4da163f4.js.map +1 -0
- package/lib/{jszip.min-b1e4e384.nomodule.js → default-light-setting-43934c58.nomodule.js} +2 -2
- package/lib/default-light-setting-43934c58.nomodule.js.map +1 -0
- package/lib/{jszip.min-58a46137.js → default-light-setting-bcaab68f.js} +2 -2
- package/lib/default-light-setting-bcaab68f.js.map +1 -0
- package/lib/definitions/common-core/src/configurator-kernel-access.d.ts +2 -5
- package/lib/definitions/common-core/src/utils/init-data.d.ts +2 -0
- package/lib/definitions/common-core/src/utils/shims.d.ts +14 -10
- package/lib/definitions/configurator-core/src/roomle-configurator.d.ts +0 -10
- package/lib/definitions/configurator-core/src/static-files/geometries.d.ts +0 -1
- package/lib/definitions/configurator-core/src/utils/raycast-helper.d.ts +2 -1
- package/lib/definitions/configurator-core/src/webgl/configurator-scene-manager.d.ts +0 -4
- package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +0 -62
- package/lib/definitions/planner-core/src/roomle-planner.d.ts +2 -16
- package/lib/definitions/planner-core/src/services/planner-kernel-access.d.ts +4 -18
- package/lib/definitions/planner-core/src/utils/map-to-ui-plan-objects.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 -2
- package/lib/definitions/typings/kernel.d.ts +4 -20
- package/lib/definitions/typings/planner.d.ts +1 -1
- package/lib/{dimensioning-helper-9e131f41.nomodule.js → dimensioning-helper-0b76dc02.nomodule.js} +2 -2
- package/lib/{dimensioning-helper-9e131f41.nomodule.js.map → dimensioning-helper-0b76dc02.nomodule.js.map} +1 -1
- package/lib/{dimensioning-helper-5158f2b2.js → dimensioning-helper-4b07a4a6.js} +2 -2
- package/lib/{dimensioning-helper-5158f2b2.js.map → dimensioning-helper-4b07a4a6.js.map} +1 -1
- package/lib/glb-viewer-1253cfc4.nomodule.js +2 -0
- package/lib/glb-viewer-1253cfc4.nomodule.js.map +1 -0
- package/lib/{glb-viewer-camera-behaviour-34d13c8c.nomodule.js → glb-viewer-camera-behaviour-1c1a57b7.nomodule.js} +2 -2
- package/lib/glb-viewer-camera-behaviour-1c1a57b7.nomodule.js.map +1 -0
- package/lib/glb-viewer-camera-behaviour-f72e60e9.js +2 -0
- package/lib/glb-viewer-camera-behaviour-f72e60e9.js.map +1 -0
- package/lib/glb-viewer-e5c43179.js +2 -0
- package/lib/glb-viewer-e5c43179.js.map +1 -0
- package/lib/glb-viewer-main-b411001e.js +2 -0
- package/lib/glb-viewer-main-b411001e.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/{TextGeometry-50d12ddd.legacy.js → TextGeometry-c00b7ecb.legacy.js} +2 -2
- package/lib/legacy/{TextGeometry-50d12ddd.legacy.js.map → TextGeometry-c00b7ecb.legacy.js.map} +1 -1
- package/lib/legacy/{banana-for-scale-071762d5.legacy.js → banana-for-scale-97373a4d.legacy.js} +2 -2
- package/lib/legacy/{banana-for-scale-071762d5.legacy.js.map → banana-for-scale-97373a4d.legacy.js.map} +1 -1
- package/lib/legacy/budgeteer-measure.legacy.js +1 -1
- package/lib/legacy/camera-behaviour-0a53fb18.legacy.js +2 -0
- package/lib/legacy/{camera-behaviour-47efff06.legacy.js.map → camera-behaviour-0a53fb18.legacy.js.map} +1 -1
- package/lib/legacy/{component-dimensioning-661c0ea5.legacy.js → component-dimensioning-ad20afec.legacy.js} +2 -2
- package/lib/legacy/component-dimensioning-ad20afec.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-66636733.legacy.js → component-raycast-helper-910e15ee.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-910e15ee.legacy.js.map +1 -0
- package/lib/legacy/configurator-2432e887.legacy.js +2 -0
- package/lib/legacy/configurator-2432e887.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{continuous-drawing-helper-9ed276b1.legacy.js → continuous-drawing-helper-651b3af6.legacy.js} +2 -2
- package/lib/legacy/continuous-drawing-helper-651b3af6.legacy.js.map +1 -0
- package/lib/legacy/{jszip.min-9db57d5d.legacy.js → default-light-setting-4194c67a.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-4194c67a.legacy.js.map +1 -0
- package/lib/legacy/{dimensioning-helper-2adf7526.legacy.js → dimensioning-helper-44362a63.legacy.js} +2 -2
- package/lib/legacy/{dimensioning-helper-2adf7526.legacy.js.map → dimensioning-helper-44362a63.legacy.js.map} +1 -1
- package/lib/legacy/glb-viewer-56bbd43d.legacy.js +2 -0
- package/lib/legacy/glb-viewer-56bbd43d.legacy.js.map +1 -0
- package/lib/legacy/{glb-viewer-camera-behaviour-8c0e7077.legacy.js → glb-viewer-camera-behaviour-b189385e.legacy.js} +2 -2
- package/lib/legacy/glb-viewer-camera-behaviour-b189385e.legacy.js.map +1 -0
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/{main-thread-to-worker-f02de9c2.legacy.js → main-thread-to-worker-a28094cc.legacy.js} +3 -3
- package/lib/legacy/{main-thread-to-worker-f02de9c2.legacy.js.map → main-thread-to-worker-a28094cc.legacy.js.map} +1 -1
- package/lib/legacy/{material-viewer-79947c90.legacy.js → material-viewer-a59b141f.legacy.js} +2 -2
- package/lib/legacy/material-viewer-a59b141f.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/planner-667adf70.legacy.js +2 -0
- package/lib/legacy/{planner-cf9de50e.legacy.js.map → planner-667adf70.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/{query-params-helper-0f7e3d70.legacy.js → query-params-helper-81aac523.legacy.js} +2 -2
- package/lib/legacy/query-params-helper-81aac523.legacy.js.map +1 -0
- package/lib/legacy/roomle-configurator-0ec140c9.legacy.js +2 -0
- package/lib/legacy/roomle-configurator-0ec140c9.legacy.js.map +1 -0
- package/lib/legacy/{roomle-dependency-injection-89c16cd8.legacy.js → roomle-dependency-injection-95cbc1dd.legacy.js} +3 -3
- package/lib/legacy/{roomle-dependency-injection-89c16cd8.legacy.js.map → roomle-dependency-injection-95cbc1dd.legacy.js.map} +1 -1
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-15cb60ee.legacy.js → script-loader-1afd47b6.legacy.js} +2 -2
- package/lib/legacy/script-loader-1afd47b6.legacy.js.map +1 -0
- package/lib/{static/ConfiguratorKernel-4bb3d415749178f3.wasm → legacy/static/ConfiguratorKernel-d6135210f1e8455f.wasm} +0 -0
- package/lib/legacy/static/{RoomleCore-be0bb9e59a62183a.wasm → RoomleCore-773e579b50697de3.wasm} +0 -0
- package/lib/{static/RoomleToolsCore-0356b879d1c2eba1.wasm → legacy/static/RoomleToolsCore-df80b7e27022419c.wasm} +0 -0
- package/lib/legacy/{stats-helper-4dc3e807.legacy.js → stats-helper-1368b623.legacy.js} +2 -2
- package/lib/legacy/stats-helper-1368b623.legacy.js.map +1 -0
- package/lib/legacy/{tools-core-e364f30c.legacy.js → tools-core-4e275f10.legacy.js} +2 -2
- package/lib/legacy/tools-core-4e275f10.legacy.js.map +1 -0
- package/lib/{main-thread-to-worker-a33146dd.nomodule.js → main-thread-to-worker-1a58abb6.nomodule.js} +2 -2
- package/lib/{main-thread-to-worker-a33146dd.nomodule.js.map → main-thread-to-worker-1a58abb6.nomodule.js.map} +1 -1
- package/lib/{main-thread-to-worker-af604b88.js → main-thread-to-worker-554053aa.js} +2 -2
- package/lib/{main-thread-to-worker-af604b88.js.map → main-thread-to-worker-554053aa.js.map} +1 -1
- package/lib/{material-viewer-a41007aa.nomodule.js → material-viewer-c19c8a58.nomodule.js} +2 -2
- package/lib/material-viewer-c19c8a58.nomodule.js.map +1 -0
- package/lib/{material-viewer-2b9fa41b.js → material-viewer-db79268b.js} +2 -2
- package/lib/material-viewer-db79268b.js.map +1 -0
- package/lib/material-viewer-main-ae2730f4.js +2 -0
- package/lib/material-viewer-main-ae2730f4.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/planner-669f9f77.js +2 -0
- package/lib/{planner-9bfceb74.js.map → planner-669f9f77.js.map} +1 -1
- package/lib/planner-712a2357.nomodule.js +2 -0
- package/lib/{planner-d1c1e659.nomodule.js.map → planner-712a2357.nomodule.js.map} +1 -1
- package/lib/planner-main-e0458a25.js +2 -0
- package/lib/planner-main-e0458a25.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/{query-params-helper-ff314078.nomodule.js → query-params-helper-a2901800.nomodule.js} +2 -2
- package/lib/query-params-helper-a2901800.nomodule.js.map +1 -0
- package/lib/{query-params-helper-15c8e313.js → query-params-helper-a5a14aba.js} +2 -2
- package/lib/query-params-helper-a5a14aba.js.map +1 -0
- package/lib/roomle-configurator-28705055.js +2 -0
- package/lib/roomle-configurator-28705055.js.map +1 -0
- package/lib/roomle-configurator-8902fef3.nomodule.js +2 -0
- package/lib/roomle-configurator-8902fef3.nomodule.js.map +1 -0
- package/lib/{roomle-dependency-injection-a91fd623.nomodule.js → roomle-dependency-injection-308dcd5f.nomodule.js} +3 -3
- package/lib/{roomle-dependency-injection-a91fd623.nomodule.js.map → roomle-dependency-injection-308dcd5f.nomodule.js.map} +1 -1
- package/lib/{roomle-dependency-injection-a223d34e.js → roomle-dependency-injection-de9b1dca.js} +3 -3
- package/lib/{roomle-dependency-injection-a223d34e.js.map → roomle-dependency-injection-de9b1dca.js.map} +1 -1
- package/lib/{roomle-sdk-a8d4aaa2.js → roomle-sdk-8dcdcb86.js} +2 -2
- package/lib/roomle-sdk-8dcdcb86.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-aaabae44.js → script-loader-289724f5.js} +2 -2
- package/lib/script-loader-289724f5.js.map +1 -0
- package/lib/{script-loader-42630c85.nomodule.js → script-loader-d1b72d65.nomodule.js} +2 -2
- package/lib/script-loader-d1b72d65.nomodule.js.map +1 -0
- package/lib/{legacy/static/ConfiguratorKernel-4bb3d415749178f3.wasm → static/ConfiguratorKernel-d6135210f1e8455f.wasm} +0 -0
- package/lib/static/{RoomleCore-be0bb9e59a62183a.wasm → RoomleCore-773e579b50697de3.wasm} +0 -0
- package/lib/{legacy/static/RoomleToolsCore-0356b879d1c2eba1.wasm → static/RoomleToolsCore-df80b7e27022419c.wasm} +0 -0
- package/lib/{stats-helper-adaf257e.nomodule.js → stats-helper-120bc238.nomodule.js} +2 -2
- package/lib/stats-helper-120bc238.nomodule.js.map +1 -0
- package/lib/{stats-helper-e2c6f051.js → stats-helper-e341de87.js} +2 -2
- package/lib/stats-helper-e341de87.js.map +1 -0
- package/lib/{tools-core-cf8e7133.js → tools-core-c66ce79a.js} +2 -2
- package/lib/tools-core-c66ce79a.js.map +1 -0
- package/lib/{tools-core-22535292.nomodule.js → tools-core-f8e692fb.nomodule.js} +2 -2
- package/lib/tools-core-f8e692fb.nomodule.js.map +1 -0
- package/package.json +2 -2
- package/lib/camera-behaviour-2daf92d1.nomodule.js +0 -2
- package/lib/camera-behaviour-b98a3df3.js +0 -2
- package/lib/component-dimensioning-14f18372.nomodule.js.map +0 -1
- package/lib/component-dimensioning-1f825042.js.map +0 -1
- package/lib/component-raycast-helper-34e08a40.nomodule.js.map +0 -1
- package/lib/component-raycast-helper-a7505fd7.js.map +0 -1
- package/lib/configurator-1033d632.js +0 -2
- package/lib/configurator-1033d632.js.map +0 -1
- package/lib/configurator-71481ba4.nomodule.js +0 -2
- package/lib/configurator-71481ba4.nomodule.js.map +0 -1
- package/lib/configurator-main-0d6359e6.js +0 -2
- package/lib/configurator-main-0d6359e6.js.map +0 -1
- package/lib/continuous-drawing-helper-3ddb3695.js.map +0 -1
- package/lib/continuous-drawing-helper-9f39baae.nomodule.js.map +0 -1
- package/lib/definitions/configurator-core/src/export/production-manager-export.d.ts +0 -35
- package/lib/definitions/configurator-core/src/utils/export-helper.d.ts +0 -38
- package/lib/definitions/planner-core/src/external-object-api-callbacks.d.ts +0 -119
- package/lib/definitions/planner-core/src/external-object-api.d.ts +0 -83
- package/lib/definitions/planner-core/src/roomle-planner-external-object.d.ts +0 -44
- package/lib/glb-viewer-1a4bbdab.js +0 -2
- package/lib/glb-viewer-1a4bbdab.js.map +0 -1
- package/lib/glb-viewer-5eb83b89.nomodule.js +0 -2
- package/lib/glb-viewer-5eb83b89.nomodule.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-34d13c8c.nomodule.js.map +0 -1
- package/lib/glb-viewer-camera-behaviour-5d2c01e4.js +0 -2
- package/lib/glb-viewer-camera-behaviour-5d2c01e4.js.map +0 -1
- package/lib/glb-viewer-main-85cff8b8.js +0 -2
- package/lib/glb-viewer-main-85cff8b8.js.map +0 -1
- package/lib/jszip.min-58a46137.js.map +0 -1
- package/lib/jszip.min-b1e4e384.nomodule.js.map +0 -1
- package/lib/legacy/camera-behaviour-47efff06.legacy.js +0 -2
- package/lib/legacy/component-dimensioning-661c0ea5.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-66636733.legacy.js.map +0 -1
- package/lib/legacy/configurator-45a8e025.legacy.js +0 -2
- package/lib/legacy/configurator-45a8e025.legacy.js.map +0 -1
- package/lib/legacy/continuous-drawing-helper-9ed276b1.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-camera-behaviour-8c0e7077.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-e5c838d2.legacy.js +0 -2
- package/lib/legacy/glb-viewer-e5c838d2.legacy.js.map +0 -1
- package/lib/legacy/jszip.min-9db57d5d.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-79947c90.legacy.js.map +0 -1
- package/lib/legacy/planner-cf9de50e.legacy.js +0 -2
- package/lib/legacy/query-params-helper-0f7e3d70.legacy.js.map +0 -1
- package/lib/legacy/roomle-configurator-01caaad0.legacy.js +0 -2
- package/lib/legacy/roomle-configurator-01caaad0.legacy.js.map +0 -1
- package/lib/legacy/script-loader-15cb60ee.legacy.js.map +0 -1
- package/lib/legacy/static/monkey-0ab775bb33780513.obj +0 -7966
- package/lib/legacy/stats-helper-4dc3e807.legacy.js.map +0 -1
- package/lib/legacy/tools-core-e364f30c.legacy.js.map +0 -1
- package/lib/material-viewer-2b9fa41b.js.map +0 -1
- package/lib/material-viewer-a41007aa.nomodule.js.map +0 -1
- package/lib/material-viewer-main-43cfdaf6.js +0 -2
- package/lib/material-viewer-main-43cfdaf6.js.map +0 -1
- package/lib/planner-9bfceb74.js +0 -2
- package/lib/planner-d1c1e659.nomodule.js +0 -2
- package/lib/planner-main-21432975.js +0 -2
- package/lib/planner-main-21432975.js.map +0 -1
- package/lib/query-params-helper-15c8e313.js.map +0 -1
- package/lib/query-params-helper-ff314078.nomodule.js.map +0 -1
- package/lib/roomle-configurator-3130987b.nomodule.js +0 -2
- package/lib/roomle-configurator-3130987b.nomodule.js.map +0 -1
- package/lib/roomle-configurator-44cdb650.js +0 -2
- package/lib/roomle-configurator-44cdb650.js.map +0 -1
- package/lib/roomle-sdk-a8d4aaa2.js.map +0 -1
- package/lib/script-loader-42630c85.nomodule.js.map +0 -1
- package/lib/script-loader-aaabae44.js.map +0 -1
- package/lib/static/monkey-0ab775bb33780513.obj +0 -7966
- package/lib/stats-helper-adaf257e.nomodule.js.map +0 -1
- package/lib/stats-helper-e2c6f051.js.map +0 -1
- package/lib/tools-core-22535292.nomodule.js.map +0 -1
- package/lib/tools-core-cf8e7133.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{S as ScriptLoader,M as Main}from"./script-loader-aaabae44.js";import{D as DependencyInjectionAssignment,L as Logger,R as RapiAccess,a as DataSyncer,b as RoomleDependencyInjection,A as AppContext}from"./roomle-dependency-injection-a223d34e.js";import{C as CameraControl3D,a as CameraControl}from"./camera-behaviour-b98a3df3.js";import ComponentRaycastHelper from"./component-raycast-helper-a7505fd7.js";import{C as ConfiguratorSceneManager,a as ConfiguratorViewModel,R as RoomleConfigurator}from"./roomle-configurator-44cdb650.js";import"./query-params-helper-15c8e313.js";import"./main-thread-to-worker-af604b88.js";import"./jszip.min-58a46137.js";const INJECTABLES=[new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("rapi-access",RapiAccess),new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("camera-control-3d",CameraControl3D),new DependencyInjectionAssignment("camera-control",CameraControl),new DependencyInjectionAssignment("data-syncer",DataSyncer),new DependencyInjectionAssignment("configurator-scene-manager",ConfiguratorSceneManager,1),new DependencyInjectionAssignment("configurator-view-model",ConfiguratorViewModel,1),new DependencyInjectionAssignment("component-raycast-helper",ComponentRaycastHelper,0)];class Configurator extends Main{setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),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"),n=this.lookup("rapi-access");this.lookup("dom-helper");const o=this.lookup("configurator-scene-manager");e&&e.cleanUp(),n&&n.cleanUp(),o&&o.cleanUp()}setupGlobals(e){const{kernelInstance:n,kernelContainer:o,planObjectId:t}=e||{};AppContext.init({kernelInstance:n,kernelContainer:o,planObjectId:t})}getApi(){return this._configurator}bootFinished(){this._configurator=new RoomleConfigurator(this._context),this._configurator.getMain=()=>this,window.RoomleConfigurator||(window.RoomleConfigurator=this._configurator)}getContextName(){return"configurator"}}export{Configurator};
|
|
2
|
-
//# sourceMappingURL=configurator-1033d632.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurator-1033d632.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./script-loader-42630c85.nomodule.js","./roomle-dependency-injection-a91fd623.nomodule.js","./camera-behaviour-2daf92d1.nomodule.js","./component-raycast-helper-34e08a40.nomodule.js","./roomle-configurator-3130987b.nomodule.js","./query-params-helper-ff314078.nomodule.js","./main-thread-to-worker-a33146dd.nomodule.js","./jszip.min-b1e4e384.nomodule.js"],(function(e){var o,n,t,r,a,i,c,s,l,u,p,d,f,m;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,m=e.R},function(){},function(){},function(){}],execute:function(){const h=[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(h),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 m(this._context),this._configurator.getMain=()=>this,window.RoomleConfigurator||(window.RoomleConfigurator=this._configurator)}getContextName(){return"configurator"}})}}}));
|
|
2
|
-
//# sourceMappingURL=configurator-71481ba4.nomodule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurator-71481ba4.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Configurator}from"./configurator-1033d632.js";import"./script-loader-aaabae44.js";import"./query-params-helper-15c8e313.js";import"./main-thread-to-worker-af604b88.js";import"./roomle-dependency-injection-a223d34e.js";import"./camera-behaviour-b98a3df3.js";import"./component-raycast-helper-a7505fd7.js";import"./roomle-configurator-44cdb650.js";import"./jszip.min-58a46137.js";(new Configurator).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let a=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-a))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});
|
|
2
|
-
//# sourceMappingURL=configurator-main-0d6359e6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurator-main-0d6359e6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"continuous-drawing-helper-3ddb3695.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"continuous-drawing-helper-9f39baae.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
interface PmEntityDefinition {
|
|
2
|
-
attributes: Record<string, any>;
|
|
3
|
-
modules: PmEntityDefinition[];
|
|
4
|
-
}
|
|
5
|
-
interface PmDefinition {
|
|
6
|
-
entities: PmEntityDefinition[];
|
|
7
|
-
materialIds: Set<string>;
|
|
8
|
-
materials?: Record<string, any>;
|
|
9
|
-
textures?: Record<string, any>;
|
|
10
|
-
}
|
|
11
|
-
export declare class ProductionManagerExport {
|
|
12
|
-
private getMaterials?;
|
|
13
|
-
private exportImages?;
|
|
14
|
-
private date?;
|
|
15
|
-
imageFolderName: string;
|
|
16
|
-
private materialAttributes;
|
|
17
|
-
constructor(parameter?: any, getMaterials?: (materialIds: string[]) => Promise<any[]>);
|
|
18
|
-
convertTcExportData(tcExportData: any): Promise<PmDefinition>;
|
|
19
|
-
addMaterialsToDefinition(pmDefinition: PmDefinition): Promise<void>;
|
|
20
|
-
addTexturesToDefinition(pmDefinition: PmDefinition): void;
|
|
21
|
-
convertMaterialIdToImageName(materialId: string, url: string): string;
|
|
22
|
-
private getDiffuseMap;
|
|
23
|
-
private convertTcArticle;
|
|
24
|
-
createExportXml(pmDefinition: PmDefinition, customerData?: string): string;
|
|
25
|
-
private getDummyCustomerData;
|
|
26
|
-
private getDummyEntityData;
|
|
27
|
-
private createXMLDocument;
|
|
28
|
-
private createExportXMLDocument;
|
|
29
|
-
private createEntities;
|
|
30
|
-
private createEntity;
|
|
31
|
-
private createParameter;
|
|
32
|
-
private createImages;
|
|
33
|
-
private createImage;
|
|
34
|
-
}
|
|
35
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export interface HomagIxOrderParams {
|
|
2
|
-
orderNumber?: string;
|
|
3
|
-
dispatchDate?: string;
|
|
4
|
-
basketNumber?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface HomagIxHeaderParams {
|
|
7
|
-
comm?: string;
|
|
8
|
-
articleno?: string;
|
|
9
|
-
customer?: string;
|
|
10
|
-
retailer?: string;
|
|
11
|
-
client?: string;
|
|
12
|
-
program?: string;
|
|
13
|
-
employee?: string;
|
|
14
|
-
textLong?: string;
|
|
15
|
-
textShort?: string;
|
|
16
|
-
colour?: string[];
|
|
17
|
-
info?: string[];
|
|
18
|
-
address?: string[];
|
|
19
|
-
billingAddress?: string[];
|
|
20
|
-
shippingAddress?: string[];
|
|
21
|
-
orderPriceInfo?: string[];
|
|
22
|
-
customInfo?: string[];
|
|
23
|
-
}
|
|
24
|
-
export interface HomagIxArticleParams {
|
|
25
|
-
articleTextInfo1?: string;
|
|
26
|
-
articleTextInfo2?: string;
|
|
27
|
-
articlePriceInfo1?: string;
|
|
28
|
-
articlePriceInfo2?: string;
|
|
29
|
-
articlePriceInfo3?: string;
|
|
30
|
-
deliveryPeriod?: string;
|
|
31
|
-
supplier?: string;
|
|
32
|
-
discount?: number;
|
|
33
|
-
discountAbs?: number;
|
|
34
|
-
}
|
|
35
|
-
export declare const createHomagIxXml: (orderData: HomagIxOrderParams, headerData: HomagIxHeaderParams, articleShopData: HomagIxArticleParams, articleCoreData: any) => string;
|
|
36
|
-
export declare const getFakeOrderParams: () => HomagIxOrderParams;
|
|
37
|
-
export declare const getFakeHeaderParams: () => HomagIxHeaderParams;
|
|
38
|
-
export declare const getFakeArticleParams: () => HomagIxArticleParams;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
export interface ExternalObjectRootModule {
|
|
2
|
-
id: string;
|
|
3
|
-
pos: number[];
|
|
4
|
-
rotation?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface ExternalObjectGroupPosition {
|
|
7
|
-
pos: number[];
|
|
8
|
-
rotation?: number;
|
|
9
|
-
}
|
|
10
|
-
export interface ExternalObjectGroup extends ExternalObjectGroupPosition {
|
|
11
|
-
id: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ExternalObjectRootModuleCollection extends ExternalObjectGroupPosition {
|
|
14
|
-
rootModules: ExternalObjectRootModule[];
|
|
15
|
-
}
|
|
16
|
-
export interface ExternalObjectGroupAndModules extends ExternalObjectGroup {
|
|
17
|
-
rootModules: ExternalObjectRootModule[];
|
|
18
|
-
}
|
|
19
|
-
export declare class ExternalObjectUiCallback {
|
|
20
|
-
/** "onMergeExternalObjectGroup" is invoked when a group of root modules is merged into another group of root modules.
|
|
21
|
-
* The group with the ID "sourceGroupId" is merged into the group with the ID "targetGroup.id".
|
|
22
|
-
* The root modules of the source group are added to the target group and the soured group does no longer exist.
|
|
23
|
-
* "targetGroup" contains information about all root modules of the target group (both present and new)
|
|
24
|
-
* and their relative position and orientation.
|
|
25
|
-
* @param targetGroup The target group of root modules.
|
|
26
|
-
* @param sourceGroupId The ID of the source group of root modules.
|
|
27
|
-
*/
|
|
28
|
-
onMergeExternalObjectGroup: (targetGroup: ExternalObjectGroupAndModules, sourceGroupId: string) => void;
|
|
29
|
-
/**
|
|
30
|
-
* "onSplitExternalObjectGroup" is invoked when one or more root modules are split from a group of root modules.
|
|
31
|
-
* The split root modules form a new group, which must be assigned a new ID.
|
|
32
|
-
* "originalGroup" contains the information about the original group and the remaining root modules.
|
|
33
|
-
* "newGroupedRootModules" contains the location and orientation of the new group and the root modules that have been split off.
|
|
34
|
-
* @param originalGroup The original group of root modules.
|
|
35
|
-
* @param newGroupedRootModules The new group of root modules.
|
|
36
|
-
*/
|
|
37
|
-
onSplitExternalObjectGroup: (originalGroup: ExternalObjectGroupAndModules, newGroupedRootModules: ExternalObjectRootModuleCollection) => void;
|
|
38
|
-
/**
|
|
39
|
-
* "onDeleteExternalObjectGroup" is invoked when a group of root modules and all the root modules it contains are deleted.
|
|
40
|
-
* The group with the ID "groupIdToDelete" is removed from the plan and is completely deleted.
|
|
41
|
-
* @param groupIdToDelete The ID of the group of root modules.
|
|
42
|
-
*/
|
|
43
|
-
onDeleteExternalObjectGroup: (groupIdToDelete: string) => void;
|
|
44
|
-
/**
|
|
45
|
-
* "onDeleteExternalObjectRootModule" is invoked when a root module is deleted from a group of root modules.
|
|
46
|
-
* The root module with the ID "rootModuleIdToDelete" is removed from the group with the ID "group.id" and is completely deleted.
|
|
47
|
-
* "group" contains the information about the group and the remaining root modules.
|
|
48
|
-
* This callback must not be called when the solely remaining root module of a group is deleted.
|
|
49
|
-
* In this case, "onDeleteExternalObjectGroup" must be called.
|
|
50
|
-
* @param group The group of root modules.
|
|
51
|
-
* @param rootModuleIdToDelete The ID of the root module.
|
|
52
|
-
*/
|
|
53
|
-
onDeleteExternalObjectRootModule: (group: ExternalObjectGroupAndModules, rootModuleIdToDelete: string) => void;
|
|
54
|
-
/**
|
|
55
|
-
* "onDeleteExternalObjectSubModule" is invoked when a sub module is deleted from a root module.
|
|
56
|
-
* The sub module with the ID "subModuleIdToDelete" is removed from the root module with the ID "rootModuleId"
|
|
57
|
-
* and is completely deleted.
|
|
58
|
-
* @param rootModuleId The ID of the root module.
|
|
59
|
-
* @param subModuleIdToDelete The ID of the sub module.
|
|
60
|
-
*/
|
|
61
|
-
onDeleteExternalObjectSubModule: (rootModuleId: string, subModuleIdToDelete: string) => void;
|
|
62
|
-
/**
|
|
63
|
-
* "onDuplicateExternalObjectGroup" is invoked when a group of root modules is duplicated.
|
|
64
|
-
* This event request generating a completely new group with the an new root modules
|
|
65
|
-
* with exactly the same structure as the group wih the ID "sourceGroupId".
|
|
66
|
-
* The new group is placed at the position and orientation defined in "newGroupPosition".
|
|
67
|
-
* @param sourceGroupId The ID of the source group of root modules.
|
|
68
|
-
* @param newGroupPosition The position and orientation of the new group.
|
|
69
|
-
*/
|
|
70
|
-
onDuplicateExternalObjectGroup: (sourceGroupId: string, newGroupPosition: ExternalObjectGroupPosition) => void;
|
|
71
|
-
/**
|
|
72
|
-
* "onMoveExternalObjectGroup" is invoked when a group of root modules is moved to a new position.
|
|
73
|
-
* The group with the ID "group.id" is moved to the new position and orientation defined in "group".
|
|
74
|
-
* @param group The group of root modules.
|
|
75
|
-
*/
|
|
76
|
-
onMoveExternalObjectGroup: (group: ExternalObjectGroup) => void;
|
|
77
|
-
/**
|
|
78
|
-
* "onExternalObjectEnvironmentChanged" is invoked when the plan (walls, doors, windows, etc.) has changed.
|
|
79
|
-
* "affectedGroupIds" contains the IDs of all groups of root modules that are affected by the change.
|
|
80
|
-
* @param affectedGroupIds The IDs of the groups of root modules that are affected by the change.
|
|
81
|
-
*/
|
|
82
|
-
onExternalObjectEnvironmentChanged: (affectedGroupIds: string[]) => void;
|
|
83
|
-
/**
|
|
84
|
-
* "onExternalObjectGroupChanged" is invoked when the modules of a group itself have changed.
|
|
85
|
-
* This can be the case in relation with undo/redo operations.
|
|
86
|
-
* "stringifiedGroupData" contains the complete information about the group and the root modules.
|
|
87
|
-
* @param stringifiedGroupData The group data as string.
|
|
88
|
-
*/
|
|
89
|
-
onExternalObjectGroupChanged: (stringifiedGroupData: string) => void;
|
|
90
|
-
/**
|
|
91
|
-
* "oneExternalObjectAttributeChanged" is invoked when an attribute of a root module or sub module has changed.
|
|
92
|
-
* The attribute with the ID "attributeId" of the sub module with the ID "subModuleId"
|
|
93
|
-
* of the root module with the ID "rootModuleId" has the new value "value".
|
|
94
|
-
* If "subModuleId" is "null", an attribute of the root module has changed.
|
|
95
|
-
* @param rootModuleId The ID of the root module.
|
|
96
|
-
* @param subModuleId The ID of the sub module or "null".
|
|
97
|
-
* @param attributeId The ID of the attribute.
|
|
98
|
-
* @param value The new value of the attribute.
|
|
99
|
-
*/
|
|
100
|
-
onExternalObjectAttributeChanged: (rootModuleId: string, subModuleId: string | null, attributeId: string, value: string) => void;
|
|
101
|
-
/**
|
|
102
|
-
* "onExternalObjectGroupSelected" is invoked when the selection has been changed
|
|
103
|
-
* by and user interaction and a group of root modules is selected.
|
|
104
|
-
* @param groupId The ID of the group of root modules.
|
|
105
|
-
*/
|
|
106
|
-
onExternalObjectGroupSelected: (groupId: string) => void;
|
|
107
|
-
/**
|
|
108
|
-
* "onExternalObjectRootModuleSelected" is invoked when the selection has been changed
|
|
109
|
-
* by and user interaction and a root module is selected.
|
|
110
|
-
* @param rootModuleId The ID of the root module.
|
|
111
|
-
*/
|
|
112
|
-
onExternalObjectRootModuleSelected: (rootModuleId: string) => void;
|
|
113
|
-
/**
|
|
114
|
-
* "onExternalObjectSubModuleSelected" is invoked when the selection has been changed
|
|
115
|
-
* by and user interaction and a sub module of a root module is selected.
|
|
116
|
-
* @param rootModuleId The ID of the root module.
|
|
117
|
-
*/
|
|
118
|
-
onExternalObjectSubModuleSelected: (rootModuleId: string, subModuleId: string) => void;
|
|
119
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export interface ExternalObjectUiConfiguration {
|
|
2
|
-
attributeGroupsVisibleInPlanner?: string | string[];
|
|
3
|
-
showPossibleSubModules?: boolean;
|
|
4
|
-
animatedOpenClose?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface ExternalObjectMaterialConfiguration {
|
|
7
|
-
defaultMaterial?: string;
|
|
8
|
-
replaceUnmappedMaterialsWithDefault?: boolean;
|
|
9
|
-
materialMapping?: Array<{
|
|
10
|
-
materialName: string;
|
|
11
|
-
materialId: string;
|
|
12
|
-
}>;
|
|
13
|
-
}
|
|
14
|
-
export interface ExternalObjectDebugConfiguration {
|
|
15
|
-
createDebugGeometry?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface ExternalObjectApiConfiguration {
|
|
18
|
-
loadExternalObjectsFromPlan?: boolean;
|
|
19
|
-
uiConfiguration?: ExternalObjectUiConfiguration;
|
|
20
|
-
materialConfiguration?: ExternalObjectMaterialConfiguration;
|
|
21
|
-
debugConfiguration?: ExternalObjectDebugConfiguration;
|
|
22
|
-
}
|
|
23
|
-
export interface ExternalObjectAPI {
|
|
24
|
-
/**
|
|
25
|
-
* With "configureExternalObjectApi" the default representation of the objects and UI and
|
|
26
|
-
* the default behavior when interacting with external objects can be completely or partially overwritten.
|
|
27
|
-
* This configuration should be set prior to loading plans or objects.
|
|
28
|
-
* @param configurationJson The configuration JSON as string or object.
|
|
29
|
-
*/
|
|
30
|
-
configureExternalObjectApi(configurationJson: string | ExternalObjectApiConfiguration): void;
|
|
31
|
-
/**
|
|
32
|
-
* "loadExternalObjectLibrary" loads the master data of a library.
|
|
33
|
-
* If master data has already been loaded for the library, it is completely replaced by the new master data.
|
|
34
|
-
* @param libraryJson The library JSON as string or object.
|
|
35
|
-
*/
|
|
36
|
-
loadExternalObjectLibrary(libraryJson: string | object): void;
|
|
37
|
-
/**
|
|
38
|
-
* "loadExternalObjectGroup" loads a group of modules and places them in the plan.
|
|
39
|
-
* If the group has already been loaded, it is completely replaced by the new group.
|
|
40
|
-
* This function therefore has 2 use cases:
|
|
41
|
-
* 1. Load a new group of modules
|
|
42
|
-
* 2. Update or modify an existing group of modules
|
|
43
|
-
* The initial location of the group and the IDs of the modules are defined in the group JSON.
|
|
44
|
-
* @param groupJson The group JSON as string or object.
|
|
45
|
-
*/
|
|
46
|
-
loadExternalObjectGroup(groupJson: string | object): void;
|
|
47
|
-
/**
|
|
48
|
-
* "removeExternalObjectGroup" removes a group and all its modules from the plan.
|
|
49
|
-
* @param groupId The ID of the group of modules.
|
|
50
|
-
*/
|
|
51
|
-
removeExternalObjectGroup(groupId: string): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* "selectExternalObjectGroup" changes the selected object in the scene.
|
|
54
|
-
* The function selects a complete group of root modules and always switches to planning mode.
|
|
55
|
-
* If the group consists of only one root module, this is equivalent to selecting a single root module.
|
|
56
|
-
* @param groupId The ID of the group of modules.
|
|
57
|
-
*/
|
|
58
|
-
selectExternalObjectGroup(groupId: string): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* "selectExternalObjectRootModule" changes the selected object in the scene.
|
|
61
|
-
* The function selects a root module within a group and always switches to planning mode.
|
|
62
|
-
* @param rootModuleId The ID of the root module.
|
|
63
|
-
*/
|
|
64
|
-
selectExternalObjectRootModule(rootModuleId: string): Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* "selectExternalObjectSubModule" changes the selected object in the scene.
|
|
67
|
-
* The function selects a sub module a root module and always switches to configuration mode.
|
|
68
|
-
* @param rootModuleId The ID of the root module.
|
|
69
|
-
* @param subModuleId The ID of the sub module.
|
|
70
|
-
*/
|
|
71
|
-
selectExternalObjectSubModule(rootModuleId: string, subModuleId: string): Promise<void>;
|
|
72
|
-
/**
|
|
73
|
-
* "openOrCloseGeometryOfExternalObject" switches the geometry of the modules between closed and open representation.
|
|
74
|
-
* The function can switch the geometry of the group or the singe root module with the ID "groupIdOrRootModuleId".
|
|
75
|
-
* If "groupIdOrRootModuleId" is the ID of a root module and the "subModuleId" is also specified, only this one sub-module is opened or closed.
|
|
76
|
-
* @param groupIdOrRootModuleId The ID of the group of modules or the ID of the root module.
|
|
77
|
-
* @param subModuleId The ID of the sub module.
|
|
78
|
-
* @param open If true, the modules are opened, if false, they are closed, if the geometry is already in the desired state, nothing happens.
|
|
79
|
-
* @param animate If true the opening or closing is animated else the geometry is switched instantly.
|
|
80
|
-
*/
|
|
81
|
-
openOrCloseGeometryOfExternalObject(groupIdOrRootModuleId: string, subModuleId: string | null, open: boolean, animate: boolean): Promise<void>;
|
|
82
|
-
}
|
|
83
|
-
export declare const defaultExternalObjectApiConfiguration: ExternalObjectApiConfiguration;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { ExternalObjectApiConfiguration } from './external-object-api';
|
|
2
|
-
export interface TcAPI {
|
|
3
|
-
/**
|
|
4
|
-
* Sets properties that effect the representation of the objects such as the material mapping
|
|
5
|
-
* and completely overwrites the default settings.
|
|
6
|
-
* @param propertiesJson The properties JSON as string or object.
|
|
7
|
-
*/
|
|
8
|
-
loadTCProperties(propertiesJson: string | ExternalObjectApiConfiguration): void;
|
|
9
|
-
/**
|
|
10
|
-
* Loads the master data json and defines which attributes are displayed in the UI
|
|
11
|
-
* of the PoS system and how they are displayed.
|
|
12
|
-
* @param masterDataJson The master data JSON as string or object.
|
|
13
|
-
*/
|
|
14
|
-
loadTCMasterData(masterDataJson: string | object): void;
|
|
15
|
-
/**
|
|
16
|
-
* Loads all groups of root modules defined in the article-data-json and adds them to the plan.
|
|
17
|
-
* @param articleJson The article data JSON as string or object.
|
|
18
|
-
*/
|
|
19
|
-
loadTCArticles(articleJson: string): Promise<void>;
|
|
20
|
-
/**
|
|
21
|
-
* Removes the specified group of root modules completely from the plan.
|
|
22
|
-
* @param groupId The unique ID of the group of root modules.
|
|
23
|
-
*/
|
|
24
|
-
removeTCArticle(groupId: string): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* Always switches to planning mode and selects an root module group.
|
|
27
|
-
* In planning mode, only a root module or a group of root modules can be selected, but not a sub-module.
|
|
28
|
-
* @param groupId The unique ID of the group of root modules.
|
|
29
|
-
*/
|
|
30
|
-
selectTCArticle(groupId: string): Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
* Always switches to configuration mode and selects a root module or sub-module.
|
|
33
|
-
* @param groupId The unique ID of the group of root modules.
|
|
34
|
-
* @param moduleId The ID of the root module or sub-module.
|
|
35
|
-
*/
|
|
36
|
-
selectTCModule(groupId: string, moduleId: string): Promise<void>;
|
|
37
|
-
/**
|
|
38
|
-
* Opens or closes the geometry (e.g. drawers and doors) of all modules in a group.
|
|
39
|
-
* @param groupId The unique ID of the group of root modules.
|
|
40
|
-
* @param open If true, the modules are opened, if false, they are closed.
|
|
41
|
-
* @param animate If true the opening or closing is animated.
|
|
42
|
-
*/
|
|
43
|
-
openCloseTCArticle(groupId: string, open: boolean, animate: boolean): Promise<void>;
|
|
44
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{S as ScriptLoader,M as Main}from"./script-loader-aaabae44.js";import{aK as InputManager,D as DependencyInjectionAssignment,L as Logger,R as RapiAccess,ae as getGUI,_ as __decorate,i as inject,u as CANVAS_ID,x as DynamicLightSettingLoader,y as PREDEFINED_LIGHTSETTING,H as dispose,b as RoomleDependencyInjection}from"./roomle-dependency-injection-a223d34e.js";import{C as CameraControl3D,L as LightSetting,S as SceneManager,T as TWEEN_FILE_NAME}from"./camera-behaviour-b98a3df3.js";import{a as Vector3,ad as Box3,ag as Euler,Q as Quaternion,A as AmbientLight,C as Color,aE as CAMERA_TYPE,aR as getGlbUrl,bv as WebGLRenderer,i as SRGBColorSpace,bj as BasicShadowMap,N as PerspectiveCamera,bC as download}from"./main-thread-to-worker-af604b88.js";import{D as DefaultLightSetting,J as JS_ZIP_FILE_NAME}from"./jszip.min-58a46137.js";import{G as GlbViewerCameraBehaviour}from"./glb-viewer-camera-behaviour-5d2c01e4.js";import"./query-params-helper-15c8e313.js";const INJECTABLES=[new DependencyInjectionAssignment("script-loader",ScriptLoader),new DependencyInjectionAssignment("glb-input-manager",class extends InputManager{},1),new DependencyInjectionAssignment("logger",Logger),new DependencyInjectionAssignment("rapi-access",RapiAccess)];class AdjustableCameraControl3D extends CameraControl3D{constructor(){super(...arguments),this.shouldIgnoreStandardBehavior=!1}adjust(e,t,r,a,i){let n=new Vector3(-e.x/2,0,-e.z/2),s=new Vector3(e.x/2,e.y,e.z/2);this._boundingBox=new Box3(n,s);let o=new Euler(-Math.PI/2+a,r,0,"ZYX"),c=(new Quaternion).setFromEuler(o);this._camera.updateProjectionMatrix(),this._camera.quaternion.copy(c),this._camera.position.copy(t)}_update(e){this.shouldIgnoreStandardBehavior?this._saveYawAndPitch():super._update(e)}animateCamera(e){return!!this.shouldIgnoreStandardBehavior||super.animateCamera(e)}}class GLBViewerLightSetting extends LightSetting{constructor(e,t){super(e,t),this._params={ambientLight:{color:"#ffffff"}},this._ambientLight=new AmbientLight(new Color(this._params.ambientLight.color),.5),this.addToScene()}addToScene(){this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let e=getGUI();if(e&&this._ambientLight){let t=e.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(e=>{this._ambientLight.color=new Color(e)})}}}class GLBViewerSceneManager extends SceneManager{constructor(e,t){super(e,t,CANVAS_ID.GLB,CAMERA_TYPE.CAMERA_3D),this._itemsCount=0,this._standardSceneBackgroundColor=this._scene.background,this._initData.legacyLight&&(this._renderer.capabilities.maxTextures>8?this.loadDynamicLightSetting(DynamicLightSettingLoader.createDynamicLightSettingSource(null,PREDEFINED_LIGHTSETTING.CAMERA)):(console.warn("this device has a maximum of 8 texture units thus we are using a simpler light setting"),this._lightSetting=new GLBViewerLightSetting(this._scene)))}createCameraControl(e,t){this._changeCameraBehaviour(new GlbViewerCameraBehaviour(new AdjustableCameraControl3D(this._creator_,this._getInputManager(),new Vector3(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._glbInputManager}async loadStaticItem(e,t){const r=await this._rapiAccess.getItem(e);if(r.configuration)return Promise.reject();const a=getGlbUrl(r);return a?this.loadGLB(a,!0,void 0,t):Promise.reject(new Error("GLB Url not detected"))}loadGLB(e,t=!0,r=new Vector3(1,1,1),a){return this.clearScene(),new Promise((i,n)=>{this._loadGLB(e,new Vector3(0,0,0),0,void 0,r,void 0,void 0,a).then(e=>{this._currentGLB=e,this._scene.add(this._currentGLB);let r=(new Box3).setFromObject(this._currentGLB);t&&this.cameraBehaviour.cameraControl instanceof AdjustableCameraControl3D&&this.glbViewerCameraBehaviour.updateCameraOnItemLoaded(r),this._updateBounds(r,null,!0),i()},n)})}preparePerspectiveImage(e,t,r){return new Promise(a=>{var i,n;t||(t=1e3),r||(r=1e3),e||((e=new WebGLRenderer({antialias:!0})).setSize(t,r),e.outputColorSpace=SRGBColorSpace,e.autoClear=!1,e.shadowMap.enabled=!0,e.shadowMap.type=BasicShadowMap);let s=this.cameraBehaviour.cameraControl.getCamera().clone();s instanceof PerspectiveCamera&&(s.aspect=t/r,s.updateProjectionMatrix()),null===(i=this._lightSetting)||void 0===i||i.removeFromScene();let o=new DefaultLightSetting(this._scene);e.render(this._scene,s);let c=e.domElement.toDataURL();e.domElement.toBlob(e=>{a({image:c,width:t,height:r,blob:e})},"image/png"),o.removeFromScene(),null===(n=this._lightSetting)||void 0===n||n.addToScene()})}adjustCamera(e,t,r,a){if(this.cameraBehaviour.cameraControl instanceof AdjustableCameraControl3D){let i=(new Box3).setFromObject(this._scene).getSize(new Vector3);this.cameraBehaviour.cameraControl.adjust(i,e,t,r,a),this._requestRender()}}onStart(e){this._itemsCount=e,this._scene.background=null,this.cameraBehaviour.cameraControl instanceof AdjustableCameraControl3D&&(this.cameraBehaviour.cameraControl.shouldIgnoreStandardBehavior=!0)}onElementFinished(e){this._itemsCount,Math.round(100/this._itemsCount*e)}onFinished(e){this._scene.background=this._standardSceneBackgroundColor,this.cameraBehaviour.cameraControl instanceof AdjustableCameraControl3D&&(this.cameraBehaviour.cameraControl.shouldIgnoreStandardBehavior=!1)}clearScene(){this._currentGLB&&(this._scene.remove(this._currentGLB),dispose(this._currentGLB),this._currentGLB=null),super.clearScene()}enableHD(){super.enableHD()}sceneChanged(){}getBounds(){return this._currentGLB?(new Box3).setFromObject(this._currentGLB):null}get glbViewerCameraBehaviour(){return this.cameraBehaviour}getGeometryBounds(){return null}cameraBehaviourChanged(){super.cameraBehaviourChanged(),this.cameraBehaviour.cameraControl.addEventListener(3,()=>{this._requestRender()},this),this.cameraBehaviour.cameraControl.addEventListener(4,()=>{this._requestRender()},this)}}__decorate([inject],GLBViewerSceneManager.prototype,"_glbInputManager",void 0),__decorate([inject],GLBViewerSceneManager.prototype,"_rapiAccess",void 0);class GLBRenderWorker{constructor(e,t,r){this._prefix="https://furniture.roomle.com/3d/glb/",this._listeners=new Set,this._finishedItems=0,this._sceneManager=e,this._renderer=new WebGLRenderer({antialias:!0,alpha:!0}),this._width=t,this._height=r,this._renderer.setSize(t,r),this._renderer.setClearColor(16777215,0),this._renderer.outputColorSpace=SRGBColorSpace}addListener(e){this._listeners.add(e)}removeListener(e){this._listeners.delete(e)}start(e){return this._entries=[],e.forEach(e=>{this._entries.push(this._transform(e))}),this._finishedItems=0,this._listeners.forEach(e=>e.onStart(this._entries.length)),this._zip=new window.JSZip,this._doNextEntry(),new Promise(e=>{this._resolve=e})}_transform(e){return{name:e.path.replace(".glb",".png"),url:this._prefix+e.path,position:new Vector3(e.camera.position.x,e.camera.position.z,-e.camera.position.y),fov:2*e.camera.fieldOfView,yaw:e.camera.rotation.z,pitch:e.camera.rotation.x}}_doNextEntry(){0===this._entries.length?(this._listeners.forEach(e=>e.onFinished(this._zip)),this._resolve(this._zip)):this._processEntry(this._entries[0])}_processEntry(e){this._sceneManager.loadGLB(e.url,!1,void 0).then(()=>{this._sceneManager.adjustCamera(e.position,e.yaw,e.pitch,e.fov),this._sceneManager.preparePerspectiveImage(this._renderer,this._width,this._height).then(t=>{this._entryFinished(e,t)})})}_entryFinished(e,t){let r=this._entries.indexOf(e);r>-1&&this._entries.splice(r,1),this._finishedItems++,this._listeners.forEach(e=>e.onElementFinished(this._finishedItems)),this._zip.file(e.name,t.blob),this._doNextEntry()}}class RoomleGLBViewer{constructor(e){this._currentIdOrUrl=null,this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e,t){return this.setOverrides(t),this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,t){Promise.all([this._scriptLoader.fetch(TWEEN_FILE_NAME,{id:"tween-js"})]).then(()=>{this._sceneManager=new GLBViewerSceneManager(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}clearScene(){this._sceneManager.clearScene()}loadGLB(e,t=1,r){return this._currentIdOrUrl=e,this._rapiAccess.trackView(e),this._sceneManager.loadGLB(e,!0,new Vector3(t,t,t),r)}loadStaticItem(e,t){return this._currentIdOrUrl=e,this._rapiAccess.trackView(e),this._sceneManager.loadStaticItem(e,t)}getCurrentId(){return this._currentIdOrUrl}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}preparePerspectiveImage(){return this._sceneManager.preparePerspectiveImage()}processRenderList(e,t=320,r=320){let a=JSON.parse(e);this._scriptLoader.fetch(JS_ZIP_FILE_NAME,{id:"jszip-js"}).then(()=>{let e=new GLBRenderWorker(this._sceneManager,t,r);e.addListener(this._sceneManager),e.start(a.items).then(t=>{t.generateAsync({type:"blob"}).then(t=>{download("content.zip",URL.createObjectURL(t)),e.removeListener(this._sceneManager)})})})}setOverrides(e){e&&(this._initData.setOverrides(e),this._globalInitData.setOverrides(e))}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}get callbacks(){return{}}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:t,intensity:r,rotation:a,maxLightSources:i}=e;this._sceneManager.setEnvironmentMap(t,r,a,i)}}__decorate([inject],RoomleGLBViewer.prototype,"_rapiAccess",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_domHelper",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_scriptLoader",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_lifeCycleManager",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_initData",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_globalInitData",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_unitFormatter",void 0),__decorate([inject],RoomleGLBViewer.prototype,"_idbManager",void 0);class GlbViewer extends Main{setupGlobals(){}setupDependencies(){RoomleDependencyInjection.setup(INJECTABLES),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new RoomleGLBViewer(this._context),window.RoomleGLBViewer||(window.RoomleGLBViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"glb-viewer"}}export{GlbViewer};
|
|
2
|
-
//# sourceMappingURL=glb-viewer-1a4bbdab.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glb-viewer-1a4bbdab.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
System.register(["./script-loader-42630c85.nomodule.js","./roomle-dependency-injection-a91fd623.nomodule.js","./camera-behaviour-2daf92d1.nomodule.js","./main-thread-to-worker-a33146dd.nomodule.js","./jszip.min-b1e4e384.nomodule.js","./glb-viewer-camera-behaviour-34d13c8c.nomodule.js","./query-params-helper-ff314078.nomodule.js"],(function(e){var t,r,i,n,a,s,o,h,c,d,l,u,m,_,p,g,v,w,f,b,C,S,L,B,M,y,I,x,G,E,j,O,F,D;return{setters:[function(e){t=e.S,r=e.M},function(e){i=e.aK,n=e.D,a=e.L,s=e.R,o=e.ae,h=e._,c=e.i,d=e.u,l=e.x,u=e.y,m=e.H,_=e.b},function(e){p=e.C,g=e.L,v=e.S,w=e.T},function(e){f=e.a,b=e.ad,C=e.ag,S=e.Q,L=e.A,B=e.C,M=e.aE,y=e.aR,I=e.bv,x=e.i,G=e.bj,E=e.N,j=e.bC},function(e){O=e.D,F=e.J},function(e){D=e.G},function(){}],execute:function(){const P=[new n("script-loader",t),new n("glb-input-manager",class extends i{},1),new n("logger",a),new n("rapi-access",s)];class z extends p{constructor(){super(...arguments),this.shouldIgnoreStandardBehavior=!1}adjust(e,t,r,i,n){let a=new f(-e.x/2,0,-e.z/2),s=new f(e.x/2,e.y,e.z/2);this._boundingBox=new b(a,s);let o=new C(-Math.PI/2+i,r,0,"ZYX"),h=(new S).setFromEuler(o);this._camera.updateProjectionMatrix(),this._camera.quaternion.copy(h),this._camera.position.copy(t)}_update(e){this.shouldIgnoreStandardBehavior?this._saveYawAndPitch():super._update(e)}animateCamera(e){return!!this.shouldIgnoreStandardBehavior||super.animateCamera(e)}}class A extends g{constructor(e,t){super(e,t),this._params={ambientLight:{color:"#ffffff"}},this._ambientLight=new L(new B(this._params.ambientLight.color),.5),this.addToScene()}addToScene(){this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let e=o();if(e&&this._ambientLight){let t=e.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(e=>{this._ambientLight.color=new B(e)})}}}class U extends v{constructor(e,t){super(e,t,d.GLB,M.CAMERA_3D),this._itemsCount=0,this._standardSceneBackgroundColor=this._scene.background,this._initData.legacyLight&&(this._renderer.capabilities.maxTextures>8?this.loadDynamicLightSetting(l.createDynamicLightSettingSource(null,u.CAMERA)):(console.warn("this device has a maximum of 8 texture units thus we are using a simpler light setting"),this._lightSetting=new A(this._scene)))}createCameraControl(e,t){this._changeCameraBehaviour(new D(new z(this._creator_,this._getInputManager(),new f(-1,1,1)),this._cameraBehaviourState))}_getInputManager(){return this._glbInputManager}async loadStaticItem(e,t){const r=await this._rapiAccess.getItem(e);if(r.configuration)return Promise.reject();const i=y(r);return i?this.loadGLB(i,!0,void 0,t):Promise.reject(new Error("GLB Url not detected"))}loadGLB(e,t=!0,r=new f(1,1,1),i){return this.clearScene(),new Promise((n,a)=>{this._loadGLB(e,new f(0,0,0),0,void 0,r,void 0,void 0,i).then(e=>{this._currentGLB=e,this._scene.add(this._currentGLB);let r=(new b).setFromObject(this._currentGLB);t&&this.cameraBehaviour.cameraControl instanceof z&&this.glbViewerCameraBehaviour.updateCameraOnItemLoaded(r),this._updateBounds(r,null,!0),n()},a)})}preparePerspectiveImage(e,t,r){return new Promise(i=>{var n,a;t||(t=1e3),r||(r=1e3),e||((e=new I({antialias:!0})).setSize(t,r),e.outputColorSpace=x,e.autoClear=!1,e.shadowMap.enabled=!0,e.shadowMap.type=G);let s=this.cameraBehaviour.cameraControl.getCamera().clone();s instanceof E&&(s.aspect=t/r,s.updateProjectionMatrix()),null===(n=this._lightSetting)||void 0===n||n.removeFromScene();let o=new O(this._scene);e.render(this._scene,s);let h=e.domElement.toDataURL();e.domElement.toBlob(e=>{i({image:h,width:t,height:r,blob:e})},"image/png"),o.removeFromScene(),null===(a=this._lightSetting)||void 0===a||a.addToScene()})}adjustCamera(e,t,r,i){if(this.cameraBehaviour.cameraControl instanceof z){let n=(new b).setFromObject(this._scene).getSize(new f);this.cameraBehaviour.cameraControl.adjust(n,e,t,r,i),this._requestRender()}}onStart(e){this._itemsCount=e,this._scene.background=null,this.cameraBehaviour.cameraControl instanceof z&&(this.cameraBehaviour.cameraControl.shouldIgnoreStandardBehavior=!0)}onElementFinished(e){this._itemsCount,Math.round(100/this._itemsCount*e)}onFinished(e){this._scene.background=this._standardSceneBackgroundColor,this.cameraBehaviour.cameraControl instanceof z&&(this.cameraBehaviour.cameraControl.shouldIgnoreStandardBehavior=!1)}clearScene(){this._currentGLB&&(this._scene.remove(this._currentGLB),m(this._currentGLB),this._currentGLB=null),super.clearScene()}enableHD(){super.enableHD()}sceneChanged(){}getBounds(){return this._currentGLB?(new b).setFromObject(this._currentGLB):null}get glbViewerCameraBehaviour(){return this.cameraBehaviour}getGeometryBounds(){return null}cameraBehaviourChanged(){super.cameraBehaviourChanged(),this.cameraBehaviour.cameraControl.addEventListener(3,()=>{this._requestRender()},this),this.cameraBehaviour.cameraControl.addEventListener(4,()=>{this._requestRender()},this)}}h([c],U.prototype,"_glbInputManager",void 0),h([c],U.prototype,"_rapiAccess",void 0);class R{constructor(e,t,r){this._prefix="https://furniture.roomle.com/3d/glb/",this._listeners=new Set,this._finishedItems=0,this._sceneManager=e,this._renderer=new I({antialias:!0,alpha:!0}),this._width=t,this._height=r,this._renderer.setSize(t,r),this._renderer.setClearColor(16777215,0),this._renderer.outputColorSpace=x}addListener(e){this._listeners.add(e)}removeListener(e){this._listeners.delete(e)}start(e){return this._entries=[],e.forEach(e=>{this._entries.push(this._transform(e))}),this._finishedItems=0,this._listeners.forEach(e=>e.onStart(this._entries.length)),this._zip=new window.JSZip,this._doNextEntry(),new Promise(e=>{this._resolve=e})}_transform(e){return{name:e.path.replace(".glb",".png"),url:this._prefix+e.path,position:new f(e.camera.position.x,e.camera.position.z,-e.camera.position.y),fov:2*e.camera.fieldOfView,yaw:e.camera.rotation.z,pitch:e.camera.rotation.x}}_doNextEntry(){0===this._entries.length?(this._listeners.forEach(e=>e.onFinished(this._zip)),this._resolve(this._zip)):this._processEntry(this._entries[0])}_processEntry(e){this._sceneManager.loadGLB(e.url,!1,void 0).then(()=>{this._sceneManager.adjustCamera(e.position,e.yaw,e.pitch,e.fov),this._sceneManager.preparePerspectiveImage(this._renderer,this._width,this._height).then(t=>{this._entryFinished(e,t)})})}_entryFinished(e,t){let r=this._entries.indexOf(e);r>-1&&this._entries.splice(r,1),this._finishedItems++,this._listeners.forEach(e=>e.onElementFinished(this._finishedItems)),this._zip.file(e.name,t.blob),this._doNextEntry()}}class k{constructor(e){this._currentIdOrUrl=null,this._creator_=e}setCameraOffset(e){this._sceneManager.setCameraOffset(e)}getCameraOffset(){return this._sceneManager.getCameraOffset()}init(e,t){return this.setOverrides(t),this._domHelper.setDomElement(e),this._sceneManager?(this._lifeCycleManager.resume(),Promise.resolve()):new Promise(this._initPromiseCallback.bind(this))}_initPromiseCallback(e,t){Promise.all([this._scriptLoader.fetch(w,{id:"tween-js"})]).then(()=>{this._sceneManager=new U(this._creator_,{left:0,top:1,right:1,bottom:0}),this._sceneManager.enableHD(),e()})}clearScene(){this._sceneManager.clearScene()}loadGLB(e,t=1,r){return this._currentIdOrUrl=e,this._rapiAccess.trackView(e),this._sceneManager.loadGLB(e,!0,new f(t,t,t),r)}loadStaticItem(e,t){return this._currentIdOrUrl=e,this._rapiAccess.trackView(e),this._sceneManager.loadStaticItem(e,t)}getCurrentId(){return this._currentIdOrUrl}loadSceneSetting(e){return this._sceneManager.loadSceneSettings(e)}preparePerspectiveImage(){return this._sceneManager.preparePerspectiveImage()}processRenderList(e,t=320,r=320){let i=JSON.parse(e);this._scriptLoader.fetch(F,{id:"jszip-js"}).then(()=>{let e=new R(this._sceneManager,t,r);e.addListener(this._sceneManager),e.start(i.items).then(t=>{t.generateAsync({type:"blob"}).then(t=>{j("content.zip",URL.createObjectURL(t)),e.removeListener(this._sceneManager)})})})}setOverrides(e){e&&(this._initData.setOverrides(e),this._globalInitData.setOverrides(e))}updateSize(){this._sceneManager.updateCamera()}getMain(){}resumeTest(e){this._domHelper.setDomElement(e),this._lifeCycleManager.resume()}pauseTest(){this._lifeCycleManager.pause()}showGUI(){this._sceneManager.showGUI()}get callbacks(){return{}}getScene(){return this._sceneManager.getScene()}updateScene(){this._sceneManager.updateScene()}getUnitFormatter(){return this._unitFormatter}getStorage(){return this._idbManager}setEnvironmentMap(e){const{url:t,intensity:r,rotation:i,maxLightSources:n}=e;this._sceneManager.setEnvironmentMap(t,r,i,n)}}h([c],k.prototype,"_rapiAccess",void 0),h([c],k.prototype,"_domHelper",void 0),h([c],k.prototype,"_scriptLoader",void 0),h([c],k.prototype,"_lifeCycleManager",void 0),h([c],k.prototype,"_initData",void 0),h([c],k.prototype,"_globalInitData",void 0),h([c],k.prototype,"_unitFormatter",void 0),h([c],k.prototype,"_idbManager",void 0),e("GlbViewer",class extends r{setupGlobals(){}setupDependencies(){_.setup(P),this.lookup("logger",this._context)}cleanUpGlobals(){throw new Error("Method not implemented.")}cleanUpDependencies(){throw new Error("Method not implemented.")}bootFinished(){this._viewer=new k(this._context),window.RoomleGLBViewer||(window.RoomleGLBViewer=this._viewer)}getApi(){return this._viewer}getContextName(){return"glb-viewer"}})}}}));
|
|
2
|
-
//# sourceMappingURL=glb-viewer-5eb83b89.nomodule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glb-viewer-5eb83b89.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glb-viewer-camera-behaviour-34d13c8c.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as CameraBehaviour}from"./camera-behaviour-b98a3df3.js";class GlbViewerCameraBehaviour extends CameraBehaviour{get cameraControl(){return this._cameraControl}updateCameraOnItemLoaded(a){this.cameraControl.updateAndReset(a,!1)}}export{GlbViewerCameraBehaviour as G};
|
|
2
|
-
//# sourceMappingURL=glb-viewer-camera-behaviour-5d2c01e4.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glb-viewer-camera-behaviour-5d2c01e4.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{GlbViewer}from"./glb-viewer-1a4bbdab.js";import"./script-loader-aaabae44.js";import"./query-params-helper-15c8e313.js";import"./main-thread-to-worker-af604b88.js";import"./roomle-dependency-injection-a223d34e.js";import"./camera-behaviour-b98a3df3.js";import"./jszip.min-58a46137.js";import"./glb-viewer-camera-behaviour-5d2c01e4.js";(new GlbViewer).boot();
|
|
2
|
-
//# sourceMappingURL=glb-viewer-main-85cff8b8.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"glb-viewer-main-85cff8b8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jszip.min-58a46137.js","sources":["../../node_modules/jszip/dist/jszip.min.js"],"sourcesContent":["export default \"static/jszip.min-c96375d50e72b199.js\""],"names":["JS_ZIP_FILE_NAME"],"mappings":"ouJAAA,IAAeA,iBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jszip.min-b1e4e384.nomodule.js","sources":["../../node_modules/jszip/dist/jszip.min.js"],"sourcesContent":["export default \"static/jszip.min-c96375d50e72b199.js\""],"names":["exports"],"mappings":"0nJAAeA,EAAA,IAAA"}
|