import { GridFilterDialogViewModelGrouping as GridFilterDialogViewModelGrouping_internal } from "./GridFilterDialogViewModelGrouping";
import { ensureBool } from "igniteui-webcomponents-core";
var IgcGridFilterDialogViewModelGrouping = /** @class */ /*@__PURE__*/ (function () {
    function IgcGridFilterDialogViewModelGrouping() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcGridFilterDialogViewModelGrouping.prototype.createImplementation = function () {
        return new GridFilterDialogViewModelGrouping_internal();
    };
    Object.defineProperty(IgcGridFilterDialogViewModelGrouping.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcGridFilterDialogViewModelGrouping.prototype.onImplementationCreated = function () {
    };
    IgcGridFilterDialogViewModelGrouping.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcGridFilterDialogViewModelGrouping.prototype, "startIndex", {
        get: function () {
            return this.i.c;
        },
        set: function (v) {
            this.i.c = +v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcGridFilterDialogViewModelGrouping.prototype, "endIndex", {
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = +v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcGridFilterDialogViewModelGrouping.prototype, "isOrGrouping", {
        get: function () {
            return this.i.a;
        },
        set: function (v) {
            this.i.a = ensureBool(v);
        },
        enumerable: true,
        configurable: true
    });
    IgcGridFilterDialogViewModelGrouping.prototype.findByName = function (name) {
        return null;
    };
    return IgcGridFilterDialogViewModelGrouping;
}());
export { IgcGridFilterDialogViewModelGrouping };
//# sourceMappingURL=igc-grid-filter-dialog-view-model-grouping.js.map
