@colijnit/configurator 262.1.3 → 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 +11663 -14744
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +1402 -1903
- 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 +2 -3
- package/lib/components/configuration-preset/style/_theme.scss +2 -3
- package/lib/components/configuration-preset-dialog/style/_layout.scss +2 -3
- package/lib/components/configuration-preset-dialog/style/_theme.scss +2 -3
- 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 +2 -4
- package/lib/components/product-configurator/style/_theme.scss +2 -3
- package/lib/components/product-configurator-selector/style/_layout.scss +2 -3
- package/lib/components/product-configurator-selector/style/_theme.scss +2 -3
- 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 +2 -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 +2 -3
- package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +2 -3
- 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/configurator-globals.scss +6 -1
- package/package.json +3 -2
- package/colijnit-configurator-262.1.2.tgz +0 -0
- 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,37 +1,37 @@
|
|
|
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
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 i4 from '@angular/cdk/clipboard';
|
|
35
35
|
import * as i3$2 from '@angular/material/icon';
|
|
36
36
|
import * as i4$1 from '@angular/material/button';
|
|
37
37
|
import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
|
|
@@ -122,13 +122,16 @@ declare enum PresetDialogMode {
|
|
|
122
122
|
LOAD = 1
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
declare class
|
|
125
|
+
declare class ConfiguratorEventService {
|
|
126
|
+
skuSet: BehaviorSubject<string>;
|
|
127
|
+
instanceIdSet: BehaviorSubject<string>;
|
|
126
128
|
instanceSet: BehaviorSubject<string>;
|
|
127
129
|
answerCountReceived: BehaviorSubject<number>;
|
|
128
|
-
readyToRender: BehaviorSubject<boolean>;
|
|
129
130
|
buildFinished: BehaviorSubject<ConfigurationResultObject>;
|
|
131
|
+
addedToScene: BehaviorSubject<ConfigurationResultObject>;
|
|
130
132
|
configurationTemplateChange: BehaviorSubject<ConfigurationTemplate>;
|
|
131
133
|
articleNotFound: BehaviorSubject<ConfigurationResultObject>;
|
|
134
|
+
selectionWithAnswersChanged: BehaviorSubject<SelectorWithOptions[]>;
|
|
132
135
|
glbCreated: Subject<string>;
|
|
133
136
|
showOutline: Subject<any>;
|
|
134
137
|
showErrorOutline: Subject<any>;
|
|
@@ -144,8 +147,12 @@ declare class AppEventService {
|
|
|
144
147
|
onObjectSelected: Subject<IntersectedObjects>;
|
|
145
148
|
onObjectUnSelected: Subject<boolean>;
|
|
146
149
|
changeConfigurationPresetDialogMode: Subject<PresetDialogMode>;
|
|
147
|
-
|
|
148
|
-
|
|
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>;
|
|
149
156
|
}
|
|
150
157
|
|
|
151
158
|
declare class ArParameters {
|
|
@@ -325,102 +332,72 @@ declare class ConfiguratorSettings {
|
|
|
325
332
|
infoPublicationCode?: number;
|
|
326
333
|
}
|
|
327
334
|
|
|
328
|
-
declare class
|
|
329
|
-
readJsonFile(filePath: string, includeBaseUrl?: boolean): Promise<any>;
|
|
330
|
-
private _includeBaseUrl;
|
|
331
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JsonUtilsService, never>;
|
|
332
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<JsonUtilsService>;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
declare class DictionaryService {
|
|
336
|
-
private _jsonUtilsService;
|
|
337
|
-
private readonly _placeholder;
|
|
338
|
-
private _client;
|
|
339
|
-
private _language;
|
|
340
|
-
private _dictionary;
|
|
341
|
-
constructor(_jsonUtilsService: JsonUtilsService);
|
|
342
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
343
|
-
setDictionary(path: string, client: string, languageCode: string, additionalTranslationFile?: any): Promise<void>;
|
|
344
|
-
private _getDictionaryData;
|
|
345
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
|
|
346
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
declare enum NavigatorType {
|
|
350
|
-
IOsSafari = "IOsSafari",
|
|
351
|
-
Browser = "Browser"
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
interface AoOptions {
|
|
355
|
-
aoSamples: number;
|
|
356
|
-
denoiseSamples: number;
|
|
357
|
-
denoiseRadius: number;
|
|
358
|
-
aoRadius: number;
|
|
359
|
-
distanceFalloff: number;
|
|
360
|
-
screenSpaceRadius: boolean;
|
|
361
|
-
halfRes: boolean;
|
|
362
|
-
depthAwareUpsampling: boolean;
|
|
363
|
-
transparencyAware: boolean;
|
|
364
|
-
intensity: number;
|
|
365
|
-
renderMode: string;
|
|
366
|
-
color: string;
|
|
367
|
-
colorMultiply: boolean;
|
|
368
|
-
stencil: boolean;
|
|
369
|
-
accumulate: boolean;
|
|
370
|
-
gammaCorrection: boolean;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
interface AaOptions {
|
|
374
|
-
sampleLevel: number;
|
|
375
|
-
unbiased: boolean;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
interface VignetteOptions {
|
|
379
|
-
vignetteOffset: number;
|
|
380
|
-
vignetteDarkness: number;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
interface PostProcessingSetting {
|
|
384
|
-
aoEnabled: boolean;
|
|
385
|
-
aoOptions: AoOptions;
|
|
386
|
-
aaEnabled: boolean;
|
|
387
|
-
aaOptions: AaOptions;
|
|
388
|
-
vignetteEnabled: boolean;
|
|
389
|
-
vignetteOptions: VignetteOptions;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
interface SettingInterface {
|
|
393
|
-
default: boolean;
|
|
394
|
-
standalone: boolean;
|
|
395
|
-
navigatorType: NavigatorType;
|
|
396
|
-
postprocessing: PostProcessingSetting;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
declare class Setting {
|
|
400
|
-
navigatorType: NavigatorType;
|
|
401
|
-
default: boolean;
|
|
402
|
-
standalone: boolean;
|
|
403
|
-
postProcessing: PostProcessingSetting;
|
|
404
|
-
static CreateModelFromInterface(modelInterface: SettingInterface): Setting;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
declare class SettingsService {
|
|
408
|
-
private _jsonUtilsService;
|
|
409
|
-
private _dictionaryService;
|
|
335
|
+
declare class ConfiguratorSettingsService {
|
|
410
336
|
set settings(value: ConfiguratorSettings);
|
|
411
337
|
get settings(): ConfiguratorSettings;
|
|
412
338
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
413
|
-
lightSettingsLoaded: BehaviorSubject<Setting[]>;
|
|
414
|
-
settingsChanged: Subject<void>;
|
|
415
339
|
private _settings;
|
|
416
|
-
constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
|
|
417
340
|
createSettingsFromObject(obj: any): void;
|
|
418
341
|
initializeSettings(settings?: ConfiguratorSettings): Promise<void>;
|
|
419
342
|
initialize(settings: ConfiguratorSettings): Promise<void>;
|
|
420
343
|
checkAdditionalParameters(): Promise<void>;
|
|
421
344
|
private _checkUrlParameters;
|
|
422
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
423
|
-
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;
|
|
424
401
|
}
|
|
425
402
|
|
|
426
403
|
declare class ConfiguratorService {
|
|
@@ -466,9 +443,6 @@ declare class ConfiguratorService {
|
|
|
466
443
|
saveConfigurations(showLoader?: boolean): Promise<boolean>;
|
|
467
444
|
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
468
445
|
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
469
|
-
googleTranslateEnabled(): Promise<boolean>;
|
|
470
|
-
getDefaultLanguage(upId: number): Promise<string>;
|
|
471
|
-
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
472
446
|
getImageForSelectorStructure(option: SelectorStructure, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
473
447
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
474
448
|
private _getPublicationCodeForRole;
|
|
@@ -481,6 +455,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
481
455
|
private _appEventService;
|
|
482
456
|
private _settingsService;
|
|
483
457
|
private _loaderService;
|
|
458
|
+
private _utilitiesConnectorService;
|
|
484
459
|
get article(): Article;
|
|
485
460
|
set article(value: Article);
|
|
486
461
|
get sku(): string;
|
|
@@ -521,8 +496,10 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
521
496
|
private _initializing;
|
|
522
497
|
private _initialized;
|
|
523
498
|
private _boFactory;
|
|
524
|
-
constructor(_configuratorService: ConfiguratorService, _appEventService:
|
|
499
|
+
constructor(_configuratorService: ConfiguratorService, _appEventService: ConfiguratorEventService, _settingsService: ConfiguratorSettingsService, _loaderService: LoaderService, _utilitiesConnectorService: UtilitiesConnectorService);
|
|
525
500
|
ngOnDestroy(): void;
|
|
501
|
+
cleanUp(): void;
|
|
502
|
+
init(settings?: ConfiguratorSettings): Promise<void>;
|
|
526
503
|
initConnection(forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<void>;
|
|
527
504
|
onShowLoaderChange(showLoader: boolean): void;
|
|
528
505
|
onConnectionReset(): void;
|
|
@@ -562,9 +539,6 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
562
539
|
saveConfigurations(): Promise<void>;
|
|
563
540
|
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
564
541
|
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
565
|
-
getDefaultLanguage(upId: number): Promise<string>;
|
|
566
|
-
googleTranslateEnabled(): Promise<boolean>;
|
|
567
|
-
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
568
542
|
getImageForAnswer(selectedOption: SelectorStructure, showLoader?: boolean): Promise<void>;
|
|
569
543
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
570
544
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
@@ -597,76 +571,12 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
597
571
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
598
572
|
}
|
|
599
573
|
|
|
600
|
-
declare class AppInitializerService {
|
|
601
|
-
private _settingsService;
|
|
602
|
-
private _configuratorConnectorService;
|
|
603
|
-
appInitialized: BehaviorSubject<boolean>;
|
|
604
|
-
constructor(_settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
605
|
-
initializeApp(settings?: ConfiguratorSettings): Promise<void>;
|
|
606
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
|
|
607
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
declare class VariationSettingsSettings {
|
|
611
|
-
repeatx: number;
|
|
612
|
-
repeaty: number;
|
|
613
|
-
roughness: number;
|
|
614
|
-
metalness: number;
|
|
615
|
-
}
|
|
616
|
-
declare class VariationSettings {
|
|
617
|
-
id: string;
|
|
618
|
-
settings: VariationSettingsSettings;
|
|
619
|
-
texture: string;
|
|
620
|
-
textureFilename: string;
|
|
621
|
-
normal: string;
|
|
622
|
-
normalFilename: string;
|
|
623
|
-
ao: string;
|
|
624
|
-
aoFilename: string;
|
|
625
|
-
metalness: string;
|
|
626
|
-
metalnessFilename: string;
|
|
627
|
-
roughness: string;
|
|
628
|
-
roughnessFilename: string;
|
|
629
|
-
orm: string;
|
|
630
|
-
ormFilename: string;
|
|
631
|
-
displacement: string;
|
|
632
|
-
displacementValue: number;
|
|
633
|
-
displacementFilename: string;
|
|
634
|
-
sheen: number;
|
|
635
|
-
sheenColor: Color;
|
|
636
|
-
sheenColorMap: string;
|
|
637
|
-
sheenColorMapFilename: string;
|
|
638
|
-
sheenRoughness: number;
|
|
639
|
-
sheenRoughnessMap: string;
|
|
640
|
-
sheenRoughnessMapFilename: string;
|
|
641
|
-
transmissionMap: string;
|
|
642
|
-
transmissionMapFilename: string;
|
|
643
|
-
emissive: string;
|
|
644
|
-
emissiveFilename: string;
|
|
645
|
-
emissiveIntensity: number;
|
|
646
|
-
emissiveValue: Color;
|
|
647
|
-
opacity: number;
|
|
648
|
-
transparent: boolean;
|
|
649
|
-
envMap: string;
|
|
650
|
-
envMapFilename: string;
|
|
651
|
-
envMapIntensity: number;
|
|
652
|
-
reflectivity: number;
|
|
653
|
-
side: Side;
|
|
654
|
-
transmission: number;
|
|
655
|
-
ior: number;
|
|
656
|
-
thickness: number;
|
|
657
|
-
specularIntensity: number;
|
|
658
|
-
loading: boolean;
|
|
659
|
-
loaded: Subject<VariationSettings>;
|
|
660
|
-
material: any;
|
|
661
|
-
copyFrom(settings: VariationSettings): void;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
574
|
declare class VariationCacheService implements OnDestroy {
|
|
665
575
|
private _settingsService;
|
|
666
576
|
private _configuratorService;
|
|
667
577
|
private _variations;
|
|
668
578
|
private _subs;
|
|
669
|
-
constructor(_settingsService:
|
|
579
|
+
constructor(_settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
670
580
|
ngOnDestroy(): void;
|
|
671
581
|
get(id: string): VariationSettings;
|
|
672
582
|
set(variations: VariationSettings): void;
|
|
@@ -680,6 +590,41 @@ declare class VariationCacheService implements OnDestroy {
|
|
|
680
590
|
static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
|
|
681
591
|
}
|
|
682
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
|
+
|
|
683
628
|
declare class ProgressService {
|
|
684
629
|
private _progressPercent;
|
|
685
630
|
get progress(): number;
|
|
@@ -689,649 +634,29 @@ declare class ProgressService {
|
|
|
689
634
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressService>;
|
|
690
635
|
}
|
|
691
636
|
|
|
692
|
-
declare class
|
|
693
|
-
private
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
readonly moveBy: number;
|
|
697
|
-
readonly cameraDefaultHeight: number;
|
|
698
|
-
readonly targetDefaultOffset: number;
|
|
699
|
-
readonly exploreDistanceFromCorner: number;
|
|
700
|
-
camera: PerspectiveCamera;
|
|
701
|
-
controls: any;
|
|
702
|
-
cameraMovementChanged: Subject<void>;
|
|
703
|
-
private _cameraLocked;
|
|
704
|
-
private _element;
|
|
705
|
-
private _viewSize;
|
|
706
|
-
private _viewCenter;
|
|
707
|
-
private _exploreTargetDistance;
|
|
708
|
-
private _realAspectRatio;
|
|
709
|
-
private _aspectRatio;
|
|
710
|
-
private _viewMode;
|
|
637
|
+
declare class UtilsService implements OnDestroy {
|
|
638
|
+
private _progressService;
|
|
639
|
+
clips: any;
|
|
640
|
+
private _objectCache;
|
|
711
641
|
private _subs;
|
|
712
|
-
|
|
713
|
-
set realAspectRatio(value: number);
|
|
714
|
-
constructor(_settingsService: SettingsService);
|
|
642
|
+
constructor(_progressService: ProgressService);
|
|
715
643
|
ngOnDestroy(): void;
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
disablePan(): void;
|
|
724
|
-
disableZoom(): void;
|
|
725
|
-
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
726
|
-
private _getCameraOffset;
|
|
727
|
-
private _controlsUpdate;
|
|
728
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CameraService, never>;
|
|
729
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CameraService>;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
declare enum XrMode {
|
|
733
|
-
ArMode = "Ar Mode",
|
|
734
|
-
VrMode = "Vr Mode"
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
declare class DebugService {
|
|
738
|
-
debugMessages: string[];
|
|
739
|
-
averageRenderTime: number;
|
|
740
|
-
lastTimestamp: number;
|
|
741
|
-
measurements: any[];
|
|
742
|
-
runTest: boolean;
|
|
743
|
-
addMessage(message: string): void;
|
|
744
|
-
measureRenderTime(): void;
|
|
745
|
-
resetMeasurements(): void;
|
|
746
|
-
startToggle(): void;
|
|
747
|
-
getAverageRenderTime(): number;
|
|
748
|
-
getFramesMeasuredAmount(): number;
|
|
749
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
|
|
750
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
declare class FontService {
|
|
754
|
-
hudFont: Font;
|
|
755
|
-
monospaceFont: Font;
|
|
756
|
-
constructor();
|
|
757
|
-
private _loadFont;
|
|
758
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
|
|
759
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
declare class MessageBoardService {
|
|
763
|
-
private _settingsService;
|
|
764
|
-
private _fontService;
|
|
765
|
-
scene: Scene;
|
|
766
|
-
board: Mesh;
|
|
767
|
-
messages: Mesh[];
|
|
768
|
-
private _font;
|
|
769
|
-
constructor(_settingsService: SettingsService, _fontService: FontService);
|
|
770
|
-
init(scene: Scene): Promise<void>;
|
|
771
|
-
addMessage(message: string): void;
|
|
772
|
-
private _createMessageBoard;
|
|
773
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
|
|
774
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
declare class XrService implements OnDestroy {
|
|
778
|
-
private _settingsService;
|
|
779
|
-
private _debugService;
|
|
780
|
-
private _messageBoard;
|
|
781
|
-
gamepad: any;
|
|
782
|
-
axes: number[];
|
|
783
|
-
touchpadIsPressed: boolean;
|
|
784
|
-
triggerIsPressed: boolean;
|
|
785
|
-
angularVelocity: THREE.Vector3;
|
|
786
|
-
renderer: WebGLRenderer;
|
|
787
|
-
scene: Scene;
|
|
788
|
-
camera: Camera;
|
|
789
|
-
controller: any;
|
|
790
|
-
vrSupported: boolean;
|
|
791
|
-
arSupported: boolean;
|
|
792
|
-
sessionStarted: Subject<XrMode>;
|
|
793
|
-
sessionEnded: Subject<void>;
|
|
794
|
-
userSelectInAr: BehaviorSubject<boolean>;
|
|
795
|
-
refSpace: any;
|
|
796
|
-
viewerSpace: any;
|
|
797
|
-
session: any;
|
|
798
|
-
hitTestSource: any;
|
|
799
|
-
private _vrDisplay;
|
|
800
|
-
private _vrController;
|
|
801
|
-
private _subs;
|
|
802
|
-
private _cameraHeight;
|
|
803
|
-
private _mode;
|
|
804
|
-
constructor(_settingsService: SettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
|
|
805
|
-
ngOnDestroy(): void;
|
|
806
|
-
init(renderer: WebGLRenderer, scene: Scene, camera: Camera): Promise<void>;
|
|
807
|
-
startAr(): void;
|
|
808
|
-
stopAr(): void;
|
|
809
|
-
startVr(): void;
|
|
810
|
-
stopVr(): void;
|
|
811
|
-
update(): void;
|
|
812
|
-
private _doBeforeRenderScene;
|
|
813
|
-
private _logMessage;
|
|
814
|
-
private _onSessionStarted;
|
|
815
|
-
private _onUserSelect;
|
|
816
|
-
private _onSessionEnded;
|
|
817
|
-
private _updateController;
|
|
818
|
-
private _findGamepad;
|
|
819
|
-
private _createController;
|
|
820
|
-
private _createMeshes;
|
|
821
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XrService, never>;
|
|
822
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<XrService>;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
declare class VrService {
|
|
826
|
-
private _scene;
|
|
827
|
-
private _renderer;
|
|
828
|
-
private _camera;
|
|
829
|
-
private _tempMatrix;
|
|
830
|
-
private _currentClosestIntersection;
|
|
831
|
-
private _meshes;
|
|
832
|
-
private _raycaster;
|
|
833
|
-
private _reticle;
|
|
834
|
-
private _controller0;
|
|
835
|
-
private _controller1;
|
|
836
|
-
private _session;
|
|
837
|
-
private _user;
|
|
838
|
-
private _selectedObject;
|
|
839
|
-
constructor();
|
|
840
|
-
init(scene: Scene, renderer: WebGLRenderer): void;
|
|
841
|
-
render(): void;
|
|
842
|
-
endSession(): void;
|
|
843
|
-
private _initSession;
|
|
844
|
-
private _onSessionStarted;
|
|
845
|
-
private _onSessionEnded;
|
|
846
|
-
startVRSession(): void;
|
|
847
|
-
private _createControllers;
|
|
848
|
-
private _onSelectStart;
|
|
849
|
-
private _onSelectEnd;
|
|
850
|
-
private _getIntersections;
|
|
851
|
-
private _registerMeshes;
|
|
852
|
-
private _handleIntersections;
|
|
853
|
-
private _handleControllerIntersections;
|
|
854
|
-
private _getNearestIntersection;
|
|
855
|
-
private _handleFloorIntersection;
|
|
856
|
-
private _handleObjectIntersection;
|
|
857
|
-
private _handleNoIntersections;
|
|
858
|
-
private _updateControllerRay;
|
|
859
|
-
private _isObjectFloor;
|
|
860
|
-
private _getParentOfChild;
|
|
861
|
-
private _updateObjectSelection;
|
|
862
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VrService, never>;
|
|
863
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VrService>;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
declare class ArService implements OnDestroy {
|
|
867
|
-
private _cameraService;
|
|
868
|
-
private _settingsService;
|
|
869
|
-
private _iOne;
|
|
870
|
-
updateContextMenu: BehaviorSubject<void>;
|
|
871
|
-
shouldAddObjectToScene: Subject<Object3D>;
|
|
872
|
-
showConfigurator: boolean;
|
|
873
|
-
refSpace: any;
|
|
874
|
-
hitTestSource: any;
|
|
875
|
-
scene: Scene;
|
|
876
|
-
userInSelectionMenu: boolean;
|
|
877
|
-
showContextMenu: boolean;
|
|
878
|
-
private _arFeatures;
|
|
879
|
-
private _renderer;
|
|
880
|
-
private _glBinding;
|
|
881
|
-
private _session;
|
|
882
|
-
private _debug;
|
|
883
|
-
private _surfaceFoundOnce;
|
|
884
|
-
private _reticle;
|
|
885
|
-
private _hitTestResult;
|
|
886
|
-
private _reticleHitTestResult;
|
|
887
|
-
private _anchoredObjects;
|
|
888
|
-
private _activeARModel;
|
|
889
|
-
private _aRModelBackupYPosition;
|
|
890
|
-
private _aRModelBackupPosition;
|
|
891
|
-
private _aRModelBackupYRotation;
|
|
892
|
-
private _aRModelRotationStartingValue;
|
|
893
|
-
private _vertexList;
|
|
894
|
-
private _detectedPlanes;
|
|
895
|
-
private _rawPlanes;
|
|
896
|
-
private _planeMaterial;
|
|
897
|
-
private _shadowPlane;
|
|
898
|
-
private _lastEventTimestamp;
|
|
899
|
-
private _lastObjectTouchTimestamp;
|
|
900
|
-
private _doubleTapTimeframe;
|
|
901
|
-
private _holdingTouch;
|
|
902
|
-
private _controller;
|
|
903
|
-
private _raycaster;
|
|
904
|
-
private _tempMatrix;
|
|
905
|
-
private _cleanup;
|
|
906
|
-
private _animating;
|
|
907
|
-
private _liftAnimation;
|
|
908
|
-
private _dropAnimation;
|
|
909
|
-
private _lightProbe;
|
|
910
|
-
private _threeLightProbe;
|
|
911
|
-
private _cubeMapTexture;
|
|
912
|
-
private _depthDataTexture;
|
|
913
|
-
private _sunLight;
|
|
914
|
-
private _positionIndicator;
|
|
915
|
-
private _pointRepresentation;
|
|
916
|
-
constructor(_cameraService: CameraService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
|
|
917
|
-
ngOnDestroy(): void;
|
|
918
|
-
resetPlaneDetection(): Promise<void>;
|
|
919
|
-
endSessionEvent(): void;
|
|
920
|
-
arIOSSupported(): Promise<boolean>;
|
|
921
|
-
arSupported(): Promise<any>;
|
|
922
|
-
addObjectToARScene(object: Object3D): void;
|
|
923
|
-
modelLoading(): boolean;
|
|
924
|
-
modelPlaced(): boolean;
|
|
925
|
-
handleFrame(xrFrame: any): void;
|
|
926
|
-
init(renderer: WebGLRenderer): void;
|
|
927
|
-
savePreSelectionPosition(): void;
|
|
928
|
-
updateChangedModel(): void;
|
|
929
|
-
arModeHasBeenActive(): boolean;
|
|
930
|
-
showMovePhoneAnimation(): boolean;
|
|
931
|
-
getActiveModel(): any;
|
|
932
|
-
private _initSession;
|
|
933
|
-
private _checkAvailableFeatures;
|
|
934
|
-
private _initRenderer;
|
|
935
|
-
private _initController;
|
|
936
|
-
private _initScene;
|
|
937
|
-
private _initLightEstimation;
|
|
938
|
-
private _initReflectionCubeMap;
|
|
939
|
-
private _initCPUDepthOcclusion;
|
|
940
|
-
private _initAnchoredHitTest;
|
|
941
|
-
private _initPlaneDetection;
|
|
942
|
-
private _initLighting;
|
|
943
|
-
private _checkHitTestMethod;
|
|
944
|
-
private _executeDepthAnchorHitTest;
|
|
945
|
-
private _executeAnchoredHitTest;
|
|
946
|
-
private _executeCPUDepthHitTest;
|
|
947
|
-
private _executeDefaultHitTest;
|
|
948
|
-
private _checkExtraFeatures;
|
|
949
|
-
private _hideOccludedMeshes;
|
|
950
|
-
private _createPlaneMaterial;
|
|
951
|
-
private _onSessionStarted;
|
|
952
|
-
private _onSessionEnded;
|
|
953
|
-
private _setArModelShadows;
|
|
954
|
-
private _handleTouchEvent;
|
|
955
|
-
private _handleMultiTouchEvent;
|
|
956
|
-
private _handleDoubleTapEvent;
|
|
957
|
-
private _checkIfHoldTouchEvent;
|
|
958
|
-
private _handleHoldStartEvent;
|
|
959
|
-
private _handleHoldEndEvent;
|
|
960
|
-
private _toggleHoldTouchEvent;
|
|
961
|
-
private _handleHoldMoveEvent;
|
|
962
|
-
private _updateShadows;
|
|
963
|
-
private _adjustLighting;
|
|
964
|
-
private _toggleARModelTransparency;
|
|
965
|
-
private _setPlanesVisibilty;
|
|
966
|
-
private _getObjectIntersections;
|
|
967
|
-
private _drawPlane;
|
|
968
|
-
private _drawPlanes;
|
|
969
|
-
private _callLiftAnimation;
|
|
970
|
-
private _callDropAnimation;
|
|
971
|
-
private _createAugmentedMaterial;
|
|
972
|
-
private _updateAugmentedMaterialUniforms;
|
|
973
|
-
private _updateMeshMaterials;
|
|
974
|
-
private _removeMaterialShaders;
|
|
975
|
-
private _checkingInterfaceInteraction;
|
|
976
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArService, never>;
|
|
977
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ArService>;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
declare enum ConfigurationKey {
|
|
981
|
-
DimensioningUnit = "dimUnit",
|
|
982
|
-
DimensioningSquareUnit = "dimSqUnit",
|
|
983
|
-
AngleUnit = "angleUnit",
|
|
984
|
-
CmStep = "cmStep",
|
|
985
|
-
MStep = "mStep",
|
|
986
|
-
MmStep = "mmStep",
|
|
987
|
-
AngleLabelDistanceInCm = "angleLabelDistanceCm",
|
|
988
|
-
WallHeight = "wallHeight",
|
|
989
|
-
WallThickness = "wallThickness",
|
|
990
|
-
MaxWallHeight = "maxWallHeight",
|
|
991
|
-
MaxWallThickness = "maxWallThickness",
|
|
992
|
-
MaxWallLength = "maxWallLength",
|
|
993
|
-
MinWallLength = "minWallLength",
|
|
994
|
-
WallSnapping = "wallSnapping",
|
|
995
|
-
CornerSnapping = "cornerSnapping",
|
|
996
|
-
ShowObjectDistances = "showObjectDistances",
|
|
997
|
-
ShowObjectMeasurements = "showObjectMeasurements",
|
|
998
|
-
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
999
|
-
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
1000
|
-
ShowWallMeasurements = "showWallMeasurements",
|
|
1001
|
-
ShowCornerAngles = "showCornerAngles",
|
|
1002
|
-
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
1003
|
-
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
1004
|
-
ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
|
|
1005
|
-
ShowInteriorLights = "ShowInteriorLights",
|
|
1006
|
-
InteriorLightIntensity = "InteriorLightIntensity",
|
|
1007
|
-
ShowLightingControls = "ShowLightingControls",
|
|
1008
|
-
ShowLightplansDialog = "ShowLightplansDialog",
|
|
1009
|
-
WalkThroughCameraFoV = "WalkThroughCameraFoV",
|
|
1010
|
-
WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
|
|
1011
|
-
WalkThroughCameraFocus = "WalkThroughCameraFocus",
|
|
1012
|
-
ShowPostProcessingSettings = "showPostProcessingSettings",
|
|
1013
|
-
ShowWalls = "ShowWalls",
|
|
1014
|
-
ShowCeiling = "ShowCeiling",
|
|
1015
|
-
IsLimited = "IsLimited",
|
|
1016
|
-
EnableTouch = "EnableTouch",
|
|
1017
|
-
CameraFOV = "CameraFOV"
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
interface ConfigurationData {
|
|
1021
|
-
[ConfigurationKey.DimensioningUnit]?: string;
|
|
1022
|
-
[ConfigurationKey.DimensioningSquareUnit]?: string;
|
|
1023
|
-
[ConfigurationKey.AngleUnit]?: string;
|
|
1024
|
-
[ConfigurationKey.CmStep]?: number;
|
|
1025
|
-
[ConfigurationKey.MStep]?: number;
|
|
1026
|
-
[ConfigurationKey.MmStep]?: number;
|
|
1027
|
-
[ConfigurationKey.AngleLabelDistanceInCm]?: number;
|
|
1028
|
-
[ConfigurationKey.WallHeight]?: number;
|
|
1029
|
-
[ConfigurationKey.WallThickness]?: number;
|
|
1030
|
-
[ConfigurationKey.MaxWallHeight]?: number;
|
|
1031
|
-
[ConfigurationKey.MaxWallThickness]?: number;
|
|
1032
|
-
[ConfigurationKey.MaxWallLength]?: number;
|
|
1033
|
-
[ConfigurationKey.MinWallLength]?: number;
|
|
1034
|
-
[ConfigurationKey.WallSnapping]?: boolean;
|
|
1035
|
-
[ConfigurationKey.CornerSnapping]?: boolean;
|
|
1036
|
-
[ConfigurationKey.ShowObjectDistances]?: boolean;
|
|
1037
|
-
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
1038
|
-
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
1039
|
-
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
1040
|
-
[ConfigurationKey.ShowWallMeasurements]?: boolean;
|
|
1041
|
-
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
1042
|
-
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
1043
|
-
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
1044
|
-
[ConfigurationKey.ShowInteriorLights]?: boolean;
|
|
1045
|
-
[ConfigurationKey.InteriorLightIntensity]?: number;
|
|
1046
|
-
[ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
|
|
1047
|
-
[ConfigurationKey.ShowLightingControls]?: boolean;
|
|
1048
|
-
[ConfigurationKey.ShowLightplansDialog]?: boolean;
|
|
1049
|
-
[ConfigurationKey.WalkThroughCameraFoV]?: number;
|
|
1050
|
-
[ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
|
|
1051
|
-
[ConfigurationKey.WalkThroughCameraFocus]?: number;
|
|
1052
|
-
[ConfigurationKey.ShowPostProcessingSettings]?: boolean;
|
|
1053
|
-
[ConfigurationKey.ShowWalls]?: boolean;
|
|
1054
|
-
[ConfigurationKey.ShowCeiling]?: boolean;
|
|
1055
|
-
[ConfigurationKey.IsLimited]?: boolean;
|
|
1056
|
-
[ConfigurationKey.EnableTouch]?: boolean;
|
|
1057
|
-
[ConfigurationKey.CameraFOV]?: number;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
declare class ConfigurationService {
|
|
1061
|
-
private _data;
|
|
1062
|
-
onChange: BehaviorSubject<{}>;
|
|
1063
|
-
setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
|
|
1064
|
-
getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
|
|
1065
|
-
get(): ConfigurationData;
|
|
1066
|
-
set(data: ConfigurationData): void;
|
|
1067
|
-
getDistanceStep(): number;
|
|
1068
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
1069
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
declare enum DeviceSizeType {
|
|
1073
|
-
Desktop = "desktop",
|
|
1074
|
-
Tablet = "tablet",
|
|
1075
|
-
Phone = "phone"
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
interface ScreenSizeInfo {
|
|
1079
|
-
width: number;
|
|
1080
|
-
height: number;
|
|
1081
|
-
deviceSizeType: DeviceSizeType;
|
|
1082
|
-
isDesktopSize: boolean;
|
|
1083
|
-
isTabletSize: boolean;
|
|
1084
|
-
isPhoneSize: boolean;
|
|
1085
|
-
isPortraitMode: boolean;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
declare class ScreenSizeAnalysisService implements OnDestroy, OnInit {
|
|
1089
|
-
private _eventManager;
|
|
1090
|
-
private _deviceDetectorService;
|
|
1091
|
-
private _onResizeSubject;
|
|
1092
|
-
get screenSizeChanged(): Observable<ScreenSizeInfo>;
|
|
1093
|
-
get isMobileDevice(): boolean;
|
|
1094
|
-
constructor(_eventManager: EventManager, _deviceDetectorService: DeviceDetectorService);
|
|
1095
|
-
ngOnInit(): void;
|
|
1096
|
-
ngOnDestroy(): void;
|
|
1097
|
-
getScreenSizeInfo(window: Window): ScreenSizeInfo;
|
|
1098
|
-
isIphoneOrIpad(): boolean;
|
|
1099
|
-
isSafari(): boolean;
|
|
1100
|
-
navigatorType(): NavigatorType;
|
|
1101
|
-
private _getCurrentScreenSize;
|
|
1102
|
-
private _initOnResizeObservable;
|
|
1103
|
-
private _getDeviceSizeType;
|
|
1104
|
-
private _checkImageBitmapDisable;
|
|
1105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenSizeAnalysisService, never>;
|
|
1106
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenSizeAnalysisService>;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
declare class PostProcessingService implements OnDestroy {
|
|
1110
|
-
private _configurationService;
|
|
1111
|
-
private _settingsService;
|
|
1112
|
-
private _appEventService;
|
|
1113
|
-
private _screenSizeAnalysis;
|
|
1114
|
-
private _aoEnabled;
|
|
1115
|
-
private _aaEnabled;
|
|
1116
|
-
private _vignetteEnabled;
|
|
1117
|
-
private _vignetteOffset;
|
|
1118
|
-
private _vignetteDarkness;
|
|
1119
|
-
private _composer;
|
|
1120
|
-
private _n8aoPass;
|
|
1121
|
-
private _renderPass;
|
|
1122
|
-
private _outputPass;
|
|
1123
|
-
private _fxaaPass;
|
|
1124
|
-
private _smaaPass;
|
|
1125
|
-
private _ssaaPass;
|
|
1126
|
-
private _taaRenderPass;
|
|
1127
|
-
private _vignettePass;
|
|
1128
|
-
private _outlinePass;
|
|
1129
|
-
private _scene;
|
|
1130
|
-
private _renderer;
|
|
1131
|
-
private _camera;
|
|
1132
|
-
private _blendShader;
|
|
1133
|
-
private _width;
|
|
1134
|
-
private _height;
|
|
1135
|
-
private _outlinePassAsError;
|
|
1136
|
-
private _hideOutlineTimer;
|
|
1137
|
-
private _hideOutlineTimeout;
|
|
1138
|
-
private _standalone;
|
|
1139
|
-
private _cameraMoved;
|
|
1140
|
-
private _postProcessingGui;
|
|
1141
|
-
private _subs;
|
|
1142
|
-
private _aoDefaultOptions;
|
|
1143
|
-
private _aoOptions;
|
|
1144
|
-
private _aaDefaultOptions;
|
|
1145
|
-
private _aaOptions;
|
|
1146
|
-
private _vignetteDefaultOptions;
|
|
1147
|
-
private _vignetteOptions;
|
|
1148
|
-
aoEnabled: boolean;
|
|
1149
|
-
aaEnabled: boolean;
|
|
1150
|
-
vignetteEnabled: boolean;
|
|
1151
|
-
constructor(_configurationService: ConfigurationService, _settingsService: SettingsService, _appEventService: AppEventService, _screenSizeAnalysis: ScreenSizeAnalysisService);
|
|
1152
|
-
ngOnDestroy(): void;
|
|
1153
|
-
init(renderer: WebGLRenderer, scene: Scene, camera: PerspectiveCamera, width: number, height: number, standalone: boolean): void;
|
|
1154
|
-
setSize(width: number, height: number, force?: boolean): void;
|
|
1155
|
-
render(): void;
|
|
1156
|
-
cameraMovementChanged(): void;
|
|
1157
|
-
showGui(): void;
|
|
1158
|
-
hideGui(): void;
|
|
1159
|
-
forceRenderCanvas(): void;
|
|
1160
|
-
private _loadSetting;
|
|
1161
|
-
private _showErrorOutline;
|
|
1162
|
-
private _showOutline;
|
|
1163
|
-
private _hideOutline;
|
|
1164
|
-
private _updateAASize;
|
|
1165
|
-
private _initComposer;
|
|
1166
|
-
private _cleanUp;
|
|
1167
|
-
private _applyAoProps;
|
|
1168
|
-
private _createGuiTaaPass;
|
|
1169
|
-
private _showHideGui;
|
|
1170
|
-
private _createGui;
|
|
1171
|
-
private _setErrorGlowSettings;
|
|
1172
|
-
private _setSelectionGlowSettings;
|
|
1173
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PostProcessingService, never>;
|
|
1174
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PostProcessingService>;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
declare enum ViewMode {
|
|
1178
|
-
RoomPlan3D = "3D roomplan",
|
|
1179
|
-
VR = "VR",
|
|
1180
|
-
AR = "AR"
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
declare class ViewModeService {
|
|
1184
|
-
viewModeChanged: BehaviorSubject<ViewMode>;
|
|
1185
|
-
private _viewMode;
|
|
1186
|
-
viewSize: Vector3;
|
|
1187
|
-
viewCenter: Vector3;
|
|
1188
|
-
set viewMode(value: ViewMode);
|
|
1189
|
-
get viewMode(): ViewMode;
|
|
1190
|
-
setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
|
|
1191
|
-
is3dViewActive(): boolean;
|
|
1192
|
-
isVRViewActive(): boolean;
|
|
1193
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
|
|
1194
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
declare class SceneService implements OnDestroy {
|
|
1198
|
-
private _cameraService;
|
|
1199
|
-
private _xrService;
|
|
1200
|
-
private _vrService;
|
|
1201
|
-
private _arService;
|
|
1202
|
-
private _settingsService;
|
|
1203
|
-
private _postProcessing;
|
|
1204
|
-
private _viewModeService;
|
|
1205
|
-
set needsRender(value: boolean);
|
|
1206
|
-
get needsRender(): boolean;
|
|
1207
|
-
scene: Scene;
|
|
1208
|
-
renderer: WebGLRenderer;
|
|
1209
|
-
pathTracer: WebGLPathTracer;
|
|
1210
|
-
standAlone: boolean;
|
|
1211
|
-
onBeforeRender: Subject<{
|
|
1212
|
-
renderer: WebGLRenderer;
|
|
1213
|
-
scene: Scene;
|
|
1214
|
-
}>;
|
|
1215
|
-
onAfterRender: Subject<{
|
|
1216
|
-
renderer: WebGLRenderer;
|
|
1217
|
-
scene: Scene;
|
|
1218
|
-
}>;
|
|
1219
|
-
sceneInitialized: BehaviorSubject<boolean>;
|
|
1220
|
-
renderingThroughPostProcessingPipeline: boolean;
|
|
1221
|
-
webGL2Available: boolean;
|
|
1222
|
-
domElement: HTMLElement;
|
|
1223
|
-
private _needsRender;
|
|
1224
|
-
private _arMode;
|
|
1225
|
-
private _subs;
|
|
1226
|
-
private _maxRenderSamples;
|
|
1227
|
-
private _numberOfSamplesRendered;
|
|
1228
|
-
constructor(_cameraService: CameraService, _xrService: XrService, _vrService: VrService, _arService: ArService, _settingsService: SettingsService, _postProcessing: PostProcessingService, _viewModeService: ViewModeService);
|
|
1229
|
-
ngOnDestroy(): void;
|
|
1230
|
-
getScene(): Scene;
|
|
1231
|
-
set arMode(value: boolean);
|
|
1232
|
-
get arMode(): boolean;
|
|
1233
|
-
takeScreenshot(): string;
|
|
1234
|
-
init(element: HTMLElement): Promise<void>;
|
|
1235
|
-
getSceneCanvasImage(): string;
|
|
1236
|
-
addObject(obj: Object3D, forceRender?: boolean): void;
|
|
1237
|
-
removeObject(obj: Object3D | Mesh, forceRender?: boolean, cleanUp?: boolean): void;
|
|
1238
|
-
updatePathTracer(): void;
|
|
1239
|
-
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1240
|
-
rendererPropsChange(): void;
|
|
1241
|
-
private _initScene;
|
|
1242
|
-
private _initCamera;
|
|
1243
|
-
private _initPostProcessing;
|
|
1244
|
-
private _initPathTracer;
|
|
1245
|
-
private _initRenderer;
|
|
1246
|
-
private _resizeRendererToDisplaySize;
|
|
1247
|
-
private _updateWindowSize;
|
|
1248
|
-
private _checkCanvasResize;
|
|
1249
|
-
private _render;
|
|
1250
|
-
private _animate;
|
|
1251
|
-
private _pauseAnimation;
|
|
1252
|
-
private _setSceneBackground;
|
|
1253
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneService, never>;
|
|
1254
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SceneService>;
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
declare class ItemService implements OnDestroy {
|
|
1258
|
-
private _sceneService;
|
|
1259
|
-
get sceneItems(): Object3D[];
|
|
1260
|
-
private _sceneItems;
|
|
1261
|
-
constructor(_sceneService: SceneService);
|
|
1262
|
-
ngOnDestroy(): void;
|
|
1263
|
-
addItem(item: Object3D, replace?: boolean): void;
|
|
1264
|
-
removeAllItems(): void;
|
|
1265
|
-
removeItem(obj: any): void;
|
|
1266
|
-
objectDimensions(object: Object3D): Vector3;
|
|
1267
|
-
glassMaterialCheck(item: Object3D): void;
|
|
1268
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemService, never>;
|
|
1269
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ItemService>;
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
declare class UtilsService implements OnDestroy {
|
|
1273
|
-
private _settingsService;
|
|
1274
|
-
private _progressService;
|
|
1275
|
-
private _itemService;
|
|
1276
|
-
clips: any;
|
|
1277
|
-
private _objectCache;
|
|
1278
|
-
private _subs;
|
|
1279
|
-
constructor(_settingsService: SettingsService, _progressService: ProgressService, _itemService: ItemService);
|
|
1280
|
-
ngOnDestroy(): void;
|
|
1281
|
-
createCanvasImage(thumbnail?: boolean): string;
|
|
1282
|
-
loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
|
|
1283
|
-
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
1284
|
-
private _addGroupChildrenToObject;
|
|
1285
|
-
private _handleUpdateProgressBar;
|
|
1286
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
1287
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
declare class ThreedselectorService {
|
|
1291
|
-
private _variationCacheService;
|
|
1292
|
-
private _settingsService;
|
|
1293
|
-
private _utilsService;
|
|
1294
|
-
private _threedUtils;
|
|
1295
|
-
constructor(_variationCacheService: VariationCacheService, _settingsService: SettingsService, _utilsService: UtilsService);
|
|
1296
|
-
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
1297
|
-
loadVariation(id: string): Promise<VariationSettings>;
|
|
1298
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
1299
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
declare class VariationService {
|
|
1303
|
-
private _threedSelectorService;
|
|
1304
|
-
loadedAsset: string;
|
|
1305
|
-
private _lastKnownVariations;
|
|
1306
|
-
constructor(_threedSelectorService: ThreedselectorService);
|
|
1307
|
-
clearCache(): void;
|
|
1308
|
-
loadPart(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
1309
|
-
loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
1310
|
-
loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
|
|
1311
|
-
loadVariationForMaterial(gameObject: string): Promise<any>;
|
|
1312
|
-
loadVariationByAssetUrl(assetUrl: string): Promise<any>;
|
|
1313
|
-
createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
|
|
1314
|
-
private _applyMaterialPart;
|
|
1315
|
-
private _applyVariations;
|
|
1316
|
-
private _applyMaterial;
|
|
1317
|
-
private _setMeshMaterialFromVariation;
|
|
1318
|
-
private _setLastKnownVariations;
|
|
1319
|
-
private _getLastKnownVariations;
|
|
1320
|
-
private _getChildrenFilterByProp;
|
|
1321
|
-
private _createVariationFromNode;
|
|
1322
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
|
|
1323
|
-
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>;
|
|
1324
651
|
}
|
|
1325
652
|
|
|
1326
653
|
declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
1327
654
|
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
1328
|
-
protected
|
|
1329
|
-
protected
|
|
1330
|
-
protected settingsService: SettingsService;
|
|
655
|
+
protected appEventService: ConfiguratorEventService;
|
|
656
|
+
protected settingsService: ConfiguratorSettingsService;
|
|
1331
657
|
protected variationService: VariationService;
|
|
1332
658
|
protected variationCacheService: VariationCacheService;
|
|
1333
659
|
protected utilsService: UtilsService;
|
|
1334
|
-
protected itemService: ItemService;
|
|
1335
660
|
get useNodeIdToLink(): boolean;
|
|
1336
661
|
get currentCustomFloorGroup(): Object3D;
|
|
1337
662
|
set currentCustomFloorGroup(item: Object3D);
|
|
@@ -1361,7 +686,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
1361
686
|
private _scene;
|
|
1362
687
|
protected subs: Subscription[];
|
|
1363
688
|
protected placedAdjustables: any[];
|
|
1364
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService,
|
|
689
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, appEventService: ConfiguratorEventService, settingsService: ConfiguratorSettingsService, variationService: VariationService, variationCacheService: VariationCacheService, utilsService: UtilsService);
|
|
1365
690
|
ngOnDestroy(): void;
|
|
1366
691
|
abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1367
692
|
abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
@@ -1382,6 +707,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
1382
707
|
linkSelectionsAndDecos(): void;
|
|
1383
708
|
prepareTheSelections(instanceId?: string): void;
|
|
1384
709
|
preloadMaterials(schema: string): void;
|
|
710
|
+
cleanUp(): void;
|
|
1385
711
|
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1386
712
|
protected getSelectionsAndDecos(): Promise<void>;
|
|
1387
713
|
protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
@@ -1420,7 +746,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
1420
746
|
protected preloadMaterial(answer: Answer): void;
|
|
1421
747
|
protected preloadMaterialBySelection(answer: SelectorStructure): void;
|
|
1422
748
|
protected buildFloor(result: any): Promise<void>;
|
|
1423
|
-
downloadUDSZforARIOS(): void;
|
|
749
|
+
downloadUDSZforARIOS(objects: Object3D[]): void;
|
|
1424
750
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
|
|
1425
751
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
|
|
1426
752
|
}
|
|
@@ -1447,725 +773,487 @@ declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseServic
|
|
|
1447
773
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
|
|
1448
774
|
}
|
|
1449
775
|
|
|
1450
|
-
declare class SwitchBuildFurnitureService implements OnDestroy {
|
|
1451
|
-
private _buildFurnitureService;
|
|
1452
|
-
private _buildFurnitureWithoutSceneService;
|
|
1453
|
-
private _settingsService;
|
|
1454
|
-
private _configuratorService;
|
|
1455
|
-
currentActiveService: BuildFurnitureBaseService;
|
|
1456
|
-
private _controllerInitSub;
|
|
1457
|
-
private _standAloneInstance;
|
|
1458
|
-
constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService:
|
|
1459
|
-
ngOnDestroy(): void;
|
|
1460
|
-
|
|
1461
|
-
static
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
declare enum ItemType {
|
|
1465
|
-
Floor = 1,
|
|
1466
|
-
Wall = 2,
|
|
1467
|
-
InWall = 3,
|
|
1468
|
-
InWallFloor = 7,
|
|
1469
|
-
OnFloor = 8,
|
|
1470
|
-
WallFloor = 9,
|
|
1471
|
-
CustomFloorGroup = 10,
|
|
1472
|
-
CustomShape = 11,
|
|
1473
|
-
FloorGroup = 12,
|
|
1474
|
-
ItemGroup = 13,
|
|
1475
|
-
CustomCylinder = 14,
|
|
1476
|
-
CustomCylinderWall = 15,
|
|
1477
|
-
CustomShapeWall = 16,
|
|
1478
|
-
CustomWall = 20,
|
|
1479
|
-
CustomWallFloor = 21,
|
|
1480
|
-
WallItemGroup = 22,
|
|
1481
|
-
WallDecoration = 23,
|
|
1482
|
-
WindowDecoration = 24,
|
|
1483
|
-
FloorDecoration = 25
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
1487
|
-
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
1488
|
-
protected threedSelectorService: ThreedselectorService;
|
|
1489
|
-
protected buildFurnitureService: SwitchBuildFurnitureService;
|
|
1490
|
-
protected settingsService: SettingsService;
|
|
1491
|
-
private readonly _fullObjectCache;
|
|
1492
|
-
set article(value: Article);
|
|
1493
|
-
get article(): Article;
|
|
1494
|
-
articleLoaded: BehaviorSubject<Article>;
|
|
1495
|
-
private _subs;
|
|
1496
|
-
private _article;
|
|
1497
|
-
protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService);
|
|
1498
|
-
ngOnDestroy(): void;
|
|
1499
|
-
abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
|
|
1500
|
-
loadArticle(sku: string): Promise<Article>;
|
|
1501
|
-
extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
|
|
1502
|
-
getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
|
|
1503
|
-
protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
|
|
1504
|
-
private _cleanUp;
|
|
1505
|
-
protected needs3DModel(type: ItemType): boolean;
|
|
1506
|
-
initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
|
|
1507
|
-
protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
|
|
1508
|
-
private _getAssetPathFromModelUrlAndSchema;
|
|
1509
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
|
|
1510
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
1514
|
-
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1515
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
1516
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
1520
|
-
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1521
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
1522
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
declare class SwitchLoadFurnitureService implements OnDestroy {
|
|
1526
|
-
private _loadFurnitureService;
|
|
1527
|
-
private _loadFurnitureWithoutSceneService;
|
|
1528
|
-
private _settingsService;
|
|
1529
|
-
private _iOne;
|
|
1530
|
-
currentActiveService: LoadFurnitureBaseService;
|
|
1531
|
-
private _standAlone;
|
|
1532
|
-
private _controllerInitSub;
|
|
1533
|
-
private _standAloneInstance;
|
|
1534
|
-
constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
|
|
1535
|
-
ngOnDestroy(): void;
|
|
1536
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
|
|
1537
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
1541
|
-
declare enum IconEnum {
|
|
1542
|
-
AddButton = "add-button",
|
|
1543
|
-
AddLight = "add_light",
|
|
1544
|
-
Angle90 = "angle_90",
|
|
1545
|
-
Aperture = "aperture",
|
|
1546
|
-
ArrowUpRightAndArrowDownLeftFromCenter = "arrow-up-right-and-arrow-down-left-from-center",
|
|
1547
|
-
ArrowsLeftRight = "arrows-left-right",
|
|
1548
|
-
ArrowsUpDown = "arrows-up-down",
|
|
1549
|
-
ArrowsToEye = "arrows_to_eye",
|
|
1550
|
-
ArrowPointDown = "arrow_point_down",
|
|
1551
|
-
ArrowPointRight = "arrow_point_right",
|
|
1552
|
-
ArrowRotateLeft = "arrow_rotate_left",
|
|
1553
|
-
ArrowRotateRight = "arrow_rotate_right",
|
|
1554
|
-
ArrowTurnLeft = "arrow_turn_left",
|
|
1555
|
-
ArrowTurnLeftRegular = "arrow_turn_left_regular",
|
|
1556
|
-
ArrowTurnRight = "arrow_turn_right",
|
|
1557
|
-
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
1558
|
-
ArCircle = "ar_circle",
|
|
1559
|
-
BarsLightFull = "bars_light_full",
|
|
1560
|
-
Brush = "brush",
|
|
1561
|
-
CameraSolid = "camera_solid",
|
|
1562
|
-
CameraTopdown = "camera_topdown",
|
|
1563
|
-
CameraViewfinder = "camera_viewfinder",
|
|
1564
|
-
CartShoppingRegular = "cart-shopping-regular",
|
|
1565
|
-
Check = "check",
|
|
1566
|
-
CheckRegular = "check_regular",
|
|
1567
|
-
CheckSolid = "check_solid",
|
|
1568
|
-
CircleCheck = "circle_check",
|
|
1569
|
-
CircleCheckRegular = "circle_check_regular",
|
|
1570
|
-
CircleInfo = "circle_info",
|
|
1571
|
-
CircleMinusLight = "circle_minus_light",
|
|
1572
|
-
CirclePlusLight = "circle_plus_light",
|
|
1573
|
-
CircleQuestion = "circle_question",
|
|
1574
|
-
CircleRegular = "circle_regular",
|
|
1575
|
-
CircleXmark = "circle_xmark",
|
|
1576
|
-
CitPoweredWhite = "cit_powered_white",
|
|
1577
|
-
CloudArrowDown = "cloud_arrow_down",
|
|
1578
|
-
CloudArrowUp = "cloud_arrow_up",
|
|
1579
|
-
Comment = "comment",
|
|
1580
|
-
Compress = "compress",
|
|
1581
|
-
ConfFrame = "conf_frame",
|
|
1582
|
-
ConfPlane = "conf_plane",
|
|
1583
|
-
CopyLight = "copy_light",
|
|
1584
|
-
CopyRegularFull = "copy_regular_full",
|
|
1585
|
-
Couch = "couch",
|
|
1586
|
-
Cross = "cross",
|
|
1587
|
-
CubeOutline = "cube-outline",
|
|
1588
|
-
CubeUnfolded = "cube-unfolded",
|
|
1589
|
-
Cube = "cube",
|
|
1590
|
-
DashButton = "dash-button",
|
|
1591
|
-
DeleteButton = "delete-button",
|
|
1592
|
-
Download = "download",
|
|
1593
|
-
DrawSquare = "draw_square",
|
|
1594
|
-
EditButton = "edit-button",
|
|
1595
|
-
Expand = "expand",
|
|
1596
|
-
FillDripLight = "fill_drip_light",
|
|
1597
|
-
FloppyDiskLightFull = "floppy_disk_light_full",
|
|
1598
|
-
Flower = "flower",
|
|
1599
|
-
FolderOpenLightFull = "folder_open_light_full",
|
|
1600
|
-
GaugeHighSolidFull = "gauge_high_solid_full",
|
|
1601
|
-
GaugeLowSolidFull = "gauge_low_solid_full",
|
|
1602
|
-
GaugeMaxSolidFull = "gauge_max_solid_full",
|
|
1603
|
-
GaugeMinSolidFull = "gauge_min_solid_full",
|
|
1604
|
-
GoogleCardboardOrange = "google-cardboard-orange",
|
|
1605
|
-
GoogleCardboard = "google-cardboard",
|
|
1606
|
-
GridLight = "grid_light",
|
|
1607
|
-
HandPointer = "hand-pointer",
|
|
1608
|
-
HandLight = "hand_light",
|
|
1609
|
-
HandPointerLight = "hand_pointer_light",
|
|
1610
|
-
HeightAdjust = "height_adjust",
|
|
1611
|
-
House = "house",
|
|
1612
|
-
ImageLight = "image_light",
|
|
1613
|
-
ImageSlashRegular = "image_slash_regular",
|
|
1614
|
-
InfoSolidFull = "info_solid_full",
|
|
1615
|
-
LinkLight = "link_light",
|
|
1616
|
-
LinkSlashLight = "link_slash_light",
|
|
1617
|
-
List = "list",
|
|
1618
|
-
LockLight = "lock_light",
|
|
1619
|
-
LockOpenLight = "lock_open_light",
|
|
1620
|
-
MagicWand = "magic-wand",
|
|
1621
|
-
Magnet = "magnet",
|
|
1622
|
-
MagnetStrikethrough = "magnet_strikethrough",
|
|
1623
|
-
Magnifier = "magnifier",
|
|
1624
|
-
MagnifyingGlassMinus = "magnifying_glass_minus",
|
|
1625
|
-
MagnifyingGlassPlus = "magnifying_glass_plus",
|
|
1626
|
-
Measurements = "measurements",
|
|
1627
|
-
MeasurementsInside = "measurements_inside",
|
|
1628
|
-
MovePhoneAr = "move-phone-ar",
|
|
1629
|
-
PaintRollerLight = "paint_roller_light",
|
|
1630
|
-
PenRuler = "pen-ruler",
|
|
1631
|
-
PencilLight = "pencil_light",
|
|
1632
|
-
PlusRegular = "plus_regular",
|
|
1633
|
-
Qrcode = "qrcode",
|
|
1634
|
-
RetryButton = "retry-button",
|
|
1635
|
-
RotateLight = "rotate_light",
|
|
1636
|
-
Scale = "scale",
|
|
1637
|
-
Settings = "settings",
|
|
1638
|
-
SquareCheckRegular = "square_check_regular",
|
|
1639
|
-
SquareChevronDownRegular = "square_chevron_down_regular",
|
|
1640
|
-
SquareRegular = "square_regular",
|
|
1641
|
-
StreetViewOrange = "street-view-orange",
|
|
1642
|
-
StreetView = "street_view",
|
|
1643
|
-
SwapButton = "swap-button",
|
|
1644
|
-
TiltPhone = "tilt-phone",
|
|
1645
|
-
TrashCanLight = "trash_can_light",
|
|
1646
|
-
TriangleDown = "triangle_down",
|
|
1647
|
-
TriangleExclamation = "triangle_exclamation",
|
|
1648
|
-
TriangleUp = "triangle_up",
|
|
1649
|
-
UploadLight = "upload_light",
|
|
1650
|
-
WandMagicSparkles = "wand_magic_sparkles",
|
|
1651
|
-
WifiSolidFull = "wifi_solid_full",
|
|
1652
|
-
XmarkLight = "xmark_light",
|
|
1653
|
-
XmarkLightFull = "xmark_light_full",
|
|
1654
|
-
XmarkRegular = "xmark_regular"
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
declare class SceneOptionButtonInterface {
|
|
1658
|
-
id: number;
|
|
1659
|
-
elementId: string;
|
|
1660
|
-
label?: string;
|
|
1661
|
-
class?: string;
|
|
1662
|
-
tooltip?: string;
|
|
1663
|
-
image?: string | SafeHtml;
|
|
1664
|
-
order?: number;
|
|
1665
|
-
toggle?: boolean;
|
|
1666
|
-
tooltipActive?: string;
|
|
1667
|
-
active?: boolean;
|
|
1668
|
-
object?: any;
|
|
1669
|
-
click?: Function;
|
|
1670
|
-
show?: boolean;
|
|
1671
|
-
icon?: IconEnum;
|
|
1672
|
-
children?: SceneOptionButtonInterface[];
|
|
776
|
+
declare class SwitchBuildFurnitureService implements OnDestroy {
|
|
777
|
+
private _buildFurnitureService;
|
|
778
|
+
private _buildFurnitureWithoutSceneService;
|
|
779
|
+
private _settingsService;
|
|
780
|
+
private _configuratorService;
|
|
781
|
+
currentActiveService: BuildFurnitureBaseService;
|
|
782
|
+
private _controllerInitSub;
|
|
783
|
+
private _standAloneInstance;
|
|
784
|
+
constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
785
|
+
ngOnDestroy(): void;
|
|
786
|
+
cleanUp(): void;
|
|
787
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchBuildFurnitureService, never>;
|
|
788
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
|
|
1673
789
|
}
|
|
1674
790
|
|
|
1675
|
-
declare
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
791
|
+
declare enum ItemType {
|
|
792
|
+
Floor = 1,
|
|
793
|
+
Wall = 2,
|
|
794
|
+
InWall = 3,
|
|
795
|
+
InWallFloor = 7,
|
|
796
|
+
OnFloor = 8,
|
|
797
|
+
WallFloor = 9,
|
|
798
|
+
CustomFloorGroup = 10,
|
|
799
|
+
CustomShape = 11,
|
|
800
|
+
FloorGroup = 12,
|
|
801
|
+
ItemGroup = 13,
|
|
802
|
+
CustomCylinder = 14,
|
|
803
|
+
CustomCylinderWall = 15,
|
|
804
|
+
CustomShapeWall = 16,
|
|
805
|
+
CustomWall = 20,
|
|
806
|
+
CustomWallFloor = 21,
|
|
807
|
+
WallItemGroup = 22,
|
|
808
|
+
WallDecoration = 23,
|
|
809
|
+
WindowDecoration = 24,
|
|
810
|
+
FloorDecoration = 25
|
|
1682
811
|
}
|
|
1683
812
|
|
|
1684
|
-
declare
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
813
|
+
declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
814
|
+
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
815
|
+
protected threedSelectorService: ThreedselectorService;
|
|
816
|
+
protected buildFurnitureService: SwitchBuildFurnitureService;
|
|
817
|
+
protected settingsService: ConfiguratorSettingsService;
|
|
818
|
+
private readonly _fullObjectCache;
|
|
819
|
+
set article(value: Article);
|
|
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>;
|
|
1690
838
|
}
|
|
1691
839
|
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
materializeUrl?: string;
|
|
1697
|
-
bumpMap?: string;
|
|
1698
|
-
bumpScale?: number;
|
|
1699
|
-
roughness?: number;
|
|
1700
|
-
roughnessMap?: string;
|
|
1701
|
-
normalMap?: string;
|
|
1702
|
-
alphaMap?: string;
|
|
1703
|
-
repeatX?: number;
|
|
1704
|
-
repeatY?: number;
|
|
1705
|
-
metalness?: number;
|
|
1706
|
-
metalnessMap?: string;
|
|
1707
|
-
aoMapIntensity?: number;
|
|
1708
|
-
aoMap?: string;
|
|
1709
|
-
data?: any;
|
|
1710
|
-
color?: string;
|
|
1711
|
-
emissive?: string;
|
|
1712
|
-
show?: boolean;
|
|
1713
|
-
default?: boolean;
|
|
1714
|
-
surfaces?: string[];
|
|
1715
|
-
offset?: THREE.Vector2;
|
|
1716
|
-
scale?: number;
|
|
1717
|
-
rotation?: number;
|
|
1718
|
-
stretch?: boolean;
|
|
1719
|
-
height?: number;
|
|
1720
|
-
width?: number;
|
|
1721
|
-
tileSize?: number;
|
|
1722
|
-
tileRotation?: number;
|
|
1723
|
-
useStandalone?: boolean;
|
|
1724
|
-
defaultStandalone?: boolean;
|
|
1725
|
-
mirror?: boolean;
|
|
1726
|
-
simplePlane?: boolean;
|
|
1727
|
-
toneMapped?: boolean;
|
|
1728
|
-
transparent?: boolean;
|
|
1729
|
-
opacity?: number;
|
|
1730
|
-
side?: number;
|
|
1731
|
-
depthWrite?: boolean;
|
|
1732
|
-
depthTest?: boolean;
|
|
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>;
|
|
1733
844
|
}
|
|
1734
845
|
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
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>;
|
|
1739
850
|
}
|
|
1740
851
|
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
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>;
|
|
1747
865
|
}
|
|
1748
866
|
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
resizable?: boolean;
|
|
1787
|
-
elevation?: number;
|
|
1788
|
-
elevationFixed?: boolean;
|
|
1789
|
-
elevationAdjustable?: boolean;
|
|
1790
|
-
schema?: string;
|
|
1791
|
-
assetPath?: string;
|
|
1792
|
-
texture?: Texture;
|
|
1793
|
-
textureAssetName?: string;
|
|
1794
|
-
skin?: Skin;
|
|
1795
|
-
frameColor?: number;
|
|
1796
|
-
doorColor?: number;
|
|
1797
|
-
windowColor?: THREE.Color;
|
|
1798
|
-
doorpost?: boolean;
|
|
1799
|
-
isGlass?: boolean;
|
|
1800
|
-
itemGroup?: any;
|
|
1801
|
-
canRotateX?: boolean;
|
|
1802
|
-
canRotateY?: boolean;
|
|
1803
|
-
canRotateZ?: boolean;
|
|
1804
|
-
canScaleX?: boolean;
|
|
1805
|
-
canScaleY?: boolean;
|
|
1806
|
-
canScaleZ?: boolean;
|
|
1807
|
-
colorable?: boolean;
|
|
1808
|
-
default180?: boolean;
|
|
1809
|
-
objectUUID?: string;
|
|
1810
|
-
conversionGTMSend?: boolean;
|
|
1811
|
-
conversionSubmittedPrice?: string;
|
|
1812
|
-
hdecoType?: string;
|
|
1813
|
-
opening?: {
|
|
1814
|
-
show: boolean;
|
|
1815
|
-
double: boolean;
|
|
1816
|
-
invertDirection: boolean;
|
|
1817
|
-
invertSide: boolean;
|
|
1818
|
-
};
|
|
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>;
|
|
1819
904
|
}
|
|
1820
905
|
|
|
1821
|
-
declare
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
width: number;
|
|
1850
|
-
tileSize: number;
|
|
1851
|
-
tileRotation: number;
|
|
1852
|
-
dimensions: Vector2;
|
|
1853
|
-
offsetScale: number;
|
|
1854
|
-
useStandalone: boolean;
|
|
1855
|
-
defaultStandalone: boolean;
|
|
1856
|
-
mirror: boolean;
|
|
1857
|
-
simplePlane: boolean;
|
|
1858
|
-
toneMapped: boolean;
|
|
1859
|
-
transparent: boolean;
|
|
1860
|
-
opacity: number;
|
|
1861
|
-
side: THREE.Side;
|
|
1862
|
-
depthWrite: boolean;
|
|
1863
|
-
depthTest: boolean;
|
|
1864
|
-
metadata?: Metadata;
|
|
1865
|
-
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
906
|
+
declare enum XrMode {
|
|
907
|
+
ArMode = "Ar Mode",
|
|
908
|
+
VrMode = "Vr Mode"
|
|
909
|
+
}
|
|
910
|
+
|
|
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>;
|
|
925
|
+
}
|
|
926
|
+
|
|
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>;
|
|
1866
934
|
}
|
|
1867
935
|
|
|
1868
|
-
declare
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
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>;
|
|
1873
949
|
}
|
|
1874
950
|
|
|
1875
|
-
declare
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
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>;
|
|
1881
997
|
}
|
|
1882
998
|
|
|
1883
|
-
declare
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
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;
|
|
1013
|
+
constructor();
|
|
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>;
|
|
1889
1038
|
}
|
|
1890
1039
|
|
|
1891
|
-
declare class
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1040
|
+
declare class ConfiguratorArService implements OnDestroy {
|
|
1041
|
+
private _cameraService;
|
|
1042
|
+
private _settingsService;
|
|
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);
|
|
1091
|
+
ngOnDestroy(): void;
|
|
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>;
|
|
1896
1152
|
}
|
|
1897
1153
|
|
|
1898
|
-
declare
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
position: Vector3;
|
|
1903
|
-
color: Color;
|
|
1904
|
-
groundColor: Color;
|
|
1905
|
-
intensity: number;
|
|
1906
|
-
angle: number;
|
|
1907
|
-
power: number;
|
|
1908
|
-
decay: number;
|
|
1909
|
-
distance: number;
|
|
1910
|
-
penumbra: number;
|
|
1911
|
-
bias: number;
|
|
1912
|
-
radius: number;
|
|
1913
|
-
castShadow: boolean;
|
|
1914
|
-
wallOffset: number;
|
|
1915
|
-
rotationOffset: number;
|
|
1916
|
-
topDownDirectional: boolean;
|
|
1917
|
-
shadow: ShadowProperties;
|
|
1918
|
-
static CreateNew(rawData: any): LightProperties;
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
declare enum ToneMappingLocal {
|
|
1922
|
-
NoToneMapping = "NoToneMapping",
|
|
1923
|
-
LinearToneMapping = "LinearToneMapping",
|
|
1924
|
-
ReinhardToneMapping = "ReinhardToneMapping",
|
|
1925
|
-
CineonToneMapping = "CineonToneMapping",
|
|
1926
|
-
ACESFilmicToneMapping = "ACESFilmicToneMapping",
|
|
1927
|
-
CustomToneMapping = "CustomToneMapping",
|
|
1928
|
-
AgXToneMapping = "AgXToneMapping",
|
|
1929
|
-
NeutralToneMapping = "NeutralToneMapping"
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
interface LightPresetInterface {
|
|
1933
|
-
id: string;
|
|
1934
|
-
name: string;
|
|
1935
|
-
default: boolean;
|
|
1936
|
-
standalone: boolean;
|
|
1937
|
-
group: string;
|
|
1938
|
-
navigatorType: NavigatorType;
|
|
1939
|
-
shadowMapType: ShadowMapLocalType;
|
|
1940
|
-
outputEncoding: OutputEncoding;
|
|
1941
|
-
shadowRadius: number;
|
|
1942
|
-
toneMapping: ToneMappingLocal;
|
|
1943
|
-
toneMappingExposure: number;
|
|
1944
|
-
physicallyCorrectLights: boolean;
|
|
1945
|
-
lights: LightProperties[];
|
|
1946
|
-
hdri: string;
|
|
1947
|
-
hdriIntensity: number;
|
|
1154
|
+
declare enum ViewMode {
|
|
1155
|
+
RoomPlan3D = "3D roomplan",
|
|
1156
|
+
VR = "VR",
|
|
1157
|
+
AR = "AR"
|
|
1948
1158
|
}
|
|
1949
1159
|
|
|
1950
|
-
declare class
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
toneMappingExposure: number;
|
|
1963
|
-
physicallyCorrectLights: boolean;
|
|
1964
|
-
lights: LightProperties[];
|
|
1965
|
-
hdri: string;
|
|
1966
|
-
hdriIntensity: number;
|
|
1967
|
-
dirty: boolean;
|
|
1968
|
-
constructor();
|
|
1969
|
-
static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
|
|
1970
|
-
private _generateUniqueId;
|
|
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>;
|
|
1971
1172
|
}
|
|
1972
1173
|
|
|
1973
|
-
declare class
|
|
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;
|
|
1974
1182
|
private _jsonUtilsService;
|
|
1975
|
-
private _settingsService;
|
|
1976
|
-
private _ioneControllerService;
|
|
1977
|
-
private _appInitializerService;
|
|
1978
|
-
private _configurationService;
|
|
1979
|
-
private _sceneService;
|
|
1980
|
-
private _sceneOptionsService;
|
|
1981
|
-
floorTextures: Texture[];
|
|
1982
|
-
lightPresets: LightPreset[];
|
|
1983
|
-
settings: Setting[];
|
|
1984
|
-
floorTexturesLoaded: BehaviorSubject<Texture[]>;
|
|
1985
|
-
lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
|
|
1986
|
-
settingsLoaded: BehaviorSubject<Setting[]>;
|
|
1987
|
-
allLoaded: BehaviorSubject<boolean>;
|
|
1988
|
-
private _assetPath;
|
|
1989
|
-
private _connectionSet;
|
|
1990
|
-
private _subs;
|
|
1991
|
-
private _jsonFile;
|
|
1992
|
-
private _lightPresetsJsonFile;
|
|
1993
|
-
constructor(_jsonUtilsService: JsonUtilsService, _settingsService: SettingsService, _ioneControllerService: ConfiguratorConnectorService, _appInitializerService: AppInitializerService, _configurationService: ConfigurationService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService);
|
|
1994
|
-
ngOnDestroy(): void;
|
|
1995
|
-
getFloorTextures(): Texture[];
|
|
1996
|
-
getFloorTexture(): Texture;
|
|
1997
|
-
getLightPreset(): LightPreset[];
|
|
1998
|
-
private _initialize;
|
|
1999
|
-
private _createTexture;
|
|
2000
|
-
private _createLightPreset;
|
|
2001
|
-
private _createSettings;
|
|
2002
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BundleInitializerService, never>;
|
|
2003
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BundleInitializerService>;
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
declare class FloorPlaneService implements OnDestroy {
|
|
2007
|
-
private _settingsService;
|
|
2008
|
-
private _sceneService;
|
|
2009
|
-
private _sceneOptionsService;
|
|
2010
|
-
private _bundleInitializerService;
|
|
2011
|
-
get floorPlane(): Object3D;
|
|
2012
|
-
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
2013
|
-
private _standaloneFloors;
|
|
2014
|
-
private _floorPlane;
|
|
2015
|
-
private _subs;
|
|
2016
|
-
private _sceneReady;
|
|
2017
|
-
private _texturesReady;
|
|
2018
|
-
constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
|
|
2019
|
-
ngOnDestroy(): void;
|
|
2020
|
-
createFloorPlane(): Promise<void>;
|
|
2021
|
-
getCenterFloorPlane(): Vector3;
|
|
2022
|
-
getDimensions(scale?: number): {
|
|
2023
|
-
x: {
|
|
2024
|
-
min: number;
|
|
2025
|
-
max: number;
|
|
2026
|
-
};
|
|
2027
|
-
y: {
|
|
2028
|
-
min: number;
|
|
2029
|
-
max: number;
|
|
2030
|
-
};
|
|
2031
|
-
};
|
|
2032
|
-
getPlaneSize(): Vector3;
|
|
2033
|
-
private _getStandaloneFloorSize;
|
|
2034
|
-
private _generateFloorPlane;
|
|
2035
|
-
private _createFloorMaterial;
|
|
2036
|
-
private _upsertFloorButtons;
|
|
2037
|
-
private _changeStandaloneFloor;
|
|
2038
|
-
private _setFloorTexture;
|
|
2039
|
-
private _updateFloorMaterial;
|
|
2040
|
-
private _setUpdatedMaterial;
|
|
2041
|
-
private _getMaterials;
|
|
2042
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
|
|
2043
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
declare class LightsService implements OnDestroy {
|
|
2047
|
-
private _sceneService;
|
|
2048
|
-
private _bundleInitializerService;
|
|
2049
|
-
private _configurationService;
|
|
2050
|
-
private _floorPlanService;
|
|
2051
|
-
lights: Light[];
|
|
2052
|
-
onLightAdded: Subject<{
|
|
2053
|
-
light: Light;
|
|
2054
|
-
index: number;
|
|
2055
|
-
}>;
|
|
2056
|
-
private _subs;
|
|
2057
|
-
constructor(_sceneService: SceneService, _bundleInitializerService: BundleInitializerService, _configurationService: ConfigurationService, _floorPlanService: FloorPlaneService);
|
|
2058
|
-
ngOnDestroy(): void;
|
|
2059
|
-
init(): void;
|
|
2060
|
-
createLight<T extends Light>(modelClass: any): void;
|
|
2061
|
-
addLight(light: Light): void;
|
|
2062
|
-
removeAllLights(): void;
|
|
2063
|
-
initiateLightPreset(): void;
|
|
2064
|
-
updateAllOffsets(): void;
|
|
2065
|
-
updateOffsets(light: Light): void;
|
|
2066
|
-
private _addLight;
|
|
2067
|
-
private _removeLight;
|
|
2068
|
-
private _updateShadowCamera;
|
|
2069
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
|
|
2070
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
declare class LightPresetsService implements OnDestroy {
|
|
2074
1183
|
private _lightsService;
|
|
2075
|
-
private
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
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;
|
|
2085
1206
|
private _subs;
|
|
2086
|
-
private
|
|
2087
|
-
|
|
2088
|
-
|
|
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);
|
|
2089
1214
|
ngOnDestroy(): void;
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
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>;
|
|
2106
1242
|
}
|
|
2107
1243
|
|
|
2108
|
-
declare class
|
|
1244
|
+
declare class ConfiguratorItemService implements OnDestroy {
|
|
2109
1245
|
private _sceneService;
|
|
2110
|
-
|
|
2111
|
-
private
|
|
2112
|
-
|
|
2113
|
-
private _floorPlaneService;
|
|
2114
|
-
private _itemService;
|
|
2115
|
-
private _appEventService;
|
|
2116
|
-
readonly intersectOffsetForWalls = 20;
|
|
2117
|
-
readonly longTouchDuration = 600;
|
|
2118
|
-
rotateNoDrag: boolean;
|
|
2119
|
-
private _element;
|
|
2120
|
-
private _controls;
|
|
2121
|
-
private _camera;
|
|
2122
|
-
private _mousePosition;
|
|
2123
|
-
private _oldMousePosition;
|
|
2124
|
-
private _rotationStartPoint;
|
|
2125
|
-
private _intersectedObject;
|
|
2126
|
-
private _intersectedMesh;
|
|
2127
|
-
private _mouseoverObject;
|
|
2128
|
-
private _selectedObject;
|
|
2129
|
-
private _prevSelectedObject;
|
|
2130
|
-
private _defaultCursorStyle;
|
|
2131
|
-
private _inDragOver;
|
|
2132
|
-
private _mouseDown;
|
|
2133
|
-
private _mouseMoved;
|
|
2134
|
-
private _rotateMouseOver;
|
|
2135
|
-
private _groupingMode;
|
|
2136
|
-
private _state;
|
|
2137
|
-
private _intersectedWall;
|
|
2138
|
-
private _intersectedFloor;
|
|
2139
|
-
private _subs;
|
|
2140
|
-
private _cameraMoveSub;
|
|
2141
|
-
private _debouncedSaveState;
|
|
2142
|
-
private _touchStart;
|
|
2143
|
-
private _touchEnd;
|
|
2144
|
-
private _touchCancel;
|
|
2145
|
-
private _touchMove;
|
|
2146
|
-
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);
|
|
2147
1249
|
ngOnDestroy(): void;
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
private _touchStartEvent;
|
|
2156
|
-
private _touchEndEvent;
|
|
2157
|
-
private _touchMoveEvent;
|
|
2158
|
-
private _mouseUpEvent;
|
|
2159
|
-
private _mouseMoveEvent;
|
|
2160
|
-
private _leftMouseDownEvent;
|
|
2161
|
-
private _getIntersections;
|
|
2162
|
-
private _setIntersectedObject;
|
|
2163
|
-
private _isMouseEventAllowed;
|
|
2164
|
-
private _mouseToVec3;
|
|
2165
|
-
private _markSceneToUpdate;
|
|
2166
|
-
private _setCursorStyle;
|
|
2167
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
|
|
2168
|
-
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>;
|
|
2169
1257
|
}
|
|
2170
1258
|
|
|
2171
1259
|
declare class RenderResponse {
|
|
@@ -2200,7 +1288,7 @@ declare class RenderBaseObject {
|
|
|
2200
1288
|
declare class RenderApi {
|
|
2201
1289
|
private _settingsService;
|
|
2202
1290
|
private _overWriteTransparency;
|
|
2203
|
-
constructor(_settingsService:
|
|
1291
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
2204
1292
|
prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
|
|
2205
1293
|
sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
|
|
2206
1294
|
degreesToVector3(value: number): Vector3;
|
|
@@ -2215,16 +1303,14 @@ declare class RenderApi {
|
|
|
2215
1303
|
declare class RenderService implements OnDestroy {
|
|
2216
1304
|
private _settingsService;
|
|
2217
1305
|
private _cameraService;
|
|
2218
|
-
private _itemService;
|
|
2219
1306
|
private _appEventService;
|
|
1307
|
+
private _sceneService;
|
|
2220
1308
|
private _renderApi;
|
|
2221
|
-
renderImageChanged: BehaviorSubject<string>;
|
|
2222
|
-
renderImageError: BehaviorSubject<string>;
|
|
2223
1309
|
blenderRenderStarted: EventEmitter<string>;
|
|
2224
1310
|
clientWidth: number;
|
|
2225
1311
|
clientHeight: number;
|
|
2226
1312
|
private _subs;
|
|
2227
|
-
constructor(_settingsService:
|
|
1313
|
+
constructor(_settingsService: ConfiguratorSettingsService, _cameraService: ConfiguratorCameraService, _appEventService: ConfiguratorEventService, _sceneService: ConfiguratorSceneService, _renderApi: RenderApi);
|
|
2228
1314
|
ngOnDestroy(): void;
|
|
2229
1315
|
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
2230
1316
|
getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
@@ -2234,70 +1320,47 @@ declare class RenderService implements OnDestroy {
|
|
|
2234
1320
|
}
|
|
2235
1321
|
|
|
2236
1322
|
declare class ConfiguringService implements OnDestroy {
|
|
2237
|
-
settingsService:
|
|
2238
|
-
private _initializerService;
|
|
1323
|
+
settingsService: ConfiguratorSettingsService;
|
|
2239
1324
|
private _loadFurnitureService;
|
|
2240
1325
|
private _buildFurnitureService;
|
|
2241
1326
|
private _appEventService;
|
|
2242
1327
|
private _configuratorConnectorService;
|
|
2243
1328
|
private _itemService;
|
|
2244
|
-
private _floorPlaneService;
|
|
2245
|
-
private _lightPresetService;
|
|
2246
|
-
private _cameraService;
|
|
2247
|
-
private _sceneEventService;
|
|
2248
|
-
private _sceneService;
|
|
2249
1329
|
private _utilsService;
|
|
2250
1330
|
private _renderService;
|
|
2251
|
-
set settings(value: ConfiguratorSettings);
|
|
2252
|
-
get settings(): ConfiguratorSettings;
|
|
2253
1331
|
set sku(value: string);
|
|
2254
1332
|
get sku(): string;
|
|
2255
1333
|
set instanceId(value: string);
|
|
2256
1334
|
get instanceId(): string;
|
|
2257
|
-
set isConfiguring(value: boolean);
|
|
2258
|
-
get isConfiguring(): boolean;
|
|
2259
1335
|
set scene(value: Scene);
|
|
2260
1336
|
get scene(): Scene;
|
|
2261
|
-
onShowLiteSelector: EventEmitter<boolean>;
|
|
2262
|
-
onShowSelections: EventEmitter<boolean>;
|
|
2263
|
-
onShowAnswers: EventEmitter<boolean>;
|
|
2264
|
-
onShowFullConfiguration: EventEmitter<boolean>;
|
|
2265
|
-
onAnswersAvailable: EventEmitter<boolean>;
|
|
2266
|
-
floorReady: EventEmitter<boolean>;
|
|
2267
|
-
onRenderImageReceived: EventEmitter<string>;
|
|
2268
|
-
onRenderErrorReceived: EventEmitter<string>;
|
|
2269
|
-
onThumbnailReceived: EventEmitter<string>;
|
|
2270
|
-
onCanvasImageReceived: EventEmitter<string>;
|
|
2271
1337
|
buildResult: ConfigurationResultObject;
|
|
2272
|
-
private _settings;
|
|
2273
1338
|
private _sku;
|
|
2274
1339
|
private _instanceId;
|
|
2275
|
-
private _isConfiguring;
|
|
2276
1340
|
private _scene;
|
|
2277
|
-
private _showFullConfiguration;
|
|
2278
1341
|
private _subs;
|
|
2279
|
-
constructor(settingsService:
|
|
1342
|
+
constructor(settingsService: ConfiguratorSettingsService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: ConfiguratorEventService, _configuratorConnectorService: ConfiguratorConnectorService, _itemService: ConfiguratorItemService, _utilsService: UtilsService, _renderService: RenderService);
|
|
2280
1343
|
ngOnDestroy(): void;
|
|
2281
|
-
init(settings: any): Promise<void>;
|
|
2282
1344
|
configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
|
|
2283
|
-
addBuildToScene(buildResult: ConfigurationResultObject): void;
|
|
2284
|
-
handleLoadSceneContent(): Promise<void>;
|
|
2285
1345
|
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
|
|
2286
|
-
private _handleTemplateChange;
|
|
2287
|
-
private _handleFloorPlaneReady;
|
|
2288
|
-
private _handleImageReceived;
|
|
2289
|
-
private _handleRenderErrorReceived;
|
|
2290
|
-
private _handleAnswerCountReceived;
|
|
2291
1346
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
|
|
2292
1347
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
|
|
2293
1348
|
}
|
|
2294
1349
|
|
|
2295
|
-
declare class ConfiguratorComponent implements OnDestroy {
|
|
2296
|
-
settingsService:
|
|
1350
|
+
declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
1351
|
+
settingsService: ConfiguratorSettingsService;
|
|
2297
1352
|
loaderService: LoaderService;
|
|
2298
|
-
private
|
|
1353
|
+
private _configuratorEventService;
|
|
2299
1354
|
private _configuringService;
|
|
2300
|
-
|
|
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;
|
|
2301
1364
|
showLoader: boolean;
|
|
2302
1365
|
showProgressBar: boolean;
|
|
2303
1366
|
showErrorMessages: boolean;
|
|
@@ -2306,7 +1369,6 @@ declare class ConfiguratorComponent implements OnDestroy {
|
|
|
2306
1369
|
animateSlideout: boolean;
|
|
2307
1370
|
showHeaderInformation: boolean;
|
|
2308
1371
|
showSaveAndLoadConfiguration: boolean;
|
|
2309
|
-
buildResult: EventEmitter<ConfigurationResultObject>;
|
|
2310
1372
|
isLoading: EventEmitter<boolean>;
|
|
2311
1373
|
updateProgressBar: EventEmitter<boolean>;
|
|
2312
1374
|
errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
|
|
@@ -2314,15 +1376,30 @@ declare class ConfiguratorComponent implements OnDestroy {
|
|
|
2314
1376
|
resultHasErrors: boolean;
|
|
2315
1377
|
showErrorDiagram: boolean;
|
|
2316
1378
|
configurationResultObject: ConfigurationResultObject;
|
|
1379
|
+
showFullConfiguration: boolean;
|
|
1380
|
+
showLiteSelector: boolean;
|
|
1381
|
+
showSelections: boolean;
|
|
1382
|
+
showAnswers: boolean;
|
|
1383
|
+
loaded: boolean;
|
|
2317
1384
|
private _subs;
|
|
2318
|
-
|
|
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;
|
|
2319
1393
|
ngOnDestroy(): void;
|
|
2320
|
-
|
|
1394
|
+
_initConnection(): void;
|
|
2321
1395
|
handleShowChange(show: boolean): void;
|
|
2322
1396
|
handleCloseErrorDialog(): void;
|
|
2323
1397
|
private _handleArticleNotFound;
|
|
1398
|
+
private _handleAnswerCountReceived;
|
|
1399
|
+
private _handleBuildFinished;
|
|
1400
|
+
private _handleTemplateChange;
|
|
2324
1401
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
2325
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showErrorMessages": { "alias": "showErrorMessages"; "required": false; }; "outputErrorMessages": { "alias": "outputErrorMessages"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "
|
|
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>;
|
|
2326
1403
|
}
|
|
2327
1404
|
|
|
2328
1405
|
declare class ProgressBarComponent {
|
|
@@ -2353,6 +1430,123 @@ declare class ConfiguratorLoaderModule {
|
|
|
2353
1430
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
|
|
2354
1431
|
}
|
|
2355
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
|
+
|
|
2356
1550
|
declare class IconCacheService {
|
|
2357
1551
|
private _sanitizer;
|
|
2358
1552
|
/**
|
|
@@ -2386,11 +1580,11 @@ declare class ConfiguratorErrorDialogComponent {
|
|
|
2386
1580
|
|
|
2387
1581
|
declare class ConfiguratorExportDialogComponent {
|
|
2388
1582
|
iconService: IconCacheService;
|
|
2389
|
-
itemService:
|
|
1583
|
+
itemService: ConfiguratorItemService;
|
|
2390
1584
|
private _utilService;
|
|
2391
1585
|
readonly icons: typeof IconEnum;
|
|
2392
1586
|
closeExportDialog: EventEmitter<void>;
|
|
2393
|
-
constructor(iconService: IconCacheService, itemService:
|
|
1587
|
+
constructor(iconService: IconCacheService, itemService: ConfiguratorItemService, _utilService: UtilsService);
|
|
2394
1588
|
onClose(): void;
|
|
2395
1589
|
downloadGLB(): void;
|
|
2396
1590
|
downloadUSDZ(): void;
|
|
@@ -2417,20 +1611,20 @@ declare class CameraSettings {
|
|
|
2417
1611
|
minZoomDistance: number;
|
|
2418
1612
|
}
|
|
2419
1613
|
|
|
2420
|
-
declare class
|
|
1614
|
+
declare class ConfiguratorDynamicCameraService {
|
|
2421
1615
|
private _cameraService;
|
|
2422
1616
|
private _sceneService;
|
|
2423
1617
|
private _settingsService;
|
|
2424
1618
|
private _configuratorConnectorService;
|
|
2425
1619
|
currentCameraSettings: CameraSettings[];
|
|
2426
|
-
constructor(_cameraService:
|
|
1620
|
+
constructor(_cameraService: ConfiguratorCameraService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2427
1621
|
initCameraSettings(): Promise<void>;
|
|
2428
1622
|
getCameraSettings(): CameraSettings;
|
|
2429
1623
|
loadCustomCameraSettings(): Promise<void>;
|
|
2430
1624
|
exportCameraSettings(): any;
|
|
2431
1625
|
saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
|
|
2432
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2433
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDynamicCameraService, never>;
|
|
1627
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorDynamicCameraService>;
|
|
2434
1628
|
}
|
|
2435
1629
|
|
|
2436
1630
|
declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
@@ -2444,7 +1638,7 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
|
2444
1638
|
currentSku: string;
|
|
2445
1639
|
positionAsString: string;
|
|
2446
1640
|
rotationAsString: string;
|
|
2447
|
-
constructor(iconService: IconCacheService, _cameraService:
|
|
1641
|
+
constructor(iconService: IconCacheService, _cameraService: ConfiguratorCameraService, _dynamicCameraService: ConfiguratorDynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2448
1642
|
ngOnInit(): void;
|
|
2449
1643
|
onClose(): void;
|
|
2450
1644
|
saveSettings(asDefault: boolean): void;
|
|
@@ -2456,101 +1650,41 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
|
2456
1650
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
|
|
2457
1651
|
}
|
|
2458
1652
|
|
|
2459
|
-
declare class AppendPipe implements PipeTransform {
|
|
2460
|
-
transform(value: string, append?: string): string;
|
|
2461
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
|
|
2462
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
declare class LocalizePipe implements PipeTransform {
|
|
2466
|
-
private _dictionaryService;
|
|
2467
|
-
constructor(_dictionaryService: DictionaryService);
|
|
2468
|
-
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
2469
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
2470
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
declare class GoogleTranslateService implements OnDestroy {
|
|
2474
|
-
private _settingsService;
|
|
2475
|
-
private _connectorService;
|
|
2476
|
-
private _clientLanguage;
|
|
2477
|
-
private _defaultLanguage;
|
|
2478
|
-
private _translations;
|
|
2479
|
-
private _initialized;
|
|
2480
|
-
private _initializedSubject;
|
|
2481
|
-
private _connectionSubject;
|
|
2482
|
-
protected googleApiEnabled: boolean;
|
|
2483
|
-
constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
|
|
2484
|
-
ngOnDestroy(): void;
|
|
2485
|
-
getTranslation(input: string): Promise<string>;
|
|
2486
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
|
|
2487
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
declare class GoogleTranslatePipe implements PipeTransform {
|
|
2491
|
-
private _googleTranslateService;
|
|
2492
|
-
constructor(_googleTranslateService: GoogleTranslateService);
|
|
2493
|
-
transform(value: string): Observable<string>;
|
|
2494
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
|
|
2495
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
declare class PrependPipe implements PipeTransform {
|
|
2499
|
-
transform(value: string, prepend?: string): string;
|
|
2500
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
|
|
2501
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
|
|
2502
|
-
}
|
|
2503
|
-
|
|
2504
|
-
declare class StripHtmlPipe implements PipeTransform {
|
|
2505
|
-
transform(html: string): string;
|
|
2506
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
|
|
2507
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
|
|
2508
|
-
}
|
|
2509
|
-
|
|
2510
|
-
declare class PipesModule {
|
|
2511
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
2512
|
-
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]>;
|
|
2513
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
1653
|
declare class ConfiguratorDialogModule {
|
|
2517
1654
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
|
|
2518
|
-
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]>;
|
|
2519
1656
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
|
|
2520
1657
|
}
|
|
2521
1658
|
|
|
2522
|
-
declare class
|
|
2523
|
-
|
|
2524
|
-
private _buildFurnitureService;
|
|
1659
|
+
declare class ConfigurationPresetDialogComponent implements OnDestroy {
|
|
1660
|
+
iconService: IconCacheService;
|
|
2525
1661
|
private _configuringService;
|
|
2526
|
-
private
|
|
1662
|
+
private _configuratorConnectorService;
|
|
1663
|
+
private _translationService;
|
|
1664
|
+
private _appEventService;
|
|
1665
|
+
readonly icons: typeof IconEnum;
|
|
1666
|
+
readonly presetDialogMode: typeof PresetDialogMode;
|
|
2527
1667
|
showClass(): boolean;
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
showSaveAndLoadConfiguration: boolean;
|
|
2534
|
-
buildFinished: EventEmitter<ConfigurationResultObject>;
|
|
2535
|
-
showChange: EventEmitter<boolean>;
|
|
2536
|
-
showElementToolbar: boolean;
|
|
2537
|
-
showLiteSelector: boolean;
|
|
2538
|
-
showSelections: boolean;
|
|
2539
|
-
showAnswers: boolean;
|
|
2540
|
-
showFullConfiguration: boolean;
|
|
2541
|
-
private _floorTexturesLoadedSub;
|
|
1668
|
+
showDialog: boolean;
|
|
1669
|
+
instanceIdInput: string;
|
|
1670
|
+
dialogMode: PresetDialogMode;
|
|
1671
|
+
showValidationErrors: boolean;
|
|
1672
|
+
validationError: string;
|
|
2542
1673
|
private _subs;
|
|
2543
|
-
|
|
2544
|
-
constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
|
|
2545
|
-
ngOnInit(): Promise<void>;
|
|
1674
|
+
constructor(iconService: IconCacheService, _configuringService: ConfiguringService, _configuratorConnectorService: ConfiguratorConnectorService, _translationService: TranslationService, _appEventService: ConfiguratorEventService);
|
|
2546
1675
|
ngOnDestroy(): void;
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
static
|
|
2553
|
-
|
|
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>;
|
|
2554
1688
|
}
|
|
2555
1689
|
|
|
2556
1690
|
declare class LiteSelectorComponent implements OnDestroy {
|
|
@@ -2559,11 +1693,7 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
2559
1693
|
private _configuringService;
|
|
2560
1694
|
showClass(): boolean;
|
|
2561
1695
|
templateAnswers: TemplateRef<any>;
|
|
2562
|
-
set showAnswers(value: boolean);
|
|
2563
|
-
get showAnswers(): boolean;
|
|
2564
1696
|
show: boolean;
|
|
2565
|
-
set showSelections(value: boolean);
|
|
2566
|
-
get showSelections(): boolean;
|
|
2567
1697
|
showLabel: boolean;
|
|
2568
1698
|
canClose: boolean;
|
|
2569
1699
|
animateSlideout: boolean;
|
|
@@ -2585,11 +1715,11 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
2585
1715
|
onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
|
|
2586
1716
|
onAnswersSlideoutAnswerChosen(answerSelected: any): void;
|
|
2587
1717
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
|
|
2588
|
-
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>;
|
|
2589
1719
|
}
|
|
2590
1720
|
|
|
2591
1721
|
declare class AnswerCardComponent implements OnInit {
|
|
2592
|
-
settingsService:
|
|
1722
|
+
settingsService: ConfiguratorSettingsService;
|
|
2593
1723
|
iconService: IconCacheService;
|
|
2594
1724
|
private _configuratorConnectorService;
|
|
2595
1725
|
readonly icons: typeof IconEnum;
|
|
@@ -2619,7 +1749,7 @@ declare class AnswerCardComponent implements OnInit {
|
|
|
2619
1749
|
showAnswerInfo: boolean;
|
|
2620
1750
|
private _waitForInput;
|
|
2621
1751
|
private _waitForInqValue;
|
|
2622
|
-
constructor(settingsService:
|
|
1752
|
+
constructor(settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2623
1753
|
ngOnInit(): void;
|
|
2624
1754
|
onContentClick(): void;
|
|
2625
1755
|
handleClick(event: MouseEvent): void;
|
|
@@ -2643,7 +1773,7 @@ declare class AnswerCardComponent implements OnInit {
|
|
|
2643
1773
|
|
|
2644
1774
|
declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
2645
1775
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2646
|
-
settingsService:
|
|
1776
|
+
settingsService: ConfiguratorSettingsService;
|
|
2647
1777
|
iconService: IconCacheService;
|
|
2648
1778
|
private _appEventService;
|
|
2649
1779
|
private _buildFurnitureService;
|
|
@@ -2654,7 +1784,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2654
1784
|
readonly icons: typeof IconEnum;
|
|
2655
1785
|
private readonly _showSmallAnswerCardsFromThisAmount;
|
|
2656
1786
|
private readonly _propsToSearch;
|
|
2657
|
-
isShown: boolean;
|
|
2658
1787
|
question: Question;
|
|
2659
1788
|
showTitle: boolean;
|
|
2660
1789
|
showFilter: boolean;
|
|
@@ -2662,7 +1791,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2662
1791
|
useSlideout: boolean;
|
|
2663
1792
|
get answers(): Answer[];
|
|
2664
1793
|
customDimensions: boolean;
|
|
2665
|
-
readonly isShownChange: EventEmitter<boolean>;
|
|
2666
1794
|
readonly answerChosen: EventEmitter<{
|
|
2667
1795
|
answer: Answer;
|
|
2668
1796
|
input: string;
|
|
@@ -2686,7 +1814,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2686
1814
|
private _subs;
|
|
2687
1815
|
private _filterOnColors;
|
|
2688
1816
|
private _filterOnTags;
|
|
2689
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
1817
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _appEventService: ConfiguratorEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
|
|
2690
1818
|
ngOnInit(): void;
|
|
2691
1819
|
ngOnDestroy(): void;
|
|
2692
1820
|
onZoomClick(answer: Answer): void;
|
|
@@ -2711,7 +1839,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2711
1839
|
private _addToArray;
|
|
2712
1840
|
private _inArray;
|
|
2713
1841
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
|
|
2714
|
-
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>;
|
|
2715
1843
|
}
|
|
2716
1844
|
|
|
2717
1845
|
declare class SlideoutComponent implements AfterViewInit {
|
|
@@ -2763,7 +1891,7 @@ declare class AnswersInfoDialogComponent implements OnInit {
|
|
|
2763
1891
|
showTooltip: boolean;
|
|
2764
1892
|
showPopup: boolean;
|
|
2765
1893
|
hasEmbed: boolean;
|
|
2766
|
-
constructor(iconService: IconCacheService, _settingsService:
|
|
1894
|
+
constructor(iconService: IconCacheService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
|
|
2767
1895
|
ngOnInit(): Promise<void>;
|
|
2768
1896
|
private _loadInfo;
|
|
2769
1897
|
private _formatAnswerInfo;
|
|
@@ -2773,13 +1901,13 @@ declare class AnswersInfoDialogComponent implements OnInit {
|
|
|
2773
1901
|
|
|
2774
1902
|
declare class AnswersInfoDialogModule {
|
|
2775
1903
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
|
|
2776
|
-
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]>;
|
|
2777
1905
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
|
|
2778
1906
|
}
|
|
2779
1907
|
|
|
2780
1908
|
declare class AnswerCardModule {
|
|
2781
1909
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
|
|
2782
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i3$1.CardModule, 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]>;
|
|
2783
1911
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
|
|
2784
1912
|
}
|
|
2785
1913
|
|
|
@@ -2870,7 +1998,7 @@ declare class DirectivesModule {
|
|
|
2870
1998
|
|
|
2871
1999
|
declare class AnswersSlideoutModule {
|
|
2872
2000
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
|
|
2873
|
-
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]>;
|
|
2874
2002
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
|
|
2875
2003
|
}
|
|
2876
2004
|
|
|
@@ -2957,7 +2085,7 @@ declare class CoSummaryLine implements AfterViewInit {
|
|
|
2957
2085
|
|
|
2958
2086
|
declare class CoSummaryLineModule {
|
|
2959
2087
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
|
|
2960
|
-
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]>;
|
|
2961
2089
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
|
|
2962
2090
|
}
|
|
2963
2091
|
|
|
@@ -2987,7 +2115,7 @@ declare class SelectionsSummaryLineComponent implements OnDestroy {
|
|
|
2987
2115
|
|
|
2988
2116
|
declare class SelectionsSummaryLineModule {
|
|
2989
2117
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
|
|
2990
|
-
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]>;
|
|
2991
2119
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
|
|
2992
2120
|
}
|
|
2993
2121
|
|
|
@@ -2998,7 +2126,7 @@ declare class ConfigurationPresetComponent {
|
|
|
2998
2126
|
isSaveLoadMenuOpen: boolean;
|
|
2999
2127
|
showClass(): boolean;
|
|
3000
2128
|
closeSaveLoadMenu(): void;
|
|
3001
|
-
constructor(iconService: IconCacheService, _appEventService:
|
|
2129
|
+
constructor(iconService: IconCacheService, _appEventService: ConfiguratorEventService);
|
|
3002
2130
|
toggleSaveLoadMenu(event: MouseEvent): void;
|
|
3003
2131
|
handleSavePresetClicked(): void;
|
|
3004
2132
|
handleLoadPresetClicked(): void;
|
|
@@ -3008,13 +2136,13 @@ declare class ConfigurationPresetComponent {
|
|
|
3008
2136
|
|
|
3009
2137
|
declare class ConfigurationPresetModule {
|
|
3010
2138
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetModule, never>;
|
|
3011
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetModule, [typeof ConfigurationPresetComponent], [typeof
|
|
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]>;
|
|
3012
2140
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetModule>;
|
|
3013
2141
|
}
|
|
3014
2142
|
|
|
3015
2143
|
declare class SelectionsSummaryModule {
|
|
3016
2144
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
|
|
3017
|
-
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]>;
|
|
3018
2146
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
|
|
3019
2147
|
}
|
|
3020
2148
|
|
|
@@ -3032,18 +2160,17 @@ declare class ProductConfiguratorService {
|
|
|
3032
2160
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
|
|
3033
2161
|
}
|
|
3034
2162
|
|
|
3035
|
-
declare class ProductConfiguratorComponent implements
|
|
2163
|
+
declare class ProductConfiguratorComponent implements OnDestroy {
|
|
3036
2164
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3037
2165
|
buildFurnitureService: SwitchBuildFurnitureService;
|
|
3038
|
-
settingsService:
|
|
2166
|
+
settingsService: ConfiguratorSettingsService;
|
|
3039
2167
|
productConfiguratorService: ProductConfiguratorService;
|
|
3040
2168
|
iconService: IconCacheService;
|
|
3041
2169
|
private _sanitizer;
|
|
3042
2170
|
private _configuringService;
|
|
2171
|
+
private _eventService;
|
|
3043
2172
|
showClass(): boolean;
|
|
3044
2173
|
readonly icons: typeof IconEnum;
|
|
3045
|
-
set show(value: boolean);
|
|
3046
|
-
get show(): boolean;
|
|
3047
2174
|
showHeaderInformation: boolean;
|
|
3048
2175
|
set showSelections(value: boolean);
|
|
3049
2176
|
get showSelections(): boolean;
|
|
@@ -3061,18 +2188,19 @@ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
3061
2188
|
private _show;
|
|
3062
2189
|
private _selectionSelected;
|
|
3063
2190
|
private _subs;
|
|
3064
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService:
|
|
3065
|
-
ngOnInit(): void;
|
|
2191
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService, _eventService: ConfiguratorEventService);
|
|
3066
2192
|
ngOnDestroy(): void;
|
|
3067
2193
|
onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
3068
2194
|
handleCloseClick(): void;
|
|
2195
|
+
private _handleSelectionWithAnswersChanged;
|
|
2196
|
+
private _handleArticleReceived;
|
|
3069
2197
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
3070
|
-
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>;
|
|
3071
2199
|
}
|
|
3072
2200
|
|
|
3073
2201
|
declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges {
|
|
3074
2202
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3075
|
-
settingsService:
|
|
2203
|
+
settingsService: ConfiguratorSettingsService;
|
|
3076
2204
|
iconService: IconCacheService;
|
|
3077
2205
|
get hostClasses(): string;
|
|
3078
2206
|
readonly icons: typeof IconEnum;
|
|
@@ -3097,7 +2225,7 @@ declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges
|
|
|
3097
2225
|
get suppressSubShowMoreForChildren(): boolean;
|
|
3098
2226
|
get groupedRemainingTilesCount(): number;
|
|
3099
2227
|
get useGroupedVisibilityForChildren(): boolean;
|
|
3100
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
2228
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService);
|
|
3101
2229
|
ngOnInit(): void;
|
|
3102
2230
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3103
2231
|
showAndScroll(): void;
|
|
@@ -3120,7 +2248,7 @@ declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges
|
|
|
3120
2248
|
|
|
3121
2249
|
declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnChanges {
|
|
3122
2250
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3123
|
-
settingsService:
|
|
2251
|
+
settingsService: ConfiguratorSettingsService;
|
|
3124
2252
|
productConfiguratorService: ProductConfiguratorService;
|
|
3125
2253
|
showClass(): boolean;
|
|
3126
2254
|
selection: SelectorStructure;
|
|
@@ -3137,7 +2265,7 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnCh
|
|
|
3137
2265
|
remainingTilesCount: number;
|
|
3138
2266
|
readonly smallTileOptions: ConfigurationDisplayOption[];
|
|
3139
2267
|
readonly largeTileOptions: ConfigurationDisplayOption[];
|
|
3140
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
2268
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService);
|
|
3141
2269
|
ngOnInit(): void;
|
|
3142
2270
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3143
2271
|
selectionClicked(answer: SelectorStructure): void;
|
|
@@ -3152,14 +2280,14 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnCh
|
|
|
3152
2280
|
declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
3153
2281
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3154
2282
|
iconService: IconCacheService;
|
|
3155
|
-
settingsService:
|
|
2283
|
+
settingsService: ConfiguratorSettingsService;
|
|
3156
2284
|
showClass(): boolean;
|
|
3157
2285
|
readonly icons: typeof IconEnum;
|
|
3158
2286
|
option: SelectorStructure;
|
|
3159
2287
|
tileClass: string;
|
|
3160
2288
|
noLabel: boolean;
|
|
3161
2289
|
selectionClicked: EventEmitter<void>;
|
|
3162
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2290
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3163
2291
|
changeSelection(): void;
|
|
3164
2292
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
|
|
3165
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>;
|
|
@@ -3167,19 +2295,19 @@ declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
|
3167
2295
|
|
|
3168
2296
|
declare class ProductConfiguratorSelectorOptionTileModule {
|
|
3169
2297
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
|
|
3170
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof
|
|
2298
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
|
|
3171
2299
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
|
|
3172
2300
|
}
|
|
3173
2301
|
|
|
3174
2302
|
declare class ProductConfiguratorOptionCheckboxComponent {
|
|
3175
2303
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3176
2304
|
iconService: IconCacheService;
|
|
3177
|
-
settingsService:
|
|
2305
|
+
settingsService: ConfiguratorSettingsService;
|
|
3178
2306
|
showClass(): boolean;
|
|
3179
2307
|
readonly icons: typeof IconEnum;
|
|
3180
2308
|
option: SelectorStructure;
|
|
3181
2309
|
selectionClicked: EventEmitter<void>;
|
|
3182
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2310
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3183
2311
|
changeSelection(): void;
|
|
3184
2312
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
|
|
3185
2313
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
@@ -3187,243 +2315,665 @@ declare class ProductConfiguratorOptionCheckboxComponent {
|
|
|
3187
2315
|
|
|
3188
2316
|
declare class ProductConfiguratorSelectorOptionCheckboxModule {
|
|
3189
2317
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
|
|
3190
|
-
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]>;
|
|
3191
2319
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
|
|
3192
2320
|
}
|
|
3193
2321
|
|
|
3194
|
-
declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
3195
|
-
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3196
|
-
iconService: IconCacheService;
|
|
3197
|
-
settingsService:
|
|
3198
|
-
showClass(): boolean;
|
|
3199
|
-
readonly icons: typeof IconEnum;
|
|
3200
|
-
option: SelectorStructure;
|
|
3201
|
-
selectionClicked: EventEmitter<void>;
|
|
3202
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
3203
|
-
changeSelection(): void;
|
|
3204
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
|
|
3205
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2322
|
+
declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
2323
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2324
|
+
iconService: IconCacheService;
|
|
2325
|
+
settingsService: ConfiguratorSettingsService;
|
|
2326
|
+
showClass(): boolean;
|
|
2327
|
+
readonly icons: typeof IconEnum;
|
|
2328
|
+
option: SelectorStructure;
|
|
2329
|
+
selectionClicked: EventEmitter<void>;
|
|
2330
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
2331
|
+
changeSelection(): void;
|
|
2332
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
|
|
2333
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
declare class ProductConfiguratorSelectorOptionButtonModule {
|
|
2337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
|
|
2338
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
|
|
2339
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
declare class ProductConfiguratorSelectorOptionDropDownComponent {
|
|
2343
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2344
|
+
iconService: IconCacheService;
|
|
2345
|
+
settingsService: ConfiguratorSettingsService;
|
|
2346
|
+
showClass(): boolean;
|
|
2347
|
+
readonly icons: typeof IconEnum;
|
|
2348
|
+
options: SelectorStructure[];
|
|
2349
|
+
tileClass: string;
|
|
2350
|
+
selectionClicked: EventEmitter<SelectorStructure>;
|
|
2351
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
2352
|
+
onChange(event: Event): void;
|
|
2353
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
|
|
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>;
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
2358
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
|
|
2359
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
|
|
2360
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
declare class ProductConfiguratorSelectorOptionModule {
|
|
2364
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
|
|
2365
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
|
|
2366
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
declare class ProductConfiguratorSelectorModule {
|
|
2370
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
2371
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
|
|
2372
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
declare class ProductConfiguratorModule {
|
|
2376
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
|
|
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>;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
declare class ConfiguratorModule {
|
|
2382
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
|
|
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]>;
|
|
2384
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
declare class ConfiguratorSceneLoaderComponent {
|
|
2388
|
+
showClass: boolean;
|
|
2389
|
+
loaderProgress: number;
|
|
2390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
|
|
2391
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
declare class ConfiguratorSceneLoaderModule {
|
|
2395
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
|
|
2396
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i3.CommonModule], [typeof ConfiguratorSceneLoaderComponent]>;
|
|
2397
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
declare class CustomButton {
|
|
2401
|
+
caption: string;
|
|
2402
|
+
handler: Function;
|
|
2403
|
+
data: any;
|
|
2404
|
+
xPos: number;
|
|
2405
|
+
yPos: number;
|
|
2406
|
+
size: number;
|
|
2407
|
+
opacity: number;
|
|
2408
|
+
constructor(caption?: string, handler?: Function, data?: any);
|
|
2409
|
+
}
|
|
2410
|
+
|
|
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[];
|
|
3206
2487
|
}
|
|
3207
2488
|
|
|
3208
|
-
declare class
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
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>;
|
|
3212
2496
|
}
|
|
3213
2497
|
|
|
3214
|
-
declare class
|
|
3215
|
-
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2498
|
+
declare class SceneOptionsComponent implements OnDestroy {
|
|
3216
2499
|
iconService: IconCacheService;
|
|
3217
|
-
|
|
2500
|
+
private _sceneOptionsService;
|
|
3218
2501
|
showClass(): boolean;
|
|
3219
2502
|
readonly icons: typeof IconEnum;
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
constructor(
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
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>;
|
|
3227
2514
|
}
|
|
3228
2515
|
|
|
3229
|
-
declare class
|
|
3230
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
3231
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
3232
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
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>;
|
|
3233
2520
|
}
|
|
3234
2521
|
|
|
3235
|
-
declare
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
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"
|
|
3239
2560
|
}
|
|
3240
2561
|
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
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;
|
|
3245
2600
|
}
|
|
3246
2601
|
|
|
3247
|
-
declare class
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
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>;
|
|
3251
2612
|
}
|
|
3252
2613
|
|
|
3253
|
-
declare class
|
|
3254
|
-
|
|
3255
|
-
private
|
|
3256
|
-
private
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
readonly icons: typeof IconEnum;
|
|
3260
|
-
readonly presetDialogMode: typeof PresetDialogMode;
|
|
3261
|
-
showClass(): boolean;
|
|
3262
|
-
showDialog: boolean;
|
|
3263
|
-
instanceIdInput: string;
|
|
3264
|
-
dialogMode: PresetDialogMode;
|
|
3265
|
-
showValidationErrors: boolean;
|
|
3266
|
-
validationError: string;
|
|
2614
|
+
declare class ConfiguratorRotationService implements OnDestroy {
|
|
2615
|
+
private _configService;
|
|
2616
|
+
private _sceneService;
|
|
2617
|
+
private _settingsService;
|
|
2618
|
+
objectRotated: Subject<void>;
|
|
2619
|
+
sliderValue: number;
|
|
3267
2620
|
private _subs;
|
|
3268
|
-
|
|
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);
|
|
3269
2631
|
ngOnDestroy(): void;
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
static
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
declare class ConfiguratorModule {
|
|
3291
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
|
|
3292
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ThreedselectorModule], [typeof ConfiguratorComponent]>;
|
|
3293
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
|
|
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>;
|
|
3294
2651
|
}
|
|
3295
2652
|
|
|
3296
|
-
declare
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
2653
|
+
declare enum TextureType {
|
|
2654
|
+
Basic = 0,
|
|
2655
|
+
Image = 1,
|
|
2656
|
+
CustomPattern = 2,
|
|
2657
|
+
PBR = 3,
|
|
2658
|
+
SHADOW = 4
|
|
3301
2659
|
}
|
|
3302
2660
|
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
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;
|
|
3307
2702
|
}
|
|
3308
2703
|
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
xPos: number;
|
|
3314
|
-
yPos: number;
|
|
3315
|
-
size: number;
|
|
3316
|
-
opacity: number;
|
|
3317
|
-
constructor(caption?: string, handler?: Function, data?: any);
|
|
2704
|
+
interface AdjustableElementInterface {
|
|
2705
|
+
identifier: string;
|
|
2706
|
+
connector: string;
|
|
2707
|
+
connectedNodeId: number;
|
|
3318
2708
|
}
|
|
3319
2709
|
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
private _elementRef;
|
|
3323
|
-
private _settingsService;
|
|
3324
|
-
showClass(): boolean;
|
|
3325
|
-
readonly icon: typeof IconEnum;
|
|
3326
|
-
disableMouse: boolean;
|
|
3327
|
-
handleDocumentMouseUp(event: any): void;
|
|
3328
|
-
handleDocumentMouseDown(event: any): void;
|
|
3329
|
-
addButtons: CustomButton[];
|
|
3330
|
-
customizeButtons: CustomButton[];
|
|
3331
|
-
resizeButtons: CustomButton[];
|
|
3332
|
-
elementPointer: ElementRef;
|
|
3333
|
-
set elementPosition(value: Vector2);
|
|
3334
|
-
customizeButtonClicked: EventEmitter<void>;
|
|
3335
|
-
get elementPosition(): Vector2;
|
|
3336
|
-
showCaptionAddButton: boolean;
|
|
3337
|
-
private _elementPosition;
|
|
3338
|
-
private _subs;
|
|
3339
|
-
constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: SettingsService);
|
|
3340
|
-
ngOnDestroy(): void;
|
|
3341
|
-
private _repositionLine;
|
|
3342
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
|
|
3343
|
-
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>;
|
|
2710
|
+
interface Skin {
|
|
2711
|
+
[face: string]: SkinFragment;
|
|
3344
2712
|
}
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
|
|
3349
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
|
|
2713
|
+
interface SkinFragment {
|
|
2714
|
+
color?: number;
|
|
2715
|
+
texture?: Texture;
|
|
3350
2716
|
}
|
|
3351
2717
|
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
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
|
+
};
|
|
3372
2788
|
}
|
|
3373
2789
|
|
|
3374
|
-
declare class
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
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;
|
|
3378
2835
|
}
|
|
3379
2836
|
|
|
3380
|
-
declare class
|
|
3381
|
-
|
|
2837
|
+
declare class FloorPlaneService implements OnDestroy {
|
|
2838
|
+
private _settingsService;
|
|
2839
|
+
private _sceneService;
|
|
3382
2840
|
private _sceneOptionsService;
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
2841
|
+
get floorPlane(): Object3D;
|
|
2842
|
+
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
2843
|
+
floorTextures: Texture[];
|
|
2844
|
+
private _standaloneFloors;
|
|
2845
|
+
private _floorPlane;
|
|
3386
2846
|
private _subs;
|
|
3387
|
-
|
|
3388
|
-
constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
|
|
2847
|
+
constructor(_settingsService: ConfiguratorSettingsService, _sceneService: ConfiguratorSceneService, _sceneOptionsService: SceneOptionsService);
|
|
3389
2848
|
ngOnDestroy(): void;
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
}
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
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>;
|
|
3402
2874
|
}
|
|
3403
2875
|
|
|
3404
|
-
declare class ConfiguratorSceneComponent implements OnDestroy {
|
|
3405
|
-
private
|
|
2876
|
+
declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
2877
|
+
private _settingsService;
|
|
2878
|
+
private _rotationService;
|
|
2879
|
+
private _dynamicCameraService;
|
|
3406
2880
|
private _sceneService;
|
|
3407
|
-
private
|
|
3408
|
-
private
|
|
3409
|
-
private
|
|
3410
|
-
private
|
|
3411
|
-
|
|
2881
|
+
private _eventService;
|
|
2882
|
+
private _cameraService;
|
|
2883
|
+
private _itemService;
|
|
2884
|
+
private _buildFurnitureService;
|
|
2885
|
+
private _floorService;
|
|
3412
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;
|
|
3413
2900
|
private _subs;
|
|
3414
|
-
|
|
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;
|
|
3415
2906
|
ngOnDestroy(): void;
|
|
3416
|
-
|
|
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;
|
|
3417
2922
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
3418
|
-
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>;
|
|
3419
2924
|
}
|
|
3420
2925
|
|
|
3421
2926
|
declare class ConfiguratorSceneModule {
|
|
3422
2927
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneModule, never>;
|
|
3423
|
-
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]>;
|
|
3424
2929
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneModule>;
|
|
3425
2930
|
}
|
|
3426
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
|
+
|
|
3427
2977
|
declare class Builder {
|
|
3428
2978
|
selectionsReceived: BehaviorSubject<Selection[]>;
|
|
3429
2979
|
articleLoaded: BehaviorSubject<Article>;
|
|
@@ -3433,70 +2983,19 @@ declare class Builder {
|
|
|
3433
2983
|
set debug(value: Function);
|
|
3434
2984
|
get debug(): Function;
|
|
3435
2985
|
private _scene;
|
|
3436
|
-
private _instanceId;
|
|
3437
|
-
private _sku;
|
|
3438
|
-
private _goodId;
|
|
3439
|
-
private _selections;
|
|
3440
|
-
private _answers;
|
|
3441
|
-
private _decos;
|
|
3442
|
-
private _placedAdjustables;
|
|
3443
|
-
private _placedAddables;
|
|
3444
|
-
private _adjustables;
|
|
3445
|
-
private _addables;
|
|
3446
2986
|
private _debug;
|
|
3447
|
-
private _imageCache;
|
|
3448
|
-
private _boFactory;
|
|
3449
2987
|
private _source;
|
|
3450
2988
|
private _threedUtils;
|
|
3451
|
-
private _variationHelper;
|
|
3452
|
-
private _articleCache;
|
|
3453
|
-
private _configuratorService;
|
|
3454
2989
|
private _buildFurnitureService;
|
|
3455
|
-
private _loadFurnitureService;
|
|
3456
2990
|
private _configuratorConnectorService;
|
|
3457
2991
|
constructor();
|
|
3458
|
-
|
|
3459
|
-
buildWithData(options?: Options, selections?: Selection[], decos?: DecoNode[], assetUrl?: string, cdnUrl?: string, schema?: string): Promise<THREE.Object3D>;
|
|
3460
|
-
init(scene: Scene, options?: Options): void;
|
|
3461
|
-
buildModel(sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
|
|
2992
|
+
init(scene: Scene): void;
|
|
3462
2993
|
buildModelFromData(selections: Selection[], decos: DecoNode[], assetUrl: string, cdnUrl: string, schema: string): Promise<THREE.Object3D>;
|
|
3463
|
-
initNodeInstance(goodId: number): Promise<any>;
|
|
3464
2994
|
destroy(): void;
|
|
3465
|
-
selectSelection(selection: Selection): Promise<void>;
|
|
3466
|
-
getQuestionAndAnswers(publicationCode?: number): Promise<void>;
|
|
3467
|
-
selectAnswer(answer: Answer): Promise<void>;
|
|
3468
|
-
getImageForSelectionOrAnswer(object: Selection | Answer): Promise<string>;
|
|
3469
|
-
_cleanUp(): void;
|
|
3470
|
-
private _handleResponseData;
|
|
3471
|
-
private _preloadMaterials;
|
|
3472
|
-
private _setInstanceId;
|
|
3473
|
-
private _prepareConfiguration;
|
|
3474
2995
|
private _downloadAsset;
|
|
3475
|
-
private _build;
|
|
3476
|
-
private _prepareTheSelections;
|
|
3477
|
-
/**
|
|
3478
|
-
* Returns the materialId of the parent up the tree until presentionlevel 1 is reached
|
|
3479
|
-
* @param id
|
|
3480
|
-
* @private
|
|
3481
|
-
*/
|
|
3482
|
-
private _getMaterialIdFromParent;
|
|
3483
|
-
private _createAdjustable;
|
|
3484
|
-
private _createAddable;
|
|
3485
|
-
private _placeAddables;
|
|
3486
|
-
private _createUniqueName;
|
|
3487
|
-
private _getGoodIdFromSku;
|
|
3488
|
-
private _getArticle;
|
|
3489
|
-
private _getSelections;
|
|
3490
|
-
private _getDecos;
|
|
3491
|
-
private _linkSelectionsAndDecos;
|
|
3492
|
-
private _getVariations;
|
|
3493
|
-
private _loadVariations;
|
|
3494
|
-
private _getAdjustables;
|
|
3495
|
-
private _updatePivot;
|
|
3496
|
-
private _reset;
|
|
3497
2996
|
private _log;
|
|
3498
2997
|
static ɵfac: i0.ɵɵFactoryDeclaration<Builder, never>;
|
|
3499
2998
|
static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
|
|
3500
2999
|
}
|
|
3501
3000
|
|
|
3502
|
-
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 };
|