import * as tslib_1 from "tslib";
import { CancelEventArgs } from "igniteui-angular-core/ES5/igx-cancel-event-args";
/**
 * Event arguments for the editRangePasswordNeeded event.
*/
var SpreadsheetEditRangePasswordNeededEventArgs = /** @class */ (function (_super) {
    tslib_1.__extends(SpreadsheetEditRangePasswordNeededEventArgs, _super);
    function SpreadsheetEditRangePasswordNeededEventArgs() {
        return _super.call(this) || this;
    }
    Object.defineProperty(SpreadsheetEditRangePasswordNeededEventArgs.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(SpreadsheetEditRangePasswordNeededEventArgs.prototype, "ranges", {
        /**
         * Returns the collection of protected ranges that should be unlocked.
         * This collection contains the protected ranges that overlap with the
         * locked cells that need to be unlocked. There may be multiple ranges that overlap the locked
         * cells so it may not be that every range needs to be unlocked.
        */
        get: function () {
            return this.i.ranges;
        },
        enumerable: true,
        configurable: true
    });
    /**
     * Unlocks the associated range(s) without validating the password.
    
    */
    SpreadsheetEditRangePasswordNeededEventArgs.prototype.unprotect = function () {
        this.i.unprotect();
    };
    return SpreadsheetEditRangePasswordNeededEventArgs;
}(CancelEventArgs));
export { SpreadsheetEditRangePasswordNeededEventArgs };
//# sourceMappingURL=igx-spreadsheet-edit-range-password-needed-event-args.js.map