@colijnit/homedecorator 258.1.2 → 258.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 (112) hide show
  1. package/app/APPLICATION_SERVICE_PROVIDERS.d.ts +1 -0
  2. package/app/core/enum/icon.enum.d.ts +5 -0
  3. package/app/core/service/app-initializer.service.d.ts +17 -0
  4. package/app/core/service/homedecorator-connector-adapter.service.d.ts +8 -3
  5. package/app/core/service/item-serialization.service.d.ts +1 -0
  6. package/app/homedecorator.component.d.ts +10 -4
  7. package/app/plugins/help/help-dialog/help-dialog.component.d.ts +10 -3
  8. package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary-line.component.d.ts +3 -1
  9. package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.d.ts +5 -1
  10. package/app/plugins/lite-selector/lite-selector/component/summary-line/summary-line.component.d.ts +50 -0
  11. package/app/plugins/lite-selector/lite-selector/component/summary-line/summary-line.scss +156 -0
  12. package/app/plugins/lite-selector/lite-selector/lite-selector.component.d.ts +2 -1
  13. package/app/plugins/lite-selector/lite-selector.module.d.ts +9 -7
  14. package/app/plugins/model-uploader/model-previewer/model-preview.component.d.ts +10 -6
  15. package/app/plugins/product-configurator/product-configurator-selector-option-button.component.scss +29 -30
  16. package/app/plugins/product-configurator/{product-configurator-selector-option-list-of-values.component.d.ts → product-configurator-selector-option-checkbox.component.d.ts} +3 -3
  17. package/app/plugins/product-configurator/product-configurator-selector-option-checkbox.component.scss +30 -0
  18. package/app/plugins/product-configurator/product-configurator-selector-option-dropdown.component.scss +34 -0
  19. package/app/plugins/product-configurator/product-configurator-selector-option-tile.component.scss +47 -32
  20. package/app/plugins/product-configurator/product-configurator-selector.component.d.ts +10 -1
  21. package/app/plugins/product-configurator/product-configurator-selector.component.scss +75 -36
  22. package/app/plugins/product-configurator/product-configurator.component.d.ts +4 -1
  23. package/app/plugins/product-configurator/product-configurator.component.scss +22 -14
  24. package/app/plugins/product-configurator/product-configurator.module.d.ts +2 -2
  25. package/app/plugins/product-configurator/template_variables.scss +9 -5
  26. package/app/plugins/render/service/render.service.d.ts +1 -11
  27. package/app/plugins/room-planner/room-planner/service/room-planner.service.d.ts +5 -0
  28. package/app/plugins/threedselector/threedselector/threedselector.component.d.ts +1 -0
  29. package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.d.ts +13 -4
  30. package/app/plugins/toolbar/load-from-cloud-dialog/load-from-cloud-dialog.component.d.ts +7 -2
  31. package/app/plugins/toolbar/open-dialog/open-dialog.component.d.ts +4 -0
  32. package/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.d.ts +1 -5
  33. package/app/plugins/toolbar/save-dialog/save-dialog.component.d.ts +10 -4
  34. package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +3 -1
  35. package/app/shared/camera-settings-dialog/camera-settings-dialog.component.d.ts +13 -4
  36. package/app/shared/model-dialog/model-dialog.component.d.ts +5 -2
  37. package/assets/icons/arrow_point_right.svg +8 -0
  38. package/assets/icons/circle_check_regular.svg +1 -0
  39. package/assets/icons/square_check_regular.svg +1 -0
  40. package/assets/icons/square_chevron_down_regular.svg +1 -0
  41. package/assets/icons/square_regular.svg +1 -0
  42. package/bundles/colijnit-homedecorator.umd.js +13606 -13212
  43. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  44. package/esm2015/app/APPLICATION_SERVICE_PROVIDERS.js +156 -0
  45. package/esm2015/app/app.version.js +3 -3
  46. package/esm2015/app/core/enum/icon.enum.js +6 -1
  47. package/esm2015/app/core/model/icon.js +7 -2
  48. package/esm2015/app/core/service/3dm-api.js +3 -6
  49. package/esm2015/app/core/service/app-initializer.service.js +57 -0
  50. package/esm2015/app/core/service/app-state.service.js +8 -2
  51. package/esm2015/app/core/service/configuration.service.js +3 -6
  52. package/esm2015/app/core/service/debug.service.js +3 -6
  53. package/esm2015/app/core/service/dimensioning.service.js +3 -6
  54. package/esm2015/app/core/service/environment.service.js +3 -6
  55. package/esm2015/app/core/service/error.service.js +3 -6
  56. package/esm2015/app/core/service/file.service.js +3 -6
  57. package/esm2015/app/core/service/homedecorator-app.service.js +4 -7
  58. package/esm2015/app/core/service/homedecorator-connector-adapter.service.js +39 -13
  59. package/esm2015/app/core/service/homedecorator-connector.service.js +14 -11
  60. package/esm2015/app/core/service/homedecorator-icon-cache.service.js +3 -6
  61. package/esm2015/app/core/service/homedecorator-settings.service.js +3 -6
  62. package/esm2015/app/core/service/homedecorator.service.js +3 -6
  63. package/esm2015/app/core/service/integration.service.js +3 -6
  64. package/esm2015/app/core/service/item-serialization.service.js +5 -7
  65. package/esm2015/app/core/service/permanent-store.service.js +3 -6
  66. package/esm2015/app/core/service/progress.service.js +3 -6
  67. package/esm2015/app/core/service/skip-button-info.service.js +3 -6
  68. package/esm2015/app/core/service/toast.service.js +3 -6
  69. package/esm2015/app/core/service/view-mode.service.js +3 -6
  70. package/esm2015/app/homedecorator.component.js +101 -209
  71. package/esm2015/app/plugins/core3d/service/floor-pattern.service.js +3 -6
  72. package/esm2015/app/plugins/core3d/service/light-presets.service.js +4 -1
  73. package/esm2015/app/plugins/core3d/service/message-board.service.js +3 -6
  74. package/esm2015/app/plugins/core3d/service/post-processing.service.js +7 -3
  75. package/esm2015/app/plugins/core3d/service/ssr.service.js +3 -6
  76. package/esm2015/app/plugins/help/help-dialog/help-dialog.component.js +17 -14
  77. package/esm2015/app/plugins/lite-selector/lite-selector/component/color-filter/color-filter.component.js +2 -2
  78. package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary-line.component.js +29 -6
  79. package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.js +28 -4
  80. package/esm2015/app/plugins/lite-selector/lite-selector/component/summary-line/summary-line.component.js +266 -0
  81. package/esm2015/app/plugins/lite-selector/lite-selector/lite-selector.component.js +10 -5
  82. package/esm2015/app/plugins/lite-selector/lite-selector.module.js +17 -13
  83. package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +18 -23
  84. package/esm2015/app/plugins/product-catalog/own-collection-catalog/product-own-collection.component.js +2 -4
  85. package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +1 -1
  86. package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-button.component.js +4 -4
  87. package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-checkbox.component.js +75 -0
  88. package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-dropdown.component.js +31 -14
  89. package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-tile.compontent.js +4 -4
  90. package/esm2015/app/plugins/product-configurator/product-configurator-selector.component.js +107 -40
  91. package/esm2015/app/plugins/product-configurator/product-configurator.component.js +28 -14
  92. package/esm2015/app/plugins/product-configurator/product-configurator.module.js +7 -7
  93. package/esm2015/app/plugins/render/service/render.service.js +12 -22
  94. package/esm2015/app/plugins/room-planner/room-planner/service/room-planner.service.js +10 -0
  95. package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +4 -2
  96. package/esm2015/app/plugins/threedselector/threedselector/service/third-party-model.service.js +10 -1
  97. package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +2 -1
  98. package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +16 -4
  99. package/esm2015/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.js +24 -22
  100. package/esm2015/app/plugins/toolbar/load-from-cloud-dialog/load-from-cloud-dialog.component.js +23 -19
  101. package/esm2015/app/plugins/toolbar/open-dialog/open-dialog.component.js +7 -2
  102. package/esm2015/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.js +8 -12
  103. package/esm2015/app/plugins/toolbar/save-dialog/save-dialog.component.js +18 -21
  104. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +46 -24
  105. package/esm2015/app/service/google-tag-manager.service.js +3 -6
  106. package/esm2015/app/shared/camera-settings-dialog/camera-settings-dialog.component.js +21 -19
  107. package/esm2015/app/shared/model-dialog/model-dialog.component.js +20 -20
  108. package/fesm2015/colijnit-homedecorator.js +11559 -11032
  109. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  110. package/package.json +3 -3
  111. package/app/plugins/product-configurator/product-configurator-selector-list-of-values.component.scss +0 -28
  112. package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-list-of-values.component.js +0 -75
@@ -0,0 +1 @@
1
+ export declare const APPLICATION_SERVICES_PROVIDERS: any[];
@@ -8,6 +8,7 @@ export declare enum IconEnum {
8
8
  ArrowsUpDown = "arrows-up-down",
9
9
  ArrowsToEye = "arrows_to_eye",
10
10
  ArrowPointDown = "arrow_point_down",
11
+ ArrowPointRight = "arrow_point_right",
11
12
  ArrowRotateLeft = "arrow_rotate_left",
12
13
  ArrowRotateRight = "arrow_rotate_right",
13
14
  ArrowTurnLeft = "arrow_turn_left",
@@ -22,6 +23,7 @@ export declare enum IconEnum {
22
23
  CartShoppingRegular = "cart-shopping-regular",
23
24
  Check = "check",
24
25
  CircleCheck = "circle_check",
26
+ CircleCheckRegular = "circle_check_regular",
25
27
  CircleInfo = "circle_info",
26
28
  CircleMinusLight = "circle_minus_light",
27
29
  CirclePlusLight = "circle_plus_light",
@@ -80,6 +82,9 @@ export declare enum IconEnum {
80
82
  RetryButton = "retry-button",
81
83
  RotateLight = "rotate_light",
82
84
  Settings = "settings",
85
+ SquareCheckRegular = "square_check_regular",
86
+ SquareChevronDownRegular = "square_chevron_down_regular",
87
+ SquareRegular = "square_regular",
83
88
  StreetViewOrange = "street-view-orange",
84
89
  StreetView = "street_view",
85
90
  SwapButton = "swap-button",
@@ -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';
@@ -30,25 +31,27 @@ import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extend
30
31
  import { Metadata } from '../../plugins/core3d/items/metadata';
31
32
  import { HomedecoratorSettings } from '../model/homedecorator-settings';
32
33
  import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
34
+ import { CatalogExternalSourcesService } from '@colijnit/catalog';
33
35
  import * as i0 from "@angular/core";
34
36
  export declare class ExternalConnector {
35
37
  loginResponse: LoginResponse;
36
38
  connector: Connector;
39
+ cleanUp(): void;
37
40
  }
38
41
  export interface Connector {
39
42
  connector?: Configurator;
40
43
  articleApi?: Articles;
41
44
  mainApi?: MainApi;
42
45
  }
43
- export declare class HomedecoratorConnectorAdapterService {
46
+ export declare class HomedecoratorConnectorAdapterService implements OnDestroy {
44
47
  private _appEventService;
48
+ private _catalogExternalSourcesService;
45
49
  readonly questionReceived: Subject<Question>;
46
50
  readonly showLoader: Subject<boolean>;
47
51
  readonly connectionReset: Subject<void>;
48
52
  mainUrl: string;
49
53
  mainSchema: string;
50
54
  mainVersion: string;
51
- private _publicationCodeForUserRole;
52
55
  get connector(): Configurator;
53
56
  get articleApi(): Articles;
54
57
  get mainApi(): MainApi;
@@ -63,7 +66,9 @@ export declare class HomedecoratorConnectorAdapterService {
63
66
  private _articleApi;
64
67
  private _mainApi;
65
68
  private _boFactory;
66
- constructor(_appEventService: HomedecoratorAppEventService);
69
+ private _publicationCodeForUserRole;
70
+ constructor(_appEventService: HomedecoratorAppEventService, _catalogExternalSourcesService: CatalogExternalSourcesService);
71
+ ngOnDestroy(): void;
67
72
  initConnectionFromMetadata(metadata: Metadata, settings: HomedecoratorSettings): Promise<void>;
68
73
  initConnector(options: Options, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<void>;
69
74
  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;
@@ -20,13 +20,16 @@ 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[];
27
28
  logisticsFilterOrders: FilterOrder[];
28
29
  set initCommunication(value: boolean);
29
30
  get initCommunication(): boolean;
31
+ set settings(value: any);
32
+ get settings(): any;
30
33
  showClass: boolean;
31
34
  loaded: boolean;
32
35
  title: string;
@@ -36,7 +39,9 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
36
39
  shouldShowLandscapeMessage: boolean;
37
40
  private _subs;
38
41
  private _initCommunication;
39
- constructor(controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _eventService: HomedecoratorAppEventService, _integrationService: IntegrationService);
42
+ private _settings;
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);
40
45
  ngOnInit(): Promise<void>;
41
46
  ngOnDestroy(): void;
42
47
  registerCustomIcons(): void;
@@ -44,6 +49,7 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
44
49
  private _startWithEmptyRoom;
45
50
  private _startWithPreset;
46
51
  private _setCommunication;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; }, {}, never, never>;
52
+ private _initConnection;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null]>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; "settings": "settings"; }, {}, never, never>;
49
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;
@@ -1,38 +1,37 @@
1
1
  @import './template_variables';
2
2
 
3
3
  .configurator-selector-option-button-container {
4
- position: relative;
5
-
6
- .product-configurator-selector-option-button-checkmark {
7
- position: absolute;
8
- top: 5px;
9
- right: 5px;
10
- fill: $checked-icon-color;
4
+ .product-configurator-selector-option-button-checkmark {
5
+ position: absolute;
6
+ top: 3px;
7
+ right: 3px;
8
+ fill: $checked-icon-color;
9
+ co-icon {
10
+ width: $xs-icon-size;
11
+ height: $xs-icon-size;
12
+ background: rgba(255,255,255,0.5);
13
+ border-radius: 50%;
14
+ }
15
+ }
16
+ .product-configurator-selector-option-button-image {
17
+ min-width: 90px;
18
+ min-height: 60px;
19
+ border-radius: 5px;
20
+ display: flex;
21
+ justify-content: space-evenly;
22
+ align-items: center;
23
+ img {
24
+ display: block;
25
+ max-width: 100%;
26
+ border-radius: $default-border-radius;
27
+ max-height: max-content;
11
28
  }
12
-
13
- .product-configurator-selector-option-button-image {
14
- min-width: 90px;
15
- min-height: 60px;
16
- border-radius: 5px;
17
- display: flex;
18
- justify-content: space-evenly;
19
- align-items: center;
20
-
21
- co-icon {
22
-
23
- }
24
-
25
- img {
26
- display: block;
27
- max-width: 100%;
28
- border-radius: $default-border-radius;
29
- max-height: max-content;
30
- }
31
- }
32
-
33
- .product-configurator-selector-option-button-description {
29
+ }
30
+ .product-configurator-selector-option-button-description {
34
31
  text-align: center;
35
- font-size: $font-size-small;
32
+ p {
33
+ margin: 0;
36
34
  }
35
+ }
37
36
  }
38
37
 
@@ -5,7 +5,7 @@ import { IconEnum } from '../../core/enum/icon.enum';
5
5
  import { HomedecoratorIconCacheService } from '../../core/service/homedecorator-icon-cache.service';
6
6
  import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
7
7
  import * as i0 from "@angular/core";
8
- export declare class ProductConfiguratorOptionListOfValuesComponent {
8
+ export declare class ProductConfiguratorOptionCheckboxComponent {
9
9
  iOne: HomedecoratorConnectorService;
10
10
  iconService: HomedecoratorIconCacheService;
11
11
  settingsService: HomedecoratorSettingsService;
@@ -14,6 +14,6 @@ export declare class ProductConfiguratorOptionListOfValuesComponent {
14
14
  readonly icons: typeof IconEnum;
15
15
  constructor(iOne: HomedecoratorConnectorService, iconService: HomedecoratorIconCacheService, settingsService: HomedecoratorSettingsService);
16
16
  changeSelection(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionListOfValuesComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionListOfValuesComponent, "rp-product-configurator-option-list-of-values", never, { "option": "option"; }, { "selectionClicked": "selectionClicked"; }, never, never>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "rp-product-configurator-option-checkbox", never, { "option": "option"; }, { "selectionClicked": "selectionClicked"; }, never, never>;
19
19
  }
@@ -0,0 +1,30 @@
1
+ @import './template_variables';
2
+
3
+ .configurator-option-checkbox-container {
4
+ display: flex;
5
+ align-items: center;
6
+ vertical-align: middle;
7
+ flex-direction: row;
8
+ position: relative;
9
+
10
+
11
+ .product-configurator-checkbox-checkmark {
12
+ .product-configurator-checkbox-select {
13
+ height: $small-icon-height;
14
+ width: $small-icon-width;
15
+ margin-right: 10px;
16
+ }
17
+ .product-configurator-checkbox-selected {
18
+ fill: $checked-icon-color;
19
+ }
20
+ }
21
+ .product-configurator-checkbox-description {
22
+ text-align: left;
23
+ p {
24
+ margin: 0;
25
+ }
26
+ }
27
+
28
+ }
29
+
30
+
@@ -0,0 +1,34 @@
1
+ @import './template_variables';
2
+
3
+ .configurator-option-dropdown-container {
4
+ .option-dropdown-select {
5
+ width: 270px;
6
+ max-width: 100%;
7
+ padding: 5px 30px 5px 10px;
8
+ height: 36px;
9
+ box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
10
+ cursor: pointer;
11
+ }
12
+ .custom-select-wrapper {
13
+ position: relative;
14
+ display: inline-block;
15
+
16
+ select {
17
+ appearance: none;
18
+ -webkit-appearance: none;
19
+ -moz-appearance: none;
20
+ }
21
+ }
22
+ .product-configurator-selector-option-dropdown-select {
23
+ position: absolute;
24
+ top: 50%;
25
+ right: 10px;
26
+ pointer-events: none;
27
+ transform: translateY(-50%);
28
+ width: $xs-icon-size;
29
+ height: $xs-icon-size;
30
+ svg {
31
+ fill: #ccc;
32
+ }
33
+ }
34
+ }