@colijnit/homedecorator 256.1.26 → 256.1.28

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 (39) hide show
  1. package/app/homedecorator.component.d.ts +5 -3
  2. package/app/plugins/help/help-dialog/help-dialog.component.d.ts +10 -3
  3. package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary-line.component.d.ts +3 -1
  4. package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.d.ts +5 -1
  5. package/app/plugins/lite-selector/lite-selector/component/summary-line/summary-line.component.d.ts +50 -0
  6. package/app/plugins/lite-selector/lite-selector/component/summary-line/summary-line.scss +156 -0
  7. package/app/plugins/lite-selector/lite-selector/lite-selector.component.d.ts +2 -1
  8. package/app/plugins/lite-selector/lite-selector.module.d.ts +9 -7
  9. package/app/plugins/model-uploader/model-previewer/model-preview.component.d.ts +10 -6
  10. package/app/plugins/toolbar/load-from-cloud-dialog/load-from-cloud-dialog.component.d.ts +7 -2
  11. package/app/plugins/toolbar/open-dialog/open-dialog.component.d.ts +4 -0
  12. package/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.d.ts +1 -5
  13. package/app/plugins/toolbar/save-dialog/save-dialog.component.d.ts +10 -4
  14. package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +3 -1
  15. package/app/shared/camera-settings-dialog/camera-settings-dialog.component.d.ts +13 -4
  16. package/app/shared/model-dialog/model-dialog.component.d.ts +5 -2
  17. package/bundles/colijnit-homedecorator.umd.js +587 -341
  18. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  19. package/esm2015/app/core/service/homedecorator-connector.service.js +3 -2
  20. package/esm2015/app/homedecorator.component.js +16 -6
  21. package/esm2015/app/plugins/help/help-dialog/help-dialog.component.js +17 -14
  22. package/esm2015/app/plugins/lite-selector/lite-selector/component/color-filter/color-filter.component.js +2 -2
  23. package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary-line.component.js +29 -6
  24. package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.js +28 -4
  25. package/esm2015/app/plugins/lite-selector/lite-selector/component/summary-line/summary-line.component.js +266 -0
  26. package/esm2015/app/plugins/lite-selector/lite-selector/lite-selector.component.js +10 -5
  27. package/esm2015/app/plugins/lite-selector/lite-selector.module.js +17 -13
  28. package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +18 -23
  29. package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +9 -3
  30. package/esm2015/app/plugins/toolbar/load-from-cloud-dialog/load-from-cloud-dialog.component.js +23 -19
  31. package/esm2015/app/plugins/toolbar/open-dialog/open-dialog.component.js +7 -2
  32. package/esm2015/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.js +8 -12
  33. package/esm2015/app/plugins/toolbar/save-dialog/save-dialog.component.js +18 -21
  34. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +40 -23
  35. package/esm2015/app/shared/camera-settings-dialog/camera-settings-dialog.component.js +21 -19
  36. package/esm2015/app/shared/model-dialog/model-dialog.component.js +20 -20
  37. package/fesm2015/colijnit-homedecorator.js +519 -160
  38. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  39. package/package.json +2 -2
@@ -20,7 +20,8 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
20
20
  private _domSanitizer;
21
21
  private _messageService;
22
22
  private _homedecoratorService;
23
- private _eventService;
23
+ private _parentEventService;
24
+ private _ownEventService;
24
25
  private _integrationService;
25
26
  generalFilterOrders: FilterOrder[];
26
27
  purchaseFilterOrders: FilterOrder[];
@@ -39,7 +40,8 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
39
40
  private _subs;
40
41
  private _initCommunication;
41
42
  private _settings;
42
- constructor(controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _eventService: HomedecoratorAppEventService, _integrationService: IntegrationService);
43
+ private _eventService;
44
+ constructor(controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _parentEventService: HomedecoratorAppEventService, _ownEventService: HomedecoratorAppEventService, _integrationService: IntegrationService);
43
45
  ngOnInit(): Promise<void>;
44
46
  ngOnDestroy(): void;
45
47
  registerCustomIcons(): void;
@@ -48,6 +50,6 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
48
50
  private _startWithPreset;
49
51
  private _setCommunication;
50
52
  private _initConnection;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, never>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null]>;
52
54
  static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; "settings": "settings"; }, {}, never, never>;
53
55
  }
@@ -5,13 +5,20 @@ import { HomedecoratorSettingsService } from '../../../core/service/homedecorato
5
5
  import { HomedecoratorDictionaryService } from '../../../core/service/homedecorator-dictionary.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class HelpDialogComponent implements OnInit, OnDestroy {
8
+ data: {
9
+ appService: HomedecoratorAppService;
10
+ settingsService: HomedecoratorSettingsService;
11
+ };
8
12
  private _lightbox;
9
- private _appService;
10
- private _settingsService;
11
13
  private _dictionaryService;
12
14
  albums: Array<IAlbum>;
13
15
  private _stop$;
14
- constructor(_lightbox: Lightbox, _appService: HomedecoratorAppService, _settingsService: HomedecoratorSettingsService, _dictionaryService: HomedecoratorDictionaryService);
16
+ private _appService;
17
+ private _settingsService;
18
+ constructor(data: {
19
+ appService: HomedecoratorAppService;
20
+ settingsService: HomedecoratorSettingsService;
21
+ }, _lightbox: Lightbox, _dictionaryService: HomedecoratorDictionaryService);
15
22
  ngOnInit(): void;
16
23
  ngOnDestroy(): void;
17
24
  openLightbox(index: number): void;
@@ -17,6 +17,8 @@ export declare class SelectionsSummaryLineComponent implements OnInit, OnDestroy
17
17
  answerToShowFromSelectionText: string;
18
18
  customizeButtonClicked: EventEmitter<void>;
19
19
  summaryLineClick: EventEmitter<void>;
20
+ summaryLineRepeat: EventEmitter<MouseEvent>;
21
+ summaryLineDelete: EventEmitter<MouseEvent>;
20
22
  shouldBeHidden: boolean;
21
23
  selectionDescription: string;
22
24
  showCustomizeButton: boolean;
@@ -27,5 +29,5 @@ export declare class SelectionsSummaryLineComponent implements OnInit, OnDestroy
27
29
  ngOnDestroy(): void;
28
30
  ngOnInit(): void;
29
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryLineComponent, "rp-selections-summary-line", never, { "selection": "selection"; "valutaSymbol": "valutaSymbol"; "answersTemplate": "answersTemplate"; "answerToShowFromSelectionText": "answerToShowFromSelectionText"; }, { "customizeButtonClicked": "customizeButtonClicked"; "summaryLineClick": "summaryLineClick"; }, never, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryLineComponent, "rp-selections-summary-line", never, { "selection": "selection"; "valutaSymbol": "valutaSymbol"; "answersTemplate": "answersTemplate"; "answerToShowFromSelectionText": "answerToShowFromSelectionText"; }, { "customizeButtonClicked": "customizeButtonClicked"; "summaryLineClick": "summaryLineClick"; "summaryLineRepeat": "summaryLineRepeat"; "summaryLineDelete": "summaryLineDelete"; }, never, never>;
31
33
  }
@@ -26,13 +26,17 @@ export declare class SelectionsSummaryComponent implements OnDestroy {
26
26
  readonly closeClick: EventEmitter<void>;
27
27
  readonly cancelAnswers: EventEmitter<void>;
28
28
  readonly selectSelection: EventEmitter<Selection>;
29
+ readonly repeatSelection: EventEmitter<Selection>;
30
+ readonly deleteSelection: EventEmitter<Selection>;
29
31
  selectionToCustomize: Selection;
30
32
  valutaSymbol: string;
31
33
  private _subs;
32
34
  constructor(_buildFurnitureService: BuildFurnitureService, customizerService: CustomizerService, settingsService: HomedecoratorSettingsService, iOne: HomedecoratorConnectorService, iconCache: HomedecoratorIconCacheService);
33
35
  ngOnDestroy(): void;
34
36
  handleClick(sel: Selection): void;
37
+ handleRepeat(event: MouseEvent, sel: Selection): void;
38
+ handleDelete(event: MouseEvent, sel: Selection): void;
35
39
  toggleElement(sel: Selection): void;
36
40
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "rp-selections-summary", never, { "selections": "selections"; "showLabel": "showLabel"; "canClose": "canClose"; "answersTemplate": "answersTemplate"; "answerToShowFromSelectionText": "answerToShowFromSelectionText"; "customDimensions": "customDimensions"; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; }, never, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "rp-selections-summary", never, { "selections": "selections"; "showLabel": "showLabel"; "canClose": "canClose"; "answersTemplate": "answersTemplate"; "answerToShowFromSelectionText": "answerToShowFromSelectionText"; "customDimensions": "customDimensions"; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; "repeatSelection": "repeatSelection"; "deleteSelection": "deleteSelection"; }, never, never>;
38
42
  }
@@ -0,0 +1,50 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
+ import { HomedecoratorIconCacheService } from '../../../../../core/service/homedecorator-icon-cache.service';
3
+ import { IconEnum } from '../../../../../core/enum/icon.enum';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SummaryLineComponent implements AfterViewInit {
6
+ iconCacheService: HomedecoratorIconCacheService;
7
+ private _changeDetector;
8
+ readonly icons: typeof IconEnum;
9
+ titleBlock: ElementRef;
10
+ imageData: string;
11
+ title: string;
12
+ description: string;
13
+ /**
14
+ * Total price of the selection
15
+ */
16
+ price: number | string;
17
+ /**
18
+ * Multiline data for selection tree
19
+ * title: string
20
+ * description: string
21
+ * price: number | string
22
+ */
23
+ multilineData: any;
24
+ valutaSymbol: string;
25
+ isHighlighted: boolean;
26
+ showClass(): boolean;
27
+ isCollapsable: boolean;
28
+ canRepeat: boolean;
29
+ isDeletable: boolean;
30
+ showContent: boolean;
31
+ repeatClicked: EventEmitter<MouseEvent>;
32
+ deleteClicked: EventEmitter<MouseEvent>;
33
+ data: {
34
+ title: string;
35
+ description: string;
36
+ price: number | string;
37
+ }[];
38
+ showList: boolean;
39
+ showCollapsable: boolean;
40
+ showListTotalPrice: boolean;
41
+ constructor(iconCacheService: HomedecoratorIconCacheService, _changeDetector: ChangeDetectorRef);
42
+ ngAfterViewInit(): void;
43
+ collapsableCheck(): void;
44
+ toggleShowHideList(event: MouseEvent): void;
45
+ handleRepeatClick(event: MouseEvent): void;
46
+ handleDeleteClick(event: MouseEvent): void;
47
+ private _setShowList;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<SummaryLineComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<SummaryLineComponent, "co-summary-line", never, { "imageData": "imageData"; "title": "title"; "description": "description"; "price": "price"; "multilineData": "multilineData"; "valutaSymbol": "valutaSymbol"; "isHighlighted": "isHighlighted"; "showClass": "showClass"; "isCollapsable": "isCollapsable"; "canRepeat": "canRepeat"; "isDeletable": "isDeletable"; "showContent": "showContent"; }, { "repeatClicked": "repeatClicked"; "deleteClicked": "deleteClicked"; }, never, ["*"]>;
50
+ }
@@ -0,0 +1,156 @@
1
+ .co-summary-line {
2
+ display: flex;
3
+ flex-direction: column;
4
+ background-color: white;
5
+ box-shadow: 0 0 2px 0 rgba(72, 79, 96, .25);
6
+ overflow: hidden;
7
+
8
+ .summary-line {
9
+ display: grid;
10
+ grid-template-columns: auto minmax(200px, 500px) 75px;
11
+ grid-template-areas: "column-image column-title column-icon";
12
+ }
13
+
14
+ .column-image {
15
+ grid-area: column-image;
16
+ }
17
+
18
+ .column-title {
19
+ grid-area: column-title;
20
+ }
21
+
22
+ .column-icon {
23
+ grid-area: column-icon;
24
+ display: flex;
25
+ align-items: flex-start;
26
+ justify-content: center;
27
+ height: auto;
28
+ width: 100%;
29
+ }
30
+
31
+ .image {
32
+ display: flex;
33
+ flex-shrink: 0;
34
+ width: 54px;
35
+ height: 54px;
36
+ padding: 5px;
37
+ margin: 3px 0;
38
+ .co-image {
39
+ height: 100%;
40
+ width: 100%;
41
+ .no-image-wrapper {
42
+ .co-icon {
43
+ width: 80%;
44
+ height: 80%;
45
+ }
46
+ span {
47
+ display: none;
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ .title-wrapper {
54
+ display: flex;
55
+ flex-direction: row;
56
+ justify-content: space-between;
57
+ &:first-child {
58
+ margin-top: 10px;
59
+ }
60
+ }
61
+
62
+ .titles {
63
+ display: flex;
64
+ flex-direction: column;
65
+ margin: 4px;
66
+ line-height: 20px;
67
+ font-size: 14px;
68
+ label {
69
+ flex-shrink: 0;
70
+ font-size: 13px;
71
+ font-style: italic;
72
+ line-height: 19px;
73
+ color: #5B6875;
74
+ }
75
+ }
76
+
77
+ .title-list-wrapper {
78
+ display: flex;
79
+ flex-direction: row;
80
+ width: 100%;
81
+ justify-content: space-between;
82
+ }
83
+
84
+ .price-plus {
85
+ margin-right: 5px;
86
+ }
87
+
88
+ .selection-price, .total-price {
89
+ display: flex;
90
+ align-items: center;
91
+ }
92
+
93
+ .selection-price {
94
+ font-size: 12px;
95
+ font-style: italic;
96
+ }
97
+
98
+ .total-price {
99
+ background: white;
100
+ font-size: 15px;
101
+ font-weight: bold;
102
+ white-space: nowrap;
103
+ }
104
+
105
+ .icon {
106
+ flex-shrink: 0;
107
+ flex-grow: 0;
108
+ //width: 40px;
109
+ //height: 40px;
110
+ //padding: 0 7px;
111
+ //margin: 15px 0 0 15px;
112
+ //font-size: 0;
113
+ //display: flex;
114
+ //align-content: center;
115
+ //justify-content: center;
116
+ &.collapse {
117
+ border-left: 1px solid rgba(72, 79, 96, .1);
118
+ margin-top: 15px;
119
+ > co-icon {
120
+ cursor: pointer;
121
+ transition: 0.3s ease-in-out;
122
+ border-radius: 30px;
123
+ }
124
+ &:hover > co-icon {
125
+ background: #fafafa;
126
+ }
127
+ }
128
+ .co-icon {
129
+ position: relative;
130
+ width: 30px;
131
+ height: 40px;
132
+ svg { // for fontawesome icons
133
+ fill: #5b6875;
134
+ }
135
+ & [fill] { // for own icons
136
+ fill: #5b6875;
137
+ }
138
+ &.collapse {
139
+ transform: rotate(180deg);
140
+ }
141
+ &.delete svg {
142
+ height: 25px;
143
+ width: 25px;
144
+ }
145
+ &.repeat {
146
+ width: 20px;
147
+ }
148
+ }
149
+ }
150
+ .button-wrapper {
151
+ display: flex;
152
+ flex-direction: column;
153
+ align-items: center;
154
+ width: 30px;
155
+ }
156
+ }
@@ -33,7 +33,8 @@ export declare class LiteSelectorComponent implements OnDestroy {
33
33
  constructor(iOne: HomedecoratorConnectorService, buildFurnitureService: BuildFurnitureService, _settingsService: HomedecoratorSettingsService);
34
34
  ngOnDestroy(): void;
35
35
  onCloseLiteSelectorButtonClick(): void;
36
- onSelectionsSummarySelectSelection(selection: Selection): Promise<void>;
36
+ onSelectionsSummarySelectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean): Promise<void>;
37
+ onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
37
38
  onAnswersSlideoutAnswerChosen(answerSelected: any): void;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
39
40
  static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "rp-lite-selector", never, { "showAnswers": "showAnswers"; "show": "show"; "showSelections": "showSelections"; "showLabel": "showLabel"; "canClose": "canClose"; "metadata": "metadata"; "customDimensions": "customDimensions"; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never>;
@@ -9,14 +9,16 @@ import * as i7 from "./lite-selector/component/image-zoom/image-zoom.component";
9
9
  import * as i8 from "./lite-selector/component/tag-filter/tag-filter.component";
10
10
  import * as i9 from "./lite-selector/component/customizer/customizer.component";
11
11
  import * as i10 from "./lite-selector/component/animation/animation.component";
12
- import * as i11 from "../../core/core.module";
13
- import * as i12 from "@angular/common";
14
- import * as i13 from "@angular/material/icon";
15
- import * as i14 from "@angular/material/button";
16
- import * as i15 from "@colijnit/corecomponents";
17
- import * as i16 from "@angular/forms";
12
+ import * as i11 from "./lite-selector/component/summary-line/summary-line.component";
13
+ import * as i12 from "../../core/core.module";
14
+ import * as i13 from "@angular/common";
15
+ import * as i14 from "@angular/material/icon";
16
+ import * as i15 from "@angular/material/button";
17
+ import * as i16 from "@colijnit/corecomponents";
18
+ import * as i17 from "@angular/forms";
19
+ import * as i18 from "@colijnit/corecomponents_v12";
18
20
  export declare class LiteSelectorModule {
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<LiteSelectorModule, [typeof i1.LiteSelectorComponent, typeof i2.AnswerCardComponent, typeof i3.AnswersSlideoutComponent, typeof i4.SelectionsSummaryComponent, typeof i5.SelectionsSummaryLineComponent, typeof i6.ColorFilterComponent, typeof i7.ImageZoomComponent, typeof i8.TagFilterComponent, typeof i9.CustomizerComponent, typeof i10.AnimationComponent], [typeof i11.CoreModule, typeof i12.CommonModule, typeof i13.MatIconModule, typeof i14.MatButtonModule, typeof i15.CardModule, typeof i15.SlideoutModule, typeof i15.SummaryLineModule, typeof i15.PriceDisplayPipeModule, typeof i15.ButtonModule, typeof i15.HtmlHeaderModule, typeof i15.InputTextModule, typeof i15.InputTextChipsModule, typeof i15.IconModule, typeof i16.FormsModule], [typeof i1.LiteSelectorComponent, typeof i10.AnimationComponent, typeof i9.CustomizerComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LiteSelectorModule, [typeof i1.LiteSelectorComponent, typeof i2.AnswerCardComponent, typeof i3.AnswersSlideoutComponent, typeof i4.SelectionsSummaryComponent, typeof i5.SelectionsSummaryLineComponent, typeof i6.ColorFilterComponent, typeof i7.ImageZoomComponent, typeof i8.TagFilterComponent, typeof i9.CustomizerComponent, typeof i10.AnimationComponent, typeof i11.SummaryLineComponent], [typeof i12.CoreModule, typeof i13.CommonModule, typeof i14.MatIconModule, typeof i15.MatButtonModule, typeof i16.CardModule, typeof i16.SlideoutModule, typeof i16.PriceDisplayPipeModule, typeof i16.ButtonModule, typeof i16.HtmlHeaderModule, typeof i16.InputTextModule, typeof i16.InputTextChipsModule, typeof i17.FormsModule, typeof i18.ImageModule, typeof i18.IconModule], [typeof i1.LiteSelectorComponent, typeof i10.AnimationComponent, typeof i9.CustomizerComponent]>;
21
23
  static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
22
24
  }
@@ -8,7 +8,6 @@ import { ThirdPartyModelService } from '../../threedselector/threedselector/serv
8
8
  import { MessageBusService } from '../../../core/service/message-bus.service';
9
9
  import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
10
10
  import { LightPresetsService } from '../../core3d/service/light-presets.service';
11
- import { HomedecoratorDictionaryService } from '../../../core/service/homedecorator-dictionary.service';
12
11
  import { FontService } from '../../core3d/service/font.service';
13
12
  import { Font } from 'three/examples/jsm/loaders/FontLoader';
14
13
  import { IconEnum } from '../../../core/enum/icon.enum';
@@ -20,20 +19,25 @@ export declare class ModelPreviewComponent implements OnInit, OnDestroy {
20
19
  file: any;
21
20
  thirdPartyModelService: ThirdPartyModelService;
22
21
  lightPresetService: LightPresetsService;
22
+ settingsService: HomedecoratorSettingsService;
23
+ iconCache: HomedecoratorIconCacheService;
24
+ adapterService: HomedecoratorConnectorAdapterService;
23
25
  };
24
- settingsService: HomedecoratorSettingsService;
25
- iconCache: HomedecoratorIconCacheService;
26
26
  private _dialogRef;
27
27
  private _messageService;
28
28
  private _dialog;
29
- private _adapterService;
30
- private _dictionaryService;
31
29
  private _fontService;
30
+ settingsService: HomedecoratorSettingsService;
31
+ iconCache: HomedecoratorIconCacheService;
32
+ private _adapterService;
32
33
  constructor(data: {
33
34
  file: any;
34
35
  thirdPartyModelService: ThirdPartyModelService;
35
36
  lightPresetService: LightPresetsService;
36
- }, settingsService: HomedecoratorSettingsService, iconCache: HomedecoratorIconCacheService, _dialogRef: MatDialogRef<ModelPreviewComponent>, _messageService: MessageBusService, _dialog: MatDialog, _adapterService: HomedecoratorConnectorAdapterService, _dictionaryService: HomedecoratorDictionaryService, _fontService: FontService);
37
+ settingsService: HomedecoratorSettingsService;
38
+ iconCache: HomedecoratorIconCacheService;
39
+ adapterService: HomedecoratorConnectorAdapterService;
40
+ }, _dialogRef: MatDialogRef<ModelPreviewComponent>, _messageService: MessageBusService, _dialog: MatDialog, _fontService: FontService);
37
41
  glbExportName: ElementRef;
38
42
  heightArticle: ElementRef;
39
43
  scenePreview: THREE.Scene;
@@ -6,10 +6,12 @@ import { PermanentStoreService } from '../../../core/service/permanent-store.ser
6
6
  import { HomedecoratorDictionaryService } from '../../../core/service/homedecorator-dictionary.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class LoadFromCloudDialogComponent implements OnInit, OnDestroy {
9
+ data: {
10
+ permanentStoreService: PermanentStoreService;
11
+ };
9
12
  private dialog;
10
13
  private dialogRef;
11
14
  private messageService;
12
- private permanentStoreService;
13
15
  private _dictionaryService;
14
16
  set content(content: ElementRef);
15
17
  private readonly CODE_REGEX;
@@ -18,7 +20,10 @@ export declare class LoadFromCloudDialogComponent implements OnInit, OnDestroy {
18
20
  preset: Preset;
19
21
  codeInputRef: ElementRef;
20
22
  codeInputModel: any;
21
- constructor(dialog: MatDialog, dialogRef: MatDialogRef<LoadFromCloudDialogComponent>, messageService: MessageBusService, permanentStoreService: PermanentStoreService, _dictionaryService: HomedecoratorDictionaryService);
23
+ private _permanentStoreService;
24
+ constructor(data: {
25
+ permanentStoreService: PermanentStoreService;
26
+ }, dialog: MatDialog, dialogRef: MatDialogRef<LoadFromCloudDialogComponent>, messageService: MessageBusService, _dictionaryService: HomedecoratorDictionaryService);
22
27
  ngOnInit(): void;
23
28
  ngOnDestroy(): void;
24
29
  load(): void;
@@ -4,20 +4,24 @@ import { LocalStorageService } from '../../../service/local-storage.service';
4
4
  import { MessageBusService } from '../../../core/service/message-bus.service';
5
5
  import { UtilsService } from '../../../core/service/utils.service';
6
6
  import { PresetsService } from '../../../core/service/presets.service';
7
+ import { PermanentStoreService } from '../../../core/service/permanent-store.service';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class OpenDialogComponent implements OnDestroy {
9
10
  data: {
10
11
  utilsService: UtilsService;
11
12
  presetService: PresetsService;
13
+ permanentStoreService: PermanentStoreService;
12
14
  };
13
15
  storageService: LocalStorageService;
14
16
  private _dialogRef;
15
17
  private _dialog;
16
18
  private _messageService;
17
19
  fileInputRef: ElementRef;
20
+ permanentStoreService: PermanentStoreService;
18
21
  constructor(data: {
19
22
  utilsService: UtilsService;
20
23
  presetService: PresetsService;
24
+ permanentStoreService: PermanentStoreService;
21
25
  }, storageService: LocalStorageService, _dialogRef: MatDialogRef<OpenDialogComponent>, _dialog: MatDialog, _messageService: MessageBusService);
22
26
  ngOnDestroy(): void;
23
27
  loadFromCloud(): void;
@@ -1,8 +1,6 @@
1
1
  import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
3
  import { MessageBusService } from '../../../core/service/message-bus.service';
4
- import { UtilsService } from '../../../core/service/utils.service';
5
- import { PresetsService } from '../../../core/service/presets.service';
6
4
  import { PdfViewerComponent } from 'ng2-pdf-viewer';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class PdfCropDialogComponent implements OnDestroy, OnInit, AfterViewInit {
@@ -12,8 +10,6 @@ export declare class PdfCropDialogComponent implements OnDestroy, OnInit, AfterV
12
10
  private _dialogRef;
13
11
  private _dialog;
14
12
  private _messageService;
15
- private _utils;
16
- private _presetService;
17
13
  pdfComponent: PdfViewerComponent;
18
14
  pdfContainer: HTMLElement;
19
15
  hiddenImage: ElementRef;
@@ -21,7 +17,7 @@ export declare class PdfCropDialogComponent implements OnDestroy, OnInit, AfterV
21
17
  finishedLoading: boolean;
22
18
  constructor(data: {
23
19
  file: any;
24
- }, _dialogRef: MatDialogRef<PdfCropDialogComponent>, _dialog: MatDialog, _messageService: MessageBusService, _utils: UtilsService, _presetService: PresetsService);
20
+ }, _dialogRef: MatDialogRef<PdfCropDialogComponent>, _dialog: MatDialog, _messageService: MessageBusService);
25
21
  ngOnInit(): void;
26
22
  ngAfterViewInit(): Promise<void>;
27
23
  ngOnDestroy(): void;
@@ -13,21 +13,27 @@ export declare class SaveDialogComponent implements OnInit {
13
13
  openDownloadDialog: boolean;
14
14
  saveOnOpenDialog: boolean;
15
15
  presetService: PresetsService;
16
+ permanentStoreService: PermanentStoreService;
17
+ iconCacheService: HomedecoratorIconCacheService;
18
+ settingsService: HomedecoratorSettingsService;
16
19
  };
17
- permanentStoreService: PermanentStoreService;
18
- iconCache: HomedecoratorIconCacheService;
19
20
  private _dialog;
20
21
  private _dialogRef;
21
22
  private _messageService;
22
23
  private _dictionaryService;
23
- private _settingsService;
24
24
  readonly icon: typeof IconEnum;
25
25
  showLocalSave: boolean;
26
+ permanentStoreService: PermanentStoreService;
27
+ iconCache: HomedecoratorIconCacheService;
28
+ private _settingsService;
26
29
  constructor(data: {
27
30
  openDownloadDialog: boolean;
28
31
  saveOnOpenDialog: boolean;
29
32
  presetService: PresetsService;
30
- }, permanentStoreService: PermanentStoreService, iconCache: HomedecoratorIconCacheService, _dialog: MatDialog, _dialogRef: MatDialogRef<SaveDialogComponent>, _messageService: MessageBusService, _dictionaryService: HomedecoratorDictionaryService, _settingsService: HomedecoratorSettingsService);
33
+ permanentStoreService: PermanentStoreService;
34
+ iconCacheService: HomedecoratorIconCacheService;
35
+ settingsService: HomedecoratorSettingsService;
36
+ }, _dialog: MatDialog, _dialogRef: MatDialogRef<SaveDialogComponent>, _messageService: MessageBusService, _dictionaryService: HomedecoratorDictionaryService);
31
37
  get wasPlanSaved(): boolean;
32
38
  ngOnInit(): void;
33
39
  download(): Promise<void>;
@@ -26,6 +26,7 @@ import { ErrorDialogData } from '../../../shared/error-dialog/error-dialog.compo
26
26
  import { HomedecoratorIconCacheService } from '../../../core/service/homedecorator-icon-cache.service';
27
27
  import { ThirdPartyModelService } from '../../threedselector/threedselector/service/third-party-model.service';
28
28
  import { LightPresetsService } from '../../core3d/service/light-presets.service';
29
+ import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
29
30
  import * as i0 from "@angular/core";
30
31
  export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
31
32
  appState: AppStateService;
@@ -46,6 +47,7 @@ export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewIni
46
47
  private _newRenderService;
47
48
  private _thirdPartyModelService;
48
49
  private _lightPresetService;
50
+ private _adapterService;
49
51
  readonly toastType: typeof ToastType;
50
52
  readonly messageType: typeof MessageType;
51
53
  readonly icons: typeof IconEnum;
@@ -67,7 +69,7 @@ export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewIni
67
69
  leftSidebar: MatDrawer;
68
70
  handleKeyDown(event: KeyboardEvent): void;
69
71
  get fullscreen(): boolean;
70
- constructor(appState: AppStateService, presetsService: PresetsService, messageService: MessageBusService, settingsService: HomedecoratorSettingsService, storageService: LocalStorageService, iconService: HomedecoratorIconCacheService, _screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _toastService: ToastService, _appService: HomedecoratorAppService, _permanentStoreService: PermanentStoreService, _utilsService: UtilsService, _itemService: ItemService, _animationService: AnimationService, _developmentService: DevelopmentService, _newRenderService: NewRenderService, _thirdPartyModelService: ThirdPartyModelService, _lightPresetService: LightPresetsService);
72
+ constructor(appState: AppStateService, presetsService: PresetsService, messageService: MessageBusService, settingsService: HomedecoratorSettingsService, storageService: LocalStorageService, iconService: HomedecoratorIconCacheService, _screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _toastService: ToastService, _appService: HomedecoratorAppService, _permanentStoreService: PermanentStoreService, _utilsService: UtilsService, _itemService: ItemService, _animationService: AnimationService, _developmentService: DevelopmentService, _newRenderService: NewRenderService, _thirdPartyModelService: ThirdPartyModelService, _lightPresetService: LightPresetsService, _adapterService: HomedecoratorConnectorAdapterService);
71
73
  ngOnInit(): void;
72
74
  ngOnDestroy(): void;
73
75
  ngAfterViewInit(): void;
@@ -5,14 +5,23 @@ import { CameraService } from '../../plugins/core3d/service/camera.service';
5
5
  import { HomedecoratorAppService } from '../../core/service/homedecorator-app.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class CameraSettingsDialogComponent implements OnInit {
8
- private _dynamicCameraService;
9
- private _cameraService;
10
- private _appService;
8
+ data: {
9
+ dynamicCameraService: DynamicCameraService;
10
+ cameraService: CameraService;
11
+ appService: HomedecoratorAppService;
12
+ };
11
13
  tempCameraSettings: CameraSettings;
12
14
  currentSku: string;
13
15
  positionAsString: string;
14
16
  rotationAsString: string;
15
- constructor(_dynamicCameraService: DynamicCameraService, _cameraService: CameraService, _appService: HomedecoratorAppService);
17
+ private _dynamicCameraService;
18
+ private _cameraService;
19
+ private _appService;
20
+ constructor(data: {
21
+ dynamicCameraService: DynamicCameraService;
22
+ cameraService: CameraService;
23
+ appService: HomedecoratorAppService;
24
+ });
16
25
  ngOnInit(): void;
17
26
  saveSettings(asDefault?: boolean): void;
18
27
  exportSettings(): void;
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
7
7
  export declare class ModelDialogComponent implements OnInit {
8
8
  data: {
9
9
  loadFurnitureService: LoadFurnitureService;
10
+ iconCacheService: HomedecoratorIconCacheService;
10
11
  };
11
- iconService: HomedecoratorIconCacheService;
12
12
  readonly icon: typeof IconEnum;
13
13
  notLoaded: CustomFloorGroupResult[];
14
14
  notFixedFurniture: CustomFloorGroupResult[];
@@ -20,9 +20,12 @@ export declare class ModelDialogComponent implements OnInit {
20
20
  showLoaded: boolean;
21
21
  showNotLoaded: boolean;
22
22
  noProductsLoaded: boolean;
23
+ loadFurnitureService: LoadFurnitureService;
24
+ iconService: HomedecoratorIconCacheService;
23
25
  constructor(data: {
24
26
  loadFurnitureService: LoadFurnitureService;
25
- }, iconService: HomedecoratorIconCacheService);
27
+ iconCacheService: HomedecoratorIconCacheService;
28
+ });
26
29
  ngOnInit(): void;
27
30
  private _loadFurniture;
28
31
  private _getUniqueItems;