@colijnit/catalog 300.1.8 → 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>;
@@ -866,7 +873,8 @@ declare enum ConfigNameEnum {
866
873
  BrandFilter = "brandFilter",
867
874
  GoodKindFilter = "goodKindFilter",
868
875
  ResultTiles = "resultSetting",
869
- PurchaseDescriptionFilter = "purchaseDescriptionFilter"
876
+ PurchaseDescriptionFilter = "purchaseDescriptionFilter",
877
+ PurchaseDescriptionResult = "purchaseDescriptionResult"
870
878
  }
871
879
 
872
880
  interface Category {
@@ -991,6 +999,7 @@ declare class CatalogFilterContentGeneralComponent implements OnInit, OnDestroy
991
999
  filterService: CatalogFilterService;
992
1000
  catalogSearchService: CatalogSearchService;
993
1001
  private _catalogConnectorService;
1002
+ private _screenConfig;
994
1003
  private _adapterService;
995
1004
  filterOrders: FilterOrder[];
996
1005
  showClass(): boolean;
@@ -1017,12 +1026,16 @@ declare class CatalogFilterContentGeneralComponent implements OnInit, OnDestroy
1017
1026
  tagCollection: FilterItemViewmodel[];
1018
1027
  turnoverGroupCollection: FilterItemViewmodel[];
1019
1028
  brandCollection: FilterItemViewmodel[];
1020
- 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);
1021
1033
  ngOnInit(): void;
1022
1034
  ngOnDestroy(): void;
1023
1035
  handleAllChanged(value: boolean): void;
1024
1036
  onRangePriceChanged(priceRange: string): void;
1025
1037
  private _setCollections;
1038
+ private _setWarehouses;
1026
1039
  private _setStoreGroups;
1027
1040
  private _setInOutCollection;
1028
1041
  private _setArticleTypes;
@@ -1633,6 +1646,7 @@ declare class CatalogSearchResultListComponent extends CatalogSearchBaseComponen
1633
1646
  }
1634
1647
 
1635
1648
  declare class CatalogArticleListComponent extends ArticleBaseComponent {
1649
+ readonly cfgName: typeof ConfigNameEnum;
1636
1650
  embedded: boolean;
1637
1651
  isReturn: boolean;
1638
1652
  showClass(): boolean;
@@ -1642,7 +1656,7 @@ declare class CatalogArticleListComponent extends ArticleBaseComponent {
1642
1656
 
1643
1657
  declare class CatalogArticleListModule {
1644
1658
  static ɵfac: i0.ɵɵFactoryDeclaration<CatalogArticleListModule, never>;
1645
- static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogArticleListModule, [typeof CatalogArticleListComponent], [typeof i2.CommonModule, typeof i3.ImageModule, typeof i3.IconModule, typeof CatalogFilterModule, typeof i3.ButtonModule, typeof CatalogPipeModule], [typeof CatalogArticleListComponent]>;
1659
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CatalogArticleListModule, [typeof CatalogArticleListComponent], [typeof i2.CommonModule, typeof i3.ImageModule, typeof i3.IconModule, typeof CatalogFilterModule, typeof i3.ButtonModule, typeof CatalogPipeModule, typeof i3.ScreenConfigurationModule], [typeof CatalogArticleListComponent]>;
1646
1660
  static ɵinj: i0.ɵɵInjectorDeclaration<CatalogArticleListModule>;
1647
1661
  }
1648
1662
 
@@ -126,12 +126,16 @@
126
126
  background: $co-catalog-article-list-article-buttons-background;
127
127
  cursor: pointer;
128
128
  place-content: center;
129
+ color: $co-catalog-article-list-article-buttons-color;
129
130
  &:hover {
130
131
  opacity: 0.8;
131
132
  }
132
- ::ng-deep co-icon {
133
+ co-icon {
133
134
  width: $co-catalog-article-list-article-buttons-button-size;
134
135
  height: $co-catalog-article-list-article-buttons-button-size;
136
+ svg [fill] {
137
+ fill: $co-catalog-article-list-article-buttons-color;
138
+ }
135
139
  }
136
140
  }
137
141
  > co-button.disabled {
@@ -23,6 +23,7 @@ $co-catalog-article-list-article-buttons-width: 180px !default;
23
23
  $co-catalog-article-list-article-buttons-button-height: 40px !default;
24
24
  $co-catalog-article-list-article-buttons-button-margin: 0 !default;
25
25
  $co-catalog-article-list-article-buttons-button-border-radius: 5px !default;
26
+ $co-catalog-article-list-article-buttons-color: #FFF;
26
27
  $co-catalog-article-list-article-buttons-background: #3E7EFF !default;
27
28
  $co-catalog-article-list-article-buttons-button-size: 34px !default;
28
29
  $co-catalog-article-list-article-price-font-size: 16px !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/catalog",
3
- "version": "300.1.8",
3
+ "version": "300.1.10",
4
4
  "license": "MIT",
5
5
  "description": "iOne Catalog module based on Angular 20",
6
6
  "repository": "npm/npm",