@colijnit/configurator 262.1.8 → 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 +2430 -789
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +321 -81
- 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 +10 -10
- package/colijnit-configurator-262.1.7.tgz +0 -0
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,8 +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 { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
|
|
13
12
|
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
13
|
+
import { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
|
|
14
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
14
15
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
15
16
|
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
16
17
|
import { AnswerPrice } from '@colijnit/configuratorapi/build/model/answer-price';
|
|
@@ -35,6 +36,7 @@ import { Tag } from '@colijnit/configuratorapi/build/model/tag';
|
|
|
35
36
|
import * as i3$2 from '@angular/material/icon';
|
|
36
37
|
import * as i4$1 from '@angular/material/button';
|
|
37
38
|
import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
|
|
39
|
+
import { NodeType } from '@colijnit/configuratorapi/build/enum/node-type.enum';
|
|
38
40
|
|
|
39
41
|
declare class ConfiguratorErrorMessage {
|
|
40
42
|
message: string;
|
|
@@ -117,6 +119,16 @@ declare enum PresetDialogMode {
|
|
|
117
119
|
LOAD = 1
|
|
118
120
|
}
|
|
119
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
|
+
|
|
120
132
|
declare class ConfiguratorEventService {
|
|
121
133
|
skuSet: BehaviorSubject<string>;
|
|
122
134
|
instanceIdSet: BehaviorSubject<string>;
|
|
@@ -147,6 +159,13 @@ declare class ConfiguratorEventService {
|
|
|
147
159
|
renderImageChanged: BehaviorSubject<string>;
|
|
148
160
|
renderImageError: BehaviorSubject<string>;
|
|
149
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>;
|
|
150
169
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorEventService, never>;
|
|
151
170
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorEventService>;
|
|
152
171
|
}
|
|
@@ -227,9 +246,12 @@ declare class SettingOptions {
|
|
|
227
246
|
useExternalOpenSave?: boolean;
|
|
228
247
|
floorFadeStart?: number;
|
|
229
248
|
floorFadeEnd?: number;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
249
|
+
limitStartView?: boolean;
|
|
250
|
+
limitAmountOfTiles?: boolean;
|
|
251
|
+
amountOfGroupsToShow?: number;
|
|
252
|
+
maxVisibleTiles?: number;
|
|
253
|
+
maxVisibleSmallTiles?: number;
|
|
254
|
+
groupedShowAllBtn?: boolean;
|
|
233
255
|
showSavePresetButton?: boolean;
|
|
234
256
|
showLoadPresetButton?: boolean;
|
|
235
257
|
showSceneBuildLoader?: boolean;
|
|
@@ -270,20 +292,10 @@ declare class SceneSettings {
|
|
|
270
292
|
scenes: SceneSetting[];
|
|
271
293
|
}
|
|
272
294
|
|
|
273
|
-
declare class ConfiguratorSettings {
|
|
274
|
-
url?: string;
|
|
275
|
-
schema?: string;
|
|
276
|
-
version?: string;
|
|
277
|
-
branch?: string;
|
|
295
|
+
declare class ConfiguratorSettings extends Options {
|
|
278
296
|
currency?: number;
|
|
279
297
|
currencySymbol?: string;
|
|
280
|
-
username?: string;
|
|
281
|
-
password?: string;
|
|
282
298
|
session?: any;
|
|
283
|
-
useGroups?: boolean;
|
|
284
|
-
useRenders?: boolean;
|
|
285
|
-
useLoginEncryption?: boolean;
|
|
286
|
-
logoutWhenRefresh?: boolean;
|
|
287
299
|
useMatch?: boolean;
|
|
288
300
|
assetPath?: string;
|
|
289
301
|
threeDAssetPath?: string;
|
|
@@ -292,10 +304,7 @@ declare class ConfiguratorSettings {
|
|
|
292
304
|
additionalTranslationFile?: string;
|
|
293
305
|
apiUrl?: string;
|
|
294
306
|
client?: string;
|
|
295
|
-
timeoutInMs?: number;
|
|
296
|
-
languageCode?: string;
|
|
297
307
|
secondaryLogo?: string;
|
|
298
|
-
jwtEnabled?: boolean;
|
|
299
308
|
gtm?: string;
|
|
300
309
|
dracoPath?: string;
|
|
301
310
|
mainUrl?: string;
|
|
@@ -368,6 +377,13 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
368
377
|
get shouldShowLoader(): boolean;
|
|
369
378
|
set instanceId(instanceId: string);
|
|
370
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;
|
|
371
387
|
controllerInitialized: BehaviorSubject<boolean>;
|
|
372
388
|
standAloneInstance: BehaviorSubject<boolean>;
|
|
373
389
|
connectionReset: Subject<void>;
|
|
@@ -375,6 +391,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
375
391
|
activeQuestion: Question;
|
|
376
392
|
activeAnswers: Answer[];
|
|
377
393
|
assetPath: string;
|
|
394
|
+
private _activeSlideOutParentId;
|
|
378
395
|
private _selections;
|
|
379
396
|
private _currentSelections;
|
|
380
397
|
private _activeSelection;
|
|
@@ -386,6 +403,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
386
403
|
private _totalPrice;
|
|
387
404
|
private _imageCache;
|
|
388
405
|
private _exceptionQuestionChanged;
|
|
406
|
+
private _exceptionIds;
|
|
389
407
|
private _shouldShowLoader;
|
|
390
408
|
private _connectorOptions;
|
|
391
409
|
private _subs;
|
|
@@ -412,7 +430,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
412
430
|
setInstance(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
413
431
|
copyInstanceAndSaveOriginalConfiguration(instanceId: string, result: ConfigurationResultObject): Promise<string>;
|
|
414
432
|
copyInstanceAndLoseOriginalConfiguration(instanceId: string, result: ConfigurationResultObject): Promise<string>;
|
|
415
|
-
getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
|
|
433
|
+
getQuestionAndAnswersAsync(addedElement?: boolean): Promise<QuestionAndAnswers>;
|
|
416
434
|
emptyAnswersAndQuestion(): void;
|
|
417
435
|
handleAnswersReceived(): void;
|
|
418
436
|
getSelectionsAndDecos(): Promise<void>;
|
|
@@ -421,6 +439,8 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
421
439
|
selectAnswer(answer: Answer, input?: string): Promise<DataServiceResponseData>;
|
|
422
440
|
selectAnswerBySelection(selection: Selection, input?: string): Promise<DataServiceResponseData>;
|
|
423
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>;
|
|
424
444
|
cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
|
|
425
445
|
selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
|
|
426
446
|
deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
@@ -442,6 +462,9 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
442
462
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
443
463
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
444
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;
|
|
445
468
|
private _prepareSelections;
|
|
446
469
|
private _prepareSelectionsToDisplay;
|
|
447
470
|
private _prepareAnswersAndImages;
|
|
@@ -454,7 +477,9 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
454
477
|
private _preloadCachedImages;
|
|
455
478
|
private _handleInstanceResponse;
|
|
456
479
|
private _prepareSelectionsNextOptionValues;
|
|
480
|
+
private _getSelectorStructure;
|
|
457
481
|
private _createSelectorFullConfiguration;
|
|
482
|
+
private _buildRepeatedOptions;
|
|
458
483
|
private _buildStructureThree;
|
|
459
484
|
private _markLastNodeWithChildren;
|
|
460
485
|
private _isStructurePublished;
|
|
@@ -466,6 +491,9 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
466
491
|
private _handleImageReceivedForSelectorStructure;
|
|
467
492
|
private _handleImageResponse;
|
|
468
493
|
private _linkExceptionToOption;
|
|
494
|
+
private _filterResultOnPublicationCodes;
|
|
495
|
+
private _checkForRemovedByException;
|
|
496
|
+
private _markExceptions;
|
|
469
497
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorConnectorService, never>;
|
|
470
498
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
471
499
|
}
|
|
@@ -1046,6 +1074,8 @@ declare class ConfiguratorSceneService implements OnDestroy {
|
|
|
1046
1074
|
webGL2Available: boolean;
|
|
1047
1075
|
domElement: HTMLElement;
|
|
1048
1076
|
floorTexturesLoaded: BehaviorSubject<TextureInterface$1[]>;
|
|
1077
|
+
getFloorSizeFn: Function;
|
|
1078
|
+
getCenterFloorFn: Function;
|
|
1049
1079
|
private _needsRender;
|
|
1050
1080
|
private _arMode;
|
|
1051
1081
|
private _subs;
|
|
@@ -1068,7 +1098,7 @@ declare class ConfiguratorSceneService implements OnDestroy {
|
|
|
1068
1098
|
removeObject(obj: Object3D | Mesh, forceRender?: boolean, cleanUp?: boolean): void;
|
|
1069
1099
|
updatePathTracer(): void;
|
|
1070
1100
|
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1071
|
-
|
|
1101
|
+
handlePropsChanged(): void;
|
|
1072
1102
|
private _handleAddTweenGroup;
|
|
1073
1103
|
private _handleRemoveTweenGroup;
|
|
1074
1104
|
private _initScene;
|
|
@@ -1300,6 +1330,7 @@ declare enum IconEnum {
|
|
|
1300
1330
|
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
1301
1331
|
ArCircle = "ar_circle",
|
|
1302
1332
|
BarsLightFull = "bars_light_full",
|
|
1333
|
+
BellSharpSolid = "bell_sharp_solid",
|
|
1303
1334
|
Brush = "brush",
|
|
1304
1335
|
CameraSolid = "camera_solid",
|
|
1305
1336
|
CameraTopdown = "camera_topdown",
|
|
@@ -1308,6 +1339,7 @@ declare enum IconEnum {
|
|
|
1308
1339
|
Check = "check",
|
|
1309
1340
|
CheckRegular = "check_regular",
|
|
1310
1341
|
CheckSolid = "check_solid",
|
|
1342
|
+
ChevronLeftRegular = "chevron_left_regular",
|
|
1311
1343
|
CircleCheck = "circle_check",
|
|
1312
1344
|
CircleCheckRegular = "circle_check_regular",
|
|
1313
1345
|
CircleInfo = "circle_info",
|
|
@@ -1853,7 +1885,7 @@ declare class DirectivesModule {
|
|
|
1853
1885
|
|
|
1854
1886
|
declare class AnswersSlideoutModule {
|
|
1855
1887
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
|
|
1856
|
-
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]>;
|
|
1857
1889
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
|
|
1858
1890
|
}
|
|
1859
1891
|
|
|
@@ -2010,23 +2042,14 @@ declare class LiteSelectorModule {
|
|
|
2010
2042
|
static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
|
|
2011
2043
|
}
|
|
2012
2044
|
|
|
2013
|
-
declare class ProductConfiguratorService {
|
|
2014
|
-
showChange: EventEmitter<boolean>;
|
|
2015
|
-
answerChosen: EventEmitter<Answer>;
|
|
2016
|
-
selectSelection: EventEmitter<SelectorStructure>;
|
|
2017
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorService, never>;
|
|
2018
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
|
|
2019
|
-
}
|
|
2020
|
-
|
|
2021
2045
|
declare class ProductConfiguratorComponent implements OnDestroy {
|
|
2022
2046
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2023
2047
|
buildFurnitureService: SwitchBuildFurnitureService;
|
|
2024
2048
|
settingsService: ConfiguratorSettingsService;
|
|
2025
|
-
productConfiguratorService: ProductConfiguratorService;
|
|
2026
2049
|
iconService: IconCacheService;
|
|
2027
2050
|
private _sanitizer;
|
|
2028
2051
|
private _configuringService;
|
|
2029
|
-
private
|
|
2052
|
+
private _appEventService;
|
|
2030
2053
|
showClass(): boolean;
|
|
2031
2054
|
readonly icons: typeof IconEnum;
|
|
2032
2055
|
showHeaderInformation: boolean;
|
|
@@ -2041,113 +2064,226 @@ declare class ProductConfiguratorComponent implements OnDestroy {
|
|
|
2041
2064
|
article: Article;
|
|
2042
2065
|
selectionList: SelectorWithOptions[];
|
|
2043
2066
|
safeDescription: SafeHtml;
|
|
2067
|
+
hideMainConfiguration: boolean;
|
|
2044
2068
|
private _showSelections;
|
|
2045
|
-
private _show;
|
|
2046
|
-
private _selectionSelected;
|
|
2047
2069
|
private _subs;
|
|
2048
|
-
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService,
|
|
2070
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: ConfiguratorSettingsService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService, _appEventService: ConfiguratorEventService);
|
|
2049
2071
|
ngOnDestroy(): void;
|
|
2050
|
-
|
|
2072
|
+
navigateToSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
2051
2073
|
handleCloseClick(): void;
|
|
2074
|
+
handleHideMainConfiguration(hide: boolean): void;
|
|
2052
2075
|
private _handleSelectionWithAnswersChanged;
|
|
2053
2076
|
private _handleArticleReceived;
|
|
2054
2077
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
2055
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>;
|
|
2056
2079
|
}
|
|
2057
2080
|
|
|
2058
|
-
declare class ProductConfiguratorSelectorComponent implements OnInit,
|
|
2081
|
+
declare class ProductConfiguratorSelectorComponent implements OnInit, OnDestroy {
|
|
2059
2082
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2060
2083
|
settingsService: ConfiguratorSettingsService;
|
|
2061
2084
|
iconService: IconCacheService;
|
|
2062
|
-
|
|
2085
|
+
private _appEventService;
|
|
2086
|
+
showClass(): boolean;
|
|
2063
2087
|
readonly icons: typeof IconEnum;
|
|
2064
2088
|
exceptionContainer?: ElementRef;
|
|
2065
2089
|
selection: SelectorStructure;
|
|
2066
2090
|
options: SelectorWithOptions[];
|
|
2091
|
+
repeatedOptions: SelectorWithOptions[];
|
|
2067
2092
|
lastNodeWithChildren: boolean;
|
|
2093
|
+
set markForUserInput(mark: boolean);
|
|
2094
|
+
get markForUserInput(): boolean;
|
|
2068
2095
|
selectionIndex: number;
|
|
2069
2096
|
treeLevelIndex: number;
|
|
2070
|
-
isActive: boolean;
|
|
2071
2097
|
markAsException: boolean;
|
|
2072
|
-
|
|
2073
|
-
suppressSubShowMore: boolean;
|
|
2074
|
-
useGroupedParentVisibility: boolean;
|
|
2098
|
+
hasArticlesAsChildren: boolean;
|
|
2075
2099
|
activate: EventEmitter<void>;
|
|
2076
|
-
|
|
2100
|
+
openSlideOutClick: EventEmitter<SlideOutEvent>;
|
|
2077
2101
|
listOfChoices: SelectorStructure[];
|
|
2078
2102
|
activeChildIndex: number;
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
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);
|
|
2086
2117
|
ngOnInit(): void;
|
|
2087
|
-
|
|
2118
|
+
ngOnDestroy(): void;
|
|
2119
|
+
handleLimitedViewMode(): void;
|
|
2120
|
+
handleNavigateTo(selection: SelectorStructure): void;
|
|
2088
2121
|
showAndScroll(): void;
|
|
2089
2122
|
onSubHeaderClick(): void;
|
|
2090
2123
|
onShowAllClick(): void;
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
private _shouldBeVisible;
|
|
2096
|
-
private _setActiveChildIndexFromSelection;
|
|
2097
|
-
private _hasSelectedOption;
|
|
2124
|
+
handleRepeatClicked(): void;
|
|
2125
|
+
handleDeleteClicked(): void;
|
|
2126
|
+
handleOpenSlideOut(event: SlideOutEvent): void;
|
|
2127
|
+
private _handleMarkInput;
|
|
2098
2128
|
private _countRemainingTiles;
|
|
2099
2129
|
private _countGroupedTilesToReveal;
|
|
2100
2130
|
private _countAllTiles;
|
|
2101
2131
|
private _remainingTilesForLeaf;
|
|
2102
2132
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
|
|
2103
|
-
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>;
|
|
2104
2196
|
}
|
|
2105
2197
|
|
|
2106
|
-
|
|
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>;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
declare class ProductConfiguratorSelectorOptionComponent implements OnInit, OnDestroy {
|
|
2107
2233
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2108
2234
|
settingsService: ConfiguratorSettingsService;
|
|
2109
|
-
|
|
2235
|
+
private _appEventService;
|
|
2236
|
+
readonly trackBySelectionIdFn: (index: number, selection: SelectorStructure) => string;
|
|
2237
|
+
readonly smallTileOptions: ConfigurationDisplayOption[];
|
|
2238
|
+
readonly largeTileOptions: ConfigurationDisplayOption[];
|
|
2110
2239
|
showClass(): boolean;
|
|
2111
2240
|
selection: SelectorStructure;
|
|
2112
2241
|
listOfChoices: SelectorStructure[];
|
|
2113
2242
|
markAsException: boolean;
|
|
2114
|
-
|
|
2115
|
-
|
|
2243
|
+
limitAmountOfTiles: boolean;
|
|
2244
|
+
maxVisibleTiles: number;
|
|
2245
|
+
maxVisibleSmallTiles: number;
|
|
2246
|
+
selectionClicked: EventEmitter<SelectorStructure>;
|
|
2116
2247
|
configurationDisplayOption: typeof ConfigurationDisplayOption;
|
|
2117
2248
|
selectionClass: string;
|
|
2118
2249
|
showAllTiles: boolean;
|
|
2119
|
-
maxVisibleTiles: number;
|
|
2120
|
-
maxVisibleSmallTiles: number;
|
|
2121
|
-
visibleAnswers: SelectorStructure[];
|
|
2122
2250
|
remainingTilesCount: number;
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2251
|
+
amountOfTilesToShow: number;
|
|
2252
|
+
showViewMoreButton: boolean;
|
|
2253
|
+
private _subs;
|
|
2254
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: ConfiguratorSettingsService, _appEventService: ConfiguratorEventService);
|
|
2126
2255
|
ngOnInit(): void;
|
|
2127
|
-
|
|
2128
|
-
|
|
2256
|
+
ngOnDestroy(): void;
|
|
2257
|
+
handleSelectionClicked(answer: SelectorStructure): void;
|
|
2129
2258
|
showMore(): void;
|
|
2130
2259
|
showLess(): void;
|
|
2131
|
-
getTileClass(): string;
|
|
2132
2260
|
private _calculateVisibleAnswers;
|
|
2261
|
+
private _handleShowAll;
|
|
2133
2262
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
|
|
2134
|
-
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>;
|
|
2135
2264
|
}
|
|
2136
2265
|
|
|
2137
|
-
declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
2266
|
+
declare class ProductConfiguratorSelectorOptionTileComponent implements OnInit {
|
|
2138
2267
|
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2139
2268
|
iconService: IconCacheService;
|
|
2140
2269
|
settingsService: ConfiguratorSettingsService;
|
|
2141
2270
|
showClass(): boolean;
|
|
2142
2271
|
readonly icons: typeof IconEnum;
|
|
2143
2272
|
option: SelectorStructure;
|
|
2144
|
-
tileClass:
|
|
2273
|
+
tileClass: ConfigurationDisplayOption;
|
|
2145
2274
|
noLabel: boolean;
|
|
2275
|
+
markAsException: boolean;
|
|
2276
|
+
set showing(value: boolean);
|
|
2146
2277
|
selectionClicked: EventEmitter<void>;
|
|
2278
|
+
class: string;
|
|
2147
2279
|
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: ConfiguratorSettingsService);
|
|
2280
|
+
ngOnInit(): void;
|
|
2148
2281
|
changeSelection(): void;
|
|
2282
|
+
private _getTileClass;
|
|
2283
|
+
private _getThumbnailImage;
|
|
2284
|
+
protected readonly NodeType: typeof NodeType;
|
|
2149
2285
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
|
|
2150
|
-
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>;
|
|
2151
2287
|
}
|
|
2152
2288
|
|
|
2153
2289
|
declare class ProductConfiguratorSelectorOptionTileModule {
|
|
@@ -2219,13 +2355,34 @@ declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
|
2219
2355
|
|
|
2220
2356
|
declare class ProductConfiguratorSelectorOptionModule {
|
|
2221
2357
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
|
|
2222
|
-
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]>;
|
|
2223
2359
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
|
|
2224
2360
|
}
|
|
2225
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
|
+
|
|
2226
2383
|
declare class ProductConfiguratorSelectorModule {
|
|
2227
2384
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
2228
|
-
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]>;
|
|
2229
2386
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
2230
2387
|
}
|
|
2231
2388
|
|
|
@@ -2760,6 +2917,78 @@ declare class DimensionsService implements OnDestroy {
|
|
|
2760
2917
|
static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsService>;
|
|
2761
2918
|
}
|
|
2762
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
|
+
|
|
2763
2992
|
declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
2764
2993
|
private _settingsService;
|
|
2765
2994
|
private _rotationService;
|
|
@@ -2771,6 +3000,8 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2771
3000
|
private _buildFurnitureService;
|
|
2772
3001
|
private _sceneOptionsService;
|
|
2773
3002
|
private _dimensionsService;
|
|
3003
|
+
private _configuratorConnectorService;
|
|
3004
|
+
private _sceneEventService;
|
|
2774
3005
|
private _floorService;
|
|
2775
3006
|
canvasElement: ElementRef;
|
|
2776
3007
|
elementToolbar: ElementToolbarComponent;
|
|
@@ -2790,11 +3021,12 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2790
3021
|
development: boolean;
|
|
2791
3022
|
showDownloadDialog: boolean;
|
|
2792
3023
|
showCameraSettingsDialog: boolean;
|
|
3024
|
+
showFullConfiguration: boolean;
|
|
2793
3025
|
private _subs;
|
|
2794
3026
|
private _firstBuild;
|
|
2795
3027
|
private _selectedElementObject;
|
|
2796
3028
|
private _buildResult;
|
|
2797
|
-
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);
|
|
2798
3030
|
ngAfterViewInit(): void;
|
|
2799
3031
|
ngOnDestroy(): void;
|
|
2800
3032
|
swapElement(): void;
|
|
@@ -2808,6 +3040,7 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2808
3040
|
private _resetElementPosition;
|
|
2809
3041
|
private _repositionButtons;
|
|
2810
3042
|
private _handleAddButtonClick;
|
|
3043
|
+
private _handleFullConfigAddButtonClick;
|
|
2811
3044
|
private _resetSelectedElement;
|
|
2812
3045
|
private _removeAllButtons;
|
|
2813
3046
|
private _repositionButton;
|
|
@@ -2818,6 +3051,12 @@ declare class ConfiguratorSceneComponent implements AfterViewInit, OnDestroy {
|
|
|
2818
3051
|
private _downloadCurrentBuild;
|
|
2819
3052
|
private _openCameraSettingsDialog;
|
|
2820
3053
|
private _handleShowMeasurements;
|
|
3054
|
+
private _handleUnselectObject;
|
|
3055
|
+
private _handleRender;
|
|
3056
|
+
private _handleIntersectedObjects;
|
|
3057
|
+
private _prepareAddButtons;
|
|
3058
|
+
private _prepareElementMenu;
|
|
3059
|
+
private _getOptionsFromSelection;
|
|
2821
3060
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
2822
3061
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
|
|
2823
3062
|
}
|
|
@@ -2873,4 +3112,5 @@ declare class ArPositionIndicator extends Object3D {
|
|
|
2873
3112
|
constructor(boundingBox: Box3);
|
|
2874
3113
|
}
|
|
2875
3114
|
|
|
2876
|
-
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 };
|