@colijnit/homedecorator 255.1.13 → 255.1.15

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.
@@ -51,4 +51,5 @@ export declare class HomedecoratorSettings {
51
51
  user3DModelUploadEnabled: boolean;
52
52
  showConversionButtons: boolean;
53
53
  showUploadDiagram: boolean;
54
+ projectSettings: HomedecoratorSettings;
54
55
  }
@@ -48,6 +48,10 @@ export declare class HomedecoratorConnectorAdapterService {
48
48
  connectors: ExternalConnector;
49
49
  externalSource: string;
50
50
  loginResponse: LoginResponse;
51
+ private _catalogDefinitions;
52
+ private _externalSources;
53
+ private _catalogDefinitionsOriginal;
54
+ private _externalSourcesOriginal;
51
55
  private _connector?;
52
56
  private _articleApi;
53
57
  private _mainApi;
@@ -88,6 +92,10 @@ export declare class HomedecoratorConnectorAdapterService {
88
92
  getArticleFlat(sku: string): Promise<ArticleFlat>;
89
93
  getModelPlacementOptions(): Promise<CoDomainValue[]>;
90
94
  getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
95
+ getExternalSourceFromId(id: number): ExternalSource;
96
+ saveExternalSources(): void;
97
+ resetExternalSources(): void;
98
+ prepareExternalSources(): Promise<void>;
91
99
  private _getPublicationCodeForRole;
92
100
  static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorConnectorAdapterService, never>;
93
101
  static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorConnectorAdapterService>;
@@ -83,6 +83,8 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
83
83
  setDecoNodes(decoNodes: DecoNode[]): void;
84
84
  getImageCache(): any;
85
85
  getImageById(id: number): any;
86
+ beforeLoadPreset(): Promise<void>;
87
+ afterLoadPreset(): Promise<void>;
86
88
  initConnection(forceReload?: boolean): Promise<void>;
87
89
  getInternalParameter(param: InternalParam): Promise<string>;
88
90
  getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
@@ -11,6 +11,7 @@ import { LocalStorageService } from '../../service/local-storage.service';
11
11
  import { ProgressService } from './progress.service';
12
12
  import { SceneService } from '../../plugins/core3d/service/scene.service';
13
13
  import { HomedecoratorAppEventService } from './homedecorator-app-event.service';
14
+ import { HomedecoratorConnectorService } from './homedecorator-connector.service';
14
15
  import * as i0 from "@angular/core";
15
16
  export declare class PresetsService implements OnDestroy {
16
17
  private _appStateService;
@@ -23,6 +24,7 @@ export declare class PresetsService implements OnDestroy {
23
24
  private _progressService;
24
25
  private _sceneService;
25
26
  private _eventService;
27
+ private _connector;
26
28
  isLoading: boolean;
27
29
  beforeLoad: Subject<any>;
28
30
  afterLoad: Subject<any>;
@@ -30,7 +32,7 @@ export declare class PresetsService implements OnDestroy {
30
32
  assetPath: string;
31
33
  stateCreated: Subject<void>;
32
34
  private _subs;
33
- constructor(_appStateService: AppStateService, _permanentStoreService: PermanentStoreService, _jsonUtils: JsonUtilsService, _messageService: MessageBusService, _settingsService: HomedecoratorSettingsService, _configurationService: ConfigurationService, _storageService: LocalStorageService, _progressService: ProgressService, _sceneService: SceneService, _eventService: HomedecoratorAppEventService);
35
+ constructor(_appStateService: AppStateService, _permanentStoreService: PermanentStoreService, _jsonUtils: JsonUtilsService, _messageService: MessageBusService, _settingsService: HomedecoratorSettingsService, _configurationService: ConfigurationService, _storageService: LocalStorageService, _progressService: ProgressService, _sceneService: SceneService, _eventService: HomedecoratorAppEventService, _connector: HomedecoratorConnectorService);
34
36
  ngOnDestroy(): void;
35
37
  register(plugin: PluginInterface): void;
36
38
  reopenState(model: string): void;
@@ -62,7 +62,7 @@ export declare class ProductCatalogComponent implements OnInit, OnDestroy {
62
62
  handleShowOwnCollectionClick(event: MouseEvent): void;
63
63
  handleBackClick(event: MouseEvent): void;
64
64
  handleRefreshClick(event: MouseEvent): void;
65
- handleIFrameFeedback(jsonString: string): Promise<void>;
65
+ handleIFrameFeedback(jsonString: any): Promise<void>;
66
66
  iframeTest(): Promise<void>;
67
67
  private _buildExternalCatalogRequest;
68
68
  private _handleShowProductCatalogMessageReceived;