UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

35 lines (34 loc) 1.48 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { IndicatorCalculationStrategy } from "./IndicatorCalculationStrategy"; import { markType } from "igniteui-react-core"; /** * @hidden */ export let ItemwiseStrategyCalculationStrategy = /*@__PURE__*/ (() => { class ItemwiseStrategyCalculationStrategy extends IndicatorCalculationStrategy { constructor() { super(...arguments); this.c = null; } b(a, b) { return this.c.b(a, b); } a(a, b) { let c = true; for (let d = a.calculateFrom; d < a.calculateFrom + a.calculateCount; d++) { c = this.c.a(a, b, d); if (!c) { return false; } } return c; } } ItemwiseStrategyCalculationStrategy.$t = /*@__PURE__*/ markType(ItemwiseStrategyCalculationStrategy, 'ItemwiseStrategyCalculationStrategy', IndicatorCalculationStrategy.$); return ItemwiseStrategyCalculationStrategy; })();