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