UNPKG

@bosquig/validatorjs

Version:

Validation library inspired by Laravel's Validator

1,032 lines (995 loc) 276 kB
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.validatorjs = {})); })(this, (function (exports) { 'use strict'; var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; function commonjsRegister$M (path, loader) { DYNAMIC_REQUIRE_LOADERS[path] = loader; } const DYNAMIC_REQUIRE_LOADERS = Object.create(null); const DYNAMIC_REQUIRE_CACHE = Object.create(null); const DYNAMIC_REQUIRE_SHORTS = Object.create(null); const DEFAULT_PARENT_MODULE = { id: '<' + 'rollup>', exports: {}, parent: undefined, filename: null, loaded: false, children: [], paths: [] }; const CHECKED_EXTENSIONS = ['', '.js', '.json']; function normalize (path) { path = path.replace(/\\/g, '/'); const parts = path.split('/'); const slashed = parts[0] === ''; for (let i = 1; i < parts.length; i++) { if (parts[i] === '.' || parts[i] === '') { parts.splice(i--, 1); } } for (let i = 1; i < parts.length; i++) { if (parts[i] !== '..') continue; if (i > 0 && parts[i - 1] !== '..' && parts[i - 1] !== '.') { parts.splice(--i, 2); i--; } } path = parts.join('/'); if (slashed && path[0] !== '/') path = '/' + path; else if (path.length === 0) path = '.'; return path; } function join () { if (arguments.length === 0) return '.'; let joined; for (let i = 0; i < arguments.length; ++i) { let arg = arguments[i]; if (arg.length > 0) { if (joined === undefined) joined = arg; else joined += '/' + arg; } } if (joined === undefined) return '.'; return joined; } function isPossibleNodeModulesPath (modulePath) { let c0 = modulePath[0]; if (c0 === '/' || c0 === '\\') return false; let c1 = modulePath[1], c2 = modulePath[2]; if ((c0 === '.' && (!c1 || c1 === '/' || c1 === '\\')) || (c0 === '.' && c1 === '.' && (!c2 || c2 === '/' || c2 === '\\'))) return false; if (c1 === ':' && (c2 === '/' || c2 === '\\')) return false; return true; } function dirname (path) { if (path.length === 0) return '.'; let i = path.length - 1; while (i > 0) { const c = path.charCodeAt(i); if ((c === 47 || c === 92) && i !== path.length - 1) break; i--; } if (i > 0) return path.substr(0, i); if (path.chartCodeAt(0) === 47 || path.chartCodeAt(0) === 92) return path.charAt(0); return '.'; } function commonjsResolveImpl (path, originalModuleDir, testCache) { const shouldTryNodeModules = isPossibleNodeModulesPath(path); path = normalize(path); let relPath; if (path[0] === '/') { originalModuleDir = '/'; } while (true) { if (!shouldTryNodeModules) { relPath = originalModuleDir ? normalize(originalModuleDir + '/' + path) : path; } else if (originalModuleDir) { relPath = normalize(originalModuleDir + '/node_modules/' + path); } else { relPath = normalize(join('node_modules', path)); } if (relPath.endsWith('/..')) { break; // Travelled too far up, avoid infinite loop } for (let extensionIndex = 0; extensionIndex < CHECKED_EXTENSIONS.length; extensionIndex++) { const resolvedPath = relPath + CHECKED_EXTENSIONS[extensionIndex]; if (DYNAMIC_REQUIRE_CACHE[resolvedPath]) { return resolvedPath; } if (DYNAMIC_REQUIRE_SHORTS[resolvedPath]) { return resolvedPath; } if (DYNAMIC_REQUIRE_LOADERS[resolvedPath]) { return resolvedPath; } } if (!shouldTryNodeModules) break; const nextDir = normalize(originalModuleDir + '/..'); if (nextDir === originalModuleDir) break; originalModuleDir = nextDir; } return null; } function commonjsResolve (path, originalModuleDir) { const resolvedPath = commonjsResolveImpl(path, originalModuleDir); if (resolvedPath !== null) { return resolvedPath; } return require.resolve(path); } function commonjsRequire (path, originalModuleDir) { let resolvedPath = commonjsResolveImpl(path, originalModuleDir); if (resolvedPath !== null) { let cachedModule = DYNAMIC_REQUIRE_CACHE[resolvedPath]; if (cachedModule) return cachedModule.exports; let shortTo = DYNAMIC_REQUIRE_SHORTS[resolvedPath]; if (shortTo) { cachedModule = DYNAMIC_REQUIRE_CACHE[shortTo]; if (cachedModule) return cachedModule.exports; resolvedPath = commonjsResolveImpl(shortTo, null); } const loader = DYNAMIC_REQUIRE_LOADERS[resolvedPath]; if (loader) { DYNAMIC_REQUIRE_CACHE[resolvedPath] = cachedModule = { id: resolvedPath, filename: resolvedPath, path: dirname(resolvedPath), exports: {}, parent: DEFAULT_PARENT_MODULE, loaded: false, children: [], paths: [], require: function (path, base) { return commonjsRequire(path, (base === undefined || base === null) ? cachedModule.path : base); } }; try { loader.call(commonjsGlobal, cachedModule, cachedModule.exports); } catch (error) { delete DYNAMIC_REQUIRE_CACHE[resolvedPath]; throw error; } cachedModule.loaded = true; return cachedModule.exports; } } throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); } commonjsRequire.cache = DYNAMIC_REQUIRE_CACHE; commonjsRequire.resolve = commonjsResolve; const commonjsRegister$L = commonjsRegister$M; commonjsRegister$L("/$$rollup_base$$/src/lang/ar.js", function (module, exports) { module.exports = { accepted: "الصفة :attribute يجب أن تكون مقبولة", after: "الصفة :attribute يجب أن تكون بعد الصفة :after.", after_or_equal: "الصفة :attribute يجب أن تكون مساوية أو بعد الصفة :after_or_equal.", alpha: "حقل الصفة :attribute يجب أن تحتوي على أحرف فقط", alpha_dash: "حقل الصفة :attribute مسموح بأن يحتوي على حروف و أرقام و شرطة و شرطة منخفضة", alpha_num: "حقل الصفة :attribute يجب أن يحتوي على أحرف و أرقام", before: "الصفة :attribute يجب أن تكون قبل :before.", before_or_equal: "الصفة :attribute يجب أن تكون مساوية أو قبل الصفة :before_or_equal.", between: "حقل الصفة :attribute يجب أن يكون بين :min و :max.", confirmed: "تأكيد الصفة :attribute غير متطابق.", email: "الصفة :attribute صيغتها غير صحيحة", date: "الصفة :attribute صيغتها ليست تاريخ صحيح", def: "الصفة :attribute تحتوي على أخطاء", digits: "الصفة :attribute يجب أن تكون :digits أرقام.", digits_between: "يجب أن يحتوي :attribute بين :min و :max رقمًا/أرقام .", different: "الصفة :attribute و الصفة :different يجب أن تكونا مختلفتين", in: "الصفة :attribute المختارة، غير صحيحة.", integer: "الصفة :attribute يجب أن تكون عدد صحيح", hex: "حقل الصفة :attribute يجب أن يحتوي على صيغة هكسيديسمل", min: { numeric: "الصفة :attribute يجب أن تكون :min على الأقل", string: "الصفة :attribute يجب أن تكون :min حرف على الأقل." }, max: { numeric: "الصفة :attribute لا يمكن أن تكون أكبر من :max.", string: "الصفة :attribute يجب أن لا تكون أكثر من :max حرف." }, not_in: "الصفة :attribute المختارة غير صحيحة.", numeric: "الصفة :attribute يجب أن تكون رقما.", present: "حقل الصفة :attribute يجب أن يكون معرفا ، يمكن أن يكون فارغا.", required: "حقل الصفة :attribute مطلوب.", required_if: "حقل الصفة :attribute مطلوب حين تكون قيمة الحقل :other تساوي :value.", required_unless: "حقل الصفة :attribute مطلوب حين تكون قيم الحقل :other لا تساوي :value.", required_with: "حقل الصفة :attribute مطلوب حين يكون الحقا :field غير فارغ.", required_with_all: "حقل الصفة :attribute مطلوب حين تكون الحقول :fields غير فارغة.", required_without: "حقل الصفة :attribute مطلوب حين يكون الحقل :field فارغا.", required_without_all: "حقل الصفة :attribute مطلوب حين تكون الحقول :fields فارغة.", same: "حقل الصفة :attribute و حقل الصفة :same يجب أن يتطابقا.", size: { numeric: "الصفة :attribute يجب أن تكون :size.", string: "الصفة :attribute يجب أن تكون :size حرفا." }, string: "الصفة :attribute يجب أن تكون نص.", url: "الصفة :attribute صياغتها غير صحيحة.", regex: "الصفة :attribute صياغتها غير صحيحة.", attributes: { username: "اسم المستخدم", password: "كلمة المرور", email: "البريد الالكتروني", website: "الموقع الالكتروني", firstname: "الاسم الاول", lastname: "الاسم الاخير", subject: "الموضوع", city: "المدينة", region: "المنطقة", country: "الدولة", street: "الشارع", zipcode: "الرمز البريدي", phone: "رقم الهاتف", mobile: "رقم الجوال" } }; }); const commonjsRegister$K = commonjsRegister$M; commonjsRegister$K("/$$rollup_base$$/src/lang/az.js", function (module, exports) { module.exports = { accepted: ":attribute qəbul edilməlidir", active_url: ":attribute doğru URL deyil", after: ":attribute :date tarixindən sonra olmalıdır", after_or_equal: ":attribute :date tarixi ilə eyni və ya sonra olmalıdır", alpha: ":attribute yalnız hərflərdən ibarət ola bilər", alpha_dash: ":attribute yalnız hərf, rəqəm və tire simvolundan ibarət ola bilər", alpha_num: ":attribute yalnız hərf və rəqəmlərdən ibarət ola bilər", array: ":attribute massiv formatında olmalıdır", before: ":attribute :date tarixindən əvvəl olmalıdır", before_or_equal: ":attribute :date tarixindən əvvəl və ya bərabər olmalıdır", between: { numeric: ":attribute :min ilə :max arasında olmalıdır", file: ":attribute :min ilə :max KB ölçüsü intervalında olmalıdır", string: ":attribute :min ilə :max simvolu intervalında olmalıdır", array: ":attribute :min ilə :max intervalında hissədən ibarət olmalıdır" }, boolean: " :attribute doğru və ya yanlış ola bilər", confirmed: " :attribute doğrulanması yanlışdır", date: " :attribute tarix formatında olmalıdır", date_format: " :attribute :format formatında olmalıdır", different: " :attribute və :other fərqli olmalıdır", digits: " :attribute :digits rəqəmli olmalıdır", digits_between: " :attribute :min ilə :max rəqəmləri intervalında olmalıdır", dimensions: " :attribute doğru şəkil ölçülərində deyil", distinct: " :attribute dublikat qiymətlidir", email: " :attribute doğru email formatında deyil", exists: " seçilmiş :attribute yanlışdır", file: " :attribute fayl formatında olmalıdır", filled: " :attribute qiyməti olmalıdır", gt: { numeric: "The :attribute must be greater than :value.", file: "The :attribute must be greater than :value kilobytes.", string: "The :attribute must be greater than :value characters.", array: "The :attribute must have more than :value items." }, gte: { numeric: "The :attribute must be greater than or equal :value.", file: "The :attribute must be greater than or equal :value kilobytes.", string: "The :attribute must be greater than or equal :value characters.", array: "The :attribute must have :value items or more." }, image: " :attribute şəkil formatında olmalıdır", in: " seçilmiş :attribute yanlışdır", in_array: " :attribute :other qiymətləri arasında olmalıdır", integer: " :attribute tam ədəd olmalıdır", hex: "The :attribute field should have hexadecimal format", ip: " :attribute İP adres formatında olmalıdır", ipv4: " :attribute İPv4 adres formatında olmalıdır", ipv6: " :attribute İPv6 adres formatında olmalıdır", json: " :attribute JSON formatında olmalıdır", lt: { numeric: "The :attribute must be less than :value.", file: "The :attribute must be less than :value kilobytes.", string: "The :attribute must be less than :value characters.", array: "The :attribute must have less than :value items." }, lte: { numeric: "The :attribute must be less than or equal :value.", file: "The :attribute must be less than or equal :value kilobytes.", string: "The :attribute must be less than or equal :value characters.", array: "The :attribute must not have more than :value items." }, max: { numeric: " :attribute maksiumum :max rəqəmdən ibarət ola bilər", file: " :attribute maksimum :max KB ölçüsündə ola bilər", string: " :attribute maksimum :max simvoldan ibarət ola bilər", array: " :attribute maksimum :max hədd'dən ibarət ola bilər" }, mimes: " :attribute :values tipində fayl olmalıdır", mimetypes: " :attribute :values tipində fayl olmalıdır", min: { numeric: " :attribute minimum :min rəqəmdən ibarət ola bilər", file: " :attribute minimum :min KB ölçüsündə ola bilər", string: " :attribute minimum :min simvoldan ibarət ola bilər", array: " :attribute minimum :min hədd'dən ibarət ola bilər" }, not_in: " seçilmiş :attribute yanlışdır", numeric: " :attribute rəqəmlərdən ibarət olmalıdır", present: " :attribute iştirak etməlidir", regex: " :attribute formatı yanlışdır", required: " :attribute mütləqdir", required_if: " :attribute (:other :value ikən) mütləqdir", required_unless: " :attribute (:other :values 'ə daxil ikən) mütləqdir", required_with: " :attribute (:values var ikən) mütləqdir", required_with_all: " :attribute (:values var ikən) mütləqdir", required_without: " :attribute (:values yox ikən) mütləqdir", required_without_all: " :attribute (:values yox ikən) mütləqdir", same: " :attribute və :other eyni olmalıdır", size: { numeric: " :attribute :size ölçüsündə olmalıdır", file: " :attribute :size KB ölçüsündə olmalıdır", string: " :attribute :size simvoldan ibarət olmalıdır", array: " :attribute :size hədd'dən ibarət olmalıdır" }, string: " :attribute hərf formatında olmalıdır", timezone: " :attribute ərazi formatında olmalıdır", unique: " :attribute artıq iştirak edib", uploaded: " :attribute yüklənməsi mümkün olmadı", url: " :attribute formatı yanlışdır" }; }); const commonjsRegister$J = commonjsRegister$M; commonjsRegister$J("/$$rollup_base$$/src/lang/be.js", function (module, exports) { module.exports = { accepted: "Вы павінны прыняць :attribute.", active_url: "Поле :attribute утрымлівае несапраўдны URL.", after: "У полі :attribute павінна быць дата пасля :date.", after_or_equal: "The :attribute must be a date after or equal to :date.", alpha: "Поле :attribute можа мець толькі літары.", alpha_dash: "Поле :attribute можа мець толькі літары, лічбы і злучок.", alpha_num: "Поле :attribute можа мець толькі літары і лічбы.", array: "Поле :attribute павінна быць масівам.", before: "У полі :attribute павінна быць дата да :date.", before_or_equal: "The :attribute must be a date before or equal to :date.", between: { numeric: "Поле :attribute павінна быць паміж :min і :max.", file: "Памер файла ў поле :attribute павінен быць паміж :min і :max кілабайт.", string: "Колькасць сiмвалаў у поле :attribute павінна быць паміж :min і :max.", array: "Колькасць элементаў у поле :attribute павінна быць паміж :min і :max." }, boolean: "Поле :attribute павінна мець значэнне лагічнага тыпу.", confirmed: "Поле :attribute не супадае з пацвярджэннем.", date: "Поле :attribute не з'яўляецца датай.", date_format: "Поле :attribute не адпавядае фармату :format.", different: "Палі :attribute і :other павінны адрознівацца.", digits: "Даўжыня лічбавага поля :attribute павінна быць :digits.", digits_between: "Даўжыня лічбавага поля :attribute павінна быць паміж :min і :max.", dimensions: "The :attribute has invalid image dimensions.", distinct: "The :attribute field has a duplicate value.", email: "Поле :attribute павінна быць сапраўдным электронным адрасам.", file: "The :attribute must be a file.", filled: "Поле :attribute абавязкова для запаўнення.", exists: "Выбранае значэнне для :attribute некарэктна.", gt: { numeric: "The :attribute must be greater than :value.", file: "The :attribute must be greater than :value kilobytes.", string: "The :attribute must be greater than :value characters.", array: "The :attribute must have more than :value items." }, gte: { numeric: "The :attribute must be greater than or equal :value.", file: "The :attribute must be greater than or equal :value kilobytes.", string: "The :attribute must be greater than or equal :value characters.", array: "The :attribute must have :value items or more." }, hex: "The :attribute field should have hexadecimal format", image: "Поле :attribute павінна быць малюнкам.", in: "Выбранае значэнне для :attribute памылкова.", in_array: "The :attribute field does not exist in :other.", integer: "Поле :attribute павінна быць цэлым лікам.", ip: "Поле :attribute дпавінна быць сапраўдным IP-адрасам.", ipv4: "The :attribute must be a valid IPv4 address.", ipv6: "The :attribute must be a valid IPv6 address.", json: "Поле :attribute павінна быць JSON радком.", lt: { numeric: "The :attribute must be less than :value.", file: "The :attribute must be less than :value kilobytes.", string: "The :attribute must be less than :value characters.", array: "The :attribute must have less than :value items." }, lte: { numeric: "The :attribute must be less than or equal :value.", file: "The :attribute must be less than or equal :value kilobytes.", string: "The :attribute must be less than or equal :value characters.", array: "The :attribute must not have more than :value items." }, max: { numeric: "Поле :attribute не можа быць больш :max.", file: "Памер файла ў поле :attribute не можа быць больш :max кілабайт).", string: "Колькасць сiмвалаў у поле :attribute не можа перавышаць :max.", array: "Колькасць элементаў у поле :attribute не можа перавышаць :max." }, mimes: "Поле :attribute павінна быць файлам аднаго з наступных тыпаў: :values.", mimetypes: "Поле :attribute павінна быць файлам аднаго з наступных тыпаў: :values.", min: { numeric: "Поле :attribute павінна быць не менш :min.", file: "Памер файла ў полее :attribute павінен быць не менш :min кілабайт.", string: "Колькасць сiмвалаў у поле :attribute павінна быць не менш :min.", array: "Колькасць элементаў у поле :attribute павінна быць не менш :min." }, not_in: "Выбранае значэнне для :attribute памылкова.", not_regex: "The :attribute format is invalid.", numeric: "Поле :attribute павінна быць лікам.", present: "The :attribute field must be present.", regex: "Поле :attribute мае памылковы фармат.", required: "Поле :attribute абавязкова для запаўнення.", required_if: "Поле :attribute абавязкова для запаўнення, калі :other раўняецца :value.", required_unless: "Поле :attribute абавязкова для запаўнення, калі :other не раўняецца :values.", required_with: "Поле :attribute абавязкова для запаўнення, калі :values ўказана.", required_with_all: "Поле :attribute абавязкова для запаўнення, калі :values ўказана.", required_without: "Поле :attribute абавязкова для запаўнення, калі :values не ўказана.", required_without_all: "Поле :attribute абавязкова для запаўнення, калі ні адно з :values не ўказана.", same: "Значэнне :attribute павінна супадаць з :other.", size: { numeric: "Поле :attribute павінна быць :size.", file: "Размер файла в поле :attribute павінен быць :size кілабайт.", string: "Колькасць сiмвалаў у поле :attribute павінна быць :size.", array: "Колькасць элементаў у поле :attribute павінна быць :size." }, string: "Поле :attribute павінна быць радком.", timezone: "Поле :attribute павінна быць сапраўдным гадзінным поясам.", unique: "Такое значэнне поля :attribute ўжо існуе.", uploaded: "The :attribute failed to upload.", url: "Поле :attribute мае памылковы фармат." }; }); const commonjsRegister$I = commonjsRegister$M; commonjsRegister$I("/$$rollup_base$$/src/lang/bg.js", function (module, exports) { module.exports = { accepted: "Трябва да приемете :attribute.", active_url: "Полето :attribute не е валиден URL адрес.", after: "Полето :attribute трябва да бъде дата след :date.", after_or_equal: "Полето :attribute трябва да бъде дата след или равна на :date.", alpha: "Полето :attribute трябва да съдържа само букви.", alpha_dash: "Полето :attribute трябва да съдържа само букви, цифри, долна черта и тире.", alpha_num: "Полето :attribute трябва да съдържа само букви и цифри.", array: "Полето :attribute трябва да бъде масив.", before: "Полето :attribute трябва да бъде дата преди :date.", before_or_equal: "Полето :attribute трябва да бъде дата преди или равна на :date.", between: { numeric: "Полето :attribute трябва да бъде между :min и :max.", file: "Полето :attribute трябва да бъде между :min и :max килобайта.", string: "Полето :attribute трябва да бъде между :min и :max знака.", array: "Полето :attribute трябва да има между :min - :max елемента." }, boolean: "Полето :attribute трябва да съдържа Да или Не", confirmed: "Полето :attribute не е потвърдено.", date: "Полето :attribute не е валидна дата.", date_format: "Полето :attribute не е във формат :format.", different: "Полетата :attribute и :other трябва да са различни.", digits: "Полето :attribute трябва да има :digits цифри.", digits_between: "Полето :attribute трябва да има между :min и :max цифри.", dimensions: "Невалидни размери за снимка :attribute.", distinct: "Данните в полето :attribute се дублират.", email: "Полето :attribute е в невалиден формат.", exists: "Избранато поле :attribute вече съществува.", file: "Полето :attribute трябва да бъде файл.", filled: "Полето :attribute е задължително.", gt: { numeric: "The :attribute must be greater than :value.", file: "The :attribute must be greater than :value kilobytes.", string: "The :attribute must be greater than :value characters.", array: "The :attribute must have more than :value items." }, gte: { numeric: "The :attribute must be greater than or equal :value.", file: "The :attribute must be greater than or equal :value kilobytes.", string: "The :attribute must be greater than or equal :value characters.", array: "The :attribute must have :value items or more." }, hex: "The :attribute field should have hexadecimal format", image: "Полето :attribute трябва да бъде изображение.", in: "Избраното поле :attribute е невалидно.", in_array: "Полето :attribute не съществува в :other.", integer: "Полето :attribute трябва да бъде цяло число.", ip: "Полето :attribute трябва да бъде IP адрес.", ipv4: "Полето :attribute трябва да бъде IPv4 адрес.", ipv6: "Полето :attribute трябва да бъде IPv6 адрес.", json: "Полето :attribute трябва да бъде JSON низ.", lt: { numeric: "The :attribute must be less than :value.", file: "The :attribute must be less than :value kilobytes.", string: "The :attribute must be less than :value characters.", array: "The :attribute must have less than :value items." }, lte: { numeric: "The :attribute must be less than or equal :value.", file: "The :attribute must be less than or equal :value kilobytes.", string: "The :attribute must be less than or equal :value characters.", array: "The :attribute must not have more than :value items." }, max: { numeric: "Полето :attribute трябва да бъде по-малко от :max.", file: "Полето :attribute трябва да бъде по-малко от :max килобайта.", string: "Полето :attribute трябва да бъде по-малко от :max знака.", array: "Полето :attribute трябва да има по-малко от :max елемента." }, mimes: "Полето :attribute трябва да бъде файл от тип: :values.", mimetypes: "Полето :attribute трябва да бъде файл от тип: :values.", min: { numeric: "Полето :attribute трябва да бъде минимум :min.", file: "Полето :attribute трябва да бъде минимум :min килобайта.", string: "Полето :attribute трябва да бъде минимум :min знака.", array: "Полето :attribute трябва има минимум :min елемента." }, not_in: "Избраното поле :attribute е невалидно.", not_regex: "The :attribute format is invalid.", numeric: "Полето :attribute трябва да бъде число.", present: "Полето :attribute трябва да съествува.", regex: "Полето :attribute е в невалиден формат.", required: "Полето :attribute е задължително.", required_if: "Полето :attribute се изисква, когато :other е :value.", required_unless: "Полето :attribute се изисква, освен ако :other не е в :values.", required_with: "Полето :attribute се изисква, когато :values има стойност.", required_with_all: "Полето :attribute е задължително, когато :values имат стойност.", required_without: "Полето :attribute се изисква, когато :values няма стойност.", required_without_all: "Полето :attribute се изисква, когато никое от полетата :values няма стойност.", same: "Полетата :attribute и :other трябва да съвпадат.", size: { numeric: "Полето :attribute трябва да бъде :size.", file: "Полето :attribute трябва да бъде :size килобайта.", string: "Полето :attribute трябва да бъде :size знака.", array: "Полето :attribute трябва да има :size елемента." }, string: "Полето :attribute трябва да бъде знаков низ.", timezone: "Полето :attribute трябва да съдържа валидна часова зона.", unique: "Полето :attribute вече съществува.", uploaded: "Неуспешно качване на :attribute.", url: "Полето :attribute е в невалиден формат." }; }); const commonjsRegister$H = commonjsRegister$M; commonjsRegister$H("/$$rollup_base$$/src/lang/bs.js", function (module, exports) { module.exports = { accepted: "Polje :attribute mora biti prihvaćeno.", active_url: "Polje :attribute nije validan URL.", after: "Polje :attribute mora biti datum poslije :date.", after_or_equal: "The :attribute must be a date after or equal to :date.", alpha: "Polje :attribute može sadržati samo slova.", alpha_dash: "Polje :attribute može sadržati samo slova, brojeve i povlake.", alpha_num: "Polje :attribute može sadržati samo slova i brojeve.", attributes: {}, array: "Polje :attribute mora biti niz.", before: "Polje :attribute mora biti datum prije :date.", before_or_equal: "The :attribute must be a date before or equal to :date.", between: { numeric: "Polje :attribute mora biti izmedju :min - :max.", file: "Fajl :attribute mora biti izmedju :min - :max kilobajta.", string: "Polje :attribute mora biti izmedju :min - :max karaktera.", array: "Polje :attribute mora biti između :min - :max karaktera." }, boolean: "Polje :attribute mora biti tačno ili netačno", confirmed: "Potvrda polja :attribute se ne poklapa.", date: "Polje :attribute nema ispravan datum.", date_format: "Polje :attribute nema odgovarajući format :format.", different: "Polja :attribute i :other moraju biti različita.", digits: "Polje :attribute mora da sadži :digits brojeve.", digits_between: "Polje :attribute mora biti između :min i :max broja.", dimensions: "The :attribute has invalid image dimensions.", distinct: "The :attribute field has a duplicate value.", email: "Format polja :attribute mora biti validan email.", exists: "Odabrano polje :attribute nije validno.", file: "The :attribute must be a file.", filled: "Polje :attribute je obavezno.", gt: { numeric: "The :attribute must be greater than :value.", file: "The :attribute must be greater than :value kilobytes.", string: "The :attribute must be greater than :value characters.", array: "The :attribute must have more than :value items." }, gte: { numeric: "The :attribute must be greater than or equal :value.", file: "The :attribute must be greater than or equal :value kilobytes.", string: "The :attribute must be greater than or equal :value characters.", array: "The :attribute must have :value items or more." }, hex: "The :attribute field should have hexadecimal format", image: "Polje :attribute mora biti slika.", in: "Odabrano polje :attribute nije validno.", in_array: "The :attribute field does not exist in :other.", integer: "Polje :attribute mora biti broj.", ip: "Polje :attribute mora biti validna IP adresa.", ipv4: "The :attribute must be a valid IPv4 address.", ipv6: "The :attribute must be a valid IPv6 address.", json: "The :attribute must be a valid JSON string.", lt: { numeric: "The :attribute must be less than :value.", file: "The :attribute must be less than :value kilobytes.", string: "The :attribute must be less than :value characters.", array: "The :attribute must have less than :value items." }, lte: { numeric: "The :attribute must be less than or equal :value.", file: "The :attribute must be less than or equal :value kilobytes.", string: "The :attribute must be less than or equal :value characters.", array: "The :attribute must not have more than :value items." }, max: { numeric: "Polje :attribute mora biti manje od :max.", file: "Polje :attribute mora biti manje od :max kilobajta.", string: "Polje :attribute mora sadržati manje od :max karaktera.", array: "Polje :attribute mora sadržati manje od :max karaktera." }, mimes: "Polje :attribute mora biti fajl tipa: :values.", mimetypes: "Polje :attribute mora biti fajl tipa: :values.", min: { numeric: "Polje :attribute mora biti najmanje :min.", file: "Fajl :attribute mora biti najmanje :min kilobajta.", string: "Polje :attribute mora sadržati najmanje :min karaktera.", array: "Polje :attribute mora sadržati najmanje :min karaktera." }, not_in: "Odabrani element polja :attribute nije validan.", not_regex: "The :attribute format is invalid.", numeric: "Polje :attribute mora biti broj.", present: "The :attribute field must be present.", regex: "Polje :attribute ima neispravan format.", required: "Polje :attribute je obavezno.", required_if: "Polje :attribute je obavezno kada :other je :value.", required_unless: "The :attribute field is required unless :other is in :values.", required_with: "Polje :attribute je obavezno kada je :values prikazano.", required_with_all: "Polje :attribute je obavezno kada je :values prikazano.", required_without: "Polje :attribute je obavezno kada :values nije prikazano.", required_without_all: "Polje :attribute je obavezno kada nijedno :values nije prikazano.", same: "Polja :attribute i :other se moraju poklapati.", size: { numeric: "Polje :attribute mora biti :size.", file: "Fajl :attribute mora biti :size kilobajta.", string: "Polje :attribute mora biti :size karaktera.", array: "Polje :attribute mora biti :size karaktera." }, string: "Polje :attribute mora sadrzavati slova.", timezone: "Polje :attribute mora biti ispravna vremenska zona.", unique: "Polje :attribute već postoji.", uploaded: "The :attribute failed to upload.", url: "Format polja :attribute nije validan." }; }); const commonjsRegister$G = commonjsRegister$M; commonjsRegister$G("/$$rollup_base$$/src/lang/ca.js", function (module, exports) { module.exports = { accepted: 'El camp :attribute pot ser aceptat.', after: 'El camp :attribute pot ser una data posterior a :after.', alpha: 'El camp :attribute només pot contenir lletras.', alpha_dash: 'El camp :attribute només pot contenir lletras, nombres y guions.', alpha_num: 'El camp :attribute només pot contenir lletras y nombres.', attributes: {}, between: 'El camp :attribute té que estar entre :min - :max.', confirmed: 'La confirmació de :attribute no coincideix.', different: 'El camp :attribute y :other poden ser diferents.', digits: 'El camp :attribute pot tindre :digits dígitos.', digits_between: 'El camp :attribute ha de tenir entre :min i :max dígits.', email: 'El camp :attribute no es un correu válido.', 'in': 'El camp :attribute es invàlid.', integer: 'El camp :attribute pot ser un nombre enter.', hex: 'El camp :attribute hauria de tenir format hexadecimal', max: { numeric: 'El camp :attribute no pot ser mayor a :max.', string: 'El camp :attribute no pot ser mayor que :max caràcters.' }, min: { numeric: 'La mida del camp :attribute pot ser de al menys :min.', string: 'El camp :attribute pot contenir al menys :min caràcters.' }, not_in: 'El camp :attribute es invàlid.', numeric: 'El camp :attribute pot ser numéric.', present: 'El camp de :attribute pot estar present (però pot estar buit).', regex: 'El format del camp :attribute es invàlid.', required: 'El camp :attribute es obligatori.', required_if: 'El camp :attribute es obligatori quan :other es :value.', same: 'El camp :attribute y :other poden coincidir.', size: { numeric: 'La mida del camp :attribute pot ser :size.', string: 'El camp :attribute pot contenir :size caràcters.' }, url: 'El format de :attribute es invàlid.' }; }); const commonjsRegister$F = commonjsRegister$M; commonjsRegister$F("/$$rollup_base$$/src/lang/cs.js", function (module, exports) { module.exports = { accepted: ":attribute musí být přijat.", active_url: ":attribute není platnou URL adresou.", after: ":attribute musí být datum po :date.", after_or_equal: "The :attribute must be a date after or equal to :date.", alpha: ":attribute může obsahovat pouze písmena.", alpha_dash: ":attribute může obsahovat pouze písmena, číslice, pomlčky a podtržítka. České znaky (á, é, í, ó, ú, ů, ž, š, č, ř, ď, ť, ň) nejsou podporovány.", alpha_num: ":attribute může obsahovat pouze písmena a číslice.", attributes: {}, array: ":attribute musí být pole.", before: ":attribute musí být datum před :date.", before_or_equal: "The :attribute must be a date before or equal to :date.", between: { numeric: ":attribute musí být hodnota mezi :min a :max.", file: ":attribute musí být větší než :min a menší než :max Kilobytů.", string: ":attribute musí být delší než :min a kratší než :max znaků.", array: ":attribute musí obsahovat nejméně :min a nesmí obsahovat více než :max prvků." }, boolean: ":attribute musí být true nebo false", confirmed: ":attribute nebylo odsouhlaseno.", date: ":attribute musí být platné datum.", date_format: ":attribute není platný formát data podle :format.", different: ":attribute a :other se musí lišit.", digits: ":attribute musí být :digits pozic dlouhé.", digits_between: ":attribute musí být dlouhé nejméně :min a nejvíce :max pozic.", dimensions: ":attribute má neplatné rozměry.", distinct: ":attribute má duplicitní hodnotu.", email: ":attribute není platný formát.", exists: "Zvolená hodnota pro :attribute není platná.", file: ":attribute musí být soubor.", filled: ":attribute musí být vyplněno.", gt: { numeric: "The :attribute must be greater than :value.", file: "The :attribute must be greater than :value kilobytes.", string: "The :attribute must be greater than :value characters.", array: "The :attribute must have more than :value items." }, gte: { numeric: "The :attribute must be greater than or equal :value.", file: "The :attribute must be greater than or equal :value kilobytes.", string: "The :attribute must be greater than or equal :value characters.", array: "The :attribute must have :value items or more." }, hex: "The :attribute field should have hexadecimal format", image: ":attribute musí být obrázek.", in: "Zvolená hodnota pro :attribute je neplatná.", in_array: ":attribute není obsažen v :other.", integer: ":attribute musí být celé číslo.", ip: ":attribute musí být platnou IP adresou.", ipv4: "The :attribute must be a valid IPv4 address.", ipv6: "The :attribute must be a valid IPv6 address.", json: ":attribute musí být platný JSON řetězec.", lt: { numeric: "The :attribute must be less than :value.", file: "The :attribute must be less than :value kilobytes.", string: "The :attribute must be less than :value characters.", array: "The :attribute must have less than :value items." }, lte: { numeric: "The :attribute must be less than or equal :value.", file: "The :attribute must be less than or equal :value kilobytes.", string: "The :attribute must be less than or equal :value characters.", array: "The :attribute must not have more than :value items." }, max: { numeric: ":attribute musí být nižší než :max.", file: ":attribute musí být menší než :max Kilobytů.", string: ":attribute musí být kratší než :max znaků.", array: ":attribute nesmí obsahovat více než :max prvků." }, mimes: ":attribute musí být jeden z následujících datových typů :values.", mimetypes: ":attribute musí být jeden z následujících datových typů :values.", min: { numeric: ":attribute musí být větší než :min.", file: ":attribute musí být větší než :min Kilobytů.", string: ":attribute musí být delší než :min znaků.", array: ":attribute musí obsahovat více než :min prvků." }, not_in: "Zvolená hodnota pro :attribute je neplatná.", not_regex: "The :attribute format is invalid.", numeric: ":attribute musí být číslo.", present: ":attribute musí být vyplněno.", regex: ":attribute nemá správný formát.", required: ":attribute musí být vyplněno.", required_if: ":attribute musí být vyplněno pokud :other je :value.", required_unless: ":attribute musí být vyplněno dokud :other je v :value.", required_with: ":attribute musí být vyplněno pokud :field je vyplněno.", required_with_all: ":attribute musí být vyplněno pokud :fields je zvoleno.", required_without: ":attribute musí být vyplněno pokud :field není vyplněno.", required_without_all: ":attribute musí být vyplněno pokud není žádné z :fields zvoleno.", same: ":attribute a :other se musí shodovat.", size: { numeric: ":attribute musí být přesně :size.", file: ":attribute musí mít přesně :size Kilobytů.", string: ":attribute musí být přesně :size znaků dlouhý.", array: ":attribute musí obsahovat právě :size prvků." }, string: ":attribute musí být řetězec znaků.", timezone: ":attribute musí být platná časová zóna.", unique: ":attribute musí být unikátní.", uploaded: "Nahrávání :attribute se nezdařilo.", url: "Formát :attribute je neplatný." }; }); const commonjsRegister$E = commonjsRegister$M; commonjsRegister$E("/$$rollup_base$$/src/lang/cy.js", function (module, exports) { module.exports = { accepted: "Rhaid derbyn :attribute.", active_url: "Nid yw :attribute yn URL dilys.", after: "Rhaid i :attribute fod yn ddyddiad sydd ar ôl :date.", after_or_equal: "The :attribute must be a date after or equal to :date.", alpha: "Dim ond llythrennau'n unig gall :attribute gynnwys.", alpha_dash: "Dim ond llythrennau, rhifau a dash yn unig gall :attribute gynnwys.", alpha_num: "Dim ond llythrennau a rhifau yn unig gall :attribute gynnwys.", attributes: {}, array: "Rhaid i :attribute fod yn array.", before: "Rhaid i :attribute fod yn ddyddiad sydd cyn :date.", before_or_equal: "The :attribute must be a date before or equal to :date.", between: { numeric: "Rhaid i :attribute fod rhwng :min a :max.", file: "Rhaid i :attribute fod rhwng :min a :max kilobytes.", string: "Rhaid i :attribute fod rhwng :min a :max nodyn.", array: "Rhaid i :attribute fod rhwng :min a :max eitem." }, boolean: "Rhaid i'r maes :attribute fod yn wir neu gau.", confirmed: "Nid yw'r cadarnhad :attribute yn gyfwerth.", date: "Nid yw :attribute yn ddyddiad dilys.", date_format: "Nid yw :attribute yn y fformat :format.", different: "Rhaid i :attribute a :other fod yn wahanol.", digits: "Rhaid i :attribute fod yn :digits digid.", digits_between: "Rhaid i :attribute fod rhwng :min a :max digid.", dimensions: "The :attribute has invalid image dimensions.", distinct: "The :attribute field has a duplicate value.", email: "Rhaid i :attribute fod yn gyfeiriad ebost dilys.", file: "The :attribute must be a file.", filled: "Rhaid cynnwys :attribute.", exists: "Nid yw :attribute yn ddilys.", gt: { numeric: "The :attribute must be greater than :value.", file: "The :attribute must be greater than :value kilobytes.", string: "The :attribute must be greater than :value characters.", array: "The :attribute must have more than :value items." }, gte: { numeric: "The :attribute must be greater than or equal :value.", file: "The :attribute must be greater than or equal :value kilobytes.", string: "The :attribute must be greater than or equal :value characters.", array: "The :attribute must have :value items or more." }, hex: "The :attribute field should have hexadecimal format", image: "Rhaid i :attribute fod yn lun.", in: "Nid yw :attribute yn ddilys.", in_array: "The :attribute field does not exist in :other.", integer: "Rhaid i :attribute fod yn integer.", ip: "Rhaid i :attribute fod yn gyfeiriad IP dilys.", ipv4: "The :attribute must be a valid IPv4 address.", ipv6: "The :attribute must be a valid IPv6 address.", json: "The :attribute must be a valid JSON string.", lt: { numeric: "The :attribute must be less than :value.", file: "The :attribute must be less than :value kilobytes.", string: "The :attribute must be less than :value characters.", array: "The :attribute must have less than :value items." }, lte: { numeric: "The :attribute must be less than or equal :value.", file: "The :attribute must be less than or equal :value kilobytes.", string: "The :attribute must be less than or equal :value characters.", array: "The :attribute must not have more than :value items." }, max: { numeric: "Ni chai :attribute fod yn fwy na :max.", file: "Ni chai :attribute fod yn fwy na :max kilobytes.", string: "Ni chai :attribute fod yn fwy na :max nodyn.", array: "Ni chai :attribute fod yn fwy na :max eitem." }, mimes: "Rhaid i :attribute fod yn ffeil o'r math: :values.", mimetypes: "Rhaid i :attribute fod yn ffeil o'r math: :values.", min: { numeric: "Rhaid i :attribute fod o leiaf :min.", file: "Rhaid i :attribute fod o leiaf :min kilobytes.", string: "Rhaid i :attribute fod o leiaf :min nodyn.", array: "Rhaid i :attribute fod o leiaf :min eitem." }, not_in: "Nid yw :attribute yn ddilys.", not_regex: "The :attribute format is invalid.", numeric: "Rhaid i :attribute fod yn rif.", present: "The :attribute field must be present.", regex: "Nid yw fformat :attribute yn ddilys.", required: "Rhaid cynnwys :attribute.", required_if: "Rhaid cynnwys :attribute pan mae :other yn :value.", required_unless: "The :attribute field is required unless :other is in :values.", required_with: "Rhaid cynnwys :attribute pan mae :values yn bresennol.", required_with_all: "Rhaid cynnwys :attribute pan mae :values yn bresennol.", required_without: "Rhaid cynnwys :attribute pan nad oes :values yn bresennol.", required_without_all: "Rhaid cynnwys :attribute pan nad oes :values yn bresennol.", same: "Rhaid i :attribute a :other fod yn gyfwerth.", size: { numeric: "Rhaid i :attribute fod yn :size.", file: "Rhaid i :attribute fod yn :size kilobytes.", string: "Rhaid i :attribute fod yn :size nodyn.", array: "Rhaid i :attribute fod yn :size eitem." }, string: "The :attribute must be a string.", timezone: "Rhaid i :attribute fod yn timezone dilys.", unique: "Mae :attribute eisoes yn bodoli.", uploaded: "The :attribute failed to upload.", url: "Nid yw fformat :attribute yn ddilys." }; }); const commonjsRegister$D = commonjsRegister$M; commonjsRegister$D("/$$rollup_base$$/src/lang/da.js", function (module, exports) { module.exports = { accepted: ':attribute skal accepteres.', after: ':attribute skal være en dato efter :after.', after_or_equal: ':attribute skal være en dato efter eller lig med :after_or_equal.', alpha: ':attribute må kun bestå af bogstaver.', alpha_dash: ':attribute må kun bestå af bogstaver, tal og bindestreger.', alpha_num: ':attribute må kun bestå af bogstaver og tal.', before: ':attribute skal være en dato før :before.', before_or_equal: ':attribute skal være en dato før eller lig med :before_or_equal.', between: ':attribute skal være mellem :min og :max.', confirmed: ':attribute er ikke det samme som bekræftelsesfeltet.', email: ':attribute skal være en gyldig email.', date: ':attribute er ikke en gyldig dato.', def: ':attribute attributen har fejl.', digits: ':attribute skal have :digits cifre.', digits_between: ':attribute skal have mellem :min og :max cifre.', different: ':attribute og :different skal være forskellige.', in: 'Det valgte :attribute er ugyldigt.', integer: ':attribute skal være et heltal.', hex: ':attribute skal have hexadecimalt format', min: { numeric: ':attribute skal være mindst :min.', string: ':attribute skal være mindst :min tegn.' }, max: { numeric: ':attribute skal være højest :max.', string: ':attribute skal være højest :max tegn.' }, not_in: 'Den valgte :attribute er ugyldig', numeric: ':attribute skal være et tal.', present: ':attribute skal være tilstede.', required: ':attribute skal udfyldes.', required_if: ':attribute skal udfyldes når :other er :value.', required_unless: ':attribute er påkrævet medmindre :other findes i :values.', required_with: ':attribute skal udfyldes når :field er udfyldt.', required_with_all: ':attribute skal udfyldes når :fields er udfyldt.', required_without: ':attribute skal udfyldes når :field ikke er udfyldt.', required_without_all: ':attribute skal udfyldes når ingen af :fields er udfyldt.', same: ':attribute og :same skal være ens.', size: { numeric: ':attribute skal være :size.', string: ':attribute skal være :size tegn lang.' }, string: ':attribute skal være en streng.', url: ':attribute formatet er ugyldigt.', regex: ':attribute formatet er ugyldigt.', attributes: {} }; }); const commonjsRegister$C = commonjsRegister$M; commonjsRegister$C("/$$rollup_base$$/src/lang/de.js", function (module, exports) { module.exports = { accepted: 'Das :attribute Feld muss akzeptiert werden.', after: 'Das :attribute muss ein Datum nach dem :after sein.', after_or_equal: 'Das :attribute Datum muss kleiner oder gleich dem :after_or_equal sein.', alpha: 'Das :attribute Feld darf nur aus Buchstaben bestehen.', alpha_dash: 'Das :attribute Feld darf nur aus Buchstaben, Zahlen, Binde- und Unterstrichen bestehen.', alpha_num: 'Das :attribute Feld darf nur aus Buchstaben und Zahlen bestehen.', before: 'Das :attribute muss ein Datum vor dem :before sein.', before_or_equal: 'Das :attribute Datum muss größer oder gleich dem :before_or_equal sein.', between: 'Das :attribute Feld muss zwischen :min und :max liegen.', confirmed: 'Das :attribute Feld stimmt nicht mit der Bestätigung überein.', email: 'Das :attribute Format ist ungültig.', date: 'Das :attribute Feld muss ein gültiges Datum sein.', def: 'Das :attribute Feld hat Fehler.', digits: 'Das :attribute Feld muss :digits Stellen haben.', digits_between: 'Das :attribute Feld muss zwischen :min und :max Stellen haben.', different: 'Die Felder :attribute und :different müssen sich unterscheiden.', in: 'Der gewählte Wert für :attribute ist ungültig.', integer: 'Das :attribute Feld muss eine ganze Zahl sein.', hex: 'Das :attribute Feld sollte hexadezimal sein', min: { numeric: 'Das :attribute Feld muss mindestens :min sein.', string: 'Das :attribute Feld muss mindestens :min Zeichen lang sein.' }, max: { numeric: 'Das :attribute Feld darf maximal :max sein.', string: 'Das :attribute Feld darf maximal :max Zeichen haben.' }, not_in: 'Der gewählte Wert für :attribute ist ungültig.', numeric: 'Das :attribute Feld muss eine Zahl sein.', present: 'Das Feld :attribute muss vorhanden sein (kann aber leer sein).', required: 'Das :attribute Feld muss ausgefüllt sein.', required_if: 'Das :attribute Feld muss ausgefüllt sein, wenn :other :value ist.', same: 'Die Felder :attribute und :same müssen übereinstimmen.', size: { numeric: 'Das :attribute Feld muss gleich :size sein.', string: 'Das :attribute Feld muss :