(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.MaxDateTemplate = exports.PlaceholderChar = exports.DateEndPlaceholder = exports.DateStartPlaceholder = exports.ErrorValidateDateMsg = exports.ErrorRangeDateMsg = exports.numericPattern = exports.datePattern = exports.dateRangeMask = exports.dateMask = void 0;
    exports.dateMask = [
        /\d/,
        /\d/,
        ".",
        /\d/,
        /\d/,
        ".",
        /\d/,
        /\d/,
        /\d/,
        /\d/
    ];
    exports.dateRangeMask = [
        /[0-3]/,
        /\d/,
        ".",
        /[01]/,
        /\d/,
        ".",
        /\d/,
        /\d/,
        /\d/,
        /\d/,
        " ",
        "/",
        " ",
        /[0-3]/,
        /\d/,
        ".",
        /[01]/,
        /\d/,
        ".",
        /\d/,
        /\d/,
        /\d/,
        /\d/
    ];
    exports.datePattern = /^(0?[1-9]|[12]\d|3[01])[./](0?[1-9]|1[0-2])[./-]\d{4}$/;
    exports.numericPattern = /^\d+$/;
    exports.ErrorRangeDateMsg = "Неверный диапазон дат";
    exports.ErrorValidateDateMsg = "Дата не соответствует условиям минимальной или максимальной даты";
    exports.DateStartPlaceholder = "__.__.____";
    exports.DateEndPlaceholder = " / __.__.____";
    exports.PlaceholderChar = "_";
    exports.MaxDateTemplate = [31, 12, 9999];
});
