@colijnit/product 2.9.1 → 12.0.0

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 (138) hide show
  1. package/app/components/core/header/header.module.d.ts +2 -0
  2. package/app/components/image-carousel/image-carousel.module.d.ts +2 -0
  3. package/app/components/product-additional-description/product-additional-description.module.d.ts +2 -0
  4. package/app/components/product-additional-info/product-additional-info.module.d.ts +2 -0
  5. package/app/components/product-addtocart/product-addtocart.module.d.ts +2 -0
  6. package/app/components/product-delivery/product-delivery.module.d.ts +2 -0
  7. package/app/components/product-description/product-description.module.d.ts +2 -0
  8. package/app/components/product-documents/product-document.module.d.ts +2 -0
  9. package/app/components/product-info-tabs/product-info-tabs.module.d.ts +2 -0
  10. package/app/components/product-page/product-page.component.d.ts +3 -1
  11. package/app/components/product-price/product-price.module.d.ts +2 -0
  12. package/app/components/product-properties/product-properties.module.d.ts +2 -0
  13. package/app/components/product-related/product-related.module.d.ts +2 -0
  14. package/app/components/product-selector-type/product-selector-type.module.d.ts +2 -0
  15. package/app/components/product-stock/product-stock.component.d.ts +3 -1
  16. package/app/components/product-stock/product-stock.module.d.ts +2 -0
  17. package/app/components/product-symbols/product-symbols.module.d.ts +2 -0
  18. package/app/ione-product.component.d.ts +2 -0
  19. package/bundles/colijnit-product.umd.js +1431 -959
  20. package/bundles/colijnit-product.umd.js.map +1 -1
  21. package/colijnit-product.d.ts +40 -27
  22. package/colijnit-product.metadata.json +1 -1
  23. package/esm2015/app/components/core/header/header.component.js +21 -17
  24. package/esm2015/app/components/core/header/header.module.js +19 -0
  25. package/esm2015/app/components/image-carousel/image-carousel.component.js +51 -35
  26. package/esm2015/app/components/image-carousel/image-carousel.module.js +23 -0
  27. package/esm2015/app/components/product-additional-description/product-additional-description.component.js +20 -15
  28. package/esm2015/app/components/product-additional-description/product-additional-description.module.js +21 -0
  29. package/esm2015/app/components/product-additional-info/product-additional-info.component.js +22 -20
  30. package/esm2015/app/components/product-additional-info/product-additional-info.module.js +21 -0
  31. package/esm2015/app/components/product-addtocart/product-addtocart.component.js +43 -40
  32. package/esm2015/app/components/product-addtocart/product-addtocart.module.js +24 -0
  33. package/esm2015/app/components/product-delivery/product-delivery.component.js +22 -15
  34. package/esm2015/app/components/product-delivery/product-delivery.module.js +23 -0
  35. package/esm2015/app/components/product-description/product-description.component.js +18 -14
  36. package/esm2015/app/components/product-description/product-description.module.js +19 -0
  37. package/esm2015/app/components/product-documents/product-document.module.js +25 -0
  38. package/esm2015/app/components/product-documents/product-documents.component.js +19 -18
  39. package/esm2015/app/components/product-external-source/product-external-source.component.js +32 -45
  40. package/esm2015/app/components/product-external-source/product-external-source.module.js +17 -19
  41. package/esm2015/app/components/product-info-tabs/product-info-tabs.component.js +36 -18
  42. package/esm2015/app/components/product-info-tabs/product-info-tabs.module.js +29 -0
  43. package/esm2015/app/components/product-page/product-page.component.js +56 -60
  44. package/esm2015/app/components/product-page/product-page.module.js +40 -62
  45. package/esm2015/app/components/product-price/product-price.component.js +26 -19
  46. package/esm2015/app/components/product-price/product-price.module.js +23 -0
  47. package/esm2015/app/components/product-properties/product-properties.component.js +24 -17
  48. package/esm2015/app/components/product-properties/product-properties.module.js +21 -0
  49. package/esm2015/app/components/product-related/product-related.component.js +33 -24
  50. package/esm2015/app/components/product-related/product-related.module.js +24 -0
  51. package/esm2015/app/components/product-selector-type/product-selector-type.component.js +32 -28
  52. package/esm2015/app/components/product-selector-type/product-selector-type.module.js +23 -0
  53. package/esm2015/app/components/product-stock/product-stock.component.js +29 -16
  54. package/esm2015/app/components/product-stock/product-stock.module.js +23 -0
  55. package/esm2015/app/components/product-symbols/product-symbols.component.js +28 -17
  56. package/esm2015/app/components/product-symbols/product-symbols.module.js +26 -0
  57. package/esm2015/app/enum/icon.enum.js +1 -1
  58. package/esm2015/app/enum/language-code.enum.js +1 -1
  59. package/esm2015/app/enum/selector-type.enum.js +1 -1
  60. package/esm2015/app/ione-product.component.js +39 -51
  61. package/esm2015/app/ione-product.module.js +21 -27
  62. package/esm2015/app/model/article-quantity.model.js +1 -1
  63. package/esm2015/app/model/icon.js +1 -1
  64. package/esm2015/app/model/productSettings.js +1 -1
  65. package/esm2015/app/model/render-modes.js +1 -1
  66. package/esm2015/app/model/render-parameters.js +1 -1
  67. package/esm2015/app/model/settings-options.js +1 -1
  68. package/esm2015/app/model/stock-and-delivery.js +1 -1
  69. package/esm2015/app/pipe/localize.pipe.js +8 -12
  70. package/esm2015/app/pipe/pipe.module.js +16 -18
  71. package/esm2015/app/product-version.js +3 -3
  72. package/esm2015/app/service/dictionary.service.js +10 -11
  73. package/esm2015/app/service/icon-cache.service.js +10 -12
  74. package/esm2015/app/service/product-connector-adapter.service.js +8 -8
  75. package/esm2015/app/service/product-connector.service.js +7 -8
  76. package/esm2015/app/service/product-event.service.js +12 -20
  77. package/esm2015/app/service/product-settings.service.js +7 -8
  78. package/esm2015/app/utils/bit-utils.js +1 -1
  79. package/esm2015/app/utils/json-utils.service.js +9 -10
  80. package/esm2015/assets/dictionary/text.properties.js +1 -1
  81. package/esm2015/colijnit-product.js +41 -28
  82. package/esm2015/public_api.js +2 -1
  83. package/fesm2015/colijnit-product.js +1053 -722
  84. package/fesm2015/colijnit-product.js.map +1 -1
  85. package/package.json +15 -18
  86. package/public_api.d.ts +1 -0
  87. package/app/components/product-info/product-info.component.d.ts +0 -14
  88. package/bundles/colijnit-product.umd.min.js +0 -16
  89. package/bundles/colijnit-product.umd.min.js.map +0 -1
  90. package/esm2015/app/components/product-info/product-info.component.js +0 -38
  91. package/esm5/app/components/core/header/header.component.js +0 -24
  92. package/esm5/app/components/image-carousel/image-carousel.component.js +0 -170
  93. package/esm5/app/components/product-additional-description/product-additional-description.component.js +0 -59
  94. package/esm5/app/components/product-additional-info/product-additional-info.component.js +0 -142
  95. package/esm5/app/components/product-addtocart/product-addtocart.component.js +0 -133
  96. package/esm5/app/components/product-delivery/product-delivery.component.js +0 -47
  97. package/esm5/app/components/product-description/product-description.component.js +0 -21
  98. package/esm5/app/components/product-documents/product-documents.component.js +0 -31
  99. package/esm5/app/components/product-external-source/product-external-source.component.js +0 -126
  100. package/esm5/app/components/product-external-source/product-external-source.module.js +0 -26
  101. package/esm5/app/components/product-info/product-info.component.js +0 -39
  102. package/esm5/app/components/product-info-tabs/product-info-tabs.component.js +0 -70
  103. package/esm5/app/components/product-page/product-page.component.js +0 -247
  104. package/esm5/app/components/product-page/product-page.module.js +0 -69
  105. package/esm5/app/components/product-price/product-price.component.js +0 -74
  106. package/esm5/app/components/product-properties/product-properties.component.js +0 -60
  107. package/esm5/app/components/product-related/product-related.component.js +0 -78
  108. package/esm5/app/components/product-selector-type/product-selector-type.component.js +0 -54
  109. package/esm5/app/components/product-stock/product-stock.component.js +0 -41
  110. package/esm5/app/components/product-symbols/product-symbols.component.js +0 -43
  111. package/esm5/app/enum/icon.enum.js +0 -19
  112. package/esm5/app/enum/language-code.enum.js +0 -8
  113. package/esm5/app/enum/selector-type.enum.js +0 -7
  114. package/esm5/app/ione-product.component.js +0 -194
  115. package/esm5/app/ione-product.module.js +0 -35
  116. package/esm5/app/model/article-quantity.model.js +0 -7
  117. package/esm5/app/model/icon.js +0 -18
  118. package/esm5/app/model/productSettings.js +0 -18
  119. package/esm5/app/model/render-modes.js +0 -7
  120. package/esm5/app/model/render-parameters.js +0 -12
  121. package/esm5/app/model/settings-options.js +0 -15
  122. package/esm5/app/model/stock-and-delivery.js +0 -10
  123. package/esm5/app/pipe/localize.pipe.js +0 -33
  124. package/esm5/app/pipe/pipe.module.js +0 -23
  125. package/esm5/app/product-version.js +0 -12
  126. package/esm5/app/service/dictionary.service.js +0 -95
  127. package/esm5/app/service/icon-cache.service.js +0 -47
  128. package/esm5/app/service/product-connector-adapter.service.js +0 -248
  129. package/esm5/app/service/product-connector.service.js +0 -141
  130. package/esm5/app/service/product-event.service.js +0 -38
  131. package/esm5/app/service/product-settings.service.js +0 -107
  132. package/esm5/app/utils/bit-utils.js +0 -22
  133. package/esm5/app/utils/json-utils.service.js +0 -42
  134. package/esm5/assets/dictionary/text.properties.js +0 -67
  135. package/esm5/colijnit-product.js +0 -33
  136. package/esm5/public_api.js +0 -5
  137. package/fesm5/colijnit-product.js +0 -2581
  138. package/fesm5/colijnit-product.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export declare class HeaderModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ImageCarouselModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductAdditionalDescriptionModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductAdditionalInfoModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductAddtocartModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductDeliveryModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductDescriptionModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductDocumentModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductInfoTabsModule {
2
+ }
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
2
  import { ProductConnectorService } from '../../service/product-connector.service';
3
3
  import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
4
4
  import { StockAndDelivery } from '../../model/stock-and-delivery';
@@ -21,6 +21,7 @@ export declare class ProductPageComponent implements OnInit, OnDestroy, AfterVie
21
21
  set sku(value: string);
22
22
  get sku(): string;
23
23
  set settings(value: any);
24
+ openStockEvent: EventEmitter<void>;
24
25
  get settings(): any;
25
26
  set fullScreen(value: boolean);
26
27
  get fullScreen(): boolean;
@@ -52,4 +53,5 @@ export declare class ProductPageComponent implements OnInit, OnDestroy, AfterVie
52
53
  showFullScreen(): void;
53
54
  private _handleSettingsLoaded;
54
55
  private _getArticle;
56
+ openStock(): void;
55
57
  }
@@ -0,0 +1,2 @@
1
+ export declare class ProductPriceModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductPropertiesModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductRelatedModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductSelectorTypeModule {
2
+ }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { SafeHtml } from '@angular/platform-browser';
3
3
  import { ProductConnectorService } from '../../service/product-connector.service';
4
4
  import { IconCacheService } from '../../service/icon-cache.service';
@@ -11,6 +11,8 @@ export declare class ProductStockComponent implements OnInit {
11
11
  set stockAndDelivery(value: StockAndDelivery);
12
12
  numberInStock: number;
13
13
  iconData: SafeHtml;
14
+ openStockEvent: EventEmitter<void>;
14
15
  constructor(_iOne: ProductConnectorService, _iconCache: IconCacheService);
15
16
  ngOnInit(): void;
17
+ openStock(): void;
16
18
  }
@@ -0,0 +1,2 @@
1
+ export declare class ProductStockModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ProductSymbolsModule {
2
+ }
@@ -24,6 +24,7 @@ export declare class IoneProductComponent implements OnInit, OnChanges, OnDestro
24
24
  onArticleReceived: EventEmitter<ArticleQuickSel>;
25
25
  onSelectionsReceived: EventEmitter<Selection[]>;
26
26
  onAddToQuote: EventEmitter<string>;
27
+ openStockEvent: EventEmitter<void>;
27
28
  settingsLoaded: boolean;
28
29
  private _settings;
29
30
  private _subs;
@@ -33,4 +34,5 @@ export declare class IoneProductComponent implements OnInit, OnChanges, OnDestro
33
34
  ngOnDestroy(): void;
34
35
  private _handleAnswerInfoReceived;
35
36
  private _handleAddToCart;
37
+ openStock(): void;
36
38
  }