@colijnit/configurator 261.20.5 → 261.20.7

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 (79) hide show
  1. package/colijnit-configurator-261.20.6.tgz +0 -0
  2. package/fesm2022/colijnit-configurator.mjs +7990 -12307
  3. package/fesm2022/colijnit-configurator.mjs.map +1 -1
  4. package/index.d.ts +1406 -1925
  5. package/lib/components/answer-card/style/_layout.scss +2 -3
  6. package/lib/components/answer-card/style/_theme.scss +2 -3
  7. package/lib/components/answer-card/style/material.scss +1 -0
  8. package/lib/components/answer-info-dialog/style/_layout.scss +2 -3
  9. package/lib/components/answer-info-dialog/style/_theme.scss +2 -3
  10. package/lib/components/answers-slideout/style/_layout.scss +4 -5
  11. package/lib/components/answers-slideout/style/_theme.scss +2 -3
  12. package/lib/components/color-filter/style/_layout.scss +2 -3
  13. package/lib/components/color-filter/style/_theme.scss +2 -3
  14. package/lib/components/configuration-preset/style/_layout.scss +42 -0
  15. package/lib/components/configuration-preset/style/_theme.scss +19 -0
  16. package/lib/components/configuration-preset/style/material.scss +3 -0
  17. package/lib/components/configuration-preset-dialog/style/_layout.scss +69 -0
  18. package/lib/components/configuration-preset-dialog/style/_material-definition.scss +3 -0
  19. package/lib/components/configuration-preset-dialog/style/_theme.scss +53 -0
  20. package/lib/components/configuration-preset-dialog/style/material.scss +3 -0
  21. package/lib/components/configurator/style/_layout.scss +2 -4
  22. package/lib/components/configurator/style/_theme.scss +2 -3
  23. package/lib/components/configurator-dialog/style/_layout.scss +3 -4
  24. package/lib/components/configurator-dialog/style/_theme.scss +3 -4
  25. package/lib/components/configurator-dialog/style/material.scss +3 -3
  26. package/lib/components/configurator-loader/style/_layout.scss +12 -3
  27. package/lib/components/configurator-loader/style/_theme.scss +2 -3
  28. package/lib/components/configurator-loader/style/material.scss +0 -11
  29. package/lib/components/configurator-scene/style/_layout.scss +12 -17
  30. package/lib/components/configurator-scene/style/_theme.scss +2 -4
  31. package/lib/components/configurator-scene-loader/style/_layout.scss +13 -3
  32. package/lib/components/configurator-scene-loader/style/_theme.scss +2 -3
  33. package/lib/components/configurator-scene-loader/style/material.scss +0 -11
  34. package/lib/components/element-buttons/style/_layout.scss +15 -3
  35. package/lib/components/element-buttons/style/_theme.scss +2 -3
  36. package/lib/components/element-toolbar/style/_layout.scss +3 -11
  37. package/lib/components/element-toolbar/style/_theme.scss +6 -5
  38. package/lib/components/image-zoom/style/_layout.scss +2 -3
  39. package/lib/components/image-zoom/style/_theme.scss +2 -3
  40. package/lib/components/lite-selector/style/_layout.scss +2 -3
  41. package/lib/components/lite-selector/style/_theme.scss +2 -3
  42. package/lib/components/product-configurator/style/_layout.scss +6 -4
  43. package/lib/components/product-configurator/style/_material-definition.scss +1 -0
  44. package/lib/components/product-configurator/style/_theme.scss +9 -4
  45. package/lib/components/product-configurator-selector/style/_layout.scss +28 -4
  46. package/lib/components/product-configurator-selector/style/_theme.scss +22 -6
  47. package/lib/components/product-configurator-selector-option/style/_layout.scss +2 -3
  48. package/lib/components/product-configurator-selector-option/style/_theme.scss +2 -3
  49. package/lib/components/product-configurator-selector-option-button/style/_layout.scss +2 -3
  50. package/lib/components/product-configurator-selector-option-button/style/_theme.scss +2 -3
  51. package/lib/components/product-configurator-selector-option-checkbox/style/_layout.scss +2 -3
  52. package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +5 -3
  53. package/lib/components/product-configurator-selector-option-dropdown/style/_layout.scss +2 -3
  54. package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +2 -3
  55. package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +14 -7
  56. package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +30 -5
  57. package/lib/components/progress-bar/style/_layout.scss +2 -3
  58. package/lib/components/progress-bar/style/_theme.scss +2 -3
  59. package/lib/components/scene-options/style/_layout.scss +8 -7
  60. package/lib/components/scene-options/style/_theme.scss +2 -3
  61. package/lib/components/selections-summary/style/_layout.scss +2 -3
  62. package/lib/components/selections-summary/style/_theme.scss +2 -3
  63. package/lib/components/selections-summary-line/style/_layout.scss +2 -3
  64. package/lib/components/selections-summary-line/style/_theme.scss +2 -3
  65. package/lib/components/slideout/style/_layout.scss +2 -3
  66. package/lib/components/slideout/style/_theme.scss +2 -3
  67. package/lib/components/summary-line/style/_layout.scss +2 -3
  68. package/lib/components/summary-line/style/_theme.scss +2 -3
  69. package/lib/components/tag-filter/style/_layout.scss +2 -3
  70. package/lib/components/tag-filter/style/_theme.scss +2 -3
  71. package/lib/style/_index.scss +2 -0
  72. package/lib/style/_variables.scss +28 -7
  73. package/lib/style/configurator-globals.scss +6 -1
  74. package/package.json +4 -2
  75. package/lib/components/element-toolbar/element-toolbar.component.scss +0 -59
  76. package/lib/components/threedselector/style/_layout.scss +0 -32
  77. package/lib/components/threedselector/style/_theme.scss +0 -7
  78. package/lib/components/threedselector/style/material.scss +0 -9
  79. /package/lib/components/{threedselector → configuration-preset}/style/_material-definition.scss +0 -0
package/index.d.ts CHANGED
@@ -1,38 +1,39 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, OnInit, EventEmitter, PipeTransform, TemplateRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef } from '@angular/core';
2
+ import { OnDestroy, EventEmitter, OnInit, TemplateRef, ViewContainerRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import * as THREE from 'three';
4
- import { Object3D, Material, Vector3, Euler, Color, Side, PerspectiveCamera, Scene, Mesh, WebGLRenderer, Camera, Vector2, Light, Intersection } from 'three';
5
- import { SafeHtml, EventManager, DomSanitizer, SafeStyle } from '@angular/platform-browser';
4
+ import { Object3D, Material, Vector3, Euler, Scene, Mesh, PerspectiveCamera, WebGLRenderer, Camera, Vector2, Box3 } from 'three';
5
+ import { SafeHtml, DomSanitizer, SafeStyle } from '@angular/platform-browser';
6
6
  import { DecoNode } from '@colijnit/configuratorapi/build/model/deco-node';
7
7
  import { Selection } from '@colijnit/configuratorapi/build/model/selection';
8
- import { BehaviorSubject, Subject, Observable, Subscription } from 'rxjs';
8
+ import { BehaviorSubject, Subject, Subscription } from 'rxjs';
9
9
  import { Answer } from '@colijnit/configuratorapi/build/model/answer';
10
10
  import { Article } from '@colijnit/configuratorapi/build/model/article';
11
+ import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
11
12
  import { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
12
- import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
13
- import { Options } from '@colijnit/ioneconnector/build/model/options';
14
- import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
15
- import { LoginResponse } from '@colijnit/ioneconnector/build/model/login-response';
16
- import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
17
13
  import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
18
- import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
19
- import { ConfiguratorStatisticsEnvironment } from '@colijnit/configuratorapi/build/model/configurator-statistics-environment';
20
- import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
14
+ import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
15
+ import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
21
16
  import { AnswerPrice } from '@colijnit/configuratorapi/build/model/answer-price';
22
17
  import { Question } from '@colijnit/configuratorapi/build/model/question';
23
18
  import { ArticleText } from '@colijnit/configuratorapi/build/model/article-text.bo';
24
19
  import { SkipButtonInfo } from '@colijnit/configuratorapi/build/model/skip-button-info';
20
+ import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
21
+ import { ConfiguratorStatisticsEnvironment } from '@colijnit/configuratorapi/build/model/configurator-statistics-environment';
22
+ import * as i2 from '@colijnit/utilities';
23
+ import { UtilitiesConnectorService, TextureInterface as TextureInterface$1, PostProcessingService, JsonUtilsService, LightsService, TranslationService } from '@colijnit/utilities';
24
+ import { VariationHelper } from '@colijnit/configuratorcore';
25
25
  import { WebGLPathTracer } from 'three-gpu-pathtracer';
26
+ import { Group } from '@tweenjs/tween.js';
26
27
  import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
27
- import { DeviceDetectorService } from 'ngx-device-detector';
28
- import { ColorSpace } from 'three/src/constants.js';
29
28
  import * as i3 from '@angular/common';
30
- import * as i5 from '@colijnit/corecomponents_v12';
29
+ import * as i3$1 from '@colijnit/corecomponents_v12';
31
30
  import * as i7 from '@angular/forms';
32
- import { Color as Color$1 } from '@colijnit/configuratorapi/build/model/color';
31
+ import { Overlay } from '@angular/cdk/overlay';
32
+ import * as i4 from '@angular/cdk/clipboard';
33
+ import { Color } from '@colijnit/configuratorapi/build/model/color';
33
34
  import { Tag } from '@colijnit/configuratorapi/build/model/tag';
34
- import * as i3$1 from '@angular/material/icon';
35
- import * as i4 from '@angular/material/button';
35
+ import * as i3$2 from '@angular/material/icon';
36
+ import * as i4$1 from '@angular/material/button';
36
37
  import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
37
38
 
38
39
  declare class ConfiguratorErrorMessage {
@@ -116,13 +117,22 @@ declare class IntersectedObjects {
116
117
  constructor(parent?: any, child?: any);
117
118
  }
118
119
 
119
- declare class AppEventService {
120
+ declare enum PresetDialogMode {
121
+ SAVE = 0,
122
+ LOAD = 1
123
+ }
124
+
125
+ declare class ConfiguratorEventService {
126
+ skuSet: BehaviorSubject<string>;
127
+ instanceIdSet: BehaviorSubject<string>;
120
128
  instanceSet: BehaviorSubject<string>;
121
129
  answerCountReceived: BehaviorSubject<number>;
122
- readyToRender: BehaviorSubject<boolean>;
130
+ buildStarted: BehaviorSubject<boolean>;
123
131
  buildFinished: BehaviorSubject<ConfigurationResultObject>;
132
+ addedToScene: BehaviorSubject<ConfigurationResultObject>;
124
133
  configurationTemplateChange: BehaviorSubject<ConfigurationTemplate>;
125
134
  articleNotFound: BehaviorSubject<ConfigurationResultObject>;
135
+ selectionWithAnswersChanged: BehaviorSubject<SelectorWithOptions[]>;
126
136
  glbCreated: Subject<string>;
127
137
  showOutline: Subject<any>;
128
138
  showErrorOutline: Subject<any>;
@@ -137,8 +147,14 @@ declare class AppEventService {
137
147
  articleInfoReceived: Subject<string>;
138
148
  onObjectSelected: Subject<IntersectedObjects>;
139
149
  onObjectUnSelected: Subject<boolean>;
140
- static ɵfac: i0.ɵɵFactoryDeclaration<AppEventService, never>;
141
- static ɵprov: i0.ɵɵInjectableDeclaration<AppEventService>;
150
+ changeConfigurationPresetDialogMode: Subject<PresetDialogMode>;
151
+ onCanvasImageReceived: Subject<string>;
152
+ onThumbnailReceived: Subject<string>;
153
+ renderImageChanged: BehaviorSubject<string>;
154
+ renderImageError: BehaviorSubject<string>;
155
+ startBuildFromPresetId: Subject<string>;
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorEventService, never>;
157
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorEventService>;
142
158
  }
143
159
 
144
160
  declare class ArParameters {
@@ -217,6 +233,11 @@ declare class SettingOptions {
217
233
  useExternalOpenSave?: boolean;
218
234
  floorFadeStart?: number;
219
235
  floorFadeEnd?: number;
236
+ maxVisibleTiles: number;
237
+ maxVisibleSmallTiles: number;
238
+ groupedShowAllBtn: boolean;
239
+ showSavePresetButton?: boolean;
240
+ showLoadPresetButton?: boolean;
220
241
  }
221
242
 
222
243
  declare class RenderParameters {
@@ -282,6 +303,9 @@ declare class ConfiguratorSettings {
282
303
  jwtEnabled?: boolean;
283
304
  gtm?: string;
284
305
  dracoPath?: string;
306
+ mainUrl?: string;
307
+ mainSchema?: string;
308
+ mainVersion?: string;
285
309
  options?: SettingOptions;
286
310
  catalogParameters?: GetArticlesForCatalogRequest;
287
311
  renderParameters?: RenderParameters;
@@ -312,160 +336,25 @@ declare class ConfiguratorSettings {
312
336
  infoPublicationCode?: number;
313
337
  }
314
338
 
315
- declare class JsonUtilsService {
316
- readJsonFile(filePath: string, includeBaseUrl?: boolean): Promise<any>;
317
- private _includeBaseUrl;
318
- static ɵfac: i0.ɵɵFactoryDeclaration<JsonUtilsService, never>;
319
- static ɵprov: i0.ɵɵInjectableDeclaration<JsonUtilsService>;
320
- }
321
-
322
- declare class DictionaryService {
323
- private _jsonUtilsService;
324
- private readonly _placeholder;
325
- private _client;
326
- private _language;
327
- private _dictionary;
328
- constructor(_jsonUtilsService: JsonUtilsService);
329
- get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
330
- setDictionary(path: string, client: string, languageCode: string, additionalTranslationFile?: any): Promise<void>;
331
- private _getDictionaryData;
332
- static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
333
- static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
334
- }
335
-
336
- declare enum NavigatorType {
337
- IOsSafari = "IOsSafari",
338
- Browser = "Browser"
339
- }
340
-
341
- interface AoOptions {
342
- aoSamples: number;
343
- denoiseSamples: number;
344
- denoiseRadius: number;
345
- aoRadius: number;
346
- distanceFalloff: number;
347
- screenSpaceRadius: boolean;
348
- halfRes: boolean;
349
- depthAwareUpsampling: boolean;
350
- transparencyAware: boolean;
351
- intensity: number;
352
- renderMode: string;
353
- color: string;
354
- colorMultiply: boolean;
355
- stencil: boolean;
356
- accumulate: boolean;
357
- gammaCorrection: boolean;
358
- }
359
-
360
- interface AaOptions {
361
- sampleLevel: number;
362
- unbiased: boolean;
363
- }
364
-
365
- interface VignetteOptions {
366
- vignetteOffset: number;
367
- vignetteDarkness: number;
368
- }
369
-
370
- interface PostProcessingSetting {
371
- aoEnabled: boolean;
372
- aoOptions: AoOptions;
373
- aaEnabled: boolean;
374
- aaOptions: AaOptions;
375
- vignetteEnabled: boolean;
376
- vignetteOptions: VignetteOptions;
377
- }
378
-
379
- interface SettingInterface {
380
- default: boolean;
381
- standalone: boolean;
382
- navigatorType: NavigatorType;
383
- postprocessing: PostProcessingSetting;
384
- }
385
-
386
- declare class Setting {
387
- navigatorType: NavigatorType;
388
- default: boolean;
389
- standalone: boolean;
390
- postProcessing: PostProcessingSetting;
391
- static CreateModelFromInterface(modelInterface: SettingInterface): Setting;
392
- }
393
-
394
- declare class SettingsService {
395
- private _jsonUtilsService;
396
- private _dictionaryService;
339
+ declare class ConfiguratorSettingsService {
397
340
  set settings(value: ConfiguratorSettings);
398
341
  get settings(): ConfiguratorSettings;
399
342
  settingsLoaded: BehaviorSubject<boolean>;
400
- lightSettingsLoaded: BehaviorSubject<Setting[]>;
401
- settingsChanged: Subject<void>;
402
343
  private _settings;
403
- constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
404
344
  createSettingsFromObject(obj: any): void;
405
345
  initializeSettings(settings?: ConfiguratorSettings): Promise<void>;
406
346
  initialize(settings: ConfiguratorSettings): Promise<void>;
407
347
  checkAdditionalParameters(): Promise<void>;
408
348
  private _checkUrlParameters;
409
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
410
- static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
411
- }
412
-
413
- declare class ConfiguratorService {
414
- readonly showLoader: Subject<boolean>;
415
- readonly connectionReset: Subject<void>;
416
- loginResponse: LoginResponse;
417
- private _configuratorApi;
418
- private _mainApi;
419
- private _articleApi;
420
- private _boFactory;
421
- private _publicationCodeForUserRole;
422
- constructor();
423
- initApi(options: Options): void;
424
- cleanUp(): void;
425
- initConnector(options: Options, forceReload?: boolean): Promise<boolean>;
426
- initNodeInstance(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
427
- changeConnection(instanceId: string, oldConnection: string, newConnection: string, showLoader: boolean): Promise<DataServiceResponseData>;
428
- setInstanceToConfigure(id: string, showLoader?: boolean): Promise<DataServiceResponseData>;
429
- getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<DataServiceResponseData>;
430
- getArticleQuickSel(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
431
- getSelections(showLoader?: boolean, publicationCode?: number): Promise<DataServiceResponseData>;
432
- getDecos(showLoader?: boolean): Promise<DataServiceResponseData>;
433
- getQuestionAndAnswers(showLoader?: boolean, publicationCode?: number): Promise<QuestionAndAnswers>;
434
- getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
435
- selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
436
- selectAnswer(answer: Answer, showLoader?: boolean, input?: string): Promise<DataServiceResponseData>;
437
- selectAnswerBySelection(selection: Selection, userInput?: string): Promise<DataServiceResponseData>;
438
- navigateTo(chosenOption: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
439
- cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
440
- deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
441
- replaceSelection(selection: Selection): Promise<DataServiceResponseData>;
442
- getSelectionsAsync(): Promise<DataServiceResponseData>;
443
- getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
444
- getAnswerTexts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
445
- getAnswersPrices(): Promise<DataServiceResponseData>;
446
- getSkipButtonImageAndText(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
447
- getInternalParameterValue(parameter: InternalParam): Promise<DataServiceResponseData>;
448
- getDecosAsync(): Promise<DataServiceResponseData>;
449
- getSelectorStructure(showLoader?: boolean): Promise<DataServiceResponseData>;
450
- getPublicationCodeBasedOnLogin(): number;
451
- getImage(key: number | string, publication: number, thumb: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
452
- copyInstance(instanceId: string, shouldSaveCurrentInstanceId: boolean, showLoader?: boolean): Promise<DataServiceResponseData>;
453
- saveConfigurations(showLoader?: boolean): Promise<boolean>;
454
- googleTranslateEnabled(): Promise<boolean>;
455
- getDefaultLanguage(upId: number): Promise<string>;
456
- getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
457
- getImageForSelectorStructure(option: SelectorStructure, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
458
- getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
459
- private _getPublicationCodeForRole;
460
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorService, never>;
461
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorService>;
349
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSettingsService, never>;
350
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSettingsService>;
462
351
  }
463
352
 
464
353
  declare class ConfiguratorConnectorService implements OnDestroy {
465
- private _configuratorService;
466
354
  private _appEventService;
467
355
  private _settingsService;
468
356
  private _loaderService;
357
+ private _utilitiesConnectorService;
469
358
  get article(): Article;
470
359
  set article(value: Article);
471
360
  get sku(): string;
@@ -506,11 +395,15 @@ declare class ConfiguratorConnectorService implements OnDestroy {
506
395
  private _initializing;
507
396
  private _initialized;
508
397
  private _boFactory;
509
- constructor(_configuratorService: ConfiguratorService, _appEventService: AppEventService, _settingsService: SettingsService, _loaderService: LoaderService);
398
+ private _configuratorService;
399
+ constructor(_appEventService: ConfiguratorEventService, _settingsService: ConfiguratorSettingsService, _loaderService: LoaderService, _utilitiesConnectorService: UtilitiesConnectorService);
510
400
  ngOnDestroy(): void;
511
- initConnection(forceReload?: boolean, standAlone?: boolean): Promise<void>;
401
+ cleanUp(): void;
402
+ init(settings?: ConfiguratorSettings): Promise<void>;
403
+ initConnection(forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<void>;
512
404
  onShowLoaderChange(showLoader: boolean): void;
513
405
  onConnectionReset(): void;
406
+ getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
514
407
  getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<number>;
515
408
  setSelections(selections: Selection[]): void;
516
409
  setDecoNodes(value: DecoNode[]): void;
@@ -545,9 +438,8 @@ declare class ConfiguratorConnectorService implements OnDestroy {
545
438
  getInternalParameter(parameter: InternalParam): Promise<string>;
546
439
  emptySelections(): void;
547
440
  saveConfigurations(): Promise<void>;
548
- getDefaultLanguage(upId: number): Promise<string>;
549
- googleTranslateEnabled(): Promise<boolean>;
550
- getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
441
+ storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
442
+ initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
551
443
  getImageForAnswer(selectedOption: SelectorStructure, showLoader?: boolean): Promise<void>;
552
444
  addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
553
445
  getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
@@ -580,89 +472,6 @@ declare class ConfiguratorConnectorService implements OnDestroy {
580
472
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
581
473
  }
582
474
 
583
- declare class AppInitializerService {
584
- private _settingsService;
585
- private _configuratorConnectorService;
586
- appInitialized: BehaviorSubject<boolean>;
587
- constructor(_settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
588
- initializeApp(settings?: ConfiguratorSettings): Promise<void>;
589
- static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
590
- static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
591
- }
592
-
593
- declare class VariationSettingsSettings {
594
- repeatx: number;
595
- repeaty: number;
596
- roughness: number;
597
- metalness: number;
598
- }
599
- declare class VariationSettings {
600
- id: string;
601
- settings: VariationSettingsSettings;
602
- texture: string;
603
- textureFilename: string;
604
- normal: string;
605
- normalFilename: string;
606
- ao: string;
607
- aoFilename: string;
608
- metalness: string;
609
- metalnessFilename: string;
610
- roughness: string;
611
- roughnessFilename: string;
612
- orm: string;
613
- ormFilename: string;
614
- displacement: string;
615
- displacementValue: number;
616
- displacementFilename: string;
617
- sheen: number;
618
- sheenColor: Color;
619
- sheenColorMap: string;
620
- sheenColorMapFilename: string;
621
- sheenRoughness: number;
622
- sheenRoughnessMap: string;
623
- sheenRoughnessMapFilename: string;
624
- transmissionMap: string;
625
- transmissionMapFilename: string;
626
- emissive: string;
627
- emissiveFilename: string;
628
- emissiveIntensity: number;
629
- emissiveValue: Color;
630
- opacity: number;
631
- transparent: boolean;
632
- envMap: string;
633
- envMapFilename: string;
634
- envMapIntensity: number;
635
- reflectivity: number;
636
- side: Side;
637
- transmission: number;
638
- ior: number;
639
- thickness: number;
640
- specularIntensity: number;
641
- loading: boolean;
642
- loaded: Subject<VariationSettings>;
643
- material: any;
644
- copyFrom(settings: VariationSettings): void;
645
- }
646
-
647
- declare class VariationCacheService implements OnDestroy {
648
- private _settingsService;
649
- private _configuratorService;
650
- private _variations;
651
- private _subs;
652
- constructor(_settingsService: SettingsService, _configuratorService: ConfiguratorConnectorService);
653
- ngOnDestroy(): void;
654
- get(id: string): VariationSettings;
655
- set(variations: VariationSettings): void;
656
- preloadVariations(schema: string, decoNodes: DecoNode[], articleAssetPath?: string): void;
657
- preloadVariationsAsync(schema: string, decoNodes: DecoNode[] | Answer[] | SelectorStructure[], articleAssetPath?: string): Promise<void>;
658
- loadVariation(fileName: string): Promise<VariationSettings>;
659
- private _waitForVariationToLoad;
660
- private _createSettingsForFileName;
661
- private _needsMaterials;
662
- static ɵfac: i0.ɵɵFactoryDeclaration<VariationCacheService, never>;
663
- static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
664
- }
665
-
666
475
  declare class ProgressService {
667
476
  private _progressPercent;
668
477
  get progress(): number;
@@ -672,97 +481,326 @@ declare class ProgressService {
672
481
  static ɵprov: i0.ɵɵInjectableDeclaration<ProgressService>;
673
482
  }
674
483
 
675
- declare class CameraService implements OnDestroy {
676
- private _settingsService;
677
- readonly panSpeed: number;
678
- readonly rotateBy: number;
679
- readonly moveBy: number;
680
- readonly cameraDefaultHeight: number;
681
- readonly targetDefaultOffset: number;
682
- readonly exploreDistanceFromCorner: number;
683
- camera: PerspectiveCamera;
684
- controls: any;
685
- cameraMovementChanged: Subject<void>;
686
- private _cameraLocked;
687
- private _element;
688
- private _viewSize;
689
- private _viewCenter;
690
- private _exploreTargetDistance;
691
- private _realAspectRatio;
692
- private _aspectRatio;
693
- private _viewMode;
484
+ declare class UtilsService implements OnDestroy {
485
+ private _progressService;
486
+ clips: any;
487
+ private _objectCache;
694
488
  private _subs;
695
- get cameraLocked(): boolean;
696
- set realAspectRatio(value: number);
697
- constructor(_settingsService: SettingsService);
489
+ constructor(_progressService: ProgressService);
698
490
  ngOnDestroy(): void;
699
- init(element: HTMLElement): void;
700
- cameraZoomIn(): void;
701
- cameraZoomOut(): void;
702
- lockCamera(): void;
703
- unlockCamera(): void;
704
- disableRotate(): void;
705
- disableRotateHorizontal(): void;
706
- disablePan(): void;
707
- disableZoom(): void;
708
- moveCameraToFitObject(object: any, offset?: number): Promise<void>;
709
- private _getCameraOffset;
710
- private _controlsUpdate;
711
- static ɵfac: i0.ɵɵFactoryDeclaration<CameraService, never>;
712
- static ɵprov: i0.ɵɵInjectableDeclaration<CameraService>;
491
+ createCanvasImage(objects: Object3D[], thumbnail?: boolean): string;
492
+ loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
493
+ downloadUSDZforARIOS(object: Object3D): Promise<void>;
494
+ private _addGroupChildrenToObject;
495
+ private _handleUpdateProgressBar;
496
+ static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
497
+ static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
713
498
  }
714
499
 
715
- declare enum XrMode {
716
- ArMode = "Ar Mode",
717
- VrMode = "Vr Mode"
500
+ declare abstract class BuildFurnitureBaseService implements OnDestroy {
501
+ protected configuratorConnectorService: ConfiguratorConnectorService;
502
+ protected appEventService: ConfiguratorEventService;
503
+ protected settingsService: ConfiguratorSettingsService;
504
+ protected utilsService: UtilsService;
505
+ get useNodeIdToLink(): boolean;
506
+ get currentCustomFloorGroup(): Object3D;
507
+ set currentCustomFloorGroup(item: Object3D);
508
+ get selections(): Selection[];
509
+ set scene(scene: Scene);
510
+ get scene(): Scene;
511
+ defaultPosition: Vector3;
512
+ defaultRotation: Euler;
513
+ baseElementNodeId: number;
514
+ articleAssetPath: string;
515
+ startPosition: Vector3;
516
+ full3DObjectToUse: Object3D;
517
+ isMouseOverObject: boolean;
518
+ activeConnector: any;
519
+ answerSelected: Subject<ConfigurationResultObject>;
520
+ arPlacementUpdate: Subject<boolean>;
521
+ showElementToolbar: boolean;
522
+ private _useNodeIdToLink;
523
+ private _activeChildElement;
524
+ private _adjustables;
525
+ private _addables;
526
+ private _currentCustomFloorGroup;
527
+ private _genericSelection;
528
+ private _answerSelected;
529
+ private _selectionsSelected;
530
+ private _scene;
531
+ protected subs: Subscription[];
532
+ protected placedAddables: any[];
533
+ protected placedAdjustables: any[];
534
+ protected variationHelper: VariationHelper;
535
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, appEventService: ConfiguratorEventService, settingsService: ConfiguratorSettingsService, utilsService: UtilsService);
536
+ ngOnDestroy(): void;
537
+ abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
538
+ abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
539
+ abstract startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
540
+ abstract prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
541
+ abstract createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
542
+ abstract startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
543
+ emptyAnswerSelected(): void;
544
+ emptySelectionsSelected(): void;
545
+ getOptionsFromSelection(baseSelection: Selection): Selection[];
546
+ cancelConfiguringCurrentInstance(): void;
547
+ cancelAnswer(data: ConfigurationResultObject, rebuild?: boolean, getAnswers?: boolean): Promise<void>;
548
+ selectSelection(selection: Selection, data: ConfigurationResultObject, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<void>;
549
+ deleteSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
550
+ replaceSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
551
+ selectAnswer(answer: Answer, input: string, data: ConfigurationResultObject): Promise<void>;
552
+ selectSelectionAsAnswer(chosenOption: SelectorStructure, data: ConfigurationResultObject): Promise<void>;
553
+ linkSelectionsAndDecos(): void;
554
+ prepareTheSelections(instanceId?: string): void;
555
+ preloadMaterials(schema: string): void;
556
+ cleanUp(): void;
557
+ protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
558
+ protected getSelectionsAndDecos(): Promise<void>;
559
+ protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
560
+ protected normalizeMesh(mesh: Mesh): void;
561
+ protected setInstanceToConfigure(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
562
+ protected getSelectionsAndDecosFromMetadata(result: ConfigurationResultObject): void;
563
+ protected selectionPublished(selection: Selection): boolean;
564
+ protected cleanupBeforePresetLoad(): void;
565
+ protected handleAfterPresetLoad(): void;
566
+ protected cleanup(): void;
567
+ protected canConnectSelections(sel1: Selection, sel2: Selection): boolean;
568
+ protected handleAnswerSelected(answer: Answer): void;
569
+ protected handleSelectionSelected(chosenOption: SelectorStructure): void;
570
+ protected createConfigurableItem(itemName: string): Object3D;
571
+ protected cloneSelections(): Selection[];
572
+ protected updateBuildObject(newItem: Object3D, resultObject: ConfigurationResultObject): Promise<ConfigurationResultObject>;
573
+ protected saveElementConnector(element: Object3D, connector: string): void;
574
+ protected getIdentifierFromSelection(selection: Selection): string;
575
+ protected reset(): void;
576
+ protected getAdjustables(checkGameObject?: boolean, checkType?: boolean): Selection[];
577
+ protected getVariations(): any[];
578
+ protected loadVariations(item: Object3D, instanceId: string): Promise<void>;
579
+ protected preloadMaterial(answer: Answer): void;
580
+ protected preloadMaterialBySelection(answer: SelectorStructure): void;
581
+ protected buildFloor(result: any): Promise<void>;
582
+ downloadUDSZforARIOS(objects: Object3D[]): void;
583
+ private _setNeedMaterial;
584
+ static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
585
+ static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
718
586
  }
719
587
 
720
- declare class DebugService {
721
- debugMessages: string[];
722
- averageRenderTime: number;
723
- lastTimestamp: number;
724
- measurements: any[];
725
- runTest: boolean;
726
- addMessage(message: string): void;
727
- measureRenderTime(): void;
728
- resetMeasurements(): void;
729
- startToggle(): void;
730
- getAverageRenderTime(): number;
731
- getFramesMeasuredAmount(): number;
732
- static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
733
- static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
588
+ declare class BuildFurnitureService extends BuildFurnitureBaseService implements OnDestroy {
589
+ build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
590
+ createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
591
+ startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
592
+ createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
593
+ startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
594
+ prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
595
+ static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureService, never>;
596
+ static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureService>;
734
597
  }
735
598
 
736
- declare class FontService {
737
- hudFont: Font;
738
- monospaceFont: Font;
739
- constructor();
740
- private _loadFont;
741
- static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
742
- static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
599
+ declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseService implements OnDestroy {
600
+ build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
601
+ startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
602
+ startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
603
+ prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
604
+ createSimple3DModel(result: ConfigurationResultObject, standAlone?: boolean): ConfigurationResultObject;
605
+ createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
606
+ static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureWithoutSceneService, never>;
607
+ static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
743
608
  }
744
609
 
745
- declare class MessageBoardService {
610
+ declare class SwitchBuildFurnitureService implements OnDestroy {
611
+ private _buildFurnitureService;
612
+ private _buildFurnitureWithoutSceneService;
746
613
  private _settingsService;
747
- private _fontService;
748
- scene: Scene;
749
- board: Mesh;
750
- messages: Mesh[];
751
- private _font;
752
- constructor(_settingsService: SettingsService, _fontService: FontService);
753
- init(scene: Scene): Promise<void>;
754
- addMessage(message: string): void;
755
- private _createMessageBoard;
756
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
757
- static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
614
+ private _configuratorService;
615
+ currentActiveService: BuildFurnitureBaseService;
616
+ private _controllerInitSub;
617
+ private _standAloneInstance;
618
+ constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
619
+ ngOnDestroy(): void;
620
+ cleanUp(): void;
621
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchBuildFurnitureService, never>;
622
+ static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
758
623
  }
759
624
 
760
- declare class XrService implements OnDestroy {
625
+ declare class ThreedselectorService {
761
626
  private _settingsService;
762
- private _debugService;
763
- private _messageBoard;
764
- gamepad: any;
765
- axes: number[];
627
+ private _threedUtils;
628
+ constructor(_settingsService: ConfiguratorSettingsService);
629
+ downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
630
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
631
+ static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
632
+ }
633
+
634
+ declare enum ItemType {
635
+ Floor = 1,
636
+ Wall = 2,
637
+ InWall = 3,
638
+ InWallFloor = 7,
639
+ OnFloor = 8,
640
+ WallFloor = 9,
641
+ CustomFloorGroup = 10,
642
+ CustomShape = 11,
643
+ FloorGroup = 12,
644
+ ItemGroup = 13,
645
+ CustomCylinder = 14,
646
+ CustomCylinderWall = 15,
647
+ CustomShapeWall = 16,
648
+ CustomWall = 20,
649
+ CustomWallFloor = 21,
650
+ WallItemGroup = 22,
651
+ WallDecoration = 23,
652
+ WindowDecoration = 24,
653
+ FloorDecoration = 25
654
+ }
655
+
656
+ declare abstract class LoadFurnitureBaseService implements OnDestroy {
657
+ protected configuratorConnectorService: ConfiguratorConnectorService;
658
+ protected threedSelectorService: ThreedselectorService;
659
+ protected buildFurnitureService: SwitchBuildFurnitureService;
660
+ protected settingsService: ConfiguratorSettingsService;
661
+ private readonly _fullObjectCache;
662
+ set article(value: Article);
663
+ get article(): Article;
664
+ articleLoaded: BehaviorSubject<Article>;
665
+ private _subs;
666
+ private _article;
667
+ protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService);
668
+ ngOnDestroy(): void;
669
+ abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
670
+ loadArticle(sku: string): Promise<Article>;
671
+ extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
672
+ getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
673
+ protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
674
+ private _cleanUp;
675
+ protected needs3DModel(type: ItemType): boolean;
676
+ initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
677
+ protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
678
+ private _getAssetPathFromModelUrlAndSchema;
679
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
680
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
681
+ }
682
+
683
+ declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
684
+ loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
685
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
686
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
687
+ }
688
+
689
+ declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
690
+ loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
691
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
692
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
693
+ }
694
+
695
+ declare class SwitchLoadFurnitureService implements OnDestroy {
696
+ private _loadFurnitureService;
697
+ private _loadFurnitureWithoutSceneService;
698
+ private _settingsService;
699
+ private _iOne;
700
+ currentActiveService: LoadFurnitureBaseService;
701
+ private _standAlone;
702
+ private _controllerInitSub;
703
+ private _standAloneInstance;
704
+ constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _iOne: ConfiguratorConnectorService);
705
+ ngOnDestroy(): void;
706
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
707
+ static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
708
+ }
709
+
710
+ declare class ConfiguratorCameraService implements OnDestroy {
711
+ private _settingsService;
712
+ readonly panSpeed: number;
713
+ readonly rotateBy: number;
714
+ readonly moveBy: number;
715
+ readonly cameraDefaultHeight: number;
716
+ readonly targetDefaultOffset: number;
717
+ readonly exploreDistanceFromCorner: number;
718
+ camera: PerspectiveCamera;
719
+ controls: any;
720
+ cameraMovementChanged: Subject<void>;
721
+ addTweenGroup: Subject<Group>;
722
+ removeTweenGroup: Subject<Group>;
723
+ private _cameraLocked;
724
+ private _element;
725
+ private _viewSize;
726
+ private _viewCenter;
727
+ private _exploreTargetDistance;
728
+ private _realAspectRatio;
729
+ private _aspectRatio;
730
+ private _subs;
731
+ get cameraLocked(): boolean;
732
+ set realAspectRatio(value: number);
733
+ constructor(_settingsService: ConfiguratorSettingsService);
734
+ ngOnDestroy(): void;
735
+ init(element: HTMLElement): void;
736
+ cameraZoomIn(): void;
737
+ cameraZoomOut(): void;
738
+ lockCamera(): void;
739
+ unlockCamera(): void;
740
+ disableRotate(): void;
741
+ disableRotateHorizontal(): void;
742
+ disablePan(): void;
743
+ disableZoom(): void;
744
+ moveCameraToFitObject(object: any, offset?: number): Promise<void>;
745
+ private _getCameraOffset;
746
+ private _controlsUpdate;
747
+ private _addTweenGroup;
748
+ private _removeTweenGroup;
749
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraService, never>;
750
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorCameraService>;
751
+ }
752
+
753
+ declare enum XrMode {
754
+ ArMode = "Ar Mode",
755
+ VrMode = "Vr Mode"
756
+ }
757
+
758
+ declare class DebugService {
759
+ debugMessages: string[];
760
+ averageRenderTime: number;
761
+ lastTimestamp: number;
762
+ measurements: any[];
763
+ runTest: boolean;
764
+ addMessage(message: string): void;
765
+ measureRenderTime(): void;
766
+ resetMeasurements(): void;
767
+ startToggle(): void;
768
+ getAverageRenderTime(): number;
769
+ getFramesMeasuredAmount(): number;
770
+ static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
771
+ static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
772
+ }
773
+
774
+ declare class FontService {
775
+ hudFont: Font;
776
+ monospaceFont: Font;
777
+ constructor();
778
+ private _loadFont;
779
+ static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
780
+ static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
781
+ }
782
+
783
+ declare class MessageBoardService {
784
+ private _settingsService;
785
+ private _fontService;
786
+ scene: Scene;
787
+ board: Mesh;
788
+ messages: Mesh[];
789
+ private _font;
790
+ constructor(_settingsService: ConfiguratorSettingsService, _fontService: FontService);
791
+ init(scene: Scene): Promise<void>;
792
+ addMessage(message: string): void;
793
+ private _createMessageBoard;
794
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
795
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
796
+ }
797
+
798
+ declare class ConfiguratorXrService implements OnDestroy {
799
+ private _settingsService;
800
+ private _debugService;
801
+ private _messageBoard;
802
+ gamepad: any;
803
+ axes: number[];
766
804
  touchpadIsPressed: boolean;
767
805
  triggerIsPressed: boolean;
768
806
  angularVelocity: THREE.Vector3;
@@ -784,7 +822,7 @@ declare class XrService implements OnDestroy {
784
822
  private _subs;
785
823
  private _cameraHeight;
786
824
  private _mode;
787
- constructor(_settingsService: SettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
825
+ constructor(_settingsService: ConfiguratorSettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
788
826
  ngOnDestroy(): void;
789
827
  init(renderer: WebGLRenderer, scene: Scene, camera: Camera): Promise<void>;
790
828
  startAr(): void;
@@ -801,11 +839,11 @@ declare class XrService implements OnDestroy {
801
839
  private _findGamepad;
802
840
  private _createController;
803
841
  private _createMeshes;
804
- static ɵfac: i0.ɵɵFactoryDeclaration<XrService, never>;
805
- static ɵprov: i0.ɵɵInjectableDeclaration<XrService>;
842
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorXrService, never>;
843
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorXrService>;
806
844
  }
807
845
 
808
- declare class VrService {
846
+ declare class ConfiguratorVrService {
809
847
  private _scene;
810
848
  private _renderer;
811
849
  private _camera;
@@ -842,11 +880,11 @@ declare class VrService {
842
880
  private _isObjectFloor;
843
881
  private _getParentOfChild;
844
882
  private _updateObjectSelection;
845
- static ɵfac: i0.ɵɵFactoryDeclaration<VrService, never>;
846
- static ɵprov: i0.ɵɵInjectableDeclaration<VrService>;
883
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorVrService, never>;
884
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorVrService>;
847
885
  }
848
886
 
849
- declare class ArService implements OnDestroy {
887
+ declare class ConfiguratorArService implements OnDestroy {
850
888
  private _cameraService;
851
889
  private _settingsService;
852
890
  private _iOne;
@@ -896,7 +934,7 @@ declare class ArService implements OnDestroy {
896
934
  private _sunLight;
897
935
  private _positionIndicator;
898
936
  private _pointRepresentation;
899
- constructor(_cameraService: CameraService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
937
+ constructor(_cameraService: ConfiguratorCameraService, _settingsService: ConfiguratorSettingsService, _iOne: ConfiguratorConnectorService);
900
938
  ngOnDestroy(): void;
901
939
  resetPlaneDetection(): Promise<void>;
902
940
  endSessionEvent(): void;
@@ -956,235 +994,41 @@ declare class ArService implements OnDestroy {
956
994
  private _updateMeshMaterials;
957
995
  private _removeMaterialShaders;
958
996
  private _checkingInterfaceInteraction;
959
- static ɵfac: i0.ɵɵFactoryDeclaration<ArService, never>;
960
- static ɵprov: i0.ɵɵInjectableDeclaration<ArService>;
997
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorArService, never>;
998
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorArService>;
961
999
  }
962
1000
 
963
- declare enum ConfigurationKey {
964
- DimensioningUnit = "dimUnit",
965
- DimensioningSquareUnit = "dimSqUnit",
966
- AngleUnit = "angleUnit",
967
- CmStep = "cmStep",
968
- MStep = "mStep",
969
- MmStep = "mmStep",
970
- AngleLabelDistanceInCm = "angleLabelDistanceCm",
971
- WallHeight = "wallHeight",
972
- WallThickness = "wallThickness",
973
- MaxWallHeight = "maxWallHeight",
974
- MaxWallThickness = "maxWallThickness",
975
- MaxWallLength = "maxWallLength",
976
- MinWallLength = "minWallLength",
977
- WallSnapping = "wallSnapping",
978
- CornerSnapping = "cornerSnapping",
979
- ShowObjectDistances = "showObjectDistances",
980
- ShowObjectMeasurements = "showObjectMeasurements",
981
- ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
982
- ShowWallItemMeasurements = "showWallItemMeasurements",
983
- ShowWallMeasurements = "showWallMeasurements",
984
- ShowCornerAngles = "showCornerAngles",
985
- RotationSnappingEnabled = "RotationSnappingEnabled",
986
- DisplayCustomShapeNames = "DisplayCustomShapeNames",
987
- ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
988
- ShowInteriorLights = "ShowInteriorLights",
989
- InteriorLightIntensity = "InteriorLightIntensity",
990
- ShowLightingControls = "ShowLightingControls",
991
- ShowLightplansDialog = "ShowLightplansDialog",
992
- WalkThroughCameraFoV = "WalkThroughCameraFoV",
993
- WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
994
- WalkThroughCameraFocus = "WalkThroughCameraFocus",
995
- ShowPostProcessingSettings = "showPostProcessingSettings",
996
- ShowWalls = "ShowWalls",
997
- ShowCeiling = "ShowCeiling",
998
- IsLimited = "IsLimited",
999
- EnableTouch = "EnableTouch",
1000
- CameraFOV = "CameraFOV"
1001
+ declare enum ViewMode {
1002
+ RoomPlan3D = "3D roomplan",
1003
+ VR = "VR",
1004
+ AR = "AR"
1001
1005
  }
1002
1006
 
1003
- interface ConfigurationData {
1004
- [ConfigurationKey.DimensioningUnit]?: string;
1005
- [ConfigurationKey.DimensioningSquareUnit]?: string;
1006
- [ConfigurationKey.AngleUnit]?: string;
1007
- [ConfigurationKey.CmStep]?: number;
1008
- [ConfigurationKey.MStep]?: number;
1009
- [ConfigurationKey.MmStep]?: number;
1010
- [ConfigurationKey.AngleLabelDistanceInCm]?: number;
1011
- [ConfigurationKey.WallHeight]?: number;
1012
- [ConfigurationKey.WallThickness]?: number;
1013
- [ConfigurationKey.MaxWallHeight]?: number;
1014
- [ConfigurationKey.MaxWallThickness]?: number;
1015
- [ConfigurationKey.MaxWallLength]?: number;
1016
- [ConfigurationKey.MinWallLength]?: number;
1017
- [ConfigurationKey.WallSnapping]?: boolean;
1018
- [ConfigurationKey.CornerSnapping]?: boolean;
1019
- [ConfigurationKey.ShowObjectDistances]?: boolean;
1020
- [ConfigurationKey.ShowObjectMeasurements]?: boolean;
1021
- [ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
1022
- [ConfigurationKey.ShowWallItemMeasurements]?: boolean;
1023
- [ConfigurationKey.ShowWallMeasurements]?: boolean;
1024
- [ConfigurationKey.ShowCornerAngles]?: boolean;
1025
- [ConfigurationKey.RotationSnappingEnabled]?: boolean;
1026
- [ConfigurationKey.DisplayCustomShapeNames]?: boolean;
1027
- [ConfigurationKey.ShowInteriorLights]?: boolean;
1028
- [ConfigurationKey.InteriorLightIntensity]?: number;
1029
- [ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
1030
- [ConfigurationKey.ShowLightingControls]?: boolean;
1031
- [ConfigurationKey.ShowLightplansDialog]?: boolean;
1032
- [ConfigurationKey.WalkThroughCameraFoV]?: number;
1033
- [ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
1034
- [ConfigurationKey.WalkThroughCameraFocus]?: number;
1035
- [ConfigurationKey.ShowPostProcessingSettings]?: boolean;
1036
- [ConfigurationKey.ShowWalls]?: boolean;
1037
- [ConfigurationKey.ShowCeiling]?: boolean;
1038
- [ConfigurationKey.IsLimited]?: boolean;
1039
- [ConfigurationKey.EnableTouch]?: boolean;
1040
- [ConfigurationKey.CameraFOV]?: number;
1007
+ declare class ViewModeService {
1008
+ viewModeChanged: BehaviorSubject<ViewMode>;
1009
+ private _viewMode;
1010
+ viewSize: Vector3;
1011
+ viewCenter: Vector3;
1012
+ set viewMode(value: ViewMode);
1013
+ get viewMode(): ViewMode;
1014
+ setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
1015
+ is3dViewActive(): boolean;
1016
+ isVRViewActive(): boolean;
1017
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
1018
+ static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
1041
1019
  }
1042
1020
 
1043
- declare class ConfigurationService {
1044
- private _data;
1045
- onChange: BehaviorSubject<{}>;
1046
- setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
1047
- getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
1048
- get(): ConfigurationData;
1049
- set(data: ConfigurationData): void;
1050
- getDistanceStep(): number;
1051
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
1052
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
1053
- }
1054
-
1055
- declare enum DeviceSizeType {
1056
- Desktop = "desktop",
1057
- Tablet = "tablet",
1058
- Phone = "phone"
1059
- }
1060
-
1061
- interface ScreenSizeInfo {
1062
- width: number;
1063
- height: number;
1064
- deviceSizeType: DeviceSizeType;
1065
- isDesktopSize: boolean;
1066
- isTabletSize: boolean;
1067
- isPhoneSize: boolean;
1068
- isPortraitMode: boolean;
1069
- }
1070
-
1071
- declare class ScreenSizeAnalysisService implements OnDestroy, OnInit {
1072
- private _eventManager;
1073
- private _deviceDetectorService;
1074
- private _onResizeSubject;
1075
- get screenSizeChanged(): Observable<ScreenSizeInfo>;
1076
- get isMobileDevice(): boolean;
1077
- constructor(_eventManager: EventManager, _deviceDetectorService: DeviceDetectorService);
1078
- ngOnInit(): void;
1079
- ngOnDestroy(): void;
1080
- getScreenSizeInfo(window: Window): ScreenSizeInfo;
1081
- isIphoneOrIpad(): boolean;
1082
- isSafari(): boolean;
1083
- navigatorType(): NavigatorType;
1084
- private _getCurrentScreenSize;
1085
- private _initOnResizeObservable;
1086
- private _getDeviceSizeType;
1087
- private _checkImageBitmapDisable;
1088
- static ɵfac: i0.ɵɵFactoryDeclaration<ScreenSizeAnalysisService, never>;
1089
- static ɵprov: i0.ɵɵInjectableDeclaration<ScreenSizeAnalysisService>;
1090
- }
1091
-
1092
- declare class PostProcessingService implements OnDestroy {
1093
- private _configurationService;
1094
- private _settingsService;
1095
- private _appEventService;
1096
- private _screenSizeAnalysis;
1097
- private _aoEnabled;
1098
- private _aaEnabled;
1099
- private _vignetteEnabled;
1100
- private _vignetteOffset;
1101
- private _vignetteDarkness;
1102
- private _composer;
1103
- private _n8aoPass;
1104
- private _renderPass;
1105
- private _outputPass;
1106
- private _fxaaPass;
1107
- private _smaaPass;
1108
- private _ssaaPass;
1109
- private _taaRenderPass;
1110
- private _vignettePass;
1111
- private _outlinePass;
1112
- private _scene;
1113
- private _renderer;
1114
- private _camera;
1115
- private _blendShader;
1116
- private _width;
1117
- private _height;
1118
- private _outlinePassAsError;
1119
- private _hideOutlineTimer;
1120
- private _hideOutlineTimeout;
1121
- private _standalone;
1122
- private _cameraMoved;
1123
- private _postProcessingGui;
1124
- private _subs;
1125
- private _aoDefaultOptions;
1126
- private _aoOptions;
1127
- private _aaDefaultOptions;
1128
- private _aaOptions;
1129
- private _vignetteDefaultOptions;
1130
- private _vignetteOptions;
1131
- aoEnabled: boolean;
1132
- aaEnabled: boolean;
1133
- vignetteEnabled: boolean;
1134
- constructor(_configurationService: ConfigurationService, _settingsService: SettingsService, _appEventService: AppEventService, _screenSizeAnalysis: ScreenSizeAnalysisService);
1135
- ngOnDestroy(): void;
1136
- init(renderer: WebGLRenderer, scene: Scene, camera: PerspectiveCamera, width: number, height: number, standalone: boolean): void;
1137
- setSize(width: number, height: number, force?: boolean): void;
1138
- render(): void;
1139
- cameraMovementChanged(): void;
1140
- showGui(): void;
1141
- hideGui(): void;
1142
- forceRenderCanvas(): void;
1143
- private _loadSetting;
1144
- private _showErrorOutline;
1145
- private _showOutline;
1146
- private _hideOutline;
1147
- private _updateAASize;
1148
- private _initComposer;
1149
- private _cleanUp;
1150
- private _applyAoProps;
1151
- private _createGuiTaaPass;
1152
- private _showHideGui;
1153
- private _createGui;
1154
- private _setErrorGlowSettings;
1155
- private _setSelectionGlowSettings;
1156
- static ɵfac: i0.ɵɵFactoryDeclaration<PostProcessingService, never>;
1157
- static ɵprov: i0.ɵɵInjectableDeclaration<PostProcessingService>;
1158
- }
1159
-
1160
- declare enum ViewMode {
1161
- RoomPlan3D = "3D roomplan",
1162
- VR = "VR",
1163
- AR = "AR"
1164
- }
1165
-
1166
- declare class ViewModeService {
1167
- viewModeChanged: BehaviorSubject<ViewMode>;
1168
- private _viewMode;
1169
- viewSize: Vector3;
1170
- viewCenter: Vector3;
1171
- set viewMode(value: ViewMode);
1172
- get viewMode(): ViewMode;
1173
- setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
1174
- is3dViewActive(): boolean;
1175
- isVRViewActive(): boolean;
1176
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
1177
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
1178
- }
1179
-
1180
- declare class SceneService implements OnDestroy {
1021
+ declare class ConfiguratorSceneService implements OnDestroy {
1181
1022
  private _cameraService;
1182
1023
  private _xrService;
1183
1024
  private _vrService;
1184
1025
  private _arService;
1185
- private _settingsService;
1186
- private _postProcessing;
1026
+ private _configuratorSettingsService;
1027
+ private _postProcessingService;
1187
1028
  private _viewModeService;
1029
+ private _jsonUtilsService;
1030
+ private _lightsService;
1031
+ private _buildFurnitureService;
1188
1032
  set needsRender(value: boolean);
1189
1033
  get needsRender(): boolean;
1190
1034
  scene: Scene;
@@ -1203,12 +1047,18 @@ declare class SceneService implements OnDestroy {
1203
1047
  renderingThroughPostProcessingPipeline: boolean;
1204
1048
  webGL2Available: boolean;
1205
1049
  domElement: HTMLElement;
1050
+ floorTexturesLoaded: BehaviorSubject<TextureInterface$1[]>;
1206
1051
  private _needsRender;
1207
1052
  private _arMode;
1208
1053
  private _subs;
1209
1054
  private _maxRenderSamples;
1210
1055
  private _numberOfSamplesRendered;
1211
- constructor(_cameraService: CameraService, _xrService: XrService, _vrService: VrService, _arService: ArService, _settingsService: SettingsService, _postProcessing: PostProcessingService, _viewModeService: ViewModeService);
1056
+ private _assetPath;
1057
+ private _indexJsonFile;
1058
+ private _lightPresetsJsonFile;
1059
+ private _lightsLoaded;
1060
+ private _groups;
1061
+ constructor(_cameraService: ConfiguratorCameraService, _xrService: ConfiguratorXrService, _vrService: ConfiguratorVrService, _arService: ConfiguratorArService, _configuratorSettingsService: ConfiguratorSettingsService, _postProcessingService: PostProcessingService, _viewModeService: ViewModeService, _jsonUtilsService: JsonUtilsService, _lightsService: LightsService, _buildFurnitureService: SwitchBuildFurnitureService);
1212
1062
  ngOnDestroy(): void;
1213
1063
  getScene(): Scene;
1214
1064
  set arMode(value: boolean);
@@ -1221,9 +1071,12 @@ declare class SceneService implements OnDestroy {
1221
1071
  updatePathTracer(): void;
1222
1072
  positionInSceneToScreen(pos: Vector3): Vector2;
1223
1073
  rendererPropsChange(): void;
1074
+ private _handleAddTweenGroup;
1075
+ private _handleRemoveTweenGroup;
1224
1076
  private _initScene;
1225
1077
  private _initCamera;
1226
1078
  private _initPostProcessing;
1079
+ private _initLightService;
1227
1080
  private _initPathTracer;
1228
1081
  private _initRenderer;
1229
1082
  private _resizeRendererToDisplaySize;
@@ -1232,292 +1085,198 @@ declare class SceneService implements OnDestroy {
1232
1085
  private _render;
1233
1086
  private _animate;
1234
1087
  private _pauseAnimation;
1088
+ private _prepareScene;
1235
1089
  private _setSceneBackground;
1236
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneService, never>;
1237
- static ɵprov: i0.ɵɵInjectableDeclaration<SceneService>;
1090
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneService, never>;
1091
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSceneService>;
1238
1092
  }
1239
1093
 
1240
- declare class ItemService implements OnDestroy {
1094
+ declare class ConfiguratorItemService implements OnDestroy {
1241
1095
  private _sceneService;
1242
1096
  get sceneItems(): Object3D[];
1243
1097
  private _sceneItems;
1244
- constructor(_sceneService: SceneService);
1098
+ constructor(_sceneService: ConfiguratorSceneService);
1245
1099
  ngOnDestroy(): void;
1246
1100
  addItem(item: Object3D, replace?: boolean): void;
1247
1101
  removeAllItems(): void;
1248
1102
  removeItem(obj: any): void;
1249
1103
  objectDimensions(object: Object3D): Vector3;
1250
1104
  glassMaterialCheck(item: Object3D): void;
1251
- static ɵfac: i0.ɵɵFactoryDeclaration<ItemService, never>;
1252
- static ɵprov: i0.ɵɵInjectableDeclaration<ItemService>;
1105
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorItemService, never>;
1106
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorItemService>;
1253
1107
  }
1254
1108
 
1255
- declare class UtilsService implements OnDestroy {
1256
- private _settingsService;
1257
- private _progressService;
1258
- private _itemService;
1259
- clips: any;
1260
- private _objectCache;
1261
- private _subs;
1262
- constructor(_settingsService: SettingsService, _progressService: ProgressService, _itemService: ItemService);
1263
- ngOnDestroy(): void;
1264
- createCanvasImage(thumbnail?: boolean): string;
1265
- loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
1266
- downloadUSDZforARIOS(object: Object3D): Promise<void>;
1267
- private _addGroupChildrenToObject;
1268
- private _handleUpdateProgressBar;
1269
- static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
1270
- static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
1109
+ declare class RenderResponse {
1110
+ result: string;
1111
+ statusCode: number;
1271
1112
  }
1272
1113
 
1273
- declare class ThreedselectorService {
1274
- private _variationCacheService;
1275
- private _settingsService;
1276
- private _utilsService;
1277
- private _threedUtils;
1278
- constructor(_variationCacheService: VariationCacheService, _settingsService: SettingsService, _utilsService: UtilsService);
1279
- downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
1280
- loadVariation(id: string): Promise<VariationSettings>;
1281
- static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
1282
- static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
1114
+ declare enum BlenderRenderType {
1115
+ Realtime = 0,
1116
+ Raytrace = 1
1283
1117
  }
1284
1118
 
1285
- declare class VariationService {
1286
- private _threedSelectorService;
1287
- loadedAsset: string;
1288
- private _lastKnownVariations;
1289
- constructor(_threedSelectorService: ThreedselectorService);
1290
- clearCache(): void;
1291
- loadPart(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
1292
- loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
1293
- loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
1294
- loadVariationForMaterial(gameObject: string): Promise<any>;
1295
- loadVariationByAssetUrl(assetUrl: string): Promise<any>;
1296
- createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
1297
- private _applyMaterialPart;
1298
- private _applyVariations;
1299
- private _applyMaterial;
1300
- private _setMeshMaterialFromVariation;
1301
- private _setLastKnownVariations;
1302
- private _getLastKnownVariations;
1303
- private _getChildrenFilterByProp;
1304
- private _createVariationFromNode;
1305
- static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
1306
- static ɵprov: i0.ɵɵInjectableDeclaration<VariationService>;
1119
+ declare class OptionalRenderSettings {
1120
+ objectWidth: number;
1121
+ objectHeight: number;
1122
+ renderType: number | BlenderRenderType;
1123
+ objectRotation: any;
1124
+ margin: number;
1125
+ cameraRotationX: number;
1126
+ forceTransparency: boolean;
1307
1127
  }
1308
1128
 
1309
- declare abstract class BuildFurnitureBaseService implements OnDestroy {
1310
- protected configuratorConnectorService: ConfiguratorConnectorService;
1311
- protected dictionaryService: DictionaryService;
1312
- protected appEventService: AppEventService;
1313
- protected settingsService: SettingsService;
1314
- protected variationService: VariationService;
1315
- protected variationCacheService: VariationCacheService;
1316
- protected utilsService: UtilsService;
1317
- protected itemService: ItemService;
1318
- get useNodeIdToLink(): boolean;
1319
- get currentCustomFloorGroup(): Object3D;
1320
- set currentCustomFloorGroup(item: Object3D);
1321
- get selections(): Selection[];
1322
- set scene(scene: Scene);
1323
- get scene(): Scene;
1324
- defaultPosition: Vector3;
1325
- defaultRotation: Euler;
1326
- baseElementNodeId: number;
1327
- articleAssetPath: string;
1328
- startPosition: Vector3;
1329
- full3DObjectToUse: Object3D;
1330
- isMouseOverObject: boolean;
1331
- activeConnector: any;
1332
- answerSelected: Subject<ConfigurationResultObject>;
1333
- arPlacementUpdate: Subject<boolean>;
1334
- showElementToolbar: boolean;
1335
- private _useNodeIdToLink;
1336
- private _activeChildElement;
1337
- private _placedAddables;
1338
- private _adjustables;
1339
- private _addables;
1340
- private _currentCustomFloorGroup;
1341
- private _genericSelection;
1342
- private _answerSelected;
1343
- private _selectionsSelected;
1344
- private _scene;
1345
- protected subs: Subscription[];
1346
- protected placedAdjustables: any[];
1347
- constructor(configuratorConnectorService: ConfiguratorConnectorService, dictionaryService: DictionaryService, appEventService: AppEventService, settingsService: SettingsService, variationService: VariationService, variationCacheService: VariationCacheService, utilsService: UtilsService, itemService: ItemService);
1348
- ngOnDestroy(): void;
1349
- abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1350
- abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
1351
- abstract startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1352
- abstract prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1353
- abstract createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1354
- abstract startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
1355
- emptyAnswerSelected(): void;
1356
- emptySelectionsSelected(): void;
1357
- getOptionsFromSelection(baseSelection: Selection): Selection[];
1358
- cancelConfiguringCurrentInstance(): void;
1359
- cancelAnswer(data: ConfigurationResultObject, rebuild?: boolean, getAnswers?: boolean): Promise<void>;
1360
- selectSelection(selection: Selection, data: ConfigurationResultObject, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<void>;
1361
- deleteSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
1362
- replaceSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
1363
- selectAnswer(answer: Answer, input: string, data: ConfigurationResultObject): Promise<void>;
1364
- selectSelectionAsAnswer(chosenOption: SelectorStructure, data: ConfigurationResultObject): Promise<void>;
1365
- linkSelectionsAndDecos(): void;
1366
- prepareTheSelections(instanceId?: string): void;
1367
- preloadMaterials(schema: string): void;
1368
- protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1369
- protected getSelectionsAndDecos(): Promise<void>;
1370
- protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1371
- protected normalizeMesh(mesh: Mesh): void;
1372
- protected setInstanceToConfigure(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1373
- protected getSelectionsAndDecosFromMetadata(result: ConfigurationResultObject): void;
1374
- protected selectionPublished(selection: Selection): boolean;
1375
- protected cleanupBeforePresetLoad(): void;
1376
- protected handleAfterPresetLoad(): void;
1377
- protected cleanup(): void;
1378
- protected canConnectSelections(sel1: Selection, sel2: Selection): boolean;
1379
- protected handleAnswerSelected(answer: Answer): void;
1380
- protected handleSelectionSelected(chosenOption: SelectorStructure): void;
1381
- protected createConfigurableItem(itemName: string): Object3D;
1382
- protected cloneSelections(): Selection[];
1383
- protected updateBuildObject(newItem: Object3D, resultObject: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1384
- protected isMoveableObject(obj: Object3D): boolean;
1385
- protected addElementOnConnector(currentItem: Object3D, element: Object3D, connector: string, connectedNodeId: number): Promise<void>;
1386
- protected saveElementConnector(element: Object3D, connector: string): void;
1387
- protected getIdentifierFromSelection(selection: Selection): string;
1388
- protected reset(): void;
1389
- /**
1390
- * Returns the materialId of the parent up the tree until presentionlevel 1 is reached
1391
- * @param id
1392
- * @private
1393
- */
1394
- protected getMaterialIdFromParent(id: number): string;
1395
- protected getAdjustables(checkGameObject?: boolean, checkType?: boolean): Selection[];
1396
- protected getVariations(): any[];
1397
- protected createAdjustable(item: Object3D, adj: Selection): Object3D;
1398
- protected createAddable(item: Object3D, add: Selection, part2?: any, part1?: any): Object3D;
1399
- protected placeAddable(item: Object3D, add: any): Object3D;
1400
- protected createUniqueName(item: Object3D, obj: Object3D): string;
1401
- protected placeAddables(item: Object3D): void;
1402
- protected loadVariations(item: Object3D, instanceId: string): Promise<void>;
1403
- protected preloadMaterial(answer: Answer): void;
1404
- protected preloadMaterialBySelection(answer: SelectorStructure): void;
1405
- protected buildFloor(result: any): Promise<void>;
1406
- downloadUDSZforARIOS(): void;
1407
- static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
1408
- static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
1129
+ declare class RenderBaseObject {
1130
+ selections: Selection[];
1131
+ decos: DecoNode[];
1132
+ assetUrl: string;
1133
+ cdnUrl: string;
1134
+ schema: string;
1135
+ options: any;
1409
1136
  }
1410
1137
 
1411
- declare class BuildFurnitureService extends BuildFurnitureBaseService implements OnDestroy {
1412
- build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1413
- createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1414
- startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
1415
- createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
1416
- startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1417
- prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1418
- static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureService, never>;
1419
- static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureService>;
1138
+ declare class RenderApi {
1139
+ private _settingsService;
1140
+ private _overWriteTransparency;
1141
+ constructor(_settingsService: ConfiguratorSettingsService);
1142
+ prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
1143
+ sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
1144
+ degreesToVector3(value: number): Vector3;
1145
+ private _adjustCameraRotation;
1146
+ private _getSceneRenderSettings;
1147
+ private _useTransparency;
1148
+ private _setForceTransparency;
1149
+ static ɵfac: i0.ɵɵFactoryDeclaration<RenderApi, never>;
1150
+ static ɵprov: i0.ɵɵInjectableDeclaration<RenderApi>;
1420
1151
  }
1421
1152
 
1422
- declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseService implements OnDestroy {
1423
- build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1424
- startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
1425
- startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1426
- prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1427
- createSimple3DModel(result: ConfigurationResultObject, standAlone?: boolean): ConfigurationResultObject;
1428
- createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
1429
- static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureWithoutSceneService, never>;
1430
- static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
1153
+ declare class RenderService implements OnDestroy {
1154
+ private _settingsService;
1155
+ private _cameraService;
1156
+ private _appEventService;
1157
+ private _sceneService;
1158
+ private _renderApi;
1159
+ blenderRenderStarted: EventEmitter<string>;
1160
+ clientWidth: number;
1161
+ clientHeight: number;
1162
+ private _subs;
1163
+ constructor(_settingsService: ConfiguratorSettingsService, _cameraService: ConfiguratorCameraService, _appEventService: ConfiguratorEventService, _sceneService: ConfiguratorSceneService, _renderApi: RenderApi);
1164
+ ngOnDestroy(): void;
1165
+ renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
1166
+ getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
1167
+ private _handleAjaxGlb;
1168
+ static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
1169
+ static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
1431
1170
  }
1432
1171
 
1433
- declare class SwitchBuildFurnitureService implements OnDestroy {
1172
+ declare class ConfiguringService implements OnDestroy {
1173
+ settingsService: ConfiguratorSettingsService;
1174
+ private _loadFurnitureService;
1434
1175
  private _buildFurnitureService;
1435
- private _buildFurnitureWithoutSceneService;
1436
- private _settingsService;
1437
- private _configuratorService;
1438
- currentActiveService: BuildFurnitureBaseService;
1439
- private _controllerInitSub;
1440
- private _standAloneInstance;
1441
- constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: SettingsService, _configuratorService: ConfiguratorConnectorService);
1176
+ private _appEventService;
1177
+ private _configuratorConnectorService;
1178
+ private _itemService;
1179
+ private _utilsService;
1180
+ private _renderService;
1181
+ set sku(value: string);
1182
+ get sku(): string;
1183
+ set instanceId(value: string);
1184
+ get instanceId(): string;
1185
+ set scene(value: Scene);
1186
+ get scene(): Scene;
1187
+ buildResult: ConfigurationResultObject;
1188
+ private _sku;
1189
+ private _instanceId;
1190
+ private _scene;
1191
+ private _subs;
1192
+ constructor(settingsService: ConfiguratorSettingsService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: ConfiguratorEventService, _configuratorConnectorService: ConfiguratorConnectorService, _itemService: ConfiguratorItemService, _utilsService: UtilsService, _renderService: RenderService);
1442
1193
  ngOnDestroy(): void;
1443
- static ɵfac: i0.ɵɵFactoryDeclaration<SwitchBuildFurnitureService, never>;
1444
- static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
1194
+ configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
1195
+ renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
1196
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
1197
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
1445
1198
  }
1446
1199
 
1447
- declare enum ItemType {
1448
- Floor = 1,
1449
- Wall = 2,
1450
- InWall = 3,
1451
- InWallFloor = 7,
1452
- OnFloor = 8,
1453
- WallFloor = 9,
1454
- CustomFloorGroup = 10,
1455
- CustomShape = 11,
1456
- FloorGroup = 12,
1457
- ItemGroup = 13,
1458
- CustomCylinder = 14,
1459
- CustomCylinderWall = 15,
1460
- CustomShapeWall = 16,
1461
- CustomWall = 20,
1462
- CustomWallFloor = 21,
1463
- WallItemGroup = 22,
1464
- WallDecoration = 23,
1465
- WindowDecoration = 24,
1466
- FloorDecoration = 25
1467
- }
1468
-
1469
- declare abstract class LoadFurnitureBaseService implements OnDestroy {
1470
- protected configuratorConnectorService: ConfiguratorConnectorService;
1471
- protected threedSelectorService: ThreedselectorService;
1472
- protected buildFurnitureService: SwitchBuildFurnitureService;
1473
- protected settingsService: SettingsService;
1474
- private readonly _fullObjectCache;
1475
- set article(value: Article);
1476
- get article(): Article;
1477
- articleLoaded: BehaviorSubject<Article>;
1200
+ declare class ConfiguratorComponent implements OnInit, OnDestroy {
1201
+ settingsService: ConfiguratorSettingsService;
1202
+ loaderService: LoaderService;
1203
+ private _configuratorEventService;
1204
+ private _configuringService;
1205
+ private _buildFurnitureService;
1206
+ private _configuratorConnectorService;
1207
+ showClass: boolean;
1208
+ set sku(value: string);
1209
+ get sku(): string;
1210
+ set instanceId(value: string);
1211
+ get instanceId(): string;
1212
+ set settings(value: ConfiguratorSettings);
1213
+ scene: Scene;
1214
+ showLoader: boolean;
1215
+ showProgressBar: boolean;
1216
+ showErrorMessages: boolean;
1217
+ outputErrorMessages: boolean;
1218
+ canCloseConfigurator: boolean;
1219
+ animateSlideout: boolean;
1220
+ showHeaderInformation: boolean;
1221
+ isLoading: EventEmitter<boolean>;
1222
+ updateProgressBar: EventEmitter<boolean>;
1223
+ errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
1224
+ showChange: EventEmitter<boolean>;
1225
+ resultHasErrors: boolean;
1226
+ showErrorDiagram: boolean;
1227
+ configurationResultObject: ConfigurationResultObject;
1228
+ showFullConfiguration: boolean;
1229
+ showLiteSelector: boolean;
1230
+ showSelections: boolean;
1231
+ showAnswers: boolean;
1232
+ loaded: boolean;
1478
1233
  private _subs;
1479
- private _article;
1480
- protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService);
1234
+ private _loadingFromPreset;
1235
+ private _settings;
1236
+ private _instanceId;
1237
+ private _instanceIdSet;
1238
+ private _sku;
1239
+ private _skuSet;
1240
+ constructor(settingsService: ConfiguratorSettingsService, loaderService: LoaderService, _configuratorEventService: ConfiguratorEventService, _configuringService: ConfiguringService, _buildFurnitureService: SwitchBuildFurnitureService, _configuratorConnectorService: ConfiguratorConnectorService);
1241
+ ngOnInit(): void;
1481
1242
  ngOnDestroy(): void;
1482
- abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
1483
- loadArticle(sku: string): Promise<Article>;
1484
- extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
1485
- getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
1486
- protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
1487
- private _cleanUp;
1488
- protected needs3DModel(type: ItemType): boolean;
1489
- initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
1490
- protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
1491
- private _getAssetPathFromModelUrlAndSchema;
1492
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
1493
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
1243
+ _initConnection(): void;
1244
+ handleShowChange(show: boolean): void;
1245
+ handleCloseErrorDialog(): void;
1246
+ private _handleArticleNotFound;
1247
+ private _handleAnswerCountReceived;
1248
+ private _handleBuildFinished;
1249
+ private _handleTemplateChange;
1250
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
1251
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "sku": { "alias": "sku"; "required": false; }; "instanceId": { "alias": "instanceId"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "scene": { "alias": "scene"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showErrorMessages": { "alias": "showErrorMessages"; "required": false; }; "outputErrorMessages": { "alias": "outputErrorMessages"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; }, { "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
1494
1252
  }
1495
1253
 
1496
- declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
1497
- loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
1498
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
1499
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
1254
+ declare class ProgressBarComponent {
1255
+ progressService: ProgressService;
1256
+ showClass(): boolean;
1257
+ get showBar(): boolean;
1258
+ constructor(progressService: ProgressService);
1259
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
1260
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
1500
1261
  }
1501
1262
 
1502
- declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
1503
- loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
1504
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
1505
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
1263
+ declare class ProgressBarModule {
1264
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
1265
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
1266
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
1506
1267
  }
1507
1268
 
1508
- declare class SwitchLoadFurnitureService implements OnDestroy {
1509
- private _loadFurnitureService;
1510
- private _loadFurnitureWithoutSceneService;
1511
- private _settingsService;
1512
- private _iOne;
1513
- currentActiveService: LoadFurnitureBaseService;
1514
- private _standAlone;
1515
- private _controllerInitSub;
1516
- private _standAloneInstance;
1517
- constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
1518
- ngOnDestroy(): void;
1519
- static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
1520
- static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
1269
+ declare class ConfiguratorLoaderComponent {
1270
+ showClass(): boolean;
1271
+ show: boolean;
1272
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
1273
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
1274
+ }
1275
+
1276
+ declare class ConfiguratorLoaderModule {
1277
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
1278
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i3$1.LoaderModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
1279
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
1521
1280
  }
1522
1281
 
1523
1282
  /** AUTO GENERATED FILE. DO NOT CHANGE.. **/
@@ -1539,6 +1298,7 @@ declare enum IconEnum {
1539
1298
  ArrowTurnRight = "arrow_turn_right",
1540
1299
  ArrowTurnRightRegular = "arrow_turn_right_regular",
1541
1300
  ArCircle = "ar_circle",
1301
+ BarsLightFull = "bars_light_full",
1542
1302
  Brush = "brush",
1543
1303
  CameraSolid = "camera_solid",
1544
1304
  CameraTopdown = "camera_topdown",
@@ -1563,6 +1323,7 @@ declare enum IconEnum {
1563
1323
  ConfFrame = "conf_frame",
1564
1324
  ConfPlane = "conf_plane",
1565
1325
  CopyLight = "copy_light",
1326
+ CopyRegularFull = "copy_regular_full",
1566
1327
  Couch = "couch",
1567
1328
  Cross = "cross",
1568
1329
  CubeOutline = "cube-outline",
@@ -1575,7 +1336,9 @@ declare enum IconEnum {
1575
1336
  EditButton = "edit-button",
1576
1337
  Expand = "expand",
1577
1338
  FillDripLight = "fill_drip_light",
1339
+ FloppyDiskLightFull = "floppy_disk_light_full",
1578
1340
  Flower = "flower",
1341
+ FolderOpenLightFull = "folder_open_light_full",
1579
1342
  GaugeHighSolidFull = "gauge_high_solid_full",
1580
1343
  GaugeLowSolidFull = "gauge_low_solid_full",
1581
1344
  GaugeMaxSolidFull = "gauge_max_solid_full",
@@ -1629,785 +1392,88 @@ declare enum IconEnum {
1629
1392
  WandMagicSparkles = "wand_magic_sparkles",
1630
1393
  WifiSolidFull = "wifi_solid_full",
1631
1394
  XmarkLight = "xmark_light",
1395
+ XmarkLightFull = "xmark_light_full",
1632
1396
  XmarkRegular = "xmark_regular"
1633
1397
  }
1634
1398
 
1635
- declare class SceneOptionButtonInterface {
1636
- id: number;
1637
- elementId: string;
1638
- label?: string;
1639
- class?: string;
1640
- tooltip?: string;
1641
- image?: string | SafeHtml;
1642
- order?: number;
1643
- toggle?: boolean;
1644
- tooltipActive?: string;
1645
- active?: boolean;
1646
- object?: any;
1647
- click?: Function;
1648
- show?: boolean;
1649
- icon?: IconEnum;
1650
- children?: SceneOptionButtonInterface[];
1651
- }
1652
-
1653
- declare class SceneOptionsService {
1654
- sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
1655
- sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
1656
- addSceneOptionButton(button: SceneOptionButtonInterface): void;
1657
- updateSceneOptionButton(button: SceneOptionButtonInterface): void;
1658
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
1659
- static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
1399
+ declare class IconCacheService {
1400
+ private _sanitizer;
1401
+ /**
1402
+ * All the icons as a large JSON object, from the all-icons.json file.
1403
+ * The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
1404
+ */
1405
+ get iconCache(): {
1406
+ [iconName: string]: SafeHtml;
1407
+ };
1408
+ private _iconCache;
1409
+ private _allIcons;
1410
+ constructor(_sanitizer: DomSanitizer);
1411
+ getIcon(iconName: string): SafeHtml;
1412
+ getIconAsBase64(iconName: IconEnum): SafeHtml;
1413
+ setIconCache(): void;
1414
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
1415
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
1660
1416
  }
1661
1417
 
1662
- declare enum TextureType {
1663
- Basic = 0,
1664
- Image = 1,
1665
- CustomPattern = 2,
1666
- PBR = 3,
1667
- SHADOW = 4
1418
+ declare class ConfiguratorErrorDialogComponent {
1419
+ iconService: IconCacheService;
1420
+ showClass(): boolean;
1421
+ readonly icons: typeof IconEnum;
1422
+ errorMessages: ConfiguratorErrorMessage[];
1423
+ closeErrorDialoag: EventEmitter<void>;
1424
+ onClose(): void;
1425
+ constructor(iconService: IconCacheService);
1426
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
1427
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
1668
1428
  }
1669
1429
 
1670
- interface TextureInterface {
1671
- name?: string;
1672
- type?: string | TextureType;
1673
- url?: string;
1674
- materializeUrl?: string;
1675
- bumpMap?: string;
1676
- bumpScale?: number;
1677
- roughness?: number;
1678
- roughnessMap?: string;
1679
- normalMap?: string;
1680
- alphaMap?: string;
1681
- repeatX?: number;
1682
- repeatY?: number;
1683
- metalness?: number;
1684
- metalnessMap?: string;
1685
- aoMapIntensity?: number;
1686
- aoMap?: string;
1687
- data?: any;
1688
- color?: string;
1689
- emissive?: string;
1690
- show?: boolean;
1691
- default?: boolean;
1692
- surfaces?: string[];
1693
- offset?: THREE.Vector2;
1694
- scale?: number;
1695
- rotation?: number;
1696
- stretch?: boolean;
1697
- height?: number;
1698
- width?: number;
1699
- tileSize?: number;
1700
- tileRotation?: number;
1701
- useStandalone?: boolean;
1702
- defaultStandalone?: boolean;
1703
- mirror?: boolean;
1704
- simplePlane?: boolean;
1705
- toneMapped?: boolean;
1706
- transparent?: boolean;
1707
- opacity?: number;
1708
- side?: number;
1709
- depthWrite?: boolean;
1710
- depthTest?: boolean;
1430
+ declare class ConfiguratorExportDialogComponent {
1431
+ iconService: IconCacheService;
1432
+ itemService: ConfiguratorItemService;
1433
+ private _utilService;
1434
+ readonly icons: typeof IconEnum;
1435
+ closeExportDialog: EventEmitter<void>;
1436
+ constructor(iconService: IconCacheService, itemService: ConfiguratorItemService, _utilService: UtilsService);
1437
+ onClose(): void;
1438
+ downloadGLB(): void;
1439
+ downloadUSDZ(): void;
1440
+ downloadBoth(): void;
1441
+ downloadThumbnail(): void;
1442
+ private _getObjectToExport;
1443
+ private _download3DModelAsGLB;
1444
+ private _download3DModelAsUSDZ;
1445
+ private _downloadFile;
1446
+ private _base64ToBlob;
1447
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
1448
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
1711
1449
  }
1712
1450
 
1713
- interface AdjustableElementInterface {
1714
- identifier: string;
1715
- connector: string;
1716
- connectedNodeId: number;
1451
+ declare class CameraSettings {
1452
+ sku: string;
1453
+ position: Vector3;
1454
+ rotation: Vector3;
1455
+ maxHorizontalOrbit: number;
1456
+ minHorizontalOrbit: number;
1457
+ maxVerticalOrbit: number;
1458
+ minVerticalOrbit: number;
1459
+ maxZoomDistance: number;
1460
+ minZoomDistance: number;
1717
1461
  }
1718
1462
 
1719
- interface Skin {
1720
- [face: string]: SkinFragment;
1721
- }
1722
- interface SkinFragment {
1723
- color?: number;
1724
- texture?: Texture;
1725
- }
1726
-
1727
- /** Meta data for items. */
1728
- interface Metadata {
1729
- itemName?: string;
1730
- itemDescription?: string;
1731
- itemType?: number;
1732
- /**
1733
- * InstanceId
1734
- */
1735
- itemId?: string;
1736
- originalItemId?: string;
1737
- /**
1738
- * Sku
1739
- */
1740
- itemIdentifier?: string;
1741
- goodId?: string;
1742
- goodType?: string;
1743
- isCustom?: boolean;
1744
- locked?: boolean;
1745
- configurable?: boolean;
1746
- ione?: boolean;
1747
- position?: Vector3;
1748
- rotation?: number | Euler;
1749
- scale?: Vector3;
1750
- centerPivot?: boolean;
1751
- ignoreInvisible?: boolean;
1752
- updatePivotOnCreate?: boolean;
1753
- elementConfiguration?: AdjustableElementInterface[];
1754
- obsolete?: boolean;
1755
- thirdPartyModel?: boolean;
1756
- usePivot?: boolean;
1757
- decos?: DecoNode[];
1758
- selections?: Selection[];
1759
- canElevate?: boolean;
1760
- onWall?: boolean;
1761
- modelUrl?: string;
1762
- scalable?: boolean;
1763
- scalePercentage?: number;
1764
- resizable?: boolean;
1765
- elevation?: number;
1766
- elevationFixed?: boolean;
1767
- elevationAdjustable?: boolean;
1768
- schema?: string;
1769
- assetPath?: string;
1770
- texture?: Texture;
1771
- textureAssetName?: string;
1772
- skin?: Skin;
1773
- frameColor?: number;
1774
- doorColor?: number;
1775
- windowColor?: THREE.Color;
1776
- doorpost?: boolean;
1777
- isGlass?: boolean;
1778
- itemGroup?: any;
1779
- canRotateX?: boolean;
1780
- canRotateY?: boolean;
1781
- canRotateZ?: boolean;
1782
- canScaleX?: boolean;
1783
- canScaleY?: boolean;
1784
- canScaleZ?: boolean;
1785
- colorable?: boolean;
1786
- default180?: boolean;
1787
- objectUUID?: string;
1788
- conversionGTMSend?: boolean;
1789
- conversionSubmittedPrice?: string;
1790
- hdecoType?: string;
1791
- opening?: {
1792
- show: boolean;
1793
- double: boolean;
1794
- invertDirection: boolean;
1795
- invertSide: boolean;
1796
- };
1797
- }
1798
-
1799
- declare class Texture {
1800
- name: string;
1801
- type: TextureType;
1802
- url: string;
1803
- materializeUrl: string;
1804
- bumpMap: string;
1805
- bumpScale: number;
1806
- roughness: number;
1807
- roughnessMap: string;
1808
- normalMap: string;
1809
- repeatX: number;
1810
- repeatY: number;
1811
- metalness: number;
1812
- metalnessMap: string;
1813
- aoMapIntensity: number;
1814
- aoMap: string;
1815
- alphaMap: string;
1816
- color: string;
1817
- emissive: string;
1818
- data: any;
1819
- surfaces: string[];
1820
- offset: THREE.Vector2;
1821
- scale: number;
1822
- rotation: number;
1823
- stretch: boolean;
1824
- show: boolean;
1825
- default: boolean;
1826
- height: number;
1827
- width: number;
1828
- tileSize: number;
1829
- tileRotation: number;
1830
- dimensions: Vector2;
1831
- offsetScale: number;
1832
- useStandalone: boolean;
1833
- defaultStandalone: boolean;
1834
- mirror: boolean;
1835
- simplePlane: boolean;
1836
- toneMapped: boolean;
1837
- transparent: boolean;
1838
- opacity: number;
1839
- side: THREE.Side;
1840
- depthWrite: boolean;
1841
- depthTest: boolean;
1842
- metadata?: Metadata;
1843
- static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
1844
- }
1845
-
1846
- declare enum ShadowMapLocalType {
1847
- BasicShadowMap = "BasicShadowMap",
1848
- PCFShadowMap = "PCFShadowMap",
1849
- PCFSoftShadowMap = "PCFSoftShadowMap",
1850
- VSMShadowMap = "VSMShadowMap"
1851
- }
1852
-
1853
- declare enum OutputEncoding {
1854
- NoColorSpace = "NoColorSpace",
1855
- SRGBColorSpace = "SRGBColorSpace",
1856
- LinearSRGBColorSpace = "LinearSRGBColorSpace",
1857
- DisplayP3ColorSpace = "DisplayP3ColorSpace",
1858
- LinearDisplayP3ColorSpace = "LinearDisplayP3ColorSpace"
1859
- }
1860
-
1861
- declare enum LightEnum {
1862
- SpotLight = "SpotLight",
1863
- DirectionalLight = "DirectionalLight",
1864
- AmbientLight = "AmbientLight",
1865
- HemisphereLight = "HemisphereLight",
1866
- PointLight = "PointLight"
1867
- }
1868
-
1869
- declare class ShadowProperties {
1870
- mapSize: Vector2;
1871
- radius: number;
1872
- near: number;
1873
- far: number;
1874
- }
1875
-
1876
- declare class LightProperties {
1877
- type: LightEnum;
1878
- name: string;
1879
- visible: boolean;
1880
- position: Vector3;
1881
- color: Color;
1882
- groundColor: Color;
1883
- intensity: number;
1884
- angle: number;
1885
- power: number;
1886
- decay: number;
1887
- distance: number;
1888
- penumbra: number;
1889
- bias: number;
1890
- radius: number;
1891
- castShadow: boolean;
1892
- wallOffset: number;
1893
- rotationOffset: number;
1894
- topDownDirectional: boolean;
1895
- shadow: ShadowProperties;
1896
- static CreateNew(rawData: any): LightProperties;
1897
- }
1898
-
1899
- declare enum ToneMappingLocal {
1900
- NoToneMapping = "NoToneMapping",
1901
- LinearToneMapping = "LinearToneMapping",
1902
- ReinhardToneMapping = "ReinhardToneMapping",
1903
- CineonToneMapping = "CineonToneMapping",
1904
- ACESFilmicToneMapping = "ACESFilmicToneMapping",
1905
- CustomToneMapping = "CustomToneMapping",
1906
- AgXToneMapping = "AgXToneMapping",
1907
- NeutralToneMapping = "NeutralToneMapping"
1908
- }
1909
-
1910
- interface LightPresetInterface {
1911
- id: string;
1912
- name: string;
1913
- default: boolean;
1914
- standalone: boolean;
1915
- group: string;
1916
- navigatorType: NavigatorType;
1917
- shadowMapType: ShadowMapLocalType;
1918
- outputEncoding: OutputEncoding;
1919
- shadowRadius: number;
1920
- toneMapping: ToneMappingLocal;
1921
- toneMappingExposure: number;
1922
- physicallyCorrectLights: boolean;
1923
- lights: LightProperties[];
1924
- hdri: string;
1925
- hdriIntensity: number;
1926
- }
1927
-
1928
- declare class LightPreset {
1929
- id: string;
1930
- name: string;
1931
- navigatorType: NavigatorType;
1932
- default: boolean;
1933
- standalone: boolean;
1934
- group: string;
1935
- shadowMapType: ShadowMapLocalType;
1936
- outputEncoding: OutputEncoding;
1937
- colorSpace: ColorSpace;
1938
- shadowRadius: number;
1939
- toneMapping: ToneMappingLocal;
1940
- toneMappingExposure: number;
1941
- physicallyCorrectLights: boolean;
1942
- lights: LightProperties[];
1943
- hdri: string;
1944
- hdriIntensity: number;
1945
- dirty: boolean;
1946
- constructor();
1947
- static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
1948
- private _generateUniqueId;
1949
- }
1950
-
1951
- declare class BundleInitializerService implements OnDestroy {
1952
- private _jsonUtilsService;
1953
- private _settingsService;
1954
- private _ioneControllerService;
1955
- private _appInitializerService;
1956
- private _configurationService;
1957
- private _sceneService;
1958
- private _sceneOptionsService;
1959
- floorTextures: Texture[];
1960
- lightPresets: LightPreset[];
1961
- settings: Setting[];
1962
- floorTexturesLoaded: BehaviorSubject<Texture[]>;
1963
- lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
1964
- settingsLoaded: BehaviorSubject<Setting[]>;
1965
- allLoaded: BehaviorSubject<boolean>;
1966
- private _assetPath;
1967
- private _connectionSet;
1968
- private _subs;
1969
- private _jsonFile;
1970
- private _lightPresetsJsonFile;
1971
- constructor(_jsonUtilsService: JsonUtilsService, _settingsService: SettingsService, _ioneControllerService: ConfiguratorConnectorService, _appInitializerService: AppInitializerService, _configurationService: ConfigurationService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService);
1972
- ngOnDestroy(): void;
1973
- getFloorTextures(): Texture[];
1974
- getFloorTexture(): Texture;
1975
- getLightPreset(): LightPreset[];
1976
- private _initialize;
1977
- private _createTexture;
1978
- private _createLightPreset;
1979
- private _createSettings;
1980
- static ɵfac: i0.ɵɵFactoryDeclaration<BundleInitializerService, never>;
1981
- static ɵprov: i0.ɵɵInjectableDeclaration<BundleInitializerService>;
1982
- }
1983
-
1984
- declare class FloorPlaneService implements OnDestroy {
1985
- private _settingsService;
1986
- private _sceneService;
1987
- private _sceneOptionsService;
1988
- private _bundleInitializerService;
1989
- get floorPlane(): Object3D;
1990
- floorPlaneCreated: BehaviorSubject<boolean>;
1991
- private _standaloneFloors;
1992
- private _floorPlane;
1993
- private _subs;
1994
- private _sceneReady;
1995
- private _texturesReady;
1996
- constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
1997
- ngOnDestroy(): void;
1998
- createFloorPlane(): Promise<void>;
1999
- getCenterFloorPlane(): Vector3;
2000
- getDimensions(scale?: number): {
2001
- x: {
2002
- min: number;
2003
- max: number;
2004
- };
2005
- y: {
2006
- min: number;
2007
- max: number;
2008
- };
2009
- };
2010
- getPlaneSize(): Vector3;
2011
- private _getStandaloneFloorSize;
2012
- private _generateFloorPlane;
2013
- private _createFloorMaterial;
2014
- private _upsertFloorButtons;
2015
- private _changeStandaloneFloor;
2016
- private _setFloorTexture;
2017
- private _updateFloorMaterial;
2018
- private _setUpdatedMaterial;
2019
- private _getMaterials;
2020
- static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
2021
- static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
2022
- }
2023
-
2024
- declare class LightsService implements OnDestroy {
2025
- private _sceneService;
2026
- private _bundleInitializerService;
2027
- private _configurationService;
2028
- private _floorPlanService;
2029
- lights: Light[];
2030
- onLightAdded: Subject<{
2031
- light: Light;
2032
- index: number;
2033
- }>;
2034
- private _subs;
2035
- constructor(_sceneService: SceneService, _bundleInitializerService: BundleInitializerService, _configurationService: ConfigurationService, _floorPlanService: FloorPlaneService);
2036
- ngOnDestroy(): void;
2037
- init(): void;
2038
- createLight<T extends Light>(modelClass: any): void;
2039
- addLight(light: Light): void;
2040
- removeAllLights(): void;
2041
- initiateLightPreset(): void;
2042
- updateAllOffsets(): void;
2043
- updateOffsets(light: Light): void;
2044
- private _addLight;
2045
- private _removeLight;
2046
- private _updateShadowCamera;
2047
- static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
2048
- static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
2049
- }
2050
-
2051
- declare class LightPresetsService implements OnDestroy {
2052
- private _lightsService;
2053
- private _appService;
2054
- private _sceneService;
2055
- private _screenSizeAnalysis;
2056
- private _settingsService;
2057
- set activeLightPreset(value: LightPreset);
2058
- get activeLightPreset(): LightPreset;
2059
- loadedLightPresets: LightPreset[];
2060
- presetLoaded: BehaviorSubject<boolean>;
2061
- private _activeLightPreset;
2062
- private _lightPresetsLoaded;
2063
- private _subs;
2064
- private _lightsMap;
2065
- constructor(_lightsService: LightsService, _appService: BundleInitializerService, _sceneService: SceneService, _screenSizeAnalysis: ScreenSizeAnalysisService, _settingsService: SettingsService);
2066
- init(): void;
2067
- ngOnDestroy(): void;
2068
- loadLightPreset(lightPreset: LightPreset): Promise<void>;
2069
- prepareLoadLightPreset(standalone?: boolean): Promise<void>;
2070
- private _prepareLoadLightPreset;
2071
- private _createLightFromProperties;
2072
- private _setObjectProperties;
2073
- static ɵfac: i0.ɵɵFactoryDeclaration<LightPresetsService, never>;
2074
- static ɵprov: i0.ɵɵInjectableDeclaration<LightPresetsService>;
2075
- }
2076
-
2077
- declare class IntersectionService {
2078
- private _cameraService;
2079
- constructor(_cameraService: CameraService);
2080
- getIntersections(mouseVector: Vector3, planeObjects: Object3D[], options?: any): Intersection[];
2081
- removeIf(array: any, func: any): any[];
2082
- static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
2083
- static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
2084
- }
2085
-
2086
- declare class SceneEventService implements OnDestroy {
2087
- private _sceneService;
2088
- private _cameraService;
2089
- private _connectorService;
2090
- private _intersectionService;
2091
- private _floorPlaneService;
2092
- private _itemService;
2093
- private _appEventService;
2094
- readonly intersectOffsetForWalls = 20;
2095
- readonly longTouchDuration = 600;
2096
- rotateNoDrag: boolean;
2097
- private _element;
2098
- private _controls;
2099
- private _camera;
2100
- private _mousePosition;
2101
- private _oldMousePosition;
2102
- private _rotationStartPoint;
2103
- private _intersectedObject;
2104
- private _intersectedMesh;
2105
- private _mouseoverObject;
2106
- private _selectedObject;
2107
- private _prevSelectedObject;
2108
- private _defaultCursorStyle;
2109
- private _inDragOver;
2110
- private _mouseDown;
2111
- private _mouseMoved;
2112
- private _rotateMouseOver;
2113
- private _groupingMode;
2114
- private _state;
2115
- private _intersectedWall;
2116
- private _intersectedFloor;
2117
- private _subs;
2118
- private _cameraMoveSub;
2119
- private _debouncedSaveState;
2120
- private _touchStart;
2121
- private _touchEnd;
2122
- private _touchCancel;
2123
- private _touchMove;
2124
- constructor(_sceneService: SceneService, _cameraService: CameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ItemService, _appEventService: AppEventService);
2125
- ngOnDestroy(): void;
2126
- init(element: HTMLElement): void;
2127
- setExploreMode(on?: boolean): void;
2128
- setSelectedObject(object: Object3D, mesh?: Object3D | Mesh): void;
2129
- setUnselectedObject(): void;
2130
- private _updateIntersections;
2131
- private _clearIntersectedObject;
2132
- private _setMousePositionFromTouchEvent;
2133
- private _touchStartEvent;
2134
- private _touchEndEvent;
2135
- private _touchMoveEvent;
2136
- private _mouseUpEvent;
2137
- private _mouseMoveEvent;
2138
- private _leftMouseDownEvent;
2139
- private _getIntersections;
2140
- private _setIntersectedObject;
2141
- private _isMouseEventAllowed;
2142
- private _mouseToVec3;
2143
- private _markSceneToUpdate;
2144
- private _setCursorStyle;
2145
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
2146
- static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
2147
- }
2148
-
2149
- declare class RenderResponse {
2150
- result: string;
2151
- statusCode: number;
2152
- }
2153
-
2154
- declare enum BlenderRenderType {
2155
- Realtime = 0,
2156
- Raytrace = 1
2157
- }
2158
-
2159
- declare class OptionalRenderSettings {
2160
- objectWidth: number;
2161
- objectHeight: number;
2162
- renderType: number | BlenderRenderType;
2163
- objectRotation: any;
2164
- margin: number;
2165
- cameraRotationX: number;
2166
- forceTransparency: boolean;
2167
- }
2168
-
2169
- declare class RenderBaseObject {
2170
- selections: Selection[];
2171
- decos: DecoNode[];
2172
- assetUrl: string;
2173
- cdnUrl: string;
2174
- schema: string;
2175
- options: any;
2176
- }
2177
-
2178
- declare class RenderApi {
2179
- private _settingsService;
2180
- private _overWriteTransparency;
2181
- constructor(_settingsService: SettingsService);
2182
- prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
2183
- sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
2184
- degreesToVector3(value: number): Vector3;
2185
- private _adjustCameraRotation;
2186
- private _getSceneRenderSettings;
2187
- private _useTransparency;
2188
- private _setForceTransparency;
2189
- static ɵfac: i0.ɵɵFactoryDeclaration<RenderApi, never>;
2190
- static ɵprov: i0.ɵɵInjectableDeclaration<RenderApi>;
2191
- }
2192
-
2193
- declare class RenderService implements OnDestroy {
2194
- private _settingsService;
2195
- private _cameraService;
2196
- private _itemService;
2197
- private _appEventService;
2198
- private _renderApi;
2199
- renderImageChanged: BehaviorSubject<string>;
2200
- renderImageError: BehaviorSubject<string>;
2201
- blenderRenderStarted: EventEmitter<string>;
2202
- clientWidth: number;
2203
- clientHeight: number;
2204
- private _subs;
2205
- constructor(_settingsService: SettingsService, _cameraService: CameraService, _itemService: ItemService, _appEventService: AppEventService, _renderApi: RenderApi);
2206
- ngOnDestroy(): void;
2207
- renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
2208
- getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
2209
- private _handleAjaxGlb;
2210
- static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
2211
- static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
2212
- }
2213
-
2214
- declare class ConfiguringService implements OnDestroy {
2215
- settingsService: SettingsService;
2216
- private _initializerService;
2217
- private _loadFurnitureService;
2218
- private _buildFurnitureService;
2219
- private _appEventService;
2220
- private _configuratorConnectorService;
2221
- private _itemService;
2222
- private _floorPlaneService;
2223
- private _lightPresetService;
2224
- private _cameraService;
2225
- private _sceneEventService;
2226
- private _sceneService;
2227
- private _utilsService;
2228
- private _renderService;
2229
- set settings(value: ConfiguratorSettings);
2230
- get settings(): ConfiguratorSettings;
2231
- set sku(value: string);
2232
- get sku(): string;
2233
- set instanceId(value: string);
2234
- get instanceId(): string;
2235
- set isConfiguring(value: boolean);
2236
- get isConfiguring(): boolean;
2237
- set scene(value: Scene);
2238
- get scene(): Scene;
2239
- onShowLiteSelector: EventEmitter<boolean>;
2240
- onShowSelections: EventEmitter<boolean>;
2241
- onShowAnswers: EventEmitter<boolean>;
2242
- onShowFullConfiguration: EventEmitter<boolean>;
2243
- onAnswersAvailable: EventEmitter<boolean>;
2244
- floorReady: EventEmitter<boolean>;
2245
- onRenderImageReceived: EventEmitter<string>;
2246
- onRenderErrorReceived: EventEmitter<string>;
2247
- onThumbnailReceived: EventEmitter<string>;
2248
- onCanvasImageReceived: EventEmitter<string>;
2249
- buildResult: ConfigurationResultObject;
2250
- private _settings;
2251
- private _sku;
2252
- private _instanceId;
2253
- private _isConfiguring;
2254
- private _scene;
2255
- private _showFullConfiguration;
2256
- private _subs;
2257
- constructor(settingsService: SettingsService, _initializerService: AppInitializerService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: AppEventService, _configuratorConnectorService: ConfiguratorConnectorService, _itemService: ItemService, _floorPlaneService: FloorPlaneService, _lightPresetService: LightPresetsService, _cameraService: CameraService, _sceneEventService: SceneEventService, _sceneService: SceneService, _utilsService: UtilsService, _renderService: RenderService);
2258
- ngOnDestroy(): void;
2259
- init(settings: any): Promise<void>;
2260
- configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
2261
- addBuildToScene(buildResult: ConfigurationResultObject): void;
2262
- handleLoadSceneContent(): Promise<void>;
2263
- renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
2264
- private _handleTemplateChange;
2265
- private _handleFloorPlaneReady;
2266
- private _handleImageReceived;
2267
- private _handleRenderErrorReceived;
2268
- private _handleAnswerCountReceived;
2269
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
2270
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
2271
- }
2272
-
2273
- declare class ConfiguratorComponent implements OnDestroy {
2274
- settingsService: SettingsService;
2275
- loaderService: LoaderService;
2276
- private _appEventService;
2277
- private _configuringService;
2278
- showClass(): boolean;
2279
- showLoader: boolean;
2280
- showProgressBar: boolean;
2281
- showErrorMessages: boolean;
2282
- outputErrorMessages: boolean;
2283
- canCloseConfigurator: boolean;
2284
- animateSlideout: boolean;
2285
- showHeaderInformation: boolean;
2286
- buildResult: EventEmitter<ConfigurationResultObject>;
2287
- isLoading: EventEmitter<boolean>;
2288
- updateProgressBar: EventEmitter<boolean>;
2289
- errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
2290
- showChange: EventEmitter<boolean>;
2291
- resultHasErrors: boolean;
2292
- showErrorDiagram: boolean;
2293
- configurationResultObject: ConfigurationResultObject;
2294
- private _subs;
2295
- constructor(settingsService: SettingsService, loaderService: LoaderService, _appEventService: AppEventService, _configuringService: ConfiguringService);
2296
- ngOnDestroy(): void;
2297
- handleBuildFinished(result: ConfigurationResultObject): void;
2298
- handleShowChange(show: boolean): void;
2299
- handleCloseErrorDialog(): void;
2300
- private _handleArticleNotFound;
2301
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
2302
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showErrorMessages": { "alias": "showErrorMessages"; "required": false; }; "outputErrorMessages": { "alias": "outputErrorMessages"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; }, { "buildResult": "buildResult"; "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
2303
- }
2304
-
2305
- declare class ProgressBarComponent {
2306
- progressService: ProgressService;
2307
- showClass(): boolean;
2308
- get showBar(): boolean;
2309
- constructor(progressService: ProgressService);
2310
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
2311
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
2312
- }
2313
-
2314
- declare class ProgressBarModule {
2315
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
2316
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
2317
- static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
2318
- }
2319
-
2320
- declare class ConfiguratorLoaderComponent {
2321
- showClass(): boolean;
2322
- show: boolean;
2323
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
2324
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
2325
- }
2326
-
2327
- declare class ConfiguratorLoaderModule {
2328
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
2329
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i5.LoaderModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
2330
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
2331
- }
2332
-
2333
- declare class IconCacheService {
2334
- private _sanitizer;
2335
- /**
2336
- * All the icons as a large JSON object, from the all-icons.json file.
2337
- * The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
2338
- */
2339
- get iconCache(): {
2340
- [iconName: string]: SafeHtml;
2341
- };
2342
- private _iconCache;
2343
- private _allIcons;
2344
- constructor(_sanitizer: DomSanitizer);
2345
- getIcon(iconName: string): SafeHtml;
2346
- getIconAsBase64(iconName: IconEnum): SafeHtml;
2347
- setIconCache(): void;
2348
- static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
2349
- static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
2350
- }
2351
-
2352
- declare class ConfiguratorErrorDialogComponent {
2353
- iconService: IconCacheService;
2354
- showClass(): boolean;
2355
- readonly icons: typeof IconEnum;
2356
- errorMessages: ConfiguratorErrorMessage[];
2357
- closeErrorDialoag: EventEmitter<void>;
2358
- onClose(): void;
2359
- constructor(iconService: IconCacheService);
2360
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
2361
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
2362
- }
2363
-
2364
- declare class ConfiguratorExportDialogComponent {
2365
- iconService: IconCacheService;
2366
- itemService: ItemService;
2367
- private _utilService;
2368
- readonly icons: typeof IconEnum;
2369
- closeExportDialog: EventEmitter<void>;
2370
- constructor(iconService: IconCacheService, itemService: ItemService, _utilService: UtilsService);
2371
- onClose(): void;
2372
- downloadGLB(): void;
2373
- downloadUSDZ(): void;
2374
- downloadBoth(): void;
2375
- downloadThumbnail(): void;
2376
- private _getObjectToExport;
2377
- private _download3DModelAsGLB;
2378
- private _download3DModelAsUSDZ;
2379
- private _downloadFile;
2380
- private _base64ToBlob;
2381
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
2382
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
2383
- }
2384
-
2385
- declare class CameraSettings {
2386
- sku: string;
2387
- position: Vector3;
2388
- rotation: Vector3;
2389
- maxHorizontalOrbit: number;
2390
- minHorizontalOrbit: number;
2391
- maxVerticalOrbit: number;
2392
- minVerticalOrbit: number;
2393
- maxZoomDistance: number;
2394
- minZoomDistance: number;
2395
- }
2396
-
2397
- declare class DynamicCameraService {
1463
+ declare class ConfiguratorDynamicCameraService {
2398
1464
  private _cameraService;
2399
1465
  private _sceneService;
2400
1466
  private _settingsService;
2401
1467
  private _configuratorConnectorService;
2402
1468
  currentCameraSettings: CameraSettings[];
2403
- constructor(_cameraService: CameraService, _sceneService: SceneService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
1469
+ constructor(_cameraService: ConfiguratorCameraService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
2404
1470
  initCameraSettings(): Promise<void>;
2405
1471
  getCameraSettings(): CameraSettings;
2406
1472
  loadCustomCameraSettings(): Promise<void>;
2407
1473
  exportCameraSettings(): any;
2408
1474
  saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
2409
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicCameraService, never>;
2410
- static ɵprov: i0.ɵɵInjectableDeclaration<DynamicCameraService>;
1475
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDynamicCameraService, never>;
1476
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorDynamicCameraService>;
2411
1477
  }
2412
1478
 
2413
1479
  declare class ConfiguratorCameraSettingsComponent implements OnInit {
@@ -2421,7 +1487,7 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
2421
1487
  currentSku: string;
2422
1488
  positionAsString: string;
2423
1489
  rotationAsString: string;
2424
- constructor(iconService: IconCacheService, _cameraService: CameraService, _dynamicCameraService: DynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
1490
+ constructor(iconService: IconCacheService, _cameraService: ConfiguratorCameraService, _dynamicCameraService: ConfiguratorDynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
2425
1491
  ngOnInit(): void;
2426
1492
  onClose(): void;
2427
1493
  saveSettings(asDefault: boolean): void;
@@ -2433,100 +1499,46 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
2433
1499
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
2434
1500
  }
2435
1501
 
2436
- declare class AppendPipe implements PipeTransform {
2437
- transform(value: string, append?: string): string;
2438
- static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
2439
- static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
2440
- }
2441
-
2442
- declare class LocalizePipe implements PipeTransform {
2443
- private _dictionaryService;
2444
- constructor(_dictionaryService: DictionaryService);
2445
- transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
2446
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
2447
- static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
2448
- }
2449
-
2450
- declare class GoogleTranslateService implements OnDestroy {
2451
- private _settingsService;
2452
- private _connectorService;
2453
- private _clientLanguage;
2454
- private _defaultLanguage;
2455
- private _translations;
2456
- private _initialized;
2457
- private _initializedSubject;
2458
- private _connectionSubject;
2459
- protected googleApiEnabled: boolean;
2460
- constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
2461
- ngOnDestroy(): void;
2462
- getTranslation(input: string): Promise<string>;
2463
- static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
2464
- static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
2465
- }
2466
-
2467
- declare class GoogleTranslatePipe implements PipeTransform {
2468
- private _googleTranslateService;
2469
- constructor(_googleTranslateService: GoogleTranslateService);
2470
- transform(value: string): Observable<string>;
2471
- static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
2472
- static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
2473
- }
2474
-
2475
- declare class PrependPipe implements PipeTransform {
2476
- transform(value: string, prepend?: string): string;
2477
- static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
2478
- static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
2479
- }
2480
-
2481
- declare class StripHtmlPipe implements PipeTransform {
2482
- transform(html: string): string;
2483
- static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
2484
- static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
2485
- }
2486
-
2487
- declare class PipesModule {
2488
- static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
2489
- static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof AppendPipe, typeof LocalizePipe, typeof GoogleTranslatePipe, typeof PrependPipe, typeof StripHtmlPipe], never, [typeof AppendPipe, typeof LocalizePipe, typeof GoogleTranslatePipe, typeof PrependPipe, typeof StripHtmlPipe]>;
2490
- static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
2491
- }
2492
-
2493
1502
  declare class ConfiguratorDialogModule {
2494
1503
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
2495
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule, typeof i7.FormsModule], [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent]>;
1504
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3.CommonModule, typeof i7.FormsModule], [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent]>;
2496
1505
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
2497
1506
  }
2498
1507
 
2499
- declare class ThreedselectorComponent implements OnInit, OnDestroy {
1508
+ declare class ConfigurationPresetDialogComponent implements OnDestroy {
1509
+ iconService: IconCacheService;
1510
+ private _overlay;
1511
+ private _viewContainerRef;
1512
+ private _configuratorConnectorService;
1513
+ private _translationService;
2500
1514
  private _appEventService;
2501
- private _buildFurnitureService;
2502
- private _configuringService;
2503
- private _configuratorService;
1515
+ readonly icons: typeof IconEnum;
1516
+ readonly presetDialogMode: typeof PresetDialogMode;
1517
+ dialogTemplate: TemplateRef<any>;
2504
1518
  showClass(): boolean;
2505
- customizeButtonClicked: EventEmitter<void>;
2506
- selections: Selection[];
2507
- canCloseConfigurator: boolean;
2508
- animateSlideout: boolean;
2509
- showHeaderInformation: boolean;
2510
- buildFinished: EventEmitter<ConfigurationResultObject>;
2511
- showChange: EventEmitter<boolean>;
2512
- showElementToolbar: boolean;
2513
- showLiteSelector: boolean;
2514
- showSelections: boolean;
2515
- showAnswers: boolean;
2516
- showFullConfiguration: boolean;
2517
- private _floorTexturesLoadedSub;
1519
+ instanceIdInput: string;
1520
+ showValidationErrors: boolean;
1521
+ validationError: string;
1522
+ dialogMode: PresetDialogMode;
1523
+ private _overlayRef;
1524
+ private _instanceId;
2518
1525
  private _subs;
2519
- private _loadingFromPreset;
2520
- constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
2521
- ngOnInit(): Promise<void>;
1526
+ constructor(iconService: IconCacheService, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _configuratorConnectorService: ConfiguratorConnectorService, _translationService: TranslationService, _appEventService: ConfiguratorEventService);
2522
1527
  ngOnDestroy(): void;
2523
- get showTemplate(): boolean;
2524
- handleShowChangeSelector(show: boolean): void;
2525
- private _handleAnswerCountReceived;
2526
- private _handleTemplateChange;
2527
- private _handleBuildResult;
2528
- static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorComponent, never>;
2529
- static ɵcmp: i0.ɵɵComponentDeclaration<ThreedselectorComponent, "co-threedselector", never, { "selections": { "alias": "selections"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "buildFinished": "buildFinished"; "showChange": "showChange"; }, never, never, false, never>;
1528
+ handleOpenDialog(mode: PresetDialogMode): void;
1529
+ handleCloseClick(): void;
1530
+ handleCopySuccess(): Promise<void>;
1531
+ loadConfiguration(): void;
1532
+ private _openOverlay;
1533
+ private _handleSetInstance;
1534
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogComponent, never>;
1535
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetDialogComponent, "co-configuration-preset-dialog", never, {}, {}, never, never, false, never>;
1536
+ }
1537
+
1538
+ declare class ConfigurationPresetDialogModule {
1539
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogModule, never>;
1540
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetDialogModule, [typeof ConfigurationPresetDialogComponent], [typeof i2.TranslationModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard, typeof i3.AsyncPipe], [typeof ConfigurationPresetDialogComponent]>;
1541
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetDialogModule>;
2530
1542
  }
2531
1543
 
2532
1544
  declare class LiteSelectorComponent implements OnDestroy {
@@ -2535,15 +1547,12 @@ declare class LiteSelectorComponent implements OnDestroy {
2535
1547
  private _configuringService;
2536
1548
  showClass(): boolean;
2537
1549
  templateAnswers: TemplateRef<any>;
2538
- set showAnswers(value: boolean);
2539
- get showAnswers(): boolean;
2540
1550
  show: boolean;
2541
- set showSelections(value: boolean);
2542
- get showSelections(): boolean;
2543
1551
  showLabel: boolean;
2544
1552
  canClose: boolean;
2545
1553
  animateSlideout: boolean;
2546
1554
  customDimensions: boolean;
1555
+ showSaveAndLoadConfiguration: boolean;
2547
1556
  readonly showChange: EventEmitter<boolean>;
2548
1557
  readonly answerChosen: EventEmitter<Answer>;
2549
1558
  answerToShowFromSelectionText: string;
@@ -2560,11 +1569,11 @@ declare class LiteSelectorComponent implements OnDestroy {
2560
1569
  onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
2561
1570
  onAnswersSlideoutAnswerChosen(answerSelected: any): void;
2562
1571
  static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
2563
- static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "showAnswers": { "alias": "showAnswers"; "required": false; }; "show": { "alias": "show"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
1572
+ static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "show": { "alias": "show"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
2564
1573
  }
2565
1574
 
2566
1575
  declare class AnswerCardComponent implements OnInit {
2567
- settingsService: SettingsService;
1576
+ settingsService: ConfiguratorSettingsService;
2568
1577
  iconService: IconCacheService;
2569
1578
  private _configuratorConnectorService;
2570
1579
  readonly icons: typeof IconEnum;
@@ -2594,7 +1603,7 @@ declare class AnswerCardComponent implements OnInit {
2594
1603
  showAnswerInfo: boolean;
2595
1604
  private _waitForInput;
2596
1605
  private _waitForInqValue;
2597
- constructor(settingsService: SettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
1606
+ constructor(settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
2598
1607
  ngOnInit(): void;
2599
1608
  onContentClick(): void;
2600
1609
  handleClick(event: MouseEvent): void;
@@ -2618,7 +1627,7 @@ declare class AnswerCardComponent implements OnInit {
2618
1627
 
2619
1628
  declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2620
1629
  configuratorConnectorService: ConfiguratorConnectorService;
2621
- settingsService: SettingsService;
1630
+ settingsService: ConfiguratorSettingsService;
2622
1631
  iconService: IconCacheService;
2623
1632
  private _appEventService;
2624
1633
  private _buildFurnitureService;
@@ -2629,7 +1638,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2629
1638
  readonly icons: typeof IconEnum;
2630
1639
  private readonly _showSmallAnswerCardsFromThisAmount;
2631
1640
  private readonly _propsToSearch;
2632
- isShown: boolean;
2633
1641
  question: Question;
2634
1642
  showTitle: boolean;
2635
1643
  showFilter: boolean;
@@ -2637,7 +1645,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2637
1645
  useSlideout: boolean;
2638
1646
  get answers(): Answer[];
2639
1647
  customDimensions: boolean;
2640
- readonly isShownChange: EventEmitter<boolean>;
2641
1648
  readonly answerChosen: EventEmitter<{
2642
1649
  answer: Answer;
2643
1650
  input: string;
@@ -2645,7 +1652,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2645
1652
  isSmallCardsModus: boolean;
2646
1653
  bottomAlign: boolean;
2647
1654
  filteredAnswers: Answer[];
2648
- colorArray: Color$1[];
1655
+ colorArray: Color[];
2649
1656
  tagArray: Tag[];
2650
1657
  showTheFilter: boolean;
2651
1658
  zoomImage: string;
@@ -2661,12 +1668,12 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2661
1668
  private _subs;
2662
1669
  private _filterOnColors;
2663
1670
  private _filterOnTags;
2664
- constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService, _appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
1671
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _appEventService: ConfiguratorEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
2665
1672
  ngOnInit(): void;
2666
1673
  ngOnDestroy(): void;
2667
1674
  onZoomClick(answer: Answer): void;
2668
1675
  applyFilter(): void;
2669
- onFilterColor(color: Color$1): void;
1676
+ onFilterColor(color: Color): void;
2670
1677
  onFilterTag(tag: Tag): void;
2671
1678
  onCloseAnswerSlideout(): void;
2672
1679
  handleAnswerChosen(answer: Answer): void;
@@ -2686,7 +1693,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2686
1693
  private _addToArray;
2687
1694
  private _inArray;
2688
1695
  static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
2689
- static ɵcmp: i0.ɵɵComponentDeclaration<AnswersSlideoutComponent, "co-answers-slideout", never, { "isShown": { "alias": "isShown"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "answers": { "alias": "answers"; "required": false; }; "useSlideout": { "alias": "useSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "isShownChange": "isShownChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
1696
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnswersSlideoutComponent, "co-answers-slideout", never, { "question": { "alias": "question"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "answers": { "alias": "answers"; "required": false; }; "useSlideout": { "alias": "useSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "answerChosen": "answerChosen"; }, never, never, false, never>;
2690
1697
  }
2691
1698
 
2692
1699
  declare class SlideoutComponent implements AfterViewInit {
@@ -2738,7 +1745,7 @@ declare class AnswersInfoDialogComponent implements OnInit {
2738
1745
  showTooltip: boolean;
2739
1746
  showPopup: boolean;
2740
1747
  hasEmbed: boolean;
2741
- constructor(iconService: IconCacheService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
1748
+ constructor(iconService: IconCacheService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
2742
1749
  ngOnInit(): Promise<void>;
2743
1750
  private _loadInfo;
2744
1751
  private _formatAnswerInfo;
@@ -2748,13 +1755,13 @@ declare class AnswersInfoDialogComponent implements OnInit {
2748
1755
 
2749
1756
  declare class AnswersInfoDialogModule {
2750
1757
  static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
2751
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof PipesModule, typeof i5.IconModule], [typeof AnswersInfoDialogComponent]>;
1758
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof i2.TranslationModule, typeof i3$1.IconModule], [typeof AnswersInfoDialogComponent]>;
2752
1759
  static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
2753
1760
  }
2754
1761
 
2755
1762
  declare class AnswerCardModule {
2756
1763
  static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
2757
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i5.CardModule, typeof PipesModule, typeof i5.CardModule, typeof i5.InputTextModule, typeof i5.IconModule, typeof AnswersInfoDialogModule, typeof i5.CardModule, typeof i5.ButtonModule], [typeof AnswerCardComponent]>;
1764
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i3$1.CardModule, typeof i3$1.CardModule, typeof i3$1.InputTextModule, typeof i3$1.IconModule, typeof AnswersInfoDialogModule, typeof i3$1.CardModule, typeof i3$1.ButtonModule, typeof i2.TranslationModule], [typeof AnswerCardComponent]>;
2758
1765
  static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
2759
1766
  }
2760
1767
 
@@ -2772,7 +1779,7 @@ declare class ImageZoomComponent {
2772
1779
 
2773
1780
  declare class ImageZoomModule {
2774
1781
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
2775
- static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
1782
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
2776
1783
  static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
2777
1784
  }
2778
1785
 
@@ -2781,8 +1788,8 @@ declare class ColorFilterComponent {
2781
1788
  private _sanitizer;
2782
1789
  readonly icons: typeof IconEnum;
2783
1790
  showClass(): boolean;
2784
- set color(value: Color$1);
2785
- get color(): Color$1;
1791
+ set color(value: Color);
1792
+ get color(): Color;
2786
1793
  active: boolean;
2787
1794
  get lightBackground(): boolean;
2788
1795
  backgroundStyle: SafeStyle;
@@ -2794,7 +1801,7 @@ declare class ColorFilterComponent {
2794
1801
 
2795
1802
  declare class ColorFilterModule {
2796
1803
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterModule, never>;
2797
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i5.IconModule], [typeof ColorFilterComponent]>;
1804
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i3$1.IconModule], [typeof ColorFilterComponent]>;
2798
1805
  static ɵinj: i0.ɵɵInjectorDeclaration<ColorFilterModule>;
2799
1806
  }
2800
1807
 
@@ -2845,7 +1852,7 @@ declare class DirectivesModule {
2845
1852
 
2846
1853
  declare class AnswersSlideoutModule {
2847
1854
  static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
2848
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule, typeof i5.PriceDisplayPipeModule, typeof AnswerCardModule, typeof ImageZoomModule, typeof ColorFilterModule, typeof TagFilterModule, typeof DirectivesModule], [typeof AnswersSlideoutComponent]>;
1855
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof i3$1.PriceDisplayPipeModule, typeof AnswerCardModule, typeof ImageZoomModule, typeof ColorFilterModule, typeof TagFilterModule, typeof DirectivesModule, typeof i2.UtilitiesPipesModule], [typeof AnswersSlideoutComponent]>;
2849
1856
  static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
2850
1857
  }
2851
1858
 
@@ -2859,6 +1866,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
2859
1866
  canClose: boolean;
2860
1867
  answersTemplate: TemplateRef<any>;
2861
1868
  answerToShowFromSelectionText: string;
1869
+ showSaveAndLoadConfiguration: boolean;
2862
1870
  customDimensions: boolean;
2863
1871
  disableMouse: boolean;
2864
1872
  handledocumentMouseUp(event: any): void;
@@ -2879,7 +1887,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
2879
1887
  handleDelete(event: MouseEvent, sel: Selection): void;
2880
1888
  toggleElement(sel: Selection): void;
2881
1889
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
2882
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "co-selections-summary", never, { "selections": { "alias": "selections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; "repeatSelection": "repeatSelection"; "deleteSelection": "deleteSelection"; }, never, never, false, never>;
1890
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "co-selections-summary", never, { "selections": { "alias": "selections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; "repeatSelection": "repeatSelection"; "deleteSelection": "deleteSelection"; }, never, never, false, never>;
2883
1891
  }
2884
1892
 
2885
1893
  declare class CoSummaryLine implements AfterViewInit {
@@ -2931,7 +1939,7 @@ declare class CoSummaryLine implements AfterViewInit {
2931
1939
 
2932
1940
  declare class CoSummaryLineModule {
2933
1941
  static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
2934
- static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof PipesModule, typeof i3.CommonModule, typeof i5.PriceDisplayPipeModule, typeof i5.ImageModule, typeof i5.IconModule], [typeof CoSummaryLine]>;
1942
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.PriceDisplayPipeModule, typeof i3$1.ImageModule, typeof i3$1.IconModule], [typeof CoSummaryLine]>;
2935
1943
  static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
2936
1944
  }
2937
1945
 
@@ -2961,13 +1969,38 @@ declare class SelectionsSummaryLineComponent implements OnDestroy {
2961
1969
 
2962
1970
  declare class SelectionsSummaryLineModule {
2963
1971
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
2964
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof PipesModule, typeof i3.CommonModule, typeof CoSummaryLineModule], [typeof SelectionsSummaryLineComponent]>;
1972
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof i3.CommonModule, typeof CoSummaryLineModule, typeof i2.TranslationModule], [typeof SelectionsSummaryLineComponent]>;
2965
1973
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
2966
1974
  }
2967
1975
 
1976
+ declare class ConfigurationPresetComponent implements OnInit {
1977
+ iconService: IconCacheService;
1978
+ settingService: ConfiguratorSettingsService;
1979
+ private _appEventService;
1980
+ readonly icons: typeof IconEnum;
1981
+ showClass(): boolean;
1982
+ closeSaveLoadMenu(): void;
1983
+ isSaveLoadMenuOpen: boolean;
1984
+ showSavePresetButton: boolean;
1985
+ showLoadPresetButton: boolean;
1986
+ constructor(iconService: IconCacheService, settingService: ConfiguratorSettingsService, _appEventService: ConfiguratorEventService);
1987
+ ngOnInit(): void;
1988
+ toggleSaveLoadMenu(event: MouseEvent): void;
1989
+ handleSavePresetClicked(): void;
1990
+ handleLoadPresetClicked(): void;
1991
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetComponent, never>;
1992
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetComponent, "co-configuration-preset", never, {}, {}, never, never, false, never>;
1993
+ }
1994
+
1995
+ declare class ConfigurationPresetModule {
1996
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetModule, never>;
1997
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetModule, [typeof ConfigurationPresetComponent], [typeof i2.TranslationModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard, typeof i3.AsyncPipe, typeof ConfigurationPresetDialogModule], [typeof ConfigurationPresetComponent]>;
1998
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetModule>;
1999
+ }
2000
+
2968
2001
  declare class SelectionsSummaryModule {
2969
2002
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
2970
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof PipesModule, typeof i5.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i5.IconModule], [typeof SelectionsSummaryComponent]>;
2003
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof i2.TranslationModule, typeof i3$1.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i3$1.IconModule, typeof ConfigurationPresetModule], [typeof SelectionsSummaryComponent]>;
2971
2004
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
2972
2005
  }
2973
2006
 
@@ -2985,24 +2018,24 @@ declare class ProductConfiguratorService {
2985
2018
  static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
2986
2019
  }
2987
2020
 
2988
- declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
2021
+ declare class ProductConfiguratorComponent implements OnDestroy {
2989
2022
  configuratorConnectorService: ConfiguratorConnectorService;
2990
2023
  buildFurnitureService: SwitchBuildFurnitureService;
2991
- settingsService: SettingsService;
2024
+ settingsService: ConfiguratorSettingsService;
2992
2025
  productConfiguratorService: ProductConfiguratorService;
2993
2026
  iconService: IconCacheService;
2994
2027
  private _sanitizer;
2995
2028
  private _configuringService;
2029
+ private _eventService;
2996
2030
  showClass(): boolean;
2997
2031
  readonly icons: typeof IconEnum;
2998
- set show(value: boolean);
2999
- get show(): boolean;
3000
2032
  showHeaderInformation: boolean;
3001
2033
  set showSelections(value: boolean);
3002
2034
  get showSelections(): boolean;
3003
2035
  showLabel: boolean;
3004
2036
  canClose: boolean;
3005
2037
  customDimensions: boolean;
2038
+ showSaveAndLoadConfiguration: boolean;
3006
2039
  readonly showChange: EventEmitter<boolean>;
3007
2040
  readonly answerChosen: EventEmitter<Answer>;
3008
2041
  valutaSymbol: string;
@@ -3013,23 +2046,23 @@ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
3013
2046
  private _show;
3014
2047
  private _selectionSelected;
3015
2048
  private _subs;
3016
- constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService);
3017
- ngOnInit(): void;
2049
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService, _eventService: ConfiguratorEventService);
3018
2050
  ngOnDestroy(): void;
3019
2051
  onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
3020
2052
  handleCloseClick(): void;
2053
+ private _handleSelectionWithAnswersChanged;
2054
+ private _handleArticleReceived;
3021
2055
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
3022
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "show": { "alias": "show"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
2056
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
3023
2057
  }
3024
2058
 
3025
- declare class ProductConfiguratorSelectorComponent implements OnInit {
2059
+ declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges {
3026
2060
  configuratorConnectorService: ConfiguratorConnectorService;
3027
- settingsService: SettingsService;
2061
+ settingsService: ConfiguratorSettingsService;
3028
2062
  iconService: IconCacheService;
3029
- showClass(): boolean;
2063
+ get hostClasses(): string;
3030
2064
  readonly icons: typeof IconEnum;
3031
2065
  exceptionContainer?: ElementRef;
3032
- get hostClasses(): string;
3033
2066
  selection: SelectorStructure;
3034
2067
  options: SelectorWithOptions[];
3035
2068
  lastNodeWithChildren: boolean;
@@ -3037,27 +2070,50 @@ declare class ProductConfiguratorSelectorComponent implements OnInit {
3037
2070
  treeLevelIndex: number;
3038
2071
  isActive: boolean;
3039
2072
  markAsException: boolean;
2073
+ showAll: boolean;
2074
+ suppressSubShowMore: boolean;
2075
+ useGroupedParentVisibility: boolean;
3040
2076
  activate: EventEmitter<void>;
3041
- get selectionIndexText(): string;
3042
2077
  selectionClass: string;
3043
2078
  listOfChoices: SelectorStructure[];
3044
2079
  activeChildIndex: number;
3045
- constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService);
2080
+ localShowAll: boolean;
2081
+ get selectionIndexText(): string;
2082
+ get expandButtonText(): string;
2083
+ get suppressSubShowMoreForChildren(): boolean;
2084
+ get groupedRemainingTilesCount(): number;
2085
+ get useGroupedVisibilityForChildren(): boolean;
2086
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService);
3046
2087
  ngOnInit(): void;
2088
+ ngOnChanges(changes: SimpleChanges): void;
3047
2089
  showAndScroll(): void;
3048
2090
  onSubHeaderClick(): void;
2091
+ onShowAllClick(): void;
2092
+ getIsChildVisible(index: number): boolean;
2093
+ isGroupedSection(): boolean;
2094
+ shouldShowExpandButton(): boolean;
2095
+ getChildShowAll(): boolean;
2096
+ private _shouldBeVisible;
2097
+ private _setActiveChildIndexFromSelection;
2098
+ private _hasSelectedOption;
2099
+ private _countRemainingTiles;
2100
+ private _countGroupedTilesToReveal;
2101
+ private _countAllTiles;
2102
+ private _remainingTilesForLeaf;
3049
2103
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
3050
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "lastNodeWithChildren": { "alias": "lastNodeWithChildren"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "treeLevelIndex": { "alias": "treeLevelIndex"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; }, { "activate": "activate"; }, never, never, false, never>;
2104
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "lastNodeWithChildren": { "alias": "lastNodeWithChildren"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "treeLevelIndex": { "alias": "treeLevelIndex"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "suppressSubShowMore": { "alias": "suppressSubShowMore"; "required": false; }; "useGroupedParentVisibility": { "alias": "useGroupedParentVisibility"; "required": false; }; }, { "activate": "activate"; }, never, never, false, never>;
3051
2105
  }
3052
2106
 
3053
- declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
2107
+ declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnChanges {
3054
2108
  configuratorConnectorService: ConfiguratorConnectorService;
3055
- settingsService: SettingsService;
2109
+ settingsService: ConfiguratorSettingsService;
3056
2110
  productConfiguratorService: ProductConfiguratorService;
3057
2111
  showClass(): boolean;
3058
2112
  selection: SelectorStructure;
3059
2113
  listOfChoices: SelectorStructure[];
3060
2114
  markAsException: boolean;
2115
+ showGlobalAll: boolean;
2116
+ groupedSubShow: boolean;
3061
2117
  configurationDisplayOption: typeof ConfigurationDisplayOption;
3062
2118
  selectionClass: string;
3063
2119
  showAllTiles: boolean;
@@ -3065,332 +2121,757 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
3065
2121
  maxVisibleSmallTiles: number;
3066
2122
  visibleAnswers: SelectorStructure[];
3067
2123
  remainingTilesCount: number;
3068
- constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService);
2124
+ readonly smallTileOptions: ConfigurationDisplayOption[];
2125
+ readonly largeTileOptions: ConfigurationDisplayOption[];
2126
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService);
3069
2127
  ngOnInit(): void;
2128
+ ngOnChanges(changes: SimpleChanges): void;
3070
2129
  selectionClicked(answer: SelectorStructure): void;
3071
2130
  showMore(): void;
3072
2131
  showLess(): void;
2132
+ getTileClass(): string;
3073
2133
  private _calculateVisibleAnswers;
3074
2134
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
3075
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionComponent, "co-product-configurator-selector-option", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; }, {}, never, never, false, never>;
2135
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionComponent, "co-product-configurator-selector-option", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "showGlobalAll": { "alias": "showGlobalAll"; "required": false; }; "groupedSubShow": { "alias": "groupedSubShow"; "required": false; }; }, {}, never, never, false, never>;
3076
2136
  }
3077
2137
 
3078
2138
  declare class ProductConfiguratorSelectorOptionTileComponent {
3079
2139
  configuratorConnectorService: ConfiguratorConnectorService;
3080
2140
  iconService: IconCacheService;
3081
- settingsService: SettingsService;
2141
+ settingsService: ConfiguratorSettingsService;
3082
2142
  showClass(): boolean;
3083
2143
  readonly icons: typeof IconEnum;
3084
2144
  option: SelectorStructure;
3085
2145
  tileClass: string;
2146
+ noLabel: boolean;
3086
2147
  selectionClicked: EventEmitter<void>;
3087
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
2148
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
3088
2149
  changeSelection(): void;
3089
2150
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
3090
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionTileComponent, "co-product-configurator-selector-option-tile", never, { "option": { "alias": "option"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2151
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionTileComponent, "co-product-configurator-selector-option-tile", never, { "option": { "alias": "option"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
3091
2152
  }
3092
2153
 
3093
2154
  declare class ProductConfiguratorSelectorOptionTileModule {
3094
2155
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
3095
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i5.IconModule, typeof i3.CommonModule, typeof PipesModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
2156
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
3096
2157
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
3097
2158
  }
3098
2159
 
3099
2160
  declare class ProductConfiguratorOptionCheckboxComponent {
3100
2161
  configuratorConnectorService: ConfiguratorConnectorService;
3101
2162
  iconService: IconCacheService;
3102
- settingsService: SettingsService;
2163
+ settingsService: ConfiguratorSettingsService;
3103
2164
  showClass(): boolean;
3104
2165
  readonly icons: typeof IconEnum;
3105
2166
  option: SelectorStructure;
3106
2167
  selectionClicked: EventEmitter<void>;
3107
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
2168
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
3108
2169
  changeSelection(): void;
3109
2170
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
3110
2171
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
3111
2172
  }
3112
2173
 
3113
- declare class ProductConfiguratorSelectorOptionCheckboxModule {
3114
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
3115
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
3116
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
2174
+ declare class ProductConfiguratorSelectorOptionCheckboxModule {
2175
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
2176
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
2177
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
2178
+ }
2179
+
2180
+ declare class ProductConfiguratorSelectorOptionButtonComponent {
2181
+ configuratorConnectorService: ConfiguratorConnectorService;
2182
+ iconService: IconCacheService;
2183
+ settingsService: ConfiguratorSettingsService;
2184
+ showClass(): boolean;
2185
+ readonly icons: typeof IconEnum;
2186
+ option: SelectorStructure;
2187
+ selectionClicked: EventEmitter<void>;
2188
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
2189
+ changeSelection(): void;
2190
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
2191
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2192
+ }
2193
+
2194
+ declare class ProductConfiguratorSelectorOptionButtonModule {
2195
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
2196
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
2197
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
2198
+ }
2199
+
2200
+ declare class ProductConfiguratorSelectorOptionDropDownComponent {
2201
+ configuratorConnectorService: ConfiguratorConnectorService;
2202
+ iconService: IconCacheService;
2203
+ settingsService: ConfiguratorSettingsService;
2204
+ showClass(): boolean;
2205
+ readonly icons: typeof IconEnum;
2206
+ options: SelectorStructure[];
2207
+ tileClass: string;
2208
+ selectionClicked: EventEmitter<SelectorStructure>;
2209
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
2210
+ onChange(event: Event): void;
2211
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
2212
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, "co-product-configurator-selector-option-dropdown", never, { "options": { "alias": "options"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2213
+ }
2214
+
2215
+ declare class ProductConfiguratorSelectorOptionDropdownModule {
2216
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
2217
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
2218
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
2219
+ }
2220
+
2221
+ declare class ProductConfiguratorSelectorOptionModule {
2222
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
2223
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
2224
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
2225
+ }
2226
+
2227
+ declare class ProductConfiguratorSelectorModule {
2228
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
2229
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
2230
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
2231
+ }
2232
+
2233
+ declare class ProductConfiguratorModule {
2234
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
2235
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof ProductConfiguratorComponent], [typeof i3.CommonModule, typeof i3$2.MatIconModule, typeof i4$1.MatButtonModule, typeof i3$1.CardModule, typeof SlideoutModule, typeof i3$1.PriceDisplayPipeModule, typeof i3$1.ButtonModule, typeof i3$1.InputTextModule, typeof i7.FormsModule, typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3$1.TooltipDirectiveModule, typeof ProductConfiguratorSelectorModule, typeof ConfigurationPresetModule], [typeof ProductConfiguratorComponent]>;
2236
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
2237
+ }
2238
+
2239
+ declare class ConfiguratorModule {
2240
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
2241
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ConfigurationPresetDialogModule, typeof LiteSelectorModule, typeof ProductConfiguratorModule], [typeof ConfiguratorComponent]>;
2242
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
2243
+ }
2244
+
2245
+ declare class ConfiguratorSceneLoaderComponent {
2246
+ showClass: boolean;
2247
+ loaderProgress: number;
2248
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
2249
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
2250
+ }
2251
+
2252
+ declare class ConfiguratorSceneLoaderModule {
2253
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
2254
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i3.CommonModule], [typeof ConfiguratorSceneLoaderComponent]>;
2255
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
2256
+ }
2257
+
2258
+ declare class CustomButton {
2259
+ caption: string;
2260
+ handler: Function;
2261
+ data: any;
2262
+ xPos: number;
2263
+ yPos: number;
2264
+ size: number;
2265
+ opacity: number;
2266
+ constructor(caption?: string, handler?: Function, data?: any);
2267
+ }
2268
+
2269
+ declare class ElementButtonsComponent implements OnDestroy {
2270
+ iconCache: IconCacheService;
2271
+ private _elementRef;
2272
+ private _settingsService;
2273
+ showClass(): boolean;
2274
+ readonly icon: typeof IconEnum;
2275
+ disableMouse: boolean;
2276
+ handleDocumentMouseUp(event: any): void;
2277
+ handleDocumentMouseDown(event: any): void;
2278
+ addButtons: CustomButton[];
2279
+ customizeButtons: CustomButton[];
2280
+ resizeButtons: CustomButton[];
2281
+ elementPointer: ElementRef;
2282
+ set elementPosition(value: Vector2);
2283
+ customizeButtonClicked: EventEmitter<void>;
2284
+ get elementPosition(): Vector2;
2285
+ showCaptionAddButton: boolean;
2286
+ private _elementPosition;
2287
+ private _subs;
2288
+ constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: ConfiguratorSettingsService);
2289
+ ngOnDestroy(): void;
2290
+ private _repositionLine;
2291
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
2292
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElementButtonsComponent, "co-element-buttons", never, { "addButtons": { "alias": "addButtons"; "required": false; }; "customizeButtons": { "alias": "customizeButtons"; "required": false; }; "resizeButtons": { "alias": "resizeButtons"; "required": false; }; "elementPointer": { "alias": "elementPointer"; "required": false; }; "elementPosition": { "alias": "elementPosition"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; }, never, never, false, never>;
2293
+ }
2294
+
2295
+ declare class ElementButtonsModule {
2296
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
2297
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
2298
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
2299
+ }
2300
+
2301
+ declare class ElementToolbarComponent implements OnDestroy {
2302
+ settingsService: ConfiguratorSettingsService;
2303
+ iconCache: IconCacheService;
2304
+ showClass(): boolean;
2305
+ readonly icon: typeof IconEnum;
2306
+ elementPointer: ElementRef;
2307
+ hostClass: boolean;
2308
+ editMenu: CustomButton[];
2309
+ showPointer: boolean;
2310
+ showSwap: boolean;
2311
+ readonly deleteClicked: EventEmitter<any>;
2312
+ readonly swapClicked: EventEmitter<any>;
2313
+ readonly animationClicked: EventEmitter<any>;
2314
+ showEditMenu: boolean;
2315
+ get instantMenu(): boolean;
2316
+ constructor(settingsService: ConfiguratorSettingsService, iconCache: IconCacheService);
2317
+ ngOnDestroy(): void;
2318
+ handleEditClick(): void;
2319
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
2320
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElementToolbarComponent, "co-element-toolbar", never, { "editMenu": { "alias": "editMenu"; "required": false; }; "showPointer": { "alias": "showPointer"; "required": false; }; "showSwap": { "alias": "showSwap"; "required": false; }; }, { "deleteClicked": "deleteClicked"; "swapClicked": "swapClicked"; "animationClicked": "animationClicked"; }, never, never, false, never>;
2321
+ }
2322
+
2323
+ declare class ElementToolbarModule {
2324
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
2325
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
2326
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
3117
2327
  }
3118
2328
 
3119
- declare class ProductConfiguratorSelectorOptionButtonComponent {
3120
- configuratorConnectorService: ConfiguratorConnectorService;
3121
- iconService: IconCacheService;
3122
- settingsService: SettingsService;
3123
- showClass(): boolean;
3124
- readonly icons: typeof IconEnum;
3125
- option: SelectorStructure;
3126
- selectionClicked: EventEmitter<void>;
3127
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3128
- changeSelection(): void;
3129
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
3130
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2329
+ declare class SceneOptionButtonInterface {
2330
+ id: number;
2331
+ elementId: string;
2332
+ label?: string;
2333
+ class?: string;
2334
+ tooltip?: string;
2335
+ image?: string | SafeHtml;
2336
+ order?: number;
2337
+ toggle?: boolean;
2338
+ tooltipActive?: string;
2339
+ active?: boolean;
2340
+ object?: any;
2341
+ click?: Function;
2342
+ show?: boolean;
2343
+ icon?: IconEnum;
2344
+ children?: SceneOptionButtonInterface[];
3131
2345
  }
3132
2346
 
3133
- declare class ProductConfiguratorSelectorOptionButtonModule {
3134
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
3135
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
3136
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
2347
+ declare class SceneOptionsService {
2348
+ sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
2349
+ sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
2350
+ addSceneOptionButton(button: SceneOptionButtonInterface): void;
2351
+ updateSceneOptionButton(button: SceneOptionButtonInterface): void;
2352
+ static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
2353
+ static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
3137
2354
  }
3138
2355
 
3139
- declare class ProductConfiguratorSelectorOptionDropDownComponent {
3140
- configuratorConnectorService: ConfiguratorConnectorService;
2356
+ declare class SceneOptionsComponent implements OnDestroy {
3141
2357
  iconService: IconCacheService;
3142
- settingsService: SettingsService;
2358
+ private _sceneOptionsService;
3143
2359
  showClass(): boolean;
3144
2360
  readonly icons: typeof IconEnum;
3145
- options: SelectorStructure[];
3146
- tileClass: string;
3147
- selectionClicked: EventEmitter<SelectorStructure>;
3148
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3149
- onChange(event: Event): void;
3150
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
3151
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, "co-product-configurator-selector-option-dropdown", never, { "options": { "alias": "options"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
3152
- }
3153
-
3154
- declare class ProductConfiguratorSelectorOptionDropdownModule {
3155
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
3156
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
3157
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
2361
+ buttons: SceneOptionButtonInterface[];
2362
+ private _subs;
2363
+ private _childrenShowing;
2364
+ constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
2365
+ ngOnDestroy(): void;
2366
+ handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
2367
+ handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
2368
+ getIcon(buttonIcon: IconEnum): SafeHtml;
2369
+ private _addButton;
2370
+ static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
2371
+ static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
3158
2372
  }
3159
2373
 
3160
- declare class ProductConfiguratorSelectorOptionModule {
3161
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
3162
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof PipesModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
3163
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
2374
+ declare class SelectionsModule {
2375
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
2376
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof SceneOptionsComponent]>;
2377
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
3164
2378
  }
3165
2379
 
3166
- declare class ProductConfiguratorSelectorModule {
3167
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
3168
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
3169
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
2380
+ declare enum ConfigurationKey {
2381
+ DimensioningUnit = "dimUnit",
2382
+ DimensioningSquareUnit = "dimSqUnit",
2383
+ AngleUnit = "angleUnit",
2384
+ CmStep = "cmStep",
2385
+ MStep = "mStep",
2386
+ MmStep = "mmStep",
2387
+ AngleLabelDistanceInCm = "angleLabelDistanceCm",
2388
+ WallHeight = "wallHeight",
2389
+ WallThickness = "wallThickness",
2390
+ MaxWallHeight = "maxWallHeight",
2391
+ MaxWallThickness = "maxWallThickness",
2392
+ MaxWallLength = "maxWallLength",
2393
+ MinWallLength = "minWallLength",
2394
+ WallSnapping = "wallSnapping",
2395
+ CornerSnapping = "cornerSnapping",
2396
+ ShowObjectDistances = "showObjectDistances",
2397
+ ShowObjectMeasurements = "showObjectMeasurements",
2398
+ ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
2399
+ ShowWallItemMeasurements = "showWallItemMeasurements",
2400
+ ShowWallMeasurements = "showWallMeasurements",
2401
+ ShowCornerAngles = "showCornerAngles",
2402
+ RotationSnappingEnabled = "RotationSnappingEnabled",
2403
+ DisplayCustomShapeNames = "DisplayCustomShapeNames",
2404
+ ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
2405
+ ShowInteriorLights = "ShowInteriorLights",
2406
+ InteriorLightIntensity = "InteriorLightIntensity",
2407
+ ShowLightingControls = "ShowLightingControls",
2408
+ ShowLightplansDialog = "ShowLightplansDialog",
2409
+ WalkThroughCameraFoV = "WalkThroughCameraFoV",
2410
+ WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
2411
+ WalkThroughCameraFocus = "WalkThroughCameraFocus",
2412
+ ShowPostProcessingSettings = "showPostProcessingSettings",
2413
+ ShowWalls = "ShowWalls",
2414
+ ShowCeiling = "ShowCeiling",
2415
+ IsLimited = "IsLimited",
2416
+ EnableTouch = "EnableTouch",
2417
+ CameraFOV = "CameraFOV"
3170
2418
  }
3171
2419
 
3172
- declare class ProductConfiguratorModule {
3173
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
3174
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof ProductConfiguratorComponent], [typeof i3.CommonModule, typeof i3$1.MatIconModule, typeof i4.MatButtonModule, typeof i5.CardModule, typeof SlideoutModule, typeof i5.PriceDisplayPipeModule, typeof i5.ButtonModule, typeof i5.InputTextModule, typeof i7.FormsModule, typeof PipesModule, typeof i5.IconModule, typeof i5.TooltipDirectiveModule, typeof ProductConfiguratorSelectorModule], [typeof ProductConfiguratorComponent]>;
3175
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
2420
+ interface ConfigurationData {
2421
+ [ConfigurationKey.DimensioningUnit]?: string;
2422
+ [ConfigurationKey.DimensioningSquareUnit]?: string;
2423
+ [ConfigurationKey.AngleUnit]?: string;
2424
+ [ConfigurationKey.CmStep]?: number;
2425
+ [ConfigurationKey.MStep]?: number;
2426
+ [ConfigurationKey.MmStep]?: number;
2427
+ [ConfigurationKey.AngleLabelDistanceInCm]?: number;
2428
+ [ConfigurationKey.WallHeight]?: number;
2429
+ [ConfigurationKey.WallThickness]?: number;
2430
+ [ConfigurationKey.MaxWallHeight]?: number;
2431
+ [ConfigurationKey.MaxWallThickness]?: number;
2432
+ [ConfigurationKey.MaxWallLength]?: number;
2433
+ [ConfigurationKey.MinWallLength]?: number;
2434
+ [ConfigurationKey.WallSnapping]?: boolean;
2435
+ [ConfigurationKey.CornerSnapping]?: boolean;
2436
+ [ConfigurationKey.ShowObjectDistances]?: boolean;
2437
+ [ConfigurationKey.ShowObjectMeasurements]?: boolean;
2438
+ [ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
2439
+ [ConfigurationKey.ShowWallItemMeasurements]?: boolean;
2440
+ [ConfigurationKey.ShowWallMeasurements]?: boolean;
2441
+ [ConfigurationKey.ShowCornerAngles]?: boolean;
2442
+ [ConfigurationKey.RotationSnappingEnabled]?: boolean;
2443
+ [ConfigurationKey.DisplayCustomShapeNames]?: boolean;
2444
+ [ConfigurationKey.ShowInteriorLights]?: boolean;
2445
+ [ConfigurationKey.InteriorLightIntensity]?: number;
2446
+ [ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
2447
+ [ConfigurationKey.ShowLightingControls]?: boolean;
2448
+ [ConfigurationKey.ShowLightplansDialog]?: boolean;
2449
+ [ConfigurationKey.WalkThroughCameraFoV]?: number;
2450
+ [ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
2451
+ [ConfigurationKey.WalkThroughCameraFocus]?: number;
2452
+ [ConfigurationKey.ShowPostProcessingSettings]?: boolean;
2453
+ [ConfigurationKey.ShowWalls]?: boolean;
2454
+ [ConfigurationKey.ShowCeiling]?: boolean;
2455
+ [ConfigurationKey.IsLimited]?: boolean;
2456
+ [ConfigurationKey.EnableTouch]?: boolean;
2457
+ [ConfigurationKey.CameraFOV]?: number;
3176
2458
  }
3177
2459
 
3178
- declare class ThreedselectorModule {
3179
- static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
3180
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule], [typeof ThreedselectorComponent]>;
3181
- static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
2460
+ declare class ConfigurationService {
2461
+ private _data;
2462
+ onChange: BehaviorSubject<{}>;
2463
+ setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
2464
+ getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
2465
+ get(): ConfigurationData;
2466
+ set(data: ConfigurationData): void;
2467
+ getDistanceStep(): number;
2468
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
2469
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
3182
2470
  }
3183
2471
 
3184
- declare class ConfiguratorModule {
3185
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
3186
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ThreedselectorModule], [typeof ConfiguratorComponent]>;
3187
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
2472
+ declare class ConfiguratorRotationService implements OnDestroy {
2473
+ private _configService;
2474
+ private _sceneService;
2475
+ private _settingsService;
2476
+ objectRotated: Subject<void>;
2477
+ sliderValue: number;
2478
+ private _subs;
2479
+ private _mouseXOnMouseDown;
2480
+ private _targetRotationOnMouseDownX;
2481
+ private _targetRotationX;
2482
+ private _mouseX;
2483
+ private _itemToRotate;
2484
+ private _renderInterval;
2485
+ private _renderTimeout;
2486
+ private _timeToRender;
2487
+ private _moveFactor;
2488
+ constructor(_configService: ConfigurationService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService);
2489
+ ngOnDestroy(): void;
2490
+ rotate(item: Object3D, from: Vector3, to: Vector3, ccw?: boolean): Vector3;
2491
+ enableRotationFor(item: Object3D): void;
2492
+ private _handleMouseDown;
2493
+ private _handleMouseMove;
2494
+ private _handleSliderChange;
2495
+ private _handleMouseUp;
2496
+ private _handleMouseOut;
2497
+ private _handleTouchStart;
2498
+ private _handleTouchMove;
2499
+ private _handleTouchEnd;
2500
+ private _handleTouchCancel;
2501
+ private _removeMouseEvents;
2502
+ private _removeTouchEvents;
2503
+ private _renderForAmountOfTime;
2504
+ private _doRender;
2505
+ private _removeListeners;
2506
+ private _addListeners;
2507
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorRotationService, never>;
2508
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorRotationService>;
3188
2509
  }
3189
2510
 
3190
- declare class ConfiguratorSceneLoaderComponent {
3191
- showClass(): boolean;
3192
- loaderProgress: number;
3193
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
3194
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
2511
+ declare enum TextureType {
2512
+ Basic = 0,
2513
+ Image = 1,
2514
+ CustomPattern = 2,
2515
+ PBR = 3,
2516
+ SHADOW = 4
3195
2517
  }
3196
2518
 
3197
- declare class ConfiguratorSceneLoaderModule {
3198
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
3199
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i3.CommonModule], [typeof ConfiguratorSceneLoaderComponent]>;
3200
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
2519
+ interface TextureInterface {
2520
+ name?: string;
2521
+ type?: string | TextureType;
2522
+ url?: string;
2523
+ materializeUrl?: string;
2524
+ bumpMap?: string;
2525
+ bumpScale?: number;
2526
+ roughness?: number;
2527
+ roughnessMap?: string;
2528
+ normalMap?: string;
2529
+ alphaMap?: string;
2530
+ repeatX?: number;
2531
+ repeatY?: number;
2532
+ metalness?: number;
2533
+ metalnessMap?: string;
2534
+ aoMapIntensity?: number;
2535
+ aoMap?: string;
2536
+ data?: any;
2537
+ color?: string;
2538
+ emissive?: string;
2539
+ show?: boolean;
2540
+ default?: boolean;
2541
+ surfaces?: string[];
2542
+ offset?: THREE.Vector2;
2543
+ scale?: number;
2544
+ rotation?: number;
2545
+ stretch?: boolean;
2546
+ height?: number;
2547
+ width?: number;
2548
+ tileSize?: number;
2549
+ tileRotation?: number;
2550
+ useStandalone?: boolean;
2551
+ defaultStandalone?: boolean;
2552
+ mirror?: boolean;
2553
+ simplePlane?: boolean;
2554
+ toneMapped?: boolean;
2555
+ transparent?: boolean;
2556
+ opacity?: number;
2557
+ side?: number;
2558
+ depthWrite?: boolean;
2559
+ depthTest?: boolean;
3201
2560
  }
3202
2561
 
3203
- declare class CustomButton {
3204
- caption: string;
3205
- handler: Function;
3206
- data: any;
3207
- xPos: number;
3208
- yPos: number;
3209
- size: number;
3210
- opacity: number;
3211
- constructor(caption?: string, handler?: Function, data?: any);
2562
+ interface AdjustableElementInterface {
2563
+ identifier: string;
2564
+ connector: string;
2565
+ connectedNodeId: number;
3212
2566
  }
3213
2567
 
3214
- declare class ElementButtonsComponent implements OnDestroy {
3215
- iconCache: IconCacheService;
3216
- private _elementRef;
3217
- private _settingsService;
3218
- showClass(): boolean;
3219
- readonly icon: typeof IconEnum;
3220
- disableMouse: boolean;
3221
- handleDocumentMouseUp(event: any): void;
3222
- handleDocumentMouseDown(event: any): void;
3223
- addButtons: CustomButton[];
3224
- customizeButtons: CustomButton[];
3225
- resizeButtons: CustomButton[];
3226
- elementPointer: ElementRef;
3227
- set elementPosition(value: Vector2);
3228
- customizeButtonClicked: EventEmitter<void>;
3229
- get elementPosition(): Vector2;
3230
- showCaptionAddButton: boolean;
3231
- private _elementPosition;
3232
- private _subs;
3233
- constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: SettingsService);
3234
- ngOnDestroy(): void;
3235
- private _repositionLine;
3236
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
3237
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementButtonsComponent, "co-element-buttons", never, { "addButtons": { "alias": "addButtons"; "required": false; }; "customizeButtons": { "alias": "customizeButtons"; "required": false; }; "resizeButtons": { "alias": "resizeButtons"; "required": false; }; "elementPointer": { "alias": "elementPointer"; "required": false; }; "elementPosition": { "alias": "elementPosition"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; }, never, never, false, never>;
2568
+ interface Skin {
2569
+ [face: string]: SkinFragment;
3238
2570
  }
3239
-
3240
- declare class ElementButtonsModule {
3241
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
3242
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
3243
- static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
2571
+ interface SkinFragment {
2572
+ color?: number;
2573
+ texture?: Texture;
3244
2574
  }
3245
2575
 
3246
- declare class ElementToolbarComponent implements OnDestroy {
3247
- settingsService: SettingsService;
3248
- iconCache: IconCacheService;
3249
- showClass(): boolean;
3250
- readonly icon: typeof IconEnum;
3251
- elementPointer: ElementRef;
3252
- hostClass: boolean;
3253
- editMenu: CustomButton[];
3254
- showPointer: boolean;
3255
- showSwap: boolean;
3256
- readonly deleteClicked: EventEmitter<any>;
3257
- readonly swapClicked: EventEmitter<any>;
3258
- readonly animationClicked: EventEmitter<any>;
3259
- showEditMenu: boolean;
3260
- get instantMenu(): boolean;
3261
- constructor(settingsService: SettingsService, iconCache: IconCacheService);
3262
- ngOnDestroy(): void;
3263
- handleEditClick(): void;
3264
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
3265
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementToolbarComponent, "co-element-toolbar", never, { "editMenu": { "alias": "editMenu"; "required": false; }; "showPointer": { "alias": "showPointer"; "required": false; }; "showSwap": { "alias": "showSwap"; "required": false; }; }, { "deleteClicked": "deleteClicked"; "swapClicked": "swapClicked"; "animationClicked": "animationClicked"; }, never, never, false, never>;
2576
+ /** Meta data for items. */
2577
+ interface Metadata {
2578
+ itemName?: string;
2579
+ itemDescription?: string;
2580
+ itemType?: number;
2581
+ /**
2582
+ * InstanceId
2583
+ */
2584
+ itemId?: string;
2585
+ originalItemId?: string;
2586
+ /**
2587
+ * Sku
2588
+ */
2589
+ itemIdentifier?: string;
2590
+ goodId?: string;
2591
+ goodType?: string;
2592
+ isCustom?: boolean;
2593
+ locked?: boolean;
2594
+ configurable?: boolean;
2595
+ ione?: boolean;
2596
+ position?: Vector3;
2597
+ rotation?: number | Euler;
2598
+ scale?: Vector3;
2599
+ centerPivot?: boolean;
2600
+ ignoreInvisible?: boolean;
2601
+ updatePivotOnCreate?: boolean;
2602
+ elementConfiguration?: AdjustableElementInterface[];
2603
+ obsolete?: boolean;
2604
+ thirdPartyModel?: boolean;
2605
+ usePivot?: boolean;
2606
+ decos?: DecoNode[];
2607
+ selections?: Selection[];
2608
+ canElevate?: boolean;
2609
+ onWall?: boolean;
2610
+ modelUrl?: string;
2611
+ scalable?: boolean;
2612
+ scalePercentage?: number;
2613
+ resizable?: boolean;
2614
+ elevation?: number;
2615
+ elevationFixed?: boolean;
2616
+ elevationAdjustable?: boolean;
2617
+ schema?: string;
2618
+ assetPath?: string;
2619
+ texture?: Texture;
2620
+ textureAssetName?: string;
2621
+ skin?: Skin;
2622
+ frameColor?: number;
2623
+ doorColor?: number;
2624
+ windowColor?: THREE.Color;
2625
+ doorpost?: boolean;
2626
+ isGlass?: boolean;
2627
+ itemGroup?: any;
2628
+ canRotateX?: boolean;
2629
+ canRotateY?: boolean;
2630
+ canRotateZ?: boolean;
2631
+ canScaleX?: boolean;
2632
+ canScaleY?: boolean;
2633
+ canScaleZ?: boolean;
2634
+ colorable?: boolean;
2635
+ default180?: boolean;
2636
+ objectUUID?: string;
2637
+ conversionGTMSend?: boolean;
2638
+ conversionSubmittedPrice?: string;
2639
+ hdecoType?: string;
2640
+ opening?: {
2641
+ show: boolean;
2642
+ double: boolean;
2643
+ invertDirection: boolean;
2644
+ invertSide: boolean;
2645
+ };
3266
2646
  }
3267
2647
 
3268
- declare class ElementToolbarModule {
3269
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
3270
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
3271
- static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
2648
+ declare class Texture {
2649
+ name: string;
2650
+ type: TextureType;
2651
+ url: string;
2652
+ materializeUrl: string;
2653
+ bumpMap: string;
2654
+ bumpScale: number;
2655
+ roughness: number;
2656
+ roughnessMap: string;
2657
+ normalMap: string;
2658
+ repeatX: number;
2659
+ repeatY: number;
2660
+ metalness: number;
2661
+ metalnessMap: string;
2662
+ aoMapIntensity: number;
2663
+ aoMap: string;
2664
+ alphaMap: string;
2665
+ color: string;
2666
+ emissive: string;
2667
+ data: any;
2668
+ surfaces: string[];
2669
+ offset: THREE.Vector2;
2670
+ scale: number;
2671
+ rotation: number;
2672
+ stretch: boolean;
2673
+ show: boolean;
2674
+ default: boolean;
2675
+ height: number;
2676
+ width: number;
2677
+ tileSize: number;
2678
+ tileRotation: number;
2679
+ dimensions: Vector2;
2680
+ offsetScale: number;
2681
+ useStandalone: boolean;
2682
+ defaultStandalone: boolean;
2683
+ mirror: boolean;
2684
+ simplePlane: boolean;
2685
+ toneMapped: boolean;
2686
+ transparent: boolean;
2687
+ opacity: number;
2688
+ side: THREE.Side;
2689
+ depthWrite: boolean;
2690
+ depthTest: boolean;
2691
+ metadata?: Metadata;
2692
+ static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
3272
2693
  }
3273
2694
 
3274
- declare class SceneOptionsComponent implements OnDestroy {
3275
- iconService: IconCacheService;
2695
+ declare class FloorPlaneService implements OnDestroy {
2696
+ private _settingsService;
2697
+ private _sceneService;
3276
2698
  private _sceneOptionsService;
3277
- showClass(): boolean;
3278
- readonly icons: typeof IconEnum;
3279
- buttons: SceneOptionButtonInterface[];
2699
+ get floorPlane(): Object3D;
2700
+ floorPlaneCreated: BehaviorSubject<boolean>;
2701
+ floorTextures: Texture[];
2702
+ private _standaloneFloors;
2703
+ private _floorPlane;
3280
2704
  private _subs;
3281
- private _childrenShowing;
3282
- constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
2705
+ constructor(_settingsService: ConfiguratorSettingsService, _sceneService: ConfiguratorSceneService, _sceneOptionsService: SceneOptionsService);
3283
2706
  ngOnDestroy(): void;
3284
- handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
3285
- handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
3286
- getIcon(buttonIcon: IconEnum): SafeHtml;
3287
- private _addButton;
3288
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
3289
- static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
3290
- }
3291
-
3292
- declare class SelectionsModule {
3293
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
3294
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i5.IconModule, typeof PipesModule], [typeof SceneOptionsComponent]>;
3295
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
2707
+ createFloorPlane(rawFloors: TextureInterface$1[]): Promise<void>;
2708
+ getCenterFloorPlane(): Vector3;
2709
+ getDimensions(scale?: number): {
2710
+ x: {
2711
+ min: number;
2712
+ max: number;
2713
+ };
2714
+ y: {
2715
+ min: number;
2716
+ max: number;
2717
+ };
2718
+ };
2719
+ getPlaneSize(): Vector3;
2720
+ private _getStandaloneFloorSize;
2721
+ private _generateFloorPlane;
2722
+ private _createFloorMaterial;
2723
+ private _upsertFloorButtons;
2724
+ private _changeStandaloneFloor;
2725
+ private _setFloorTexture;
2726
+ private _updateFloorMaterial;
2727
+ private _setUpdatedMaterial;
2728
+ private _getMaterials;
2729
+ private _createTexture;
2730
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
2731
+ static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
3296
2732
  }
3297
2733
 
3298
- declare class ConfiguratorSceneComponent implements OnDestroy {
3299
- private settingsService;
2734
+ declare class DimensionsService implements OnDestroy {
3300
2735
  private _sceneService;
3301
- private _lightService;
3302
- private _lightPresetService;
3303
- private _sceneEventService;
3304
- private _initializerService;
3305
- showClass(): boolean;
2736
+ private _fontService;
2737
+ private _itemService;
2738
+ set enabled(value: boolean);
2739
+ get enabled(): boolean;
2740
+ private readonly _offSet;
2741
+ private readonly _labelOffSet;
2742
+ private readonly _nameHeightArrow;
2743
+ private readonly _nameWidthArrow;
2744
+ private readonly _nameDepthArrow;
2745
+ private readonly _headLength;
2746
+ private readonly _headWidth;
2747
+ private readonly _defaultColor;
2748
+ private _subs;
2749
+ private _dimensions;
2750
+ private _enabled;
2751
+ constructor(_sceneService: ConfiguratorSceneService, _fontService: FontService, _itemService: ConfiguratorItemService);
2752
+ ngOnDestroy(): void;
2753
+ private _renderDimensions;
2754
+ private _removeDimensionsOfNotExistingFurniture;
2755
+ private _removeDimensions;
2756
+ private _positionDimensions;
2757
+ private _createDimensions;
2758
+ private _createLabel;
2759
+ private _getBoxSize;
2760
+ static ɵfac: i0.ɵɵFactoryDeclaration<DimensionsService, never>;
2761
+ static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsService>;
2762
+ }
2763
+
2764
+ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
2765
+ private _settingsService;
2766
+ private _rotationService;
2767
+ private _dynamicCameraService;
2768
+ private _sceneService;
2769
+ private _eventService;
2770
+ private _cameraService;
2771
+ private _itemService;
2772
+ private _buildFurnitureService;
2773
+ private _sceneOptionsService;
2774
+ private _dimensionsService;
2775
+ private _floorService;
3306
2776
  canvasElement: ElementRef;
2777
+ elementToolbar: ElementToolbarComponent;
2778
+ showSceneBuildLoader: boolean;
2779
+ showClass: boolean;
2780
+ totalSteps: number;
2781
+ currentStep: number;
2782
+ showSwapButton: boolean;
2783
+ selectedElementPosition: Vector2;
2784
+ editElementMenu: CustomButton[];
2785
+ editAddButtons: CustomButton[];
2786
+ setSceneBuildLoader: boolean;
2787
+ loaderProgress: number;
2788
+ showElementToolbar: boolean;
2789
+ animateEditAddButtons: boolean;
2790
+ enabledDownloadDialog: boolean;
2791
+ development: boolean;
2792
+ showDownloadDialog: boolean;
2793
+ showCameraSettingsDialog: boolean;
3307
2794
  private _subs;
3308
- constructor(settingsService: SettingsService, _sceneService: SceneService, _lightService: LightsService, _lightPresetService: LightPresetsService, _sceneEventService: SceneEventService, _initializerService: AppInitializerService);
2795
+ private _firstBuild;
2796
+ private _selectedElementObject;
2797
+ private _buildResult;
2798
+ constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _sceneOptionsService: SceneOptionsService, _dimensionsService: DimensionsService, _floorService: FloorPlaneService);
2799
+ ngAfterViewInit(): void;
3309
2800
  ngOnDestroy(): void;
3310
- loadScene(ready: boolean): void;
2801
+ swapElement(): void;
2802
+ deleteElement(): void;
2803
+ openAnimationSidebar(): void;
2804
+ handleCustomizeClick(): void;
2805
+ private _handleFirstBuildStandalone;
2806
+ private _loaderProcessUpdate;
2807
+ private _animateProgress;
2808
+ private _removeAddButtons;
2809
+ private _resetElementPosition;
2810
+ private _repositionButtons;
2811
+ private _handleAddButtonClick;
2812
+ private _resetSelectedElement;
2813
+ private _removeAllButtons;
2814
+ private _repositionButton;
2815
+ private _showPlusButtonsBriefly;
2816
+ private _createDownloadButton;
2817
+ private _createCameraSettingsButton;
2818
+ private _createMeasurementsButton;
2819
+ private _downloadCurrentBuild;
2820
+ private _openCameraSettingsDialog;
2821
+ private _handleShowMeasurements;
3311
2822
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
3312
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
2823
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, { "showSceneBuildLoader": { "alias": "showSceneBuildLoader"; "required": false; }; }, {}, never, never, false, never>;
3313
2824
  }
3314
2825
 
3315
2826
  declare class ConfiguratorSceneModule {
3316
2827
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneModule, never>;
3317
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], never, [typeof ConfiguratorSceneComponent]>;
2828
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], [typeof ConfiguratorSceneLoaderModule, typeof SelectionsModule, typeof ElementToolbarModule, typeof ElementButtonsModule, typeof ConfiguratorDialogModule], [typeof ConfiguratorSceneComponent]>;
3318
2829
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneModule>;
3319
2830
  }
3320
2831
 
3321
- declare class Builder {
3322
- selectionsReceived: BehaviorSubject<Selection[]>;
3323
- articleLoaded: BehaviorSubject<Article>;
3324
- decosReceived: BehaviorSubject<DecoNode[]>;
3325
- answersReceived: BehaviorSubject<Answer[]>;
3326
- modelLoaded: BehaviorSubject<THREE.Object3D>;
3327
- set debug(value: Function);
3328
- get debug(): Function;
3329
- private _scene;
3330
- private _instanceId;
3331
- private _sku;
3332
- private _goodId;
3333
- private _selections;
3334
- private _answers;
3335
- private _decos;
3336
- private _placedAdjustables;
3337
- private _placedAddables;
3338
- private _adjustables;
3339
- private _addables;
3340
- private _debug;
3341
- private _imageCache;
3342
- private _boFactory;
3343
- private _source;
3344
- private _threedUtils;
3345
- private _variationHelper;
3346
- private _articleCache;
3347
- private _configuratorService;
3348
- private _buildFurnitureService;
3349
- private _loadFurnitureService;
3350
- private _configuratorConnectorService;
2832
+ declare enum ArFeature {
2833
+ PlaneDetection = "PlaneDetection",
2834
+ PlaneDetectionHitTest = "PlaneDetectionHitTest",
2835
+ DefaultHitTest = "DefaultHitTest",
2836
+ AnchoredHitTest = "AnchoredHitTest",
2837
+ CPUDepthHitTest = "CPUDepthHitTest",
2838
+ GPUDepthHitTest = "GPUDepthHitTest",
2839
+ CPUDepthOcclusion = "CPUDepthOcclusion",
2840
+ GPUDepthOcclusion = "GPUDepthOcclusion",
2841
+ LightEstimation = "LightEstimation",
2842
+ ReflectionCubeMap = "ReflectionCubeMap"
2843
+ }
2844
+
2845
+ /**
2846
+ This file is a modified version of THREE.OrbitControls
2847
+ Contributors:
2848
+ * @author qiao / https://github.com/qiao
2849
+ * @author mrdoob / http://mrdoob.com
2850
+ * @author alteredq / http://alteredqualia.com/
2851
+ * @author WestLangley / http://github.com/WestLangley
2852
+ * @author erich666 / http://erichaines.com
2853
+ */
2854
+ declare let Controls: (camera: any, domElement: any) => void;
2855
+
2856
+ declare class Reticle extends Object3D {
2857
+ private _rayCaster;
2858
+ /**
2859
+ * @param {XRSession} xrSession
2860
+ * @param {THREE.Camera} camera
2861
+ */
3351
2862
  constructor();
3352
- initNewBuild(scene: Scene, options?: Options, sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
3353
- buildWithData(options?: Options, selections?: Selection[], decos?: DecoNode[], assetUrl?: string, cdnUrl?: string, schema?: string): Promise<THREE.Object3D>;
3354
- init(scene: Scene, options?: Options): void;
3355
- buildModel(sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
3356
- buildModelFromData(selections: Selection[], decos: DecoNode[], assetUrl: string, cdnUrl: string, schema: string): Promise<THREE.Object3D>;
3357
- initNodeInstance(goodId: number): Promise<any>;
3358
- destroy(): void;
3359
- selectSelection(selection: Selection): Promise<void>;
3360
- getQuestionAndAnswers(publicationCode?: number): Promise<void>;
3361
- selectAnswer(answer: Answer): Promise<void>;
3362
- getImageForSelectionOrAnswer(object: Selection | Answer): Promise<string>;
3363
- _cleanUp(): void;
3364
- private _handleResponseData;
3365
- private _preloadMaterials;
3366
- private _setInstanceId;
3367
- private _prepareConfiguration;
3368
- private _downloadAsset;
3369
- private _build;
3370
- private _prepareTheSelections;
3371
2863
  /**
3372
- * Returns the materialId of the parent up the tree until presentionlevel 1 is reached
3373
- * @param id
3374
- * @private
2864
+ * Fires a hit test in the middle of the screen and places the reticle
2865
+ * upon the surface if found.
2866
+ *
2867
+ * @param {XRCoordinateSystem} frameOfRef
3375
2868
  */
3376
- private _getMaterialIdFromParent;
3377
- private _createAdjustable;
3378
- private _createAddable;
3379
- private _placeAddables;
3380
- private _createUniqueName;
3381
- private _getGoodIdFromSku;
3382
- private _getArticle;
3383
- private _getSelections;
3384
- private _getDecos;
3385
- private _linkSelectionsAndDecos;
3386
- private _getVariations;
3387
- private _loadVariations;
3388
- private _getAdjustables;
3389
- private _updatePivot;
3390
- private _reset;
3391
- private _log;
3392
- static ɵfac: i0.ɵɵFactoryDeclaration<Builder, never>;
3393
- static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
3394
- }
3395
-
3396
- export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, Builder, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationResultObject, ConfiguratorCameraSettingsComponent, ConfiguratorComponent, ConfiguratorDialogModule, ConfiguratorErrorDialogComponent, ConfiguratorErrorMessage, ConfiguratorExportDialogComponent, ConfiguratorLoaderComponent, ConfiguratorLoaderModule, ConfiguratorModule, ConfiguratorSceneComponent, ConfiguratorSceneLoaderComponent, ConfiguratorSceneLoaderModule, ConfiguratorSceneModule, ConfiguringService, ElementButtonsComponent, ElementButtonsModule, ElementToolbarComponent, ElementToolbarModule, ImageZoomComponent, ImageZoomModule, LiteSelectorComponent, LiteSelectorModule, ProductConfiguratorComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProgressBarComponent, ProgressBarModule, SceneOptionsComponent, SceneService, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, ThreedselectorComponent, ThreedselectorModule };
2869
+ update(session: any, camera: any, frameOfRef: any): Promise<void>;
2870
+ toggleValidPosition(valid: boolean): void;
2871
+ }
2872
+
2873
+ declare class ArPositionIndicator extends Object3D {
2874
+ constructor(boundingBox: Box3);
2875
+ }
2876
+
2877
+ export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, ArFeature, ArPositionIndicator, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationPresetComponent, ConfigurationPresetModule, ConfigurationResultObject, ConfiguratorArService, ConfiguratorCameraService, ConfiguratorCameraSettingsComponent, ConfiguratorComponent, ConfiguratorConnectorService, ConfiguratorDialogModule, ConfiguratorErrorDialogComponent, ConfiguratorErrorMessage, ConfiguratorEventService, ConfiguratorExportDialogComponent, ConfiguratorLoaderComponent, ConfiguratorLoaderModule, ConfiguratorModule, ConfiguratorSceneComponent, ConfiguratorSceneLoaderComponent, ConfiguratorSceneLoaderModule, ConfiguratorSceneModule, ConfiguratorSceneService, ConfiguratorVrService, ConfiguratorXrService, ConfiguringService, Controls, ElementButtonsComponent, ElementButtonsModule, ElementToolbarComponent, ElementToolbarModule, ImageZoomComponent, ImageZoomModule, LiteSelectorComponent, LiteSelectorModule, ProductConfiguratorComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProgressBarComponent, ProgressBarModule, Reticle, SceneOptionsComponent, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, XrMode };