UNPKG

igniteui-react-charts

Version:

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

148 lines (147 loc) 4.93 kB
import { IgrSeries } from "./igr-series"; import { CalloutStyleUpdatingEventArgs as CalloutStyleUpdatingEventArgs_internal } from "./CalloutStyleUpdatingEventArgs"; import { brushToString, stringToBrush } from "igniteui-react-core"; var IgrCalloutStyleUpdatingEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgrCalloutStyleUpdatingEventArgs() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrCalloutStyleUpdatingEventArgs.prototype.createImplementation = function () { return new CalloutStyleUpdatingEventArgs_internal(); }; Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrCalloutStyleUpdatingEventArgs.prototype.onImplementationCreated = function () { }; IgrCalloutStyleUpdatingEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "xValue", { get: function () { return this.i.xValue; }, set: function (v) { this.i.xValue = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "yValue", { get: function () { return this.i.yValue; }, set: function (v) { this.i.yValue = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "item", { get: function () { return this.i.item; }, set: function (v) { this.i.item = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "series", { get: function () { var r = this.i.series; if (r == null) { return null; } if (!r.externalObject) { var e = IgrSeries._createFromInternal(r); if (e) { e._implementation = r; } r.externalObject = e; } return r.externalObject; }, set: function (v) { v == null ? this.i.series = null : this.i.series = v.i; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "background", { get: function () { return brushToString(this.i.background); }, set: function (v) { this.i.background = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "textColor", { get: function () { return brushToString(this.i.textColor); }, set: function (v) { this.i.textColor = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "outline", { get: function () { return brushToString(this.i.outline); }, set: function (v) { this.i.outline = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "leaderBrush", { get: function () { return brushToString(this.i.leaderBrush); }, set: function (v) { this.i.leaderBrush = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutStyleUpdatingEventArgs.prototype, "strokeThickness", { get: function () { return this.i.strokeThickness; }, set: function (v) { this.i.strokeThickness = +v; }, enumerable: false, configurable: true }); return IgrCalloutStyleUpdatingEventArgs; }()); export { IgrCalloutStyleUpdatingEventArgs };