@colijnit/homedecorator 255.1.2 → 255.1.4

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.
Files changed (58) hide show
  1. package/app/core/model/homedecorator-settings-options.d.ts +1 -0
  2. package/app/core/service/homedecorator-connector-adapter.service.d.ts +2 -2
  3. package/app/core/service/homedecorator-connector.service.d.ts +2 -2
  4. package/app/core/service/utils.service.d.ts +1 -0
  5. package/app/plugins/core3d/components/ar-gui/ar-gui-root/ar-gui-elements/ar-gui-buttons/ar-gui-buttons.component.scss +2 -4
  6. package/app/plugins/core3d/items/floor-plane-item.d.ts +8 -1
  7. package/app/plugins/core3d/items/metadata.d.ts +2 -0
  8. package/app/plugins/core3d/service/ar.service.d.ts +1 -0
  9. package/app/plugins/core3d/service/floor-pattern.service.d.ts +26 -0
  10. package/app/plugins/core3d/service/floor-tile-intersection.service.d.ts +25 -0
  11. package/app/plugins/core3d/service/outline.service.d.ts +1 -2
  12. package/app/plugins/core3d/service/post-processing.service.d.ts +6 -0
  13. package/app/plugins/core3d/service/scene.service.d.ts +4 -1
  14. package/app/plugins/core3d/service/ssr.service.d.ts +19 -0
  15. package/app/plugins/model-uploader/model-previewer/model-preview.component.d.ts +40 -3
  16. package/app/plugins/render/service/new-render.service.d.ts +1 -0
  17. package/app/plugins/threedselector/threedselector/service/build-furniture.service.d.ts +10 -1
  18. package/app/plugins/threedselector/threedselector/threedselector.component.d.ts +1 -0
  19. package/app/plugins/toolbar/toolbar.module.d.ts +2 -1
  20. package/app/shared/pdf-export/pdf-export.component.d.ts +20 -0
  21. package/app/shared/pdf-export/pdf-export.component.scss +19 -0
  22. package/app/shared/pdf-export/pdf-export.module.d.ts +11 -0
  23. package/assets/icons/xmark_regular.svg +1 -0
  24. package/bundles/colijnit-homedecorator.umd.js +1406 -295
  25. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  26. package/esm2015/app/app.version.js +4 -4
  27. package/esm2015/app/core/model/homedecorator-settings-options.js +2 -1
  28. package/esm2015/app/core/model/light-preset.js +11 -7
  29. package/esm2015/app/core/service/homedecorator-connector-adapter.service.js +6 -8
  30. package/esm2015/app/core/service/homedecorator-connector.service.js +7 -5
  31. package/esm2015/app/core/service/utils.service.js +16 -1
  32. package/esm2015/app/plugins/core3d/components/ar-gui/ar-gui-root/ar-gui-elements/ar-gui-buttons/ar-gui-buttons.component.js +2 -2
  33. package/esm2015/app/plugins/core3d/components/scene-options/scene-options.component.js +63 -3
  34. package/esm2015/app/plugins/core3d/items/floor-plane-item.js +25 -2
  35. package/esm2015/app/plugins/core3d/items/metadata.js +1 -1
  36. package/esm2015/app/plugins/core3d/service/ar.service.js +14 -1
  37. package/esm2015/app/plugins/core3d/service/floor-pattern.service.js +156 -0
  38. package/esm2015/app/plugins/core3d/service/floor-tile-intersection.service.js +122 -0
  39. package/esm2015/app/plugins/core3d/service/floor.service.js +5 -2
  40. package/esm2015/app/plugins/core3d/service/outline.service.js +9 -8
  41. package/esm2015/app/plugins/core3d/service/post-processing.service.js +77 -22
  42. package/esm2015/app/plugins/core3d/service/scene.service.js +30 -13
  43. package/esm2015/app/plugins/core3d/service/ssr.service.js +104 -0
  44. package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.js +3 -3
  45. package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +339 -79
  46. package/esm2015/app/plugins/model-uploader/model-uploader/model-uploader.component.js +3 -2
  47. package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +3 -2
  48. package/esm2015/app/plugins/render/service/new-render.service.js +37 -13
  49. package/esm2015/app/plugins/room-planner/room-planner/room-planner.component.js +2 -2
  50. package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +135 -5
  51. package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +35 -9
  52. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +9 -25
  53. package/esm2015/app/plugins/toolbar/toolbar.module.js +8 -4
  54. package/esm2015/app/shared/pdf-export/pdf-export.component.js +86 -0
  55. package/esm2015/app/shared/pdf-export/pdf-export.module.js +38 -0
  56. package/fesm2015/colijnit-homedecorator.js +1385 -295
  57. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  58. package/package.json +3 -3
@@ -42,5 +42,6 @@ export declare class HomedecoratorSettingsOptions {
42
42
  useRenderWebsocket: boolean;
43
43
  productRenderSceneAssetId: string;
44
44
  pathTracer: boolean;
45
+ ssrEnabled: boolean;
45
46
  maxRenderSamples: number;
46
47
  }
@@ -66,7 +66,7 @@ export declare class HomedecoratorConnectorAdapterService {
66
66
  getSelectionsAsync(): Promise<Selection[]>;
67
67
  getDecosAsync(): Promise<DecoNode[]>;
68
68
  getAnswerPrices(): Promise<AnswerPrice[]>;
69
- getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
69
+ getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
70
70
  setInstanceToConfigure(id: string): Promise<DataServiceResponseData>;
71
71
  selectAnswer(answer: Answer, userInput?: string): Promise<DataServiceResponseData>;
72
72
  cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
@@ -78,7 +78,7 @@ export declare class HomedecoratorConnectorAdapterService {
78
78
  getMoodImageForAnswerSelection(answerOrSelection: Answer | Selection, thumbNail?: boolean): Promise<string>;
79
79
  getAnswerInfo(answer: Answer): Promise<ArticleText[]>;
80
80
  getInternalParameter(parameter: InternalParam): Promise<string>;
81
- store3DModelCDN(filename: string, fileContents: ArrayBuffer): Promise<string>;
81
+ store3DModelCDN(filename: string, fileContents: string): Promise<string>;
82
82
  getCatalogDefinitionsList(): Promise<CatalogDefinition[]>;
83
83
  getExternalSource(externalSourceId: number): Promise<ExternalSource>;
84
84
  getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
@@ -82,7 +82,7 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
82
82
  setDecoNodes(decoNodes: DecoNode[]): void;
83
83
  initConnection(forceReload?: boolean): Promise<void>;
84
84
  getInternalParameter(param: InternalParam): Promise<string>;
85
- getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
85
+ getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
86
86
  setInstance(id: string): Promise<DataServiceResponseData>;
87
87
  copyInstanceAndSaveOriginalConfiguration(instanceId: string, result: CustomFloorGroupResult): Promise<string>;
88
88
  copyInstanceAndLoseOriginalConfiguration(instanceId: string, result: CustomFloorGroupResult): Promise<string>;
@@ -109,7 +109,7 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
109
109
  private _isAllSelectionPublished;
110
110
  private _isAnswerPublished;
111
111
  private _preloadCachedImages;
112
- addToCart(goodId: number, goodType: string, quantity: number, instanceId: number): Promise<string>;
112
+ addToCart(goodId: number, goodType: string, quantity: number, instanceId: number, externalSource: boolean): Promise<string>;
113
113
  handleAnswersReceived(answers: Answer[]): Promise<void>;
114
114
  private _prepareSelectionsToDisplayImages;
115
115
  private _prepareSelectionsNextOptionValues;
@@ -54,6 +54,7 @@ export declare class UtilsService implements OnDestroy {
54
54
  textureFromUrl(url: string): Promise<any>;
55
55
  forceChangeDetection(cd: ChangeDetectorRef, component: any, propName: string): void;
56
56
  getKTX2Loader(): KTX2Loader;
57
+ downloadUSDZforARIOS(object: Object3D): Promise<void>;
57
58
  private _download3DModelAsGLB;
58
59
  private _download3DModelAsUSDZ;
59
60
  private _downloadFile;
@@ -1,10 +1,8 @@
1
1
  .buttons-container {
2
2
  position: absolute;
3
3
  display: flex;
4
- left: 50%;
5
- bottom: 0;
6
- -webkit-transform: translateX(-50%);
7
- transform: translateX(-50%)
4
+ right: 15px;
5
+ top: 15px;
8
6
  }
9
7
 
10
8
  .button-container {
@@ -1,4 +1,4 @@
1
- import { BufferGeometry, Color, Material, Mesh, Object3D } from 'three';
1
+ import { Color, Material, Mesh, Object3D, Vector3, BufferGeometry } from 'three';
2
2
  import { Metadata } from './metadata';
3
3
  import { Item } from './item';
4
4
  import { Texture } from '../../../core/model/texture';
@@ -10,12 +10,19 @@ export declare class FloorPlaneItem extends Item {
10
10
  fixed: boolean;
11
11
  floorColor: Color;
12
12
  floorTexture: Texture;
13
+ floorMesh: Mesh;
13
14
  protected updatePivotOnCreate: boolean;
14
15
  private _originalFloorMaterial;
15
16
  private _originalGeometry;
16
17
  private _originalUvs;
18
+ private _restoreObjects;
19
+ private _configurableFloor;
20
+ private _volume;
17
21
  constructor(metadata: Metadata, object: Object3D | Mesh, texture?: Texture, handlers?: any);
22
+ get size(): Vector3;
18
23
  set floorMaterial(mat: Material);
24
+ set floorObject(object: Object3D);
25
+ restoreFloorObject(): void;
19
26
  getTexture(): Texture;
20
27
  getColor(): Color;
21
28
  canBeRemoved(): boolean;
@@ -6,6 +6,7 @@ import { DecoNode } from '@colijnit/configuratorapi/build/model/deco-node';
6
6
  import { Selection } from '@colijnit/configuratorapi/build/model/selection';
7
7
  import { AdjustableElementInterface } from '../../../core/interface/adjustable-element.interface';
8
8
  import { HomedecoratorExternalSettingsInterface } from '../../../core/interface/homedecorator-external-settings.interface';
9
+ import { FloorCountResult } from '../service/floor-tile-intersection.service';
9
10
  /** Meta data for items. */
10
11
  export interface Metadata {
11
12
  itemName?: string;
@@ -71,4 +72,5 @@ export interface Metadata {
71
72
  invertDirection: boolean;
72
73
  invertSide: boolean;
73
74
  };
75
+ floorCountResult?: FloorCountResult;
74
76
  }
@@ -61,6 +61,7 @@ export declare class ArService implements OnDestroy {
61
61
  ngOnDestroy(): void;
62
62
  resetPlaneDetection(): Promise<void>;
63
63
  endSessionEvent(): void;
64
+ arIOSSupported(): Promise<boolean>;
64
65
  arSupported(): Promise<any>;
65
66
  addObjectToARScene(object: Object3D): void;
66
67
  modelLoading(): boolean;
@@ -0,0 +1,26 @@
1
+ import { Vector3 } from 'three';
2
+ import * as i0 from "@angular/core";
3
+ export declare enum FloorPattern {
4
+ NORMAL = 0,
5
+ HERRINGBONE = 1,
6
+ HON60 = 2,
7
+ HON45 = 3
8
+ }
9
+ export declare enum FloorPatternDirection {
10
+ STANDING = 0,
11
+ LYING = 1
12
+ }
13
+ export interface FloorPatternTransform {
14
+ position: Vector3;
15
+ rotation: Vector3;
16
+ isLeft: boolean;
17
+ }
18
+ export declare class FloorPatternService {
19
+ generatePattern(floorPattern: FloorPattern, plankSize: Vector3, floorSize: Vector3, direction?: FloorPatternDirection): FloorPatternTransform[];
20
+ private _rotatePatternOnZAxis;
21
+ private _normalPattern;
22
+ private _herringBone;
23
+ private _hon;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloorPatternService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<FloorPatternService>;
26
+ }
@@ -0,0 +1,25 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { SceneService } from './scene.service';
3
+ import { BufferGeometry, Mesh } from 'three';
4
+ import { FloorPatternTransform } from './floor-pattern.service';
5
+ import * as i0 from "@angular/core";
6
+ export interface FloorCountResult {
7
+ left: number;
8
+ right: number;
9
+ edge: number;
10
+ total: number;
11
+ }
12
+ export declare class FloorTileIntersectionService implements OnDestroy {
13
+ private _sceneService;
14
+ private _debug;
15
+ private _edgeCollisionMargin;
16
+ constructor(_sceneService: SceneService);
17
+ toggleDebug(): void;
18
+ countTiles(floorMesh: Mesh, floorPattern: Array<FloorPatternTransform>, geometry: BufferGeometry): FloorCountResult;
19
+ private _checkIntersection2;
20
+ private _generateEdgeColliders;
21
+ private _randomColMat;
22
+ ngOnDestroy(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloorTileIntersectionService, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<FloorTileIntersectionService>;
25
+ }
@@ -7,15 +7,14 @@ import * as i0 from "@angular/core";
7
7
  export declare class OutlineService implements OnDestroy {
8
8
  private _appEventService;
9
9
  private _outlinePass;
10
- private _texturePass;
11
10
  private _fxaaPass;
11
+ private _outputPass;
12
12
  private _composer;
13
13
  private _enabled;
14
14
  private _hideOutlineTimer;
15
15
  private _hideOutlineTimeout;
16
16
  private _animationDuration;
17
17
  private _outlinePassAsError;
18
- private _useMSAA;
19
18
  private _renderTarget;
20
19
  private _initializing;
21
20
  private _scene;
@@ -6,16 +6,22 @@ export declare class PostProcessingService implements OnDestroy {
6
6
  private _configurationService;
7
7
  private _composer;
8
8
  private _n8aoPass;
9
+ private _taaRenderPass;
10
+ private _outputPass;
11
+ private _renderPass;
9
12
  private _scene;
10
13
  private _renderer;
11
14
  private _camera;
15
+ private _renderTarget;
12
16
  private _effectController;
13
17
  private _postProcessingGui;
18
+ private _taaPassGui;
14
19
  private _subs;
15
20
  constructor(_configurationService: ConfigurationService);
16
21
  ngOnDestroy(): void;
17
22
  init(renderer: WebGLRenderer, scene: Scene, camera: PerspectiveCamera, width: number, height: number): void;
18
23
  private _updatePass;
24
+ private _createGuiTaaPass;
19
25
  setSize(width: number, height: number): void;
20
26
  render(): void;
21
27
  showGui(): void;
@@ -12,6 +12,7 @@ import { OutlineService } from './outline.service';
12
12
  import { HomedecoratorSettingsService } from '../../../core/service/homedecorator-settings.service';
13
13
  import { WebGLPathTracer } from 'three-gpu-pathtracer';
14
14
  import { PostProcessingService } from './post-processing.service';
15
+ import { SsrService } from './ssr.service';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare class SceneService implements OnDestroy {
17
18
  private _cameraService;
@@ -24,6 +25,7 @@ export declare class SceneService implements OnDestroy {
24
25
  private _outlineService;
25
26
  private _settingsService;
26
27
  private _postProcessing;
28
+ private _ssrService;
27
29
  set needsRender(value: boolean);
28
30
  get needsRender(): boolean;
29
31
  scene: Scene;
@@ -46,7 +48,7 @@ export declare class SceneService implements OnDestroy {
46
48
  private _subs;
47
49
  private _maxRenderSamples;
48
50
  private _numberOfSamplesRendered;
49
- constructor(_cameraService: CameraService, _configurationService: ConfigurationService, _xrService: XrService, _vrService: VrService, _arService: ArService, _messageBusService: MessageBusService, _viewModeService: ViewModeService, _outlineService: OutlineService, _settingsService: HomedecoratorSettingsService, _postProcessing: PostProcessingService);
51
+ constructor(_cameraService: CameraService, _configurationService: ConfigurationService, _xrService: XrService, _vrService: VrService, _arService: ArService, _messageBusService: MessageBusService, _viewModeService: ViewModeService, _outlineService: OutlineService, _settingsService: HomedecoratorSettingsService, _postProcessing: PostProcessingService, _ssrService: SsrService);
50
52
  ngOnDestroy(): void;
51
53
  getScene(): Scene;
52
54
  set arMode(value: boolean);
@@ -57,6 +59,7 @@ export declare class SceneService implements OnDestroy {
57
59
  updatePathTracer(): void;
58
60
  positionInSceneToScreen(pos: Vector3): Vector2;
59
61
  rendererPropsChange(): void;
62
+ createRenderWithOrthographicCamera(): string;
60
63
  private _initScene;
61
64
  private _initCamera;
62
65
  private _initOutline;
@@ -0,0 +1,19 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { HomedecoratorSettingsService } from '../../../core/service/homedecorator-settings.service';
3
+ import { Object3D } from 'three';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SsrService implements OnDestroy {
6
+ private _settingsService;
7
+ set enabled(value: boolean);
8
+ get enabled(): boolean;
9
+ private _enabled;
10
+ private _subs;
11
+ private _websocket;
12
+ constructor(_settingsService: HomedecoratorSettingsService);
13
+ ngOnDestroy(): void;
14
+ init(): void;
15
+ sceneChanged(scene: Object3D): void;
16
+ private _prepareWebsocket;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SsrService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<SsrService>;
19
+ }
@@ -7,6 +7,10 @@ import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';
7
7
  import { ThirdPartyModelService } from '../../threedselector/threedselector/service/third-party-model.service';
8
8
  import { MessageBusService } from '../../../core/service/message-bus.service';
9
9
  import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
10
+ import { LightPresetsService } from '../../core3d/service/light-presets.service';
11
+ import { HomedecoratorDictionaryService } from '../../../core/service/homedecorator-dictionary.service';
12
+ import { FontService } from '../../core3d/service/font.service';
13
+ import { Font } from 'three/examples/jsm/loaders/FontLoader';
10
14
  import * as i0 from "@angular/core";
11
15
  export declare class ModelPreviewComponent implements OnInit, OnDestroy {
12
16
  data: {
@@ -18,6 +22,11 @@ export declare class ModelPreviewComponent implements OnInit, OnDestroy {
18
22
  private _messageService;
19
23
  private _dialog;
20
24
  private _adapterService;
25
+ private _lightPresetsService;
26
+ private _dictionaryService;
27
+ private _fontService;
28
+ glbExportName: ElementRef;
29
+ heightArticle: ElementRef;
21
30
  scenePreview: THREE.Scene;
22
31
  cameraPreview: THREE.PerspectiveCamera;
23
32
  rendererPreview: THREE.WebGLRenderer;
@@ -27,20 +36,35 @@ export declare class ModelPreviewComponent implements OnInit, OnDestroy {
27
36
  unitsOfMeasurement: string;
28
37
  modelName: string;
29
38
  mathPi: number;
30
- glbExportName: ElementRef;
31
- heightArticle: ElementRef;
39
+ showReferenceModel: boolean;
40
+ floorSizeHeight: number;
41
+ floorSizeWidth: number;
42
+ gridSize: number;
43
+ gridDivision: number;
44
+ distanceStep: number;
45
+ font: Font;
46
+ stackable: boolean;
47
+ heightAdjustable: boolean;
48
+ private _measurements;
32
49
  constructor(data: {
33
50
  file: any;
34
- }, settingsService: HomedecoratorSettingsService, _dialogRef: MatDialogRef<ModelPreviewComponent>, _thirdPartyModelService: ThirdPartyModelService, _messageService: MessageBusService, _dialog: MatDialog, _adapterService: HomedecoratorConnectorAdapterService);
51
+ }, settingsService: HomedecoratorSettingsService, _dialogRef: MatDialogRef<ModelPreviewComponent>, _thirdPartyModelService: ThirdPartyModelService, _messageService: MessageBusService, _dialog: MatDialog, _adapterService: HomedecoratorConnectorAdapterService, _lightPresetsService: LightPresetsService, _dictionaryService: HomedecoratorDictionaryService, _fontService: FontService);
35
52
  ngOnInit(): void;
36
53
  ngOnDestroy(): void;
37
54
  initScene(): void;
55
+ loadFloorPlane(): void;
56
+ loadLights(): void;
57
+ loadReferenceModel(): void;
38
58
  loadModel(input: any): void;
39
59
  loadHDRI(path: string): Promise<void>;
40
60
  exportSceneAsGLB(returnType: string): void;
41
61
  scaleArticle(): void;
42
62
  rotateModel(axis: string, degrees: number): void;
63
+ moveModel(axis: string, amount: number): void;
43
64
  setUnit(event: any): void;
65
+ toggleShowReferenceModel(): void;
66
+ setStackable(event: any): void;
67
+ setHeightAdjustable(event: any): void;
44
68
  private _animate;
45
69
  private _render;
46
70
  private _downloadModel;
@@ -50,8 +74,21 @@ export declare class ModelPreviewComponent implements OnInit, OnDestroy {
50
74
  private _fbxLoader;
51
75
  private _objLoader;
52
76
  private _tdsLoader;
77
+ private _stlLoader;
78
+ private _addFromGeometry;
79
+ private _prepModelForScene;
53
80
  private _getBoundingBox;
81
+ private _showMeasurements;
82
+ private _setMeasurements;
83
+ private _createHeightMeasurement;
84
+ private _createWidthMeasurement;
85
+ private _createDepthMeasurement;
86
+ private _calculateHeightPositions;
87
+ private _calculateWidthPositions;
88
+ private _calculateDepthPositions;
54
89
  private _blobToArrayBuffer;
90
+ private _createLightFromProperties;
91
+ private _setObjectProperties;
55
92
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelPreviewComponent, never>;
56
93
  static ɵcmp: i0.ɵɵComponentDeclaration<ModelPreviewComponent, "rp-model-preview", never, {}, {}, never, never>;
57
94
  }
@@ -53,6 +53,7 @@ export declare class NewRenderService implements OnDestroy {
53
53
  renderRoom(size: any): Promise<void>;
54
54
  private _exportToGlb;
55
55
  private _getNewRenderImage;
56
+ private _handleAjaxBlenderRender;
56
57
  private _handleAjaxRender;
57
58
  private _handleWebSocketRender;
58
59
  private _handleWebSocketRoomRender;
@@ -34,6 +34,8 @@ import { HomedecoratorDictionaryService } from '../../../../core/service/homedec
34
34
  import { HomedecoratorAppEventService } from '../../../../core/service/homedecorator-app-event.service';
35
35
  import { HomedecoratorSettingsService } from '../../../../core/service/homedecorator-settings.service';
36
36
  import { FloorService } from '../../../core3d/service/floor.service';
37
+ import { FloorPatternService } from '../../../core3d/service/floor-pattern.service';
38
+ import { FloorTileIntersectionService } from '../../../core3d/service/floor-tile-intersection.service';
37
39
  import * as i0 from "@angular/core";
38
40
  export interface ConfiguringModeChangeInterface {
39
41
  metadata: Metadata;
@@ -66,6 +68,8 @@ export declare class BuildFurnitureService implements OnDestroy {
66
68
  private _resizeService;
67
69
  private _viewModeService;
68
70
  private _floorService;
71
+ private _floorPatternService;
72
+ private _floorTileIntersectionService;
69
73
  baseElementNodeId: number;
70
74
  articleAssetPath: string;
71
75
  toggleSelectedElement: Subject<Mesh>;
@@ -101,15 +105,20 @@ export declare class BuildFurnitureService implements OnDestroy {
101
105
  private _subs;
102
106
  private _answerSelected;
103
107
  private _furnitureConfigurations;
104
- constructor(_dialog: MatDialog, _iOne: HomedecoratorConnectorService, _threedSelectorService: ThreedselectorService, _collisionManager: CollisionManagerService, _messageBus: MessageBusService, _dictionaryService: HomedecoratorDictionaryService, _hudService: HudService, _sceneService: SceneService, _cameraService: CameraService, _sceneEventService: SceneEventService, _appEventService: HomedecoratorAppEventService, _presetService: PresetsService, _itemService: ItemService, _elementService: ElementService, _permanentStoreService: PermanentStoreService, _googleTagManager: GoogleTagManagerService, _settingsService: HomedecoratorSettingsService, _utilsService: UtilsService, _variationService: VariationService, _appStateService: AppStateService, _errorService: ErrorService, _itemGroupService: ItemGroupService, _variationCacheService: VariationCacheService, _resizeService: ResizeService, _viewModeService: ViewModeService, _floorService: FloorService);
108
+ constructor(_dialog: MatDialog, _iOne: HomedecoratorConnectorService, _threedSelectorService: ThreedselectorService, _collisionManager: CollisionManagerService, _messageBus: MessageBusService, _dictionaryService: HomedecoratorDictionaryService, _hudService: HudService, _sceneService: SceneService, _cameraService: CameraService, _sceneEventService: SceneEventService, _appEventService: HomedecoratorAppEventService, _presetService: PresetsService, _itemService: ItemService, _elementService: ElementService, _permanentStoreService: PermanentStoreService, _googleTagManager: GoogleTagManagerService, _settingsService: HomedecoratorSettingsService, _utilsService: UtilsService, _variationService: VariationService, _appStateService: AppStateService, _errorService: ErrorService, _itemGroupService: ItemGroupService, _variationCacheService: VariationCacheService, _resizeService: ResizeService, _viewModeService: ViewModeService, _floorService: FloorService, _floorPatternService: FloorPatternService, _floorTileIntersectionService: FloorTileIntersectionService);
105
109
  ngOnDestroy(): void;
106
110
  build(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
107
111
  startToBuild(result?: CustomFloorGroupResult, metadata?: Metadata, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean): Promise<CustomFloorGroupResult>;
108
112
  getOptionsFromSelection(baseSelection: Selection): Selection[];
109
113
  downloadCurrentCustomFloorgroup(): void;
114
+ downloadUDSZforARIOS(): void;
110
115
  downloadScene(): void;
111
116
  createSimple3DModel(result: CustomFloorGroupResult, standAlone?: boolean): CustomFloorGroupResult;
112
117
  private _buildFloor;
118
+ private _generateLayingPattern;
119
+ private _generateFloorPatternInfo;
120
+ private _generateSelectedInMetadata;
121
+ private _normalizeMesh;
113
122
  private _startToBuildFromConfigurator;
114
123
  private _setInstanceToConfigure;
115
124
  private _prepareSelectionsAndDecos;
@@ -160,6 +160,7 @@ export declare class ThreedselectorComponent implements OnInit, OnDestroy {
160
160
  private _afterLoadFromPreset;
161
161
  private _isIONEObject;
162
162
  private _prepareAddButtons;
163
+ private _getConnectorObject;
163
164
  private _getOppositeConnectorParts;
164
165
  private _prepareOtherButtons;
165
166
  private _handleAddButtonClick;
@@ -37,8 +37,9 @@ import * as i35 from "@colijnit/corecomponents";
37
37
  import * as i36 from "@angular/material/badge";
38
38
  import * as i37 from "../threed-in-photo/threed-in-photo.module";
39
39
  import * as i38 from "ng2-pdf-viewer";
40
+ import * as i39 from "../../shared/pdf-export/pdf-export.module";
40
41
  export declare class ToolbarModule {
41
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.SaveDialogComponent, typeof i2.OpenDialogComponent, typeof i3.DrawDialogComponent, typeof i4.PdfCropDialogComponent, typeof i5.ToolbarComponent, typeof i6.SavedDialogComponent, typeof i7.DownloadDialogComponent, typeof i8.LoadFromCloudDialogComponent, typeof i9.LandingScreenModalComponent, typeof i10.LimitedModeMessageComponent, typeof i11.RegisterDialogComponent, typeof i12.EditPresetDialogComponent], [typeof i13.CoreModule, typeof i14.CommonModule, typeof i15.ErrorDialogModule, typeof i16.ModelDialogModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.MatToolbarModule, typeof i19.MatIconModule, typeof i20.MatButtonModule, typeof i21.MatTooltipModule, typeof i22.MatSidenavModule, typeof i23.MatListModule, typeof i24.MatDialogModule, typeof i25.MatButtonToggleModule, typeof i26.MatSnackBarModule, typeof i27.MatInputModule, typeof i28.MatFormFieldModule, typeof i29.MatCardModule, typeof i30.MatGridListModule, typeof i31.MatMenuModule, typeof i32.FlexLayoutModule, typeof i33.PortalModule, typeof i34.ToolbarIconModule, typeof i35.InputTextModule, typeof i35.IconModule, typeof i36.MatBadgeModule, typeof i37.ThreedInPhotoModule, typeof i38.PdfViewerModule], [typeof i5.ToolbarComponent]>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.SaveDialogComponent, typeof i2.OpenDialogComponent, typeof i3.DrawDialogComponent, typeof i4.PdfCropDialogComponent, typeof i5.ToolbarComponent, typeof i6.SavedDialogComponent, typeof i7.DownloadDialogComponent, typeof i8.LoadFromCloudDialogComponent, typeof i9.LandingScreenModalComponent, typeof i10.LimitedModeMessageComponent, typeof i11.RegisterDialogComponent, typeof i12.EditPresetDialogComponent], [typeof i13.CoreModule, typeof i14.CommonModule, typeof i15.ErrorDialogModule, typeof i16.ModelDialogModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.MatToolbarModule, typeof i19.MatIconModule, typeof i20.MatButtonModule, typeof i21.MatTooltipModule, typeof i22.MatSidenavModule, typeof i23.MatListModule, typeof i24.MatDialogModule, typeof i25.MatButtonToggleModule, typeof i26.MatSnackBarModule, typeof i27.MatInputModule, typeof i28.MatFormFieldModule, typeof i29.MatCardModule, typeof i30.MatGridListModule, typeof i31.MatMenuModule, typeof i32.FlexLayoutModule, typeof i33.PortalModule, typeof i34.ToolbarIconModule, typeof i35.InputTextModule, typeof i35.IconModule, typeof i36.MatBadgeModule, typeof i37.ThreedInPhotoModule, typeof i38.PdfViewerModule, typeof i39.ExportPdfModule], [typeof i5.ToolbarComponent]>;
43
44
  static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
44
45
  }
@@ -0,0 +1,20 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { SceneService } from '../../plugins/core3d/service/scene.service';
3
+ import { FloorService } from '../../plugins/core3d/service/floor.service';
4
+ import { MessageBusService } from '../../core/service/message-bus.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ExportPdfComponent implements OnDestroy {
7
+ private _sceneService;
8
+ private _floorService;
9
+ private _messageBusService;
10
+ private _subs;
11
+ private _diagramBackground;
12
+ constructor(_sceneService: SceneService, _floorService: FloorService, _messageBusService: MessageBusService);
13
+ ngOnDestroy(): void;
14
+ getFloor(): string[][];
15
+ generatePdf(): void;
16
+ setDiagramBackground(input: any): void;
17
+ private _createSceneScreenshot;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportPdfComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExportPdfComponent, "rp-pdf-export", never, {}, {}, never, never>;
20
+ }
@@ -0,0 +1,19 @@
1
+ :host {
2
+ .mat-dialog-content {
3
+ margin: 0;
4
+ padding: 0;
5
+ overflow: hidden;
6
+ }
7
+ .mat-nav-list {
8
+ display: flex;
9
+ flex-direction: column;
10
+ }
11
+ }
12
+
13
+ .mat-dialog-actions {
14
+ margin-bottom: 0;
15
+ }
16
+
17
+ .item-description {
18
+ white-space: inherit !important;
19
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pdf-export.component";
3
+ import * as i2 from "../../core/core.module";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@angular/material/list";
7
+ export declare class ExportPdfModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportPdfModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExportPdfModule, [typeof i1.ExportPdfComponent], [typeof i2.CoreModule, typeof i3.CommonModule, typeof i4.MatDialogModule, typeof i5.MatListModule], [typeof i1.ExportPdfComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ExportPdfModule>;
11
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Pro 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--><path d="M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z"/></svg>