@colijnit/configurator 262.1.1 → 262.1.3

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 (22) hide show
  1. package/colijnit-configurator-262.1.2.tgz +0 -0
  2. package/fesm2022/colijnit-configurator.mjs +995 -293
  3. package/fesm2022/colijnit-configurator.mjs.map +1 -1
  4. package/index.d.ts +144 -38
  5. package/lib/components/configuration-preset/style/_layout.scss +42 -0
  6. package/lib/components/configuration-preset/style/_material-definition.scss +5 -0
  7. package/lib/components/configuration-preset/style/_theme.scss +20 -0
  8. package/lib/components/configuration-preset/style/material.scss +3 -0
  9. package/lib/components/configuration-preset-dialog/style/_layout.scss +82 -0
  10. package/lib/components/configuration-preset-dialog/style/_material-definition.scss +5 -0
  11. package/lib/components/configuration-preset-dialog/style/_theme.scss +7 -0
  12. package/lib/components/configuration-preset-dialog/style/material.scss +3 -0
  13. package/lib/components/product-configurator/style/_layout.scss +4 -0
  14. package/lib/components/product-configurator/style/_material-definition.scss +1 -0
  15. package/lib/components/product-configurator/style/_theme.scss +7 -1
  16. package/lib/components/product-configurator-selector/style/_layout.scss +26 -1
  17. package/lib/components/product-configurator-selector/style/_theme.scss +20 -3
  18. package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +3 -0
  19. package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +12 -4
  20. package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +28 -2
  21. package/lib/style/_variables.scss +20 -7
  22. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
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, OnInit, EventEmitter, PipeTransform, TemplateRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import * as THREE from 'three';
4
4
  import { Object3D, Material, Vector3, Euler, Color, Side, PerspectiveCamera, Scene, Mesh, WebGLRenderer, Camera, Vector2, Light, Intersection } from 'three';
5
5
  import { SafeHtml, EventManager, DomSanitizer, SafeStyle } from '@angular/platform-browser';
@@ -27,12 +27,13 @@ import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
27
27
  import { DeviceDetectorService } from 'ngx-device-detector';
28
28
  import { ColorSpace } from 'three/src/constants.js';
29
29
  import * as i3 from '@angular/common';
30
- import * as i5 from '@colijnit/corecomponents_v12';
30
+ import * as i3$1 from '@colijnit/corecomponents_v12';
31
31
  import * as i7 from '@angular/forms';
32
32
  import { Color as Color$1 } from '@colijnit/configuratorapi/build/model/color';
33
33
  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';
34
+ import * as i4 from '@angular/cdk/clipboard';
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,6 +117,11 @@ declare class IntersectedObjects {
116
117
  constructor(parent?: any, child?: any);
117
118
  }
118
119
 
120
+ declare enum PresetDialogMode {
121
+ SAVE = 0,
122
+ LOAD = 1
123
+ }
124
+
119
125
  declare class AppEventService {
120
126
  instanceSet: BehaviorSubject<string>;
121
127
  answerCountReceived: BehaviorSubject<number>;
@@ -137,6 +143,7 @@ declare class AppEventService {
137
143
  articleInfoReceived: Subject<string>;
138
144
  onObjectSelected: Subject<IntersectedObjects>;
139
145
  onObjectUnSelected: Subject<boolean>;
146
+ changeConfigurationPresetDialogMode: Subject<PresetDialogMode>;
140
147
  static ɵfac: i0.ɵɵFactoryDeclaration<AppEventService, never>;
141
148
  static ɵprov: i0.ɵɵInjectableDeclaration<AppEventService>;
142
149
  }
@@ -217,6 +224,9 @@ declare class SettingOptions {
217
224
  useExternalOpenSave?: boolean;
218
225
  floorFadeStart?: number;
219
226
  floorFadeEnd?: number;
227
+ maxVisibleTiles: number;
228
+ maxVisibleSmallTiles: number;
229
+ groupedShowAllBtn: boolean;
220
230
  }
221
231
 
222
232
  declare class RenderParameters {
@@ -282,6 +292,9 @@ declare class ConfiguratorSettings {
282
292
  jwtEnabled?: boolean;
283
293
  gtm?: string;
284
294
  dracoPath?: string;
295
+ mainUrl?: string;
296
+ mainSchema?: string;
297
+ mainVersion?: string;
285
298
  options?: SettingOptions;
286
299
  catalogParameters?: GetArticlesForCatalogRequest;
287
300
  renderParameters?: RenderParameters;
@@ -422,7 +435,7 @@ declare class ConfiguratorService {
422
435
  constructor();
423
436
  initApi(options: Options): void;
424
437
  cleanUp(): void;
425
- initConnector(options: Options, forceReload?: boolean): Promise<boolean>;
438
+ initConnector(options: Options, forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<boolean>;
426
439
  initNodeInstance(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
427
440
  changeConnection(instanceId: string, oldConnection: string, newConnection: string, showLoader: boolean): Promise<DataServiceResponseData>;
428
441
  setInstanceToConfigure(id: string, showLoader?: boolean): Promise<DataServiceResponseData>;
@@ -451,6 +464,8 @@ declare class ConfiguratorService {
451
464
  getImage(key: number | string, publication: number, thumb: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
452
465
  copyInstance(instanceId: string, shouldSaveCurrentInstanceId: boolean, showLoader?: boolean): Promise<DataServiceResponseData>;
453
466
  saveConfigurations(showLoader?: boolean): Promise<boolean>;
467
+ storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
468
+ initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
454
469
  googleTranslateEnabled(): Promise<boolean>;
455
470
  getDefaultLanguage(upId: number): Promise<string>;
456
471
  getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
@@ -508,7 +523,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
508
523
  private _boFactory;
509
524
  constructor(_configuratorService: ConfiguratorService, _appEventService: AppEventService, _settingsService: SettingsService, _loaderService: LoaderService);
510
525
  ngOnDestroy(): void;
511
- initConnection(forceReload?: boolean, standAlone?: boolean): Promise<void>;
526
+ initConnection(forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<void>;
512
527
  onShowLoaderChange(showLoader: boolean): void;
513
528
  onConnectionReset(): void;
514
529
  getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<number>;
@@ -545,6 +560,8 @@ declare class ConfiguratorConnectorService implements OnDestroy {
545
560
  getInternalParameter(parameter: InternalParam): Promise<string>;
546
561
  emptySelections(): void;
547
562
  saveConfigurations(): Promise<void>;
563
+ storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
564
+ initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
548
565
  getDefaultLanguage(upId: number): Promise<string>;
549
566
  googleTranslateEnabled(): Promise<boolean>;
550
567
  getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
@@ -1539,6 +1556,7 @@ declare enum IconEnum {
1539
1556
  ArrowTurnRight = "arrow_turn_right",
1540
1557
  ArrowTurnRightRegular = "arrow_turn_right_regular",
1541
1558
  ArCircle = "ar_circle",
1559
+ BarsLightFull = "bars_light_full",
1542
1560
  Brush = "brush",
1543
1561
  CameraSolid = "camera_solid",
1544
1562
  CameraTopdown = "camera_topdown",
@@ -1563,6 +1581,7 @@ declare enum IconEnum {
1563
1581
  ConfFrame = "conf_frame",
1564
1582
  ConfPlane = "conf_plane",
1565
1583
  CopyLight = "copy_light",
1584
+ CopyRegularFull = "copy_regular_full",
1566
1585
  Couch = "couch",
1567
1586
  Cross = "cross",
1568
1587
  CubeOutline = "cube-outline",
@@ -1575,7 +1594,9 @@ declare enum IconEnum {
1575
1594
  EditButton = "edit-button",
1576
1595
  Expand = "expand",
1577
1596
  FillDripLight = "fill_drip_light",
1597
+ FloppyDiskLightFull = "floppy_disk_light_full",
1578
1598
  Flower = "flower",
1599
+ FolderOpenLightFull = "folder_open_light_full",
1579
1600
  GaugeHighSolidFull = "gauge_high_solid_full",
1580
1601
  GaugeLowSolidFull = "gauge_low_solid_full",
1581
1602
  GaugeMaxSolidFull = "gauge_max_solid_full",
@@ -1629,6 +1650,7 @@ declare enum IconEnum {
1629
1650
  WandMagicSparkles = "wand_magic_sparkles",
1630
1651
  WifiSolidFull = "wifi_solid_full",
1631
1652
  XmarkLight = "xmark_light",
1653
+ XmarkLightFull = "xmark_light_full",
1632
1654
  XmarkRegular = "xmark_regular"
1633
1655
  }
1634
1656
 
@@ -2283,6 +2305,7 @@ declare class ConfiguratorComponent implements OnDestroy {
2283
2305
  canCloseConfigurator: boolean;
2284
2306
  animateSlideout: boolean;
2285
2307
  showHeaderInformation: boolean;
2308
+ showSaveAndLoadConfiguration: boolean;
2286
2309
  buildResult: EventEmitter<ConfigurationResultObject>;
2287
2310
  isLoading: EventEmitter<boolean>;
2288
2311
  updateProgressBar: EventEmitter<boolean>;
@@ -2299,7 +2322,7 @@ declare class ConfiguratorComponent implements OnDestroy {
2299
2322
  handleCloseErrorDialog(): void;
2300
2323
  private _handleArticleNotFound;
2301
2324
  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>;
2325
+ 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; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "buildResult": "buildResult"; "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
2303
2326
  }
2304
2327
 
2305
2328
  declare class ProgressBarComponent {
@@ -2326,7 +2349,7 @@ declare class ConfiguratorLoaderComponent {
2326
2349
 
2327
2350
  declare class ConfiguratorLoaderModule {
2328
2351
  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]>;
2352
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i3$1.LoaderModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
2330
2353
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
2331
2354
  }
2332
2355
 
@@ -2492,7 +2515,7 @@ declare class PipesModule {
2492
2515
 
2493
2516
  declare class ConfiguratorDialogModule {
2494
2517
  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]>;
2518
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof PipesModule, typeof i3$1.IconModule, typeof i3.CommonModule, typeof i7.FormsModule], [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent]>;
2496
2519
  static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
2497
2520
  }
2498
2521
 
@@ -2507,6 +2530,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
2507
2530
  canCloseConfigurator: boolean;
2508
2531
  animateSlideout: boolean;
2509
2532
  showHeaderInformation: boolean;
2533
+ showSaveAndLoadConfiguration: boolean;
2510
2534
  buildFinished: EventEmitter<ConfigurationResultObject>;
2511
2535
  showChange: EventEmitter<boolean>;
2512
2536
  showElementToolbar: boolean;
@@ -2526,7 +2550,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
2526
2550
  private _handleTemplateChange;
2527
2551
  private _handleBuildResult;
2528
2552
  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>;
2553
+ 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; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "buildFinished": "buildFinished"; "showChange": "showChange"; }, never, never, false, never>;
2530
2554
  }
2531
2555
 
2532
2556
  declare class LiteSelectorComponent implements OnDestroy {
@@ -2544,6 +2568,7 @@ declare class LiteSelectorComponent implements OnDestroy {
2544
2568
  canClose: boolean;
2545
2569
  animateSlideout: boolean;
2546
2570
  customDimensions: boolean;
2571
+ showSaveAndLoadConfiguration: boolean;
2547
2572
  readonly showChange: EventEmitter<boolean>;
2548
2573
  readonly answerChosen: EventEmitter<Answer>;
2549
2574
  answerToShowFromSelectionText: string;
@@ -2560,7 +2585,7 @@ declare class LiteSelectorComponent implements OnDestroy {
2560
2585
  onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
2561
2586
  onAnswersSlideoutAnswerChosen(answerSelected: any): void;
2562
2587
  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>;
2588
+ 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; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
2564
2589
  }
2565
2590
 
2566
2591
  declare class AnswerCardComponent implements OnInit {
@@ -2748,13 +2773,13 @@ declare class AnswersInfoDialogComponent implements OnInit {
2748
2773
 
2749
2774
  declare class AnswersInfoDialogModule {
2750
2775
  static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
2751
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof PipesModule, typeof i5.IconModule], [typeof AnswersInfoDialogComponent]>;
2776
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof PipesModule, typeof i3$1.IconModule], [typeof AnswersInfoDialogComponent]>;
2752
2777
  static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
2753
2778
  }
2754
2779
 
2755
2780
  declare class AnswerCardModule {
2756
2781
  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]>;
2782
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i3$1.CardModule, typeof PipesModule, typeof i3$1.CardModule, typeof i3$1.InputTextModule, typeof i3$1.IconModule, typeof AnswersInfoDialogModule, typeof i3$1.CardModule, typeof i3$1.ButtonModule], [typeof AnswerCardComponent]>;
2758
2783
  static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
2759
2784
  }
2760
2785
 
@@ -2772,7 +2797,7 @@ declare class ImageZoomComponent {
2772
2797
 
2773
2798
  declare class ImageZoomModule {
2774
2799
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
2775
- static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
2800
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
2776
2801
  static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
2777
2802
  }
2778
2803
 
@@ -2794,7 +2819,7 @@ declare class ColorFilterComponent {
2794
2819
 
2795
2820
  declare class ColorFilterModule {
2796
2821
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterModule, never>;
2797
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i5.IconModule], [typeof ColorFilterComponent]>;
2822
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i3$1.IconModule], [typeof ColorFilterComponent]>;
2798
2823
  static ɵinj: i0.ɵɵInjectorDeclaration<ColorFilterModule>;
2799
2824
  }
2800
2825
 
@@ -2845,7 +2870,7 @@ declare class DirectivesModule {
2845
2870
 
2846
2871
  declare class AnswersSlideoutModule {
2847
2872
  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]>;
2873
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof PipesModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof i3$1.PriceDisplayPipeModule, typeof AnswerCardModule, typeof ImageZoomModule, typeof ColorFilterModule, typeof TagFilterModule, typeof DirectivesModule], [typeof AnswersSlideoutComponent]>;
2849
2874
  static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
2850
2875
  }
2851
2876
 
@@ -2859,6 +2884,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
2859
2884
  canClose: boolean;
2860
2885
  answersTemplate: TemplateRef<any>;
2861
2886
  answerToShowFromSelectionText: string;
2887
+ showSaveAndLoadConfiguration: boolean;
2862
2888
  customDimensions: boolean;
2863
2889
  disableMouse: boolean;
2864
2890
  handledocumentMouseUp(event: any): void;
@@ -2879,7 +2905,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
2879
2905
  handleDelete(event: MouseEvent, sel: Selection): void;
2880
2906
  toggleElement(sel: Selection): void;
2881
2907
  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>;
2908
+ 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
2909
  }
2884
2910
 
2885
2911
  declare class CoSummaryLine implements AfterViewInit {
@@ -2931,7 +2957,7 @@ declare class CoSummaryLine implements AfterViewInit {
2931
2957
 
2932
2958
  declare class CoSummaryLineModule {
2933
2959
  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]>;
2960
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof PipesModule, typeof i3.CommonModule, typeof i3$1.PriceDisplayPipeModule, typeof i3$1.ImageModule, typeof i3$1.IconModule], [typeof CoSummaryLine]>;
2935
2961
  static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
2936
2962
  }
2937
2963
 
@@ -2965,9 +2991,30 @@ declare class SelectionsSummaryLineModule {
2965
2991
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
2966
2992
  }
2967
2993
 
2994
+ declare class ConfigurationPresetComponent {
2995
+ iconService: IconCacheService;
2996
+ private _appEventService;
2997
+ readonly icons: typeof IconEnum;
2998
+ isSaveLoadMenuOpen: boolean;
2999
+ showClass(): boolean;
3000
+ closeSaveLoadMenu(): void;
3001
+ constructor(iconService: IconCacheService, _appEventService: AppEventService);
3002
+ toggleSaveLoadMenu(event: MouseEvent): void;
3003
+ handleSavePresetClicked(): void;
3004
+ handleLoadPresetClicked(): void;
3005
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetComponent, never>;
3006
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetComponent, "co-configuration-preset", never, {}, {}, never, never, false, never>;
3007
+ }
3008
+
3009
+ declare class ConfigurationPresetModule {
3010
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetModule, never>;
3011
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetModule, [typeof ConfigurationPresetComponent], [typeof PipesModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard], [typeof ConfigurationPresetComponent]>;
3012
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetModule>;
3013
+ }
3014
+
2968
3015
  declare class SelectionsSummaryModule {
2969
3016
  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]>;
3017
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof PipesModule, typeof i3$1.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i3$1.IconModule, typeof ConfigurationPresetModule], [typeof SelectionsSummaryComponent]>;
2971
3018
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
2972
3019
  }
2973
3020
 
@@ -3003,6 +3050,7 @@ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
3003
3050
  showLabel: boolean;
3004
3051
  canClose: boolean;
3005
3052
  customDimensions: boolean;
3053
+ showSaveAndLoadConfiguration: boolean;
3006
3054
  readonly showChange: EventEmitter<boolean>;
3007
3055
  readonly answerChosen: EventEmitter<Answer>;
3008
3056
  valutaSymbol: string;
@@ -3019,17 +3067,16 @@ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
3019
3067
  onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
3020
3068
  handleCloseClick(): void;
3021
3069
  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>;
3070
+ 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; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
3023
3071
  }
3024
3072
 
3025
- declare class ProductConfiguratorSelectorComponent implements OnInit {
3073
+ declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges {
3026
3074
  configuratorConnectorService: ConfiguratorConnectorService;
3027
3075
  settingsService: SettingsService;
3028
3076
  iconService: IconCacheService;
3029
- showClass(): boolean;
3077
+ get hostClasses(): string;
3030
3078
  readonly icons: typeof IconEnum;
3031
3079
  exceptionContainer?: ElementRef;
3032
- get hostClasses(): string;
3033
3080
  selection: SelectorStructure;
3034
3081
  options: SelectorWithOptions[];
3035
3082
  lastNodeWithChildren: boolean;
@@ -3037,20 +3084,41 @@ declare class ProductConfiguratorSelectorComponent implements OnInit {
3037
3084
  treeLevelIndex: number;
3038
3085
  isActive: boolean;
3039
3086
  markAsException: boolean;
3087
+ showAll: boolean;
3088
+ suppressSubShowMore: boolean;
3089
+ useGroupedParentVisibility: boolean;
3040
3090
  activate: EventEmitter<void>;
3041
- get selectionIndexText(): string;
3042
3091
  selectionClass: string;
3043
3092
  listOfChoices: SelectorStructure[];
3044
3093
  activeChildIndex: number;
3094
+ localShowAll: boolean;
3095
+ get selectionIndexText(): string;
3096
+ get expandButtonText(): string;
3097
+ get suppressSubShowMoreForChildren(): boolean;
3098
+ get groupedRemainingTilesCount(): number;
3099
+ get useGroupedVisibilityForChildren(): boolean;
3045
3100
  constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService);
3046
3101
  ngOnInit(): void;
3102
+ ngOnChanges(changes: SimpleChanges): void;
3047
3103
  showAndScroll(): void;
3048
3104
  onSubHeaderClick(): void;
3105
+ onShowAllClick(): void;
3106
+ getIsChildVisible(index: number): boolean;
3107
+ isGroupedSection(): boolean;
3108
+ shouldShowExpandButton(): boolean;
3109
+ getChildShowAll(): boolean;
3110
+ private _shouldBeVisible;
3111
+ private _setActiveChildIndexFromSelection;
3112
+ private _hasSelectedOption;
3113
+ private _countRemainingTiles;
3114
+ private _countGroupedTilesToReveal;
3115
+ private _countAllTiles;
3116
+ private _remainingTilesForLeaf;
3049
3117
  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>;
3118
+ 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
3119
  }
3052
3120
 
3053
- declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
3121
+ declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnChanges {
3054
3122
  configuratorConnectorService: ConfiguratorConnectorService;
3055
3123
  settingsService: SettingsService;
3056
3124
  productConfiguratorService: ProductConfiguratorService;
@@ -3058,6 +3126,8 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
3058
3126
  selection: SelectorStructure;
3059
3127
  listOfChoices: SelectorStructure[];
3060
3128
  markAsException: boolean;
3129
+ showGlobalAll: boolean;
3130
+ groupedSubShow: boolean;
3061
3131
  configurationDisplayOption: typeof ConfigurationDisplayOption;
3062
3132
  selectionClass: string;
3063
3133
  showAllTiles: boolean;
@@ -3065,14 +3135,18 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
3065
3135
  maxVisibleSmallTiles: number;
3066
3136
  visibleAnswers: SelectorStructure[];
3067
3137
  remainingTilesCount: number;
3138
+ readonly smallTileOptions: ConfigurationDisplayOption[];
3139
+ readonly largeTileOptions: ConfigurationDisplayOption[];
3068
3140
  constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService);
3069
3141
  ngOnInit(): void;
3142
+ ngOnChanges(changes: SimpleChanges): void;
3070
3143
  selectionClicked(answer: SelectorStructure): void;
3071
3144
  showMore(): void;
3072
3145
  showLess(): void;
3146
+ getTileClass(): string;
3073
3147
  private _calculateVisibleAnswers;
3074
3148
  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>;
3149
+ 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
3150
  }
3077
3151
 
3078
3152
  declare class ProductConfiguratorSelectorOptionTileComponent {
@@ -3083,16 +3157,17 @@ declare class ProductConfiguratorSelectorOptionTileComponent {
3083
3157
  readonly icons: typeof IconEnum;
3084
3158
  option: SelectorStructure;
3085
3159
  tileClass: string;
3160
+ noLabel: boolean;
3086
3161
  selectionClicked: EventEmitter<void>;
3087
3162
  constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3088
3163
  changeSelection(): void;
3089
3164
  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>;
3165
+ 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
3166
  }
3092
3167
 
3093
3168
  declare class ProductConfiguratorSelectorOptionTileModule {
3094
3169
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
3095
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i5.IconModule, typeof i3.CommonModule, typeof PipesModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
3170
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof PipesModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
3096
3171
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
3097
3172
  }
3098
3173
 
@@ -3112,7 +3187,7 @@ declare class ProductConfiguratorOptionCheckboxComponent {
3112
3187
 
3113
3188
  declare class ProductConfiguratorSelectorOptionCheckboxModule {
3114
3189
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
3115
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
3190
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
3116
3191
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
3117
3192
  }
3118
3193
 
@@ -3132,7 +3207,7 @@ declare class ProductConfiguratorSelectorOptionButtonComponent {
3132
3207
 
3133
3208
  declare class ProductConfiguratorSelectorOptionButtonModule {
3134
3209
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
3135
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
3210
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
3136
3211
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
3137
3212
  }
3138
3213
 
@@ -3153,7 +3228,7 @@ declare class ProductConfiguratorSelectorOptionDropDownComponent {
3153
3228
 
3154
3229
  declare class ProductConfiguratorSelectorOptionDropdownModule {
3155
3230
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
3156
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
3231
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
3157
3232
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
3158
3233
  }
3159
3234
 
@@ -3165,19 +3240,50 @@ declare class ProductConfiguratorSelectorOptionModule {
3165
3240
 
3166
3241
  declare class ProductConfiguratorSelectorModule {
3167
3242
  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]>;
3243
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
3169
3244
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
3170
3245
  }
3171
3246
 
3172
3247
  declare class ProductConfiguratorModule {
3173
3248
  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]>;
3249
+ 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 PipesModule, typeof i3$1.IconModule, typeof i3$1.TooltipDirectiveModule, typeof ProductConfiguratorSelectorModule, typeof ConfigurationPresetModule], [typeof ProductConfiguratorComponent]>;
3175
3250
  static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
3176
3251
  }
3177
3252
 
3253
+ declare class ConfigurationPresetDialogComponent implements OnDestroy {
3254
+ iconService: IconCacheService;
3255
+ private _configuringService;
3256
+ private _configuratorConnectorService;
3257
+ private _dictionaryService;
3258
+ private _appEventService;
3259
+ readonly icons: typeof IconEnum;
3260
+ readonly presetDialogMode: typeof PresetDialogMode;
3261
+ showClass(): boolean;
3262
+ showDialog: boolean;
3263
+ instanceIdInput: string;
3264
+ dialogMode: PresetDialogMode;
3265
+ showValidationErrors: boolean;
3266
+ validationError: string;
3267
+ private _subs;
3268
+ constructor(iconService: IconCacheService, _configuringService: ConfiguringService, _configuratorConnectorService: ConfiguratorConnectorService, _dictionaryService: DictionaryService, _appEventService: AppEventService);
3269
+ ngOnDestroy(): void;
3270
+ handleOpenDialog(mode: PresetDialogMode): void;
3271
+ handleCloseClick(): void;
3272
+ handleCopySuccess(): void;
3273
+ loadConfiguration(): void;
3274
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogComponent, never>;
3275
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetDialogComponent, "co-configuration-preset-dialog", never, {}, {}, never, never, false, never>;
3276
+ }
3277
+
3278
+ declare class ConfigurationPresetDialogModule {
3279
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogModule, never>;
3280
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetDialogModule, [typeof ConfigurationPresetDialogComponent], [typeof PipesModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard], [typeof ConfigurationPresetDialogComponent]>;
3281
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetDialogModule>;
3282
+ }
3283
+
3178
3284
  declare class ThreedselectorModule {
3179
3285
  static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
3180
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule], [typeof ThreedselectorComponent]>;
3286
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule, typeof ConfigurationPresetDialogModule], [typeof ThreedselectorComponent]>;
3181
3287
  static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
3182
3288
  }
3183
3289
 
@@ -3239,7 +3345,7 @@ declare class ElementButtonsComponent implements OnDestroy {
3239
3345
 
3240
3346
  declare class ElementButtonsModule {
3241
3347
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
3242
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
3348
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
3243
3349
  static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
3244
3350
  }
3245
3351
 
@@ -3267,7 +3373,7 @@ declare class ElementToolbarComponent implements OnDestroy {
3267
3373
 
3268
3374
  declare class ElementToolbarModule {
3269
3375
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
3270
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
3376
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof PipesModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
3271
3377
  static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
3272
3378
  }
3273
3379
 
@@ -3291,7 +3397,7 @@ declare class SceneOptionsComponent implements OnDestroy {
3291
3397
 
3292
3398
  declare class SelectionsModule {
3293
3399
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
3294
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i5.IconModule, typeof PipesModule], [typeof SceneOptionsComponent]>;
3400
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof PipesModule], [typeof SceneOptionsComponent]>;
3295
3401
  static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
3296
3402
  }
3297
3403
 
@@ -0,0 +1,42 @@
1
+ @import "../../../style/mixin.scss";
2
+
3
+ @include export-module('co-configuration-preset-layout') {
4
+ .co-configuration-preset {
5
+ .save-load-configuration-buttons {
6
+ display: flex;
7
+ justify-content: end;
8
+ flex-direction: column;
9
+ .preset-button {
10
+ cursor: pointer;
11
+ width: 100%;
12
+ padding: 0;
13
+ background: none;
14
+ }
15
+ }
16
+ .save-load-config-wrapper {
17
+ position: relative;
18
+ .open-save-load {
19
+ cursor: pointer;
20
+ }
21
+ }
22
+
23
+ .save-load-configuration-buttons {
24
+ position: absolute;
25
+ top: 100%;
26
+ right: 0;
27
+ opacity: 0;
28
+ visibility: hidden;
29
+ transform: translateY(-8px);
30
+ pointer-events: none;
31
+ transition: opacity 200ms ease, transform 200ms ease;
32
+ z-index: 10;
33
+ }
34
+
35
+ .save-load-configuration-buttons.is-open {
36
+ opacity: 1;
37
+ visibility: visible;
38
+ transform: translateY(0);
39
+ pointer-events: auto;
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,5 @@
1
+ :root {
2
+ --success-text-color: #155724;
3
+ --success-background-color: #d4edda;
4
+ --success-border-color: #c3e6cb;
5
+ }
@@ -0,0 +1,20 @@
1
+ @import "../../../style/mixin.scss";
2
+
3
+ @include export-module('co-configuration-preset-theme') {
4
+ .co-configuration-preset {
5
+ .save-load-configuration-buttons {
6
+ box-shadow: 1px 1px 4px 1px rgba(151, 146, 132, 0.3);
7
+ padding: 5px;
8
+ .preset-button {
9
+ color: var(--link-text-color);
10
+ .co-icon {
11
+ svg {
12
+ path {
13
+ fill: var(--link-text-color);
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';