UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

73 lines (72 loc) 2.96 kB
import { IgcDefinitionBaseComponent } from "./igc-definition-base-component"; import { EditRowDefinition } from "./EditRowDefinition"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a base class used to configure the appearance of the column header cells. */ export let IgcEditRowDefinitionComponent = /*@__PURE__*/ (() => { class IgcEditRowDefinitionComponent extends IgcDefinitionBaseComponent { createImplementation() { return new EditRowDefinition(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } connectedCallback() { if (super["connectedCallback"]) { super["connectedCallback"](); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (this.updateContentChildren) { this.updateContentChildren(); } else if (this._updateAdapters) { this._updateAdapters(); } 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 (IgcEditRowDefinitionComponent._observedAttributesIgcEditRowDefinitionComponent == null) { let names = getAllPropertyNames(IgcEditRowDefinitionComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcEditRowDefinitionComponent._observedAttributesIgcEditRowDefinitionComponent = names; } return IgcEditRowDefinitionComponent._observedAttributesIgcEditRowDefinitionComponent; } static register() { if (!IgcEditRowDefinitionComponent._isElementRegistered) { IgcEditRowDefinitionComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcEditRowDefinitionComponent.htmlTagName, IgcEditRowDefinitionComponent); } } } IgcEditRowDefinitionComponent._observedAttributesIgcEditRowDefinitionComponent = null; IgcEditRowDefinitionComponent.htmlTagName = "igc-edit-row-definition"; IgcEditRowDefinitionComponent._isElementRegistered = false; return IgcEditRowDefinitionComponent; })();