@colijnit/catalog 256.1.1 → 256.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.
Files changed (26) hide show
  1. package/bundles/colijnit-catalog.umd.js +16 -9
  2. package/bundles/colijnit-catalog.umd.js.map +1 -1
  3. package/colijnit-catalog-256.1.1.tgz +0 -0
  4. package/colijnit-catalog.metadata.json +1 -1
  5. package/esm2015/lib/catalog-version.js +3 -3
  6. package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +3 -2
  7. package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +8 -5
  8. package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +4 -1
  9. package/esm2015/lib/component/catalog-search/catalog-search.component.js +5 -1
  10. package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +4 -2
  11. package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +5 -3
  12. package/fesm2015/colijnit-catalog.js +21 -6
  13. package/fesm2015/colijnit-catalog.js.map +1 -1
  14. package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +1 -0
  15. package/lib/component/catalog-article-list/style/_layout.scss +10 -1
  16. package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +1 -0
  17. package/lib/component/catalog-article-tile/style/_layout.scss +7 -0
  18. package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +1 -0
  19. package/lib/component/catalog-search/catalog-search.component.d.ts +1 -0
  20. package/lib/component/catalog-search/style/_layout.scss +4 -0
  21. package/lib/component/catalog-search/style/_material-definition.scss +5 -0
  22. package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +1 -0
  23. package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/colijnit-catalog-255.1.10.tgz +0 -0
  26. package/colijnit-catalog-256.1.0.tgz +0 -0
@@ -53,8 +53,8 @@ class Version {
53
53
  constructor() {
54
54
  this.name = "@colijnit/catalog";
55
55
  this.description = "iOne Catalog module based on Angular 12";
56
- this.symVer = "256.1.1";
57
- this.publishDate = "21-10-2024 09:50:36";
56
+ this.symVer = "256.1.2";
57
+ this.publishDate = "23-10-2024 14:53:26";
58
58
  }
59
59
  }
60
60
 
@@ -4406,6 +4406,7 @@ CatalogSearchComponent.decorators = [
4406
4406
  [iconData]="iconCacheService.getIcon(icons.SyncAlt)"
4407
4407
  (click)="handleResetButtonClick($event)">
4408
4408
  </co-icon>
4409
+ <span (click)="handleResetButtonClick($event)" [textContent]="'reset'" class="reset-filter-text"></span>
4409
4410
  </div>
4410
4411
  <co-icon class="clickable"
4411
4412
  [iconData]="iconCacheService.getIcon(icons.Cancel)"
@@ -4456,11 +4457,13 @@ CatalogSearchComponent.decorators = [
4456
4457
  <ng-container *ngIf="mode === 'tile'">
4457
4458
  <co-catalog-search-result-tile
4458
4459
  [createFrozenArticle]="createFrozenArticle"
4460
+ [isHomeDecoHub]="isHomeDecoHub"
4459
4461
  ></co-catalog-search-result-tile>
4460
4462
  </ng-container>
4461
4463
  <ng-container *ngIf="mode === 'list'">
4462
4464
  <co-catalog-search-result-list
4463
4465
  [createFrozenArticle]="createFrozenArticle"
4466
+ [isHomeDecoHub]="isHomeDecoHub"
4464
4467
  ></co-catalog-search-result-list>
4465
4468
  </ng-container>
4466
4469
  <ng-container *ngIf="mode === 'grid'">
@@ -4522,6 +4525,7 @@ CatalogSearchComponent.propDecorators = {
4522
4525
  showLandingPage: [{ type: Input }],
4523
4526
  showFilter: [{ type: Input }],
4524
4527
  showViewModes: [{ type: Input }],
4528
+ isHomeDecoHub: [{ type: Input }],
4525
4529
  settingsChange: [{ type: Output }],
4526
4530
  onLookAtArticleButtonClick: [{ type: Output }],
4527
4531
  onArButtonClick: [{ type: Output }],
@@ -4885,13 +4889,15 @@ CatalogArticleTileComponent.decorators = [
4885
4889
  [label]="options.addArticleButtonText"
4886
4890
  class="open-icon action pointer"
4887
4891
  (onClick)="handleAddArticleButtonClick($event)"
4888
- [iconData]="iconCache.getIcon(icons.AddToCartDrop)">
4892
+ [iconData]="iconCache.getIcon(icons.AddToCartDrop)"
4893
+ [disabled]="isHomeDecoHub">
4889
4894
  </co-button>
4890
4895
  <co-button *ngIf="configurable"
4891
4896
  [label]="options.lookAtArticleButtonText"
4892
4897
  class="open-icon action pointer"
4893
4898
  (onClick)="handleLookAtArticleButtonClick($event)"
4894
- [iconData]="iconCache.getIcon(icons.MagicWand)">
4899
+ [iconData]="iconCache.getIcon(icons.MagicWand)"
4900
+ [disabled]="isHomeDecoHub">
4895
4901
  </co-button>
4896
4902
  <!--co-button
4897
4903
  [label]="options.stockButtonText"
@@ -4908,7 +4914,8 @@ CatalogArticleTileComponent.decorators = [
4908
4914
  },] }
4909
4915
  ];
4910
4916
  CatalogArticleTileComponent.propDecorators = {
4911
- showClass: [{ type: HostBinding, args: ['class.co-catalog-article-tile',] }]
4917
+ showClass: [{ type: HostBinding, args: ['class.co-catalog-article-tile',] }],
4918
+ isHomeDecoHub: [{ type: Input }]
4912
4919
  };
4913
4920
 
4914
4921
  class CatalogSearchResultTileComponent extends CatalogSearchBaseComponent {
@@ -4936,6 +4943,7 @@ CatalogSearchResultTileComponent.decorators = [
4936
4943
  [createFrozenArticle]="createFrozenArticle"
4937
4944
  [showing]="intersection.isIntersecting"
4938
4945
  [article]="article"
4946
+ [isHomeDecoHub]="isHomeDecoHub"
4939
4947
  (onArticleClick)="onArticleClick.emit($event)"
4940
4948
  (onAddArticleButtonClick)="onAddArticleButtonClick.emit($event)"
4941
4949
  (onArButtonClick)="onArButtonClick.emit($event)"
@@ -4965,7 +4973,8 @@ CatalogSearchResultTileComponent.decorators = [
4965
4973
  CatalogSearchResultTileComponent.propDecorators = {
4966
4974
  viewChildren: [{ type: ViewChildren, args: [CatalogArticleTileComponent, { read: ElementRef },] }],
4967
4975
  showClass: [{ type: HostBinding, args: ['class.co-catalog-search-result-tile',] }],
4968
- smallScrollbar: [{ type: HostBinding, args: ['class.co-small-scrollbar',] }]
4976
+ smallScrollbar: [{ type: HostBinding, args: ['class.co-small-scrollbar',] }],
4977
+ isHomeDecoHub: [{ type: Input }]
4969
4978
  };
4970
4979
 
4971
4980
  class CatalogArticleTileModule {
@@ -5206,6 +5215,7 @@ CatalogArticleListComponent.decorators = [
5206
5215
  },] }
5207
5216
  ];
5208
5217
  CatalogArticleListComponent.propDecorators = {
5218
+ isHomeDecoHub: [{ type: Input }],
5209
5219
  showClass: [{ type: HostBinding, args: ['class.co-catalog-article-list',] }]
5210
5220
  };
5211
5221
 
@@ -5232,6 +5242,7 @@ CatalogSearchResultListComponent.decorators = [
5232
5242
  [createFrozenArticle]="createFrozenArticle"
5233
5243
  [showing]="intersection.isIntersecting"
5234
5244
  [article]="article"
5245
+ [isHomeDecoHub]="isHomeDecoHub"
5235
5246
  (onArticleClick)="onArticleClick.emit($event)"
5236
5247
  (onAddArticleButtonClick)="onAddArticleButtonClick.emit($event)"
5237
5248
  (onArButtonClick)="onArButtonClick.emit($event)"
@@ -5260,6 +5271,7 @@ CatalogSearchResultListComponent.decorators = [
5260
5271
  ];
5261
5272
  CatalogSearchResultListComponent.propDecorators = {
5262
5273
  viewChildren: [{ type: ViewChildren, args: [CatalogArticleListComponent, { read: ElementRef },] }],
5274
+ isHomeDecoHub: [{ type: Input }],
5263
5275
  showClass: [{ type: HostBinding, args: ['class.co-catalog-search-result-list',] }]
5264
5276
  };
5265
5277
 
@@ -5338,6 +5350,7 @@ class CatalogExternalSourceComponent {
5338
5350
  this._appEventService = _appEventService;
5339
5351
  this.showFilter = true;
5340
5352
  this.showNavigation = true;
5353
+ this.isHomeDecoHub = false;
5341
5354
  this.articleClick = new EventEmitter();
5342
5355
  this.addArticleClick = new EventEmitter();
5343
5356
  this.iFrameFeedbackReceived = new EventEmitter();
@@ -5544,6 +5557,7 @@ CatalogExternalSourceComponent.decorators = [
5544
5557
  [searchPlaceholder]="searchPlaceholder"
5545
5558
  [showFilter]="showFilter"
5546
5559
  [showNavigation]="showNavigation"
5560
+ [isHomeDecoHub]="isHomeDecoHub"
5547
5561
  (onArticleClick)="handleArticleClick($event)"
5548
5562
  ></co-catalog-search>
5549
5563
  </ng-container>
@@ -5572,6 +5586,7 @@ CatalogExternalSourceComponent.propDecorators = {
5572
5586
  showFilter: [{ type: Input }],
5573
5587
  showNavigation: [{ type: Input }],
5574
5588
  options: [{ type: Input }],
5589
+ isHomeDecoHub: [{ type: Input }],
5575
5590
  name: [{ type: Input }],
5576
5591
  articleClick: [{ type: Output }],
5577
5592
  addArticleClick: [{ type: Output }],