UNPKG

igniteui-webcomponents-charts

Version:

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

36 lines (35 loc) 1.3 kB
import { __extends } from "tslib"; import { IgCollection } from "igniteui-webcomponents-core"; import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core"; import { String_$type } from "igniteui-webcomponents-core"; var IgcCustomIndicatorNameCollection = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcCustomIndicatorNameCollection, _super); function IgcCustomIndicatorNameCollection(list) { var _this = _super.call(this) || this; if (list) { for (var i = 0; i < list.length; i++) { _this.add(list[i]); } } return _this; } IgcCustomIndicatorNameCollection.prototype._createInnerColl = function () { var coll = new SyncableObservableCollection$2(String_$type, String_$type, 0); coll.compare = function (ext, int) { var comp = ext; if (comp.equals) { return comp.equals(int); } return comp === int; }; coll.createTo = function (ext) { return ext; }; coll.createFrom = function (int) { return int; }; return coll; }; return IgcCustomIndicatorNameCollection; }(IgCollection)); export { IgcCustomIndicatorNameCollection };