import { IgcHeaderComponent } from "./igc-header-component";
import { TextHeader } from "./TextHeader";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
 * Represents a class used to configure the appearance of a text column header cells.
*/
export let IgcTextHeaderComponent = /*@__PURE__*/ (() => {
    class IgcTextHeaderComponent extends IgcHeaderComponent {
        constructor() {
            super();
        }
        createImplementation() {
            return new TextHeader();
        }
        /**
                                     * @hidden
                                     */
        get i() {
            return this._implementation;
        }
        connectedCallback() {
            if (super["connectedCallback"]) {
                super["connectedCallback"]();
            }
            if (!this._attached) {
                this._attached = true;
                this._flushQueuedAttributes();
            }
        }
        static get observedAttributes() {
            if (IgcTextHeaderComponent._observedAttributesIgcTextHeaderComponent == null) {
                let names = getAllPropertyNames(IgcTextHeaderComponent);
                for (let i = 0; i < names.length; i++) {
                    names[i] = toSpinal(names[i]);
                }
                IgcTextHeaderComponent._observedAttributesIgcTextHeaderComponent = names;
            }
            return IgcTextHeaderComponent._observedAttributesIgcTextHeaderComponent;
        }
        static register() {
            if (!IgcTextHeaderComponent._isElementRegistered) {
                IgcTextHeaderComponent._isElementRegistered = true;
                RegisterElementHelper.registerElement(IgcTextHeaderComponent.htmlTagName, IgcTextHeaderComponent);
            }
        }
    }
    IgcTextHeaderComponent._observedAttributesIgcTextHeaderComponent = null;
    IgcTextHeaderComponent.htmlTagName = "igc-text-header";
    IgcTextHeaderComponent._isElementRegistered = false;
    return IgcTextHeaderComponent;
})();
//# sourceMappingURL=igc-text-header-component.js.map
