import * as tslib_1 from "tslib";
import { IgcSummaryRowComponent } from "./igc-summary-row-component";
import { SummaryRowSection } from "./SummaryRowSection";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
var IgcSummaryRowSectionComponent = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(IgcSummaryRowSectionComponent, _super);
    function IgcSummaryRowSectionComponent() {
        return _super.call(this) || this;
    }
    IgcSummaryRowSectionComponent.prototype.createImplementation = function () {
        return new SummaryRowSection();
    };
    Object.defineProperty(IgcSummaryRowSectionComponent.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcSummaryRowSectionComponent.prototype.connectedCallback = function () {
        if (_super.prototype["connectedCallback"]) {
            _super.prototype["connectedCallback"].call(this);
        }
        if (!this._attached) {
            this._attached = true;
            this._flushQueuedAttributes();
        }
    };
    Object.defineProperty(IgcSummaryRowSectionComponent, "observedAttributes", {
        get: function () {
            if (IgcSummaryRowSectionComponent._observedAttributesIgcSummaryRowSectionComponent == null) {
                var names = getAllPropertyNames(IgcSummaryRowSectionComponent);
                for (var i = 0; i < names.length; i++) {
                    names[i] = toSpinal(names[i]);
                }
                IgcSummaryRowSectionComponent._observedAttributesIgcSummaryRowSectionComponent = names;
            }
            return IgcSummaryRowSectionComponent._observedAttributesIgcSummaryRowSectionComponent;
        },
        enumerable: true,
        configurable: true
    });
    IgcSummaryRowSectionComponent.register = function () {
        if (!IgcSummaryRowSectionComponent._isElementRegistered) {
            IgcSummaryRowSectionComponent._isElementRegistered = true;
            RegisterElementHelper.registerElement(IgcSummaryRowSectionComponent.htmlTagName, IgcSummaryRowSectionComponent);
        }
    };
    IgcSummaryRowSectionComponent._observedAttributesIgcSummaryRowSectionComponent = null;
    IgcSummaryRowSectionComponent.htmlTagName = "igc-summary-row-section";
    IgcSummaryRowSectionComponent._isElementRegistered = false;
    return IgcSummaryRowSectionComponent;
}(IgcSummaryRowComponent));
export { IgcSummaryRowSectionComponent };
//# sourceMappingURL=igc-summary-row-section-component.js.map
