@colijnit/homedecorator 256.1.25 → 256.1.26

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 (59) hide show
  1. package/app/APPLICATION_SERVICE_PROVIDERS.d.ts +1 -0
  2. package/app/core/enum/icon.enum.d.ts +1 -0
  3. package/app/core/service/app-initializer.service.d.ts +17 -0
  4. package/app/core/service/homedecorator-connector-adapter.service.d.ts +5 -2
  5. package/app/core/service/item-serialization.service.d.ts +1 -0
  6. package/app/homedecorator.component.d.ts +7 -8
  7. package/app/plugins/render/service/render.service.d.ts +1 -9
  8. package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.scss +1 -1
  9. package/app/plugins/room-planner/room-planner/service/room-planner.service.d.ts +5 -0
  10. package/app/plugins/toolbar/draw-dialog/draw-dialog.component.scss +1 -1
  11. package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.d.ts +13 -4
  12. package/assets/icons/arrow_point_right.svg +8 -0
  13. package/bundles/colijnit-homedecorator.umd.js +14304 -14274
  14. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  15. package/esm2015/app/APPLICATION_SERVICE_PROVIDERS.js +156 -0
  16. package/esm2015/app/core/enum/icon.enum.js +2 -1
  17. package/esm2015/app/core/model/icon.js +2 -1
  18. package/esm2015/app/core/service/3dm-api.js +3 -6
  19. package/esm2015/app/core/service/app-initializer.service.js +57 -0
  20. package/esm2015/app/core/service/app-state.service.js +8 -2
  21. package/esm2015/app/core/service/configuration.service.js +3 -6
  22. package/esm2015/app/core/service/debug.service.js +3 -6
  23. package/esm2015/app/core/service/dimensioning.service.js +3 -6
  24. package/esm2015/app/core/service/environment.service.js +3 -6
  25. package/esm2015/app/core/service/error.service.js +3 -6
  26. package/esm2015/app/core/service/file.service.js +3 -6
  27. package/esm2015/app/core/service/homedecorator-app.service.js +3 -6
  28. package/esm2015/app/core/service/homedecorator-connector-adapter.service.js +33 -10
  29. package/esm2015/app/core/service/homedecorator-connector.service.js +3 -6
  30. package/esm2015/app/core/service/homedecorator-icon-cache.service.js +3 -6
  31. package/esm2015/app/core/service/homedecorator-settings.service.js +3 -6
  32. package/esm2015/app/core/service/homedecorator.service.js +3 -6
  33. package/esm2015/app/core/service/integration.service.js +3 -6
  34. package/esm2015/app/core/service/item-serialization.service.js +5 -7
  35. package/esm2015/app/core/service/permanent-store.service.js +3 -6
  36. package/esm2015/app/core/service/progress.service.js +3 -6
  37. package/esm2015/app/core/service/skip-button-info.service.js +3 -6
  38. package/esm2015/app/core/service/toast.service.js +3 -6
  39. package/esm2015/app/core/service/view-mode.service.js +3 -6
  40. package/esm2015/app/homedecorator.component.js +90 -232
  41. package/esm2015/app/plugins/core3d/service/floor-pattern.service.js +3 -6
  42. package/esm2015/app/plugins/core3d/service/message-board.service.js +3 -6
  43. package/esm2015/app/plugins/core3d/service/ssr.service.js +3 -6
  44. package/esm2015/app/plugins/render/service/render.service.js +9 -17
  45. package/esm2015/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.js +1 -1
  46. package/esm2015/app/plugins/room-planner/components/texture-picker/texture-picker.component.js +1 -1
  47. package/esm2015/app/plugins/room-planner/room-planner/service/room-planner.service.js +10 -0
  48. package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +4 -2
  49. package/esm2015/app/plugins/threedselector/threedselector/service/third-party-model.service.js +10 -1
  50. package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +2 -1
  51. package/esm2015/app/plugins/toolbar/draw-dialog/draw-dialog.component.js +1 -1
  52. package/esm2015/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.js +24 -22
  53. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +7 -2
  54. package/esm2015/app/service/google-tag-manager.service.js +3 -6
  55. package/esm2015/app/shared/category-library/category-library.component.js +1 -1
  56. package/fesm2015/colijnit-homedecorator.js +10747 -10723
  57. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  58. package/package.json +2 -2
  59. package/styles.scss +1 -1
@@ -0,0 +1 @@
1
+ export declare const APPLICATION_SERVICES_PROVIDERS: any[];
@@ -7,6 +7,7 @@ export declare enum IconEnum {
7
7
  ArrowsUpDown = "arrows-up-down",
8
8
  ArrowsToEye = "arrows_to_eye",
9
9
  ArrowPointDown = "arrow_point_down",
10
+ ArrowPointRight = "arrow_point_right",
10
11
  ArrowRotateLeft = "arrow_rotate_left",
11
12
  ArrowRotateRight = "arrow_rotate_right",
12
13
  ArrowTurnLeft = "arrow_turn_left",
@@ -0,0 +1,17 @@
1
+ import { Injector } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { HomedecoratorSettingsService } from './homedecorator-settings.service';
4
+ import { HomedecoratorConnectorService } from './homedecorator-connector.service';
5
+ import { HomedecoratorDictionaryService } from './homedecorator-dictionary.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class AppInitializerService {
8
+ private _injector;
9
+ private _settingsService;
10
+ private _iOneController;
11
+ private _dictionaryService;
12
+ appInitialized: BehaviorSubject<boolean>;
13
+ constructor(_injector: Injector, _settingsService: HomedecoratorSettingsService, _iOneController: HomedecoratorConnectorService, _dictionaryService: HomedecoratorDictionaryService);
14
+ initializeApp(): Promise<void>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
17
+ }
@@ -1,3 +1,4 @@
1
+ import { OnDestroy } from '@angular/core';
1
2
  import { Subject } from 'rxjs';
2
3
  import { Answer } from '@colijnit/configuratorapi/build/model/answer';
3
4
  import { Selection } from '@colijnit/configuratorapi/build/model/selection';
@@ -34,13 +35,14 @@ import * as i0 from "@angular/core";
34
35
  export declare class ExternalConnector {
35
36
  loginResponse: LoginResponse;
36
37
  connector: Connector;
38
+ cleanUp(): void;
37
39
  }
38
40
  export interface Connector {
39
41
  connector?: Configurator;
40
42
  articleApi?: Articles;
41
43
  mainApi?: MainApi;
42
44
  }
43
- export declare class HomedecoratorConnectorAdapterService {
45
+ export declare class HomedecoratorConnectorAdapterService implements OnDestroy {
44
46
  private _appEventService;
45
47
  private _catalogExternalSourcesService;
46
48
  readonly questionReceived: Subject<Question>;
@@ -49,7 +51,6 @@ export declare class HomedecoratorConnectorAdapterService {
49
51
  mainUrl: string;
50
52
  mainSchema: string;
51
53
  mainVersion: string;
52
- private _publicationCodeForUserRole;
53
54
  get connector(): Configurator;
54
55
  get articleApi(): Articles;
55
56
  get mainApi(): MainApi;
@@ -64,7 +65,9 @@ export declare class HomedecoratorConnectorAdapterService {
64
65
  private _articleApi;
65
66
  private _mainApi;
66
67
  private _boFactory;
68
+ private _publicationCodeForUserRole;
67
69
  constructor(_appEventService: HomedecoratorAppEventService, _catalogExternalSourcesService: CatalogExternalSourcesService);
70
+ ngOnDestroy(): void;
68
71
  initConnectionFromMetadata(metadata: Metadata, settings: HomedecoratorSettings): Promise<void>;
69
72
  initConnector(options: Options, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<void>;
70
73
  logOut(): Promise<void>;
@@ -37,6 +37,7 @@ export declare class ItemSerializationService {
37
37
  externalSettings: any;
38
38
  conversionGTMSend: any;
39
39
  conversionSubmittedPrice: any;
40
+ thirdPartyModel: any;
40
41
  } | {
41
42
  item_name: any;
42
43
  item_type: any;
@@ -1,4 +1,4 @@
1
- import { ComponentFactoryResolver, OnDestroy, OnInit } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatIconRegistry } from '@angular/material/icon';
3
3
  import { DomSanitizer } from '@angular/platform-browser';
4
4
  import { AppStateService } from './core/service/app-state.service';
@@ -16,20 +16,19 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
16
16
  appState: AppStateService;
17
17
  presetsService: PresetsService;
18
18
  screenAnalysis: ScreenSizeAnalysisService;
19
- private _componentFactoryResolver;
20
19
  private _iconRegistry;
21
20
  private _domSanitizer;
22
21
  private _messageService;
23
22
  private _homedecoratorService;
24
23
  private _eventService;
25
24
  private _integrationService;
26
- set settings(value: any);
27
- get settings(): any;
28
25
  generalFilterOrders: FilterOrder[];
29
26
  purchaseFilterOrders: FilterOrder[];
30
27
  logisticsFilterOrders: FilterOrder[];
31
28
  set initCommunication(value: boolean);
32
29
  get initCommunication(): boolean;
30
+ set settings(value: any);
31
+ get settings(): any;
33
32
  showClass: boolean;
34
33
  loaded: boolean;
35
34
  title: string;
@@ -38,17 +37,17 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
38
37
  showIOneLoader: boolean;
39
38
  shouldShowLandscapeMessage: boolean;
40
39
  private _subs;
41
- private _settings;
42
40
  private _initCommunication;
43
- constructor(controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _componentFactoryResolver: ComponentFactoryResolver, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _eventService: HomedecoratorAppEventService, _integrationService: IntegrationService);
41
+ private _settings;
42
+ constructor(controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _eventService: HomedecoratorAppEventService, _integrationService: IntegrationService);
44
43
  ngOnInit(): Promise<void>;
45
44
  ngOnDestroy(): void;
46
45
  registerCustomIcons(): void;
47
46
  keyup(event: KeyboardEvent): void;
48
- private _setSettings;
49
47
  private _startWithEmptyRoom;
50
48
  private _startWithPreset;
51
49
  private _setCommunication;
50
+ private _initConnection;
52
51
  static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "settings": "settings"; "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; }, {}, never, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; "settings": "settings"; }, {}, never, never>;
54
53
  }
@@ -14,15 +14,11 @@ import { BuildFurnitureService } from '../../threedselector/threedselector/servi
14
14
  import { ExportService } from '../../../core/service/export.service';
15
15
  import { CameraService } from '../../core3d/service/camera.service';
16
16
  import { SceneService } from '../../core3d/service/scene.service';
17
- import { HomedecoratorConnectorService } from '../../../core/service/homedecorator-connector.service';
18
- import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
19
- import { ThreedselectorService } from '../../threedselector/threedselector/service/threedselector.service';
20
17
  import { ToastService } from '../../../core/service/toast.service';
21
18
  import { MessageBusService } from '../../../core/service/message-bus.service';
22
19
  import { GoogleTagManagerService } from '../../../service/google-tag-manager.service';
23
20
  import { RoomService } from '../../room-planner/components/floorplanner/service/room.service';
24
21
  import { FloorService } from '../../core3d/service/floor.service';
25
- import { LoadFurnitureService } from '../../threedselector/threedselector/service/load-furniture.service';
26
22
  import { RenderData } from '../model/render-data';
27
23
  import * as i0 from "@angular/core";
28
24
  export declare class RenderService implements OnDestroy {
@@ -31,15 +27,11 @@ export declare class RenderService implements OnDestroy {
31
27
  private _exportService;
32
28
  private _cameraService;
33
29
  private _sceneService;
34
- private _ione;
35
- private _ioneConnectorAdapter;
36
- private _threedSelectorService;
37
30
  private _toastService;
38
31
  private _messageBusService;
39
32
  private _googleTagManager;
40
33
  private _roomService;
41
34
  private _floorService;
42
- private _loadFurnitureService;
43
35
  readonly renderModes: typeof RenderModes;
44
36
  service: any;
45
37
  serverData: any;
@@ -70,7 +62,7 @@ export declare class RenderService implements OnDestroy {
70
62
  standAloneCameraMatrix: number[];
71
63
  private _subs;
72
64
  static MakeWindowMaterialTransparent(material: Material): Material;
73
- constructor(_settingsService: HomedecoratorSettingsService, _buildFurnitureService: BuildFurnitureService, _exportService: ExportService, _cameraService: CameraService, _sceneService: SceneService, _ione: HomedecoratorConnectorService, _ioneConnectorAdapter: HomedecoratorConnectorAdapterService, _threedSelectorService: ThreedselectorService, _toastService: ToastService, _messageBusService: MessageBusService, _googleTagManager: GoogleTagManagerService, _roomService: RoomService, _floorService: FloorService, _loadFurnitureService: LoadFurnitureService);
65
+ constructor(_settingsService: HomedecoratorSettingsService, _buildFurnitureService: BuildFurnitureService, _exportService: ExportService, _cameraService: CameraService, _sceneService: SceneService, _toastService: ToastService, _messageBusService: MessageBusService, _googleTagManager: GoogleTagManagerService, _roomService: RoomService, _floorService: FloorService);
74
66
  ngOnDestroy(): void;
75
67
  checkConnection(): Promise<void>;
76
68
  private _renderServiceHeartBeat;
@@ -178,7 +178,7 @@ $input-border-color: #9FA9B4;
178
178
 
179
179
  .floor-detail-download {
180
180
  display: flex;
181
- justify-content: end;
181
+ justify-content: flex-end;
182
182
  button {
183
183
  max-width: 150px;
184
184
  }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class RoomPlannerService {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoomPlannerService, never>;
4
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoomPlannerService>;
5
+ }
@@ -47,7 +47,7 @@ button {
47
47
  .modal-footer {
48
48
  display: flex;
49
49
  justify-content: space-between;
50
- align-items: end;
50
+ align-items: flex-end;
51
51
  margin-top: 30px;
52
52
  }
53
53
 
@@ -10,12 +10,14 @@ import { IconEnum } from '../../../core/enum/icon.enum';
10
10
  import { HomedecoratorIconCacheService } from '../../../core/service/homedecorator-icon-cache.service';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class LandingScreenModalComponent implements OnDestroy {
13
+ data: {
14
+ iconService: HomedecoratorIconCacheService;
15
+ appService: HomedecoratorAppService;
16
+ settingsService: HomedecoratorSettingsService;
17
+ };
13
18
  dialogRef: MatDialogRef<LandingScreenModalComponent>;
14
- iconService: HomedecoratorIconCacheService;
15
19
  private _messageService;
16
20
  private _screenAnalysis;
17
- private _appService;
18
- private _settingsService;
19
21
  private _webWorkerService;
20
22
  floorPlans: Preset[];
21
23
  presets: Preset[];
@@ -25,8 +27,15 @@ export declare class LandingScreenModalComponent implements OnDestroy {
25
27
  tabletSizeScreen: boolean;
26
28
  phoneSizeScreen: boolean;
27
29
  readonly icons: typeof IconEnum;
30
+ iconService: HomedecoratorIconCacheService;
28
31
  private _subs;
29
- constructor(dialogRef: MatDialogRef<LandingScreenModalComponent>, iconService: HomedecoratorIconCacheService, _messageService: MessageBusService, _screenAnalysis: ScreenSizeAnalysisService, _appService: HomedecoratorAppService, _settingsService: HomedecoratorSettingsService, _webWorkerService: WebWorkerService);
32
+ private _appService;
33
+ private _settingsService;
34
+ constructor(data: {
35
+ iconService: HomedecoratorIconCacheService;
36
+ appService: HomedecoratorAppService;
37
+ settingsService: HomedecoratorSettingsService;
38
+ }, dialogRef: MatDialogRef<LandingScreenModalComponent>, _messageService: MessageBusService, _screenAnalysis: ScreenSizeAnalysisService, _webWorkerService: WebWorkerService);
30
39
  ngOnDestroy(): void;
31
40
  private _initScreenSizeHandling;
32
41
  private _close;
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Laag_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 51 51" enable-background="new 0 0 51 51" xml:space="preserve">
5
+ <path fill="#484F5F" d="M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1
6
+ l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1
7
+ C18.6,14.2,18.9,14.2,19.1,14.3z"/>
8
+ </svg>