import { __extends } from "tslib";
import { IgxSelectedItemsChangedEventArgs } from "./igx-selected-items-changed-event-args";
import { ensureBool } from "igniteui-angular-core";
/**
 * Provides data for the SelectedItemsChanging event.
*/
var IgxSelectedItemsChangingEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(IgxSelectedItemsChangingEventArgs, _super);
    function IgxSelectedItemsChangingEventArgs() {
        return _super.call(this) || this;
    }
    Object.defineProperty(IgxSelectedItemsChangingEventArgs.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxSelectedItemsChangingEventArgs.prototype, "cancel", {
        /**
         * Set this to true in order to stop the SelectedItems collection from changing.
        */
        get: function () {
            return this.i.cancel;
        },
        set: function (v) {
            this.i.cancel = ensureBool(v);
        },
        enumerable: false,
        configurable: true
    });
    return IgxSelectedItemsChangingEventArgs;
}(IgxSelectedItemsChangedEventArgs));
export { IgxSelectedItemsChangingEventArgs };
//# sourceMappingURL=igx-selected-items-changing-event-args.js.map
