@veloceapps/sdk 4.0.4 → 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.
- package/bundles/veloce-sdk-cms.umd.js +3 -4
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk-core.umd.js +10 -5
- package/bundles/veloce-sdk-core.umd.js.map +1 -1
- package/cms/vendor-map.d.ts +2 -1
- package/core/modules/configuration/services/configuration-runtime.service.d.ts +1 -0
- package/core/modules/configuration/services/configuration.service.d.ts +2 -0
- package/core/modules/configuration/types/configuration-runtime.types.d.ts +15 -0
- package/esm2015/cms/components/preview/preview.component.js +4 -5
- package/esm2015/cms/vendor-map.js +3 -2
- package/esm2015/core/modules/configuration/services/configuration-runtime.service.js +7 -5
- package/esm2015/core/modules/configuration/services/configuration.service.js +4 -1
- package/esm2015/core/modules/configuration/types/configuration-runtime.types.js +1 -1
- package/fesm2015/veloce-sdk-cms.js +5 -5
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk-core.js +9 -4
- package/fesm2015/veloce-sdk-core.js.map +1 -1
- package/package.json +1 -1
@@ -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
|
-
|
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;
|