UNPKG

igniteui-webcomponents-charts

Version:

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

110 lines (109 loc) 3.26 kB
import { SeriesMatcher as SeriesMatcher_internal } from "./SeriesMatcher"; var IgcSeriesMatcher = /** @class */ /*@__PURE__*/ (function () { function IgcSeriesMatcher() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcSeriesMatcher.prototype.createImplementation = function () { return new SeriesMatcher_internal(); }; Object.defineProperty(IgcSeriesMatcher.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcSeriesMatcher.prototype.onImplementationCreated = function () { }; IgcSeriesMatcher.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcSeriesMatcher.prototype, "name", { /** * If set, tries to match a series based on its name. */ get: function () { return this.i.g; }, set: function (v) { this.i.g = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSeriesMatcher.prototype, "title", { /** * If set, tries to match a series based on its title. */ get: function () { return this.i.h; }, set: function (v) { this.i.h = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSeriesMatcher.prototype, "index", { /** * If set, tries to match a series based on index */ get: function () { return this.i.d; }, set: function (v) { this.i.d = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSeriesMatcher.prototype, "memberPathType", { /** * Combined with MemberPath allows you to select a series by member path. */ get: function () { return this.i.f; }, set: function (v) { this.i.f = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSeriesMatcher.prototype, "memberPath", { /** * If set, tries to match a series based on a member path, combined with MemberPathType. */ get: function () { return this.i.e; }, set: function (v) { this.i.e = v; }, enumerable: false, configurable: true }); IgcSeriesMatcher.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgcSeriesMatcher; }()); export { IgcSeriesMatcher };