@colijnit/configurator 261.20.6 → 261.20.7
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/colijnit-configurator-261.20.6.tgz +0 -0
- package/fesm2022/colijnit-configurator.mjs +7549 -12565
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +1295 -1917
- 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 +2 -3
- 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 +3 -3
- package/lib/components/configuration-preset/style/_material-definition.scss +1 -3
- package/lib/components/configuration-preset/style/_theme.scss +2 -3
- package/lib/components/configuration-preset-dialog/style/_layout.scss +16 -29
- package/lib/components/configuration-preset-dialog/style/_material-definition.scss +1 -3
- package/lib/components/configuration-preset-dialog/style/_theme.scss +48 -2
- 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 +3 -4
- package/lib/components/configurator-dialog/style/_theme.scss +3 -4
- 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 +13 -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/_variables.scss +8 -0
- package/lib/style/configurator-globals.scss +6 -1
- package/package.json +4 -2
- package/lib/components/element-toolbar/element-toolbar.component.scss +0 -59
- package/lib/components/threedselector/style/_layout.scss +0 -32
- package/lib/components/threedselector/style/_material-definition.scss +0 -3
- package/lib/components/threedselector/style/_theme.scss +0 -7
- package/lib/components/threedselector/style/material.scss +0 -9
package/index.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy,
|
|
2
|
+
import { OnDestroy, EventEmitter, OnInit, TemplateRef, ViewContainerRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
|
-
import { Object3D, Material, Vector3, Euler,
|
|
5
|
-
import { SafeHtml,
|
|
4
|
+
import { Object3D, Material, Vector3, Euler, 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';
|
|
12
|
-
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
13
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
14
|
-
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
15
|
-
import { LoginResponse } from '@colijnit/ioneconnector/build/model/login-response';
|
|
16
|
-
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
17
13
|
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
14
|
+
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
15
|
+
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
21
16
|
import { AnswerPrice } from '@colijnit/configuratorapi/build/model/answer-price';
|
|
22
17
|
import { Question } from '@colijnit/configuratorapi/build/model/question';
|
|
23
18
|
import { ArticleText } from '@colijnit/configuratorapi/build/model/article-text.bo';
|
|
24
19
|
import { SkipButtonInfo } from '@colijnit/configuratorapi/build/model/skip-button-info';
|
|
20
|
+
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
21
|
+
import { ConfiguratorStatisticsEnvironment } from '@colijnit/configuratorapi/build/model/configurator-statistics-environment';
|
|
22
|
+
import * as i2 from '@colijnit/utilities';
|
|
23
|
+
import { UtilitiesConnectorService, TextureInterface as TextureInterface$1, PostProcessingService, JsonUtilsService, LightsService, TranslationService } from '@colijnit/utilities';
|
|
24
|
+
import { VariationHelper } from '@colijnit/configuratorcore';
|
|
25
25
|
import { WebGLPathTracer } from 'three-gpu-pathtracer';
|
|
26
|
+
import { Group } from '@tweenjs/tween.js';
|
|
26
27
|
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
28
|
import * as i3 from '@angular/common';
|
|
30
29
|
import * as i3$1 from '@colijnit/corecomponents_v12';
|
|
31
30
|
import * as i7 from '@angular/forms';
|
|
32
|
-
import {
|
|
33
|
-
import { Tag } from '@colijnit/configuratorapi/build/model/tag';
|
|
31
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
34
32
|
import * as i4 from '@angular/cdk/clipboard';
|
|
33
|
+
import { Color } from '@colijnit/configuratorapi/build/model/color';
|
|
34
|
+
import { Tag } from '@colijnit/configuratorapi/build/model/tag';
|
|
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,17 @@ 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
|
-
|
|
130
|
+
buildStarted: BehaviorSubject<boolean>;
|
|
129
131
|
buildFinished: BehaviorSubject<ConfigurationResultObject>;
|
|
132
|
+
addedToScene: BehaviorSubject<ConfigurationResultObject>;
|
|
130
133
|
configurationTemplateChange: BehaviorSubject<ConfigurationTemplate>;
|
|
131
134
|
articleNotFound: BehaviorSubject<ConfigurationResultObject>;
|
|
135
|
+
selectionWithAnswersChanged: BehaviorSubject<SelectorWithOptions[]>;
|
|
132
136
|
glbCreated: Subject<string>;
|
|
133
137
|
showOutline: Subject<any>;
|
|
134
138
|
showErrorOutline: Subject<any>;
|
|
@@ -144,8 +148,13 @@ declare class AppEventService {
|
|
|
144
148
|
onObjectSelected: Subject<IntersectedObjects>;
|
|
145
149
|
onObjectUnSelected: Subject<boolean>;
|
|
146
150
|
changeConfigurationPresetDialogMode: Subject<PresetDialogMode>;
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
onCanvasImageReceived: Subject<string>;
|
|
152
|
+
onThumbnailReceived: Subject<string>;
|
|
153
|
+
renderImageChanged: BehaviorSubject<string>;
|
|
154
|
+
renderImageError: BehaviorSubject<string>;
|
|
155
|
+
startBuildFromPresetId: Subject<string>;
|
|
156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorEventService, never>;
|
|
157
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorEventService>;
|
|
149
158
|
}
|
|
150
159
|
|
|
151
160
|
declare class ArParameters {
|
|
@@ -227,6 +236,8 @@ declare class SettingOptions {
|
|
|
227
236
|
maxVisibleTiles: number;
|
|
228
237
|
maxVisibleSmallTiles: number;
|
|
229
238
|
groupedShowAllBtn: boolean;
|
|
239
|
+
showSavePresetButton?: boolean;
|
|
240
|
+
showLoadPresetButton?: boolean;
|
|
230
241
|
}
|
|
231
242
|
|
|
232
243
|
declare class RenderParameters {
|
|
@@ -292,6 +303,9 @@ declare class ConfiguratorSettings {
|
|
|
292
303
|
jwtEnabled?: boolean;
|
|
293
304
|
gtm?: string;
|
|
294
305
|
dracoPath?: string;
|
|
306
|
+
mainUrl?: string;
|
|
307
|
+
mainSchema?: string;
|
|
308
|
+
mainVersion?: string;
|
|
295
309
|
options?: SettingOptions;
|
|
296
310
|
catalogParameters?: GetArticlesForCatalogRequest;
|
|
297
311
|
renderParameters?: RenderParameters;
|
|
@@ -322,162 +336,25 @@ declare class ConfiguratorSettings {
|
|
|
322
336
|
infoPublicationCode?: number;
|
|
323
337
|
}
|
|
324
338
|
|
|
325
|
-
declare class
|
|
326
|
-
readJsonFile(filePath: string, includeBaseUrl?: boolean): Promise<any>;
|
|
327
|
-
private _includeBaseUrl;
|
|
328
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JsonUtilsService, never>;
|
|
329
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<JsonUtilsService>;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
declare class DictionaryService {
|
|
333
|
-
private _jsonUtilsService;
|
|
334
|
-
private readonly _placeholder;
|
|
335
|
-
private _client;
|
|
336
|
-
private _language;
|
|
337
|
-
private _dictionary;
|
|
338
|
-
constructor(_jsonUtilsService: JsonUtilsService);
|
|
339
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
340
|
-
setDictionary(path: string, client: string, languageCode: string, additionalTranslationFile?: any): Promise<void>;
|
|
341
|
-
private _getDictionaryData;
|
|
342
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
|
|
343
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
declare enum NavigatorType {
|
|
347
|
-
IOsSafari = "IOsSafari",
|
|
348
|
-
Browser = "Browser"
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
interface AoOptions {
|
|
352
|
-
aoSamples: number;
|
|
353
|
-
denoiseSamples: number;
|
|
354
|
-
denoiseRadius: number;
|
|
355
|
-
aoRadius: number;
|
|
356
|
-
distanceFalloff: number;
|
|
357
|
-
screenSpaceRadius: boolean;
|
|
358
|
-
halfRes: boolean;
|
|
359
|
-
depthAwareUpsampling: boolean;
|
|
360
|
-
transparencyAware: boolean;
|
|
361
|
-
intensity: number;
|
|
362
|
-
renderMode: string;
|
|
363
|
-
color: string;
|
|
364
|
-
colorMultiply: boolean;
|
|
365
|
-
stencil: boolean;
|
|
366
|
-
accumulate: boolean;
|
|
367
|
-
gammaCorrection: boolean;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
interface AaOptions {
|
|
371
|
-
sampleLevel: number;
|
|
372
|
-
unbiased: boolean;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
interface VignetteOptions {
|
|
376
|
-
vignetteOffset: number;
|
|
377
|
-
vignetteDarkness: number;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
interface PostProcessingSetting {
|
|
381
|
-
aoEnabled: boolean;
|
|
382
|
-
aoOptions: AoOptions;
|
|
383
|
-
aaEnabled: boolean;
|
|
384
|
-
aaOptions: AaOptions;
|
|
385
|
-
vignetteEnabled: boolean;
|
|
386
|
-
vignetteOptions: VignetteOptions;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
interface SettingInterface {
|
|
390
|
-
default: boolean;
|
|
391
|
-
standalone: boolean;
|
|
392
|
-
navigatorType: NavigatorType;
|
|
393
|
-
postprocessing: PostProcessingSetting;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
declare class Setting {
|
|
397
|
-
navigatorType: NavigatorType;
|
|
398
|
-
default: boolean;
|
|
399
|
-
standalone: boolean;
|
|
400
|
-
postProcessing: PostProcessingSetting;
|
|
401
|
-
static CreateModelFromInterface(modelInterface: SettingInterface): Setting;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
declare class SettingsService {
|
|
405
|
-
private _jsonUtilsService;
|
|
406
|
-
private _dictionaryService;
|
|
339
|
+
declare class ConfiguratorSettingsService {
|
|
407
340
|
set settings(value: ConfiguratorSettings);
|
|
408
341
|
get settings(): ConfiguratorSettings;
|
|
409
342
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
410
|
-
lightSettingsLoaded: BehaviorSubject<Setting[]>;
|
|
411
|
-
settingsChanged: Subject<void>;
|
|
412
343
|
private _settings;
|
|
413
|
-
constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
|
|
414
344
|
createSettingsFromObject(obj: any): void;
|
|
415
345
|
initializeSettings(settings?: ConfiguratorSettings): Promise<void>;
|
|
416
346
|
initialize(settings: ConfiguratorSettings): Promise<void>;
|
|
417
347
|
checkAdditionalParameters(): Promise<void>;
|
|
418
348
|
private _checkUrlParameters;
|
|
419
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
420
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
declare class ConfiguratorService {
|
|
424
|
-
readonly showLoader: Subject<boolean>;
|
|
425
|
-
readonly connectionReset: Subject<void>;
|
|
426
|
-
loginResponse: LoginResponse;
|
|
427
|
-
private _configuratorApi;
|
|
428
|
-
private _mainApi;
|
|
429
|
-
private _articleApi;
|
|
430
|
-
private _boFactory;
|
|
431
|
-
private _publicationCodeForUserRole;
|
|
432
|
-
constructor();
|
|
433
|
-
initApi(options: Options): void;
|
|
434
|
-
cleanUp(): void;
|
|
435
|
-
initConnector(options: Options, forceReload?: boolean): Promise<boolean>;
|
|
436
|
-
initNodeInstance(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
437
|
-
changeConnection(instanceId: string, oldConnection: string, newConnection: string, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
438
|
-
setInstanceToConfigure(id: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
439
|
-
getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
440
|
-
getArticleQuickSel(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
441
|
-
getSelections(showLoader?: boolean, publicationCode?: number): Promise<DataServiceResponseData>;
|
|
442
|
-
getDecos(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
443
|
-
getQuestionAndAnswers(showLoader?: boolean, publicationCode?: number): Promise<QuestionAndAnswers>;
|
|
444
|
-
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
445
|
-
selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
|
|
446
|
-
selectAnswer(answer: Answer, showLoader?: boolean, input?: string): Promise<DataServiceResponseData>;
|
|
447
|
-
selectAnswerBySelection(selection: Selection, userInput?: string): Promise<DataServiceResponseData>;
|
|
448
|
-
navigateTo(chosenOption: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
449
|
-
cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
|
|
450
|
-
deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
451
|
-
replaceSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
452
|
-
getSelectionsAsync(): Promise<DataServiceResponseData>;
|
|
453
|
-
getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
|
|
454
|
-
getAnswerTexts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
455
|
-
getAnswersPrices(): Promise<DataServiceResponseData>;
|
|
456
|
-
getSkipButtonImageAndText(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
457
|
-
getInternalParameterValue(parameter: InternalParam): Promise<DataServiceResponseData>;
|
|
458
|
-
getDecosAsync(): Promise<DataServiceResponseData>;
|
|
459
|
-
getSelectorStructure(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
460
|
-
getPublicationCodeBasedOnLogin(): number;
|
|
461
|
-
getImage(key: number | string, publication: number, thumb: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
|
|
462
|
-
copyInstance(instanceId: string, shouldSaveCurrentInstanceId: boolean, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
463
|
-
saveConfigurations(showLoader?: boolean): Promise<boolean>;
|
|
464
|
-
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
465
|
-
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
466
|
-
googleTranslateEnabled(): Promise<boolean>;
|
|
467
|
-
getDefaultLanguage(upId: number): Promise<string>;
|
|
468
|
-
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
469
|
-
getImageForSelectorStructure(option: SelectorStructure, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
470
|
-
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
471
|
-
private _getPublicationCodeForRole;
|
|
472
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorService, never>;
|
|
473
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorService>;
|
|
349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSettingsService, never>;
|
|
350
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSettingsService>;
|
|
474
351
|
}
|
|
475
352
|
|
|
476
353
|
declare class ConfiguratorConnectorService implements OnDestroy {
|
|
477
|
-
private _configuratorService;
|
|
478
354
|
private _appEventService;
|
|
479
355
|
private _settingsService;
|
|
480
356
|
private _loaderService;
|
|
357
|
+
private _utilitiesConnectorService;
|
|
481
358
|
get article(): Article;
|
|
482
359
|
set article(value: Article);
|
|
483
360
|
get sku(): string;
|
|
@@ -518,11 +395,15 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
518
395
|
private _initializing;
|
|
519
396
|
private _initialized;
|
|
520
397
|
private _boFactory;
|
|
521
|
-
|
|
398
|
+
private _configuratorService;
|
|
399
|
+
constructor(_appEventService: ConfiguratorEventService, _settingsService: ConfiguratorSettingsService, _loaderService: LoaderService, _utilitiesConnectorService: UtilitiesConnectorService);
|
|
522
400
|
ngOnDestroy(): void;
|
|
523
|
-
|
|
401
|
+
cleanUp(): void;
|
|
402
|
+
init(settings?: ConfiguratorSettings): Promise<void>;
|
|
403
|
+
initConnection(forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<void>;
|
|
524
404
|
onShowLoaderChange(showLoader: boolean): void;
|
|
525
405
|
onConnectionReset(): void;
|
|
406
|
+
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
526
407
|
getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<number>;
|
|
527
408
|
setSelections(selections: Selection[]): void;
|
|
528
409
|
setDecoNodes(value: DecoNode[]): void;
|
|
@@ -559,9 +440,6 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
559
440
|
saveConfigurations(): Promise<void>;
|
|
560
441
|
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
561
442
|
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
562
|
-
getDefaultLanguage(upId: number): Promise<string>;
|
|
563
|
-
googleTranslateEnabled(): Promise<boolean>;
|
|
564
|
-
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
565
443
|
getImageForAnswer(selectedOption: SelectorStructure, showLoader?: boolean): Promise<void>;
|
|
566
444
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
567
445
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
@@ -594,89 +472,6 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
594
472
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
595
473
|
}
|
|
596
474
|
|
|
597
|
-
declare class AppInitializerService {
|
|
598
|
-
private _settingsService;
|
|
599
|
-
private _configuratorConnectorService;
|
|
600
|
-
appInitialized: BehaviorSubject<boolean>;
|
|
601
|
-
constructor(_settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
602
|
-
initializeApp(settings?: ConfiguratorSettings): Promise<void>;
|
|
603
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
|
|
604
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
declare class VariationSettingsSettings {
|
|
608
|
-
repeatx: number;
|
|
609
|
-
repeaty: number;
|
|
610
|
-
roughness: number;
|
|
611
|
-
metalness: number;
|
|
612
|
-
}
|
|
613
|
-
declare class VariationSettings {
|
|
614
|
-
id: string;
|
|
615
|
-
settings: VariationSettingsSettings;
|
|
616
|
-
texture: string;
|
|
617
|
-
textureFilename: string;
|
|
618
|
-
normal: string;
|
|
619
|
-
normalFilename: string;
|
|
620
|
-
ao: string;
|
|
621
|
-
aoFilename: string;
|
|
622
|
-
metalness: string;
|
|
623
|
-
metalnessFilename: string;
|
|
624
|
-
roughness: string;
|
|
625
|
-
roughnessFilename: string;
|
|
626
|
-
orm: string;
|
|
627
|
-
ormFilename: string;
|
|
628
|
-
displacement: string;
|
|
629
|
-
displacementValue: number;
|
|
630
|
-
displacementFilename: string;
|
|
631
|
-
sheen: number;
|
|
632
|
-
sheenColor: Color;
|
|
633
|
-
sheenColorMap: string;
|
|
634
|
-
sheenColorMapFilename: string;
|
|
635
|
-
sheenRoughness: number;
|
|
636
|
-
sheenRoughnessMap: string;
|
|
637
|
-
sheenRoughnessMapFilename: string;
|
|
638
|
-
transmissionMap: string;
|
|
639
|
-
transmissionMapFilename: string;
|
|
640
|
-
emissive: string;
|
|
641
|
-
emissiveFilename: string;
|
|
642
|
-
emissiveIntensity: number;
|
|
643
|
-
emissiveValue: Color;
|
|
644
|
-
opacity: number;
|
|
645
|
-
transparent: boolean;
|
|
646
|
-
envMap: string;
|
|
647
|
-
envMapFilename: string;
|
|
648
|
-
envMapIntensity: number;
|
|
649
|
-
reflectivity: number;
|
|
650
|
-
side: Side;
|
|
651
|
-
transmission: number;
|
|
652
|
-
ior: number;
|
|
653
|
-
thickness: number;
|
|
654
|
-
specularIntensity: number;
|
|
655
|
-
loading: boolean;
|
|
656
|
-
loaded: Subject<VariationSettings>;
|
|
657
|
-
material: any;
|
|
658
|
-
copyFrom(settings: VariationSettings): void;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
declare class VariationCacheService implements OnDestroy {
|
|
662
|
-
private _settingsService;
|
|
663
|
-
private _configuratorService;
|
|
664
|
-
private _variations;
|
|
665
|
-
private _subs;
|
|
666
|
-
constructor(_settingsService: SettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
667
|
-
ngOnDestroy(): void;
|
|
668
|
-
get(id: string): VariationSettings;
|
|
669
|
-
set(variations: VariationSettings): void;
|
|
670
|
-
preloadVariations(schema: string, decoNodes: DecoNode[], articleAssetPath?: string): void;
|
|
671
|
-
preloadVariationsAsync(schema: string, decoNodes: DecoNode[] | Answer[] | SelectorStructure[], articleAssetPath?: string): Promise<void>;
|
|
672
|
-
loadVariation(fileName: string): Promise<VariationSettings>;
|
|
673
|
-
private _waitForVariationToLoad;
|
|
674
|
-
private _createSettingsForFileName;
|
|
675
|
-
private _needsMaterials;
|
|
676
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VariationCacheService, never>;
|
|
677
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
475
|
declare class ProgressService {
|
|
681
476
|
private _progressPercent;
|
|
682
477
|
get progress(): number;
|
|
@@ -686,97 +481,326 @@ declare class ProgressService {
|
|
|
686
481
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressService>;
|
|
687
482
|
}
|
|
688
483
|
|
|
689
|
-
declare class
|
|
690
|
-
private
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
readonly moveBy: number;
|
|
694
|
-
readonly cameraDefaultHeight: number;
|
|
695
|
-
readonly targetDefaultOffset: number;
|
|
696
|
-
readonly exploreDistanceFromCorner: number;
|
|
697
|
-
camera: PerspectiveCamera;
|
|
698
|
-
controls: any;
|
|
699
|
-
cameraMovementChanged: Subject<void>;
|
|
700
|
-
private _cameraLocked;
|
|
701
|
-
private _element;
|
|
702
|
-
private _viewSize;
|
|
703
|
-
private _viewCenter;
|
|
704
|
-
private _exploreTargetDistance;
|
|
705
|
-
private _realAspectRatio;
|
|
706
|
-
private _aspectRatio;
|
|
707
|
-
private _viewMode;
|
|
484
|
+
declare class UtilsService implements OnDestroy {
|
|
485
|
+
private _progressService;
|
|
486
|
+
clips: any;
|
|
487
|
+
private _objectCache;
|
|
708
488
|
private _subs;
|
|
709
|
-
|
|
710
|
-
set realAspectRatio(value: number);
|
|
711
|
-
constructor(_settingsService: SettingsService);
|
|
489
|
+
constructor(_progressService: ProgressService);
|
|
712
490
|
ngOnDestroy(): void;
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
disablePan(): void;
|
|
721
|
-
disableZoom(): void;
|
|
722
|
-
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
723
|
-
private _getCameraOffset;
|
|
724
|
-
private _controlsUpdate;
|
|
725
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CameraService, never>;
|
|
726
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CameraService>;
|
|
491
|
+
createCanvasImage(objects: Object3D[], thumbnail?: boolean): string;
|
|
492
|
+
loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
|
|
493
|
+
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
494
|
+
private _addGroupChildrenToObject;
|
|
495
|
+
private _handleUpdateProgressBar;
|
|
496
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
497
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
727
498
|
}
|
|
728
499
|
|
|
729
|
-
declare
|
|
730
|
-
|
|
731
|
-
|
|
500
|
+
declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
501
|
+
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
502
|
+
protected appEventService: ConfiguratorEventService;
|
|
503
|
+
protected settingsService: ConfiguratorSettingsService;
|
|
504
|
+
protected utilsService: UtilsService;
|
|
505
|
+
get useNodeIdToLink(): boolean;
|
|
506
|
+
get currentCustomFloorGroup(): Object3D;
|
|
507
|
+
set currentCustomFloorGroup(item: Object3D);
|
|
508
|
+
get selections(): Selection[];
|
|
509
|
+
set scene(scene: Scene);
|
|
510
|
+
get scene(): Scene;
|
|
511
|
+
defaultPosition: Vector3;
|
|
512
|
+
defaultRotation: Euler;
|
|
513
|
+
baseElementNodeId: number;
|
|
514
|
+
articleAssetPath: string;
|
|
515
|
+
startPosition: Vector3;
|
|
516
|
+
full3DObjectToUse: Object3D;
|
|
517
|
+
isMouseOverObject: boolean;
|
|
518
|
+
activeConnector: any;
|
|
519
|
+
answerSelected: Subject<ConfigurationResultObject>;
|
|
520
|
+
arPlacementUpdate: Subject<boolean>;
|
|
521
|
+
showElementToolbar: boolean;
|
|
522
|
+
private _useNodeIdToLink;
|
|
523
|
+
private _activeChildElement;
|
|
524
|
+
private _adjustables;
|
|
525
|
+
private _addables;
|
|
526
|
+
private _currentCustomFloorGroup;
|
|
527
|
+
private _genericSelection;
|
|
528
|
+
private _answerSelected;
|
|
529
|
+
private _selectionsSelected;
|
|
530
|
+
private _scene;
|
|
531
|
+
protected subs: Subscription[];
|
|
532
|
+
protected placedAddables: any[];
|
|
533
|
+
protected placedAdjustables: any[];
|
|
534
|
+
protected variationHelper: VariationHelper;
|
|
535
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, appEventService: ConfiguratorEventService, settingsService: ConfiguratorSettingsService, utilsService: UtilsService);
|
|
536
|
+
ngOnDestroy(): void;
|
|
537
|
+
abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
538
|
+
abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
539
|
+
abstract startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
540
|
+
abstract prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
541
|
+
abstract createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
542
|
+
abstract startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
543
|
+
emptyAnswerSelected(): void;
|
|
544
|
+
emptySelectionsSelected(): void;
|
|
545
|
+
getOptionsFromSelection(baseSelection: Selection): Selection[];
|
|
546
|
+
cancelConfiguringCurrentInstance(): void;
|
|
547
|
+
cancelAnswer(data: ConfigurationResultObject, rebuild?: boolean, getAnswers?: boolean): Promise<void>;
|
|
548
|
+
selectSelection(selection: Selection, data: ConfigurationResultObject, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<void>;
|
|
549
|
+
deleteSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
|
|
550
|
+
replaceSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
|
|
551
|
+
selectAnswer(answer: Answer, input: string, data: ConfigurationResultObject): Promise<void>;
|
|
552
|
+
selectSelectionAsAnswer(chosenOption: SelectorStructure, data: ConfigurationResultObject): Promise<void>;
|
|
553
|
+
linkSelectionsAndDecos(): void;
|
|
554
|
+
prepareTheSelections(instanceId?: string): void;
|
|
555
|
+
preloadMaterials(schema: string): void;
|
|
556
|
+
cleanUp(): void;
|
|
557
|
+
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
558
|
+
protected getSelectionsAndDecos(): Promise<void>;
|
|
559
|
+
protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
560
|
+
protected normalizeMesh(mesh: Mesh): void;
|
|
561
|
+
protected setInstanceToConfigure(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
562
|
+
protected getSelectionsAndDecosFromMetadata(result: ConfigurationResultObject): void;
|
|
563
|
+
protected selectionPublished(selection: Selection): boolean;
|
|
564
|
+
protected cleanupBeforePresetLoad(): void;
|
|
565
|
+
protected handleAfterPresetLoad(): void;
|
|
566
|
+
protected cleanup(): void;
|
|
567
|
+
protected canConnectSelections(sel1: Selection, sel2: Selection): boolean;
|
|
568
|
+
protected handleAnswerSelected(answer: Answer): void;
|
|
569
|
+
protected handleSelectionSelected(chosenOption: SelectorStructure): void;
|
|
570
|
+
protected createConfigurableItem(itemName: string): Object3D;
|
|
571
|
+
protected cloneSelections(): Selection[];
|
|
572
|
+
protected updateBuildObject(newItem: Object3D, resultObject: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
573
|
+
protected saveElementConnector(element: Object3D, connector: string): void;
|
|
574
|
+
protected getIdentifierFromSelection(selection: Selection): string;
|
|
575
|
+
protected reset(): void;
|
|
576
|
+
protected getAdjustables(checkGameObject?: boolean, checkType?: boolean): Selection[];
|
|
577
|
+
protected getVariations(): any[];
|
|
578
|
+
protected loadVariations(item: Object3D, instanceId: string): Promise<void>;
|
|
579
|
+
protected preloadMaterial(answer: Answer): void;
|
|
580
|
+
protected preloadMaterialBySelection(answer: SelectorStructure): void;
|
|
581
|
+
protected buildFloor(result: any): Promise<void>;
|
|
582
|
+
downloadUDSZforARIOS(objects: Object3D[]): void;
|
|
583
|
+
private _setNeedMaterial;
|
|
584
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
|
|
585
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
|
|
732
586
|
}
|
|
733
587
|
|
|
734
|
-
declare class
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
startToggle(): void;
|
|
744
|
-
getAverageRenderTime(): number;
|
|
745
|
-
getFramesMeasuredAmount(): number;
|
|
746
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
|
|
747
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
|
|
588
|
+
declare class BuildFurnitureService extends BuildFurnitureBaseService implements OnDestroy {
|
|
589
|
+
build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
590
|
+
createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
591
|
+
startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
592
|
+
createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
593
|
+
startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
594
|
+
prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
595
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureService, never>;
|
|
596
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureService>;
|
|
748
597
|
}
|
|
749
598
|
|
|
750
|
-
declare class
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
599
|
+
declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseService implements OnDestroy {
|
|
600
|
+
build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
601
|
+
startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
602
|
+
startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
603
|
+
prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
604
|
+
createSimple3DModel(result: ConfigurationResultObject, standAlone?: boolean): ConfigurationResultObject;
|
|
605
|
+
createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
606
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureWithoutSceneService, never>;
|
|
607
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
|
|
757
608
|
}
|
|
758
609
|
|
|
759
|
-
declare class
|
|
610
|
+
declare class SwitchBuildFurnitureService implements OnDestroy {
|
|
611
|
+
private _buildFurnitureService;
|
|
612
|
+
private _buildFurnitureWithoutSceneService;
|
|
760
613
|
private _settingsService;
|
|
761
|
-
private
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
|
|
771
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
|
|
614
|
+
private _configuratorService;
|
|
615
|
+
currentActiveService: BuildFurnitureBaseService;
|
|
616
|
+
private _controllerInitSub;
|
|
617
|
+
private _standAloneInstance;
|
|
618
|
+
constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
619
|
+
ngOnDestroy(): void;
|
|
620
|
+
cleanUp(): void;
|
|
621
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchBuildFurnitureService, never>;
|
|
622
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
|
|
772
623
|
}
|
|
773
624
|
|
|
774
|
-
declare class
|
|
625
|
+
declare class ThreedselectorService {
|
|
775
626
|
private _settingsService;
|
|
776
|
-
private
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
627
|
+
private _threedUtils;
|
|
628
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
629
|
+
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
630
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
631
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
declare enum ItemType {
|
|
635
|
+
Floor = 1,
|
|
636
|
+
Wall = 2,
|
|
637
|
+
InWall = 3,
|
|
638
|
+
InWallFloor = 7,
|
|
639
|
+
OnFloor = 8,
|
|
640
|
+
WallFloor = 9,
|
|
641
|
+
CustomFloorGroup = 10,
|
|
642
|
+
CustomShape = 11,
|
|
643
|
+
FloorGroup = 12,
|
|
644
|
+
ItemGroup = 13,
|
|
645
|
+
CustomCylinder = 14,
|
|
646
|
+
CustomCylinderWall = 15,
|
|
647
|
+
CustomShapeWall = 16,
|
|
648
|
+
CustomWall = 20,
|
|
649
|
+
CustomWallFloor = 21,
|
|
650
|
+
WallItemGroup = 22,
|
|
651
|
+
WallDecoration = 23,
|
|
652
|
+
WindowDecoration = 24,
|
|
653
|
+
FloorDecoration = 25
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
657
|
+
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
658
|
+
protected threedSelectorService: ThreedselectorService;
|
|
659
|
+
protected buildFurnitureService: SwitchBuildFurnitureService;
|
|
660
|
+
protected settingsService: ConfiguratorSettingsService;
|
|
661
|
+
private readonly _fullObjectCache;
|
|
662
|
+
set article(value: Article);
|
|
663
|
+
get article(): Article;
|
|
664
|
+
articleLoaded: BehaviorSubject<Article>;
|
|
665
|
+
private _subs;
|
|
666
|
+
private _article;
|
|
667
|
+
protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService);
|
|
668
|
+
ngOnDestroy(): void;
|
|
669
|
+
abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
|
|
670
|
+
loadArticle(sku: string): Promise<Article>;
|
|
671
|
+
extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
|
|
672
|
+
getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
|
|
673
|
+
protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
|
|
674
|
+
private _cleanUp;
|
|
675
|
+
protected needs3DModel(type: ItemType): boolean;
|
|
676
|
+
initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
|
|
677
|
+
protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
|
|
678
|
+
private _getAssetPathFromModelUrlAndSchema;
|
|
679
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
|
|
680
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
684
|
+
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
685
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
686
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
690
|
+
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
691
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
692
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
declare class SwitchLoadFurnitureService implements OnDestroy {
|
|
696
|
+
private _loadFurnitureService;
|
|
697
|
+
private _loadFurnitureWithoutSceneService;
|
|
698
|
+
private _settingsService;
|
|
699
|
+
private _iOne;
|
|
700
|
+
currentActiveService: LoadFurnitureBaseService;
|
|
701
|
+
private _standAlone;
|
|
702
|
+
private _controllerInitSub;
|
|
703
|
+
private _standAloneInstance;
|
|
704
|
+
constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: ConfiguratorSettingsService, _iOne: ConfiguratorConnectorService);
|
|
705
|
+
ngOnDestroy(): void;
|
|
706
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
|
|
707
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
declare class ConfiguratorCameraService implements OnDestroy {
|
|
711
|
+
private _settingsService;
|
|
712
|
+
readonly panSpeed: number;
|
|
713
|
+
readonly rotateBy: number;
|
|
714
|
+
readonly moveBy: number;
|
|
715
|
+
readonly cameraDefaultHeight: number;
|
|
716
|
+
readonly targetDefaultOffset: number;
|
|
717
|
+
readonly exploreDistanceFromCorner: number;
|
|
718
|
+
camera: PerspectiveCamera;
|
|
719
|
+
controls: any;
|
|
720
|
+
cameraMovementChanged: Subject<void>;
|
|
721
|
+
addTweenGroup: Subject<Group>;
|
|
722
|
+
removeTweenGroup: Subject<Group>;
|
|
723
|
+
private _cameraLocked;
|
|
724
|
+
private _element;
|
|
725
|
+
private _viewSize;
|
|
726
|
+
private _viewCenter;
|
|
727
|
+
private _exploreTargetDistance;
|
|
728
|
+
private _realAspectRatio;
|
|
729
|
+
private _aspectRatio;
|
|
730
|
+
private _subs;
|
|
731
|
+
get cameraLocked(): boolean;
|
|
732
|
+
set realAspectRatio(value: number);
|
|
733
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
734
|
+
ngOnDestroy(): void;
|
|
735
|
+
init(element: HTMLElement): void;
|
|
736
|
+
cameraZoomIn(): void;
|
|
737
|
+
cameraZoomOut(): void;
|
|
738
|
+
lockCamera(): void;
|
|
739
|
+
unlockCamera(): void;
|
|
740
|
+
disableRotate(): void;
|
|
741
|
+
disableRotateHorizontal(): void;
|
|
742
|
+
disablePan(): void;
|
|
743
|
+
disableZoom(): void;
|
|
744
|
+
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
745
|
+
private _getCameraOffset;
|
|
746
|
+
private _controlsUpdate;
|
|
747
|
+
private _addTweenGroup;
|
|
748
|
+
private _removeTweenGroup;
|
|
749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraService, never>;
|
|
750
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorCameraService>;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
declare enum XrMode {
|
|
754
|
+
ArMode = "Ar Mode",
|
|
755
|
+
VrMode = "Vr Mode"
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
declare class DebugService {
|
|
759
|
+
debugMessages: string[];
|
|
760
|
+
averageRenderTime: number;
|
|
761
|
+
lastTimestamp: number;
|
|
762
|
+
measurements: any[];
|
|
763
|
+
runTest: boolean;
|
|
764
|
+
addMessage(message: string): void;
|
|
765
|
+
measureRenderTime(): void;
|
|
766
|
+
resetMeasurements(): void;
|
|
767
|
+
startToggle(): void;
|
|
768
|
+
getAverageRenderTime(): number;
|
|
769
|
+
getFramesMeasuredAmount(): number;
|
|
770
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
|
|
771
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
declare class FontService {
|
|
775
|
+
hudFont: Font;
|
|
776
|
+
monospaceFont: Font;
|
|
777
|
+
constructor();
|
|
778
|
+
private _loadFont;
|
|
779
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
|
|
780
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
declare class MessageBoardService {
|
|
784
|
+
private _settingsService;
|
|
785
|
+
private _fontService;
|
|
786
|
+
scene: Scene;
|
|
787
|
+
board: Mesh;
|
|
788
|
+
messages: Mesh[];
|
|
789
|
+
private _font;
|
|
790
|
+
constructor(_settingsService: ConfiguratorSettingsService, _fontService: FontService);
|
|
791
|
+
init(scene: Scene): Promise<void>;
|
|
792
|
+
addMessage(message: string): void;
|
|
793
|
+
private _createMessageBoard;
|
|
794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
|
|
795
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
declare class ConfiguratorXrService implements OnDestroy {
|
|
799
|
+
private _settingsService;
|
|
800
|
+
private _debugService;
|
|
801
|
+
private _messageBoard;
|
|
802
|
+
gamepad: any;
|
|
803
|
+
axes: number[];
|
|
780
804
|
touchpadIsPressed: boolean;
|
|
781
805
|
triggerIsPressed: boolean;
|
|
782
806
|
angularVelocity: THREE.Vector3;
|
|
@@ -798,7 +822,7 @@ declare class XrService implements OnDestroy {
|
|
|
798
822
|
private _subs;
|
|
799
823
|
private _cameraHeight;
|
|
800
824
|
private _mode;
|
|
801
|
-
constructor(_settingsService:
|
|
825
|
+
constructor(_settingsService: ConfiguratorSettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
|
|
802
826
|
ngOnDestroy(): void;
|
|
803
827
|
init(renderer: WebGLRenderer, scene: Scene, camera: Camera): Promise<void>;
|
|
804
828
|
startAr(): void;
|
|
@@ -815,11 +839,11 @@ declare class XrService implements OnDestroy {
|
|
|
815
839
|
private _findGamepad;
|
|
816
840
|
private _createController;
|
|
817
841
|
private _createMeshes;
|
|
818
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
819
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorXrService, never>;
|
|
843
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorXrService>;
|
|
820
844
|
}
|
|
821
845
|
|
|
822
|
-
declare class
|
|
846
|
+
declare class ConfiguratorVrService {
|
|
823
847
|
private _scene;
|
|
824
848
|
private _renderer;
|
|
825
849
|
private _camera;
|
|
@@ -856,11 +880,11 @@ declare class VrService {
|
|
|
856
880
|
private _isObjectFloor;
|
|
857
881
|
private _getParentOfChild;
|
|
858
882
|
private _updateObjectSelection;
|
|
859
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
860
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
883
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorVrService, never>;
|
|
884
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorVrService>;
|
|
861
885
|
}
|
|
862
886
|
|
|
863
|
-
declare class
|
|
887
|
+
declare class ConfiguratorArService implements OnDestroy {
|
|
864
888
|
private _cameraService;
|
|
865
889
|
private _settingsService;
|
|
866
890
|
private _iOne;
|
|
@@ -910,7 +934,7 @@ declare class ArService implements OnDestroy {
|
|
|
910
934
|
private _sunLight;
|
|
911
935
|
private _positionIndicator;
|
|
912
936
|
private _pointRepresentation;
|
|
913
|
-
constructor(_cameraService:
|
|
937
|
+
constructor(_cameraService: ConfiguratorCameraService, _settingsService: ConfiguratorSettingsService, _iOne: ConfiguratorConnectorService);
|
|
914
938
|
ngOnDestroy(): void;
|
|
915
939
|
resetPlaneDetection(): Promise<void>;
|
|
916
940
|
endSessionEvent(): void;
|
|
@@ -970,235 +994,41 @@ declare class ArService implements OnDestroy {
|
|
|
970
994
|
private _updateMeshMaterials;
|
|
971
995
|
private _removeMaterialShaders;
|
|
972
996
|
private _checkingInterfaceInteraction;
|
|
973
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
974
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
997
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorArService, never>;
|
|
998
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorArService>;
|
|
975
999
|
}
|
|
976
1000
|
|
|
977
|
-
declare enum
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
CmStep = "cmStep",
|
|
982
|
-
MStep = "mStep",
|
|
983
|
-
MmStep = "mmStep",
|
|
984
|
-
AngleLabelDistanceInCm = "angleLabelDistanceCm",
|
|
985
|
-
WallHeight = "wallHeight",
|
|
986
|
-
WallThickness = "wallThickness",
|
|
987
|
-
MaxWallHeight = "maxWallHeight",
|
|
988
|
-
MaxWallThickness = "maxWallThickness",
|
|
989
|
-
MaxWallLength = "maxWallLength",
|
|
990
|
-
MinWallLength = "minWallLength",
|
|
991
|
-
WallSnapping = "wallSnapping",
|
|
992
|
-
CornerSnapping = "cornerSnapping",
|
|
993
|
-
ShowObjectDistances = "showObjectDistances",
|
|
994
|
-
ShowObjectMeasurements = "showObjectMeasurements",
|
|
995
|
-
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
996
|
-
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
997
|
-
ShowWallMeasurements = "showWallMeasurements",
|
|
998
|
-
ShowCornerAngles = "showCornerAngles",
|
|
999
|
-
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
1000
|
-
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
1001
|
-
ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
|
|
1002
|
-
ShowInteriorLights = "ShowInteriorLights",
|
|
1003
|
-
InteriorLightIntensity = "InteriorLightIntensity",
|
|
1004
|
-
ShowLightingControls = "ShowLightingControls",
|
|
1005
|
-
ShowLightplansDialog = "ShowLightplansDialog",
|
|
1006
|
-
WalkThroughCameraFoV = "WalkThroughCameraFoV",
|
|
1007
|
-
WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
|
|
1008
|
-
WalkThroughCameraFocus = "WalkThroughCameraFocus",
|
|
1009
|
-
ShowPostProcessingSettings = "showPostProcessingSettings",
|
|
1010
|
-
ShowWalls = "ShowWalls",
|
|
1011
|
-
ShowCeiling = "ShowCeiling",
|
|
1012
|
-
IsLimited = "IsLimited",
|
|
1013
|
-
EnableTouch = "EnableTouch",
|
|
1014
|
-
CameraFOV = "CameraFOV"
|
|
1001
|
+
declare enum ViewMode {
|
|
1002
|
+
RoomPlan3D = "3D roomplan",
|
|
1003
|
+
VR = "VR",
|
|
1004
|
+
AR = "AR"
|
|
1015
1005
|
}
|
|
1016
1006
|
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
[ConfigurationKey.MaxWallLength]?: number;
|
|
1030
|
-
[ConfigurationKey.MinWallLength]?: number;
|
|
1031
|
-
[ConfigurationKey.WallSnapping]?: boolean;
|
|
1032
|
-
[ConfigurationKey.CornerSnapping]?: boolean;
|
|
1033
|
-
[ConfigurationKey.ShowObjectDistances]?: boolean;
|
|
1034
|
-
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
1035
|
-
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
1036
|
-
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
1037
|
-
[ConfigurationKey.ShowWallMeasurements]?: boolean;
|
|
1038
|
-
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
1039
|
-
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
1040
|
-
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
1041
|
-
[ConfigurationKey.ShowInteriorLights]?: boolean;
|
|
1042
|
-
[ConfigurationKey.InteriorLightIntensity]?: number;
|
|
1043
|
-
[ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
|
|
1044
|
-
[ConfigurationKey.ShowLightingControls]?: boolean;
|
|
1045
|
-
[ConfigurationKey.ShowLightplansDialog]?: boolean;
|
|
1046
|
-
[ConfigurationKey.WalkThroughCameraFoV]?: number;
|
|
1047
|
-
[ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
|
|
1048
|
-
[ConfigurationKey.WalkThroughCameraFocus]?: number;
|
|
1049
|
-
[ConfigurationKey.ShowPostProcessingSettings]?: boolean;
|
|
1050
|
-
[ConfigurationKey.ShowWalls]?: boolean;
|
|
1051
|
-
[ConfigurationKey.ShowCeiling]?: boolean;
|
|
1052
|
-
[ConfigurationKey.IsLimited]?: boolean;
|
|
1053
|
-
[ConfigurationKey.EnableTouch]?: boolean;
|
|
1054
|
-
[ConfigurationKey.CameraFOV]?: number;
|
|
1007
|
+
declare class ViewModeService {
|
|
1008
|
+
viewModeChanged: BehaviorSubject<ViewMode>;
|
|
1009
|
+
private _viewMode;
|
|
1010
|
+
viewSize: Vector3;
|
|
1011
|
+
viewCenter: Vector3;
|
|
1012
|
+
set viewMode(value: ViewMode);
|
|
1013
|
+
get viewMode(): ViewMode;
|
|
1014
|
+
setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
|
|
1015
|
+
is3dViewActive(): boolean;
|
|
1016
|
+
isVRViewActive(): boolean;
|
|
1017
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
|
|
1018
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
|
|
1055
1019
|
}
|
|
1056
1020
|
|
|
1057
|
-
declare class
|
|
1058
|
-
private _data;
|
|
1059
|
-
onChange: BehaviorSubject<{}>;
|
|
1060
|
-
setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
|
|
1061
|
-
getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
|
|
1062
|
-
get(): ConfigurationData;
|
|
1063
|
-
set(data: ConfigurationData): void;
|
|
1064
|
-
getDistanceStep(): number;
|
|
1065
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
1066
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
declare enum DeviceSizeType {
|
|
1070
|
-
Desktop = "desktop",
|
|
1071
|
-
Tablet = "tablet",
|
|
1072
|
-
Phone = "phone"
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
interface ScreenSizeInfo {
|
|
1076
|
-
width: number;
|
|
1077
|
-
height: number;
|
|
1078
|
-
deviceSizeType: DeviceSizeType;
|
|
1079
|
-
isDesktopSize: boolean;
|
|
1080
|
-
isTabletSize: boolean;
|
|
1081
|
-
isPhoneSize: boolean;
|
|
1082
|
-
isPortraitMode: boolean;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
declare class ScreenSizeAnalysisService implements OnDestroy, OnInit {
|
|
1086
|
-
private _eventManager;
|
|
1087
|
-
private _deviceDetectorService;
|
|
1088
|
-
private _onResizeSubject;
|
|
1089
|
-
get screenSizeChanged(): Observable<ScreenSizeInfo>;
|
|
1090
|
-
get isMobileDevice(): boolean;
|
|
1091
|
-
constructor(_eventManager: EventManager, _deviceDetectorService: DeviceDetectorService);
|
|
1092
|
-
ngOnInit(): void;
|
|
1093
|
-
ngOnDestroy(): void;
|
|
1094
|
-
getScreenSizeInfo(window: Window): ScreenSizeInfo;
|
|
1095
|
-
isIphoneOrIpad(): boolean;
|
|
1096
|
-
isSafari(): boolean;
|
|
1097
|
-
navigatorType(): NavigatorType;
|
|
1098
|
-
private _getCurrentScreenSize;
|
|
1099
|
-
private _initOnResizeObservable;
|
|
1100
|
-
private _getDeviceSizeType;
|
|
1101
|
-
private _checkImageBitmapDisable;
|
|
1102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenSizeAnalysisService, never>;
|
|
1103
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenSizeAnalysisService>;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
declare class PostProcessingService implements OnDestroy {
|
|
1107
|
-
private _configurationService;
|
|
1108
|
-
private _settingsService;
|
|
1109
|
-
private _appEventService;
|
|
1110
|
-
private _screenSizeAnalysis;
|
|
1111
|
-
private _aoEnabled;
|
|
1112
|
-
private _aaEnabled;
|
|
1113
|
-
private _vignetteEnabled;
|
|
1114
|
-
private _vignetteOffset;
|
|
1115
|
-
private _vignetteDarkness;
|
|
1116
|
-
private _composer;
|
|
1117
|
-
private _n8aoPass;
|
|
1118
|
-
private _renderPass;
|
|
1119
|
-
private _outputPass;
|
|
1120
|
-
private _fxaaPass;
|
|
1121
|
-
private _smaaPass;
|
|
1122
|
-
private _ssaaPass;
|
|
1123
|
-
private _taaRenderPass;
|
|
1124
|
-
private _vignettePass;
|
|
1125
|
-
private _outlinePass;
|
|
1126
|
-
private _scene;
|
|
1127
|
-
private _renderer;
|
|
1128
|
-
private _camera;
|
|
1129
|
-
private _blendShader;
|
|
1130
|
-
private _width;
|
|
1131
|
-
private _height;
|
|
1132
|
-
private _outlinePassAsError;
|
|
1133
|
-
private _hideOutlineTimer;
|
|
1134
|
-
private _hideOutlineTimeout;
|
|
1135
|
-
private _standalone;
|
|
1136
|
-
private _cameraMoved;
|
|
1137
|
-
private _postProcessingGui;
|
|
1138
|
-
private _subs;
|
|
1139
|
-
private _aoDefaultOptions;
|
|
1140
|
-
private _aoOptions;
|
|
1141
|
-
private _aaDefaultOptions;
|
|
1142
|
-
private _aaOptions;
|
|
1143
|
-
private _vignetteDefaultOptions;
|
|
1144
|
-
private _vignetteOptions;
|
|
1145
|
-
aoEnabled: boolean;
|
|
1146
|
-
aaEnabled: boolean;
|
|
1147
|
-
vignetteEnabled: boolean;
|
|
1148
|
-
constructor(_configurationService: ConfigurationService, _settingsService: SettingsService, _appEventService: AppEventService, _screenSizeAnalysis: ScreenSizeAnalysisService);
|
|
1149
|
-
ngOnDestroy(): void;
|
|
1150
|
-
init(renderer: WebGLRenderer, scene: Scene, camera: PerspectiveCamera, width: number, height: number, standalone: boolean): void;
|
|
1151
|
-
setSize(width: number, height: number, force?: boolean): void;
|
|
1152
|
-
render(): void;
|
|
1153
|
-
cameraMovementChanged(): void;
|
|
1154
|
-
showGui(): void;
|
|
1155
|
-
hideGui(): void;
|
|
1156
|
-
forceRenderCanvas(): void;
|
|
1157
|
-
private _loadSetting;
|
|
1158
|
-
private _showErrorOutline;
|
|
1159
|
-
private _showOutline;
|
|
1160
|
-
private _hideOutline;
|
|
1161
|
-
private _updateAASize;
|
|
1162
|
-
private _initComposer;
|
|
1163
|
-
private _cleanUp;
|
|
1164
|
-
private _applyAoProps;
|
|
1165
|
-
private _createGuiTaaPass;
|
|
1166
|
-
private _showHideGui;
|
|
1167
|
-
private _createGui;
|
|
1168
|
-
private _setErrorGlowSettings;
|
|
1169
|
-
private _setSelectionGlowSettings;
|
|
1170
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PostProcessingService, never>;
|
|
1171
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PostProcessingService>;
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
|
-
declare enum ViewMode {
|
|
1175
|
-
RoomPlan3D = "3D roomplan",
|
|
1176
|
-
VR = "VR",
|
|
1177
|
-
AR = "AR"
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
declare class ViewModeService {
|
|
1181
|
-
viewModeChanged: BehaviorSubject<ViewMode>;
|
|
1182
|
-
private _viewMode;
|
|
1183
|
-
viewSize: Vector3;
|
|
1184
|
-
viewCenter: Vector3;
|
|
1185
|
-
set viewMode(value: ViewMode);
|
|
1186
|
-
get viewMode(): ViewMode;
|
|
1187
|
-
setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
|
|
1188
|
-
is3dViewActive(): boolean;
|
|
1189
|
-
isVRViewActive(): boolean;
|
|
1190
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
|
|
1191
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
declare class SceneService implements OnDestroy {
|
|
1021
|
+
declare class ConfiguratorSceneService implements OnDestroy {
|
|
1195
1022
|
private _cameraService;
|
|
1196
1023
|
private _xrService;
|
|
1197
1024
|
private _vrService;
|
|
1198
1025
|
private _arService;
|
|
1199
|
-
private
|
|
1200
|
-
private
|
|
1026
|
+
private _configuratorSettingsService;
|
|
1027
|
+
private _postProcessingService;
|
|
1201
1028
|
private _viewModeService;
|
|
1029
|
+
private _jsonUtilsService;
|
|
1030
|
+
private _lightsService;
|
|
1031
|
+
private _buildFurnitureService;
|
|
1202
1032
|
set needsRender(value: boolean);
|
|
1203
1033
|
get needsRender(): boolean;
|
|
1204
1034
|
scene: Scene;
|
|
@@ -1217,12 +1047,18 @@ declare class SceneService implements OnDestroy {
|
|
|
1217
1047
|
renderingThroughPostProcessingPipeline: boolean;
|
|
1218
1048
|
webGL2Available: boolean;
|
|
1219
1049
|
domElement: HTMLElement;
|
|
1050
|
+
floorTexturesLoaded: BehaviorSubject<TextureInterface$1[]>;
|
|
1220
1051
|
private _needsRender;
|
|
1221
1052
|
private _arMode;
|
|
1222
1053
|
private _subs;
|
|
1223
1054
|
private _maxRenderSamples;
|
|
1224
1055
|
private _numberOfSamplesRendered;
|
|
1225
|
-
|
|
1056
|
+
private _assetPath;
|
|
1057
|
+
private _indexJsonFile;
|
|
1058
|
+
private _lightPresetsJsonFile;
|
|
1059
|
+
private _lightsLoaded;
|
|
1060
|
+
private _groups;
|
|
1061
|
+
constructor(_cameraService: ConfiguratorCameraService, _xrService: ConfiguratorXrService, _vrService: ConfiguratorVrService, _arService: ConfiguratorArService, _configuratorSettingsService: ConfiguratorSettingsService, _postProcessingService: PostProcessingService, _viewModeService: ViewModeService, _jsonUtilsService: JsonUtilsService, _lightsService: LightsService, _buildFurnitureService: SwitchBuildFurnitureService);
|
|
1226
1062
|
ngOnDestroy(): void;
|
|
1227
1063
|
getScene(): Scene;
|
|
1228
1064
|
set arMode(value: boolean);
|
|
@@ -1235,9 +1071,12 @@ declare class SceneService implements OnDestroy {
|
|
|
1235
1071
|
updatePathTracer(): void;
|
|
1236
1072
|
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1237
1073
|
rendererPropsChange(): void;
|
|
1074
|
+
private _handleAddTweenGroup;
|
|
1075
|
+
private _handleRemoveTweenGroup;
|
|
1238
1076
|
private _initScene;
|
|
1239
1077
|
private _initCamera;
|
|
1240
1078
|
private _initPostProcessing;
|
|
1079
|
+
private _initLightService;
|
|
1241
1080
|
private _initPathTracer;
|
|
1242
1081
|
private _initRenderer;
|
|
1243
1082
|
private _resizeRendererToDisplaySize;
|
|
@@ -1246,292 +1085,198 @@ declare class SceneService implements OnDestroy {
|
|
|
1246
1085
|
private _render;
|
|
1247
1086
|
private _animate;
|
|
1248
1087
|
private _pauseAnimation;
|
|
1088
|
+
private _prepareScene;
|
|
1249
1089
|
private _setSceneBackground;
|
|
1250
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1251
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1090
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneService, never>;
|
|
1091
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSceneService>;
|
|
1252
1092
|
}
|
|
1253
1093
|
|
|
1254
|
-
declare class
|
|
1094
|
+
declare class ConfiguratorItemService implements OnDestroy {
|
|
1255
1095
|
private _sceneService;
|
|
1256
1096
|
get sceneItems(): Object3D[];
|
|
1257
1097
|
private _sceneItems;
|
|
1258
|
-
constructor(_sceneService:
|
|
1098
|
+
constructor(_sceneService: ConfiguratorSceneService);
|
|
1259
1099
|
ngOnDestroy(): void;
|
|
1260
1100
|
addItem(item: Object3D, replace?: boolean): void;
|
|
1261
1101
|
removeAllItems(): void;
|
|
1262
1102
|
removeItem(obj: any): void;
|
|
1263
1103
|
objectDimensions(object: Object3D): Vector3;
|
|
1264
1104
|
glassMaterialCheck(item: Object3D): void;
|
|
1265
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1266
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorItemService, never>;
|
|
1106
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorItemService>;
|
|
1267
1107
|
}
|
|
1268
1108
|
|
|
1269
|
-
declare class
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
private _itemService;
|
|
1273
|
-
clips: any;
|
|
1274
|
-
private _objectCache;
|
|
1275
|
-
private _subs;
|
|
1276
|
-
constructor(_settingsService: SettingsService, _progressService: ProgressService, _itemService: ItemService);
|
|
1277
|
-
ngOnDestroy(): void;
|
|
1278
|
-
createCanvasImage(thumbnail?: boolean): string;
|
|
1279
|
-
loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
|
|
1280
|
-
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
1281
|
-
private _addGroupChildrenToObject;
|
|
1282
|
-
private _handleUpdateProgressBar;
|
|
1283
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
1284
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
1109
|
+
declare class RenderResponse {
|
|
1110
|
+
result: string;
|
|
1111
|
+
statusCode: number;
|
|
1285
1112
|
}
|
|
1286
1113
|
|
|
1287
|
-
declare
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
private _utilsService;
|
|
1291
|
-
private _threedUtils;
|
|
1292
|
-
constructor(_variationCacheService: VariationCacheService, _settingsService: SettingsService, _utilsService: UtilsService);
|
|
1293
|
-
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
1294
|
-
loadVariation(id: string): Promise<VariationSettings>;
|
|
1295
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
1296
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
1114
|
+
declare enum BlenderRenderType {
|
|
1115
|
+
Realtime = 0,
|
|
1116
|
+
Raytrace = 1
|
|
1297
1117
|
}
|
|
1298
1118
|
|
|
1299
|
-
declare class
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
|
|
1308
|
-
loadVariationForMaterial(gameObject: string): Promise<any>;
|
|
1309
|
-
loadVariationByAssetUrl(assetUrl: string): Promise<any>;
|
|
1310
|
-
createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
|
|
1311
|
-
private _applyMaterialPart;
|
|
1312
|
-
private _applyVariations;
|
|
1313
|
-
private _applyMaterial;
|
|
1314
|
-
private _setMeshMaterialFromVariation;
|
|
1315
|
-
private _setLastKnownVariations;
|
|
1316
|
-
private _getLastKnownVariations;
|
|
1317
|
-
private _getChildrenFilterByProp;
|
|
1318
|
-
private _createVariationFromNode;
|
|
1319
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
|
|
1320
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VariationService>;
|
|
1119
|
+
declare class OptionalRenderSettings {
|
|
1120
|
+
objectWidth: number;
|
|
1121
|
+
objectHeight: number;
|
|
1122
|
+
renderType: number | BlenderRenderType;
|
|
1123
|
+
objectRotation: any;
|
|
1124
|
+
margin: number;
|
|
1125
|
+
cameraRotationX: number;
|
|
1126
|
+
forceTransparency: boolean;
|
|
1321
1127
|
}
|
|
1322
1128
|
|
|
1323
|
-
declare
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
protected utilsService: UtilsService;
|
|
1331
|
-
protected itemService: ItemService;
|
|
1332
|
-
get useNodeIdToLink(): boolean;
|
|
1333
|
-
get currentCustomFloorGroup(): Object3D;
|
|
1334
|
-
set currentCustomFloorGroup(item: Object3D);
|
|
1335
|
-
get selections(): Selection[];
|
|
1336
|
-
set scene(scene: Scene);
|
|
1337
|
-
get scene(): Scene;
|
|
1338
|
-
defaultPosition: Vector3;
|
|
1339
|
-
defaultRotation: Euler;
|
|
1340
|
-
baseElementNodeId: number;
|
|
1341
|
-
articleAssetPath: string;
|
|
1342
|
-
startPosition: Vector3;
|
|
1343
|
-
full3DObjectToUse: Object3D;
|
|
1344
|
-
isMouseOverObject: boolean;
|
|
1345
|
-
activeConnector: any;
|
|
1346
|
-
answerSelected: Subject<ConfigurationResultObject>;
|
|
1347
|
-
arPlacementUpdate: Subject<boolean>;
|
|
1348
|
-
showElementToolbar: boolean;
|
|
1349
|
-
private _useNodeIdToLink;
|
|
1350
|
-
private _activeChildElement;
|
|
1351
|
-
private _placedAddables;
|
|
1352
|
-
private _adjustables;
|
|
1353
|
-
private _addables;
|
|
1354
|
-
private _currentCustomFloorGroup;
|
|
1355
|
-
private _genericSelection;
|
|
1356
|
-
private _answerSelected;
|
|
1357
|
-
private _selectionsSelected;
|
|
1358
|
-
private _scene;
|
|
1359
|
-
protected subs: Subscription[];
|
|
1360
|
-
protected placedAdjustables: any[];
|
|
1361
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, dictionaryService: DictionaryService, appEventService: AppEventService, settingsService: SettingsService, variationService: VariationService, variationCacheService: VariationCacheService, utilsService: UtilsService, itemService: ItemService);
|
|
1362
|
-
ngOnDestroy(): void;
|
|
1363
|
-
abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1364
|
-
abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
1365
|
-
abstract startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1366
|
-
abstract prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1367
|
-
abstract createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1368
|
-
abstract startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1369
|
-
emptyAnswerSelected(): void;
|
|
1370
|
-
emptySelectionsSelected(): void;
|
|
1371
|
-
getOptionsFromSelection(baseSelection: Selection): Selection[];
|
|
1372
|
-
cancelConfiguringCurrentInstance(): void;
|
|
1373
|
-
cancelAnswer(data: ConfigurationResultObject, rebuild?: boolean, getAnswers?: boolean): Promise<void>;
|
|
1374
|
-
selectSelection(selection: Selection, data: ConfigurationResultObject, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<void>;
|
|
1375
|
-
deleteSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
|
|
1376
|
-
replaceSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
|
|
1377
|
-
selectAnswer(answer: Answer, input: string, data: ConfigurationResultObject): Promise<void>;
|
|
1378
|
-
selectSelectionAsAnswer(chosenOption: SelectorStructure, data: ConfigurationResultObject): Promise<void>;
|
|
1379
|
-
linkSelectionsAndDecos(): void;
|
|
1380
|
-
prepareTheSelections(instanceId?: string): void;
|
|
1381
|
-
preloadMaterials(schema: string): void;
|
|
1382
|
-
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1383
|
-
protected getSelectionsAndDecos(): Promise<void>;
|
|
1384
|
-
protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1385
|
-
protected normalizeMesh(mesh: Mesh): void;
|
|
1386
|
-
protected setInstanceToConfigure(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1387
|
-
protected getSelectionsAndDecosFromMetadata(result: ConfigurationResultObject): void;
|
|
1388
|
-
protected selectionPublished(selection: Selection): boolean;
|
|
1389
|
-
protected cleanupBeforePresetLoad(): void;
|
|
1390
|
-
protected handleAfterPresetLoad(): void;
|
|
1391
|
-
protected cleanup(): void;
|
|
1392
|
-
protected canConnectSelections(sel1: Selection, sel2: Selection): boolean;
|
|
1393
|
-
protected handleAnswerSelected(answer: Answer): void;
|
|
1394
|
-
protected handleSelectionSelected(chosenOption: SelectorStructure): void;
|
|
1395
|
-
protected createConfigurableItem(itemName: string): Object3D;
|
|
1396
|
-
protected cloneSelections(): Selection[];
|
|
1397
|
-
protected updateBuildObject(newItem: Object3D, resultObject: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1398
|
-
protected isMoveableObject(obj: Object3D): boolean;
|
|
1399
|
-
protected addElementOnConnector(currentItem: Object3D, element: Object3D, connector: string, connectedNodeId: number): Promise<void>;
|
|
1400
|
-
protected saveElementConnector(element: Object3D, connector: string): void;
|
|
1401
|
-
protected getIdentifierFromSelection(selection: Selection): string;
|
|
1402
|
-
protected reset(): void;
|
|
1403
|
-
/**
|
|
1404
|
-
* Returns the materialId of the parent up the tree until presentionlevel 1 is reached
|
|
1405
|
-
* @param id
|
|
1406
|
-
* @private
|
|
1407
|
-
*/
|
|
1408
|
-
protected getMaterialIdFromParent(id: number): string;
|
|
1409
|
-
protected getAdjustables(checkGameObject?: boolean, checkType?: boolean): Selection[];
|
|
1410
|
-
protected getVariations(): any[];
|
|
1411
|
-
protected createAdjustable(item: Object3D, adj: Selection): Object3D;
|
|
1412
|
-
protected createAddable(item: Object3D, add: Selection, part2?: any, part1?: any): Object3D;
|
|
1413
|
-
protected placeAddable(item: Object3D, add: any): Object3D;
|
|
1414
|
-
protected createUniqueName(item: Object3D, obj: Object3D): string;
|
|
1415
|
-
protected placeAddables(item: Object3D): void;
|
|
1416
|
-
protected loadVariations(item: Object3D, instanceId: string): Promise<void>;
|
|
1417
|
-
protected preloadMaterial(answer: Answer): void;
|
|
1418
|
-
protected preloadMaterialBySelection(answer: SelectorStructure): void;
|
|
1419
|
-
protected buildFloor(result: any): Promise<void>;
|
|
1420
|
-
downloadUDSZforARIOS(): void;
|
|
1421
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
|
|
1422
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
|
|
1129
|
+
declare class RenderBaseObject {
|
|
1130
|
+
selections: Selection[];
|
|
1131
|
+
decos: DecoNode[];
|
|
1132
|
+
assetUrl: string;
|
|
1133
|
+
cdnUrl: string;
|
|
1134
|
+
schema: string;
|
|
1135
|
+
options: any;
|
|
1423
1136
|
}
|
|
1424
1137
|
|
|
1425
|
-
declare class
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1138
|
+
declare class RenderApi {
|
|
1139
|
+
private _settingsService;
|
|
1140
|
+
private _overWriteTransparency;
|
|
1141
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
1142
|
+
prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
|
|
1143
|
+
sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
|
|
1144
|
+
degreesToVector3(value: number): Vector3;
|
|
1145
|
+
private _adjustCameraRotation;
|
|
1146
|
+
private _getSceneRenderSettings;
|
|
1147
|
+
private _useTransparency;
|
|
1148
|
+
private _setForceTransparency;
|
|
1149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenderApi, never>;
|
|
1150
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RenderApi>;
|
|
1434
1151
|
}
|
|
1435
1152
|
|
|
1436
|
-
declare class
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1153
|
+
declare class RenderService implements OnDestroy {
|
|
1154
|
+
private _settingsService;
|
|
1155
|
+
private _cameraService;
|
|
1156
|
+
private _appEventService;
|
|
1157
|
+
private _sceneService;
|
|
1158
|
+
private _renderApi;
|
|
1159
|
+
blenderRenderStarted: EventEmitter<string>;
|
|
1160
|
+
clientWidth: number;
|
|
1161
|
+
clientHeight: number;
|
|
1162
|
+
private _subs;
|
|
1163
|
+
constructor(_settingsService: ConfiguratorSettingsService, _cameraService: ConfiguratorCameraService, _appEventService: ConfiguratorEventService, _sceneService: ConfiguratorSceneService, _renderApi: RenderApi);
|
|
1164
|
+
ngOnDestroy(): void;
|
|
1165
|
+
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
1166
|
+
getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
1167
|
+
private _handleAjaxGlb;
|
|
1168
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
|
|
1169
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
|
|
1445
1170
|
}
|
|
1446
1171
|
|
|
1447
|
-
declare class
|
|
1172
|
+
declare class ConfiguringService implements OnDestroy {
|
|
1173
|
+
settingsService: ConfiguratorSettingsService;
|
|
1174
|
+
private _loadFurnitureService;
|
|
1448
1175
|
private _buildFurnitureService;
|
|
1449
|
-
private
|
|
1450
|
-
private
|
|
1451
|
-
private
|
|
1452
|
-
|
|
1453
|
-
private
|
|
1454
|
-
|
|
1455
|
-
|
|
1176
|
+
private _appEventService;
|
|
1177
|
+
private _configuratorConnectorService;
|
|
1178
|
+
private _itemService;
|
|
1179
|
+
private _utilsService;
|
|
1180
|
+
private _renderService;
|
|
1181
|
+
set sku(value: string);
|
|
1182
|
+
get sku(): string;
|
|
1183
|
+
set instanceId(value: string);
|
|
1184
|
+
get instanceId(): string;
|
|
1185
|
+
set scene(value: Scene);
|
|
1186
|
+
get scene(): Scene;
|
|
1187
|
+
buildResult: ConfigurationResultObject;
|
|
1188
|
+
private _sku;
|
|
1189
|
+
private _instanceId;
|
|
1190
|
+
private _scene;
|
|
1191
|
+
private _subs;
|
|
1192
|
+
constructor(settingsService: ConfiguratorSettingsService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: ConfiguratorEventService, _configuratorConnectorService: ConfiguratorConnectorService, _itemService: ConfiguratorItemService, _utilsService: UtilsService, _renderService: RenderService);
|
|
1456
1193
|
ngOnDestroy(): void;
|
|
1457
|
-
|
|
1458
|
-
|
|
1194
|
+
configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
|
|
1195
|
+
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
|
|
1196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
|
|
1197
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
|
|
1459
1198
|
}
|
|
1460
1199
|
|
|
1461
|
-
declare
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1200
|
+
declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
1201
|
+
settingsService: ConfiguratorSettingsService;
|
|
1202
|
+
loaderService: LoaderService;
|
|
1203
|
+
private _configuratorEventService;
|
|
1204
|
+
private _configuringService;
|
|
1205
|
+
private _buildFurnitureService;
|
|
1206
|
+
private _configuratorConnectorService;
|
|
1207
|
+
showClass: boolean;
|
|
1208
|
+
set sku(value: string);
|
|
1209
|
+
get sku(): string;
|
|
1210
|
+
set instanceId(value: string);
|
|
1211
|
+
get instanceId(): string;
|
|
1212
|
+
set settings(value: ConfiguratorSettings);
|
|
1213
|
+
scene: Scene;
|
|
1214
|
+
showLoader: boolean;
|
|
1215
|
+
showProgressBar: boolean;
|
|
1216
|
+
showErrorMessages: boolean;
|
|
1217
|
+
outputErrorMessages: boolean;
|
|
1218
|
+
canCloseConfigurator: boolean;
|
|
1219
|
+
animateSlideout: boolean;
|
|
1220
|
+
showHeaderInformation: boolean;
|
|
1221
|
+
isLoading: EventEmitter<boolean>;
|
|
1222
|
+
updateProgressBar: EventEmitter<boolean>;
|
|
1223
|
+
errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
|
|
1224
|
+
showChange: EventEmitter<boolean>;
|
|
1225
|
+
resultHasErrors: boolean;
|
|
1226
|
+
showErrorDiagram: boolean;
|
|
1227
|
+
configurationResultObject: ConfigurationResultObject;
|
|
1228
|
+
showFullConfiguration: boolean;
|
|
1229
|
+
showLiteSelector: boolean;
|
|
1230
|
+
showSelections: boolean;
|
|
1231
|
+
showAnswers: boolean;
|
|
1232
|
+
loaded: boolean;
|
|
1492
1233
|
private _subs;
|
|
1493
|
-
private
|
|
1494
|
-
|
|
1234
|
+
private _loadingFromPreset;
|
|
1235
|
+
private _settings;
|
|
1236
|
+
private _instanceId;
|
|
1237
|
+
private _instanceIdSet;
|
|
1238
|
+
private _sku;
|
|
1239
|
+
private _skuSet;
|
|
1240
|
+
constructor(settingsService: ConfiguratorSettingsService, loaderService: LoaderService, _configuratorEventService: ConfiguratorEventService, _configuringService: ConfiguringService, _buildFurnitureService: SwitchBuildFurnitureService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1241
|
+
ngOnInit(): void;
|
|
1495
1242
|
ngOnDestroy(): void;
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
private
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
private _getAssetPathFromModelUrlAndSchema;
|
|
1506
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
|
|
1507
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
|
|
1243
|
+
_initConnection(): void;
|
|
1244
|
+
handleShowChange(show: boolean): void;
|
|
1245
|
+
handleCloseErrorDialog(): void;
|
|
1246
|
+
private _handleArticleNotFound;
|
|
1247
|
+
private _handleAnswerCountReceived;
|
|
1248
|
+
private _handleBuildFinished;
|
|
1249
|
+
private _handleTemplateChange;
|
|
1250
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
1251
|
+
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; }; }, { "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
|
|
1508
1252
|
}
|
|
1509
1253
|
|
|
1510
|
-
declare class
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1254
|
+
declare class ProgressBarComponent {
|
|
1255
|
+
progressService: ProgressService;
|
|
1256
|
+
showClass(): boolean;
|
|
1257
|
+
get showBar(): boolean;
|
|
1258
|
+
constructor(progressService: ProgressService);
|
|
1259
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
1260
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
|
|
1514
1261
|
}
|
|
1515
1262
|
|
|
1516
|
-
declare class
|
|
1517
|
-
|
|
1518
|
-
static
|
|
1519
|
-
static
|
|
1263
|
+
declare class ProgressBarModule {
|
|
1264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
|
|
1265
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
|
|
1266
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
|
|
1520
1267
|
}
|
|
1521
1268
|
|
|
1522
|
-
declare class
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
|
|
1534
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
|
|
1269
|
+
declare class ConfiguratorLoaderComponent {
|
|
1270
|
+
showClass(): boolean;
|
|
1271
|
+
show: boolean;
|
|
1272
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
|
|
1273
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
declare class ConfiguratorLoaderModule {
|
|
1277
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
|
|
1278
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i3$1.LoaderModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
|
|
1279
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
|
|
1535
1280
|
}
|
|
1536
1281
|
|
|
1537
1282
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
@@ -1651,783 +1396,84 @@ declare enum IconEnum {
|
|
|
1651
1396
|
XmarkRegular = "xmark_regular"
|
|
1652
1397
|
}
|
|
1653
1398
|
|
|
1654
|
-
declare class
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
declare class SceneOptionsService {
|
|
1673
|
-
sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
|
|
1674
|
-
sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
|
|
1675
|
-
addSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
1676
|
-
updateSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
1677
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
|
|
1678
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
|
|
1399
|
+
declare class IconCacheService {
|
|
1400
|
+
private _sanitizer;
|
|
1401
|
+
/**
|
|
1402
|
+
* All the icons as a large JSON object, from the all-icons.json file.
|
|
1403
|
+
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
1404
|
+
*/
|
|
1405
|
+
get iconCache(): {
|
|
1406
|
+
[iconName: string]: SafeHtml;
|
|
1407
|
+
};
|
|
1408
|
+
private _iconCache;
|
|
1409
|
+
private _allIcons;
|
|
1410
|
+
constructor(_sanitizer: DomSanitizer);
|
|
1411
|
+
getIcon(iconName: string): SafeHtml;
|
|
1412
|
+
getIconAsBase64(iconName: IconEnum): SafeHtml;
|
|
1413
|
+
setIconCache(): void;
|
|
1414
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
|
|
1415
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
|
|
1679
1416
|
}
|
|
1680
1417
|
|
|
1681
|
-
declare
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1418
|
+
declare class ConfiguratorErrorDialogComponent {
|
|
1419
|
+
iconService: IconCacheService;
|
|
1420
|
+
showClass(): boolean;
|
|
1421
|
+
readonly icons: typeof IconEnum;
|
|
1422
|
+
errorMessages: ConfiguratorErrorMessage[];
|
|
1423
|
+
closeErrorDialoag: EventEmitter<void>;
|
|
1424
|
+
onClose(): void;
|
|
1425
|
+
constructor(iconService: IconCacheService);
|
|
1426
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
|
|
1427
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
|
|
1687
1428
|
}
|
|
1688
1429
|
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
emissive?: string;
|
|
1709
|
-
show?: boolean;
|
|
1710
|
-
default?: boolean;
|
|
1711
|
-
surfaces?: string[];
|
|
1712
|
-
offset?: THREE.Vector2;
|
|
1713
|
-
scale?: number;
|
|
1714
|
-
rotation?: number;
|
|
1715
|
-
stretch?: boolean;
|
|
1716
|
-
height?: number;
|
|
1717
|
-
width?: number;
|
|
1718
|
-
tileSize?: number;
|
|
1719
|
-
tileRotation?: number;
|
|
1720
|
-
useStandalone?: boolean;
|
|
1721
|
-
defaultStandalone?: boolean;
|
|
1722
|
-
mirror?: boolean;
|
|
1723
|
-
simplePlane?: boolean;
|
|
1724
|
-
toneMapped?: boolean;
|
|
1725
|
-
transparent?: boolean;
|
|
1726
|
-
opacity?: number;
|
|
1727
|
-
side?: number;
|
|
1728
|
-
depthWrite?: boolean;
|
|
1729
|
-
depthTest?: boolean;
|
|
1430
|
+
declare class ConfiguratorExportDialogComponent {
|
|
1431
|
+
iconService: IconCacheService;
|
|
1432
|
+
itemService: ConfiguratorItemService;
|
|
1433
|
+
private _utilService;
|
|
1434
|
+
readonly icons: typeof IconEnum;
|
|
1435
|
+
closeExportDialog: EventEmitter<void>;
|
|
1436
|
+
constructor(iconService: IconCacheService, itemService: ConfiguratorItemService, _utilService: UtilsService);
|
|
1437
|
+
onClose(): void;
|
|
1438
|
+
downloadGLB(): void;
|
|
1439
|
+
downloadUSDZ(): void;
|
|
1440
|
+
downloadBoth(): void;
|
|
1441
|
+
downloadThumbnail(): void;
|
|
1442
|
+
private _getObjectToExport;
|
|
1443
|
+
private _download3DModelAsGLB;
|
|
1444
|
+
private _download3DModelAsUSDZ;
|
|
1445
|
+
private _downloadFile;
|
|
1446
|
+
private _base64ToBlob;
|
|
1447
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
|
|
1448
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
|
|
1730
1449
|
}
|
|
1731
1450
|
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1451
|
+
declare class CameraSettings {
|
|
1452
|
+
sku: string;
|
|
1453
|
+
position: Vector3;
|
|
1454
|
+
rotation: Vector3;
|
|
1455
|
+
maxHorizontalOrbit: number;
|
|
1456
|
+
minHorizontalOrbit: number;
|
|
1457
|
+
maxVerticalOrbit: number;
|
|
1458
|
+
minVerticalOrbit: number;
|
|
1459
|
+
maxZoomDistance: number;
|
|
1460
|
+
minZoomDistance: number;
|
|
1736
1461
|
}
|
|
1737
1462
|
|
|
1738
|
-
|
|
1739
|
-
[face: string]: SkinFragment;
|
|
1740
|
-
}
|
|
1741
|
-
interface SkinFragment {
|
|
1742
|
-
color?: number;
|
|
1743
|
-
texture?: Texture;
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
/** Meta data for items. */
|
|
1747
|
-
interface Metadata {
|
|
1748
|
-
itemName?: string;
|
|
1749
|
-
itemDescription?: string;
|
|
1750
|
-
itemType?: number;
|
|
1751
|
-
/**
|
|
1752
|
-
* InstanceId
|
|
1753
|
-
*/
|
|
1754
|
-
itemId?: string;
|
|
1755
|
-
originalItemId?: string;
|
|
1756
|
-
/**
|
|
1757
|
-
* Sku
|
|
1758
|
-
*/
|
|
1759
|
-
itemIdentifier?: string;
|
|
1760
|
-
goodId?: string;
|
|
1761
|
-
goodType?: string;
|
|
1762
|
-
isCustom?: boolean;
|
|
1763
|
-
locked?: boolean;
|
|
1764
|
-
configurable?: boolean;
|
|
1765
|
-
ione?: boolean;
|
|
1766
|
-
position?: Vector3;
|
|
1767
|
-
rotation?: number | Euler;
|
|
1768
|
-
scale?: Vector3;
|
|
1769
|
-
centerPivot?: boolean;
|
|
1770
|
-
ignoreInvisible?: boolean;
|
|
1771
|
-
updatePivotOnCreate?: boolean;
|
|
1772
|
-
elementConfiguration?: AdjustableElementInterface[];
|
|
1773
|
-
obsolete?: boolean;
|
|
1774
|
-
thirdPartyModel?: boolean;
|
|
1775
|
-
usePivot?: boolean;
|
|
1776
|
-
decos?: DecoNode[];
|
|
1777
|
-
selections?: Selection[];
|
|
1778
|
-
canElevate?: boolean;
|
|
1779
|
-
onWall?: boolean;
|
|
1780
|
-
modelUrl?: string;
|
|
1781
|
-
scalable?: boolean;
|
|
1782
|
-
scalePercentage?: number;
|
|
1783
|
-
resizable?: boolean;
|
|
1784
|
-
elevation?: number;
|
|
1785
|
-
elevationFixed?: boolean;
|
|
1786
|
-
elevationAdjustable?: boolean;
|
|
1787
|
-
schema?: string;
|
|
1788
|
-
assetPath?: string;
|
|
1789
|
-
texture?: Texture;
|
|
1790
|
-
textureAssetName?: string;
|
|
1791
|
-
skin?: Skin;
|
|
1792
|
-
frameColor?: number;
|
|
1793
|
-
doorColor?: number;
|
|
1794
|
-
windowColor?: THREE.Color;
|
|
1795
|
-
doorpost?: boolean;
|
|
1796
|
-
isGlass?: boolean;
|
|
1797
|
-
itemGroup?: any;
|
|
1798
|
-
canRotateX?: boolean;
|
|
1799
|
-
canRotateY?: boolean;
|
|
1800
|
-
canRotateZ?: boolean;
|
|
1801
|
-
canScaleX?: boolean;
|
|
1802
|
-
canScaleY?: boolean;
|
|
1803
|
-
canScaleZ?: boolean;
|
|
1804
|
-
colorable?: boolean;
|
|
1805
|
-
default180?: boolean;
|
|
1806
|
-
objectUUID?: string;
|
|
1807
|
-
conversionGTMSend?: boolean;
|
|
1808
|
-
conversionSubmittedPrice?: string;
|
|
1809
|
-
hdecoType?: string;
|
|
1810
|
-
opening?: {
|
|
1811
|
-
show: boolean;
|
|
1812
|
-
double: boolean;
|
|
1813
|
-
invertDirection: boolean;
|
|
1814
|
-
invertSide: boolean;
|
|
1815
|
-
};
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
declare class Texture {
|
|
1819
|
-
name: string;
|
|
1820
|
-
type: TextureType;
|
|
1821
|
-
url: string;
|
|
1822
|
-
materializeUrl: string;
|
|
1823
|
-
bumpMap: string;
|
|
1824
|
-
bumpScale: number;
|
|
1825
|
-
roughness: number;
|
|
1826
|
-
roughnessMap: string;
|
|
1827
|
-
normalMap: string;
|
|
1828
|
-
repeatX: number;
|
|
1829
|
-
repeatY: number;
|
|
1830
|
-
metalness: number;
|
|
1831
|
-
metalnessMap: string;
|
|
1832
|
-
aoMapIntensity: number;
|
|
1833
|
-
aoMap: string;
|
|
1834
|
-
alphaMap: string;
|
|
1835
|
-
color: string;
|
|
1836
|
-
emissive: string;
|
|
1837
|
-
data: any;
|
|
1838
|
-
surfaces: string[];
|
|
1839
|
-
offset: THREE.Vector2;
|
|
1840
|
-
scale: number;
|
|
1841
|
-
rotation: number;
|
|
1842
|
-
stretch: boolean;
|
|
1843
|
-
show: boolean;
|
|
1844
|
-
default: boolean;
|
|
1845
|
-
height: number;
|
|
1846
|
-
width: number;
|
|
1847
|
-
tileSize: number;
|
|
1848
|
-
tileRotation: number;
|
|
1849
|
-
dimensions: Vector2;
|
|
1850
|
-
offsetScale: number;
|
|
1851
|
-
useStandalone: boolean;
|
|
1852
|
-
defaultStandalone: boolean;
|
|
1853
|
-
mirror: boolean;
|
|
1854
|
-
simplePlane: boolean;
|
|
1855
|
-
toneMapped: boolean;
|
|
1856
|
-
transparent: boolean;
|
|
1857
|
-
opacity: number;
|
|
1858
|
-
side: THREE.Side;
|
|
1859
|
-
depthWrite: boolean;
|
|
1860
|
-
depthTest: boolean;
|
|
1861
|
-
metadata?: Metadata;
|
|
1862
|
-
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
declare enum ShadowMapLocalType {
|
|
1866
|
-
BasicShadowMap = "BasicShadowMap",
|
|
1867
|
-
PCFShadowMap = "PCFShadowMap",
|
|
1868
|
-
PCFSoftShadowMap = "PCFSoftShadowMap",
|
|
1869
|
-
VSMShadowMap = "VSMShadowMap"
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
declare enum OutputEncoding {
|
|
1873
|
-
NoColorSpace = "NoColorSpace",
|
|
1874
|
-
SRGBColorSpace = "SRGBColorSpace",
|
|
1875
|
-
LinearSRGBColorSpace = "LinearSRGBColorSpace",
|
|
1876
|
-
DisplayP3ColorSpace = "DisplayP3ColorSpace",
|
|
1877
|
-
LinearDisplayP3ColorSpace = "LinearDisplayP3ColorSpace"
|
|
1878
|
-
}
|
|
1879
|
-
|
|
1880
|
-
declare enum LightEnum {
|
|
1881
|
-
SpotLight = "SpotLight",
|
|
1882
|
-
DirectionalLight = "DirectionalLight",
|
|
1883
|
-
AmbientLight = "AmbientLight",
|
|
1884
|
-
HemisphereLight = "HemisphereLight",
|
|
1885
|
-
PointLight = "PointLight"
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
declare class ShadowProperties {
|
|
1889
|
-
mapSize: Vector2;
|
|
1890
|
-
radius: number;
|
|
1891
|
-
near: number;
|
|
1892
|
-
far: number;
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
declare class LightProperties {
|
|
1896
|
-
type: LightEnum;
|
|
1897
|
-
name: string;
|
|
1898
|
-
visible: boolean;
|
|
1899
|
-
position: Vector3;
|
|
1900
|
-
color: Color;
|
|
1901
|
-
groundColor: Color;
|
|
1902
|
-
intensity: number;
|
|
1903
|
-
angle: number;
|
|
1904
|
-
power: number;
|
|
1905
|
-
decay: number;
|
|
1906
|
-
distance: number;
|
|
1907
|
-
penumbra: number;
|
|
1908
|
-
bias: number;
|
|
1909
|
-
radius: number;
|
|
1910
|
-
castShadow: boolean;
|
|
1911
|
-
wallOffset: number;
|
|
1912
|
-
rotationOffset: number;
|
|
1913
|
-
topDownDirectional: boolean;
|
|
1914
|
-
shadow: ShadowProperties;
|
|
1915
|
-
static CreateNew(rawData: any): LightProperties;
|
|
1916
|
-
}
|
|
1917
|
-
|
|
1918
|
-
declare enum ToneMappingLocal {
|
|
1919
|
-
NoToneMapping = "NoToneMapping",
|
|
1920
|
-
LinearToneMapping = "LinearToneMapping",
|
|
1921
|
-
ReinhardToneMapping = "ReinhardToneMapping",
|
|
1922
|
-
CineonToneMapping = "CineonToneMapping",
|
|
1923
|
-
ACESFilmicToneMapping = "ACESFilmicToneMapping",
|
|
1924
|
-
CustomToneMapping = "CustomToneMapping",
|
|
1925
|
-
AgXToneMapping = "AgXToneMapping",
|
|
1926
|
-
NeutralToneMapping = "NeutralToneMapping"
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
|
-
interface LightPresetInterface {
|
|
1930
|
-
id: string;
|
|
1931
|
-
name: string;
|
|
1932
|
-
default: boolean;
|
|
1933
|
-
standalone: boolean;
|
|
1934
|
-
group: string;
|
|
1935
|
-
navigatorType: NavigatorType;
|
|
1936
|
-
shadowMapType: ShadowMapLocalType;
|
|
1937
|
-
outputEncoding: OutputEncoding;
|
|
1938
|
-
shadowRadius: number;
|
|
1939
|
-
toneMapping: ToneMappingLocal;
|
|
1940
|
-
toneMappingExposure: number;
|
|
1941
|
-
physicallyCorrectLights: boolean;
|
|
1942
|
-
lights: LightProperties[];
|
|
1943
|
-
hdri: string;
|
|
1944
|
-
hdriIntensity: number;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
declare class LightPreset {
|
|
1948
|
-
id: string;
|
|
1949
|
-
name: string;
|
|
1950
|
-
navigatorType: NavigatorType;
|
|
1951
|
-
default: boolean;
|
|
1952
|
-
standalone: boolean;
|
|
1953
|
-
group: string;
|
|
1954
|
-
shadowMapType: ShadowMapLocalType;
|
|
1955
|
-
outputEncoding: OutputEncoding;
|
|
1956
|
-
colorSpace: ColorSpace;
|
|
1957
|
-
shadowRadius: number;
|
|
1958
|
-
toneMapping: ToneMappingLocal;
|
|
1959
|
-
toneMappingExposure: number;
|
|
1960
|
-
physicallyCorrectLights: boolean;
|
|
1961
|
-
lights: LightProperties[];
|
|
1962
|
-
hdri: string;
|
|
1963
|
-
hdriIntensity: number;
|
|
1964
|
-
dirty: boolean;
|
|
1965
|
-
constructor();
|
|
1966
|
-
static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
|
|
1967
|
-
private _generateUniqueId;
|
|
1968
|
-
}
|
|
1969
|
-
|
|
1970
|
-
declare class BundleInitializerService implements OnDestroy {
|
|
1971
|
-
private _jsonUtilsService;
|
|
1972
|
-
private _settingsService;
|
|
1973
|
-
private _ioneControllerService;
|
|
1974
|
-
private _appInitializerService;
|
|
1975
|
-
private _configurationService;
|
|
1976
|
-
private _sceneService;
|
|
1977
|
-
private _sceneOptionsService;
|
|
1978
|
-
floorTextures: Texture[];
|
|
1979
|
-
lightPresets: LightPreset[];
|
|
1980
|
-
settings: Setting[];
|
|
1981
|
-
floorTexturesLoaded: BehaviorSubject<Texture[]>;
|
|
1982
|
-
lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
|
|
1983
|
-
settingsLoaded: BehaviorSubject<Setting[]>;
|
|
1984
|
-
allLoaded: BehaviorSubject<boolean>;
|
|
1985
|
-
private _assetPath;
|
|
1986
|
-
private _connectionSet;
|
|
1987
|
-
private _subs;
|
|
1988
|
-
private _jsonFile;
|
|
1989
|
-
private _lightPresetsJsonFile;
|
|
1990
|
-
constructor(_jsonUtilsService: JsonUtilsService, _settingsService: SettingsService, _ioneControllerService: ConfiguratorConnectorService, _appInitializerService: AppInitializerService, _configurationService: ConfigurationService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService);
|
|
1991
|
-
ngOnDestroy(): void;
|
|
1992
|
-
getFloorTextures(): Texture[];
|
|
1993
|
-
getFloorTexture(): Texture;
|
|
1994
|
-
getLightPreset(): LightPreset[];
|
|
1995
|
-
private _initialize;
|
|
1996
|
-
private _createTexture;
|
|
1997
|
-
private _createLightPreset;
|
|
1998
|
-
private _createSettings;
|
|
1999
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BundleInitializerService, never>;
|
|
2000
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BundleInitializerService>;
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
declare class FloorPlaneService implements OnDestroy {
|
|
2004
|
-
private _settingsService;
|
|
2005
|
-
private _sceneService;
|
|
2006
|
-
private _sceneOptionsService;
|
|
2007
|
-
private _bundleInitializerService;
|
|
2008
|
-
get floorPlane(): Object3D;
|
|
2009
|
-
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
2010
|
-
private _standaloneFloors;
|
|
2011
|
-
private _floorPlane;
|
|
2012
|
-
private _subs;
|
|
2013
|
-
private _sceneReady;
|
|
2014
|
-
private _texturesReady;
|
|
2015
|
-
constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
|
|
2016
|
-
ngOnDestroy(): void;
|
|
2017
|
-
createFloorPlane(): Promise<void>;
|
|
2018
|
-
getCenterFloorPlane(): Vector3;
|
|
2019
|
-
getDimensions(scale?: number): {
|
|
2020
|
-
x: {
|
|
2021
|
-
min: number;
|
|
2022
|
-
max: number;
|
|
2023
|
-
};
|
|
2024
|
-
y: {
|
|
2025
|
-
min: number;
|
|
2026
|
-
max: number;
|
|
2027
|
-
};
|
|
2028
|
-
};
|
|
2029
|
-
getPlaneSize(): Vector3;
|
|
2030
|
-
private _getStandaloneFloorSize;
|
|
2031
|
-
private _generateFloorPlane;
|
|
2032
|
-
private _createFloorMaterial;
|
|
2033
|
-
private _upsertFloorButtons;
|
|
2034
|
-
private _changeStandaloneFloor;
|
|
2035
|
-
private _setFloorTexture;
|
|
2036
|
-
private _updateFloorMaterial;
|
|
2037
|
-
private _setUpdatedMaterial;
|
|
2038
|
-
private _getMaterials;
|
|
2039
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
|
|
2040
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
|
-
declare class LightsService implements OnDestroy {
|
|
2044
|
-
private _sceneService;
|
|
2045
|
-
private _bundleInitializerService;
|
|
2046
|
-
private _configurationService;
|
|
2047
|
-
private _floorPlanService;
|
|
2048
|
-
lights: Light[];
|
|
2049
|
-
onLightAdded: Subject<{
|
|
2050
|
-
light: Light;
|
|
2051
|
-
index: number;
|
|
2052
|
-
}>;
|
|
2053
|
-
private _subs;
|
|
2054
|
-
constructor(_sceneService: SceneService, _bundleInitializerService: BundleInitializerService, _configurationService: ConfigurationService, _floorPlanService: FloorPlaneService);
|
|
2055
|
-
ngOnDestroy(): void;
|
|
2056
|
-
init(): void;
|
|
2057
|
-
createLight<T extends Light>(modelClass: any): void;
|
|
2058
|
-
addLight(light: Light): void;
|
|
2059
|
-
removeAllLights(): void;
|
|
2060
|
-
initiateLightPreset(): void;
|
|
2061
|
-
updateAllOffsets(): void;
|
|
2062
|
-
updateOffsets(light: Light): void;
|
|
2063
|
-
private _addLight;
|
|
2064
|
-
private _removeLight;
|
|
2065
|
-
private _updateShadowCamera;
|
|
2066
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
|
|
2067
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
declare class LightPresetsService implements OnDestroy {
|
|
2071
|
-
private _lightsService;
|
|
2072
|
-
private _appService;
|
|
2073
|
-
private _sceneService;
|
|
2074
|
-
private _screenSizeAnalysis;
|
|
2075
|
-
private _settingsService;
|
|
2076
|
-
set activeLightPreset(value: LightPreset);
|
|
2077
|
-
get activeLightPreset(): LightPreset;
|
|
2078
|
-
loadedLightPresets: LightPreset[];
|
|
2079
|
-
presetLoaded: BehaviorSubject<boolean>;
|
|
2080
|
-
private _activeLightPreset;
|
|
2081
|
-
private _lightPresetsLoaded;
|
|
2082
|
-
private _subs;
|
|
2083
|
-
private _lightsMap;
|
|
2084
|
-
constructor(_lightsService: LightsService, _appService: BundleInitializerService, _sceneService: SceneService, _screenSizeAnalysis: ScreenSizeAnalysisService, _settingsService: SettingsService);
|
|
2085
|
-
init(): void;
|
|
2086
|
-
ngOnDestroy(): void;
|
|
2087
|
-
loadLightPreset(lightPreset: LightPreset): Promise<void>;
|
|
2088
|
-
prepareLoadLightPreset(standalone?: boolean): Promise<void>;
|
|
2089
|
-
private _prepareLoadLightPreset;
|
|
2090
|
-
private _createLightFromProperties;
|
|
2091
|
-
private _setObjectProperties;
|
|
2092
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LightPresetsService, never>;
|
|
2093
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LightPresetsService>;
|
|
2094
|
-
}
|
|
2095
|
-
|
|
2096
|
-
declare class IntersectionService {
|
|
2097
|
-
private _cameraService;
|
|
2098
|
-
constructor(_cameraService: CameraService);
|
|
2099
|
-
getIntersections(mouseVector: Vector3, planeObjects: Object3D[], options?: any): Intersection[];
|
|
2100
|
-
removeIf(array: any, func: any): any[];
|
|
2101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
|
|
2102
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
|
|
2103
|
-
}
|
|
2104
|
-
|
|
2105
|
-
declare class SceneEventService implements OnDestroy {
|
|
2106
|
-
private _sceneService;
|
|
2107
|
-
private _cameraService;
|
|
2108
|
-
private _connectorService;
|
|
2109
|
-
private _intersectionService;
|
|
2110
|
-
private _floorPlaneService;
|
|
2111
|
-
private _itemService;
|
|
2112
|
-
private _appEventService;
|
|
2113
|
-
readonly intersectOffsetForWalls = 20;
|
|
2114
|
-
readonly longTouchDuration = 600;
|
|
2115
|
-
rotateNoDrag: boolean;
|
|
2116
|
-
private _element;
|
|
2117
|
-
private _controls;
|
|
2118
|
-
private _camera;
|
|
2119
|
-
private _mousePosition;
|
|
2120
|
-
private _oldMousePosition;
|
|
2121
|
-
private _rotationStartPoint;
|
|
2122
|
-
private _intersectedObject;
|
|
2123
|
-
private _intersectedMesh;
|
|
2124
|
-
private _mouseoverObject;
|
|
2125
|
-
private _selectedObject;
|
|
2126
|
-
private _prevSelectedObject;
|
|
2127
|
-
private _defaultCursorStyle;
|
|
2128
|
-
private _inDragOver;
|
|
2129
|
-
private _mouseDown;
|
|
2130
|
-
private _mouseMoved;
|
|
2131
|
-
private _rotateMouseOver;
|
|
2132
|
-
private _groupingMode;
|
|
2133
|
-
private _state;
|
|
2134
|
-
private _intersectedWall;
|
|
2135
|
-
private _intersectedFloor;
|
|
2136
|
-
private _subs;
|
|
2137
|
-
private _cameraMoveSub;
|
|
2138
|
-
private _debouncedSaveState;
|
|
2139
|
-
private _touchStart;
|
|
2140
|
-
private _touchEnd;
|
|
2141
|
-
private _touchCancel;
|
|
2142
|
-
private _touchMove;
|
|
2143
|
-
constructor(_sceneService: SceneService, _cameraService: CameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ItemService, _appEventService: AppEventService);
|
|
2144
|
-
ngOnDestroy(): void;
|
|
2145
|
-
init(element: HTMLElement): void;
|
|
2146
|
-
setExploreMode(on?: boolean): void;
|
|
2147
|
-
setSelectedObject(object: Object3D, mesh?: Object3D | Mesh): void;
|
|
2148
|
-
setUnselectedObject(): void;
|
|
2149
|
-
private _updateIntersections;
|
|
2150
|
-
private _clearIntersectedObject;
|
|
2151
|
-
private _setMousePositionFromTouchEvent;
|
|
2152
|
-
private _touchStartEvent;
|
|
2153
|
-
private _touchEndEvent;
|
|
2154
|
-
private _touchMoveEvent;
|
|
2155
|
-
private _mouseUpEvent;
|
|
2156
|
-
private _mouseMoveEvent;
|
|
2157
|
-
private _leftMouseDownEvent;
|
|
2158
|
-
private _getIntersections;
|
|
2159
|
-
private _setIntersectedObject;
|
|
2160
|
-
private _isMouseEventAllowed;
|
|
2161
|
-
private _mouseToVec3;
|
|
2162
|
-
private _markSceneToUpdate;
|
|
2163
|
-
private _setCursorStyle;
|
|
2164
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
|
|
2165
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
declare class RenderResponse {
|
|
2169
|
-
result: string;
|
|
2170
|
-
statusCode: number;
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
declare enum BlenderRenderType {
|
|
2174
|
-
Realtime = 0,
|
|
2175
|
-
Raytrace = 1
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
|
-
declare class OptionalRenderSettings {
|
|
2179
|
-
objectWidth: number;
|
|
2180
|
-
objectHeight: number;
|
|
2181
|
-
renderType: number | BlenderRenderType;
|
|
2182
|
-
objectRotation: any;
|
|
2183
|
-
margin: number;
|
|
2184
|
-
cameraRotationX: number;
|
|
2185
|
-
forceTransparency: boolean;
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
|
-
declare class RenderBaseObject {
|
|
2189
|
-
selections: Selection[];
|
|
2190
|
-
decos: DecoNode[];
|
|
2191
|
-
assetUrl: string;
|
|
2192
|
-
cdnUrl: string;
|
|
2193
|
-
schema: string;
|
|
2194
|
-
options: any;
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
declare class RenderApi {
|
|
2198
|
-
private _settingsService;
|
|
2199
|
-
private _overWriteTransparency;
|
|
2200
|
-
constructor(_settingsService: SettingsService);
|
|
2201
|
-
prepareGlbRender(buildResult: ConfigurationResultObject, object3dPosition: Vector3, object3dRotation: Vector3, cameraFov?: number, forceNewRender?: boolean, optionalRenderParameters?: OptionalRenderSettings): RenderBaseObject;
|
|
2202
|
-
sendRenderRequest(data: RenderBaseObject): Promise<RenderResponse>;
|
|
2203
|
-
degreesToVector3(value: number): Vector3;
|
|
2204
|
-
private _adjustCameraRotation;
|
|
2205
|
-
private _getSceneRenderSettings;
|
|
2206
|
-
private _useTransparency;
|
|
2207
|
-
private _setForceTransparency;
|
|
2208
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RenderApi, never>;
|
|
2209
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RenderApi>;
|
|
2210
|
-
}
|
|
2211
|
-
|
|
2212
|
-
declare class RenderService implements OnDestroy {
|
|
2213
|
-
private _settingsService;
|
|
2214
|
-
private _cameraService;
|
|
2215
|
-
private _itemService;
|
|
2216
|
-
private _appEventService;
|
|
2217
|
-
private _renderApi;
|
|
2218
|
-
renderImageChanged: BehaviorSubject<string>;
|
|
2219
|
-
renderImageError: BehaviorSubject<string>;
|
|
2220
|
-
blenderRenderStarted: EventEmitter<string>;
|
|
2221
|
-
clientWidth: number;
|
|
2222
|
-
clientHeight: number;
|
|
2223
|
-
private _subs;
|
|
2224
|
-
constructor(_settingsService: SettingsService, _cameraService: CameraService, _itemService: ItemService, _appEventService: AppEventService, _renderApi: RenderApi);
|
|
2225
|
-
ngOnDestroy(): void;
|
|
2226
|
-
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
2227
|
-
getNewGlbFromServer(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): void;
|
|
2228
|
-
private _handleAjaxGlb;
|
|
2229
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
|
|
2230
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
declare class ConfiguringService implements OnDestroy {
|
|
2234
|
-
settingsService: SettingsService;
|
|
2235
|
-
private _initializerService;
|
|
2236
|
-
private _loadFurnitureService;
|
|
2237
|
-
private _buildFurnitureService;
|
|
2238
|
-
private _appEventService;
|
|
2239
|
-
private _configuratorConnectorService;
|
|
2240
|
-
private _itemService;
|
|
2241
|
-
private _floorPlaneService;
|
|
2242
|
-
private _lightPresetService;
|
|
2243
|
-
private _cameraService;
|
|
2244
|
-
private _sceneEventService;
|
|
2245
|
-
private _sceneService;
|
|
2246
|
-
private _utilsService;
|
|
2247
|
-
private _renderService;
|
|
2248
|
-
set settings(value: ConfiguratorSettings);
|
|
2249
|
-
get settings(): ConfiguratorSettings;
|
|
2250
|
-
set sku(value: string);
|
|
2251
|
-
get sku(): string;
|
|
2252
|
-
set instanceId(value: string);
|
|
2253
|
-
get instanceId(): string;
|
|
2254
|
-
set isConfiguring(value: boolean);
|
|
2255
|
-
get isConfiguring(): boolean;
|
|
2256
|
-
set scene(value: Scene);
|
|
2257
|
-
get scene(): Scene;
|
|
2258
|
-
onShowLiteSelector: EventEmitter<boolean>;
|
|
2259
|
-
onShowSelections: EventEmitter<boolean>;
|
|
2260
|
-
onShowAnswers: EventEmitter<boolean>;
|
|
2261
|
-
onShowFullConfiguration: EventEmitter<boolean>;
|
|
2262
|
-
onAnswersAvailable: EventEmitter<boolean>;
|
|
2263
|
-
floorReady: EventEmitter<boolean>;
|
|
2264
|
-
onRenderImageReceived: EventEmitter<string>;
|
|
2265
|
-
onRenderErrorReceived: EventEmitter<string>;
|
|
2266
|
-
onThumbnailReceived: EventEmitter<string>;
|
|
2267
|
-
onCanvasImageReceived: EventEmitter<string>;
|
|
2268
|
-
buildResult: ConfigurationResultObject;
|
|
2269
|
-
private _settings;
|
|
2270
|
-
private _sku;
|
|
2271
|
-
private _instanceId;
|
|
2272
|
-
private _isConfiguring;
|
|
2273
|
-
private _scene;
|
|
2274
|
-
private _showFullConfiguration;
|
|
2275
|
-
private _subs;
|
|
2276
|
-
constructor(settingsService: SettingsService, _initializerService: AppInitializerService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: AppEventService, _configuratorConnectorService: ConfiguratorConnectorService, _itemService: ItemService, _floorPlaneService: FloorPlaneService, _lightPresetService: LightPresetsService, _cameraService: CameraService, _sceneEventService: SceneEventService, _sceneService: SceneService, _utilsService: UtilsService, _renderService: RenderService);
|
|
2277
|
-
ngOnDestroy(): void;
|
|
2278
|
-
init(settings: any): Promise<void>;
|
|
2279
|
-
configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
|
|
2280
|
-
addBuildToScene(buildResult: ConfigurationResultObject): void;
|
|
2281
|
-
handleLoadSceneContent(): Promise<void>;
|
|
2282
|
-
renderImage(buildResult: ConfigurationResultObject, optionalRenderParameters?: any, forceNewRender?: boolean): Promise<void>;
|
|
2283
|
-
private _handleTemplateChange;
|
|
2284
|
-
private _handleFloorPlaneReady;
|
|
2285
|
-
private _handleImageReceived;
|
|
2286
|
-
private _handleRenderErrorReceived;
|
|
2287
|
-
private _handleAnswerCountReceived;
|
|
2288
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
|
|
2289
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
|
-
declare class ConfiguratorComponent implements OnDestroy {
|
|
2293
|
-
settingsService: SettingsService;
|
|
2294
|
-
loaderService: LoaderService;
|
|
2295
|
-
private _appEventService;
|
|
2296
|
-
private _configuringService;
|
|
2297
|
-
showClass(): boolean;
|
|
2298
|
-
showLoader: boolean;
|
|
2299
|
-
showProgressBar: boolean;
|
|
2300
|
-
showErrorMessages: boolean;
|
|
2301
|
-
outputErrorMessages: boolean;
|
|
2302
|
-
canCloseConfigurator: boolean;
|
|
2303
|
-
animateSlideout: boolean;
|
|
2304
|
-
showHeaderInformation: boolean;
|
|
2305
|
-
showSaveAndLoadConfiguration: boolean;
|
|
2306
|
-
buildResult: EventEmitter<ConfigurationResultObject>;
|
|
2307
|
-
isLoading: EventEmitter<boolean>;
|
|
2308
|
-
updateProgressBar: EventEmitter<boolean>;
|
|
2309
|
-
errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
|
|
2310
|
-
showChange: EventEmitter<boolean>;
|
|
2311
|
-
resultHasErrors: boolean;
|
|
2312
|
-
showErrorDiagram: boolean;
|
|
2313
|
-
configurationResultObject: ConfigurationResultObject;
|
|
2314
|
-
private _subs;
|
|
2315
|
-
constructor(settingsService: SettingsService, loaderService: LoaderService, _appEventService: AppEventService, _configuringService: ConfiguringService);
|
|
2316
|
-
ngOnDestroy(): void;
|
|
2317
|
-
handleBuildFinished(result: ConfigurationResultObject): void;
|
|
2318
|
-
handleShowChange(show: boolean): void;
|
|
2319
|
-
handleCloseErrorDialog(): void;
|
|
2320
|
-
private _handleArticleNotFound;
|
|
2321
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
2322
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showErrorMessages": { "alias": "showErrorMessages"; "required": false; }; "outputErrorMessages": { "alias": "outputErrorMessages"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSaveAndLoadConfiguration": { "alias": "showSaveAndLoadConfiguration"; "required": false; }; }, { "buildResult": "buildResult"; "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
declare class ProgressBarComponent {
|
|
2326
|
-
progressService: ProgressService;
|
|
2327
|
-
showClass(): boolean;
|
|
2328
|
-
get showBar(): boolean;
|
|
2329
|
-
constructor(progressService: ProgressService);
|
|
2330
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
2331
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
declare class ProgressBarModule {
|
|
2335
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
|
|
2336
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
|
|
2337
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
declare class ConfiguratorLoaderComponent {
|
|
2341
|
-
showClass(): boolean;
|
|
2342
|
-
show: boolean;
|
|
2343
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
|
|
2344
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
|
|
2345
|
-
}
|
|
2346
|
-
|
|
2347
|
-
declare class ConfiguratorLoaderModule {
|
|
2348
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
|
|
2349
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i3$1.LoaderModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
|
|
2350
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
declare class IconCacheService {
|
|
2354
|
-
private _sanitizer;
|
|
2355
|
-
/**
|
|
2356
|
-
* All the icons as a large JSON object, from the all-icons.json file.
|
|
2357
|
-
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
2358
|
-
*/
|
|
2359
|
-
get iconCache(): {
|
|
2360
|
-
[iconName: string]: SafeHtml;
|
|
2361
|
-
};
|
|
2362
|
-
private _iconCache;
|
|
2363
|
-
private _allIcons;
|
|
2364
|
-
constructor(_sanitizer: DomSanitizer);
|
|
2365
|
-
getIcon(iconName: string): SafeHtml;
|
|
2366
|
-
getIconAsBase64(iconName: IconEnum): SafeHtml;
|
|
2367
|
-
setIconCache(): void;
|
|
2368
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
|
|
2369
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
|
|
2370
|
-
}
|
|
2371
|
-
|
|
2372
|
-
declare class ConfiguratorErrorDialogComponent {
|
|
2373
|
-
iconService: IconCacheService;
|
|
2374
|
-
showClass(): boolean;
|
|
2375
|
-
readonly icons: typeof IconEnum;
|
|
2376
|
-
errorMessages: ConfiguratorErrorMessage[];
|
|
2377
|
-
closeErrorDialoag: EventEmitter<void>;
|
|
2378
|
-
onClose(): void;
|
|
2379
|
-
constructor(iconService: IconCacheService);
|
|
2380
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
|
|
2381
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
declare class ConfiguratorExportDialogComponent {
|
|
2385
|
-
iconService: IconCacheService;
|
|
2386
|
-
itemService: ItemService;
|
|
2387
|
-
private _utilService;
|
|
2388
|
-
readonly icons: typeof IconEnum;
|
|
2389
|
-
closeExportDialog: EventEmitter<void>;
|
|
2390
|
-
constructor(iconService: IconCacheService, itemService: ItemService, _utilService: UtilsService);
|
|
2391
|
-
onClose(): void;
|
|
2392
|
-
downloadGLB(): void;
|
|
2393
|
-
downloadUSDZ(): void;
|
|
2394
|
-
downloadBoth(): void;
|
|
2395
|
-
downloadThumbnail(): void;
|
|
2396
|
-
private _getObjectToExport;
|
|
2397
|
-
private _download3DModelAsGLB;
|
|
2398
|
-
private _download3DModelAsUSDZ;
|
|
2399
|
-
private _downloadFile;
|
|
2400
|
-
private _base64ToBlob;
|
|
2401
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
|
|
2402
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
|
-
declare class CameraSettings {
|
|
2406
|
-
sku: string;
|
|
2407
|
-
position: Vector3;
|
|
2408
|
-
rotation: Vector3;
|
|
2409
|
-
maxHorizontalOrbit: number;
|
|
2410
|
-
minHorizontalOrbit: number;
|
|
2411
|
-
maxVerticalOrbit: number;
|
|
2412
|
-
minVerticalOrbit: number;
|
|
2413
|
-
maxZoomDistance: number;
|
|
2414
|
-
minZoomDistance: number;
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
declare class DynamicCameraService {
|
|
1463
|
+
declare class ConfiguratorDynamicCameraService {
|
|
2418
1464
|
private _cameraService;
|
|
2419
1465
|
private _sceneService;
|
|
2420
1466
|
private _settingsService;
|
|
2421
1467
|
private _configuratorConnectorService;
|
|
2422
1468
|
currentCameraSettings: CameraSettings[];
|
|
2423
|
-
constructor(_cameraService:
|
|
1469
|
+
constructor(_cameraService: ConfiguratorCameraService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2424
1470
|
initCameraSettings(): Promise<void>;
|
|
2425
1471
|
getCameraSettings(): CameraSettings;
|
|
2426
1472
|
loadCustomCameraSettings(): Promise<void>;
|
|
2427
1473
|
exportCameraSettings(): any;
|
|
2428
1474
|
saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
|
|
2429
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2430
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDynamicCameraService, never>;
|
|
1476
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorDynamicCameraService>;
|
|
2431
1477
|
}
|
|
2432
1478
|
|
|
2433
1479
|
declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
@@ -2441,7 +1487,7 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
|
2441
1487
|
currentSku: string;
|
|
2442
1488
|
positionAsString: string;
|
|
2443
1489
|
rotationAsString: string;
|
|
2444
|
-
constructor(iconService: IconCacheService, _cameraService:
|
|
1490
|
+
constructor(iconService: IconCacheService, _cameraService: ConfiguratorCameraService, _dynamicCameraService: ConfiguratorDynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2445
1491
|
ngOnInit(): void;
|
|
2446
1492
|
onClose(): void;
|
|
2447
1493
|
saveSettings(asDefault: boolean): void;
|
|
@@ -2453,101 +1499,46 @@ declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
|
2453
1499
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
|
|
2454
1500
|
}
|
|
2455
1501
|
|
|
2456
|
-
declare class AppendPipe implements PipeTransform {
|
|
2457
|
-
transform(value: string, append?: string): string;
|
|
2458
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
|
|
2459
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
|
-
declare class LocalizePipe implements PipeTransform {
|
|
2463
|
-
private _dictionaryService;
|
|
2464
|
-
constructor(_dictionaryService: DictionaryService);
|
|
2465
|
-
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
2466
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
2467
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
declare class GoogleTranslateService implements OnDestroy {
|
|
2471
|
-
private _settingsService;
|
|
2472
|
-
private _connectorService;
|
|
2473
|
-
private _clientLanguage;
|
|
2474
|
-
private _defaultLanguage;
|
|
2475
|
-
private _translations;
|
|
2476
|
-
private _initialized;
|
|
2477
|
-
private _initializedSubject;
|
|
2478
|
-
private _connectionSubject;
|
|
2479
|
-
protected googleApiEnabled: boolean;
|
|
2480
|
-
constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
|
|
2481
|
-
ngOnDestroy(): void;
|
|
2482
|
-
getTranslation(input: string): Promise<string>;
|
|
2483
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
|
|
2484
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
|
|
2485
|
-
}
|
|
2486
|
-
|
|
2487
|
-
declare class GoogleTranslatePipe implements PipeTransform {
|
|
2488
|
-
private _googleTranslateService;
|
|
2489
|
-
constructor(_googleTranslateService: GoogleTranslateService);
|
|
2490
|
-
transform(value: string): Observable<string>;
|
|
2491
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
|
|
2492
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
|
-
declare class PrependPipe implements PipeTransform {
|
|
2496
|
-
transform(value: string, prepend?: string): string;
|
|
2497
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
|
|
2498
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
|
|
2499
|
-
}
|
|
2500
|
-
|
|
2501
|
-
declare class StripHtmlPipe implements PipeTransform {
|
|
2502
|
-
transform(html: string): string;
|
|
2503
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
|
|
2504
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
declare class PipesModule {
|
|
2508
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
2509
|
-
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]>;
|
|
2510
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
2511
|
-
}
|
|
2512
|
-
|
|
2513
1502
|
declare class ConfiguratorDialogModule {
|
|
2514
1503
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
|
|
2515
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof
|
|
1504
|
+
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]>;
|
|
2516
1505
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
|
|
2517
1506
|
}
|
|
2518
1507
|
|
|
2519
|
-
declare class
|
|
1508
|
+
declare class ConfigurationPresetDialogComponent implements OnDestroy {
|
|
1509
|
+
iconService: IconCacheService;
|
|
1510
|
+
private _overlay;
|
|
1511
|
+
private _viewContainerRef;
|
|
1512
|
+
private _configuratorConnectorService;
|
|
1513
|
+
private _translationService;
|
|
2520
1514
|
private _appEventService;
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
1515
|
+
readonly icons: typeof IconEnum;
|
|
1516
|
+
readonly presetDialogMode: typeof PresetDialogMode;
|
|
1517
|
+
dialogTemplate: TemplateRef<any>;
|
|
2524
1518
|
showClass(): boolean;
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
buildFinished: EventEmitter<ConfigurationResultObject>;
|
|
2532
|
-
showChange: EventEmitter<boolean>;
|
|
2533
|
-
showElementToolbar: boolean;
|
|
2534
|
-
showLiteSelector: boolean;
|
|
2535
|
-
showSelections: boolean;
|
|
2536
|
-
showAnswers: boolean;
|
|
2537
|
-
showFullConfiguration: boolean;
|
|
2538
|
-
private _floorTexturesLoadedSub;
|
|
1519
|
+
instanceIdInput: string;
|
|
1520
|
+
showValidationErrors: boolean;
|
|
1521
|
+
validationError: string;
|
|
1522
|
+
dialogMode: PresetDialogMode;
|
|
1523
|
+
private _overlayRef;
|
|
1524
|
+
private _instanceId;
|
|
2539
1525
|
private _subs;
|
|
2540
|
-
|
|
2541
|
-
constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
|
|
2542
|
-
ngOnInit(): Promise<void>;
|
|
1526
|
+
constructor(iconService: IconCacheService, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _configuratorConnectorService: ConfiguratorConnectorService, _translationService: TranslationService, _appEventService: ConfiguratorEventService);
|
|
2543
1527
|
ngOnDestroy(): void;
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
private
|
|
2549
|
-
|
|
2550
|
-
static
|
|
1528
|
+
handleOpenDialog(mode: PresetDialogMode): void;
|
|
1529
|
+
handleCloseClick(): void;
|
|
1530
|
+
handleCopySuccess(): Promise<void>;
|
|
1531
|
+
loadConfiguration(): void;
|
|
1532
|
+
private _openOverlay;
|
|
1533
|
+
private _handleSetInstance;
|
|
1534
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogComponent, never>;
|
|
1535
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetDialogComponent, "co-configuration-preset-dialog", never, {}, {}, never, never, false, never>;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
declare class ConfigurationPresetDialogModule {
|
|
1539
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogModule, never>;
|
|
1540
|
+
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]>;
|
|
1541
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetDialogModule>;
|
|
2551
1542
|
}
|
|
2552
1543
|
|
|
2553
1544
|
declare class LiteSelectorComponent implements OnDestroy {
|
|
@@ -2556,11 +1547,7 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
2556
1547
|
private _configuringService;
|
|
2557
1548
|
showClass(): boolean;
|
|
2558
1549
|
templateAnswers: TemplateRef<any>;
|
|
2559
|
-
set showAnswers(value: boolean);
|
|
2560
|
-
get showAnswers(): boolean;
|
|
2561
1550
|
show: boolean;
|
|
2562
|
-
set showSelections(value: boolean);
|
|
2563
|
-
get showSelections(): boolean;
|
|
2564
1551
|
showLabel: boolean;
|
|
2565
1552
|
canClose: boolean;
|
|
2566
1553
|
animateSlideout: boolean;
|
|
@@ -2582,11 +1569,11 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
2582
1569
|
onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
|
|
2583
1570
|
onAnswersSlideoutAnswerChosen(answerSelected: any): void;
|
|
2584
1571
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
|
|
2585
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "
|
|
1572
|
+
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>;
|
|
2586
1573
|
}
|
|
2587
1574
|
|
|
2588
1575
|
declare class AnswerCardComponent implements OnInit {
|
|
2589
|
-
settingsService:
|
|
1576
|
+
settingsService: ConfiguratorSettingsService;
|
|
2590
1577
|
iconService: IconCacheService;
|
|
2591
1578
|
private _configuratorConnectorService;
|
|
2592
1579
|
readonly icons: typeof IconEnum;
|
|
@@ -2616,7 +1603,7 @@ declare class AnswerCardComponent implements OnInit {
|
|
|
2616
1603
|
showAnswerInfo: boolean;
|
|
2617
1604
|
private _waitForInput;
|
|
2618
1605
|
private _waitForInqValue;
|
|
2619
|
-
constructor(settingsService:
|
|
1606
|
+
constructor(settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
2620
1607
|
ngOnInit(): void;
|
|
2621
1608
|
onContentClick(): void;
|
|
2622
1609
|
handleClick(event: MouseEvent): void;
|
|
@@ -2640,7 +1627,7 @@ declare class AnswerCardComponent implements OnInit {
|
|
|
2640
1627
|
|
|
2641
1628
|
declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
2642
1629
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2643
|
-
settingsService:
|
|
1630
|
+
settingsService: ConfiguratorSettingsService;
|
|
2644
1631
|
iconService: IconCacheService;
|
|
2645
1632
|
private _appEventService;
|
|
2646
1633
|
private _buildFurnitureService;
|
|
@@ -2651,7 +1638,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2651
1638
|
readonly icons: typeof IconEnum;
|
|
2652
1639
|
private readonly _showSmallAnswerCardsFromThisAmount;
|
|
2653
1640
|
private readonly _propsToSearch;
|
|
2654
|
-
isShown: boolean;
|
|
2655
1641
|
question: Question;
|
|
2656
1642
|
showTitle: boolean;
|
|
2657
1643
|
showFilter: boolean;
|
|
@@ -2659,7 +1645,6 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2659
1645
|
useSlideout: boolean;
|
|
2660
1646
|
get answers(): Answer[];
|
|
2661
1647
|
customDimensions: boolean;
|
|
2662
|
-
readonly isShownChange: EventEmitter<boolean>;
|
|
2663
1648
|
readonly answerChosen: EventEmitter<{
|
|
2664
1649
|
answer: Answer;
|
|
2665
1650
|
input: string;
|
|
@@ -2667,7 +1652,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2667
1652
|
isSmallCardsModus: boolean;
|
|
2668
1653
|
bottomAlign: boolean;
|
|
2669
1654
|
filteredAnswers: Answer[];
|
|
2670
|
-
colorArray: Color
|
|
1655
|
+
colorArray: Color[];
|
|
2671
1656
|
tagArray: Tag[];
|
|
2672
1657
|
showTheFilter: boolean;
|
|
2673
1658
|
zoomImage: string;
|
|
@@ -2683,12 +1668,12 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2683
1668
|
private _subs;
|
|
2684
1669
|
private _filterOnColors;
|
|
2685
1670
|
private _filterOnTags;
|
|
2686
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
1671
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _appEventService: ConfiguratorEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
|
|
2687
1672
|
ngOnInit(): void;
|
|
2688
1673
|
ngOnDestroy(): void;
|
|
2689
1674
|
onZoomClick(answer: Answer): void;
|
|
2690
1675
|
applyFilter(): void;
|
|
2691
|
-
onFilterColor(color: Color
|
|
1676
|
+
onFilterColor(color: Color): void;
|
|
2692
1677
|
onFilterTag(tag: Tag): void;
|
|
2693
1678
|
onCloseAnswerSlideout(): void;
|
|
2694
1679
|
handleAnswerChosen(answer: Answer): void;
|
|
@@ -2708,7 +1693,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
2708
1693
|
private _addToArray;
|
|
2709
1694
|
private _inArray;
|
|
2710
1695
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
|
|
2711
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnswersSlideoutComponent, "co-answers-slideout", never, { "
|
|
1696
|
+
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>;
|
|
2712
1697
|
}
|
|
2713
1698
|
|
|
2714
1699
|
declare class SlideoutComponent implements AfterViewInit {
|
|
@@ -2760,7 +1745,7 @@ declare class AnswersInfoDialogComponent implements OnInit {
|
|
|
2760
1745
|
showTooltip: boolean;
|
|
2761
1746
|
showPopup: boolean;
|
|
2762
1747
|
hasEmbed: boolean;
|
|
2763
|
-
constructor(iconService: IconCacheService, _settingsService:
|
|
1748
|
+
constructor(iconService: IconCacheService, _settingsService: ConfiguratorSettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
|
|
2764
1749
|
ngOnInit(): Promise<void>;
|
|
2765
1750
|
private _loadInfo;
|
|
2766
1751
|
private _formatAnswerInfo;
|
|
@@ -2770,13 +1755,13 @@ declare class AnswersInfoDialogComponent implements OnInit {
|
|
|
2770
1755
|
|
|
2771
1756
|
declare class AnswersInfoDialogModule {
|
|
2772
1757
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
|
|
2773
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof
|
|
1758
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof i2.TranslationModule, typeof i3$1.IconModule], [typeof AnswersInfoDialogComponent]>;
|
|
2774
1759
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
|
|
2775
1760
|
}
|
|
2776
1761
|
|
|
2777
1762
|
declare class AnswerCardModule {
|
|
2778
1763
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
|
|
2779
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i3$1.CardModule, typeof
|
|
1764
|
+
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]>;
|
|
2780
1765
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
|
|
2781
1766
|
}
|
|
2782
1767
|
|
|
@@ -2803,8 +1788,8 @@ declare class ColorFilterComponent {
|
|
|
2803
1788
|
private _sanitizer;
|
|
2804
1789
|
readonly icons: typeof IconEnum;
|
|
2805
1790
|
showClass(): boolean;
|
|
2806
|
-
set color(value: Color
|
|
2807
|
-
get color(): Color
|
|
1791
|
+
set color(value: Color);
|
|
1792
|
+
get color(): Color;
|
|
2808
1793
|
active: boolean;
|
|
2809
1794
|
get lightBackground(): boolean;
|
|
2810
1795
|
backgroundStyle: SafeStyle;
|
|
@@ -2867,7 +1852,7 @@ declare class DirectivesModule {
|
|
|
2867
1852
|
|
|
2868
1853
|
declare class AnswersSlideoutModule {
|
|
2869
1854
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
|
|
2870
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof
|
|
1855
|
+
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]>;
|
|
2871
1856
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
|
|
2872
1857
|
}
|
|
2873
1858
|
|
|
@@ -2954,7 +1939,7 @@ declare class CoSummaryLine implements AfterViewInit {
|
|
|
2954
1939
|
|
|
2955
1940
|
declare class CoSummaryLineModule {
|
|
2956
1941
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
|
|
2957
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof
|
|
1942
|
+
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]>;
|
|
2958
1943
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
|
|
2959
1944
|
}
|
|
2960
1945
|
|
|
@@ -2984,18 +1969,22 @@ declare class SelectionsSummaryLineComponent implements OnDestroy {
|
|
|
2984
1969
|
|
|
2985
1970
|
declare class SelectionsSummaryLineModule {
|
|
2986
1971
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
|
|
2987
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof
|
|
1972
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof i3.CommonModule, typeof CoSummaryLineModule, typeof i2.TranslationModule], [typeof SelectionsSummaryLineComponent]>;
|
|
2988
1973
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
|
|
2989
1974
|
}
|
|
2990
1975
|
|
|
2991
|
-
declare class ConfigurationPresetComponent {
|
|
1976
|
+
declare class ConfigurationPresetComponent implements OnInit {
|
|
2992
1977
|
iconService: IconCacheService;
|
|
1978
|
+
settingService: ConfiguratorSettingsService;
|
|
2993
1979
|
private _appEventService;
|
|
2994
1980
|
readonly icons: typeof IconEnum;
|
|
2995
|
-
isSaveLoadMenuOpen: boolean;
|
|
2996
1981
|
showClass(): boolean;
|
|
2997
1982
|
closeSaveLoadMenu(): void;
|
|
2998
|
-
|
|
1983
|
+
isSaveLoadMenuOpen: boolean;
|
|
1984
|
+
showSavePresetButton: boolean;
|
|
1985
|
+
showLoadPresetButton: boolean;
|
|
1986
|
+
constructor(iconService: IconCacheService, settingService: ConfiguratorSettingsService, _appEventService: ConfiguratorEventService);
|
|
1987
|
+
ngOnInit(): void;
|
|
2999
1988
|
toggleSaveLoadMenu(event: MouseEvent): void;
|
|
3000
1989
|
handleSavePresetClicked(): void;
|
|
3001
1990
|
handleLoadPresetClicked(): void;
|
|
@@ -3005,13 +1994,13 @@ declare class ConfigurationPresetComponent {
|
|
|
3005
1994
|
|
|
3006
1995
|
declare class ConfigurationPresetModule {
|
|
3007
1996
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetModule, never>;
|
|
3008
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetModule, [typeof ConfigurationPresetComponent], [typeof
|
|
1997
|
+
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 ConfigurationPresetDialogModule], [typeof ConfigurationPresetComponent]>;
|
|
3009
1998
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetModule>;
|
|
3010
1999
|
}
|
|
3011
2000
|
|
|
3012
2001
|
declare class SelectionsSummaryModule {
|
|
3013
2002
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
|
|
3014
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof
|
|
2003
|
+
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]>;
|
|
3015
2004
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
|
|
3016
2005
|
}
|
|
3017
2006
|
|
|
@@ -3029,18 +2018,17 @@ declare class ProductConfiguratorService {
|
|
|
3029
2018
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
|
|
3030
2019
|
}
|
|
3031
2020
|
|
|
3032
|
-
declare class ProductConfiguratorComponent implements
|
|
2021
|
+
declare class ProductConfiguratorComponent implements OnDestroy {
|
|
3033
2022
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3034
2023
|
buildFurnitureService: SwitchBuildFurnitureService;
|
|
3035
|
-
settingsService:
|
|
2024
|
+
settingsService: ConfiguratorSettingsService;
|
|
3036
2025
|
productConfiguratorService: ProductConfiguratorService;
|
|
3037
2026
|
iconService: IconCacheService;
|
|
3038
2027
|
private _sanitizer;
|
|
3039
2028
|
private _configuringService;
|
|
2029
|
+
private _eventService;
|
|
3040
2030
|
showClass(): boolean;
|
|
3041
2031
|
readonly icons: typeof IconEnum;
|
|
3042
|
-
set show(value: boolean);
|
|
3043
|
-
get show(): boolean;
|
|
3044
2032
|
showHeaderInformation: boolean;
|
|
3045
2033
|
set showSelections(value: boolean);
|
|
3046
2034
|
get showSelections(): boolean;
|
|
@@ -3058,18 +2046,19 @@ declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
3058
2046
|
private _show;
|
|
3059
2047
|
private _selectionSelected;
|
|
3060
2048
|
private _subs;
|
|
3061
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService:
|
|
3062
|
-
ngOnInit(): void;
|
|
2049
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService, _eventService: ConfiguratorEventService);
|
|
3063
2050
|
ngOnDestroy(): void;
|
|
3064
2051
|
onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
3065
2052
|
handleCloseClick(): void;
|
|
2053
|
+
private _handleSelectionWithAnswersChanged;
|
|
2054
|
+
private _handleArticleReceived;
|
|
3066
2055
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
3067
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "
|
|
2056
|
+
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>;
|
|
3068
2057
|
}
|
|
3069
2058
|
|
|
3070
2059
|
declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges {
|
|
3071
2060
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3072
|
-
settingsService:
|
|
2061
|
+
settingsService: ConfiguratorSettingsService;
|
|
3073
2062
|
iconService: IconCacheService;
|
|
3074
2063
|
get hostClasses(): string;
|
|
3075
2064
|
readonly icons: typeof IconEnum;
|
|
@@ -3094,7 +2083,7 @@ declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges
|
|
|
3094
2083
|
get suppressSubShowMoreForChildren(): boolean;
|
|
3095
2084
|
get groupedRemainingTilesCount(): number;
|
|
3096
2085
|
get useGroupedVisibilityForChildren(): boolean;
|
|
3097
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
2086
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService);
|
|
3098
2087
|
ngOnInit(): void;
|
|
3099
2088
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3100
2089
|
showAndScroll(): void;
|
|
@@ -3117,7 +2106,7 @@ declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges
|
|
|
3117
2106
|
|
|
3118
2107
|
declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnChanges {
|
|
3119
2108
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3120
|
-
settingsService:
|
|
2109
|
+
settingsService: ConfiguratorSettingsService;
|
|
3121
2110
|
productConfiguratorService: ProductConfiguratorService;
|
|
3122
2111
|
showClass(): boolean;
|
|
3123
2112
|
selection: SelectorStructure;
|
|
@@ -3134,7 +2123,7 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnCh
|
|
|
3134
2123
|
remainingTilesCount: number;
|
|
3135
2124
|
readonly smallTileOptions: ConfigurationDisplayOption[];
|
|
3136
2125
|
readonly largeTileOptions: ConfigurationDisplayOption[];
|
|
3137
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService:
|
|
2126
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, productConfiguratorService: ProductConfiguratorService);
|
|
3138
2127
|
ngOnInit(): void;
|
|
3139
2128
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3140
2129
|
selectionClicked(answer: SelectorStructure): void;
|
|
@@ -3149,14 +2138,14 @@ declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnCh
|
|
|
3149
2138
|
declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
3150
2139
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3151
2140
|
iconService: IconCacheService;
|
|
3152
|
-
settingsService:
|
|
2141
|
+
settingsService: ConfiguratorSettingsService;
|
|
3153
2142
|
showClass(): boolean;
|
|
3154
2143
|
readonly icons: typeof IconEnum;
|
|
3155
2144
|
option: SelectorStructure;
|
|
3156
2145
|
tileClass: string;
|
|
3157
2146
|
noLabel: boolean;
|
|
3158
2147
|
selectionClicked: EventEmitter<void>;
|
|
3159
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2148
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3160
2149
|
changeSelection(): void;
|
|
3161
2150
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
|
|
3162
2151
|
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>;
|
|
@@ -3164,19 +2153,19 @@ declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
|
3164
2153
|
|
|
3165
2154
|
declare class ProductConfiguratorSelectorOptionTileModule {
|
|
3166
2155
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
|
|
3167
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof
|
|
2156
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i3$1.IconModule, typeof i3.CommonModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
|
|
3168
2157
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
|
|
3169
2158
|
}
|
|
3170
2159
|
|
|
3171
2160
|
declare class ProductConfiguratorOptionCheckboxComponent {
|
|
3172
2161
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3173
2162
|
iconService: IconCacheService;
|
|
3174
|
-
settingsService:
|
|
2163
|
+
settingsService: ConfiguratorSettingsService;
|
|
3175
2164
|
showClass(): boolean;
|
|
3176
2165
|
readonly icons: typeof IconEnum;
|
|
3177
2166
|
option: SelectorStructure;
|
|
3178
2167
|
selectionClicked: EventEmitter<void>;
|
|
3179
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2168
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3180
2169
|
changeSelection(): void;
|
|
3181
2170
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
|
|
3182
2171
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
@@ -3184,19 +2173,19 @@ declare class ProductConfiguratorOptionCheckboxComponent {
|
|
|
3184
2173
|
|
|
3185
2174
|
declare class ProductConfiguratorSelectorOptionCheckboxModule {
|
|
3186
2175
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
|
|
3187
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof
|
|
2176
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
|
|
3188
2177
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
|
|
3189
2178
|
}
|
|
3190
2179
|
|
|
3191
2180
|
declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
3192
2181
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3193
2182
|
iconService: IconCacheService;
|
|
3194
|
-
settingsService:
|
|
2183
|
+
settingsService: ConfiguratorSettingsService;
|
|
3195
2184
|
showClass(): boolean;
|
|
3196
2185
|
readonly icons: typeof IconEnum;
|
|
3197
2186
|
option: SelectorStructure;
|
|
3198
2187
|
selectionClicked: EventEmitter<void>;
|
|
3199
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2188
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3200
2189
|
changeSelection(): void;
|
|
3201
2190
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
|
|
3202
2191
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
@@ -3204,296 +2193,685 @@ declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
|
3204
2193
|
|
|
3205
2194
|
declare class ProductConfiguratorSelectorOptionButtonModule {
|
|
3206
2195
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
|
|
3207
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof
|
|
2196
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
|
|
3208
2197
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
|
|
3209
2198
|
}
|
|
3210
2199
|
|
|
3211
2200
|
declare class ProductConfiguratorSelectorOptionDropDownComponent {
|
|
3212
2201
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
3213
2202
|
iconService: IconCacheService;
|
|
3214
|
-
settingsService:
|
|
2203
|
+
settingsService: ConfiguratorSettingsService;
|
|
3215
2204
|
showClass(): boolean;
|
|
3216
2205
|
readonly icons: typeof IconEnum;
|
|
3217
2206
|
options: SelectorStructure[];
|
|
3218
2207
|
tileClass: string;
|
|
3219
2208
|
selectionClicked: EventEmitter<SelectorStructure>;
|
|
3220
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService:
|
|
2209
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
3221
2210
|
onChange(event: Event): void;
|
|
3222
2211
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
|
|
3223
2212
|
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>;
|
|
3224
2213
|
}
|
|
3225
2214
|
|
|
3226
|
-
declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
3227
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
|
|
3228
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof
|
|
3229
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
|
|
2215
|
+
declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
2216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
|
|
2217
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
|
|
2218
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
declare class ProductConfiguratorSelectorOptionModule {
|
|
2222
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
|
|
2223
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
|
|
2224
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
declare class ProductConfiguratorSelectorModule {
|
|
2228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
2229
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
|
|
2230
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
declare class ProductConfiguratorModule {
|
|
2234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
|
|
2235
|
+
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]>;
|
|
2236
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
declare class ConfiguratorModule {
|
|
2240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
|
|
2241
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ConfigurationPresetDialogModule, typeof LiteSelectorModule, typeof ProductConfiguratorModule], [typeof ConfiguratorComponent]>;
|
|
2242
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
declare class ConfiguratorSceneLoaderComponent {
|
|
2246
|
+
showClass: boolean;
|
|
2247
|
+
loaderProgress: number;
|
|
2248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
|
|
2249
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
declare class ConfiguratorSceneLoaderModule {
|
|
2253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
|
|
2254
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i3.CommonModule], [typeof ConfiguratorSceneLoaderComponent]>;
|
|
2255
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
declare class CustomButton {
|
|
2259
|
+
caption: string;
|
|
2260
|
+
handler: Function;
|
|
2261
|
+
data: any;
|
|
2262
|
+
xPos: number;
|
|
2263
|
+
yPos: number;
|
|
2264
|
+
size: number;
|
|
2265
|
+
opacity: number;
|
|
2266
|
+
constructor(caption?: string, handler?: Function, data?: any);
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
declare class ElementButtonsComponent implements OnDestroy {
|
|
2270
|
+
iconCache: IconCacheService;
|
|
2271
|
+
private _elementRef;
|
|
2272
|
+
private _settingsService;
|
|
2273
|
+
showClass(): boolean;
|
|
2274
|
+
readonly icon: typeof IconEnum;
|
|
2275
|
+
disableMouse: boolean;
|
|
2276
|
+
handleDocumentMouseUp(event: any): void;
|
|
2277
|
+
handleDocumentMouseDown(event: any): void;
|
|
2278
|
+
addButtons: CustomButton[];
|
|
2279
|
+
customizeButtons: CustomButton[];
|
|
2280
|
+
resizeButtons: CustomButton[];
|
|
2281
|
+
elementPointer: ElementRef;
|
|
2282
|
+
set elementPosition(value: Vector2);
|
|
2283
|
+
customizeButtonClicked: EventEmitter<void>;
|
|
2284
|
+
get elementPosition(): Vector2;
|
|
2285
|
+
showCaptionAddButton: boolean;
|
|
2286
|
+
private _elementPosition;
|
|
2287
|
+
private _subs;
|
|
2288
|
+
constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: ConfiguratorSettingsService);
|
|
2289
|
+
ngOnDestroy(): void;
|
|
2290
|
+
private _repositionLine;
|
|
2291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
|
|
2292
|
+
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>;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
declare class ElementButtonsModule {
|
|
2296
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
|
|
2297
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
|
|
2298
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
declare class ElementToolbarComponent implements OnDestroy {
|
|
2302
|
+
settingsService: ConfiguratorSettingsService;
|
|
2303
|
+
iconCache: IconCacheService;
|
|
2304
|
+
showClass(): boolean;
|
|
2305
|
+
readonly icon: typeof IconEnum;
|
|
2306
|
+
elementPointer: ElementRef;
|
|
2307
|
+
hostClass: boolean;
|
|
2308
|
+
editMenu: CustomButton[];
|
|
2309
|
+
showPointer: boolean;
|
|
2310
|
+
showSwap: boolean;
|
|
2311
|
+
readonly deleteClicked: EventEmitter<any>;
|
|
2312
|
+
readonly swapClicked: EventEmitter<any>;
|
|
2313
|
+
readonly animationClicked: EventEmitter<any>;
|
|
2314
|
+
showEditMenu: boolean;
|
|
2315
|
+
get instantMenu(): boolean;
|
|
2316
|
+
constructor(settingsService: ConfiguratorSettingsService, iconCache: IconCacheService);
|
|
2317
|
+
ngOnDestroy(): void;
|
|
2318
|
+
handleEditClick(): void;
|
|
2319
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
|
|
2320
|
+
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>;
|
|
3230
2321
|
}
|
|
3231
2322
|
|
|
3232
|
-
declare class
|
|
3233
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
3234
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
3235
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
2323
|
+
declare class ElementToolbarModule {
|
|
2324
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
|
|
2325
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof i2.TranslationModule, typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
|
|
2326
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
|
|
3236
2327
|
}
|
|
3237
2328
|
|
|
3238
|
-
declare class
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
2329
|
+
declare class SceneOptionButtonInterface {
|
|
2330
|
+
id: number;
|
|
2331
|
+
elementId: string;
|
|
2332
|
+
label?: string;
|
|
2333
|
+
class?: string;
|
|
2334
|
+
tooltip?: string;
|
|
2335
|
+
image?: string | SafeHtml;
|
|
2336
|
+
order?: number;
|
|
2337
|
+
toggle?: boolean;
|
|
2338
|
+
tooltipActive?: string;
|
|
2339
|
+
active?: boolean;
|
|
2340
|
+
object?: any;
|
|
2341
|
+
click?: Function;
|
|
2342
|
+
show?: boolean;
|
|
2343
|
+
icon?: IconEnum;
|
|
2344
|
+
children?: SceneOptionButtonInterface[];
|
|
3242
2345
|
}
|
|
3243
2346
|
|
|
3244
|
-
declare class
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
2347
|
+
declare class SceneOptionsService {
|
|
2348
|
+
sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
|
|
2349
|
+
sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
|
|
2350
|
+
addSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
2351
|
+
updateSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
2352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
|
|
2353
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
|
|
3248
2354
|
}
|
|
3249
2355
|
|
|
3250
|
-
declare class
|
|
2356
|
+
declare class SceneOptionsComponent implements OnDestroy {
|
|
3251
2357
|
iconService: IconCacheService;
|
|
3252
|
-
private
|
|
3253
|
-
private _configuratorConnectorService;
|
|
3254
|
-
private _dictionaryService;
|
|
3255
|
-
private _appEventService;
|
|
3256
|
-
readonly icons: typeof IconEnum;
|
|
3257
|
-
readonly presetDialogMode: typeof PresetDialogMode;
|
|
2358
|
+
private _sceneOptionsService;
|
|
3258
2359
|
showClass(): boolean;
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
dialogMode: PresetDialogMode;
|
|
3262
|
-
showValidationErrors: boolean;
|
|
3263
|
-
validationError: string;
|
|
2360
|
+
readonly icons: typeof IconEnum;
|
|
2361
|
+
buttons: SceneOptionButtonInterface[];
|
|
3264
2362
|
private _subs;
|
|
3265
|
-
|
|
2363
|
+
private _childrenShowing;
|
|
2364
|
+
constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
|
|
3266
2365
|
ngOnDestroy(): void;
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
3272
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
2366
|
+
handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
|
|
2367
|
+
handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
|
|
2368
|
+
getIcon(buttonIcon: IconEnum): SafeHtml;
|
|
2369
|
+
private _addButton;
|
|
2370
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
|
|
2371
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
|
|
3273
2372
|
}
|
|
3274
2373
|
|
|
3275
|
-
declare class
|
|
3276
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
3277
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
3278
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
2374
|
+
declare class SelectionsModule {
|
|
2375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
|
|
2376
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i3$1.IconModule, typeof i2.TranslationModule], [typeof SceneOptionsComponent]>;
|
|
2377
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
declare enum ConfigurationKey {
|
|
2381
|
+
DimensioningUnit = "dimUnit",
|
|
2382
|
+
DimensioningSquareUnit = "dimSqUnit",
|
|
2383
|
+
AngleUnit = "angleUnit",
|
|
2384
|
+
CmStep = "cmStep",
|
|
2385
|
+
MStep = "mStep",
|
|
2386
|
+
MmStep = "mmStep",
|
|
2387
|
+
AngleLabelDistanceInCm = "angleLabelDistanceCm",
|
|
2388
|
+
WallHeight = "wallHeight",
|
|
2389
|
+
WallThickness = "wallThickness",
|
|
2390
|
+
MaxWallHeight = "maxWallHeight",
|
|
2391
|
+
MaxWallThickness = "maxWallThickness",
|
|
2392
|
+
MaxWallLength = "maxWallLength",
|
|
2393
|
+
MinWallLength = "minWallLength",
|
|
2394
|
+
WallSnapping = "wallSnapping",
|
|
2395
|
+
CornerSnapping = "cornerSnapping",
|
|
2396
|
+
ShowObjectDistances = "showObjectDistances",
|
|
2397
|
+
ShowObjectMeasurements = "showObjectMeasurements",
|
|
2398
|
+
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
2399
|
+
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
2400
|
+
ShowWallMeasurements = "showWallMeasurements",
|
|
2401
|
+
ShowCornerAngles = "showCornerAngles",
|
|
2402
|
+
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
2403
|
+
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
2404
|
+
ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
|
|
2405
|
+
ShowInteriorLights = "ShowInteriorLights",
|
|
2406
|
+
InteriorLightIntensity = "InteriorLightIntensity",
|
|
2407
|
+
ShowLightingControls = "ShowLightingControls",
|
|
2408
|
+
ShowLightplansDialog = "ShowLightplansDialog",
|
|
2409
|
+
WalkThroughCameraFoV = "WalkThroughCameraFoV",
|
|
2410
|
+
WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
|
|
2411
|
+
WalkThroughCameraFocus = "WalkThroughCameraFocus",
|
|
2412
|
+
ShowPostProcessingSettings = "showPostProcessingSettings",
|
|
2413
|
+
ShowWalls = "ShowWalls",
|
|
2414
|
+
ShowCeiling = "ShowCeiling",
|
|
2415
|
+
IsLimited = "IsLimited",
|
|
2416
|
+
EnableTouch = "EnableTouch",
|
|
2417
|
+
CameraFOV = "CameraFOV"
|
|
3279
2418
|
}
|
|
3280
2419
|
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
2420
|
+
interface ConfigurationData {
|
|
2421
|
+
[ConfigurationKey.DimensioningUnit]?: string;
|
|
2422
|
+
[ConfigurationKey.DimensioningSquareUnit]?: string;
|
|
2423
|
+
[ConfigurationKey.AngleUnit]?: string;
|
|
2424
|
+
[ConfigurationKey.CmStep]?: number;
|
|
2425
|
+
[ConfigurationKey.MStep]?: number;
|
|
2426
|
+
[ConfigurationKey.MmStep]?: number;
|
|
2427
|
+
[ConfigurationKey.AngleLabelDistanceInCm]?: number;
|
|
2428
|
+
[ConfigurationKey.WallHeight]?: number;
|
|
2429
|
+
[ConfigurationKey.WallThickness]?: number;
|
|
2430
|
+
[ConfigurationKey.MaxWallHeight]?: number;
|
|
2431
|
+
[ConfigurationKey.MaxWallThickness]?: number;
|
|
2432
|
+
[ConfigurationKey.MaxWallLength]?: number;
|
|
2433
|
+
[ConfigurationKey.MinWallLength]?: number;
|
|
2434
|
+
[ConfigurationKey.WallSnapping]?: boolean;
|
|
2435
|
+
[ConfigurationKey.CornerSnapping]?: boolean;
|
|
2436
|
+
[ConfigurationKey.ShowObjectDistances]?: boolean;
|
|
2437
|
+
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
2438
|
+
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
2439
|
+
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
2440
|
+
[ConfigurationKey.ShowWallMeasurements]?: boolean;
|
|
2441
|
+
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
2442
|
+
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
2443
|
+
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
2444
|
+
[ConfigurationKey.ShowInteriorLights]?: boolean;
|
|
2445
|
+
[ConfigurationKey.InteriorLightIntensity]?: number;
|
|
2446
|
+
[ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
|
|
2447
|
+
[ConfigurationKey.ShowLightingControls]?: boolean;
|
|
2448
|
+
[ConfigurationKey.ShowLightplansDialog]?: boolean;
|
|
2449
|
+
[ConfigurationKey.WalkThroughCameraFoV]?: number;
|
|
2450
|
+
[ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
|
|
2451
|
+
[ConfigurationKey.WalkThroughCameraFocus]?: number;
|
|
2452
|
+
[ConfigurationKey.ShowPostProcessingSettings]?: boolean;
|
|
2453
|
+
[ConfigurationKey.ShowWalls]?: boolean;
|
|
2454
|
+
[ConfigurationKey.ShowCeiling]?: boolean;
|
|
2455
|
+
[ConfigurationKey.IsLimited]?: boolean;
|
|
2456
|
+
[ConfigurationKey.EnableTouch]?: boolean;
|
|
2457
|
+
[ConfigurationKey.CameraFOV]?: number;
|
|
3285
2458
|
}
|
|
3286
2459
|
|
|
3287
|
-
declare class
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
2460
|
+
declare class ConfigurationService {
|
|
2461
|
+
private _data;
|
|
2462
|
+
onChange: BehaviorSubject<{}>;
|
|
2463
|
+
setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
|
|
2464
|
+
getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
|
|
2465
|
+
get(): ConfigurationData;
|
|
2466
|
+
set(data: ConfigurationData): void;
|
|
2467
|
+
getDistanceStep(): number;
|
|
2468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
2469
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
3291
2470
|
}
|
|
3292
2471
|
|
|
3293
|
-
declare class
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
2472
|
+
declare class ConfiguratorRotationService implements OnDestroy {
|
|
2473
|
+
private _configService;
|
|
2474
|
+
private _sceneService;
|
|
2475
|
+
private _settingsService;
|
|
2476
|
+
objectRotated: Subject<void>;
|
|
2477
|
+
sliderValue: number;
|
|
2478
|
+
private _subs;
|
|
2479
|
+
private _mouseXOnMouseDown;
|
|
2480
|
+
private _targetRotationOnMouseDownX;
|
|
2481
|
+
private _targetRotationX;
|
|
2482
|
+
private _mouseX;
|
|
2483
|
+
private _itemToRotate;
|
|
2484
|
+
private _renderInterval;
|
|
2485
|
+
private _renderTimeout;
|
|
2486
|
+
private _timeToRender;
|
|
2487
|
+
private _moveFactor;
|
|
2488
|
+
constructor(_configService: ConfigurationService, _sceneService: ConfiguratorSceneService, _settingsService: ConfiguratorSettingsService);
|
|
2489
|
+
ngOnDestroy(): void;
|
|
2490
|
+
rotate(item: Object3D, from: Vector3, to: Vector3, ccw?: boolean): Vector3;
|
|
2491
|
+
enableRotationFor(item: Object3D): void;
|
|
2492
|
+
private _handleMouseDown;
|
|
2493
|
+
private _handleMouseMove;
|
|
2494
|
+
private _handleSliderChange;
|
|
2495
|
+
private _handleMouseUp;
|
|
2496
|
+
private _handleMouseOut;
|
|
2497
|
+
private _handleTouchStart;
|
|
2498
|
+
private _handleTouchMove;
|
|
2499
|
+
private _handleTouchEnd;
|
|
2500
|
+
private _handleTouchCancel;
|
|
2501
|
+
private _removeMouseEvents;
|
|
2502
|
+
private _removeTouchEvents;
|
|
2503
|
+
private _renderForAmountOfTime;
|
|
2504
|
+
private _doRender;
|
|
2505
|
+
private _removeListeners;
|
|
2506
|
+
private _addListeners;
|
|
2507
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorRotationService, never>;
|
|
2508
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorRotationService>;
|
|
3298
2509
|
}
|
|
3299
2510
|
|
|
3300
|
-
declare
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
2511
|
+
declare enum TextureType {
|
|
2512
|
+
Basic = 0,
|
|
2513
|
+
Image = 1,
|
|
2514
|
+
CustomPattern = 2,
|
|
2515
|
+
PBR = 3,
|
|
2516
|
+
SHADOW = 4
|
|
3304
2517
|
}
|
|
3305
2518
|
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
2519
|
+
interface TextureInterface {
|
|
2520
|
+
name?: string;
|
|
2521
|
+
type?: string | TextureType;
|
|
2522
|
+
url?: string;
|
|
2523
|
+
materializeUrl?: string;
|
|
2524
|
+
bumpMap?: string;
|
|
2525
|
+
bumpScale?: number;
|
|
2526
|
+
roughness?: number;
|
|
2527
|
+
roughnessMap?: string;
|
|
2528
|
+
normalMap?: string;
|
|
2529
|
+
alphaMap?: string;
|
|
2530
|
+
repeatX?: number;
|
|
2531
|
+
repeatY?: number;
|
|
2532
|
+
metalness?: number;
|
|
2533
|
+
metalnessMap?: string;
|
|
2534
|
+
aoMapIntensity?: number;
|
|
2535
|
+
aoMap?: string;
|
|
2536
|
+
data?: any;
|
|
2537
|
+
color?: string;
|
|
2538
|
+
emissive?: string;
|
|
2539
|
+
show?: boolean;
|
|
2540
|
+
default?: boolean;
|
|
2541
|
+
surfaces?: string[];
|
|
2542
|
+
offset?: THREE.Vector2;
|
|
2543
|
+
scale?: number;
|
|
2544
|
+
rotation?: number;
|
|
2545
|
+
stretch?: boolean;
|
|
2546
|
+
height?: number;
|
|
2547
|
+
width?: number;
|
|
2548
|
+
tileSize?: number;
|
|
2549
|
+
tileRotation?: number;
|
|
2550
|
+
useStandalone?: boolean;
|
|
2551
|
+
defaultStandalone?: boolean;
|
|
2552
|
+
mirror?: boolean;
|
|
2553
|
+
simplePlane?: boolean;
|
|
2554
|
+
toneMapped?: boolean;
|
|
2555
|
+
transparent?: boolean;
|
|
2556
|
+
opacity?: number;
|
|
2557
|
+
side?: number;
|
|
2558
|
+
depthWrite?: boolean;
|
|
2559
|
+
depthTest?: boolean;
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
interface AdjustableElementInterface {
|
|
2563
|
+
identifier: string;
|
|
2564
|
+
connector: string;
|
|
2565
|
+
connectedNodeId: number;
|
|
3315
2566
|
}
|
|
3316
2567
|
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
private _elementRef;
|
|
3320
|
-
private _settingsService;
|
|
3321
|
-
showClass(): boolean;
|
|
3322
|
-
readonly icon: typeof IconEnum;
|
|
3323
|
-
disableMouse: boolean;
|
|
3324
|
-
handleDocumentMouseUp(event: any): void;
|
|
3325
|
-
handleDocumentMouseDown(event: any): void;
|
|
3326
|
-
addButtons: CustomButton[];
|
|
3327
|
-
customizeButtons: CustomButton[];
|
|
3328
|
-
resizeButtons: CustomButton[];
|
|
3329
|
-
elementPointer: ElementRef;
|
|
3330
|
-
set elementPosition(value: Vector2);
|
|
3331
|
-
customizeButtonClicked: EventEmitter<void>;
|
|
3332
|
-
get elementPosition(): Vector2;
|
|
3333
|
-
showCaptionAddButton: boolean;
|
|
3334
|
-
private _elementPosition;
|
|
3335
|
-
private _subs;
|
|
3336
|
-
constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: SettingsService);
|
|
3337
|
-
ngOnDestroy(): void;
|
|
3338
|
-
private _repositionLine;
|
|
3339
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
|
|
3340
|
-
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>;
|
|
2568
|
+
interface Skin {
|
|
2569
|
+
[face: string]: SkinFragment;
|
|
3341
2570
|
}
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i3$1.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
|
|
3346
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
|
|
2571
|
+
interface SkinFragment {
|
|
2572
|
+
color?: number;
|
|
2573
|
+
texture?: Texture;
|
|
3347
2574
|
}
|
|
3348
2575
|
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
2576
|
+
/** Meta data for items. */
|
|
2577
|
+
interface Metadata {
|
|
2578
|
+
itemName?: string;
|
|
2579
|
+
itemDescription?: string;
|
|
2580
|
+
itemType?: number;
|
|
2581
|
+
/**
|
|
2582
|
+
* InstanceId
|
|
2583
|
+
*/
|
|
2584
|
+
itemId?: string;
|
|
2585
|
+
originalItemId?: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* Sku
|
|
2588
|
+
*/
|
|
2589
|
+
itemIdentifier?: string;
|
|
2590
|
+
goodId?: string;
|
|
2591
|
+
goodType?: string;
|
|
2592
|
+
isCustom?: boolean;
|
|
2593
|
+
locked?: boolean;
|
|
2594
|
+
configurable?: boolean;
|
|
2595
|
+
ione?: boolean;
|
|
2596
|
+
position?: Vector3;
|
|
2597
|
+
rotation?: number | Euler;
|
|
2598
|
+
scale?: Vector3;
|
|
2599
|
+
centerPivot?: boolean;
|
|
2600
|
+
ignoreInvisible?: boolean;
|
|
2601
|
+
updatePivotOnCreate?: boolean;
|
|
2602
|
+
elementConfiguration?: AdjustableElementInterface[];
|
|
2603
|
+
obsolete?: boolean;
|
|
2604
|
+
thirdPartyModel?: boolean;
|
|
2605
|
+
usePivot?: boolean;
|
|
2606
|
+
decos?: DecoNode[];
|
|
2607
|
+
selections?: Selection[];
|
|
2608
|
+
canElevate?: boolean;
|
|
2609
|
+
onWall?: boolean;
|
|
2610
|
+
modelUrl?: string;
|
|
2611
|
+
scalable?: boolean;
|
|
2612
|
+
scalePercentage?: number;
|
|
2613
|
+
resizable?: boolean;
|
|
2614
|
+
elevation?: number;
|
|
2615
|
+
elevationFixed?: boolean;
|
|
2616
|
+
elevationAdjustable?: boolean;
|
|
2617
|
+
schema?: string;
|
|
2618
|
+
assetPath?: string;
|
|
2619
|
+
texture?: Texture;
|
|
2620
|
+
textureAssetName?: string;
|
|
2621
|
+
skin?: Skin;
|
|
2622
|
+
frameColor?: number;
|
|
2623
|
+
doorColor?: number;
|
|
2624
|
+
windowColor?: THREE.Color;
|
|
2625
|
+
doorpost?: boolean;
|
|
2626
|
+
isGlass?: boolean;
|
|
2627
|
+
itemGroup?: any;
|
|
2628
|
+
canRotateX?: boolean;
|
|
2629
|
+
canRotateY?: boolean;
|
|
2630
|
+
canRotateZ?: boolean;
|
|
2631
|
+
canScaleX?: boolean;
|
|
2632
|
+
canScaleY?: boolean;
|
|
2633
|
+
canScaleZ?: boolean;
|
|
2634
|
+
colorable?: boolean;
|
|
2635
|
+
default180?: boolean;
|
|
2636
|
+
objectUUID?: string;
|
|
2637
|
+
conversionGTMSend?: boolean;
|
|
2638
|
+
conversionSubmittedPrice?: string;
|
|
2639
|
+
hdecoType?: string;
|
|
2640
|
+
opening?: {
|
|
2641
|
+
show: boolean;
|
|
2642
|
+
double: boolean;
|
|
2643
|
+
invertDirection: boolean;
|
|
2644
|
+
invertSide: boolean;
|
|
2645
|
+
};
|
|
3369
2646
|
}
|
|
3370
2647
|
|
|
3371
|
-
declare class
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
2648
|
+
declare class Texture {
|
|
2649
|
+
name: string;
|
|
2650
|
+
type: TextureType;
|
|
2651
|
+
url: string;
|
|
2652
|
+
materializeUrl: string;
|
|
2653
|
+
bumpMap: string;
|
|
2654
|
+
bumpScale: number;
|
|
2655
|
+
roughness: number;
|
|
2656
|
+
roughnessMap: string;
|
|
2657
|
+
normalMap: string;
|
|
2658
|
+
repeatX: number;
|
|
2659
|
+
repeatY: number;
|
|
2660
|
+
metalness: number;
|
|
2661
|
+
metalnessMap: string;
|
|
2662
|
+
aoMapIntensity: number;
|
|
2663
|
+
aoMap: string;
|
|
2664
|
+
alphaMap: string;
|
|
2665
|
+
color: string;
|
|
2666
|
+
emissive: string;
|
|
2667
|
+
data: any;
|
|
2668
|
+
surfaces: string[];
|
|
2669
|
+
offset: THREE.Vector2;
|
|
2670
|
+
scale: number;
|
|
2671
|
+
rotation: number;
|
|
2672
|
+
stretch: boolean;
|
|
2673
|
+
show: boolean;
|
|
2674
|
+
default: boolean;
|
|
2675
|
+
height: number;
|
|
2676
|
+
width: number;
|
|
2677
|
+
tileSize: number;
|
|
2678
|
+
tileRotation: number;
|
|
2679
|
+
dimensions: Vector2;
|
|
2680
|
+
offsetScale: number;
|
|
2681
|
+
useStandalone: boolean;
|
|
2682
|
+
defaultStandalone: boolean;
|
|
2683
|
+
mirror: boolean;
|
|
2684
|
+
simplePlane: boolean;
|
|
2685
|
+
toneMapped: boolean;
|
|
2686
|
+
transparent: boolean;
|
|
2687
|
+
opacity: number;
|
|
2688
|
+
side: THREE.Side;
|
|
2689
|
+
depthWrite: boolean;
|
|
2690
|
+
depthTest: boolean;
|
|
2691
|
+
metadata?: Metadata;
|
|
2692
|
+
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
3375
2693
|
}
|
|
3376
2694
|
|
|
3377
|
-
declare class
|
|
3378
|
-
|
|
2695
|
+
declare class FloorPlaneService implements OnDestroy {
|
|
2696
|
+
private _settingsService;
|
|
2697
|
+
private _sceneService;
|
|
3379
2698
|
private _sceneOptionsService;
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
2699
|
+
get floorPlane(): Object3D;
|
|
2700
|
+
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
2701
|
+
floorTextures: Texture[];
|
|
2702
|
+
private _standaloneFloors;
|
|
2703
|
+
private _floorPlane;
|
|
3383
2704
|
private _subs;
|
|
3384
|
-
|
|
3385
|
-
constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
|
|
2705
|
+
constructor(_settingsService: ConfiguratorSettingsService, _sceneService: ConfiguratorSceneService, _sceneOptionsService: SceneOptionsService);
|
|
3386
2706
|
ngOnDestroy(): void;
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
}
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
2707
|
+
createFloorPlane(rawFloors: TextureInterface$1[]): Promise<void>;
|
|
2708
|
+
getCenterFloorPlane(): Vector3;
|
|
2709
|
+
getDimensions(scale?: number): {
|
|
2710
|
+
x: {
|
|
2711
|
+
min: number;
|
|
2712
|
+
max: number;
|
|
2713
|
+
};
|
|
2714
|
+
y: {
|
|
2715
|
+
min: number;
|
|
2716
|
+
max: number;
|
|
2717
|
+
};
|
|
2718
|
+
};
|
|
2719
|
+
getPlaneSize(): Vector3;
|
|
2720
|
+
private _getStandaloneFloorSize;
|
|
2721
|
+
private _generateFloorPlane;
|
|
2722
|
+
private _createFloorMaterial;
|
|
2723
|
+
private _upsertFloorButtons;
|
|
2724
|
+
private _changeStandaloneFloor;
|
|
2725
|
+
private _setFloorTexture;
|
|
2726
|
+
private _updateFloorMaterial;
|
|
2727
|
+
private _setUpdatedMaterial;
|
|
2728
|
+
private _getMaterials;
|
|
2729
|
+
private _createTexture;
|
|
2730
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
|
|
2731
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
3399
2732
|
}
|
|
3400
2733
|
|
|
3401
|
-
declare class
|
|
3402
|
-
private settingsService;
|
|
2734
|
+
declare class DimensionsService implements OnDestroy {
|
|
3403
2735
|
private _sceneService;
|
|
3404
|
-
private
|
|
3405
|
-
private
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
2736
|
+
private _fontService;
|
|
2737
|
+
private _itemService;
|
|
2738
|
+
set enabled(value: boolean);
|
|
2739
|
+
get enabled(): boolean;
|
|
2740
|
+
private readonly _offSet;
|
|
2741
|
+
private readonly _labelOffSet;
|
|
2742
|
+
private readonly _nameHeightArrow;
|
|
2743
|
+
private readonly _nameWidthArrow;
|
|
2744
|
+
private readonly _nameDepthArrow;
|
|
2745
|
+
private readonly _headLength;
|
|
2746
|
+
private readonly _headWidth;
|
|
2747
|
+
private readonly _defaultColor;
|
|
2748
|
+
private _subs;
|
|
2749
|
+
private _dimensions;
|
|
2750
|
+
private _enabled;
|
|
2751
|
+
constructor(_sceneService: ConfiguratorSceneService, _fontService: FontService, _itemService: ConfiguratorItemService);
|
|
2752
|
+
ngOnDestroy(): void;
|
|
2753
|
+
private _renderDimensions;
|
|
2754
|
+
private _removeDimensionsOfNotExistingFurniture;
|
|
2755
|
+
private _removeDimensions;
|
|
2756
|
+
private _positionDimensions;
|
|
2757
|
+
private _createDimensions;
|
|
2758
|
+
private _createLabel;
|
|
2759
|
+
private _getBoxSize;
|
|
2760
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DimensionsService, never>;
|
|
2761
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsService>;
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
2765
|
+
private _settingsService;
|
|
2766
|
+
private _rotationService;
|
|
2767
|
+
private _dynamicCameraService;
|
|
2768
|
+
private _sceneService;
|
|
2769
|
+
private _eventService;
|
|
2770
|
+
private _cameraService;
|
|
2771
|
+
private _itemService;
|
|
2772
|
+
private _buildFurnitureService;
|
|
2773
|
+
private _sceneOptionsService;
|
|
2774
|
+
private _dimensionsService;
|
|
2775
|
+
private _floorService;
|
|
3409
2776
|
canvasElement: ElementRef;
|
|
2777
|
+
elementToolbar: ElementToolbarComponent;
|
|
2778
|
+
showSceneBuildLoader: boolean;
|
|
2779
|
+
showClass: boolean;
|
|
2780
|
+
totalSteps: number;
|
|
2781
|
+
currentStep: number;
|
|
2782
|
+
showSwapButton: boolean;
|
|
2783
|
+
selectedElementPosition: Vector2;
|
|
2784
|
+
editElementMenu: CustomButton[];
|
|
2785
|
+
editAddButtons: CustomButton[];
|
|
2786
|
+
setSceneBuildLoader: boolean;
|
|
2787
|
+
loaderProgress: number;
|
|
2788
|
+
showElementToolbar: boolean;
|
|
2789
|
+
animateEditAddButtons: boolean;
|
|
2790
|
+
enabledDownloadDialog: boolean;
|
|
2791
|
+
development: boolean;
|
|
2792
|
+
showDownloadDialog: boolean;
|
|
2793
|
+
showCameraSettingsDialog: boolean;
|
|
3410
2794
|
private _subs;
|
|
3411
|
-
|
|
2795
|
+
private _firstBuild;
|
|
2796
|
+
private _selectedElementObject;
|
|
2797
|
+
private _buildResult;
|
|
2798
|
+
constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _sceneOptionsService: SceneOptionsService, _dimensionsService: DimensionsService, _floorService: FloorPlaneService);
|
|
2799
|
+
ngAfterViewInit(): void;
|
|
3412
2800
|
ngOnDestroy(): void;
|
|
3413
|
-
|
|
2801
|
+
swapElement(): void;
|
|
2802
|
+
deleteElement(): void;
|
|
2803
|
+
openAnimationSidebar(): void;
|
|
2804
|
+
handleCustomizeClick(): void;
|
|
2805
|
+
private _handleFirstBuildStandalone;
|
|
2806
|
+
private _loaderProcessUpdate;
|
|
2807
|
+
private _animateProgress;
|
|
2808
|
+
private _removeAddButtons;
|
|
2809
|
+
private _resetElementPosition;
|
|
2810
|
+
private _repositionButtons;
|
|
2811
|
+
private _handleAddButtonClick;
|
|
2812
|
+
private _resetSelectedElement;
|
|
2813
|
+
private _removeAllButtons;
|
|
2814
|
+
private _repositionButton;
|
|
2815
|
+
private _showPlusButtonsBriefly;
|
|
2816
|
+
private _createDownloadButton;
|
|
2817
|
+
private _createCameraSettingsButton;
|
|
2818
|
+
private _createMeasurementsButton;
|
|
2819
|
+
private _downloadCurrentBuild;
|
|
2820
|
+
private _openCameraSettingsDialog;
|
|
2821
|
+
private _handleShowMeasurements;
|
|
3414
2822
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
3415
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
|
|
2823
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, { "showSceneBuildLoader": { "alias": "showSceneBuildLoader"; "required": false; }; }, {}, never, never, false, never>;
|
|
3416
2824
|
}
|
|
3417
2825
|
|
|
3418
2826
|
declare class ConfiguratorSceneModule {
|
|
3419
2827
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneModule, never>;
|
|
3420
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent],
|
|
2828
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], [typeof ConfiguratorSceneLoaderModule, typeof SelectionsModule, typeof ElementToolbarModule, typeof ElementButtonsModule, typeof ConfiguratorDialogModule], [typeof ConfiguratorSceneComponent]>;
|
|
3421
2829
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneModule>;
|
|
3422
2830
|
}
|
|
3423
2831
|
|
|
3424
|
-
declare
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
private
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
2832
|
+
declare enum ArFeature {
|
|
2833
|
+
PlaneDetection = "PlaneDetection",
|
|
2834
|
+
PlaneDetectionHitTest = "PlaneDetectionHitTest",
|
|
2835
|
+
DefaultHitTest = "DefaultHitTest",
|
|
2836
|
+
AnchoredHitTest = "AnchoredHitTest",
|
|
2837
|
+
CPUDepthHitTest = "CPUDepthHitTest",
|
|
2838
|
+
GPUDepthHitTest = "GPUDepthHitTest",
|
|
2839
|
+
CPUDepthOcclusion = "CPUDepthOcclusion",
|
|
2840
|
+
GPUDepthOcclusion = "GPUDepthOcclusion",
|
|
2841
|
+
LightEstimation = "LightEstimation",
|
|
2842
|
+
ReflectionCubeMap = "ReflectionCubeMap"
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
/**
|
|
2846
|
+
This file is a modified version of THREE.OrbitControls
|
|
2847
|
+
Contributors:
|
|
2848
|
+
* @author qiao / https://github.com/qiao
|
|
2849
|
+
* @author mrdoob / http://mrdoob.com
|
|
2850
|
+
* @author alteredq / http://alteredqualia.com/
|
|
2851
|
+
* @author WestLangley / http://github.com/WestLangley
|
|
2852
|
+
* @author erich666 / http://erichaines.com
|
|
2853
|
+
*/
|
|
2854
|
+
declare let Controls: (camera: any, domElement: any) => void;
|
|
2855
|
+
|
|
2856
|
+
declare class Reticle extends Object3D {
|
|
2857
|
+
private _rayCaster;
|
|
2858
|
+
/**
|
|
2859
|
+
* @param {XRSession} xrSession
|
|
2860
|
+
* @param {THREE.Camera} camera
|
|
2861
|
+
*/
|
|
3454
2862
|
constructor();
|
|
3455
|
-
initNewBuild(scene: Scene, options?: Options, sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
|
|
3456
|
-
buildWithData(options?: Options, selections?: Selection[], decos?: DecoNode[], assetUrl?: string, cdnUrl?: string, schema?: string): Promise<THREE.Object3D>;
|
|
3457
|
-
init(scene: Scene, options?: Options): void;
|
|
3458
|
-
buildModel(sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
|
|
3459
|
-
buildModelFromData(selections: Selection[], decos: DecoNode[], assetUrl: string, cdnUrl: string, schema: string): Promise<THREE.Object3D>;
|
|
3460
|
-
initNodeInstance(goodId: number): Promise<any>;
|
|
3461
|
-
destroy(): void;
|
|
3462
|
-
selectSelection(selection: Selection): Promise<void>;
|
|
3463
|
-
getQuestionAndAnswers(publicationCode?: number): Promise<void>;
|
|
3464
|
-
selectAnswer(answer: Answer): Promise<void>;
|
|
3465
|
-
getImageForSelectionOrAnswer(object: Selection | Answer): Promise<string>;
|
|
3466
|
-
_cleanUp(): void;
|
|
3467
|
-
private _handleResponseData;
|
|
3468
|
-
private _preloadMaterials;
|
|
3469
|
-
private _setInstanceId;
|
|
3470
|
-
private _prepareConfiguration;
|
|
3471
|
-
private _downloadAsset;
|
|
3472
|
-
private _build;
|
|
3473
|
-
private _prepareTheSelections;
|
|
3474
2863
|
/**
|
|
3475
|
-
*
|
|
3476
|
-
*
|
|
3477
|
-
*
|
|
2864
|
+
* Fires a hit test in the middle of the screen and places the reticle
|
|
2865
|
+
* upon the surface if found.
|
|
2866
|
+
*
|
|
2867
|
+
* @param {XRCoordinateSystem} frameOfRef
|
|
3478
2868
|
*/
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
private _linkSelectionsAndDecos;
|
|
3489
|
-
private _getVariations;
|
|
3490
|
-
private _loadVariations;
|
|
3491
|
-
private _getAdjustables;
|
|
3492
|
-
private _updatePivot;
|
|
3493
|
-
private _reset;
|
|
3494
|
-
private _log;
|
|
3495
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Builder, never>;
|
|
3496
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
|
|
3497
|
-
}
|
|
3498
|
-
|
|
3499
|
-
export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, Builder, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationResultObject, ConfiguratorCameraSettingsComponent, ConfiguratorComponent, ConfiguratorDialogModule, ConfiguratorErrorDialogComponent, ConfiguratorErrorMessage, ConfiguratorExportDialogComponent, ConfiguratorLoaderComponent, ConfiguratorLoaderModule, ConfiguratorModule, ConfiguratorSceneComponent, ConfiguratorSceneLoaderComponent, ConfiguratorSceneLoaderModule, ConfiguratorSceneModule, ConfiguringService, ElementButtonsComponent, ElementButtonsModule, ElementToolbarComponent, ElementToolbarModule, ImageZoomComponent, ImageZoomModule, LiteSelectorComponent, LiteSelectorModule, ProductConfiguratorComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProgressBarComponent, ProgressBarModule, SceneOptionsComponent, SceneService, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, ThreedselectorComponent, ThreedselectorModule };
|
|
2869
|
+
update(session: any, camera: any, frameOfRef: any): Promise<void>;
|
|
2870
|
+
toggleValidPosition(valid: boolean): void;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
declare class ArPositionIndicator extends Object3D {
|
|
2874
|
+
constructor(boundingBox: Box3);
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, ArFeature, ArPositionIndicator, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationPresetComponent, ConfigurationPresetModule, 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 };
|