@colijnit/product 2.9.0 → 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 (142) 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 +6 -2
  19. package/app/ione-product.module.d.ts +0 -2
  20. package/bundles/colijnit-product.umd.js +1467 -998
  21. package/bundles/colijnit-product.umd.js.map +1 -1
  22. package/colijnit-product.d.ts +40 -28
  23. package/colijnit-product.metadata.json +1 -1
  24. package/esm2015/app/components/core/header/header.component.js +21 -17
  25. package/esm2015/app/components/core/header/header.module.js +19 -0
  26. package/esm2015/app/components/image-carousel/image-carousel.component.js +51 -35
  27. package/esm2015/app/components/image-carousel/image-carousel.module.js +23 -0
  28. package/esm2015/app/components/product-additional-description/product-additional-description.component.js +20 -15
  29. package/esm2015/app/components/product-additional-description/product-additional-description.module.js +21 -0
  30. package/esm2015/app/components/product-additional-info/product-additional-info.component.js +22 -20
  31. package/esm2015/app/components/product-additional-info/product-additional-info.module.js +21 -0
  32. package/esm2015/app/components/product-addtocart/product-addtocart.component.js +43 -40
  33. package/esm2015/app/components/product-addtocart/product-addtocart.module.js +24 -0
  34. package/esm2015/app/components/product-delivery/product-delivery.component.js +22 -15
  35. package/esm2015/app/components/product-delivery/product-delivery.module.js +23 -0
  36. package/esm2015/app/components/product-description/product-description.component.js +18 -14
  37. package/esm2015/app/components/product-description/product-description.module.js +19 -0
  38. package/esm2015/app/components/product-documents/product-document.module.js +25 -0
  39. package/esm2015/app/components/product-documents/product-documents.component.js +19 -18
  40. package/esm2015/app/components/product-external-source/product-external-source.component.js +32 -45
  41. package/esm2015/app/components/product-external-source/product-external-source.module.js +17 -19
  42. package/esm2015/app/components/product-info-tabs/product-info-tabs.component.js +36 -18
  43. package/esm2015/app/components/product-info-tabs/product-info-tabs.module.js +29 -0
  44. package/esm2015/app/components/product-page/product-page.component.js +56 -60
  45. package/esm2015/app/components/product-page/product-page.module.js +40 -62
  46. package/esm2015/app/components/product-price/product-price.component.js +26 -19
  47. package/esm2015/app/components/product-price/product-price.module.js +23 -0
  48. package/esm2015/app/components/product-properties/product-properties.component.js +24 -17
  49. package/esm2015/app/components/product-properties/product-properties.module.js +21 -0
  50. package/esm2015/app/components/product-related/product-related.component.js +33 -24
  51. package/esm2015/app/components/product-related/product-related.module.js +24 -0
  52. package/esm2015/app/components/product-selector-type/product-selector-type.component.js +32 -28
  53. package/esm2015/app/components/product-selector-type/product-selector-type.module.js +23 -0
  54. package/esm2015/app/components/product-stock/product-stock.component.js +29 -16
  55. package/esm2015/app/components/product-stock/product-stock.module.js +23 -0
  56. package/esm2015/app/components/product-symbols/product-symbols.component.js +28 -17
  57. package/esm2015/app/components/product-symbols/product-symbols.module.js +26 -0
  58. package/esm2015/app/enum/icon.enum.js +1 -1
  59. package/esm2015/app/enum/language-code.enum.js +1 -1
  60. package/esm2015/app/enum/selector-type.enum.js +1 -1
  61. package/esm2015/app/ione-product.component.js +58 -56
  62. package/esm2015/app/ione-product.module.js +21 -39
  63. package/esm2015/app/model/article-quantity.model.js +1 -1
  64. package/esm2015/app/model/icon.js +1 -1
  65. package/esm2015/app/model/productSettings.js +1 -1
  66. package/esm2015/app/model/render-modes.js +1 -1
  67. package/esm2015/app/model/render-parameters.js +1 -1
  68. package/esm2015/app/model/settings-options.js +1 -1
  69. package/esm2015/app/model/stock-and-delivery.js +1 -1
  70. package/esm2015/app/pipe/localize.pipe.js +8 -12
  71. package/esm2015/app/pipe/pipe.module.js +16 -18
  72. package/esm2015/app/product-version.js +3 -3
  73. package/esm2015/app/service/dictionary.service.js +10 -11
  74. package/esm2015/app/service/icon-cache.service.js +10 -12
  75. package/esm2015/app/service/product-connector-adapter.service.js +8 -8
  76. package/esm2015/app/service/product-connector.service.js +7 -8
  77. package/esm2015/app/service/product-event.service.js +12 -20
  78. package/esm2015/app/service/product-settings.service.js +7 -8
  79. package/esm2015/app/utils/bit-utils.js +1 -1
  80. package/esm2015/app/utils/json-utils.service.js +9 -10
  81. package/esm2015/assets/dictionary/text.properties.js +1 -1
  82. package/esm2015/colijnit-product.js +41 -29
  83. package/esm2015/public_api.js +2 -1
  84. package/fesm2015/colijnit-product.js +1070 -756
  85. package/fesm2015/colijnit-product.js.map +1 -1
  86. package/package.json +15 -18
  87. package/public_api.d.ts +1 -0
  88. package/app/components/product-info/product-info.component.d.ts +0 -14
  89. package/app/service/product-initializer.service.d.ts +0 -6
  90. package/bundles/colijnit-product.umd.min.js +0 -16
  91. package/bundles/colijnit-product.umd.min.js.map +0 -1
  92. package/esm2015/app/components/product-info/product-info.component.js +0 -38
  93. package/esm2015/app/service/product-initializer.service.js +0 -26
  94. package/esm5/app/components/core/header/header.component.js +0 -24
  95. package/esm5/app/components/image-carousel/image-carousel.component.js +0 -170
  96. package/esm5/app/components/product-additional-description/product-additional-description.component.js +0 -59
  97. package/esm5/app/components/product-additional-info/product-additional-info.component.js +0 -142
  98. package/esm5/app/components/product-addtocart/product-addtocart.component.js +0 -133
  99. package/esm5/app/components/product-delivery/product-delivery.component.js +0 -47
  100. package/esm5/app/components/product-description/product-description.component.js +0 -21
  101. package/esm5/app/components/product-documents/product-documents.component.js +0 -31
  102. package/esm5/app/components/product-external-source/product-external-source.component.js +0 -126
  103. package/esm5/app/components/product-external-source/product-external-source.module.js +0 -26
  104. package/esm5/app/components/product-info/product-info.component.js +0 -39
  105. package/esm5/app/components/product-info-tabs/product-info-tabs.component.js +0 -70
  106. package/esm5/app/components/product-page/product-page.component.js +0 -247
  107. package/esm5/app/components/product-page/product-page.module.js +0 -69
  108. package/esm5/app/components/product-price/product-price.component.js +0 -74
  109. package/esm5/app/components/product-properties/product-properties.component.js +0 -60
  110. package/esm5/app/components/product-related/product-related.component.js +0 -78
  111. package/esm5/app/components/product-selector-type/product-selector-type.component.js +0 -54
  112. package/esm5/app/components/product-stock/product-stock.component.js +0 -41
  113. package/esm5/app/components/product-symbols/product-symbols.component.js +0 -43
  114. package/esm5/app/enum/icon.enum.js +0 -19
  115. package/esm5/app/enum/language-code.enum.js +0 -8
  116. package/esm5/app/enum/selector-type.enum.js +0 -7
  117. package/esm5/app/ione-product.component.js +0 -161
  118. package/esm5/app/ione-product.module.js +0 -47
  119. package/esm5/app/model/article-quantity.model.js +0 -7
  120. package/esm5/app/model/icon.js +0 -18
  121. package/esm5/app/model/productSettings.js +0 -18
  122. package/esm5/app/model/render-modes.js +0 -7
  123. package/esm5/app/model/render-parameters.js +0 -12
  124. package/esm5/app/model/settings-options.js +0 -15
  125. package/esm5/app/model/stock-and-delivery.js +0 -10
  126. package/esm5/app/pipe/localize.pipe.js +0 -33
  127. package/esm5/app/pipe/pipe.module.js +0 -23
  128. package/esm5/app/product-version.js +0 -12
  129. package/esm5/app/service/dictionary.service.js +0 -95
  130. package/esm5/app/service/icon-cache.service.js +0 -47
  131. package/esm5/app/service/product-connector-adapter.service.js +0 -248
  132. package/esm5/app/service/product-connector.service.js +0 -141
  133. package/esm5/app/service/product-event.service.js +0 -38
  134. package/esm5/app/service/product-initializer.service.js +0 -29
  135. package/esm5/app/service/product-settings.service.js +0 -107
  136. package/esm5/app/utils/bit-utils.js +0 -22
  137. package/esm5/app/utils/json-utils.service.js +0 -42
  138. package/esm5/assets/dictionary/text.properties.js +0 -67
  139. package/esm5/colijnit-product.js +0 -34
  140. package/esm5/public_api.js +0 -5
  141. package/fesm5/colijnit-product.js +0 -2582
  142. 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
+ }
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { JsonUtilsService } from './utils/json-utils.service';
3
3
  import { ProductConnectorService } from './service/product-connector.service';
4
4
  import { DictionaryService } from './service/dictionary.service';
@@ -7,7 +7,7 @@ import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list
7
7
  import { ProductSettingsService } from './service/product-settings.service';
8
8
  import { Selection } from '@colijnit/articleapi/build/model/selection';
9
9
  import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
10
- export declare class IoneProductComponent implements OnChanges, OnDestroy {
10
+ export declare class IoneProductComponent implements OnInit, OnChanges, OnDestroy {
11
11
  private _dictionary;
12
12
  private _jsonUtils;
13
13
  private _ione;
@@ -24,11 +24,15 @@ export declare class IoneProductComponent implements OnChanges, OnDestroy {
24
24
  onArticleReceived: EventEmitter<ArticleQuickSel>;
25
25
  onSelectionsReceived: EventEmitter<Selection[]>;
26
26
  onAddToQuote: EventEmitter<string>;
27
+ openStockEvent: EventEmitter<void>;
28
+ settingsLoaded: boolean;
27
29
  private _settings;
28
30
  private _subs;
29
31
  constructor(_dictionary: DictionaryService, _jsonUtils: JsonUtilsService, _ione: ProductConnectorService, _changeDetector: ChangeDetectorRef, _appEventService: ProductEventService, _settingsService: ProductSettingsService);
32
+ ngOnInit(): Promise<void>;
30
33
  ngOnChanges(changes: SimpleChanges): void;
31
34
  ngOnDestroy(): void;
32
35
  private _handleAnswerInfoReceived;
33
36
  private _handleAddToCart;
37
+ openStock(): void;
34
38
  }
@@ -1,4 +1,2 @@
1
- import { ProductInitializerService } from './service/product-initializer.service';
2
- export declare function initializeApp(context: ProductInitializerService): () => Promise<void>;
3
1
  export declare class IoneProductModule {
4
2
  }