@revolist/revogrid 3.6.6 → 3.6.7

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.
@@ -538,26 +538,26 @@ const OverlaySelection = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
538
538
  connectedCallback() {
539
539
  this.columnServiceSet();
540
540
  this.selectionServiceSet(this.selectionStore);
541
- this.addEventListener('mousemove', (e) => {
541
+ this.addListener('mousemove', (e) => {
542
542
  if (this.selectionStoreService.focused) {
543
543
  this.autoFillService.selectionMouseMove(e);
544
544
  }
545
545
  });
546
546
  /** Pointer left document, clear any active operation */
547
- this.addEventListener('mouseleave', () => {
547
+ this.addListener('mouseleave', () => {
548
548
  this.autoFillService.clearAutoFillSelection();
549
549
  });
550
550
  /** Action finished inside of the document */
551
- this.addEventListener('mouseup', () => {
551
+ this.addListener('mouseup', () => {
552
552
  this.autoFillService.clearAutoFillSelection();
553
553
  });
554
554
  /** Recived keyboard down from element */
555
- this.addEventListener('keyup', (e) => {
555
+ this.addListener('keyup', (e) => {
556
556
  var _a;
557
557
  (_a = this.keyboardService) === null || _a === void 0 ? void 0 : _a.keyUp(e);
558
558
  });
559
559
  /** Recived keyboard down from element */
560
- this.addEventListener('keydown', (e) => {
560
+ this.addListener('keydown', (e) => {
561
561
  var _a;
562
562
  if (e.defaultPrevented) {
563
563
  return;
@@ -567,14 +567,14 @@ const OverlaySelection = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
567
567
  }
568
568
  disconnectedCallback() {
569
569
  var _a;
570
- Object.keys(this.events).forEach(e => this.removeEventListener(e));
570
+ Object.keys(this.events).forEach(e => this.removeListener(e));
571
571
  (_a = this.columnService) === null || _a === void 0 ? void 0 : _a.destroy();
572
572
  }
573
- addEventListener(name, func) {
573
+ addListener(name, func) {
574
574
  document.addEventListener(name, func);
575
575
  this.events[name] = func;
576
576
  }
577
- removeEventListener(type) {
577
+ removeListener(type) {
578
578
  document.removeEventListener(type, this.events[type]);
579
579
  delete this.events[type];
580
580
  }
@@ -27574,26 +27574,26 @@ const OverlaySelection = class {
27574
27574
  connectedCallback() {
27575
27575
  this.columnServiceSet();
27576
27576
  this.selectionServiceSet(this.selectionStore);
27577
- this.addEventListener('mousemove', (e) => {
27577
+ this.addListener('mousemove', (e) => {
27578
27578
  if (this.selectionStoreService.focused) {
27579
27579
  this.autoFillService.selectionMouseMove(e);
27580
27580
  }
27581
27581
  });
27582
27582
  /** Pointer left document, clear any active operation */
27583
- this.addEventListener('mouseleave', () => {
27583
+ this.addListener('mouseleave', () => {
27584
27584
  this.autoFillService.clearAutoFillSelection();
27585
27585
  });
27586
27586
  /** Action finished inside of the document */
27587
- this.addEventListener('mouseup', () => {
27587
+ this.addListener('mouseup', () => {
27588
27588
  this.autoFillService.clearAutoFillSelection();
27589
27589
  });
27590
27590
  /** Recived keyboard down from element */
27591
- this.addEventListener('keyup', (e) => {
27591
+ this.addListener('keyup', (e) => {
27592
27592
  var _a;
27593
27593
  (_a = this.keyboardService) === null || _a === void 0 ? void 0 : _a.keyUp(e);
27594
27594
  });
27595
27595
  /** Recived keyboard down from element */
27596
- this.addEventListener('keydown', (e) => {
27596
+ this.addListener('keydown', (e) => {
27597
27597
  var _a;
27598
27598
  if (e.defaultPrevented) {
27599
27599
  return;
@@ -27603,14 +27603,14 @@ const OverlaySelection = class {
27603
27603
  }
27604
27604
  disconnectedCallback() {
27605
27605
  var _a;
27606
- Object.keys(this.events).forEach(e => this.removeEventListener(e));
27606
+ Object.keys(this.events).forEach(e => this.removeListener(e));
27607
27607
  (_a = this.columnService) === null || _a === void 0 ? void 0 : _a.destroy();
27608
27608
  }
27609
- addEventListener(name, func) {
27609
+ addListener(name, func) {
27610
27610
  document.addEventListener(name, func);
27611
27611
  this.events[name] = func;
27612
27612
  }
27613
- removeEventListener(type) {
27613
+ removeListener(type) {
27614
27614
  document.removeEventListener(type, this.events[type]);
27615
27615
  delete this.events[type];
27616
27616
  }
@@ -88,26 +88,26 @@ export class OverlaySelection {
88
88
  connectedCallback() {
89
89
  this.columnServiceSet();
90
90
  this.selectionServiceSet(this.selectionStore);
91
- this.addEventListener('mousemove', (e) => {
91
+ this.addListener('mousemove', (e) => {
92
92
  if (this.selectionStoreService.focused) {
93
93
  this.autoFillService.selectionMouseMove(e);
94
94
  }
95
95
  });
96
96
  /** Pointer left document, clear any active operation */
97
- this.addEventListener('mouseleave', () => {
97
+ this.addListener('mouseleave', () => {
98
98
  this.autoFillService.clearAutoFillSelection();
99
99
  });
100
100
  /** Action finished inside of the document */
101
- this.addEventListener('mouseup', () => {
101
+ this.addListener('mouseup', () => {
102
102
  this.autoFillService.clearAutoFillSelection();
103
103
  });
104
104
  /** Recived keyboard down from element */
105
- this.addEventListener('keyup', (e) => {
105
+ this.addListener('keyup', (e) => {
106
106
  var _a;
107
107
  (_a = this.keyboardService) === null || _a === void 0 ? void 0 : _a.keyUp(e);
108
108
  });
109
109
  /** Recived keyboard down from element */
110
- this.addEventListener('keydown', (e) => {
110
+ this.addListener('keydown', (e) => {
111
111
  var _a;
112
112
  if (e.defaultPrevented) {
113
113
  return;
@@ -117,14 +117,14 @@ export class OverlaySelection {
117
117
  }
118
118
  disconnectedCallback() {
119
119
  var _a;
120
- Object.keys(this.events).forEach(e => this.removeEventListener(e));
120
+ Object.keys(this.events).forEach(e => this.removeListener(e));
121
121
  (_a = this.columnService) === null || _a === void 0 ? void 0 : _a.destroy();
122
122
  }
123
- addEventListener(name, func) {
123
+ addListener(name, func) {
124
124
  document.addEventListener(name, func);
125
125
  this.events[name] = func;
126
126
  }
127
- removeEventListener(type) {
127
+ removeListener(type) {
128
128
  document.removeEventListener(type, this.events[type]);
129
129
  delete this.events[type];
130
130
  }
@@ -27570,26 +27570,26 @@ const OverlaySelection = class {
27570
27570
  connectedCallback() {
27571
27571
  this.columnServiceSet();
27572
27572
  this.selectionServiceSet(this.selectionStore);
27573
- this.addEventListener('mousemove', (e) => {
27573
+ this.addListener('mousemove', (e) => {
27574
27574
  if (this.selectionStoreService.focused) {
27575
27575
  this.autoFillService.selectionMouseMove(e);
27576
27576
  }
27577
27577
  });
27578
27578
  /** Pointer left document, clear any active operation */
27579
- this.addEventListener('mouseleave', () => {
27579
+ this.addListener('mouseleave', () => {
27580
27580
  this.autoFillService.clearAutoFillSelection();
27581
27581
  });
27582
27582
  /** Action finished inside of the document */
27583
- this.addEventListener('mouseup', () => {
27583
+ this.addListener('mouseup', () => {
27584
27584
  this.autoFillService.clearAutoFillSelection();
27585
27585
  });
27586
27586
  /** Recived keyboard down from element */
27587
- this.addEventListener('keyup', (e) => {
27587
+ this.addListener('keyup', (e) => {
27588
27588
  var _a;
27589
27589
  (_a = this.keyboardService) === null || _a === void 0 ? void 0 : _a.keyUp(e);
27590
27590
  });
27591
27591
  /** Recived keyboard down from element */
27592
- this.addEventListener('keydown', (e) => {
27592
+ this.addListener('keydown', (e) => {
27593
27593
  var _a;
27594
27594
  if (e.defaultPrevented) {
27595
27595
  return;
@@ -27599,14 +27599,14 @@ const OverlaySelection = class {
27599
27599
  }
27600
27600
  disconnectedCallback() {
27601
27601
  var _a;
27602
- Object.keys(this.events).forEach(e => this.removeEventListener(e));
27602
+ Object.keys(this.events).forEach(e => this.removeListener(e));
27603
27603
  (_a = this.columnService) === null || _a === void 0 ? void 0 : _a.destroy();
27604
27604
  }
27605
- addEventListener(name, func) {
27605
+ addListener(name, func) {
27606
27606
  document.addEventListener(name, func);
27607
27607
  this.events[name] = func;
27608
27608
  }
27609
- removeEventListener(type) {
27609
+ removeListener(type) {
27610
27610
  document.removeEventListener(type, this.events[type]);
27611
27611
  delete this.events[type];
27612
27612
  }