"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "createHighlight", {
    enumerable: true,
    get: function() {
        return createHighlight;
    }
});
const _src = require("../../../3rdparty/walkontable/src");
const _visualSelection = /*#__PURE__*/ _interop_require_default(require("../visualSelection"));
const _a11y = require("../../../helpers/a11y");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
function createHighlight({ cellCornerVisible, ...restOptions }) {
    return new _visualSelection.default({
        className: 'current',
        headerAttributes: [
            (0, _a11y.A11Y_SELECTED)()
        ],
        border: {
            width: 2,
            color: '#4b89ff',
            cornerVisible: cellCornerVisible
        },
        ...restOptions,
        selectionType: _src.HIGHLIGHT_FOCUS_TYPE
    });
}
