@smartbit4all/ng-client 3.3.135 → 3.3.136

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.
@@ -14905,6 +14905,7 @@ class SmartComponentApiClient {
14905
14905
  this.renderer = renderer;
14906
14906
  this._destroy$ = new Subject();
14907
14907
  this.detectChange = new SmartSubject(this._destroy$);
14908
+ this._ngAfterViewInitPerformed = false;
14908
14909
  this.uiActionModels = [];
14909
14910
  this.dataChanged = new SmartSubject(this._destroy$);
14910
14911
  // Contained Widgets
@@ -15052,11 +15053,19 @@ class SmartComponentApiClient {
15052
15053
  }
15053
15054
  }
15054
15055
  setupGridServices(grid) {
15055
- if (grid.smartGrid && !grid.smartGrid.uiActionService) {
15056
- grid.smartGrid.uiActionService = this.uiActionService;
15057
- grid.smartGrid.uiActionDescriptorService = this.uiActionDescriptorService;
15058
- grid.smartGrid.serviceToUse = this;
15059
- grid.smartGrid.viewContextService = this.viewContext;
15056
+ if (grid.smartGrid) {
15057
+ if (!grid.smartGrid.uiActionService) {
15058
+ grid.smartGrid.uiActionService = this.uiActionService;
15059
+ }
15060
+ if (!grid.smartGrid.uiActionDescriptorService) {
15061
+ grid.smartGrid.uiActionDescriptorService = this.uiActionDescriptorService;
15062
+ }
15063
+ if (!grid.smartGrid.serviceToUse) {
15064
+ grid.smartGrid.serviceToUse = this;
15065
+ }
15066
+ if (!grid.smartGrid.viewContextService) {
15067
+ grid.smartGrid.viewContextService = this.viewContext;
15068
+ }
15060
15069
  }
15061
15070
  }
15062
15071
  handleQueryListSimple(ql, handler) {