igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
35 lines (34 loc) • 1.32 kB
JavaScript
/*
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 { ObservableCollection$1 } from "igniteui-react-core";
import { Number_$type, markType } from "igniteui-react-core";
/**
* @hidden
*/
export let IndexCollection = /*@__PURE__*/ (() => {
class IndexCollection extends ObservableCollection$1 {
constructor() {
super(Number_$type, 0);
}
r(a, b) {
if (!this.contains(b)) {
super.r(a, b);
}
}
x(a, b) {
if (this.contains(b)) {
this.remove(b);
this.r(a, b);
}
else {
super.x(a, b);
}
}
}
IndexCollection.$t = /*@__PURE__*/ markType(IndexCollection, 'IndexCollection', /*@__PURE__*/ ObservableCollection$1.$.specialize(Number_$type));
return IndexCollection;
})();