@colijnit/product 1.9.4 → 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.
@@ -7,9 +7,9 @@ import { Options } from '@colijnit/ioneconnector/build/model/options';
7
7
  import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
8
8
  import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
9
9
  import { Articles } from '@colijnit/articleapi/build/articles';
10
- import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/factory/business-object-factory';
11
10
  import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
12
11
  import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
12
+ import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
13
13
  import { HttpClient } from '@angular/common/http';
14
14
  import { StringUtils } from '@colijnit/ioneconnector/build/utils/string-utils';
15
15
  import { DomSanitizer } from '@angular/platform-browser';
@@ -22,8 +22,8 @@ var Version = /** @class */ (function () {
22
22
  function Version() {
23
23
  this.name = "@colijnit/product";
24
24
  this.description = "Product detail page project for iOne";
25
- this.symVer = "1.9.4";
26
- this.publishDate = "20-4-2023 15:19:25";
25
+ this.symVer = "1.9.5";
26
+ this.publishDate = "21-6-2023 11:47:53";
27
27
  }
28
28
  return Version;
29
29
  }());
@@ -499,9 +499,11 @@ var ProductSettingsService = /** @class */ (function () {
499
499
  return [4 /*yield*/, this._jsonUtilsService.readJsonFile('product-settings.json')];
500
500
  case 1:
501
501
  jsonSettings = _a.sent();
502
- this.settings = Object.assign(new Settings(), jsonSettings);
503
- this.settings.options = Object.assign(new SettingsOptions(), this.settings.options);
504
- this.settingsFinished();
502
+ if (jsonSettings) {
503
+ this.settings = Object.assign(new Settings(), jsonSettings);
504
+ this.settings.options = Object.assign(new SettingsOptions(), this.settings.options);
505
+ this.settingsFinished();
506
+ }
505
507
  return [3 /*break*/, 3];
506
508
  case 2:
507
509
  this.settings = Object.assign(new Settings(), settings);
@@ -2028,6 +2030,9 @@ var IoneProductComponent = /** @class */ (function () {
2028
2030
  // this.sku = 'CF-22346001';
2029
2031
  // this.sku = '104';
2030
2032
  // this.sku = '1000561986';
2033
+ // this.sku = '1000234793';
2034
+ // this.sku = '1066';
2035
+ // this.sku = '104';
2031
2036
  var _this = this;
2032
2037
  this._dictionary = _dictionary;
2033
2038
  this._jsonUtils = _jsonUtils;