@colijnit/configurator 261.20.0 → 261.20.2

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.
package/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import * as i0 from '@angular/core';
2
2
  import { OnDestroy, OnInit, EventEmitter, PipeTransform, TemplateRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef } 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
- import * as i4 from '@angular/platform-browser';
6
5
  import { SafeHtml, EventManager, DomSanitizer, SafeStyle } from '@angular/platform-browser';
7
6
  import { DecoNode } from '@colijnit/configuratorapi/build/model/deco-node';
8
7
  import { Selection } from '@colijnit/configuratorapi/build/model/selection';
@@ -26,16 +25,15 @@ import { SkipButtonInfo } from '@colijnit/configuratorapi/build/model/skip-butto
26
25
  import { WebGLPathTracer } from 'three-gpu-pathtracer';
27
26
  import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
28
27
  import { DeviceDetectorService } from 'ngx-device-detector';
28
+ import { ColorSpace } from 'three/src/constants.js';
29
29
  import * as i3 from '@angular/common';
30
30
  import * as i5 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 i5$1 from '@angular/platform-browser/animations';
35
34
  import * as i3$1 from '@angular/material/icon';
36
- import * as i4$1 from '@angular/material/button';
35
+ import * as i4 from '@angular/material/button';
37
36
  import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
38
- import { ColorSpace } from 'three/src/constants.js';
39
37
 
40
38
  declare class ConfiguratorErrorMessage {
41
39
  message: string;
@@ -89,6 +87,10 @@ declare class ConfigurationResultObject {
89
87
  rotation?: number | Euler;
90
88
  itemType?: number;
91
89
  hdecoType?: string;
90
+ canScaleX?: boolean;
91
+ canScaleY?: boolean;
92
+ canScaleZ?: boolean;
93
+ colorable?: boolean;
92
94
  }
93
95
 
94
96
  declare class LoaderService {
@@ -643,9 +645,10 @@ declare class VariationSettings {
643
645
 
644
646
  declare class VariationCacheService implements OnDestroy {
645
647
  private _settingsService;
648
+ private _configuratorService;
646
649
  private _variations;
647
650
  private _subs;
648
- constructor(_settingsService: SettingsService);
651
+ constructor(_settingsService: SettingsService, _configuratorService: ConfiguratorConnectorService);
649
652
  ngOnDestroy(): void;
650
653
  get(id: string): VariationSettings;
651
654
  set(variations: VariationSettings): void;
@@ -654,6 +657,7 @@ declare class VariationCacheService implements OnDestroy {
654
657
  loadVariation(fileName: string): Promise<VariationSettings>;
655
658
  private _waitForVariationToLoad;
656
659
  private _createSettingsForFileName;
660
+ private _needsMaterials;
657
661
  static ɵfac: i0.ɵɵFactoryDeclaration<VariationCacheService, never>;
658
662
  static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
659
663
  }
@@ -1259,7 +1263,6 @@ declare class UtilsService implements OnDestroy {
1259
1263
  createCanvasImage(thumbnail?: boolean): string;
1260
1264
  loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
1261
1265
  downloadUSDZforARIOS(object: Object3D): Promise<void>;
1262
- cleanedUpObjects(object: Object3D, cleanUp?: boolean): Object3D;
1263
1266
  private _addGroupChildrenToObject;
1264
1267
  private _handleUpdateProgressBar;
1265
1268
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
@@ -1432,7 +1435,6 @@ declare class SwitchBuildFurnitureService implements OnDestroy {
1432
1435
  private _settingsService;
1433
1436
  private _configuratorService;
1434
1437
  currentActiveService: BuildFurnitureBaseService;
1435
- private _standAlone;
1436
1438
  private _controllerInitSub;
1437
1439
  private _standAloneInstance;
1438
1440
  constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: SettingsService, _configuratorService: ConfiguratorConnectorService);
@@ -1517,101 +1519,6 @@ declare class SwitchLoadFurnitureService implements OnDestroy {
1517
1519
  static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
1518
1520
  }
1519
1521
 
1520
- declare class ConfiguringService implements OnDestroy {
1521
- private _initializerService;
1522
- private _loadFurnitureService;
1523
- private _buildFurnitureService;
1524
- private _appEventService;
1525
- private _configuratorConnectorService;
1526
- set settings(value: ConfiguratorSettings);
1527
- get settings(): ConfiguratorSettings;
1528
- set sku(value: string);
1529
- get sku(): string;
1530
- set instanceId(value: string);
1531
- get instanceId(): string;
1532
- set isConfiguring(value: boolean);
1533
- get isConfiguring(): boolean;
1534
- set scene(value: Scene);
1535
- get scene(): Scene;
1536
- onShowLiteSelector: EventEmitter<boolean>;
1537
- onShowSelections: EventEmitter<boolean>;
1538
- onShowAnswers: EventEmitter<boolean>;
1539
- onShowFullConfiguration: EventEmitter<boolean>;
1540
- buildResult: ConfigurationResultObject;
1541
- private _settings;
1542
- private _sku;
1543
- private _instanceId;
1544
- private _isConfiguring;
1545
- private _scene;
1546
- private _showFullConfiguration;
1547
- private _subs;
1548
- constructor(_initializerService: AppInitializerService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: AppEventService, _configuratorConnectorService: ConfiguratorConnectorService);
1549
- ngOnDestroy(): void;
1550
- init(settings: any): Promise<void>;
1551
- configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
1552
- private _handleTemplateChange;
1553
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
1554
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
1555
- }
1556
-
1557
- declare class ConfiguratorComponent implements OnDestroy {
1558
- settingsService: SettingsService;
1559
- loaderService: LoaderService;
1560
- private _appEventService;
1561
- private _configuringService;
1562
- showClass(): boolean;
1563
- showLoader: boolean;
1564
- showProgressBar: boolean;
1565
- showErrorMessages: boolean;
1566
- outputErrorMessages: boolean;
1567
- canCloseConfigurator: boolean;
1568
- buildResult: EventEmitter<ConfigurationResultObject>;
1569
- isLoading: EventEmitter<boolean>;
1570
- updateProgressBar: EventEmitter<boolean>;
1571
- errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
1572
- showChange: EventEmitter<boolean>;
1573
- resultHasErrors: boolean;
1574
- showErrorDiagram: boolean;
1575
- configurationResultObject: ConfigurationResultObject;
1576
- private _subs;
1577
- constructor(settingsService: SettingsService, loaderService: LoaderService, _appEventService: AppEventService, _configuringService: ConfiguringService);
1578
- ngOnDestroy(): void;
1579
- handleBuildFinished(result: ConfigurationResultObject): void;
1580
- handleShowChange(show: boolean): void;
1581
- handleCloseErrorDialog(): void;
1582
- private _handleArticleNotFound;
1583
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
1584
- 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; }; }, { "buildResult": "buildResult"; "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
1585
- }
1586
-
1587
- declare class ProgressBarComponent {
1588
- progressService: ProgressService;
1589
- showClass(): boolean;
1590
- get showBar(): boolean;
1591
- constructor(progressService: ProgressService);
1592
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
1593
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
1594
- }
1595
-
1596
- declare class ProgressBarModule {
1597
- static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
1598
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
1599
- static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
1600
- }
1601
-
1602
- declare class ConfiguratorLoaderComponent {
1603
- showClass(): boolean;
1604
- show: boolean;
1605
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
1606
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
1607
- }
1608
-
1609
- declare class ConfiguratorLoaderModule {
1610
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
1611
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i5.LoaderModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
1612
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
1613
- }
1614
-
1615
1522
  /** AUTO GENERATED FILE. DO NOT CHANGE.. **/
1616
1523
  declare enum IconEnum {
1617
1524
  AddButton = "add-button",
@@ -1724,1480 +1631,1667 @@ declare enum IconEnum {
1724
1631
  XmarkRegular = "xmark_regular"
1725
1632
  }
1726
1633
 
1727
- declare class IconCacheService {
1728
- private _sanitizer;
1729
- /**
1730
- * All the icons as a large JSON object, from the all-icons.json file.
1731
- * The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
1732
- */
1733
- get iconCache(): {
1734
- [iconName: string]: SafeHtml;
1735
- };
1736
- private _iconCache;
1737
- private _allIcons;
1738
- constructor(_sanitizer: DomSanitizer);
1739
- getIcon(iconName: string): SafeHtml;
1740
- getIconAsBase64(iconName: IconEnum): SafeHtml;
1741
- setIconCache(): void;
1742
- static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
1743
- static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
1634
+ declare class SceneOptionButtonInterface {
1635
+ id: number;
1636
+ elementId: string;
1637
+ label?: string;
1638
+ class?: string;
1639
+ tooltip?: string;
1640
+ image?: string | SafeHtml;
1641
+ order?: number;
1642
+ toggle?: boolean;
1643
+ tooltipActive?: string;
1644
+ active?: boolean;
1645
+ object?: any;
1646
+ click?: Function;
1647
+ show?: boolean;
1648
+ icon?: IconEnum;
1649
+ children?: SceneOptionButtonInterface[];
1744
1650
  }
1745
1651
 
1746
- declare class ConfiguratorErrorDialogComponent {
1747
- iconService: IconCacheService;
1748
- showClass(): boolean;
1749
- readonly icons: typeof IconEnum;
1750
- errorMessages: ConfiguratorErrorMessage[];
1751
- closeErrorDialoag: EventEmitter<void>;
1752
- onClose(): void;
1753
- constructor(iconService: IconCacheService);
1754
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
1755
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
1652
+ declare class SceneOptionsService {
1653
+ sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
1654
+ sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
1655
+ addSceneOptionButton(button: SceneOptionButtonInterface): void;
1656
+ updateSceneOptionButton(button: SceneOptionButtonInterface): void;
1657
+ static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
1658
+ static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
1756
1659
  }
1757
1660
 
1758
- declare class ConfiguratorExportDialogComponent {
1759
- iconService: IconCacheService;
1760
- itemService: ItemService;
1761
- private _utilService;
1762
- readonly icons: typeof IconEnum;
1763
- closeExportDialog: EventEmitter<void>;
1764
- constructor(iconService: IconCacheService, itemService: ItemService, _utilService: UtilsService);
1765
- onClose(): void;
1766
- downloadGLB(): void;
1767
- downloadUSDZ(): void;
1768
- downloadBoth(): void;
1769
- downloadThumbnail(): void;
1770
- private _getObjectToExport;
1771
- private _download3DModelAsGLB;
1772
- private _download3DModelAsUSDZ;
1773
- private _downloadFile;
1774
- private _base64ToBlob;
1775
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
1776
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
1661
+ declare enum TextureType {
1662
+ Basic = 0,
1663
+ Image = 1,
1664
+ CustomPattern = 2,
1665
+ PBR = 3,
1666
+ SHADOW = 4
1777
1667
  }
1778
1668
 
1779
- declare class CameraSettings {
1780
- sku: string;
1781
- position: Vector3;
1782
- rotation: Vector3;
1783
- maxHorizontalOrbit: number;
1784
- minHorizontalOrbit: number;
1785
- maxVerticalOrbit: number;
1786
- minVerticalOrbit: number;
1787
- maxZoomDistance: number;
1788
- minZoomDistance: number;
1669
+ interface TextureInterface {
1670
+ name?: string;
1671
+ type?: string | TextureType;
1672
+ url?: string;
1673
+ materializeUrl?: string;
1674
+ bumpMap?: string;
1675
+ bumpScale?: number;
1676
+ roughness?: number;
1677
+ roughnessMap?: string;
1678
+ normalMap?: string;
1679
+ alphaMap?: string;
1680
+ repeatX?: number;
1681
+ repeatY?: number;
1682
+ metalness?: number;
1683
+ metalnessMap?: string;
1684
+ aoMapIntensity?: number;
1685
+ aoMap?: string;
1686
+ data?: any;
1687
+ color?: string;
1688
+ emissive?: string;
1689
+ show?: boolean;
1690
+ default?: boolean;
1691
+ surfaces?: string[];
1692
+ offset?: THREE.Vector2;
1693
+ scale?: number;
1694
+ rotation?: number;
1695
+ stretch?: boolean;
1696
+ height?: number;
1697
+ width?: number;
1698
+ tileSize?: number;
1699
+ tileRotation?: number;
1700
+ useStandalone?: boolean;
1701
+ defaultStandalone?: boolean;
1702
+ mirror?: boolean;
1703
+ simplePlane?: boolean;
1704
+ toneMapped?: boolean;
1705
+ transparent?: boolean;
1706
+ opacity?: number;
1707
+ side?: number;
1708
+ depthWrite?: boolean;
1709
+ depthTest?: boolean;
1789
1710
  }
1790
1711
 
1791
- declare class DynamicCameraService {
1792
- private _cameraService;
1793
- private _sceneService;
1794
- private _settingsService;
1795
- private _configuratorConnectorService;
1796
- currentCameraSettings: CameraSettings[];
1797
- constructor(_cameraService: CameraService, _sceneService: SceneService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
1798
- initCameraSettings(): Promise<void>;
1799
- getCameraSettings(): CameraSettings;
1800
- loadCustomCameraSettings(): Promise<void>;
1801
- exportCameraSettings(): any;
1802
- saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
1803
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicCameraService, never>;
1804
- static ɵprov: i0.ɵɵInjectableDeclaration<DynamicCameraService>;
1712
+ interface AdjustableElementInterface {
1713
+ identifier: string;
1714
+ connector: string;
1715
+ connectedNodeId: number;
1805
1716
  }
1806
1717
 
1807
- declare class ConfiguratorCameraSettingsComponent implements OnInit {
1808
- iconService: IconCacheService;
1809
- private _cameraService;
1810
- private _dynamicCameraService;
1811
- private _configuratorConnectorService;
1812
- readonly icons: typeof IconEnum;
1813
- closeCameraDialog: EventEmitter<void>;
1814
- tempCameraSettings: CameraSettings;
1815
- currentSku: string;
1816
- positionAsString: string;
1817
- rotationAsString: string;
1818
- constructor(iconService: IconCacheService, _cameraService: CameraService, _dynamicCameraService: DynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
1819
- ngOnInit(): void;
1820
- onClose(): void;
1821
- saveSettings(asDefault: boolean): void;
1822
- exportSettings(): void;
1823
- saveCurrentPosition(): void;
1824
- saveCurrentRotation(): void;
1825
- private _parsePositionAndRotation;
1826
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraSettingsComponent, never>;
1827
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
1718
+ interface Skin {
1719
+ [face: string]: SkinFragment;
1720
+ }
1721
+ interface SkinFragment {
1722
+ color?: number;
1723
+ texture?: Texture;
1828
1724
  }
1829
1725
 
1830
- declare class AppendPipe implements PipeTransform {
1831
- transform(value: string, append?: string): string;
1832
- static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
1833
- static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
1726
+ /** Meta data for items. */
1727
+ interface Metadata {
1728
+ itemName?: string;
1729
+ itemDescription?: string;
1730
+ itemType?: number;
1731
+ /**
1732
+ * InstanceId
1733
+ */
1734
+ itemId?: string;
1735
+ originalItemId?: string;
1736
+ /**
1737
+ * Sku
1738
+ */
1739
+ itemIdentifier?: string;
1740
+ goodId?: string;
1741
+ goodType?: string;
1742
+ isCustom?: boolean;
1743
+ locked?: boolean;
1744
+ configurable?: boolean;
1745
+ ione?: boolean;
1746
+ position?: Vector3;
1747
+ rotation?: number | Euler;
1748
+ scale?: Vector3;
1749
+ centerPivot?: boolean;
1750
+ ignoreInvisible?: boolean;
1751
+ updatePivotOnCreate?: boolean;
1752
+ elementConfiguration?: AdjustableElementInterface[];
1753
+ obsolete?: boolean;
1754
+ thirdPartyModel?: boolean;
1755
+ usePivot?: boolean;
1756
+ decos?: DecoNode[];
1757
+ selections?: Selection[];
1758
+ canElevate?: boolean;
1759
+ onWall?: boolean;
1760
+ modelUrl?: string;
1761
+ scalable?: boolean;
1762
+ scalePercentage?: number;
1763
+ resizable?: boolean;
1764
+ elevation?: number;
1765
+ elevationFixed?: boolean;
1766
+ elevationAdjustable?: boolean;
1767
+ schema?: string;
1768
+ assetPath?: string;
1769
+ texture?: Texture;
1770
+ textureAssetName?: string;
1771
+ skin?: Skin;
1772
+ frameColor?: number;
1773
+ doorColor?: number;
1774
+ windowColor?: THREE.Color;
1775
+ doorpost?: boolean;
1776
+ isGlass?: boolean;
1777
+ itemGroup?: any;
1778
+ canRotateX?: boolean;
1779
+ canRotateY?: boolean;
1780
+ canRotateZ?: boolean;
1781
+ canScaleX?: boolean;
1782
+ canScaleY?: boolean;
1783
+ canScaleZ?: boolean;
1784
+ colorable?: boolean;
1785
+ default180?: boolean;
1786
+ objectUUID?: string;
1787
+ conversionGTMSend?: boolean;
1788
+ conversionSubmittedPrice?: string;
1789
+ hdecoType?: string;
1790
+ opening?: {
1791
+ show: boolean;
1792
+ double: boolean;
1793
+ invertDirection: boolean;
1794
+ invertSide: boolean;
1795
+ };
1834
1796
  }
1835
1797
 
1836
- declare class LocalizePipe implements PipeTransform {
1837
- private _dictionaryService;
1838
- constructor(_dictionaryService: DictionaryService);
1839
- transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
1840
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
1841
- static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
1798
+ declare class Texture {
1799
+ name: string;
1800
+ type: TextureType;
1801
+ url: string;
1802
+ materializeUrl: string;
1803
+ bumpMap: string;
1804
+ bumpScale: number;
1805
+ roughness: number;
1806
+ roughnessMap: string;
1807
+ normalMap: string;
1808
+ repeatX: number;
1809
+ repeatY: number;
1810
+ metalness: number;
1811
+ metalnessMap: string;
1812
+ aoMapIntensity: number;
1813
+ aoMap: string;
1814
+ alphaMap: string;
1815
+ color: string;
1816
+ emissive: string;
1817
+ data: any;
1818
+ surfaces: string[];
1819
+ offset: THREE.Vector2;
1820
+ scale: number;
1821
+ rotation: number;
1822
+ stretch: boolean;
1823
+ show: boolean;
1824
+ default: boolean;
1825
+ height: number;
1826
+ width: number;
1827
+ tileSize: number;
1828
+ tileRotation: number;
1829
+ dimensions: Vector2;
1830
+ offsetScale: number;
1831
+ useStandalone: boolean;
1832
+ defaultStandalone: boolean;
1833
+ mirror: boolean;
1834
+ simplePlane: boolean;
1835
+ toneMapped: boolean;
1836
+ transparent: boolean;
1837
+ opacity: number;
1838
+ side: THREE.Side;
1839
+ depthWrite: boolean;
1840
+ depthTest: boolean;
1841
+ metadata?: Metadata;
1842
+ static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
1842
1843
  }
1843
1844
 
1844
- declare class GoogleTranslateService implements OnDestroy {
1845
+ declare enum ShadowMapLocalType {
1846
+ BasicShadowMap = "BasicShadowMap",
1847
+ PCFShadowMap = "PCFShadowMap",
1848
+ PCFSoftShadowMap = "PCFSoftShadowMap",
1849
+ VSMShadowMap = "VSMShadowMap"
1850
+ }
1851
+
1852
+ declare enum OutputEncoding {
1853
+ NoColorSpace = "NoColorSpace",
1854
+ SRGBColorSpace = "SRGBColorSpace",
1855
+ LinearSRGBColorSpace = "LinearSRGBColorSpace",
1856
+ DisplayP3ColorSpace = "DisplayP3ColorSpace",
1857
+ LinearDisplayP3ColorSpace = "LinearDisplayP3ColorSpace"
1858
+ }
1859
+
1860
+ declare enum LightEnum {
1861
+ SpotLight = "SpotLight",
1862
+ DirectionalLight = "DirectionalLight",
1863
+ AmbientLight = "AmbientLight",
1864
+ HemisphereLight = "HemisphereLight",
1865
+ PointLight = "PointLight"
1866
+ }
1867
+
1868
+ declare class ShadowProperties {
1869
+ mapSize: Vector2;
1870
+ radius: number;
1871
+ near: number;
1872
+ far: number;
1873
+ }
1874
+
1875
+ declare class LightProperties {
1876
+ type: LightEnum;
1877
+ name: string;
1878
+ visible: boolean;
1879
+ position: Vector3;
1880
+ color: Color;
1881
+ groundColor: Color;
1882
+ intensity: number;
1883
+ angle: number;
1884
+ power: number;
1885
+ decay: number;
1886
+ distance: number;
1887
+ penumbra: number;
1888
+ bias: number;
1889
+ radius: number;
1890
+ castShadow: boolean;
1891
+ wallOffset: number;
1892
+ rotationOffset: number;
1893
+ topDownDirectional: boolean;
1894
+ shadow: ShadowProperties;
1895
+ static CreateNew(rawData: any): LightProperties;
1896
+ }
1897
+
1898
+ declare enum ToneMappingLocal {
1899
+ NoToneMapping = "NoToneMapping",
1900
+ LinearToneMapping = "LinearToneMapping",
1901
+ ReinhardToneMapping = "ReinhardToneMapping",
1902
+ CineonToneMapping = "CineonToneMapping",
1903
+ ACESFilmicToneMapping = "ACESFilmicToneMapping",
1904
+ CustomToneMapping = "CustomToneMapping",
1905
+ AgXToneMapping = "AgXToneMapping",
1906
+ NeutralToneMapping = "NeutralToneMapping"
1907
+ }
1908
+
1909
+ interface LightPresetInterface {
1910
+ id: string;
1911
+ name: string;
1912
+ default: boolean;
1913
+ standalone: boolean;
1914
+ group: string;
1915
+ navigatorType: NavigatorType;
1916
+ shadowMapType: ShadowMapLocalType;
1917
+ outputEncoding: OutputEncoding;
1918
+ shadowRadius: number;
1919
+ toneMapping: ToneMappingLocal;
1920
+ toneMappingExposure: number;
1921
+ physicallyCorrectLights: boolean;
1922
+ lights: LightProperties[];
1923
+ hdri: string;
1924
+ hdriIntensity: number;
1925
+ }
1926
+
1927
+ declare class LightPreset {
1928
+ id: string;
1929
+ name: string;
1930
+ navigatorType: NavigatorType;
1931
+ default: boolean;
1932
+ standalone: boolean;
1933
+ group: string;
1934
+ shadowMapType: ShadowMapLocalType;
1935
+ outputEncoding: OutputEncoding;
1936
+ colorSpace: ColorSpace;
1937
+ shadowRadius: number;
1938
+ toneMapping: ToneMappingLocal;
1939
+ toneMappingExposure: number;
1940
+ physicallyCorrectLights: boolean;
1941
+ lights: LightProperties[];
1942
+ hdri: string;
1943
+ hdriIntensity: number;
1944
+ dirty: boolean;
1945
+ constructor();
1946
+ static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
1947
+ private _generateUniqueId;
1948
+ }
1949
+
1950
+ declare class BundleInitializerService implements OnDestroy {
1951
+ private _jsonUtilsService;
1952
+ private _settingsService;
1953
+ private _ioneControllerService;
1954
+ private _appInitializerService;
1955
+ private _configurationService;
1956
+ private _sceneService;
1957
+ private _sceneOptionsService;
1958
+ floorTextures: Texture[];
1959
+ lightPresets: LightPreset[];
1960
+ settings: Setting[];
1961
+ floorTexturesLoaded: BehaviorSubject<Texture[]>;
1962
+ lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
1963
+ settingsLoaded: BehaviorSubject<Setting[]>;
1964
+ allLoaded: BehaviorSubject<boolean>;
1965
+ private _assetPath;
1966
+ private _connectionSet;
1967
+ private _subs;
1968
+ private _jsonFile;
1969
+ private _lightPresetsJsonFile;
1970
+ constructor(_jsonUtilsService: JsonUtilsService, _settingsService: SettingsService, _ioneControllerService: ConfiguratorConnectorService, _appInitializerService: AppInitializerService, _configurationService: ConfigurationService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService);
1971
+ ngOnDestroy(): void;
1972
+ getFloorTextures(): Texture[];
1973
+ getFloorTexture(): Texture;
1974
+ getLightPreset(): LightPreset[];
1975
+ private _initialize;
1976
+ private _createTexture;
1977
+ private _createLightPreset;
1978
+ private _createSettings;
1979
+ static ɵfac: i0.ɵɵFactoryDeclaration<BundleInitializerService, never>;
1980
+ static ɵprov: i0.ɵɵInjectableDeclaration<BundleInitializerService>;
1981
+ }
1982
+
1983
+ declare class FloorPlaneService implements OnDestroy {
1984
+ private _settingsService;
1985
+ private _sceneService;
1986
+ private _sceneOptionsService;
1987
+ private _bundleInitializerService;
1988
+ get floorPlane(): Object3D;
1989
+ floorPlaneCreated: BehaviorSubject<boolean>;
1990
+ private _standaloneFloors;
1991
+ private _floorPlane;
1992
+ private _subs;
1993
+ private _sceneReady;
1994
+ private _texturesReady;
1995
+ constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
1996
+ ngOnDestroy(): void;
1997
+ createFloorPlane(): Promise<void>;
1998
+ getCenterFloorPlane(): Vector3;
1999
+ getDimensions(scale?: number): {
2000
+ x: {
2001
+ min: number;
2002
+ max: number;
2003
+ };
2004
+ y: {
2005
+ min: number;
2006
+ max: number;
2007
+ };
2008
+ };
2009
+ getPlaneSize(): Vector3;
2010
+ private _getStandaloneFloorSize;
2011
+ private _generateFloorPlane;
2012
+ private _createFloorMaterial;
2013
+ private _upsertFloorButtons;
2014
+ private _changeStandaloneFloor;
2015
+ private _setFloorTexture;
2016
+ private _updateFloorMaterial;
2017
+ private _setUpdatedMaterial;
2018
+ private _getMaterials;
2019
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
2020
+ static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
2021
+ }
2022
+
2023
+ declare class LightsService implements OnDestroy {
2024
+ private _sceneService;
2025
+ private _bundleInitializerService;
2026
+ private _configurationService;
2027
+ private _floorPlanService;
2028
+ lights: Light[];
2029
+ onLightAdded: Subject<{
2030
+ light: Light;
2031
+ index: number;
2032
+ }>;
2033
+ private _subs;
2034
+ constructor(_sceneService: SceneService, _bundleInitializerService: BundleInitializerService, _configurationService: ConfigurationService, _floorPlanService: FloorPlaneService);
2035
+ ngOnDestroy(): void;
2036
+ init(): void;
2037
+ createLight<T extends Light>(modelClass: any): void;
2038
+ addLight(light: Light): void;
2039
+ removeAllLights(): void;
2040
+ initiateLightPreset(): void;
2041
+ updateAllOffsets(): void;
2042
+ updateOffsets(light: Light): void;
2043
+ private _addLight;
2044
+ private _removeLight;
2045
+ private _updateShadowCamera;
2046
+ static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
2047
+ static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
2048
+ }
2049
+
2050
+ declare class LightPresetsService implements OnDestroy {
2051
+ private _lightsService;
2052
+ private _appService;
2053
+ private _sceneService;
2054
+ private _screenSizeAnalysis;
1845
2055
  private _settingsService;
2056
+ set activeLightPreset(value: LightPreset);
2057
+ get activeLightPreset(): LightPreset;
2058
+ loadedLightPresets: LightPreset[];
2059
+ presetLoaded: BehaviorSubject<boolean>;
2060
+ private _activeLightPreset;
2061
+ private _lightPresetsLoaded;
2062
+ private _subs;
2063
+ private _lightsMap;
2064
+ constructor(_lightsService: LightsService, _appService: BundleInitializerService, _sceneService: SceneService, _screenSizeAnalysis: ScreenSizeAnalysisService, _settingsService: SettingsService);
2065
+ init(): void;
2066
+ ngOnDestroy(): void;
2067
+ loadLightPreset(lightPreset: LightPreset): Promise<void>;
2068
+ prepareLoadLightPreset(standalone?: boolean): Promise<void>;
2069
+ private _prepareLoadLightPreset;
2070
+ private _createLightFromProperties;
2071
+ private _setObjectProperties;
2072
+ static ɵfac: i0.ɵɵFactoryDeclaration<LightPresetsService, never>;
2073
+ static ɵprov: i0.ɵɵInjectableDeclaration<LightPresetsService>;
2074
+ }
2075
+
2076
+ declare class IntersectionService {
2077
+ private _cameraService;
2078
+ constructor(_cameraService: CameraService);
2079
+ getIntersections(mouseVector: Vector3, planeObjects: Object3D[], options?: any): Intersection[];
2080
+ removeIf(array: any, func: any): any[];
2081
+ static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
2082
+ static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
2083
+ }
2084
+
2085
+ declare class SceneEventService implements OnDestroy {
2086
+ private _sceneService;
2087
+ private _cameraService;
1846
2088
  private _connectorService;
1847
- private _clientLanguage;
1848
- private _defaultLanguage;
1849
- private _translations;
1850
- private _initialized;
1851
- private _initializedSubject;
1852
- private _connectionSubject;
1853
- protected googleApiEnabled: boolean;
1854
- constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
2089
+ private _intersectionService;
2090
+ private _floorPlaneService;
2091
+ private _itemService;
2092
+ private _appEventService;
2093
+ readonly intersectOffsetForWalls = 20;
2094
+ readonly longTouchDuration = 600;
2095
+ rotateNoDrag: boolean;
2096
+ private _element;
2097
+ private _controls;
2098
+ private _camera;
2099
+ private _mousePosition;
2100
+ private _oldMousePosition;
2101
+ private _rotationStartPoint;
2102
+ private _intersectedObject;
2103
+ private _intersectedMesh;
2104
+ private _mouseoverObject;
2105
+ private _selectedObject;
2106
+ private _prevSelectedObject;
2107
+ private _defaultCursorStyle;
2108
+ private _inDragOver;
2109
+ private _mouseDown;
2110
+ private _mouseMoved;
2111
+ private _rotateMouseOver;
2112
+ private _groupingMode;
2113
+ private _state;
2114
+ private _intersectedWall;
2115
+ private _intersectedFloor;
2116
+ private _subs;
2117
+ private _cameraMoveSub;
2118
+ private _debouncedSaveState;
2119
+ private _touchStart;
2120
+ private _touchEnd;
2121
+ private _touchCancel;
2122
+ private _touchMove;
2123
+ constructor(_sceneService: SceneService, _cameraService: CameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ItemService, _appEventService: AppEventService);
1855
2124
  ngOnDestroy(): void;
1856
- getTranslation(input: string): Promise<string>;
1857
- static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
1858
- static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
1859
- }
1860
-
1861
- declare class GoogleTranslatePipe implements PipeTransform {
1862
- private _googleTranslateService;
1863
- constructor(_googleTranslateService: GoogleTranslateService);
1864
- transform(value: string): Observable<string>;
1865
- static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
1866
- static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
1867
- }
1868
-
1869
- declare class PrependPipe implements PipeTransform {
1870
- transform(value: string, prepend?: string): string;
1871
- static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
1872
- static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
2125
+ init(element: HTMLElement): void;
2126
+ setExploreMode(on?: boolean): void;
2127
+ setSelectedObject(object: Object3D, mesh?: Object3D | Mesh): void;
2128
+ setUnselectedObject(): void;
2129
+ private _updateIntersections;
2130
+ private _clearIntersectedObject;
2131
+ private _setMousePositionFromTouchEvent;
2132
+ private _touchStartEvent;
2133
+ private _touchEndEvent;
2134
+ private _touchMoveEvent;
2135
+ private _mouseUpEvent;
2136
+ private _mouseMoveEvent;
2137
+ private _leftMouseDownEvent;
2138
+ private _getIntersections;
2139
+ private _setIntersectedObject;
2140
+ private _isMouseEventAllowed;
2141
+ private _mouseToVec3;
2142
+ private _markSceneToUpdate;
2143
+ private _setCursorStyle;
2144
+ static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
2145
+ static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
1873
2146
  }
1874
2147
 
1875
- declare class StripHtmlPipe implements PipeTransform {
1876
- transform(html: string): string;
1877
- static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
1878
- static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
2148
+ declare class RenderResponse {
2149
+ result: string;
2150
+ statusCode: number;
1879
2151
  }
1880
2152
 
1881
- declare class PipesModule {
1882
- static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
1883
- 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]>;
1884
- static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
2153
+ declare enum BlenderRenderType {
2154
+ Realtime = 0,
2155
+ Raytrace = 1
1885
2156
  }
1886
2157
 
1887
- declare class ConfiguratorDialogModule {
1888
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
1889
- 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]>;
1890
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
2158
+ declare class OptionalRenderSettings {
2159
+ objectWidth: number;
2160
+ objectHeight: number;
2161
+ renderType: number | BlenderRenderType;
2162
+ objectRotation: any;
2163
+ margin: number;
2164
+ cameraRotationX: number;
2165
+ forceTransparency: boolean;
1891
2166
  }
1892
2167
 
1893
- declare class ThreedselectorComponent implements OnInit, OnDestroy {
1894
- private _appEventService;
1895
- private _buildFurnitureService;
1896
- private _configuringService;
1897
- private _configuratorService;
1898
- showClass(): boolean;
1899
- customizeButtonClicked: EventEmitter<void>;
2168
+ declare class RenderBaseObject {
1900
2169
  selections: Selection[];
1901
- canCloseConfigurator: boolean;
1902
- buildFinished: EventEmitter<ConfigurationResultObject>;
1903
- showChange: EventEmitter<boolean>;
1904
- showElementToolbar: boolean;
1905
- showLiteSelector: boolean;
1906
- showSelections: boolean;
1907
- showAnswers: boolean;
1908
- showFullConfiguration: boolean;
1909
- private _floorTexturesLoadedSub;
1910
- private _subs;
1911
- private _loadingFromPreset;
1912
- constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
1913
- ngOnInit(): Promise<void>;
1914
- ngOnDestroy(): void;
1915
- get showTemplate(): boolean;
1916
- handleShowChangeSelector(show: boolean): void;
1917
- private _handleAnswerCountReceived;
1918
- private _handleTemplateChange;
1919
- private _handleBuildResult;
1920
- static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorComponent, never>;
1921
- static ɵcmp: i0.ɵɵComponentDeclaration<ThreedselectorComponent, "co-threedselector", never, { "selections": { "alias": "selections"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "buildFinished": "buildFinished"; "showChange": "showChange"; }, never, never, false, never>;
2170
+ decos: DecoNode[];
2171
+ assetUrl: string;
2172
+ cdnUrl: string;
2173
+ schema: string;
2174
+ options: any;
1922
2175
  }
1923
2176
 
1924
- declare class LiteSelectorComponent implements OnDestroy {
1925
- buildFurnitureService: SwitchBuildFurnitureService;
1926
- configuratorConnectorService: ConfiguratorConnectorService;
1927
- private _configuringService;
1928
- showClass(): boolean;
1929
- templateAnswers: TemplateRef<any>;
1930
- set showAnswers(value: boolean);
1931
- get showAnswers(): boolean;
1932
- show: boolean;
1933
- set showSelections(value: boolean);
1934
- get showSelections(): boolean;
1935
- showLabel: boolean;
1936
- canClose: boolean;
1937
- customDimensions: boolean;
1938
- readonly showChange: EventEmitter<boolean>;
1939
- readonly answerChosen: EventEmitter<Answer>;
1940
- answerToShowFromSelectionText: string;
1941
- inlineAnswers: boolean;
1942
- animateSlideout: boolean;
1943
- private _showAnswers;
1944
- private _answersShowing;
1945
- private _showSelections;
1946
- private _selectionSelected;
2177
+ declare class RenderApi {
2178
+ private _settingsService;
2179
+ private _overWriteTransparency;
2180
+ constructor(_settingsService: SettingsService);
2181
+ prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
2182
+ sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
2183
+ degreesToVector3(value: number): Vector3;
2184
+ private _adjustCameraRotation;
2185
+ private _getSceneRenderSettings;
2186
+ private _useTransparency;
2187
+ private _setForceTransparency;
2188
+ static ɵfac: i0.ɵɵFactoryDeclaration<RenderApi, never>;
2189
+ static ɵprov: i0.ɵɵInjectableDeclaration<RenderApi>;
2190
+ }
2191
+
2192
+ declare class RenderService implements OnDestroy {
2193
+ private _settingsService;
2194
+ private _cameraService;
2195
+ private _itemService;
2196
+ private _appEventService;
2197
+ private _renderApi;
2198
+ renderImageChanged: BehaviorSubject<string>;
2199
+ renderImageError: BehaviorSubject<string>;
2200
+ blenderRenderStarted: EventEmitter<string>;
2201
+ clientWidth: number;
2202
+ clientHeight: number;
1947
2203
  private _subs;
1948
- constructor(buildFurnitureService: SwitchBuildFurnitureService, configuratorConnectorService: ConfiguratorConnectorService, _configuringService: ConfiguringService);
2204
+ constructor(_settingsService: SettingsService, _cameraService: CameraService, _itemService: ItemService, _appEventService: AppEventService, _renderApi: RenderApi);
1949
2205
  ngOnDestroy(): void;
1950
- onCloseLiteSelectorButtonClick(): void;
1951
- onSelectionsSummarySelectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean): Promise<void>;
1952
- onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
1953
- onAnswersSlideoutAnswerChosen(answerSelected: any): void;
1954
- static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
1955
- 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; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
1956
- }
1957
-
1958
- declare class AnswerCardComponent implements OnInit {
1959
- settingsService: SettingsService;
1960
- iconService: IconCacheService;
1961
- private _configuratorConnectorService;
1962
- readonly icons: typeof IconEnum;
1963
- showClass(): boolean;
1964
- get activeInfoClass(): boolean;
1965
- model: Answer | any;
1966
- valutaSymbol: string;
1967
- set showing(value: boolean);
1968
- isSelected: boolean;
1969
- isSmallModus: boolean;
1970
- freeInput: string;
1971
- readonly freeInputChange: EventEmitter<string>;
1972
- readonly inqNumberChange: EventEmitter<string>;
1973
- readonly select: EventEmitter<string>;
1974
- readonly selectWithInq: EventEmitter<string>;
1975
- readonly magnifierClick: EventEmitter<Answer>;
1976
- readonly answerInfoToggle: EventEmitter<{
1977
- open: boolean;
1978
- id: string;
1979
- }>;
1980
- dialogPosition: {
1981
- top: number;
1982
- right: number;
1983
- } | null;
1984
- inqNumberModel: string;
1985
- inqNumberError: boolean;
1986
- showAnswerInfo: boolean;
1987
- private _waitForInput;
1988
- private _waitForInqValue;
1989
- constructor(settingsService: SettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
1990
- ngOnInit(): void;
1991
- onContentClick(): void;
1992
- handleClick(event: MouseEvent): void;
1993
- onInfoButtonClick(event: MouseEvent): void;
1994
- closeInfo(silent?: boolean): void;
1995
- handleFocusFreeInput(event: MouseEvent): void;
1996
- handleBlurFreeInput(event: MouseEvent): void;
1997
- handleKeyDownFreeInput(event: KeyboardEvent): void;
1998
- handleFocusInqNumber(event: MouseEvent): void;
1999
- handleBlurInqNumber(event: MouseEvent): void;
2000
- handleKeyDownInqNumber(event: KeyboardEvent): void;
2001
- onZoomImage(): void;
2002
- validateInqNumber(event: MouseEvent): boolean;
2003
- replaceTranslationValues(translation: string, min: number, max: number): string;
2004
- private _checkVisibility;
2005
- private _getThumbnailImage;
2006
- static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardComponent, never>;
2007
- static ɵcmp: i0.ɵɵComponentDeclaration<AnswerCardComponent, "co-answer-card", never, { "model": { "alias": "model"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "showing": { "alias": "showing"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "isSmallModus": { "alias": "isSmallModus"; "required": false; }; "freeInput": { "alias": "freeInput"; "required": false; }; }, { "freeInputChange": "freeInputChange"; "inqNumberChange": "inqNumberChange"; "select": "select"; "selectWithInq": "selectWithInq"; "magnifierClick": "magnifierClick"; "answerInfoToggle": "answerInfoToggle"; }, never, never, false, never>;
2206
+ renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
2207
+ getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
2208
+ private _handleAjaxGlb;
2209
+ static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
2210
+ static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
2008
2211
  }
2009
2212
 
2010
- declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2011
- configuratorConnectorService: ConfiguratorConnectorService;
2213
+ declare class ConfiguringService implements OnDestroy {
2012
2214
  settingsService: SettingsService;
2013
- iconService: IconCacheService;
2014
- private _appEventService;
2215
+ private _initializerService;
2216
+ private _loadFurnitureService;
2015
2217
  private _buildFurnitureService;
2016
- private _configuringService;
2017
- showClass(): boolean;
2018
- slideOut: ElementRef;
2019
- cards: QueryList<AnswerCardComponent>;
2020
- readonly icons: typeof IconEnum;
2021
- private readonly _showSmallAnswerCardsFromThisAmount;
2022
- private readonly _propsToSearch;
2023
- isShown: boolean;
2024
- question: Question;
2025
- showTitle: boolean;
2026
- showFilter: boolean;
2027
- set answers(value: Answer[]);
2028
- useSlideout: boolean;
2029
- get answers(): Answer[];
2030
- customDimensions: boolean;
2031
- readonly isShownChange: EventEmitter<boolean>;
2032
- readonly answerChosen: EventEmitter<{
2033
- answer: Answer;
2034
- input: string;
2035
- }>;
2036
- isSmallCardsModus: boolean;
2037
- bottomAlign: boolean;
2038
- filteredAnswers: Answer[];
2039
- colorArray: Color$1[];
2040
- tagArray: Tag[];
2041
- showTheFilter: boolean;
2042
- zoomImage: string;
2043
- showZoom: boolean;
2044
- searchExpanded: boolean;
2045
- chipTexts: string[];
2046
- freeInput: string;
2047
- inqNumber: number;
2048
- valutaSymbol: string;
2049
- hasInfoOpen: boolean;
2050
- private _openCount;
2051
- private _answers;
2218
+ private _appEventService;
2219
+ private _configuratorConnectorService;
2220
+ private _itemService;
2221
+ private _floorPlaneService;
2222
+ private _lightPresetService;
2223
+ private _cameraService;
2224
+ private _sceneEventService;
2225
+ private _sceneService;
2226
+ private _utilsService;
2227
+ private _renderService;
2228
+ set settings(value: ConfiguratorSettings);
2229
+ get settings(): ConfiguratorSettings;
2230
+ set sku(value: string);
2231
+ get sku(): string;
2232
+ set instanceId(value: string);
2233
+ get instanceId(): string;
2234
+ set isConfiguring(value: boolean);
2235
+ get isConfiguring(): boolean;
2236
+ set scene(value: Scene);
2237
+ get scene(): Scene;
2238
+ onShowLiteSelector: EventEmitter<boolean>;
2239
+ onShowSelections: EventEmitter<boolean>;
2240
+ onShowAnswers: EventEmitter<boolean>;
2241
+ onShowFullConfiguration: EventEmitter<boolean>;
2242
+ onAnswersAvailable: EventEmitter<boolean>;
2243
+ floorReady: EventEmitter<boolean>;
2244
+ onRenderImageReceived: EventEmitter<string>;
2245
+ onRenderErrorReceived: EventEmitter<string>;
2246
+ onThumbnailReceived: EventEmitter<string>;
2247
+ onCanvasImageReceived: EventEmitter<string>;
2248
+ buildResult: ConfigurationResultObject;
2249
+ private _settings;
2250
+ private _sku;
2251
+ private _instanceId;
2252
+ private _isConfiguring;
2253
+ private _scene;
2254
+ private _showFullConfiguration;
2052
2255
  private _subs;
2053
- private _filterOnColors;
2054
- private _filterOnTags;
2055
- constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService, _appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
2056
- ngOnInit(): void;
2256
+ 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);
2057
2257
  ngOnDestroy(): void;
2058
- onZoomClick(answer: Answer): void;
2059
- applyFilter(): void;
2060
- onFilterColor(color: Color$1): void;
2061
- onFilterTag(tag: Tag): void;
2062
- onCloseAnswerSlideout(): void;
2063
- handleAnswerChosen(answer: Answer): void;
2064
- isSelectedAnswer(answer: Answer): boolean;
2065
- onChipsValueChange(value: string[]): void;
2066
- onChipsClose(): void;
2067
- handleFreeInputChange($event: string): void;
2068
- handleIngNumberChange($event: string): void;
2069
- onAnswerInfoToggle(evt: {
2070
- open: boolean;
2071
- id: string;
2072
- }): void;
2073
- private _filterOnArray;
2074
- private _filterOnChips;
2075
- private _containsTextParts;
2076
- private _setArrays;
2077
- private _addToArray;
2078
- private _inArray;
2079
- static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
2080
- 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>;
2258
+ init(settings: any): Promise<void>;
2259
+ configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
2260
+ addBuildToScene(buildResult: ConfigurationResultObject): void;
2261
+ handleLoadSceneContent(): Promise<void>;
2262
+ renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
2263
+ private _handleTemplateChange;
2264
+ private _handleFloorPlaneReady;
2265
+ private _handleImageReceived;
2266
+ private _handleRenderErrorReceived;
2267
+ private _handleAnswerCountReceived;
2268
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
2269
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
2081
2270
  }
2082
2271
 
2083
- declare class SlideoutComponent implements AfterViewInit {
2084
- private _elementRef;
2085
- show: boolean;
2272
+ declare class ConfiguratorComponent implements OnDestroy {
2273
+ settingsService: SettingsService;
2274
+ loaderService: LoaderService;
2275
+ private _appEventService;
2276
+ private _configuringService;
2086
2277
  showClass(): boolean;
2087
- resizable: boolean;
2088
- readonly dragGutter: ElementRef;
2089
- private _originalWidthPx;
2090
- private _dragStartX;
2091
- private _isDragResizing;
2092
- private readonly _minWidthAfterDragResize;
2093
- constructor(_elementRef: ElementRef);
2094
- ngAfterViewInit(): void;
2095
- onDragGutterMouseDown(event: MouseEvent): void;
2096
- onDocumentMouseUp(event: MouseEvent): void;
2097
- onDocumentDragEnd(event: DragEvent): void;
2098
- onDragGutterMouseUp(event: MouseEvent): void;
2099
- onDragGutterDoubleClick(): void;
2100
- static ɵfac: i0.ɵɵFactoryDeclaration<SlideoutComponent, never>;
2101
- static ɵcmp: i0.ɵɵComponentDeclaration<SlideoutComponent, "co-slideout", never, { "show": { "alias": "show"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, {}, never, ["*"], false, never>;
2278
+ showLoader: boolean;
2279
+ showProgressBar: boolean;
2280
+ showErrorMessages: boolean;
2281
+ outputErrorMessages: boolean;
2282
+ canCloseConfigurator: boolean;
2283
+ animateSlideout: boolean;
2284
+ showHeaderInformation: boolean;
2285
+ buildResult: EventEmitter<ConfigurationResultObject>;
2286
+ isLoading: EventEmitter<boolean>;
2287
+ updateProgressBar: EventEmitter<boolean>;
2288
+ errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
2289
+ showChange: EventEmitter<boolean>;
2290
+ resultHasErrors: boolean;
2291
+ showErrorDiagram: boolean;
2292
+ configurationResultObject: ConfigurationResultObject;
2293
+ private _subs;
2294
+ constructor(settingsService: SettingsService, loaderService: LoaderService, _appEventService: AppEventService, _configuringService: ConfiguringService);
2295
+ ngOnDestroy(): void;
2296
+ handleBuildFinished(result: ConfigurationResultObject): void;
2297
+ handleShowChange(show: boolean): void;
2298
+ handleCloseErrorDialog(): void;
2299
+ private _handleArticleNotFound;
2300
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
2301
+ 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>;
2102
2302
  }
2103
2303
 
2104
- declare class SlideoutModule {
2105
- static ɵfac: i0.ɵɵFactoryDeclaration<SlideoutModule, never>;
2106
- static ɵmod: i0.ɵɵNgModuleDeclaration<SlideoutModule, [typeof SlideoutComponent], never, [typeof SlideoutComponent]>;
2107
- static ɵinj: i0.ɵɵInjectorDeclaration<SlideoutModule>;
2304
+ declare class ProgressBarComponent {
2305
+ progressService: ProgressService;
2306
+ showClass(): boolean;
2307
+ get showBar(): boolean;
2308
+ constructor(progressService: ProgressService);
2309
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
2310
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
2108
2311
  }
2109
2312
 
2110
- declare class AnswersInfoDialogComponent implements OnInit {
2111
- iconService: IconCacheService;
2112
- private _settingsService;
2113
- private _configuratorConnectorService;
2114
- private _sanitizer;
2115
- readonly icons: typeof IconEnum;
2313
+ declare class ProgressBarModule {
2314
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
2315
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
2316
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
2317
+ }
2318
+
2319
+ declare class ConfiguratorLoaderComponent {
2116
2320
  showClass(): boolean;
2117
- answer: Answer;
2118
- structure: SelectorStructure;
2119
- fixedPosition: {
2120
- top: number;
2121
- right: number;
2122
- } | null;
2123
- nothingToShow: EventEmitter<void>;
2124
- answerText: string;
2125
- answerImage: string;
2126
- answerHtml: SafeHtml;
2127
- textLoading: boolean;
2128
- textError: string;
2129
- showTooltip: boolean;
2130
- showPopup: boolean;
2131
- hasEmbed: boolean;
2132
- constructor(iconService: IconCacheService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
2133
- ngOnInit(): Promise<void>;
2134
- private _loadInfo;
2135
- private _formatAnswerInfo;
2136
- static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogComponent, never>;
2137
- static ɵcmp: i0.ɵɵComponentDeclaration<AnswersInfoDialogComponent, "co-answer-info-dialog", never, { "answer": { "alias": "answer"; "required": false; }; "structure": { "alias": "structure"; "required": false; }; "fixedPosition": { "alias": "fixedPosition"; "required": false; }; }, { "nothingToShow": "nothingToShow"; }, never, never, false, never>;
2321
+ show: boolean;
2322
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
2323
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
2138
2324
  }
2139
2325
 
2140
- declare class AnswersInfoDialogModule {
2141
- static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
2142
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof PipesModule, typeof i5.IconModule], [typeof AnswersInfoDialogComponent]>;
2143
- static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
2326
+ declare class ConfiguratorLoaderModule {
2327
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
2328
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i5.LoaderModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
2329
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
2144
2330
  }
2145
2331
 
2146
- declare class AnswerCardModule {
2147
- static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
2148
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i5.CardModule, typeof PipesModule, typeof i5.CardModule, typeof i5.InputTextModule, typeof i4.BrowserModule, typeof i5.IconModule, typeof AnswersInfoDialogModule, typeof i5.CardModule], [typeof AnswerCardComponent]>;
2149
- static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
2332
+ declare class IconCacheService {
2333
+ private _sanitizer;
2334
+ /**
2335
+ * All the icons as a large JSON object, from the all-icons.json file.
2336
+ * The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
2337
+ */
2338
+ get iconCache(): {
2339
+ [iconName: string]: SafeHtml;
2340
+ };
2341
+ private _iconCache;
2342
+ private _allIcons;
2343
+ constructor(_sanitizer: DomSanitizer);
2344
+ getIcon(iconName: string): SafeHtml;
2345
+ getIconAsBase64(iconName: IconEnum): SafeHtml;
2346
+ setIconCache(): void;
2347
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
2348
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
2150
2349
  }
2151
2350
 
2152
- declare class ImageZoomComponent {
2351
+ declare class ConfiguratorErrorDialogComponent {
2153
2352
  iconService: IconCacheService;
2154
2353
  showClass(): boolean;
2155
2354
  readonly icons: typeof IconEnum;
2156
- imageData: string;
2157
- show: boolean;
2158
- showChange: EventEmitter<boolean>;
2355
+ errorMessages: ConfiguratorErrorMessage[];
2356
+ closeErrorDialoag: EventEmitter<void>;
2357
+ onClose(): void;
2159
2358
  constructor(iconService: IconCacheService);
2160
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomComponent, never>;
2161
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageZoomComponent, "co-image-zoom", never, { "imageData": { "alias": "imageData"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
2162
- }
2163
-
2164
- declare class ImageZoomModule {
2165
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
2166
- static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
2167
- static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
2359
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
2360
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
2168
2361
  }
2169
2362
 
2170
- declare class ColorFilterComponent {
2363
+ declare class ConfiguratorExportDialogComponent {
2171
2364
  iconService: IconCacheService;
2172
- private _sanitizer;
2365
+ itemService: ItemService;
2366
+ private _utilService;
2173
2367
  readonly icons: typeof IconEnum;
2174
- showClass(): boolean;
2175
- set color(value: Color$1);
2176
- get color(): Color$1;
2177
- active: boolean;
2178
- get lightBackground(): boolean;
2179
- backgroundStyle: SafeStyle;
2180
- private _color;
2181
- constructor(iconService: IconCacheService, _sanitizer: DomSanitizer);
2182
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterComponent, never>;
2183
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorFilterComponent, "co-color-filter", never, { "color": { "alias": "color"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
2184
- }
2185
-
2186
- declare class ColorFilterModule {
2187
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterModule, never>;
2188
- static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i5.IconModule], [typeof ColorFilterComponent]>;
2189
- static ɵinj: i0.ɵɵInjectorDeclaration<ColorFilterModule>;
2190
- }
2191
-
2192
- declare class TagFilterComponent {
2193
- showClass(): boolean;
2194
- tag: Tag;
2195
- active: boolean;
2196
- static ɵfac: i0.ɵɵFactoryDeclaration<TagFilterComponent, never>;
2197
- static ɵcmp: i0.ɵɵComponentDeclaration<TagFilterComponent, "co-tag-filter", never, { "tag": { "alias": "tag"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
2368
+ closeExportDialog: EventEmitter<void>;
2369
+ constructor(iconService: IconCacheService, itemService: ItemService, _utilService: UtilsService);
2370
+ onClose(): void;
2371
+ downloadGLB(): void;
2372
+ downloadUSDZ(): void;
2373
+ downloadBoth(): void;
2374
+ downloadThumbnail(): void;
2375
+ private _getObjectToExport;
2376
+ private _download3DModelAsGLB;
2377
+ private _download3DModelAsUSDZ;
2378
+ private _downloadFile;
2379
+ private _base64ToBlob;
2380
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
2381
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
2198
2382
  }
2199
2383
 
2200
- declare class TagFilterModule {
2201
- static ɵfac: i0.ɵɵFactoryDeclaration<TagFilterModule, never>;
2202
- static ɵmod: i0.ɵɵNgModuleDeclaration<TagFilterModule, [typeof TagFilterComponent], never, [typeof TagFilterComponent]>;
2203
- static ɵinj: i0.ɵɵInjectorDeclaration<TagFilterModule>;
2384
+ declare class CameraSettings {
2385
+ sku: string;
2386
+ position: Vector3;
2387
+ rotation: Vector3;
2388
+ maxHorizontalOrbit: number;
2389
+ minHorizontalOrbit: number;
2390
+ maxVerticalOrbit: number;
2391
+ minVerticalOrbit: number;
2392
+ maxZoomDistance: number;
2393
+ minZoomDistance: number;
2204
2394
  }
2205
2395
 
2206
- declare class VisibilityObserverMasterDirective implements OnDestroy {
2207
- private _mapping;
2208
- private _observer;
2209
- constructor();
2210
- ngOnDestroy(): void;
2211
- add(element: HTMLElement, callback: Function): void;
2212
- remove(element: HTMLElement): void;
2213
- static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserverMasterDirective, never>;
2214
- static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverMasterDirective, "[visibilityObserverMaster]", never, {}, {}, never, never, false, never>;
2396
+ declare class DynamicCameraService {
2397
+ private _cameraService;
2398
+ private _sceneService;
2399
+ private _settingsService;
2400
+ private _configuratorConnectorService;
2401
+ currentCameraSettings: CameraSettings[];
2402
+ constructor(_cameraService: CameraService, _sceneService: SceneService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
2403
+ initCameraSettings(): Promise<void>;
2404
+ getCameraSettings(): CameraSettings;
2405
+ loadCustomCameraSettings(): Promise<void>;
2406
+ exportCameraSettings(): any;
2407
+ saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
2408
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicCameraService, never>;
2409
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicCameraService>;
2215
2410
  }
2216
2411
 
2217
- declare class VisibilityObserverDirective implements OnDestroy, OnInit {
2218
- observerEnabled: boolean;
2219
- isIntersecting: boolean;
2220
- IS_INTERSECTING: boolean;
2221
- IS_NOT_INTERSECTING: boolean;
2222
- private _elementRef;
2223
- private _parent;
2224
- constructor(parent: VisibilityObserverMasterDirective, elementRef: ElementRef);
2225
- ngOnDestroy(): void;
2412
+ declare class ConfiguratorCameraSettingsComponent implements OnInit {
2413
+ iconService: IconCacheService;
2414
+ private _cameraService;
2415
+ private _dynamicCameraService;
2416
+ private _configuratorConnectorService;
2417
+ readonly icons: typeof IconEnum;
2418
+ closeCameraDialog: EventEmitter<void>;
2419
+ tempCameraSettings: CameraSettings;
2420
+ currentSku: string;
2421
+ positionAsString: string;
2422
+ rotationAsString: string;
2423
+ constructor(iconService: IconCacheService, _cameraService: CameraService, _dynamicCameraService: DynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
2226
2424
  ngOnInit(): void;
2227
- static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserverDirective, never>;
2228
- static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverDirective, "[visibilityObserver]", ["intersection"], { "observerEnabled": { "alias": "observerEnabled"; "required": false; }; }, {}, never, never, false, never>;
2425
+ onClose(): void;
2426
+ saveSettings(asDefault: boolean): void;
2427
+ exportSettings(): void;
2428
+ saveCurrentPosition(): void;
2429
+ saveCurrentRotation(): void;
2430
+ private _parsePositionAndRotation;
2431
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraSettingsComponent, never>;
2432
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
2229
2433
  }
2230
2434
 
2231
- declare class DirectivesModule {
2232
- static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
2233
- static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective], never, [typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective]>;
2234
- static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
2435
+ declare class AppendPipe implements PipeTransform {
2436
+ transform(value: string, append?: string): string;
2437
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
2438
+ static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
2235
2439
  }
2236
2440
 
2237
- declare class AnswersSlideoutModule {
2238
- static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
2239
- 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]>;
2240
- static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
2441
+ declare class LocalizePipe implements PipeTransform {
2442
+ private _dictionaryService;
2443
+ constructor(_dictionaryService: DictionaryService);
2444
+ transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
2445
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
2446
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
2241
2447
  }
2242
2448
 
2243
- declare class SelectionsSummaryComponent implements OnDestroy {
2244
- configuratorConnectorService: ConfiguratorConnectorService;
2245
- iconService: IconCacheService;
2246
- showClass(): boolean;
2247
- readonly icons: typeof IconEnum;
2248
- selections: Selection[];
2249
- showLabel: boolean;
2250
- canClose: boolean;
2251
- answersTemplate: TemplateRef<any>;
2252
- answerToShowFromSelectionText: string;
2253
- customDimensions: boolean;
2254
- disableMouse: boolean;
2255
- handledocumentMouseUp(event: any): void;
2256
- handleDocumentMouseDown(event: any): void;
2257
- readonly closeClick: EventEmitter<void>;
2258
- readonly cancelAnswers: EventEmitter<void>;
2259
- readonly selectSelection: EventEmitter<Selection>;
2260
- readonly repeatSelection: EventEmitter<Selection>;
2261
- readonly deleteSelection: EventEmitter<Selection>;
2262
- selectionToCustomize: Selection;
2263
- valutaSymbol: string;
2264
- showAsConfigured: boolean;
2265
- private _subs;
2266
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService);
2449
+ declare class GoogleTranslateService implements OnDestroy {
2450
+ private _settingsService;
2451
+ private _connectorService;
2452
+ private _clientLanguage;
2453
+ private _defaultLanguage;
2454
+ private _translations;
2455
+ private _initialized;
2456
+ private _initializedSubject;
2457
+ private _connectionSubject;
2458
+ protected googleApiEnabled: boolean;
2459
+ constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
2267
2460
  ngOnDestroy(): void;
2268
- handleClick(sel: Selection): void;
2269
- handleRepeat(event: MouseEvent, sel: Selection): void;
2270
- handleDelete(event: MouseEvent, sel: Selection): void;
2271
- toggleElement(sel: Selection): void;
2272
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
2273
- 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>;
2274
- }
2275
-
2276
- declare class CoSummaryLine implements AfterViewInit {
2277
- iconService: IconCacheService;
2278
- private _changeDetector;
2279
- showClass(): boolean;
2280
- readonly icons: typeof IconEnum;
2281
- titleBlock: ElementRef;
2282
- imageData: string;
2283
- title: string;
2284
- description: string;
2285
- /**
2286
- * Total price of the selection
2287
- */
2288
- price: number | string;
2289
- /**
2290
- * Multiline data for selection tree
2291
- * title: string
2292
- * description: string
2293
- * price: number | string
2294
- */
2295
- multilineData: any;
2296
- valutaSymbol: string;
2297
- isHighlighted: boolean;
2298
- isCollapsable: boolean;
2299
- canRepeat: boolean;
2300
- isDeletable: boolean;
2301
- showContent: boolean;
2302
- repeatClicked: EventEmitter<MouseEvent>;
2303
- deleteClicked: EventEmitter<MouseEvent>;
2304
- data: {
2305
- title: string;
2306
- description: string;
2307
- price: number | string;
2308
- }[];
2309
- showList: boolean;
2310
- showCollapsable: boolean;
2311
- showListTotalPrice: boolean;
2312
- constructor(iconService: IconCacheService, _changeDetector: ChangeDetectorRef);
2313
- ngAfterViewInit(): void;
2314
- collapsableCheck(): void;
2315
- toggleShowHideList(event: MouseEvent): void;
2316
- handleRepeatClick(event: MouseEvent): void;
2317
- handleDeleteClick(event: MouseEvent): void;
2318
- private _setShowList;
2319
- static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLine, never>;
2320
- static ɵcmp: i0.ɵɵComponentDeclaration<CoSummaryLine, "co-summary-line", never, { "imageData": { "alias": "imageData"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "price": { "alias": "price"; "required": false; }; "multilineData": { "alias": "multilineData"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "isHighlighted": { "alias": "isHighlighted"; "required": false; }; "isCollapsable": { "alias": "isCollapsable"; "required": false; }; "canRepeat": { "alias": "canRepeat"; "required": false; }; "isDeletable": { "alias": "isDeletable"; "required": false; }; "showContent": { "alias": "showContent"; "required": false; }; }, { "repeatClicked": "repeatClicked"; "deleteClicked": "deleteClicked"; }, never, ["*"], false, never>;
2461
+ getTranslation(input: string): Promise<string>;
2462
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
2463
+ static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
2321
2464
  }
2322
2465
 
2323
- declare class CoSummaryLineModule {
2324
- static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
2325
- static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof PipesModule, typeof i3.CommonModule, typeof i5.PriceDisplayPipeModule, typeof i5.ImageModule, typeof i5.IconModule, typeof i5$1.BrowserAnimationsModule], [typeof CoSummaryLine]>;
2326
- static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
2466
+ declare class GoogleTranslatePipe implements PipeTransform {
2467
+ private _googleTranslateService;
2468
+ constructor(_googleTranslateService: GoogleTranslateService);
2469
+ transform(value: string): Observable<string>;
2470
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
2471
+ static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
2327
2472
  }
2328
2473
 
2329
- declare class SelectionsSummaryLineComponent implements OnDestroy {
2330
- configuratorConnectorService: ConfiguratorConnectorService;
2331
- showClass(): boolean;
2332
- set selection(value: Selection);
2333
- get selection(): Selection;
2334
- valutaSymbol: string;
2335
- answersTemplate: TemplateRef<any>;
2336
- answerToShowFromSelectionText: string;
2337
- customizeButtonClicked: EventEmitter<void>;
2338
- summaryLineClick: EventEmitter<void>;
2339
- summaryLineRepeat: EventEmitter<MouseEvent>;
2340
- summaryLineDelete: EventEmitter<MouseEvent>;
2341
- shouldBeHidden: boolean;
2342
- selectionDescription: string;
2343
- showCustomizeButton: boolean;
2344
- showOnlyLastAnswerDescriptionGenericSelection: boolean;
2345
- private _subs;
2346
- private _selection;
2347
- constructor(configuratorConnectorService: ConfiguratorConnectorService);
2348
- ngOnDestroy(): void;
2349
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineComponent, never>;
2350
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryLineComponent, "co-selections-summary-line", never, { "selection": { "alias": "selection"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "summaryLineClick": "summaryLineClick"; "summaryLineRepeat": "summaryLineRepeat"; "summaryLineDelete": "summaryLineDelete"; }, never, never, false, never>;
2474
+ declare class PrependPipe implements PipeTransform {
2475
+ transform(value: string, prepend?: string): string;
2476
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
2477
+ static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
2351
2478
  }
2352
2479
 
2353
- declare class SelectionsSummaryLineModule {
2354
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
2355
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof PipesModule, typeof i3.CommonModule, typeof CoSummaryLineModule], [typeof SelectionsSummaryLineComponent]>;
2356
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
2480
+ declare class StripHtmlPipe implements PipeTransform {
2481
+ transform(html: string): string;
2482
+ static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
2483
+ static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
2357
2484
  }
2358
2485
 
2359
- declare class SelectionsSummaryModule {
2360
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
2361
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof PipesModule, typeof i5.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i5.IconModule], [typeof SelectionsSummaryComponent]>;
2362
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
2486
+ declare class PipesModule {
2487
+ static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
2488
+ 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]>;
2489
+ static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
2363
2490
  }
2364
2491
 
2365
- declare class LiteSelectorModule {
2366
- static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorModule, never>;
2367
- static ɵmod: i0.ɵɵNgModuleDeclaration<LiteSelectorModule, [typeof LiteSelectorComponent], [typeof AnswersSlideoutModule, typeof i3.CommonModule, typeof SelectionsSummaryModule], [typeof LiteSelectorComponent]>;
2368
- static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
2492
+ declare class ConfiguratorDialogModule {
2493
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
2494
+ 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]>;
2495
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
2369
2496
  }
2370
2497
 
2371
- declare class ProductConfiguratorService {
2498
+ declare class ThreedselectorComponent implements OnInit, OnDestroy {
2499
+ private _appEventService;
2500
+ private _buildFurnitureService;
2501
+ private _configuringService;
2502
+ private _configuratorService;
2503
+ showClass(): boolean;
2504
+ customizeButtonClicked: EventEmitter<void>;
2505
+ selections: Selection[];
2506
+ canCloseConfigurator: boolean;
2507
+ animateSlideout: boolean;
2508
+ showHeaderInformation: boolean;
2509
+ buildFinished: EventEmitter<ConfigurationResultObject>;
2372
2510
  showChange: EventEmitter<boolean>;
2373
- answerChosen: EventEmitter<Answer>;
2374
- selectSelection: EventEmitter<SelectorStructure>;
2375
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorService, never>;
2376
- static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
2511
+ showElementToolbar: boolean;
2512
+ showLiteSelector: boolean;
2513
+ showSelections: boolean;
2514
+ showAnswers: boolean;
2515
+ showFullConfiguration: boolean;
2516
+ private _floorTexturesLoadedSub;
2517
+ private _subs;
2518
+ private _loadingFromPreset;
2519
+ constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
2520
+ ngOnInit(): Promise<void>;
2521
+ ngOnDestroy(): void;
2522
+ get showTemplate(): boolean;
2523
+ handleShowChangeSelector(show: boolean): void;
2524
+ private _handleAnswerCountReceived;
2525
+ private _handleTemplateChange;
2526
+ private _handleBuildResult;
2527
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorComponent, never>;
2528
+ 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>;
2377
2529
  }
2378
2530
 
2379
- declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
2380
- configuratorConnectorService: ConfiguratorConnectorService;
2531
+ declare class LiteSelectorComponent implements OnDestroy {
2381
2532
  buildFurnitureService: SwitchBuildFurnitureService;
2382
- settingsService: SettingsService;
2383
- productConfiguratorService: ProductConfiguratorService;
2384
- iconService: IconCacheService;
2385
- private _sanitizer;
2533
+ configuratorConnectorService: ConfiguratorConnectorService;
2386
2534
  private _configuringService;
2387
2535
  showClass(): boolean;
2388
- readonly icons: typeof IconEnum;
2389
- set show(value: boolean);
2390
- get show(): boolean;
2391
- showHeaderInformation: boolean;
2536
+ templateAnswers: TemplateRef<any>;
2537
+ set showAnswers(value: boolean);
2538
+ get showAnswers(): boolean;
2539
+ show: boolean;
2392
2540
  set showSelections(value: boolean);
2393
2541
  get showSelections(): boolean;
2394
2542
  showLabel: boolean;
2395
2543
  canClose: boolean;
2544
+ animateSlideout: boolean;
2396
2545
  customDimensions: boolean;
2397
2546
  readonly showChange: EventEmitter<boolean>;
2398
2547
  readonly answerChosen: EventEmitter<Answer>;
2399
- valutaSymbol: string;
2400
- article: Article;
2401
- selectionList: SelectorWithOptions[];
2402
- safeDescription: SafeHtml;
2548
+ answerToShowFromSelectionText: string;
2549
+ inlineAnswers: boolean;
2550
+ private _showAnswers;
2551
+ private _answersShowing;
2403
2552
  private _showSelections;
2404
- private _show;
2405
2553
  private _selectionSelected;
2406
2554
  private _subs;
2407
- constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService);
2408
- ngOnInit(): void;
2555
+ constructor(buildFurnitureService: SwitchBuildFurnitureService, configuratorConnectorService: ConfiguratorConnectorService, _configuringService: ConfiguringService);
2409
2556
  ngOnDestroy(): void;
2410
- onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
2411
- handleCloseClick(): void;
2412
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
2413
- 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>;
2557
+ onCloseLiteSelectorButtonClick(): void;
2558
+ onSelectionsSummarySelectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean): Promise<void>;
2559
+ onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
2560
+ onAnswersSlideoutAnswerChosen(answerSelected: any): void;
2561
+ static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
2562
+ 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>;
2414
2563
  }
2415
2564
 
2416
- declare class ProductConfiguratorSelectorComponent implements OnInit {
2417
- configuratorConnectorService: ConfiguratorConnectorService;
2565
+ declare class AnswerCardComponent implements OnInit {
2418
2566
  settingsService: SettingsService;
2419
2567
  iconService: IconCacheService;
2420
- showClass(): boolean;
2568
+ private _configuratorConnectorService;
2421
2569
  readonly icons: typeof IconEnum;
2422
- exceptionContainer?: ElementRef;
2423
- get hostClasses(): string;
2424
- selection: SelectorStructure;
2425
- options: SelectorWithOptions[];
2426
- lastNodeWithChildren: boolean;
2427
- selectionIndex: number;
2428
- treeLevelIndex: number;
2429
- isActive: boolean;
2430
- markAsException: boolean;
2431
- activate: EventEmitter<void>;
2432
- get selectionIndexText(): string;
2433
- selectionClass: string;
2434
- listOfChoices: SelectorStructure[];
2435
- activeChildIndex: number;
2436
- constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService);
2437
- ngOnInit(): void;
2438
- showAndScroll(): void;
2439
- onSubHeaderClick(): void;
2440
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
2441
- 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>;
2442
- }
2443
-
2444
- declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
2445
- configuratorConnectorService: ConfiguratorConnectorService;
2446
- settingsService: SettingsService;
2447
- productConfiguratorService: ProductConfiguratorService;
2448
2570
  showClass(): boolean;
2449
- selection: SelectorStructure;
2450
- listOfChoices: SelectorStructure[];
2451
- markAsException: boolean;
2452
- configurationDisplayOption: typeof ConfigurationDisplayOption;
2453
- selectionClass: string;
2454
- showAllTiles: boolean;
2455
- maxVisibleTiles: number;
2456
- maxVisibleSmallTiles: number;
2457
- visibleAnswers: SelectorStructure[];
2458
- remainingTilesCount: number;
2459
- constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService);
2571
+ get activeInfoClass(): boolean;
2572
+ model: Answer | any;
2573
+ valutaSymbol: string;
2574
+ set showing(value: boolean);
2575
+ isSelected: boolean;
2576
+ isSmallModus: boolean;
2577
+ freeInput: string;
2578
+ readonly freeInputChange: EventEmitter<string>;
2579
+ readonly inqNumberChange: EventEmitter<string>;
2580
+ readonly select: EventEmitter<string>;
2581
+ readonly selectWithInq: EventEmitter<string>;
2582
+ readonly magnifierClick: EventEmitter<Answer>;
2583
+ readonly answerInfoToggle: EventEmitter<{
2584
+ open: boolean;
2585
+ id: string;
2586
+ }>;
2587
+ dialogPosition: {
2588
+ top: number;
2589
+ right: number;
2590
+ } | null;
2591
+ inqNumberModel: string;
2592
+ inqNumberError: boolean;
2593
+ showAnswerInfo: boolean;
2594
+ private _waitForInput;
2595
+ private _waitForInqValue;
2596
+ constructor(settingsService: SettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
2460
2597
  ngOnInit(): void;
2461
- selectionClicked(answer: SelectorStructure): void;
2462
- showMore(): void;
2463
- showLess(): void;
2464
- private _calculateVisibleAnswers;
2465
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
2466
- 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>;
2598
+ onContentClick(): void;
2599
+ handleClick(event: MouseEvent): void;
2600
+ onInfoButtonClick(event: MouseEvent): void;
2601
+ closeInfo(silent?: boolean): void;
2602
+ handleFocusFreeInput(event: MouseEvent): void;
2603
+ handleBlurFreeInput(event: MouseEvent): void;
2604
+ handleKeyDownFreeInput(event: KeyboardEvent): void;
2605
+ handleFocusInqNumber(event: MouseEvent): void;
2606
+ handleKeyDownInqNumber(event: KeyboardEvent): void;
2607
+ onZoomImage(): void;
2608
+ validateInqNumber(): boolean;
2609
+ replaceTranslationValues(translation: string, min: number, max: number): string;
2610
+ handleInqModelChange(event: string): void;
2611
+ handleSubmitInq(): void;
2612
+ private _checkVisibility;
2613
+ private _getThumbnailImage;
2614
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardComponent, never>;
2615
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnswerCardComponent, "co-answer-card", never, { "model": { "alias": "model"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "showing": { "alias": "showing"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "isSmallModus": { "alias": "isSmallModus"; "required": false; }; "freeInput": { "alias": "freeInput"; "required": false; }; }, { "freeInputChange": "freeInputChange"; "inqNumberChange": "inqNumberChange"; "select": "select"; "selectWithInq": "selectWithInq"; "magnifierClick": "magnifierClick"; "answerInfoToggle": "answerInfoToggle"; }, never, never, false, never>;
2467
2616
  }
2468
2617
 
2469
- declare class ProductConfiguratorSelectorOptionTileComponent {
2618
+ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
2470
2619
  configuratorConnectorService: ConfiguratorConnectorService;
2471
- iconService: IconCacheService;
2472
2620
  settingsService: SettingsService;
2621
+ iconService: IconCacheService;
2622
+ private _appEventService;
2623
+ private _buildFurnitureService;
2624
+ private _configuringService;
2473
2625
  showClass(): boolean;
2626
+ slideOut: ElementRef;
2627
+ cards: QueryList<AnswerCardComponent>;
2474
2628
  readonly icons: typeof IconEnum;
2475
- option: SelectorStructure;
2476
- tileClass: string;
2477
- selectionClicked: EventEmitter<void>;
2478
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
2479
- changeSelection(): void;
2480
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
2481
- 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>;
2482
- }
2483
-
2484
- declare class ProductConfiguratorSelectorOptionTileModule {
2485
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
2486
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i5.IconModule, typeof i3.CommonModule, typeof PipesModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
2487
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
2629
+ private readonly _showSmallAnswerCardsFromThisAmount;
2630
+ private readonly _propsToSearch;
2631
+ isShown: boolean;
2632
+ question: Question;
2633
+ showTitle: boolean;
2634
+ showFilter: boolean;
2635
+ set answers(value: Answer[]);
2636
+ useSlideout: boolean;
2637
+ get answers(): Answer[];
2638
+ customDimensions: boolean;
2639
+ readonly isShownChange: EventEmitter<boolean>;
2640
+ readonly answerChosen: EventEmitter<{
2641
+ answer: Answer;
2642
+ input: string;
2643
+ }>;
2644
+ isSmallCardsModus: boolean;
2645
+ bottomAlign: boolean;
2646
+ filteredAnswers: Answer[];
2647
+ colorArray: Color$1[];
2648
+ tagArray: Tag[];
2649
+ showTheFilter: boolean;
2650
+ zoomImage: string;
2651
+ showZoom: boolean;
2652
+ searchExpanded: boolean;
2653
+ chipTexts: string[];
2654
+ freeInput: string;
2655
+ inqNumber: number;
2656
+ valutaSymbol: string;
2657
+ hasInfoOpen: boolean;
2658
+ private _openCount;
2659
+ private _answers;
2660
+ private _subs;
2661
+ private _filterOnColors;
2662
+ private _filterOnTags;
2663
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService, _appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
2664
+ ngOnInit(): void;
2665
+ ngOnDestroy(): void;
2666
+ onZoomClick(answer: Answer): void;
2667
+ applyFilter(): void;
2668
+ onFilterColor(color: Color$1): void;
2669
+ onFilterTag(tag: Tag): void;
2670
+ onCloseAnswerSlideout(): void;
2671
+ handleAnswerChosen(answer: Answer): void;
2672
+ isSelectedAnswer(answer: Answer): boolean;
2673
+ onChipsValueChange(value: string[]): void;
2674
+ onChipsClose(): void;
2675
+ handleFreeInputChange($event: string): void;
2676
+ handleIngNumberChange($event: string): void;
2677
+ onAnswerInfoToggle(evt: {
2678
+ open: boolean;
2679
+ id: string;
2680
+ }): void;
2681
+ private _filterOnArray;
2682
+ private _filterOnChips;
2683
+ private _containsTextParts;
2684
+ private _setArrays;
2685
+ private _addToArray;
2686
+ private _inArray;
2687
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
2688
+ 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>;
2488
2689
  }
2489
2690
 
2490
- declare class ProductConfiguratorOptionCheckboxComponent {
2491
- configuratorConnectorService: ConfiguratorConnectorService;
2492
- iconService: IconCacheService;
2493
- settingsService: SettingsService;
2691
+ declare class SlideoutComponent implements AfterViewInit {
2692
+ private _elementRef;
2693
+ show: boolean;
2494
2694
  showClass(): boolean;
2495
- readonly icons: typeof IconEnum;
2496
- option: SelectorStructure;
2497
- selectionClicked: EventEmitter<void>;
2498
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
2499
- changeSelection(): void;
2500
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
2501
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2695
+ resizable: boolean;
2696
+ readonly dragGutter: ElementRef;
2697
+ private _originalWidthPx;
2698
+ private _dragStartX;
2699
+ private _isDragResizing;
2700
+ private readonly _minWidthAfterDragResize;
2701
+ constructor(_elementRef: ElementRef);
2702
+ ngAfterViewInit(): void;
2703
+ onDragGutterMouseDown(event: MouseEvent): void;
2704
+ onDocumentMouseUp(event: MouseEvent): void;
2705
+ onDocumentDragEnd(event: DragEvent): void;
2706
+ onDragGutterMouseUp(event: MouseEvent): void;
2707
+ onDragGutterDoubleClick(): void;
2708
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlideoutComponent, never>;
2709
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlideoutComponent, "co-slideout", never, { "show": { "alias": "show"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, {}, never, ["*"], false, never>;
2502
2710
  }
2503
2711
 
2504
- declare class ProductConfiguratorSelectorOptionCheckboxModule {
2505
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
2506
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
2507
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
2712
+ declare class SlideoutModule {
2713
+ static ɵfac: i0.ɵɵFactoryDeclaration<SlideoutModule, never>;
2714
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SlideoutModule, [typeof SlideoutComponent], never, [typeof SlideoutComponent]>;
2715
+ static ɵinj: i0.ɵɵInjectorDeclaration<SlideoutModule>;
2508
2716
  }
2509
2717
 
2510
- declare class ProductConfiguratorSelectorOptionButtonComponent {
2511
- configuratorConnectorService: ConfiguratorConnectorService;
2718
+ declare class AnswersInfoDialogComponent implements OnInit {
2512
2719
  iconService: IconCacheService;
2513
- settingsService: SettingsService;
2514
- showClass(): boolean;
2720
+ private _settingsService;
2721
+ private _configuratorConnectorService;
2722
+ private _sanitizer;
2515
2723
  readonly icons: typeof IconEnum;
2516
- option: SelectorStructure;
2517
- selectionClicked: EventEmitter<void>;
2518
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
2519
- changeSelection(): void;
2520
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
2521
- static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2724
+ showClass(): boolean;
2725
+ answer: Answer;
2726
+ structure: SelectorStructure;
2727
+ fixedPosition: {
2728
+ top: number;
2729
+ right: number;
2730
+ } | null;
2731
+ nothingToShow: EventEmitter<void>;
2732
+ answerText: string;
2733
+ answerImage: string;
2734
+ answerHtml: SafeHtml;
2735
+ textLoading: boolean;
2736
+ textError: string;
2737
+ showTooltip: boolean;
2738
+ showPopup: boolean;
2739
+ hasEmbed: boolean;
2740
+ constructor(iconService: IconCacheService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
2741
+ ngOnInit(): Promise<void>;
2742
+ private _loadInfo;
2743
+ private _formatAnswerInfo;
2744
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogComponent, never>;
2745
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnswersInfoDialogComponent, "co-answer-info-dialog", never, { "answer": { "alias": "answer"; "required": false; }; "structure": { "alias": "structure"; "required": false; }; "fixedPosition": { "alias": "fixedPosition"; "required": false; }; }, { "nothingToShow": "nothingToShow"; }, never, never, false, never>;
2522
2746
  }
2523
2747
 
2524
- declare class ProductConfiguratorSelectorOptionButtonModule {
2525
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
2526
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
2527
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
2748
+ declare class AnswersInfoDialogModule {
2749
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
2750
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof PipesModule, typeof i5.IconModule], [typeof AnswersInfoDialogComponent]>;
2751
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
2528
2752
  }
2529
2753
 
2530
- declare class ProductConfiguratorSelectorOptionDropDownComponent {
2531
- configuratorConnectorService: ConfiguratorConnectorService;
2754
+ declare class AnswerCardModule {
2755
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
2756
+ 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]>;
2757
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
2758
+ }
2759
+
2760
+ declare class ImageZoomComponent {
2532
2761
  iconService: IconCacheService;
2533
- settingsService: SettingsService;
2534
2762
  showClass(): boolean;
2535
2763
  readonly icons: typeof IconEnum;
2536
- options: SelectorStructure[];
2537
- tileClass: string;
2538
- selectionClicked: EventEmitter<SelectorStructure>;
2539
- constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
2540
- onChange(event: Event): void;
2541
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
2542
- 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>;
2764
+ imageData: string;
2765
+ show: boolean;
2766
+ showChange: EventEmitter<boolean>;
2767
+ constructor(iconService: IconCacheService);
2768
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomComponent, never>;
2769
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageZoomComponent, "co-image-zoom", never, { "imageData": { "alias": "imageData"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
2543
2770
  }
2544
2771
 
2545
- declare class ProductConfiguratorSelectorOptionDropdownModule {
2546
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
2547
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
2548
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
2772
+ declare class ImageZoomModule {
2773
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
2774
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
2775
+ static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
2549
2776
  }
2550
2777
 
2551
- declare class ProductConfiguratorSelectorOptionModule {
2552
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
2553
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof PipesModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
2554
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
2778
+ declare class ColorFilterComponent {
2779
+ iconService: IconCacheService;
2780
+ private _sanitizer;
2781
+ readonly icons: typeof IconEnum;
2782
+ showClass(): boolean;
2783
+ set color(value: Color$1);
2784
+ get color(): Color$1;
2785
+ active: boolean;
2786
+ get lightBackground(): boolean;
2787
+ backgroundStyle: SafeStyle;
2788
+ private _color;
2789
+ constructor(iconService: IconCacheService, _sanitizer: DomSanitizer);
2790
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterComponent, never>;
2791
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorFilterComponent, "co-color-filter", never, { "color": { "alias": "color"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
2555
2792
  }
2556
2793
 
2557
- declare class ProductConfiguratorSelectorModule {
2558
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
2559
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
2560
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
2794
+ declare class ColorFilterModule {
2795
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterModule, never>;
2796
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i5.IconModule], [typeof ColorFilterComponent]>;
2797
+ static ɵinj: i0.ɵɵInjectorDeclaration<ColorFilterModule>;
2561
2798
  }
2562
2799
 
2563
- declare class ProductConfiguratorModule {
2564
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
2565
- static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof ProductConfiguratorComponent], [typeof i3.CommonModule, typeof i3$1.MatIconModule, typeof i4$1.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]>;
2566
- static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
2800
+ declare class TagFilterComponent {
2801
+ showClass(): boolean;
2802
+ tag: Tag;
2803
+ active: boolean;
2804
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagFilterComponent, never>;
2805
+ static ɵcmp: i0.ɵɵComponentDeclaration<TagFilterComponent, "co-tag-filter", never, { "tag": { "alias": "tag"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
2567
2806
  }
2568
2807
 
2569
- declare class ThreedselectorModule {
2570
- static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
2571
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule], [typeof ThreedselectorComponent]>;
2572
- static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
2808
+ declare class TagFilterModule {
2809
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagFilterModule, never>;
2810
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TagFilterModule, [typeof TagFilterComponent], never, [typeof TagFilterComponent]>;
2811
+ static ɵinj: i0.ɵɵInjectorDeclaration<TagFilterModule>;
2573
2812
  }
2574
2813
 
2575
- declare class ConfiguratorModule {
2576
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
2577
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ThreedselectorModule], [typeof ConfiguratorComponent]>;
2578
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
2814
+ declare class VisibilityObserverMasterDirective implements OnDestroy {
2815
+ private _mapping;
2816
+ private _observer;
2817
+ constructor();
2818
+ ngOnDestroy(): void;
2819
+ add(element: HTMLElement, callback: Function): void;
2820
+ remove(element: HTMLElement): void;
2821
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserverMasterDirective, never>;
2822
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverMasterDirective, "[visibilityObserverMaster]", never, {}, {}, never, never, false, never>;
2579
2823
  }
2580
2824
 
2581
- declare class ConfiguratorSceneLoaderComponent {
2582
- showClass(): boolean;
2583
- loaderProgress: number;
2584
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
2585
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
2825
+ declare class VisibilityObserverDirective implements OnDestroy, OnInit {
2826
+ observerEnabled: boolean;
2827
+ isIntersecting: boolean;
2828
+ IS_INTERSECTING: boolean;
2829
+ IS_NOT_INTERSECTING: boolean;
2830
+ private _elementRef;
2831
+ private _parent;
2832
+ constructor(parent: VisibilityObserverMasterDirective, elementRef: ElementRef);
2833
+ ngOnDestroy(): void;
2834
+ ngOnInit(): void;
2835
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserverDirective, never>;
2836
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverDirective, "[visibilityObserver]", ["intersection"], { "observerEnabled": { "alias": "observerEnabled"; "required": false; }; }, {}, never, never, false, never>;
2586
2837
  }
2587
2838
 
2588
- declare class ConfiguratorSceneLoaderModule {
2589
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
2590
- static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i4.BrowserModule], [typeof ConfiguratorSceneLoaderComponent]>;
2591
- static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
2839
+ declare class DirectivesModule {
2840
+ static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
2841
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective], never, [typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective]>;
2842
+ static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
2592
2843
  }
2593
2844
 
2594
- declare class CustomButton {
2595
- caption: string;
2596
- handler: Function;
2597
- data: any;
2598
- xPos: number;
2599
- yPos: number;
2600
- size: number;
2601
- opacity: number;
2602
- constructor(caption?: string, handler?: Function, data?: any);
2845
+ declare class AnswersSlideoutModule {
2846
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
2847
+ 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]>;
2848
+ static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
2603
2849
  }
2604
2850
 
2605
- declare class ElementButtonsComponent implements OnDestroy {
2606
- iconCache: IconCacheService;
2607
- private _elementRef;
2608
- private _settingsService;
2851
+ declare class SelectionsSummaryComponent implements OnDestroy {
2852
+ configuratorConnectorService: ConfiguratorConnectorService;
2853
+ iconService: IconCacheService;
2609
2854
  showClass(): boolean;
2610
- readonly icon: typeof IconEnum;
2855
+ readonly icons: typeof IconEnum;
2856
+ selections: Selection[];
2857
+ showLabel: boolean;
2858
+ canClose: boolean;
2859
+ answersTemplate: TemplateRef<any>;
2860
+ answerToShowFromSelectionText: string;
2861
+ customDimensions: boolean;
2611
2862
  disableMouse: boolean;
2612
- handleDocumentMouseUp(event: any): void;
2863
+ handledocumentMouseUp(event: any): void;
2613
2864
  handleDocumentMouseDown(event: any): void;
2614
- addButtons: CustomButton[];
2615
- customizeButtons: CustomButton[];
2616
- resizeButtons: CustomButton[];
2617
- elementPointer: ElementRef;
2618
- set elementPosition(value: Vector2);
2619
- customizeButtonClicked: EventEmitter<void>;
2620
- get elementPosition(): Vector2;
2621
- showCaptionAddButton: boolean;
2622
- private _elementPosition;
2865
+ readonly closeClick: EventEmitter<void>;
2866
+ readonly cancelAnswers: EventEmitter<void>;
2867
+ readonly selectSelection: EventEmitter<Selection>;
2868
+ readonly repeatSelection: EventEmitter<Selection>;
2869
+ readonly deleteSelection: EventEmitter<Selection>;
2870
+ selectionToCustomize: Selection;
2871
+ valutaSymbol: string;
2872
+ showAsConfigured: boolean;
2623
2873
  private _subs;
2624
- constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: SettingsService);
2874
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService);
2625
2875
  ngOnDestroy(): void;
2626
- private _repositionLine;
2627
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
2628
- 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>;
2876
+ handleClick(sel: Selection): void;
2877
+ handleRepeat(event: MouseEvent, sel: Selection): void;
2878
+ handleDelete(event: MouseEvent, sel: Selection): void;
2879
+ toggleElement(sel: Selection): void;
2880
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
2881
+ 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>;
2629
2882
  }
2630
2883
 
2631
- declare class ElementButtonsModule {
2632
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
2633
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
2634
- static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
2884
+ declare class CoSummaryLine implements AfterViewInit {
2885
+ iconService: IconCacheService;
2886
+ private _changeDetector;
2887
+ showClass(): boolean;
2888
+ readonly icons: typeof IconEnum;
2889
+ titleBlock: ElementRef;
2890
+ imageData: string;
2891
+ title: string;
2892
+ description: string;
2893
+ /**
2894
+ * Total price of the selection
2895
+ */
2896
+ price: number | string;
2897
+ /**
2898
+ * Multiline data for selection tree
2899
+ * title: string
2900
+ * description: string
2901
+ * price: number | string
2902
+ */
2903
+ multilineData: any;
2904
+ valutaSymbol: string;
2905
+ isHighlighted: boolean;
2906
+ isCollapsable: boolean;
2907
+ canRepeat: boolean;
2908
+ isDeletable: boolean;
2909
+ showContent: boolean;
2910
+ repeatClicked: EventEmitter<MouseEvent>;
2911
+ deleteClicked: EventEmitter<MouseEvent>;
2912
+ data: {
2913
+ title: string;
2914
+ description: string;
2915
+ price: number | string;
2916
+ }[];
2917
+ showList: boolean;
2918
+ showCollapsable: boolean;
2919
+ showListTotalPrice: boolean;
2920
+ constructor(iconService: IconCacheService, _changeDetector: ChangeDetectorRef);
2921
+ ngAfterViewInit(): void;
2922
+ collapsableCheck(): void;
2923
+ toggleShowHideList(event: MouseEvent): void;
2924
+ handleRepeatClick(event: MouseEvent): void;
2925
+ handleDeleteClick(event: MouseEvent): void;
2926
+ private _setShowList;
2927
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLine, never>;
2928
+ static ɵcmp: i0.ɵɵComponentDeclaration<CoSummaryLine, "co-summary-line", never, { "imageData": { "alias": "imageData"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "price": { "alias": "price"; "required": false; }; "multilineData": { "alias": "multilineData"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "isHighlighted": { "alias": "isHighlighted"; "required": false; }; "isCollapsable": { "alias": "isCollapsable"; "required": false; }; "canRepeat": { "alias": "canRepeat"; "required": false; }; "isDeletable": { "alias": "isDeletable"; "required": false; }; "showContent": { "alias": "showContent"; "required": false; }; }, { "repeatClicked": "repeatClicked"; "deleteClicked": "deleteClicked"; }, never, ["*"], false, never>;
2635
2929
  }
2636
2930
 
2637
- declare class ElementToolbarComponent implements OnDestroy {
2638
- settingsService: SettingsService;
2639
- iconCache: IconCacheService;
2931
+ declare class CoSummaryLineModule {
2932
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
2933
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof PipesModule, typeof i3.CommonModule, typeof i5.PriceDisplayPipeModule, typeof i5.ImageModule, typeof i5.IconModule], [typeof CoSummaryLine]>;
2934
+ static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
2935
+ }
2936
+
2937
+ declare class SelectionsSummaryLineComponent implements OnDestroy {
2938
+ configuratorConnectorService: ConfiguratorConnectorService;
2640
2939
  showClass(): boolean;
2641
- readonly icon: typeof IconEnum;
2642
- elementPointer: ElementRef;
2643
- hostClass: boolean;
2644
- editMenu: CustomButton[];
2645
- showPointer: boolean;
2646
- showSwap: boolean;
2647
- readonly deleteClicked: EventEmitter<any>;
2648
- readonly swapClicked: EventEmitter<any>;
2649
- readonly animationClicked: EventEmitter<any>;
2650
- showEditMenu: boolean;
2651
- get instantMenu(): boolean;
2652
- constructor(settingsService: SettingsService, iconCache: IconCacheService);
2940
+ set selection(value: Selection);
2941
+ get selection(): Selection;
2942
+ valutaSymbol: string;
2943
+ answersTemplate: TemplateRef<any>;
2944
+ answerToShowFromSelectionText: string;
2945
+ customizeButtonClicked: EventEmitter<void>;
2946
+ summaryLineClick: EventEmitter<void>;
2947
+ summaryLineRepeat: EventEmitter<MouseEvent>;
2948
+ summaryLineDelete: EventEmitter<MouseEvent>;
2949
+ shouldBeHidden: boolean;
2950
+ selectionDescription: string;
2951
+ showCustomizeButton: boolean;
2952
+ showOnlyLastAnswerDescriptionGenericSelection: boolean;
2953
+ private _subs;
2954
+ private _selection;
2955
+ constructor(configuratorConnectorService: ConfiguratorConnectorService);
2653
2956
  ngOnDestroy(): void;
2654
- handleEditClick(): void;
2655
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
2656
- 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>;
2957
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineComponent, never>;
2958
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryLineComponent, "co-selections-summary-line", never, { "selection": { "alias": "selection"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "summaryLineClick": "summaryLineClick"; "summaryLineRepeat": "summaryLineRepeat"; "summaryLineDelete": "summaryLineDelete"; }, never, never, false, never>;
2657
2959
  }
2658
2960
 
2659
- declare class ElementToolbarModule {
2660
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
2661
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
2662
- static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
2961
+ declare class SelectionsSummaryLineModule {
2962
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
2963
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof PipesModule, typeof i3.CommonModule, typeof CoSummaryLineModule], [typeof SelectionsSummaryLineComponent]>;
2964
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
2663
2965
  }
2664
2966
 
2665
- declare class SceneOptionButtonInterface {
2666
- id: number;
2667
- elementId: string;
2668
- label?: string;
2669
- class?: string;
2670
- tooltip?: string;
2671
- image?: string | SafeHtml;
2672
- order?: number;
2673
- toggle?: boolean;
2674
- tooltipActive?: string;
2675
- active?: boolean;
2676
- object?: any;
2677
- click?: Function;
2678
- show?: boolean;
2679
- icon?: IconEnum;
2680
- children?: SceneOptionButtonInterface[];
2967
+ declare class SelectionsSummaryModule {
2968
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
2969
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof PipesModule, typeof i5.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i5.IconModule], [typeof SelectionsSummaryComponent]>;
2970
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
2681
2971
  }
2682
2972
 
2683
- declare class SceneOptionsService {
2684
- sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
2685
- sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
2686
- addSceneOptionButton(button: SceneOptionButtonInterface): void;
2687
- updateSceneOptionButton(button: SceneOptionButtonInterface): void;
2688
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
2689
- static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
2973
+ declare class LiteSelectorModule {
2974
+ static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorModule, never>;
2975
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LiteSelectorModule, [typeof LiteSelectorComponent], [typeof AnswersSlideoutModule, typeof i3.CommonModule, typeof SelectionsSummaryModule], [typeof LiteSelectorComponent]>;
2976
+ static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
2690
2977
  }
2691
2978
 
2692
- declare class SceneOptionsComponent implements OnDestroy {
2979
+ declare class ProductConfiguratorService {
2980
+ showChange: EventEmitter<boolean>;
2981
+ answerChosen: EventEmitter<Answer>;
2982
+ selectSelection: EventEmitter<SelectorStructure>;
2983
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorService, never>;
2984
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
2985
+ }
2986
+
2987
+ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
2988
+ configuratorConnectorService: ConfiguratorConnectorService;
2989
+ buildFurnitureService: SwitchBuildFurnitureService;
2990
+ settingsService: SettingsService;
2991
+ productConfiguratorService: ProductConfiguratorService;
2693
2992
  iconService: IconCacheService;
2694
- private _sceneOptionsService;
2993
+ private _sanitizer;
2994
+ private _configuringService;
2695
2995
  showClass(): boolean;
2696
2996
  readonly icons: typeof IconEnum;
2697
- buttons: SceneOptionButtonInterface[];
2997
+ set show(value: boolean);
2998
+ get show(): boolean;
2999
+ showHeaderInformation: boolean;
3000
+ set showSelections(value: boolean);
3001
+ get showSelections(): boolean;
3002
+ showLabel: boolean;
3003
+ canClose: boolean;
3004
+ customDimensions: boolean;
3005
+ readonly showChange: EventEmitter<boolean>;
3006
+ readonly answerChosen: EventEmitter<Answer>;
3007
+ valutaSymbol: string;
3008
+ article: Article;
3009
+ selectionList: SelectorWithOptions[];
3010
+ safeDescription: SafeHtml;
3011
+ private _showSelections;
3012
+ private _show;
3013
+ private _selectionSelected;
2698
3014
  private _subs;
2699
- private _childrenShowing;
2700
- constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
3015
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService);
3016
+ ngOnInit(): void;
2701
3017
  ngOnDestroy(): void;
2702
- handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
2703
- handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
2704
- getIcon(buttonIcon: IconEnum): SafeHtml;
2705
- private _addButton;
2706
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
2707
- static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
3018
+ onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
3019
+ handleCloseClick(): void;
3020
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
3021
+ 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>;
2708
3022
  }
2709
3023
 
2710
- declare class SelectionsModule {
2711
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
2712
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i5.IconModule, typeof PipesModule, typeof i5$1.BrowserAnimationsModule], [typeof SceneOptionsComponent]>;
2713
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
3024
+ declare class ProductConfiguratorSelectorComponent implements OnInit {
3025
+ configuratorConnectorService: ConfiguratorConnectorService;
3026
+ settingsService: SettingsService;
3027
+ iconService: IconCacheService;
3028
+ showClass(): boolean;
3029
+ readonly icons: typeof IconEnum;
3030
+ exceptionContainer?: ElementRef;
3031
+ get hostClasses(): string;
3032
+ selection: SelectorStructure;
3033
+ options: SelectorWithOptions[];
3034
+ lastNodeWithChildren: boolean;
3035
+ selectionIndex: number;
3036
+ treeLevelIndex: number;
3037
+ isActive: boolean;
3038
+ markAsException: boolean;
3039
+ activate: EventEmitter<void>;
3040
+ get selectionIndexText(): string;
3041
+ selectionClass: string;
3042
+ listOfChoices: SelectorStructure[];
3043
+ activeChildIndex: number;
3044
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService);
3045
+ ngOnInit(): void;
3046
+ showAndScroll(): void;
3047
+ onSubHeaderClick(): void;
3048
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
3049
+ 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>;
2714
3050
  }
2715
3051
 
2716
- declare enum TextureType {
2717
- Basic = 0,
2718
- Image = 1,
2719
- CustomPattern = 2,
2720
- PBR = 3,
2721
- SHADOW = 4
3052
+ declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
3053
+ configuratorConnectorService: ConfiguratorConnectorService;
3054
+ settingsService: SettingsService;
3055
+ productConfiguratorService: ProductConfiguratorService;
3056
+ showClass(): boolean;
3057
+ selection: SelectorStructure;
3058
+ listOfChoices: SelectorStructure[];
3059
+ markAsException: boolean;
3060
+ configurationDisplayOption: typeof ConfigurationDisplayOption;
3061
+ selectionClass: string;
3062
+ showAllTiles: boolean;
3063
+ maxVisibleTiles: number;
3064
+ maxVisibleSmallTiles: number;
3065
+ visibleAnswers: SelectorStructure[];
3066
+ remainingTilesCount: number;
3067
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService);
3068
+ ngOnInit(): void;
3069
+ selectionClicked(answer: SelectorStructure): void;
3070
+ showMore(): void;
3071
+ showLess(): void;
3072
+ private _calculateVisibleAnswers;
3073
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
3074
+ 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>;
2722
3075
  }
2723
3076
 
2724
- interface TextureInterface {
2725
- name?: string;
2726
- type?: string | TextureType;
2727
- url?: string;
2728
- materializeUrl?: string;
2729
- bumpMap?: string;
2730
- bumpScale?: number;
2731
- roughness?: number;
2732
- roughnessMap?: string;
2733
- normalMap?: string;
2734
- alphaMap?: string;
2735
- repeatX?: number;
2736
- repeatY?: number;
2737
- metalness?: number;
2738
- metalnessMap?: string;
2739
- aoMapIntensity?: number;
2740
- aoMap?: string;
2741
- data?: any;
2742
- color?: string;
2743
- emissive?: string;
2744
- show?: boolean;
2745
- default?: boolean;
2746
- surfaces?: string[];
2747
- offset?: THREE.Vector2;
2748
- scale?: number;
2749
- rotation?: number;
2750
- stretch?: boolean;
2751
- height?: number;
2752
- width?: number;
2753
- tileSize?: number;
2754
- tileRotation?: number;
2755
- useStandalone?: boolean;
2756
- defaultStandalone?: boolean;
2757
- mirror?: boolean;
2758
- simplePlane?: boolean;
2759
- toneMapped?: boolean;
2760
- transparent?: boolean;
2761
- opacity?: number;
2762
- side?: number;
2763
- depthWrite?: boolean;
2764
- depthTest?: boolean;
3077
+ declare class ProductConfiguratorSelectorOptionTileComponent {
3078
+ configuratorConnectorService: ConfiguratorConnectorService;
3079
+ iconService: IconCacheService;
3080
+ settingsService: SettingsService;
3081
+ showClass(): boolean;
3082
+ readonly icons: typeof IconEnum;
3083
+ option: SelectorStructure;
3084
+ tileClass: string;
3085
+ selectionClicked: EventEmitter<void>;
3086
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3087
+ changeSelection(): void;
3088
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
3089
+ 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>;
2765
3090
  }
2766
3091
 
2767
- interface AdjustableElementInterface {
2768
- identifier: string;
2769
- connector: string;
2770
- connectedNodeId: number;
3092
+ declare class ProductConfiguratorSelectorOptionTileModule {
3093
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
3094
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i5.IconModule, typeof i3.CommonModule, typeof PipesModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
3095
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
2771
3096
  }
2772
3097
 
2773
- interface Skin {
2774
- [face: string]: SkinFragment;
3098
+ declare class ProductConfiguratorOptionCheckboxComponent {
3099
+ configuratorConnectorService: ConfiguratorConnectorService;
3100
+ iconService: IconCacheService;
3101
+ settingsService: SettingsService;
3102
+ showClass(): boolean;
3103
+ readonly icons: typeof IconEnum;
3104
+ option: SelectorStructure;
3105
+ selectionClicked: EventEmitter<void>;
3106
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3107
+ changeSelection(): void;
3108
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
3109
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2775
3110
  }
2776
- interface SkinFragment {
2777
- color?: number;
2778
- texture?: Texture;
3111
+
3112
+ declare class ProductConfiguratorSelectorOptionCheckboxModule {
3113
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
3114
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
3115
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
3116
+ }
3117
+
3118
+ declare class ProductConfiguratorSelectorOptionButtonComponent {
3119
+ configuratorConnectorService: ConfiguratorConnectorService;
3120
+ iconService: IconCacheService;
3121
+ settingsService: SettingsService;
3122
+ showClass(): boolean;
3123
+ readonly icons: typeof IconEnum;
3124
+ option: SelectorStructure;
3125
+ selectionClicked: EventEmitter<void>;
3126
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3127
+ changeSelection(): void;
3128
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
3129
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
2779
3130
  }
2780
3131
 
2781
- /** Meta data for items. */
2782
- interface Metadata {
2783
- itemName?: string;
2784
- itemDescription?: string;
2785
- itemType?: number;
2786
- /**
2787
- * InstanceId
2788
- */
2789
- itemId?: string;
2790
- originalItemId?: string;
2791
- /**
2792
- * Sku
2793
- */
2794
- itemIdentifier?: string;
2795
- goodId?: string;
2796
- goodType?: string;
2797
- isCustom?: boolean;
2798
- locked?: boolean;
2799
- configurable?: boolean;
2800
- ione?: boolean;
2801
- position?: Vector3;
2802
- rotation?: number | Euler;
2803
- scale?: Vector3;
2804
- centerPivot?: boolean;
2805
- ignoreInvisible?: boolean;
2806
- updatePivotOnCreate?: boolean;
2807
- elementConfiguration?: AdjustableElementInterface[];
2808
- obsolete?: boolean;
2809
- thirdPartyModel?: boolean;
2810
- usePivot?: boolean;
2811
- decos?: DecoNode[];
2812
- selections?: Selection[];
2813
- canElevate?: boolean;
2814
- onWall?: boolean;
2815
- modelUrl?: string;
2816
- scalable?: boolean;
2817
- scalePercentage?: number;
2818
- resizable?: boolean;
2819
- elevation?: number;
2820
- elevationFixed?: boolean;
2821
- elevationAdjustable?: boolean;
2822
- schema?: string;
2823
- assetPath?: string;
2824
- texture?: Texture;
2825
- textureAssetName?: string;
2826
- skin?: Skin;
2827
- frameColor?: number;
2828
- doorColor?: number;
2829
- windowColor?: THREE.Color;
2830
- doorpost?: boolean;
2831
- isGlass?: boolean;
2832
- itemGroup?: any;
2833
- canRotateX?: boolean;
2834
- canRotateY?: boolean;
2835
- canRotateZ?: boolean;
2836
- canScaleX?: boolean;
2837
- canScaleY?: boolean;
2838
- canScaleZ?: boolean;
2839
- colorable?: boolean;
2840
- default180?: boolean;
2841
- objectUUID?: string;
2842
- conversionGTMSend?: boolean;
2843
- conversionSubmittedPrice?: string;
2844
- hdecoType?: string;
2845
- opening?: {
2846
- show: boolean;
2847
- double: boolean;
2848
- invertDirection: boolean;
2849
- invertSide: boolean;
2850
- };
3132
+ declare class ProductConfiguratorSelectorOptionButtonModule {
3133
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
3134
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
3135
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
2851
3136
  }
2852
3137
 
2853
- declare class Texture {
2854
- name: string;
2855
- type: TextureType;
2856
- url: string;
2857
- materializeUrl: string;
2858
- bumpMap: string;
2859
- bumpScale: number;
2860
- roughness: number;
2861
- roughnessMap: string;
2862
- normalMap: string;
2863
- repeatX: number;
2864
- repeatY: number;
2865
- metalness: number;
2866
- metalnessMap: string;
2867
- aoMapIntensity: number;
2868
- aoMap: string;
2869
- alphaMap: string;
2870
- color: string;
2871
- emissive: string;
2872
- data: any;
2873
- surfaces: string[];
2874
- offset: THREE.Vector2;
2875
- scale: number;
2876
- rotation: number;
2877
- stretch: boolean;
2878
- show: boolean;
2879
- default: boolean;
2880
- height: number;
2881
- width: number;
2882
- tileSize: number;
2883
- tileRotation: number;
2884
- dimensions: Vector2;
2885
- offsetScale: number;
2886
- useStandalone: boolean;
2887
- defaultStandalone: boolean;
2888
- mirror: boolean;
2889
- simplePlane: boolean;
2890
- toneMapped: boolean;
2891
- transparent: boolean;
2892
- opacity: number;
2893
- side: THREE.Side;
2894
- depthWrite: boolean;
2895
- depthTest: boolean;
2896
- metadata?: Metadata;
2897
- static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
3138
+ declare class ProductConfiguratorSelectorOptionDropDownComponent {
3139
+ configuratorConnectorService: ConfiguratorConnectorService;
3140
+ iconService: IconCacheService;
3141
+ settingsService: SettingsService;
3142
+ showClass(): boolean;
3143
+ readonly icons: typeof IconEnum;
3144
+ options: SelectorStructure[];
3145
+ tileClass: string;
3146
+ selectionClicked: EventEmitter<SelectorStructure>;
3147
+ constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
3148
+ onChange(event: Event): void;
3149
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
3150
+ 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>;
2898
3151
  }
2899
3152
 
2900
- declare enum ShadowMapLocalType {
2901
- BasicShadowMap = "BasicShadowMap",
2902
- PCFShadowMap = "PCFShadowMap",
2903
- PCFSoftShadowMap = "PCFSoftShadowMap",
2904
- VSMShadowMap = "VSMShadowMap"
3153
+ declare class ProductConfiguratorSelectorOptionDropdownModule {
3154
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
3155
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
3156
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
2905
3157
  }
2906
3158
 
2907
- declare enum OutputEncoding {
2908
- NoColorSpace = "NoColorSpace",
2909
- SRGBColorSpace = "SRGBColorSpace",
2910
- LinearSRGBColorSpace = "LinearSRGBColorSpace",
2911
- DisplayP3ColorSpace = "DisplayP3ColorSpace",
2912
- LinearDisplayP3ColorSpace = "LinearDisplayP3ColorSpace"
3159
+ declare class ProductConfiguratorSelectorOptionModule {
3160
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
3161
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof PipesModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
3162
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
2913
3163
  }
2914
3164
 
2915
- declare enum LightEnum {
2916
- SpotLight = "SpotLight",
2917
- DirectionalLight = "DirectionalLight",
2918
- AmbientLight = "AmbientLight",
2919
- HemisphereLight = "HemisphereLight",
2920
- PointLight = "PointLight"
3165
+ declare class ProductConfiguratorSelectorModule {
3166
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
3167
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
3168
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
2921
3169
  }
2922
3170
 
2923
- declare class ShadowProperties {
2924
- mapSize: Vector2;
2925
- radius: number;
2926
- near: number;
2927
- far: number;
3171
+ declare class ProductConfiguratorModule {
3172
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
3173
+ 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]>;
3174
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
2928
3175
  }
2929
3176
 
2930
- declare class LightProperties {
2931
- type: LightEnum;
2932
- name: string;
2933
- visible: boolean;
2934
- position: Vector3;
2935
- color: Color;
2936
- groundColor: Color;
2937
- intensity: number;
2938
- angle: number;
2939
- power: number;
2940
- decay: number;
2941
- distance: number;
2942
- penumbra: number;
2943
- bias: number;
2944
- radius: number;
2945
- castShadow: boolean;
2946
- wallOffset: number;
2947
- rotationOffset: number;
2948
- topDownDirectional: boolean;
2949
- shadow: ShadowProperties;
2950
- static CreateNew(rawData: any): LightProperties;
3177
+ declare class ThreedselectorModule {
3178
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
3179
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule], [typeof ThreedselectorComponent]>;
3180
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
2951
3181
  }
2952
3182
 
2953
- declare enum ToneMappingLocal {
2954
- NoToneMapping = "NoToneMapping",
2955
- LinearToneMapping = "LinearToneMapping",
2956
- ReinhardToneMapping = "ReinhardToneMapping",
2957
- CineonToneMapping = "CineonToneMapping",
2958
- ACESFilmicToneMapping = "ACESFilmicToneMapping",
2959
- CustomToneMapping = "CustomToneMapping",
2960
- AgXToneMapping = "AgXToneMapping",
2961
- NeutralToneMapping = "NeutralToneMapping"
3183
+ declare class ConfiguratorModule {
3184
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
3185
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ThreedselectorModule], [typeof ConfiguratorComponent]>;
3186
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
2962
3187
  }
2963
3188
 
2964
- interface LightPresetInterface {
2965
- id: string;
2966
- name: string;
2967
- default: boolean;
2968
- standalone: boolean;
2969
- group: string;
2970
- navigatorType: NavigatorType;
2971
- shadowMapType: ShadowMapLocalType;
2972
- outputEncoding: OutputEncoding;
2973
- shadowRadius: number;
2974
- toneMapping: ToneMappingLocal;
2975
- toneMappingExposure: number;
2976
- physicallyCorrectLights: boolean;
2977
- lights: LightProperties[];
2978
- hdri: string;
2979
- hdriIntensity: number;
3189
+ declare class ConfiguratorSceneLoaderComponent {
3190
+ showClass(): boolean;
3191
+ loaderProgress: number;
3192
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
3193
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
2980
3194
  }
2981
3195
 
2982
- declare class LightPreset {
2983
- id: string;
2984
- name: string;
2985
- navigatorType: NavigatorType;
2986
- default: boolean;
2987
- standalone: boolean;
2988
- group: string;
2989
- shadowMapType: ShadowMapLocalType;
2990
- outputEncoding: OutputEncoding;
2991
- colorSpace: ColorSpace;
2992
- shadowRadius: number;
2993
- toneMapping: ToneMappingLocal;
2994
- toneMappingExposure: number;
2995
- physicallyCorrectLights: boolean;
2996
- lights: LightProperties[];
2997
- hdri: string;
2998
- hdriIntensity: number;
2999
- dirty: boolean;
3000
- constructor();
3001
- static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
3002
- private _generateUniqueId;
3196
+ declare class ConfiguratorSceneLoaderModule {
3197
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
3198
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i3.CommonModule], [typeof ConfiguratorSceneLoaderComponent]>;
3199
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
3003
3200
  }
3004
3201
 
3005
- declare class BundleInitializerService implements OnDestroy {
3006
- private _jsonUtilsService;
3007
- private _settingsService;
3008
- private _ioneControllerService;
3009
- private _appInitializerService;
3010
- private _configurationService;
3011
- private _sceneService;
3012
- private _sceneOptionsService;
3013
- floorTextures: Texture[];
3014
- lightPresets: LightPreset[];
3015
- settings: Setting[];
3016
- floorTexturesLoaded: BehaviorSubject<Texture[]>;
3017
- lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
3018
- settingsLoaded: BehaviorSubject<Setting[]>;
3019
- allLoaded: BehaviorSubject<boolean>;
3020
- private _assetPath;
3021
- private _connectionSet;
3022
- private _subs;
3023
- private _jsonFile;
3024
- private _lightPresetsJsonFile;
3025
- constructor(_jsonUtilsService: JsonUtilsService, _settingsService: SettingsService, _ioneControllerService: ConfiguratorConnectorService, _appInitializerService: AppInitializerService, _configurationService: ConfigurationService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService);
3026
- ngOnDestroy(): void;
3027
- getFloorTextures(): Texture[];
3028
- getFloorTexture(): Texture;
3029
- getLightPreset(): LightPreset[];
3030
- private _initialize;
3031
- private _createTexture;
3032
- private _createLightPreset;
3033
- private _createSettings;
3034
- static ɵfac: i0.ɵɵFactoryDeclaration<BundleInitializerService, never>;
3035
- static ɵprov: i0.ɵɵInjectableDeclaration<BundleInitializerService>;
3202
+ declare class CustomButton {
3203
+ caption: string;
3204
+ handler: Function;
3205
+ data: any;
3206
+ xPos: number;
3207
+ yPos: number;
3208
+ size: number;
3209
+ opacity: number;
3210
+ constructor(caption?: string, handler?: Function, data?: any);
3036
3211
  }
3037
3212
 
3038
- declare class FloorPlaneService implements OnDestroy {
3213
+ declare class ElementButtonsComponent implements OnDestroy {
3214
+ iconCache: IconCacheService;
3215
+ private _elementRef;
3039
3216
  private _settingsService;
3040
- private _sceneService;
3041
- private _sceneOptionsService;
3042
- private _bundleInitializerService;
3043
- get floorPlane(): Object3D;
3044
- floorPlaneCreated: BehaviorSubject<boolean>;
3045
- private _standaloneFloors;
3046
- private _floorPlane;
3217
+ showClass(): boolean;
3218
+ readonly icon: typeof IconEnum;
3219
+ disableMouse: boolean;
3220
+ handleDocumentMouseUp(event: any): void;
3221
+ handleDocumentMouseDown(event: any): void;
3222
+ addButtons: CustomButton[];
3223
+ customizeButtons: CustomButton[];
3224
+ resizeButtons: CustomButton[];
3225
+ elementPointer: ElementRef;
3226
+ set elementPosition(value: Vector2);
3227
+ customizeButtonClicked: EventEmitter<void>;
3228
+ get elementPosition(): Vector2;
3229
+ showCaptionAddButton: boolean;
3230
+ private _elementPosition;
3047
3231
  private _subs;
3048
- private _sceneReady;
3049
- private _texturesReady;
3050
- constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
3232
+ constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: SettingsService);
3051
3233
  ngOnDestroy(): void;
3052
- createFloorPlane(): Promise<void>;
3053
- getCenterFloorPlane(): Vector3;
3054
- getDimensions(scale?: number): {
3055
- x: {
3056
- min: number;
3057
- max: number;
3058
- };
3059
- y: {
3060
- min: number;
3061
- max: number;
3062
- };
3063
- };
3064
- getPlaneSize(): Vector3;
3065
- private _getStandaloneFloorSize;
3066
- private _generateFloorPlane;
3067
- private _createFloorMaterial;
3068
- private _upsertFloorButtons;
3069
- private _changeStandaloneFloor;
3070
- private _setFloorTexture;
3071
- private _updateFloorMaterial;
3072
- private _setUpdatedMaterial;
3073
- private _getMaterials;
3074
- static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
3075
- static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
3234
+ private _repositionLine;
3235
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
3236
+ 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>;
3076
3237
  }
3077
3238
 
3078
- declare class LightsService implements OnDestroy {
3079
- private _sceneService;
3080
- private _bundleInitializerService;
3081
- private _configurationService;
3082
- private _floorPlanService;
3083
- lights: Light[];
3084
- onLightAdded: Subject<{
3085
- light: Light;
3086
- index: number;
3087
- }>;
3088
- private _subs;
3089
- constructor(_sceneService: SceneService, _bundleInitializerService: BundleInitializerService, _configurationService: ConfigurationService, _floorPlanService: FloorPlaneService);
3090
- ngOnDestroy(): void;
3091
- init(): void;
3092
- createLight<T extends Light>(modelClass: any): void;
3093
- addLight(light: Light): void;
3094
- removeAllLights(): void;
3095
- initiateLightPreset(): void;
3096
- updateAllOffsets(): void;
3097
- updateOffsets(light: Light): void;
3098
- private _addLight;
3099
- private _removeLight;
3100
- private _updateShadowCamera;
3101
- static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
3102
- static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
3239
+ declare class ElementButtonsModule {
3240
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
3241
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
3242
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
3103
3243
  }
3104
3244
 
3105
- declare class LightPresetsService implements OnDestroy {
3106
- private _lightsService;
3107
- private _appService;
3108
- private _sceneService;
3109
- private _screenSizeAnalysis;
3110
- private _settingsService;
3111
- set activeLightPreset(value: LightPreset);
3112
- get activeLightPreset(): LightPreset;
3113
- loadedLightPresets: LightPreset[];
3114
- presetLoaded: BehaviorSubject<boolean>;
3115
- private _activeLightPreset;
3116
- private _lightPresetsLoaded;
3117
- private _subs;
3118
- private _lightsMap;
3119
- constructor(_lightsService: LightsService, _appService: BundleInitializerService, _sceneService: SceneService, _screenSizeAnalysis: ScreenSizeAnalysisService, _settingsService: SettingsService);
3120
- init(): void;
3245
+ declare class ElementToolbarComponent implements OnDestroy {
3246
+ settingsService: SettingsService;
3247
+ iconCache: IconCacheService;
3248
+ showClass(): boolean;
3249
+ readonly icon: typeof IconEnum;
3250
+ elementPointer: ElementRef;
3251
+ hostClass: boolean;
3252
+ editMenu: CustomButton[];
3253
+ showPointer: boolean;
3254
+ showSwap: boolean;
3255
+ readonly deleteClicked: EventEmitter<any>;
3256
+ readonly swapClicked: EventEmitter<any>;
3257
+ readonly animationClicked: EventEmitter<any>;
3258
+ showEditMenu: boolean;
3259
+ get instantMenu(): boolean;
3260
+ constructor(settingsService: SettingsService, iconCache: IconCacheService);
3121
3261
  ngOnDestroy(): void;
3122
- loadLightPreset(lightPreset: LightPreset): Promise<void>;
3123
- prepareLoadLightPreset(standalone?: boolean): Promise<void>;
3124
- private _prepareLoadLightPreset;
3125
- private _createLightFromProperties;
3126
- private _setObjectProperties;
3127
- static ɵfac: i0.ɵɵFactoryDeclaration<LightPresetsService, never>;
3128
- static ɵprov: i0.ɵɵInjectableDeclaration<LightPresetsService>;
3262
+ handleEditClick(): void;
3263
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
3264
+ 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>;
3129
3265
  }
3130
3266
 
3131
- declare class IntersectionService {
3132
- private _cameraService;
3133
- constructor(_cameraService: CameraService);
3134
- getIntersections(mouseVector: Vector3, planeObjects: Object3D[], options?: any): Intersection[];
3135
- removeIf(array: any, func: any): any[];
3136
- static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
3137
- static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
3267
+ declare class ElementToolbarModule {
3268
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
3269
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
3270
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
3138
3271
  }
3139
3272
 
3140
- declare class SceneEventService implements OnDestroy {
3141
- private _sceneService;
3142
- private _cameraService;
3143
- private _connectorService;
3144
- private _intersectionService;
3145
- private _floorPlaneService;
3146
- private _itemService;
3147
- private _appEventService;
3148
- readonly intersectOffsetForWalls = 20;
3149
- readonly longTouchDuration = 600;
3150
- rotateNoDrag: boolean;
3151
- private _element;
3152
- private _controls;
3153
- private _camera;
3154
- private _mousePosition;
3155
- private _oldMousePosition;
3156
- private _rotationStartPoint;
3157
- private _intersectedObject;
3158
- private _intersectedMesh;
3159
- private _mouseoverObject;
3160
- private _selectedObject;
3161
- private _prevSelectedObject;
3162
- private _defaultCursorStyle;
3163
- private _inDragOver;
3164
- private _mouseDown;
3165
- private _mouseMoved;
3166
- private _rotateMouseOver;
3167
- private _groupingMode;
3168
- private _state;
3169
- private _intersectedWall;
3170
- private _intersectedFloor;
3273
+ declare class SceneOptionsComponent implements OnDestroy {
3274
+ iconService: IconCacheService;
3275
+ private _sceneOptionsService;
3276
+ showClass(): boolean;
3277
+ readonly icons: typeof IconEnum;
3278
+ buttons: SceneOptionButtonInterface[];
3171
3279
  private _subs;
3172
- private _cameraMoveSub;
3173
- private _debouncedSaveState;
3174
- private _touchStart;
3175
- private _touchEnd;
3176
- private _touchCancel;
3177
- private _touchMove;
3178
- constructor(_sceneService: SceneService, _cameraService: CameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ItemService, _appEventService: AppEventService);
3280
+ private _childrenShowing;
3281
+ constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
3179
3282
  ngOnDestroy(): void;
3180
- init(element: HTMLElement): void;
3181
- setExploreMode(on?: boolean): void;
3182
- setSelectedObject(object: Object3D, mesh?: Object3D | Mesh): void;
3183
- setUnselectedObject(): void;
3184
- private _updateIntersections;
3185
- private _clearIntersectedObject;
3186
- private _setMousePositionFromTouchEvent;
3187
- private _touchStartEvent;
3188
- private _touchEndEvent;
3189
- private _touchMoveEvent;
3190
- private _mouseUpEvent;
3191
- private _mouseMoveEvent;
3192
- private _leftMouseDownEvent;
3193
- private _getIntersections;
3194
- private _setIntersectedObject;
3195
- private _isMouseEventAllowed;
3196
- private _mouseToVec3;
3197
- private _markSceneToUpdate;
3198
- private _setCursorStyle;
3199
- static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
3200
- static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
3283
+ handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
3284
+ handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
3285
+ getIcon(buttonIcon: IconEnum): SafeHtml;
3286
+ private _addButton;
3287
+ static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
3288
+ static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
3289
+ }
3290
+
3291
+ declare class SelectionsModule {
3292
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
3293
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i5.IconModule, typeof PipesModule], [typeof SceneOptionsComponent]>;
3294
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
3201
3295
  }
3202
3296
 
3203
3297
  declare class ConfiguratorSceneComponent implements OnDestroy {
@@ -3298,4 +3392,4 @@ declare class Builder {
3298
3392
  static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
3299
3393
  }
3300
3394
 
3301
- 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, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, ThreedselectorComponent, ThreedselectorModule };
3395
+ 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 };