import * as tslib_1 from "tslib";
import { IgcGridColumnOptionsSectionBaseComponent } from "./igc-grid-column-options-section-base-component";
import { getAllPropertyNames, toSpinal, ensureBool } from "igniteui-webcomponents-core";
var IgcGridColumnOptionsSimpleSectionBaseComponent = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(IgcGridColumnOptionsSimpleSectionBaseComponent, _super);
    function IgcGridColumnOptionsSimpleSectionBaseComponent() {
        return _super.call(this) || this;
    }
    Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcGridColumnOptionsSimpleSectionBaseComponent.prototype.connectedCallback = function () {
        if (_super.prototype["connectedCallback"]) {
            _super.prototype["connectedCallback"].call(this);
        }
        if (!this._attached) {
            this._attached = true;
            this._flushQueuedAttributes();
        }
    };
    Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent, "observedAttributes", {
        get: function () {
            if (IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent == null) {
                var names = getAllPropertyNames(IgcGridColumnOptionsSimpleSectionBaseComponent);
                for (var i = 0; i < names.length; i++) {
                    names[i] = toSpinal(names[i]);
                }
                IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent = names;
            }
            return IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent.prototype, "caption", {
        get: function () {
            return this.i.bw;
        },
        set: function (v) {
            this.i.bw = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcGridColumnOptionsSimpleSectionBaseComponent.prototype, "showCaption", {
        get: function () {
            return this.i.bu;
        },
        set: function (v) {
            this.i.bu = ensureBool(v);
            this._a("showCaption", this.i.bu);
        },
        enumerable: true,
        configurable: true
    });
    IgcGridColumnOptionsSimpleSectionBaseComponent._observedAttributesIgcGridColumnOptionsSimpleSectionBaseComponent = null;
    return IgcGridColumnOptionsSimpleSectionBaseComponent;
}(IgcGridColumnOptionsSectionBaseComponent));
export { IgcGridColumnOptionsSimpleSectionBaseComponent };
//# sourceMappingURL=igc-grid-column-options-simple-section-base-component.js.map
