UNPKG

igniteui-webcomponents-charts

Version:

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

909 lines (902 loc) 33.6 kB
import { WebComponentRenderer } from "igniteui-webcomponents-core"; import { TypeRegistrar, delegateRemove, delegateCombine } from "igniteui-webcomponents-core"; import { DataChartStylingDefaults } from './DataChartStylingDefaults'; import { XamFunnelChart } from './XamFunnelChart'; import { RegisterElementHelper } from "igniteui-webcomponents-core"; import { IgcHTMLElement } from "igniteui-webcomponents-core"; import { getAllPropertyNames, toSpinal, fromSpinal, enumToString, brushCollectionToString, initializePropertiesFromCss, NamePatcher, fromBrushCollection, toBrushCollection, ensureBool, stringToBrush, brushToString, ensureEnum } from "igniteui-webcomponents-core"; import { Visibility_$type } from "igniteui-webcomponents-core"; import { OuterLabelAlignment_$type } from './OuterLabelAlignment'; import { FunnelSliceDisplay_$type } from './FunnelSliceDisplay'; import { IgcFunnelSliceClickedEventArgs } from './igc-funnel-slice-clicked-event-args'; import { IgcFunnelSliceEventArgs } from './igc-funnel-slice-event-args'; import { Style } from "igniteui-webcomponents-core"; import { HighlightedValueDisplayMode_$type } from "igniteui-webcomponents-core"; import { Base } from "igniteui-webcomponents-core"; import { SyncableObservableCollection$1 } from "igniteui-webcomponents-core"; import { IgcFunnelChartSelectedItemsCollection } from './igc-funnel-chart-selected-items-collection'; import { FunnelChartSelectedItemsCollection as FunnelChartSelectedItemsCollection_internal } from './FunnelChartSelectedItemsCollection'; import { IgcFunnelChartSelectedItemsChangedEventArgs } from './igc-funnel-chart-selected-items-changed-event-args'; export let IgcFunnelChartComponent = /*@__PURE__*/ (() => { class IgcFunnelChartComponent extends IgcHTMLElement { set height(value) { this._height = value; this.style.height = value; this.notifyResized(); } get height() { return this._height; } set width(value) { this._width = value; this.style.width = value; this.notifyResized(); } get width() { return this._width; } notifyContainerResized() { this._chart.notifyResized(); } constructor() { super(); this._disconnected = false; this._dataSource = null; this._settingAttributes = false; this._attached = false; this._queuedSetAttributes = []; this._updatingFromAttribute = false; this._selectedItems = null; this.__p = null; this._hasUserValues = new Set(); this._stylingContainer = null; this._stylingParent = null; this._inStyling = false; this._selectedItemsChanged = null; this._selectedItemsChanged_wrapped = null; this._sliceClicked = null; this._sliceClicked_wrapped = null; this._sliceEnter = null; this._sliceEnter_wrapped = null; this._sliceLeave = null; this._sliceLeave_wrapped = null; this._sliceHover = null; this._sliceHover_wrapped = null; if (this._styling) { NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this)); } this._renderer = new WebComponentRenderer(this, document, true, DataChartStylingDefaults); this._implementation = this.createImplementation(); this.container = this._renderer.createElement("div"); this._renderer.updateRoot(this.container); //this._renderer.rootWrapper.append(this._container); this.container.setStyleProperty("display", "block"); this.container.setStyleProperty("width", "100%"); this.container.setStyleProperty("height", "100%"); var root; root = this.container; if (this.container.getNativeElement() != null) { root = this.container.getNativeElement(); } this._wrapper = this._renderer; var chart = this.i; this._chart = chart; chart.provideContainer(this._renderer); this.bindData(); chart.notifyResized(); this._renderer.addSizeWatcher(() => { this._chart.notifyResized(); }); } disconnectedCallback() { this._disconnected = true; if (this.i) { this.i.onDetachedFromUI(); } } connectedCallback() { if (this._disconnected) { this._disconnected = false; if (this.i) { this.i.onAttachedToUI(); } return; } this.classList.add("ig-funnel-chart"); this.classList.add("igc-funnel-chart"); this.appendChild(this.container.getNativeElement()); this._attached = true; this.style.display = "block"; this.style.height = this._height; this.style.width = this._width; this._flushQueuedAttributes(); // supports themes or custom properties set in CSS this._styling(this, this); } destroy() { this._chart.destroy(); this._wrapper.destroy(); } createImplementation() { return new XamFunnelChart(); } createSeriesComponent(type) { if (TypeRegistrar.isRegistered(type)) { let s = TypeRegistrar.create(type); s.owner = this; s._provideRenderer(this._renderer); return s; } else { //we shouldn't get here, hopefully. throw Error("series type not loaded: " + type); } } set dataSource(value) { this._dataSource = value; this.bindData(); } get dataSource() { return this._dataSource; } bindData() { if (this._chart != null && this._chart !== undefined) { this._chart.itemsSource = this._dataSource; } } /** * Gets or sets the legend used for the current chart. */ get legend() { if (this.i.legend != null) return this.i.legend.externalObject; } set legend(v) { if (v != undefined && v != null) this.i.legend = v.i; } /** * @hidden */ get i() { return this._implementation; } /** * @hidden */ static _createFromInternal(internal) { if (!internal) { return null; } if (!internal.$type) { return null; } let name = internal.$type.name; let externalName = "Igc" + name + "Component"; if (!TypeRegistrar.isRegistered(externalName)) { return null; } return TypeRegistrar.create(externalName); } _enqueueSetAttribute(attrName, attrValue) { this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue }); } _flushQueuedAttributes() { this._settingAttributes = true; for (let i = 0; i < this._queuedSetAttributes.length; i++) { this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue); } this._settingAttributes = false; this._queuedSetAttributes.length = 0; } _a(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; } static get observedAttributes() { if (IgcFunnelChartComponent._observedAttributesIgcFunnelChartComponent == null) { let names = getAllPropertyNames(IgcFunnelChartComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcFunnelChartComponent._observedAttributesIgcFunnelChartComponent = names; } return IgcFunnelChartComponent._observedAttributesIgcFunnelChartComponent; } attributeChangedCallback(name, oldValue, newValue) { if (this._settingAttributes) { return; } let setName = fromSpinal(name); this._updatingFromAttribute = true; this[setName] = newValue; this._updatingFromAttribute = false; } static register() { if (!IgcFunnelChartComponent._isElementRegistered) { IgcFunnelChartComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcFunnelChartComponent.htmlTagName, IgcFunnelChartComponent); } } /** * Gets or sets the value member path for the funnel chart. */ get valueMemberPath() { return this.i.dw; } set valueMemberPath(v) { this.i.dw = v; } /** * Gets or sets the highlighted value member path for the funnel chart. */ get highlightedValueMemberPath() { return this.i.cs; } set highlightedValueMemberPath(v) { this.i.cs = v; } /** * Gets the actual opacity of the primary needle while highlighting */ get actualHighlightValueOpacity() { return this.i.bx; } set actualHighlightValueOpacity(v) { this.i.bx = +v; this._a("actualHighlightValueOpacity", this.i.bx); } /** * Gets or sets the opacity while highlighting */ get highlightValueOpacity() { return this.i.b1; } set highlightValueOpacity(v) { this.i.b1 = +v; this._a("highlightValueOpacity", this.i.b1); } /** * Gets whether and how to display the highlighted value. */ get actualHighlightValueDisplayMode() { return this.i.a5; } set actualHighlightValueDisplayMode(v) { this.i.a5 = ensureEnum(HighlightedValueDisplayMode_$type, v); this._a("actualHighlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.a5)); } /** * Gets or sets whether and how to display the highlighted value. */ get highlightValueDisplayMode() { return this.i.a6; } set highlightValueDisplayMode(v) { this.i.a6 = ensureEnum(HighlightedValueDisplayMode_$type, v); this._a("highlightValueDisplayMode", enumToString(HighlightedValueDisplayMode_$type, this.i.a6)); } /** * Gets or sets the palette of brushes to use for coloring the slices. */ get brushes() { return fromBrushCollection(this.i.ah); } set brushes(v) { this.i.ah = toBrushCollection(v); this._a("brushes", brushCollectionToString(this.i.ah)); } /** * Gets or sets the palette of brushes to use for outlines on the slices. */ get outlines() { return fromBrushCollection(this.i.ai); } set outlines(v) { this.i.ai = toBrushCollection(v); this._a("outlines", brushCollectionToString(this.i.ai)); } /** * Gets or sets the percentage (from near 0 to 1) of space the bottom edge of the funnel should take. */ get bottomEdgeWidth() { return this.i.bz; } set bottomEdgeWidth(v) { this.i.bz = +v; this._a("bottomEdgeWidth", this.i.bz); } /** * Gets or sets the InnerLabel mapping property for the current series object. */ get innerLabelMemberPath() { return this.i.cz; } set innerLabelMemberPath(v) { this.i.cz = v; } /** * Gets or sets the OuterLabel mapping property for the current series object. */ get outerLabelMemberPath() { return this.i.da; } set outerLabelMemberPath(v) { this.i.da = v; } /** * Gets or sets whether the inner labels are visible. */ get innerLabelVisibility() { return this.i.fv; } set innerLabelVisibility(v) { this.i.fv = ensureEnum(Visibility_$type, v); this._a("innerLabelVisibility", enumToString(Visibility_$type, this.i.fv)); } /** * Gets or sets whether the outer labels are visible. */ get outerLabelVisibility() { return this.i.fw; } set outerLabelVisibility(v) { this.i.fw = ensureEnum(Visibility_$type, v); this._a("outerLabelVisibility", enumToString(Visibility_$type, this.i.fw)); } /** * Gets or sets which side of the chart the outer labels should appear. */ get outerLabelAlignment() { return this.i.ax; } set outerLabelAlignment(v) { this.i.ax = ensureEnum(OuterLabelAlignment_$type, v); this._a("outerLabelAlignment", enumToString(OuterLabelAlignment_$type, this.i.ax)); } /** * Gets or sets how the heights of the funnel slices should be configured. */ get funnelSliceDisplay() { return this.i.an; } set funnelSliceDisplay(v) { this.i.an = ensureEnum(FunnelSliceDisplay_$type, v); this._a("funnelSliceDisplay", enumToString(FunnelSliceDisplay_$type, this.i.an)); } /** * Gets or sets the formatter function for inner labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. */ get formatInnerLabel() { return this.i.b9; } set formatInnerLabel(v) { this.i.b9 = v; } /** * Gets or sets the formatter function for outer labels. Function should return string and it takes 3 parameters: 1st-value of item to format, 2nd-index of item within data, 3rd-reference to the funnel chart. */ get formatOuterLabel() { return this.i.ca; } set formatOuterLabel(v) { this.i.ca = v; } /** * Gets or sets how long the animations should take to run. */ get transitionDuration() { return this.i.cb; } set transitionDuration(v) { this.i.cb = +v; this._a("transitionDuration", this.i.cb); } /** * Gets or sets if the funnel should be rendered inverted. */ get isInverted() { return this.i.bn; } set isInverted(v) { this.i.bn = ensureBool(v); this._a("isInverted", this.i.bn); } /** * Gets or sets whether to use a Bezier curve to define the funnel. */ get useBezierCurve() { return this.i.bo; } set useBezierCurve(v) { this.i.bo = ensureBool(v); this._a("useBezierCurve", this.i.bo); } /** * Gets or sets whether to allow slices to be selected. */ get allowSliceSelection() { return this.i.bh; } set allowSliceSelection(v) { this.i.bh = ensureBool(v); this._a("allowSliceSelection", this.i.bh); } /** * Gets or sets whether to use the unselected style on unselected slices. */ get useUnselectedStyle() { return this.i.bq; } set useUnselectedStyle(v) { this.i.bq = ensureBool(v); this._a("useUnselectedStyle", this.i.bq); } /** * Gets or sets the fill brush. */ get selectedSliceFill() { return this.i.ft ? this.i.ft.fill : null; } set selectedSliceFill(v) { this.ensureSelectedSliceStyle(); this.i.ft.fill = v; } /** * Gets or sets the stroke brush. */ get selectedSliceStroke() { return this.i.ft ? this.i.ft.stroke : null; } set selectedSliceStroke(v) { this.ensureSelectedSliceStyle(); this.i.ft.stroke = v; } /** * Gets or sets the stroke thickness. */ get selectedSliceStrokeThickness() { return this.i.ft ? this.i.ft.strokeThickness : NaN; } set selectedSliceStrokeThickness(v) { this.ensureSelectedSliceStyle(); this.i.ft.strokeThickness = +v; this._a("selectedSliceStrokeThickness", this.i.ft.strokeThickness); } /** * Gets or sets the opacity. */ get selectedSliceOpacity() { return this.i.ft ? this.i.ft.opacity : NaN; } set selectedSliceOpacity(v) { this.ensureSelectedSliceStyle(); this.i.ft.opacity = +v; this._a("selectedSliceOpacity", this.i.ft.opacity); } ensureSelectedSliceStyle() { if (this.i.ft) { return; } this.i.ft = new Style(); } /** * Gets or sets the fill brush. */ get unselectedSliceFill() { return this.i.fu ? this.i.fu.fill : null; } set unselectedSliceFill(v) { this.ensureUnselectedSliceStyle(); this.i.fu.fill = v; } /** * Gets or sets the stroke brush. */ get unselectedSliceStroke() { return this.i.fu ? this.i.fu.stroke : null; } set unselectedSliceStroke(v) { this.ensureUnselectedSliceStyle(); this.i.fu.stroke = v; } /** * Gets or sets the stroke thickness. */ get unselectedSliceStrokeThickness() { return this.i.fu ? this.i.fu.strokeThickness : NaN; } set unselectedSliceStrokeThickness(v) { this.ensureUnselectedSliceStyle(); this.i.fu.strokeThickness = +v; this._a("unselectedSliceStrokeThickness", this.i.fu.strokeThickness); } /** * Gets or sets the opacity. */ get unselectedSliceOpacity() { return this.i.fu ? this.i.fu.opacity : NaN; } set unselectedSliceOpacity(v) { this.ensureUnselectedSliceStyle(); this.i.fu.opacity = +v; this._a("unselectedSliceOpacity", this.i.fu.opacity); } ensureUnselectedSliceStyle() { if (this.i.fu) { return; } this.i.fu = new Style(); } /** * Represents the current selected items. */ get selectedItems() { if (this._selectedItems === null) { let coll = new IgcFunnelChartSelectedItemsCollection(); let innerColl = this.i.selectedItems; if (!innerColl) { innerColl = new FunnelChartSelectedItemsCollection_internal(); } this._selectedItems = coll._fromInner(innerColl); } return this._selectedItems; } set selectedItems(v) { if (this._selectedItems !== null) { this._selectedItems._setSyncTarget(null); this._selectedItems = null; } let coll = new IgcFunnelChartSelectedItemsCollection(); this._selectedItems = coll._fromOuter(v); let syncColl = new SyncableObservableCollection$1(Base.$type); let innerColl = this.i.selectedItems; if (!innerColl) { innerColl = new FunnelChartSelectedItemsCollection_internal(); } syncColl._inner = innerColl; syncColl.clear(); this._selectedItems._setSyncTarget(syncColl); } /** * Gets or sets the LegendItemBadgeTemplate to use for the legend items. */ get legendItemBadgeTemplate() { return this.i.legendItemBadgeTemplate; } set legendItemBadgeTemplate(v) { this.i.legendItemBadgeTemplate = v; } /** * Gets or sets whether to use the outer labels to identify the legend items. */ get useOuterLabelsForLegend() { return this.i.bp; } set useOuterLabelsForLegend(v) { this.i.bp = ensureBool(v); this._a("useOuterLabelsForLegend", this.i.bp); } /** * Gets or sets the text style for inner labels */ get textStyle() { return this.i.dl; } set textStyle(v) { this.i.dl = v; } /** * Gets or sets the text style for outer labels */ get outerLabelTextStyle() { return this.i.dd; } set outerLabelTextStyle(v) { this.i.dd = v; } /** * Gets or sets the thickness of outline around slices. */ get outlineThickness() { return this.i.b2; } set outlineThickness(v) { this.i.b2 = +v; this._a("outlineThickness", this.i.b2); } /** * Gets or sets the scaling value used to affect the pixel density of the control. * A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control * to appear blurry. */ get pixelScalingRatio() { return this.i.b4; } set pixelScalingRatio(v) { this.i.b4 = +v; this._a("pixelScalingRatio", this.i.b4); } /** * Gets or sets the brush used for the outer labels. */ get outerLabelTextColor() { return brushToString(this.i.fp); } set outerLabelTextColor(v) { this.i.fp = stringToBrush(v); this._a("outerLabelTextColor", brushToString(this.i.fp)); } /** * Gets or sets the brush used for the inner labels. */ get textColor() { return brushToString(this.i.fq); } set textColor(v) { this.i.fq = stringToBrush(v); this._a("textColor", brushToString(this.i.fq)); } findByName(name) { if (this.findEphemera) { if (name && name.indexOf("@@e:") == 0) { return this.findEphemera(name); } } return null; } get hasUserValues() { return this._hasUserValues; } __m(propertyName) { if (!this._inStyling) { this._hasUserValues.add(propertyName); } } _styling(container, component, parent) { if (this._inStyling) { return; } this._inStyling = true; this._stylingContainer = container; this._stylingParent = component; let genericPrefix = ""; let typeName = this.i.$type.name; if (typeName.indexOf("Xam") === 0) { typeName = typeName.substring(3); } genericPrefix = toSpinal("FunnelChartComponent"); let additionalPrefixes = []; let prefix = toSpinal(typeName); additionalPrefixes.push(prefix + "-"); let 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); } let basePrefix = toSpinal(typeName); additionalPrefixes.push(basePrefix + "-"); b = b.baseType; } if (parent) { let parentTypeName = parent.i.$type.name; if (parentTypeName.indexOf("Xam") === 0) { parentTypeName = parentTypeName.substring(3); } let 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; } /** * Use to force the funnel chart to finish any deferred work before printing or evaluating its visual. * This should only be called if the visual of the funnel chart needs to be synchronously saved or evaluated. * Calling this method too often will hinder the performance of the funnel chart. */ flush() { this.i.d0(); } /** * Provides container for funnel chart */ provideContainer(container) { this.i.provideContainer(container); } /** * Notifies the controller and view about a size change. */ notifyResized() { this.i.notifyResized(); } notifySetItem(source_, index, oldItem, newItem) { this.i.eb(source_, index, oldItem, newItem); } /** * Manually notifies the chart's data source that the data it has bound to has been cleared and needs to be re-examined. * This should not be called if the data that the chart is bound to is already observable. */ notifyClearItems(source_) { this.i.d6(source_); } notifyInsertItem(source_, index, newItem) { this.i.d8(source_, index, newItem); } notifyRemoveItem(source_, index, oldItem) { this.i.d9(source_, index, oldItem); } /** * Toggle selection of item at index. */ toggleSelection(index) { this.i.eo(index); } /** * Exports and serializes the chart visuals. */ exportSerializedVisualData() { let iv = this.i.cm(); return (iv); } /** * Raised when the SelectedItems collection has changed. */ get selectedItemsChanged() { return this._selectedItemsChanged; } set selectedItemsChanged(ev) { if (this._selectedItemsChanged_wrapped !== null) { this.i.selectedItemsChanged = delegateRemove(this.i.selectedItemsChanged, this._selectedItemsChanged_wrapped); this._selectedItemsChanged_wrapped = null; this._selectedItemsChanged = null; } this._selectedItemsChanged = ev; this._selectedItemsChanged_wrapped = (o, e) => { let outerArgs = new IgcFunnelChartSelectedItemsChangedEventArgs(); outerArgs._provideImplementation(e); if (this.beforeSelectedItemsChanged) { this.beforeSelectedItemsChanged(this, outerArgs); } if (this._selectedItemsChanged) { this._selectedItemsChanged(this, outerArgs); } }; this.i.selectedItemsChanged = delegateCombine(this.i.selectedItemsChanged, this._selectedItemsChanged_wrapped); ; } /** * Event which is raised when a slice is clicked. * Function takes first argument null and second argument ui. * Use ui.owner to obtain reference to igFunnelChart. * Use ui.index to obtain index of clicked slice. * Use ui.item to obtain reference to clicked slice item. * Use ui.selected to check if slice became selected. */ get sliceClicked() { return this._sliceClicked; } set sliceClicked(ev) { if (this._sliceClicked_wrapped !== null) { this.i.sliceClicked = delegateRemove(this.i.sliceClicked, this._sliceClicked_wrapped); this._sliceClicked_wrapped = null; this._sliceClicked = null; } this._sliceClicked = ev; this._sliceClicked_wrapped = (o, e) => { let outerArgs = new IgcFunnelSliceClickedEventArgs(); outerArgs._provideImplementation(e); if (this.beforeSliceClicked) { this.beforeSliceClicked(this, outerArgs); } if (this._sliceClicked) { this._sliceClicked(this, outerArgs); } }; this.i.sliceClicked = delegateCombine(this.i.sliceClicked, this._sliceClicked_wrapped); ; } /** * Raised when a funnel slice is entered. */ get sliceEnter() { return this._sliceEnter; } set sliceEnter(ev) { if (this._sliceEnter_wrapped !== null) { this.i.sliceEnter = delegateRemove(this.i.sliceEnter, this._sliceEnter_wrapped); this._sliceEnter_wrapped = null; this._sliceEnter = null; } this._sliceEnter = ev; this._sliceEnter_wrapped = (o, e) => { let outerArgs = new IgcFunnelSliceEventArgs(); outerArgs._provideImplementation(e); if (this.beforeSliceEnter) { this.beforeSliceEnter(this, outerArgs); } if (this._sliceEnter) { this._sliceEnter(this, outerArgs); } }; this.i.sliceEnter = delegateCombine(this.i.sliceEnter, this._sliceEnter_wrapped); ; } /** * Raised when a funnel slice is left. */ get sliceLeave() { return this._sliceLeave; } set sliceLeave(ev) { if (this._sliceLeave_wrapped !== null) { this.i.sliceLeave = delegateRemove(this.i.sliceLeave, this._sliceLeave_wrapped); this._sliceLeave_wrapped = null; this._sliceLeave = null; } this._sliceLeave = ev; this._sliceLeave_wrapped = (o, e) => { let outerArgs = new IgcFunnelSliceEventArgs(); outerArgs._provideImplementation(e); if (this.beforeSliceLeave) { this.beforeSliceLeave(this, outerArgs); } if (this._sliceLeave) { this._sliceLeave(this, outerArgs); } }; this.i.sliceLeave = delegateCombine(this.i.sliceLeave, this._sliceLeave_wrapped); ; } /** * Raised when a funnel slice is hovered. */ get sliceHover() { return this._sliceHover; } set sliceHover(ev) { if (this._sliceHover_wrapped !== null) { this.i.sliceHover = delegateRemove(this.i.sliceHover, this._sliceHover_wrapped); this._sliceHover_wrapped = null; this._sliceHover = null; } this._sliceHover = ev; this._sliceHover_wrapped = (o, e) => { let outerArgs = new IgcFunnelSliceEventArgs(); outerArgs._provideImplementation(e); if (this.beforeSliceHover) { this.beforeSliceHover(this, outerArgs); } if (this._sliceHover) { this._sliceHover(this, outerArgs); } }; this.i.sliceHover = delegateCombine(this.i.sliceHover, this._sliceHover_wrapped); ; } } IgcFunnelChartComponent._observedAttributesIgcFunnelChartComponent = null; IgcFunnelChartComponent.htmlTagName = "igc-funnel-chart"; IgcFunnelChartComponent._isElementRegistered = false; return IgcFunnelChartComponent; })();