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