UNPKG

igniteui-webcomponents-charts

Version:

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

140 lines (139 loc) 4.7 kB
import { IgcSeriesComponent } from "./igc-series-component"; import { CalloutStyleUpdatingEventArgs as CalloutStyleUpdatingEventArgs_internal } from "./CalloutStyleUpdatingEventArgs"; import { brushToString, stringToBrush } from "igniteui-webcomponents-core"; var IgcCalloutStyleUpdatingEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcCalloutStyleUpdatingEventArgs() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcCalloutStyleUpdatingEventArgs.prototype.createImplementation = function () { return new CalloutStyleUpdatingEventArgs_internal(); }; Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcCalloutStyleUpdatingEventArgs.prototype.onImplementationCreated = function () { }; IgcCalloutStyleUpdatingEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "xValue", { get: function () { return this.i.xValue; }, set: function (v) { this.i.xValue = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "yValue", { get: function () { return this.i.yValue; }, set: function (v) { this.i.yValue = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "item", { get: function () { return this.i.item; }, set: function (v) { this.i.item = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "series", { get: function () { var r = this.i.series; if (r == null) { return null; } if (!r.externalObject) { var e = IgcSeriesComponent._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(IgcCalloutStyleUpdatingEventArgs.prototype, "background", { get: function () { return brushToString(this.i.background); }, set: function (v) { this.i.background = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "textColor", { get: function () { return brushToString(this.i.textColor); }, set: function (v) { this.i.textColor = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "outline", { get: function () { return brushToString(this.i.outline); }, set: function (v) { this.i.outline = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "leaderBrush", { get: function () { return brushToString(this.i.leaderBrush); }, set: function (v) { this.i.leaderBrush = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcCalloutStyleUpdatingEventArgs.prototype, "strokeThickness", { get: function () { return this.i.strokeThickness; }, set: function (v) { this.i.strokeThickness = +v; }, enumerable: false, configurable: true }); return IgcCalloutStyleUpdatingEventArgs; }()); export { IgcCalloutStyleUpdatingEventArgs };