@veloceapps/sdk 3.1.33 → 4.0.0

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.
@@ -1442,6 +1442,7 @@
1442
1442
  RampApiService: api.RampApiService,
1443
1443
  CatalogApiService: api.CatalogApiService,
1444
1444
  DeltaApiService: api.DeltaApiService,
1445
+ PicklistsApiService: api.PicklistsApiService,
1445
1446
  },
1446
1447
  '@angular/core': i0__namespace,
1447
1448
  '@angular/forms': angularForms__namespace,
@@ -1627,21 +1628,21 @@
1627
1628
  this.messageService = messageService;
1628
1629
  this.runtimeService = runtimeService;
1629
1630
  this.integrationState = integrationState;
1630
- this.clearState = true;
1631
+ this.clearState = false;
1631
1632
  this.state$ = new rxjs.BehaviorSubject({ loading: true, failure: false });
1632
1633
  this.elements = [];
1633
1634
  this.destroy$ = new rxjs.Subject();
1634
1635
  }
1635
1636
  PreviewComponent.prototype.ngOnInit = function () {
1637
+ if (this.clearState) {
1638
+ this.integrationState.clear();
1639
+ }
1636
1640
  this.startPreview();
1637
1641
  };
1638
1642
  PreviewComponent.prototype.ngOnDestroy = function () {
1639
1643
  this.destroy$.next();
1640
1644
  this.destroy$.complete();
1641
1645
  this.configurationService.reset();
1642
- if (this.clearState) {
1643
- this.integrationState.clear();
1644
- }
1645
1646
  };
1646
1647
  PreviewComponent.prototype.initializeConfiguration$ = function () {
1647
1648
  var _this = this;