UNPKG

igniteui-webcomponents-charts

Version:

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

95 lines (94 loc) 3.8 kB
import { __extends } from "tslib"; import { IgcSplineSeriesBaseComponent } from "./igc-spline-series-base-component"; import { SplineAreaSeries } from "./SplineAreaSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent spline area series. */ export var IgcSplineAreaSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcSplineAreaSeriesComponent, _super); function IgcSplineAreaSeriesComponent() { return _super.call(this) || this; } IgcSplineAreaSeriesComponent.prototype.createImplementation = function () { return new SplineAreaSeries(); }; Object.defineProperty(IgcSplineAreaSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcSplineAreaSeriesComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcSplineAreaSeriesComponent.prototype.disconnectedCallback = function () { if (_super.prototype["disconnectedCallback"]) { _super.prototype["disconnectedCallback"].call(this); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } }; Object.defineProperty(IgcSplineAreaSeriesComponent, "observedAttributes", { get: function () { if (IgcSplineAreaSeriesComponent._observedAttributesIgcSplineAreaSeriesComponent == null) { var names = getAllPropertyNames(IgcSplineAreaSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcSplineAreaSeriesComponent._observedAttributesIgcSplineAreaSeriesComponent = names; } return IgcSplineAreaSeriesComponent._observedAttributesIgcSplineAreaSeriesComponent; }, enumerable: false, configurable: true }); IgcSplineAreaSeriesComponent.register = function () { if (!IgcSplineAreaSeriesComponent._isElementRegistered) { IgcSplineAreaSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcSplineAreaSeriesComponent.htmlTagName, IgcSplineAreaSeriesComponent); } }; Object.defineProperty(IgcSplineAreaSeriesComponent.prototype, "isArea", { /** * Gets whether the current series shows an area shape. */ get: function () { return this.i.ex; }, enumerable: false, configurable: true }); Object.defineProperty(IgcSplineAreaSeriesComponent.prototype, "isSpline", { /** * Gets whether the current series shows a spline shape. */ get: function () { return this.i.f3; }, enumerable: false, configurable: true }); IgcSplineAreaSeriesComponent._observedAttributesIgcSplineAreaSeriesComponent = null; IgcSplineAreaSeriesComponent.htmlTagName = "igc-spline-area-series"; IgcSplineAreaSeriesComponent._isElementRegistered = false; return IgcSplineAreaSeriesComponent; }(IgcSplineSeriesBaseComponent));