import { IgcGridColumnOptionsSectionBaseComponent } from "./igc-grid-column-options-section-base-component";
import { getAllPropertyNames, toSpinal, ensureBool } from "igniteui-webcomponents-core";
export let IgcGridColumnOptionsSimpleSectionBaseComponent = /*@__PURE__*/ (() => {
    class IgcGridColumnOptionsSimpleSectionBaseComponent extends IgcGridColumnOptionsSectionBaseComponent {
        constructor() {
            super();
        }
        /**
                                     * @hidden
                                     */
        get i() {
            return this._implementation;
        }
        connectedCallback() {
            if (super["connectedCallback"]) {
                super["connectedCallback"]();
            }
            if (!this._attached) {
                this._attached = true;
                this._flushQueuedAttributes();
            }
        }
        static get observedAttributes() {
            if (IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent == null) {
                let names = getAllPropertyNames(IgcGridColumnOptionsSimpleSectionBaseComponent);
                for (let i = 0; i < names.length; i++) {
                    names[i] = toSpinal(names[i]);
                }
                IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent = names;
            }
            return IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent;
        }
        get caption() {
            return this.i.bw;
        }
        set caption(v) {
            this.i.bw = v;
        }
        get showCaption() {
            return this.i.bu;
        }
        set showCaption(v) {
            this.i.bu = ensureBool(v);
            this._a("showCaption", this.i.bu);
        }
    }
    IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent = null;
    return IgcGridColumnOptionsSimpleSectionBaseComponent;
})();
//# sourceMappingURL=igc-grid-column-options-simple-section-base-component.js.map
