@devexperts/dxcharts-lite 2.7.21 → 2.7.22

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.
@@ -3,6 +3,7 @@
3
3
  * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4
4
  * If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
5
5
  */
6
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
7
  const weekWeekday = 'week-weekday';
7
8
  const timeFormatsConfirugable = ['second', 'minute', 'hour', 'day', 'month', 'year'];
8
9
  const timeFormatsNoNConfirugable = ['lessThanSecond'];
@@ -9,6 +9,7 @@ import { arrayIntersect, reorderArray } from '../utils/array.utils';
9
9
  import { animationFrameThrottled } from '../utils/performance/request-animation-frame-throttle.utils';
10
10
  import { uuid } from '../utils/uuid.utils';
11
11
  export const HIT_TEST_PREFIX = 'HIT_TEST_';
12
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
12
13
  const drawerTypes = [
13
14
  'MAIN_BACKGROUND',
14
15
  'MAIN_CLEAR',
@@ -95,7 +95,7 @@ export class ChartResizeHandler {
95
95
  try {
96
96
  this.elementResizeDetector.unobserve(this.resizerElement);
97
97
  }
98
- catch (e) {
98
+ catch (_a) {
99
99
  console.warn('ChartResizeHandler.ts, unsubscribeAnimationUpdate failed');
100
100
  }
101
101
  }
@@ -135,7 +135,7 @@ export class CanvasInputListenerComponent extends ChartBaseElement {
135
135
  this.rectCacheValid = true;
136
136
  return rect;
137
137
  }
138
- catch (error) {
138
+ catch (_a) {
139
139
  return this.createFallbackRect();
140
140
  }
141
141
  }
@@ -9,7 +9,6 @@ export const MEMOIZE_CLEAR_FUNCTION = Symbol('MEMOIZE_CLEAR_FUNCTION');
9
9
  * Memoizes function for passed arguments
10
10
  * @doc-tags utility
11
11
  */
12
- // eslint-disable-next-line @typescript-eslint/ban-types
13
12
  export function memoize(fn) {
14
13
  const storage = {};
15
14
  const result = function () {