kuppayam 0.1.34 → 0.1.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/favicon.png +0 -0
- data/app/assets/javascripts/{jquery_with_ujs.js → jquery_and_family.js} +3 -2
- data/app/assets/javascripts/kuppayam.js +13 -0
- data/app/assets/javascripts/kuppayam/utilities.js +3 -3
- data/app/assets/stylesheets/jquery_and_family.css +14 -0
- data/app/assets/stylesheets/kuppayam/custom.css +73 -0
- data/app/helpers/kuppayam_helper.rb +6 -2
- data/app/helpers/render_helper.rb +6 -2
- data/app/helpers/resource_helper.rb +44 -5
- data/app/helpers/resource_view_helper.rb +123 -35
- data/app/models/concerns/publishable.rb +1 -0
- data/app/models/image/base.rb +3 -3
- data/app/views/kuppayam/images/_multiple_images.html.erb +6 -4
- data/app/views/kuppayam/workflows/default/create.js.erb +81 -0
- data/app/views/kuppayam/workflows/default/destroy.js.erb +32 -0
- data/app/views/kuppayam/workflows/default/edit.js.erb +21 -0
- data/app/views/kuppayam/workflows/default/index.js.erb +43 -0
- data/app/views/kuppayam/workflows/default/new.js.erb +21 -0
- data/app/views/kuppayam/workflows/default/row.js.erb +50 -0
- data/app/views/kuppayam/workflows/default/show.js.erb +17 -0
- data/app/views/kuppayam/workflows/default/update.js.erb +73 -0
- data/app/views/kuppayam/workflows/parrot/create.js.erb +8 -1
- data/app/views/kuppayam/workflows/parrot/index.js.erb +9 -1
- data/app/views/kuppayam/workflows/parrot/new.js.erb +1 -1
- data/app/views/kuppayam/workflows/parrot/row.js.erb +8 -1
- data/app/views/kuppayam/workflows/parrot/update.js.erb +8 -1
- data/app/views/kuppayam/workflows/peacock/create.js.erb +8 -1
- data/app/views/kuppayam/workflows/peacock/index.js.erb +9 -1
- data/app/views/kuppayam/workflows/peacock/row.js.erb +8 -1
- data/app/views/kuppayam/workflows/peacock/update.js.erb +8 -1
- data/app/views/layouts/dashboard/_items.html.erb +1 -1
- data/app/views/layouts/kuppayam/_head.html.erb +2 -2
- data/app/views/layouts/kuppayam/_sidebar.html.erb +1 -1
- data/app/views/layouts/kuppayam/admin.html.erb +1 -1
- data/app/views/layouts/kuppayam/document_upload.html.erb +1 -1
- data/app/views/layouts/kuppayam/image_upload.html.erb +1 -1
- data/lib/generators/kuppayam/templates/views/_index.html.erb +1 -1
- data/lib/generators/kuppayam/templates/views/_row.html.erb +1 -1
- data/lib/kuppayam/engine.rb +1 -1
- data/lib/kuppayam/version.rb +1 -1
- data/vendor/assets/jquery-ui/AUTHORS.txt +333 -0
- data/vendor/assets/jquery-ui/LICENSE.txt +43 -0
- data/vendor/assets/jquery-ui/external/jquery/jquery.js +11008 -0
- data/vendor/assets/jquery-ui/images/ui-icons_444444_256x240.png +0 -0
- data/vendor/assets/jquery-ui/images/ui-icons_555555_256x240.png +0 -0
- data/vendor/assets/jquery-ui/images/ui-icons_777620_256x240.png +0 -0
- data/vendor/assets/jquery-ui/images/ui-icons_777777_256x240.png +0 -0
- data/vendor/assets/jquery-ui/images/ui-icons_cc0000_256x240.png +0 -0
- data/vendor/assets/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/jquery-ui/index.html +559 -0
- data/vendor/assets/jquery-ui/jquery-ui.css +1312 -0
- data/vendor/assets/jquery-ui/jquery-ui.js +18706 -0
- data/vendor/assets/jquery-ui/jquery-ui.min.css +7 -0
- data/vendor/assets/jquery-ui/jquery-ui.min.js +13 -0
- data/vendor/assets/jquery-ui/jquery-ui.structure.css +886 -0
- data/vendor/assets/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/vendor/assets/jquery-ui/jquery-ui.theme.css +443 -0
- data/vendor/assets/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/vendor/assets/jquery-ui/package.json +74 -0
- data/vendor/assets/jquery-validation/additional-methods.js +1158 -0
- data/vendor/assets/jquery-validation/additional-methods.min.js +8 -0
- data/vendor/assets/{javascripts/jquery-validate → jquery-validation}/jquery.validate.js +615 -371
- data/vendor/assets/jquery-validation/jquery.validate.min.js +4 -0
- data/vendor/assets/jquery/jquery-3.2.1.min.js +4 -0
- data/vendor/assets/stylesheets/xenon-core.css +16 -16
- metadata +45 -122
- data/vendor/assets/javascripts/jquery-validate/additional-methods.js +0 -928
- data/vendor/assets/javascripts/jquery-validate/additional-methods.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/index.html +0 -0
- data/vendor/assets/javascripts/jquery-validate/jquery.validate.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ar.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ar.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_bg.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_bg.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ca.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ca.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_cs.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_cs.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_da.js +0 -30
- data/vendor/assets/javascripts/jquery-validate/localization/messages_da.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_de.js +0 -30
- data/vendor/assets/javascripts/jquery-validate/localization/messages_de.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_el.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_el.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_es.js +0 -36
- data/vendor/assets/javascripts/jquery-validate/localization/messages_es.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_es_AR.js +0 -37
- data/vendor/assets/javascripts/jquery-validate/localization/messages_es_AR.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_et.js +0 -31
- data/vendor/assets/javascripts/jquery-validate/localization/messages_et.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_eu.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_eu.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_fa.js +0 -36
- data/vendor/assets/javascripts/jquery-validate/localization/messages_fa.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_fi.js +0 -31
- data/vendor/assets/javascripts/jquery-validate/localization/messages_fi.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_fr.js +0 -59
- data/vendor/assets/javascripts/jquery-validate/localization/messages_fr.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_gl.js +0 -38
- data/vendor/assets/javascripts/jquery-validate/localization/messages_gl.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_he.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_he.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_hr.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_hr.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_hu.js +0 -32
- data/vendor/assets/javascripts/jquery-validate/localization/messages_hu.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_id.js +0 -32
- data/vendor/assets/javascripts/jquery-validate/localization/messages_id.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_is.js +0 -31
- data/vendor/assets/javascripts/jquery-validate/localization/messages_is.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_it.js +0 -36
- data/vendor/assets/javascripts/jquery-validate/localization/messages_it.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ja.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ja.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ka.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ka.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_kk.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_kk.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ko.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ko.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_lt.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_lt.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_lv.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_lv.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_my.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_my.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_nl.js +0 -43
- data/vendor/assets/javascripts/jquery-validate/localization/messages_nl.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_no.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_no.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_pl.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_pl.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_BR.js +0 -37
- data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_BR.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_PT.js +0 -37
- data/vendor/assets/javascripts/jquery-validate/localization/messages_pt_PT.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ro.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ro.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ru.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_ru.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_si.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_si.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sk.js +0 -30
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sk.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sl.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sl.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sr.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sr.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sr_lat.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sr_lat.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sv.js +0 -31
- data/vendor/assets/javascripts/jquery-validate/localization/messages_sv.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_th.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_th.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_tj.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_tj.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_tr.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_tr.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_uk.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_uk.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_vi.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_vi.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_zh.js +0 -33
- data/vendor/assets/javascripts/jquery-validate/localization/messages_zh.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/messages_zh_TW.js +0 -34
- data/vendor/assets/javascripts/jquery-validate/localization/messages_zh_TW.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/methods_de.js +0 -22
- data/vendor/assets/javascripts/jquery-validate/localization/methods_de.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/methods_es_CL.js +0 -22
- data/vendor/assets/javascripts/jquery-validate/localization/methods_es_CL.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/methods_fi.js +0 -22
- data/vendor/assets/javascripts/jquery-validate/localization/methods_fi.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/methods_nl.js +0 -19
- data/vendor/assets/javascripts/jquery-validate/localization/methods_nl.min.js +0 -4
- data/vendor/assets/javascripts/jquery-validate/localization/methods_pt.js +0 -19
- data/vendor/assets/javascripts/jquery-validate/localization/methods_pt.min.js +0 -4
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate.min"],a):a(jQuery)}(function(a){!function(){function b(a){return a.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}a.validator.addMethod("maxWords",function(a,c,d){return this.optional(c)||b(a).match(/\b\w+\b/g).length<=d},a.validator.format("Please enter {0} words or less.")),a.validator.addMethod("minWords",function(a,c,d){return this.optional(c)||b(a).match(/\b\w+\b/g).length>=d},a.validator.format("Please enter at least {0} words.")),a.validator.addMethod("rangeWords",function(a,c,d){var e=b(a),f=/\b\w+\b/g;return this.optional(c)||e.match(f).length>=d[0]&&e.match(f).length<=d[1]},a.validator.format("Please enter between {0} and {1} words."))}(),a.validator.addMethod("accept",function(b,c,d){var e,f,g="string"==typeof d?d.replace(/\s/g,"").replace(/,/g,"|"):"image/*",h=this.optional(c);if(h)return h;if("file"===a(c).attr("type")&&(g=g.replace(/\*/g,".*"),c.files&&c.files.length))for(e=0;e<c.files.length;e++)if(f=c.files[e],!f.type.match(new RegExp(".?("+g+")$","i")))return!1;return!0},a.validator.format("Please enter a value with a valid mimetype.")),a.validator.addMethod("alphanumeric",function(a,b){return this.optional(b)||/^\w+$/i.test(a)},"Letters, numbers, and underscores only please"),a.validator.addMethod("bankaccountNL",function(a,b){if(this.optional(b))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(a))return!1;var c,d,e,f=a.replace(/ /g,""),g=0,h=f.length;for(c=0;h>c;c++)d=h-c,e=f.substring(c,c+1),g+=d*e;return g%11===0},"Please specify a valid bank account number"),a.validator.addMethod("bankorgiroaccountNL",function(b,c){return this.optional(c)||a.validator.methods.bankaccountNL.call(this,b,c)||a.validator.methods.giroaccountNL.call(this,b,c)},"Please specify a valid bank or giro account number"),a.validator.addMethod("bic",function(a,b){return this.optional(b)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-2])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(a)},"Please specify a valid BIC code"),a.validator.addMethod("cifES",function(a){"use strict";var b,c,d,e,f,g,h=[];if(a=a.toUpperCase(),!a.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)"))return!1;for(d=0;9>d;d++)h[d]=parseInt(a.charAt(d),10);for(c=h[2]+h[4]+h[6],e=1;8>e;e+=2)f=(2*h[e]).toString(),g=f.charAt(1),c+=parseInt(f.charAt(0),10)+(""===g?0:parseInt(g,10));return/^[ABCDEFGHJNPQRSUVW]{1}/.test(a)?(c+="",b=10-parseInt(c.charAt(c.length-1),10),a+=b,h[8].toString()===String.fromCharCode(64+b)||h[8].toString()===a.charAt(a.length-1)):!1},"Please specify a valid CIF number."),a.validator.addMethod("creditcardtypes",function(a,b,c){if(/[^0-9\-]+/.test(a))return!1;a=a.replace(/\D/g,"");var d=0;return c.mastercard&&(d|=1),c.visa&&(d|=2),c.amex&&(d|=4),c.dinersclub&&(d|=8),c.enroute&&(d|=16),c.discover&&(d|=32),c.jcb&&(d|=64),c.unknown&&(d|=128),c.all&&(d=255),1&d&&/^(5[12345])/.test(a)?16===a.length:2&d&&/^(4)/.test(a)?16===a.length:4&d&&/^(3[47])/.test(a)?15===a.length:8&d&&/^(3(0[012345]|[68]))/.test(a)?14===a.length:16&d&&/^(2(014|149))/.test(a)?15===a.length:32&d&&/^(6011)/.test(a)?16===a.length:64&d&&/^(3)/.test(a)?16===a.length:64&d&&/^(2131|1800)/.test(a)?15===a.length:128&d?!0:!1},"Please enter a valid credit card number."),a.validator.addMethod("currency",function(a,b,c){var d,e="string"==typeof c,f=e?c:c[0],g=e?!0:c[1];return f=f.replace(/,/g,""),f=g?f+"]":f+"]?",d="^["+f+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",d=new RegExp(d),this.optional(b)||d.test(a)},"Please specify a valid currency"),a.validator.addMethod("dateFA",function(a,b){return this.optional(b)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(a)},"Please enter a correct date"),a.validator.addMethod("dateITA",function(a,b){var c,d,e,f,g,h=!1,i=/^\d{1,2}\/\d{1,2}\/\d{4}$/;return i.test(a)?(c=a.split("/"),d=parseInt(c[0],10),e=parseInt(c[1],10),f=parseInt(c[2],10),g=new Date(f,e-1,d,12,0,0,0),h=g.getUTCFullYear()===f&&g.getUTCMonth()===e-1&&g.getUTCDate()===d?!0:!1):h=!1,this.optional(b)||h},"Please enter a correct date"),a.validator.addMethod("dateNL",function(a,b){return this.optional(b)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(a)},"Please enter a correct date"),a.validator.addMethod("extension",function(a,b,c){return c="string"==typeof c?c.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(b)||a.match(new RegExp(".("+c+")$","i"))},a.validator.format("Please enter a value with a valid extension.")),a.validator.addMethod("giroaccountNL",function(a,b){return this.optional(b)||/^[0-9]{1,7}$/.test(a)},"Please specify a valid giro account number"),a.validator.addMethod("iban",function(a,b){if(this.optional(b))return!0;var c,d,e,f,g,h,i,j,k,l=a.replace(/ /g,"").toUpperCase(),m="",n=!0,o="",p="";if(!/^([a-zA-Z0-9]{4} ){2,8}[a-zA-Z0-9]{1,4}|[a-zA-Z0-9]{12,34}$/.test(l))return!1;if(c=l.substring(0,2),h={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"},g=h[c],"undefined"!=typeof g&&(i=new RegExp("^[A-Z]{2}\\d{2}"+g+"$",""),!i.test(l)))return!1;for(d=l.substring(4,l.length)+l.substring(0,4),j=0;j<d.length;j++)e=d.charAt(j),"0"!==e&&(n=!1),n||(m+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(e));for(k=0;k<m.length;k++)f=m.charAt(k),p=""+o+f,o=p%97;return 1===o},"Please specify a valid IBAN"),a.validator.addMethod("integer",function(a,b){return this.optional(b)||/^-?\d+$/.test(a)},"A positive or negative non-decimal number please"),a.validator.addMethod("ipv4",function(a,b){return this.optional(b)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(a)},"Please enter a valid IP v4 address."),a.validator.addMethod("ipv6",function(a,b){return this.optional(b)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(a)},"Please enter a valid IP v6 address."),a.validator.addMethod("lettersonly",function(a,b){return this.optional(b)||/^[a-z]+$/i.test(a)},"Letters only please"),a.validator.addMethod("letterswithbasicpunc",function(a,b){return this.optional(b)||/^[a-z\-.,()'"\s]+$/i.test(a)},"Letters or punctuation only please"),a.validator.addMethod("mobileNL",function(a,b){return this.optional(b)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(a)},"Please specify a valid mobile number"),a.validator.addMethod("mobileUK",function(a,b){return a=a.replace(/\(|\)|\s+|-/g,""),this.optional(b)||a.length>9&&a.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),a.validator.addMethod("nieES",function(a){"use strict";return a=a.toUpperCase(),a.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")?/^[T]{1}/.test(a)?a[8]===/^[T]{1}[A-Z0-9]{8}$/.test(a):/^[XYZ]{1}/.test(a)?a[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(a.replace("X","0").replace("Y","1").replace("Z","2").substring(0,8)%23):!1:!1},"Please specify a valid NIE number."),a.validator.addMethod("nifES",function(a){"use strict";return a=a.toUpperCase(),a.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")?/^[0-9]{8}[A-Z]{1}$/.test(a)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(a.substring(8,0)%23)===a.charAt(8):/^[KLM]{1}/.test(a)?a[8]===String.fromCharCode(64):!1:!1},"Please specify a valid NIF number."),a.validator.addMethod("nowhitespace",function(a,b){return this.optional(b)||/^\S+$/i.test(a)},"No white space please"),a.validator.addMethod("pattern",function(a,b,c){return this.optional(b)?!0:("string"==typeof c&&(c=new RegExp(c)),c.test(a))},"Invalid format."),a.validator.addMethod("phoneNL",function(a,b){return this.optional(b)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(a)},"Please specify a valid phone number."),a.validator.addMethod("phoneUK",function(a,b){return a=a.replace(/\(|\)|\s+|-/g,""),this.optional(b)||a.length>9&&a.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),a.validator.addMethod("phoneUS",function(a,b){return a=a.replace(/\s+/g,""),this.optional(b)||a.length>9&&a.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]([02-9]\d|1[02-9])-?\d{4}$/)},"Please specify a valid phone number"),a.validator.addMethod("phonesUK",function(a,b){return a=a.replace(/\(|\)|\s+|-/g,""),this.optional(b)||a.length>9&&a.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),a.validator.addMethod("postalCodeCA",function(a,b){return this.optional(b)||/^[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d$/.test(a)},"Please specify a valid postal code"),a.validator.addMethod("postalcodeIT",function(a,b){return this.optional(b)||/^\d{5}$/.test(a)},"Please specify a valid postal code"),a.validator.addMethod("postalcodeNL",function(a,b){return this.optional(b)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(a)},"Please specify a valid postal code"),a.validator.addMethod("postcodeUK",function(a,b){return this.optional(b)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(a)},"Please specify a valid UK postcode"),a.validator.addMethod("require_from_group",function(b,c,d){var e=a(d[1],c.form),f=e.eq(0),g=f.data("valid_req_grp")?f.data("valid_req_grp"):a.extend({},this),h=e.filter(function(){return g.elementValue(this)}).length>=d[0];return f.data("valid_req_grp",g),a(c).data("being_validated")||(e.data("being_validated",!0),e.each(function(){g.element(this)}),e.data("being_validated",!1)),h},a.validator.format("Please fill at least {0} of these fields.")),a.validator.addMethod("skip_or_fill_minimum",function(b,c,d){var e=a(d[1],c.form),f=e.eq(0),g=f.data("valid_skip")?f.data("valid_skip"):a.extend({},this),h=e.filter(function(){return g.elementValue(this)}).length,i=0===h||h>=d[0];return f.data("valid_skip",g),a(c).data("being_validated")||(e.data("being_validated",!0),e.each(function(){g.element(this)}),e.data("being_validated",!1)),i},a.validator.format("Please either skip these fields or fill at least {0} of them.")),jQuery.validator.addMethod("stateUS",function(a,b,c){var d,e="undefined"==typeof c,f=e||"undefined"==typeof c.caseSensitive?!1:c.caseSensitive,g=e||"undefined"==typeof c.includeTerritories?!1:c.includeTerritories,h=e||"undefined"==typeof c.includeMilitary?!1:c.includeMilitary;return d=g||h?g&&h?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":g?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",d=f?new RegExp(d):new RegExp(d,"i"),this.optional(b)||d.test(a)},"Please specify a valid state"),a.validator.addMethod("strippedminlength",function(b,c,d){return a(b).text().length>=d},a.validator.format("Please enter at least {0} characters")),a.validator.addMethod("time",function(a,b){return this.optional(b)||/^([01]\d|2[0-3])(:[0-5]\d){1,2}$/.test(a)},"Please enter a valid time, between 00:00 and 23:59"),a.validator.addMethod("time12h",function(a,b){return this.optional(b)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(a)},"Please enter a valid time in 12-hour am/pm format"),a.validator.addMethod("url2",function(a,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},a.validator.messages.url),a.validator.addMethod("vinUS",function(a){if(17!==a.length)return!1;var b,c,d,e,f,g,h=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],i=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],j=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],k=0;for(b=0;17>b;b++){if(e=j[b],d=a.slice(b,b+1),8===b&&(g=d),isNaN(d)){for(c=0;c<h.length;c++)if(d.toUpperCase()===h[c]){d=i[c],d*=e,isNaN(g)&&8===c&&(g=h[c]);break}}else d*=e;k+=d}return f=k%11,10===f&&(f="X"),f===g?!0:!1},"The specified vehicle identification number (VIN) is invalid."),a.validator.addMethod("zipcodeUS",function(a,b){return this.optional(b)||/^\d{5}(-\d{4})?$/.test(a)},"The specified US ZIP Code is invalid"),a.validator.addMethod("ziprange",function(a,b){return this.optional(b)||/^90[2-5]\d\{2\}-\d{4}$/.test(a)},"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx")});
|
File without changes
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){a.extend(a.fn,{validate:function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.validateDelegate(":submit","click",function(b){c.settings.submitHandler&&(c.submitButton=b.target),a(b.target).hasClass("cancel")&&(c.cancelSubmit=!0),void 0!==a(b.target).attr("formnovalidate")&&(c.cancelSubmit=!0)}),this.submit(function(b){function d(){var d;return c.settings.submitHandler?(c.submitButton&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),c.settings.submitHandler.call(c,c.currentForm,b),c.submitButton&&d.remove(),!1):!0}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},valid:function(){var b,c;return a(this[0]).is("form")?b=this.validate().form():(b=!0,c=a(this[0].form).validate(),this.each(function(){b=c.element(this)&&b})),b},removeAttrs:function(b){var c={},d=this;return a.each(b.split(/\s/),function(a,b){c[b]=d.attr(b),d.removeAttr(b)}),c},rules:function(b,c){var d,e,f,g,h,i,j=this[0];if(b)switch(d=a.data(j.form,"validator").settings,e=d.rules,f=a.validator.staticRules(j),b){case"add":a.extend(f,a.validator.normalizeRule(c)),delete f.messages,e[j.name]=f,c.messages&&(d.messages[j.name]=a.extend(d.messages[j.name],c.messages));break;case"remove":return c?(i={},a.each(c.split(/\s/),function(b,c){i[c]=f[c],delete f[c],"required"===c&&a(j).removeAttr("aria-required")}),i):(delete e[j.name],f)}return g=a.validator.normalizeRules(a.extend({},a.validator.classRules(j),a.validator.attributeRules(j),a.validator.dataRules(j),a.validator.staticRules(j)),j),g.required&&(h=g.required,delete g.required,g=a.extend({required:h},g),a(j).attr("aria-required","true")),g.remote&&(h=g.remote,delete g.remote,g=a.extend(g,{remote:h})),g}}),a.extend(a.expr[":"],{blank:function(b){return!a.trim(""+a(b).val())},filled:function(b){return!!a.trim(""+a(b).val())},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(a,b){(9!==b.which||""!==this.elementValue(a))&&(a.name in this.submitted||a===this.lastElement)&&this.element(a)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(b){var c=a.data(this[0].form,"validator"),d="on"+b.type.replace(/^validate/,""),e=c.settings;e[d]&&!this.is(e.ignore)&&e[d].call(c,this[0],b)}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.groups={};a.each(this.settings.groups,function(b,c){"string"==typeof c&&(c=c.split(/\s/)),a.each(c,function(a,c){d[c]=b})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']","focusin focusout keyup",b).validateDelegate("select, option, [type='radio'], [type='checkbox']","click",b),this.settings.invalidHandler&&a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),a(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(b){var c=this.clean(b),d=this.validationTargetFor(c),e=!0;return this.lastElement=d,void 0===d?delete this.invalid[c.name]:(this.prepareElement(d),this.currentElements=a(d),e=this.check(d)!==!1,e?delete this.invalid[d.name]:this.invalid[d.name]=!0),a(b).attr("aria-invalid",!e),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e},showErrors:function(b){if(b){a.extend(this.errorMap,b),this.errorList=[];for(var c in b)this.errorList.push({message:b[c],element:this.findByName(c)[0]});this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in c||!b.objectLength(a(this).rules())?!1:(c[this.name]=!0,!0)})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([]),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(b){var c,d=a(b),e=b.type;return"radio"===e||"checkbox"===e?a("input[name='"+b.name+"']:checked").val():"number"===e&&"undefined"!=typeof b.validity?b.validity.badInput?!1:d.val():(c=d.val(),"string"==typeof c?c.replace(/\r/g,""):c)},check:function(b){b=this.validationTargetFor(this.clean(b));var c,d,e,f=a(b).rules(),g=a.map(f,function(a,b){return b}).length,h=!1,i=this.elementValue(b);for(d in f){e={method:d,parameters:f[d]};try{if(c=a.validator.methods[d].call(this,i,b,e.parameters),"dependency-mismatch"===c&&1===g){h=!0;continue}if(h=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,e),!1}catch(j){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+e.method+"' method.",j),j}}if(!h)return this.objectLength(f)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a];return void 0},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customDataMessage(b,c),!this.settings.ignoreTitle&&b.title||void 0,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>")},formatAndAdd:function(b,c){var d=this.defaultMessage(b,c.method),e=/\$?\{(\d+)\}/g;"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),this.errorList.push({message:d,element:b,method:c.method}),this.errorMap[b.name]=d,this.submitted[b.name]=d},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,b,c;for(a=0;this.errorList[a];a++)c=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d,e,f,g=this.errorsFor(b),h=this.idOrName(b),i=a(b).attr("aria-describedby");g.length?(g.removeClass(this.settings.validClass).addClass(this.settings.errorClass),g.html(c)):(g=a("<"+this.settings.errorElement+">").attr("id",h+"-error").addClass(this.settings.errorClass).html(c||""),d=g,this.settings.wrapper&&(d=g.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b),g.is("label")?g.attr("for",h):0===g.parents("label[for='"+h+"']").length&&(f=g.attr("id"),i?i.match(new RegExp("\b"+f+"\b"))||(i+=" "+f):i=f,a(b).attr("aria-describedby",i),e=this.groups[b.name],e&&a.each(this.groups,function(b,c){c===e&&a("[name='"+b+"']",this.currentForm).attr("aria-describedby",g.attr("id"))}))),!c&&this.settings.success&&(g.text(""),"string"==typeof this.settings.success?g.addClass(this.settings.success):this.settings.success(g,b)),this.toShow=this.toShow.add(g)},errorsFor:function(b){var c=this.idOrName(b),d=a(b).attr("aria-describedby"),e="label[for='"+c+"'], label[for='"+c+"'] *";return d&&(e=e+", #"+d.replace(/\s+/g,", #")),this.errors().filter(e)},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(a){return this.checkable(a)&&(a=this.findByName(a.name).not(this.settings.ignore)[0]),a},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+b+"']")},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):!0},dependTypes:{"boolean":function(a){return a},string:function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(a){this.pending[a.name]||(this.pendingRequest++,this.pending[a.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},attributeRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)"required"===c?(d=b.getAttribute(c),""===d&&(d=!0),d=!!d):d=f.attr(c),/min|max/.test(c)&&(null===g||/number|range|text/.test(g))&&(d=Number(d)),d||0===d?e[c]=d:g===c&&"range"!==g&&(e[c]=!0);return e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)&&delete e.maxlength,e},dataRules:function(b){var c,d,e={},f=a(b);for(c in a.validator.methods)d=f.data("rule"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase()),void 0!==d&&(e[c]=d);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0!==e.param?e.param:!0:delete b[d]}}),a.each(b,function(d,e){b[d]=a.isFunction(e)?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(b.min&&b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),b.minlength&&b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:a.trim(b).length>0},email:function(a,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(a)},url:function(a,b){return this.optional(b)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a).toString())},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9 \-]+/.test(a))return!1;var c,d,e=0,f=0,g=!1;if(a=a.replace(/\D/g,""),a.length<13||a.length>19)return!1;for(c=a.length-1;c>=0;c--)d=a.charAt(c),f=parseInt(d,10),g&&(f*=2)>9&&(f-=9),e+=f,g=!g;return e%10===0},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e>=d},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||d>=e},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(a.trim(b),c);return this.optional(c)||e>=d[0]&&e<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||c>=a},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},remote:function(b,c,d){if(this.optional(c))return"dependency-mismatch";var e,f,g=this.previousValue(c);return this.settings.messages[c.name]||(this.settings.messages[c.name]={}),g.originalMessage=this.settings.messages[c.name].remote,this.settings.messages[c.name].remote=g.message,d="string"==typeof d&&{url:d}||d,g.old===b?g.valid:(g.old=b,e=this,this.startRequest(c),f={},f[c.name]=b,a.ajax(a.extend(!0,{url:d,mode:"abort",port:"validate"+c.name,dataType:"json",data:f,context:e.currentForm,success:function(d){var f,h,i,j=d===!0||"true"===d;e.settings.messages[c.name].remote=g.originalMessage,j?(i=e.formSubmitted,e.prepareElement(c),e.formSubmitted=i,e.successList.push(c),delete e.invalid[c.name],e.showErrors()):(f={},h=d||e.defaultMessage(c,"remote"),f[c.name]=g.message=a.isFunction(h)?h(b):h,e.invalid[c.name]=!0,e.showErrors(f)),g.valid=j,e.stopRequest(c,j)}},d)),"pending")}}}),a.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var b,c={};a.ajaxPrefilter?a.ajaxPrefilter(function(a,b,d){var e=a.port;"abort"===a.mode&&(c[e]&&c[e].abort(),c[e]=d)}):(b=a.ajax,a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(c[f]&&c[f].abort(),c[f]=b.apply(this,arguments),c[f]):b.apply(this,arguments)}),a.extend(a.fn,{validateDelegate:function(b,c,d){return this.bind(c,function(c){var e=a(c.target);return e.is(b)?d.apply(e,arguments):void 0})}})});
|
@@ -1,33 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: AR (Arabic; العربية)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "هذا الحقل إلزامي",
|
15
|
-
remote: "يرجى تصحيح هذا الحقل للمتابعة",
|
16
|
-
email: "رجاء إدخال عنوان بريد إلكتروني صحيح",
|
17
|
-
url: "رجاء إدخال عنوان موقع إلكتروني صحيح",
|
18
|
-
date: "رجاء إدخال تاريخ صحيح",
|
19
|
-
dateISO: "رجاء إدخال تاريخ صحيح (ISO)",
|
20
|
-
number: "رجاء إدخال عدد بطريقة صحيحة",
|
21
|
-
digits: "رجاء إدخال أرقام فقط",
|
22
|
-
creditcard: "رجاء إدخال رقم بطاقة ائتمان صحيح",
|
23
|
-
equalTo: "رجاء إدخال نفس القيمة",
|
24
|
-
extension: "رجاء إدخال ملف بامتداد موافق عليه",
|
25
|
-
maxlength: $.validator.format("الحد الأقصى لعدد الحروف هو {0}"),
|
26
|
-
minlength: $.validator.format("الحد الأدنى لعدد الحروف هو {0}"),
|
27
|
-
rangelength: $.validator.format("عدد الحروف يجب أن يكون بين {0} و {1}"),
|
28
|
-
range: $.validator.format("رجاء إدخال عدد قيمته بين {0} و {1}"),
|
29
|
-
max: $.validator.format("رجاء إدخال عدد أقل من أو يساوي (0}"),
|
30
|
-
min: $.validator.format("رجاء إدخال عدد أكبر من أو يساوي (0}")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"هذا الحقل إلزامي",remote:"يرجى تصحيح هذا الحقل للمتابعة",email:"رجاء إدخال عنوان بريد إلكتروني صحيح",url:"رجاء إدخال عنوان موقع إلكتروني صحيح",date:"رجاء إدخال تاريخ صحيح",dateISO:"رجاء إدخال تاريخ صحيح (ISO)",number:"رجاء إدخال عدد بطريقة صحيحة",digits:"رجاء إدخال أرقام فقط",creditcard:"رجاء إدخال رقم بطاقة ائتمان صحيح",equalTo:"رجاء إدخال نفس القيمة",extension:"رجاء إدخال ملف بامتداد موافق عليه",maxlength:a.validator.format("الحد الأقصى لعدد الحروف هو {0}"),minlength:a.validator.format("الحد الأدنى لعدد الحروف هو {0}"),rangelength:a.validator.format("عدد الحروف يجب أن يكون بين {0} و {1}"),range:a.validator.format("رجاء إدخال عدد قيمته بين {0} و {1}"),max:a.validator.format("رجاء إدخال عدد أقل من أو يساوي (0}"),min:a.validator.format("رجاء إدخال عدد أكبر من أو يساوي (0}")})});
|
@@ -1,33 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: BG (Bulgarian; български език)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Полето е задължително.",
|
15
|
-
remote: "Моля, въведете правилната стойност.",
|
16
|
-
email: "Моля, въведете валиден email.",
|
17
|
-
url: "Моля, въведете валидно URL.",
|
18
|
-
date: "Моля, въведете валидна дата.",
|
19
|
-
dateISO: "Моля, въведете валидна дата (ISO).",
|
20
|
-
number: "Моля, въведете валиден номер.",
|
21
|
-
digits: "Моля, въведете само цифри.",
|
22
|
-
creditcard: "Моля, въведете валиден номер на кредитна карта.",
|
23
|
-
equalTo: "Моля, въведете същата стойност отново.",
|
24
|
-
extension: "Моля, въведете стойност с валидно разширение.",
|
25
|
-
maxlength: $.validator.format("Моля, въведете повече от {0} символа."),
|
26
|
-
minlength: $.validator.format("Моля, въведете поне {0} символа."),
|
27
|
-
rangelength: $.validator.format("Моля, въведете стойност с дължина между {0} и {1} символа."),
|
28
|
-
range: $.validator.format("Моля, въведете стойност между {0} и {1}."),
|
29
|
-
max: $.validator.format("Моля, въведете стойност по-малка или равна на {0}."),
|
30
|
-
min: $.validator.format("Моля, въведете стойност по-голяма или равна на {0}.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Полето е задължително.",remote:"Моля, въведете правилната стойност.",email:"Моля, въведете валиден email.",url:"Моля, въведете валидно URL.",date:"Моля, въведете валидна дата.",dateISO:"Моля, въведете валидна дата (ISO).",number:"Моля, въведете валиден номер.",digits:"Моля, въведете само цифри.",creditcard:"Моля, въведете валиден номер на кредитна карта.",equalTo:"Моля, въведете същата стойност отново.",extension:"Моля, въведете стойност с валидно разширение.",maxlength:a.validator.format("Моля, въведете повече от {0} символа."),minlength:a.validator.format("Моля, въведете поне {0} символа."),rangelength:a.validator.format("Моля, въведете стойност с дължина между {0} и {1} символа."),range:a.validator.format("Моля, въведете стойност между {0} и {1}."),max:a.validator.format("Моля, въведете стойност по-малка или равна на {0}."),min:a.validator.format("Моля, въведете стойност по-голяма или равна на {0}.")})});
|
@@ -1,33 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: CA (Catalan; català)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Aquest camp és obligatori.",
|
15
|
-
remote: "Si us plau, omple aquest camp.",
|
16
|
-
email: "Si us plau, escriu una adreça de correu-e vàlida",
|
17
|
-
url: "Si us plau, escriu una URL vàlida.",
|
18
|
-
date: "Si us plau, escriu una data vàlida.",
|
19
|
-
dateISO: "Si us plau, escriu una data (ISO) vàlida.",
|
20
|
-
number: "Si us plau, escriu un número enter vàlid.",
|
21
|
-
digits: "Si us plau, escriu només dígits.",
|
22
|
-
creditcard: "Si us plau, escriu un número de tarjeta vàlid.",
|
23
|
-
equalTo: "Si us plau, escriu el maateix valor de nou.",
|
24
|
-
extension: "Si us plau, escriu un valor amb una extensió acceptada.",
|
25
|
-
maxlength: $.validator.format("Si us plau, no escriguis més de {0} caracters."),
|
26
|
-
minlength: $.validator.format("Si us plau, no escriguis menys de {0} caracters."),
|
27
|
-
rangelength: $.validator.format("Si us plau, escriu un valor entre {0} i {1} caracters."),
|
28
|
-
range: $.validator.format("Si us plau, escriu un valor entre {0} i {1}."),
|
29
|
-
max: $.validator.format("Si us plau, escriu un valor menor o igual a {0}."),
|
30
|
-
min: $.validator.format("Si us plau, escriu un valor major o igual a {0}.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Aquest camp és obligatori.",remote:"Si us plau, omple aquest camp.",email:"Si us plau, escriu una adreça de correu-e vàlida",url:"Si us plau, escriu una URL vàlida.",date:"Si us plau, escriu una data vàlida.",dateISO:"Si us plau, escriu una data (ISO) vàlida.",number:"Si us plau, escriu un número enter vàlid.",digits:"Si us plau, escriu només dígits.",creditcard:"Si us plau, escriu un número de tarjeta vàlid.",equalTo:"Si us plau, escriu el maateix valor de nou.",extension:"Si us plau, escriu un valor amb una extensió acceptada.",maxlength:a.validator.format("Si us plau, no escriguis més de {0} caracters."),minlength:a.validator.format("Si us plau, no escriguis menys de {0} caracters."),rangelength:a.validator.format("Si us plau, escriu un valor entre {0} i {1} caracters."),range:a.validator.format("Si us plau, escriu un valor entre {0} i {1}."),max:a.validator.format("Si us plau, escriu un valor menor o igual a {0}."),min:a.validator.format("Si us plau, escriu un valor major o igual a {0}.")})});
|
@@ -1,33 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: CS (Czech; čeština, český jazyk)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Tento údaj je povinný.",
|
15
|
-
remote: "Prosím, opravte tento údaj.",
|
16
|
-
email: "Prosím, zadejte platný e-mail.",
|
17
|
-
url: "Prosím, zadejte platné URL.",
|
18
|
-
date: "Prosím, zadejte platné datum.",
|
19
|
-
dateISO: "Prosím, zadejte platné datum (ISO).",
|
20
|
-
number: "Prosím, zadejte číslo.",
|
21
|
-
digits: "Prosím, zadávejte pouze číslice.",
|
22
|
-
creditcard: "Prosím, zadejte číslo kreditní karty.",
|
23
|
-
equalTo: "Prosím, zadejte znovu stejnou hodnotu.",
|
24
|
-
extension: "Prosím, zadejte soubor se správnou příponou.",
|
25
|
-
maxlength: $.validator.format("Prosím, zadejte nejvíce {0} znaků."),
|
26
|
-
minlength: $.validator.format("Prosím, zadejte nejméně {0} znaků."),
|
27
|
-
rangelength: $.validator.format("Prosím, zadejte od {0} do {1} znaků."),
|
28
|
-
range: $.validator.format("Prosím, zadejte hodnotu od {0} do {1}."),
|
29
|
-
max: $.validator.format("Prosím, zadejte hodnotu menší nebo rovnu {0}."),
|
30
|
-
min: $.validator.format("Prosím, zadejte hodnotu větší nebo rovnu {0}.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Tento údaj je povinný.",remote:"Prosím, opravte tento údaj.",email:"Prosím, zadejte platný e-mail.",url:"Prosím, zadejte platné URL.",date:"Prosím, zadejte platné datum.",dateISO:"Prosím, zadejte platné datum (ISO).",number:"Prosím, zadejte číslo.",digits:"Prosím, zadávejte pouze číslice.",creditcard:"Prosím, zadejte číslo kreditní karty.",equalTo:"Prosím, zadejte znovu stejnou hodnotu.",extension:"Prosím, zadejte soubor se správnou příponou.",maxlength:a.validator.format("Prosím, zadejte nejvíce {0} znaků."),minlength:a.validator.format("Prosím, zadejte nejméně {0} znaků."),rangelength:a.validator.format("Prosím, zadejte od {0} do {1} znaků."),range:a.validator.format("Prosím, zadejte hodnotu od {0} do {1}."),max:a.validator.format("Prosím, zadejte hodnotu menší nebo rovnu {0}."),min:a.validator.format("Prosím, zadejte hodnotu větší nebo rovnu {0}.")})});
|
@@ -1,30 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: DA (Danish; dansk)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Dette felt er påkrævet.",
|
15
|
-
maxlength: $.validator.format("Indtast højst {0} tegn."),
|
16
|
-
minlength: $.validator.format("Indtast mindst {0} tegn."),
|
17
|
-
rangelength: $.validator.format("Indtast mindst {0} og højst {1} tegn."),
|
18
|
-
email: "Indtast en gyldig email-adresse.",
|
19
|
-
url: "Indtast en gyldig URL.",
|
20
|
-
date: "Indtast en gyldig dato.",
|
21
|
-
number: "Indtast et tal.",
|
22
|
-
digits: "Indtast kun cifre.",
|
23
|
-
equalTo: "Indtast den samme værdi igen.",
|
24
|
-
range: $.validator.format("Angiv en værdi mellem {0} og {1}."),
|
25
|
-
max: $.validator.format("Angiv en værdi der højst er {0}."),
|
26
|
-
min: $.validator.format("Angiv en værdi der mindst er {0}."),
|
27
|
-
creditcard: "Indtast et gyldigt kreditkortnummer."
|
28
|
-
});
|
29
|
-
|
30
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Dette felt er påkrævet.",maxlength:a.validator.format("Indtast højst {0} tegn."),minlength:a.validator.format("Indtast mindst {0} tegn."),rangelength:a.validator.format("Indtast mindst {0} og højst {1} tegn."),email:"Indtast en gyldig email-adresse.",url:"Indtast en gyldig URL.",date:"Indtast en gyldig dato.",number:"Indtast et tal.",digits:"Indtast kun cifre.",equalTo:"Indtast den samme værdi igen.",range:a.validator.format("Angiv en værdi mellem {0} og {1}."),max:a.validator.format("Angiv en værdi der højst er {0}."),min:a.validator.format("Angiv en værdi der mindst er {0}."),creditcard:"Indtast et gyldigt kreditkortnummer."})});
|
@@ -1,30 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: DE (German, Deutsch)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Dieses Feld ist ein Pflichtfeld.",
|
15
|
-
maxlength: $.validator.format("Geben Sie bitte maximal {0} Zeichen ein."),
|
16
|
-
minlength: $.validator.format("Geben Sie bitte mindestens {0} Zeichen ein."),
|
17
|
-
rangelength: $.validator.format("Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein."),
|
18
|
-
email: "Geben Sie bitte eine gültige E-Mail Adresse ein.",
|
19
|
-
url: "Geben Sie bitte eine gültige URL ein.",
|
20
|
-
date: "Bitte geben Sie ein gültiges Datum ein.",
|
21
|
-
number: "Geben Sie bitte eine Nummer ein.",
|
22
|
-
digits: "Geben Sie bitte nur Ziffern ein.",
|
23
|
-
equalTo: "Bitte denselben Wert wiederholen.",
|
24
|
-
range: $.validator.format("Geben Sie bitte einen Wert zwischen {0} und {1} ein."),
|
25
|
-
max: $.validator.format("Geben Sie bitte einen Wert kleiner oder gleich {0} ein."),
|
26
|
-
min: $.validator.format("Geben Sie bitte einen Wert größer oder gleich {0} ein."),
|
27
|
-
creditcard: "Geben Sie bitte eine gültige Kreditkarten-Nummer ein."
|
28
|
-
});
|
29
|
-
|
30
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Dieses Feld ist ein Pflichtfeld.",maxlength:a.validator.format("Geben Sie bitte maximal {0} Zeichen ein."),minlength:a.validator.format("Geben Sie bitte mindestens {0} Zeichen ein."),rangelength:a.validator.format("Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein."),email:"Geben Sie bitte eine gültige E-Mail Adresse ein.",url:"Geben Sie bitte eine gültige URL ein.",date:"Bitte geben Sie ein gültiges Datum ein.",number:"Geben Sie bitte eine Nummer ein.",digits:"Geben Sie bitte nur Ziffern ein.",equalTo:"Bitte denselben Wert wiederholen.",range:a.validator.format("Geben Sie bitte einen Wert zwischen {0} und {1} ein."),max:a.validator.format("Geben Sie bitte einen Wert kleiner oder gleich {0} ein."),min:a.validator.format("Geben Sie bitte einen Wert größer oder gleich {0} ein."),creditcard:"Geben Sie bitte eine gültige Kreditkarten-Nummer ein."})});
|
@@ -1,33 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: EL (Greek; ελληνικά)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Αυτό το πεδίο είναι υποχρεωτικό.",
|
15
|
-
remote: "Παρακαλώ διορθώστε αυτό το πεδίο.",
|
16
|
-
email: "Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email.",
|
17
|
-
url: "Παρακαλώ εισάγετε ένα έγκυρο URL.",
|
18
|
-
date: "Παρακαλώ εισάγετε μια έγκυρη ημερομηνία.",
|
19
|
-
dateISO: "Παρακαλώ εισάγετε μια έγκυρη ημερομηνία (ISO).",
|
20
|
-
number: "Παρακαλώ εισάγετε έναν έγκυρο αριθμό.",
|
21
|
-
digits: "Παρακαλώ εισάγετε μόνο αριθμητικά ψηφία.",
|
22
|
-
creditcard: "Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας.",
|
23
|
-
equalTo: "Παρακαλώ εισάγετε την ίδια τιμή ξανά.",
|
24
|
-
extension: "Παρακαλώ εισάγετε μια τιμή με έγκυρη επέκταση αρχείου.",
|
25
|
-
maxlength: $.validator.format("Παρακαλώ εισάγετε μέχρι και {0} χαρακτήρες."),
|
26
|
-
minlength: $.validator.format("Παρακαλώ εισάγετε τουλάχιστον {0} χαρακτήρες."),
|
27
|
-
rangelength: $.validator.format("Παρακαλώ εισάγετε μια τιμή με μήκος μεταξύ {0} και {1} χαρακτήρων."),
|
28
|
-
range: $.validator.format("Παρακαλώ εισάγετε μια τιμή μεταξύ {0} και {1}."),
|
29
|
-
max: $.validator.format("Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση του {0}."),
|
30
|
-
min: $.validator.format("Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση του {0}.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Αυτό το πεδίο είναι υποχρεωτικό.",remote:"Παρακαλώ διορθώστε αυτό το πεδίο.",email:"Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email.",url:"Παρακαλώ εισάγετε ένα έγκυρο URL.",date:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία.",dateISO:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία (ISO).",number:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό.",digits:"Παρακαλώ εισάγετε μόνο αριθμητικά ψηφία.",creditcard:"Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας.",equalTo:"Παρακαλώ εισάγετε την ίδια τιμή ξανά.",extension:"Παρακαλώ εισάγετε μια τιμή με έγκυρη επέκταση αρχείου.",maxlength:a.validator.format("Παρακαλώ εισάγετε μέχρι και {0} χαρακτήρες."),minlength:a.validator.format("Παρακαλώ εισάγετε τουλάχιστον {0} χαρακτήρες."),rangelength:a.validator.format("Παρακαλώ εισάγετε μια τιμή με μήκος μεταξύ {0} και {1} χαρακτήρων."),range:a.validator.format("Παρακαλώ εισάγετε μια τιμή μεταξύ {0} και {1}."),max:a.validator.format("Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση του {0}."),min:a.validator.format("Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση του {0}.")})});
|
@@ -1,36 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: ES (Spanish; Español)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Este campo es obligatorio.",
|
15
|
-
remote: "Por favor, rellena este campo.",
|
16
|
-
email: "Por favor, escribe una dirección de correo válida.",
|
17
|
-
url: "Por favor, escribe una URL válida.",
|
18
|
-
date: "Por favor, escribe una fecha válida.",
|
19
|
-
dateISO: "Por favor, escribe una fecha (ISO) válida.",
|
20
|
-
number: "Por favor, escribe un número válido.",
|
21
|
-
digits: "Por favor, escribe sólo dígitos.",
|
22
|
-
creditcard: "Por favor, escribe un número de tarjeta válido.",
|
23
|
-
equalTo: "Por favor, escribe el mismo valor de nuevo.",
|
24
|
-
extension: "Por favor, escribe un valor con una extensión aceptada.",
|
25
|
-
maxlength: $.validator.format("Por favor, no escribas más de {0} caracteres."),
|
26
|
-
minlength: $.validator.format("Por favor, no escribas menos de {0} caracteres."),
|
27
|
-
rangelength: $.validator.format("Por favor, escribe un valor entre {0} y {1} caracteres."),
|
28
|
-
range: $.validator.format("Por favor, escribe un valor entre {0} y {1}."),
|
29
|
-
max: $.validator.format("Por favor, escribe un valor menor o igual a {0}."),
|
30
|
-
min: $.validator.format("Por favor, escribe un valor mayor o igual a {0}."),
|
31
|
-
nifES: "Por favor, escribe un NIF válido.",
|
32
|
-
nieES: "Por favor, escribe un NIE válido.",
|
33
|
-
cifES: "Por favor, escribe un CIF válido."
|
34
|
-
});
|
35
|
-
|
36
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Este campo es obligatorio.",remote:"Por favor, rellena este campo.",email:"Por favor, escribe una dirección de correo válida.",url:"Por favor, escribe una URL válida.",date:"Por favor, escribe una fecha válida.",dateISO:"Por favor, escribe una fecha (ISO) válida.",number:"Por favor, escribe un número válido.",digits:"Por favor, escribe sólo dígitos.",creditcard:"Por favor, escribe un número de tarjeta válido.",equalTo:"Por favor, escribe el mismo valor de nuevo.",extension:"Por favor, escribe un valor con una extensión aceptada.",maxlength:a.validator.format("Por favor, no escribas más de {0} caracteres."),minlength:a.validator.format("Por favor, no escribas menos de {0} caracteres."),rangelength:a.validator.format("Por favor, escribe un valor entre {0} y {1} caracteres."),range:a.validator.format("Por favor, escribe un valor entre {0} y {1}."),max:a.validator.format("Por favor, escribe un valor menor o igual a {0}."),min:a.validator.format("Por favor, escribe un valor mayor o igual a {0}."),nifES:"Por favor, escribe un NIF válido.",nieES:"Por favor, escribe un NIE válido.",cifES:"Por favor, escribe un CIF válido."})});
|
@@ -1,37 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: ES (Spanish; Español)
|
12
|
-
* Region: AR (Argentina)
|
13
|
-
*/
|
14
|
-
$.extend($.validator.messages, {
|
15
|
-
required: "Este campo es obligatorio.",
|
16
|
-
remote: "Por favor, completá este campo.",
|
17
|
-
email: "Por favor, escribí una dirección de correo válida.",
|
18
|
-
url: "Por favor, escribí una URL válida.",
|
19
|
-
date: "Por favor, escribí una fecha válida.",
|
20
|
-
dateISO: "Por favor, escribí una fecha (ISO) válida.",
|
21
|
-
number: "Por favor, escribí un número entero válido.",
|
22
|
-
digits: "Por favor, escribí sólo dígitos.",
|
23
|
-
creditcard: "Por favor, escribí un número de tarjeta válido.",
|
24
|
-
equalTo: "Por favor, escribí el mismo valor de nuevo.",
|
25
|
-
extension: "Por favor, escribí un valor con una extensión aceptada.",
|
26
|
-
maxlength: $.validator.format("Por favor, no escribas más de {0} caracteres."),
|
27
|
-
minlength: $.validator.format("Por favor, no escribas menos de {0} caracteres."),
|
28
|
-
rangelength: $.validator.format("Por favor, escribí un valor entre {0} y {1} caracteres."),
|
29
|
-
range: $.validator.format("Por favor, escribí un valor entre {0} y {1}."),
|
30
|
-
max: $.validator.format("Por favor, escribí un valor menor o igual a {0}."),
|
31
|
-
min: $.validator.format("Por favor, escribí un valor mayor o igual a {0}."),
|
32
|
-
nifES: "Por favor, escribí un NIF válido.",
|
33
|
-
nieES: "Por favor, escribí un NIE válido.",
|
34
|
-
cifES: "Por favor, escribí un CIF válido."
|
35
|
-
});
|
36
|
-
|
37
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"Este campo es obligatorio.",remote:"Por favor, completá este campo.",email:"Por favor, escribí una dirección de correo válida.",url:"Por favor, escribí una URL válida.",date:"Por favor, escribí una fecha válida.",dateISO:"Por favor, escribí una fecha (ISO) válida.",number:"Por favor, escribí un número entero válido.",digits:"Por favor, escribí sólo dígitos.",creditcard:"Por favor, escribí un número de tarjeta válido.",equalTo:"Por favor, escribí el mismo valor de nuevo.",extension:"Por favor, escribí un valor con una extensión aceptada.",maxlength:a.validator.format("Por favor, no escribas más de {0} caracteres."),minlength:a.validator.format("Por favor, no escribas menos de {0} caracteres."),rangelength:a.validator.format("Por favor, escribí un valor entre {0} y {1} caracteres."),range:a.validator.format("Por favor, escribí un valor entre {0} y {1}."),max:a.validator.format("Por favor, escribí un valor menor o igual a {0}."),min:a.validator.format("Por favor, escribí un valor mayor o igual a {0}."),nifES:"Por favor, escribí un NIF válido.",nieES:"Por favor, escribí un NIE válido.",cifES:"Por favor, escribí un CIF válido."})});
|
@@ -1,31 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: ET (Estonian; eesti, eesti keel)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "See väli peab olema täidetud.",
|
15
|
-
maxlength: $.validator.format("Palun sisestage vähem kui {0} tähemärki."),
|
16
|
-
minlength: $.validator.format("Palun sisestage vähemalt {0} tähemärki."),
|
17
|
-
rangelength: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1} tähemärki."),
|
18
|
-
email: "Palun sisestage korrektne e-maili aadress.",
|
19
|
-
url: "Palun sisestage korrektne URL.",
|
20
|
-
date: "Palun sisestage korrektne kuupäev.",
|
21
|
-
dateISO: "Palun sisestage korrektne kuupäev (YYYY-MM-DD).",
|
22
|
-
number: "Palun sisestage korrektne number.",
|
23
|
-
digits: "Palun sisestage ainult numbreid.",
|
24
|
-
equalTo: "Palun sisestage sama väärtus uuesti.",
|
25
|
-
range: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1}."),
|
26
|
-
max: $.validator.format("Palun sisestage väärtus, mis on väiksem või võrdne arvuga {0}."),
|
27
|
-
min: $.validator.format("Palun sisestage väärtus, mis on suurem või võrdne arvuga {0}."),
|
28
|
-
creditcard: "Palun sisestage korrektne krediitkaardi number."
|
29
|
-
});
|
30
|
-
|
31
|
-
}));
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! jQuery Validation Plugin - v1.13.0 - 7/1/2014
|
2
|
-
* http://jqueryvalidation.org/
|
3
|
-
* Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
|
4
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"See väli peab olema täidetud.",maxlength:a.validator.format("Palun sisestage vähem kui {0} tähemärki."),minlength:a.validator.format("Palun sisestage vähemalt {0} tähemärki."),rangelength:a.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1} tähemärki."),email:"Palun sisestage korrektne e-maili aadress.",url:"Palun sisestage korrektne URL.",date:"Palun sisestage korrektne kuupäev.",dateISO:"Palun sisestage korrektne kuupäev (YYYY-MM-DD).",number:"Palun sisestage korrektne number.",digits:"Palun sisestage ainult numbreid.",equalTo:"Palun sisestage sama väärtus uuesti.",range:a.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1}."),max:a.validator.format("Palun sisestage väärtus, mis on väiksem või võrdne arvuga {0}."),min:a.validator.format("Palun sisestage väärtus, mis on suurem või võrdne arvuga {0}."),creditcard:"Palun sisestage korrektne krediitkaardi number."})});
|
@@ -1,33 +0,0 @@
|
|
1
|
-
(function( factory ) {
|
2
|
-
if ( typeof define === "function" && define.amd ) {
|
3
|
-
define( ["jquery", "../jquery.validate"], factory );
|
4
|
-
} else {
|
5
|
-
factory( jQuery );
|
6
|
-
}
|
7
|
-
}(function( $ ) {
|
8
|
-
|
9
|
-
/*
|
10
|
-
* Translated default messages for the jQuery validation plugin.
|
11
|
-
* Locale: EU (Basque; euskara, euskera)
|
12
|
-
*/
|
13
|
-
$.extend($.validator.messages, {
|
14
|
-
required: "Eremu hau beharrezkoa da.",
|
15
|
-
remote: "Mesedez, bete eremu hau.",
|
16
|
-
email: "Mesedez, idatzi baliozko posta helbide bat.",
|
17
|
-
url: "Mesedez, idatzi baliozko URL bat.",
|
18
|
-
date: "Mesedez, idatzi baliozko data bat.",
|
19
|
-
dateISO: "Mesedez, idatzi baliozko (ISO) data bat.",
|
20
|
-
number: "Mesedez, idatzi baliozko zenbaki oso bat.",
|
21
|
-
digits: "Mesedez, idatzi digituak soilik.",
|
22
|
-
creditcard: "Mesedez, idatzi baliozko txartel zenbaki bat.",
|
23
|
-
equalTo: "Mesedez, idatzi berdina berriro ere.",
|
24
|
-
extension: "Mesedez, idatzi onartutako luzapena duen balio bat.",
|
25
|
-
maxlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gehiago."),
|
26
|
-
minlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gutxiago."),
|
27
|
-
rangelength: $.validator.format("Mesedez, idatzi {0} eta {1} karaktere arteko balio bat."),
|
28
|
-
range: $.validator.format("Mesedez, idatzi {0} eta {1} arteko balio bat."),
|
29
|
-
max: $.validator.format("Mesedez, idatzi {0} edo txikiagoa den balio bat."),
|
30
|
-
min: $.validator.format("Mesedez, idatzi {0} edo handiagoa den balio bat.")
|
31
|
-
});
|
32
|
-
|
33
|
-
}));
|