ontimize-web-ngx 15.1.1 → 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;
@@ -32117,7 +32121,12 @@ class OTableComponent extends AbstractOServiceComponent {
32117
32121
  this.queryRows = this.state.queryRows;
32118
32122
  }
32119
32123
  }
32120
- this.selection = new SelectionModel(this.isSelectionModeMultiple(), []);
32124
+ }
32125
+ get selection() {
32126
+ if (!Util.isDefined(this._selection)) {
32127
+ this._selection = new SelectionModel(this.isSelectionModeMultiple(), []);
32128
+ }
32129
+ return this._selection;
32121
32130
  }
32122
32131
  updateStateExpandedColumn() {
32123
32132
  if (!this.tableRowExpandable || !this.tableRowExpandable.expandableColumnVisible) {