ontimize-web-ngx 15.1.2 → 15.1.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.
@@ -16527,6 +16527,12 @@ class AbstractOServiceComponent extends AbstractOServiceBaseComponent {
16527
16527
  setTimeout(() => this.registerQuickFilter(this.searchInputComponent), 0);
16528
16528
  }
16529
16529
  }
16530
+ get selection() {
16531
+ if (!Util.isDefined(this._selection)) {
16532
+ this._selection = new SelectionModel(true, []);
16533
+ }
16534
+ return this._selection;
16535
+ }
16530
16536
  constructor(injector, elRef, form) {
16531
16537
  super(injector);
16532
16538
  this.elRef = elRef;
@@ -16557,7 +16563,6 @@ class AbstractOServiceComponent extends AbstractOServiceBaseComponent {
16557
16563
  this.onDataLoaded = new EventEmitter();
16558
16564
  this.onPaginatedDataLoaded = new EventEmitter();
16559
16565
  this.onSearch = new EventEmitter();
16560
- this.selection = new SelectionModel(true, []);
16561
16566
  this.dataResponseArray = [];
16562
16567
  this._pageSizeOptions = Codes.PAGE_SIZE_OPTIONS;
16563
16568
  this.clickDelay = 200;
@@ -26304,7 +26309,6 @@ class OListComponent extends AbstractOServiceComponent {
26304
26309
  this.sortColArray = [];
26305
26310
  this.onInsertButtonClick = new EventEmitter();
26306
26311
  this.onItemDeleted = new EventEmitter();
26307
- this.selection = new SelectionModel(true, []);
26308
26312
  this.enabledDeleteButton = false;
26309
26313
  this.insertButtonPosition = 'bottom';
26310
26314
  this.storePaginationState = false;
@@ -31959,7 +31963,6 @@ class OTableComponent extends AbstractOServiceComponent {
31959
31963
  }
31960
31964
  }
31961
31965
  this.isColumnFiltersActive = this.filterColumnActiveByDefault;
31962
- this.selection = new SelectionModel(this.isSelectionModeMultiple(), []);
31963
31966
  this.initializeCheckboxColumn();
31964
31967
  if (this.storeState) {
31965
31968
  if (Util.isDefined(this.state.queryRows) && Util.isDefined(this.state.initialConfiguration.queryRows)
@@ -31968,6 +31971,12 @@ class OTableComponent extends AbstractOServiceComponent {
31968
31971
  }
31969
31972
  }
31970
31973
  }
31974
+ get selection() {
31975
+ if (!Util.isDefined(this._selection)) {
31976
+ this._selection = new SelectionModel(this.isSelectionModeMultiple(), []);
31977
+ }
31978
+ return this._selection;
31979
+ }
31971
31980
  updateStateExpandedColumn() {
31972
31981
  if (!this.tableRowExpandable || !this.tableRowExpandable.expandableColumnVisible) {
31973
31982
  return;