UNPKG

igniteui-webcomponents-charts

Version:

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

951 lines (949 loc) 33.5 kB
import { __extends } from "tslib"; import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core"; import { LabelsPosition_$type } from "./LabelsPosition"; import { Visibility_$type } from "igniteui-webcomponents-core"; import { Style } from "igniteui-webcomponents-core"; import { LeaderLineType_$type } from "./LeaderLineType"; import { OthersCategoryType_$type } from "igniteui-webcomponents-core"; import { IgcPropertyUpdatedEventArgs } from "igniteui-webcomponents-core"; import { ensureEnum, arrayFindByName, toBrushCollection, fromBrushCollection, brushCollectionToString, toSpinal, fromSpinal, getAllPropertyNames, enumToString, ensureBool, initializePropertiesFromCss, NamePatcher, brushToString, stringToBrush } from "igniteui-webcomponents-core"; import { TypeRegistrar } from "igniteui-webcomponents-core"; import { IgcHTMLElement } from "igniteui-webcomponents-core"; /** * Represents a IgcRingSeriesBaseComponent base series. */ var IgcRingSeriesBaseComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcRingSeriesBaseComponent, _super); function IgcRingSeriesBaseComponent() { var _this = _super.call(this) || this; _this._dataSource = null; _this._tooltipTemplate = null; _this._tooltipContent = null; _this._tooltipContainerTemplate = null; _this._showDefaultTooltip = false; _this._settingAttributes = false; _this._attached = false; _this._queuedSetAttributes = []; _this._updatingFromAttribute = false; _this.__p = null; _this._hasUserValues = new Set(); _this._stylingContainer = null; _this._stylingParent = null; _this._inStyling = false; _this._propertyUpdated = null; _this._propertyUpdated_wrapped = null; if (_this._styling) { NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this)); } _this._implementation = _this.createImplementation(); _this._implementation.externalObject = _this; _this.onImplementationCreated(); return _this; } IgcRingSeriesBaseComponent.prototype.createImplementation = function () { return null; }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "dataSource", { get: function () { return this._dataSource; }, set: function (value) { this._dataSource = value; this.bindData(); }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.bindData = function () { if (this.i != null && this.i !== undefined) { this.i.itemsSource = this._dataSource; } }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "i", { get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.onImplementationCreated = function () { }; IgcRingSeriesBaseComponent._createFromInternal = function (internal) { if (!internal) { return null; } if (!internal.$type) { return null; } var name = internal.$type.name; var externalName = "Igc" + name + "Component"; if (!TypeRegistrar.isRegistered(externalName)) { return null; } return TypeRegistrar.create(externalName); }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "legend", { get: function () { if (this.i.legend != null) return this.i.legend.externalObject; }, set: function (v) { if (v != undefined && v != null) this.i.legend = v.i; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "tooltipTemplate", { get: function () { return this._tooltipTemplate; }, set: function (value) { this._tooltipTemplate = value; if (value == null) { if (this._tooltipContent !== null) { this._tooltipContent.destroy(); this._tooltipContent = null; } } if (this._tooltipContent != null) { this._tooltipContent.template = this._tooltipTemplate; } else { if (this.owner != null) { this.owner._ensureTooltipCreated(this); } } }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "tooltipContainerTemplate", { get: function () { return this._tooltipContainerTemplate; }, set: function (value) { this._tooltipContainerTemplate = value; if (this._tooltipContent != null) { this._tooltipContent.containerTemplate = this._tooltipContainerTemplate; } }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "showDefaultTooltip", { /** * Gets or sets whether default tooltip will be shown. */ get: function () { return this._showDefaultTooltip; }, set: function (v) { this._showDefaultTooltip = ensureBool(v); }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype._ensureTooltipCreated = function (createTooltip, createWrapper) { if (this._tooltipTemplate == null) { this.i.toolTip = null; } if (this._tooltipContent == null && this._tooltipTemplate != null) { var tooltip = createTooltip(); if (tooltip == null) { return; } this._tooltipContent = tooltip; tooltip.template = this._tooltipTemplate; this.i.toolTip = createWrapper(tooltip); } }; IgcRingSeriesBaseComponent.prototype._ensureTooltipDestroyed = function () { if (this._tooltipContent !== null) { this._tooltipContent.destroy(); this._tooltipContent = null; } }; IgcRingSeriesBaseComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) { this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue }); }; IgcRingSeriesBaseComponent.prototype._flushQueuedAttributes = function () { this._settingAttributes = true; for (var i = 0; i < this._queuedSetAttributes.length; i++) { this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue); } this._settingAttributes = false; this._queuedSetAttributes.length = 0; }; IgcRingSeriesBaseComponent.prototype._a = function (attrName, attrValue) { if (this._updatingFromAttribute) { return; } if (attrValue) { attrValue = attrValue.toString(); } this._settingAttributes = true; attrName = toSpinal(attrName); if (this._attached) { this.setAttribute(attrName, attrValue); } else { this._enqueueSetAttribute(attrName, attrValue); } this._settingAttributes = false; }; IgcRingSeriesBaseComponent.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(); } }; IgcRingSeriesBaseComponent.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(IgcRingSeriesBaseComponent, "observedAttributes", { get: function () { if (IgcRingSeriesBaseComponent._observedAttributesIgcRingSeriesBaseComponent == null) { var names = getAllPropertyNames(IgcRingSeriesBaseComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcRingSeriesBaseComponent._observedAttributesIgcRingSeriesBaseComponent = names; } return IgcRingSeriesBaseComponent._observedAttributesIgcRingSeriesBaseComponent; }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) { if (this._settingAttributes) { return; } var setName = fromSpinal(name); this._updatingFromAttribute = true; this[setName] = newValue; this._updatingFromAttribute = false; }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "valueMemberPath", { /** * Gets or Sets the property name that contains the values. */ get: function () { return this.i.cs; }, set: function (v) { this.i.cs = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelMemberPath", { /** * Gets or sets the property name that contains the labels. */ get: function () { return this.i.bp; }, set: function (v) { this.i.bp = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "legendLabelMemberPath", { /** * Gets or sets the property name that contains the legend labels. */ get: function () { return this.i.b3; }, set: function (v) { this.i.b3 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelsPosition", { /** * Gets or sets the position of chart labels. */ get: function () { return this.i.an; }, set: function (v) { this.i.an = ensureEnum(LabelsPosition_$type, v); this._a("labelsPosition", enumToString(LabelsPosition_$type, this.i.an)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineVisibility", { /** * Gets or sets whether the leader lines are visible. */ get: function () { return this.i.en; }, set: function (v) { this.i.en = ensureEnum(Visibility_$type, v); this._a("leaderLineVisibility", enumToString(Visibility_$type, this.i.en)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineFill", { /** * Gets or sets the fill brush. */ get: function () { return this.i.ei ? this.i.ei.fill : null; }, set: function (v) { this.ensureLeaderLineStyle(); this.i.ei.fill = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineStroke", { /** * Gets or sets the stroke brush. */ get: function () { return this.i.ei ? this.i.ei.stroke : null; }, set: function (v) { this.ensureLeaderLineStyle(); this.i.ei.stroke = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineStrokeThickness", { /** * Gets or sets the stroke thickness. */ get: function () { return this.i.ei ? this.i.ei.strokeThickness : NaN; }, set: function (v) { this.ensureLeaderLineStyle(); this.i.ei.strokeThickness = +v; this._a("leaderLineStrokeThickness", this.i.ei.strokeThickness); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineOpacity", { /** * Gets or sets the opacity. */ get: function () { return this.i.ei ? this.i.ei.opacity : NaN; }, set: function (v) { this.ensureLeaderLineStyle(); this.i.ei.opacity = +v; this._a("leaderLineOpacity", this.i.ei.opacity); }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.ensureLeaderLineStyle = function () { if (this.i.ei) { return; } this.i.ei = new Style(); }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineType", { /** * Gets or sets what type of leader lines will be used for the outside end labels. */ get: function () { return this.i.ao; }, set: function (v) { this.i.ao = ensureEnum(LeaderLineType_$type, v); this._a("leaderLineType", enumToString(LeaderLineType_$type, this.i.ao)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "leaderLineMargin", { /** * Gets or sets the margin between a label and its leader line. The default is 6 pixels. */ get: function () { return this.i.a7; }, set: function (v) { this.i.a7 = +v; this._a("leaderLineMargin", this.i.a7); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryThreshold", { /** * Gets or sets the threshold value that determines if slices are grouped into the Others slice. */ get: function () { return this.i.a8; }, set: function (v) { this.i.a8 = +v; this._a("othersCategoryThreshold", this.i.a8); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryType", { /** * Gets or sets whether to use numeric or percent-based threshold value. */ get: function () { return this.i.ap; }, set: function (v) { this.i.ap = ensureEnum(OthersCategoryType_$type, v); this._a("othersCategoryType", enumToString(OthersCategoryType_$type, this.i.ap)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryText", { /** * Gets or sets the label of the Others slice. */ get: function () { return this.i.ca; }, set: function (v) { this.i.ca = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "formatLabel", { /** * Sets or gets a function which takes an object that produces a formatted label for displaying in the chart. */ get: function () { return this.i.aq; }, set: function (v) { this.i.aq = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "formatLegendLabel", { /** * Sets or gets a function which takes an object that produces a formatted label for displaying in the chart's legend. */ get: function () { return this.i.ar; }, set: function (v) { this.i.ar = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelFormat", { /** * Gets or sets the label format string to use for the label. */ get: function () { return this.i.bl; }, set: function (v) { this.i.bl = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelFormatSpecifiers", { /** * Gets or sets the format specifiers to use with the LabelFormat string. */ get: function () { return this.i.ag; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.ag = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersLabelFormat", { /** * Gets or sets the label format string to use for the label. */ get: function () { return this.i.ce; }, set: function (v) { this.i.ce = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersLabelFormatSpecifiers", { /** * Gets or sets the format specifiers to use with the OthersLabelFormat string. */ get: function () { return this.i.aj; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.aj = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "legendLabelFormat", { /** * Gets or sets the label format string to use for the label. */ get: function () { return this.i.b0; }, set: function (v) { this.i.b0 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "legendLabelFormatSpecifiers", { /** * Gets or sets the format specifiers to use with the LegendLabelFormat string. */ get: function () { return this.i.ah; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.ah = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "legendOthersLabelFormat", { /** * Gets or sets the label format string to use for the label. */ get: function () { return this.i.b5; }, set: function (v) { this.i.b5 = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "legendOthersLabelFormatSpecifiers", { /** * Gets or sets the format specifiers to use with the LegendOthersLabelFormat string. */ get: function () { return this.i.ai; }, set: function (v) { if (v && !Array.isArray(v) && typeof (v) == "string") { var re = /\s*(?:,|\s|$)\s*/gm; v = v.split(re); } this.i.ai = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelExtent", { /** * Gets or sets the pixel amount by which the labels are offset from the edge of the slices. */ get: function () { return this.i.a6; }, set: function (v) { this.i.a6 = +v; this._a("labelExtent", this.i.a6); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "startAngle", { /** * Gets or sets the starting angle of the chart. * The default zero value is equivalent to 3 o'clock. */ get: function () { return this.i.ba; }, set: function (v) { this.i.ba = +v; this._a("startAngle", this.i.ba); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryFill", { /** * Gets or sets the fill brush. */ get: function () { return this.i.ej ? this.i.ej.fill : null; }, set: function (v) { this.ensureOthersCategoryStyle(); this.i.ej.fill = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryStroke", { /** * Gets or sets the stroke brush. */ get: function () { return this.i.ej ? this.i.ej.stroke : null; }, set: function (v) { this.ensureOthersCategoryStyle(); this.i.ej.stroke = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryStrokeThickness", { /** * Gets or sets the stroke thickness. */ get: function () { return this.i.ej ? this.i.ej.strokeThickness : NaN; }, set: function (v) { this.ensureOthersCategoryStyle(); this.i.ej.strokeThickness = +v; this._a("othersCategoryStrokeThickness", this.i.ej.strokeThickness); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "othersCategoryOpacity", { /** * Gets or sets the opacity. */ get: function () { return this.i.ej ? this.i.ej.opacity : NaN; }, set: function (v) { this.ensureOthersCategoryStyle(); this.i.ej.opacity = +v; this._a("othersCategoryOpacity", this.i.ej.opacity); }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.ensureOthersCategoryStyle = function () { if (this.i.ej) { return; } this.i.ej = new Style(); }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "selectedSliceFill", { /** * Gets or sets the fill brush. */ get: function () { return this.i.ek ? this.i.ek.fill : null; }, set: function (v) { this.ensureSelectedStyle(); this.i.ek.fill = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "selectedSliceStroke", { /** * Gets or sets the stroke brush. */ get: function () { return this.i.ek ? this.i.ek.stroke : null; }, set: function (v) { this.ensureSelectedStyle(); this.i.ek.stroke = v; }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "selectedSliceStrokeThickness", { /** * Gets or sets the stroke thickness. */ get: function () { return this.i.ek ? this.i.ek.strokeThickness : NaN; }, set: function (v) { this.ensureSelectedStyle(); this.i.ek.strokeThickness = +v; this._a("selectedSliceStrokeThickness", this.i.ek.strokeThickness); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "selectedSliceOpacity", { /** * Gets or sets the opacity. */ get: function () { return this.i.ek ? this.i.ek.opacity : NaN; }, set: function (v) { this.ensureSelectedStyle(); this.i.ek.opacity = +v; this._a("selectedSliceOpacity", this.i.ek.opacity); }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.ensureSelectedStyle = function () { if (this.i.ek) { return; } this.i.ek = new Style(); }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "brushes", { /** * Gets or sets the palette of brushes to use for coloring the slices. */ get: function () { return fromBrushCollection(this.i.ak); }, set: function (v) { this.i.ak = toBrushCollection(v); this._a("brushes", brushCollectionToString(this.i.ak)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "outlines", { /** * Gets or sets the palette of brushes to use for outlines on the slices. */ get: function () { return fromBrushCollection(this.i.al); }, set: function (v) { this.i.al = toBrushCollection(v); this._a("outlines", brushCollectionToString(this.i.al)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelOuterColor", { /** * Gets or sets the color for labels rendered outside of the pie chart. */ get: function () { return brushToString(this.i.eg); }, set: function (v) { this.i.eg = stringToBrush(v); this._a("labelOuterColor", brushToString(this.i.eg)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "labelInnerColor", { /** * Gets or sets the color for labels rendered inside of the pie chart. */ get: function () { return brushToString(this.i.ef); }, set: function (v) { this.i.ef = stringToBrush(v); this._a("labelInnerColor", brushToString(this.i.ef)); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "isSurfaceInteractionDisabled", { /** * Gets or sets whether all surface interactions with the plot area should be disabled. */ get: function () { return this.i.a3; }, set: function (v) { this.i.a3 = ensureBool(v); this._a("isSurfaceInteractionDisabled", this.i.a3); }, enumerable: false, configurable: true }); Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "radiusFactor", { /** * Gets or sets the scaling factor of the chart's radius. Value between 0 and 1. */ get: function () { return this.i.a9; }, set: function (v) { this.i.a9 = +v; this._a("radiusFactor", this.i.a9); }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.findByName = function (name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } if (this.legend && this.legend.name && this.legend.name == name) { return this.legend; } if (this.labelFormatSpecifiers != null && arrayFindByName(this.labelFormatSpecifiers, name)) { return arrayFindByName(this.labelFormatSpecifiers, name); } if (this.othersLabelFormatSpecifiers != null && arrayFindByName(this.othersLabelFormatSpecifiers, name)) { return arrayFindByName(this.othersLabelFormatSpecifiers, name); } if (this.legendLabelFormatSpecifiers != null && arrayFindByName(this.legendLabelFormatSpecifiers, name)) { return arrayFindByName(this.legendLabelFormatSpecifiers, name); } if (this.legendOthersLabelFormatSpecifiers != null && arrayFindByName(this.legendOthersLabelFormatSpecifiers, name)) { return arrayFindByName(this.legendOthersLabelFormatSpecifiers, name); } return null; }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "hasUserValues", { get: function () { return this._hasUserValues; }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent.prototype.__m = function (propertyName) { if (!this._inStyling) { this._hasUserValues.add(propertyName); } }; IgcRingSeriesBaseComponent.prototype._styling = function (container, component, parent) { if (this._inStyling) { return; } this._inStyling = true; this._stylingContainer = container; this._stylingParent = component; var genericPrefix = ""; var typeName = this.i.$type.name; if (typeName.indexOf("Xam") === 0) { typeName = typeName.substring(3); } genericPrefix = toSpinal("RingSeriesBaseComponent"); var additionalPrefixes = []; var prefix = toSpinal(typeName); additionalPrefixes.push(prefix + "-"); var b = this.i.$type.baseType; while (b && b.name != "Object" && b.name != "Base" && b.name != "Control" && b.Name != "DependencyObject" && b.Name != "FrameworkElement") { typeName = b.name; if (typeName.indexOf("Xam") === 0) { typeName = typeName.substring(3); } var basePrefix = toSpinal(typeName); additionalPrefixes.push(basePrefix + "-"); b = b.baseType; } if (parent) { var parentTypeName = parent.i.$type.name; if (parentTypeName.indexOf("Xam") === 0) { parentTypeName = parentTypeName.substring(3); } var parentPrefix = toSpinal(parentTypeName); additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-"); additionalPrefixes.push(parentPrefix + "-" + prefix + "-"); } initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes); if (this._otherStyling) { this._otherStyling(container, component, parent); } this._inStyling = false; }; /** * Called by the UI framework to provide a UI container for rendering this control. * @param container * The UI container element. */ IgcRingSeriesBaseComponent.prototype.provideContainer = function (container) { this.i.c5(container); }; Object.defineProperty(IgcRingSeriesBaseComponent.prototype, "propertyUpdated", { /** * Event raised when a property (including "effective" and non-dependency property) value changes. */ get: function () { return this._propertyUpdated; }, set: function (ev) { var _this = this; if (this._propertyUpdated_wrapped !== null) { this.i.propertyUpdated = delegateRemove(this.i.propertyUpdated, this._propertyUpdated_wrapped); this._propertyUpdated_wrapped = null; this._propertyUpdated = null; } this._propertyUpdated = ev; this._propertyUpdated_wrapped = function (o, e) { var outerArgs = new IgcPropertyUpdatedEventArgs(); outerArgs._provideImplementation(e); if (_this.beforePropertyUpdated) { _this.beforePropertyUpdated(_this, outerArgs); } if (_this._propertyUpdated) { _this._propertyUpdated(_this, outerArgs); } }; this.i.propertyUpdated = delegateCombine(this.i.propertyUpdated, this._propertyUpdated_wrapped); ; }, enumerable: false, configurable: true }); IgcRingSeriesBaseComponent._observedAttributesIgcRingSeriesBaseComponent = null; return IgcRingSeriesBaseComponent; }(IgcHTMLElement)); export { IgcRingSeriesBaseComponent };