@smartbit4all/ng-client 3.1.95 → 3.1.96

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.
@@ -14104,6 +14104,9 @@ let SmartComponentApiClient = class SmartComponentApiClient {
14104
14104
  this.getAllSmartTreeComponents()
14105
14105
  .filter((tree) => (tree?.smartTreeModel?.identifier ? true : false))
14106
14106
  .forEach((tree) => widgets.addWidget(tree.smartTreeModel.identifier, tree));
14107
+ this.getAllSmartFilterEditorServices()
14108
+ .filter((filter) => (filter.config.identifier ? true : false))
14109
+ .forEach((filter) => widgets.addWidget(filter.config.identifier, filter));
14107
14110
  return widgets;
14108
14111
  }
14109
14112
  return this.widgets;
@@ -14143,6 +14146,10 @@ let SmartComponentApiClient = class SmartComponentApiClient {
14143
14146
  });
14144
14147
  return trees;
14145
14148
  }
14149
+ getAllSmartFilterEditorServices() {
14150
+ let filters = this.getSmartFilterServicesQL()?.toArray() ?? [];
14151
+ return filters;
14152
+ }
14146
14153
  initData() {
14147
14154
  if (this.model?.data) {
14148
14155
  this.data = this.model?.data;
@@ -14402,6 +14409,9 @@ let SmartComponentApiClient = class SmartComponentApiClient {
14402
14409
  else if (reference instanceof SmarttreeGenericService) {
14403
14410
  reference.initialize();
14404
14411
  }
14412
+ else if (reference instanceof SmartFilterEditorService) {
14413
+ reference.load();
14414
+ }
14405
14415
  else if (reference === undefined) {
14406
14416
  console.error(`Provided reference for ${key} is undefined.`);
14407
14417
  }
@@ -14518,9 +14528,12 @@ class SmartComponent extends SmartComponentApiClient {
14518
14528
  getSmartComponentLayoutsQL() {
14519
14529
  return this.smartComponentLayoutsQL;
14520
14530
  }
14531
+ getSmartFilterServicesQL() {
14532
+ return this.smartFilterEditorServicesQL;
14533
+ }
14521
14534
  }
14522
14535
  SmartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartComponent, deps: [{ token: i0.Injector }, { token: SmartAuthService }, { token: 'pageName' }], target: i0.ɵɵFactoryTarget.Component });
14523
- SmartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SmartComponent, selector: "ng-component", viewQueries: [{ propertyName: "smartFormsQL", predicate: SmartformComponent, descendants: true }, { propertyName: "smartGridsQL", predicate: SmartGridComponent, descendants: true }, { propertyName: "smartTreesQL", predicate: SmarttreeGenericService, descendants: true }, { propertyName: "smartComponentLayoutsQL", predicate: SmartComponentLayoutComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
14536
+ SmartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SmartComponent, selector: "ng-component", viewQueries: [{ propertyName: "smartFormsQL", predicate: SmartformComponent, descendants: true }, { propertyName: "smartGridsQL", predicate: SmartGridComponent, descendants: true }, { propertyName: "smartTreesQL", predicate: SmarttreeGenericService, descendants: true }, { propertyName: "smartComponentLayoutsQL", predicate: SmartComponentLayoutComponent, descendants: true }, { propertyName: "smartFilterEditorServicesQL", predicate: SmartFilterEditorService, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
14524
14537
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartComponent, decorators: [{
14525
14538
  type: Component,
14526
14539
  args: [{
@@ -14544,6 +14557,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
14544
14557
  }], smartComponentLayoutsQL: [{
14545
14558
  type: ViewChildren,
14546
14559
  args: [SmartComponentLayoutComponent]
14560
+ }], smartFilterEditorServicesQL: [{
14561
+ type: ViewChildren,
14562
+ args: [SmartFilterEditorService]
14547
14563
  }] } });
14548
14564
 
14549
14565
  class SmartService extends SmartComponentApiClient {