import { IgcDefinitionBaseComponent } from "./igc-definition-base-component";
import { ColumnMovingSeparator } from "./ColumnMovingSeparator";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
export let IgcColumnMovingSeparatorComponent = /*@__PURE__*/ (() => {
    class IgcColumnMovingSeparatorComponent extends IgcDefinitionBaseComponent {
        constructor() {
            super();
        }
        createImplementation() {
            return new ColumnMovingSeparator();
        }
        /**
                                     * @hidden
                                     */
        get i() {
            return this._implementation;
        }
        connectedCallback() {
            if (super["connectedCallback"]) {
                super["connectedCallback"]();
            }
            if (!this._attached) {
                this._attached = true;
                this._flushQueuedAttributes();
            }
        }
        static get observedAttributes() {
            if (IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent == null) {
                let names = getAllPropertyNames(IgcColumnMovingSeparatorComponent);
                for (let i = 0; i < names.length; i++) {
                    names[i] = toSpinal(names[i]);
                }
                IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent = names;
            }
            return IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent;
        }
        static register() {
            if (!IgcColumnMovingSeparatorComponent._isElementRegistered) {
                IgcColumnMovingSeparatorComponent._isElementRegistered = true;
                RegisterElementHelper.registerElement(IgcColumnMovingSeparatorComponent.htmlTagName, IgcColumnMovingSeparatorComponent);
            }
        }
        /**
         * Gets or sets the separator width for this column.
        */
        get separatorWidth() {
            return this.i.em;
        }
        set separatorWidth(v) {
            this.i.em = +v;
            this._a("separatorWidth", this.i.em);
        }
    }
    IgcColumnMovingSeparatorComponent._observedAttributesIgcColumnMovingSeparatorComponent = null;
    IgcColumnMovingSeparatorComponent.htmlTagName = "igc-column-moving-separator";
    IgcColumnMovingSeparatorComponent._isElementRegistered = false;
    return IgcColumnMovingSeparatorComponent;
})();
//# sourceMappingURL=igc-column-moving-separator-component.js.map
