UNPKG

igniteui-webcomponents-charts

Version:

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

65 lines (64 loc) 2.87 kB
import { IgcDataAnnotationPointLayerComponent } from "./igc-data-annotation-point-layer-component"; import { DataAnnotationRectLayer } from "./DataAnnotationRectLayer"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcDataAnnotationRectLayerComponent = /*@__PURE__*/ (() => { class IgcDataAnnotationRectLayerComponent extends IgcDataAnnotationPointLayerComponent { createImplementation() { return new DataAnnotationRectLayer(); } /** * @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 (IgcDataAnnotationRectLayerComponent._observedAttributesIgcDataAnnotationRectLayerComponent == null) { let names = getAllPropertyNames(IgcDataAnnotationRectLayerComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcDataAnnotationRectLayerComponent._observedAttributesIgcDataAnnotationRectLayerComponent = names; } return IgcDataAnnotationRectLayerComponent._observedAttributesIgcDataAnnotationRectLayerComponent; } static register() { if (!IgcDataAnnotationRectLayerComponent._isElementRegistered) { IgcDataAnnotationRectLayerComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcDataAnnotationRectLayerComponent.htmlTagName, IgcDataAnnotationRectLayerComponent); } } } IgcDataAnnotationRectLayerComponent._observedAttributesIgcDataAnnotationRectLayerComponent = null; IgcDataAnnotationRectLayerComponent.htmlTagName = "igc-data-annotation-rect-layer"; IgcDataAnnotationRectLayerComponent._isElementRegistered = false; return IgcDataAnnotationRectLayerComponent; })(); export { IgcDataAnnotationRectLayerComponent };