@eo-sdk/client 10.6.19 → 10.6.20

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.
@@ -4763,10 +4763,12 @@ class TreeComponent {
4763
4763
  switch (event.key) {
4764
4764
  case 'ArrowUp': {
4765
4765
  this.focusNode(false);
4766
+ this._ensureVisible();
4766
4767
  break;
4767
4768
  }
4768
4769
  case 'ArrowDown': {
4769
4770
  this.focusNode(true);
4771
+ this._ensureVisible();
4770
4772
  break;
4771
4773
  }
4772
4774
  case 'ArrowRight': {
@@ -4901,20 +4903,29 @@ class TreeComponent {
4901
4903
  this.visibleNodes.forEach(n => (n.focused = false));
4902
4904
  }
4903
4905
  if (node) {
4904
- const nodes = document.querySelectorAll('eo-tree-node');
4905
- nodes.forEach(n => {
4906
- if (n.querySelector('.label span').textContent === node.name) {
4907
- n.scrollIntoView({
4908
- behavior: "smooth",
4909
- block: "start",
4910
- inline: "nearest"
4911
- });
4912
- }
4913
- });
4914
4906
  node.focused = true;
4915
4907
  this.focusedNode = node;
4916
4908
  }
4917
4909
  }
4910
+ _ensureVisible() {
4911
+ setTimeout(() => {
4912
+ const container = this.elementRef.nativeElement;
4913
+ const el = container.querySelector('eo-tree-node .label.focused');
4914
+ const containerRect = container.getBoundingClientRect();
4915
+ const elRect = el.getBoundingClientRect();
4916
+ /* The first one checks the structure tree for scroll down
4917
+ * The second one checks the structure tree for scroll up
4918
+ * The third one checks the trees in selection dialogs for scroll down
4919
+ * The fourth one checks the trees in selection dialogs for scroll up
4920
+ */
4921
+ if (elRect.bottom >= window.innerHeight
4922
+ || elRect.top < 50
4923
+ || elRect.bottom >= containerRect.height
4924
+ || elRect.top - containerRect.top <= 30) {
4925
+ el.scrollIntoView();
4926
+ }
4927
+ }, 200);
4928
+ }
4918
4929
  focusNode(next) {
4919
4930
  if (this.visibleNodes.length) {
4920
4931
  let index = 0, shift = next ? 1 : -1;
@@ -6642,8 +6653,9 @@ class DynamicListComponent {
6642
6653
  return this._list;
6643
6654
  }
6644
6655
  set selectedNodes(n) {
6656
+ var _a, _b;
6645
6657
  if (n && !Array.isArray(n)) {
6646
- this.autocompleteFn(n[this._list.config.valueField || 'value'] || n.name);
6658
+ this.autocompleteFn(n[((_b = (_a = this._list) === null || _a === void 0 ? void 0 : _a.config) === null || _b === void 0 ? void 0 : _b.valueField) || 'value'] || n.name);
6647
6659
  }
6648
6660
  this._selectedNodes = structuredClone(n);
6649
6661
  }
@@ -11801,9 +11813,6 @@ class SetFilterComponent extends AbstractFilterComponent {
11801
11813
  if (item) {
11802
11814
  item.value = newValue;
11803
11815
  }
11804
- else {
11805
- this.options.forEach(o => (o.value = newValue));
11806
- }
11807
11816
  if (!this.defaultValue) {
11808
11817
  this.settingsService.saveSettings(this.id, this.options);
11809
11818
  }
@@ -22684,10 +22693,10 @@ class AboutStateComponent {
22684
22693
  this.backend = backend;
22685
22694
  this.userService = userService;
22686
22695
  this.config = config;
22687
- this.__libraries__ = [{ "name": "@ag-grid-community/angular", "version": "22.1.2", "license": "MIT" }, { "name": "@ag-grid-community/client-side-row-model", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/core", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/csv-export", "version": "22.1.1", "license": "MIT" }, { "name": "@angular/animations", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/cdk", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/common", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/compiler", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/core", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/forms", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/router", "version": "15.2.2", "license": "MIT" }, { "name": "@carbon/charts-angular", "version": "1.8.1", "license": "Apache-2.0" }, { "name": "@eo-sdk/core", "version": "10.6.19", "license": "MIT" }, { "name": "@ngneat/until-destroy", "version": "10.0.0", "license": "MIT" }, { "name": "@ngx-pwa/local-storage", "version": "15.0.0", "license": "MIT" }, { "name": "@ngx-translate/core", "version": "14.0.0", "license": "MIT" }, { "name": "@yuuvis/components", "version": "1.0.6", "license": "MIT" }, { "name": "@yuuvis/widget-grid", "version": "1.0.2", "license": "MIT" }, { "name": "core-js", "version": "2.6.12", "license": "MIT" }, { "name": "file-saver", "version": "2.0.5", "license": "MIT" }, { "name": "font-awesome", "version": "4.7.0", "license": "(OFL-1.1 AND MIT)" }, { "name": "lodash-es", "version": "4.17.21", "license": "MIT" }, { "name": "moment", "version": "2.29.4", "license": "MIT" }, { "name": "ngx-toastr", "version": "16.0.2", "license": "MIT" }, { "name": "rxjs", "version": "7.5.7", "license": "Apache-2.0" }, { "name": "tslib", "version": "2.6.2", "license": "0BSD" }, { "name": "zone.js", "version": "0.11.8", "license": "MIT" }];
22696
+ this.__libraries__ = [{ "name": "@ag-grid-community/angular", "version": "22.1.2", "license": "MIT" }, { "name": "@ag-grid-community/client-side-row-model", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/core", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/csv-export", "version": "22.1.1", "license": "MIT" }, { "name": "@angular/animations", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/cdk", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/common", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/compiler", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/core", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/forms", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/router", "version": "15.2.2", "license": "MIT" }, { "name": "@carbon/charts-angular", "version": "1.8.1", "license": "Apache-2.0" }, { "name": "@eo-sdk/core", "version": "10.6.20", "license": "MIT" }, { "name": "@ngneat/until-destroy", "version": "10.0.0", "license": "MIT" }, { "name": "@ngx-pwa/local-storage", "version": "15.0.0", "license": "MIT" }, { "name": "@ngx-translate/core", "version": "14.0.0", "license": "MIT" }, { "name": "@yuuvis/components", "version": "1.0.6", "license": "MIT" }, { "name": "@yuuvis/widget-grid", "version": "1.0.2", "license": "MIT" }, { "name": "core-js", "version": "2.6.12", "license": "MIT" }, { "name": "file-saver", "version": "2.0.5", "license": "MIT" }, { "name": "font-awesome", "version": "4.7.0", "license": "(OFL-1.1 AND MIT)" }, { "name": "lodash-es", "version": "4.17.21", "license": "MIT" }, { "name": "moment", "version": "2.29.4", "license": "MIT" }, { "name": "ngx-toastr", "version": "16.0.2", "license": "MIT" }, { "name": "rxjs", "version": "7.5.7", "license": "Apache-2.0" }, { "name": "tslib", "version": "2.6.2", "license": "0BSD" }, { "name": "zone.js", "version": "0.11.8", "license": "MIT" }];
22688
22697
  this.ctrl = {
22689
22698
  componentName: 'yuuvis® RAD client',
22690
- componentVersion: '10.6.19',
22699
+ componentVersion: '10.6.20',
22691
22700
  productName: '',
22692
22701
  productVersion: ''
22693
22702
  };