UNPKG

igniteui-webcomponents-charts

Version:

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

99 lines (98 loc) 3.94 kB
import { __extends } from "tslib"; import { IgcPolarLineSeriesBaseComponent } from "./igc-polar-line-series-base-component"; import { PolarSplineSeries } from "./PolarSplineSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent polar spline series. */ export var IgcPolarSplineSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcPolarSplineSeriesComponent, _super); function IgcPolarSplineSeriesComponent() { return _super.call(this) || this; } IgcPolarSplineSeriesComponent.prototype.createImplementation = function () { return new PolarSplineSeries(); }; Object.defineProperty(IgcPolarSplineSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcPolarSplineSeriesComponent.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(); } }; IgcPolarSplineSeriesComponent.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(IgcPolarSplineSeriesComponent, "observedAttributes", { get: function () { if (IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent == null) { var names = getAllPropertyNames(IgcPolarSplineSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent = names; } return IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent; }, enumerable: false, configurable: true }); IgcPolarSplineSeriesComponent.register = function () { if (!IgcPolarSplineSeriesComponent._isElementRegistered) { IgcPolarSplineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcPolarSplineSeriesComponent.htmlTagName, IgcPolarSplineSeriesComponent); } }; Object.defineProperty(IgcPolarSplineSeriesComponent.prototype, "isSpline", { /** * Gets whether the current series shows a spline shape. */ get: function () { return this.i.f3; }, enumerable: false, configurable: true }); Object.defineProperty(IgcPolarSplineSeriesComponent.prototype, "stiffness", { /** * Gets or sets the Stiffness property. */ get: function () { return this.i.adg; }, set: function (v) { this.i.adg = +v; this._a("stiffness", this.i.adg); }, enumerable: false, configurable: true }); IgcPolarSplineSeriesComponent._observedAttributesIgcPolarSplineSeriesComponent = null; IgcPolarSplineSeriesComponent.htmlTagName = "igc-polar-spline-series"; IgcPolarSplineSeriesComponent._isElementRegistered = false; return IgcPolarSplineSeriesComponent; }(IgcPolarLineSeriesBaseComponent));