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.
@@ -16575,6 +16575,12 @@ class AbstractOServiceComponent extends AbstractOServiceBaseComponent {
16575
16575
  setTimeout(() => this.registerQuickFilter(this.searchInputComponent), 0);
16576
16576
  }
16577
16577
  }
16578
+ get selection() {
16579
+ if (!Util.isDefined(this._selection)) {
16580
+ this._selection = new SelectionModel(true, []);
16581
+ }
16582
+ return this._selection;
16583
+ }
16578
16584
  constructor(injector, elRef, form) {
16579
16585
  super(injector);
16580
16586
  this.elRef = elRef;
@@ -16605,7 +16611,6 @@ class AbstractOServiceComponent extends AbstractOServiceBaseComponent {
16605
16611
  this.onDataLoaded = new EventEmitter();
16606
16612
  this.onPaginatedDataLoaded = new EventEmitter();
16607
16613
  this.onSearch = new EventEmitter();
16608
- this.selection = new SelectionModel(true, []);
16609
16614
  this.dataResponseArray = [];
16610
16615
  this._pageSizeOptions = Codes.PAGE_SIZE_OPTIONS;
16611
16616
  this.clickDelay = 200;
@@ -26405,7 +26410,6 @@ class OListComponent extends AbstractOServiceComponent {
26405
26410
  this.sortColArray = [];
26406
26411
  this.onInsertButtonClick = new EventEmitter();
26407
26412
  this.onItemDeleted = new EventEmitter();
26408
- this.selection = new SelectionModel(true, []);
26409
26413
  this.enabledDeleteButton = false;
26410
26414
  this.insertButtonPosition = 'bottom';
26411
26415
  this.storePaginationState = false;
@@ -32110,7 +32114,6 @@ class OTableComponent extends AbstractOServiceComponent {
32110
32114
  }
32111
32115
  }
32112
32116
  this.isColumnFiltersActive = this.filterColumnActiveByDefault;
32113
- this.selection = new SelectionModel(this.isSelectionModeMultiple(), []);
32114
32117
  this.initializeCheckboxColumn();
32115
32118
  if (this.storeState) {
32116
32119
  if (Util.isDefined(this.state.queryRows) && Util.isDefined(this.state.initialConfiguration.queryRows)
@@ -32119,6 +32122,12 @@ class OTableComponent extends AbstractOServiceComponent {
32119
32122
  }
32120
32123
  }
32121
32124
  }
32125
+ get selection() {
32126
+ if (!Util.isDefined(this._selection)) {
32127
+ this._selection = new SelectionModel(this.isSelectionModeMultiple(), []);
32128
+ }
32129
+ return this._selection;
32130
+ }
32122
32131
  updateStateExpandedColumn() {
32123
32132
  if (!this.tableRowExpandable || !this.tableRowExpandable.expandableColumnVisible) {
32124
32133
  return;