UNPKG

igniteui-react-charts

Version:

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

148 lines (147 loc) 4.49 kB
import { CalloutBadgeInfo as CalloutBadgeInfo_internal } from "./CalloutBadgeInfo"; import { ensureBool } from "igniteui-react-core"; /** * Provides info about callout badge */ var IgrCalloutBadgeInfo = /** @class */ /*@__PURE__*/ (function () { function IgrCalloutBadgeInfo() { this.mounted = false; this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgrCalloutBadgeInfo.prototype.createImplementation = function () { return new CalloutBadgeInfo_internal(); }; Object.defineProperty(IgrCalloutBadgeInfo.prototype, "nativeElement", { get: function () { return this._implementation.nativeElement; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgrCalloutBadgeInfo.prototype.onImplementationCreated = function () { }; IgrCalloutBadgeInfo.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeThickness", { /** * Gets or sets badge thickness in the callout. */ get: function () { return this.i.badgeThickness; }, set: function (v) { this.i.badgeThickness = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeWidth", { /** * Gets or sets badge width in the callout. */ get: function () { return this.i.badgeWidth; }, set: function (v) { this.i.badgeWidth = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeHeight", { /** * Gets or sets badge height in the callout. */ get: function () { return this.i.badgeHeight; }, set: function (v) { this.i.badgeHeight = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeVisible", { /** * Gets or sets whether the badge is visible in the callout. */ get: function () { return this.i.badgeVisible; }, set: function (v) { this.i.badgeVisible = ensureBool(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeGap", { /** * Gets or sets the gap between badge and text in the callout. */ get: function () { return this.i.badgeGap; }, set: function (v) { this.i.badgeGap = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeCorner", { /** * Gets or sets the corner badge in the callout. */ get: function () { return this.i.badgeCorner; }, set: function (v) { this.i.badgeCorner = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgrCalloutBadgeInfo.prototype, "badgeImage", { /** * Gets or sets the image path for badge displayed in the callout. */ get: function () { return this.i.badgeImage; }, set: function (v) { this.i.badgeImage = v; }, enumerable: false, configurable: true }); IgrCalloutBadgeInfo.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; }; return IgrCalloutBadgeInfo; }()); export { IgrCalloutBadgeInfo };