@smartbit4all/ng-client 2.0.1 → 2.0.3

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.
@@ -5890,6 +5890,15 @@ let SmartComponentApiClient = class SmartComponentApiClient {
5890
5890
  ref.uuid = uuid;
5891
5891
  }
5892
5892
  });
5893
+ if (!this.uuidOfPageHasBeenChangedSubscription) {
5894
+ this.uuidOfPageHasBeenChangedSubscription = this.viewContext.uuidOfPageHasBeenChanged
5895
+ .pipe(takeUntil(this._destroy$))
5896
+ .subscribe((pageName) => {
5897
+ if (pageName === this.pageName) {
5898
+ this.run();
5899
+ }
5900
+ });
5901
+ }
5893
5902
  }
5894
5903
  this.viewContext.follow(this._uuid, this.detectChange);
5895
5904
  }
@@ -6006,7 +6015,7 @@ let SmartComponentApiClient = class SmartComponentApiClient {
6006
6015
  this.formWidgets.widgets.get(key)?.submitForm();
6007
6016
  });
6008
6017
  }
6009
- addGrid(smartGrid, options, useAsDefaultGrid, componentReference) {
6018
+ addGrid(smartGrid, options, componentReference, useAsDefaultGrid) {
6010
6019
  smartGrid.options = options;
6011
6020
  smartGrid.uiActionService = this.uiActionService;
6012
6021
  smartGrid.uiActionDescriptorService = this.uiActionDescriptorService;