UNPKG

igniteui-webcomponents-charts

Version:

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

115 lines (114 loc) 4.44 kB
import { __extends } from "tslib"; import { IgcHorizontalAnchoredCategorySeriesComponent } from "./igc-horizontal-anchored-category-series-component"; import { StepAreaSeries } from "./StepAreaSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent step area series. */ export var IgcStepAreaSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcStepAreaSeriesComponent, _super); function IgcStepAreaSeriesComponent() { return _super.call(this) || this; } IgcStepAreaSeriesComponent.prototype.createImplementation = function () { return new StepAreaSeries(); }; Object.defineProperty(IgcStepAreaSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcStepAreaSeriesComponent.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(); } }; IgcStepAreaSeriesComponent.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(IgcStepAreaSeriesComponent, "observedAttributes", { get: function () { if (IgcStepAreaSeriesComponent._observedAttributesIgcStepAreaSeriesComponent == null) { var names = getAllPropertyNames(IgcStepAreaSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcStepAreaSeriesComponent._observedAttributesIgcStepAreaSeriesComponent = names; } return IgcStepAreaSeriesComponent._observedAttributesIgcStepAreaSeriesComponent; }, enumerable: false, configurable: true }); IgcStepAreaSeriesComponent.register = function () { if (!IgcStepAreaSeriesComponent._isElementRegistered) { IgcStepAreaSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcStepAreaSeriesComponent.htmlTagName, IgcStepAreaSeriesComponent); } }; Object.defineProperty(IgcStepAreaSeriesComponent.prototype, "isAreaOrLine", { /** * Gets whether the current series shows an area or line shape. */ get: function () { return this.i.ey; }, enumerable: false, configurable: true }); Object.defineProperty(IgcStepAreaSeriesComponent.prototype, "isArea", { /** * Gets whether the current series shows an area shape. */ get: function () { return this.i.ex; }, enumerable: false, configurable: true }); Object.defineProperty(IgcStepAreaSeriesComponent.prototype, "isStep", { /** * Gets whether the current series shows step shapes. */ get: function () { return this.i.f4; }, enumerable: false, configurable: true }); Object.defineProperty(IgcStepAreaSeriesComponent.prototype, "isMarkerlessDisplayPreferred", { /** * Overridden by derived series classes to indicate when marker-less display is preferred or not. */ get: function () { return this.i.fo; }, enumerable: false, configurable: true }); IgcStepAreaSeriesComponent._observedAttributesIgcStepAreaSeriesComponent = null; IgcStepAreaSeriesComponent.htmlTagName = "igc-step-area-series"; IgcStepAreaSeriesComponent._isElementRegistered = false; return IgcStepAreaSeriesComponent; }(IgcHorizontalAnchoredCategorySeriesComponent));