igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
110 lines (109 loc) • 4.41 kB
JavaScript
import { __extends } from "tslib";
import { IgcPolarLineSeriesBaseComponent } from "./igc-polar-line-series-base-component";
import { PolarSplineAreaSeries } from "./PolarSplineAreaSeries";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
* Represents a IgxDataChartComponent polar spline area series.
*/
var IgcPolarSplineAreaSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcPolarSplineAreaSeriesComponent, _super);
function IgcPolarSplineAreaSeriesComponent() {
return _super.call(this) || this;
}
IgcPolarSplineAreaSeriesComponent.prototype.createImplementation = function () {
return new PolarSplineAreaSeries();
};
Object.defineProperty(IgcPolarSplineAreaSeriesComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcPolarSplineAreaSeriesComponent.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();
}
};
IgcPolarSplineAreaSeriesComponent.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(IgcPolarSplineAreaSeriesComponent, "observedAttributes", {
get: function () {
if (IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent == null) {
var names = getAllPropertyNames(IgcPolarSplineAreaSeriesComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent = names;
}
return IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent;
},
enumerable: false,
configurable: true
});
IgcPolarSplineAreaSeriesComponent.register = function () {
if (!IgcPolarSplineAreaSeriesComponent._isElementRegistered) {
IgcPolarSplineAreaSeriesComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcPolarSplineAreaSeriesComponent.htmlTagName, IgcPolarSplineAreaSeriesComponent);
}
};
Object.defineProperty(IgcPolarSplineAreaSeriesComponent.prototype, "isArea", {
/**
* Gets whether the current series shows an area shape.
*/
get: function () {
return this.i.ew;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcPolarSplineAreaSeriesComponent.prototype, "isSpline", {
/**
* Gets whether the current series shows a spline shape.
*/
get: function () {
return this.i.f1;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcPolarSplineAreaSeriesComponent.prototype, "stiffness", {
/**
* Gets or sets the Stiffness property.
*/
get: function () {
return this.i.ac0;
},
set: function (v) {
this.i.ac0 = +v;
this._a("stiffness", this.i.ac0);
},
enumerable: false,
configurable: true
});
IgcPolarSplineAreaSeriesComponent._observedAttributesIgcPolarSplineAreaSeriesComponent = null;
IgcPolarSplineAreaSeriesComponent.htmlTagName = "igc-polar-spline-area-series";
IgcPolarSplineAreaSeriesComponent._isElementRegistered = false;
return IgcPolarSplineAreaSeriesComponent;
}(IgcPolarLineSeriesBaseComponent));
export { IgcPolarSplineAreaSeriesComponent };