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