@colijnit/homedecorator 256.1.3 → 256.1.4

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.
@@ -25,6 +25,7 @@ import { ArticleCategory } from '@colijnit/configuratorapi/build/model/article-c
25
25
  import { ArticleFlat } from '@colijnit/articleapi/build/model/article-flat.bo';
26
26
  import { HomedecoratorAppEventService } from './homedecorator-app-event.service';
27
27
  import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
28
+ import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
28
29
  import * as i0 from "@angular/core";
29
30
  export declare class ExternalConnector {
30
31
  loginResponse: LoginResponse;
@@ -86,6 +87,7 @@ export declare class HomedecoratorConnectorAdapterService {
86
87
  getArticleCategories(publicationCode: number): Promise<ArticleCategory[]>;
87
88
  getArticleFlat(sku: string): Promise<ArticleFlat>;
88
89
  getModelPlacementOptions(): Promise<CoDomainValue[]>;
90
+ getObjectConfiguration(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<ObjectConfiguration[]>;
89
91
  private _getPublicationCodeForRole;
90
92
  static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorConnectorAdapterService, never>;
91
93
  static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorConnectorAdapterService>;
@@ -1,8 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { HomedecoratorExternalSettingsInterface } from '../../../core/interface/homedecorator-external-settings.interface';
3
3
  import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
4
+ import { CatalogScreenConfigurationService } from '../service/catalog-screen-configuration.service';
4
5
  import * as i0 from "@angular/core";
5
- export declare class ProductOwnCollectionComponent {
6
+ export declare class ProductOwnCollectionComponent implements OnInit {
7
+ private _screenConfigService;
6
8
  settings: any;
7
9
  articleClick: EventEmitter<{
8
10
  article: ArticleListObjectExtended;
@@ -12,6 +14,8 @@ export declare class ProductOwnCollectionComponent {
12
14
  article: ArticleListObjectExtended;
13
15
  settings?: HomedecoratorExternalSettingsInterface;
14
16
  }>;
17
+ constructor(_screenConfigService: CatalogScreenConfigurationService);
18
+ ngOnInit(): Promise<void>;
15
19
  handleArticleClick(article: ArticleListObjectExtended): void;
16
20
  handleArButtonClick(article: ArticleListObjectExtended): void;
17
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductOwnCollectionComponent, never>;
@@ -18,6 +18,7 @@ import { HomedecoratorExternalSettingsInterface } from '../../../core/interface/
18
18
  import { ThirdPartyModelService } from '../../threedselector/threedselector/service/third-party-model.service';
19
19
  import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
20
20
  import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
21
+ import { CatalogScreenConfigurationService } from '../service/catalog-screen-configuration.service';
21
22
  import * as i0 from "@angular/core";
22
23
  export declare class ProductCatalogComponent implements OnInit, OnDestroy {
23
24
  settingsService: HomedecoratorSettingsService;
@@ -32,6 +33,7 @@ export declare class ProductCatalogComponent implements OnInit, OnDestroy {
32
33
  private _adapterService;
33
34
  private _buildFurnitureService;
34
35
  private _thirdPartyModelService;
36
+ private _screenConfigService;
35
37
  get shown(): boolean;
36
38
  loaded: boolean;
37
39
  settings: HomedecoratorSettings;
@@ -47,7 +49,7 @@ export declare class ProductCatalogComponent implements OnInit, OnDestroy {
47
49
  private _showCatalog;
48
50
  private _subs;
49
51
  private _source;
50
- constructor(settingsService: HomedecoratorSettingsService, _messageBus: MessageBusService, _ioneController: HomedecoratorConnectorService, _screenSizeService: ScreenSizeAnalysisService, _sceneService: SceneService, _floorPlanService: FloorplanService, _injector: Injector, _catalogService: CatalogService, _dynamicScriptService: DynamicScriptService, _adapterService: HomedecoratorConnectorAdapterService, _buildFurnitureService: BuildFurnitureService, _thirdPartyModelService: ThirdPartyModelService);
52
+ constructor(settingsService: HomedecoratorSettingsService, _messageBus: MessageBusService, _ioneController: HomedecoratorConnectorService, _screenSizeService: ScreenSizeAnalysisService, _sceneService: SceneService, _floorPlanService: FloorplanService, _injector: Injector, _catalogService: CatalogService, _dynamicScriptService: DynamicScriptService, _adapterService: HomedecoratorConnectorAdapterService, _buildFurnitureService: BuildFurnitureService, _thirdPartyModelService: ThirdPartyModelService, _screenConfigService: CatalogScreenConfigurationService);
51
53
  ngOnInit(): Promise<void>;
52
54
  ngOnDestroy(): void;
53
55
  hideCatalog(): void;
@@ -0,0 +1,7 @@
1
+ import { BaseModuleService } from '@colijnit/corecomponents_v12';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CatalogModuleService extends BaseModuleService {
4
+ protected _readonly: boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogModuleService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<CatalogModuleService>;
7
+ }
@@ -0,0 +1,15 @@
1
+ import { BaseModuleScreenConfigService } from '@colijnit/corecomponents_v12';
2
+ import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
3
+ import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
6
+ private _homedecoratorConnectorAdapterService;
7
+ readonly screenModuleName: string;
8
+ private _screenConfigurationObjectCache;
9
+ constructor(_homedecoratorConnectorAdapterService: HomedecoratorConnectorAdapterService);
10
+ protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
11
+ private _setScreenConfigurationObjectCache;
12
+ private _screenConfigurationLoaded;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogScreenConfigurationService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<CatalogScreenConfigurationService>;
15
+ }