@colijnit/product 1.9.3 → 1.9.5

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 (109) hide show
  1. package/app/components/image-carousel/image-carousel.component.d.ts +4 -4
  2. package/app/components/product-additional-description/product-additional-description.component.d.ts +3 -3
  3. package/app/components/product-additional-info/product-additional-info.component.d.ts +3 -3
  4. package/app/components/product-addtocart/product-addtocart.component.d.ts +6 -4
  5. package/app/components/product-delivery/product-delivery.component.d.ts +2 -2
  6. package/app/components/product-description/product-description.component.d.ts +1 -1
  7. package/app/components/product-documents/product-documents.component.d.ts +1 -1
  8. package/app/components/product-info/product-info.component.d.ts +1 -1
  9. package/app/components/product-info-tabs/product-info-tabs.component.d.ts +3 -3
  10. package/app/components/product-page/product-page.component.d.ts +8 -7
  11. package/app/components/product-properties/product-properties.component.d.ts +1 -1
  12. package/app/components/product-related/product-related.component.d.ts +4 -4
  13. package/app/components/product-stock/product-stock.component.d.ts +2 -2
  14. package/app/ione-product.component.d.ts +8 -8
  15. package/app/ione-product.module.d.ts +2 -2
  16. package/app/model/article-quantity.model.d.ts +1 -1
  17. package/app/product-version.d.ts +6 -0
  18. package/app/service/product-connector-adapter.service.d.ts +27 -0
  19. package/app/service/product-connector.service.d.ts +32 -0
  20. package/app/service/{app-event.service.d.ts → product-event.service.d.ts} +5 -5
  21. package/app/service/product-initializer.service.d.ts +6 -0
  22. package/app/service/product-module.service.d.ts +9 -0
  23. package/app/service/{settings.service.d.ts → product-settings.service.d.ts} +1 -1
  24. package/app/style/product-globals.scss +12 -10
  25. package/bundles/colijnit-product.umd.js +348 -264
  26. package/bundles/colijnit-product.umd.js.map +1 -1
  27. package/bundles/colijnit-product.umd.min.js +2 -2
  28. package/bundles/colijnit-product.umd.min.js.map +1 -1
  29. package/colijnit-product.d.ts +6 -6
  30. package/colijnit-product.metadata.json +1 -1
  31. package/esm2015/app/components/image-carousel/image-carousel.component.js +10 -8
  32. package/esm2015/app/components/product-additional-description/product-additional-description.component.js +3 -3
  33. package/esm2015/app/components/product-additional-info/product-additional-info.component.js +3 -3
  34. package/esm2015/app/components/product-addtocart/product-addtocart.component.js +18 -28
  35. package/esm2015/app/components/product-delivery/product-delivery.component.js +4 -4
  36. package/esm2015/app/components/product-description/product-description.component.js +1 -1
  37. package/esm2015/app/components/product-documents/product-documents.component.js +1 -1
  38. package/esm2015/app/components/product-info/product-info.component.js +1 -1
  39. package/esm2015/app/components/product-info-tabs/product-info-tabs.component.js +3 -3
  40. package/esm2015/app/components/product-page/product-page.component.js +13 -10
  41. package/esm2015/app/components/product-price/product-price.component.js +1 -1
  42. package/esm2015/app/components/product-properties/product-properties.component.js +1 -1
  43. package/esm2015/app/components/product-related/product-related.component.js +10 -6
  44. package/esm2015/app/components/product-stock/product-stock.component.js +3 -3
  45. package/esm2015/app/ione-product.component.js +12 -8
  46. package/esm2015/app/ione-product.module.js +9 -9
  47. package/esm2015/app/model/article-quantity.model.js +1 -1
  48. package/esm2015/app/product-version.js +10 -0
  49. package/esm2015/app/service/dictionary.service.js +2 -2
  50. package/esm2015/app/service/product-connector-adapter.service.js +128 -0
  51. package/esm2015/app/service/product-connector.service.js +108 -0
  52. package/esm2015/app/service/product-event.service.js +41 -0
  53. package/esm2015/app/service/product-initializer.service.js +26 -0
  54. package/esm2015/app/service/product-module.service.js +39 -0
  55. package/esm2015/app/service/product-settings.service.js +144 -0
  56. package/esm2015/colijnit-product.js +7 -7
  57. package/esm2015/public_api.js +2 -1
  58. package/esm5/app/components/image-carousel/image-carousel.component.js +10 -8
  59. package/esm5/app/components/product-additional-description/product-additional-description.component.js +3 -3
  60. package/esm5/app/components/product-additional-info/product-additional-info.component.js +3 -3
  61. package/esm5/app/components/product-addtocart/product-addtocart.component.js +20 -35
  62. package/esm5/app/components/product-delivery/product-delivery.component.js +4 -4
  63. package/esm5/app/components/product-description/product-description.component.js +1 -1
  64. package/esm5/app/components/product-documents/product-documents.component.js +1 -1
  65. package/esm5/app/components/product-info/product-info.component.js +1 -1
  66. package/esm5/app/components/product-info-tabs/product-info-tabs.component.js +3 -3
  67. package/esm5/app/components/product-page/product-page.component.js +13 -10
  68. package/esm5/app/components/product-price/product-price.component.js +1 -1
  69. package/esm5/app/components/product-properties/product-properties.component.js +1 -1
  70. package/esm5/app/components/product-related/product-related.component.js +10 -6
  71. package/esm5/app/components/product-stock/product-stock.component.js +3 -3
  72. package/esm5/app/ione-product.component.js +12 -8
  73. package/esm5/app/ione-product.module.js +9 -9
  74. package/esm5/app/model/article-quantity.model.js +1 -1
  75. package/esm5/app/product-version.js +12 -0
  76. package/esm5/app/service/dictionary.service.js +2 -2
  77. package/esm5/app/service/product-connector-adapter.service.js +197 -0
  78. package/esm5/app/service/product-connector.service.js +128 -0
  79. package/esm5/app/service/product-event.service.js +42 -0
  80. package/esm5/app/service/product-initializer.service.js +29 -0
  81. package/esm5/app/service/product-module.service.js +50 -0
  82. package/esm5/app/service/product-settings.service.js +167 -0
  83. package/esm5/colijnit-product.js +7 -7
  84. package/esm5/public_api.js +2 -1
  85. package/fesm2015/colijnit-product.js +235 -207
  86. package/fesm2015/colijnit-product.js.map +1 -1
  87. package/fesm5/colijnit-product.js +345 -256
  88. package/fesm5/colijnit-product.js.map +1 -1
  89. package/package.json +7 -5
  90. package/public_api.d.ts +1 -0
  91. package/app/service/app-initializer.service.d.ts +0 -6
  92. package/app/service/i-one-connector-adapter.service.d.ts +0 -27
  93. package/app/service/i-one-controller.service.d.ts +0 -37
  94. package/app/service/module.service.d.ts +0 -9
  95. package/app/utils/string-utils.d.ts +0 -21
  96. package/esm2015/app/service/app-event.service.js +0 -41
  97. package/esm2015/app/service/app-initializer.service.js +0 -26
  98. package/esm2015/app/service/i-one-connector-adapter.service.js +0 -58
  99. package/esm2015/app/service/i-one-controller.service.js +0 -117
  100. package/esm2015/app/service/module.service.js +0 -39
  101. package/esm2015/app/service/settings.service.js +0 -136
  102. package/esm2015/app/utils/string-utils.js +0 -51
  103. package/esm5/app/service/app-event.service.js +0 -42
  104. package/esm5/app/service/app-initializer.service.js +0 -29
  105. package/esm5/app/service/i-one-connector-adapter.service.js +0 -61
  106. package/esm5/app/service/i-one-controller.service.js +0 -131
  107. package/esm5/app/service/module.service.js +0 -50
  108. package/esm5/app/service/settings.service.js +0 -159
  109. package/esm5/app/utils/string-utils.js +0 -59
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { CoDocument } from '@colijnit//ioneconnector/build/model/co-document';
3
- import { IOneControllerService } from '../../service/i-one-controller.service';
4
- import { AppEventService } from '../../service/app-event.service';
2
+ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
3
+ import { ProductConnectorService } from '../../service/product-connector.service';
4
+ import { ProductEventService } from '../../service/product-event.service';
5
5
  import { IconEnum } from '../../enum/icon.enum';
6
6
  import { IconCacheService } from '../../service/icon-cache.service';
7
7
  import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
@@ -28,7 +28,7 @@ export declare class ImageCarouselComponent implements OnInit, OnDestroy {
28
28
  private _currentIndex;
29
29
  private _images;
30
30
  private _subs;
31
- constructor(_ione: IOneControllerService, _appEventService: AppEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer, iconCache: IconCacheService);
31
+ constructor(_ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer, iconCache: IconCacheService);
32
32
  ngOnInit(): void;
33
33
  ngOnDestroy(): void;
34
34
  handleThumbClick(index: number): void;
@@ -1,13 +1,13 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ArticleFullObject } from '@colijnit/ioneconnector/build/model/article-full-object';
3
- import { AppEventService } from '../../service/app-event.service';
2
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
3
+ import { ProductEventService } from '../../service/product-event.service';
4
4
  export declare class ProductAdditionalDescriptionComponent implements OnInit {
5
5
  private _appEventService;
6
6
  set article(value: ArticleFullObject);
7
7
  get article(): ArticleFullObject;
8
8
  description: string;
9
9
  private _article;
10
- constructor(_appEventService: AppEventService);
10
+ constructor(_appEventService: ProductEventService);
11
11
  ngOnInit(): void;
12
12
  onReadMore(): void;
13
13
  private _prepareDescription;
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import { ArticleFullObject } from '@colijnit/ioneconnector/build/model/article-full-object';
4
- import { ModuleService } from '../../service/module.service';
3
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
4
+ import { ProductModuleService } from '../../service/product-module.service';
5
5
  export declare class ProductAdditionalInfoComponent implements OnInit {
6
6
  private _sanitizer;
7
7
  private _moduleService;
@@ -12,7 +12,7 @@ export declare class ProductAdditionalInfoComponent implements OnInit {
12
12
  textParts: SafeHtml[];
13
13
  info: string;
14
14
  private _article;
15
- constructor(_sanitizer: DomSanitizer, _moduleService: ModuleService, _changeDetector: ChangeDetectorRef);
15
+ constructor(_sanitizer: DomSanitizer, _moduleService: ProductModuleService, _changeDetector: ChangeDetectorRef);
16
16
  ngOnInit(): void;
17
17
  private _getTextsSuperArticle;
18
18
  private _prepareArticleTexts;
@@ -1,13 +1,15 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { IconCacheService } from '../../service/icon-cache.service';
3
3
  import { IconEnum } from '../../enum/icon.enum';
4
- import { IOneControllerService } from '../../service/i-one-controller.service';
5
- import { AppEventService } from '../../service/app-event.service';
6
- import { ArticleFullObject } from '@colijnit/ioneconnector/build/model/article-full-object';
4
+ import { ProductConnectorService } from '../../service/product-connector.service';
5
+ import { ProductEventService } from '../../service/product-event.service';
6
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
7
+ import { ProductSettingsService } from '../../service/product-settings.service';
7
8
  export declare class ProductAddtocartComponent implements OnInit, OnDestroy {
8
9
  iconCache: IconCacheService;
9
10
  private _ioneControllerService;
10
11
  private _appEventService;
12
+ private _settingsService;
11
13
  readonly icon: typeof IconEnum;
12
14
  addToCartButton: ElementRef;
13
15
  article: ArticleFullObject;
@@ -21,7 +23,7 @@ export declare class ProductAddtocartComponent implements OnInit, OnDestroy {
21
23
  addToQuoteClick: EventEmitter<number>;
22
24
  showQuoteButton: boolean;
23
25
  private _quantity;
24
- constructor(iconCache: IconCacheService, _ioneControllerService: IOneControllerService, _appEventService: AppEventService);
26
+ constructor(iconCache: IconCacheService, _ioneControllerService: ProductConnectorService, _appEventService: ProductEventService, _settingsService: ProductSettingsService);
25
27
  ngOnInit(): void;
26
28
  ngOnDestroy(): void;
27
29
  handleAddToCartClick(quantity: number): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { IOneControllerService } from '../../service/i-one-controller.service';
2
+ import { ProductConnectorService } from '../../service/product-connector.service';
3
3
  import { IconCacheService } from '../../service/icon-cache.service';
4
4
  import { SafeHtml } from '@angular/platform-browser';
5
5
  import { IconEnum } from '../../enum/icon.enum';
@@ -13,6 +13,6 @@ export declare class ProductDeliveryComponent implements OnInit {
13
13
  set stockAndDelivery(value: StockAndDelivery);
14
14
  deliveryDescription: string;
15
15
  iconData: SafeHtml;
16
- constructor(_localizePipe: LocalizePipe, _iOne: IOneControllerService, _iconCache: IconCacheService);
16
+ constructor(_localizePipe: LocalizePipe, _iOne: ProductConnectorService, _iconCache: IconCacheService);
17
17
  ngOnInit(): void;
18
18
  }
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ArticleFullObject } from '@colijnit//ioneconnector/build/model/article-full-object';
2
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
3
3
  export declare class ProductDescriptionComponent implements OnInit {
4
4
  article: ArticleFullObject;
5
5
  constructor();
@@ -1,4 +1,4 @@
1
- import { CoDocument } from '@colijnit//ioneconnector/build/model/co-document';
1
+ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
2
2
  import { IconEnum } from '../../enum/icon.enum';
3
3
  import { IconCacheService } from '../../service/icon-cache.service';
4
4
  export declare class ProductDocumentsComponent {
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ArticleFullObject } from '@colijnit//ioneconnector/build/model/article-full-object';
2
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
3
3
  export declare enum TabType {
4
4
  Additional = "additional",
5
5
  Properties = "properties"
@@ -1,6 +1,6 @@
1
1
  import { ElementRef, OnDestroy } from '@angular/core';
2
- import { ArticleFullObject } from '@colijnit/ioneconnector/build/model/article-full-object';
3
- import { AppEventService } from '../../service/app-event.service';
2
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
3
+ import { ProductEventService } from '../../service/product-event.service';
4
4
  export declare class ProductInfoTabsComponent implements OnDestroy {
5
5
  private _appEventService;
6
6
  activeTab: number;
@@ -10,7 +10,7 @@ export declare class ProductInfoTabsComponent implements OnDestroy {
10
10
  articleObject: ArticleFullObject;
11
11
  set article(value: ArticleFullObject);
12
12
  private _subs;
13
- constructor(_appEventService: AppEventService);
13
+ constructor(_appEventService: ProductEventService);
14
14
  ngOnDestroy(): void;
15
15
  updateTab(tabIndex: number): void;
16
16
  updateHeight(tabIndex: number): void;
@@ -1,19 +1,19 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { IOneControllerService } from '../../service/i-one-controller.service';
3
- import { ArticleFullObject } from '@colijnit//ioneconnector/build/model/article-full-object';
2
+ import { ProductConnectorService } from '../../service/product-connector.service';
3
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
4
4
  import { StockAndDelivery } from '../../model/stock-and-delivery';
5
5
  import { SelectorType } from '../../enum/selector-type.enum';
6
6
  import { IconEnum } from '../../enum/icon.enum';
7
7
  import { IconCacheService } from '../../service/icon-cache.service';
8
- import { SettingsService } from '../../service/settings.service';
9
- import { AppEventService } from '../../service/app-event.service';
8
+ import { ProductSettingsService } from '../../service/product-settings.service';
9
+ import { ProductEventService } from '../../service/product-event.service';
10
10
  export declare class ProductPageComponent implements OnInit, OnDestroy, AfterViewInit {
11
11
  private _ione;
12
12
  private _renderer;
13
13
  private _changeDetector;
14
14
  iconCache: IconCacheService;
15
- settingsService: SettingsService;
16
- appEventService: AppEventService;
15
+ settingsService: ProductSettingsService;
16
+ appEventService: ProductEventService;
17
17
  readonly icon: typeof IconEnum;
18
18
  configurator: ElementRef;
19
19
  selections: ElementRef;
@@ -34,12 +34,13 @@ export declare class ProductPageComponent implements OnInit, OnDestroy, AfterVie
34
34
  show3D: boolean;
35
35
  configuring: boolean;
36
36
  fullscreenAnimationEnd: boolean;
37
+ settingsLoaded: boolean;
37
38
  private _sku;
38
39
  private _initializedSub;
39
40
  private _fullScreen;
40
41
  private _currentView;
41
42
  private _subs;
42
- constructor(_ione: IOneControllerService, _renderer: Renderer2, _changeDetector: ChangeDetectorRef, iconCache: IconCacheService, settingsService: SettingsService, appEventService: AppEventService);
43
+ constructor(_ione: ProductConnectorService, _renderer: Renderer2, _changeDetector: ChangeDetectorRef, iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService);
43
44
  ngOnInit(): void;
44
45
  ngAfterViewInit(): void;
45
46
  ngOnDestroy(): void;
@@ -1,5 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { ArticleFullObject } from '@colijnit//ioneconnector/build/model/article-full-object';
2
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
3
3
  export declare const propertyMap: Map<string, string>;
4
4
  export declare class ProductPropertiesComponent implements OnInit {
5
5
  set article(value: ArticleFullObject);
@@ -1,6 +1,6 @@
1
- import { ArticleListObject } from '@colijnit//ioneconnector/build/model/article-list-object';
2
- import { IOneControllerService } from '../../service/i-one-controller.service';
3
- import { AppEventService } from '../../service/app-event.service';
1
+ import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
2
+ import { ProductConnectorService } from '../../service/product-connector.service';
3
+ import { ProductEventService } from '../../service/product-event.service';
4
4
  export declare class ProductRelatedComponent {
5
5
  private _iOne;
6
6
  private _appEventService;
@@ -10,7 +10,7 @@ export declare class ProductRelatedComponent {
10
10
  set articles(value: ArticleListObject[]);
11
11
  get articles(): ArticleListObject[];
12
12
  private _articles;
13
- constructor(_iOne: IOneControllerService, _appEventService: AppEventService);
13
+ constructor(_iOne: ProductConnectorService, _appEventService: ProductEventService);
14
14
  handleContentClick(article: ArticleListObject): void;
15
15
  private _loadImages;
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { SafeHtml } from '@angular/platform-browser';
3
- import { IOneControllerService } from '../../service/i-one-controller.service';
3
+ import { ProductConnectorService } from '../../service/product-connector.service';
4
4
  import { IconCacheService } from '../../service/icon-cache.service';
5
5
  import { IconEnum } from '../../enum/icon.enum';
6
6
  import { StockAndDelivery } from '../../model/stock-and-delivery';
@@ -11,6 +11,6 @@ export declare class ProductStockComponent implements OnInit {
11
11
  set stockAndDelivery(value: StockAndDelivery);
12
12
  numberInStock: number;
13
13
  iconData: SafeHtml;
14
- constructor(_iOne: IOneControllerService, _iconCache: IconCacheService);
14
+ constructor(_iOne: ProductConnectorService, _iconCache: IconCacheService);
15
15
  ngOnInit(): void;
16
16
  }
@@ -1,12 +1,12 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { JsonUtilsService } from './utils/json-utils.service';
3
- import { IOneControllerService } from './service/i-one-controller.service';
3
+ import { ProductConnectorService } from './service/product-connector.service';
4
4
  import { DictionaryService } from './service/dictionary.service';
5
- import { AppEventService } from './service/app-event.service';
6
- import { ArticleListObject } from '@colijnit/ioneconnector/build/model/article-list-object';
7
- import { SettingsService } from './service/settings.service';
8
- import { Article } from '@colijnit//ioneconnector/build/model/article';
9
- import { Selection } from '@colijnit/ioneconnector/build/model/selection';
5
+ import { ProductEventService } from './service/product-event.service';
6
+ import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
7
+ import { ProductSettingsService } from './service/product-settings.service';
8
+ import { Selection } from '@colijnit/articleapi/build/model/selection';
9
+ import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
10
10
  export declare class IoneProductComponent implements OnChanges, OnDestroy {
11
11
  private _dictionary;
12
12
  private _jsonUtils;
@@ -21,13 +21,13 @@ export declare class IoneProductComponent implements OnChanges, OnDestroy {
21
21
  forceRenderImage: EventEmitter<void>;
22
22
  onAlternativeClick: EventEmitter<ArticleListObject>;
23
23
  onArticleInfoReceived: EventEmitter<string>;
24
- onArticleReceived: EventEmitter<Article>;
24
+ onArticleReceived: EventEmitter<ArticleQuickSel>;
25
25
  onSelectionsReceived: EventEmitter<Selection[]>;
26
26
  onAddToQuote: EventEmitter<string>;
27
27
  upAndLoaded: boolean;
28
28
  private _settings;
29
29
  private _subs;
30
- constructor(_dictionary: DictionaryService, _jsonUtils: JsonUtilsService, _ione: IOneControllerService, _changeDetector: ChangeDetectorRef, _appEventService: AppEventService, _settingsService: SettingsService);
30
+ constructor(_dictionary: DictionaryService, _jsonUtils: JsonUtilsService, _ione: ProductConnectorService, _changeDetector: ChangeDetectorRef, _appEventService: ProductEventService, _settingsService: ProductSettingsService);
31
31
  ngOnChanges(changes: SimpleChanges): void;
32
32
  ngOnDestroy(): void;
33
33
  private _handleSettingsLoaded;
@@ -1,4 +1,4 @@
1
- import { AppInitializerService } from './service/app-initializer.service';
2
- export declare function initializeApp(context: AppInitializerService): () => Promise<void>;
1
+ import { ProductInitializerService } from './service/product-initializer.service';
2
+ export declare function initializeApp(context: ProductInitializerService): () => Promise<void>;
3
3
  export declare class IoneProductModule {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ArticleFullObject } from '@colijnit/ioneconnector/build/model/article-full-object';
1
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
2
2
  export declare class ArticleQuantity {
3
3
  article: ArticleFullObject;
4
4
  quantity: number;
@@ -0,0 +1,6 @@
1
+ export declare class Version {
2
+ name: string;
3
+ description: string;
4
+ symVer: string;
5
+ publishDate: string;
6
+ }
@@ -0,0 +1,27 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
4
+ import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
5
+ import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
6
+ import { Articles } from '@colijnit/articleapi/build/articles';
7
+ import { Options } from '@colijnit/ioneconnector/build/model/options';
8
+ import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
9
+ import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
10
+ export declare class ProductConnectorAdapterService implements OnDestroy {
11
+ readonly showLoader: Subject<boolean>;
12
+ articleConnector?: Articles;
13
+ private _boFactory;
14
+ constructor();
15
+ ngOnDestroy(): void;
16
+ initConnector(options: Options): void;
17
+ setInstance(instanceId: string): void;
18
+ getDeliveryPrognosis(goodId: number, branchNr?: string): Promise<any>;
19
+ getSelectorDeliveryDate(): Promise<DeliveryPrognosis>;
20
+ getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
21
+ getJsonConfiguredArticles(configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
22
+ getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
23
+ getGoodIdFromArticleNr(sku: string): Promise<number>;
24
+ getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
25
+ getSuperArticle(id: string, branch?: string): Promise<SuperArticle>;
26
+ getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
27
+ }
@@ -0,0 +1,32 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { ProductConnectorAdapterService } from './product-connector-adapter.service';
4
+ import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
5
+ import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
6
+ import { ProductSettingsService } from './product-settings.service';
7
+ import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
8
+ import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
9
+ import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
10
+ export declare class ProductConnectorService implements OnDestroy {
11
+ connector: ProductConnectorAdapterService;
12
+ private _settingsService;
13
+ get shouldShowLoader(): boolean;
14
+ controllerInitialized: BehaviorSubject<boolean>;
15
+ private _shouldShowLoader;
16
+ private _initializing;
17
+ private _initialized;
18
+ private readonly connectorOptions;
19
+ private readonly subs;
20
+ constructor(connector: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
21
+ ngOnDestroy(): void;
22
+ initDefaultDevelopTestConnection(): Promise<void>;
23
+ setInstance(instanceId: string): void;
24
+ getFullArticle(sku: string): Promise<ArticleFullObject>;
25
+ getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
26
+ getDeliveryPrognosis(goodId: number): Promise<DeliveryPrognosis>;
27
+ getSelectorDeliveryDate(): Promise<DeliveryPrognosis>;
28
+ getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
29
+ getSuperArticle(id: string): Promise<SuperArticle>;
30
+ getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
31
+ onShowLoaderChange(showLoader: boolean): void;
32
+ }
@@ -1,13 +1,13 @@
1
1
  import { Subject } from 'rxjs';
2
- import { ArticleListObject } from '@colijnit/ioneconnector/build/model/article-list-object';
3
- import { Article } from '@colijnit//ioneconnector/build/model/article';
4
- import { Selection } from '@colijnit/ioneconnector/build/model/selection';
5
- export declare class AppEventService {
2
+ import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
3
+ import { Selection } from '@colijnit/articleapi/build/model/selection';
4
+ import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
5
+ export declare class ProductEventService {
6
6
  onAddToCart: Subject<string>;
7
7
  onAlternativeClick: Subject<ArticleListObject>;
8
8
  onAddToQuote: Subject<string>;
9
9
  onForceRenderImage: Subject<void>;
10
- onArticleReceived: Subject<Article>;
10
+ onArticleReceived: Subject<ArticleQuickSel>;
11
11
  onSelectionsReceived: Subject<Selection[]>;
12
12
  onImageReceived: Subject<string>;
13
13
  onRenderStarted: Subject<void>;
@@ -0,0 +1,6 @@
1
+ import { ProductSettingsService } from './product-settings.service';
2
+ export declare class ProductInitializerService {
3
+ private _settingsService;
4
+ constructor(_settingsService: ProductSettingsService);
5
+ initializeApp(): Promise<void>;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { ProductConnectorService } from './product-connector.service';
2
+ import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
3
+ export declare class ProductModuleService {
4
+ private _iOneConnectorService;
5
+ private _superArticles;
6
+ constructor(_iOneConnectorService: ProductConnectorService);
7
+ getArticle(id: string): Promise<SuperArticle>;
8
+ private _getArticle;
9
+ }
@@ -2,7 +2,7 @@ import { BehaviorSubject } from 'rxjs';
2
2
  import { JsonUtilsService } from '../utils/json-utils.service';
3
3
  import { DictionaryService } from './dictionary.service';
4
4
  import { Settings } from '../model/settings';
5
- export declare class SettingsService {
5
+ export declare class ProductSettingsService {
6
6
  private _jsonUtilsService;
7
7
  private _dictionaryService;
8
8
  set settings(value: Settings);
@@ -140,20 +140,22 @@ h3 {
140
140
  }
141
141
  }
142
142
  .threed-configurator {
143
+ position: relative;
143
144
  height: 540px;
144
145
  width: inherit;
145
146
  z-index: 1;
146
147
  .layer {
147
- height: 100% !important;
148
- width: 100% !important;
149
- .viewer {
150
- height: 100% !important;
151
- width: 100% !important;
152
- canvas {
153
- height: 100% !important;
154
- width: 100% !important;
155
- }
156
- }
148
+ position: relative;
149
+ // height: 100% !important;
150
+ // width: 100% !important;
151
+ // .viewer {
152
+ // height: 100% !important;
153
+ // width: 100% !important;
154
+ // canvas {
155
+ // height: 100% !important;
156
+ // width: 100% !important;
157
+ // }
158
+ // }
157
159
  }
158
160
  &:not(.configurator-full-screen) {
159
161
  max-height: 540px;