@esfaenza/es-table 11.2.148 → 11.2.149

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.
@@ -4322,14 +4322,13 @@ class EsTableComponent {
4322
4322
  * Effettua un hard reset della selezione
4323
4323
  */
4324
4324
  resetSelection(emit = false) {
4325
- var _a;
4326
4325
  this.selection_H.clearSelectionCaches();
4327
- if ((_a = this.View) === null || _a === void 0 ? void 0 : _a.selection) {
4326
+ if (this.viewMode && this.View) {
4328
4327
  this.View.selection = new ItemsSelection([]);
4329
4328
  if (emit)
4330
4329
  this.onSelectionChanged.emit(this.View.selection);
4331
4330
  }
4332
- else if (this.arraymodeSelection) {
4331
+ else if (this.arrayMode) {
4333
4332
  this.arraymodeSelection = new ItemsSelection([]);
4334
4333
  if (emit)
4335
4334
  this.onSelectionChanged.emit(this.arraymodeSelection);