@smartbit4all/ng-client 3.3.227 → 3.3.228

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.
@@ -15757,10 +15757,8 @@ class SmartComponentApiClient {
15757
15757
  this.handleQueryList(this.getSmartFilterEditorContentComponentsQL(), (filterComp) => {
15758
15758
  if (filterComp) {
15759
15759
  if (filterComp.service) {
15760
+ this.setupFilterServices(filterComp);
15760
15761
  let service = filterComp.service;
15761
- if (this.uuid && this.uuid !== service.config.uuid) {
15762
- service.config.uuid = this.uuid;
15763
- }
15764
15762
  let identifier = service.config.identifier;
15765
15763
  if (identifier && !this.filterModelChangeSubjects.has(identifier)) {
15766
15764
  this.filterModelChangeSubjects.set(identifier, service.modelChanged);
@@ -15790,6 +15788,14 @@ class SmartComponentApiClient {
15790
15788
  }
15791
15789
  }
15792
15790
  }
15791
+ setupFilterServices(filterComp) {
15792
+ if (filterComp.service) {
15793
+ let service = filterComp.service;
15794
+ if (this.uuid && this.uuid !== service.config.uuid) {
15795
+ service.config.uuid = this.uuid;
15796
+ }
15797
+ }
15798
+ }
15793
15799
  handleQueryListSimple(ql, handler) {
15794
15800
  handler();
15795
15801
  ql.changes.pipe(takeUntil(this._destroy$)).subscribe(() => handler());
@@ -16259,6 +16265,7 @@ class SmartComponentApiClient {
16259
16265
  }
16260
16266
  }
16261
16267
  else if (reference instanceof SmartFilterEditorContentComponent) {
16268
+ this.setupFilterServices(reference);
16262
16269
  if (!skipLoad) {
16263
16270
  reference.service.load();
16264
16271
  }