@veloceapps/sdk 3.1.33 → 3.1.34
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 -4
- package/bundles/veloce-sdk-cms.umd.js.map +1 -1
- package/bundles/veloce-sdk.umd.js +109 -105
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/esm2015/cms/components/preview/preview.component.js +5 -5
- package/esm2015/src/components/doc-gen/doc-gen.component.js +2 -2
- package/esm2015/src/flow.component.js +15 -10
- package/fesm2015/veloce-sdk-cms.js +4 -4
- package/fesm2015/veloce-sdk-cms.js.map +1 -1
- package/fesm2015/veloce-sdk.js +51 -47
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/flow.component.d.ts +6 -3
@@ -1627,21 +1627,21 @@
|
|
1627
1627
|
this.messageService = messageService;
|
1628
1628
|
this.runtimeService = runtimeService;
|
1629
1629
|
this.integrationState = integrationState;
|
1630
|
-
this.clearState =
|
1630
|
+
this.clearState = false;
|
1631
1631
|
this.state$ = new rxjs.BehaviorSubject({ loading: true, failure: false });
|
1632
1632
|
this.elements = [];
|
1633
1633
|
this.destroy$ = new rxjs.Subject();
|
1634
1634
|
}
|
1635
1635
|
PreviewComponent.prototype.ngOnInit = function () {
|
1636
|
+
if (this.clearState) {
|
1637
|
+
this.integrationState.clear();
|
1638
|
+
}
|
1636
1639
|
this.startPreview();
|
1637
1640
|
};
|
1638
1641
|
PreviewComponent.prototype.ngOnDestroy = function () {
|
1639
1642
|
this.destroy$.next();
|
1640
1643
|
this.destroy$.complete();
|
1641
1644
|
this.configurationService.reset();
|
1642
|
-
if (this.clearState) {
|
1643
|
-
this.integrationState.clear();
|
1644
|
-
}
|
1645
1645
|
};
|
1646
1646
|
PreviewComponent.prototype.initializeConfiguration$ = function () {
|
1647
1647
|
var _this = this;
|