@colijnit/configurator 262.1.6 → 262.1.8
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/index.d.ts
CHANGED
|
@@ -366,6 +366,8 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
366
366
|
set selectionWithAnswers(value: SelectorWithOptions[]);
|
|
367
367
|
get selectionWithAnswers(): SelectorWithOptions[];
|
|
368
368
|
get shouldShowLoader(): boolean;
|
|
369
|
+
set instanceId(instanceId: string);
|
|
370
|
+
get instanceId(): string;
|
|
369
371
|
controllerInitialized: BehaviorSubject<boolean>;
|
|
370
372
|
standAloneInstance: BehaviorSubject<boolean>;
|
|
371
373
|
connectionReset: Subject<void>;
|
|
@@ -391,6 +393,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
391
393
|
private _initialized;
|
|
392
394
|
private _boFactory;
|
|
393
395
|
private _configuratorService;
|
|
396
|
+
private _instanceId;
|
|
394
397
|
constructor(_appEventService: ConfiguratorEventService, _settingsService: ConfiguratorSettingsService, _loaderService: LoaderService, _utilitiesConnectorService: UtilitiesConnectorService);
|
|
395
398
|
ngOnDestroy(): void;
|
|
396
399
|
cleanUp(): void;
|
|
@@ -433,7 +436,7 @@ declare class ConfiguratorConnectorService implements OnDestroy {
|
|
|
433
436
|
getInternalParameter(parameter: InternalParam): Promise<string>;
|
|
434
437
|
emptySelections(): void;
|
|
435
438
|
saveConfigurations(): Promise<void>;
|
|
436
|
-
storePreset(
|
|
439
|
+
storePreset(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
437
440
|
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
438
441
|
getImageForAnswer(selectedOption: SelectorStructure, showLoader?: boolean): Promise<void>;
|
|
439
442
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
@@ -549,6 +552,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
549
552
|
prepareTheSelections(instanceId?: string): void;
|
|
550
553
|
preloadMaterials(schema: string): void;
|
|
551
554
|
cleanUp(): void;
|
|
555
|
+
cleanup(): void;
|
|
552
556
|
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
553
557
|
protected getSelectionsAndDecos(): Promise<void>;
|
|
554
558
|
protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
@@ -558,7 +562,6 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
558
562
|
protected selectionPublished(selection: Selection): boolean;
|
|
559
563
|
protected cleanupBeforePresetLoad(): void;
|
|
560
564
|
protected handleAfterPresetLoad(): void;
|
|
561
|
-
protected cleanup(): void;
|
|
562
565
|
protected canConnectSelections(sel1: Selection, sel2: Selection): boolean;
|
|
563
566
|
protected handleAnswerSelected(answer: Answer): void;
|
|
564
567
|
protected handleSelectionSelected(chosenOption: SelectorStructure): void;
|