@colijnit/catalog 9.1.1 → 12.0.3

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 (98) hide show
  1. package/app/components/catalog/article-card/article-card.component.d.ts +5 -2
  2. package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +1 -1
  3. package/app/ione-catalog.component.d.ts +1 -0
  4. package/app/service/app-event.service.d.ts +1 -0
  5. package/app/service/dictionary.service.d.ts +3 -5
  6. package/app/service/icon-cache.service.d.ts +2 -2
  7. package/bundles/colijnit-catalog.umd.js +762 -707
  8. package/bundles/colijnit-catalog.umd.js.map +1 -1
  9. package/colijnit-catalog.metadata.json +1 -1
  10. package/esm2015/app/base/base-component.js +1 -1
  11. package/esm2015/app/components/catalog/article-card/article-card.component.js +33 -54
  12. package/esm2015/app/components/catalog/catalog/catalog.component.js +13 -15
  13. package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +25 -29
  14. package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +14 -16
  15. package/esm2015/app/components/catalog/filter-items/filter-items.component.js +16 -24
  16. package/esm2015/app/components/core/icon-handle/icon-handle.component.js +15 -22
  17. package/esm2015/app/components/core/label-field/label-field.component.js +13 -17
  18. package/esm2015/app/components/left-content/left-content.component.js +10 -12
  19. package/esm2015/app/components/main-content/main-content.component.js +10 -12
  20. package/esm2015/app/components/navigation/navigation.component.js +13 -15
  21. package/esm2015/app/components/top-content/top-content.component.js +21 -25
  22. package/esm2015/app/enum/catalog-product-filter.enum.js +1 -1
  23. package/esm2015/app/enum/icon.enum.js +1 -1
  24. package/esm2015/app/enum/language-code.enum.js +1 -1
  25. package/esm2015/app/enum/level-indicator-level.enum.js +1 -1
  26. package/esm2015/app/interface/filter-item.js +2 -1
  27. package/esm2015/app/interface/order-by.interface.js +2 -1
  28. package/esm2015/app/ione-catalog.component.js +29 -43
  29. package/esm2015/app/ione-catalog.module.js +90 -101
  30. package/esm2015/app/layout.directive.js +15 -23
  31. package/esm2015/app/model/icon.js +1 -1
  32. package/esm2015/app/model/settings-options.js +1 -1
  33. package/esm2015/app/model/settings.js +1 -1
  34. package/esm2015/app/pipe/greater-than-zero.pipe.js +9 -11
  35. package/esm2015/app/pipe/localize.pipe.js +8 -12
  36. package/esm2015/app/service/app-event.service.js +9 -10
  37. package/esm2015/app/service/dictionary.service.js +14 -24
  38. package/esm2015/app/service/i-one-connector-adapter.service.js +7 -8
  39. package/esm2015/app/service/i-one-controller.service.js +7 -8
  40. package/esm2015/app/service/icon-cache.service.js +9 -11
  41. package/esm2015/app/service/navigation.service.js +10 -11
  42. package/esm2015/app/service/options.service.js +10 -12
  43. package/esm2015/app/service/product-catalog-controller.service.js +18 -13
  44. package/esm2015/app/service/settings.service.js +7 -8
  45. package/esm2015/app/utils/json-utils.service.js +8 -9
  46. package/esm2015/app/utils/string-utils.js +1 -1
  47. package/esm2015/app/utils/utils.service.js +7 -8
  48. package/esm2015/colijnit-catalog.js +1 -1
  49. package/esm2015/public_api.js +1 -1
  50. package/fesm2015/colijnit-catalog.js +394 -461
  51. package/fesm2015/colijnit-catalog.js.map +1 -1
  52. package/package.json +22 -21
  53. package/bundles/colijnit-catalog.umd.min.js +0 -16
  54. package/bundles/colijnit-catalog.umd.min.js.map +0 -1
  55. package/css/styles.css +0 -85
  56. package/esm5/app/base/base-component.js +0 -7
  57. package/esm5/app/components/catalog/article-card/article-card.component.js +0 -209
  58. package/esm5/app/components/catalog/catalog/catalog.component.js +0 -36
  59. package/esm5/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -217
  60. package/esm5/app/components/catalog/catalog-page/catalog-page.component.js +0 -73
  61. package/esm5/app/components/catalog/filter-items/filter-items.component.js +0 -58
  62. package/esm5/app/components/core/icon-handle/icon-handle.component.js +0 -44
  63. package/esm5/app/components/core/label-field/label-field.component.js +0 -23
  64. package/esm5/app/components/left-content/left-content.component.js +0 -18
  65. package/esm5/app/components/main-content/main-content.component.js +0 -18
  66. package/esm5/app/components/navigation/navigation.component.js +0 -63
  67. package/esm5/app/components/top-content/top-content.component.js +0 -51
  68. package/esm5/app/enum/catalog-product-filter.enum.js +0 -9
  69. package/esm5/app/enum/icon.enum.js +0 -22
  70. package/esm5/app/enum/language-code.enum.js +0 -8
  71. package/esm5/app/enum/level-indicator-level.enum.js +0 -7
  72. package/esm5/app/interface/filter-item.js +0 -1
  73. package/esm5/app/interface/order-by.interface.js +0 -1
  74. package/esm5/app/ione-catalog.component.js +0 -158
  75. package/esm5/app/ione-catalog.module.js +0 -104
  76. package/esm5/app/layout.directive.js +0 -89
  77. package/esm5/app/model/icon.js +0 -21
  78. package/esm5/app/model/settings-options.js +0 -17
  79. package/esm5/app/model/settings.js +0 -11
  80. package/esm5/app/pipe/greater-than-zero.pipe.js +0 -21
  81. package/esm5/app/pipe/localize.pipe.js +0 -33
  82. package/esm5/app/service/app-event.service.js +0 -21
  83. package/esm5/app/service/dictionary.service.js +0 -123
  84. package/esm5/app/service/i-one-connector-adapter.service.js +0 -79
  85. package/esm5/app/service/i-one-controller.service.js +0 -153
  86. package/esm5/app/service/icon-cache.service.js +0 -42
  87. package/esm5/app/service/navigation.service.js +0 -73
  88. package/esm5/app/service/options.service.js +0 -138
  89. package/esm5/app/service/product-catalog-controller.service.js +0 -739
  90. package/esm5/app/service/settings.service.js +0 -94
  91. package/esm5/app/utils/json-utils.service.js +0 -39
  92. package/esm5/app/utils/string-utils.js +0 -45
  93. package/esm5/app/utils/utils.service.js +0 -135
  94. package/esm5/colijnit-catalog.js +0 -32
  95. package/esm5/public_api.js +0 -2
  96. package/fesm5/colijnit-catalog.js +0 -2815
  97. package/fesm5/colijnit-catalog.js.map +0 -1
  98. package/typings.d.ts +0 -5
@@ -14,9 +14,9 @@ export declare class ArticleCardComponent {
14
14
  private _iOne;
15
15
  private _changeDetector;
16
16
  private _appEventService;
17
- get article(): ArticleExtendedDto;
18
- set article(value: ArticleExtendedDto);
19
17
  readonly Icons: typeof IconEnum;
18
+ set article(value: ArticleExtendedDto);
19
+ get article(): ArticleExtendedDto;
20
20
  imageData: string;
21
21
  price: number | string;
22
22
  level: LevelIndicatorLevel;
@@ -32,12 +32,15 @@ export declare class ArticleCardComponent {
32
32
  configurable: boolean;
33
33
  threeD: boolean;
34
34
  description: string;
35
+ valutaSymbol: string;
36
+ stockDetails: boolean;
35
37
  onHostClick(event: MouseEvent): void;
36
38
  constructor(iconCache: IconCacheService, catalog: ProductCatalogControllerService, options: OptionsService, _iOne: IOneControllerService, _changeDetector: ChangeDetectorRef, _appEventService: AppEventService);
37
39
  handleLookAtArticleButtonClick(event: MouseEvent): void;
38
40
  handleAddArticleButtonClick(event: MouseEvent): Promise<void>;
39
41
  handleArButtonClick(event: MouseEvent): void;
40
42
  removeHtmlTags(desc: string): string;
43
+ openStockDetails(): void;
41
44
  private _getJSONFromArticleObject;
42
45
  private _detectChanges;
43
46
  private _getThumbNailImagesAndPrice;
@@ -4,7 +4,7 @@ import { ProductCatalogControllerService } from '../../../service/product-catalo
4
4
  import { IconEnum } from '../../../enum/icon.enum';
5
5
  import { CatalogProductFilter } from '../../../enum/catalog-product-filter.enum';
6
6
  import { SliderComponent } from '@colijnit/corecomponents';
7
- import { NumericalRange } from '@colijnit/corecomponents/app/core/model/numerical-range';
7
+ import { NumericalRange } from '@colijnit/corecomponents/lib/core/model/numerical-range';
8
8
  import { IconCacheService } from '../../../service/icon-cache.service';
9
9
  import { OptionsService } from '../../../service/options.service';
10
10
  export declare class CatalogFilterComponent implements OnInit, OnDestroy {
@@ -29,6 +29,7 @@ export declare class IoneCatalogComponent implements OnInit, OnDestroy {
29
29
  onAddArticleButtonClick: EventEmitter<string>;
30
30
  onArticleClick: EventEmitter<ArticleExtendedDto>;
31
31
  onArButtonClick: EventEmitter<ArticleExtendedDto>;
32
+ onStockDetailsClick: EventEmitter<ArticleExtendedDto>;
32
33
  _subs: Subscription[];
33
34
  upAndLoaded: boolean;
34
35
  layout: {};
@@ -5,4 +5,5 @@ export declare class AppEventService {
5
5
  addArticleButtonClick: Subject<string>;
6
6
  arButtonClick: Subject<ArticleExtendedDto>;
7
7
  articleClick: Subject<ArticleExtendedDto>;
8
+ stockDetailsClick: Subject<ArticleExtendedDto>;
8
9
  }
@@ -1,8 +1,6 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { JsonUtilsService } from '../utils/json-utils.service';
3
- import { Subject } from 'rxjs';
1
+ import { JsonUtilsService } from "../utils/json-utils.service";
2
+ import { Subject } from "rxjs";
4
3
  export declare class DictionaryService {
5
- private _http;
6
4
  private _jsonUtils;
7
5
  private readonly dictionaryUrl;
8
6
  get language(): string;
@@ -14,7 +12,7 @@ export declare class DictionaryService {
14
12
  private _dictionaries;
15
13
  private _language;
16
14
  private readonly _placeholder;
17
- constructor(_http: HttpClient, _jsonUtils: JsonUtilsService);
15
+ constructor(_jsonUtils: JsonUtilsService);
18
16
  getLanguageCode(lc: string): string;
19
17
  setDictionary(language: string, additionalTranslationFile?: string): Promise<void>;
20
18
  /**
@@ -1,5 +1,5 @@
1
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
2
- import { IconEnum } from '../enum/icon.enum';
1
+ import { IconEnum } from "../enum/icon.enum";
2
+ import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
3
  export declare class IconCacheService {
4
4
  private _sanitizer;
5
5
  /**