@colijnit/homedecorator 255.1.7 → 255.1.8
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/app/plugins/render/service/new-render.service.d.ts +0 -2
- package/app/plugins/render/service/render.service.d.ts +1 -2
- package/bundles/colijnit-homedecorator.umd.js +40 -155
- package/bundles/colijnit-homedecorator.umd.js.map +1 -1
- package/esm2015/app/plugins/core3d/service/lights.service.js +6 -5
- package/esm2015/app/plugins/core3d/service/scene.service.js +20 -20
- package/esm2015/app/plugins/render/service/new-render.service.js +1 -1
- package/esm2015/app/plugins/render/service/render.service.js +79 -71
- package/esm2015/app/plugins/room-planner/components/floorplanner/service/floorplan.service.js +2 -2
- package/esm2015/app/plugins/room-planner/components/floorplanner/service/room.service.js +2 -2
- package/fesm2015/colijnit-homedecorator.js +104 -95
- package/fesm2015/colijnit-homedecorator.js.map +1 -1
- package/package.json +1 -2
- package/colijnit-homedecorator-255.1.6.tgz +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Service } from '@migenius/realityserver-client';
|
|
3
2
|
import { BehaviorSubject } from 'rxjs';
|
|
4
3
|
import { RenderQueueItem } from '../model/render-queue-item';
|
|
5
4
|
import { HomedecoratorSettingsService } from '../../../core/service/homedecorator-settings.service';
|
|
@@ -40,7 +39,6 @@ export declare class NewRenderService implements OnDestroy {
|
|
|
40
39
|
finished: boolean;
|
|
41
40
|
}>;
|
|
42
41
|
renderRoomImageChanged: BehaviorSubject<string>;
|
|
43
|
-
service: Service;
|
|
44
42
|
standAloneCameraMatrix: number[];
|
|
45
43
|
currentQueueRenderItem: RenderQueueItem;
|
|
46
44
|
renderedRoomImages: string[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Service } from '@migenius/realityserver-client';
|
|
3
2
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
3
|
import { Material } from 'three';
|
|
5
4
|
import { RenderModes } from '../enum/render-modes';
|
|
@@ -42,7 +41,7 @@ export declare class RenderService implements OnDestroy {
|
|
|
42
41
|
private _floorService;
|
|
43
42
|
private _loadFurnitureService;
|
|
44
43
|
readonly renderModes: typeof RenderModes;
|
|
45
|
-
service:
|
|
44
|
+
service: any;
|
|
46
45
|
serverData: any;
|
|
47
46
|
sceneData: any;
|
|
48
47
|
prevItem: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@colijnit/configuratorapi/build/enum/node-type.enum'), require('@colijnit/configuratorapi/build/model/configurator-statistics-environment'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/ioneconnector/build/model/data-service-response-data'), require('@colijnit/configuratorapi/build/model/frozen-article'), require('@colijnit/configuratorapi/build/model/selection'), require('@colijnit/configuratorapi/build/model/answer-price'), require('@colijnit/configuratorapi/build/model/article'), require('@colijnit/configuratorapi/build/model/deco-node'), require('@colijnit/configuratorapi/build/model/skip-button-info'), require('@colijnit/configuratorapi'), require('@colijnit/mainapi'), require('@colijnit/articleapi/build/articles'), require('@colijnit/configuratorapi/build/model/article-text.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), require('@colijnit/ioneconnector/build/utils/image-utils'), require('@colijnit/articleapi/build/model/external-catalog-startup-info'), require('@colijnit/articleapi/build/model/catalog-definition.bo'), require('@colijnit/articleapi/build/model/external-source.bo'), require('@colijnit/articleapi/build/model/article-full-object'), require('@colijnit/configuratorapi/build/model/article-category'), require('@colijnit/articleapi/build/model/article-flat.bo'), require('@colijnit/mainapi/build/model/co-domain-value.bo'), require('@colijnit/mainapi/build/enum/domain-name.enum'), require('@colijnit/mainapi/build/enum/internal-param.enum'), require('@colijnit/ioneconnector/build/utils/string-utils'), require('@colijnit/configuratorapi/build/utils/image-utils'), require('@angular/common/http'), require('axios'), require('textdiff-patch'), require('three'), require('@tweenjs/tween.js'), require('polygon-tools'), require('three-gpu-pathtracer'), require('three-mesh-bvh/src/workers/ParallelMeshBVHWorker.js'), require('three/examples/jsm/geometries/TextGeometry'), require('three/examples/jsm/loaders/FontLoader'), require('three/examples/jsm/webxr/XRControllerModelFactory'), require('@colijnit/configuratorapi/build/enum/hdeco-positioning.enum'), require('three/examples/jsm/postprocessing/OutlinePass'), require('three/examples/jsm/postprocessing/EffectComposer'), require('three/examples/jsm/postprocessing/RenderPass'), require('three/examples/jsm/postprocessing/OutputPass'), require('three/examples/jsm/libs/lil-gui.module.min'), require('n8ao'), require('three/examples/jsm/shaders/FXAAShader'), require('three/examples/jsm/postprocessing/ShaderPass'), require('three/examples/jsm/shaders/BlendShader'), require('@angular/platform-browser'), require('ngx-device-detector'), require('@angular/material/icon'), require('@angular/animations'), require('@angular/common'), require('@angular/material/dialog'), require('three/examples/jsm/loaders/RGBELoader'), require('@colijnit/configuratorapi/build/enum/hdeco-placement.enum'), require('rxjs/internal/observable/fromEvent'), require('rxjs/operators'), require('rxjs/internal/observable/of'), require('three/examples/jsm/utils/BufferGeometryUtils.js'), require('three/examples/jsm/loaders/OBJLoader'), require('three/examples/jsm/loaders/MTLLoader'), require('three/examples/jsm/loaders/GLTFLoader'), require('three/examples/jsm/exporters/GLTFExporter'), require('three/examples/jsm/loaders/DRACOLoader'), require('three/examples/jsm/loaders/KTX2Loader'), require('three/examples/jsm/exporters/USDZExporter'), require('@angular/material/list'), require('@angular/material/core'), require('@colijnit/configuratorapi/build/enum/deco-node-type.enum'), require('jszip'), require('@colijnit/configuratorapi/build/enum/deco-node-kind.enum'), require('@angular/material/checkbox'), require('@angular/material/button'), require('@angular/forms'), require('three/examples/jsm/utils/BufferGeometryUtils'), require('three-mesh-bvh'), require('three/src/constants'), require('@colijnit/corecomponents'), require('@angular/material/form-field'), require('@angular/material/select'), require('@angular/material/tooltip'), require('@colijnit/corecomponents_v12'), require('@angular/material/slider'), require('@angular/material/input'), require('dat.gui'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/homedecorator', ['exports', '@angular/core', 'rxjs', '@colijnit/configuratorapi/build/enum/node-type.enum', '@colijnit/configuratorapi/build/model/configurator-statistics-environment', '@colijnit/ioneconnector/build/model/options', '@colijnit/ioneconnector/build/model/data-service-response-data', '@colijnit/configuratorapi/build/model/frozen-article', '@colijnit/configuratorapi/build/model/selection', '@colijnit/configuratorapi/build/model/answer-price', '@colijnit/configuratorapi/build/model/article', '@colijnit/configuratorapi/build/model/deco-node', '@colijnit/configuratorapi/build/model/skip-button-info', '@colijnit/configuratorapi', '@colijnit/mainapi', '@colijnit/articleapi/build/articles', '@colijnit/configuratorapi/build/model/article-text.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@colijnit/ioneconnector/build/utils/image-utils', '@colijnit/articleapi/build/model/external-catalog-startup-info', '@colijnit/articleapi/build/model/catalog-definition.bo', '@colijnit/articleapi/build/model/external-source.bo', '@colijnit/articleapi/build/model/article-full-object', '@colijnit/configuratorapi/build/model/article-category', '@colijnit/articleapi/build/model/article-flat.bo', '@colijnit/mainapi/build/model/co-domain-value.bo', '@colijnit/mainapi/build/enum/domain-name.enum', '@colijnit/mainapi/build/enum/internal-param.enum', '@colijnit/ioneconnector/build/utils/string-utils', '@colijnit/configuratorapi/build/utils/image-utils', '@angular/common/http', 'axios', 'textdiff-patch', 'three', '@tweenjs/tween.js', 'polygon-tools', 'three-gpu-pathtracer', 'three-mesh-bvh/src/workers/ParallelMeshBVHWorker.js', 'three/examples/jsm/geometries/TextGeometry', 'three/examples/jsm/loaders/FontLoader', 'three/examples/jsm/webxr/XRControllerModelFactory', '@colijnit/configuratorapi/build/enum/hdeco-positioning.enum', 'three/examples/jsm/postprocessing/OutlinePass', 'three/examples/jsm/postprocessing/EffectComposer', 'three/examples/jsm/postprocessing/RenderPass', 'three/examples/jsm/postprocessing/OutputPass', 'three/examples/jsm/libs/lil-gui.module.min', 'n8ao', 'three/examples/jsm/shaders/FXAAShader', 'three/examples/jsm/postprocessing/ShaderPass', 'three/examples/jsm/shaders/BlendShader', '@angular/platform-browser', 'ngx-device-detector', '@angular/material/icon', '@angular/animations', '@angular/common', '@angular/material/dialog', 'three/examples/jsm/loaders/RGBELoader', '@colijnit/configuratorapi/build/enum/hdeco-placement.enum', 'rxjs/internal/observable/fromEvent', 'rxjs/operators', 'rxjs/internal/observable/of', 'three/examples/jsm/utils/BufferGeometryUtils.js', 'three/examples/jsm/loaders/OBJLoader', 'three/examples/jsm/loaders/MTLLoader', 'three/examples/jsm/loaders/GLTFLoader', 'three/examples/jsm/exporters/GLTFExporter', 'three/examples/jsm/loaders/DRACOLoader', 'three/examples/jsm/loaders/KTX2Loader', 'three/examples/jsm/exporters/USDZExporter', '@angular/material/list', '@angular/material/core', '@colijnit/configuratorapi/build/enum/deco-node-type.enum', 'jszip', '@colijnit/configuratorapi/build/enum/deco-node-kind.enum', '@angular/material/checkbox', '@angular/material/button', '@angular/forms', 'three/examples/jsm/utils/BufferGeometryUtils', 'three-mesh-bvh', 'three/src/constants', '@colijnit/corecomponents', '@angular/material/form-field', '@angular/material/select', '@angular/material/tooltip', '@colijnit/corecomponents_v12', '@angular/material/slider', '@angular/material/input', 'dat.gui', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.homedecorator = {}), global.ng.core, global.rxjs, global.nodeType_enum, global.configuratorStatisticsEnvironment, global.options, global.dataServiceResponseData, global.frozenArticle, global.selection, global.answerPrice, global.article, global.decoNode, global.skipButtonInfo, global.configuratorapi, global.mainapi, global.articles, global.articleText_bo, global.businessObjectFactory, global.imageUtils, global.externalCatalogStartupInfo, global.catalogDefinition_bo, global.externalSource_bo, global.articleFullObject, global.articleCategory, global.articleFlat_bo, global.coDomainValue_bo, global.domainName_enum, global.internalParam_enum, global.stringUtils, global.imageUtils$1, global.ng.common.http, global.axios, global.applyPatch, global.THREE, global.TWEEN, global.PolygonTools, global.threeGpuPathtracer, global.ParallelMeshBVHWorker_js, global.TextGeometry, global.FontLoader, global.XRControllerModelFactory, global.hdecoPositioning_enum, global.OutlinePass, global.EffectComposer, global.RenderPass, global.OutputPass, global.GUI, global.n8ao, global.FXAAShader, global.ShaderPass, global.BlendShader, global.ng.platformBrowser, global.i2$1, global.ng.material.icon, global.ng.animations, global.ng.common, global.ng.material.dialog, global.RGBELoader, global.hdecoPlacement_enum, global.rxjs["internal/observable/fromEvent"], global.rxjs.operators, global.rxjs["internal/observable/of"], global.BufferGeometryUtils, global.OBJLoader, global.MTLLoader, global.GLTFLoader, global.GLTFExporter, global.DRACOLoader, global.KTX2Loader, global.USDZExporter, global.ng.material.list, global.ng.material.core, global.decoNodeType_enum, global.JSZip, global.decoNodeKind_enum, global.ng.material.checkbox, global.ng.material.button, global.ng.forms, global.BufferGeometryUtils$1, global.threeMeshBvh, global.constants, global.i4, global.ng.material.formField, global.ng.material.select, global.ng.material.tooltip, global.i4$1, global.ng.material.slider, global.ng.material.input, global.dat, global.
|
|
5
|
-
})(this, (function (exports, i0, rxjs, nodeType_enum, configuratorStatisticsEnvironment, options, dataServiceResponseData, frozenArticle, selection, answerPrice, article, decoNode, skipButtonInfo, configuratorapi, mainapi, articles, articleText_bo, businessObjectFactory, imageUtils, externalCatalogStartupInfo, catalogDefinition_bo, externalSource_bo, articleFullObject, articleCategory, articleFlat_bo, coDomainValue_bo, domainName_enum, internalParam_enum, stringUtils, imageUtils$1, i2, axios, applyPatch, THREE, TWEEN, PolygonTools, threeGpuPathtracer, ParallelMeshBVHWorker_js, TextGeometry, FontLoader, XRControllerModelFactory, hdecoPositioning_enum, OutlinePass, EffectComposer, RenderPass, OutputPass, GUI, n8ao, FXAAShader, ShaderPass, BlendShader, i1, i2$1, i5$1, animations, i5, i1$1, RGBELoader, hdecoPlacement_enum, fromEvent, operators, of, BufferGeometryUtils, OBJLoader, MTLLoader, GLTFLoader, GLTFExporter, DRACOLoader, KTX2Loader, USDZExporter, i2$2, i3, decoNodeType_enum, JSZip, decoNodeKind_enum, i1$2, i3$1, i8, BufferGeometryUtils$1, threeMeshBvh, constants, i4, i7, i9, i10, i4$1, i7$1, i19, dat,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@colijnit/configuratorapi/build/enum/node-type.enum'), require('@colijnit/configuratorapi/build/model/configurator-statistics-environment'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/ioneconnector/build/model/data-service-response-data'), require('@colijnit/configuratorapi/build/model/frozen-article'), require('@colijnit/configuratorapi/build/model/selection'), require('@colijnit/configuratorapi/build/model/answer-price'), require('@colijnit/configuratorapi/build/model/article'), require('@colijnit/configuratorapi/build/model/deco-node'), require('@colijnit/configuratorapi/build/model/skip-button-info'), require('@colijnit/configuratorapi'), require('@colijnit/mainapi'), require('@colijnit/articleapi/build/articles'), require('@colijnit/configuratorapi/build/model/article-text.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), require('@colijnit/ioneconnector/build/utils/image-utils'), require('@colijnit/articleapi/build/model/external-catalog-startup-info'), require('@colijnit/articleapi/build/model/catalog-definition.bo'), require('@colijnit/articleapi/build/model/external-source.bo'), require('@colijnit/articleapi/build/model/article-full-object'), require('@colijnit/configuratorapi/build/model/article-category'), require('@colijnit/articleapi/build/model/article-flat.bo'), require('@colijnit/mainapi/build/model/co-domain-value.bo'), require('@colijnit/mainapi/build/enum/domain-name.enum'), require('@colijnit/mainapi/build/enum/internal-param.enum'), require('@colijnit/ioneconnector/build/utils/string-utils'), require('@colijnit/configuratorapi/build/utils/image-utils'), require('@angular/common/http'), require('axios'), require('textdiff-patch'), require('three'), require('@tweenjs/tween.js'), require('polygon-tools'), require('three-gpu-pathtracer'), require('three-mesh-bvh/src/workers/ParallelMeshBVHWorker.js'), require('three/examples/jsm/geometries/TextGeometry'), require('three/examples/jsm/loaders/FontLoader'), require('three/examples/jsm/webxr/XRControllerModelFactory'), require('@colijnit/configuratorapi/build/enum/hdeco-positioning.enum'), require('three/examples/jsm/postprocessing/OutlinePass'), require('three/examples/jsm/postprocessing/EffectComposer'), require('three/examples/jsm/postprocessing/RenderPass'), require('three/examples/jsm/postprocessing/OutputPass'), require('three/examples/jsm/libs/lil-gui.module.min'), require('n8ao'), require('three/examples/jsm/shaders/FXAAShader'), require('three/examples/jsm/postprocessing/ShaderPass'), require('three/examples/jsm/shaders/BlendShader'), require('@angular/platform-browser'), require('ngx-device-detector'), require('@angular/material/icon'), require('@angular/animations'), require('@angular/common'), require('@angular/material/dialog'), require('three/examples/jsm/loaders/RGBELoader'), require('@colijnit/configuratorapi/build/enum/hdeco-placement.enum'), require('rxjs/internal/observable/fromEvent'), require('rxjs/operators'), require('rxjs/internal/observable/of'), require('three/examples/jsm/utils/BufferGeometryUtils.js'), require('three/examples/jsm/loaders/OBJLoader'), require('three/examples/jsm/loaders/MTLLoader'), require('three/examples/jsm/loaders/GLTFLoader'), require('three/examples/jsm/exporters/GLTFExporter'), require('three/examples/jsm/loaders/DRACOLoader'), require('three/examples/jsm/loaders/KTX2Loader'), require('three/examples/jsm/exporters/USDZExporter'), require('@angular/material/list'), require('@angular/material/core'), require('@colijnit/configuratorapi/build/enum/deco-node-type.enum'), require('jszip'), require('@colijnit/configuratorapi/build/enum/deco-node-kind.enum'), require('@angular/material/checkbox'), require('@angular/material/button'), require('@angular/forms'), require('three/examples/jsm/utils/BufferGeometryUtils'), require('three-mesh-bvh'), require('three/src/constants'), require('@colijnit/corecomponents'), require('@angular/material/form-field'), require('@angular/material/select'), require('@angular/material/tooltip'), require('@colijnit/corecomponents_v12'), require('@angular/material/slider'), require('@angular/material/input'), require('dat.gui'), require('@angular/material/grid-list'), require('@angular/material/progress-spinner'), require('@angular/flex-layout/flex'), require('@angular/material/progress-bar'), require('three/examples/jsm/geometries/DecalGeometry'), require('fabric'), require('@angular/material/button-toggle'), require('@angular/material/snack-bar'), require('@angular/material/slide-toggle'), require('@angular/material/divider'), require('browser-image-compression'), require('@angular/material/tabs'), require('@angular/flex-layout/extended'), require('ngx-color/chrome'), require('@angular/router'), require('delaunator'), require('three/examples/jsm/helpers/VertexNormalsHelper'), require('@angular/cdk/portal'), require('file-saver'), require('ng2-pdf-viewer'), require('html2canvas'), require('three/examples/jsm/controls/OrbitControls'), require('three/examples/jsm/loaders/FBXLoader'), require('three/examples/jsm/loaders/TDSLoader'), require('three/examples/jsm/loaders/STLLoader'), require('@angular/material/toolbar'), require('@angular/material/menu'), require('@angular/material/card'), require('@angular/material/sidenav'), require('@angular/material/badge'), require('@colijnit/articleapi/build/model/external-catalog-startup-info-request'), require('@colijnit/catalog'), require('ngx-lightbox'), require('@angular/flex-layout'), require('@angular/cdk/drag-drop'), require('jspdf'), require('jspdf-autotable'), require('@angular/material/radio'), require('@angular/cdk/a11y')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/homedecorator', ['exports', '@angular/core', 'rxjs', '@colijnit/configuratorapi/build/enum/node-type.enum', '@colijnit/configuratorapi/build/model/configurator-statistics-environment', '@colijnit/ioneconnector/build/model/options', '@colijnit/ioneconnector/build/model/data-service-response-data', '@colijnit/configuratorapi/build/model/frozen-article', '@colijnit/configuratorapi/build/model/selection', '@colijnit/configuratorapi/build/model/answer-price', '@colijnit/configuratorapi/build/model/article', '@colijnit/configuratorapi/build/model/deco-node', '@colijnit/configuratorapi/build/model/skip-button-info', '@colijnit/configuratorapi', '@colijnit/mainapi', '@colijnit/articleapi/build/articles', '@colijnit/configuratorapi/build/model/article-text.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@colijnit/ioneconnector/build/utils/image-utils', '@colijnit/articleapi/build/model/external-catalog-startup-info', '@colijnit/articleapi/build/model/catalog-definition.bo', '@colijnit/articleapi/build/model/external-source.bo', '@colijnit/articleapi/build/model/article-full-object', '@colijnit/configuratorapi/build/model/article-category', '@colijnit/articleapi/build/model/article-flat.bo', '@colijnit/mainapi/build/model/co-domain-value.bo', '@colijnit/mainapi/build/enum/domain-name.enum', '@colijnit/mainapi/build/enum/internal-param.enum', '@colijnit/ioneconnector/build/utils/string-utils', '@colijnit/configuratorapi/build/utils/image-utils', '@angular/common/http', 'axios', 'textdiff-patch', 'three', '@tweenjs/tween.js', 'polygon-tools', 'three-gpu-pathtracer', 'three-mesh-bvh/src/workers/ParallelMeshBVHWorker.js', 'three/examples/jsm/geometries/TextGeometry', 'three/examples/jsm/loaders/FontLoader', 'three/examples/jsm/webxr/XRControllerModelFactory', '@colijnit/configuratorapi/build/enum/hdeco-positioning.enum', 'three/examples/jsm/postprocessing/OutlinePass', 'three/examples/jsm/postprocessing/EffectComposer', 'three/examples/jsm/postprocessing/RenderPass', 'three/examples/jsm/postprocessing/OutputPass', 'three/examples/jsm/libs/lil-gui.module.min', 'n8ao', 'three/examples/jsm/shaders/FXAAShader', 'three/examples/jsm/postprocessing/ShaderPass', 'three/examples/jsm/shaders/BlendShader', '@angular/platform-browser', 'ngx-device-detector', '@angular/material/icon', '@angular/animations', '@angular/common', '@angular/material/dialog', 'three/examples/jsm/loaders/RGBELoader', '@colijnit/configuratorapi/build/enum/hdeco-placement.enum', 'rxjs/internal/observable/fromEvent', 'rxjs/operators', 'rxjs/internal/observable/of', 'three/examples/jsm/utils/BufferGeometryUtils.js', 'three/examples/jsm/loaders/OBJLoader', 'three/examples/jsm/loaders/MTLLoader', 'three/examples/jsm/loaders/GLTFLoader', 'three/examples/jsm/exporters/GLTFExporter', 'three/examples/jsm/loaders/DRACOLoader', 'three/examples/jsm/loaders/KTX2Loader', 'three/examples/jsm/exporters/USDZExporter', '@angular/material/list', '@angular/material/core', '@colijnit/configuratorapi/build/enum/deco-node-type.enum', 'jszip', '@colijnit/configuratorapi/build/enum/deco-node-kind.enum', '@angular/material/checkbox', '@angular/material/button', '@angular/forms', 'three/examples/jsm/utils/BufferGeometryUtils', 'three-mesh-bvh', 'three/src/constants', '@colijnit/corecomponents', '@angular/material/form-field', '@angular/material/select', '@angular/material/tooltip', '@colijnit/corecomponents_v12', '@angular/material/slider', '@angular/material/input', 'dat.gui', '@angular/material/grid-list', '@angular/material/progress-spinner', '@angular/flex-layout/flex', '@angular/material/progress-bar', 'three/examples/jsm/geometries/DecalGeometry', 'fabric', '@angular/material/button-toggle', '@angular/material/snack-bar', '@angular/material/slide-toggle', '@angular/material/divider', 'browser-image-compression', '@angular/material/tabs', '@angular/flex-layout/extended', 'ngx-color/chrome', '@angular/router', 'delaunator', 'three/examples/jsm/helpers/VertexNormalsHelper', '@angular/cdk/portal', 'file-saver', 'ng2-pdf-viewer', 'html2canvas', 'three/examples/jsm/controls/OrbitControls', 'three/examples/jsm/loaders/FBXLoader', 'three/examples/jsm/loaders/TDSLoader', 'three/examples/jsm/loaders/STLLoader', '@angular/material/toolbar', '@angular/material/menu', '@angular/material/card', '@angular/material/sidenav', '@angular/material/badge', '@colijnit/articleapi/build/model/external-catalog-startup-info-request', '@colijnit/catalog', 'ngx-lightbox', '@angular/flex-layout', '@angular/cdk/drag-drop', 'jspdf', 'jspdf-autotable', '@angular/material/radio', '@angular/cdk/a11y'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.homedecorator = {}), global.ng.core, global.rxjs, global.nodeType_enum, global.configuratorStatisticsEnvironment, global.options, global.dataServiceResponseData, global.frozenArticle, global.selection, global.answerPrice, global.article, global.decoNode, global.skipButtonInfo, global.configuratorapi, global.mainapi, global.articles, global.articleText_bo, global.businessObjectFactory, global.imageUtils, global.externalCatalogStartupInfo, global.catalogDefinition_bo, global.externalSource_bo, global.articleFullObject, global.articleCategory, global.articleFlat_bo, global.coDomainValue_bo, global.domainName_enum, global.internalParam_enum, global.stringUtils, global.imageUtils$1, global.ng.common.http, global.axios, global.applyPatch, global.THREE, global.TWEEN, global.PolygonTools, global.threeGpuPathtracer, global.ParallelMeshBVHWorker_js, global.TextGeometry, global.FontLoader, global.XRControllerModelFactory, global.hdecoPositioning_enum, global.OutlinePass, global.EffectComposer, global.RenderPass, global.OutputPass, global.GUI, global.n8ao, global.FXAAShader, global.ShaderPass, global.BlendShader, global.ng.platformBrowser, global.i2$1, global.ng.material.icon, global.ng.animations, global.ng.common, global.ng.material.dialog, global.RGBELoader, global.hdecoPlacement_enum, global.rxjs["internal/observable/fromEvent"], global.rxjs.operators, global.rxjs["internal/observable/of"], global.BufferGeometryUtils, global.OBJLoader, global.MTLLoader, global.GLTFLoader, global.GLTFExporter, global.DRACOLoader, global.KTX2Loader, global.USDZExporter, global.ng.material.list, global.ng.material.core, global.decoNodeType_enum, global.JSZip, global.decoNodeKind_enum, global.ng.material.checkbox, global.ng.material.button, global.ng.forms, global.BufferGeometryUtils$1, global.threeMeshBvh, global.constants, global.i4, global.ng.material.formField, global.ng.material.select, global.ng.material.tooltip, global.i4$1, global.ng.material.slider, global.ng.material.input, global.dat, global.ng.material.gridList, global.ng.material.progressSpinner, global.ng.flexLayout.flex, global.ng.material.progressBar, global.DecalGeometry, global.fabric, global.ng.material.buttonToggle, global.ng.material.snackBar, global.ng.material.slideToggle, global.ng.material.divider, global.imageCompression, global.ng.material.tabs, global.ng.flexLayout.extended, global.i1$3, global.ng.router, global.Delaunator, global.VertexNormalsHelper, global.ng.cdk.portal, global.fileSaver, global.i6$2, global.html2canvas, global.OrbitControls, global.FBXLoader, global.TDSLoader, global.STLLoader, global.ng.material.toolbar, global.ng.material.menu, global.ng.material.card, global.ng.material.sidenav, global.ng.material.badge, global.externalCatalogStartupInfoRequest, global.i7$2, global.i1$5, global.ng.flexLayout, global.ng.cdk.dragDrop, global.jspdf, global.autoTable, global.ng.material.radio, global.ng.cdk.a11y));
|
|
5
|
+
})(this, (function (exports, i0, rxjs, nodeType_enum, configuratorStatisticsEnvironment, options, dataServiceResponseData, frozenArticle, selection, answerPrice, article, decoNode, skipButtonInfo, configuratorapi, mainapi, articles, articleText_bo, businessObjectFactory, imageUtils, externalCatalogStartupInfo, catalogDefinition_bo, externalSource_bo, articleFullObject, articleCategory, articleFlat_bo, coDomainValue_bo, domainName_enum, internalParam_enum, stringUtils, imageUtils$1, i2, axios, applyPatch, THREE, TWEEN, PolygonTools, threeGpuPathtracer, ParallelMeshBVHWorker_js, TextGeometry, FontLoader, XRControllerModelFactory, hdecoPositioning_enum, OutlinePass, EffectComposer, RenderPass, OutputPass, GUI, n8ao, FXAAShader, ShaderPass, BlendShader, i1, i2$1, i5$1, animations, i5, i1$1, RGBELoader, hdecoPlacement_enum, fromEvent, operators, of, BufferGeometryUtils, OBJLoader, MTLLoader, GLTFLoader, GLTFExporter, DRACOLoader, KTX2Loader, USDZExporter, i2$2, i3, decoNodeType_enum, JSZip, decoNodeKind_enum, i1$2, i3$1, i8, BufferGeometryUtils$1, threeMeshBvh, constants, i4, i7, i9, i10, i4$1, i7$1, i19, dat, i3$2, i16, i3$3, i2$3, DecalGeometry, fabric, i8$1, i2$4, i10$1, i6, imageCompression, i1$4, i6$1, i1$3, i5$2, Delaunator, VertexNormalsHelper, i28, fileSaver, i6$2, html2canvas, OrbitControls, FBXLoader, TDSLoader, STLLoader, i19$1, i22, i23, i26, i30, externalCatalogStartupInfoRequest, i7$2, i1$5, flexLayout, i10$2, jspdf, autoTable, radio, a11y) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -10422,29 +10422,29 @@
|
|
|
10422
10422
|
this._numberOfSamplesRendered = Math.floor(this.pathTracer.samples);
|
|
10423
10423
|
}
|
|
10424
10424
|
else {
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
}
|
|
10433
|
-
else {
|
|
10434
|
-
this.onBeforeRender.next({ renderer: this.renderer, scene: this.scene });
|
|
10435
|
-
if (!this._settingsService.settings.options.aaEnabled && !this._settingsService.settings.options.aoEnabled) {
|
|
10436
|
-
// this.renderer.render(this.scene, this._cameraService.camera);
|
|
10437
|
-
this._outlineService.render();
|
|
10425
|
+
if (this._needsRender || this.arMode || this._viewModeService.isVRViewActive() || this._outlineService.needsRender) {
|
|
10426
|
+
this.renderer.clear();
|
|
10427
|
+
if (this._arMode && frame) {
|
|
10428
|
+
this._arService.handleFrame(frame);
|
|
10429
|
+
}
|
|
10430
|
+
else if (this._viewModeService.isVRViewActive()) {
|
|
10431
|
+
this._vrService.render();
|
|
10438
10432
|
}
|
|
10439
10433
|
else {
|
|
10440
|
-
this.
|
|
10441
|
-
|
|
10434
|
+
this.onBeforeRender.next({ renderer: this.renderer, scene: this.scene });
|
|
10435
|
+
if (!this._settingsService.settings.options.aaEnabled && !this._settingsService.settings.options.aoEnabled) {
|
|
10436
|
+
// this.renderer.render(this.scene, this._cameraService.camera);
|
|
10437
|
+
this._outlineService.render();
|
|
10438
|
+
}
|
|
10439
|
+
else {
|
|
10440
|
+
this._postProcessing.render();
|
|
10441
|
+
// this._outlineService.render();
|
|
10442
|
+
}
|
|
10442
10443
|
}
|
|
10444
|
+
this.onAfterRender.next({ renderer: this.renderer, scene: this.scene });
|
|
10445
|
+
this._outlineService.needsRender = false;
|
|
10446
|
+
this.needsRender = false;
|
|
10443
10447
|
}
|
|
10444
|
-
this.onAfterRender.next({ renderer: this.renderer, scene: this.scene });
|
|
10445
|
-
this._outlineService.needsRender = false;
|
|
10446
|
-
this.needsRender = false;
|
|
10447
|
-
// }
|
|
10448
10448
|
}
|
|
10449
10449
|
};
|
|
10450
10450
|
SceneService.prototype._animate = function () {
|
|
@@ -16178,10 +16178,10 @@
|
|
|
16178
16178
|
roomCorners.forEach(function (corners) {
|
|
16179
16179
|
_this.rooms.push(new Room(corners, _this._defaultFloorTexture));
|
|
16180
16180
|
});
|
|
16181
|
+
this._assignOrphanEdges();
|
|
16181
16182
|
return [4 /*yield*/, this.updateFloorsAndEdges()];
|
|
16182
16183
|
case 1:
|
|
16183
16184
|
_a.sent();
|
|
16184
|
-
this._assignOrphanEdges();
|
|
16185
16185
|
this.walls.forEach(function (wall) { return wall.updateWallItems(); });
|
|
16186
16186
|
return [2 /*return*/];
|
|
16187
16187
|
}
|
|
@@ -16638,8 +16638,8 @@
|
|
|
16638
16638
|
return [4 /*yield*/, this._roomService.updateRooms(roomCorners)];
|
|
16639
16639
|
case 1:
|
|
16640
16640
|
_a.sent();
|
|
16641
|
-
this.redrawFloorplan();
|
|
16642
16641
|
this.roomsUpdated.next();
|
|
16642
|
+
this.redrawFloorplan();
|
|
16643
16643
|
return [2 /*return*/];
|
|
16644
16644
|
}
|
|
16645
16645
|
});
|
|
@@ -27795,10 +27795,10 @@
|
|
|
27795
27795
|
if (light instanceof THREE.AmbientLight || light instanceof THREE.HemisphereLight) {
|
|
27796
27796
|
return;
|
|
27797
27797
|
}
|
|
27798
|
-
|
|
27799
|
-
if (!corners || corners.length < 1) {
|
|
27800
|
-
|
|
27801
|
-
}
|
|
27798
|
+
// const corners: Corner[] = this._floorplanService.getCorners();
|
|
27799
|
+
// if (!corners || corners.length < 1) {
|
|
27800
|
+
// return;
|
|
27801
|
+
// }
|
|
27802
27802
|
var ro = light.userData.rotationOffset;
|
|
27803
27803
|
var wo = light.userData.wallOffset;
|
|
27804
27804
|
var fc = this._floorplanService.getCenter();
|
|
@@ -27806,6 +27806,7 @@
|
|
|
27806
27806
|
var planHalfWidth = isFinite(size.x) ? size.x / 2.0 : 0;
|
|
27807
27807
|
var planHalfDepth = isFinite(size.z) ? size.z / 2.0 : 0;
|
|
27808
27808
|
if (wo === 0) { // just use position of light
|
|
27809
|
+
this._updateShadowCamera(light);
|
|
27809
27810
|
return;
|
|
27810
27811
|
}
|
|
27811
27812
|
// Reset position & rotation
|
|
@@ -29931,7 +29932,6 @@
|
|
|
29931
29932
|
this.currentQueueRenderItem = new RenderQueueItem();
|
|
29932
29933
|
this.currentProductHash = '';
|
|
29933
29934
|
this._subs = [];
|
|
29934
|
-
this.service = new realityserverClient.Service();
|
|
29935
29935
|
this.sceneData = {};
|
|
29936
29936
|
this._subs.push(this._settingsService.settingsLoaded.subscribe(function (loaded) {
|
|
29937
29937
|
if (loaded) {
|
|
@@ -29953,64 +29953,13 @@
|
|
|
29953
29953
|
return material;
|
|
29954
29954
|
};
|
|
29955
29955
|
RenderService.prototype.ngOnDestroy = function () {
|
|
29956
|
-
this.service.close();
|
|
29956
|
+
// this.service.close();
|
|
29957
29957
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
29958
29958
|
};
|
|
29959
29959
|
RenderService.prototype.checkConnection = function () {
|
|
29960
29960
|
return __awaiter$y(this, void 0, void 0, function () {
|
|
29961
|
-
var url, err_1;
|
|
29962
|
-
var _this = this;
|
|
29963
29961
|
return __generator(this, function (_a) {
|
|
29964
|
-
|
|
29965
|
-
case 0:
|
|
29966
|
-
if (!(this.service.validate() === false)) return [3 /*break*/, 4];
|
|
29967
|
-
_a.label = 1;
|
|
29968
|
-
case 1:
|
|
29969
|
-
_a.trys.push([1, 3, , 4]);
|
|
29970
|
-
url = (this.serverData.secure ? 'wss' : 'ws') + "://" + this.serverData.host + ":" + this.serverData.port + "/service/";
|
|
29971
|
-
return [4 /*yield*/, this.service.connect(url).then(function () {
|
|
29972
|
-
_this.serverData.setup = true;
|
|
29973
|
-
}).catch(function (rej) {
|
|
29974
|
-
})];
|
|
29975
|
-
case 2:
|
|
29976
|
-
_a.sent();
|
|
29977
|
-
this.service.on('error', function (object) { return __awaiter$y(_this, void 0, void 0, function () {
|
|
29978
|
-
return __generator(this, function (_a) {
|
|
29979
|
-
switch (_a.label) {
|
|
29980
|
-
case 0:
|
|
29981
|
-
this.serverData.setup = false;
|
|
29982
|
-
if (this.connectionStatus !== ConnectionStatus.TryingToConnect) {
|
|
29983
|
-
this.connectionStatus = ConnectionStatus.IsDisConnected;
|
|
29984
|
-
}
|
|
29985
|
-
return [4 /*yield*/, this._onRenderError()];
|
|
29986
|
-
case 1:
|
|
29987
|
-
_a.sent();
|
|
29988
|
-
return [2 /*return*/];
|
|
29989
|
-
}
|
|
29990
|
-
});
|
|
29991
|
-
}); });
|
|
29992
|
-
this.service.on('close', function (object) { return __awaiter$y(_this, void 0, void 0, function () {
|
|
29993
|
-
return __generator(this, function (_a) {
|
|
29994
|
-
switch (_a.label) {
|
|
29995
|
-
case 0:
|
|
29996
|
-
this.serverData.setup = false;
|
|
29997
|
-
if (this.connectionStatus !== ConnectionStatus.TryingToConnect) {
|
|
29998
|
-
this.connectionStatus = ConnectionStatus.IsDisConnected;
|
|
29999
|
-
}
|
|
30000
|
-
return [4 /*yield*/, this._onRenderClose()];
|
|
30001
|
-
case 1:
|
|
30002
|
-
_a.sent();
|
|
30003
|
-
return [2 /*return*/];
|
|
30004
|
-
}
|
|
30005
|
-
});
|
|
30006
|
-
}); });
|
|
30007
|
-
return [3 /*break*/, 4];
|
|
30008
|
-
case 3:
|
|
30009
|
-
err_1 = _a.sent();
|
|
30010
|
-
this.serverData.setup = false;
|
|
30011
|
-
return [3 /*break*/, 4];
|
|
30012
|
-
case 4: return [2 /*return*/];
|
|
30013
|
-
}
|
|
29962
|
+
return [2 /*return*/];
|
|
30014
29963
|
});
|
|
30015
29964
|
});
|
|
30016
29965
|
};
|
|
@@ -30304,90 +30253,26 @@
|
|
|
30304
30253
|
};
|
|
30305
30254
|
RenderService.prototype._quitRenderLoop = function () {
|
|
30306
30255
|
return __awaiter$y(this, void 0, void 0, function () {
|
|
30307
|
-
|
|
30308
|
-
|
|
30309
|
-
switch (_b.label) {
|
|
30310
|
-
case 0:
|
|
30311
|
-
if (!(this.sceneData.loop_name !== undefined && this.service.validate() !== false)) return [3 /*break*/, 2];
|
|
30312
|
-
return [4 /*yield*/, this.service.queue_commands()
|
|
30313
|
-
.queue(new realityserverClient.Command('render_loop_quit', {
|
|
30314
|
-
render_loop_name: this.sceneData.loop_name
|
|
30315
|
-
}))
|
|
30316
|
-
.execute()];
|
|
30317
|
-
case 1:
|
|
30318
|
-
_a = __read.apply(void 0, [_b.sent(), 0]);
|
|
30319
|
-
this.service.remove_stream(this.sceneData.loop_name);
|
|
30320
|
-
_b.label = 2;
|
|
30321
|
-
case 2: return [2 /*return*/];
|
|
30322
|
-
}
|
|
30256
|
+
return __generator(this, function (_a) {
|
|
30257
|
+
return [2 /*return*/];
|
|
30323
30258
|
});
|
|
30324
30259
|
});
|
|
30325
30260
|
};
|
|
30326
30261
|
RenderService.prototype._startRenderStream = function () {
|
|
30327
30262
|
return __awaiter$y(this, void 0, void 0, function () {
|
|
30328
|
-
var
|
|
30329
|
-
var _this = this;
|
|
30263
|
+
var err_1;
|
|
30330
30264
|
return __generator(this, function (_a) {
|
|
30331
30265
|
switch (_a.label) {
|
|
30332
30266
|
case 0:
|
|
30333
|
-
_a.trys.push([0,
|
|
30334
|
-
|
|
30335
|
-
return [4 /*yield*/, this.streaming.stream.start({ render_loop_name: this.sceneData.loop_name, image_format: 'jpg', quality: '100' })];
|
|
30267
|
+
_a.trys.push([0, 1, , 3]);
|
|
30268
|
+
return [3 /*break*/, 3];
|
|
30336
30269
|
case 1:
|
|
30337
|
-
_a.sent();
|
|
30338
|
-
this.streaming.stream.on('image', function (object) { return __awaiter$y(_this, void 0, void 0, function () {
|
|
30339
|
-
var _a, progress;
|
|
30340
|
-
return __generator(this, function (_b) {
|
|
30341
|
-
switch (_b.label) {
|
|
30342
|
-
case 0:
|
|
30343
|
-
this._htmlImageDisplay(object, null);
|
|
30344
|
-
return [4 /*yield*/, this.service.queue_commands()
|
|
30345
|
-
.queue(new realityserverClient.Command('render_loop_get_render_progress', {
|
|
30346
|
-
render_loop_name: this.sceneData.loop_name
|
|
30347
|
-
}), true)
|
|
30348
|
-
.execute()];
|
|
30349
|
-
case 1:
|
|
30350
|
-
_a = __read.apply(void 0, [_b.sent(), 1]), progress = _a[0];
|
|
30351
|
-
if (progress.progression !== undefined) {
|
|
30352
|
-
this._setRenderProgress(RenderStatus.IsRunning, Math.ceil((progress.progression * 100)), progress.iteration);
|
|
30353
|
-
}
|
|
30354
|
-
if (!(object.result === 1)) return [3 /*break*/, 4];
|
|
30355
|
-
return [4 /*yield*/, this.service.queue_commands()
|
|
30356
|
-
.queue(new realityserverClient.Command('render_loop_save_to_disk', {
|
|
30357
|
-
render_loop_name: this.sceneData.loop_name,
|
|
30358
|
-
format: 'jpg',
|
|
30359
|
-
quality: 90,
|
|
30360
|
-
path: this.sceneData.image_info.url
|
|
30361
|
-
}), true)
|
|
30362
|
-
.execute()];
|
|
30363
|
-
case 2:
|
|
30364
|
-
_b.sent();
|
|
30365
|
-
if (this.streaming.stream !== undefined) {
|
|
30366
|
-
this.streaming.stream.stop();
|
|
30367
|
-
}
|
|
30368
|
-
return [4 /*yield*/, this._quitRenderLoop()];
|
|
30369
|
-
case 3:
|
|
30370
|
-
_b.sent();
|
|
30371
|
-
this._afterRendering();
|
|
30372
|
-
return [2 /*return*/];
|
|
30373
|
-
case 4:
|
|
30374
|
-
if (!(object.result < 0)) return [3 /*break*/, 6];
|
|
30375
|
-
return [4 /*yield*/, this._onRenderError()];
|
|
30376
|
-
case 5:
|
|
30377
|
-
_b.sent();
|
|
30378
|
-
return [2 /*return*/];
|
|
30379
|
-
case 6: return [2 /*return*/];
|
|
30380
|
-
}
|
|
30381
|
-
});
|
|
30382
|
-
}); });
|
|
30383
|
-
return [3 /*break*/, 4];
|
|
30384
|
-
case 2:
|
|
30385
|
-
err_2 = _a.sent();
|
|
30270
|
+
err_1 = _a.sent();
|
|
30386
30271
|
return [4 /*yield*/, this._onRenderError()];
|
|
30387
|
-
case
|
|
30272
|
+
case 2:
|
|
30388
30273
|
_a.sent();
|
|
30389
30274
|
return [2 /*return*/];
|
|
30390
|
-
case
|
|
30275
|
+
case 3: return [2 /*return*/];
|
|
30391
30276
|
}
|
|
30392
30277
|
});
|
|
30393
30278
|
});
|