@veloceapps/sdk 2.0.5 → 2.0.6
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 +4 -0
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/cms/modules/configuration/services/configuration-runtime.service.d.ts +1 -0
- package/esm2015/cms/components/preview/preview.component.js +2 -1
- package/esm2015/cms/modules/configuration/services/configuration-runtime.service.js +4 -1
- package/fesm2015/veloce-sdk-cms.js +4 -0
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/package.json +1 -1
|
@@ -857,6 +857,9 @@
|
|
|
857
857
|
this._isInitialized = new rxjs.BehaviorSubject(false);
|
|
858
858
|
this.uiDefinitionProperties = {};
|
|
859
859
|
}
|
|
860
|
+
ConfigurationRuntimeService.prototype.reset = function () {
|
|
861
|
+
this._isInitialized.next(false);
|
|
862
|
+
};
|
|
860
863
|
ConfigurationRuntimeService.prototype.initTestMode = function (modelId, uiDefinitionProperties) {
|
|
861
864
|
var _this = this;
|
|
862
865
|
this.uiDefinitionProperties = uiDefinitionProperties;
|
|
@@ -1826,6 +1829,7 @@
|
|
|
1826
1829
|
PreviewComponent.prototype.ngOnDestroy = function () {
|
|
1827
1830
|
this.destroy$.next();
|
|
1828
1831
|
this.destroy$.complete();
|
|
1832
|
+
this.runtimeService.reset();
|
|
1829
1833
|
};
|
|
1830
1834
|
PreviewComponent.prototype.initializeConfiguration$ = function () {
|
|
1831
1835
|
var _this = this;
|