@colijnit/configurator 262.1.7 → 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>;
|