@roomle/web-sdk 2.53.0 → 2.54.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{banana-for-scale-0dd258a3.js → banana-for-scale-94d7542f.js} +2 -2
- package/lib/{banana-for-scale-0dd258a3.js.map → banana-for-scale-94d7542f.js.map} +1 -1
- package/lib/{banana-for-scale-4eef8626.nomodule.js → banana-for-scale-a23b363c.nomodule.js} +2 -2
- package/lib/{banana-for-scale-4eef8626.nomodule.js.map → banana-for-scale-a23b363c.nomodule.js.map} +1 -1
- package/lib/{budgeteer-measure-f1fc4b10.js → budgeteer-measure-99333886.js} +2 -2
- package/lib/{budgeteer-measure-f1fc4b10.js.map → budgeteer-measure-99333886.js.map} +1 -1
- package/lib/budgeteer-measure.nomodule.js +1 -1
- package/lib/{component-dimensioning-52628bce.js → component-dimensioning-76392186.js} +2 -2
- package/lib/component-dimensioning-76392186.js.map +1 -0
- package/lib/{component-dimensioning-13a19f2a.nomodule.js → component-dimensioning-d5809679.nomodule.js} +2 -2
- package/lib/component-dimensioning-d5809679.nomodule.js.map +1 -0
- package/lib/{component-raycast-helper-1b33af47.nomodule.js → component-raycast-helper-b4e125c5.nomodule.js} +2 -2
- package/lib/component-raycast-helper-b4e125c5.nomodule.js.map +1 -0
- package/lib/{component-raycast-helper-c457abb4.js → component-raycast-helper-ca215c06.js} +2 -2
- package/lib/component-raycast-helper-ca215c06.js.map +1 -0
- package/lib/{configurator-fb38260f.nomodule.js → configurator-8a44be14.nomodule.js} +2 -2
- package/lib/configurator-8a44be14.nomodule.js.map +1 -0
- package/lib/{configurator-50db0cc3.js → configurator-fe405f13.js} +2 -2
- package/lib/configurator-fe405f13.js.map +1 -0
- package/lib/configurator-main-33393ef4.js +2 -0
- package/lib/configurator-main-33393ef4.js.map +1 -0
- package/lib/configurator-main.nomodule.js +1 -1
- package/lib/{continuous-drawing-helper-37846bd4.nomodule.js → continuous-drawing-helper-2b6c76c6.nomodule.js} +2 -2
- package/lib/continuous-drawing-helper-2b6c76c6.nomodule.js.map +1 -0
- package/lib/{continuous-drawing-helper-23f9fe5b.js → continuous-drawing-helper-b585458e.js} +2 -2
- package/lib/continuous-drawing-helper-b585458e.js.map +1 -0
- package/lib/{default-light-setting-436b6c9d.nomodule.js → default-light-setting-240e30fc.nomodule.js} +2 -2
- package/lib/default-light-setting-240e30fc.nomodule.js.map +1 -0
- package/lib/{default-light-setting-683577eb.js → default-light-setting-550c2b37.js} +2 -2
- package/lib/default-light-setting-550c2b37.js.map +1 -0
- package/lib/definitions/common-core/mock/kernel-instances.d.ts +28 -0
- package/lib/definitions/common-core/src/configurator-kernel-access.d.ts +1 -0
- package/lib/definitions/common-core/src/main.d.ts +1 -0
- package/lib/definitions/common-core/src/services/common-kernel-access.d.ts +2 -0
- package/lib/definitions/common-core/src/utils/common-utils.d.ts +11 -0
- package/lib/definitions/common-core/src/webgl/scene-manager.d.ts +1 -0
- package/lib/definitions/configurator-core/src/roomle-configurator.d.ts +1 -0
- package/lib/definitions/planner-core/mock/planner-mock-helper.d.ts +4 -1
- package/lib/definitions/planner-core/src/roomle-planner-ui-callback.d.ts +2 -2
- package/lib/definitions/planner-core/src/roomle-planner.d.ts +22 -3
- package/lib/definitions/planner-core/src/utils/planner-selection-handler.d.ts +4 -1
- package/lib/definitions/planner-core/src/view-model/plan-view-model.d.ts +5 -0
- package/lib/definitions/planner-core/src/webgl/planner-scene-event-handler.d.ts +4 -2
- package/lib/definitions/planner-core/src/webgl/planner-scene-manager.d.ts +13 -3
- package/lib/definitions/typings/kernel.d.ts +2 -0
- package/lib/definitions/typings/planner.d.ts +1 -0
- package/lib/{dimensioning-helper-ac06b4d5.js → dimensioning-helper-350c38bb.js} +2 -2
- package/lib/{dimensioning-helper-ac06b4d5.js.map → dimensioning-helper-350c38bb.js.map} +1 -1
- package/lib/{dimensioning-helper-365e75ce.nomodule.js → dimensioning-helper-c321dcd8.nomodule.js} +2 -2
- package/lib/{dimensioning-helper-365e75ce.nomodule.js.map → dimensioning-helper-c321dcd8.nomodule.js.map} +1 -1
- package/lib/glb-viewer-3c02a867.js +2 -0
- package/lib/{glb-viewer-3d0d56d3.js.map → glb-viewer-3c02a867.js.map} +1 -1
- package/lib/glb-viewer-c7da17d5.nomodule.js +2 -0
- package/lib/{glb-viewer-211a7023.nomodule.js.map → glb-viewer-c7da17d5.nomodule.js.map} +1 -1
- package/lib/glb-viewer-main-93cb5ec2.js +2 -0
- package/lib/glb-viewer-main-93cb5ec2.js.map +1 -0
- package/lib/glb-viewer-main.nomodule.js +1 -1
- package/lib/legacy/{banana-for-scale-d44934a8.legacy.js → banana-for-scale-20400ed8.legacy.js} +2 -2
- package/lib/legacy/{banana-for-scale-d44934a8.legacy.js.map → banana-for-scale-20400ed8.legacy.js.map} +1 -1
- package/lib/legacy/budgeteer-measure.legacy.js +1 -1
- package/lib/legacy/{component-dimensioning-d57fa435.legacy.js → component-dimensioning-bd406d78.legacy.js} +2 -2
- package/lib/legacy/component-dimensioning-bd406d78.legacy.js.map +1 -0
- package/lib/legacy/{component-raycast-helper-3cf9bf36.legacy.js → component-raycast-helper-34fd282d.legacy.js} +2 -2
- package/lib/legacy/component-raycast-helper-34fd282d.legacy.js.map +1 -0
- package/lib/legacy/configurator-eb89b67d.legacy.js +2 -0
- package/lib/legacy/configurator-eb89b67d.legacy.js.map +1 -0
- package/lib/legacy/configurator-main.legacy.js +1 -1
- package/lib/legacy/{continuous-drawing-helper-3455017c.legacy.js → continuous-drawing-helper-dbfb46df.legacy.js} +2 -2
- package/lib/legacy/continuous-drawing-helper-dbfb46df.legacy.js.map +1 -0
- package/lib/legacy/{default-light-setting-8a7aa035.legacy.js → default-light-setting-d59111d0.legacy.js} +2 -2
- package/lib/legacy/default-light-setting-d59111d0.legacy.js.map +1 -0
- package/lib/legacy/{dimensioning-helper-d687dbe9.legacy.js → dimensioning-helper-7e407558.legacy.js} +2 -2
- package/lib/legacy/{dimensioning-helper-d687dbe9.legacy.js.map → dimensioning-helper-7e407558.legacy.js.map} +1 -1
- package/lib/legacy/glb-viewer-2fb04964.legacy.js +2 -0
- package/lib/legacy/{glb-viewer-86b1bc42.legacy.js.map → glb-viewer-2fb04964.legacy.js.map} +1 -1
- package/lib/legacy/glb-viewer-main.legacy.js +1 -1
- package/lib/legacy/main-thread-to-worker-282361f3.legacy.js +2 -0
- package/lib/legacy/main-thread-to-worker-282361f3.legacy.js.map +1 -0
- package/lib/legacy/{material-viewer-05d65a3c.legacy.js → material-viewer-d9dea471.legacy.js} +2 -2
- package/lib/legacy/material-viewer-d9dea471.legacy.js.map +1 -0
- package/lib/legacy/material-viewer-main.legacy.js +1 -1
- package/lib/legacy/pixotron-72c28c06.legacy.js +2 -0
- package/lib/legacy/{pixotron-57c02543.legacy.js.map → pixotron-72c28c06.legacy.js.map} +1 -1
- package/lib/legacy/planner-5cf03f01.legacy.js +2 -0
- package/lib/legacy/{planner-b38a79d3.legacy.js.map → planner-5cf03f01.legacy.js.map} +1 -1
- package/lib/legacy/planner-main.legacy.js +1 -1
- package/lib/legacy/roomle-configurator-7009060f.legacy.js +2 -0
- package/lib/legacy/{roomle-configurator-68c20a23.legacy.js.map → roomle-configurator-7009060f.legacy.js.map} +1 -1
- package/lib/legacy/roomle-dependency-injection-7907bae4.legacy.js +16 -0
- package/lib/legacy/{roomle-dependency-injection-4f3cf96c.legacy.js.map → roomle-dependency-injection-7907bae4.legacy.js.map} +1 -1
- package/lib/legacy/roomle-sdk.legacy.js +1 -1
- package/lib/legacy/{script-loader-7f0828b7.legacy.js → script-loader-849530d5.legacy.js} +2 -2
- package/lib/legacy/script-loader-849530d5.legacy.js.map +1 -0
- package/lib/legacy/static/ConfiguratorKernel-63501c23e8c990b5.wasm +0 -0
- package/lib/legacy/static/{ConfiguratorKernel-be1ee1dded268455.js → ConfiguratorKernel-cfc2974a7e8ee133.js} +7 -7
- package/lib/legacy/static/ConfiguratorKernelJs-a6a35affe18f9342.js +146 -0
- package/lib/legacy/static/ConfiguratorKernelJs-d231668d6c68dea0.mem +0 -0
- package/lib/legacy/static/RoomleCore-57abf4fed63e4d4f.wasm +0 -0
- package/lib/legacy/static/{RoomleCore-491ead199d2a6141.js → RoomleCore-8be646f0d086ab24.js} +4 -4
- package/lib/legacy/static/RoomleCoreJs-0a2a9c8a7306d05e.js +156 -0
- package/lib/legacy/static/RoomleCoreJs-b028abe67d218a9c.mem +0 -0
- package/lib/legacy/static/RoomleToolsCore-1671bd9be36ee88a.wasm +0 -0
- package/lib/legacy/static/{RoomleToolsCore-c31314d8be7ab53e.js → RoomleToolsCore-b5d4005c49bca048.js} +6 -6
- package/lib/{static/shaders-d6a40bba2f93a977.json → legacy/static/shaders-9905040d202d3f28.json} +1 -1
- package/lib/legacy/{stats-helper-1e06d07b.legacy.js → stats-helper-8a0e1198.legacy.js} +2 -2
- package/lib/legacy/{stats-helper-1e06d07b.legacy.js.map → stats-helper-8a0e1198.legacy.js.map} +1 -1
- package/lib/legacy/{tools-core-c39679ae.legacy.js → tools-core-00329114.legacy.js} +2 -2
- package/lib/legacy/tools-core-00329114.legacy.js.map +1 -0
- package/lib/main-thread-to-worker-155d670a.nomodule.js +2 -0
- package/lib/main-thread-to-worker-155d670a.nomodule.js.map +1 -0
- package/lib/main-thread-to-worker-6855fac1.js +2 -0
- package/lib/main-thread-to-worker-6855fac1.js.map +1 -0
- package/lib/{material-viewer-b92a88d6.nomodule.js → material-viewer-1bc0e2f4.nomodule.js} +2 -2
- package/lib/material-viewer-1bc0e2f4.nomodule.js.map +1 -0
- package/lib/{material-viewer-ecfd8864.js → material-viewer-4b79178d.js} +2 -2
- package/lib/material-viewer-4b79178d.js.map +1 -0
- package/lib/material-viewer-main-ecb84918.js +2 -0
- package/lib/material-viewer-main-ecb84918.js.map +1 -0
- package/lib/material-viewer-main.nomodule.js +1 -1
- package/lib/pixotron-19560dd3.js +2 -0
- package/lib/{pixotron-5530f317.js.map → pixotron-19560dd3.js.map} +1 -1
- package/lib/pixotron-d4d9f3c5.nomodule.js +2 -0
- package/lib/{pixotron-6f8b1e66.nomodule.js.map → pixotron-d4d9f3c5.nomodule.js.map} +1 -1
- package/lib/planner-3989703c.nomodule.js +2 -0
- package/lib/{planner-9ae920fc.nomodule.js.map → planner-3989703c.nomodule.js.map} +1 -1
- package/lib/planner-59885736.js +2 -0
- package/lib/{planner-5dc47a0a.js.map → planner-59885736.js.map} +1 -1
- package/lib/planner-main-cc6bd863.js +2 -0
- package/lib/planner-main-cc6bd863.js.map +1 -0
- package/lib/planner-main.nomodule.js +1 -1
- package/lib/roomle-configurator-3f28fbce.nomodule.js +2 -0
- package/lib/{roomle-configurator-0834bf3b.nomodule.js.map → roomle-configurator-3f28fbce.nomodule.js.map} +1 -1
- package/lib/roomle-configurator-5ea156b5.js +2 -0
- package/lib/{roomle-configurator-891c3b2c.js.map → roomle-configurator-5ea156b5.js.map} +1 -1
- package/lib/roomle-dependency-injection-542438cf.nomodule.js +16 -0
- package/lib/{roomle-dependency-injection-4c03b408.nomodule.js.map → roomle-dependency-injection-542438cf.nomodule.js.map} +1 -1
- package/lib/roomle-dependency-injection-73d145d6.js +16 -0
- package/lib/{roomle-dependency-injection-89b732f4.js.map → roomle-dependency-injection-73d145d6.js.map} +1 -1
- package/lib/{roomle-sdk-388c006b.js → roomle-sdk-7917b546.js} +2 -2
- package/lib/roomle-sdk-7917b546.js.map +1 -0
- package/lib/roomle-sdk.nomodule.js +1 -1
- package/lib/{script-loader-908cd2f5.nomodule.js → script-loader-28978567.nomodule.js} +2 -2
- package/lib/script-loader-28978567.nomodule.js.map +1 -0
- package/lib/{script-loader-46498e42.js → script-loader-44260bbc.js} +2 -2
- package/lib/script-loader-44260bbc.js.map +1 -0
- package/lib/static/ConfiguratorKernel-63501c23e8c990b5.wasm +0 -0
- package/lib/static/{ConfiguratorKernel-be1ee1dded268455.js → ConfiguratorKernel-cfc2974a7e8ee133.js} +1 -1
- package/lib/static/ConfiguratorKernel-cfc2974a7e8ee133.js.map +1 -0
- package/lib/static/ConfiguratorKernelJs-a6a35affe18f9342.js +146 -0
- package/lib/static/ConfiguratorKernelJs-d231668d6c68dea0.mem +0 -0
- package/lib/static/RoomleCore-57abf4fed63e4d4f.wasm +0 -0
- package/lib/static/{RoomleCore-491ead199d2a6141.js → RoomleCore-8be646f0d086ab24.js} +1 -1
- package/lib/static/{RoomleCore-491ead199d2a6141.js.map → RoomleCore-8be646f0d086ab24.js.map} +1 -1
- package/lib/static/RoomleCoreJs-0a2a9c8a7306d05e.js +156 -0
- package/lib/static/RoomleCoreJs-b028abe67d218a9c.mem +0 -0
- package/lib/static/RoomleToolsCore-1671bd9be36ee88a.wasm +0 -0
- package/lib/static/{RoomleToolsCore-c31314d8be7ab53e.js → RoomleToolsCore-b5d4005c49bca048.js} +1 -1
- package/lib/static/RoomleToolsCore-b5d4005c49bca048.js.map +1 -0
- package/lib/{legacy/static/shaders-d6a40bba2f93a977.json → static/shaders-9905040d202d3f28.json} +1 -1
- package/lib/{stats-helper-6283b522.js → stats-helper-c3116435.js} +2 -2
- package/lib/{stats-helper-6283b522.js.map → stats-helper-c3116435.js.map} +1 -1
- package/lib/{stats-helper-93118cb8.nomodule.js → stats-helper-c349f3f1.nomodule.js} +2 -2
- package/lib/{stats-helper-93118cb8.nomodule.js.map → stats-helper-c349f3f1.nomodule.js.map} +1 -1
- package/lib/{tools-core-82b3a5e8.nomodule.js → tools-core-13e7dc52.nomodule.js} +2 -2
- package/lib/tools-core-13e7dc52.nomodule.js.map +1 -0
- package/lib/{tools-core-1dcbc3d2.js → tools-core-50e4cc70.js} +2 -2
- package/lib/tools-core-50e4cc70.js.map +1 -0
- package/package.json +2 -2
- package/lib/component-dimensioning-13a19f2a.nomodule.js.map +0 -1
- package/lib/component-dimensioning-52628bce.js.map +0 -1
- package/lib/component-raycast-helper-1b33af47.nomodule.js.map +0 -1
- package/lib/component-raycast-helper-c457abb4.js.map +0 -1
- package/lib/configurator-50db0cc3.js.map +0 -1
- package/lib/configurator-fb38260f.nomodule.js.map +0 -1
- package/lib/configurator-main-710fea1a.js +0 -2
- package/lib/configurator-main-710fea1a.js.map +0 -1
- package/lib/continuous-drawing-helper-23f9fe5b.js.map +0 -1
- package/lib/continuous-drawing-helper-37846bd4.nomodule.js.map +0 -1
- package/lib/default-light-setting-436b6c9d.nomodule.js.map +0 -1
- package/lib/default-light-setting-683577eb.js.map +0 -1
- package/lib/glb-viewer-211a7023.nomodule.js +0 -2
- package/lib/glb-viewer-3d0d56d3.js +0 -2
- package/lib/glb-viewer-main-80e3a2ee.js +0 -2
- package/lib/glb-viewer-main-80e3a2ee.js.map +0 -1
- package/lib/legacy/component-dimensioning-d57fa435.legacy.js.map +0 -1
- package/lib/legacy/component-raycast-helper-3cf9bf36.legacy.js.map +0 -1
- package/lib/legacy/configurator-f1a7a252.legacy.js +0 -2
- package/lib/legacy/configurator-f1a7a252.legacy.js.map +0 -1
- package/lib/legacy/continuous-drawing-helper-3455017c.legacy.js.map +0 -1
- package/lib/legacy/default-light-setting-8a7aa035.legacy.js.map +0 -1
- package/lib/legacy/glb-viewer-86b1bc42.legacy.js +0 -2
- package/lib/legacy/main-thread-to-worker-876e61ea.legacy.js +0 -2
- package/lib/legacy/main-thread-to-worker-876e61ea.legacy.js.map +0 -1
- package/lib/legacy/material-viewer-05d65a3c.legacy.js.map +0 -1
- package/lib/legacy/pixotron-57c02543.legacy.js +0 -2
- package/lib/legacy/planner-b38a79d3.legacy.js +0 -2
- package/lib/legacy/roomle-configurator-68c20a23.legacy.js +0 -2
- package/lib/legacy/roomle-dependency-injection-4f3cf96c.legacy.js +0 -16
- package/lib/legacy/script-loader-7f0828b7.legacy.js.map +0 -1
- package/lib/legacy/static/ConfiguratorKernel-ac407d91adacdf79.wasm +0 -0
- package/lib/legacy/static/ConfiguratorKernelJs-ae83cb8b7fda9a85.mem +0 -0
- package/lib/legacy/static/ConfiguratorKernelJs-de95ff670ca959c0.js +0 -146
- package/lib/legacy/static/RoomleCore-cef1e1e89289325c.wasm +0 -0
- package/lib/legacy/static/RoomleCoreJs-4c26a7205620df30.js +0 -156
- package/lib/legacy/static/RoomleCoreJs-c5e3064f3b7c3ade.mem +0 -0
- package/lib/legacy/static/RoomleToolsCore-9d84d55f198f653e.wasm +0 -0
- package/lib/legacy/tools-core-c39679ae.legacy.js.map +0 -1
- package/lib/main-thread-to-worker-1c4e6a69.nomodule.js +0 -2
- package/lib/main-thread-to-worker-1c4e6a69.nomodule.js.map +0 -1
- package/lib/main-thread-to-worker-811523e8.js +0 -2
- package/lib/main-thread-to-worker-811523e8.js.map +0 -1
- package/lib/material-viewer-b92a88d6.nomodule.js.map +0 -1
- package/lib/material-viewer-ecfd8864.js.map +0 -1
- package/lib/material-viewer-main-17d7b0bc.js +0 -2
- package/lib/material-viewer-main-17d7b0bc.js.map +0 -1
- package/lib/pixotron-5530f317.js +0 -2
- package/lib/pixotron-6f8b1e66.nomodule.js +0 -2
- package/lib/planner-5dc47a0a.js +0 -2
- package/lib/planner-9ae920fc.nomodule.js +0 -2
- package/lib/planner-main-0fbf6ccf.js +0 -2
- package/lib/planner-main-0fbf6ccf.js.map +0 -1
- package/lib/roomle-configurator-0834bf3b.nomodule.js +0 -2
- package/lib/roomle-configurator-891c3b2c.js +0 -2
- package/lib/roomle-dependency-injection-4c03b408.nomodule.js +0 -16
- package/lib/roomle-dependency-injection-89b732f4.js +0 -16
- package/lib/roomle-sdk-388c006b.js.map +0 -1
- package/lib/script-loader-46498e42.js.map +0 -1
- package/lib/script-loader-908cd2f5.nomodule.js.map +0 -1
- package/lib/static/ConfiguratorKernel-ac407d91adacdf79.wasm +0 -0
- package/lib/static/ConfiguratorKernel-be1ee1dded268455.js.map +0 -1
- package/lib/static/ConfiguratorKernelJs-ae83cb8b7fda9a85.mem +0 -0
- package/lib/static/ConfiguratorKernelJs-de95ff670ca959c0.js +0 -146
- package/lib/static/RoomleCore-cef1e1e89289325c.wasm +0 -0
- package/lib/static/RoomleCoreJs-4c26a7205620df30.js +0 -156
- package/lib/static/RoomleCoreJs-c5e3064f3b7c3ade.mem +0 -0
- package/lib/static/RoomleToolsCore-9d84d55f198f653e.wasm +0 -0
- package/lib/static/RoomleToolsCore-c31314d8be7ab53e.js.map +0 -1
- package/lib/tools-core-1dcbc3d2.js.map +0 -1
- package/lib/tools-core-82b3a5e8.nomodule.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{at as ScenePluginDefaultImplementation,_ as __decorate,i as inject}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=banana-for-scale-
|
|
1
|
+
import{at as ScenePluginDefaultImplementation,_ as __decorate,i as inject}from"./roomle-dependency-injection-73d145d6.js";import{g as getAssetPath}from"./main-thread-to-worker-6855fac1.js";class BananaForScale extends ScenePluginDefaultImplementation{setScene(e){this._scene=e,this._staticItemLoader.loadGLB(getAssetPath()+"static/banana_div2-1351c98ec2986be1.glb").then(e=>{this._banana=e.scene,this.updateBounds(null)})}updateBounds(e){if(e&&(this._bounds=e),this._bounds){if(this._banana){const e=this._bounds.getSize(new THREE.Vector3),a=this._bounds.getCenter(new THREE.Vector3).clone();a.x-=e.x/2+.18,a.z+=e.z/2+.05,a.y=0;let n=.03;this._banana.scale.copy(new THREE.Vector3(n,n,n)),this._banana.rotation.y=.6,this._banana.position.copy(a)}this._scene.children.includes(this._banana)||this.addToScene()}}clearScene(e,a){super.clearScene(e,a),this.removeFromScene()}addToScene(){this._scene&&this._banana&&this._scene.add(this._banana)}removeFromScene(){this._scene&&this._banana&&this._scene.remove(this._banana)}}__decorate([inject],BananaForScale.prototype,"_staticItemLoader",void 0);export default BananaForScale;
|
|
2
|
+
//# sourceMappingURL=banana-for-scale-94d7542f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banana-for-scale-
|
|
1
|
+
{"version":3,"file":"banana-for-scale-94d7542f.js","sources":["../../packages/configurator-core/public/geometry/banana_div2.glb"],"sourcesContent":["export default \"static/banana_div2-1351c98ec2986be1.glb\""],"names":[],"mappings":"mUAAe"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=banana-for-scale-
|
|
1
|
+
System.register(["./roomle-dependency-injection-542438cf.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js"],(function(e){var n,t,a,s;return{setters:[function(e){n=e.at,t=e._,a=e.i},function(e){s=e.g}],execute:function(){class i extends n{setScene(e){this._scene=e,this._staticItemLoader.loadGLB(s()+"static/banana_div2-1351c98ec2986be1.glb").then(e=>{this._banana=e.scene,this.updateBounds(null)})}updateBounds(e){if(e&&(this._bounds=e),this._bounds){if(this._banana){const e=this._bounds.getSize(new THREE.Vector3),n=this._bounds.getCenter(new THREE.Vector3).clone();n.x-=e.x/2+.18,n.z+=e.z/2+.05,n.y=0;let t=.03;this._banana.scale.copy(new THREE.Vector3(t,t,t)),this._banana.rotation.y=.6,this._banana.position.copy(n)}this._scene.children.includes(this._banana)||this.addToScene()}}clearScene(e,n){super.clearScene(e,n),this.removeFromScene()}addToScene(){this._scene&&this._banana&&this._scene.add(this._banana)}removeFromScene(){this._scene&&this._banana&&this._scene.remove(this._banana)}}e("default",i),t([a],i.prototype,"_staticItemLoader",void 0)}}}));
|
|
2
|
+
//# sourceMappingURL=banana-for-scale-a23b363c.nomodule.js.map
|
package/lib/{banana-for-scale-4eef8626.nomodule.js.map → banana-for-scale-a23b363c.nomodule.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banana-for-scale-
|
|
1
|
+
{"version":3,"file":"banana-for-scale-a23b363c.nomodule.js","sources":["../../packages/configurator-core/public/geometry/banana_div2.glb"],"sourcesContent":["export default \"static/banana_div2-1351c98ec2986be1.glb\""],"names":[],"mappings":"qTAAe"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{g as getAllParameters}from"./query-params-helper-a271f9dc.js";import{M as MainThreadToWorker,g as getAssetPath}from"./main-thread-to-worker-
|
|
2
|
-
//# sourceMappingURL=budgeteer-measure-
|
|
1
|
+
import{g as getAllParameters}from"./query-params-helper-a271f9dc.js";import{M as MainThreadToWorker,g as getAssetPath}from"./main-thread-to-worker-6855fac1.js";new class{_addIframe(){const e="website-to-measure";if(document.getElementById(e))return void console.error("Iframe already added! Check how this can happen");const r=getAllParameters();if(!r.checkUrl)return void console.error("CAN NOT MEASURE WITHOUT A URL, add checkUrl queryParam. To encode call BudgeteerMeasure.encodeUrl(url: string)");let t=this.decodeUrl(r.checkUrl);const o=window.location.origin;if(!t.startsWith(o))return void console.error("CAN ONLY MEASURE SAME ORIGIN PLEASE CHECK",{origin:o,src:t});const a=getAllParameters(t),i=Object.keys(a).length?"&":"?";a._measureTraffic||(t+=i+"_measureTraffic=true");const s=document.createElement("iframe");s.id=e,s.src=t,document.body.appendChild(s)}_isAlreadyActive(){return navigator.serviceWorker.controller&&-1!==navigator.serviceWorker.controller.scriptURL.indexOf("budgeteer.sw")&&"activated"===navigator.serviceWorker.controller.state}_handleActiveSw(){this._mainThreadToWorker.setEventPoster(navigator.serviceWorker.controller),this._addIframe(),this._alreadyAdded=!0}constructor(){this._inLimbo=!1,this._alreadyAdded=!1,window.addEventListener("beforeunload",()=>this._inLimbo=!0),this._mainThreadToWorker=new MainThreadToWorker(this,navigator.serviceWorker),this._isAlreadyActive()?this._handleActiveSw():navigator.serviceWorker.register(getAssetPath()+"static/budgeteer.sw-0a8d4e36e18346a5.js",{scope:"../../"}).then(e=>{this._isAlreadyActive()&&this._handleActiveSw()},e=>console.error("Budgeteer registration failed: ",e)),navigator.serviceWorker.addEventListener("controllerchange",()=>this._mainThreadToWorker.setEventPoster(navigator.serviceWorker.controller)),window.BudgeteerMeasure={encodeUrl:this.encodeUrl}}encodeUrl(e){return encodeURIComponent(e)}decodeUrl(e){return decodeURIComponent(e)}onCommand(e){if(!this._inLimbo)switch(e){case 6:this._alreadyAdded||this._addIframe()}}};
|
|
2
|
+
//# sourceMappingURL=budgeteer-measure-99333886.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"budgeteer-measure-
|
|
1
|
+
{"version":3,"file":"budgeteer-measure-99333886.js","sources":["../../packages/workers/generated/budgeteer.sw.js"],"sourcesContent":["export default \"static/budgeteer.sw-0a8d4e36e18346a5.js\""],"names":[],"mappings":"w8CAAe"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./query-params-helper-c231e1b8.nomodule.js","./main-thread-to-worker-
|
|
1
|
+
System.register(["./query-params-helper-c231e1b8.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js"],(function(){var e,r,t;return{setters:[function(r){e=r.g},function(e){r=e.M,t=e.g}],execute:function(){new class{_addIframe(){const r="website-to-measure";if(document.getElementById(r))return void console.error("Iframe already added! Check how this can happen");const t=e();if(!t.checkUrl)return void console.error("CAN NOT MEASURE WITHOUT A URL, add checkUrl queryParam. To encode call BudgeteerMeasure.encodeUrl(url: string)");let o=this.decodeUrl(t.checkUrl);const i=window.location.origin;if(!o.startsWith(i))return void console.error("CAN ONLY MEASURE SAME ORIGIN PLEASE CHECK",{origin:i,src:o});const n=e(o),a=Object.keys(n).length?"&":"?";n._measureTraffic||(o+=a+"_measureTraffic=true");const d=document.createElement("iframe");d.id=r,d.src=o,document.body.appendChild(d)}_isAlreadyActive(){return navigator.serviceWorker.controller&&-1!==navigator.serviceWorker.controller.scriptURL.indexOf("budgeteer.sw")&&"activated"===navigator.serviceWorker.controller.state}_handleActiveSw(){this._mainThreadToWorker.setEventPoster(navigator.serviceWorker.controller),this._addIframe(),this._alreadyAdded=!0}constructor(){this._inLimbo=!1,this._alreadyAdded=!1,window.addEventListener("beforeunload",()=>this._inLimbo=!0),this._mainThreadToWorker=new r(this,navigator.serviceWorker),this._isAlreadyActive()?this._handleActiveSw():navigator.serviceWorker.register(t()+"static/budgeteer.sw-0a8d4e36e18346a5.js",{scope:"../../"}).then(e=>{this._isAlreadyActive()&&this._handleActiveSw()},e=>console.error("Budgeteer registration failed: ",e)),navigator.serviceWorker.addEventListener("controllerchange",()=>this._mainThreadToWorker.setEventPoster(navigator.serviceWorker.controller)),window.BudgeteerMeasure={encodeUrl:this.encodeUrl}}encodeUrl(e){return encodeURIComponent(e)}decodeUrl(e){return decodeURIComponent(e)}onCommand(e){if(!this._inLimbo)switch(e){case 6:this._alreadyAdded||this._addIframe()}}}}}}));
|
|
2
2
|
//# sourceMappingURL=budgeteer-measure.nomodule.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as __decorate,i as inject}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=component-dimensioning-
|
|
1
|
+
import{_ as __decorate,i as inject}from"./roomle-dependency-injection-73d145d6.js";import"./main-thread-to-worker-6855fac1.js";const LINE_MATERIAL="component_dimensioning_line_material",PLANE_MATERIAL="component_dimensioning_plane_material",TEXT_MATERIAL="component_dimensioning_text_material";class ComponentDimensioning extends THREE.Object3D{constructor(e,i,t,n){super(),this._center=i.getCenter(new THREE.Vector3),this._size=i.getSize(new THREE.Vector3),this._origin=this._center.clone().sub(this._size.clone().multiplyScalar(.5)),this._dimensioning=e,this._level=this._dimensioning.maxLevel-this._dimensioning.level,this._font=t,this._cameraPosition=n,this._init()}_initMaterials(){this._cacheHolder.materialCache.has(LINE_MATERIAL)?this._lineMaterial=this._cacheHolder.materialCache.get(LINE_MATERIAL):(this._lineMaterial=new THREE.LineBasicMaterial({color:3618615}),this._cacheHolder.materialCache.set(LINE_MATERIAL,this._lineMaterial)),this._cacheHolder.materialCache.has(PLANE_MATERIAL)?this._planeMaterial=this._cacheHolder.materialCache.get(PLANE_MATERIAL):(this._planeMaterial=new THREE.MeshBasicMaterial({color:16777215,side:THREE.DoubleSide,opacity:.8,transparent:!0}),this._cacheHolder.materialCache.set(PLANE_MATERIAL,this._planeMaterial)),this._cacheHolder.materialCache.has(TEXT_MATERIAL)?this._textMaterial=this._cacheHolder.materialCache.get(TEXT_MATERIAL):(this._textMaterial=new THREE.MeshPhongMaterial({color:3618615}),this._cacheHolder.materialCache.set(TEXT_MATERIAL,this._textMaterial))}_init(){this._initMaterials();let e=new THREE.Geometry;this._line=new THREE.Line(e,this._lineMaterial),this._line.name="component dimension line "+this._dimensioning.type.value,this._text=new THREE.Mesh(e,this._textMaterial),this._text.name="component dimension text "+this._dimensioning.type.value,this._plane=new THREE.Mesh(e,this._planeMaterial),this._plane.name="component dimension plane "+this._dimensioning.type.value;let i,t=new THREE.Geometry,n=Math.round(Math.max(this._size.y,this._size.x,this._size.z)),s=Math.abs(this._dimensioning.to-this._dimensioning.from),o=.025+(n<4?0:.005*n);s<.3&&(o*=.5+s);let a={font:this._font,size:o,height:.001,curveSegments:2,bevelEnabled:!0,bevelThickness:.001,bevelSize:.001},h=this._dimensioning.label?this._dimensioning.label:this._unitFormatter.formatMMValueToUnitString(1e3*s),_=new THREE.TextGeometry(h,a);_.computeBoundingBox();let d=_.boundingBox.getSize(new THREE.Vector3).y;if(0===this._dimensioning.type.value&&(i=this._getXEdge(d),this._addXEdgeSideLines(d)),1===this._dimensioning.type.value&&(i=this._getYEdge(d),this._addYEdgeSideLines(d)),2===this._dimensioning.type.value&&(i=this._getZEdge(d),this._addZEdgeSideLines(d)),t.vertices.push(i.start,i.end),this._line.geometry.dispose(),this._line.geometry=t,this.add(this._line),this._text.geometry=_,0===this._dimensioning.type.value&&this._addText(i,_,new THREE.Quaternion,new THREE.Vector3(0,.04,0)),1===this._dimensioning.type.value){let e=new THREE.Quaternion,t=this._getXSign()>0?Math.PI/2:Math.PI/2*3;e.setFromAxisAngle(new THREE.Vector3(0,0,1),t),this._addText(i,_,e,new THREE.Vector3(.04,0,0))}if(2===this._dimensioning.type.value){let e=this._getXSign()>0?Math.PI/2:Math.PI/2*3,t=(new THREE.Quaternion).setFromAxisAngle(new THREE.Vector3(-1,0,0),Math.PI/2),n=(new THREE.Quaternion).setFromAxisAngle(new THREE.Vector3(0,0,1),e);this._addText(i,_,t.multiply(n),new THREE.Vector3(.04,0,0))}}_getXEdge(e){let i=this._size.y+.05+(.06+e)*this._level;const t=new THREE.Vector3(0,this._origin.y,this._origin.z);let n=t.clone().add(new THREE.Vector3(this._dimensioning.from,i,0)),s=t.clone().add(new THREE.Vector3(this._dimensioning.to,i,0));return new THREE.Line3(n,s)}_addXEdgeSideLines(e){let i=this._size.y+.05+(.06+e)*(this._level-.5),t=this._size.y+.05+(.06+e)*this._level;const n=new THREE.Vector3(0,this._origin.y,this._origin.z);let s=n.clone().add(new THREE.Vector3(this._dimensioning.from,i,0)),o=n.clone().add(new THREE.Vector3(this._dimensioning.from,t,0)),a=n.clone().add(new THREE.Vector3(this._dimensioning.to,i,0)),h=n.clone().add(new THREE.Vector3(this._dimensioning.to,t,0));this._addLine(s,o),this._addLine(a,h)}_getZEdge(e){let i=(this._getXSign()>0?this._size.x:0)+.05+(.06+e)*this._level;i*=this._getXSign();const t=new THREE.Vector3(this._origin.x,this._origin.y,0);let n=t.clone().add(new THREE.Vector3(i,0,this._dimensioning.from)),s=t.clone().add(new THREE.Vector3(i,0,this._dimensioning.to));return new THREE.Line3(n,s)}_addZEdgeSideLines(e){let i=this._getXSign()>0?this._size.x:0,t=i+.05+(.06+e)*(this._level-.5),n=i+.05+(.06+e)*this._level;t*=this._getXSign(),n*=this._getXSign();const s=new THREE.Vector3(this._origin.x,this._origin.y,0);let o=s.clone().add(new THREE.Vector3(t,0,this._dimensioning.from)),a=s.clone().add(new THREE.Vector3(n,0,this._dimensioning.from)),h=s.clone().add(new THREE.Vector3(t,0,this._dimensioning.to)),_=s.clone().add(new THREE.Vector3(n,0,this._dimensioning.to));this._addLine(o,a),this._addLine(h,_)}_getYEdge(e){let i=(this._getXSign()>0?this._size.x:0)+.05+(.06+e)*this._level;i*=this._getXSign();const t=new THREE.Vector3(this._origin.x,0,this._origin.z);let n=t.clone().add(new THREE.Vector3(i,this._dimensioning.from,0)),s=t.clone().add(new THREE.Vector3(i,this._dimensioning.to,0));return new THREE.Line3(n,s)}_addYEdgeSideLines(e){let i=this._getXSign()>0?this._size.x:0,t=i+.05+(.06+e)*(this._level-.5),n=i+.05+(.06+e)*this._level;t*=this._getXSign(),n*=this._getXSign();const s=new THREE.Vector3(this._origin.x,0,this._origin.z);let o=s.clone().add(new THREE.Vector3(t,this._dimensioning.from,0)),a=s.clone().add(new THREE.Vector3(n,this._dimensioning.from,0)),h=s.clone().add(new THREE.Vector3(t,this._dimensioning.to,0)),_=s.clone().add(new THREE.Vector3(n,this._dimensioning.to,0));this._addLine(o,a),this._addLine(h,_)}_addLine(e,i){let t=new THREE.Geometry;t.vertices.push(e,i),this.add(new THREE.Line(t,this._lineMaterial))}_addText(e,i,t,n){let s=e.getCenter(new THREE.Vector3);n.x*=this._getXSign(),s.add(n);let o=i.boundingBox.getSize(new THREE.Vector3);i.center(),this._text.position.copy(s),this._text.quaternion.copy(t),this.add(this._text);let a=new THREE.PlaneGeometry(o.x+.02,o.y+.02,32);a.center(),this._plane.geometry=a,this._plane.position.copy(s),this._plane.quaternion.copy(t),this.add(this._plane)}_getXSign(){return this._cameraPosition.x>=0?1:-1}}__decorate([inject],ComponentDimensioning.prototype,"_cacheHolder",void 0),__decorate([inject],ComponentDimensioning.prototype,"_unitFormatter",void 0);export default ComponentDimensioning;
|
|
2
|
+
//# sourceMappingURL=component-dimensioning-76392186.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-dimensioning-76392186.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=component-dimensioning-
|
|
1
|
+
System.register(["./roomle-dependency-injection-542438cf.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js"],(function(e){var i,t;return{setters:[function(e){i=e._,t=e.i},function(){}],execute:function(){const n="component_dimensioning_line_material",s="component_dimensioning_plane_material",o="component_dimensioning_text_material";class h extends THREE.Object3D{constructor(e,i,t,n){super(),this._center=i.getCenter(new THREE.Vector3),this._size=i.getSize(new THREE.Vector3),this._origin=this._center.clone().sub(this._size.clone().multiplyScalar(.5)),this._dimensioning=e,this._level=this._dimensioning.maxLevel-this._dimensioning.level,this._font=t,this._cameraPosition=n,this._init()}_initMaterials(){this._cacheHolder.materialCache.has(n)?this._lineMaterial=this._cacheHolder.materialCache.get(n):(this._lineMaterial=new THREE.LineBasicMaterial({color:3618615}),this._cacheHolder.materialCache.set(n,this._lineMaterial)),this._cacheHolder.materialCache.has(s)?this._planeMaterial=this._cacheHolder.materialCache.get(s):(this._planeMaterial=new THREE.MeshBasicMaterial({color:16777215,side:THREE.DoubleSide,opacity:.8,transparent:!0}),this._cacheHolder.materialCache.set(s,this._planeMaterial)),this._cacheHolder.materialCache.has(o)?this._textMaterial=this._cacheHolder.materialCache.get(o):(this._textMaterial=new THREE.MeshPhongMaterial({color:3618615}),this._cacheHolder.materialCache.set(o,this._textMaterial))}_init(){this._initMaterials();let e=new THREE.Geometry;this._line=new THREE.Line(e,this._lineMaterial),this._line.name="component dimension line "+this._dimensioning.type.value,this._text=new THREE.Mesh(e,this._textMaterial),this._text.name="component dimension text "+this._dimensioning.type.value,this._plane=new THREE.Mesh(e,this._planeMaterial),this._plane.name="component dimension plane "+this._dimensioning.type.value;let i,t=new THREE.Geometry,n=Math.round(Math.max(this._size.y,this._size.x,this._size.z)),s=Math.abs(this._dimensioning.to-this._dimensioning.from),o=.025+(n<4?0:.005*n);s<.3&&(o*=.5+s);let h={font:this._font,size:o,height:.001,curveSegments:2,bevelEnabled:!0,bevelThickness:.001,bevelSize:.001},a=this._dimensioning.label?this._dimensioning.label:this._unitFormatter.formatMMValueToUnitString(1e3*s),_=new THREE.TextGeometry(a,h);_.computeBoundingBox();let d=_.boundingBox.getSize(new THREE.Vector3).y;if(0===this._dimensioning.type.value&&(i=this._getXEdge(d),this._addXEdgeSideLines(d)),1===this._dimensioning.type.value&&(i=this._getYEdge(d),this._addYEdgeSideLines(d)),2===this._dimensioning.type.value&&(i=this._getZEdge(d),this._addZEdgeSideLines(d)),t.vertices.push(i.start,i.end),this._line.geometry.dispose(),this._line.geometry=t,this.add(this._line),this._text.geometry=_,0===this._dimensioning.type.value&&this._addText(i,_,new THREE.Quaternion,new THREE.Vector3(0,.04,0)),1===this._dimensioning.type.value){let e=new THREE.Quaternion,t=this._getXSign()>0?Math.PI/2:Math.PI/2*3;e.setFromAxisAngle(new THREE.Vector3(0,0,1),t),this._addText(i,_,e,new THREE.Vector3(.04,0,0))}if(2===this._dimensioning.type.value){let e=this._getXSign()>0?Math.PI/2:Math.PI/2*3,t=(new THREE.Quaternion).setFromAxisAngle(new THREE.Vector3(-1,0,0),Math.PI/2),n=(new THREE.Quaternion).setFromAxisAngle(new THREE.Vector3(0,0,1),e);this._addText(i,_,t.multiply(n),new THREE.Vector3(.04,0,0))}}_getXEdge(e){let i=this._size.y+.05+(.06+e)*this._level;const t=new THREE.Vector3(0,this._origin.y,this._origin.z);let n=t.clone().add(new THREE.Vector3(this._dimensioning.from,i,0)),s=t.clone().add(new THREE.Vector3(this._dimensioning.to,i,0));return new THREE.Line3(n,s)}_addXEdgeSideLines(e){let i=this._size.y+.05+(.06+e)*(this._level-.5),t=this._size.y+.05+(.06+e)*this._level;const n=new THREE.Vector3(0,this._origin.y,this._origin.z);let s=n.clone().add(new THREE.Vector3(this._dimensioning.from,i,0)),o=n.clone().add(new THREE.Vector3(this._dimensioning.from,t,0)),h=n.clone().add(new THREE.Vector3(this._dimensioning.to,i,0)),a=n.clone().add(new THREE.Vector3(this._dimensioning.to,t,0));this._addLine(s,o),this._addLine(h,a)}_getZEdge(e){let i=(this._getXSign()>0?this._size.x:0)+.05+(.06+e)*this._level;i*=this._getXSign();const t=new THREE.Vector3(this._origin.x,this._origin.y,0);let n=t.clone().add(new THREE.Vector3(i,0,this._dimensioning.from)),s=t.clone().add(new THREE.Vector3(i,0,this._dimensioning.to));return new THREE.Line3(n,s)}_addZEdgeSideLines(e){let i=this._getXSign()>0?this._size.x:0,t=i+.05+(.06+e)*(this._level-.5),n=i+.05+(.06+e)*this._level;t*=this._getXSign(),n*=this._getXSign();const s=new THREE.Vector3(this._origin.x,this._origin.y,0);let o=s.clone().add(new THREE.Vector3(t,0,this._dimensioning.from)),h=s.clone().add(new THREE.Vector3(n,0,this._dimensioning.from)),a=s.clone().add(new THREE.Vector3(t,0,this._dimensioning.to)),_=s.clone().add(new THREE.Vector3(n,0,this._dimensioning.to));this._addLine(o,h),this._addLine(a,_)}_getYEdge(e){let i=(this._getXSign()>0?this._size.x:0)+.05+(.06+e)*this._level;i*=this._getXSign();const t=new THREE.Vector3(this._origin.x,0,this._origin.z);let n=t.clone().add(new THREE.Vector3(i,this._dimensioning.from,0)),s=t.clone().add(new THREE.Vector3(i,this._dimensioning.to,0));return new THREE.Line3(n,s)}_addYEdgeSideLines(e){let i=this._getXSign()>0?this._size.x:0,t=i+.05+(.06+e)*(this._level-.5),n=i+.05+(.06+e)*this._level;t*=this._getXSign(),n*=this._getXSign();const s=new THREE.Vector3(this._origin.x,0,this._origin.z);let o=s.clone().add(new THREE.Vector3(t,this._dimensioning.from,0)),h=s.clone().add(new THREE.Vector3(n,this._dimensioning.from,0)),a=s.clone().add(new THREE.Vector3(t,this._dimensioning.to,0)),_=s.clone().add(new THREE.Vector3(n,this._dimensioning.to,0));this._addLine(o,h),this._addLine(a,_)}_addLine(e,i){let t=new THREE.Geometry;t.vertices.push(e,i),this.add(new THREE.Line(t,this._lineMaterial))}_addText(e,i,t,n){let s=e.getCenter(new THREE.Vector3);n.x*=this._getXSign(),s.add(n);let o=i.boundingBox.getSize(new THREE.Vector3);i.center(),this._text.position.copy(s),this._text.quaternion.copy(t),this.add(this._text);let h=new THREE.PlaneGeometry(o.x+.02,o.y+.02,32);h.center(),this._plane.geometry=h,this._plane.position.copy(s),this._plane.quaternion.copy(t),this.add(this._plane)}_getXSign(){return this._cameraPosition.x>=0?1:-1}}e("default",h),i([t],h.prototype,"_cacheHolder",void 0),i([t],h.prototype,"_unitFormatter",void 0)}}}));
|
|
2
|
+
//# sourceMappingURL=component-dimensioning-d5809679.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-dimensioning-d5809679.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=component-raycast-helper-
|
|
1
|
+
System.register(["./roomle-dependency-injection-542438cf.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js"],(function(e){var t,i;return{setters:[function(e){t=e.a5},function(e){i=e.t}],execute:function(){e("default",class{constructor(){this._nonTransparentComponent=null,this._raycaster=new THREE.Raycaster,this._raycaster.near=.1,this._raycaster.layers.enable(3)}init(e,t){this._scene=e,this._camera=t,this.checkComponentVisibility=i(this.checkComponentVisibility,100).bind(this),this.checkPreviewVisibility=i(this.checkPreviewVisibility,100).bind(this)}changeMaterialsOnSelect(e,t,i=!1){t!==this._nonTransparentComponent&&(this._nonTransparentComponent=t,this._changeMaterialsOnSelect(e,t,i))}_changeMaterialsOnSelect(e,i,n=!1){if(e.children.length>0&&e.children.forEach(t=>{const s=i&&e.id===i.id||n,a=!(t instanceof THREE.Mesh);this._changeMaterialsOnSelect(t,i,(!s||!a)&&s)}),i)e instanceof THREE.Mesh&&e.material instanceof THREE.MeshStandardMaterial&&!e.userData.oldMaterial&&(e.userData.oldMaterial=e.material,e.material=e.material.clone(),n||t(e,{opacity:.2,transparent:!0}));else if(e.userData.oldMaterial&&e instanceof THREE.Mesh&&e.material instanceof THREE.MeshStandardMaterial){const{opacity:i,transparent:n}=e.userData.oldMaterial;t(e,{opacity:i,transparent:n}),e.userData.oldMaterial=void 0}}isComponentVisible(e){const t=[];e.traverse(e=>t.push(e.uuid));const i=(new THREE.Box3).setFromObject(e).getCenter(new THREE.Vector3),n=(new THREE.Vector3).subVectors(i,this._camera.position).normalize();this._raycaster.set(this._camera.position,n),this._raycaster.far=this._camera.position.distanceTo(i);const s=[];return this._raycaster.intersectObjects(this._scene.children,!0).forEach(e=>{e.object.material.visible&&(t.includes(e.object.uuid)||e.object.userData.ignoreComponentRaycast||s.push(e))}),0===s.length}checkComponentAndPreviewVisibility(e,t){e.hasSelection()?this.checkComponentVisibility(e,t):t.hasPreviews()?this.checkPreviewVisibility(t):this.changeMaterialsOnSelect(this._scene,null)}checkComponentVisibility(e,t){if(!e.hasSelection())return;const i=t.getComponentsForIds(e.getSelectedRuntimeComponentIds());if(i.length>1)return;const n=i[0];this.isComponentVisible(n)?this.changeMaterialsOnSelect(this._scene,null):this.changeMaterialsOnSelect(this._scene,n)}areAllPreviewsVisible(e){if(!e.hasPreviews())return!0;const t=e.getPreviews();return 0===t.length||t.map(e=>this.isComponentVisible(e)).reduce((e,t)=>e&&t)}areAllComponentsInFrustum(e){if(0===e.length)return!0;const t=new THREE.Frustum,i=(new THREE.Matrix4).multiplyMatrices(this._camera.projectionMatrix,this._camera.matrixWorldInverse),n=new THREE.Box3;return t.setFromProjectionMatrix(i),e.map(e=>(e=>{const i=n.setFromObject(e).getCenter(new THREE.Vector3);return t.containsPoint(i)})(e)).reduce((e,t)=>e&&t)}checkPreviewVisibility(e){this.areAllPreviewsVisible(e)?this.changeMaterialsOnSelect(this._scene,null):this.changeMaterialsOnSelect(this._scene,{id:-1})}})}}}));
|
|
2
|
+
//# sourceMappingURL=component-raycast-helper-b4e125c5.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-raycast-helper-b4e125c5.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a5 as transitionTransparencyOfMaterial}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=component-raycast-helper-
|
|
1
|
+
import{a5 as transitionTransparencyOfMaterial}from"./roomle-dependency-injection-73d145d6.js";import{t as throttle}from"./main-thread-to-worker-6855fac1.js";export default class{constructor(){this._nonTransparentComponent=null,this._raycaster=new THREE.Raycaster,this._raycaster.near=.1,this._raycaster.layers.enable(3)}init(e,t){this._scene=e,this._camera=t,this.checkComponentVisibility=throttle(this.checkComponentVisibility,100).bind(this),this.checkPreviewVisibility=throttle(this.checkPreviewVisibility,100).bind(this)}changeMaterialsOnSelect(e,t,i=!1){t!==this._nonTransparentComponent&&(this._nonTransparentComponent=t,this._changeMaterialsOnSelect(e,t,i))}_changeMaterialsOnSelect(e,t,i=!1){if(e.children.length>0&&e.children.forEach(n=>{const a=t&&e.id===t.id||i,s=!(n instanceof THREE.Mesh);this._changeMaterialsOnSelect(n,t,(!a||!s)&&a)}),t)e instanceof THREE.Mesh&&e.material instanceof THREE.MeshStandardMaterial&&!e.userData.oldMaterial&&(e.userData.oldMaterial=e.material,e.material=e.material.clone(),i||transitionTransparencyOfMaterial(e,{opacity:.2,transparent:!0}));else if(e.userData.oldMaterial&&e instanceof THREE.Mesh&&e.material instanceof THREE.MeshStandardMaterial){const{opacity:t,transparent:i}=e.userData.oldMaterial;transitionTransparencyOfMaterial(e,{opacity:t,transparent:i}),e.userData.oldMaterial=void 0}}isComponentVisible(e){const t=[];e.traverse(e=>t.push(e.uuid));const i=(new THREE.Box3).setFromObject(e).getCenter(new THREE.Vector3),n=(new THREE.Vector3).subVectors(i,this._camera.position).normalize();this._raycaster.set(this._camera.position,n),this._raycaster.far=this._camera.position.distanceTo(i);const a=[];return this._raycaster.intersectObjects(this._scene.children,!0).forEach(e=>{e.object.material.visible&&(t.includes(e.object.uuid)||e.object.userData.ignoreComponentRaycast||a.push(e))}),0===a.length}checkComponentAndPreviewVisibility(e,t){e.hasSelection()?this.checkComponentVisibility(e,t):t.hasPreviews()?this.checkPreviewVisibility(t):this.changeMaterialsOnSelect(this._scene,null)}checkComponentVisibility(e,t){if(!e.hasSelection())return;const i=t.getComponentsForIds(e.getSelectedRuntimeComponentIds());if(i.length>1)return;const n=i[0];this.isComponentVisible(n)?this.changeMaterialsOnSelect(this._scene,null):this.changeMaterialsOnSelect(this._scene,n)}areAllPreviewsVisible(e){if(!e.hasPreviews())return!0;const t=e.getPreviews();return 0===t.length||t.map(e=>this.isComponentVisible(e)).reduce((e,t)=>e&&t)}areAllComponentsInFrustum(e){if(0===e.length)return!0;const t=new THREE.Frustum,i=(new THREE.Matrix4).multiplyMatrices(this._camera.projectionMatrix,this._camera.matrixWorldInverse),n=new THREE.Box3;return t.setFromProjectionMatrix(i),e.map(e=>(e=>{const i=n.setFromObject(e).getCenter(new THREE.Vector3);return t.containsPoint(i)})(e)).reduce((e,t)=>e&&t)}checkPreviewVisibility(e){this.areAllPreviewsVisible(e)?this.changeMaterialsOnSelect(this._scene,null):this.changeMaterialsOnSelect(this._scene,{id:-1})}}
|
|
2
|
+
//# sourceMappingURL=component-raycast-helper-ca215c06.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-raycast-helper-ca215c06.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./query-params-helper-c231e1b8.nomodule.js","./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=configurator-
|
|
1
|
+
System.register(["./query-params-helper-c231e1b8.nomodule.js","./roomle-dependency-injection-542438cf.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js","./roomle-configurator-3f28fbce.nomodule.js","./pixotron-d4d9f3c5.nomodule.js","./script-loader-28978567.nomodule.js","./component-raycast-helper-b4e125c5.nomodule.js","./default-light-setting-240e30fc.nomodule.js"],(function(e){var o,n,t,r,c,i,a,s,l,u,p,d,f,g;return{setters:[function(){},function(e){o=e.D,n=e.L,t=e.R,r=e.a,c=e.C,i=e.b,a=e.A},function(){},function(e){s=e.C,l=e.R},function(e){u=e.C,p=e.a},function(e){d=e.S,f=e.M},function(e){g=e.default},function(){}],execute:function(){const h=[new o("logger",n),new o("rapi-access",t),new o("script-loader",d),new o("camera-control-3d",u),new o("camera-control",p),new o("data-syncer",r),new o("configurator-scene-manager",s,1),new o("configurator-view-model",c,1),new o("component-raycast-helper",g,0)];e("Configurator",class extends f{setupDependencies(){i.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"),n=(this.lookup("dom-helper"),this.lookup("configurator-scene-manager"));e&&e.cleanUp(),o&&o.cleanUp(),n&&n.cleanUp()}setupGlobals(e){const{kernelInstance:o,kernelContainer:n,planObjectId:t}=e||{};a.init({kernelInstance:o,kernelContainer:n,planObjectId:t})}getApi(){return this._configurator}bootFinished(){this._configurator=new l(this._context),this._configurator.getMain=()=>this,window.RoomleConfigurator||(window.RoomleConfigurator=this._configurator)}getContextName(){return"configurator"}})}}}));
|
|
2
|
+
//# sourceMappingURL=configurator-8a44be14.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-8a44be14.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./query-params-helper-a271f9dc.js";import{D as DependencyInjectionAssignment,L as Logger,R as RapiAccess,a as DataSyncer,C as ConfiguratorViewModel,b as RoomleDependencyInjection,A as AppContext}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=configurator-
|
|
1
|
+
import"./query-params-helper-a271f9dc.js";import{D as DependencyInjectionAssignment,L as Logger,R as RapiAccess,a as DataSyncer,C as ConfiguratorViewModel,b as RoomleDependencyInjection,A as AppContext}from"./roomle-dependency-injection-73d145d6.js";import"./main-thread-to-worker-6855fac1.js";import{C as ConfiguratorSceneManager,R as RoomleConfigurator}from"./roomle-configurator-5ea156b5.js";import{C as CameraControl3D,a as CameraControl}from"./pixotron-19560dd3.js";import{S as ScriptLoader,M as Main}from"./script-loader-44260bbc.js";import ComponentRaycastHelper from"./component-raycast-helper-ca215c06.js";import"./default-light-setting-550c2b37.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"),o=(this.lookup("dom-helper"),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-fe405f13.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-fe405f13.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./query-params-helper-a271f9dc.js";import"./roomle-dependency-injection-73d145d6.js";import"./main-thread-to-worker-6855fac1.js";import"./roomle-configurator-5ea156b5.js";import"./pixotron-19560dd3.js";import"./script-loader-44260bbc.js";import"./component-raycast-helper-ca215c06.js";import"./default-light-setting-550c2b37.js";import{Configurator}from"./configurator-fe405f13.js";(new Configurator).boot(),window.requestIdleCallback||(window.requestIdleCallback=o=>setTimeout(()=>{let e=Date.now();o({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(o){clearTimeout(o)});
|
|
2
|
+
//# sourceMappingURL=configurator-main-33393ef4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator-main-33393ef4.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./query-params-helper-c231e1b8.nomodule.js","./roomle-dependency-injection-
|
|
1
|
+
System.register(["./query-params-helper-c231e1b8.nomodule.js","./roomle-dependency-injection-542438cf.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js","./roomle-configurator-3f28fbce.nomodule.js","./pixotron-d4d9f3c5.nomodule.js","./script-loader-28978567.nomodule.js","./component-raycast-helper-b4e125c5.nomodule.js","./default-light-setting-240e30fc.nomodule.js","./configurator-8a44be14.nomodule.js"],(function(){var e;return{setters:[function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(o){e=o.Configurator}],execute:function(){(new e).boot(),window.requestIdleCallback||(window.requestIdleCallback=e=>setTimeout(()=>{let o=Date.now();e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-o))})},1)),window.cancelIdleCallback||(window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)})}}}));
|
|
2
2
|
//# sourceMappingURL=configurator-main.nomodule.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=continuous-drawing-helper-
|
|
1
|
+
System.register(["./roomle-dependency-injection-542438cf.nomodule.js","./main-thread-to-worker-155d670a.nomodule.js"],(function(e){var i;return{setters:[function(e){i=e.a7},function(){}],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=e+e/50,t=new THREE.RingGeometry(e,i,32),r=new THREE.MeshBasicMaterial({color:10066329,side:THREE.DoubleSide});this._circleMesh=new THREE.Mesh(t,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 THREE.RingGeometry(e,i,32)}const t=i(this._continuousDrawingManager.getStartPoint());t.y=5,this._circleMesh.position.copy(t),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-2b6c76c6.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"continuous-drawing-helper-2b6c76c6.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a7 as convertToTHREE}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=continuous-drawing-helper-
|
|
1
|
+
import{a7 as convertToTHREE}from"./roomle-dependency-injection-73d145d6.js";import"./main-thread-to-worker-6855fac1.js";export 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=e+e/50,t=new THREE.RingGeometry(e,i,32),r=new THREE.MeshBasicMaterial({color:10066329,side:THREE.DoubleSide});this._circleMesh=new THREE.Mesh(t,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 THREE.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}}
|
|
2
|
+
//# sourceMappingURL=continuous-drawing-helper-b585458e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"continuous-drawing-helper-b585458e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=default-light-setting-
|
|
1
|
+
System.register(["./roomle-dependency-injection-542438cf.nomodule.js","./pixotron-d4d9f3c5.nomodule.js"],(function(i){var t,a;return{setters:[function(i){t=i.l},function(i){a=i.L}],execute:function(){i("D",class extends a{constructor(i,t){super(i,t),this._params={ambientLight:{color:"#ffffff"},mainDirLight:{position:{x:-3,y:4,z:4},color:"#ffffff"},secondDirLight:{position:{x:3,y:4,z:3},color:"#ffffff"}},this._mainDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.mainDirLight.color),.8),this._mainDirectionalLight.position.set(this._params.mainDirLight.position.x,this._params.mainDirLight.position.y,this._params.mainDirLight.position.z),this._mainDirectionalLight.layers.set(1),this._mainDirectionalLight.castShadow=!0,this._mainDirectionalLight.shadow.camera.near=.1,this._mainDirectionalLight.shadow.camera.far=100,this._mainDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._secondDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.secondDirLight.color),.2),this._secondDirectionalLight.position.set(this._params.secondDirLight.position.x,this._params.secondDirLight.position.y,this._params.secondDirLight.position.z),this._secondDirectionalLight.layers.set(1),this._secondDirectionalLight.castShadow=!1,this._secondDirectionalLight.shadow.camera.near=.1,this._secondDirectionalLight.shadow.camera.far=100,this._secondDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._ambientLight=new THREE.AmbientLight(new THREE.Color(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new THREE.Vector3),a=Math.max(Math.max(t.x,t.y),t.z)+1,o=a/2;this._mainDirectionalLight.shadow.camera.top=o,this._mainDirectionalLight.shadow.camera.bottom=-o,this._mainDirectionalLight.shadow.camera.left=-o,this._mainDirectionalLight.shadow.camera.right=o,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=o,this._secondDirectionalLight.shadow.camera.bottom=-o,this._secondDirectionalLight.shadow.camera.left=-o,this._secondDirectionalLight.shadow.camera.right=o,this._secondDirectionalLight.shadow.camera.near=.01,this._secondDirectionalLight.shadow.camera.far=4*a,this._secondDirectionalLight.shadow.camera.updateProjectionMatrix()}addToScene(){this._scene.add(this._mainDirectionalLight),this._scene.add(this._secondDirectionalLight),this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._mainDirectionalLight),this._scene.remove(this._secondDirectionalLight),this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let i=t();if(i){if(this._ambientLight){let t=i.addFolder("Ambient Light");t.add(this._ambientLight,"visible"),t.add(this._ambientLight,"intensity").min(0).max(5).step(.1),t.addColor(this._params.ambientLight,"color").onChange(i=>this._ambientLight.color=new THREE.Color(i))}if(this._mainDirectionalLight){let t=i.addFolder("Main Directional Light");t.add(this._mainDirectionalLight,"visible"),t.add(this._mainDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._mainDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}if(this._secondDirectionalLight){let t=i.addFolder("Second Directional Light");t.add(this._secondDirectionalLight,"visible"),t.add(this._secondDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._secondDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}}}})}}}));
|
|
2
|
+
//# sourceMappingURL=default-light-setting-240e30fc.nomodule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-240e30fc.nomodule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{l as getGUI}from"./roomle-dependency-injection-
|
|
2
|
-
//# sourceMappingURL=default-light-setting-
|
|
1
|
+
import{l as getGUI}from"./roomle-dependency-injection-73d145d6.js";import{L as LightSetting}from"./pixotron-19560dd3.js";class DefaultLightSetting extends LightSetting{constructor(i,t){super(i,t),this._params={ambientLight:{color:"#ffffff"},mainDirLight:{position:{x:-3,y:4,z:4},color:"#ffffff"},secondDirLight:{position:{x:3,y:4,z:3},color:"#ffffff"}},this._mainDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.mainDirLight.color),.8),this._mainDirectionalLight.position.set(this._params.mainDirLight.position.x,this._params.mainDirLight.position.y,this._params.mainDirLight.position.z),this._mainDirectionalLight.layers.set(1),this._mainDirectionalLight.castShadow=!0,this._mainDirectionalLight.shadow.camera.near=.1,this._mainDirectionalLight.shadow.camera.far=100,this._mainDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._mainDirectionalLight.visible=!0,this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._secondDirectionalLight=new THREE.DirectionalLight(new THREE.Color(this._params.secondDirLight.color),.2),this._secondDirectionalLight.position.set(this._params.secondDirLight.position.x,this._params.secondDirLight.position.y,this._params.secondDirLight.position.z),this._secondDirectionalLight.layers.set(1),this._secondDirectionalLight.castShadow=!1,this._secondDirectionalLight.shadow.camera.near=.1,this._secondDirectionalLight.shadow.camera.far=100,this._secondDirectionalLight.shadow.mapSize=new THREE.Vector2(1024,1024),this._secondDirectionalLight.visible=!0,this._secondDirectionalLight.lookAt(new THREE.Vector3(0,0,0)),this._ambientLight=new THREE.AmbientLight(new THREE.Color(this._params.ambientLight.color),.5),this._ambientLight.layers.set(1),this.addToScene()}needsBounds(){return!0}updateBounds(i){const t=i.getSize(new THREE.Vector3),a=Math.max(Math.max(t.x,t.y),t.z)+1,o=a/2;this._mainDirectionalLight.shadow.camera.top=o,this._mainDirectionalLight.shadow.camera.bottom=-o,this._mainDirectionalLight.shadow.camera.left=-o,this._mainDirectionalLight.shadow.camera.right=o,this._mainDirectionalLight.shadow.camera.near=.01,this._mainDirectionalLight.shadow.camera.far=4*a,this._mainDirectionalLight.shadow.camera.updateProjectionMatrix(),this._secondDirectionalLight.shadow.camera.top=o,this._secondDirectionalLight.shadow.camera.bottom=-o,this._secondDirectionalLight.shadow.camera.left=-o,this._secondDirectionalLight.shadow.camera.right=o,this._secondDirectionalLight.shadow.camera.near=.01,this._secondDirectionalLight.shadow.camera.far=4*a,this._secondDirectionalLight.shadow.camera.updateProjectionMatrix()}addToScene(){this._scene.add(this._mainDirectionalLight),this._scene.add(this._secondDirectionalLight),this._scene.add(this._ambientLight)}removeFromScene(){this._scene.remove(this._mainDirectionalLight),this._scene.remove(this._secondDirectionalLight),this._scene.remove(this._ambientLight)}reload(){this.removeFromScene(),this.addToScene()}showGUI(){let i=getGUI();if(i){if(this._ambientLight){let t=i.addFolder("Ambient Light");t.add(this._ambientLight,"visible"),t.add(this._ambientLight,"intensity").min(0).max(5).step(.1),t.addColor(this._params.ambientLight,"color").onChange(i=>this._ambientLight.color=new THREE.Color(i))}if(this._mainDirectionalLight){let t=i.addFolder("Main Directional Light");t.add(this._mainDirectionalLight,"visible"),t.add(this._mainDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._mainDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._mainDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._mainDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}if(this._secondDirectionalLight){let t=i.addFolder("Second Directional Light");t.add(this._secondDirectionalLight,"visible"),t.add(this._secondDirectionalLight,"intensity").min(0).max(10).step(.1),t.add(this._secondDirectionalLight,"castShadow"),t.addColor(this._params.mainDirLight,"color").onChange(i=>this._mainDirectionalLight.color=new THREE.Color(i)),t.add(this._secondDirectionalLight.position,"x").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"y").min(-10).max(50).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0))),t.add(this._secondDirectionalLight.position,"z").min(-10).max(10).step(.1).onChange(()=>this._mainDirectionalLight.lookAt(new THREE.Vector3(0,0,0)))}}}}export{DefaultLightSetting as D};
|
|
2
|
+
//# sourceMappingURL=default-light-setting-550c2b37.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-light-setting-550c2b37.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -44,6 +44,20 @@ export declare const getMockMinimalKernelContainer: (kernelInstance?: any) => {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
EMSReference: () => void;
|
|
47
|
+
WallType: {
|
|
48
|
+
StandAloneWall: {
|
|
49
|
+
value: number;
|
|
50
|
+
};
|
|
51
|
+
OuterWallLeft: {
|
|
52
|
+
value: number;
|
|
53
|
+
};
|
|
54
|
+
OuterWallRight: {
|
|
55
|
+
value: number;
|
|
56
|
+
};
|
|
57
|
+
InnerWall: {
|
|
58
|
+
value: number;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
47
61
|
};
|
|
48
62
|
export declare const MOCK_MINIMAL_KERNEL_CONTAINER: {
|
|
49
63
|
setExternalHelpers: () => void;
|
|
@@ -76,6 +90,20 @@ export declare const MOCK_MINIMAL_KERNEL_CONTAINER: {
|
|
|
76
90
|
};
|
|
77
91
|
};
|
|
78
92
|
EMSReference: () => void;
|
|
93
|
+
WallType: {
|
|
94
|
+
StandAloneWall: {
|
|
95
|
+
value: number;
|
|
96
|
+
};
|
|
97
|
+
OuterWallLeft: {
|
|
98
|
+
value: number;
|
|
99
|
+
};
|
|
100
|
+
OuterWallRight: {
|
|
101
|
+
value: number;
|
|
102
|
+
};
|
|
103
|
+
InnerWall: {
|
|
104
|
+
value: number;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
79
107
|
};
|
|
80
108
|
export declare const MOCK_PLAN_INTERACTION_HANDLER: {
|
|
81
109
|
addPlanObjects: () => void;
|
|
@@ -124,6 +124,7 @@ export default class ConfiguratorKernelAccess extends CommonKernelAccess {
|
|
|
124
124
|
getParameterGroups(): KernelParameterGroup[];
|
|
125
125
|
resume(): void;
|
|
126
126
|
getSerializedConfiguration(objectId: number): string;
|
|
127
|
+
createNewSerializedConfiguration(configurationRuntimeId: number): string;
|
|
127
128
|
getCurrentConfigurationHash(planObjectId: number): ConfigurationHash;
|
|
128
129
|
listOfVariants: (_componentId: RapiId, _list: VariantsList) => void;
|
|
129
130
|
listOfVariantsError(dbId: RapiId, error: string): void;
|
|
@@ -29,6 +29,7 @@ export default abstract class CommonKernelAccess implements LifeCycleCallbacks,
|
|
|
29
29
|
protected _kernelIo: KernelIo;
|
|
30
30
|
protected _dataSyncer: DataSyncer;
|
|
31
31
|
private _lifeCycleManager;
|
|
32
|
+
private _requestedItemIds;
|
|
32
33
|
private _requestedMaterialIds;
|
|
33
34
|
protected _configuratorUiCallbacks: ConfiguratorUiCallbacks;
|
|
34
35
|
protected _globalCallback: GlobalCallback;
|
|
@@ -86,6 +87,7 @@ export default abstract class CommonKernelAccess implements LifeCycleCallbacks,
|
|
|
86
87
|
getConfigurationData(planObjectId: number): Promise<unknown>;
|
|
87
88
|
loadComponent(conversationId: number, configuration: ConfigurationObject, parentId: number): void;
|
|
88
89
|
loadSubComponent(parentId: number, partId: number, componentId: string): void;
|
|
90
|
+
loadItemConfigurations(conversationId: number, itemIds: string[]): Promise<void>;
|
|
89
91
|
requestDeleteComponent(componentId: number): void;
|
|
90
92
|
dockComponentWithPosition(parentId: number, parentDockId: number, childId: number, childDockId: number, position: KernelVector3): void;
|
|
91
93
|
Editor3dAddBakedMesh(runtimeComponentId: number, materialId: string, vertices: Int32Array, indices: Int32Array, uvCoords: Float32Array, normals: Float32Array, environmentGeometry: boolean): void;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import '../../../typings/global-definitions';
|
|
2
2
|
import { RapiItem, RapiMaterial, RapiTexture } from '../../../typings/rapi-types';
|
|
3
|
+
import { KernelFloorMaterial, KernelWallMaterial } from '../../../typings/planner';
|
|
4
|
+
import { BatchPaintMaterial } from '../../../planner-core/src/roomle-planner';
|
|
3
5
|
export declare const enum CURSOR_STYLE {
|
|
4
6
|
HOVER = "pointer",
|
|
5
7
|
DEFAULT = "default",
|
|
@@ -57,3 +59,12 @@ export declare const isWebGl2: () => boolean;
|
|
|
57
59
|
* @param name the tag under which it will be logged
|
|
58
60
|
*/
|
|
59
61
|
export declare const traceMethodCalls: (obj: object, name: string) => any;
|
|
62
|
+
export declare const parseColorToHexDecimal: (color: string) => number;
|
|
63
|
+
/**
|
|
64
|
+
* Copies the properties of an incoming material to a kernel material, used mainly
|
|
65
|
+
* to avoid copying core data when applying a material to a planObject
|
|
66
|
+
* @param materialPtr Kernel material pointer to apply properties to
|
|
67
|
+
* @param material material to copy color properties from
|
|
68
|
+
*/
|
|
69
|
+
export declare const applyMaterialToKernelMaterial: (materialPtr: KernelWallMaterial | KernelFloorMaterial, material: BatchPaintMaterial) => KernelWallMaterial | KernelFloorMaterial;
|
|
70
|
+
export declare const download: (filename: string, content: string) => void;
|
|
@@ -120,4 +120,5 @@ export default abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
120
120
|
protected updateEnvironment(bounds?: THREE.Box3, force?: boolean): void;
|
|
121
121
|
protected _onCameraIdle(): boolean;
|
|
122
122
|
protected _onCameraMove(): boolean;
|
|
123
|
+
exportImageFromCamera(): Promise<string>;
|
|
123
124
|
}
|
|
@@ -658,5 +658,6 @@ export default class RoomleConfigurator implements GlobalAPI, Context, KernelUti
|
|
|
658
658
|
*/
|
|
659
659
|
getComponent(componentRuntimeId: number): import("../../typings/kernel").KernelComponent;
|
|
660
660
|
getTools(): Promise<RoomleToolsCore>;
|
|
661
|
+
exportImageFromCamera(filename?: string): Promise<void>;
|
|
661
662
|
}
|
|
662
663
|
export {};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { PlanObject } from '../../typings/planner';
|
|
1
|
+
import { PlanObject, WallPlanObject } from '../../typings/planner';
|
|
2
2
|
import { RapiItem } from '../../typings/rapi-types';
|
|
3
3
|
import { PlanElementType } from '../../typings/planner-kernel-container';
|
|
4
4
|
export declare const PLAN_OBJECT_ROTATION: number;
|
|
5
5
|
export declare const createPlanObject: (type?: PlanElementType) => PlanObject;
|
|
6
6
|
export declare const getRapiItem: () => RapiItem;
|
|
7
|
+
export declare const getWallPlanObject: (wallType?: any) => WallPlanObject;
|
|
8
|
+
export declare const getFloorPlanObject: () => PlanObject;
|
|
7
9
|
export declare const MOCK_RUNTIME_COMPONENTID = 49;
|
|
8
10
|
export declare const MOCK_MESHID = "adidas-focs:ShelfTable_Table_Large_Metall";
|
|
9
11
|
export declare const MOCK_MESH_ID_NUMBER = 42;
|
|
@@ -18,4 +20,5 @@ export declare const MOCK_NORMALS: Float32Array;
|
|
|
18
20
|
export declare const MOCK_RAPIMATERIAL: any;
|
|
19
21
|
export declare const MOCK_PLANNER_SCENE_EVENT_HANDLER: {
|
|
20
22
|
addPlanObjectHandlers: () => void;
|
|
23
|
+
addWallHandlers: () => void;
|
|
21
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UiCallback } from '../../common-core/src/utils/ui-callback';
|
|
2
|
-
import { PlanInteractionHandler, PlanObjectPosition } from '../../typings/planner';
|
|
2
|
+
import { CancelSelectionReasons, PlanInteractionHandler, PlanObjectPosition } from '../../typings/planner';
|
|
3
3
|
import { ConfiguratorKernelClass, UiPlanObject } from '../../typings/kernel';
|
|
4
4
|
import { PlannerKernelContainer } from '../../typings/planner-kernel-container';
|
|
5
5
|
import { CAMERA_TYPE } from '../../common-core/src/cameracontrol/camera-type';
|
|
@@ -53,7 +53,7 @@ export default class RoomlePlannerUiCallback extends UiCallback {
|
|
|
53
53
|
/**
|
|
54
54
|
* When an item selection has been canceled
|
|
55
55
|
*/
|
|
56
|
-
onSelectionCancel: () => void;
|
|
56
|
+
onSelectionCancel: (reason: CancelSelectionReasons) => void;
|
|
57
57
|
/**
|
|
58
58
|
* When something in the plan has changed
|
|
59
59
|
*/
|
|
@@ -3,9 +3,9 @@ import { GlbViewer } from '../../glb-viewer-core/src/glb-viewer';
|
|
|
3
3
|
import Main, { ExternalEmbeddable, GlobalAPI, KernelUtilityForUi, RubensAPI } from '../../common-core/src/main';
|
|
4
4
|
import { Configurator } from '../../configurator-core/src/configurator';
|
|
5
5
|
import { GlobalInitDataDefinition, InitDataDefinition } from '../../common-core/src/utils/shims';
|
|
6
|
-
import { RapiId, RapiItem, RapiPlan, RapiPlanSnapshotGetData } from '../../typings/rapi-types';
|
|
6
|
+
import { ConfigurationString, RapiId, RapiItem, RapiPlan, RapiPlanSnapshotGetData } from '../../typings/rapi-types';
|
|
7
7
|
import { Context } from '../../common-core/src/di/context';
|
|
8
|
-
import { KernelObject, KernelWall, PlanInteractionHandler, PlanModelViewHelper, PlanOverview } from '../../typings/planner';
|
|
8
|
+
import { CancelSelectionReasons, KernelObject, KernelWall, PlanInteractionHandler, PlanModelViewHelper, PlanOverview } from '../../typings/planner';
|
|
9
9
|
import { KernelAccessCallbackI } from '../../common-core/src/kernel-access-callback';
|
|
10
10
|
import InitData from '../../common-core/src/utils/init-data';
|
|
11
11
|
import { CanvasOffset, Position3 } from '../../common-core/src/common-interfaces';
|
|
@@ -16,6 +16,7 @@ import UnitFormatter from '../../configurator-core/src/services/unit-formatter';
|
|
|
16
16
|
import RoomleConfigurator from '../../configurator-core/src/roomle-configurator';
|
|
17
17
|
import { PlannerKernelContainer } from '../../typings/planner-kernel-container';
|
|
18
18
|
import { CameraParameter } from '../../common-core/src/cameracontrol/camera-control';
|
|
19
|
+
import PlanElementViewModel from '../../common-core/src/view-model/plan-element-view-model';
|
|
19
20
|
export interface RoomlePlannerCallback {
|
|
20
21
|
switchToConfigurator: () => Promise<Configurator>;
|
|
21
22
|
switchToViewer: () => Promise<GlbViewer>;
|
|
@@ -44,6 +45,12 @@ export interface SceneEvents {
|
|
|
44
45
|
*/
|
|
45
46
|
objects?: boolean;
|
|
46
47
|
}
|
|
48
|
+
export interface BatchPaintMaterial {
|
|
49
|
+
materialId?: RapiId;
|
|
50
|
+
color?: string;
|
|
51
|
+
rgbValue?: number;
|
|
52
|
+
catalogItemId?: RapiId;
|
|
53
|
+
}
|
|
47
54
|
export default class RoomlePlanner implements KernelAccessCallbackI, RoomlePlannerCallback, GlobalAPI, Context, KernelUtilityForUi, ExternalEmbeddable<RoomlePlannerUiCallback>, RubensAPI {
|
|
48
55
|
_creator_: string;
|
|
49
56
|
private _domHelper;
|
|
@@ -75,7 +82,7 @@ export default class RoomlePlanner implements KernelAccessCallbackI, RoomlePlann
|
|
|
75
82
|
* @param rotateBy angle in rad
|
|
76
83
|
*/
|
|
77
84
|
rotateSelection(rotateBy: number): void;
|
|
78
|
-
cancelSelection(): void;
|
|
85
|
+
cancelSelection(reason?: CancelSelectionReasons): void;
|
|
79
86
|
init(element: HTMLElement, preloadPlanId?: string, options?: InitData): Promise<void>;
|
|
80
87
|
loadPlanXml(xml: string, options?: InitData): Promise<void>;
|
|
81
88
|
loadPlan(id: string, options?: InitData): Promise<RapiPlan | RapiPlanSnapshotGetData>;
|
|
@@ -235,4 +242,16 @@ export default class RoomlePlanner implements KernelAccessCallbackI, RoomlePlann
|
|
|
235
242
|
saveCurrentPlanSnapshot(parentPlanId?: RapiId): Promise<RapiPlanSnapshotGetData>;
|
|
236
243
|
getPlanXmlFrom(plan: RapiPlan | RapiPlanSnapshotGetData): any;
|
|
237
244
|
moveCamera(cameraParameter: CameraParameter): Promise<void>;
|
|
245
|
+
createNewSerializedConfiguration(configurationRuntimeId: number): Promise<ConfigurationString>;
|
|
246
|
+
changeInteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
247
|
+
changeExteriorWallsMaterial(material: BatchPaintMaterial): void;
|
|
248
|
+
changeFloorsMaterial(material: BatchPaintMaterial): void;
|
|
249
|
+
/**
|
|
250
|
+
* Swap two plan objects in the scene in the same position for example swap two object variants
|
|
251
|
+
* @param old this is the current selected plan object
|
|
252
|
+
* @param idOfNew the RAPI id of the new plan object
|
|
253
|
+
* returns runtime ID of the new object
|
|
254
|
+
*/
|
|
255
|
+
swapObject(old: PlanElementViewModel, idOfNew: RapiId): Promise<number>;
|
|
256
|
+
exportImageFromCamera(filename?: string): Promise<void>;
|
|
238
257
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import EventDispatcher from '../../../configurator-core/src/utils/event-dispatcher';
|
|
2
2
|
import PlanElementViewModel from '../../../common-core/src/view-model/plan-element-view-model';
|
|
3
|
+
import { CancelSelectionReasons } from '../../../typings/planner';
|
|
3
4
|
export declare const enum SELECTION_MODE {
|
|
4
5
|
STANDARD = "standard",
|
|
5
6
|
MULTISELECT = "multiselect"
|
|
@@ -10,15 +11,17 @@ export declare const enum SELECTION_EVENT {
|
|
|
10
11
|
}
|
|
11
12
|
export declare class PlannerSelectionHandlerEvent {
|
|
12
13
|
planElementViewModel: PlanElementViewModel;
|
|
14
|
+
reason: CancelSelectionReasons;
|
|
13
15
|
constructor(data: {
|
|
14
16
|
planElementViewModel?: PlanElementViewModel;
|
|
17
|
+
reason?: CancelSelectionReasons;
|
|
15
18
|
});
|
|
16
19
|
}
|
|
17
20
|
export default class PlannerSelectionHandler extends EventDispatcher<PlannerSelectionHandlerEvent> {
|
|
18
21
|
private _selectionMode;
|
|
19
22
|
protected _selectedPlanElementViewModels: Map<number, PlanElementViewModel>;
|
|
20
23
|
check(planElementViewModel: PlanElementViewModel): void;
|
|
21
|
-
cancelSelection(): void;
|
|
24
|
+
cancelSelection(reason: CancelSelectionReasons): void;
|
|
22
25
|
private _checkStandard;
|
|
23
26
|
private _checkMulti;
|
|
24
27
|
setSelectionMode(mode: SELECTION_MODE): void;
|