UNPKG

igniteui-webcomponents-charts

Version:

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

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