@colijnit/configurator 262.1.9 → 262.1.10
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 +2402 -758
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +319 -67
- package/lib/components/answer-info-dialog/style/_theme.scss +3 -3
- package/lib/components/answers-slideout/style/_layout.scss +10 -10
- package/lib/components/configuration-preset/style/_layout.scss +1 -1
- package/lib/components/configuration-preset/style/_theme.scss +2 -2
- package/lib/components/configuration-preset-dialog/style/_theme.scss +7 -7
- package/lib/components/configurator-dialog/style/_theme.scss +5 -5
- package/lib/components/configurator-scene/style/_layout.scss +1 -0
- package/lib/components/element-buttons/style/_layout.scss +13 -12
- package/lib/components/element-buttons/style/_material-definition.scss +9 -0
- package/lib/components/element-buttons/style/_theme.scss +15 -7
- package/lib/components/element-toolbar/style/_layout.scss +30 -4
- package/lib/components/element-toolbar/style/_material-definition.scss +3 -1
- package/lib/components/element-toolbar/style/_theme.scss +13 -12
- package/lib/components/product-configurator/style/_layout.scss +18 -7
- package/lib/components/product-configurator/style/_theme.scss +3 -3
- package/lib/components/product-configurator-grouped-repeatable-options/style/_layout.scss +74 -0
- package/lib/components/product-configurator-grouped-repeatable-options/style/_material-definition.scss +12 -0
- package/lib/components/product-configurator-grouped-repeatable-options/style/_theme.scss +75 -0
- package/lib/components/product-configurator-grouped-repeatable-options/style/material.scss +3 -0
- package/lib/components/product-configurator-repeat-buttons/style/_layout.scss +24 -0
- package/lib/components/product-configurator-repeat-buttons/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-repeat-buttons/style/_theme.scss +24 -0
- package/lib/components/product-configurator-repeat-buttons/style/material.scss +3 -0
- package/lib/components/product-configurator-selector/style/_layout.scss +36 -3
- package/lib/components/product-configurator-selector/style/_theme.scss +41 -22
- package/lib/components/product-configurator-selector-child-article/style/_layout.scss +40 -0
- package/lib/components/product-configurator-selector-child-article/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-child-article/style/_theme.scss +29 -0
- package/lib/components/product-configurator-selector-child-article/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option/style/_theme.scss +18 -1
- package/lib/components/product-configurator-selector-option-button/style/_theme.scss +5 -5
- package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +9 -9
- package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +2 -2
- package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +1 -1
- package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +52 -21
- package/lib/components/product-configurator-slideout/style/_layout.scss +38 -0
- package/lib/components/product-configurator-slideout/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-slideout/style/_theme.scss +30 -0
- package/lib/components/product-configurator-slideout/style/material.scss +3 -0
- package/lib/components/summary-line/style/_theme.scss +6 -6
- package/lib/style/_variables.scss +50 -40
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, EventEmitter, OnInit, TemplateRef, ViewContainerRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef
|
|
2
|
+
import { OnDestroy, EventEmitter, OnInit, TemplateRef, ViewContainerRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
|
-
import { Object3D, Material, Vector3, Euler, Scene, Mesh, PerspectiveCamera, WebGLRenderer, Camera, Vector2, Box3 } from 'three';
|
|
4
|
+
import { Object3D, Material, Vector3, Euler, Scene, Mesh, PerspectiveCamera, WebGLRenderer, Camera, Vector2, Intersection, 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';
|
|
@@ -9,9 +9,9 @@ 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
11
|
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
12
|
+
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
12
13
|
import { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
|
|
13
14
|
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
14
|
-
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
15
15
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
16
16
|
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
17
17
|
import { AnswerPrice } from '@colijnit/configuratorapi/build/model/answer-price';
|
|
@@ -36,6 +36,7 @@ import { Tag } from '@colijnit/configuratorapi/build/model/tag';
|
|
|
36
36
|
import * as i3$2 from '@angular/material/icon';
|
|
37
37
|
import * as i4$1 from '@angular/material/button';
|
|
38
38
|
import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
|
|
39
|
+
import { NodeType } from '@colijnit/configuratorapi/build/enum/node-type.enum';
|
|
39
40
|
|
|
40
41
|
declare class ConfiguratorErrorMessage {
|
|
41
42
|
message: string;
|
|
@@ -118,6 +119,16 @@ declare enum PresetDialogMode {
|
|
|
118
119
|
LOAD = 1
|
|
119
120
|
}
|
|
120
121
|
|
|
122
|
+
interface SlideOutEvent {
|
|
123
|
+
open: boolean;
|
|
124
|
+
selNodeId: number;
|
|
125
|
+
selection: SelectorStructure;
|
|
126
|
+
options: SelectorWithOptions[];
|
|
127
|
+
repeatedOptions: SelectorWithOptions[];
|
|
128
|
+
activeSelection?: number;
|
|
129
|
+
markForUserInput?: boolean;
|
|
130
|
+
}
|
|
131
|
+
|
|
121
132
|
declare class ConfiguratorEventService {
|
|
122
133
|
skuSet: BehaviorSubject<string>;
|
|
123
134
|
instanceIdSet: BehaviorSubject<string>;
|
|
@@ -148,6 +159,13 @@ declare class ConfiguratorEventService {
|
|
|
148
159
|
renderImageChanged: BehaviorSubject<string>;
|
|
149
160
|
renderImageError: BehaviorSubject<string>;
|
|
150
161
|
startBuildFromPresetId: Subject<string>;
|
|
162
|
+
selectSelection: Subject<SelectorStructure>;
|
|
163
|
+
showAllConfigurationOptions: Subject<boolean>;
|
|
164
|
+
hideMainConfigurator: Subject<boolean>;
|
|
165
|
+
checkHiddenRepeatItem: Subject<SelectorStructure>;
|
|
166
|
+
checkForMarkedInputs: Subject<boolean>;
|
|
167
|
+
closeSlideOut: Subject<void>;
|
|
168
|
+
openSlideOut: Subject<SlideOutEvent>;
|
|
151
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorEventService, never>;
|
|
152
170
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorEventService>;
|
|
153
171
|
}
|
|
@@ -228,9 +246,12 @@ declare class SettingOptions {
|
|
|
228
246
|
useExternalOpenSave?: boolean;
|
|
229
247
|
floorFadeStart?: number;
|
|
230
248
|
floorFadeEnd?: number;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
249
|
+
limitStartView?: boolean;
|
|
250
|
+
limitAmountOfTiles?: boolean;
|
|
251
|
+
amountOfGroupsToShow?: number;
|
|
252
|
+
maxVisibleTiles?: number;
|
|
253
|
+
maxVisibleSmallTiles?: number;
|
|
254
|
+
groupedShowAllBtn?: boolean;
|
|
234
255
|
showSavePresetButton?: boolean;
|
|
235
256
|
showLoadPresetButton?: boolean;
|
|
236
257
|
showSceneBuildLoader?: boolean;
|
|
@@ -356,6 +377,13 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
356
377
|
get shouldShowLoader(): boolean;
|
|
357
378
|
set instanceId(instanceId: string);
|
|
358
379
|
get instanceId(): string;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* This is for the nested article slide out for the full config template
|
|
383
|
+
*
|
|
384
|
+
* */
|
|
385
|
+
set activeSlideOutParentId(id: number);
|
|
386
|
+
get activeSlideOutParentId(): number;
|
|
359
387
|
controllerInitialized: BehaviorSubject<boolean>;
|
|
360
388
|
standAloneInstance: BehaviorSubject<boolean>;
|
|
361
389
|
connectionReset: Subject<void>;
|
|
@@ -363,6 +391,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
363
391
|
activeQuestion: Question;
|
|
364
392
|
activeAnswers: Answer[];
|
|
365
393
|
assetPath: string;
|
|
394
|
+
private _activeSlideOutParentId;
|
|
366
395
|
private _selections;
|
|
367
396
|
private _currentSelections;
|
|
368
397
|
private _activeSelection;
|
|
@@ -374,6 +403,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
374
403
|
private _totalPrice;
|
|
375
404
|
private _imageCache;
|
|
376
405
|
private _exceptionQuestionChanged;
|
|
406
|
+
private _exceptionIds;
|
|
377
407
|
private _shouldShowLoader;
|
|
378
408
|
private _connectorOptions;
|
|
379
409
|
private _subs;
|
|
@@ -400,7 +430,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
400
430
|
setInstance(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
401
431
|
copyInstanceAndSaveOriginalConfiguration(instanceId: string, result: ConfigurationResultObject): Promise<string>;
|
|
402
432
|
copyInstanceAndLoseOriginalConfiguration(instanceId: string, result: ConfigurationResultObject): Promise<string>;
|
|
403
|
-
getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
|
|
433
|
+
getQuestionAndAnswersAsync(addedElement?: boolean): Promise<QuestionAndAnswers>;
|
|
404
434
|
emptyAnswersAndQuestion(): void;
|
|
405
435
|
handleAnswersReceived(): void;
|
|
406
436
|
getSelectionsAndDecos(): Promise<void>;
|
|
@@ -409,6 +439,8 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
409
439
|
selectAnswer(answer: Answer, input?: string): Promise<DataServiceResponseData>;
|
|
410
440
|
selectAnswerBySelection(selection: Selection, input?: string): Promise<DataServiceResponseData>;
|
|
411
441
|
navigateTo(choseValue: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
442
|
+
navigateToBySelNode(instanceId: string, choseValue: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
443
|
+
nextCombNode(selection: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
412
444
|
cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
|
|
413
445
|
selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
|
|
414
446
|
deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
@@ -430,6 +462,9 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
430
462
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
431
463
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
432
464
|
isSelectionPublished(selection: Selection): boolean;
|
|
465
|
+
repeatOption(optCycle: number, id: number, after?: boolean): Promise<boolean>;
|
|
466
|
+
filterRemoveSelectionsByDeleteExceptions(options: Selection[]): Selection[];
|
|
467
|
+
markSelectionForUserInput(selectionNode: number): void;
|
|
433
468
|
private _prepareSelections;
|
|
434
469
|
private _prepareSelectionsToDisplay;
|
|
435
470
|
private _prepareAnswersAndImages;
|
|
@@ -442,7 +477,9 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
442
477
|
private _preloadCachedImages;
|
|
443
478
|
private _handleInstanceResponse;
|
|
444
479
|
private _prepareSelectionsNextOptionValues;
|
|
480
|
+
private _getSelectorStructure;
|
|
445
481
|
private _createSelectorFullConfiguration;
|
|
482
|
+
private _buildRepeatedOptions;
|
|
446
483
|
private _buildStructureThree;
|
|
447
484
|
private _markLastNodeWithChildren;
|
|
448
485
|
private _isStructurePublished;
|
|
@@ -454,6 +491,9 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
454
491
|
private _handleImageReceivedForSelectorStructure;
|
|
455
492
|
private _handleImageResponse;
|
|
456
493
|
private _linkExceptionToOption;
|
|
494
|
+
private _filterResultOnPublicationCodes;
|
|
495
|
+
private _checkForRemovedByException;
|
|
496
|
+
private _markExceptions;
|
|
457
497
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorConnectorService, never>;
|
|
458
498
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
459
499
|
}
|
|
@@ -1034,6 +1074,8 @@ declare class ConfiguratorSceneService implements OnDestroy {
|
|
|
1034
1074
|
webGL2Available: boolean;
|
|
1035
1075
|
domElement: HTMLElement;
|
|
1036
1076
|
floorTexturesLoaded: BehaviorSubject<TextureInterface$1[]>;
|
|
1077
|
+
getFloorSizeFn: Function;
|
|
1078
|
+
getCenterFloorFn: Function;
|
|
1037
1079
|
private _needsRender;
|
|
1038
1080
|
private _arMode;
|
|
1039
1081
|
private _subs;
|
|
@@ -1056,7 +1098,7 @@ declare class ConfiguratorSceneService implements OnDestroy {
|
|
|
1056
1098
|
removeObject(obj: Object3D | Mesh, forceRender?: boolean, cleanUp?: boolean): void;
|
|
1057
1099
|
updatePathTracer(): void;
|
|
1058
1100
|
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1059
|
-
|
|
1101
|
+
handlePropsChanged(): void;
|
|
1060
1102
|
private _handleAddTweenGroup;
|
|
1061
1103
|
private _handleRemoveTweenGroup;
|
|
1062
1104
|
private _initScene;
|
|
@@ -1288,6 +1330,7 @@ declare enum IconEnum {
|
|
|
1288
1330
|
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
1289
1331
|
ArCircle = "ar_circle",
|
|
1290
1332
|
BarsLightFull = "bars_light_full",
|
|
1333
|
+
BellSharpSolid = "bell_sharp_solid",
|
|
1291
1334
|
Brush = "brush",
|
|
1292
1335
|
CameraSolid = "camera_solid",
|
|
1293
1336
|
CameraTopdown = "camera_topdown",
|
|
@@ -1296,6 +1339,7 @@ declare enum IconEnum {
|
|
|
1296
1339
|
Check = "check",
|
|
1297
1340
|
CheckRegular = "check_regular",
|
|
1298
1341
|
CheckSolid = "check_solid",
|
|
1342
|
+
ChevronLeftRegular = "chevron_left_regular",
|
|
1299
1343
|
CircleCheck = "circle_check",
|
|
1300
1344
|
CircleCheckRegular = "circle_check_regular",
|
|
1301
1345
|
CircleInfo = "circle_info",
|
|
@@ -1841,7 +1885,7 @@ declare class DirectivesModule {
|
|
|
1841
1885
|
|
|
1842
1886
|
declare class AnswersSlideoutModule {
|
|
1843
1887
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
|
|
1844
|
-
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]>;
|
|
1888
|
+
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 i3$1.InputTextChipsModule, typeof i3$1.ButtonModule], [typeof AnswersSlideoutComponent]>;
|
|
1845
1889
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
|
|
1846
1890
|
}
|
|
1847
1891
|
|
|
@@ -1998,23 +2042,14 @@ declare class LiteSelectorModule {
|
|
|
1998
2042
|
static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
|
|
1999
2043
|
}
|
|
2000
2044
|
|
|
2001
|
-
declare class ProductConfiguratorService {
|
|
2002
|
-
showChange: EventEmitter<boolean>;
|
|
2003
|
-
answerChosen: EventEmitter<Answer>;
|
|
2004
|
-
selectSelection: EventEmitter<SelectorStructure>;
|
|
2005
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorService, never>;
|
|
2006
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
2045
|
declare class ProductConfiguratorComponent implements OnDestroy {
|
|
2010
2046
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2011
2047
|
buildFurnitureService: SwitchBuildFurnitureService;
|
|
2012
2048
|
settingsService: ConfiguratorSettingsService;
|
|
2013
|
-
productConfiguratorService: ProductConfiguratorService;
|
|
2014
2049
|
iconService: IconCacheService;
|
|
2015
2050
|
private _sanitizer;
|
|
2016
2051
|
private _configuringService;
|
|
2017
|
-
private
|
|
2052
|
+
private _appEventService;
|
|
2018
2053
|
showClass(): boolean;
|
|
2019
2054
|
readonly icons: typeof IconEnum;
|
|
2020
2055
|
showHeaderInformation: boolean;
|
|
@@ -2029,113 +2064,226 @@ declare class ProductConfiguratorComponent implements OnDestroy {
|
|
|
2029
2064
|
article: Article;
|
|
2030
2065
|
selectionList: SelectorWithOptions[];
|
|
2031
2066
|
safeDescription: SafeHtml;
|
|
2067
|
+
hideMainConfiguration: boolean;
|
|
2032
2068
|
private _showSelections;
|
|
2033
|
-
private _show;
|
|
2034
|
-
private _selectionSelected;
|
|
2035
2069
|
private _subs;
|
|
2036
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService,
|
|
2070
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService, _appEventService: ConfiguratorEventService);
|
|
2037
2071
|
ngOnDestroy(): void;
|
|
2038
|
-
|
|
2072
|
+
navigateToSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
2039
2073
|
handleCloseClick(): void;
|
|
2074
|
+
handleHideMainConfiguration(hide: boolean): void;
|
|
2040
2075
|
private _handleSelectionWithAnswersChanged;
|
|
2041
2076
|
private _handleArticleReceived;
|
|
2042
2077
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
2043
2078
|
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>;
|
|
2044
2079
|
}
|
|
2045
2080
|
|
|
2046
|
-
declare class ProductConfiguratorSelectorComponent implements OnInit,
|
|
2081
|
+
declare class ProductConfiguratorSelectorComponent implements OnInit, OnDestroy {
|
|
2047
2082
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2048
2083
|
settingsService: ConfiguratorSettingsService;
|
|
2049
2084
|
iconService: IconCacheService;
|
|
2050
|
-
|
|
2085
|
+
private _appEventService;
|
|
2086
|
+
showClass(): boolean;
|
|
2051
2087
|
readonly icons: typeof IconEnum;
|
|
2052
2088
|
exceptionContainer?: ElementRef;
|
|
2053
2089
|
selection: SelectorStructure;
|
|
2054
2090
|
options: SelectorWithOptions[];
|
|
2091
|
+
repeatedOptions: SelectorWithOptions[];
|
|
2055
2092
|
lastNodeWithChildren: boolean;
|
|
2093
|
+
set markForUserInput(mark: boolean);
|
|
2094
|
+
get markForUserInput(): boolean;
|
|
2056
2095
|
selectionIndex: number;
|
|
2057
2096
|
treeLevelIndex: number;
|
|
2058
|
-
isActive: boolean;
|
|
2059
2097
|
markAsException: boolean;
|
|
2060
|
-
|
|
2061
|
-
suppressSubShowMore: boolean;
|
|
2062
|
-
useGroupedParentVisibility: boolean;
|
|
2098
|
+
hasArticlesAsChildren: boolean;
|
|
2063
2099
|
activate: EventEmitter<void>;
|
|
2064
|
-
|
|
2100
|
+
openSlideOutClick: EventEmitter<SlideOutEvent>;
|
|
2065
2101
|
listOfChoices: SelectorStructure[];
|
|
2066
2102
|
activeChildIndex: number;
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2103
|
+
showAnswerGrouped: boolean;
|
|
2104
|
+
limitStartView: boolean;
|
|
2105
|
+
limitAmountOfTiles: boolean;
|
|
2106
|
+
sliceAmount: number;
|
|
2107
|
+
amountOfGroupsToShow: number;
|
|
2108
|
+
maxVisibleTiles: number;
|
|
2109
|
+
maxVisibleSmallTiles: number;
|
|
2110
|
+
totalOptionCount: number;
|
|
2111
|
+
selectableOption: boolean;
|
|
2112
|
+
callRepeatOption: boolean;
|
|
2113
|
+
activeSelection: number;
|
|
2114
|
+
private _markForUserInput;
|
|
2115
|
+
private _subs;
|
|
2116
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _appEventService: ConfiguratorEventService);
|
|
2074
2117
|
ngOnInit(): void;
|
|
2075
|
-
|
|
2118
|
+
ngOnDestroy(): void;
|
|
2119
|
+
handleLimitedViewMode(): void;
|
|
2120
|
+
handleNavigateTo(selection: SelectorStructure): void;
|
|
2076
2121
|
showAndScroll(): void;
|
|
2077
2122
|
onSubHeaderClick(): void;
|
|
2078
2123
|
onShowAllClick(): void;
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
private _shouldBeVisible;
|
|
2084
|
-
private _setActiveChildIndexFromSelection;
|
|
2085
|
-
private _hasSelectedOption;
|
|
2124
|
+
handleRepeatClicked(): void;
|
|
2125
|
+
handleDeleteClicked(): void;
|
|
2126
|
+
handleOpenSlideOut(event: SlideOutEvent): void;
|
|
2127
|
+
private _handleMarkInput;
|
|
2086
2128
|
private _countRemainingTiles;
|
|
2087
2129
|
private _countGroupedTilesToReveal;
|
|
2088
2130
|
private _countAllTiles;
|
|
2089
2131
|
private _remainingTilesForLeaf;
|
|
2090
2132
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
|
|
2091
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "
|
|
2133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "repeatedOptions": { "alias": "repeatedOptions"; "required": false; }; "lastNodeWithChildren": { "alias": "lastNodeWithChildren"; "required": false; }; "markForUserInput": { "alias": "markForUserInput"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "treeLevelIndex": { "alias": "treeLevelIndex"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "hasArticlesAsChildren": { "alias": "hasArticlesAsChildren"; "required": false; }; }, { "activate": "activate"; "openSlideOutClick": "openSlideOutClick"; }, never, never, false, never>;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
declare class ProductConfiguratorSelectorChildArticleComponent {
|
|
2137
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2138
|
+
iconService: IconCacheService;
|
|
2139
|
+
private _appEventService;
|
|
2140
|
+
readonly icons: typeof IconEnum;
|
|
2141
|
+
showClass(): boolean;
|
|
2142
|
+
selection: SelectorStructure;
|
|
2143
|
+
listOfChoices: SelectorStructure[];
|
|
2144
|
+
options: SelectorWithOptions[];
|
|
2145
|
+
repeatedOptions: SelectorWithOptions[];
|
|
2146
|
+
markAsException: boolean;
|
|
2147
|
+
selectionClick: EventEmitter<SelectorStructure>;
|
|
2148
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, _appEventService: ConfiguratorEventService);
|
|
2149
|
+
handleOpenChildOptions(selection: SelectorStructure): void;
|
|
2150
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorChildArticleComponent, never>;
|
|
2151
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorChildArticleComponent, "co-product-configurator-selector-child-article", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "options": { "alias": "options"; "required": false; }; "repeatedOptions": { "alias": "repeatedOptions"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; }, { "selectionClick": "selectionClick"; }, never, never, false, never>;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
declare class ProductConfiguratorChildArticleConfiguratorComponent implements OnInit {
|
|
2155
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2156
|
+
settingsService: ConfiguratorSettingsService;
|
|
2157
|
+
iconService: IconCacheService;
|
|
2158
|
+
showClass(): boolean;
|
|
2159
|
+
readonly icons: typeof IconEnum;
|
|
2160
|
+
selection: SelectorStructure;
|
|
2161
|
+
options: SelectorWithOptions[];
|
|
2162
|
+
lastNodeWithChildren: boolean;
|
|
2163
|
+
selectionIndex: number;
|
|
2164
|
+
treeLevelIndex: number;
|
|
2165
|
+
markAsException: boolean;
|
|
2166
|
+
hasArticlesAsChildren: boolean;
|
|
2167
|
+
listOfChoices: SelectorStructure[];
|
|
2168
|
+
showAnswerGrouped: boolean;
|
|
2169
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService);
|
|
2170
|
+
ngOnInit(): void;
|
|
2171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorChildArticleConfiguratorComponent, never>;
|
|
2172
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorChildArticleConfiguratorComponent, "co-product-configurator-child-article-configurator", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "lastNodeWithChildren": { "alias": "lastNodeWithChildren"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "treeLevelIndex": { "alias": "treeLevelIndex"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "hasArticlesAsChildren": { "alias": "hasArticlesAsChildren"; "required": false; }; }, {}, never, never, false, never>;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
declare class ProductConfiguratorSlideoutComponent implements OnDestroy {
|
|
2176
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2177
|
+
iconService: IconCacheService;
|
|
2178
|
+
private _appEventService;
|
|
2179
|
+
readonly icons: typeof IconEnum;
|
|
2180
|
+
showClass(): boolean;
|
|
2181
|
+
displaySelection: SelectorStructure;
|
|
2182
|
+
displayOptions: SelectorWithOptions[];
|
|
2183
|
+
selection: SelectorStructure;
|
|
2184
|
+
options: SelectorWithOptions[];
|
|
2185
|
+
repeatedOptions: SelectorWithOptions[];
|
|
2186
|
+
showSlideOut: boolean;
|
|
2187
|
+
activeSelection: number;
|
|
2188
|
+
private _subs;
|
|
2189
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, _appEventService: ConfiguratorEventService);
|
|
2190
|
+
ngOnDestroy(): void;
|
|
2191
|
+
handleCloseClick(): void;
|
|
2192
|
+
private _handleSlideOut;
|
|
2193
|
+
private _handleRepeatOptions;
|
|
2194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSlideoutComponent, never>;
|
|
2195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSlideoutComponent, "co-product-configurator-slideout", never, {}, {}, never, never, false, never>;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
interface OptionGroup {
|
|
2199
|
+
selector: SelectorStructure;
|
|
2200
|
+
options: SelectorStructure[];
|
|
2201
|
+
}
|
|
2202
|
+
declare class ProductConfiguratorGroupedRepeatableOptionsComponent implements OnInit, OnDestroy {
|
|
2203
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2204
|
+
iconCacheService: IconCacheService;
|
|
2205
|
+
private _appEventService;
|
|
2206
|
+
readonly icons: typeof IconEnum;
|
|
2207
|
+
showClass(): boolean;
|
|
2208
|
+
selection: SelectorStructure;
|
|
2209
|
+
listOfChoices: SelectorStructure[];
|
|
2210
|
+
repeatedOptions: SelectorWithOptions[];
|
|
2211
|
+
selectionIndex: number;
|
|
2212
|
+
options: SelectorWithOptions[];
|
|
2213
|
+
selectionClick: EventEmitter<SelectorStructure>;
|
|
2214
|
+
newSelection?: ElementRef;
|
|
2215
|
+
optionGroups: OptionGroup[];
|
|
2216
|
+
showAllElements: boolean;
|
|
2217
|
+
showRepeatedOption: boolean;
|
|
2218
|
+
private _subs;
|
|
2219
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconCacheService: IconCacheService, _appEventService: ConfiguratorEventService);
|
|
2220
|
+
ngOnInit(): void;
|
|
2221
|
+
ngOnDestroy(): void;
|
|
2222
|
+
hasSelectedItem(options: SelectorStructure[]): boolean;
|
|
2223
|
+
handleSwitchView(showAll: boolean): void;
|
|
2224
|
+
handleSelectionClicked(selection: SelectorStructure, group: OptionGroup): void;
|
|
2225
|
+
private buildOptionGroups;
|
|
2226
|
+
private handleOpenChildOptions;
|
|
2227
|
+
private _handleCheckRepeats;
|
|
2228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorGroupedRepeatableOptionsComponent, never>;
|
|
2229
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorGroupedRepeatableOptionsComponent, "co-product-configurator-grouped-repeatable-options", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "repeatedOptions": { "alias": "repeatedOptions"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "selectionClick": "selectionClick"; }, never, never, false, never>;
|
|
2092
2230
|
}
|
|
2093
2231
|
|
|
2094
|
-
declare class ProductConfiguratorSelectorOptionComponent implements OnInit,
|
|
2232
|
+
declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnDestroy {
|
|
2095
2233
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2096
2234
|
settingsService: ConfiguratorSettingsService;
|
|
2097
|
-
|
|
2235
|
+
private _appEventService;
|
|
2236
|
+
readonly trackBySelectionIdFn: (index: number, selection: SelectorStructure) => string;
|
|
2237
|
+
readonly smallTileOptions: ConfigurationDisplayOption[];
|
|
2238
|
+
readonly largeTileOptions: ConfigurationDisplayOption[];
|
|
2098
2239
|
showClass(): boolean;
|
|
2099
2240
|
selection: SelectorStructure;
|
|
2100
2241
|
listOfChoices: SelectorStructure[];
|
|
2101
2242
|
markAsException: boolean;
|
|
2102
|
-
|
|
2103
|
-
|
|
2243
|
+
limitAmountOfTiles: boolean;
|
|
2244
|
+
maxVisibleTiles: number;
|
|
2245
|
+
maxVisibleSmallTiles: number;
|
|
2246
|
+
selectionClicked: EventEmitter<SelectorStructure>;
|
|
2104
2247
|
configurationDisplayOption: typeof ConfigurationDisplayOption;
|
|
2105
2248
|
selectionClass: string;
|
|
2106
2249
|
showAllTiles: boolean;
|
|
2107
|
-
maxVisibleTiles: number;
|
|
2108
|
-
maxVisibleSmallTiles: number;
|
|
2109
|
-
visibleAnswers: SelectorStructure[];
|
|
2110
2250
|
remainingTilesCount: number;
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2251
|
+
amountOfTilesToShow: number;
|
|
2252
|
+
showViewMoreButton: boolean;
|
|
2253
|
+
private _subs;
|
|
2254
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, _appEventService: ConfiguratorEventService);
|
|
2114
2255
|
ngOnInit(): void;
|
|
2115
|
-
|
|
2116
|
-
|
|
2256
|
+
ngOnDestroy(): void;
|
|
2257
|
+
handleSelectionClicked(answer: SelectorStructure): void;
|
|
2117
2258
|
showMore(): void;
|
|
2118
2259
|
showLess(): void;
|
|
2119
|
-
getTileClass(): string;
|
|
2120
2260
|
private _calculateVisibleAnswers;
|
|
2261
|
+
private _handleShowAll;
|
|
2121
2262
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
|
|
2122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionComponent, "co-product-configurator-selector-option", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "
|
|
2263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionComponent, "co-product-configurator-selector-option", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; "limitAmountOfTiles": { "alias": "limitAmountOfTiles"; "required": false; }; "maxVisibleTiles": { "alias": "maxVisibleTiles"; "required": false; }; "maxVisibleSmallTiles": { "alias": "maxVisibleSmallTiles"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2123
2264
|
}
|
|
2124
2265
|
|
|
2125
|
-
declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
2266
|
+
declare class ProductConfiguratorSelectorOptionTileComponent implements OnInit {
|
|
2126
2267
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2127
2268
|
iconService: IconCacheService;
|
|
2128
2269
|
settingsService: ConfiguratorSettingsService;
|
|
2129
2270
|
showClass(): boolean;
|
|
2130
2271
|
readonly icons: typeof IconEnum;
|
|
2131
2272
|
option: SelectorStructure;
|
|
2132
|
-
tileClass:
|
|
2273
|
+
tileClass: ConfigurationDisplayOption;
|
|
2133
2274
|
noLabel: boolean;
|
|
2275
|
+
markAsException: boolean;
|
|
2276
|
+
set showing(value: boolean);
|
|
2134
2277
|
selectionClicked: EventEmitter<void>;
|
|
2278
|
+
class: string;
|
|
2135
2279
|
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
2280
|
+
ngOnInit(): void;
|
|
2136
2281
|
changeSelection(): void;
|
|
2282
|
+
private _getTileClass;
|
|
2283
|
+
private _getThumbnailImage;
|
|
2284
|
+
protected readonly NodeType: typeof NodeType;
|
|
2137
2285
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
|
|
2138
|
-
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>;
|
|
2286
|
+
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; }; "markAsException": { "alias": "markAsException"; "required": false; }; "showing": { "alias": "showing"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2139
2287
|
}
|
|
2140
2288
|
|
|
2141
2289
|
declare class ProductConfiguratorSelectorOptionTileModule {
|
|
@@ -2207,13 +2355,34 @@ declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
|
2207
2355
|
|
|
2208
2356
|
declare class ProductConfiguratorSelectorOptionModule {
|
|
2209
2357
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
|
|
2210
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
|
|
2358
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule, typeof DirectivesModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
|
|
2211
2359
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
|
|
2212
2360
|
}
|
|
2213
2361
|
|
|
2362
|
+
declare class ProductConfiguratorRepeatButtonsComponent {
|
|
2363
|
+
iconCacheService: IconCacheService;
|
|
2364
|
+
readonly icons: typeof IconEnum;
|
|
2365
|
+
showClass(): boolean;
|
|
2366
|
+
showRepeatButton: boolean;
|
|
2367
|
+
showDeleteButton: boolean;
|
|
2368
|
+
repeatClicked: EventEmitter<void>;
|
|
2369
|
+
deleteClicked: EventEmitter<void>;
|
|
2370
|
+
constructor(iconCacheService: IconCacheService);
|
|
2371
|
+
handleRepeatClick(): void;
|
|
2372
|
+
handleDeleteClick(): void;
|
|
2373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorRepeatButtonsComponent, never>;
|
|
2374
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorRepeatButtonsComponent, "co-product-configurator-repeat-buttons", never, { "showRepeatButton": { "alias": "showRepeatButton"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; }, { "repeatClicked": "repeatClicked"; "deleteClicked": "deleteClicked"; }, never, never, false, never>;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
declare class ProductConfiguratorRepeatButtonsModule {
|
|
2378
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorRepeatButtonsModule, never>;
|
|
2379
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorRepeatButtonsModule, [typeof ProductConfiguratorRepeatButtonsComponent], [typeof i3$1.ButtonModule, typeof i2.TranslationModule, typeof i3.AsyncPipe], [typeof ProductConfiguratorRepeatButtonsComponent]>;
|
|
2380
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorRepeatButtonsModule>;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2214
2383
|
declare class ProductConfiguratorSelectorModule {
|
|
2215
2384
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
2216
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
|
|
2385
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent, typeof ProductConfiguratorSelectorChildArticleComponent, typeof ProductConfiguratorChildArticleConfiguratorComponent, typeof ProductConfiguratorSlideoutComponent, typeof ProductConfiguratorGroupedRepeatableOptionsComponent], [typeof i2.TranslationModule, typeof i3.CommonModule, typeof i3$1.IconModule, typeof ProductConfiguratorSelectorOptionModule, typeof i3$1.AppendPipeModule, typeof AnswerCardModule, typeof DirectivesModule, typeof i3$1.ButtonModule, typeof ProductConfiguratorRepeatButtonsModule], [typeof ProductConfiguratorSelectorComponent, typeof ProductConfiguratorSelectorChildArticleComponent, typeof ProductConfiguratorChildArticleConfiguratorComponent, typeof ProductConfiguratorSlideoutComponent, typeof ProductConfiguratorGroupedRepeatableOptionsComponent]>;
|
|
2217
2386
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
2218
2387
|
}
|
|
2219
2388
|
|
|
@@ -2748,6 +2917,78 @@ declare class DimensionsService implements OnDestroy {
|
|
|
2748
2917
|
static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsService>;
|
|
2749
2918
|
}
|
|
2750
2919
|
|
|
2920
|
+
declare class IntersectionService {
|
|
2921
|
+
private _cameraService;
|
|
2922
|
+
constructor(_cameraService: ConfiguratorCameraService);
|
|
2923
|
+
getIntersections(mouseVector: Vector3, planeObjects: Object3D[], options?: any): Intersection[];
|
|
2924
|
+
removeIf(array: any, func: any): any[];
|
|
2925
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
|
|
2926
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
declare class SceneEventService implements OnDestroy {
|
|
2930
|
+
private _sceneService;
|
|
2931
|
+
private _cameraService;
|
|
2932
|
+
private _connectorService;
|
|
2933
|
+
private _intersectionService;
|
|
2934
|
+
private _floorPlaneService;
|
|
2935
|
+
private _itemService;
|
|
2936
|
+
private _appEventService;
|
|
2937
|
+
readonly intersectOffsetForWalls = 20;
|
|
2938
|
+
readonly longTouchDuration = 600;
|
|
2939
|
+
rotateNoDrag: boolean;
|
|
2940
|
+
private _element;
|
|
2941
|
+
private _controls;
|
|
2942
|
+
private _camera;
|
|
2943
|
+
private _mousePosition;
|
|
2944
|
+
private _oldMousePosition;
|
|
2945
|
+
private _rotationStartPoint;
|
|
2946
|
+
private _intersectedObject;
|
|
2947
|
+
private _intersectedMesh;
|
|
2948
|
+
private _mouseoverObject;
|
|
2949
|
+
private _selectedObject;
|
|
2950
|
+
private _prevSelectedObject;
|
|
2951
|
+
private _defaultCursorStyle;
|
|
2952
|
+
private _inDragOver;
|
|
2953
|
+
private _mouseDown;
|
|
2954
|
+
private _mouseMoved;
|
|
2955
|
+
private _rotateMouseOver;
|
|
2956
|
+
private _groupingMode;
|
|
2957
|
+
private _state;
|
|
2958
|
+
private _intersectedWall;
|
|
2959
|
+
private _intersectedFloor;
|
|
2960
|
+
private _subs;
|
|
2961
|
+
private _cameraMoveSub;
|
|
2962
|
+
private _debouncedSaveState;
|
|
2963
|
+
private _touchStart;
|
|
2964
|
+
private _touchEnd;
|
|
2965
|
+
private _touchCancel;
|
|
2966
|
+
private _touchMove;
|
|
2967
|
+
constructor(_sceneService: ConfiguratorSceneService, _cameraService: ConfiguratorCameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ConfiguratorItemService, _appEventService: ConfiguratorEventService);
|
|
2968
|
+
ngOnDestroy(): void;
|
|
2969
|
+
init(element: HTMLElement): void;
|
|
2970
|
+
setExploreMode(on?: boolean): void;
|
|
2971
|
+
setSelectedObject(object: Object3D, mesh?: Object3D | Mesh): void;
|
|
2972
|
+
setUnselectedObject(): void;
|
|
2973
|
+
private _updateIntersections;
|
|
2974
|
+
private _clearIntersectedObject;
|
|
2975
|
+
private _setMousePositionFromTouchEvent;
|
|
2976
|
+
private _touchStartEvent;
|
|
2977
|
+
private _touchEndEvent;
|
|
2978
|
+
private _touchMoveEvent;
|
|
2979
|
+
private _mouseUpEvent;
|
|
2980
|
+
private _mouseMoveEvent;
|
|
2981
|
+
private _leftMouseDownEvent;
|
|
2982
|
+
private _getIntersections;
|
|
2983
|
+
private _setIntersectedObject;
|
|
2984
|
+
private _isMouseEventAllowed;
|
|
2985
|
+
private _mouseToVec3;
|
|
2986
|
+
private _markSceneToUpdate;
|
|
2987
|
+
private _setCursorStyle;
|
|
2988
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
|
|
2989
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2751
2992
|
declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
2752
2993
|
private _settingsService;
|
|
2753
2994
|
private _rotationService;
|
|
@@ -2759,6 +3000,8 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2759
3000
|
private _buildFurnitureService;
|
|
2760
3001
|
private _sceneOptionsService;
|
|
2761
3002
|
private _dimensionsService;
|
|
3003
|
+
private _configuratorConnectorService;
|
|
3004
|
+
private _sceneEventService;
|
|
2762
3005
|
private _floorService;
|
|
2763
3006
|
canvasElement: ElementRef;
|
|
2764
3007
|
elementToolbar: ElementToolbarComponent;
|
|
@@ -2778,11 +3021,12 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2778
3021
|
development: boolean;
|
|
2779
3022
|
showDownloadDialog: boolean;
|
|
2780
3023
|
showCameraSettingsDialog: boolean;
|
|
3024
|
+
showFullConfiguration: boolean;
|
|
2781
3025
|
private _subs;
|
|
2782
3026
|
private _firstBuild;
|
|
2783
3027
|
private _selectedElementObject;
|
|
2784
3028
|
private _buildResult;
|
|
2785
|
-
constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _sceneOptionsService: SceneOptionsService, _dimensionsService: DimensionsService, _floorService: FloorPlaneService);
|
|
3029
|
+
constructor(_settingsService: ConfiguratorSettingsService, _rotationService: ConfiguratorRotationService, _dynamicCameraService: ConfiguratorDynamicCameraService, _sceneService: ConfiguratorSceneService, _eventService: ConfiguratorEventService, _cameraService: ConfiguratorCameraService, _itemService: ConfiguratorItemService, _buildFurnitureService: SwitchBuildFurnitureService, _sceneOptionsService: SceneOptionsService, _dimensionsService: DimensionsService, _configuratorConnectorService: ConfiguratorConnectorService, _sceneEventService: SceneEventService, _floorService: FloorPlaneService);
|
|
2786
3030
|
ngAfterViewInit(): void;
|
|
2787
3031
|
ngOnDestroy(): void;
|
|
2788
3032
|
swapElement(): void;
|
|
@@ -2796,6 +3040,7 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2796
3040
|
private _resetElementPosition;
|
|
2797
3041
|
private _repositionButtons;
|
|
2798
3042
|
private _handleAddButtonClick;
|
|
3043
|
+
private _handleFullConfigAddButtonClick;
|
|
2799
3044
|
private _resetSelectedElement;
|
|
2800
3045
|
private _removeAllButtons;
|
|
2801
3046
|
private _repositionButton;
|
|
@@ -2806,6 +3051,12 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2806
3051
|
private _downloadCurrentBuild;
|
|
2807
3052
|
private _openCameraSettingsDialog;
|
|
2808
3053
|
private _handleShowMeasurements;
|
|
3054
|
+
private _handleUnselectObject;
|
|
3055
|
+
private _handleRender;
|
|
3056
|
+
private _handleIntersectedObjects;
|
|
3057
|
+
private _prepareAddButtons;
|
|
3058
|
+
private _prepareElementMenu;
|
|
3059
|
+
private _getOptionsFromSelection;
|
|
2809
3060
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
2810
3061
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
|
|
2811
3062
|
}
|
|
@@ -2861,4 +3112,5 @@ declare class ArPositionIndicator extends Object3D {
|
|
|
2861
3112
|
constructor(boundingBox: Box3);
|
|
2862
3113
|
}
|
|
2863
3114
|
|
|
2864
|
-
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 };
|
|
3115
|
+
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, ProductConfiguratorChildArticleConfiguratorComponent, ProductConfiguratorComponent, ProductConfiguratorGroupedRepeatableOptionsComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorChildArticleComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProductConfiguratorSlideoutComponent, ProgressBarComponent, ProgressBarModule, Reticle, SceneOptionsComponent, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, XrMode };
|
|
3116
|
+
export type { OptionGroup };
|