@colijnit/configurator 262.1.4 → 262.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/colijnit-configurator.mjs +1278 -3199
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +115 -243
- package/lib/components/configuration-preset/style/_layout.scss +1 -0
- package/lib/components/configuration-preset/style/_material-definition.scss +1 -3
- package/lib/components/configuration-preset-dialog/style/_layout.scss +15 -27
- package/lib/components/configuration-preset-dialog/style/_material-definition.scss +1 -3
- package/lib/components/configuration-preset-dialog/style/_theme.scss +47 -0
- package/lib/components/configurator-dialog/style/_layout.scss +1 -1
- package/lib/components/configurator-dialog/style/_theme.scss +1 -1
- package/lib/components/configurator-scene-loader/style/_layout.scss +1 -0
- package/lib/components/configurator-scene-loader/style/_theme.scss +1 -1
- package/lib/style/_variables.scss +8 -0
- package/package.json +3 -2
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, EventEmitter, OnInit, TemplateRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
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,
|
|
4
|
+
import { Object3D, Material, Vector3, Euler, Scene, Mesh, PerspectiveCamera, WebGLRenderer, Camera, Vector2, Box3 } from 'three';
|
|
5
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';
|
|
@@ -11,26 +11,26 @@ import { Article } from '@colijnit/configuratorapi/build/model/article';
|
|
|
11
11
|
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
12
12
|
import { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
|
|
13
13
|
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
14
|
-
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
15
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
16
14
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
17
|
-
import {
|
|
18
|
-
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
19
|
-
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
20
|
-
import { ConfiguratorStatisticsEnvironment } from '@colijnit/configuratorapi/build/model/configurator-statistics-environment';
|
|
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';
|
|
25
22
|
import * as i2 from '@colijnit/utilities';
|
|
26
23
|
import { UtilitiesConnectorService, TextureInterface as TextureInterface$1, PostProcessingService, JsonUtilsService, LightsService, TranslationService } from '@colijnit/utilities';
|
|
24
|
+
import { VariationHelper } from '@colijnit/configuratorcore';
|
|
27
25
|
import { WebGLPathTracer } from 'three-gpu-pathtracer';
|
|
26
|
+
import { Group } from '@tweenjs/tween.js';
|
|
28
27
|
import { Font } from 'three/examples/jsm/loaders/FontLoader.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';
|
|
31
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
32
32
|
import * as i4 from '@angular/cdk/clipboard';
|
|
33
|
-
import { Color
|
|
33
|
+
import { Color } from '@colijnit/configuratorapi/build/model/color';
|
|
34
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';
|
|
@@ -106,11 +106,6 @@ declare class LoaderService {
|
|
|
106
106
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
declare enum ConfigurationTemplate {
|
|
110
|
-
default = "default",
|
|
111
|
-
showFullConfiguration = "showFullConfiguration"
|
|
112
|
-
}
|
|
113
|
-
|
|
114
109
|
declare class IntersectedObjects {
|
|
115
110
|
parent: Object3D;
|
|
116
111
|
child: Object3D;
|
|
@@ -127,16 +122,16 @@ declare class ConfiguratorEventService {
|
|
|
127
122
|
instanceIdSet: BehaviorSubject<string>;
|
|
128
123
|
instanceSet: BehaviorSubject<string>;
|
|
129
124
|
answerCountReceived: BehaviorSubject<number>;
|
|
125
|
+
buildStarted: BehaviorSubject<boolean>;
|
|
130
126
|
buildFinished: BehaviorSubject<ConfigurationResultObject>;
|
|
131
127
|
addedToScene: BehaviorSubject<ConfigurationResultObject>;
|
|
132
|
-
configurationTemplateChange: BehaviorSubject<ConfigurationTemplate>;
|
|
133
128
|
articleNotFound: BehaviorSubject<ConfigurationResultObject>;
|
|
134
129
|
selectionWithAnswersChanged: BehaviorSubject<SelectorWithOptions[]>;
|
|
135
130
|
glbCreated: Subject<string>;
|
|
136
131
|
showOutline: Subject<any>;
|
|
137
132
|
showErrorOutline: Subject<any>;
|
|
138
133
|
hideOutline: Subject<void>;
|
|
139
|
-
articleReceived:
|
|
134
|
+
articleReceived: BehaviorSubject<Article>;
|
|
140
135
|
selectionsReceived: Subject<Selection[]>;
|
|
141
136
|
answersReceived: Subject<Answer[]>;
|
|
142
137
|
extraAnswerDataLoaded: Subject<void>;
|
|
@@ -151,6 +146,7 @@ declare class ConfiguratorEventService {
|
|
|
151
146
|
onThumbnailReceived: Subject<string>;
|
|
152
147
|
renderImageChanged: BehaviorSubject<string>;
|
|
153
148
|
renderImageError: BehaviorSubject<string>;
|
|
149
|
+
startBuildFromPresetId: Subject<string>;
|
|
154
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorEventService, never>;
|
|
155
151
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorEventService>;
|
|
156
152
|
}
|
|
@@ -234,6 +230,9 @@ declare class SettingOptions {
|
|
|
234
230
|
maxVisibleTiles: number;
|
|
235
231
|
maxVisibleSmallTiles: number;
|
|
236
232
|
groupedShowAllBtn: boolean;
|
|
233
|
+
showSavePresetButton?: boolean;
|
|
234
|
+
showLoadPresetButton?: boolean;
|
|
235
|
+
showSceneBuildLoader?: boolean;
|
|
237
236
|
}
|
|
238
237
|
|
|
239
238
|
declare class RenderParameters {
|
|
@@ -346,112 +345,7 @@ declare class ConfiguratorSettingsService {
|
|
|
346
345
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorSettingsService>;
|
|
347
346
|
}
|
|
348
347
|
|
|
349
|
-
declare class VariationSettingsSettings {
|
|
350
|
-
repeatx: number;
|
|
351
|
-
repeaty: number;
|
|
352
|
-
roughness: number;
|
|
353
|
-
metalness: number;
|
|
354
|
-
}
|
|
355
|
-
declare class VariationSettings {
|
|
356
|
-
id: string;
|
|
357
|
-
settings: VariationSettingsSettings;
|
|
358
|
-
texture: string;
|
|
359
|
-
textureFilename: string;
|
|
360
|
-
normal: string;
|
|
361
|
-
normalFilename: string;
|
|
362
|
-
ao: string;
|
|
363
|
-
aoFilename: string;
|
|
364
|
-
metalness: string;
|
|
365
|
-
metalnessFilename: string;
|
|
366
|
-
roughness: string;
|
|
367
|
-
roughnessFilename: string;
|
|
368
|
-
orm: string;
|
|
369
|
-
ormFilename: string;
|
|
370
|
-
displacement: string;
|
|
371
|
-
displacementValue: number;
|
|
372
|
-
displacementFilename: string;
|
|
373
|
-
sheen: number;
|
|
374
|
-
sheenColor: Color;
|
|
375
|
-
sheenColorMap: string;
|
|
376
|
-
sheenColorMapFilename: string;
|
|
377
|
-
sheenRoughness: number;
|
|
378
|
-
sheenRoughnessMap: string;
|
|
379
|
-
sheenRoughnessMapFilename: string;
|
|
380
|
-
transmissionMap: string;
|
|
381
|
-
transmissionMapFilename: string;
|
|
382
|
-
emissive: string;
|
|
383
|
-
emissiveFilename: string;
|
|
384
|
-
emissiveIntensity: number;
|
|
385
|
-
emissiveValue: Color;
|
|
386
|
-
opacity: number;
|
|
387
|
-
transparent: boolean;
|
|
388
|
-
envMap: string;
|
|
389
|
-
envMapFilename: string;
|
|
390
|
-
envMapIntensity: number;
|
|
391
|
-
reflectivity: number;
|
|
392
|
-
side: Side;
|
|
393
|
-
transmission: number;
|
|
394
|
-
ior: number;
|
|
395
|
-
thickness: number;
|
|
396
|
-
specularIntensity: number;
|
|
397
|
-
loading: boolean;
|
|
398
|
-
loaded: Subject<VariationSettings>;
|
|
399
|
-
material: any;
|
|
400
|
-
copyFrom(settings: VariationSettings): void;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
declare class ConfiguratorService {
|
|
404
|
-
readonly showLoader: Subject<boolean>;
|
|
405
|
-
readonly connectionReset: Subject<void>;
|
|
406
|
-
loginResponse: LoginResponse;
|
|
407
|
-
private _configuratorApi;
|
|
408
|
-
private _mainApi;
|
|
409
|
-
private _articleApi;
|
|
410
|
-
private _boFactory;
|
|
411
|
-
private _publicationCodeForUserRole;
|
|
412
|
-
constructor();
|
|
413
|
-
initApi(options: Options): void;
|
|
414
|
-
cleanUp(): void;
|
|
415
|
-
initConnector(options: Options, forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<boolean>;
|
|
416
|
-
initNodeInstance(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
417
|
-
changeConnection(instanceId: string, oldConnection: string, newConnection: string, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
418
|
-
setInstanceToConfigure(id: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
419
|
-
getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
420
|
-
getArticleQuickSel(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
421
|
-
getSelections(showLoader?: boolean, publicationCode?: number): Promise<DataServiceResponseData>;
|
|
422
|
-
getDecos(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
423
|
-
getQuestionAndAnswers(showLoader?: boolean, publicationCode?: number): Promise<QuestionAndAnswers>;
|
|
424
|
-
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
425
|
-
selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
|
|
426
|
-
selectAnswer(answer: Answer, showLoader?: boolean, input?: string): Promise<DataServiceResponseData>;
|
|
427
|
-
selectAnswerBySelection(selection: Selection, userInput?: string): Promise<DataServiceResponseData>;
|
|
428
|
-
navigateTo(chosenOption: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
429
|
-
cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
|
|
430
|
-
deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
431
|
-
replaceSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
432
|
-
getSelectionsAsync(): Promise<DataServiceResponseData>;
|
|
433
|
-
getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
|
|
434
|
-
getAnswerTexts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
435
|
-
getAnswersPrices(): Promise<DataServiceResponseData>;
|
|
436
|
-
getSkipButtonImageAndText(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
437
|
-
getInternalParameterValue(parameter: InternalParam): Promise<DataServiceResponseData>;
|
|
438
|
-
getDecosAsync(): Promise<DataServiceResponseData>;
|
|
439
|
-
getSelectorStructure(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
440
|
-
getPublicationCodeBasedOnLogin(): number;
|
|
441
|
-
getImage(key: number | string, publication: number, thumb: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
|
|
442
|
-
copyInstance(instanceId: string, shouldSaveCurrentInstanceId: boolean, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
443
|
-
saveConfigurations(showLoader?: boolean): Promise<boolean>;
|
|
444
|
-
storePreset(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
445
|
-
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
446
|
-
getImageForSelectorStructure(option: SelectorStructure, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
447
|
-
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
448
|
-
private _getPublicationCodeForRole;
|
|
449
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorService, never>;
|
|
450
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorService>;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
348
|
declare class ConfiguratorConnectorService implements OnDestroy {
|
|
454
|
-
private _configuratorService;
|
|
455
349
|
private _appEventService;
|
|
456
350
|
private _settingsService;
|
|
457
351
|
private _loaderService;
|
|
@@ -496,13 +390,15 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
496
390
|
private _initializing;
|
|
497
391
|
private _initialized;
|
|
498
392
|
private _boFactory;
|
|
499
|
-
|
|
393
|
+
private _configuratorService;
|
|
394
|
+
constructor(_appEventService: ConfiguratorEventService, _settingsService: ConfiguratorSettingsService, _loaderService: LoaderService, _utilitiesConnectorService: UtilitiesConnectorService);
|
|
500
395
|
ngOnDestroy(): void;
|
|
501
396
|
cleanUp(): void;
|
|
502
397
|
init(settings?: ConfiguratorSettings): Promise<void>;
|
|
503
398
|
initConnection(forceReload?: boolean, mainUrl?: string, mainSchema?: string, mainVersion?: string): Promise<void>;
|
|
504
399
|
onShowLoaderChange(showLoader: boolean): void;
|
|
505
400
|
onConnectionReset(): void;
|
|
401
|
+
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
506
402
|
getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<number>;
|
|
507
403
|
setSelections(selections: Selection[]): void;
|
|
508
404
|
setDecoNodes(value: DecoNode[]): void;
|
|
@@ -571,60 +467,6 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
571
467
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
572
468
|
}
|
|
573
469
|
|
|
574
|
-
declare class VariationCacheService implements OnDestroy {
|
|
575
|
-
private _settingsService;
|
|
576
|
-
private _configuratorService;
|
|
577
|
-
private _variations;
|
|
578
|
-
private _subs;
|
|
579
|
-
constructor(_settingsService: ConfiguratorSettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
580
|
-
ngOnDestroy(): void;
|
|
581
|
-
get(id: string): VariationSettings;
|
|
582
|
-
set(variations: VariationSettings): void;
|
|
583
|
-
preloadVariations(schema: string, decoNodes: DecoNode[], articleAssetPath?: string): void;
|
|
584
|
-
preloadVariationsAsync(schema: string, decoNodes: DecoNode[] | Answer[] | SelectorStructure[], articleAssetPath?: string): Promise<void>;
|
|
585
|
-
loadVariation(fileName: string): Promise<VariationSettings>;
|
|
586
|
-
private _waitForVariationToLoad;
|
|
587
|
-
private _createSettingsForFileName;
|
|
588
|
-
private _needsMaterials;
|
|
589
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VariationCacheService, never>;
|
|
590
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
declare class ThreedselectorService {
|
|
594
|
-
private _variationCacheService;
|
|
595
|
-
private _settingsService;
|
|
596
|
-
private _threedUtils;
|
|
597
|
-
constructor(_variationCacheService: VariationCacheService, _settingsService: ConfiguratorSettingsService);
|
|
598
|
-
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
599
|
-
loadVariation(id: string): Promise<VariationSettings>;
|
|
600
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
601
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
declare class VariationService {
|
|
605
|
-
private _threedSelectorService;
|
|
606
|
-
loadedAsset: string;
|
|
607
|
-
private _lastKnownVariations;
|
|
608
|
-
constructor(_threedSelectorService: ThreedselectorService);
|
|
609
|
-
clearCache(): void;
|
|
610
|
-
loadPart(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
611
|
-
loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
612
|
-
loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
|
|
613
|
-
loadVariationForMaterial(gameObject: string): Promise<any>;
|
|
614
|
-
loadVariationByAssetUrl(assetUrl: string): Promise<any>;
|
|
615
|
-
createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
|
|
616
|
-
private _applyMaterialPart;
|
|
617
|
-
private _applyVariations;
|
|
618
|
-
private _applyMaterial;
|
|
619
|
-
private _setMeshMaterialFromVariation;
|
|
620
|
-
private _setLastKnownVariations;
|
|
621
|
-
private _getLastKnownVariations;
|
|
622
|
-
private _getChildrenFilterByProp;
|
|
623
|
-
private _createVariationFromNode;
|
|
624
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
|
|
625
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<VariationService>;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
470
|
declare class ProgressService {
|
|
629
471
|
private _progressPercent;
|
|
630
472
|
get progress(): number;
|
|
@@ -654,8 +496,6 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
654
496
|
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
655
497
|
protected appEventService: ConfiguratorEventService;
|
|
656
498
|
protected settingsService: ConfiguratorSettingsService;
|
|
657
|
-
protected variationService: VariationService;
|
|
658
|
-
protected variationCacheService: VariationCacheService;
|
|
659
499
|
protected utilsService: UtilsService;
|
|
660
500
|
get useNodeIdToLink(): boolean;
|
|
661
501
|
get currentCustomFloorGroup(): Object3D;
|
|
@@ -676,7 +516,6 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
676
516
|
showElementToolbar: boolean;
|
|
677
517
|
private _useNodeIdToLink;
|
|
678
518
|
private _activeChildElement;
|
|
679
|
-
private _placedAddables;
|
|
680
519
|
private _adjustables;
|
|
681
520
|
private _addables;
|
|
682
521
|
private _currentCustomFloorGroup;
|
|
@@ -685,8 +524,10 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
685
524
|
private _selectionsSelected;
|
|
686
525
|
private _scene;
|
|
687
526
|
protected subs: Subscription[];
|
|
527
|
+
protected placedAddables: any[];
|
|
688
528
|
protected placedAdjustables: any[];
|
|
689
|
-
|
|
529
|
+
protected variationHelper: VariationHelper;
|
|
530
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, appEventService: ConfiguratorEventService, settingsService: ConfiguratorSettingsService, utilsService: UtilsService);
|
|
690
531
|
ngOnDestroy(): void;
|
|
691
532
|
abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
692
533
|
abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
@@ -724,29 +565,17 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
724
565
|
protected createConfigurableItem(itemName: string): Object3D;
|
|
725
566
|
protected cloneSelections(): Selection[];
|
|
726
567
|
protected updateBuildObject(newItem: Object3D, resultObject: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
727
|
-
protected isMoveableObject(obj: Object3D): boolean;
|
|
728
|
-
protected addElementOnConnector(currentItem: Object3D, element: Object3D, connector: string, connectedNodeId: number): Promise<void>;
|
|
729
568
|
protected saveElementConnector(element: Object3D, connector: string): void;
|
|
730
569
|
protected getIdentifierFromSelection(selection: Selection): string;
|
|
731
570
|
protected reset(): void;
|
|
732
|
-
/**
|
|
733
|
-
* Returns the materialId of the parent up the tree until presentionlevel 1 is reached
|
|
734
|
-
* @param id
|
|
735
|
-
* @private
|
|
736
|
-
*/
|
|
737
|
-
protected getMaterialIdFromParent(id: number): string;
|
|
738
571
|
protected getAdjustables(checkGameObject?: boolean, checkType?: boolean): Selection[];
|
|
739
572
|
protected getVariations(): any[];
|
|
740
|
-
protected createAdjustable(item: Object3D, adj: Selection): Object3D;
|
|
741
|
-
protected createAddable(item: Object3D, add: Selection, part2?: any, part1?: any): Object3D;
|
|
742
|
-
protected placeAddable(item: Object3D, add: any): Object3D;
|
|
743
|
-
protected createUniqueName(item: Object3D, obj: Object3D): string;
|
|
744
|
-
protected placeAddables(item: Object3D): void;
|
|
745
573
|
protected loadVariations(item: Object3D, instanceId: string): Promise<void>;
|
|
746
574
|
protected preloadMaterial(answer: Answer): void;
|
|
747
575
|
protected preloadMaterialBySelection(answer: SelectorStructure): void;
|
|
748
576
|
protected buildFloor(result: any): Promise<void>;
|
|
749
577
|
downloadUDSZforARIOS(objects: Object3D[]): void;
|
|
578
|
+
private _setNeedMaterial;
|
|
750
579
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
|
|
751
580
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
|
|
752
581
|
}
|
|
@@ -788,6 +617,15 @@ declare class SwitchBuildFurnitureService implements OnDestroy {
|
|
|
788
617
|
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
|
|
789
618
|
}
|
|
790
619
|
|
|
620
|
+
declare class ThreedselectorService {
|
|
621
|
+
private _settingsService;
|
|
622
|
+
private _threedUtils;
|
|
623
|
+
constructor(_settingsService: ConfiguratorSettingsService);
|
|
624
|
+
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
626
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
627
|
+
}
|
|
628
|
+
|
|
791
629
|
declare enum ItemType {
|
|
792
630
|
Floor = 1,
|
|
793
631
|
Wall = 2,
|
|
@@ -875,6 +713,8 @@ declare class ConfiguratorCameraService implements OnDestroy {
|
|
|
875
713
|
camera: PerspectiveCamera;
|
|
876
714
|
controls: any;
|
|
877
715
|
cameraMovementChanged: Subject<void>;
|
|
716
|
+
addTweenGroup: Subject<Group>;
|
|
717
|
+
removeTweenGroup: Subject<Group>;
|
|
878
718
|
private _cameraLocked;
|
|
879
719
|
private _element;
|
|
880
720
|
private _viewSize;
|
|
@@ -899,6 +739,8 @@ declare class ConfiguratorCameraService implements OnDestroy {
|
|
|
899
739
|
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
900
740
|
private _getCameraOffset;
|
|
901
741
|
private _controlsUpdate;
|
|
742
|
+
private _addTweenGroup;
|
|
743
|
+
private _removeTweenGroup;
|
|
902
744
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraService, never>;
|
|
903
745
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorCameraService>;
|
|
904
746
|
}
|
|
@@ -1210,6 +1052,7 @@ declare class ConfiguratorSceneService implements OnDestroy {
|
|
|
1210
1052
|
private _indexJsonFile;
|
|
1211
1053
|
private _lightPresetsJsonFile;
|
|
1212
1054
|
private _lightsLoaded;
|
|
1055
|
+
private _groups;
|
|
1213
1056
|
constructor(_cameraService: ConfiguratorCameraService, _xrService: ConfiguratorXrService, _vrService: ConfiguratorVrService, _arService: ConfiguratorArService, _configuratorSettingsService: ConfiguratorSettingsService, _postProcessingService: PostProcessingService, _viewModeService: ViewModeService, _jsonUtilsService: JsonUtilsService, _lightsService: LightsService, _buildFurnitureService: SwitchBuildFurnitureService);
|
|
1214
1057
|
ngOnDestroy(): void;
|
|
1215
1058
|
getScene(): Scene;
|
|
@@ -1223,6 +1066,8 @@ declare class ConfiguratorSceneService implements OnDestroy {
|
|
|
1223
1066
|
updatePathTracer(): void;
|
|
1224
1067
|
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1225
1068
|
rendererPropsChange(): void;
|
|
1069
|
+
private _handleAddTweenGroup;
|
|
1070
|
+
private _handleRemoveTweenGroup;
|
|
1226
1071
|
private _initScene;
|
|
1227
1072
|
private _initCamera;
|
|
1228
1073
|
private _initPostProcessing;
|
|
@@ -1355,6 +1200,7 @@ declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
1355
1200
|
private _buildFurnitureService;
|
|
1356
1201
|
private _configuratorConnectorService;
|
|
1357
1202
|
showClass: boolean;
|
|
1203
|
+
show: boolean;
|
|
1358
1204
|
set sku(value: string);
|
|
1359
1205
|
get sku(): string;
|
|
1360
1206
|
set instanceId(value: string);
|
|
@@ -1368,7 +1214,6 @@ declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
1368
1214
|
canCloseConfigurator: boolean;
|
|
1369
1215
|
animateSlideout: boolean;
|
|
1370
1216
|
showHeaderInformation: boolean;
|
|
1371
|
-
showSaveAndLoadConfiguration: boolean;
|
|
1372
1217
|
isLoading: EventEmitter<boolean>;
|
|
1373
1218
|
updateProgressBar: EventEmitter<boolean>;
|
|
1374
1219
|
errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
|
|
@@ -1381,6 +1226,7 @@ declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
1381
1226
|
showSelections: boolean;
|
|
1382
1227
|
showAnswers: boolean;
|
|
1383
1228
|
loaded: boolean;
|
|
1229
|
+
forceShow: boolean;
|
|
1384
1230
|
private _subs;
|
|
1385
1231
|
private _loadingFromPreset;
|
|
1386
1232
|
private _settings;
|
|
@@ -1388,6 +1234,7 @@ declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
1388
1234
|
private _instanceIdSet;
|
|
1389
1235
|
private _sku;
|
|
1390
1236
|
private _skuSet;
|
|
1237
|
+
private _alreadyReset;
|
|
1391
1238
|
constructor(settingsService: ConfiguratorSettingsService, loaderService: LoaderService, _configuratorEventService: ConfiguratorEventService, _configuringService: ConfiguringService, _buildFurnitureService: SwitchBuildFurnitureService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1392
1239
|
ngOnInit(): void;
|
|
1393
1240
|
ngOnDestroy(): void;
|
|
@@ -1397,9 +1244,9 @@ declare class ConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
1397
1244
|
private _handleArticleNotFound;
|
|
1398
1245
|
private _handleAnswerCountReceived;
|
|
1399
1246
|
private _handleBuildFinished;
|
|
1400
|
-
private
|
|
1247
|
+
private _reset;
|
|
1401
1248
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
1402
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "
|
|
1249
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "show": { "alias": "show"; "required": false; }; "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>;
|
|
1403
1250
|
}
|
|
1404
1251
|
|
|
1405
1252
|
declare class ProgressBarComponent {
|
|
@@ -1658,25 +1505,30 @@ declare class ConfiguratorDialogModule {
|
|
|
1658
1505
|
|
|
1659
1506
|
declare class ConfigurationPresetDialogComponent implements OnDestroy {
|
|
1660
1507
|
iconService: IconCacheService;
|
|
1661
|
-
private
|
|
1508
|
+
private _overlay;
|
|
1509
|
+
private _viewContainerRef;
|
|
1662
1510
|
private _configuratorConnectorService;
|
|
1663
1511
|
private _translationService;
|
|
1664
1512
|
private _appEventService;
|
|
1665
1513
|
readonly icons: typeof IconEnum;
|
|
1666
1514
|
readonly presetDialogMode: typeof PresetDialogMode;
|
|
1515
|
+
dialogTemplate: TemplateRef<any>;
|
|
1667
1516
|
showClass(): boolean;
|
|
1668
|
-
showDialog: boolean;
|
|
1669
1517
|
instanceIdInput: string;
|
|
1670
|
-
dialogMode: PresetDialogMode;
|
|
1671
1518
|
showValidationErrors: boolean;
|
|
1672
1519
|
validationError: string;
|
|
1520
|
+
dialogMode: PresetDialogMode;
|
|
1521
|
+
private _overlayRef;
|
|
1522
|
+
private _instanceId;
|
|
1673
1523
|
private _subs;
|
|
1674
|
-
constructor(iconService: IconCacheService,
|
|
1524
|
+
constructor(iconService: IconCacheService, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _configuratorConnectorService: ConfiguratorConnectorService, _translationService: TranslationService, _appEventService: ConfiguratorEventService);
|
|
1675
1525
|
ngOnDestroy(): void;
|
|
1676
1526
|
handleOpenDialog(mode: PresetDialogMode): void;
|
|
1677
1527
|
handleCloseClick(): void;
|
|
1678
1528
|
handleCopySuccess(): Promise<void>;
|
|
1679
1529
|
loadConfiguration(): void;
|
|
1530
|
+
private _openOverlay;
|
|
1531
|
+
private _handleSetInstance;
|
|
1680
1532
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetDialogComponent, never>;
|
|
1681
1533
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetDialogComponent, "co-configuration-preset-dialog", never, {}, {}, never, never, false, never>;
|
|
1682
1534
|
}
|
|
@@ -1698,7 +1550,6 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
1698
1550
|
canClose: boolean;
|
|
1699
1551
|
animateSlideout: boolean;
|
|
1700
1552
|
customDimensions: boolean;
|
|
1701
|
-
showSaveAndLoadConfiguration: boolean;
|
|
1702
1553
|
readonly showChange: EventEmitter<boolean>;
|
|
1703
1554
|
readonly answerChosen: EventEmitter<Answer>;
|
|
1704
1555
|
answerToShowFromSelectionText: string;
|
|
@@ -1715,7 +1566,7 @@ declare class LiteSelectorComponent implements OnDestroy {
|
|
|
1715
1566
|
onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
|
|
1716
1567
|
onAnswersSlideoutAnswerChosen(answerSelected: any): void;
|
|
1717
1568
|
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
|
|
1718
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "show": { "alias": "show"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "animateSlideout": { "alias": "animateSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; };
|
|
1569
|
+
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; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
1719
1570
|
}
|
|
1720
1571
|
|
|
1721
1572
|
declare class AnswerCardComponent implements OnInit {
|
|
@@ -1798,7 +1649,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
1798
1649
|
isSmallCardsModus: boolean;
|
|
1799
1650
|
bottomAlign: boolean;
|
|
1800
1651
|
filteredAnswers: Answer[];
|
|
1801
|
-
colorArray: Color
|
|
1652
|
+
colorArray: Color[];
|
|
1802
1653
|
tagArray: Tag[];
|
|
1803
1654
|
showTheFilter: boolean;
|
|
1804
1655
|
zoomImage: string;
|
|
@@ -1809,6 +1660,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
1809
1660
|
inqNumber: number;
|
|
1810
1661
|
valutaSymbol: string;
|
|
1811
1662
|
hasInfoOpen: boolean;
|
|
1663
|
+
showTagFilter: boolean;
|
|
1812
1664
|
private _openCount;
|
|
1813
1665
|
private _answers;
|
|
1814
1666
|
private _subs;
|
|
@@ -1819,7 +1671,7 @@ declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
|
1819
1671
|
ngOnDestroy(): void;
|
|
1820
1672
|
onZoomClick(answer: Answer): void;
|
|
1821
1673
|
applyFilter(): void;
|
|
1822
|
-
onFilterColor(color: Color
|
|
1674
|
+
onFilterColor(color: Color): void;
|
|
1823
1675
|
onFilterTag(tag: Tag): void;
|
|
1824
1676
|
onCloseAnswerSlideout(): void;
|
|
1825
1677
|
handleAnswerChosen(answer: Answer): void;
|
|
@@ -1934,8 +1786,8 @@ declare class ColorFilterComponent {
|
|
|
1934
1786
|
private _sanitizer;
|
|
1935
1787
|
readonly icons: typeof IconEnum;
|
|
1936
1788
|
showClass(): boolean;
|
|
1937
|
-
set color(value: Color
|
|
1938
|
-
get color(): Color
|
|
1789
|
+
set color(value: Color);
|
|
1790
|
+
get color(): Color;
|
|
1939
1791
|
active: boolean;
|
|
1940
1792
|
get lightBackground(): boolean;
|
|
1941
1793
|
backgroundStyle: SafeStyle;
|
|
@@ -2012,7 +1864,6 @@ declare class SelectionsSummaryComponent implements OnDestroy {
|
|
|
2012
1864
|
canClose: boolean;
|
|
2013
1865
|
answersTemplate: TemplateRef<any>;
|
|
2014
1866
|
answerToShowFromSelectionText: string;
|
|
2015
|
-
showSaveAndLoadConfiguration: boolean;
|
|
2016
1867
|
customDimensions: boolean;
|
|
2017
1868
|
disableMouse: boolean;
|
|
2018
1869
|
handledocumentMouseUp(event: any): void;
|
|
@@ -2033,7 +1884,7 @@ declare class SelectionsSummaryComponent implements OnDestroy {
|
|
|
2033
1884
|
handleDelete(event: MouseEvent, sel: Selection): void;
|
|
2034
1885
|
toggleElement(sel: Selection): void;
|
|
2035
1886
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
|
|
2036
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "co-selections-summary", never, { "selections": { "alias": "selections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; "
|
|
1887
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "co-selections-summary", never, { "selections": { "alias": "selections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; "repeatSelection": "repeatSelection"; "deleteSelection": "deleteSelection"; }, never, never, false, never>;
|
|
2037
1888
|
}
|
|
2038
1889
|
|
|
2039
1890
|
declare class CoSummaryLine implements AfterViewInit {
|
|
@@ -2119,14 +1970,18 @@ declare class SelectionsSummaryLineModule {
|
|
|
2119
1970
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
|
|
2120
1971
|
}
|
|
2121
1972
|
|
|
2122
|
-
declare class ConfigurationPresetComponent {
|
|
1973
|
+
declare class ConfigurationPresetComponent implements OnInit {
|
|
2123
1974
|
iconService: IconCacheService;
|
|
1975
|
+
settingService: ConfiguratorSettingsService;
|
|
2124
1976
|
private _appEventService;
|
|
2125
1977
|
readonly icons: typeof IconEnum;
|
|
2126
|
-
isSaveLoadMenuOpen: boolean;
|
|
2127
1978
|
showClass(): boolean;
|
|
2128
1979
|
closeSaveLoadMenu(): void;
|
|
2129
|
-
|
|
1980
|
+
isSaveLoadMenuOpen: boolean;
|
|
1981
|
+
showSavePresetButton: boolean;
|
|
1982
|
+
showLoadPresetButton: boolean;
|
|
1983
|
+
constructor(iconService: IconCacheService, settingService: ConfiguratorSettingsService, _appEventService: ConfiguratorEventService);
|
|
1984
|
+
ngOnInit(): void;
|
|
2130
1985
|
toggleSaveLoadMenu(event: MouseEvent): void;
|
|
2131
1986
|
handleSavePresetClicked(): void;
|
|
2132
1987
|
handleLoadPresetClicked(): void;
|
|
@@ -2136,7 +1991,7 @@ declare class ConfigurationPresetComponent {
|
|
|
2136
1991
|
|
|
2137
1992
|
declare class ConfigurationPresetModule {
|
|
2138
1993
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetModule, never>;
|
|
2139
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfigurationPresetModule, [typeof ConfigurationPresetComponent], [typeof i2.TranslationModule, typeof i3$1.ButtonModule, typeof i3$1.IconModule, typeof i3$1.InputTextModule, typeof i4.CdkCopyToClipboard, typeof i3.AsyncPipe], [typeof ConfigurationPresetComponent]>;
|
|
1994
|
+
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]>;
|
|
2140
1995
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfigurationPresetModule>;
|
|
2141
1996
|
}
|
|
2142
1997
|
|
|
@@ -2177,7 +2032,6 @@ declare class ProductConfiguratorComponent implements OnDestroy {
|
|
|
2177
2032
|
showLabel: boolean;
|
|
2178
2033
|
canClose: boolean;
|
|
2179
2034
|
customDimensions: boolean;
|
|
2180
|
-
showSaveAndLoadConfiguration: boolean;
|
|
2181
2035
|
readonly showChange: EventEmitter<boolean>;
|
|
2182
2036
|
readonly answerChosen: EventEmitter<Answer>;
|
|
2183
2037
|
valutaSymbol: string;
|
|
@@ -2195,7 +2049,7 @@ declare class ProductConfiguratorComponent implements OnDestroy {
|
|
|
2195
2049
|
private _handleSelectionWithAnswersChanged;
|
|
2196
2050
|
private _handleArticleReceived;
|
|
2197
2051
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
2198
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; };
|
|
2052
|
+
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; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
2199
2053
|
}
|
|
2200
2054
|
|
|
2201
2055
|
declare class ProductConfiguratorSelectorComponent implements OnInit, OnChanges {
|
|
@@ -2873,6 +2727,36 @@ declare class FloorPlaneService implements OnDestroy {
|
|
|
2873
2727
|
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
2874
2728
|
}
|
|
2875
2729
|
|
|
2730
|
+
declare class DimensionsService implements OnDestroy {
|
|
2731
|
+
private _sceneService;
|
|
2732
|
+
private _fontService;
|
|
2733
|
+
private _itemService;
|
|
2734
|
+
set enabled(value: boolean);
|
|
2735
|
+
get enabled(): boolean;
|
|
2736
|
+
private readonly _offSet;
|
|
2737
|
+
private readonly _labelOffSet;
|
|
2738
|
+
private readonly _nameHeightArrow;
|
|
2739
|
+
private readonly _nameWidthArrow;
|
|
2740
|
+
private readonly _nameDepthArrow;
|
|
2741
|
+
private readonly _headLength;
|
|
2742
|
+
private readonly _headWidth;
|
|
2743
|
+
private readonly _defaultColor;
|
|
2744
|
+
private _subs;
|
|
2745
|
+
private _dimensions;
|
|
2746
|
+
private _enabled;
|
|
2747
|
+
constructor(_sceneService: ConfiguratorSceneService, _fontService: FontService, _itemService: ConfiguratorItemService);
|
|
2748
|
+
ngOnDestroy(): void;
|
|
2749
|
+
private _renderDimensions;
|
|
2750
|
+
private _removeDimensionsOfNotExistingFurniture;
|
|
2751
|
+
private _removeDimensions;
|
|
2752
|
+
private _positionDimensions;
|
|
2753
|
+
private _createDimensions;
|
|
2754
|
+
private _createLabel;
|
|
2755
|
+
private _getBoxSize;
|
|
2756
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DimensionsService, never>;
|
|
2757
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsService>;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2876
2760
|
declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
2877
2761
|
private _settingsService;
|
|
2878
2762
|
private _rotationService;
|
|
@@ -2882,10 +2766,11 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2882
2766
|
private _cameraService;
|
|
2883
2767
|
private _itemService;
|
|
2884
2768
|
private _buildFurnitureService;
|
|
2769
|
+
private _sceneOptionsService;
|
|
2770
|
+
private _dimensionsService;
|
|
2885
2771
|
private _floorService;
|
|
2886
2772
|
canvasElement: ElementRef;
|
|
2887
2773
|
elementToolbar: ElementToolbarComponent;
|
|
2888
|
-
showSceneBuildLoader: boolean;
|
|
2889
2774
|
showClass: boolean;
|
|
2890
2775
|
totalSteps: number;
|
|
2891
2776
|
currentStep: number;
|
|
@@ -2897,11 +2782,16 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2897
2782
|
loaderProgress: number;
|
|
2898
2783
|
showElementToolbar: boolean;
|
|
2899
2784
|
animateEditAddButtons: boolean;
|
|
2785
|
+
showSceneBuildLoader: boolean;
|
|
2786
|
+
enabledDownloadDialog: boolean;
|
|
2787
|
+
development: boolean;
|
|
2788
|
+
showDownloadDialog: boolean;
|
|
2789
|
+
showCameraSettingsDialog: boolean;
|
|
2900
2790
|
private _subs;
|
|
2901
2791
|
private _firstBuild;
|
|
2902
2792
|
private _selectedElementObject;
|
|
2903
2793
|
private _buildResult;
|
|
2904
|
-
constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _floorService: FloorPlaneService);
|
|
2794
|
+
constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _sceneOptionsService: SceneOptionsService, _dimensionsService: DimensionsService, _floorService: FloorPlaneService);
|
|
2905
2795
|
ngAfterViewInit(): void;
|
|
2906
2796
|
ngOnDestroy(): void;
|
|
2907
2797
|
swapElement(): void;
|
|
@@ -2919,13 +2809,19 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2919
2809
|
private _removeAllButtons;
|
|
2920
2810
|
private _repositionButton;
|
|
2921
2811
|
private _showPlusButtonsBriefly;
|
|
2812
|
+
private _createDownloadButton;
|
|
2813
|
+
private _createCameraSettingsButton;
|
|
2814
|
+
private _createMeasurementsButton;
|
|
2815
|
+
private _downloadCurrentBuild;
|
|
2816
|
+
private _openCameraSettingsDialog;
|
|
2817
|
+
private _handleShowMeasurements;
|
|
2922
2818
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
2923
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {
|
|
2819
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
|
|
2924
2820
|
}
|
|
2925
2821
|
|
|
2926
2822
|
declare class ConfiguratorSceneModule {
|
|
2927
2823
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneModule, never>;
|
|
2928
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], [typeof ConfiguratorSceneLoaderModule, typeof SelectionsModule, typeof ElementToolbarModule, typeof ElementButtonsModule], [typeof ConfiguratorSceneComponent]>;
|
|
2824
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], [typeof ConfiguratorSceneLoaderModule, typeof SelectionsModule, typeof ElementToolbarModule, typeof ElementButtonsModule, typeof ConfiguratorDialogModule], [typeof ConfiguratorSceneComponent]>;
|
|
2929
2825
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneModule>;
|
|
2930
2826
|
}
|
|
2931
2827
|
|
|
@@ -2974,28 +2870,4 @@ declare class ArPositionIndicator extends Object3D {
|
|
|
2974
2870
|
constructor(boundingBox: Box3);
|
|
2975
2871
|
}
|
|
2976
2872
|
|
|
2977
|
-
|
|
2978
|
-
selectionsReceived: BehaviorSubject<Selection[]>;
|
|
2979
|
-
articleLoaded: BehaviorSubject<Article>;
|
|
2980
|
-
decosReceived: BehaviorSubject<DecoNode[]>;
|
|
2981
|
-
answersReceived: BehaviorSubject<Answer[]>;
|
|
2982
|
-
modelLoaded: BehaviorSubject<THREE.Object3D>;
|
|
2983
|
-
set debug(value: Function);
|
|
2984
|
-
get debug(): Function;
|
|
2985
|
-
private _scene;
|
|
2986
|
-
private _debug;
|
|
2987
|
-
private _source;
|
|
2988
|
-
private _threedUtils;
|
|
2989
|
-
private _buildFurnitureService;
|
|
2990
|
-
private _configuratorConnectorService;
|
|
2991
|
-
constructor();
|
|
2992
|
-
init(scene: Scene): void;
|
|
2993
|
-
buildModelFromData(selections: Selection[], decos: DecoNode[], assetUrl: string, cdnUrl: string, schema: string): Promise<THREE.Object3D>;
|
|
2994
|
-
destroy(): void;
|
|
2995
|
-
private _downloadAsset;
|
|
2996
|
-
private _log;
|
|
2997
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Builder, never>;
|
|
2998
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
|
|
2999
|
-
}
|
|
3000
|
-
|
|
3001
|
-
export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, ArFeature, ArPositionIndicator, Builder, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationResultObject, ConfiguratorArService, ConfiguratorCameraService, ConfiguratorCameraSettingsComponent, ConfiguratorComponent, ConfiguratorConnectorService, ConfiguratorDialogModule, ConfiguratorErrorDialogComponent, ConfiguratorErrorMessage, ConfiguratorEventService, ConfiguratorExportDialogComponent, ConfiguratorLoaderComponent, ConfiguratorLoaderModule, ConfiguratorModule, ConfiguratorSceneComponent, ConfiguratorSceneLoaderComponent, ConfiguratorSceneLoaderModule, ConfiguratorSceneModule, ConfiguratorSceneService, ConfiguratorVrService, ConfiguratorXrService, ConfiguringService, Controls, ElementButtonsComponent, ElementButtonsModule, ElementToolbarComponent, ElementToolbarModule, ImageZoomComponent, ImageZoomModule, LiteSelectorComponent, LiteSelectorModule, ProductConfiguratorComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProgressBarComponent, ProgressBarModule, Reticle, SceneOptionsComponent, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, XrMode };
|
|
2873
|
+
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 };
|