@colijnit/configurator 262.1.2 → 262.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/colijnit-configurator.mjs +9197 -11579
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +1388 -1786
- package/lib/components/answer-card/style/_layout.scss +2 -3
- package/lib/components/answer-card/style/_theme.scss +2 -3
- package/lib/components/answer-card/style/material.scss +1 -0
- package/lib/components/answer-info-dialog/style/_layout.scss +2 -3
- package/lib/components/answer-info-dialog/style/_theme.scss +2 -3
- package/lib/components/answers-slideout/style/_layout.scss +4 -5
- package/lib/components/answers-slideout/style/_theme.scss +2 -3
- package/lib/components/color-filter/style/_layout.scss +2 -3
- package/lib/components/color-filter/style/_theme.scss +2 -3
- package/lib/components/configuration-preset/style/_layout.scss +41 -0
- package/lib/components/configuration-preset/style/_material-definition.scss +5 -0
- package/lib/components/configuration-preset/style/_theme.scss +19 -0
- package/lib/components/configuration-preset/style/material.scss +3 -0
- package/lib/components/configuration-preset-dialog/style/_layout.scss +81 -0
- package/lib/components/configuration-preset-dialog/style/_material-definition.scss +5 -0
- package/lib/components/configuration-preset-dialog/style/_theme.scss +6 -0
- package/lib/components/configuration-preset-dialog/style/material.scss +3 -0
- package/lib/components/configurator/style/_layout.scss +2 -4
- package/lib/components/configurator/style/_theme.scss +2 -3
- package/lib/components/configurator-dialog/style/_layout.scss +2 -3
- package/lib/components/configurator-dialog/style/_theme.scss +2 -3
- package/lib/components/configurator-dialog/style/material.scss +3 -3
- package/lib/components/configurator-loader/style/_layout.scss +12 -3
- package/lib/components/configurator-loader/style/_theme.scss +2 -3
- package/lib/components/configurator-loader/style/material.scss +0 -11
- package/lib/components/configurator-scene/style/_layout.scss +12 -17
- package/lib/components/configurator-scene/style/_theme.scss +2 -4
- package/lib/components/configurator-scene-loader/style/_layout.scss +12 -3
- package/lib/components/configurator-scene-loader/style/_theme.scss +2 -3
- package/lib/components/configurator-scene-loader/style/material.scss +0 -11
- package/lib/components/element-buttons/style/_layout.scss +15 -3
- package/lib/components/element-buttons/style/_theme.scss +2 -3
- package/lib/components/element-toolbar/style/_layout.scss +3 -11
- package/lib/components/element-toolbar/style/_theme.scss +6 -5
- package/lib/components/image-zoom/style/_layout.scss +2 -3
- package/lib/components/image-zoom/style/_theme.scss +2 -3
- package/lib/components/lite-selector/style/_layout.scss +2 -3
- package/lib/components/lite-selector/style/_theme.scss +2 -3
- package/lib/components/product-configurator/style/_layout.scss +6 -4
- package/lib/components/product-configurator/style/_material-definition.scss +1 -0
- package/lib/components/product-configurator/style/_theme.scss +9 -4
- package/lib/components/product-configurator-selector/style/_layout.scss +28 -4
- package/lib/components/product-configurator-selector/style/_theme.scss +22 -6
- package/lib/components/product-configurator-selector-option/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector-option-button/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option-button/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector-option-checkbox/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +5 -3
- package/lib/components/product-configurator-selector-option-dropdown/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +14 -7
- package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +30 -5
- package/lib/components/progress-bar/style/_layout.scss +2 -3
- package/lib/components/progress-bar/style/_theme.scss +2 -3
- package/lib/components/scene-options/style/_layout.scss +8 -7
- package/lib/components/scene-options/style/_theme.scss +2 -3
- package/lib/components/selections-summary/style/_layout.scss +2 -3
- package/lib/components/selections-summary/style/_theme.scss +2 -3
- package/lib/components/selections-summary-line/style/_layout.scss +2 -3
- package/lib/components/selections-summary-line/style/_theme.scss +2 -3
- package/lib/components/slideout/style/_layout.scss +2 -3
- package/lib/components/slideout/style/_theme.scss +2 -3
- package/lib/components/summary-line/style/_layout.scss +2 -3
- package/lib/components/summary-line/style/_theme.scss +2 -3
- package/lib/components/tag-filter/style/_layout.scss +2 -3
- package/lib/components/tag-filter/style/_theme.scss +2 -3
- package/lib/style/_index.scss +2 -0
- package/lib/style/_variables.scss +20 -7
- package/lib/style/configurator-globals.scss +6 -1
- package/package.json +3 -2
- package/lib/components/element-toolbar/element-toolbar.component.scss +0 -59
- package/lib/components/threedselector/style/_layout.scss +0 -32
- package/lib/components/threedselector/style/_material-definition.scss +0 -3
- package/lib/components/threedselector/style/_theme.scss +0 -7
- package/lib/components/threedselector/style/material.scss +0 -9
package/index.d.ts
CHANGED
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy,
|
|
2
|
+
import { OnDestroy, EventEmitter, OnInit, TemplateRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
|
-
import { Object3D, Material, Vector3, Euler, Color, Side,
|
|
5
|
-
import { SafeHtml,
|
|
4
|
+
import { Object3D, Material, Vector3, Euler, Color, Side, Scene, Mesh, PerspectiveCamera, WebGLRenderer, Camera, Vector2, Box3 } from 'three';
|
|
5
|
+
import { SafeHtml, DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
6
6
|
import { DecoNode } from '@colijnit/configuratorapi/build/model/deco-node';
|
|
7
7
|
import { Selection } from '@colijnit/configuratorapi/build/model/selection';
|
|
8
|
-
import { BehaviorSubject, Subject,
|
|
8
|
+
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
9
9
|
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
10
10
|
import { Article } from '@colijnit/configuratorapi/build/model/article';
|
|
11
|
+
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
11
12
|
import { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
|
|
13
|
+
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
12
14
|
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
13
15
|
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
14
16
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
15
17
|
import { LoginResponse } from '@colijnit/ioneconnector/build/model/login-response';
|
|
16
18
|
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
17
|
-
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
18
19
|
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
19
20
|
import { ConfiguratorStatisticsEnvironment } from '@colijnit/configuratorapi/build/model/configurator-statistics-environment';
|
|
20
|
-
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
21
21
|
import { AnswerPrice } from '@colijnit/configuratorapi/build/model/answer-price';
|
|
22
22
|
import { Question } from '@colijnit/configuratorapi/build/model/question';
|
|
23
23
|
import { ArticleText } from '@colijnit/configuratorapi/build/model/article-text.bo';
|
|
24
24
|
import { SkipButtonInfo } from '@colijnit/configuratorapi/build/model/skip-button-info';
|
|
25
|
+
import * as i2 from '@colijnit/utilities';
|
|
26
|
+
import { UtilitiesConnectorService, TextureInterface as TextureInterface$1, PostProcessingService, JsonUtilsService, LightsService, TranslationService } from '@colijnit/utilities';
|
|
25
27
|
import { WebGLPathTracer } from 'three-gpu-pathtracer';
|
|
26
28
|
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
27
|
-
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
28
|
-
import { ColorSpace } from 'three/src/constants.js';
|
|
29
29
|
import * as i3 from '@angular/common';
|
|
30
|
-
import * as
|
|
30
|
+
import * as i3$1 from '@colijnit/corecomponents_v12';
|
|
31
31
|
import * as i7 from '@angular/forms';
|
|
32
|
+
import * as i4 from '@angular/cdk/clipboard';
|
|
32
33
|
import { Color as Color$1 } from '@colijnit/configuratorapi/build/model/color';
|
|
33
34
|
import { Tag } from '@colijnit/configuratorapi/build/model/tag';
|
|
34
|
-
import * as i3$
|
|
35
|
-
import * as i4 from '@angular/material/button';
|
|
35
|
+
import * as i3$2 from '@angular/material/icon';
|
|
36
|
+
import * as i4$1 from '@angular/material/button';
|
|
36
37
|
import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
|
|
37
38
|
|
|
38
39
|
declare class ConfiguratorErrorMessage {
|
|
@@ -116,13 +117,21 @@ declare class IntersectedObjects {
|
|
|
116
117
|
constructor(parent?: any, child?: any);
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
declare
|
|
120
|
+
declare enum PresetDialogMode {
|
|
121
|
+
SAVE = 0,
|
|
122
|
+
LOAD = 1
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class ConfiguratorEventService {
|
|
126
|
+
skuSet: BehaviorSubject<string>;
|
|
127
|
+
instanceIdSet: BehaviorSubject<string>;
|
|
120
128
|
instanceSet: BehaviorSubject<string>;
|
|
121
129
|
answerCountReceived: BehaviorSubject<number>;
|
|
122
|
-
readyToRender: BehaviorSubject<boolean>;
|
|
123
130
|
buildFinished: BehaviorSubject<ConfigurationResultObject>;
|
|
131
|
+
addedToScene: BehaviorSubject<ConfigurationResultObject>;
|
|
124
132
|
configurationTemplateChange: BehaviorSubject<ConfigurationTemplate>;
|
|
125
133
|
articleNotFound: BehaviorSubject<ConfigurationResultObject>;
|
|
134
|
+
selectionWithAnswersChanged: BehaviorSubject<SelectorWithOptions[]>;
|
|
126
135
|
glbCreated: Subject<string>;
|
|
127
136
|
showOutline: Subject<any>;
|
|
128
137
|
showErrorOutline: Subject<any>;
|
|
@@ -137,8 +146,13 @@ declare class AppEventService {
|
|
|
137
146
|
articleInfoReceived: Subject<string>;
|
|
138
147
|
onObjectSelected: Subject<IntersectedObjects>;
|
|
139
148
|
onObjectUnSelected: Subject<boolean>;
|
|
140
|
-
|
|
141
|
-
|
|
149
|
+
changeConfigurationPresetDialogMode: Subject<PresetDialogMode>;
|
|
150
|
+
onCanvasImageReceived: Subject<string>;
|
|
151
|
+
onThumbnailReceived: Subject<string>;
|
|
152
|
+
renderImageChanged: BehaviorSubject<string>;
|
|
153
|
+
renderImageError: BehaviorSubject<string>;
|
|
154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorEventService, never>;
|
|
155
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorEventService>;
|
|
142
156
|
}
|
|
143
157
|
|
|
144
158
|
declare class ArParameters {
|
|
@@ -217,6 +231,9 @@ declare class SettingOptions {
|
|
|
217
231
|
useExternalOpenSave?: boolean;
|
|
218
232
|
floorFadeStart?: number;
|
|
219
233
|
floorFadeEnd?: number;
|
|
234
|
+
maxVisibleTiles: number;
|
|
235
|
+
maxVisibleSmallTiles: number;
|
|
236
|
+
groupedShowAllBtn: boolean;
|
|
220
237
|
}
|
|
221
238
|
|
|
222
239
|
declare class RenderParameters {
|
|
@@ -315,102 +332,72 @@ declare class ConfiguratorSettings {
|
|
|
315
332
|
infoPublicationCode?: number;
|
|
316
333
|
}
|
|
317
334
|
|
|
318
|
-
declare class
|
|
319
|
-
readJsonFile(filePath: string, includeBaseUrl?: boolean): Promise<any>;
|
|
320
|
-
private _includeBaseUrl;
|
|
321
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JsonUtilsService, never>;
|
|
322
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<JsonUtilsService>;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
declare class DictionaryService {
|
|
326
|
-
private _jsonUtilsService;
|
|
327
|
-
private readonly _placeholder;
|
|
328
|
-
private _client;
|
|
329
|
-
private _language;
|
|
330
|
-
private _dictionary;
|
|
331
|
-
constructor(_jsonUtilsService: JsonUtilsService);
|
|
332
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
333
|
-
setDictionary(path: string, client: string, languageCode: string, additionalTranslationFile?: any): Promise<void>;
|
|
334
|
-
private _getDictionaryData;
|
|
335
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
|
|
336
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
declare enum NavigatorType {
|
|
340
|
-
IOsSafari = "IOsSafari",
|
|
341
|
-
Browser = "Browser"
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
interface AoOptions {
|
|
345
|
-
aoSamples: number;
|
|
346
|
-
denoiseSamples: number;
|
|
347
|
-
denoiseRadius: number;
|
|
348
|
-
aoRadius: number;
|
|
349
|
-
distanceFalloff: number;
|
|
350
|
-
screenSpaceRadius: boolean;
|
|
351
|
-
halfRes: boolean;
|
|
352
|
-
depthAwareUpsampling: boolean;
|
|
353
|
-
transparencyAware: boolean;
|
|
354
|
-
intensity: number;
|
|
355
|
-
renderMode: string;
|
|
356
|
-
color: string;
|
|
357
|
-
colorMultiply: boolean;
|
|
358
|
-
stencil: boolean;
|
|
359
|
-
accumulate: boolean;
|
|
360
|
-
gammaCorrection: boolean;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
interface AaOptions {
|
|
364
|
-
sampleLevel: number;
|
|
365
|
-
unbiased: boolean;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
interface VignetteOptions {
|
|
369
|
-
vignetteOffset: number;
|
|
370
|
-
vignetteDarkness: number;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
interface PostProcessingSetting {
|
|
374
|
-
aoEnabled: boolean;
|
|
375
|
-
aoOptions: AoOptions;
|
|
376
|
-
aaEnabled: boolean;
|
|
377
|
-
aaOptions: AaOptions;
|
|
378
|
-
vignetteEnabled: boolean;
|
|
379
|
-
vignetteOptions: VignetteOptions;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
interface SettingInterface {
|
|
383
|
-
default: boolean;
|
|
384
|
-
standalone: boolean;
|
|
385
|
-
navigatorType: NavigatorType;
|
|
386
|
-
postprocessing: PostProcessingSetting;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
declare class Setting {
|
|
390
|
-
navigatorType: NavigatorType;
|
|
391
|
-
default: boolean;
|
|
392
|
-
standalone: boolean;
|
|
393
|
-
postProcessing: PostProcessingSetting;
|
|
394
|
-
static CreateModelFromInterface(modelInterface: SettingInterface): Setting;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
declare class SettingsService {
|
|
398
|
-
private _jsonUtilsService;
|
|
399
|
-
private _dictionaryService;
|
|
335
|
+
declare class ConfiguratorSettingsService {
|
|
400
336
|
set settings(value: ConfiguratorSettings);
|
|
401
337
|
get settings(): ConfiguratorSettings;
|
|
402
338
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
403
|
-
lightSettingsLoaded: BehaviorSubject<Setting[]>;
|
|
404
|
-
settingsChanged: Subject<void>;
|
|
405
339
|
private _settings;
|
|
406
|
-
constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
|
|
407
340
|
createSettingsFromObject(obj: any): void;
|
|
408
341
|
initializeSettings(settings?: ConfiguratorSettings): Promise<void>;
|
|
409
342
|
initialize(settings: ConfiguratorSettings): Promise<void>;
|
|
410
343
|
checkAdditionalParameters(): Promise<void>;
|
|
411
344
|
private _checkUrlParameters;
|
|
412
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
413
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
345
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSettingsService, never>;
|
|
346
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSettingsService>;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
declare class VariationSettingsSettings {
|
|
350
|
+
repeatx: number;
|
|
351
|
+
repeaty: number;
|
|
352
|
+
roughness: number;
|
|
353
|
+
metalness: number;
|
|
354
|
+
}
|
|
355
|
+
declare class VariationSettings {
|
|
356
|
+
id: string;
|
|
357
|
+
settings: VariationSettingsSettings;
|
|
358
|
+
texture: string;
|
|
359
|
+
textureFilename: string;
|
|
360
|
+
normal: string;
|
|
361
|
+
normalFilename: string;
|
|
362
|
+
ao: string;
|
|
363
|
+
aoFilename: string;
|
|
364
|
+
metalness: string;
|
|
365
|
+
metalnessFilename: string;
|
|
366
|
+
roughness: string;
|
|
367
|
+
roughnessFilename: string;
|
|
368
|
+
orm: string;
|
|
369
|
+
ormFilename: string;
|
|
370
|
+
displacement: string;
|
|
371
|
+
displacementValue: number;
|
|
372
|
+
displacementFilename: string;
|
|
373
|
+
sheen: number;
|
|
374
|
+
sheenColor: Color;
|
|
375
|
+
sheenColorMap: string;
|
|
376
|
+
sheenColorMapFilename: string;
|
|
377
|
+
sheenRoughness: number;
|
|
378
|
+
sheenRoughnessMap: string;
|
|
379
|
+
sheenRoughnessMapFilename: string;
|
|
380
|
+
transmissionMap: string;
|
|
381
|
+
transmissionMapFilename: string;
|
|
382
|
+
emissive: string;
|
|
383
|
+
emissiveFilename: string;
|
|
384
|
+
emissiveIntensity: number;
|
|
385
|
+
emissiveValue: Color;
|
|
386
|
+
opacity: number;
|
|
387
|
+
transparent: boolean;
|
|
388
|
+
envMap: string;
|
|
389
|
+
envMapFilename: string;
|
|
390
|
+
envMapIntensity: number;
|
|
391
|
+
reflectivity: number;
|
|
392
|
+
side: Side;
|
|
393
|
+
transmission: number;
|
|
394
|
+
ior: number;
|
|
395
|
+
thickness: number;
|
|
396
|
+
specularIntensity: number;
|
|
397
|
+
loading: boolean;
|
|
398
|
+
loaded: Subject<VariationSettings>;
|
|
399
|
+
material: any;
|
|
400
|
+
copyFrom(settings: VariationSettings): void;
|
|
414
401
|
}
|
|
415
402
|
|
|
416
403
|
declare class ConfiguratorService {
|
|
@@ -454,9 +441,8 @@ declare class ConfiguratorService {
|
|
|
454
441
|
getImage(key: number | string, publication: number, thumb: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
|
|
455
442
|
copyInstance(instanceId: string, shouldSaveCurrentInstanceId: boolean, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
456
443
|
saveConfigurations(showLoader?: boolean): Promise<boolean>;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
444
|
+
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
445
|
+
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
460
446
|
getImageForSelectorStructure(option: SelectorStructure, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
461
447
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
462
448
|
private _getPublicationCodeForRole;
|
|
@@ -469,6 +455,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
469
455
|
private _appEventService;
|
|
470
456
|
private _settingsService;
|
|
471
457
|
private _loaderService;
|
|
458
|
+
private _utilitiesConnectorService;
|
|
472
459
|
get article(): Article;
|
|
473
460
|
set article(value: Article);
|
|
474
461
|
get sku(): string;
|
|
@@ -509,8 +496,10 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
509
496
|
private _initializing;
|
|
510
497
|
private _initialized;
|
|
511
498
|
private _boFactory;
|
|
512
|
-
constructor(_configuratorService: ConfiguratorService, _appEventService:
|
|
499
|
+
constructor(_configuratorService: ConfiguratorService, _appEventService: ConfiguratorEventService, _settingsService: ConfiguratorSettingsService, _loaderService: LoaderService, _utilitiesConnectorService: UtilitiesConnectorService);
|
|
513
500
|
ngOnDestroy(): void;
|
|
501
|
+
cleanUp(): void;
|
|
502
|
+
init(settings?: ConfiguratorSettings): Promise<void>;
|
|
514
503
|
initConnection(forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<void>;
|
|
515
504
|
onShowLoaderChange(showLoader: boolean): void;
|
|
516
505
|
onConnectionReset(): void;
|
|
@@ -548,9 +537,8 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
548
537
|
getInternalParameter(parameter: InternalParam): Promise<string>;
|
|
549
538
|
emptySelections(): void;
|
|
550
539
|
saveConfigurations(): Promise<void>;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
540
|
+
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
541
|
+
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
554
542
|
getImageForAnswer(selectedOption: SelectorStructure, showLoader?: boolean): Promise<void>;
|
|
555
543
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
556
544
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
@@ -583,76 +571,12 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
583
571
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
584
572
|
}
|
|
585
573
|
|
|
586
|
-
declare class AppInitializerService {
|
|
587
|
-
private _settingsService;
|
|
588
|
-
private _configuratorConnectorService;
|
|
589
|
-
appInitialized: BehaviorSubject<boolean>;
|
|
590
|
-
constructor(_settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
591
|
-
initializeApp(settings?: ConfiguratorSettings): Promise<void>;
|
|
592
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
|
|
593
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
declare class VariationSettingsSettings {
|
|
597
|
-
repeatx: number;
|
|
598
|
-
repeaty: number;
|
|
599
|
-
roughness: number;
|
|
600
|
-
metalness: number;
|
|
601
|
-
}
|
|
602
|
-
declare class VariationSettings {
|
|
603
|
-
id: string;
|
|
604
|
-
settings: VariationSettingsSettings;
|
|
605
|
-
texture: string;
|
|
606
|
-
textureFilename: string;
|
|
607
|
-
normal: string;
|
|
608
|
-
normalFilename: string;
|
|
609
|
-
ao: string;
|
|
610
|
-
aoFilename: string;
|
|
611
|
-
metalness: string;
|
|
612
|
-
metalnessFilename: string;
|
|
613
|
-
roughness: string;
|
|
614
|
-
roughnessFilename: string;
|
|
615
|
-
orm: string;
|
|
616
|
-
ormFilename: string;
|
|
617
|
-
displacement: string;
|
|
618
|
-
displacementValue: number;
|
|
619
|
-
displacementFilename: string;
|
|
620
|
-
sheen: number;
|
|
621
|
-
sheenColor: Color;
|
|
622
|
-
sheenColorMap: string;
|
|
623
|
-
sheenColorMapFilename: string;
|
|
624
|
-
sheenRoughness: number;
|
|
625
|
-
sheenRoughnessMap: string;
|
|
626
|
-
sheenRoughnessMapFilename: string;
|
|
627
|
-
transmissionMap: string;
|
|
628
|
-
transmissionMapFilename: string;
|
|
629
|
-
emissive: string;
|
|
630
|
-
emissiveFilename: string;
|
|
631
|
-
emissiveIntensity: number;
|
|
632
|
-
emissiveValue: Color;
|
|
633
|
-
opacity: number;
|
|
634
|
-
transparent: boolean;
|
|
635
|
-
envMap: string;
|
|
636
|
-
envMapFilename: string;
|
|
637
|
-
envMapIntensity: number;
|
|
638
|
-
reflectivity: number;
|
|
639
|
-
side: Side;
|
|
640
|
-
transmission: number;
|
|
641
|
-
ior: number;
|
|
642
|
-
thickness: number;
|
|
643
|
-
specularIntensity: number;
|
|
644
|
-
loading: boolean;
|
|
645
|
-
loaded: Subject<VariationSettings>;
|
|
646
|
-
material: any;
|
|
647
|
-
copyFrom(settings: VariationSettings): void;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
574
|
declare class VariationCacheService implements OnDestroy {
|
|
651
575
|
private _settingsService;
|
|
652
576
|
private _configuratorService;
|
|
653
577
|
private _variations;
|
|
654
578
|
private _subs;
|
|
655
|
-
constructor(_settingsService:
|
|
579
|
+
constructor(_settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
656
580
|
ngOnDestroy(): void;
|
|
657
581
|
get(id: string): VariationSettings;
|
|
658
582
|
set(variations: VariationSettings): void;
|
|
@@ -666,6 +590,41 @@ declare class VariationCacheService implements OnDestroy {
|
|
|
666
590
|
static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
|
|
667
591
|
}
|
|
668
592
|
|
|
593
|
+
declare class ThreedselectorService {
|
|
594
|
+
private _variationCacheService;
|
|
595
|
+
private _settingsService;
|
|
596
|
+
private _threedUtils;
|
|
597
|
+
constructor(_variationCacheService: VariationCacheService, _settingsService: ConfiguratorSettingsService);
|
|
598
|
+
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
599
|
+
loadVariation(id: string): Promise<VariationSettings>;
|
|
600
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
601
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
declare class VariationService {
|
|
605
|
+
private _threedSelectorService;
|
|
606
|
+
loadedAsset: string;
|
|
607
|
+
private _lastKnownVariations;
|
|
608
|
+
constructor(_threedSelectorService: ThreedselectorService);
|
|
609
|
+
clearCache(): void;
|
|
610
|
+
loadPart(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
611
|
+
loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
612
|
+
loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
|
|
613
|
+
loadVariationForMaterial(gameObject: string): Promise<any>;
|
|
614
|
+
loadVariationByAssetUrl(assetUrl: string): Promise<any>;
|
|
615
|
+
createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
|
|
616
|
+
private _applyMaterialPart;
|
|
617
|
+
private _applyVariations;
|
|
618
|
+
private _applyMaterial;
|
|
619
|
+
private _setMeshMaterialFromVariation;
|
|
620
|
+
private _setLastKnownVariations;
|
|
621
|
+
private _getLastKnownVariations;
|
|
622
|
+
private _getChildrenFilterByProp;
|
|
623
|
+
private _createVariationFromNode;
|
|
624
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
|
|
625
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VariationService>;
|
|
626
|
+
}
|
|
627
|
+
|
|
669
628
|
declare class ProgressService {
|
|
670
629
|
private _progressPercent;
|
|
671
630
|
get progress(): number;
|
|
@@ -675,649 +634,29 @@ declare class ProgressService {
|
|
|
675
634
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressService>;
|
|
676
635
|
}
|
|
677
636
|
|
|
678
|
-
declare class
|
|
679
|
-
private
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
readonly moveBy: number;
|
|
683
|
-
readonly cameraDefaultHeight: number;
|
|
684
|
-
readonly targetDefaultOffset: number;
|
|
685
|
-
readonly exploreDistanceFromCorner: number;
|
|
686
|
-
camera: PerspectiveCamera;
|
|
687
|
-
controls: any;
|
|
688
|
-
cameraMovementChanged: Subject<void>;
|
|
689
|
-
private _cameraLocked;
|
|
690
|
-
private _element;
|
|
691
|
-
private _viewSize;
|
|
692
|
-
private _viewCenter;
|
|
693
|
-
private _exploreTargetDistance;
|
|
694
|
-
private _realAspectRatio;
|
|
695
|
-
private _aspectRatio;
|
|
696
|
-
private _viewMode;
|
|
637
|
+
declare class UtilsService implements OnDestroy {
|
|
638
|
+
private _progressService;
|
|
639
|
+
clips: any;
|
|
640
|
+
private _objectCache;
|
|
697
641
|
private _subs;
|
|
698
|
-
|
|
699
|
-
set realAspectRatio(value: number);
|
|
700
|
-
constructor(_settingsService: SettingsService);
|
|
642
|
+
constructor(_progressService: ProgressService);
|
|
701
643
|
ngOnDestroy(): void;
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
disablePan(): void;
|
|
710
|
-
disableZoom(): void;
|
|
711
|
-
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
712
|
-
private _getCameraOffset;
|
|
713
|
-
private _controlsUpdate;
|
|
714
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CameraService, never>;
|
|
715
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CameraService>;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
declare enum XrMode {
|
|
719
|
-
ArMode = "Ar Mode",
|
|
720
|
-
VrMode = "Vr Mode"
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
declare class DebugService {
|
|
724
|
-
debugMessages: string[];
|
|
725
|
-
averageRenderTime: number;
|
|
726
|
-
lastTimestamp: number;
|
|
727
|
-
measurements: any[];
|
|
728
|
-
runTest: boolean;
|
|
729
|
-
addMessage(message: string): void;
|
|
730
|
-
measureRenderTime(): void;
|
|
731
|
-
resetMeasurements(): void;
|
|
732
|
-
startToggle(): void;
|
|
733
|
-
getAverageRenderTime(): number;
|
|
734
|
-
getFramesMeasuredAmount(): number;
|
|
735
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
|
|
736
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
declare class FontService {
|
|
740
|
-
hudFont: Font;
|
|
741
|
-
monospaceFont: Font;
|
|
742
|
-
constructor();
|
|
743
|
-
private _loadFont;
|
|
744
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
|
|
745
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
declare class MessageBoardService {
|
|
749
|
-
private _settingsService;
|
|
750
|
-
private _fontService;
|
|
751
|
-
scene: Scene;
|
|
752
|
-
board: Mesh;
|
|
753
|
-
messages: Mesh[];
|
|
754
|
-
private _font;
|
|
755
|
-
constructor(_settingsService: SettingsService, _fontService: FontService);
|
|
756
|
-
init(scene: Scene): Promise<void>;
|
|
757
|
-
addMessage(message: string): void;
|
|
758
|
-
private _createMessageBoard;
|
|
759
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
|
|
760
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
declare class XrService implements OnDestroy {
|
|
764
|
-
private _settingsService;
|
|
765
|
-
private _debugService;
|
|
766
|
-
private _messageBoard;
|
|
767
|
-
gamepad: any;
|
|
768
|
-
axes: number[];
|
|
769
|
-
touchpadIsPressed: boolean;
|
|
770
|
-
triggerIsPressed: boolean;
|
|
771
|
-
angularVelocity: THREE.Vector3;
|
|
772
|
-
renderer: WebGLRenderer;
|
|
773
|
-
scene: Scene;
|
|
774
|
-
camera: Camera;
|
|
775
|
-
controller: any;
|
|
776
|
-
vrSupported: boolean;
|
|
777
|
-
arSupported: boolean;
|
|
778
|
-
sessionStarted: Subject<XrMode>;
|
|
779
|
-
sessionEnded: Subject<void>;
|
|
780
|
-
userSelectInAr: BehaviorSubject<boolean>;
|
|
781
|
-
refSpace: any;
|
|
782
|
-
viewerSpace: any;
|
|
783
|
-
session: any;
|
|
784
|
-
hitTestSource: any;
|
|
785
|
-
private _vrDisplay;
|
|
786
|
-
private _vrController;
|
|
787
|
-
private _subs;
|
|
788
|
-
private _cameraHeight;
|
|
789
|
-
private _mode;
|
|
790
|
-
constructor(_settingsService: SettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
|
|
791
|
-
ngOnDestroy(): void;
|
|
792
|
-
init(renderer: WebGLRenderer, scene: Scene, camera: Camera): Promise<void>;
|
|
793
|
-
startAr(): void;
|
|
794
|
-
stopAr(): void;
|
|
795
|
-
startVr(): void;
|
|
796
|
-
stopVr(): void;
|
|
797
|
-
update(): void;
|
|
798
|
-
private _doBeforeRenderScene;
|
|
799
|
-
private _logMessage;
|
|
800
|
-
private _onSessionStarted;
|
|
801
|
-
private _onUserSelect;
|
|
802
|
-
private _onSessionEnded;
|
|
803
|
-
private _updateController;
|
|
804
|
-
private _findGamepad;
|
|
805
|
-
private _createController;
|
|
806
|
-
private _createMeshes;
|
|
807
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XrService, never>;
|
|
808
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<XrService>;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
declare class VrService {
|
|
812
|
-
private _scene;
|
|
813
|
-
private _renderer;
|
|
814
|
-
private _camera;
|
|
815
|
-
private _tempMatrix;
|
|
816
|
-
private _currentClosestIntersection;
|
|
817
|
-
private _meshes;
|
|
818
|
-
private _raycaster;
|
|
819
|
-
private _reticle;
|
|
820
|
-
private _controller0;
|
|
821
|
-
private _controller1;
|
|
822
|
-
private _session;
|
|
823
|
-
private _user;
|
|
824
|
-
private _selectedObject;
|
|
825
|
-
constructor();
|
|
826
|
-
init(scene: Scene, renderer: WebGLRenderer): void;
|
|
827
|
-
render(): void;
|
|
828
|
-
endSession(): void;
|
|
829
|
-
private _initSession;
|
|
830
|
-
private _onSessionStarted;
|
|
831
|
-
private _onSessionEnded;
|
|
832
|
-
startVRSession(): void;
|
|
833
|
-
private _createControllers;
|
|
834
|
-
private _onSelectStart;
|
|
835
|
-
private _onSelectEnd;
|
|
836
|
-
private _getIntersections;
|
|
837
|
-
private _registerMeshes;
|
|
838
|
-
private _handleIntersections;
|
|
839
|
-
private _handleControllerIntersections;
|
|
840
|
-
private _getNearestIntersection;
|
|
841
|
-
private _handleFloorIntersection;
|
|
842
|
-
private _handleObjectIntersection;
|
|
843
|
-
private _handleNoIntersections;
|
|
844
|
-
private _updateControllerRay;
|
|
845
|
-
private _isObjectFloor;
|
|
846
|
-
private _getParentOfChild;
|
|
847
|
-
private _updateObjectSelection;
|
|
848
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VrService, never>;
|
|
849
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VrService>;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
declare class ArService implements OnDestroy {
|
|
853
|
-
private _cameraService;
|
|
854
|
-
private _settingsService;
|
|
855
|
-
private _iOne;
|
|
856
|
-
updateContextMenu: BehaviorSubject<void>;
|
|
857
|
-
shouldAddObjectToScene: Subject<Object3D>;
|
|
858
|
-
showConfigurator: boolean;
|
|
859
|
-
refSpace: any;
|
|
860
|
-
hitTestSource: any;
|
|
861
|
-
scene: Scene;
|
|
862
|
-
userInSelectionMenu: boolean;
|
|
863
|
-
showContextMenu: boolean;
|
|
864
|
-
private _arFeatures;
|
|
865
|
-
private _renderer;
|
|
866
|
-
private _glBinding;
|
|
867
|
-
private _session;
|
|
868
|
-
private _debug;
|
|
869
|
-
private _surfaceFoundOnce;
|
|
870
|
-
private _reticle;
|
|
871
|
-
private _hitTestResult;
|
|
872
|
-
private _reticleHitTestResult;
|
|
873
|
-
private _anchoredObjects;
|
|
874
|
-
private _activeARModel;
|
|
875
|
-
private _aRModelBackupYPosition;
|
|
876
|
-
private _aRModelBackupPosition;
|
|
877
|
-
private _aRModelBackupYRotation;
|
|
878
|
-
private _aRModelRotationStartingValue;
|
|
879
|
-
private _vertexList;
|
|
880
|
-
private _detectedPlanes;
|
|
881
|
-
private _rawPlanes;
|
|
882
|
-
private _planeMaterial;
|
|
883
|
-
private _shadowPlane;
|
|
884
|
-
private _lastEventTimestamp;
|
|
885
|
-
private _lastObjectTouchTimestamp;
|
|
886
|
-
private _doubleTapTimeframe;
|
|
887
|
-
private _holdingTouch;
|
|
888
|
-
private _controller;
|
|
889
|
-
private _raycaster;
|
|
890
|
-
private _tempMatrix;
|
|
891
|
-
private _cleanup;
|
|
892
|
-
private _animating;
|
|
893
|
-
private _liftAnimation;
|
|
894
|
-
private _dropAnimation;
|
|
895
|
-
private _lightProbe;
|
|
896
|
-
private _threeLightProbe;
|
|
897
|
-
private _cubeMapTexture;
|
|
898
|
-
private _depthDataTexture;
|
|
899
|
-
private _sunLight;
|
|
900
|
-
private _positionIndicator;
|
|
901
|
-
private _pointRepresentation;
|
|
902
|
-
constructor(_cameraService: CameraService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
|
|
903
|
-
ngOnDestroy(): void;
|
|
904
|
-
resetPlaneDetection(): Promise<void>;
|
|
905
|
-
endSessionEvent(): void;
|
|
906
|
-
arIOSSupported(): Promise<boolean>;
|
|
907
|
-
arSupported(): Promise<any>;
|
|
908
|
-
addObjectToARScene(object: Object3D): void;
|
|
909
|
-
modelLoading(): boolean;
|
|
910
|
-
modelPlaced(): boolean;
|
|
911
|
-
handleFrame(xrFrame: any): void;
|
|
912
|
-
init(renderer: WebGLRenderer): void;
|
|
913
|
-
savePreSelectionPosition(): void;
|
|
914
|
-
updateChangedModel(): void;
|
|
915
|
-
arModeHasBeenActive(): boolean;
|
|
916
|
-
showMovePhoneAnimation(): boolean;
|
|
917
|
-
getActiveModel(): any;
|
|
918
|
-
private _initSession;
|
|
919
|
-
private _checkAvailableFeatures;
|
|
920
|
-
private _initRenderer;
|
|
921
|
-
private _initController;
|
|
922
|
-
private _initScene;
|
|
923
|
-
private _initLightEstimation;
|
|
924
|
-
private _initReflectionCubeMap;
|
|
925
|
-
private _initCPUDepthOcclusion;
|
|
926
|
-
private _initAnchoredHitTest;
|
|
927
|
-
private _initPlaneDetection;
|
|
928
|
-
private _initLighting;
|
|
929
|
-
private _checkHitTestMethod;
|
|
930
|
-
private _executeDepthAnchorHitTest;
|
|
931
|
-
private _executeAnchoredHitTest;
|
|
932
|
-
private _executeCPUDepthHitTest;
|
|
933
|
-
private _executeDefaultHitTest;
|
|
934
|
-
private _checkExtraFeatures;
|
|
935
|
-
private _hideOccludedMeshes;
|
|
936
|
-
private _createPlaneMaterial;
|
|
937
|
-
private _onSessionStarted;
|
|
938
|
-
private _onSessionEnded;
|
|
939
|
-
private _setArModelShadows;
|
|
940
|
-
private _handleTouchEvent;
|
|
941
|
-
private _handleMultiTouchEvent;
|
|
942
|
-
private _handleDoubleTapEvent;
|
|
943
|
-
private _checkIfHoldTouchEvent;
|
|
944
|
-
private _handleHoldStartEvent;
|
|
945
|
-
private _handleHoldEndEvent;
|
|
946
|
-
private _toggleHoldTouchEvent;
|
|
947
|
-
private _handleHoldMoveEvent;
|
|
948
|
-
private _updateShadows;
|
|
949
|
-
private _adjustLighting;
|
|
950
|
-
private _toggleARModelTransparency;
|
|
951
|
-
private _setPlanesVisibilty;
|
|
952
|
-
private _getObjectIntersections;
|
|
953
|
-
private _drawPlane;
|
|
954
|
-
private _drawPlanes;
|
|
955
|
-
private _callLiftAnimation;
|
|
956
|
-
private _callDropAnimation;
|
|
957
|
-
private _createAugmentedMaterial;
|
|
958
|
-
private _updateAugmentedMaterialUniforms;
|
|
959
|
-
private _updateMeshMaterials;
|
|
960
|
-
private _removeMaterialShaders;
|
|
961
|
-
private _checkingInterfaceInteraction;
|
|
962
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArService, never>;
|
|
963
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ArService>;
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
declare enum ConfigurationKey {
|
|
967
|
-
DimensioningUnit = "dimUnit",
|
|
968
|
-
DimensioningSquareUnit = "dimSqUnit",
|
|
969
|
-
AngleUnit = "angleUnit",
|
|
970
|
-
CmStep = "cmStep",
|
|
971
|
-
MStep = "mStep",
|
|
972
|
-
MmStep = "mmStep",
|
|
973
|
-
AngleLabelDistanceInCm = "angleLabelDistanceCm",
|
|
974
|
-
WallHeight = "wallHeight",
|
|
975
|
-
WallThickness = "wallThickness",
|
|
976
|
-
MaxWallHeight = "maxWallHeight",
|
|
977
|
-
MaxWallThickness = "maxWallThickness",
|
|
978
|
-
MaxWallLength = "maxWallLength",
|
|
979
|
-
MinWallLength = "minWallLength",
|
|
980
|
-
WallSnapping = "wallSnapping",
|
|
981
|
-
CornerSnapping = "cornerSnapping",
|
|
982
|
-
ShowObjectDistances = "showObjectDistances",
|
|
983
|
-
ShowObjectMeasurements = "showObjectMeasurements",
|
|
984
|
-
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
985
|
-
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
986
|
-
ShowWallMeasurements = "showWallMeasurements",
|
|
987
|
-
ShowCornerAngles = "showCornerAngles",
|
|
988
|
-
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
989
|
-
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
990
|
-
ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
|
|
991
|
-
ShowInteriorLights = "ShowInteriorLights",
|
|
992
|
-
InteriorLightIntensity = "InteriorLightIntensity",
|
|
993
|
-
ShowLightingControls = "ShowLightingControls",
|
|
994
|
-
ShowLightplansDialog = "ShowLightplansDialog",
|
|
995
|
-
WalkThroughCameraFoV = "WalkThroughCameraFoV",
|
|
996
|
-
WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
|
|
997
|
-
WalkThroughCameraFocus = "WalkThroughCameraFocus",
|
|
998
|
-
ShowPostProcessingSettings = "showPostProcessingSettings",
|
|
999
|
-
ShowWalls = "ShowWalls",
|
|
1000
|
-
ShowCeiling = "ShowCeiling",
|
|
1001
|
-
IsLimited = "IsLimited",
|
|
1002
|
-
EnableTouch = "EnableTouch",
|
|
1003
|
-
CameraFOV = "CameraFOV"
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
interface ConfigurationData {
|
|
1007
|
-
[ConfigurationKey.DimensioningUnit]?: string;
|
|
1008
|
-
[ConfigurationKey.DimensioningSquareUnit]?: string;
|
|
1009
|
-
[ConfigurationKey.AngleUnit]?: string;
|
|
1010
|
-
[ConfigurationKey.CmStep]?: number;
|
|
1011
|
-
[ConfigurationKey.MStep]?: number;
|
|
1012
|
-
[ConfigurationKey.MmStep]?: number;
|
|
1013
|
-
[ConfigurationKey.AngleLabelDistanceInCm]?: number;
|
|
1014
|
-
[ConfigurationKey.WallHeight]?: number;
|
|
1015
|
-
[ConfigurationKey.WallThickness]?: number;
|
|
1016
|
-
[ConfigurationKey.MaxWallHeight]?: number;
|
|
1017
|
-
[ConfigurationKey.MaxWallThickness]?: number;
|
|
1018
|
-
[ConfigurationKey.MaxWallLength]?: number;
|
|
1019
|
-
[ConfigurationKey.MinWallLength]?: number;
|
|
1020
|
-
[ConfigurationKey.WallSnapping]?: boolean;
|
|
1021
|
-
[ConfigurationKey.CornerSnapping]?: boolean;
|
|
1022
|
-
[ConfigurationKey.ShowObjectDistances]?: boolean;
|
|
1023
|
-
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
1024
|
-
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
1025
|
-
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
1026
|
-
[ConfigurationKey.ShowWallMeasurements]?: boolean;
|
|
1027
|
-
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
1028
|
-
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
1029
|
-
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
1030
|
-
[ConfigurationKey.ShowInteriorLights]?: boolean;
|
|
1031
|
-
[ConfigurationKey.InteriorLightIntensity]?: number;
|
|
1032
|
-
[ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
|
|
1033
|
-
[ConfigurationKey.ShowLightingControls]?: boolean;
|
|
1034
|
-
[ConfigurationKey.ShowLightplansDialog]?: boolean;
|
|
1035
|
-
[ConfigurationKey.WalkThroughCameraFoV]?: number;
|
|
1036
|
-
[ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
|
|
1037
|
-
[ConfigurationKey.WalkThroughCameraFocus]?: number;
|
|
1038
|
-
[ConfigurationKey.ShowPostProcessingSettings]?: boolean;
|
|
1039
|
-
[ConfigurationKey.ShowWalls]?: boolean;
|
|
1040
|
-
[ConfigurationKey.ShowCeiling]?: boolean;
|
|
1041
|
-
[ConfigurationKey.IsLimited]?: boolean;
|
|
1042
|
-
[ConfigurationKey.EnableTouch]?: boolean;
|
|
1043
|
-
[ConfigurationKey.CameraFOV]?: number;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
declare class ConfigurationService {
|
|
1047
|
-
private _data;
|
|
1048
|
-
onChange: BehaviorSubject<{}>;
|
|
1049
|
-
setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
|
|
1050
|
-
getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
|
|
1051
|
-
get(): ConfigurationData;
|
|
1052
|
-
set(data: ConfigurationData): void;
|
|
1053
|
-
getDistanceStep(): number;
|
|
1054
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
1055
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
declare enum DeviceSizeType {
|
|
1059
|
-
Desktop = "desktop",
|
|
1060
|
-
Tablet = "tablet",
|
|
1061
|
-
Phone = "phone"
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
interface ScreenSizeInfo {
|
|
1065
|
-
width: number;
|
|
1066
|
-
height: number;
|
|
1067
|
-
deviceSizeType: DeviceSizeType;
|
|
1068
|
-
isDesktopSize: boolean;
|
|
1069
|
-
isTabletSize: boolean;
|
|
1070
|
-
isPhoneSize: boolean;
|
|
1071
|
-
isPortraitMode: boolean;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
declare class ScreenSizeAnalysisService implements OnDestroy, OnInit {
|
|
1075
|
-
private _eventManager;
|
|
1076
|
-
private _deviceDetectorService;
|
|
1077
|
-
private _onResizeSubject;
|
|
1078
|
-
get screenSizeChanged(): Observable<ScreenSizeInfo>;
|
|
1079
|
-
get isMobileDevice(): boolean;
|
|
1080
|
-
constructor(_eventManager: EventManager, _deviceDetectorService: DeviceDetectorService);
|
|
1081
|
-
ngOnInit(): void;
|
|
1082
|
-
ngOnDestroy(): void;
|
|
1083
|
-
getScreenSizeInfo(window: Window): ScreenSizeInfo;
|
|
1084
|
-
isIphoneOrIpad(): boolean;
|
|
1085
|
-
isSafari(): boolean;
|
|
1086
|
-
navigatorType(): NavigatorType;
|
|
1087
|
-
private _getCurrentScreenSize;
|
|
1088
|
-
private _initOnResizeObservable;
|
|
1089
|
-
private _getDeviceSizeType;
|
|
1090
|
-
private _checkImageBitmapDisable;
|
|
1091
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenSizeAnalysisService, never>;
|
|
1092
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenSizeAnalysisService>;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
declare class PostProcessingService implements OnDestroy {
|
|
1096
|
-
private _configurationService;
|
|
1097
|
-
private _settingsService;
|
|
1098
|
-
private _appEventService;
|
|
1099
|
-
private _screenSizeAnalysis;
|
|
1100
|
-
private _aoEnabled;
|
|
1101
|
-
private _aaEnabled;
|
|
1102
|
-
private _vignetteEnabled;
|
|
1103
|
-
private _vignetteOffset;
|
|
1104
|
-
private _vignetteDarkness;
|
|
1105
|
-
private _composer;
|
|
1106
|
-
private _n8aoPass;
|
|
1107
|
-
private _renderPass;
|
|
1108
|
-
private _outputPass;
|
|
1109
|
-
private _fxaaPass;
|
|
1110
|
-
private _smaaPass;
|
|
1111
|
-
private _ssaaPass;
|
|
1112
|
-
private _taaRenderPass;
|
|
1113
|
-
private _vignettePass;
|
|
1114
|
-
private _outlinePass;
|
|
1115
|
-
private _scene;
|
|
1116
|
-
private _renderer;
|
|
1117
|
-
private _camera;
|
|
1118
|
-
private _blendShader;
|
|
1119
|
-
private _width;
|
|
1120
|
-
private _height;
|
|
1121
|
-
private _outlinePassAsError;
|
|
1122
|
-
private _hideOutlineTimer;
|
|
1123
|
-
private _hideOutlineTimeout;
|
|
1124
|
-
private _standalone;
|
|
1125
|
-
private _cameraMoved;
|
|
1126
|
-
private _postProcessingGui;
|
|
1127
|
-
private _subs;
|
|
1128
|
-
private _aoDefaultOptions;
|
|
1129
|
-
private _aoOptions;
|
|
1130
|
-
private _aaDefaultOptions;
|
|
1131
|
-
private _aaOptions;
|
|
1132
|
-
private _vignetteDefaultOptions;
|
|
1133
|
-
private _vignetteOptions;
|
|
1134
|
-
aoEnabled: boolean;
|
|
1135
|
-
aaEnabled: boolean;
|
|
1136
|
-
vignetteEnabled: boolean;
|
|
1137
|
-
constructor(_configurationService: ConfigurationService, _settingsService: SettingsService, _appEventService: AppEventService, _screenSizeAnalysis: ScreenSizeAnalysisService);
|
|
1138
|
-
ngOnDestroy(): void;
|
|
1139
|
-
init(renderer: WebGLRenderer, scene: Scene, camera: PerspectiveCamera, width: number, height: number, standalone: boolean): void;
|
|
1140
|
-
setSize(width: number, height: number, force?: boolean): void;
|
|
1141
|
-
render(): void;
|
|
1142
|
-
cameraMovementChanged(): void;
|
|
1143
|
-
showGui(): void;
|
|
1144
|
-
hideGui(): void;
|
|
1145
|
-
forceRenderCanvas(): void;
|
|
1146
|
-
private _loadSetting;
|
|
1147
|
-
private _showErrorOutline;
|
|
1148
|
-
private _showOutline;
|
|
1149
|
-
private _hideOutline;
|
|
1150
|
-
private _updateAASize;
|
|
1151
|
-
private _initComposer;
|
|
1152
|
-
private _cleanUp;
|
|
1153
|
-
private _applyAoProps;
|
|
1154
|
-
private _createGuiTaaPass;
|
|
1155
|
-
private _showHideGui;
|
|
1156
|
-
private _createGui;
|
|
1157
|
-
private _setErrorGlowSettings;
|
|
1158
|
-
private _setSelectionGlowSettings;
|
|
1159
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PostProcessingService, never>;
|
|
1160
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PostProcessingService>;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
declare enum ViewMode {
|
|
1164
|
-
RoomPlan3D = "3D roomplan",
|
|
1165
|
-
VR = "VR",
|
|
1166
|
-
AR = "AR"
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
declare class ViewModeService {
|
|
1170
|
-
viewModeChanged: BehaviorSubject<ViewMode>;
|
|
1171
|
-
private _viewMode;
|
|
1172
|
-
viewSize: Vector3;
|
|
1173
|
-
viewCenter: Vector3;
|
|
1174
|
-
set viewMode(value: ViewMode);
|
|
1175
|
-
get viewMode(): ViewMode;
|
|
1176
|
-
setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
|
|
1177
|
-
is3dViewActive(): boolean;
|
|
1178
|
-
isVRViewActive(): boolean;
|
|
1179
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
|
|
1180
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
declare class SceneService implements OnDestroy {
|
|
1184
|
-
private _cameraService;
|
|
1185
|
-
private _xrService;
|
|
1186
|
-
private _vrService;
|
|
1187
|
-
private _arService;
|
|
1188
|
-
private _settingsService;
|
|
1189
|
-
private _postProcessing;
|
|
1190
|
-
private _viewModeService;
|
|
1191
|
-
set needsRender(value: boolean);
|
|
1192
|
-
get needsRender(): boolean;
|
|
1193
|
-
scene: Scene;
|
|
1194
|
-
renderer: WebGLRenderer;
|
|
1195
|
-
pathTracer: WebGLPathTracer;
|
|
1196
|
-
standAlone: boolean;
|
|
1197
|
-
onBeforeRender: Subject<{
|
|
1198
|
-
renderer: WebGLRenderer;
|
|
1199
|
-
scene: Scene;
|
|
1200
|
-
}>;
|
|
1201
|
-
onAfterRender: Subject<{
|
|
1202
|
-
renderer: WebGLRenderer;
|
|
1203
|
-
scene: Scene;
|
|
1204
|
-
}>;
|
|
1205
|
-
sceneInitialized: BehaviorSubject<boolean>;
|
|
1206
|
-
renderingThroughPostProcessingPipeline: boolean;
|
|
1207
|
-
webGL2Available: boolean;
|
|
1208
|
-
domElement: HTMLElement;
|
|
1209
|
-
private _needsRender;
|
|
1210
|
-
private _arMode;
|
|
1211
|
-
private _subs;
|
|
1212
|
-
private _maxRenderSamples;
|
|
1213
|
-
private _numberOfSamplesRendered;
|
|
1214
|
-
constructor(_cameraService: CameraService, _xrService: XrService, _vrService: VrService, _arService: ArService, _settingsService: SettingsService, _postProcessing: PostProcessingService, _viewModeService: ViewModeService);
|
|
1215
|
-
ngOnDestroy(): void;
|
|
1216
|
-
getScene(): Scene;
|
|
1217
|
-
set arMode(value: boolean);
|
|
1218
|
-
get arMode(): boolean;
|
|
1219
|
-
takeScreenshot(): string;
|
|
1220
|
-
init(element: HTMLElement): Promise<void>;
|
|
1221
|
-
getSceneCanvasImage(): string;
|
|
1222
|
-
addObject(obj: Object3D, forceRender?: boolean): void;
|
|
1223
|
-
removeObject(obj: Object3D | Mesh, forceRender?: boolean, cleanUp?: boolean): void;
|
|
1224
|
-
updatePathTracer(): void;
|
|
1225
|
-
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1226
|
-
rendererPropsChange(): void;
|
|
1227
|
-
private _initScene;
|
|
1228
|
-
private _initCamera;
|
|
1229
|
-
private _initPostProcessing;
|
|
1230
|
-
private _initPathTracer;
|
|
1231
|
-
private _initRenderer;
|
|
1232
|
-
private _resizeRendererToDisplaySize;
|
|
1233
|
-
private _updateWindowSize;
|
|
1234
|
-
private _checkCanvasResize;
|
|
1235
|
-
private _render;
|
|
1236
|
-
private _animate;
|
|
1237
|
-
private _pauseAnimation;
|
|
1238
|
-
private _setSceneBackground;
|
|
1239
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneService, never>;
|
|
1240
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SceneService>;
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
declare class ItemService implements OnDestroy {
|
|
1244
|
-
private _sceneService;
|
|
1245
|
-
get sceneItems(): Object3D[];
|
|
1246
|
-
private _sceneItems;
|
|
1247
|
-
constructor(_sceneService: SceneService);
|
|
1248
|
-
ngOnDestroy(): void;
|
|
1249
|
-
addItem(item: Object3D, replace?: boolean): void;
|
|
1250
|
-
removeAllItems(): void;
|
|
1251
|
-
removeItem(obj: any): void;
|
|
1252
|
-
objectDimensions(object: Object3D): Vector3;
|
|
1253
|
-
glassMaterialCheck(item: Object3D): void;
|
|
1254
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemService, never>;
|
|
1255
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ItemService>;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
declare class UtilsService implements OnDestroy {
|
|
1259
|
-
private _settingsService;
|
|
1260
|
-
private _progressService;
|
|
1261
|
-
private _itemService;
|
|
1262
|
-
clips: any;
|
|
1263
|
-
private _objectCache;
|
|
1264
|
-
private _subs;
|
|
1265
|
-
constructor(_settingsService: SettingsService, _progressService: ProgressService, _itemService: ItemService);
|
|
1266
|
-
ngOnDestroy(): void;
|
|
1267
|
-
createCanvasImage(thumbnail?: boolean): string;
|
|
1268
|
-
loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
|
|
1269
|
-
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
1270
|
-
private _addGroupChildrenToObject;
|
|
1271
|
-
private _handleUpdateProgressBar;
|
|
1272
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
1273
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
declare class ThreedselectorService {
|
|
1277
|
-
private _variationCacheService;
|
|
1278
|
-
private _settingsService;
|
|
1279
|
-
private _utilsService;
|
|
1280
|
-
private _threedUtils;
|
|
1281
|
-
constructor(_variationCacheService: VariationCacheService, _settingsService: SettingsService, _utilsService: UtilsService);
|
|
1282
|
-
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
1283
|
-
loadVariation(id: string): Promise<VariationSettings>;
|
|
1284
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
1285
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
declare class VariationService {
|
|
1289
|
-
private _threedSelectorService;
|
|
1290
|
-
loadedAsset: string;
|
|
1291
|
-
private _lastKnownVariations;
|
|
1292
|
-
constructor(_threedSelectorService: ThreedselectorService);
|
|
1293
|
-
clearCache(): void;
|
|
1294
|
-
loadPart(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
1295
|
-
loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
1296
|
-
loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
|
|
1297
|
-
loadVariationForMaterial(gameObject: string): Promise<any>;
|
|
1298
|
-
loadVariationByAssetUrl(assetUrl: string): Promise<any>;
|
|
1299
|
-
createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
|
|
1300
|
-
private _applyMaterialPart;
|
|
1301
|
-
private _applyVariations;
|
|
1302
|
-
private _applyMaterial;
|
|
1303
|
-
private _setMeshMaterialFromVariation;
|
|
1304
|
-
private _setLastKnownVariations;
|
|
1305
|
-
private _getLastKnownVariations;
|
|
1306
|
-
private _getChildrenFilterByProp;
|
|
1307
|
-
private _createVariationFromNode;
|
|
1308
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
|
|
1309
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VariationService>;
|
|
644
|
+
createCanvasImage(objects: Object3D[], thumbnail?: boolean): string;
|
|
645
|
+
loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
|
|
646
|
+
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
647
|
+
private _addGroupChildrenToObject;
|
|
648
|
+
private _handleUpdateProgressBar;
|
|
649
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
650
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
1310
651
|
}
|
|
1311
652
|
|
|
1312
653
|
declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
1313
654
|
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
1314
|
-
protected
|
|
1315
|
-
protected
|
|
1316
|
-
protected settingsService: SettingsService;
|
|
655
|
+
protected appEventService: ConfiguratorEventService;
|
|
656
|
+
protected settingsService: ConfiguratorSettingsService;
|
|
1317
657
|
protected variationService: VariationService;
|
|
1318
658
|
protected variationCacheService: VariationCacheService;
|
|
1319
659
|
protected utilsService: UtilsService;
|
|
1320
|
-
protected itemService: ItemService;
|
|
1321
660
|
get useNodeIdToLink(): boolean;
|
|
1322
661
|
get currentCustomFloorGroup(): Object3D;
|
|
1323
662
|
set currentCustomFloorGroup(item: Object3D);
|
|
@@ -1347,7 +686,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
1347
686
|
private _scene;
|
|
1348
687
|
protected subs: Subscription[];
|
|
1349
688
|
protected placedAdjustables: any[];
|
|
1350
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService,
|
|
689
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, appEventService: ConfiguratorEventService, settingsService: ConfiguratorSettingsService, variationService: VariationService, variationCacheService: VariationCacheService, utilsService: UtilsService);
|
|
1351
690
|
ngOnDestroy(): void;
|
|
1352
691
|
abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1353
692
|
abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
@@ -1368,6 +707,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
1368
707
|
linkSelectionsAndDecos(): void;
|
|
1369
708
|
prepareTheSelections(instanceId?: string): void;
|
|
1370
709
|
preloadMaterials(schema: string): void;
|
|
710
|
+
cleanUp(): void;
|
|
1371
711
|
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1372
712
|
protected getSelectionsAndDecos(): Promise<void>;
|
|
1373
713
|
protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
@@ -1406,7 +746,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
1406
746
|
protected preloadMaterial(answer: Answer): void;
|
|
1407
747
|
protected preloadMaterialBySelection(answer: SelectorStructure): void;
|
|
1408
748
|
protected buildFloor(result: any): Promise<void>;
|
|
1409
|
-
downloadUDSZforARIOS(): void;
|
|
749
|
+
downloadUDSZforARIOS(objects: Object3D[]): void;
|
|
1410
750
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
|
|
1411
751
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
|
|
1412
752
|
}
|
|
@@ -1441,8 +781,9 @@ declare class SwitchBuildFurnitureService implements OnDestroy {
|
|
|
1441
781
|
currentActiveService: BuildFurnitureBaseService;
|
|
1442
782
|
private _controllerInitSub;
|
|
1443
783
|
private _standAloneInstance;
|
|
1444
|
-
constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService:
|
|
784
|
+
constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
1445
785
|
ngOnDestroy(): void;
|
|
786
|
+
cleanUp(): void;
|
|
1446
787
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchBuildFurnitureService, never>;
|
|
1447
788
|
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
|
|
1448
789
|
}
|
|
@@ -1473,680 +814,446 @@ declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
|
1473
814
|
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
1474
815
|
protected threedSelectorService: ThreedselectorService;
|
|
1475
816
|
protected buildFurnitureService: SwitchBuildFurnitureService;
|
|
1476
|
-
protected settingsService:
|
|
817
|
+
protected settingsService: ConfiguratorSettingsService;
|
|
1477
818
|
private readonly _fullObjectCache;
|
|
1478
819
|
set article(value: Article);
|
|
1479
|
-
get article(): Article;
|
|
1480
|
-
articleLoaded: BehaviorSubject<Article>;
|
|
1481
|
-
private _subs;
|
|
1482
|
-
private _article;
|
|
1483
|
-
protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService:
|
|
1484
|
-
ngOnDestroy(): void;
|
|
1485
|
-
abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
|
|
1486
|
-
loadArticle(sku: string): Promise<Article>;
|
|
1487
|
-
extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
|
|
1488
|
-
getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
|
|
1489
|
-
protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
|
|
1490
|
-
private _cleanUp;
|
|
1491
|
-
protected needs3DModel(type: ItemType): boolean;
|
|
1492
|
-
initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
|
|
1493
|
-
protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
|
|
1494
|
-
private _getAssetPathFromModelUrlAndSchema;
|
|
1495
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
|
|
1496
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
1500
|
-
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1501
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
1502
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
1506
|
-
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1507
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
1508
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
declare class SwitchLoadFurnitureService implements OnDestroy {
|
|
1512
|
-
private _loadFurnitureService;
|
|
1513
|
-
private _loadFurnitureWithoutSceneService;
|
|
1514
|
-
private _settingsService;
|
|
1515
|
-
private _iOne;
|
|
1516
|
-
currentActiveService: LoadFurnitureBaseService;
|
|
1517
|
-
private _standAlone;
|
|
1518
|
-
private _controllerInitSub;
|
|
1519
|
-
private _standAloneInstance;
|
|
1520
|
-
constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
|
|
1521
|
-
ngOnDestroy(): void;
|
|
1522
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
|
|
1523
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
1527
|
-
declare enum IconEnum {
|
|
1528
|
-
AddButton = "add-button",
|
|
1529
|
-
AddLight = "add_light",
|
|
1530
|
-
Angle90 = "angle_90",
|
|
1531
|
-
Aperture = "aperture",
|
|
1532
|
-
ArrowUpRightAndArrowDownLeftFromCenter = "arrow-up-right-and-arrow-down-left-from-center",
|
|
1533
|
-
ArrowsLeftRight = "arrows-left-right",
|
|
1534
|
-
ArrowsUpDown = "arrows-up-down",
|
|
1535
|
-
ArrowsToEye = "arrows_to_eye",
|
|
1536
|
-
ArrowPointDown = "arrow_point_down",
|
|
1537
|
-
ArrowPointRight = "arrow_point_right",
|
|
1538
|
-
ArrowRotateLeft = "arrow_rotate_left",
|
|
1539
|
-
ArrowRotateRight = "arrow_rotate_right",
|
|
1540
|
-
ArrowTurnLeft = "arrow_turn_left",
|
|
1541
|
-
ArrowTurnLeftRegular = "arrow_turn_left_regular",
|
|
1542
|
-
ArrowTurnRight = "arrow_turn_right",
|
|
1543
|
-
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
1544
|
-
ArCircle = "ar_circle",
|
|
1545
|
-
Brush = "brush",
|
|
1546
|
-
CameraSolid = "camera_solid",
|
|
1547
|
-
CameraTopdown = "camera_topdown",
|
|
1548
|
-
CameraViewfinder = "camera_viewfinder",
|
|
1549
|
-
CartShoppingRegular = "cart-shopping-regular",
|
|
1550
|
-
Check = "check",
|
|
1551
|
-
CheckRegular = "check_regular",
|
|
1552
|
-
CheckSolid = "check_solid",
|
|
1553
|
-
CircleCheck = "circle_check",
|
|
1554
|
-
CircleCheckRegular = "circle_check_regular",
|
|
1555
|
-
CircleInfo = "circle_info",
|
|
1556
|
-
CircleMinusLight = "circle_minus_light",
|
|
1557
|
-
CirclePlusLight = "circle_plus_light",
|
|
1558
|
-
CircleQuestion = "circle_question",
|
|
1559
|
-
CircleRegular = "circle_regular",
|
|
1560
|
-
CircleXmark = "circle_xmark",
|
|
1561
|
-
CitPoweredWhite = "cit_powered_white",
|
|
1562
|
-
CloudArrowDown = "cloud_arrow_down",
|
|
1563
|
-
CloudArrowUp = "cloud_arrow_up",
|
|
1564
|
-
Comment = "comment",
|
|
1565
|
-
Compress = "compress",
|
|
1566
|
-
ConfFrame = "conf_frame",
|
|
1567
|
-
ConfPlane = "conf_plane",
|
|
1568
|
-
CopyLight = "copy_light",
|
|
1569
|
-
Couch = "couch",
|
|
1570
|
-
Cross = "cross",
|
|
1571
|
-
CubeOutline = "cube-outline",
|
|
1572
|
-
CubeUnfolded = "cube-unfolded",
|
|
1573
|
-
Cube = "cube",
|
|
1574
|
-
DashButton = "dash-button",
|
|
1575
|
-
DeleteButton = "delete-button",
|
|
1576
|
-
Download = "download",
|
|
1577
|
-
DrawSquare = "draw_square",
|
|
1578
|
-
EditButton = "edit-button",
|
|
1579
|
-
Expand = "expand",
|
|
1580
|
-
FillDripLight = "fill_drip_light",
|
|
1581
|
-
Flower = "flower",
|
|
1582
|
-
GaugeHighSolidFull = "gauge_high_solid_full",
|
|
1583
|
-
GaugeLowSolidFull = "gauge_low_solid_full",
|
|
1584
|
-
GaugeMaxSolidFull = "gauge_max_solid_full",
|
|
1585
|
-
GaugeMinSolidFull = "gauge_min_solid_full",
|
|
1586
|
-
GoogleCardboardOrange = "google-cardboard-orange",
|
|
1587
|
-
GoogleCardboard = "google-cardboard",
|
|
1588
|
-
GridLight = "grid_light",
|
|
1589
|
-
HandPointer = "hand-pointer",
|
|
1590
|
-
HandLight = "hand_light",
|
|
1591
|
-
HandPointerLight = "hand_pointer_light",
|
|
1592
|
-
HeightAdjust = "height_adjust",
|
|
1593
|
-
House = "house",
|
|
1594
|
-
ImageLight = "image_light",
|
|
1595
|
-
ImageSlashRegular = "image_slash_regular",
|
|
1596
|
-
InfoSolidFull = "info_solid_full",
|
|
1597
|
-
LinkLight = "link_light",
|
|
1598
|
-
LinkSlashLight = "link_slash_light",
|
|
1599
|
-
List = "list",
|
|
1600
|
-
LockLight = "lock_light",
|
|
1601
|
-
LockOpenLight = "lock_open_light",
|
|
1602
|
-
MagicWand = "magic-wand",
|
|
1603
|
-
Magnet = "magnet",
|
|
1604
|
-
MagnetStrikethrough = "magnet_strikethrough",
|
|
1605
|
-
Magnifier = "magnifier",
|
|
1606
|
-
MagnifyingGlassMinus = "magnifying_glass_minus",
|
|
1607
|
-
MagnifyingGlassPlus = "magnifying_glass_plus",
|
|
1608
|
-
Measurements = "measurements",
|
|
1609
|
-
MeasurementsInside = "measurements_inside",
|
|
1610
|
-
MovePhoneAr = "move-phone-ar",
|
|
1611
|
-
PaintRollerLight = "paint_roller_light",
|
|
1612
|
-
PenRuler = "pen-ruler",
|
|
1613
|
-
PencilLight = "pencil_light",
|
|
1614
|
-
PlusRegular = "plus_regular",
|
|
1615
|
-
Qrcode = "qrcode",
|
|
1616
|
-
RetryButton = "retry-button",
|
|
1617
|
-
RotateLight = "rotate_light",
|
|
1618
|
-
Scale = "scale",
|
|
1619
|
-
Settings = "settings",
|
|
1620
|
-
SquareCheckRegular = "square_check_regular",
|
|
1621
|
-
SquareChevronDownRegular = "square_chevron_down_regular",
|
|
1622
|
-
SquareRegular = "square_regular",
|
|
1623
|
-
StreetViewOrange = "street-view-orange",
|
|
1624
|
-
StreetView = "street_view",
|
|
1625
|
-
SwapButton = "swap-button",
|
|
1626
|
-
TiltPhone = "tilt-phone",
|
|
1627
|
-
TrashCanLight = "trash_can_light",
|
|
1628
|
-
TriangleDown = "triangle_down",
|
|
1629
|
-
TriangleExclamation = "triangle_exclamation",
|
|
1630
|
-
TriangleUp = "triangle_up",
|
|
1631
|
-
UploadLight = "upload_light",
|
|
1632
|
-
WandMagicSparkles = "wand_magic_sparkles",
|
|
1633
|
-
WifiSolidFull = "wifi_solid_full",
|
|
1634
|
-
XmarkLight = "xmark_light",
|
|
1635
|
-
XmarkRegular = "xmark_regular"
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
declare class SceneOptionButtonInterface {
|
|
1639
|
-
id: number;
|
|
1640
|
-
elementId: string;
|
|
1641
|
-
label?: string;
|
|
1642
|
-
class?: string;
|
|
1643
|
-
tooltip?: string;
|
|
1644
|
-
image?: string | SafeHtml;
|
|
1645
|
-
order?: number;
|
|
1646
|
-
toggle?: boolean;
|
|
1647
|
-
tooltipActive?: string;
|
|
1648
|
-
active?: boolean;
|
|
1649
|
-
object?: any;
|
|
1650
|
-
click?: Function;
|
|
1651
|
-
show?: boolean;
|
|
1652
|
-
icon?: IconEnum;
|
|
1653
|
-
children?: SceneOptionButtonInterface[];
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
declare class SceneOptionsService {
|
|
1657
|
-
sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
|
|
1658
|
-
sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
|
|
1659
|
-
addSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
1660
|
-
updateSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
1661
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
|
|
1662
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
declare enum TextureType {
|
|
1666
|
-
Basic = 0,
|
|
1667
|
-
Image = 1,
|
|
1668
|
-
CustomPattern = 2,
|
|
1669
|
-
PBR = 3,
|
|
1670
|
-
SHADOW = 4
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
interface TextureInterface {
|
|
1674
|
-
name?: string;
|
|
1675
|
-
type?: string | TextureType;
|
|
1676
|
-
url?: string;
|
|
1677
|
-
materializeUrl?: string;
|
|
1678
|
-
bumpMap?: string;
|
|
1679
|
-
bumpScale?: number;
|
|
1680
|
-
roughness?: number;
|
|
1681
|
-
roughnessMap?: string;
|
|
1682
|
-
normalMap?: string;
|
|
1683
|
-
alphaMap?: string;
|
|
1684
|
-
repeatX?: number;
|
|
1685
|
-
repeatY?: number;
|
|
1686
|
-
metalness?: number;
|
|
1687
|
-
metalnessMap?: string;
|
|
1688
|
-
aoMapIntensity?: number;
|
|
1689
|
-
aoMap?: string;
|
|
1690
|
-
data?: any;
|
|
1691
|
-
color?: string;
|
|
1692
|
-
emissive?: string;
|
|
1693
|
-
show?: boolean;
|
|
1694
|
-
default?: boolean;
|
|
1695
|
-
surfaces?: string[];
|
|
1696
|
-
offset?: THREE.Vector2;
|
|
1697
|
-
scale?: number;
|
|
1698
|
-
rotation?: number;
|
|
1699
|
-
stretch?: boolean;
|
|
1700
|
-
height?: number;
|
|
1701
|
-
width?: number;
|
|
1702
|
-
tileSize?: number;
|
|
1703
|
-
tileRotation?: number;
|
|
1704
|
-
useStandalone?: boolean;
|
|
1705
|
-
defaultStandalone?: boolean;
|
|
1706
|
-
mirror?: boolean;
|
|
1707
|
-
simplePlane?: boolean;
|
|
1708
|
-
toneMapped?: boolean;
|
|
1709
|
-
transparent?: boolean;
|
|
1710
|
-
opacity?: number;
|
|
1711
|
-
side?: number;
|
|
1712
|
-
depthWrite?: boolean;
|
|
1713
|
-
depthTest?: boolean;
|
|
820
|
+
get article(): Article;
|
|
821
|
+
articleLoaded: BehaviorSubject<Article>;
|
|
822
|
+
private _subs;
|
|
823
|
+
private _article;
|
|
824
|
+
protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService);
|
|
825
|
+
ngOnDestroy(): void;
|
|
826
|
+
abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
|
|
827
|
+
loadArticle(sku: string): Promise<Article>;
|
|
828
|
+
extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
|
|
829
|
+
getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
|
|
830
|
+
protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
|
|
831
|
+
private _cleanUp;
|
|
832
|
+
protected needs3DModel(type: ItemType): boolean;
|
|
833
|
+
initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
|
|
834
|
+
protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
|
|
835
|
+
private _getAssetPathFromModelUrlAndSchema;
|
|
836
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
|
|
837
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
|
|
1714
838
|
}
|
|
1715
839
|
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
840
|
+
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
841
|
+
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
843
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
1720
844
|
}
|
|
1721
845
|
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
color?: number;
|
|
1727
|
-
texture?: Texture;
|
|
846
|
+
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
847
|
+
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
848
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
849
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
1728
850
|
}
|
|
1729
851
|
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
itemIdentifier?: string;
|
|
1744
|
-
goodId?: string;
|
|
1745
|
-
goodType?: string;
|
|
1746
|
-
isCustom?: boolean;
|
|
1747
|
-
locked?: boolean;
|
|
1748
|
-
configurable?: boolean;
|
|
1749
|
-
ione?: boolean;
|
|
1750
|
-
position?: Vector3;
|
|
1751
|
-
rotation?: number | Euler;
|
|
1752
|
-
scale?: Vector3;
|
|
1753
|
-
centerPivot?: boolean;
|
|
1754
|
-
ignoreInvisible?: boolean;
|
|
1755
|
-
updatePivotOnCreate?: boolean;
|
|
1756
|
-
elementConfiguration?: AdjustableElementInterface[];
|
|
1757
|
-
obsolete?: boolean;
|
|
1758
|
-
thirdPartyModel?: boolean;
|
|
1759
|
-
usePivot?: boolean;
|
|
1760
|
-
decos?: DecoNode[];
|
|
1761
|
-
selections?: Selection[];
|
|
1762
|
-
canElevate?: boolean;
|
|
1763
|
-
onWall?: boolean;
|
|
1764
|
-
modelUrl?: string;
|
|
1765
|
-
scalable?: boolean;
|
|
1766
|
-
scalePercentage?: number;
|
|
1767
|
-
resizable?: boolean;
|
|
1768
|
-
elevation?: number;
|
|
1769
|
-
elevationFixed?: boolean;
|
|
1770
|
-
elevationAdjustable?: boolean;
|
|
1771
|
-
schema?: string;
|
|
1772
|
-
assetPath?: string;
|
|
1773
|
-
texture?: Texture;
|
|
1774
|
-
textureAssetName?: string;
|
|
1775
|
-
skin?: Skin;
|
|
1776
|
-
frameColor?: number;
|
|
1777
|
-
doorColor?: number;
|
|
1778
|
-
windowColor?: THREE.Color;
|
|
1779
|
-
doorpost?: boolean;
|
|
1780
|
-
isGlass?: boolean;
|
|
1781
|
-
itemGroup?: any;
|
|
1782
|
-
canRotateX?: boolean;
|
|
1783
|
-
canRotateY?: boolean;
|
|
1784
|
-
canRotateZ?: boolean;
|
|
1785
|
-
canScaleX?: boolean;
|
|
1786
|
-
canScaleY?: boolean;
|
|
1787
|
-
canScaleZ?: boolean;
|
|
1788
|
-
colorable?: boolean;
|
|
1789
|
-
default180?: boolean;
|
|
1790
|
-
objectUUID?: string;
|
|
1791
|
-
conversionGTMSend?: boolean;
|
|
1792
|
-
conversionSubmittedPrice?: string;
|
|
1793
|
-
hdecoType?: string;
|
|
1794
|
-
opening?: {
|
|
1795
|
-
show: boolean;
|
|
1796
|
-
double: boolean;
|
|
1797
|
-
invertDirection: boolean;
|
|
1798
|
-
invertSide: boolean;
|
|
1799
|
-
};
|
|
852
|
+
declare class SwitchLoadFurnitureService implements OnDestroy {
|
|
853
|
+
private _loadFurnitureService;
|
|
854
|
+
private _loadFurnitureWithoutSceneService;
|
|
855
|
+
private _settingsService;
|
|
856
|
+
private _iOne;
|
|
857
|
+
currentActiveService: LoadFurnitureBaseService;
|
|
858
|
+
private _standAlone;
|
|
859
|
+
private _controllerInitSub;
|
|
860
|
+
private _standAloneInstance;
|
|
861
|
+
constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _iOne: ConfiguratorConnectorService);
|
|
862
|
+
ngOnDestroy(): void;
|
|
863
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
|
|
864
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
|
|
1800
865
|
}
|
|
1801
866
|
|
|
1802
|
-
declare class
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
toneMapped: boolean;
|
|
1840
|
-
transparent: boolean;
|
|
1841
|
-
opacity: number;
|
|
1842
|
-
side: THREE.Side;
|
|
1843
|
-
depthWrite: boolean;
|
|
1844
|
-
depthTest: boolean;
|
|
1845
|
-
metadata?: Metadata;
|
|
1846
|
-
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
867
|
+
declare class ConfiguratorCameraService implements OnDestroy {
|
|
868
|
+
private _settingsService;
|
|
869
|
+
readonly panSpeed: number;
|
|
870
|
+
readonly rotateBy: number;
|
|
871
|
+
readonly moveBy: number;
|
|
872
|
+
readonly cameraDefaultHeight: number;
|
|
873
|
+
readonly targetDefaultOffset: number;
|
|
874
|
+
readonly exploreDistanceFromCorner: number;
|
|
875
|
+
camera: PerspectiveCamera;
|
|
876
|
+
controls: any;
|
|
877
|
+
cameraMovementChanged: Subject<void>;
|
|
878
|
+
private _cameraLocked;
|
|
879
|
+
private _element;
|
|
880
|
+
private _viewSize;
|
|
881
|
+
private _viewCenter;
|
|
882
|
+
private _exploreTargetDistance;
|
|
883
|
+
private _realAspectRatio;
|
|
884
|
+
private _aspectRatio;
|
|
885
|
+
private _subs;
|
|
886
|
+
get cameraLocked(): boolean;
|
|
887
|
+
set realAspectRatio(value: number);
|
|
888
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
889
|
+
ngOnDestroy(): void;
|
|
890
|
+
init(element: HTMLElement): void;
|
|
891
|
+
cameraZoomIn(): void;
|
|
892
|
+
cameraZoomOut(): void;
|
|
893
|
+
lockCamera(): void;
|
|
894
|
+
unlockCamera(): void;
|
|
895
|
+
disableRotate(): void;
|
|
896
|
+
disableRotateHorizontal(): void;
|
|
897
|
+
disablePan(): void;
|
|
898
|
+
disableZoom(): void;
|
|
899
|
+
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
900
|
+
private _getCameraOffset;
|
|
901
|
+
private _controlsUpdate;
|
|
902
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraService, never>;
|
|
903
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorCameraService>;
|
|
1847
904
|
}
|
|
1848
905
|
|
|
1849
|
-
declare enum
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
PCFSoftShadowMap = "PCFSoftShadowMap",
|
|
1853
|
-
VSMShadowMap = "VSMShadowMap"
|
|
906
|
+
declare enum XrMode {
|
|
907
|
+
ArMode = "Ar Mode",
|
|
908
|
+
VrMode = "Vr Mode"
|
|
1854
909
|
}
|
|
1855
910
|
|
|
1856
|
-
declare
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
911
|
+
declare class DebugService {
|
|
912
|
+
debugMessages: string[];
|
|
913
|
+
averageRenderTime: number;
|
|
914
|
+
lastTimestamp: number;
|
|
915
|
+
measurements: any[];
|
|
916
|
+
runTest: boolean;
|
|
917
|
+
addMessage(message: string): void;
|
|
918
|
+
measureRenderTime(): void;
|
|
919
|
+
resetMeasurements(): void;
|
|
920
|
+
startToggle(): void;
|
|
921
|
+
getAverageRenderTime(): number;
|
|
922
|
+
getFramesMeasuredAmount(): number;
|
|
923
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
|
|
924
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
|
|
1862
925
|
}
|
|
1863
926
|
|
|
1864
|
-
declare
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
927
|
+
declare class FontService {
|
|
928
|
+
hudFont: Font;
|
|
929
|
+
monospaceFont: Font;
|
|
930
|
+
constructor();
|
|
931
|
+
private _loadFont;
|
|
932
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
|
|
933
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
|
|
1870
934
|
}
|
|
1871
935
|
|
|
1872
|
-
declare class
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
936
|
+
declare class MessageBoardService {
|
|
937
|
+
private _settingsService;
|
|
938
|
+
private _fontService;
|
|
939
|
+
scene: Scene;
|
|
940
|
+
board: Mesh;
|
|
941
|
+
messages: Mesh[];
|
|
942
|
+
private _font;
|
|
943
|
+
constructor(_settingsService: ConfiguratorSettingsService, _fontService: FontService);
|
|
944
|
+
init(scene: Scene): Promise<void>;
|
|
945
|
+
addMessage(message: string): void;
|
|
946
|
+
private _createMessageBoard;
|
|
947
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
|
|
948
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
|
|
1877
949
|
}
|
|
1878
950
|
|
|
1879
|
-
declare class
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
physicallyCorrectLights: boolean;
|
|
1926
|
-
lights: LightProperties[];
|
|
1927
|
-
hdri: string;
|
|
1928
|
-
hdriIntensity: number;
|
|
951
|
+
declare class ConfiguratorXrService implements OnDestroy {
|
|
952
|
+
private _settingsService;
|
|
953
|
+
private _debugService;
|
|
954
|
+
private _messageBoard;
|
|
955
|
+
gamepad: any;
|
|
956
|
+
axes: number[];
|
|
957
|
+
touchpadIsPressed: boolean;
|
|
958
|
+
triggerIsPressed: boolean;
|
|
959
|
+
angularVelocity: THREE.Vector3;
|
|
960
|
+
renderer: WebGLRenderer;
|
|
961
|
+
scene: Scene;
|
|
962
|
+
camera: Camera;
|
|
963
|
+
controller: any;
|
|
964
|
+
vrSupported: boolean;
|
|
965
|
+
arSupported: boolean;
|
|
966
|
+
sessionStarted: Subject<XrMode>;
|
|
967
|
+
sessionEnded: Subject<void>;
|
|
968
|
+
userSelectInAr: BehaviorSubject<boolean>;
|
|
969
|
+
refSpace: any;
|
|
970
|
+
viewerSpace: any;
|
|
971
|
+
session: any;
|
|
972
|
+
hitTestSource: any;
|
|
973
|
+
private _vrDisplay;
|
|
974
|
+
private _vrController;
|
|
975
|
+
private _subs;
|
|
976
|
+
private _cameraHeight;
|
|
977
|
+
private _mode;
|
|
978
|
+
constructor(_settingsService: ConfiguratorSettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
|
|
979
|
+
ngOnDestroy(): void;
|
|
980
|
+
init(renderer: WebGLRenderer, scene: Scene, camera: Camera): Promise<void>;
|
|
981
|
+
startAr(): void;
|
|
982
|
+
stopAr(): void;
|
|
983
|
+
startVr(): void;
|
|
984
|
+
stopVr(): void;
|
|
985
|
+
update(): void;
|
|
986
|
+
private _doBeforeRenderScene;
|
|
987
|
+
private _logMessage;
|
|
988
|
+
private _onSessionStarted;
|
|
989
|
+
private _onUserSelect;
|
|
990
|
+
private _onSessionEnded;
|
|
991
|
+
private _updateController;
|
|
992
|
+
private _findGamepad;
|
|
993
|
+
private _createController;
|
|
994
|
+
private _createMeshes;
|
|
995
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorXrService, never>;
|
|
996
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorXrService>;
|
|
1929
997
|
}
|
|
1930
998
|
|
|
1931
|
-
declare class
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
lights: LightProperties[];
|
|
1946
|
-
hdri: string;
|
|
1947
|
-
hdriIntensity: number;
|
|
1948
|
-
dirty: boolean;
|
|
999
|
+
declare class ConfiguratorVrService {
|
|
1000
|
+
private _scene;
|
|
1001
|
+
private _renderer;
|
|
1002
|
+
private _camera;
|
|
1003
|
+
private _tempMatrix;
|
|
1004
|
+
private _currentClosestIntersection;
|
|
1005
|
+
private _meshes;
|
|
1006
|
+
private _raycaster;
|
|
1007
|
+
private _reticle;
|
|
1008
|
+
private _controller0;
|
|
1009
|
+
private _controller1;
|
|
1010
|
+
private _session;
|
|
1011
|
+
private _user;
|
|
1012
|
+
private _selectedObject;
|
|
1949
1013
|
constructor();
|
|
1950
|
-
|
|
1951
|
-
|
|
1014
|
+
init(scene: Scene, renderer: WebGLRenderer): void;
|
|
1015
|
+
render(): void;
|
|
1016
|
+
endSession(): void;
|
|
1017
|
+
private _initSession;
|
|
1018
|
+
private _onSessionStarted;
|
|
1019
|
+
private _onSessionEnded;
|
|
1020
|
+
startVRSession(): void;
|
|
1021
|
+
private _createControllers;
|
|
1022
|
+
private _onSelectStart;
|
|
1023
|
+
private _onSelectEnd;
|
|
1024
|
+
private _getIntersections;
|
|
1025
|
+
private _registerMeshes;
|
|
1026
|
+
private _handleIntersections;
|
|
1027
|
+
private _handleControllerIntersections;
|
|
1028
|
+
private _getNearestIntersection;
|
|
1029
|
+
private _handleFloorIntersection;
|
|
1030
|
+
private _handleObjectIntersection;
|
|
1031
|
+
private _handleNoIntersections;
|
|
1032
|
+
private _updateControllerRay;
|
|
1033
|
+
private _isObjectFloor;
|
|
1034
|
+
private _getParentOfChild;
|
|
1035
|
+
private _updateObjectSelection;
|
|
1036
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorVrService, never>;
|
|
1037
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorVrService>;
|
|
1952
1038
|
}
|
|
1953
1039
|
|
|
1954
|
-
declare class
|
|
1955
|
-
private
|
|
1040
|
+
declare class ConfiguratorArService implements OnDestroy {
|
|
1041
|
+
private _cameraService;
|
|
1956
1042
|
private _settingsService;
|
|
1957
|
-
private
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
private
|
|
1970
|
-
private
|
|
1971
|
-
private
|
|
1972
|
-
private
|
|
1973
|
-
private
|
|
1974
|
-
|
|
1043
|
+
private _iOne;
|
|
1044
|
+
updateContextMenu: BehaviorSubject<void>;
|
|
1045
|
+
shouldAddObjectToScene: Subject<Object3D>;
|
|
1046
|
+
showConfigurator: boolean;
|
|
1047
|
+
refSpace: any;
|
|
1048
|
+
hitTestSource: any;
|
|
1049
|
+
scene: Scene;
|
|
1050
|
+
userInSelectionMenu: boolean;
|
|
1051
|
+
showContextMenu: boolean;
|
|
1052
|
+
private _arFeatures;
|
|
1053
|
+
private _renderer;
|
|
1054
|
+
private _glBinding;
|
|
1055
|
+
private _session;
|
|
1056
|
+
private _debug;
|
|
1057
|
+
private _surfaceFoundOnce;
|
|
1058
|
+
private _reticle;
|
|
1059
|
+
private _hitTestResult;
|
|
1060
|
+
private _reticleHitTestResult;
|
|
1061
|
+
private _anchoredObjects;
|
|
1062
|
+
private _activeARModel;
|
|
1063
|
+
private _aRModelBackupYPosition;
|
|
1064
|
+
private _aRModelBackupPosition;
|
|
1065
|
+
private _aRModelBackupYRotation;
|
|
1066
|
+
private _aRModelRotationStartingValue;
|
|
1067
|
+
private _vertexList;
|
|
1068
|
+
private _detectedPlanes;
|
|
1069
|
+
private _rawPlanes;
|
|
1070
|
+
private _planeMaterial;
|
|
1071
|
+
private _shadowPlane;
|
|
1072
|
+
private _lastEventTimestamp;
|
|
1073
|
+
private _lastObjectTouchTimestamp;
|
|
1074
|
+
private _doubleTapTimeframe;
|
|
1075
|
+
private _holdingTouch;
|
|
1076
|
+
private _controller;
|
|
1077
|
+
private _raycaster;
|
|
1078
|
+
private _tempMatrix;
|
|
1079
|
+
private _cleanup;
|
|
1080
|
+
private _animating;
|
|
1081
|
+
private _liftAnimation;
|
|
1082
|
+
private _dropAnimation;
|
|
1083
|
+
private _lightProbe;
|
|
1084
|
+
private _threeLightProbe;
|
|
1085
|
+
private _cubeMapTexture;
|
|
1086
|
+
private _depthDataTexture;
|
|
1087
|
+
private _sunLight;
|
|
1088
|
+
private _positionIndicator;
|
|
1089
|
+
private _pointRepresentation;
|
|
1090
|
+
constructor(_cameraService: ConfiguratorCameraService, _settingsService: ConfiguratorSettingsService, _iOne: ConfiguratorConnectorService);
|
|
1975
1091
|
ngOnDestroy(): void;
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1092
|
+
resetPlaneDetection(): Promise<void>;
|
|
1093
|
+
endSessionEvent(): void;
|
|
1094
|
+
arIOSSupported(): Promise<boolean>;
|
|
1095
|
+
arSupported(): Promise<any>;
|
|
1096
|
+
addObjectToARScene(object: Object3D): void;
|
|
1097
|
+
modelLoading(): boolean;
|
|
1098
|
+
modelPlaced(): boolean;
|
|
1099
|
+
handleFrame(xrFrame: any): void;
|
|
1100
|
+
init(renderer: WebGLRenderer): void;
|
|
1101
|
+
savePreSelectionPosition(): void;
|
|
1102
|
+
updateChangedModel(): void;
|
|
1103
|
+
arModeHasBeenActive(): boolean;
|
|
1104
|
+
showMovePhoneAnimation(): boolean;
|
|
1105
|
+
getActiveModel(): any;
|
|
1106
|
+
private _initSession;
|
|
1107
|
+
private _checkAvailableFeatures;
|
|
1108
|
+
private _initRenderer;
|
|
1109
|
+
private _initController;
|
|
1110
|
+
private _initScene;
|
|
1111
|
+
private _initLightEstimation;
|
|
1112
|
+
private _initReflectionCubeMap;
|
|
1113
|
+
private _initCPUDepthOcclusion;
|
|
1114
|
+
private _initAnchoredHitTest;
|
|
1115
|
+
private _initPlaneDetection;
|
|
1116
|
+
private _initLighting;
|
|
1117
|
+
private _checkHitTestMethod;
|
|
1118
|
+
private _executeDepthAnchorHitTest;
|
|
1119
|
+
private _executeAnchoredHitTest;
|
|
1120
|
+
private _executeCPUDepthHitTest;
|
|
1121
|
+
private _executeDefaultHitTest;
|
|
1122
|
+
private _checkExtraFeatures;
|
|
1123
|
+
private _hideOccludedMeshes;
|
|
1124
|
+
private _createPlaneMaterial;
|
|
1125
|
+
private _onSessionStarted;
|
|
1126
|
+
private _onSessionEnded;
|
|
1127
|
+
private _setArModelShadows;
|
|
1128
|
+
private _handleTouchEvent;
|
|
1129
|
+
private _handleMultiTouchEvent;
|
|
1130
|
+
private _handleDoubleTapEvent;
|
|
1131
|
+
private _checkIfHoldTouchEvent;
|
|
1132
|
+
private _handleHoldStartEvent;
|
|
1133
|
+
private _handleHoldEndEvent;
|
|
1134
|
+
private _toggleHoldTouchEvent;
|
|
1135
|
+
private _handleHoldMoveEvent;
|
|
1136
|
+
private _updateShadows;
|
|
1137
|
+
private _adjustLighting;
|
|
1138
|
+
private _toggleARModelTransparency;
|
|
1139
|
+
private _setPlanesVisibilty;
|
|
1140
|
+
private _getObjectIntersections;
|
|
1141
|
+
private _drawPlane;
|
|
1142
|
+
private _drawPlanes;
|
|
1143
|
+
private _callLiftAnimation;
|
|
1144
|
+
private _callDropAnimation;
|
|
1145
|
+
private _createAugmentedMaterial;
|
|
1146
|
+
private _updateAugmentedMaterialUniforms;
|
|
1147
|
+
private _updateMeshMaterials;
|
|
1148
|
+
private _removeMaterialShaders;
|
|
1149
|
+
private _checkingInterfaceInteraction;
|
|
1150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorArService, never>;
|
|
1151
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorArService>;
|
|
1985
1152
|
}
|
|
1986
1153
|
|
|
1987
|
-
declare
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
private _bundleInitializerService;
|
|
1992
|
-
get floorPlane(): Object3D;
|
|
1993
|
-
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
1994
|
-
private _standaloneFloors;
|
|
1995
|
-
private _floorPlane;
|
|
1996
|
-
private _subs;
|
|
1997
|
-
private _sceneReady;
|
|
1998
|
-
private _texturesReady;
|
|
1999
|
-
constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
|
|
2000
|
-
ngOnDestroy(): void;
|
|
2001
|
-
createFloorPlane(): Promise<void>;
|
|
2002
|
-
getCenterFloorPlane(): Vector3;
|
|
2003
|
-
getDimensions(scale?: number): {
|
|
2004
|
-
x: {
|
|
2005
|
-
min: number;
|
|
2006
|
-
max: number;
|
|
2007
|
-
};
|
|
2008
|
-
y: {
|
|
2009
|
-
min: number;
|
|
2010
|
-
max: number;
|
|
2011
|
-
};
|
|
2012
|
-
};
|
|
2013
|
-
getPlaneSize(): Vector3;
|
|
2014
|
-
private _getStandaloneFloorSize;
|
|
2015
|
-
private _generateFloorPlane;
|
|
2016
|
-
private _createFloorMaterial;
|
|
2017
|
-
private _upsertFloorButtons;
|
|
2018
|
-
private _changeStandaloneFloor;
|
|
2019
|
-
private _setFloorTexture;
|
|
2020
|
-
private _updateFloorMaterial;
|
|
2021
|
-
private _setUpdatedMaterial;
|
|
2022
|
-
private _getMaterials;
|
|
2023
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
|
|
2024
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
1154
|
+
declare enum ViewMode {
|
|
1155
|
+
RoomPlan3D = "3D roomplan",
|
|
1156
|
+
VR = "VR",
|
|
1157
|
+
AR = "AR"
|
|
2025
1158
|
}
|
|
2026
1159
|
|
|
2027
|
-
declare class
|
|
2028
|
-
|
|
2029
|
-
private
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
private
|
|
2048
|
-
private
|
|
2049
|
-
private
|
|
2050
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
|
|
2051
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
declare class LightPresetsService implements OnDestroy {
|
|
1160
|
+
declare class ViewModeService {
|
|
1161
|
+
viewModeChanged: BehaviorSubject<ViewMode>;
|
|
1162
|
+
private _viewMode;
|
|
1163
|
+
viewSize: Vector3;
|
|
1164
|
+
viewCenter: Vector3;
|
|
1165
|
+
set viewMode(value: ViewMode);
|
|
1166
|
+
get viewMode(): ViewMode;
|
|
1167
|
+
setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
|
|
1168
|
+
is3dViewActive(): boolean;
|
|
1169
|
+
isVRViewActive(): boolean;
|
|
1170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
|
|
1171
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
declare class ConfiguratorSceneService implements OnDestroy {
|
|
1175
|
+
private _cameraService;
|
|
1176
|
+
private _xrService;
|
|
1177
|
+
private _vrService;
|
|
1178
|
+
private _arService;
|
|
1179
|
+
private _configuratorSettingsService;
|
|
1180
|
+
private _postProcessingService;
|
|
1181
|
+
private _viewModeService;
|
|
1182
|
+
private _jsonUtilsService;
|
|
2055
1183
|
private _lightsService;
|
|
2056
|
-
private
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
1184
|
+
private _buildFurnitureService;
|
|
1185
|
+
set needsRender(value: boolean);
|
|
1186
|
+
get needsRender(): boolean;
|
|
1187
|
+
scene: Scene;
|
|
1188
|
+
renderer: WebGLRenderer;
|
|
1189
|
+
pathTracer: WebGLPathTracer;
|
|
1190
|
+
standAlone: boolean;
|
|
1191
|
+
onBeforeRender: Subject<{
|
|
1192
|
+
renderer: WebGLRenderer;
|
|
1193
|
+
scene: Scene;
|
|
1194
|
+
}>;
|
|
1195
|
+
onAfterRender: Subject<{
|
|
1196
|
+
renderer: WebGLRenderer;
|
|
1197
|
+
scene: Scene;
|
|
1198
|
+
}>;
|
|
1199
|
+
sceneInitialized: BehaviorSubject<boolean>;
|
|
1200
|
+
renderingThroughPostProcessingPipeline: boolean;
|
|
1201
|
+
webGL2Available: boolean;
|
|
1202
|
+
domElement: HTMLElement;
|
|
1203
|
+
floorTexturesLoaded: BehaviorSubject<TextureInterface$1[]>;
|
|
1204
|
+
private _needsRender;
|
|
1205
|
+
private _arMode;
|
|
2066
1206
|
private _subs;
|
|
2067
|
-
private
|
|
2068
|
-
|
|
2069
|
-
|
|
1207
|
+
private _maxRenderSamples;
|
|
1208
|
+
private _numberOfSamplesRendered;
|
|
1209
|
+
private _assetPath;
|
|
1210
|
+
private _indexJsonFile;
|
|
1211
|
+
private _lightPresetsJsonFile;
|
|
1212
|
+
private _lightsLoaded;
|
|
1213
|
+
constructor(_cameraService: ConfiguratorCameraService, _xrService: ConfiguratorXrService, _vrService: ConfiguratorVrService, _arService: ConfiguratorArService, _configuratorSettingsService: ConfiguratorSettingsService, _postProcessingService: PostProcessingService, _viewModeService: ViewModeService, _jsonUtilsService: JsonUtilsService, _lightsService: LightsService, _buildFurnitureService: SwitchBuildFurnitureService);
|
|
2070
1214
|
ngOnDestroy(): void;
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
1215
|
+
getScene(): Scene;
|
|
1216
|
+
set arMode(value: boolean);
|
|
1217
|
+
get arMode(): boolean;
|
|
1218
|
+
takeScreenshot(): string;
|
|
1219
|
+
init(element: HTMLElement): Promise<void>;
|
|
1220
|
+
getSceneCanvasImage(): string;
|
|
1221
|
+
addObject(obj: Object3D, forceRender?: boolean): void;
|
|
1222
|
+
removeObject(obj: Object3D | Mesh, forceRender?: boolean, cleanUp?: boolean): void;
|
|
1223
|
+
updatePathTracer(): void;
|
|
1224
|
+
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1225
|
+
rendererPropsChange(): void;
|
|
1226
|
+
private _initScene;
|
|
1227
|
+
private _initCamera;
|
|
1228
|
+
private _initPostProcessing;
|
|
1229
|
+
private _initLightService;
|
|
1230
|
+
private _initPathTracer;
|
|
1231
|
+
private _initRenderer;
|
|
1232
|
+
private _resizeRendererToDisplaySize;
|
|
1233
|
+
private _updateWindowSize;
|
|
1234
|
+
private _checkCanvasResize;
|
|
1235
|
+
private _render;
|
|
1236
|
+
private _animate;
|
|
1237
|
+
private _pauseAnimation;
|
|
1238
|
+
private _prepareScene;
|
|
1239
|
+
private _setSceneBackground;
|
|
1240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneService, never>;
|
|
1241
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSceneService>;
|
|
2087
1242
|
}
|
|
2088
1243
|
|
|
2089
|
-
declare class
|
|
1244
|
+
declare class ConfiguratorItemService implements OnDestroy {
|
|
2090
1245
|
private _sceneService;
|
|
2091
|
-
|
|
2092
|
-
private
|
|
2093
|
-
|
|
2094
|
-
private _floorPlaneService;
|
|
2095
|
-
private _itemService;
|
|
2096
|
-
private _appEventService;
|
|
2097
|
-
readonly intersectOffsetForWalls = 20;
|
|
2098
|
-
readonly longTouchDuration = 600;
|
|
2099
|
-
rotateNoDrag: boolean;
|
|
2100
|
-
private _element;
|
|
2101
|
-
private _controls;
|
|
2102
|
-
private _camera;
|
|
2103
|
-
private _mousePosition;
|
|
2104
|
-
private _oldMousePosition;
|
|
2105
|
-
private _rotationStartPoint;
|
|
2106
|
-
private _intersectedObject;
|
|
2107
|
-
private _intersectedMesh;
|
|
2108
|
-
private _mouseoverObject;
|
|
2109
|
-
private _selectedObject;
|
|
2110
|
-
private _prevSelectedObject;
|
|
2111
|
-
private _defaultCursorStyle;
|
|
2112
|
-
private _inDragOver;
|
|
2113
|
-
private _mouseDown;
|
|
2114
|
-
private _mouseMoved;
|
|
2115
|
-
private _rotateMouseOver;
|
|
2116
|
-
private _groupingMode;
|
|
2117
|
-
private _state;
|
|
2118
|
-
private _intersectedWall;
|
|
2119
|
-
private _intersectedFloor;
|
|
2120
|
-
private _subs;
|
|
2121
|
-
private _cameraMoveSub;
|
|
2122
|
-
private _debouncedSaveState;
|
|
2123
|
-
private _touchStart;
|
|
2124
|
-
private _touchEnd;
|
|
2125
|
-
private _touchCancel;
|
|
2126
|
-
private _touchMove;
|
|
2127
|
-
constructor(_sceneService: SceneService, _cameraService: CameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ItemService, _appEventService: AppEventService);
|
|
1246
|
+
get sceneItems(): Object3D[];
|
|
1247
|
+
private _sceneItems;
|
|
1248
|
+
constructor(_sceneService: ConfiguratorSceneService);
|
|
2128
1249
|
ngOnDestroy(): void;
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
private _touchStartEvent;
|
|
2137
|
-
private _touchEndEvent;
|
|
2138
|
-
private _touchMoveEvent;
|
|
2139
|
-
private _mouseUpEvent;
|
|
2140
|
-
private _mouseMoveEvent;
|
|
2141
|
-
private _leftMouseDownEvent;
|
|
2142
|
-
private _getIntersections;
|
|
2143
|
-
private _setIntersectedObject;
|
|
2144
|
-
private _isMouseEventAllowed;
|
|
2145
|
-
private _mouseToVec3;
|
|
2146
|
-
private _markSceneToUpdate;
|
|
2147
|
-
private _setCursorStyle;
|
|
2148
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
|
|
2149
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
|
|
1250
|
+
addItem(item: Object3D, replace?: boolean): void;
|
|
1251
|
+
removeAllItems(): void;
|
|
1252
|
+
removeItem(obj: any): void;
|
|
1253
|
+
objectDimensions(object: Object3D): Vector3;
|
|
1254
|
+
glassMaterialCheck(item: Object3D): void;
|
|
1255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorItemService, never>;
|
|
1256
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorItemService>;
|
|
2150
1257
|
}
|
|
2151
1258
|
|
|
2152
1259
|
declare class RenderResponse {
|
|
@@ -2181,7 +1288,7 @@ declare class RenderBaseObject {
|
|
|
2181
1288
|
declare class RenderApi {
|
|
2182
1289
|
private _settingsService;
|
|
2183
1290
|
private _overWriteTransparency;
|
|
2184
|
-
constructor(_settingsService:
|
|
1291
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
2185
1292
|
prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
|
|
2186
1293
|
sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
|
|
2187
1294
|
degreesToVector3(value: number): Vector3;
|
|
@@ -2196,16 +1303,14 @@ declare class RenderApi {
|
|
|
2196
1303
|
declare class RenderService implements OnDestroy {
|
|
2197
1304
|
private _settingsService;
|
|
2198
1305
|
private _cameraService;
|
|
2199
|
-
private _itemService;
|
|
2200
1306
|
private _appEventService;
|
|
1307
|
+
private _sceneService;
|
|
2201
1308
|
private _renderApi;
|
|
2202
|
-
renderImageChanged: BehaviorSubject<string>;
|
|
2203
|
-
renderImageError: BehaviorSubject<string>;
|
|
2204
1309
|
blenderRenderStarted: EventEmitter<string>;
|
|
2205
1310
|
clientWidth: number;
|
|
2206
1311
|
clientHeight: number;
|
|
2207
1312
|
private _subs;
|
|
2208
|
-
constructor(_settingsService:
|
|
1313
|
+
constructor(_settingsService: ConfiguratorSettingsService, _cameraService: ConfiguratorCameraService, _appEventService: ConfiguratorEventService, _sceneService: ConfiguratorSceneService, _renderApi: RenderApi);
|
|
2209
1314
|
ngOnDestroy(): void;
|
|
2210
1315
|
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
2211
1316
|
getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
@@ -2215,70 +1320,47 @@ declare class RenderService implements OnDestroy {
|
|
|
2215
1320
|
}
|
|
2216
1321
|
|
|
2217
1322
|
declare class ConfiguringService implements OnDestroy {
|
|
2218
|
-
settingsService:
|
|
2219
|
-
private _initializerService;
|
|
1323
|
+
settingsService: ConfiguratorSettingsService;
|
|
2220
1324
|
private _loadFurnitureService;
|
|
2221
1325
|
private _buildFurnitureService;
|
|
2222
1326
|
private _appEventService;
|
|
2223
1327
|
private _configuratorConnectorService;
|
|
2224
1328
|
private _itemService;
|
|
2225
|
-
private _floorPlaneService;
|
|
2226
|
-
private _lightPresetService;
|
|
2227
|
-
private _cameraService;
|
|
2228
|
-
private _sceneEventService;
|
|
2229
|
-
private _sceneService;
|
|
2230
1329
|
private _utilsService;
|
|
2231
1330
|
private _renderService;
|
|
2232
|
-
set settings(value: ConfiguratorSettings);
|
|
2233
|
-
get settings(): ConfiguratorSettings;
|
|
2234
1331
|
set sku(value: string);
|
|
2235
1332
|
get sku(): string;
|
|
2236
1333
|
set instanceId(value: string);
|
|
2237
1334
|
get instanceId(): string;
|
|
2238
|
-
set isConfiguring(value: boolean);
|
|
2239
|
-
get isConfiguring(): boolean;
|
|
2240
1335
|
set scene(value: Scene);
|
|
2241
1336
|
get scene(): Scene;
|
|
2242
|
-
onShowLiteSelector: EventEmitter<boolean>;
|
|
2243
|
-
onShowSelections: EventEmitter<boolean>;
|
|
2244
|
-
onShowAnswers: EventEmitter<boolean>;
|
|
2245
|
-
onShowFullConfiguration: EventEmitter<boolean>;
|
|
2246
|
-
onAnswersAvailable: EventEmitter<boolean>;
|
|
2247
|
-
floorReady: EventEmitter<boolean>;
|
|
2248
|
-
onRenderImageReceived: EventEmitter<string>;
|
|
2249
|
-
onRenderErrorReceived: EventEmitter<string>;
|
|
2250
|
-
onThumbnailReceived: EventEmitter<string>;
|
|
2251
|
-
onCanvasImageReceived: EventEmitter<string>;
|
|
2252
1337
|
buildResult: ConfigurationResultObject;
|
|
2253
|
-
private _settings;
|
|
2254
1338
|
private _sku;
|
|
2255
1339
|
private _instanceId;
|
|
2256
|
-
private _isConfiguring;
|
|
2257
1340
|
private _scene;
|
|
2258
|
-
private _showFullConfiguration;
|
|
2259
1341
|
private _subs;
|
|
2260
|
-
constructor(settingsService:
|
|
1342
|
+
constructor(settingsService: ConfiguratorSettingsService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: ConfiguratorEventService, _configuratorConnectorService: ConfiguratorConnectorService, _itemService: ConfiguratorItemService, _utilsService: UtilsService, _renderService: RenderService);
|
|
2261
1343
|
ngOnDestroy(): void;
|
|
2262
|
-
init(settings: any): Promise<void>;
|
|
2263
1344
|
configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
|
|
2264
|
-
addBuildToScene(buildResult: ConfigurationResultObject): void;
|
|
2265
|
-
handleLoadSceneContent(): Promise<void>;
|
|
2266
1345
|
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
|
|
2267
|
-
private _handleTemplateChange;
|
|
2268
|
-
private _handleFloorPlaneReady;
|
|
2269
|
-
private _handleImageReceived;
|
|
2270
|
-
private _handleRenderErrorReceived;
|
|
2271
|
-
private _handleAnswerCountReceived;
|
|
2272
1346
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
|
|
2273
1347
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
|
|
2274
1348
|
}
|
|
2275
1349
|
|
|
2276
|
-
declare class ConfiguratorComponent implements OnDestroy {
|
|
2277
|
-
settingsService:
|
|
1350
|
+
declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
1351
|
+
settingsService: ConfiguratorSettingsService;
|
|
2278
1352
|
loaderService: LoaderService;
|
|
2279
|
-
private
|
|
1353
|
+
private _configuratorEventService;
|
|
2280
1354
|
private _configuringService;
|
|
2281
|
-
|
|
1355
|
+
private _buildFurnitureService;
|
|
1356
|
+
private _configuratorConnectorService;
|
|
1357
|
+
showClass: boolean;
|
|
1358
|
+
set sku(value: string);
|
|
1359
|
+
get sku(): string;
|
|
1360
|
+
set instanceId(value: string);
|
|
1361
|
+
get instanceId(): string;
|
|
1362
|
+
set settings(value: ConfiguratorSettings);
|
|
1363
|
+
scene: Scene;
|
|
2282
1364
|
showLoader: boolean;
|
|
2283
1365
|
showProgressBar: boolean;
|
|
2284
1366
|
showErrorMessages: boolean;
|
|
@@ -2286,7 +1368,7 @@ declare class ConfiguratorComponent implements OnDestroy {
|
|
|
2286
1368
|
canCloseConfigurator: boolean;
|
|
2287
1369
|
animateSlideout: boolean;
|
|
2288
1370
|
showHeaderInformation: boolean;
|
|
2289
|
-
|
|
1371
|
+
showSaveAndLoadConfiguration: boolean;
|
|
2290
1372
|
isLoading: EventEmitter<boolean>;
|
|
2291
1373
|
updateProgressBar: EventEmitter<boolean>;
|
|
2292
1374
|
errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
|
|
@@ -2294,15 +1376,30 @@ declare class ConfiguratorComponent implements OnDestroy {
|
|
|
2294
1376
|
resultHasErrors: boolean;
|
|
2295
1377
|
showErrorDiagram: boolean;
|
|
2296
1378
|
configurationResultObject: ConfigurationResultObject;
|
|
1379
|
+
showFullConfiguration: boolean;
|
|
1380
|
+
showLiteSelector: boolean;
|
|
1381
|
+
showSelections: boolean;
|
|
1382
|
+
showAnswers: boolean;
|
|
1383
|
+
loaded: boolean;
|
|
2297
1384
|
private _subs;
|
|
2298
|
-
|
|
1385
|
+
private _loadingFromPreset;
|
|
1386
|
+
private _settings;
|
|
1387
|
+
private _instanceId;
|
|
1388
|
+
private _instanceIdSet;
|
|
1389
|
+
private _sku;
|
|
1390
|
+
private _skuSet;
|
|
1391
|
+
constructor(settingsService: ConfiguratorSettingsService, loaderService: LoaderService, _configuratorEventService: ConfiguratorEventService, _configuringService: ConfiguringService, _buildFurnitureService: SwitchBuildFurnitureService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1392
|
+
ngOnInit(): void;
|
|
2299
1393
|
ngOnDestroy(): void;
|
|
2300
|
-
|
|
1394
|
+
_initConnection(): void;
|
|
2301
1395
|
handleShowChange(show: boolean): void;
|
|
2302
1396
|
handleCloseErrorDialog(): void;
|
|
2303
1397
|
private _handleArticleNotFound;
|
|
1398
|
+
private _handleAnswerCountReceived;
|
|
1399
|
+
private _handleBuildFinished;
|
|
1400
|
+
private _handleTemplateChange;
|
|
2304
1401
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
2305
|
-
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; };
|
|
1402
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "sku": { "alias": "sku"; "required": false; }; "instanceId": { "alias": "instanceId"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "scene": { "alias": "scene"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showErrorMessages": { "alias": "showErrorMessages"; "required": false; }; "outputErrorMessages": { "alias": "outputErrorMessages"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
|
|
2306
1403
|
}
|
|
2307
1404
|
|
|
2308
1405
|
declare class ProgressBarComponent {
|
|
@@ -2329,10 +1426,127 @@ declare class ConfiguratorLoaderComponent {
|
|
|
2329
1426
|
|
|
2330
1427
|
declare class ConfiguratorLoaderModule {
|
|
2331
1428
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
|
|
2332
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof
|
|
1429
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i3$1.LoaderModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
|
|
2333
1430
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
|
|
2334
1431
|
}
|
|
2335
1432
|
|
|
1433
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
1434
|
+
declare enum IconEnum {
|
|
1435
|
+
AddButton = "add-button",
|
|
1436
|
+
AddLight = "add_light",
|
|
1437
|
+
Angle90 = "angle_90",
|
|
1438
|
+
Aperture = "aperture",
|
|
1439
|
+
ArrowUpRightAndArrowDownLeftFromCenter = "arrow-up-right-and-arrow-down-left-from-center",
|
|
1440
|
+
ArrowsLeftRight = "arrows-left-right",
|
|
1441
|
+
ArrowsUpDown = "arrows-up-down",
|
|
1442
|
+
ArrowsToEye = "arrows_to_eye",
|
|
1443
|
+
ArrowPointDown = "arrow_point_down",
|
|
1444
|
+
ArrowPointRight = "arrow_point_right",
|
|
1445
|
+
ArrowRotateLeft = "arrow_rotate_left",
|
|
1446
|
+
ArrowRotateRight = "arrow_rotate_right",
|
|
1447
|
+
ArrowTurnLeft = "arrow_turn_left",
|
|
1448
|
+
ArrowTurnLeftRegular = "arrow_turn_left_regular",
|
|
1449
|
+
ArrowTurnRight = "arrow_turn_right",
|
|
1450
|
+
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
1451
|
+
ArCircle = "ar_circle",
|
|
1452
|
+
BarsLightFull = "bars_light_full",
|
|
1453
|
+
Brush = "brush",
|
|
1454
|
+
CameraSolid = "camera_solid",
|
|
1455
|
+
CameraTopdown = "camera_topdown",
|
|
1456
|
+
CameraViewfinder = "camera_viewfinder",
|
|
1457
|
+
CartShoppingRegular = "cart-shopping-regular",
|
|
1458
|
+
Check = "check",
|
|
1459
|
+
CheckRegular = "check_regular",
|
|
1460
|
+
CheckSolid = "check_solid",
|
|
1461
|
+
CircleCheck = "circle_check",
|
|
1462
|
+
CircleCheckRegular = "circle_check_regular",
|
|
1463
|
+
CircleInfo = "circle_info",
|
|
1464
|
+
CircleMinusLight = "circle_minus_light",
|
|
1465
|
+
CirclePlusLight = "circle_plus_light",
|
|
1466
|
+
CircleQuestion = "circle_question",
|
|
1467
|
+
CircleRegular = "circle_regular",
|
|
1468
|
+
CircleXmark = "circle_xmark",
|
|
1469
|
+
CitPoweredWhite = "cit_powered_white",
|
|
1470
|
+
CloudArrowDown = "cloud_arrow_down",
|
|
1471
|
+
CloudArrowUp = "cloud_arrow_up",
|
|
1472
|
+
Comment = "comment",
|
|
1473
|
+
Compress = "compress",
|
|
1474
|
+
ConfFrame = "conf_frame",
|
|
1475
|
+
ConfPlane = "conf_plane",
|
|
1476
|
+
CopyLight = "copy_light",
|
|
1477
|
+
CopyRegularFull = "copy_regular_full",
|
|
1478
|
+
Couch = "couch",
|
|
1479
|
+
Cross = "cross",
|
|
1480
|
+
CubeOutline = "cube-outline",
|
|
1481
|
+
CubeUnfolded = "cube-unfolded",
|
|
1482
|
+
Cube = "cube",
|
|
1483
|
+
DashButton = "dash-button",
|
|
1484
|
+
DeleteButton = "delete-button",
|
|
1485
|
+
Download = "download",
|
|
1486
|
+
DrawSquare = "draw_square",
|
|
1487
|
+
EditButton = "edit-button",
|
|
1488
|
+
Expand = "expand",
|
|
1489
|
+
FillDripLight = "fill_drip_light",
|
|
1490
|
+
FloppyDiskLightFull = "floppy_disk_light_full",
|
|
1491
|
+
Flower = "flower",
|
|
1492
|
+
FolderOpenLightFull = "folder_open_light_full",
|
|
1493
|
+
GaugeHighSolidFull = "gauge_high_solid_full",
|
|
1494
|
+
GaugeLowSolidFull = "gauge_low_solid_full",
|
|
1495
|
+
GaugeMaxSolidFull = "gauge_max_solid_full",
|
|
1496
|
+
GaugeMinSolidFull = "gauge_min_solid_full",
|
|
1497
|
+
GoogleCardboardOrange = "google-cardboard-orange",
|
|
1498
|
+
GoogleCardboard = "google-cardboard",
|
|
1499
|
+
GridLight = "grid_light",
|
|
1500
|
+
HandPointer = "hand-pointer",
|
|
1501
|
+
HandLight = "hand_light",
|
|
1502
|
+
HandPointerLight = "hand_pointer_light",
|
|
1503
|
+
HeightAdjust = "height_adjust",
|
|
1504
|
+
House = "house",
|
|
1505
|
+
ImageLight = "image_light",
|
|
1506
|
+
ImageSlashRegular = "image_slash_regular",
|
|
1507
|
+
InfoSolidFull = "info_solid_full",
|
|
1508
|
+
LinkLight = "link_light",
|
|
1509
|
+
LinkSlashLight = "link_slash_light",
|
|
1510
|
+
List = "list",
|
|
1511
|
+
LockLight = "lock_light",
|
|
1512
|
+
LockOpenLight = "lock_open_light",
|
|
1513
|
+
MagicWand = "magic-wand",
|
|
1514
|
+
Magnet = "magnet",
|
|
1515
|
+
MagnetStrikethrough = "magnet_strikethrough",
|
|
1516
|
+
Magnifier = "magnifier",
|
|
1517
|
+
MagnifyingGlassMinus = "magnifying_glass_minus",
|
|
1518
|
+
MagnifyingGlassPlus = "magnifying_glass_plus",
|
|
1519
|
+
Measurements = "measurements",
|
|
1520
|
+
MeasurementsInside = "measurements_inside",
|
|
1521
|
+
MovePhoneAr = "move-phone-ar",
|
|
1522
|
+
PaintRollerLight = "paint_roller_light",
|
|
1523
|
+
PenRuler = "pen-ruler",
|
|
1524
|
+
PencilLight = "pencil_light",
|
|
1525
|
+
PlusRegular = "plus_regular",
|
|
1526
|
+
Qrcode = "qrcode",
|
|
1527
|
+
RetryButton = "retry-button",
|
|
1528
|
+
RotateLight = "rotate_light",
|
|
1529
|
+
Scale = "scale",
|
|
1530
|
+
Settings = "settings",
|
|
1531
|
+
SquareCheckRegular = "square_check_regular",
|
|
1532
|
+
SquareChevronDownRegular = "square_chevron_down_regular",
|
|
1533
|
+
SquareRegular = "square_regular",
|
|
1534
|
+
StreetViewOrange = "street-view-orange",
|
|
1535
|
+
StreetView = "street_view",
|
|
1536
|
+
SwapButton = "swap-button",
|
|
1537
|
+
TiltPhone = "tilt-phone",
|
|
1538
|
+
TrashCanLight = "trash_can_light",
|
|
1539
|
+
TriangleDown = "triangle_down",
|
|
1540
|
+
TriangleExclamation = "triangle_exclamation",
|
|
1541
|
+
TriangleUp = "triangle_up",
|
|
1542
|
+
UploadLight = "upload_light",
|
|
1543
|
+
WandMagicSparkles = "wand_magic_sparkles",
|
|
1544
|
+
WifiSolidFull = "wifi_solid_full",
|
|
1545
|
+
XmarkLight = "xmark_light",
|
|
1546
|
+
XmarkLightFull = "xmark_light_full",
|
|
1547
|
+
XmarkRegular = "xmark_regular"
|
|
1548
|
+
}
|
|
1549
|
+
|
|
2336
1550
|
declare class IconCacheService {
|
|
2337
1551
|
private _sanitizer;
|
|
2338
1552
|
/**
|
|
@@ -2366,11 +1580,11 @@ declare class ConfiguratorErrorDialogComponent {
|
|
|
2366
1580
|
|
|
2367
1581
|
declare class ConfiguratorExportDialogComponent {
|
|
2368
1582
|
iconService: IconCacheService;
|
|
2369
|
-
itemService:
|
|
1583
|
+
itemService: ConfiguratorItemService;
|
|
2370
1584
|
private _utilService;
|
|
2371
1585
|
readonly icons: typeof IconEnum;
|
|
2372
1586
|
closeExportDialog: EventEmitter<void>;
|
|
2373
|
-
constructor(iconService: IconCacheService, itemService:
|
|
1587
|
+
constructor(iconService: IconCacheService, itemService: ConfiguratorItemService, _utilService: UtilsService);
|
|
2374
1588
|
onClose(): void;
|
|
2375
1589
|
downloadGLB(): void;
|
|
2376
1590
|
downloadUSDZ(): void;
|
|
@@ -2397,20 +1611,20 @@ declare class CameraSettings {
|
|
|
2397
1611
|
minZoomDistance: number;
|
|
2398
1612
|
}
|
|
2399
1613
|
|
|
2400
|
-
declare class
|
|
1614
|
+
declare class ConfiguratorDynamicCameraService {
|
|
2401
1615
|
private _cameraService;
|
|
2402
1616
|
private _sceneService;
|
|
2403
1617
|
private _settingsService;
|
|
2404
1618
|
private _configuratorConnectorService;
|
|
2405
1619
|
currentCameraSettings: CameraSettings[];
|
|
2406
|
-
constructor(_cameraService:
|
|
1620
|
+
constructor(_cameraService: ConfiguratorCameraService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2407
1621
|
initCameraSettings(): Promise<void>;
|
|
2408
1622
|
getCameraSettings(): CameraSettings;
|
|
2409
1623
|
loadCustomCameraSettings(): Promise<void>;
|
|
2410
1624
|
exportCameraSettings(): any;
|
|
2411
1625
|
saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
|
|
2412
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2413
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDynamicCameraService, never>;
|
|
1627
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorDynamicCameraService>;
|
|
2414
1628
|
}
|
|
2415
1629
|
|
|
2416
1630
|
declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
@@ -2424,7 +1638,7 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
|
2424
1638
|
currentSku: string;
|
|
2425
1639
|
positionAsString: string;
|
|
2426
1640
|
rotationAsString: string;
|
|
2427
|
-
constructor(iconService: IconCacheService, _cameraService:
|
|
1641
|
+
constructor(iconService: IconCacheService, _cameraService: ConfiguratorCameraService, _dynamicCameraService: ConfiguratorDynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2428
1642
|
ngOnInit(): void;
|
|
2429
1643
|
onClose(): void;
|
|
2430
1644
|
saveSettings(asDefault: boolean): void;
|
|
@@ -2436,100 +1650,41 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
|
2436
1650
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
|
|
2437
1651
|
}
|
|
2438
1652
|
|
|
2439
|
-
declare class AppendPipe implements PipeTransform {
|
|
2440
|
-
transform(value: string, append?: string): string;
|
|
2441
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
|
|
2442
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
declare class LocalizePipe implements PipeTransform {
|
|
2446
|
-
private _dictionaryService;
|
|
2447
|
-
constructor(_dictionaryService: DictionaryService);
|
|
2448
|
-
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
2449
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
2450
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
declare class GoogleTranslateService implements OnDestroy {
|
|
2454
|
-
private _settingsService;
|
|
2455
|
-
private _connectorService;
|
|
2456
|
-
private _clientLanguage;
|
|
2457
|
-
private _defaultLanguage;
|
|
2458
|
-
private _translations;
|
|
2459
|
-
private _initialized;
|
|
2460
|
-
private _initializedSubject;
|
|
2461
|
-
private _connectionSubject;
|
|
2462
|
-
protected googleApiEnabled: boolean;
|
|
2463
|
-
constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
|
|
2464
|
-
ngOnDestroy(): void;
|
|
2465
|
-
getTranslation(input: string): Promise<string>;
|
|
2466
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
|
|
2467
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
declare class GoogleTranslatePipe implements PipeTransform {
|
|
2471
|
-
private _googleTranslateService;
|
|
2472
|
-
constructor(_googleTranslateService: GoogleTranslateService);
|
|
2473
|
-
transform(value: string): Observable<string>;
|
|
2474
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
|
|
2475
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
declare class PrependPipe implements PipeTransform {
|
|
2479
|
-
transform(value: string, prepend?: string): string;
|
|
2480
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
|
|
2481
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2484
|
-
declare class StripHtmlPipe implements PipeTransform {
|
|
2485
|
-
transform(html: string): string;
|
|
2486
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
|
|
2487
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
declare class PipesModule {
|
|
2491
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
2492
|
-
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]>;
|
|
2493
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
2494
|
-
}
|
|
2495
|
-
|
|
2496
1653
|
declare class ConfiguratorDialogModule {
|
|
2497
1654
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
|
|
2498
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof
|
|
1655
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3.CommonModule, typeof i7.FormsModule], [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent]>;
|
|
2499
1656
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
|
|
2500
1657
|
}
|
|
2501
1658
|
|
|
2502
|
-
declare class
|
|
2503
|
-
|
|
2504
|
-
private _buildFurnitureService;
|
|
1659
|
+
declare class ConfigurationPresetDialogComponent implements OnDestroy {
|
|
1660
|
+
iconService: IconCacheService;
|
|
2505
1661
|
private _configuringService;
|
|
2506
|
-
private
|
|
1662
|
+
private _configuratorConnectorService;
|
|
1663
|
+
private _translationService;
|
|
1664
|
+
private _appEventService;
|
|
1665
|
+
readonly icons: typeof IconEnum;
|
|
1666
|
+
readonly presetDialogMode: typeof PresetDialogMode;
|
|
2507
1667
|
showClass(): boolean;
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
buildFinished: EventEmitter<ConfigurationResultObject>;
|
|
2514
|
-
showChange: EventEmitter<boolean>;
|
|
2515
|
-
showElementToolbar: boolean;
|
|
2516
|
-
showLiteSelector: boolean;
|
|
2517
|
-
showSelections: boolean;
|
|
2518
|
-
showAnswers: boolean;
|
|
2519
|
-
showFullConfiguration: boolean;
|
|
2520
|
-
private _floorTexturesLoadedSub;
|
|
1668
|
+
showDialog: boolean;
|
|
1669
|
+
instanceIdInput: string;
|
|
1670
|
+
dialogMode: PresetDialogMode;
|
|
1671
|
+
showValidationErrors: boolean;
|
|
1672
|
+
validationError: string;
|
|
2521
1673
|
private _subs;
|
|
2522
|
-
|
|
2523
|
-
constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
|
|
2524
|
-
ngOnInit(): Promise<void>;
|
|
1674
|
+
constructor(iconService: IconCacheService, _configuringService: ConfiguringService, _configuratorConnectorService: ConfiguratorConnectorService, _translationService: TranslationService, _appEventService: ConfiguratorEventService);
|
|
2525
1675
|
ngOnDestroy(): void;
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
static
|
|
2532
|
-
|
|
1676
|
+
handleOpenDialog(mode: PresetDialogMode): void;
|
|
1677
|
+
handleCloseClick(): void;
|
|
1678
|
+
handleCopySuccess(): Promise<void>;
|
|
1679
|
+
loadConfiguration(): void;
|
|
1680
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogComponent, never>;
|
|
1681
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetDialogComponent, "co-configuration-preset-dialog", never, {}, {}, never, never, false, never>;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
declare class ConfigurationPresetDialogModule {
|
|
1685
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogModule, never>;
|
|
1686
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetDialogModule, [typeof ConfigurationPresetDialogComponent], [typeof i2.TranslationModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard, typeof i3.AsyncPipe], [typeof ConfigurationPresetDialogComponent]>;
|
|
1687
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetDialogModule>;
|
|
2533
1688
|
}
|
|
2534
1689
|
|
|
2535
1690
|
declare class LiteSelectorComponent implements OnDestroy {
|
|
@@ -2538,15 +1693,12 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
2538
1693
|
private _configuringService;
|
|
2539
1694
|
showClass(): boolean;
|
|
2540
1695
|
templateAnswers: TemplateRef<any>;
|
|
2541
|
-
set showAnswers(value: boolean);
|
|
2542
|
-
get showAnswers(): boolean;
|
|
2543
1696
|
show: boolean;
|
|
2544
|
-
set showSelections(value: boolean);
|
|
2545
|
-
get showSelections(): boolean;
|
|
2546
1697
|
showLabel: boolean;
|
|
2547
1698
|
canClose: boolean;
|
|
2548
1699
|
animateSlideout: boolean;
|
|
2549
1700
|
customDimensions: boolean;
|
|
1701
|
+
showSaveAndLoadConfiguration: boolean;
|
|
2550
1702
|
readonly showChange: EventEmitter<boolean>;
|
|
2551
1703
|
readonly answerChosen: EventEmitter<Answer>;
|
|
2552
1704
|
answerToShowFromSelectionText: string;
|
|
@@ -2563,11 +1715,11 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
2563
1715
|
onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
|
|
2564
1716
|
onAnswersSlideoutAnswerChosen(answerSelected: any): void;
|
|
2565
1717
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
|
|
2566
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "
|
|
1718
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "show": { "alias": "show"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
2567
1719
|
}
|
|
2568
1720
|
|
|
2569
1721
|
declare class AnswerCardComponent implements OnInit {
|
|
2570
|
-
settingsService:
|
|
1722
|
+
settingsService: ConfiguratorSettingsService;
|
|
2571
1723
|
iconService: IconCacheService;
|
|
2572
1724
|
private _configuratorConnectorService;
|
|
2573
1725
|
readonly icons: typeof IconEnum;
|
|
@@ -2597,7 +1749,7 @@ declare class AnswerCardComponent implements OnInit {
|
|
|
2597
1749
|
showAnswerInfo: boolean;
|
|
2598
1750
|
private _waitForInput;
|
|
2599
1751
|
private _waitForInqValue;
|
|
2600
|
-
constructor(settingsService:
|
|
1752
|
+
constructor(settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2601
1753
|
ngOnInit(): void;
|
|
2602
1754
|
onContentClick(): void;
|
|
2603
1755
|
handleClick(event: MouseEvent): void;
|
|
@@ -2621,7 +1773,7 @@ declare class AnswerCardComponent implements OnInit {
|
|
|
2621
1773
|
|
|
2622
1774
|
declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
2623
1775
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2624
|
-
settingsService:
|
|
1776
|
+
settingsService: ConfiguratorSettingsService;
|
|
2625
1777
|
iconService: IconCacheService;
|
|
2626
1778
|
private _appEventService;
|
|
2627
1779
|
private _buildFurnitureService;
|
|
@@ -2632,7 +1784,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2632
1784
|
readonly icons: typeof IconEnum;
|
|
2633
1785
|
private readonly _showSmallAnswerCardsFromThisAmount;
|
|
2634
1786
|
private readonly _propsToSearch;
|
|
2635
|
-
isShown: boolean;
|
|
2636
1787
|
question: Question;
|
|
2637
1788
|
showTitle: boolean;
|
|
2638
1789
|
showFilter: boolean;
|
|
@@ -2640,7 +1791,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2640
1791
|
useSlideout: boolean;
|
|
2641
1792
|
get answers(): Answer[];
|
|
2642
1793
|
customDimensions: boolean;
|
|
2643
|
-
readonly isShownChange: EventEmitter<boolean>;
|
|
2644
1794
|
readonly answerChosen: EventEmitter<{
|
|
2645
1795
|
answer: Answer;
|
|
2646
1796
|
input: string;
|
|
@@ -2664,7 +1814,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2664
1814
|
private _subs;
|
|
2665
1815
|
private _filterOnColors;
|
|
2666
1816
|
private _filterOnTags;
|
|
2667
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
1817
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _appEventService: ConfiguratorEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
|
|
2668
1818
|
ngOnInit(): void;
|
|
2669
1819
|
ngOnDestroy(): void;
|
|
2670
1820
|
onZoomClick(answer: Answer): void;
|
|
@@ -2689,7 +1839,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2689
1839
|
private _addToArray;
|
|
2690
1840
|
private _inArray;
|
|
2691
1841
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
|
|
2692
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnswersSlideoutComponent, "co-answers-slideout", never, { "
|
|
1842
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnswersSlideoutComponent, "co-answers-slideout", never, { "question": { "alias": "question"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "answers": { "alias": "answers"; "required": false; }; "useSlideout": { "alias": "useSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
2693
1843
|
}
|
|
2694
1844
|
|
|
2695
1845
|
declare class SlideoutComponent implements AfterViewInit {
|
|
@@ -2741,7 +1891,7 @@ declare class AnswersInfoDialogComponent implements OnInit {
|
|
|
2741
1891
|
showTooltip: boolean;
|
|
2742
1892
|
showPopup: boolean;
|
|
2743
1893
|
hasEmbed: boolean;
|
|
2744
|
-
constructor(iconService: IconCacheService, _settingsService:
|
|
1894
|
+
constructor(iconService: IconCacheService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
|
|
2745
1895
|
ngOnInit(): Promise<void>;
|
|
2746
1896
|
private _loadInfo;
|
|
2747
1897
|
private _formatAnswerInfo;
|
|
@@ -2751,13 +1901,13 @@ declare class AnswersInfoDialogComponent implements OnInit {
|
|
|
2751
1901
|
|
|
2752
1902
|
declare class AnswersInfoDialogModule {
|
|
2753
1903
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
|
|
2754
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof
|
|
1904
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof i2.TranslationModule, typeof i3$1.IconModule], [typeof AnswersInfoDialogComponent]>;
|
|
2755
1905
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
|
|
2756
1906
|
}
|
|
2757
1907
|
|
|
2758
1908
|
declare class AnswerCardModule {
|
|
2759
1909
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
|
|
2760
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof
|
|
1910
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i3$1.CardModule, typeof i3$1.CardModule, typeof i3$1.InputTextModule, typeof i3$1.IconModule, typeof AnswersInfoDialogModule, typeof i3$1.CardModule, typeof i3$1.ButtonModule, typeof i2.TranslationModule], [typeof AnswerCardComponent]>;
|
|
2761
1911
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
|
|
2762
1912
|
}
|
|
2763
1913
|
|
|
@@ -2775,7 +1925,7 @@ declare class ImageZoomComponent {
|
|
|
2775
1925
|
|
|
2776
1926
|
declare class ImageZoomModule {
|
|
2777
1927
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
|
|
2778
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof
|
|
1928
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
|
|
2779
1929
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
|
|
2780
1930
|
}
|
|
2781
1931
|
|
|
@@ -2797,7 +1947,7 @@ declare class ColorFilterComponent {
|
|
|
2797
1947
|
|
|
2798
1948
|
declare class ColorFilterModule {
|
|
2799
1949
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterModule, never>;
|
|
2800
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof
|
|
1950
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i3$1.IconModule], [typeof ColorFilterComponent]>;
|
|
2801
1951
|
static ɵinj: i0.ɵɵInjectorDeclaration<ColorFilterModule>;
|
|
2802
1952
|
}
|
|
2803
1953
|
|
|
@@ -2848,7 +1998,7 @@ declare class DirectivesModule {
|
|
|
2848
1998
|
|
|
2849
1999
|
declare class AnswersSlideoutModule {
|
|
2850
2000
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
|
|
2851
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof
|
|
2001
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof i3$1.PriceDisplayPipeModule, typeof AnswerCardModule, typeof ImageZoomModule, typeof ColorFilterModule, typeof TagFilterModule, typeof DirectivesModule, typeof i2.UtilitiesPipesModule], [typeof AnswersSlideoutComponent]>;
|
|
2852
2002
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
|
|
2853
2003
|
}
|
|
2854
2004
|
|
|
@@ -2862,6 +2012,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
|
|
|
2862
2012
|
canClose: boolean;
|
|
2863
2013
|
answersTemplate: TemplateRef<any>;
|
|
2864
2014
|
answerToShowFromSelectionText: string;
|
|
2015
|
+
showSaveAndLoadConfiguration: boolean;
|
|
2865
2016
|
customDimensions: boolean;
|
|
2866
2017
|
disableMouse: boolean;
|
|
2867
2018
|
handledocumentMouseUp(event: any): void;
|
|
@@ -2882,7 +2033,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
|
|
|
2882
2033
|
handleDelete(event: MouseEvent, sel: Selection): void;
|
|
2883
2034
|
toggleElement(sel: Selection): void;
|
|
2884
2035
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
|
|
2885
|
-
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>;
|
|
2036
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "co-selections-summary", never, { "selections": { "alias": "selections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; "repeatSelection": "repeatSelection"; "deleteSelection": "deleteSelection"; }, never, never, false, never>;
|
|
2886
2037
|
}
|
|
2887
2038
|
|
|
2888
2039
|
declare class CoSummaryLine implements AfterViewInit {
|
|
@@ -2934,7 +2085,7 @@ declare class CoSummaryLine implements AfterViewInit {
|
|
|
2934
2085
|
|
|
2935
2086
|
declare class CoSummaryLineModule {
|
|
2936
2087
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
|
|
2937
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof
|
|
2088
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.PriceDisplayPipeModule, typeof i3$1.ImageModule, typeof i3$1.IconModule], [typeof CoSummaryLine]>;
|
|
2938
2089
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
|
|
2939
2090
|
}
|
|
2940
2091
|
|
|
@@ -2964,13 +2115,34 @@ declare class SelectionsSummaryLineComponent implements OnDestroy {
|
|
|
2964
2115
|
|
|
2965
2116
|
declare class SelectionsSummaryLineModule {
|
|
2966
2117
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
|
|
2967
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof
|
|
2118
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof i3.CommonModule, typeof CoSummaryLineModule, typeof i2.TranslationModule], [typeof SelectionsSummaryLineComponent]>;
|
|
2968
2119
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
|
|
2969
2120
|
}
|
|
2970
2121
|
|
|
2122
|
+
declare class ConfigurationPresetComponent {
|
|
2123
|
+
iconService: IconCacheService;
|
|
2124
|
+
private _appEventService;
|
|
2125
|
+
readonly icons: typeof IconEnum;
|
|
2126
|
+
isSaveLoadMenuOpen: boolean;
|
|
2127
|
+
showClass(): boolean;
|
|
2128
|
+
closeSaveLoadMenu(): void;
|
|
2129
|
+
constructor(iconService: IconCacheService, _appEventService: ConfiguratorEventService);
|
|
2130
|
+
toggleSaveLoadMenu(event: MouseEvent): void;
|
|
2131
|
+
handleSavePresetClicked(): void;
|
|
2132
|
+
handleLoadPresetClicked(): void;
|
|
2133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetComponent, never>;
|
|
2134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetComponent, "co-configuration-preset", never, {}, {}, never, never, false, never>;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
declare class ConfigurationPresetModule {
|
|
2138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetModule, never>;
|
|
2139
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetModule, [typeof ConfigurationPresetComponent], [typeof i2.TranslationModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard, typeof i3.AsyncPipe], [typeof ConfigurationPresetComponent]>;
|
|
2140
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetModule>;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2971
2143
|
declare class SelectionsSummaryModule {
|
|
2972
2144
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
|
|
2973
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof
|
|
2145
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof i2.TranslationModule, typeof i3$1.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i3$1.IconModule, typeof ConfigurationPresetModule], [typeof SelectionsSummaryComponent]>;
|
|
2974
2146
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
|
|
2975
2147
|
}
|
|
2976
2148
|
|
|
@@ -2988,24 +2160,24 @@ declare class ProductConfiguratorService {
|
|
|
2988
2160
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
|
|
2989
2161
|
}
|
|
2990
2162
|
|
|
2991
|
-
declare class ProductConfiguratorComponent implements
|
|
2163
|
+
declare class ProductConfiguratorComponent implements OnDestroy {
|
|
2992
2164
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2993
2165
|
buildFurnitureService: SwitchBuildFurnitureService;
|
|
2994
|
-
settingsService:
|
|
2166
|
+
settingsService: ConfiguratorSettingsService;
|
|
2995
2167
|
productConfiguratorService: ProductConfiguratorService;
|
|
2996
2168
|
iconService: IconCacheService;
|
|
2997
2169
|
private _sanitizer;
|
|
2998
2170
|
private _configuringService;
|
|
2171
|
+
private _eventService;
|
|
2999
2172
|
showClass(): boolean;
|
|
3000
2173
|
readonly icons: typeof IconEnum;
|
|
3001
|
-
set show(value: boolean);
|
|
3002
|
-
get show(): boolean;
|
|
3003
2174
|
showHeaderInformation: boolean;
|
|
3004
2175
|
set showSelections(value: boolean);
|
|
3005
2176
|
get showSelections(): boolean;
|
|
3006
2177
|
showLabel: boolean;
|
|
3007
2178
|
canClose: boolean;
|
|
3008
2179
|
customDimensions: boolean;
|
|
2180
|
+
showSaveAndLoadConfiguration: boolean;
|
|
3009
2181
|
readonly showChange: EventEmitter<boolean>;
|
|
3010
2182
|
readonly answerChosen: EventEmitter<Answer>;
|
|
3011
2183
|
valutaSymbol: string;
|
|
@@ -3016,23 +2188,23 @@ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
3016
2188
|
private _show;
|
|
3017
2189
|
private _selectionSelected;
|
|
3018
2190
|
private _subs;
|
|
3019
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService:
|
|
3020
|
-
ngOnInit(): void;
|
|
2191
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService, _eventService: ConfiguratorEventService);
|
|
3021
2192
|
ngOnDestroy(): void;
|
|
3022
2193
|
onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
3023
2194
|
handleCloseClick(): void;
|
|
2195
|
+
private _handleSelectionWithAnswersChanged;
|
|
2196
|
+
private _handleArticleReceived;
|
|
3024
2197
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
3025
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "
|
|
2198
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
3026
2199
|
}
|
|
3027
2200
|
|
|
3028
|
-
declare class ProductConfiguratorSelectorComponent implements OnInit {
|
|
2201
|
+
declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges {
|
|
3029
2202
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3030
|
-
settingsService:
|
|
2203
|
+
settingsService: ConfiguratorSettingsService;
|
|
3031
2204
|
iconService: IconCacheService;
|
|
3032
|
-
|
|
2205
|
+
get hostClasses(): string;
|
|
3033
2206
|
readonly icons: typeof IconEnum;
|
|
3034
2207
|
exceptionContainer?: ElementRef;
|
|
3035
|
-
get hostClasses(): string;
|
|
3036
2208
|
selection: SelectorStructure;
|
|
3037
2209
|
options: SelectorWithOptions[];
|
|
3038
2210
|
lastNodeWithChildren: boolean;
|
|
@@ -3040,27 +2212,50 @@ declare class ProductConfiguratorSelectorComponent implements OnInit {
|
|
|
3040
2212
|
treeLevelIndex: number;
|
|
3041
2213
|
isActive: boolean;
|
|
3042
2214
|
markAsException: boolean;
|
|
2215
|
+
showAll: boolean;
|
|
2216
|
+
suppressSubShowMore: boolean;
|
|
2217
|
+
useGroupedParentVisibility: boolean;
|
|
3043
2218
|
activate: EventEmitter<void>;
|
|
3044
|
-
get selectionIndexText(): string;
|
|
3045
2219
|
selectionClass: string;
|
|
3046
2220
|
listOfChoices: SelectorStructure[];
|
|
3047
2221
|
activeChildIndex: number;
|
|
3048
|
-
|
|
2222
|
+
localShowAll: boolean;
|
|
2223
|
+
get selectionIndexText(): string;
|
|
2224
|
+
get expandButtonText(): string;
|
|
2225
|
+
get suppressSubShowMoreForChildren(): boolean;
|
|
2226
|
+
get groupedRemainingTilesCount(): number;
|
|
2227
|
+
get useGroupedVisibilityForChildren(): boolean;
|
|
2228
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService);
|
|
3049
2229
|
ngOnInit(): void;
|
|
2230
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3050
2231
|
showAndScroll(): void;
|
|
3051
2232
|
onSubHeaderClick(): void;
|
|
2233
|
+
onShowAllClick(): void;
|
|
2234
|
+
getIsChildVisible(index: number): boolean;
|
|
2235
|
+
isGroupedSection(): boolean;
|
|
2236
|
+
shouldShowExpandButton(): boolean;
|
|
2237
|
+
getChildShowAll(): boolean;
|
|
2238
|
+
private _shouldBeVisible;
|
|
2239
|
+
private _setActiveChildIndexFromSelection;
|
|
2240
|
+
private _hasSelectedOption;
|
|
2241
|
+
private _countRemainingTiles;
|
|
2242
|
+
private _countGroupedTilesToReveal;
|
|
2243
|
+
private _countAllTiles;
|
|
2244
|
+
private _remainingTilesForLeaf;
|
|
3052
2245
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
|
|
3053
|
-
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>;
|
|
2246
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "lastNodeWithChildren": { "alias": "lastNodeWithChildren"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "treeLevelIndex": { "alias": "treeLevelIndex"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "suppressSubShowMore": { "alias": "suppressSubShowMore"; "required": false; }; "useGroupedParentVisibility": { "alias": "useGroupedParentVisibility"; "required": false; }; }, { "activate": "activate"; }, never, never, false, never>;
|
|
3054
2247
|
}
|
|
3055
2248
|
|
|
3056
|
-
declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
|
|
2249
|
+
declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnChanges {
|
|
3057
2250
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3058
|
-
settingsService:
|
|
2251
|
+
settingsService: ConfiguratorSettingsService;
|
|
3059
2252
|
productConfiguratorService: ProductConfiguratorService;
|
|
3060
2253
|
showClass(): boolean;
|
|
3061
2254
|
selection: SelectorStructure;
|
|
3062
2255
|
listOfChoices: SelectorStructure[];
|
|
3063
2256
|
markAsException: boolean;
|
|
2257
|
+
showGlobalAll: boolean;
|
|
2258
|
+
groupedSubShow: boolean;
|
|
3064
2259
|
configurationDisplayOption: typeof ConfigurationDisplayOption;
|
|
3065
2260
|
selectionClass: string;
|
|
3066
2261
|
showAllTiles: boolean;
|
|
@@ -3068,46 +2263,51 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
|
|
|
3068
2263
|
maxVisibleSmallTiles: number;
|
|
3069
2264
|
visibleAnswers: SelectorStructure[];
|
|
3070
2265
|
remainingTilesCount: number;
|
|
3071
|
-
|
|
2266
|
+
readonly smallTileOptions: ConfigurationDisplayOption[];
|
|
2267
|
+
readonly largeTileOptions: ConfigurationDisplayOption[];
|
|
2268
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService);
|
|
3072
2269
|
ngOnInit(): void;
|
|
2270
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3073
2271
|
selectionClicked(answer: SelectorStructure): void;
|
|
3074
2272
|
showMore(): void;
|
|
3075
2273
|
showLess(): void;
|
|
2274
|
+
getTileClass(): string;
|
|
3076
2275
|
private _calculateVisibleAnswers;
|
|
3077
2276
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
|
|
3078
|
-
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>;
|
|
2277
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionComponent, "co-product-configurator-selector-option", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "showGlobalAll": { "alias": "showGlobalAll"; "required": false; }; "groupedSubShow": { "alias": "groupedSubShow"; "required": false; }; }, {}, never, never, false, never>;
|
|
3079
2278
|
}
|
|
3080
2279
|
|
|
3081
2280
|
declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
3082
2281
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3083
2282
|
iconService: IconCacheService;
|
|
3084
|
-
settingsService:
|
|
2283
|
+
settingsService: ConfiguratorSettingsService;
|
|
3085
2284
|
showClass(): boolean;
|
|
3086
2285
|
readonly icons: typeof IconEnum;
|
|
3087
2286
|
option: SelectorStructure;
|
|
3088
2287
|
tileClass: string;
|
|
2288
|
+
noLabel: boolean;
|
|
3089
2289
|
selectionClicked: EventEmitter<void>;
|
|
3090
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2290
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3091
2291
|
changeSelection(): void;
|
|
3092
2292
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
|
|
3093
|
-
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>;
|
|
2293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionTileComponent, "co-product-configurator-selector-option-tile", never, { "option": { "alias": "option"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
3094
2294
|
}
|
|
3095
2295
|
|
|
3096
2296
|
declare class ProductConfiguratorSelectorOptionTileModule {
|
|
3097
2297
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
|
|
3098
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof
|
|
2298
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
|
|
3099
2299
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
|
|
3100
2300
|
}
|
|
3101
2301
|
|
|
3102
2302
|
declare class ProductConfiguratorOptionCheckboxComponent {
|
|
3103
2303
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3104
2304
|
iconService: IconCacheService;
|
|
3105
|
-
settingsService:
|
|
2305
|
+
settingsService: ConfiguratorSettingsService;
|
|
3106
2306
|
showClass(): boolean;
|
|
3107
2307
|
readonly icons: typeof IconEnum;
|
|
3108
2308
|
option: SelectorStructure;
|
|
3109
2309
|
selectionClicked: EventEmitter<void>;
|
|
3110
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2310
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3111
2311
|
changeSelection(): void;
|
|
3112
2312
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
|
|
3113
2313
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
@@ -3115,19 +2315,19 @@ declare class ProductConfiguratorOptionCheckboxComponent {
|
|
|
3115
2315
|
|
|
3116
2316
|
declare class ProductConfiguratorSelectorOptionCheckboxModule {
|
|
3117
2317
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
|
|
3118
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof
|
|
2318
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
|
|
3119
2319
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
|
|
3120
2320
|
}
|
|
3121
2321
|
|
|
3122
2322
|
declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
3123
2323
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3124
2324
|
iconService: IconCacheService;
|
|
3125
|
-
settingsService:
|
|
2325
|
+
settingsService: ConfiguratorSettingsService;
|
|
3126
2326
|
showClass(): boolean;
|
|
3127
2327
|
readonly icons: typeof IconEnum;
|
|
3128
2328
|
option: SelectorStructure;
|
|
3129
2329
|
selectionClicked: EventEmitter<void>;
|
|
3130
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2330
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3131
2331
|
changeSelection(): void;
|
|
3132
2332
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
|
|
3133
2333
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
@@ -3135,20 +2335,20 @@ declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
|
3135
2335
|
|
|
3136
2336
|
declare class ProductConfiguratorSelectorOptionButtonModule {
|
|
3137
2337
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
|
|
3138
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof
|
|
2338
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
|
|
3139
2339
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
|
|
3140
2340
|
}
|
|
3141
2341
|
|
|
3142
2342
|
declare class ProductConfiguratorSelectorOptionDropDownComponent {
|
|
3143
2343
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3144
2344
|
iconService: IconCacheService;
|
|
3145
|
-
settingsService:
|
|
2345
|
+
settingsService: ConfiguratorSettingsService;
|
|
3146
2346
|
showClass(): boolean;
|
|
3147
2347
|
readonly icons: typeof IconEnum;
|
|
3148
2348
|
options: SelectorStructure[];
|
|
3149
2349
|
tileClass: string;
|
|
3150
2350
|
selectionClicked: EventEmitter<SelectorStructure>;
|
|
3151
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2351
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3152
2352
|
onChange(event: Event): void;
|
|
3153
2353
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
|
|
3154
2354
|
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>;
|
|
@@ -3156,42 +2356,36 @@ declare class ProductConfiguratorSelectorOptionDropDownComponent {
|
|
|
3156
2356
|
|
|
3157
2357
|
declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
3158
2358
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
|
|
3159
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof
|
|
2359
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
|
|
3160
2360
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
|
|
3161
2361
|
}
|
|
3162
2362
|
|
|
3163
2363
|
declare class ProductConfiguratorSelectorOptionModule {
|
|
3164
2364
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
|
|
3165
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof
|
|
2365
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
|
|
3166
2366
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
|
|
3167
2367
|
}
|
|
3168
2368
|
|
|
3169
2369
|
declare class ProductConfiguratorSelectorModule {
|
|
3170
2370
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
3171
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof
|
|
2371
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
|
|
3172
2372
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
3173
2373
|
}
|
|
3174
2374
|
|
|
3175
2375
|
declare class ProductConfiguratorModule {
|
|
3176
2376
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
|
|
3177
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof ProductConfiguratorComponent], [typeof i3.CommonModule, typeof i3$
|
|
3178
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
|
|
3179
|
-
}
|
|
3180
|
-
|
|
3181
|
-
declare class ThreedselectorModule {
|
|
3182
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
|
|
3183
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule], [typeof ThreedselectorComponent]>;
|
|
3184
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
|
|
2377
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof ProductConfiguratorComponent], [typeof i3.CommonModule, typeof i3$2.MatIconModule, typeof i4$1.MatButtonModule, typeof i3$1.CardModule, typeof SlideoutModule, typeof i3$1.PriceDisplayPipeModule, typeof i3$1.ButtonModule, typeof i3$1.InputTextModule, typeof i7.FormsModule, typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3$1.TooltipDirectiveModule, typeof ProductConfiguratorSelectorModule, typeof ConfigurationPresetModule], [typeof ProductConfiguratorComponent]>;
|
|
2378
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
|
|
3185
2379
|
}
|
|
3186
2380
|
|
|
3187
2381
|
declare class ConfiguratorModule {
|
|
3188
2382
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
|
|
3189
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof
|
|
2383
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ConfigurationPresetDialogModule, typeof LiteSelectorModule, typeof ProductConfiguratorModule], [typeof ConfiguratorComponent]>;
|
|
3190
2384
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
|
|
3191
2385
|
}
|
|
3192
2386
|
|
|
3193
2387
|
declare class ConfiguratorSceneLoaderComponent {
|
|
3194
|
-
showClass
|
|
2388
|
+
showClass: boolean;
|
|
3195
2389
|
loaderProgress: number;
|
|
3196
2390
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
|
|
3197
2391
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -3214,113 +2408,572 @@ declare class CustomButton {
|
|
|
3214
2408
|
constructor(caption?: string, handler?: Function, data?: any);
|
|
3215
2409
|
}
|
|
3216
2410
|
|
|
3217
|
-
declare class ElementButtonsComponent implements OnDestroy {
|
|
3218
|
-
iconCache: IconCacheService;
|
|
3219
|
-
private _elementRef;
|
|
3220
|
-
private _settingsService;
|
|
3221
|
-
showClass(): boolean;
|
|
3222
|
-
readonly icon: typeof IconEnum;
|
|
3223
|
-
disableMouse: boolean;
|
|
3224
|
-
handleDocumentMouseUp(event: any): void;
|
|
3225
|
-
handleDocumentMouseDown(event: any): void;
|
|
3226
|
-
addButtons: CustomButton[];
|
|
3227
|
-
customizeButtons: CustomButton[];
|
|
3228
|
-
resizeButtons: CustomButton[];
|
|
3229
|
-
elementPointer: ElementRef;
|
|
3230
|
-
set elementPosition(value: Vector2);
|
|
3231
|
-
customizeButtonClicked: EventEmitter<void>;
|
|
3232
|
-
get elementPosition(): Vector2;
|
|
3233
|
-
showCaptionAddButton: boolean;
|
|
3234
|
-
private _elementPosition;
|
|
3235
|
-
private _subs;
|
|
3236
|
-
constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService:
|
|
3237
|
-
ngOnDestroy(): void;
|
|
3238
|
-
private _repositionLine;
|
|
3239
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
|
|
3240
|
-
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>;
|
|
2411
|
+
declare class ElementButtonsComponent implements OnDestroy {
|
|
2412
|
+
iconCache: IconCacheService;
|
|
2413
|
+
private _elementRef;
|
|
2414
|
+
private _settingsService;
|
|
2415
|
+
showClass(): boolean;
|
|
2416
|
+
readonly icon: typeof IconEnum;
|
|
2417
|
+
disableMouse: boolean;
|
|
2418
|
+
handleDocumentMouseUp(event: any): void;
|
|
2419
|
+
handleDocumentMouseDown(event: any): void;
|
|
2420
|
+
addButtons: CustomButton[];
|
|
2421
|
+
customizeButtons: CustomButton[];
|
|
2422
|
+
resizeButtons: CustomButton[];
|
|
2423
|
+
elementPointer: ElementRef;
|
|
2424
|
+
set elementPosition(value: Vector2);
|
|
2425
|
+
customizeButtonClicked: EventEmitter<void>;
|
|
2426
|
+
get elementPosition(): Vector2;
|
|
2427
|
+
showCaptionAddButton: boolean;
|
|
2428
|
+
private _elementPosition;
|
|
2429
|
+
private _subs;
|
|
2430
|
+
constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: ConfiguratorSettingsService);
|
|
2431
|
+
ngOnDestroy(): void;
|
|
2432
|
+
private _repositionLine;
|
|
2433
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
|
|
2434
|
+
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>;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
declare class ElementButtonsModule {
|
|
2438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
|
|
2439
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
|
|
2440
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
declare class ElementToolbarComponent implements OnDestroy {
|
|
2444
|
+
settingsService: ConfiguratorSettingsService;
|
|
2445
|
+
iconCache: IconCacheService;
|
|
2446
|
+
showClass(): boolean;
|
|
2447
|
+
readonly icon: typeof IconEnum;
|
|
2448
|
+
elementPointer: ElementRef;
|
|
2449
|
+
hostClass: boolean;
|
|
2450
|
+
editMenu: CustomButton[];
|
|
2451
|
+
showPointer: boolean;
|
|
2452
|
+
showSwap: boolean;
|
|
2453
|
+
readonly deleteClicked: EventEmitter<any>;
|
|
2454
|
+
readonly swapClicked: EventEmitter<any>;
|
|
2455
|
+
readonly animationClicked: EventEmitter<any>;
|
|
2456
|
+
showEditMenu: boolean;
|
|
2457
|
+
get instantMenu(): boolean;
|
|
2458
|
+
constructor(settingsService: ConfiguratorSettingsService, iconCache: IconCacheService);
|
|
2459
|
+
ngOnDestroy(): void;
|
|
2460
|
+
handleEditClick(): void;
|
|
2461
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
|
|
2462
|
+
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>;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
declare class ElementToolbarModule {
|
|
2466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
|
|
2467
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
|
|
2468
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
declare class SceneOptionButtonInterface {
|
|
2472
|
+
id: number;
|
|
2473
|
+
elementId: string;
|
|
2474
|
+
label?: string;
|
|
2475
|
+
class?: string;
|
|
2476
|
+
tooltip?: string;
|
|
2477
|
+
image?: string | SafeHtml;
|
|
2478
|
+
order?: number;
|
|
2479
|
+
toggle?: boolean;
|
|
2480
|
+
tooltipActive?: string;
|
|
2481
|
+
active?: boolean;
|
|
2482
|
+
object?: any;
|
|
2483
|
+
click?: Function;
|
|
2484
|
+
show?: boolean;
|
|
2485
|
+
icon?: IconEnum;
|
|
2486
|
+
children?: SceneOptionButtonInterface[];
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
declare class SceneOptionsService {
|
|
2490
|
+
sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
|
|
2491
|
+
sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
|
|
2492
|
+
addSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
2493
|
+
updateSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
2494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
|
|
2495
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
declare class SceneOptionsComponent implements OnDestroy {
|
|
2499
|
+
iconService: IconCacheService;
|
|
2500
|
+
private _sceneOptionsService;
|
|
2501
|
+
showClass(): boolean;
|
|
2502
|
+
readonly icons: typeof IconEnum;
|
|
2503
|
+
buttons: SceneOptionButtonInterface[];
|
|
2504
|
+
private _subs;
|
|
2505
|
+
private _childrenShowing;
|
|
2506
|
+
constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
|
|
2507
|
+
ngOnDestroy(): void;
|
|
2508
|
+
handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
|
|
2509
|
+
handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
|
|
2510
|
+
getIcon(buttonIcon: IconEnum): SafeHtml;
|
|
2511
|
+
private _addButton;
|
|
2512
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
|
|
2513
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
declare class SelectionsModule {
|
|
2517
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
|
|
2518
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof SceneOptionsComponent]>;
|
|
2519
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
declare enum ConfigurationKey {
|
|
2523
|
+
DimensioningUnit = "dimUnit",
|
|
2524
|
+
DimensioningSquareUnit = "dimSqUnit",
|
|
2525
|
+
AngleUnit = "angleUnit",
|
|
2526
|
+
CmStep = "cmStep",
|
|
2527
|
+
MStep = "mStep",
|
|
2528
|
+
MmStep = "mmStep",
|
|
2529
|
+
AngleLabelDistanceInCm = "angleLabelDistanceCm",
|
|
2530
|
+
WallHeight = "wallHeight",
|
|
2531
|
+
WallThickness = "wallThickness",
|
|
2532
|
+
MaxWallHeight = "maxWallHeight",
|
|
2533
|
+
MaxWallThickness = "maxWallThickness",
|
|
2534
|
+
MaxWallLength = "maxWallLength",
|
|
2535
|
+
MinWallLength = "minWallLength",
|
|
2536
|
+
WallSnapping = "wallSnapping",
|
|
2537
|
+
CornerSnapping = "cornerSnapping",
|
|
2538
|
+
ShowObjectDistances = "showObjectDistances",
|
|
2539
|
+
ShowObjectMeasurements = "showObjectMeasurements",
|
|
2540
|
+
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
2541
|
+
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
2542
|
+
ShowWallMeasurements = "showWallMeasurements",
|
|
2543
|
+
ShowCornerAngles = "showCornerAngles",
|
|
2544
|
+
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
2545
|
+
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
2546
|
+
ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
|
|
2547
|
+
ShowInteriorLights = "ShowInteriorLights",
|
|
2548
|
+
InteriorLightIntensity = "InteriorLightIntensity",
|
|
2549
|
+
ShowLightingControls = "ShowLightingControls",
|
|
2550
|
+
ShowLightplansDialog = "ShowLightplansDialog",
|
|
2551
|
+
WalkThroughCameraFoV = "WalkThroughCameraFoV",
|
|
2552
|
+
WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
|
|
2553
|
+
WalkThroughCameraFocus = "WalkThroughCameraFocus",
|
|
2554
|
+
ShowPostProcessingSettings = "showPostProcessingSettings",
|
|
2555
|
+
ShowWalls = "ShowWalls",
|
|
2556
|
+
ShowCeiling = "ShowCeiling",
|
|
2557
|
+
IsLimited = "IsLimited",
|
|
2558
|
+
EnableTouch = "EnableTouch",
|
|
2559
|
+
CameraFOV = "CameraFOV"
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
interface ConfigurationData {
|
|
2563
|
+
[ConfigurationKey.DimensioningUnit]?: string;
|
|
2564
|
+
[ConfigurationKey.DimensioningSquareUnit]?: string;
|
|
2565
|
+
[ConfigurationKey.AngleUnit]?: string;
|
|
2566
|
+
[ConfigurationKey.CmStep]?: number;
|
|
2567
|
+
[ConfigurationKey.MStep]?: number;
|
|
2568
|
+
[ConfigurationKey.MmStep]?: number;
|
|
2569
|
+
[ConfigurationKey.AngleLabelDistanceInCm]?: number;
|
|
2570
|
+
[ConfigurationKey.WallHeight]?: number;
|
|
2571
|
+
[ConfigurationKey.WallThickness]?: number;
|
|
2572
|
+
[ConfigurationKey.MaxWallHeight]?: number;
|
|
2573
|
+
[ConfigurationKey.MaxWallThickness]?: number;
|
|
2574
|
+
[ConfigurationKey.MaxWallLength]?: number;
|
|
2575
|
+
[ConfigurationKey.MinWallLength]?: number;
|
|
2576
|
+
[ConfigurationKey.WallSnapping]?: boolean;
|
|
2577
|
+
[ConfigurationKey.CornerSnapping]?: boolean;
|
|
2578
|
+
[ConfigurationKey.ShowObjectDistances]?: boolean;
|
|
2579
|
+
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
2580
|
+
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
2581
|
+
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
2582
|
+
[ConfigurationKey.ShowWallMeasurements]?: boolean;
|
|
2583
|
+
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
2584
|
+
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
2585
|
+
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
2586
|
+
[ConfigurationKey.ShowInteriorLights]?: boolean;
|
|
2587
|
+
[ConfigurationKey.InteriorLightIntensity]?: number;
|
|
2588
|
+
[ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
|
|
2589
|
+
[ConfigurationKey.ShowLightingControls]?: boolean;
|
|
2590
|
+
[ConfigurationKey.ShowLightplansDialog]?: boolean;
|
|
2591
|
+
[ConfigurationKey.WalkThroughCameraFoV]?: number;
|
|
2592
|
+
[ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
|
|
2593
|
+
[ConfigurationKey.WalkThroughCameraFocus]?: number;
|
|
2594
|
+
[ConfigurationKey.ShowPostProcessingSettings]?: boolean;
|
|
2595
|
+
[ConfigurationKey.ShowWalls]?: boolean;
|
|
2596
|
+
[ConfigurationKey.ShowCeiling]?: boolean;
|
|
2597
|
+
[ConfigurationKey.IsLimited]?: boolean;
|
|
2598
|
+
[ConfigurationKey.EnableTouch]?: boolean;
|
|
2599
|
+
[ConfigurationKey.CameraFOV]?: number;
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
declare class ConfigurationService {
|
|
2603
|
+
private _data;
|
|
2604
|
+
onChange: BehaviorSubject<{}>;
|
|
2605
|
+
setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
|
|
2606
|
+
getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
|
|
2607
|
+
get(): ConfigurationData;
|
|
2608
|
+
set(data: ConfigurationData): void;
|
|
2609
|
+
getDistanceStep(): number;
|
|
2610
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
2611
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
declare class ConfiguratorRotationService implements OnDestroy {
|
|
2615
|
+
private _configService;
|
|
2616
|
+
private _sceneService;
|
|
2617
|
+
private _settingsService;
|
|
2618
|
+
objectRotated: Subject<void>;
|
|
2619
|
+
sliderValue: number;
|
|
2620
|
+
private _subs;
|
|
2621
|
+
private _mouseXOnMouseDown;
|
|
2622
|
+
private _targetRotationOnMouseDownX;
|
|
2623
|
+
private _targetRotationX;
|
|
2624
|
+
private _mouseX;
|
|
2625
|
+
private _itemToRotate;
|
|
2626
|
+
private _renderInterval;
|
|
2627
|
+
private _renderTimeout;
|
|
2628
|
+
private _timeToRender;
|
|
2629
|
+
private _moveFactor;
|
|
2630
|
+
constructor(_configService: ConfigurationService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService);
|
|
2631
|
+
ngOnDestroy(): void;
|
|
2632
|
+
rotate(item: Object3D, from: Vector3, to: Vector3, ccw?: boolean): Vector3;
|
|
2633
|
+
enableRotationFor(item: Object3D): void;
|
|
2634
|
+
private _handleMouseDown;
|
|
2635
|
+
private _handleMouseMove;
|
|
2636
|
+
private _handleSliderChange;
|
|
2637
|
+
private _handleMouseUp;
|
|
2638
|
+
private _handleMouseOut;
|
|
2639
|
+
private _handleTouchStart;
|
|
2640
|
+
private _handleTouchMove;
|
|
2641
|
+
private _handleTouchEnd;
|
|
2642
|
+
private _handleTouchCancel;
|
|
2643
|
+
private _removeMouseEvents;
|
|
2644
|
+
private _removeTouchEvents;
|
|
2645
|
+
private _renderForAmountOfTime;
|
|
2646
|
+
private _doRender;
|
|
2647
|
+
private _removeListeners;
|
|
2648
|
+
private _addListeners;
|
|
2649
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorRotationService, never>;
|
|
2650
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorRotationService>;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
declare enum TextureType {
|
|
2654
|
+
Basic = 0,
|
|
2655
|
+
Image = 1,
|
|
2656
|
+
CustomPattern = 2,
|
|
2657
|
+
PBR = 3,
|
|
2658
|
+
SHADOW = 4
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
interface TextureInterface {
|
|
2662
|
+
name?: string;
|
|
2663
|
+
type?: string | TextureType;
|
|
2664
|
+
url?: string;
|
|
2665
|
+
materializeUrl?: string;
|
|
2666
|
+
bumpMap?: string;
|
|
2667
|
+
bumpScale?: number;
|
|
2668
|
+
roughness?: number;
|
|
2669
|
+
roughnessMap?: string;
|
|
2670
|
+
normalMap?: string;
|
|
2671
|
+
alphaMap?: string;
|
|
2672
|
+
repeatX?: number;
|
|
2673
|
+
repeatY?: number;
|
|
2674
|
+
metalness?: number;
|
|
2675
|
+
metalnessMap?: string;
|
|
2676
|
+
aoMapIntensity?: number;
|
|
2677
|
+
aoMap?: string;
|
|
2678
|
+
data?: any;
|
|
2679
|
+
color?: string;
|
|
2680
|
+
emissive?: string;
|
|
2681
|
+
show?: boolean;
|
|
2682
|
+
default?: boolean;
|
|
2683
|
+
surfaces?: string[];
|
|
2684
|
+
offset?: THREE.Vector2;
|
|
2685
|
+
scale?: number;
|
|
2686
|
+
rotation?: number;
|
|
2687
|
+
stretch?: boolean;
|
|
2688
|
+
height?: number;
|
|
2689
|
+
width?: number;
|
|
2690
|
+
tileSize?: number;
|
|
2691
|
+
tileRotation?: number;
|
|
2692
|
+
useStandalone?: boolean;
|
|
2693
|
+
defaultStandalone?: boolean;
|
|
2694
|
+
mirror?: boolean;
|
|
2695
|
+
simplePlane?: boolean;
|
|
2696
|
+
toneMapped?: boolean;
|
|
2697
|
+
transparent?: boolean;
|
|
2698
|
+
opacity?: number;
|
|
2699
|
+
side?: number;
|
|
2700
|
+
depthWrite?: boolean;
|
|
2701
|
+
depthTest?: boolean;
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
interface AdjustableElementInterface {
|
|
2705
|
+
identifier: string;
|
|
2706
|
+
connector: string;
|
|
2707
|
+
connectedNodeId: number;
|
|
3241
2708
|
}
|
|
3242
2709
|
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
2710
|
+
interface Skin {
|
|
2711
|
+
[face: string]: SkinFragment;
|
|
2712
|
+
}
|
|
2713
|
+
interface SkinFragment {
|
|
2714
|
+
color?: number;
|
|
2715
|
+
texture?: Texture;
|
|
3247
2716
|
}
|
|
3248
2717
|
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
2718
|
+
/** Meta data for items. */
|
|
2719
|
+
interface Metadata {
|
|
2720
|
+
itemName?: string;
|
|
2721
|
+
itemDescription?: string;
|
|
2722
|
+
itemType?: number;
|
|
2723
|
+
/**
|
|
2724
|
+
* InstanceId
|
|
2725
|
+
*/
|
|
2726
|
+
itemId?: string;
|
|
2727
|
+
originalItemId?: string;
|
|
2728
|
+
/**
|
|
2729
|
+
* Sku
|
|
2730
|
+
*/
|
|
2731
|
+
itemIdentifier?: string;
|
|
2732
|
+
goodId?: string;
|
|
2733
|
+
goodType?: string;
|
|
2734
|
+
isCustom?: boolean;
|
|
2735
|
+
locked?: boolean;
|
|
2736
|
+
configurable?: boolean;
|
|
2737
|
+
ione?: boolean;
|
|
2738
|
+
position?: Vector3;
|
|
2739
|
+
rotation?: number | Euler;
|
|
2740
|
+
scale?: Vector3;
|
|
2741
|
+
centerPivot?: boolean;
|
|
2742
|
+
ignoreInvisible?: boolean;
|
|
2743
|
+
updatePivotOnCreate?: boolean;
|
|
2744
|
+
elementConfiguration?: AdjustableElementInterface[];
|
|
2745
|
+
obsolete?: boolean;
|
|
2746
|
+
thirdPartyModel?: boolean;
|
|
2747
|
+
usePivot?: boolean;
|
|
2748
|
+
decos?: DecoNode[];
|
|
2749
|
+
selections?: Selection[];
|
|
2750
|
+
canElevate?: boolean;
|
|
2751
|
+
onWall?: boolean;
|
|
2752
|
+
modelUrl?: string;
|
|
2753
|
+
scalable?: boolean;
|
|
2754
|
+
scalePercentage?: number;
|
|
2755
|
+
resizable?: boolean;
|
|
2756
|
+
elevation?: number;
|
|
2757
|
+
elevationFixed?: boolean;
|
|
2758
|
+
elevationAdjustable?: boolean;
|
|
2759
|
+
schema?: string;
|
|
2760
|
+
assetPath?: string;
|
|
2761
|
+
texture?: Texture;
|
|
2762
|
+
textureAssetName?: string;
|
|
2763
|
+
skin?: Skin;
|
|
2764
|
+
frameColor?: number;
|
|
2765
|
+
doorColor?: number;
|
|
2766
|
+
windowColor?: THREE.Color;
|
|
2767
|
+
doorpost?: boolean;
|
|
2768
|
+
isGlass?: boolean;
|
|
2769
|
+
itemGroup?: any;
|
|
2770
|
+
canRotateX?: boolean;
|
|
2771
|
+
canRotateY?: boolean;
|
|
2772
|
+
canRotateZ?: boolean;
|
|
2773
|
+
canScaleX?: boolean;
|
|
2774
|
+
canScaleY?: boolean;
|
|
2775
|
+
canScaleZ?: boolean;
|
|
2776
|
+
colorable?: boolean;
|
|
2777
|
+
default180?: boolean;
|
|
2778
|
+
objectUUID?: string;
|
|
2779
|
+
conversionGTMSend?: boolean;
|
|
2780
|
+
conversionSubmittedPrice?: string;
|
|
2781
|
+
hdecoType?: string;
|
|
2782
|
+
opening?: {
|
|
2783
|
+
show: boolean;
|
|
2784
|
+
double: boolean;
|
|
2785
|
+
invertDirection: boolean;
|
|
2786
|
+
invertSide: boolean;
|
|
2787
|
+
};
|
|
3269
2788
|
}
|
|
3270
2789
|
|
|
3271
|
-
declare class
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
2790
|
+
declare class Texture {
|
|
2791
|
+
name: string;
|
|
2792
|
+
type: TextureType;
|
|
2793
|
+
url: string;
|
|
2794
|
+
materializeUrl: string;
|
|
2795
|
+
bumpMap: string;
|
|
2796
|
+
bumpScale: number;
|
|
2797
|
+
roughness: number;
|
|
2798
|
+
roughnessMap: string;
|
|
2799
|
+
normalMap: string;
|
|
2800
|
+
repeatX: number;
|
|
2801
|
+
repeatY: number;
|
|
2802
|
+
metalness: number;
|
|
2803
|
+
metalnessMap: string;
|
|
2804
|
+
aoMapIntensity: number;
|
|
2805
|
+
aoMap: string;
|
|
2806
|
+
alphaMap: string;
|
|
2807
|
+
color: string;
|
|
2808
|
+
emissive: string;
|
|
2809
|
+
data: any;
|
|
2810
|
+
surfaces: string[];
|
|
2811
|
+
offset: THREE.Vector2;
|
|
2812
|
+
scale: number;
|
|
2813
|
+
rotation: number;
|
|
2814
|
+
stretch: boolean;
|
|
2815
|
+
show: boolean;
|
|
2816
|
+
default: boolean;
|
|
2817
|
+
height: number;
|
|
2818
|
+
width: number;
|
|
2819
|
+
tileSize: number;
|
|
2820
|
+
tileRotation: number;
|
|
2821
|
+
dimensions: Vector2;
|
|
2822
|
+
offsetScale: number;
|
|
2823
|
+
useStandalone: boolean;
|
|
2824
|
+
defaultStandalone: boolean;
|
|
2825
|
+
mirror: boolean;
|
|
2826
|
+
simplePlane: boolean;
|
|
2827
|
+
toneMapped: boolean;
|
|
2828
|
+
transparent: boolean;
|
|
2829
|
+
opacity: number;
|
|
2830
|
+
side: THREE.Side;
|
|
2831
|
+
depthWrite: boolean;
|
|
2832
|
+
depthTest: boolean;
|
|
2833
|
+
metadata?: Metadata;
|
|
2834
|
+
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
3275
2835
|
}
|
|
3276
2836
|
|
|
3277
|
-
declare class
|
|
3278
|
-
|
|
2837
|
+
declare class FloorPlaneService implements OnDestroy {
|
|
2838
|
+
private _settingsService;
|
|
2839
|
+
private _sceneService;
|
|
3279
2840
|
private _sceneOptionsService;
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
2841
|
+
get floorPlane(): Object3D;
|
|
2842
|
+
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
2843
|
+
floorTextures: Texture[];
|
|
2844
|
+
private _standaloneFloors;
|
|
2845
|
+
private _floorPlane;
|
|
3283
2846
|
private _subs;
|
|
3284
|
-
|
|
3285
|
-
constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
|
|
2847
|
+
constructor(_settingsService: ConfiguratorSettingsService, _sceneService: ConfiguratorSceneService, _sceneOptionsService: SceneOptionsService);
|
|
3286
2848
|
ngOnDestroy(): void;
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
}
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
2849
|
+
createFloorPlane(rawFloors: TextureInterface$1[]): Promise<void>;
|
|
2850
|
+
getCenterFloorPlane(): Vector3;
|
|
2851
|
+
getDimensions(scale?: number): {
|
|
2852
|
+
x: {
|
|
2853
|
+
min: number;
|
|
2854
|
+
max: number;
|
|
2855
|
+
};
|
|
2856
|
+
y: {
|
|
2857
|
+
min: number;
|
|
2858
|
+
max: number;
|
|
2859
|
+
};
|
|
2860
|
+
};
|
|
2861
|
+
getPlaneSize(): Vector3;
|
|
2862
|
+
private _getStandaloneFloorSize;
|
|
2863
|
+
private _generateFloorPlane;
|
|
2864
|
+
private _createFloorMaterial;
|
|
2865
|
+
private _upsertFloorButtons;
|
|
2866
|
+
private _changeStandaloneFloor;
|
|
2867
|
+
private _setFloorTexture;
|
|
2868
|
+
private _updateFloorMaterial;
|
|
2869
|
+
private _setUpdatedMaterial;
|
|
2870
|
+
private _getMaterials;
|
|
2871
|
+
private _createTexture;
|
|
2872
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
|
|
2873
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
3299
2874
|
}
|
|
3300
2875
|
|
|
3301
|
-
declare class ConfiguratorSceneComponent implements OnDestroy {
|
|
3302
|
-
private
|
|
2876
|
+
declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
2877
|
+
private _settingsService;
|
|
2878
|
+
private _rotationService;
|
|
2879
|
+
private _dynamicCameraService;
|
|
3303
2880
|
private _sceneService;
|
|
3304
|
-
private
|
|
3305
|
-
private
|
|
3306
|
-
private
|
|
3307
|
-
private
|
|
3308
|
-
|
|
2881
|
+
private _eventService;
|
|
2882
|
+
private _cameraService;
|
|
2883
|
+
private _itemService;
|
|
2884
|
+
private _buildFurnitureService;
|
|
2885
|
+
private _floorService;
|
|
3309
2886
|
canvasElement: ElementRef;
|
|
2887
|
+
elementToolbar: ElementToolbarComponent;
|
|
2888
|
+
showSceneBuildLoader: boolean;
|
|
2889
|
+
showClass: boolean;
|
|
2890
|
+
totalSteps: number;
|
|
2891
|
+
currentStep: number;
|
|
2892
|
+
showSwapButton: boolean;
|
|
2893
|
+
selectedElementPosition: Vector2;
|
|
2894
|
+
editElementMenu: CustomButton[];
|
|
2895
|
+
editAddButtons: CustomButton[];
|
|
2896
|
+
setSceneBuildLoader: boolean;
|
|
2897
|
+
loaderProgress: number;
|
|
2898
|
+
showElementToolbar: boolean;
|
|
2899
|
+
animateEditAddButtons: boolean;
|
|
3310
2900
|
private _subs;
|
|
3311
|
-
|
|
2901
|
+
private _firstBuild;
|
|
2902
|
+
private _selectedElementObject;
|
|
2903
|
+
private _buildResult;
|
|
2904
|
+
constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _floorService: FloorPlaneService);
|
|
2905
|
+
ngAfterViewInit(): void;
|
|
3312
2906
|
ngOnDestroy(): void;
|
|
3313
|
-
|
|
2907
|
+
swapElement(): void;
|
|
2908
|
+
deleteElement(): void;
|
|
2909
|
+
openAnimationSidebar(): void;
|
|
2910
|
+
handleCustomizeClick(): void;
|
|
2911
|
+
private _handleFirstBuildStandalone;
|
|
2912
|
+
private _loaderProcessUpdate;
|
|
2913
|
+
private _animateProgress;
|
|
2914
|
+
private _removeAddButtons;
|
|
2915
|
+
private _resetElementPosition;
|
|
2916
|
+
private _repositionButtons;
|
|
2917
|
+
private _handleAddButtonClick;
|
|
2918
|
+
private _resetSelectedElement;
|
|
2919
|
+
private _removeAllButtons;
|
|
2920
|
+
private _repositionButton;
|
|
2921
|
+
private _showPlusButtonsBriefly;
|
|
3314
2922
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
3315
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
|
|
2923
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, { "showSceneBuildLoader": { "alias": "showSceneBuildLoader"; "required": false; }; }, {}, never, never, false, never>;
|
|
3316
2924
|
}
|
|
3317
2925
|
|
|
3318
2926
|
declare class ConfiguratorSceneModule {
|
|
3319
2927
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneModule, never>;
|
|
3320
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent],
|
|
2928
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], [typeof ConfiguratorSceneLoaderModule, typeof SelectionsModule, typeof ElementToolbarModule, typeof ElementButtonsModule], [typeof ConfiguratorSceneComponent]>;
|
|
3321
2929
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneModule>;
|
|
3322
2930
|
}
|
|
3323
2931
|
|
|
2932
|
+
declare enum ArFeature {
|
|
2933
|
+
PlaneDetection = "PlaneDetection",
|
|
2934
|
+
PlaneDetectionHitTest = "PlaneDetectionHitTest",
|
|
2935
|
+
DefaultHitTest = "DefaultHitTest",
|
|
2936
|
+
AnchoredHitTest = "AnchoredHitTest",
|
|
2937
|
+
CPUDepthHitTest = "CPUDepthHitTest",
|
|
2938
|
+
GPUDepthHitTest = "GPUDepthHitTest",
|
|
2939
|
+
CPUDepthOcclusion = "CPUDepthOcclusion",
|
|
2940
|
+
GPUDepthOcclusion = "GPUDepthOcclusion",
|
|
2941
|
+
LightEstimation = "LightEstimation",
|
|
2942
|
+
ReflectionCubeMap = "ReflectionCubeMap"
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
/**
|
|
2946
|
+
This file is a modified version of THREE.OrbitControls
|
|
2947
|
+
Contributors:
|
|
2948
|
+
* @author qiao / https://github.com/qiao
|
|
2949
|
+
* @author mrdoob / http://mrdoob.com
|
|
2950
|
+
* @author alteredq / http://alteredqualia.com/
|
|
2951
|
+
* @author WestLangley / http://github.com/WestLangley
|
|
2952
|
+
* @author erich666 / http://erichaines.com
|
|
2953
|
+
*/
|
|
2954
|
+
declare let Controls: (camera: any, domElement: any) => void;
|
|
2955
|
+
|
|
2956
|
+
declare class Reticle extends Object3D {
|
|
2957
|
+
private _rayCaster;
|
|
2958
|
+
/**
|
|
2959
|
+
* @param {XRSession} xrSession
|
|
2960
|
+
* @param {THREE.Camera} camera
|
|
2961
|
+
*/
|
|
2962
|
+
constructor();
|
|
2963
|
+
/**
|
|
2964
|
+
* Fires a hit test in the middle of the screen and places the reticle
|
|
2965
|
+
* upon the surface if found.
|
|
2966
|
+
*
|
|
2967
|
+
* @param {XRCoordinateSystem} frameOfRef
|
|
2968
|
+
*/
|
|
2969
|
+
update(session: any, camera: any, frameOfRef: any): Promise<void>;
|
|
2970
|
+
toggleValidPosition(valid: boolean): void;
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
declare class ArPositionIndicator extends Object3D {
|
|
2974
|
+
constructor(boundingBox: Box3);
|
|
2975
|
+
}
|
|
2976
|
+
|
|
3324
2977
|
declare class Builder {
|
|
3325
2978
|
selectionsReceived: BehaviorSubject<Selection[]>;
|
|
3326
2979
|
articleLoaded: BehaviorSubject<Article>;
|
|
@@ -3330,70 +2983,19 @@ declare class Builder {
|
|
|
3330
2983
|
set debug(value: Function);
|
|
3331
2984
|
get debug(): Function;
|
|
3332
2985
|
private _scene;
|
|
3333
|
-
private _instanceId;
|
|
3334
|
-
private _sku;
|
|
3335
|
-
private _goodId;
|
|
3336
|
-
private _selections;
|
|
3337
|
-
private _answers;
|
|
3338
|
-
private _decos;
|
|
3339
|
-
private _placedAdjustables;
|
|
3340
|
-
private _placedAddables;
|
|
3341
|
-
private _adjustables;
|
|
3342
|
-
private _addables;
|
|
3343
2986
|
private _debug;
|
|
3344
|
-
private _imageCache;
|
|
3345
|
-
private _boFactory;
|
|
3346
2987
|
private _source;
|
|
3347
2988
|
private _threedUtils;
|
|
3348
|
-
private _variationHelper;
|
|
3349
|
-
private _articleCache;
|
|
3350
|
-
private _configuratorService;
|
|
3351
2989
|
private _buildFurnitureService;
|
|
3352
|
-
private _loadFurnitureService;
|
|
3353
2990
|
private _configuratorConnectorService;
|
|
3354
2991
|
constructor();
|
|
3355
|
-
|
|
3356
|
-
buildWithData(options?: Options, selections?: Selection[], decos?: DecoNode[], assetUrl?: string, cdnUrl?: string, schema?: string): Promise<THREE.Object3D>;
|
|
3357
|
-
init(scene: Scene, options?: Options): void;
|
|
3358
|
-
buildModel(sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
|
|
2992
|
+
init(scene: Scene): void;
|
|
3359
2993
|
buildModelFromData(selections: Selection[], decos: DecoNode[], assetUrl: string, cdnUrl: string, schema: string): Promise<THREE.Object3D>;
|
|
3360
|
-
initNodeInstance(goodId: number): Promise<any>;
|
|
3361
2994
|
destroy(): void;
|
|
3362
|
-
selectSelection(selection: Selection): Promise<void>;
|
|
3363
|
-
getQuestionAndAnswers(publicationCode?: number): Promise<void>;
|
|
3364
|
-
selectAnswer(answer: Answer): Promise<void>;
|
|
3365
|
-
getImageForSelectionOrAnswer(object: Selection | Answer): Promise<string>;
|
|
3366
|
-
_cleanUp(): void;
|
|
3367
|
-
private _handleResponseData;
|
|
3368
|
-
private _preloadMaterials;
|
|
3369
|
-
private _setInstanceId;
|
|
3370
|
-
private _prepareConfiguration;
|
|
3371
2995
|
private _downloadAsset;
|
|
3372
|
-
private _build;
|
|
3373
|
-
private _prepareTheSelections;
|
|
3374
|
-
/**
|
|
3375
|
-
* Returns the materialId of the parent up the tree until presentionlevel 1 is reached
|
|
3376
|
-
* @param id
|
|
3377
|
-
* @private
|
|
3378
|
-
*/
|
|
3379
|
-
private _getMaterialIdFromParent;
|
|
3380
|
-
private _createAdjustable;
|
|
3381
|
-
private _createAddable;
|
|
3382
|
-
private _placeAddables;
|
|
3383
|
-
private _createUniqueName;
|
|
3384
|
-
private _getGoodIdFromSku;
|
|
3385
|
-
private _getArticle;
|
|
3386
|
-
private _getSelections;
|
|
3387
|
-
private _getDecos;
|
|
3388
|
-
private _linkSelectionsAndDecos;
|
|
3389
|
-
private _getVariations;
|
|
3390
|
-
private _loadVariations;
|
|
3391
|
-
private _getAdjustables;
|
|
3392
|
-
private _updatePivot;
|
|
3393
|
-
private _reset;
|
|
3394
2996
|
private _log;
|
|
3395
2997
|
static ɵfac: i0.ɵɵFactoryDeclaration<Builder, never>;
|
|
3396
2998
|
static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
|
|
3397
2999
|
}
|
|
3398
3000
|
|
|
3399
|
-
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,
|
|
3001
|
+
export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, ArFeature, ArPositionIndicator, Builder, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationResultObject, ConfiguratorArService, ConfiguratorCameraService, ConfiguratorCameraSettingsComponent, ConfiguratorComponent, ConfiguratorConnectorService, ConfiguratorDialogModule, ConfiguratorErrorDialogComponent, ConfiguratorErrorMessage, ConfiguratorEventService, ConfiguratorExportDialogComponent, ConfiguratorLoaderComponent, ConfiguratorLoaderModule, ConfiguratorModule, ConfiguratorSceneComponent, ConfiguratorSceneLoaderComponent, ConfiguratorSceneLoaderModule, ConfiguratorSceneModule, ConfiguratorSceneService, ConfiguratorVrService, ConfiguratorXrService, ConfiguringService, Controls, ElementButtonsComponent, ElementButtonsModule, ElementToolbarComponent, ElementToolbarModule, ImageZoomComponent, ImageZoomModule, LiteSelectorComponent, LiteSelectorModule, ProductConfiguratorComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProgressBarComponent, ProgressBarModule, Reticle, SceneOptionsComponent, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, XrMode };
|