UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

123 lines (122 loc) 4.03 kB
import { UserAnnotationInformation as UserAnnotationInformation_internal } from "./UserAnnotationInformation"; import { brushToString, stringToBrush } from "igniteui-angular-core"; var IgxUserAnnotationInformation = /** @class */ /*@__PURE__*/ (function () { function IgxUserAnnotationInformation() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgxUserAnnotationInformation.prototype.createImplementation = function () { return new UserAnnotationInformation_internal(); }; Object.defineProperty(IgxUserAnnotationInformation.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgxUserAnnotationInformation.prototype.onImplementationCreated = function () { }; IgxUserAnnotationInformation.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); }; Object.defineProperty(IgxUserAnnotationInformation.prototype, "annotationId", { get: function () { return this.i.d; }, set: function (v) { this.i.d = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "label", { get: function () { return this.i.f; }, set: function (v) { this.i.f = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "badgeColor", { get: function () { return brushToString(this.i.h); }, set: function (v) { this.i.h = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "mainColor", { get: function () { return brushToString(this.i.i); }, set: function (v) { this.i.i = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "annotationData", { get: function () { return this.i.c; }, set: function (v) { this.i.c = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "badgeImageUri", { get: function () { return this.i.e; }, set: function (v) { this.i.e = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "dialogSuggestedXLocation", { get: function () { return this.i.a; }, set: function (v) { this.i.a = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxUserAnnotationInformation.prototype, "dialogSuggestedYLocation", { get: function () { return this.i.b; }, set: function (v) { this.i.b = +v; }, enumerable: false, configurable: true }); IgxUserAnnotationInformation.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgxUserAnnotationInformation; }()); export { IgxUserAnnotationInformation };