@colijnit/catalog 301.1.1 → 301.1.2

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
@@ -35,7 +35,7 @@ import { CategoryDesign } from '@colijnit/articleapi/build/model/category-design
35
35
  import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
36
36
  import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
37
37
  import * as i3 from '@colijnit/corecomponents_v12';
38
- import { FilterItemViewmodel, FilterViewmodel, ContentViewMode, PromptService, BaseModuleScreenConfigService, BaseModuleService, FilterItemMode } from '@colijnit/corecomponents_v12';
38
+ import { FilterItemViewmodel, FilterViewmodel, BaseModuleScreenConfigService, ContentViewMode, PromptService, BaseModuleService, FilterItemMode } from '@colijnit/corecomponents_v12';
39
39
  import { WarehouseShort } from '@colijnit/mainapi/build/model/warehouse-short.bo';
40
40
  import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
41
41
  import { Article } from '@colijnit/configuratorapi/build/model/article';
@@ -604,6 +604,19 @@ declare class CatalogFilterService {
604
604
  static ɵprov: i0.ɵɵInjectableDeclaration<CatalogFilterService>;
605
605
  }
606
606
 
607
+ declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
608
+ private _catalogAdapterService;
609
+ readonly screenModuleName: string;
610
+ private _screenConfigurationObjectCache;
611
+ constructor(_catalogAdapterService: CatalogConnectorAdapterService);
612
+ clear(): void;
613
+ protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
614
+ private _setScreenConfigurationObjectCache;
615
+ private _screenConfigurationLoaded;
616
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogScreenConfigurationService, never>;
617
+ static ɵprov: i0.ɵɵInjectableDeclaration<CatalogScreenConfigurationService>;
618
+ }
619
+
607
620
  declare class CatalogSearchService implements OnDestroy {
608
621
  private _filterService;
609
622
  private _catalogConnectorService;
@@ -611,6 +624,7 @@ declare class CatalogSearchService implements OnDestroy {
611
624
  private _settingsService;
612
625
  private _optionService;
613
626
  private _promptService;
627
+ private _screenConfigService;
614
628
  searchRequest: ArticleExtendedRequest;
615
629
  activeContentViewMode: ContentViewMode;
616
630
  showFilterSidebar: boolean;
@@ -633,7 +647,7 @@ declare class CatalogSearchService implements OnDestroy {
633
647
  private _turnoverGroup;
634
648
  private _subs;
635
649
  private _presetApplied;
636
- constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _catalogConnectorAdapterService: CatalogConnectorAdapterService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService, _promptService: PromptService);
650
+ constructor(_filterService: CatalogFilterService, _catalogConnectorService: CatalogConnectorService, _catalogConnectorAdapterService: CatalogConnectorAdapterService, _settingsService: CatalogSettingsService, _optionService: CatalogOptionsService, _promptService: PromptService, _screenConfigService: CatalogScreenConfigurationService);
637
651
  ngOnDestroy(): void;
638
652
  searchArticles(resetPaging?: boolean): void;
639
653
  /**
@@ -647,25 +661,17 @@ declare class CatalogSearchService implements OnDestroy {
647
661
  handleResetFilter(): void;
648
662
  private _clearCache;
649
663
  private _resetRequest;
664
+ /**
665
+ * Screen configuration default values take precedence over the (startup) parameters.
666
+ * Without a screen configuration default, the (startup) parameter value is kept.
667
+ */
668
+ private _applyScreenConfigDefaults;
650
669
  private _setRequestParametersAndProps;
651
670
  private _resetRequestParametersAndProps;
652
671
  static ɵfac: i0.ɵɵFactoryDeclaration<CatalogSearchService, never>;
653
672
  static ɵprov: i0.ɵɵInjectableDeclaration<CatalogSearchService>;
654
673
  }
655
674
 
656
- declare class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
657
- private _catalogAdapterService;
658
- readonly screenModuleName: string;
659
- private _screenConfigurationObjectCache;
660
- constructor(_catalogAdapterService: CatalogConnectorAdapterService);
661
- clear(): void;
662
- protected loadConfigForModule(params: string[], insertRights?: boolean): Promise<ObjectConfiguration[]>;
663
- private _setScreenConfigurationObjectCache;
664
- private _screenConfigurationLoaded;
665
- static ɵfac: i0.ɵɵFactoryDeclaration<CatalogScreenConfigurationService, never>;
666
- static ɵprov: i0.ɵɵInjectableDeclaration<CatalogScreenConfigurationService>;
667
- }
668
-
669
675
  declare class CatalogService extends BaseModuleService {
670
676
  protected connector: CatalogConnectorService;
671
677
  protected connectorAdapter: CatalogConnectorAdapterService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/catalog",
3
- "version": "301.1.1",
3
+ "version": "301.1.2",
4
4
  "license": "MIT",
5
5
  "description": "iOne Catalog module based on Angular 20",
6
6
  "repository": "npm/npm",