UNPKG

igniteui-webcomponents-charts

Version:

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

74 lines (73 loc) 3.14 kB
import { IgcDataAnnotationPointLayerComponent } from "./igc-data-annotation-point-layer-component"; import { DataAnnotationBandLayer } from "./DataAnnotationBandLayer"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcDataAnnotationBandLayerComponent = /*@__PURE__*/ (() => { class IgcDataAnnotationBandLayerComponent extends IgcDataAnnotationPointLayerComponent { createImplementation() { return new DataAnnotationBandLayer(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } connectedCallback() { if (super["connectedCallback"]) { super["connectedCallback"](); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } } disconnectedCallback() { if (super["disconnectedCallback"]) { super["disconnectedCallback"](); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } } static get observedAttributes() { if (IgcDataAnnotationBandLayerComponent._observedAttributesIgcDataAnnotationBandLayerComponent == null) { let names = getAllPropertyNames(IgcDataAnnotationBandLayerComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcDataAnnotationBandLayerComponent._observedAttributesIgcDataAnnotationBandLayerComponent = names; } return IgcDataAnnotationBandLayerComponent._observedAttributesIgcDataAnnotationBandLayerComponent; } static register() { if (!IgcDataAnnotationBandLayerComponent._isElementRegistered) { IgcDataAnnotationBandLayerComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcDataAnnotationBandLayerComponent.htmlTagName, IgcDataAnnotationBandLayerComponent); } } /** * Gets or sets name of data column with breath/size of shape annotations. */ get annotationBreadthMemberPath() { return this.i.ak9; } set annotationBreadthMemberPath(v) { this.i.ak9 = v; } } IgcDataAnnotationBandLayerComponent._observedAttributesIgcDataAnnotationBandLayerComponent = null; IgcDataAnnotationBandLayerComponent.htmlTagName = "igc-data-annotation-band-layer"; IgcDataAnnotationBandLayerComponent._isElementRegistered = false; return IgcDataAnnotationBandLayerComponent; })(); export { IgcDataAnnotationBandLayerComponent };