import { CheckedChangedEventArgs as CheckedChangedEventArgs_internal } from "./CheckedChangedEventArgs";
import { ensureBool } from "igniteui-webcomponents-core";
var IgcCheckedChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgcCheckedChangedEventArgs() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcCheckedChangedEventArgs.prototype.createImplementation = function () {
        return new CheckedChangedEventArgs_internal();
    };
    Object.defineProperty(IgcCheckedChangedEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcCheckedChangedEventArgs.prototype.onImplementationCreated = function () {
    };
    IgcCheckedChangedEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcCheckedChangedEventArgs.prototype, "index", {
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = +v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcCheckedChangedEventArgs.prototype, "isChecked", {
        get: function () {
            return this.i.a;
        },
        set: function (v) {
            this.i.a = ensureBool(v);
        },
        enumerable: true,
        configurable: true
    });
    return IgcCheckedChangedEventArgs;
}());
export { IgcCheckedChangedEventArgs };
//# sourceMappingURL=igc-checked-changed-event-args.js.map
