@colijnit/catalog 300.1.9 → 300.1.10

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
@@ -666,6 +666,13 @@ declare class CatalogSearchService implements OnDestroy {
666
666
  * Without a screen configuration default, the (startup) parameter value is kept.
667
667
  */
668
668
  private _applyScreenConfigDefaults;
669
+ /**
670
+ * The in stock filter only counts the stock in the warehouses of the user's branch.
671
+ * With warehouses chosen for it, only the stock in those warehouses counts, which the backend
672
+ * checks through searchAvailableStock and rangeAvailableInWarehouses (as the AS app does).
673
+ * The warehouses only belong to the in stock filter, so they're cleared once that filter is off.
674
+ */
675
+ private _requestForSearch;
669
676
  private _setRequestParametersAndProps;
670
677
  private _resetRequestParametersAndProps;
671
678
  static ɵfac: i0.ɵɵFactoryDeclaration<CatalogSearchService, never>;
@@ -992,6 +999,7 @@ declare class CatalogFilterContentGeneralComponent implements OnInit, OnDestroy
992
999
  filterService: CatalogFilterService;
993
1000
  catalogSearchService: CatalogSearchService;
994
1001
  private _catalogConnectorService;
1002
+ private _screenConfig;
995
1003
  private _adapterService;
996
1004
  filterOrders: FilterOrder[];
997
1005
  showClass(): boolean;
@@ -1018,12 +1026,16 @@ declare class CatalogFilterContentGeneralComponent implements OnInit, OnDestroy
1018
1026
  tagCollection: FilterItemViewmodel[];
1019
1027
  turnoverGroupCollection: FilterItemViewmodel[];
1020
1028
  brandCollection: FilterItemViewmodel[];
1021
- constructor(iconCache: IconCacheService, filterService: CatalogFilterService, catalogSearchService: CatalogSearchService, _catalogConnectorService: CatalogConnectorService, _adapterService: CatalogConnectorAdapterService);
1029
+ warehouseCollection: FilterItemViewmodel[];
1030
+ inStockFilterOrder: number;
1031
+ get inStockSelected(): boolean;
1032
+ constructor(iconCache: IconCacheService, filterService: CatalogFilterService, catalogSearchService: CatalogSearchService, _catalogConnectorService: CatalogConnectorService, _screenConfig: CatalogScreenConfigurationService, _adapterService: CatalogConnectorAdapterService);
1022
1033
  ngOnInit(): void;
1023
1034
  ngOnDestroy(): void;
1024
1035
  handleAllChanged(value: boolean): void;
1025
1036
  onRangePriceChanged(priceRange: string): void;
1026
1037
  private _setCollections;
1038
+ private _setWarehouses;
1027
1039
  private _setStoreGroups;
1028
1040
  private _setInOutCollection;
1029
1041
  private _setArticleTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/catalog",
3
- "version": "300.1.9",
3
+ "version": "300.1.10",
4
4
  "license": "MIT",
5
5
  "description": "iOne Catalog module based on Angular 20",
6
6
  "repository": "npm/npm",