@veloceapps/sdk 4.0.3 → 4.0.5-1

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 (27) hide show
  1. package/bundles/veloce-sdk-cms.umd.js +3 -4
  2. package/bundles/veloce-sdk-cms.umd.js.map +1 -1
  3. package/bundles/veloce-sdk-core.umd.js +10 -5
  4. package/bundles/veloce-sdk-core.umd.js.map +1 -1
  5. package/bundles/veloce-sdk.umd.js +8 -3
  6. package/bundles/veloce-sdk.umd.js.map +1 -1
  7. package/cms/vendor-map.d.ts +126 -117
  8. package/core/modules/configuration/services/configuration-runtime.service.d.ts +1 -0
  9. package/core/modules/configuration/services/configuration.service.d.ts +2 -0
  10. package/core/modules/configuration/types/configuration-runtime.types.d.ts +15 -0
  11. package/esm2015/cms/components/preview/preview.component.js +4 -5
  12. package/esm2015/cms/vendor-map.js +3 -2
  13. package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +7 -5
  14. package/esm2015/core/modules/configuration/services/configuration.service.js +4 -1
  15. package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +1 -1
  16. package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +6 -3
  17. package/esm2015/src/components/header/header.component.js +4 -2
  18. package/esm2015/src/components/header/header.types.js +1 -1
  19. package/fesm2015/veloce-sdk-cms.js +5 -5
  20. package/fesm2015/veloce-sdk-cms.js.map +1 -1
  21. package/fesm2015/veloce-sdk-core.js +9 -4
  22. package/fesm2015/veloce-sdk-core.js.map +1 -1
  23. package/fesm2015/veloce-sdk.js +8 -3
  24. package/fesm2015/veloce-sdk.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/components/header/cart-overlay/cart-preview.component.d.ts +1 -0
  27. package/src/components/header/header.types.d.ts +1 -0
@@ -1443,6 +1443,7 @@
1443
1443
  CatalogApiService: api.CatalogApiService,
1444
1444
  DeltaApiService: api.DeltaApiService,
1445
1445
  PicklistsApiService: api.PicklistsApiService,
1446
+ PriceApiService: api.PriceApiService,
1446
1447
  },
1447
1448
  '@angular/core': i0__namespace,
1448
1449
  '@angular/forms': angularForms__namespace,
@@ -1645,7 +1646,6 @@
1645
1646
  this.configurationService.reset();
1646
1647
  };
1647
1648
  PreviewComponent.prototype.initializeConfiguration$ = function () {
1648
- var _this = this;
1649
1649
  var isAlreadyInitialized = this.runtimeService.isInitialized;
1650
1650
  if (!this.uiDefinition || this.uiDefinition.type !== 'CONFIGURATION' || isAlreadyInitialized) {
1651
1651
  return rxjs.of({});
@@ -1655,9 +1655,8 @@
1655
1655
  return rxjs.of({});
1656
1656
  }
1657
1657
  // If still not initialized - init configuration in Test mode
1658
- return this.runtimeService
1659
- .initTestMode(this.modelId, this.uiDefinition)
1660
- .pipe(rxjs.switchMap(function () { return _this.configurationService.configure(); }));
1658
+ return this.runtimeService.initTestMode(this.modelId, this.uiDefinition);
1659
+ // .pipe(switchMap(() => this.configurationService.configure()));
1661
1660
  };
1662
1661
  PreviewComponent.prototype.elementToMetadataSafe = function (elements) {
1663
1662
  var _a, _b;