Repository: baianat/vee-validate
Pull request #912 (2017-10-24 18:01:04)

Add jsDelivr hits badge
Hey, I noticed that vee-validate gets 360k hits per month on jsDelivr, so I thought you might like this badge.


Patch:
diff --git a/CONDUCT.md b/CONDUCT.md
deleted file mode 100644
index e2dbaeee..00000000
--- a/CONDUCT.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor Covenant Code of Conduct
-
-## Our Pledge
-
-In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
-
-## Our Standards
-
-Examples of behavior that contributes to creating a positive environment include:
-
-* Using welcoming and inclusive language
-* Being respectful of differing viewpoints and experiences
-* Gracefully accepting constructive criticism
-* Focusing on what is best for the community
-* Showing empathy towards other community members
-
-Examples of unacceptable behavior by participants include:
-
-* The use of sexualized language or imagery and unwelcome sexual attention or advances
-* Trolling, insulting/derogatory comments, and personal or political attacks
-* Public or private harassment
-* Publishing others' private information, such as a physical or electronic address, without explicit permission
-* Other conduct which could reasonably be considered inappropriate in a professional setting
-
-## Our Responsibilities
-
-Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
-
-Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
-
-## Scope
-
-This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
-
-## Enforcement
-
-Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at logaretm1@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
-
-Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
-
-## Attribution
-
-This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
-
-[homepage]: http://contributor-covenant.org
-[version]: http://contributor-covenant.org/version/1/4/
diff --git a/README.md b/README.md
index c67553e9..ff8a18e0 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ yarn add vee-validate
 
 vee-validate is also available on these cdns:
 
-- [jsdelivr cdn](https://cdn.jsdelivr.net/npm/vee-validate@latest/dist/vee-validate.js)
+- [jsdelivr cdn](https://cdn.jsdelivr.net/npm/vee-validate@latest/dist/vee-validate.js) [![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/vee-validate/badge?style=rounded)](https://www.jsdelivr.com/package/npm/vee-validate)
 - [unpkg](https://unpkg.com/vee-validate)
 
 ### Getting Started
diff --git a/docs/advanced.html b/docs/advanced.html
index 8b1945d3..be31ee26 100644
--- a/docs/advanced.html
+++ b/docs/advanced.html
@@ -6,7 +6,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 ga('create', 'UA-100131478-1', 'auto');
 ga('send', 'pageview');
 </script><svg style="display: none;"><symbol id="github" viewbox="0 0 16 16"><path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"></path></symbol><symbol id="i-star" viewbox="0 0 32 32"><path d="M16 2 L20 12 30 12 22 19 25 30 16 23 7 30 10 19 2 12 12 12 Z"></path></symbol><div class="columns is-mobile" id="app"><button :class="{ 'button': true, 'sidebar-button': true, 'is-open': sidebarToggle }" @click="sidebarToggle = ! sidebarToggle" type="button"><span class="icon"><i class="fa fa-bars"></i></span></button><div class="column is-2 sidebar-container" :class="{ 'column is-2 sidebar-container': true, 'is-open': sidebarToggle }" v-cloak><aside class="menu sidebar"><animated-button link="https://github.com/logaretm/vee-validate"><div class="flex-div" slot="default"><svg class="icon"><use xlink:href="#github"></use></svg>Star</div><div class="flex-div" slot="hover"><svg class="icon"><use xlink:href="#i-star"></use></svg>{{ stars }}</div></animated-button><p class="menu-label">Getting Started</p><ul class="menu-list"><li><a href="index.html#about">Introduction</a></li><li><a href="index.html#installation">Installation</a><ul><li><a href="index.html#npm">npm</a></li><li><a href="index.html#cdn">CDN</a></li></ul></li><li><a href="index.html#basic-example">Basic Example</a></li><li><a href="index.html#render-errors">Rendering Errors</a></li><li><a href="index.html#available-rules">Available Validations</a></li><li><a href="index.html#configuration">Configuration</a></li></ul><p class="menu-label">Validation Rules</p><ul class="menu-list"><li><a href="rules.html#syntax">Syntax</a></li><li><a href="rules.html#available-validations">Available Validations</a></li><li><a href="rules.html#custom-rules">Custom Validations</a></li><li><a href="rules.html#custom-messages">Custom Messages</a></li><li><a href="rules.html#custom-attributes">Custom Attributes</a></li><li><a href="rules.html#field-sepecific-messages">Field-specific Custom Messages  </a></li></ul><p class="menu-label">Localization</p><ul class="menu-list"><li><a href="localization.html#translation">Translation</a></li><li><a href="localization.html#attributes-data-as">Attributes</a><ul><li><a href="localization.html#attributes-data-as">alias</a></li><li><a href="localization.html#attributes-dictionary">dictionary</a></li></ul></li><li><a href="localization.html#localized-files">Localized Files</a></li></ul><p class="menu-label">Advanced</p><ul class="menu-list"><li><a href="advanced.html#inject">Component Injections</a></li></ul><p class="menu-label">Examples</p><ul class="menu-list"><li><a href="examples.html#debounce-example">Debounce</a></li><li><a href="examples.html#reject-example">Reject Files</a></li><li><a href="examples.html#validate-data-example">Validating Models</a></li><li><a href="examples.html#initial-value">Initial Value Validation</a></li><li><a href="examples.html#validate-form">Form Validation</a></li><li><a href="examples.html#locale-example">Localized Messages</a></li><li><a href="examples.html#scope-example">Validation Scopes</a></li><li><a href="examples.html#coupon-example">Custom Validation: Coupon</a></li><li><a href="examples.html#radio-buttons-example">Radio Buttons Validation</a></li><li><a href="examples.html#checkbox-example">Checkbox Example</a></li><li><a href="examples.html#flags-example">Validation Flags</a></li><li><a href="examples.html#selectors-example">Error Selectors</a></li><li><a href="examples.html#component-example">Component Validation</a></li><li><a href="examples.html#event-bus-example">Event Bus</a></li></ul><p class="menu-label">API</p><ul class="menu-list"><li><a href="api.html#directive">v-validate</a></li><li><a href="api.html#data-attributes">data-* Attributes</a></li><li><a href="api.html#error-bag">Error Bag</a></li><li><a href="api.html#validator">Validator</a><ul><li><a href="api.html#validator">API</a></li><li><a href="api.html#validator-example">Example</a></li></ul></li></ul></aside></div><div class="column columns is-mobile main-container" @click="sidebarToggle = false"><div class="column is-12"><section class="hero"><div class="hero-body"><div class="container has-text-centered"><img width="150" alt="VeeValidate Logo" src="https://s3.eu-central-1.amazonaws.com/logaretm/vee-validate.svg"><h1 class="title is-2">Advanced </h1><h2 class="subtitle is-4"></h2></div></div></section><div class="container"><div class="column content-container is-mobile"><h2><a href="#injection">Component Injections</a></h2>
-<p>The default behavior for the plugin is to forcibly inject a validator instance for each component, which means each component has its own validator scope, that made sharing error messages between components relatively hard depending on your case.</p>
+<p>The default behavior for the plugin is to forcebly inject a validator instance for each component, which means each component has its own validator scope, that made sharing error messages between components relatively hard depending on your case.</p>
 <p>You can rely on Vue's <a href="https://vuejs.org/v2/api/#provide-inject">Provide/Inject API</a> for this case, here is how it works:</p>
 <p>By default the root Vue instance will be the only one to have a <code>Validator</code> instance, child components can further choose to either inject the parents tree validator or request a new one.</p>
 <p>Here is how to request the parent's validator instance:</p>
@@ -62,4 +62,4 @@ if (location.hash) {
   var hash = location.hash;
   location.hash = '';
   location.hash = hash;
-}</script><script type="text/javascript" src="/assets/js/vendor-80d381618c8ea8a97d06.js"></script><script type="text/javascript" src="/assets/js/bundle-80d381618c8ea8a97d06.js"></script></body></html>
\ No newline at end of file
+}</script><script type="text/javascript" src="/assets/js/vendor-363136280b912218037d.js"></script><script type="text/javascript" src="/assets/js/bundle-363136280b912218037d.js"></script></body></html>
\ No newline at end of file
diff --git a/docs/api.html b/docs/api.html
index 3eae11da..abd9ac3f 100644
--- a/docs/api.html
+++ b/docs/api.html
@@ -327,4 +327,4 @@ if (location.hash) {
   var hash = location.hash;
   location.hash = '';
   location.hash = hash;
-}</script><script type="text/javascript" src="/assets/js/vendor-80d381618c8ea8a97d06.js"></script><script type="text/javascript" src="/assets/js/bundle-80d381618c8ea8a97d06.js"></script></body></html>
\ No newline at end of file
+}</script><script type="text/javascript" src="/assets/js/vendor-363136280b912218037d.js"></script><script type="text/javascript" src="/assets/js/bundle-363136280b912218037d.js"></script></body></html>
\ No newline at end of file
diff --git a/docs/assets/js/0-80d381618c8ea8a97d06.js b/docs/assets/js/0-363136280b912218037d.js
similarity index 66%
rename from docs/assets/js/0-80d381618c8ea8a97d06.js
rename to docs/assets/js/0-363136280b912218037d.js
index 4aa0760b..0926d6e0 100644
--- a/docs/assets/js/0-80d381618c8ea8a97d06.js
+++ b/docs/assets/js/0-363136280b912218037d.js
@@ -1,1 +1,1 @@
-webpackJsonp([0],Array(201).concat([function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(241),s=t.n(r),i=t(242),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(220),s=t.n(r),i=t(221),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(222),s=t.n(r),i=t(223),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";function r(e){t(224)}Object.defineProperty(a,"__esModule",{value:!0});var s=t(226),i=t.n(s),n=t(227),o=t(0),l=r,u=o(i.a,n.a,l,null,null);a.default=u.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(228),s=t.n(r),i=t(232),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";function r(e){t(233)}Object.defineProperty(a,"__esModule",{value:!0});var s=t(235),i=t.n(s),n=t(236),o=t(0),l=r,u=o(i.a,n.a,l,null,null);a.default=u.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(237),s=t.n(r),i=t(238),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(239),s=t.n(r),i=t(240),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(243),s=t.n(r),i=t(244),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(245),s=t.n(r),i=t(246),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(247),s=t.n(r),i=t(248),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(249),s=t.n(r),i=t(250),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(251),s=t.n(r),i=t(253),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(254),s=t.n(r),i=t(255),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(256),s=t.n(r),i=t(257),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(258),s=t.n(r),i=t(259),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(260),s=t.n(r),i=t(261),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a){!function(e){"use strict";function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var a={next:function(){var a=e.shift();return{done:void 0===a,value:a}}};return _.iterable&&(a[Symbol.iterator]=function(){return a}),a}function s(e){this.map={},e instanceof s?e.forEach(function(e,a){this.append(a,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(a){this.append(a,e[a])},this)}function i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function n(e){return new Promise(function(a,t){e.onload=function(){a(e.result)},e.onerror=function(){t(e.error)}})}function o(e){var a=new FileReader,t=n(a);return a.readAsArrayBuffer(e),t}function l(e){var a=new FileReader,t=n(a);return a.readAsText(e),t}function u(e){for(var a=new Uint8Array(e),t=new Array(a.length),r=0;r<a.length;r++)t[r]=String.fromCharCode(a[r]);return t.join("")}function c(e){if(e.slice)return e.slice(0);var a=new Uint8Array(e.byteLength);return a.set(new Uint8Array(e)),a.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(_.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(_.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(_.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(_.arrayBuffer&&_.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!_.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!y(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):_.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(o)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(e){var a=e.toUpperCase();return g.indexOf(a)>-1?a:e}function v(e,a){a=a||{};var t=a.body;if(e instanceof v){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,a.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,t||null==e._bodyInit||(t=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=a.credentials||this.credentials||"omit",!a.headers&&this.headers||(this.headers=new s(a.headers)),this.method=m(a.method||this.method||"GET"),this.mode=a.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&t)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(t)}function p(e){var a=new FormData;return e.trim().split("&").forEach(function(e){if(e){var t=e.split("="),r=t.shift().replace(/\+/g," "),s=t.join("=").replace(/\+/g," ");a.append(decodeURIComponent(r),decodeURIComponent(s))}}),a}function h(e){var a=new s;return e.split(/\r?\n/).forEach(function(e){var t=e.split(":"),r=t.shift().trim();if(r){var s=t.join(":").trim();a.append(r,s)}}),a}function f(e,a){a||(a={}),this.type="default",this.status="status"in a?a.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in a?a.statusText:"OK",this.headers=new s(a.headers),this.url=a.url||"",this._initBody(e)}if(!e.fetch){var _={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(_.arrayBuffer)var w=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},y=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};s.prototype.append=function(e,r){e=a(e),r=t(r);var s=this.map[e];this.map[e]=s?s+","+r:r},s.prototype.delete=function(e){delete this.map[a(e)]},s.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},s.prototype.set=function(e,r){this.map[a(e)]=t(r)},s.prototype.forEach=function(e,a){for(var t in this.map)this.map.hasOwnProperty(t)&&e.call(a,this.map[t],t,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(a,t){e.push(t)}),r(e)},s.prototype.values=function(){var e=[];return this.forEach(function(a){e.push(a)}),r(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(a,t){e.push([t,a])}),r(e)},_.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},d.call(v.prototype),d.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];f.redirect=function(e,a){if(-1===C.indexOf(a))throw new RangeError("Invalid status code");return new f(null,{status:a,headers:{location:e}})},e.Headers=s,e.Request=v,e.Response=f,e.fetch=function(e,a){return new Promise(function(t,r){var s=new v(e,a),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:h(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;t(new f(a,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(s.method,s.url,!0),"include"===s.credentials&&(i.withCredentials=!0),"responseType"in i&&_.blob&&(i.responseType="blob"),s.headers.forEach(function(e,a){i.setRequestHeader(a,e)}),i.send(void 0===s._bodyInit?null:s._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(2),s=function(e){return e&&e.__esModule?e:{default:e}}(r),i=new s.default;a.default=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(1);a.default={name:"backend-example",data:function(){return{emailsDB:[],email:null}},created:function(){var e=this,a=function(a){return new Promise(function(t){setTimeout(function(){return t(-1===e.emailsDB.indexOf(a)?{valid:!0}:{valid:!1,data:{message:a+" is already taken."}})},200)})};r.Validator.extend("unique",{validate:a,getMessage:function(e,a,t){return t.message}})},methods:{submit:function(){var e=this;this.emailsDB.push(this.email),this.email="",this.$nextTick().then(function(){e.$validator.reset()})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"},{name:"validate",rawName:"v-validate",value:"required|email|unique",expression:"'required|email|unique'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.submit}},[e._v("Submit")])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"basic-example"}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label",attrs:{for:"email"}},[e._v("Email")]),e._v(" "),t("p",{class:{control:!0}},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){var r=t(225);"string"==typeof r&&(r=[[e.i,r,""]]);var s={};s.transform=void 0,t(200)(r,s),r.locals&&(e.exports=r.locals)},function(e,a,t){a=e.exports=t(199)(void 0),a.push([e.i,".terms{background-color:#e6e6e6;overflow:auto;height:200px;width:100%;margin-bottom:20px}",""])},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"checkbox-example",data:function(){return{terms:"Lorem ipsum dolor sit amet, consectetur adipisicing elit ".repeat(20)}},methods:{nextStep:function(){this.$validator.validateAll().then(function(e){if(e)return void alert("You just agreed to conditions without reading it.");alert("You actually did not agree?")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("div",{staticClass:"terms"},[t("p",[e._v("\n            "+e._s(e.terms)+"\n        ")])]),e._v(" "),t("div",[t("p",{staticClass:"control"},[t("label",{staticClass:"checkbox"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{name:"terms",type:"checkbox"}}),e._v("\n                I agree to the terms and conditions.\n            ")]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("terms"),expression:"errors.has('terms')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("terms")))])])]),e._v(" "),t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.nextStep}},[e._v("Next")])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(229),s=function(e){return e&&e.__esModule?e:{default:e}}(r);a.default={name:"component-example",components:{CustomInput:s.default},methods:{validate:function(){this.$validator.validateAll().then(function(e){alert("Validation Result: "+e)})}}}},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(230),s=t.n(r),i=t(231),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={props:{label:String,hasError:Boolean},data:function(){return{innerValue:null}},watch:{innerValue:function(e){this.$emit("input",e)}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v(e._s(e.label))]),e._v(" "),t("p",{staticClass:"control"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.innerValue,expression:"innerValue"}],class:{input:"true","is-danger":e.hasError},attrs:{type:"text",placeholder:"Enter an email"},domProps:{value:e.innerValue},on:{input:function(a){a.target.composing||(e.innerValue=a.target.value)}}})])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("custom-input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],attrs:{"data-vv-value-path":"innerValue","data-vv-name":"custom",label:"Email","has-error":e.errors.has("custom")}}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("custom"),expression:"errors.has('custom')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("custom")))]),e._v(" "),t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.validate}},[e._v("Validate All")])],1)])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){var r=t(234);"string"==typeof r&&(r=[[e.i,r,""]]);var s={};s.transform=void 0,t(200)(r,s),r.locals&&(e.exports=r.locals)},function(e,a,t){a=e.exports=t(199)(void 0),a.push([e.i,".discounted{text-decoration:line-through}.SeemsGood{color:#41b883}",""])},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(1);a.default={name:"coupon-example",data:function(){return{coupon:"",price:100,discounted:!1}},computed:{discountedPrice:function(){return this.discounted?this.price-.2*this.price:this.price}},methods:{applyCoupon:function(){var e=this;this.$validator.validate("coupon",this.coupon).then(function(a){e.discounted=a})}},created:function(){r.Validator.extend("verify_coupon",{getMessage:function(e){return"The "+e+" is not a valid coupon."},validate:function(e){return new Promise(function(a){var t=["SUMMER2016","WINTER2016","FALL2016"];setTimeout(function(){a({valid:e&&-1!==t.indexOf(e.toUpperCase())})},500)})}}),this.$validator.attach("coupon","required|verify_coupon")}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("span",{class:{discounted:e.discounted}},[e._v("Price: "+e._s(e.price)+"$")]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.discounted,expression:"discounted"}],staticClass:"SeemsGood"},[e._v(e._s(e.discountedPrice)+"$")])]),e._v(" "),t("form",{staticClass:"column is-12",on:{submit:function(a){a.preventDefault(),e.applyCoupon(a)}}},[t("label",{staticClass:"label"},[e._v("Coupon")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.coupon,expression:"coupon"}],class:{input:!0,"is-danger":e.errors.has("coupon")},attrs:{name:"coupon",type:"text",placeholder:"Enter Your Coupon"},domProps:{value:e.coupon},on:{input:function(a){a.target.composing||(e.coupon=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("coupon"),expression:"errors.has('coupon')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("coupon"),expression:"errors.has('coupon')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("coupon")))])]),e._v(" "),e._m(0)])])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Apply")])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"data-example",data:function(){return{email:"",first_name:"",last_name:""}},computed:{name:function(){return this.first_name+" "+this.last_name}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"},{name:"validate",rawName:"v-validate.initial",value:"required|email",expression:"'required|email'",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("First Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.first_name,expression:"first_name"},{name:"validate",rawName:"v-validate.initial",value:"required|alpha",expression:"'required|alpha'",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("first_name")},attrs:{name:"first_name",type:"text",placeholder:"First Name"},domProps:{value:e.first_name},on:{input:function(a){a.target.composing||(e.first_name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("first_name"),expression:"errors.has('first_name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("first_name"),expression:"errors.has('first_name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("first_name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Last Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.last_name,expression:"last_name"},{name:"validate",rawName:"v-validate.initial",value:"required|alpha",expression:"'required|alpha'",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("last_name")},attrs:{name:"last_name",type:"text",placeholder:"Last Name"},domProps:{value:e.last_name},on:{input:function(a){a.target.composing||(e.last_name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("last_name"),expression:"errors.has('last_name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("last_name"),expression:"errors.has('last_name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("last_name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Full Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate:name.initial",value:"required|alpha_spaces",expression:"'required|alpha_spaces'",arg:"name",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Full Name"},domProps:{value:e.name}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"delay-example"}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email (1s delay)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email","data-vv-delay":"1000",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name (0.5s delay)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name","data-vv-delay":"500",type:"text",placeholder:"Name"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(219),s=function(e){return e&&e.__esModule?e:{default:e}}(r);a.default={name:"child-component",methods:{onValidate:function(){this.$validator.validateAll()},onClear:function(){this.errors.clear()}},created:function(){var e=this;s.default.$on("validate",this.onValidate),s.default.$on("clear",this.onClear),this.$watch(function(){return e.errors.errors},function(e){s.default.$emit("errors-changed",e)})},beforeDestroy:function(){s.default.$off("validate",this.onValidate),s.default.$off("clear",this.onClear)}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Name"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0});var s=t(219),i=r(s),n=t(201),o=r(n);a.default={name:"event-bus-example",components:{ChildComponent:o.default},methods:{validateChild:function(){i.default.$emit("validate")},clearChild:function(){i.default.$emit("clear")}},created:function(){var e=this;i.default.$on("errors-changed",function(a){e.errors.clear(),a.forEach(function(a){e.errors.add(a.field,a.msg,a.rule,a.scope)})})}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("child-component"),e._v(" "),t("div",{staticClass:"column is-12"},[t("button",{staticClass:"button is-info",attrs:{type:"button"},on:{click:e.validateChild}},[e._v("Validate Child")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button"},on:{click:e.clearChild}},[e._v("Clear Child Errors")])])],1)},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"reject-example"}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Image (Doesn't Reject)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"mimes:image/*",expression:"'mimes:image/*'"}],class:{"is-danger":e.errors.has("image")},attrs:{name:"image",type:"file"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("image"),expression:"errors.has('image')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("image"),expression:"errors.has('image')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("image")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Image (Rejects)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate.reject",value:"mimes:image/*",expression:"'mimes:image/*'",modifiers:{reject:!0}}],class:{"is-danger":e.errors.has("file")},attrs:{name:"file",type:"file"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("file"),expression:"errors.has('file')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("file"),expression:"errors.has('file')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("file")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},s=t(1);a.default={name:"flags-example",data:function(){return{email:""}},computed:r({},(0,s.mapFields)({nameFlags:"name"}))}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0},attrs:{name:"name",type:"text",placeholder:"Name"}})]),e._v(" "),t("pre",[e._v(e._s(e.nameFlags))])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"form-example",data:function(){return{email:"",name:"",phone:"",url:""}},methods:{validateBeforeSubmit:function(){this.$validator.validateAll().then(function(e){if(e)return void alert("From Submitted!");alert("Correct them errors!")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("form",{on:{submit:function(a){a.preventDefault(),e.validateBeforeSubmit(a)}}},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"},{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"},{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Name"},domProps:{value:e.name},on:{input:function(a){a.target.composing||(e.name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Phone")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.phone,expression:"phone"},{name:"validate",rawName:"v-validate",value:"required|numeric",expression:"'required|numeric'"}],class:{input:!0,"is-danger":e.errors.has("phone")},attrs:{name:"phone",type:"text",placeholder:"Phone"},domProps:{value:e.phone},on:{input:function(a){a.target.composing||(e.phone=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("phone")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Website")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"},{name:"validate",rawName:"v-validate",value:"required|url",expression:"'required|url'"}],class:{input:!0,"is-danger":e.errors.has("url")},attrs:{name:"url",type:"text",placeholder:"Website"},domProps:{value:e.url},on:{input:function(a){a.target.composing||(e.url=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("url"),expression:"errors.has('url')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("url"),expression:"errors.has('url')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("url")))])])]),e._v(" "),e._m(0)])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit"}},[e._v("Submit")])])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(252),s=function(e){return e&&e.__esModule?e:{default:e}}(r);a.default={name:"locale-example",data:function(){return{email:"",phone:"",locale:"en"}},computed:{nextLocale:function(){return"en"===this.locale?"Arabic":"English"}},methods:{changeLocale:function(){this.locale="ar"===this.$validator.locale?"en":"ar",this.$validator.localize(this.locale)}},created:function(){this.$validator.localize("ar",{messages:s.default.messages,attributes:{email:"البريد الاليكتروني",phone:"رقم الهاتف"}}),this.$validator.localize("en")}}},function(e,a,t){!function(a,t){e.exports=function(){"use strict";var e=function(e){var a=["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"],t=0==(e=1024*Number(e))?0:Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+a[t]},a=function(a){var t={Byte:"بايت",KB:"كيلوبايت",GB:"جيجابايت",PB:"بيتابايت"};return e(a).replace(/(Byte|KB|GB|PB)/,function(e){return t[e]})},t={name:"ar",messages:{_default:function(e){return"قيمة الحقل "+e+" غير صحيحة."},after:function(e,a){return e+" يجب ان يكون بعد "+a[0]+"."},alpha_dash:function(e){return e+" قد يحتوي على حروف او الرموز - و _."},alpha_num:function(e){return e+" قد يحتوي فقط على حروف وارقام."},alpha_spaces:function(e){return e+" قد يحتوي فقط على حروف ومسافات."},alpha:function(e){return e+" يجب ان يحتوي على حروف فقط."},before:function(e,a){return e+" يجب ان يكون قبل "+a[0]+"."},between:function(e,a){return"قيمة "+e+" يجب ان تكون ما بين "+a[0]+" و "+a[1]+"."},confirmed:function(e){return e+" لا يماثل التأكيد."},credit_card:function(e){return"الحقل "+e+" غير صحيح."},date_between:function(e,a){return e+" يجب ان يكون ما بين "+a[0]+" و "+a[1]+"."},date_format:function(e,a){return e+" يجب ان يكون على هيئة "+a[0]+"."},decimal:function(e,a){void 0===a&&(a=["*"]);var t=a[0];return e+" يجب ان يكون قيمة رقمية وقد يحتوي على "+("*"===t?"":t)+" ارقام عشرية."},digits:function(e,a){return e+" يجب ان تحتوي فقط على ارقام والا يزيد عددها عن "+a[0]+" رقم."},dimensions:function(e,a){return e+" يجب ان تكون بمقاس "+a[0]+" بكسل في "+a[1]+" بكسل."},email:function(e){return e+" يجب ان يكون بريدا اليكتروني صحيح."},ext:function(e){return"نوع ملف "+e+" غير صحيح."},image:function(e){return e+" يجب ان تكون صورة."},in:function(e){return"الحقل "+e+" يجب ان يكون قيمة صحيحة."},integer:function(e){return"الحقل "+e+" يجب ان يكون عدداً صحيحاً"},ip:function(e){return e+" يجب ان يكون ip صحيح."},length:function(e,a){var t=a[0],r=a[1];return r?"طول الحقل "+e+" يجب ان يكون ما بين "+t+" و "+r+".":"طول الحقل "+e+" يجب ان يكون "+t+"."},max:function(e,a){return"الحقل "+e+" يجب ان يحتوي على "+a[0]+" حروف على الأكثر."},max_value:function(e,a){return"قيمة الحقل "+e+" يجب ان تكون اصغر من "+a[0]+" او تساويها."},mimes:function(e){return"نوع ملف "+e+" غير صحيح."},min:function(e,a){return"الحقل "+e+" يجب ان يحتوي على "+a[0]+" حروف على الأقل."},min_value:function(e,a){return"قيمة الحقل "+e+" يجب ان تكون اكبر من "+a[0]+" او تساويها."},not_in:function(e){return"الحقل "+e+" غير صحيح."},numeric:function(e){return e+" يمكن ان يحتوي فقط على ارقام."},regex:function(e){return"الحقل "+e+" غير صحيح."},required:function(e){return e+" مطلوب."},size:function(e,t){var r=t[0];return e+" يجب ان يكون اقل من "+a(r)+"."},url:function(e){return"الحقل "+e+" يجب ان يكون رابطاً صحيحاً."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.addLocale(t),t}()}()},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-rtl is-multiline"},[t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.changeLocale}},[e._v("Change Locale To "+e._s(e.nextLocale))]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("البريد الاليكتروني (Email)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-left"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger has-text-right"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("رقم الهاتف (Phone)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-left"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|numeric",expression:"'required|numeric'"}],class:{input:!0,"is-danger":e.errors.has("phone")},attrs:{name:"phone",type:"text",placeholder:"Phone"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"help is-danger has-text-right"},[e._v(e._s(e.errors.first("phone")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"radio-buttons-example",data:function(){return{radio_group_2:""}},methods:{validateForm:function(){this.$validator.validateAll().then(function(e){if(e)return void alert("All Passes!");alert("Oh NO!")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("form",{on:{submit:function(a){a.preventDefault(),e.validateForm(a)}}},[t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-6"},[t("legend",{class:{error:e.errors.has("radio_group_1")}},[e._v("Radio Group 1")]),e._v(" "),t("p",{staticClass:"control"},[t("label",{staticClass:"radio"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|in:1,2",expression:"'required|in:1,2'"}],attrs:{name:"radio_group_1",value:"1",type:"radio"}}),e._v("\n                    Option 1\n                ")]),e._v(" "),e._m(0),e._v(" "),e._m(1)]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("radio_group_1"),expression:"errors.has('radio_group_1')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("radio_group_1")))])]),e._v(" "),t("div",{staticClass:"column is-6"},[t("legend",{class:{error:e.errors.has("radio_group_2")}},[e._v("Radio Group 2 (Bound)")]),e._v(" "),t("p",{staticClass:"control"},[t("label",{staticClass:"radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.radio_group_2,expression:"radio_group_2"},{name:"validate",rawName:"v-validate",value:{rules:"required|in:1,2",arg:"radio_group_2"},expression:"{ rules: 'required|in:1,2', arg: 'radio_group_2' }"}],attrs:{name:"radio_group_2",value:"1",type:"radio"},domProps:{checked:e._q(e.radio_group_2,"1")},on:{__c:function(a){e.radio_group_2="1"}}}),e._v("\n                    Option 1\n                ")]),e._v(" "),t("label",{staticClass:"radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.radio_group_2,expression:"radio_group_2"}],attrs:{name:"radio_group_2",value:"2",type:"radio"},domProps:{checked:e._q(e.radio_group_2,"2")},on:{__c:function(a){e.radio_group_2="2"}}}),e._v("\n                    Option 2\n                ")]),e._v(" "),t("label",{staticClass:"radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.radio_group_2,expression:"radio_group_2"}],attrs:{name:"radio_group_2",value:"3",type:"radio"},domProps:{checked:e._q(e.radio_group_2,"3")},on:{__c:function(a){e.radio_group_2="3"}}}),e._v("\n                    Option 3\n                ")])]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("radio_group_2"),expression:"errors.has('radio_group_2')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("radio_group_2")))])])]),e._v(" "),e._m(2)])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",{staticClass:"radio"},[t("input",{attrs:{name:"radio_group_1",value:"2",type:"radio"}}),e._v("\n                    Option 2\n                ")])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",{staticClass:"radio"},[t("input",{attrs:{name:"radio_group_1",value:"3",type:"radio"}}),e._v("\n                    Option 3\n                ")])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Apply")])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"scopes-example",methods:{validateForm:function(e){this.$validator.validateAll(e).then(function(e){e&&alert("Form Submitted!")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("form",{staticClass:"columns column is-multiline is-12",attrs:{"data-vv-scope":"form-1"},on:{submit:function(a){a.preventDefault(),e.validateForm("form-1")}}},[t("legend",[e._v("Form 1")]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("form-1.email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.email"),expression:"errors.has('form-1.email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.email"),expression:"errors.has('form-1.email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-1.email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Password")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:6",expression:"'required|min:6'"}],class:{input:!0,"is-danger":e.errors.has("form-1.password")},attrs:{name:"password",type:"password",placeholder:"Password"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.password"),expression:"errors.has('form-1.password')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.password"),expression:"errors.has('form-1.password')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-1.password")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Sign up")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button",name:"button"},on:{click:function(a){e.errors.clear("form-1")}}},[e._v("Clear")])])])]),e._v(" "),t("form",{staticClass:"columns column is-multiline is-12",attrs:{"data-vv-scope":"form-2"},on:{submit:function(a){a.preventDefault(),e.validateForm("form-2")}}},[t("legend",[e._v("Form 2")]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("form-2.email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.email"),expression:"errors.has('form-2.email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.email"),expression:"errors.has('form-2.email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-2.email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Password")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:6",expression:"'required|min:6'"}],class:{input:!0,"is-danger":e.errors.has("form-2.password")},attrs:{name:"password",type:"password",placeholder:"Password"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.password"),expression:"errors.has('form-2.password')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.password"),expression:"errors.has('form-2.password')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-2.password")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Sign up")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button",name:"button"},on:{click:function(a){e.errors.clear("form-2")}}},[e._v("Clear")])])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"selectors-example",data:function(){return{selector:""}},computed:{selectedError:function(){return this.selector?this.errors.first(this.selector)||"None Found":"You did not select any error"}},created:function(){this.errors.add("email","Newsletter Email is not valid","email","newsletter"),this.errors.add("email","Newsletter Email is required","required","newsletter"),this.errors.add("email","Email is not a valid email","email"),this.errors.add("name","name is required","required")}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Type the selector")]),e._v(" "),t("p",{staticClass:"control"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selector,expression:"selector"}],staticClass:"input",attrs:{type:"text",placeholder:"Rule Name"},domProps:{value:e.selector},on:{input:function(a){a.target.composing||(e.selector=a.target.value)}}})])]),e._v(" "),t("div",{staticClass:"column is-12"},[e._m(0),e._v(" "),t("p",[e._v("\n            "+e._s(e.selectedError)+"\n        ")])]),e._v(" "),t("div",{staticClass:"column is-12"},[e._m(1),e._v(" "),t("pre",[e._v(e._s(e.errors))])])])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",[t("b",[e._v("Selected Error")])])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",[t("b",[e._v("Available Errors:")])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(1);a.default={name:"validator-example",validator:null,data:function(){return{email:"",name:"",errors:null}},watch:{email:function(e){this.validator.validate("email",e)},name:function(e){this.validator.validate("name",e)}},methods:{validateForm:function(){this.validator.validateAll({email:this.email,name:this.name}).then(function(e){if(e)return void console.log("All is well");console.log("Oops!")})},clearErrors:function(){this.errors.clear()}},created:function(){this.validator=new r.Validator({email:"required|email",name:"required|alpha|min:3"}),this.$set(this,"errors",this.validator.errors)}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Name"},domProps:{value:e.name},on:{input:function(a){a.target.composing||(e.name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"button",name:"button"},on:{click:e.validateForm}},[e._v("Validate All")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button",name:"button"},on:{click:e.clearErrors}},[e._v("Clear")])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i}]));
\ No newline at end of file
+webpackJsonp([0],Array(201).concat([function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(241),s=t.n(r),i=t(242),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(220),s=t.n(r),i=t(221),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(222),s=t.n(r),i=t(223),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";function r(e){t(224)}Object.defineProperty(a,"__esModule",{value:!0});var s=t(226),i=t.n(s),n=t(227),o=t(0),l=r,u=o(i.a,n.a,l,null,null);a.default=u.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(228),s=t.n(r),i=t(232),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";function r(e){t(233)}Object.defineProperty(a,"__esModule",{value:!0});var s=t(235),i=t.n(s),n=t(236),o=t(0),l=r,u=o(i.a,n.a,l,null,null);a.default=u.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(237),s=t.n(r),i=t(238),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(239),s=t.n(r),i=t(240),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(243),s=t.n(r),i=t(244),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(245),s=t.n(r),i=t(246),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(247),s=t.n(r),i=t(248),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(249),s=t.n(r),i=t(250),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(251),s=t.n(r),i=t(253),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(254),s=t.n(r),i=t(255),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(256),s=t.n(r),i=t(257),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(258),s=t.n(r),i=t(259),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(260),s=t.n(r),i=t(261),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a){!function(e){"use strict";function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var a={next:function(){var a=e.shift();return{done:void 0===a,value:a}}};return _.iterable&&(a[Symbol.iterator]=function(){return a}),a}function s(e){this.map={},e instanceof s?e.forEach(function(e,a){this.append(a,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(a){this.append(a,e[a])},this)}function i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function n(e){return new Promise(function(a,t){e.onload=function(){a(e.result)},e.onerror=function(){t(e.error)}})}function o(e){var a=new FileReader,t=n(a);return a.readAsArrayBuffer(e),t}function l(e){var a=new FileReader,t=n(a);return a.readAsText(e),t}function u(e){for(var a=new Uint8Array(e),t=new Array(a.length),r=0;r<a.length;r++)t[r]=String.fromCharCode(a[r]);return t.join("")}function c(e){if(e.slice)return e.slice(0);var a=new Uint8Array(e.byteLength);return a.set(new Uint8Array(e)),a.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(_.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(_.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(_.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(_.arrayBuffer&&_.blob&&b(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!_.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!y(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):_.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(o)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(e){var a=e.toUpperCase();return g.indexOf(a)>-1?a:e}function v(e,a){a=a||{};var t=a.body;if(e instanceof v){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,a.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,t||null==e._bodyInit||(t=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=a.credentials||this.credentials||"omit",!a.headers&&this.headers||(this.headers=new s(a.headers)),this.method=m(a.method||this.method||"GET"),this.mode=a.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&t)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(t)}function p(e){var a=new FormData;return e.trim().split("&").forEach(function(e){if(e){var t=e.split("="),r=t.shift().replace(/\+/g," "),s=t.join("=").replace(/\+/g," ");a.append(decodeURIComponent(r),decodeURIComponent(s))}}),a}function h(e){var a=new s;return e.split(/\r?\n/).forEach(function(e){var t=e.split(":"),r=t.shift().trim();if(r){var s=t.join(":").trim();a.append(r,s)}}),a}function f(e,a){a||(a={}),this.type="default",this.status="status"in a?a.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in a?a.statusText:"OK",this.headers=new s(a.headers),this.url=a.url||"",this._initBody(e)}if(!e.fetch){var _={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(_.arrayBuffer)var w=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},y=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};s.prototype.append=function(e,r){e=a(e),r=t(r);var s=this.map[e];this.map[e]=s?s+","+r:r},s.prototype.delete=function(e){delete this.map[a(e)]},s.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},s.prototype.set=function(e,r){this.map[a(e)]=t(r)},s.prototype.forEach=function(e,a){for(var t in this.map)this.map.hasOwnProperty(t)&&e.call(a,this.map[t],t,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(a,t){e.push(t)}),r(e)},s.prototype.values=function(){var e=[];return this.forEach(function(a){e.push(a)}),r(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(a,t){e.push([t,a])}),r(e)},_.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},d.call(v.prototype),d.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];f.redirect=function(e,a){if(-1===C.indexOf(a))throw new RangeError("Invalid status code");return new f(null,{status:a,headers:{location:e}})},e.Headers=s,e.Request=v,e.Response=f,e.fetch=function(e,a){return new Promise(function(t,r){var s=new v(e,a),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:h(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;t(new f(a,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(s.method,s.url,!0),"include"===s.credentials&&(i.withCredentials=!0),"responseType"in i&&_.blob&&(i.responseType="blob"),s.headers.forEach(function(e,a){i.setRequestHeader(a,e)}),i.send(void 0===s._bodyInit?null:s._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(2),s=function(e){return e&&e.__esModule?e:{default:e}}(r),i=new s.default;a.default=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(1);a.default={name:"backend-example",data:function(){return{emailsDB:[],email:null}},created:function(){var e=this,a=function(a){return new Promise(function(t){setTimeout(function(){return t(-1===e.emailsDB.indexOf(a)?{valid:!0}:{valid:!1,data:{message:a+" is already taken."}})},200)})};r.Validator.extend("unique",{validate:a,getMessage:function(e,a,t){return t.message}})},methods:{submit:function(){var e=this;this.emailsDB.push(this.email),this.email="",this.$nextTick().then(function(){e.$validator.reset()})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"},{name:"validate",rawName:"v-validate",value:"required|email|unique",expression:"'required|email|unique'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.submit}},[e._v("Submit")])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"basic-example"}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label",attrs:{for:"email"}},[e._v("Email")]),e._v(" "),t("p",{class:{control:!0}},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){var r=t(225);"string"==typeof r&&(r=[[e.i,r,""]]);var s={};s.transform=void 0,t(200)(r,s),r.locals&&(e.exports=r.locals)},function(e,a,t){a=e.exports=t(199)(void 0),a.push([e.i,".terms{background-color:#e6e6e6;overflow:auto;height:200px;width:100%;margin-bottom:20px}",""])},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"checkbox-example",data:function(){return{terms:"Lorem ipsum dolor sit amet, consectetur adipisicing elit ".repeat(20)}},methods:{nextStep:function(){this.$validator.validateAll().then(function(e){if(e)return void alert("You just agreed to conditions without reading it.");alert("You actually did not agree?")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("div",{staticClass:"terms"},[t("p",[e._v("\n            "+e._s(e.terms)+"\n        ")])]),e._v(" "),t("div",[t("p",{staticClass:"control"},[t("label",{staticClass:"checkbox"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{name:"terms",type:"checkbox"}}),e._v("\n                I agree to the terms and conditions.\n            ")]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("terms"),expression:"errors.has('terms')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("terms")))])])]),e._v(" "),t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.nextStep}},[e._v("Next")])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(229),s=function(e){return e&&e.__esModule?e:{default:e}}(r);a.default={name:"component-example",components:{CustomInput:s.default},methods:{validate:function(){this.$validator.validateAll().then(function(e){alert("Validation Result: "+e)})}}}},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(230),s=t.n(r),i=t(231),n=t(0),o=n(s.a,i.a,null,null,null);a.default=o.exports},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={props:{label:String,hasError:Boolean},data:function(){return{innerValue:null}},watch:{innerValue:function(e){this.$emit("input",e)}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v(e._s(e.label))]),e._v(" "),t("p",{staticClass:"control"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.innerValue,expression:"innerValue"}],class:{input:"true","is-danger":e.hasError},attrs:{type:"text",placeholder:"Enter an email"},domProps:{value:e.innerValue},on:{input:function(a){a.target.composing||(e.innerValue=a.target.value)}}})])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("custom-input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],attrs:{"data-vv-value-path":"innerValue","data-vv-name":"custom",label:"Email","has-error":e.errors.has("custom")}}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("custom"),expression:"errors.has('custom')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("custom")))]),e._v(" "),t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.validate}},[e._v("Validate All")])],1)])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){var r=t(234);"string"==typeof r&&(r=[[e.i,r,""]]);var s={};s.transform=void 0,t(200)(r,s),r.locals&&(e.exports=r.locals)},function(e,a,t){a=e.exports=t(199)(void 0),a.push([e.i,".discounted{text-decoration:line-through}.SeemsGood{color:#41b883}",""])},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(1);a.default={name:"coupon-example",data:function(){return{coupon:"",price:100,discounted:!1}},computed:{discountedPrice:function(){return this.discounted?this.price-.2*this.price:this.price}},methods:{applyCoupon:function(){var e=this;this.$validator.validate("coupon",this.coupon).then(function(a){e.discounted=a})}},created:function(){r.Validator.extend("verify_coupon",{getMessage:function(e){return"The "+e+" is not a valid coupon."},validate:function(e){return new Promise(function(a){var t=["SUMMER2016","WINTER2016","FALL2016"];setTimeout(function(){a({valid:e&&-1!==t.indexOf(e.toUpperCase())})},500)})}}),this.$validator.attach("coupon","required|verify_coupon")}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("span",{class:{discounted:e.discounted}},[e._v("Price: "+e._s(e.price)+"$")]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.discounted,expression:"discounted"}],staticClass:"SeemsGood"},[e._v(e._s(e.discountedPrice)+"$")])]),e._v(" "),t("form",{staticClass:"column is-12",on:{submit:function(a){a.preventDefault(),e.applyCoupon(a)}}},[t("label",{staticClass:"label"},[e._v("Coupon")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.coupon,expression:"coupon"}],class:{input:!0,"is-danger":e.errors.has("coupon")},attrs:{name:"coupon",type:"text",placeholder:"Enter Your Coupon"},domProps:{value:e.coupon},on:{input:function(a){a.target.composing||(e.coupon=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("coupon"),expression:"errors.has('coupon')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("coupon"),expression:"errors.has('coupon')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("coupon")))])]),e._v(" "),e._m(0)])])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Apply")])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"data-example",data:function(){return{email:"",first_name:"",last_name:""}},computed:{name:function(){return this.first_name+" "+this.last_name}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"},{name:"validate",rawName:"v-validate.initial",value:"required|email",expression:"'required|email'",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("First Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.first_name,expression:"first_name"},{name:"validate",rawName:"v-validate.initial",value:"required|alpha",expression:"'required|alpha'",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("first_name")},attrs:{name:"first_name",type:"text",placeholder:"First Name"},domProps:{value:e.first_name},on:{input:function(a){a.target.composing||(e.first_name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("first_name"),expression:"errors.has('first_name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("first_name"),expression:"errors.has('first_name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("first_name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Last Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.last_name,expression:"last_name"},{name:"validate",rawName:"v-validate.initial",value:"required|alpha",expression:"'required|alpha'",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("last_name")},attrs:{name:"last_name",type:"text",placeholder:"Last Name"},domProps:{value:e.last_name},on:{input:function(a){a.target.composing||(e.last_name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("last_name"),expression:"errors.has('last_name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("last_name"),expression:"errors.has('last_name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("last_name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Full Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate:name.initial",value:"required|alpha_spaces",expression:"'required|alpha_spaces'",arg:"name",modifiers:{initial:!0}}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Full Name"},domProps:{value:e.name}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"delay-example"}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email (1s delay)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email","data-vv-delay":"1000",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name (0.5s delay)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name","data-vv-delay":"500",type:"text",placeholder:"Name"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(219),s=function(e){return e&&e.__esModule?e:{default:e}}(r);a.default={name:"child-component",methods:{onValidate:function(){this.$validator.validateAll()},onClear:function(){this.errors.clear()}},created:function(){var e=this;s.default.$on("validate",this.onValidate),s.default.$on("clear",this.onClear),this.$watch(function(){return e.errors.errors},function(e){s.default.$emit("errors-changed",e)})},beforeDestroy:function(){s.default.$off("validate",this.onValidate),s.default.$off("clear",this.onClear)}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Name"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0});var s=t(219),i=r(s),n=t(201),o=r(n);a.default={name:"event-bus-example",components:{ChildComponent:o.default},methods:{validateChild:function(){i.default.$emit("validate")},clearChild:function(){i.default.$emit("clear")}},created:function(){var e=this;i.default.$on("errors-changed",function(a){e.errors.clear(),a.forEach(function(a){e.errors.add(a.field,a.msg,a.rule,a.scope)})})}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("child-component"),e._v(" "),t("div",{staticClass:"column is-12"},[t("button",{staticClass:"button is-info",attrs:{type:"button"},on:{click:e.validateChild}},[e._v("Validate Child")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button"},on:{click:e.clearChild}},[e._v("Clear Child Errors")])])],1)},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"reject-example"}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Image (Doesn't Reject)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"mimes:image/*",expression:"'mimes:image/*'"}],class:{"is-danger":e.errors.has("image")},attrs:{name:"image",type:"file"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("image"),expression:"errors.has('image')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("image"),expression:"errors.has('image')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("image")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Image (Rejects)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate.reject",value:"mimes:image/*",expression:"'mimes:image/*'",modifiers:{reject:!0}}],class:{"is-danger":e.errors.has("file")},attrs:{name:"file",type:"file"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("file"),expression:"errors.has('file')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("file"),expression:"errors.has('file')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("file")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},s=t(1);a.default={name:"flags-example",data:function(){return{email:""}},computed:r({},(0,s.mapFields)({nameFlags:"name"}))}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0},attrs:{name:"name",type:"text",placeholder:"Name"}})]),e._v(" "),t("pre",[e._v(e._s(e.nameFlags))])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"form-example",data:function(){return{email:"",name:"",phone:"",url:""}},methods:{validateBeforeSubmit:function(){this.$validator.validateAll().then(function(e){if(e)return void alert("From Submitted!");alert("Correct them errors!")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("form",{on:{submit:function(a){a.preventDefault(),e.validateBeforeSubmit(a)}}},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"},{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"},{name:"validate",rawName:"v-validate",value:"required|alpha",expression:"'required|alpha'"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Name"},domProps:{value:e.name},on:{input:function(a){a.target.composing||(e.name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Phone")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.phone,expression:"phone"},{name:"validate",rawName:"v-validate",value:"required|numeric",expression:"'required|numeric'"}],class:{input:!0,"is-danger":e.errors.has("phone")},attrs:{name:"phone",type:"text",placeholder:"Phone"},domProps:{value:e.phone},on:{input:function(a){a.target.composing||(e.phone=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("phone")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Website")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"},{name:"validate",rawName:"v-validate",value:"required|url",expression:"'required|url'"}],class:{input:!0,"is-danger":e.errors.has("url")},attrs:{name:"url",type:"text",placeholder:"Website"},domProps:{value:e.url},on:{input:function(a){a.target.composing||(e.url=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("url"),expression:"errors.has('url')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("url"),expression:"errors.has('url')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("url")))])])]),e._v(" "),e._m(0)])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit"}},[e._v("Submit")])])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(252),s=function(e){return e&&e.__esModule?e:{default:e}}(r);a.default={name:"locale-example",data:function(){return{email:"",phone:"",locale:"en"}},computed:{nextLocale:function(){return"en"===this.locale?"Arabic":"English"}},methods:{changeLocale:function(){this.locale="ar"===this.$validator.locale?"en":"ar",this.$validator.localize(this.locale)}},created:function(){this.$validator.localize("ar",{messages:s.default.messages,attributes:{email:"البريد الاليكتروني",phone:"رقم الهاتف"}})}}},function(e,a,t){!function(a,t){e.exports=function(){"use strict";var e=function(e){var a=["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"],t=0==(e=1024*Number(e))?0:Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+a[t]},a=function(a){var t={Byte:"بايت",KB:"كيلوبايت",GB:"جيجابايت",PB:"بيتابايت"};return e(a).replace(/(Byte|KB|GB|PB)/,function(e){return t[e]})},t={name:"ar",messages:{_default:function(e){return"قيمة الحقل "+e+" غير صحيحة."},after:function(e,a){return e+" يجب ان يكون بعد "+a[0]+"."},alpha_dash:function(e){return e+" قد يحتوي على حروف او الرموز - و _."},alpha_num:function(e){return e+" قد يحتوي فقط على حروف وارقام."},alpha_spaces:function(e){return e+" قد يحتوي فقط على حروف ومسافات."},alpha:function(e){return e+" يجب ان يحتوي على حروف فقط."},before:function(e,a){return e+" يجب ان يكون قبل "+a[0]+"."},between:function(e,a){return"قيمة "+e+" يجب ان تكون ما بين "+a[0]+" و "+a[1]+"."},confirmed:function(e){return e+" لا يماثل التأكيد."},credit_card:function(e){return"الحقل "+e+" غير صحيح."},date_between:function(e,a){return e+" يجب ان يكون ما بين "+a[0]+" و "+a[1]+"."},date_format:function(e,a){return e+" يجب ان يكون على هيئة "+a[0]+"."},decimal:function(e,a){void 0===a&&(a=["*"]);var t=a[0];return e+" يجب ان يكون قيمة رقمية وقد يحتوي على "+("*"===t?"":t)+" ارقام عشرية."},digits:function(e,a){return e+" يجب ان تحتوي فقط على ارقام والا يزيد عددها عن "+a[0]+" رقم."},dimensions:function(e,a){return e+" يجب ان تكون بمقاس "+a[0]+" بكسل في "+a[1]+" بكسل."},email:function(e){return e+" يجب ان يكون بريدا اليكتروني صحيح."},ext:function(e){return"نوع ملف "+e+" غير صحيح."},image:function(e){return e+" يجب ان تكون صورة."},in:function(e){return"الحقل "+e+" يجب ان يكون قيمة صحيحة."},integer:function(e){return"الحقل "+e+" يجب ان يكون عدداً صحيحاً"},ip:function(e){return e+" يجب ان يكون ip صحيح."},length:function(e,a){var t=a[0],r=a[1];return r?"طول الحقل "+e+" يجب ان يكون ما بين "+t+" و "+r+".":"طول الحقل "+e+" يجب ان يكون "+t+"."},max:function(e,a){return"الحقل "+e+" يجب ان يحتوي على "+a[0]+" حروف على الأكثر."},max_value:function(e,a){return"قيمة الحقل "+e+" يجب ان تكون اصغر من "+a[0]+" او تساويها."},mimes:function(e){return"نوع ملف "+e+" غير صحيح."},min:function(e,a){return"الحقل "+e+" يجب ان يحتوي على "+a[0]+" حروف على الأقل."},min_value:function(e,a){return"قيمة الحقل "+e+" يجب ان تكون اكبر من "+a[0]+" او تساويها."},not_in:function(e){return"الحقل "+e+" غير صحيح."},numeric:function(e){return e+" يمكن ان يحتوي فقط على ارقام."},regex:function(e){return"الحقل "+e+" غير صحيح."},required:function(e){return e+" مطلوب."},size:function(e,t){var r=t[0];return e+" يجب ان يكون اقل من "+a(r)+"."},url:function(e){return"الحقل "+e+" يجب ان يكون رابطاً صحيحاً."}},attributes:{}};return"undefined"!=typeof VeeValidate&&VeeValidate.Validator.addLocale(t),t}()}()},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-rtl is-multiline"},[t("button",{staticClass:"button is-primary",attrs:{type:"button"},on:{click:e.changeLocale}},[e._v("Change Locale To "+e._s(e.nextLocale))]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("البريد الاليكتروني (Email)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-left"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger has-text-right"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("رقم الهاتف (Phone)")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-left"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|numeric",expression:"'required|numeric'"}],class:{input:!0,"is-danger":e.errors.has("phone")},attrs:{name:"phone",type:"text",placeholder:"Phone"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("phone"),expression:"errors.has('phone')"}],staticClass:"help is-danger has-text-right"},[e._v(e._s(e.errors.first("phone")))])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"radio-buttons-example",data:function(){return{radio_group_2:""}},methods:{validateForm:function(){this.$validator.validateAll().then(function(e){if(e)return void alert("All Passes!");alert("Oh NO!")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("form",{on:{submit:function(a){a.preventDefault(),e.validateForm(a)}}},[t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-6"},[t("legend",{class:{error:e.errors.has("radio_group_1")}},[e._v("Radio Group 1")]),e._v(" "),t("p",{staticClass:"control"},[t("label",{staticClass:"radio"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|in:1,2",expression:"'required|in:1,2'"}],attrs:{name:"radio_group_1",value:"1",type:"radio"}}),e._v("\n                    Option 1\n                ")]),e._v(" "),e._m(0),e._v(" "),e._m(1)]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("radio_group_1"),expression:"errors.has('radio_group_1')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("radio_group_1")))])]),e._v(" "),t("div",{staticClass:"column is-6"},[t("legend",{class:{error:e.errors.has("radio_group_2")}},[e._v("Radio Group 2 (Bound)")]),e._v(" "),t("p",{staticClass:"control"},[t("label",{staticClass:"radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.radio_group_2,expression:"radio_group_2"},{name:"validate",rawName:"v-validate",value:{rules:"required|in:1,2",arg:"radio_group_2"},expression:"{ rules: 'required|in:1,2', arg: 'radio_group_2' }"}],attrs:{name:"radio_group_2",value:"1",type:"radio"},domProps:{checked:e._q(e.radio_group_2,"1")},on:{__c:function(a){e.radio_group_2="1"}}}),e._v("\n                    Option 1\n                ")]),e._v(" "),t("label",{staticClass:"radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.radio_group_2,expression:"radio_group_2"}],attrs:{name:"radio_group_2",value:"2",type:"radio"},domProps:{checked:e._q(e.radio_group_2,"2")},on:{__c:function(a){e.radio_group_2="2"}}}),e._v("\n                    Option 2\n                ")]),e._v(" "),t("label",{staticClass:"radio"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.radio_group_2,expression:"radio_group_2"}],attrs:{name:"radio_group_2",value:"3",type:"radio"},domProps:{checked:e._q(e.radio_group_2,"3")},on:{__c:function(a){e.radio_group_2="3"}}}),e._v("\n                    Option 3\n                ")])]),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("radio_group_2"),expression:"errors.has('radio_group_2')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("radio_group_2")))])])]),e._v(" "),e._m(2)])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",{staticClass:"radio"},[t("input",{attrs:{name:"radio_group_1",value:"2",type:"radio"}}),e._v("\n                    Option 2\n                ")])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",{staticClass:"radio"},[t("input",{attrs:{name:"radio_group_1",value:"3",type:"radio"}}),e._v("\n                    Option 3\n                ")])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Apply")])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"scopes-example",methods:{validateForm:function(e){this.$validator.validateAll(e).then(function(e){e&&alert("Form Submitted!")})}}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("form",{staticClass:"columns column is-multiline is-12",attrs:{"data-vv-scope":"form-1"},on:{submit:function(a){a.preventDefault(),e.validateForm("form-1")}}},[t("legend",[e._v("Form 1")]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("form-1.email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.email"),expression:"errors.has('form-1.email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.email"),expression:"errors.has('form-1.email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-1.email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Password")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:6",expression:"'required|min:6'"}],class:{input:!0,"is-danger":e.errors.has("form-1.password")},attrs:{name:"password",type:"password",placeholder:"Password"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.password"),expression:"errors.has('form-1.password')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-1.password"),expression:"errors.has('form-1.password')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-1.password")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Sign up")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button",name:"button"},on:{click:function(a){e.errors.clear("form-1")}}},[e._v("Clear")])])])]),e._v(" "),t("form",{staticClass:"columns column is-multiline is-12",attrs:{"data-vv-scope":"form-2"},on:{submit:function(a){a.preventDefault(),e.validateForm("form-2")}}},[t("legend",[e._v("Form 2")]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],class:{input:!0,"is-danger":e.errors.has("form-2.email")},attrs:{name:"email",type:"text",placeholder:"Email"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.email"),expression:"errors.has('form-2.email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.email"),expression:"errors.has('form-2.email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-2.email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Password")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:6",expression:"'required|min:6'"}],class:{input:!0,"is-danger":e.errors.has("form-2.password")},attrs:{name:"password",type:"password",placeholder:"Password"}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.password"),expression:"errors.has('form-2.password')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("form-2.password"),expression:"errors.has('form-2.password')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("form-2.password")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"submit",name:"button"}},[e._v("Sign up")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button",name:"button"},on:{click:function(a){e.errors.clear("form-2")}}},[e._v("Clear")])])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"selectors-example",data:function(){return{selector:""}},computed:{selectedError:function(){return this.selector?this.errors.first(this.selector)||"None Found":"You did not select any error"}},created:function(){this.errors.add("email","Newsletter Email is not valid","email","newsletter"),this.errors.add("email","Newsletter Email is required","required","newsletter"),this.errors.add("email","Email is not a valid email","email"),this.errors.add("name","name is required","required")}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Type the selector")]),e._v(" "),t("p",{staticClass:"control"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selector,expression:"selector"}],staticClass:"input",attrs:{type:"text",placeholder:"Rule Name"},domProps:{value:e.selector},on:{input:function(a){a.target.composing||(e.selector=a.target.value)}}})])]),e._v(" "),t("div",{staticClass:"column is-12"},[e._m(0),e._v(" "),t("p",[e._v("\n            "+e._s(e.selectedError)+"\n        ")])]),e._v(" "),t("div",{staticClass:"column is-12"},[e._m(1),e._v(" "),t("pre",[e._v(e._s(e.errors))])])])},s=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",[t("b",[e._v("Selected Error")])])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("label",[t("b",[e._v("Available Errors:")])])}],i={render:r,staticRenderFns:s};a.a=i},function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r=t(1);a.default={name:"validator-example",validator:null,data:function(){return{email:"",name:"",errors:null}},watch:{email:function(e){this.validator.validate("email",e)},name:function(e){this.validator.validate("name",e)}},methods:{validateForm:function(){this.validator.validateAll({email:this.email,name:this.name}).then(function(e){if(e)return void console.log("All is well");console.log("Oops!")})},clearErrors:function(){this.errors.clear()}},created:function(){this.validator=new r.Validator({email:"required|email",name:"required|alpha|min:3"}),this.$set(this,"errors",this.validator.errors)}}},function(e,a,t){"use strict";var r=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"columns is-multiline"},[t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],class:{input:!0,"is-danger":e.errors.has("email")},attrs:{name:"email",type:"text",placeholder:"Email"},domProps:{value:e.email},on:{input:function(a){a.target.composing||(e.email=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("email"),expression:"errors.has('email')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("email")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),t("p",{staticClass:"control has-icon has-icon-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],class:{input:!0,"is-danger":e.errors.has("name")},attrs:{name:"name",type:"text",placeholder:"Name"},domProps:{value:e.name},on:{input:function(a){a.target.composing||(e.name=a.target.value)}}}),e._v(" "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"fa fa-warning"}),e._v(" "),t("span",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("name"),expression:"errors.has('name')"}],staticClass:"help is-danger"},[e._v(e._s(e.errors.first("name")))])])]),e._v(" "),t("div",{staticClass:"column is-12"},[t("p",{staticClass:"control"},[t("button",{staticClass:"button is-primary",attrs:{type:"button",name:"button"},on:{click:e.validateForm}},[e._v("Validate All")]),e._v(" "),t("button",{staticClass:"button is-danger",attrs:{type:"button",name:"button"},on:{click:e.clearErrors}},[e._v("Clear")])])])])},s=[],i={render:r,staticRenderFns:s};a.a=i}]));
\ No newline at end of file
diff --git a/docs/assets/js/bundle-80d381618c8ea8a97d06.js b/docs/assets/js/bundle-363136280b912218037d.js
similarity index 100%
rename from docs/assets/js/bundle-80d381618c8ea8a97d06.js
rename to docs/assets/js/bundle-363136280b912218037d.js
diff --git a/docs/assets/js/vendor-80d381618c8ea8a97d06.js b/docs/assets/js/vendor-363136280b912218037d.js
similarity index 99%
rename from docs/assets/js/vendor-80d381618c8ea8a97d06.js
rename to docs/assets/js/vendor-363136280b912218037d.js
index 60df00a2..25e51f5b 100644
--- a/docs/assets/js/vendor-80d381618c8ea8a97d06.js
+++ b/docs/assets/js/vendor-363136280b912218037d.js
@@ -1,4 +1,4 @@
-!function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var s,u,l,c=0,f=[];c<r.length;c++)u=r[c],i[u]&&f.push(i[u][0]),i[u]=0;for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s]);for(n&&n(r,a,o);f.length;)f.shift()();if(o)for(c=0;c<o.length;c++)l=t(t.s=o[c]);return l};var r={},i={2:0};t.e=function(e){function n(){s.onerror=s.onload=null,clearTimeout(u);var t=i[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),i[e]=void 0)}var r=i[e];if(0===r)return new Promise(function(e){e()});if(r)return r[2];var a=new Promise(function(t,n){r=i[e]=[t,n]});r[2]=a;var o=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,t.nc&&s.setAttribute("nonce",t.nc),s.src=t.p+"js/"+e+"-80d381618c8ea8a97d06.js";var u=setTimeout(n,12e4);return s.onerror=s.onload=n,o.appendChild(s),a},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/assets/",t.oe=function(e){throw console.error(e),e},t(t.s=198)}({1:function(e,t,n){"use strict";function r(e,t){if(void 0===t&&(t={}),je)return void se("already installed, Vue.use(VeeValidate) should only be called once.");je=e;var n=me({},Pe,t);n.dictionary&&Le.updateDictionary(n.dictionary),t&&(t.locale&&(Le.locale=t.locale),t.strict&&Le.setStrictMode(n.strict)),je.mixin(Ie(je,n)),je.directive("validate",Re(n))}function i(e,t){if(void 0===t&&(t={}),!ce(e))return se("The plugin must be a callable function");e({Validator:Le,ErrorBag:be,Rules:Le.rules},t)}function a(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=void 0===n.additionalDigits?Be:Number(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date)return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var i=o(e),a=s(i.date,r),f=a.year,d=a.restDateString,p=u(d,f);if(p){var h,v=p.getTime(),m=0;return i.time&&(m=l(i.time)),i.timezone?h=c(i.timezone):(h=new Date(v+m).getTimezoneOffset(),h=new Date(v+m+h*We).getTimezoneOffset()),new Date(v+m+h*We)}return new Date(e)}function o(e){var t,n={},r=e.split(Ge.dateTimeDelimeter);if(Ge.plainTime.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]),t){var i=Ge.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function s(e,t){var n,r=Ge.YYY[t],i=Ge.YYYYY[t];if(n=Ge.YYYY.exec(e)||i.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=Ge.YY.exec(e)||r.exec(e)){var o=n[1];return{year:100*parseInt(o,10),restDateString:e.slice(o.length)}}return{year:null}}function u(e,t){if(null===t)return null;var n,r,i,a;if(0===e.length)return r=new Date(0),r.setUTCFullYear(t),r;if(n=Ge.MM.exec(e))return r=new Date(0),i=parseInt(n[1],10)-1,r.setUTCFullYear(t,i),r;if(n=Ge.DDD.exec(e)){r=new Date(0);var o=parseInt(n[1],10);return r.setUTCFullYear(t,0,o),r}if(n=Ge.MMDD.exec(e)){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return r.setUTCFullYear(t,i,s),r}return(n=Ge.Www.exec(e))?(a=parseInt(n[1],10)-1,f(t,a)):(n=Ge.WwwD.exec(e))?(a=parseInt(n[1],10)-1,f(t,a,parseInt(n[2],10)-1)):null}function l(e){var t,n,r;if(t=Ge.HH.exec(e))return(n=parseFloat(t[1].replace(",",".")))%24*Ve;if(t=Ge.HHMM.exec(e))return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),n%24*Ve+r*We;if(t=Ge.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return n%24*Ve+r*We+1e3*i}return null}function c(e){var t,n;return(t=Ge.timezoneZ.exec(e))?0:(t=Ge.timezoneHH.exec(e))?(n=60*parseInt(t[2],10),"+"===t[1]?-n:n):(t=Ge.timezoneHHMM.exec(e),t?(n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n):0)}function f(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,a=7*t+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}function d(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n).getTime(),i=Number(t);return new Date(r+i)}function p(e){e=e||{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function h(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return d(e,Number(t)*Je,n)}function v(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=a(e,t);return!isNaN(n)}function m(e,t,n){n=n||{};var r;return r="string"==typeof Ke[e]?Ke[e]:1===t?Ke[e].one:Ke[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r}function g(e){return e.replace(Xe,function(e){return e.slice(1)})}function y(e,t,n,r){return et[e]}function _(e,t,n){return function(r,i){var a=i||{},o=a.type?String(a.type):t;return(e[o]||e[t])[n?n(Number(r)):Number(r)]}}function b(e,t){return function(n){var r=n||{},i=r.type?String(r.type):t;return e[i]||e[t]}}function $(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"}function w(e,t){return function(n,r){var i=r||{},a=i.type?String(i.type):t,o=e[a]||e[t];return String(n).match(o)}}function x(e,t){return function(n,r){var i=r||{},a=i.type?String(i.type):t,o=e[a]||e[t],s=n[1];return o.findIndex(function(e){return e.test(s)})}}function A(e){return parseInt(e[1],10)}function C(e,t){var n=a(e,t),r=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime(),o=r-i;return Math.floor(o/ht)+1}function T(e,t){var n=a(e,t),r=n.getUTCDay(),i=(r<1?7:0)+r-1;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function D(e,t){var n=a(e,t),r=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(r+1,0,4),i.setUTCHours(0,0,0,0);var o=T(i,t),s=new Date(0);s.setUTCFullYear(r,0,4),s.setUTCHours(0,0,0,0);var u=T(s,t);return n.getTime()>=o.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function O(e,t){var n=D(e,t),r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),T(r,t)}function k(e,t){var n=a(e,t),r=T(n,t).getTime()-O(n,t).getTime();return Math.round(r/vt)+1}function M(e,t){t=t||"";var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;return n+S(i,2)+t+S(a,2)}function S(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return n}function L(e,t,n){var r=a(e,n),i=Number(t);return r.setUTCMinutes(r.getUTCMinutes()+i),r}function E(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=String(t),i=n||{},o=i.locale||pt;if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var s=o.formatters||{},u=o.formattingTokensRegExp||yt,l=o.formatLong,c=a(e,i);if(!v(c,i))return"Invalid Date";var f=c.getTimezoneOffset(),d=L(c,-f,i),h=p(i);return h.locale=o,h.formatters=mt,h._originalDate=c,r.replace(gt,function(e){return"["===e[0]?e:"\\"===e[0]?N(e):l(e)}).replace(u,function(e){var t=s[e]||mt[e];return t?t(d,h):N(e)})}function N(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function j(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return h(e,-Number(t),n)}function F(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n),i=a(t,n);return r.getTime()>i.getTime()}function U(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n),i=a(t,n);return r.getTime()<i.getTime()}function Y(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n),i=a(t,n);return r.getTime()===i.getTime()}function I(e){return parseInt(e[1],10)}function P(e,t,n){var r=n||{},i=r.locale,o=i&&i.options&&i.options.weekStartsOn,s=void 0===o?0:Number(o),u=void 0===r.weekStartsOn?s:Number(r.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=a(e,n),c=Number(t),f=l.getUTCDay(),d=c%7,p=(d+7)%7,h=(p<u?7:0)+c-f;return l.setUTCDate(l.getUTCDate()+h),l}function H(e,t,n){var r=Number(t);r%7==0&&(r-=7);var i=a(e,n),o=i.getUTCDay(),s=r%7,u=(s+7)%7,l=(u<1?7:0)+r-o;return i.setUTCDate(i.getUTCDate()+l),i}function R(e,t,n){var r=a(e,n),i=Number(t),o=k(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*o),r}function Z(e,t,n){var r=a(e,n),i=Number(t),o=O(r,n),s=Math.floor((r.getTime()-o.getTime())/$t),u=new Date(0);return u.setUTCFullYear(i,0,4),u.setUTCHours(0,0,0,0),r=O(u,n),r.setUTCDate(r.getUTCDate()+s),r}function z(e,t){if(0===t){if(12===e)return 0}else if(12!==e)return 12+e;return e}function q(e,t,n,r){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var i=String(e),o=r||{},s=void 0===o.weekStartsOn?0:Number(o.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=o.locale||pt,l=u.parsers||{},c=u.units||{};if(!u.match)throw new RangeError("locale must contain match property");if(!u.formatLong)throw new RangeError("locale must contain formatLong property");var f=String(t).replace(Ct,function(e){return"["===e[0]?e:"\\"===e[0]?W(e):u.formatLong(e)});if(""===f)return""===i?a(n,o):new Date(NaN);var d=p(o);d.locale=u;var h,v=f.match(u.parsingTokensRegExp||Tt),m=v.length,g=[{priority:xt,set:V,index:0}];for(h=0;h<m;h++){var y=v[h],_=l[y]||bt[y];if(_){var b;if(!(b=_.match instanceof RegExp?_.match.exec(i):_.match(i,d)))return new Date(NaN);var $=_.unit,w=c[$]||wt[$];g.push({priority:w.priority,set:w.set,value:_.parse(b,d),index:g.length});var x=b[0];i=i.slice(x.length)}else{var A=v[h].match(/^\[.*]$/)?v[h].replace(/^\[|]$/g,""):v[h];if(0!==i.indexOf(A))return new Date(NaN);i=i.slice(A.length)}}var C=g.map(function(e){return e.priority}).sort(function(e,t){return e-t}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return g.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),T=a(n,o);if(isNaN(T))return new Date(NaN);var D=j(T,T.getTimezoneOffset()),O={date:D},k=C.length;for(h=0;h<k;h++){var M=C[h];O=M.set(O,M.value,d)}return O.date}function V(e){var t=e.date,n=t.getTime(),r=t.getTimezoneOffset();return r=new Date(n+r*At).getTimezoneOffset(),e.date=new Date(n+r*At),e}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function B(e){return e&&e.__esModule?e.default:e}function G(e,t){return t={exports:{}},e(t,t.exports),t.exports}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"install",function(){return r}),n.d(t,"use",function(){return i}),n.d(t,"mapFields",function(){return Dn}),n.d(t,"Validator",function(){return Le}),n.d(t,"ErrorBag",function(){return be}),n.d(t,"Rules",function(){return Cn}),n.d(t,"version",function(){return On});/**
+!function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var s,u,l,c=0,f=[];c<r.length;c++)u=r[c],i[u]&&f.push(i[u][0]),i[u]=0;for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s]);for(n&&n(r,a,o);f.length;)f.shift()();if(o)for(c=0;c<o.length;c++)l=t(t.s=o[c]);return l};var r={},i={2:0};t.e=function(e){function n(){s.onerror=s.onload=null,clearTimeout(u);var t=i[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),i[e]=void 0)}var r=i[e];if(0===r)return new Promise(function(e){e()});if(r)return r[2];var a=new Promise(function(t,n){r=i[e]=[t,n]});r[2]=a;var o=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,t.nc&&s.setAttribute("nonce",t.nc),s.src=t.p+"js/"+e+"-363136280b912218037d.js";var u=setTimeout(n,12e4);return s.onerror=s.onload=n,o.appendChild(s),a},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/assets/",t.oe=function(e){throw console.error(e),e},t(t.s=198)}({1:function(e,t,n){"use strict";function r(e,t){if(void 0===t&&(t={}),je)return void se("already installed, Vue.use(VeeValidate) should only be called once.");je=e;var n=me({},Pe,t);n.dictionary&&Le.updateDictionary(n.dictionary),t&&(t.locale&&(Le.locale=t.locale),t.strict&&Le.setStrictMode(n.strict)),je.mixin(Ie(je,n)),je.directive("validate",Re(n))}function i(e,t){if(void 0===t&&(t={}),!ce(e))return se("The plugin must be a callable function");e({Validator:Le,ErrorBag:be,Rules:Le.rules},t)}function a(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=void 0===n.additionalDigits?Be:Number(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date)return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var i=o(e),a=s(i.date,r),f=a.year,d=a.restDateString,p=u(d,f);if(p){var h,v=p.getTime(),m=0;return i.time&&(m=l(i.time)),i.timezone?h=c(i.timezone):(h=new Date(v+m).getTimezoneOffset(),h=new Date(v+m+h*We).getTimezoneOffset()),new Date(v+m+h*We)}return new Date(e)}function o(e){var t,n={},r=e.split(Ge.dateTimeDelimeter);if(Ge.plainTime.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]),t){var i=Ge.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function s(e,t){var n,r=Ge.YYY[t],i=Ge.YYYYY[t];if(n=Ge.YYYY.exec(e)||i.exec(e)){var a=n[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(n=Ge.YY.exec(e)||r.exec(e)){var o=n[1];return{year:100*parseInt(o,10),restDateString:e.slice(o.length)}}return{year:null}}function u(e,t){if(null===t)return null;var n,r,i,a;if(0===e.length)return r=new Date(0),r.setUTCFullYear(t),r;if(n=Ge.MM.exec(e))return r=new Date(0),i=parseInt(n[1],10)-1,r.setUTCFullYear(t,i),r;if(n=Ge.DDD.exec(e)){r=new Date(0);var o=parseInt(n[1],10);return r.setUTCFullYear(t,0,o),r}if(n=Ge.MMDD.exec(e)){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return r.setUTCFullYear(t,i,s),r}return(n=Ge.Www.exec(e))?(a=parseInt(n[1],10)-1,f(t,a)):(n=Ge.WwwD.exec(e))?(a=parseInt(n[1],10)-1,f(t,a,parseInt(n[2],10)-1)):null}function l(e){var t,n,r;if(t=Ge.HH.exec(e))return(n=parseFloat(t[1].replace(",",".")))%24*Ve;if(t=Ge.HHMM.exec(e))return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),n%24*Ve+r*We;if(t=Ge.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return n%24*Ve+r*We+1e3*i}return null}function c(e){var t,n;return(t=Ge.timezoneZ.exec(e))?0:(t=Ge.timezoneHH.exec(e))?(n=60*parseInt(t[2],10),"+"===t[1]?-n:n):(t=Ge.timezoneHHMM.exec(e),t?(n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n):0)}function f(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,a=7*t+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}function d(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n).getTime(),i=Number(t);return new Date(r+i)}function p(e){e=e||{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function h(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return d(e,Number(t)*Je,n)}function v(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=a(e,t);return!isNaN(n)}function m(e,t,n){n=n||{};var r;return r="string"==typeof Ke[e]?Ke[e]:1===t?Ke[e].one:Ke[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r}function g(e){return e.replace(Xe,function(e){return e.slice(1)})}function y(e,t,n,r){return et[e]}function _(e,t,n){return function(r,i){var a=i||{},o=a.type?String(a.type):t;return(e[o]||e[t])[n?n(Number(r)):Number(r)]}}function b(e,t){return function(n){var r=n||{},i=r.type?String(r.type):t;return e[i]||e[t]}}function $(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"}function w(e,t){return function(n,r){var i=r||{},a=i.type?String(i.type):t,o=e[a]||e[t];return String(n).match(o)}}function x(e,t){return function(n,r){var i=r||{},a=i.type?String(i.type):t,o=e[a]||e[t],s=n[1];return o.findIndex(function(e){return e.test(s)})}}function A(e){return parseInt(e[1],10)}function C(e,t){var n=a(e,t),r=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime(),o=r-i;return Math.floor(o/ht)+1}function T(e,t){var n=a(e,t),r=n.getUTCDay(),i=(r<1?7:0)+r-1;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function D(e,t){var n=a(e,t),r=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(r+1,0,4),i.setUTCHours(0,0,0,0);var o=T(i,t),s=new Date(0);s.setUTCFullYear(r,0,4),s.setUTCHours(0,0,0,0);var u=T(s,t);return n.getTime()>=o.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function O(e,t){var n=D(e,t),r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),T(r,t)}function k(e,t){var n=a(e,t),r=T(n,t).getTime()-O(n,t).getTime();return Math.round(r/vt)+1}function M(e,t){t=t||"";var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;return n+S(i,2)+t+S(a,2)}function S(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return n}function L(e,t,n){var r=a(e,n),i=Number(t);return r.setUTCMinutes(r.getUTCMinutes()+i),r}function E(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=String(t),i=n||{},o=i.locale||pt;if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var s=o.formatters||{},u=o.formattingTokensRegExp||yt,l=o.formatLong,c=a(e,i);if(!v(c,i))return"Invalid Date";var f=c.getTimezoneOffset(),d=L(c,-f,i),h=p(i);return h.locale=o,h.formatters=mt,h._originalDate=c,r.replace(gt,function(e){return"["===e[0]?e:"\\"===e[0]?N(e):l(e)}).replace(u,function(e){var t=s[e]||mt[e];return t?t(d,h):N(e)})}function N(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function j(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return h(e,-Number(t),n)}function F(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n),i=a(t,n);return r.getTime()>i.getTime()}function U(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n),i=a(t,n);return r.getTime()<i.getTime()}function Y(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=a(e,n),i=a(t,n);return r.getTime()===i.getTime()}function I(e){return parseInt(e[1],10)}function P(e,t,n){var r=n||{},i=r.locale,o=i&&i.options&&i.options.weekStartsOn,s=void 0===o?0:Number(o),u=void 0===r.weekStartsOn?s:Number(r.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=a(e,n),c=Number(t),f=l.getUTCDay(),d=c%7,p=(d+7)%7,h=(p<u?7:0)+c-f;return l.setUTCDate(l.getUTCDate()+h),l}function H(e,t,n){var r=Number(t);r%7==0&&(r-=7);var i=a(e,n),o=i.getUTCDay(),s=r%7,u=(s+7)%7,l=(u<1?7:0)+r-o;return i.setUTCDate(i.getUTCDate()+l),i}function R(e,t,n){var r=a(e,n),i=Number(t),o=k(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*o),r}function Z(e,t,n){var r=a(e,n),i=Number(t),o=O(r,n),s=Math.floor((r.getTime()-o.getTime())/$t),u=new Date(0);return u.setUTCFullYear(i,0,4),u.setUTCHours(0,0,0,0),r=O(u,n),r.setUTCDate(r.getUTCDate()+s),r}function z(e,t){if(0===t){if(12===e)return 0}else if(12!==e)return 12+e;return e}function q(e,t,n,r){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var i=String(e),o=r||{},s=void 0===o.weekStartsOn?0:Number(o.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=o.locale||pt,l=u.parsers||{},c=u.units||{};if(!u.match)throw new RangeError("locale must contain match property");if(!u.formatLong)throw new RangeError("locale must contain formatLong property");var f=String(t).replace(Ct,function(e){return"["===e[0]?e:"\\"===e[0]?W(e):u.formatLong(e)});if(""===f)return""===i?a(n,o):new Date(NaN);var d=p(o);d.locale=u;var h,v=f.match(u.parsingTokensRegExp||Tt),m=v.length,g=[{priority:xt,set:V,index:0}];for(h=0;h<m;h++){var y=v[h],_=l[y]||bt[y];if(_){var b;if(!(b=_.match instanceof RegExp?_.match.exec(i):_.match(i,d)))return new Date(NaN);var $=_.unit,w=c[$]||wt[$];g.push({priority:w.priority,set:w.set,value:_.parse(b,d),index:g.length});var x=b[0];i=i.slice(x.length)}else{var A=v[h].match(/^\[.*]$/)?v[h].replace(/^\[|]$/g,""):v[h];if(0!==i.indexOf(A))return new Date(NaN);i=i.slice(A.length)}}var C=g.map(function(e){return e.priority}).sort(function(e,t){return e-t}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return g.filter(function(t){return t.priority===e}).reverse()}).map(function(e){return e[0]}),T=a(n,o);if(isNaN(T))return new Date(NaN);var D=j(T,T.getTimezoneOffset()),O={date:D},k=C.length;for(h=0;h<k;h++){var M=C[h];O=M.set(O,M.value,d)}return O.date}function V(e){var t=e.date,n=t.getTime(),r=t.getTimezoneOffset();return r=new Date(n+r*At).getTimezoneOffset(),e.date=new Date(n+r*At),e}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|]$/g,""):e.replace(/\\/g,"")}function B(e){return e&&e.__esModule?e.default:e}function G(e,t){return t={exports:{}},e(t,t.exports),t.exports}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"install",function(){return r}),n.d(t,"use",function(){return i}),n.d(t,"mapFields",function(){return Dn}),n.d(t,"Validator",function(){return Le}),n.d(t,"ErrorBag",function(){return be}),n.d(t,"Rules",function(){return Cn}),n.d(t,"version",function(){return On});/**
  * vee-validate v2.0.0-rc.19
  * (c) 2017 Abdelrahman Awad
  * @license MIT
diff --git a/docs/examples.html b/docs/examples.html
index 13adee5b..73618aec 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -198,9 +198,6 @@ export default {
         phone: 'رقم الهاتف'
       }
     });
-
-    // start with english locale.
-    this.$validator.localize('en');
   }
 };
 </div><div slot="html">
@@ -814,4 +811,4 @@ if (location.hash) {
   var hash = location.hash;
   location.hash = '';
   location.hash = hash;
-}</script><script type="text/javascript" src="/assets/js/vendor-80d381618c8ea8a97d06.js"></script><script type="text/javascript" src="/assets/js/bundle-80d381618c8ea8a97d06.js"></script></body></html>
\ No newline at end of file
+}</script><script type="text/javascript" src="/assets/js/vendor-363136280b912218037d.js"></script><script type="text/javascript" src="/assets/js/bundle-363136280b912218037d.js"></script></body></html>
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 6ba2966b..94f0989d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -7,7 +7,7 @@ ga('create', 'UA-100131478-1', 'auto');
 ga('send', 'pageview');
 </script><svg style="display: none;"><symbol id="github" viewbox="0 0 16 16"><path d="M8 0C3.58 0 0 3.582 0 8c0 3.535 2.292 6.533 5.47 7.59.4.075.547-.172.547-.385 0-.19-.007-.693-.01-1.36-2.226.483-2.695-1.073-2.695-1.073-.364-.924-.89-1.17-.89-1.17-.725-.496.056-.486.056-.486.803.056 1.225.824 1.225.824.714 1.223 1.873.87 2.33.665.072-.517.278-.87.507-1.07-1.777-.2-3.644-.888-3.644-3.953 0-.873.31-1.587.823-2.147-.09-.202-.36-1.015.07-2.117 0 0 .67-.215 2.2.82.64-.178 1.32-.266 2-.27.68.004 1.36.092 2 .27 1.52-1.035 2.19-.82 2.19-.82.43 1.102.16 1.915.08 2.117.51.56.82 1.274.82 2.147 0 3.073-1.87 3.75-3.65 3.947.28.24.54.73.54 1.48 0 1.07-.01 1.93-.01 2.19 0 .21.14.46.55.38C13.71 14.53 16 11.53 16 8c0-4.418-3.582-8-8-8"></path></symbol><symbol id="i-star" viewbox="0 0 32 32"><path d="M16 2 L20 12 30 12 22 19 25 30 16 23 7 30 10 19 2 12 12 12 Z"></path></symbol><div class="columns is-mobile" id="app"><button :class="{ 'button': true, 'sidebar-button': true, 'is-open': sidebarToggle }" @click="sidebarToggle = ! sidebarToggle" type="button"><span class="icon"><i class="fa fa-bars"></i></span></button><div class="column is-2 sidebar-container" :class="{ 'column is-2 sidebar-container': true, 'is-open': sidebarToggle }" v-cloak><aside class="menu sidebar"><animated-button link="https://github.com/logaretm/vee-validate"><div class="flex-div" slot="default"><svg class="icon"><use xlink:href="#github"></use></svg>Star</div><div class="flex-div" slot="hover"><svg class="icon"><use xlink:href="#i-star"></use></svg>{{ stars }}</div></animated-button><p class="menu-label">Getting Started</p><ul class="menu-list"><li><a href="index.html#about">Introduction</a></li><li><a href="index.html#installation">Installation</a><ul><li><a href="index.html#npm">npm</a></li><li><a href="index.html#cdn">CDN</a></li></ul></li><li><a href="index.html#basic-example">Basic Example</a></li><li><a href="index.html#render-errors">Rendering Errors</a></li><li><a href="index.html#available-rules">Available Validations</a></li><li><a href="index.html#configuration">Configuration</a></li></ul><p class="menu-label">Validation Rules</p><ul class="menu-list"><li><a href="rules.html#syntax">Syntax</a></li><li><a href="rules.html#available-validations">Available Validations</a></li><li><a href="rules.html#custom-rules">Custom Validations</a></li><li><a href="rules.html#custom-messages">Custom Messages</a></li><li><a href="rules.html#custom-attributes">Custom Attributes</a></li><li><a href="rules.html#field-sepecific-messages">Field-specific Custom Messages  </a></li></ul><p class="menu-label">Localization</p><ul class="menu-list"><li><a href="localization.html#translation">Translation</a></li><li><a href="localization.html#attributes-data-as">Attributes</a><ul><li><a href="localization.html#attributes-data-as">alias</a></li><li><a href="localization.html#attributes-dictionary">dictionary</a></li></ul></li><li><a href="localization.html#localized-files">Localized Files</a></li></ul><p class="menu-label">Advanced</p><ul class="menu-list"><li><a href="advanced.html#inject">Component Injections</a></li></ul><p class="menu-label">Examples</p><ul class="menu-list"><li><a href="examples.html#debounce-example">Debounce</a></li><li><a href="examples.html#reject-example">Reject Files</a></li><li><a href="examples.html#validate-data-example">Validating Models</a></li><li><a href="examples.html#initial-value">Initial Value Validation</a></li><li><a href="examples.html#validate-form">Form Validation</a></li><li><a href="examples.html#locale-example">Localized Messages</a></li><li><a href="examples.html#scope-example">Validation Scopes</a></li><li><a href="examples.html#coupon-example">Custom Validation: Coupon</a></li><li><a href="examples.html#radio-buttons-example">Radio Buttons Validation</a></li><li><a href="examples.html#checkbox-example">Checkbox Example</a></li><li><a href="examples.html#flags-example">Validation Flags</a></li><li><a href="examples.html#selectors-example">Error Selectors</a></li><li><a href="examples.html#component-example">Component Validation</a></li><li><a href="examples.html#event-bus-example">Event Bus</a></li></ul><p class="menu-label">API</p><ul class="menu-list"><li><a href="api.html#directive">v-validate</a></li><li><a href="api.html#data-attributes">data-* Attributes</a></li><li><a href="api.html#error-bag">Error Bag</a></li><li><a href="api.html#validator">Validator</a><ul><li><a href="api.html#validator">API</a></li><li><a href="api.html#validator-example">Example</a></li></ul></li></ul></aside></div><div class="column columns is-mobile main-container" @click="sidebarToggle = false"><div class="column is-12"><section class="hero"><div class="hero-body"><div class="container has-text-centered"><img width="150" alt="VeeValidate Logo" src="https://s3.eu-central-1.amazonaws.com/logaretm/vee-validate.svg"><h1 class="title is-2">VeeValidate</h1><h2 class="subtitle is-4">Simple Vuejs Input Validation</h2></div></div></section><div class="container"><div class="column content-container is-mobile"><h2><a href="#about">What is vee-validate?</a></h2>
 <p>This is a plugin for <a href="https://vuejs.org/">Vue.js</a> that allows you to validate input fields, and display errors, in an easy and powerful way.</p>
-<p>You don't have to do anything fancy in your app: Most of the work goes into the html. You only need to specify, for each input, what kind of validators should be used when the value changes. You will then get informed of the errors for each field.</p>
+<p>You don't have to do anything fancy in your app, most of the work goes into the html. You only need to specify for each input what kind of validators should be used when the value changes. You will then get informed of the errors for each field.</p>
 <p>Although most of the validations occur automatically, you can use the validator however you see fit. The validator object has no dependencies and is a standalone object.</p>
 <p>Currently there are over 20 validation rules available in the plugin. This plugin is inspired by <a href="https://laravel.com/">PHP Framework Laravel's validation syntax</a>.</p>
 <h2><a href="#installation">Installation</a></h2>
@@ -34,7 +34,7 @@ Vue.use(VeeValidate);
 </code></pre>
 <h2><a href="#basic-example">Basic Example</a></h2>
 <p>All you need is to add the <code>v-validate</code> directive to the input you wish to validate.</p>
-<p>Then, pass to the directive a <code>rules</code> string which contains a list of validation rules separated by a pipe '<code>|</code>'. For the following example the validation rules are straight forward. Use <code>required</code> to indicate that the field is required, and <code>email</code> to indicate that the field must be an email. To combine both rules we assign the string value <code>required|email</code> to the <code>v-validate</code> expression value.</p>
+<p>Then pass to the directive a <code>rules</code> string which contains a list of validation rules separated by a pipe '<code>|</code>'. For the following example the validation rules are straight forward, use <code>required</code> to indicate that the field is required. And <code>email</code> to indicate that the field must be an email. To combine both rules we assign the string value <code>required|email</code> to the <code>v-validate</code> expression value.</p>
 <code-example><div slot="example"><basic-example></basic-example></div><div slot="js">export default {
   name: 'basic-example'
 };
@@ -47,14 +47,14 @@ Vue.use(VeeValidate);
     &lt;/p&gt;
 &lt;/div&gt;
 </div></code-example><div class="flex-center"><a href="examples.html">More Examples</a></div><blockquote>
-<p>The field must always have either a <code>name</code> or a <code>data-vv-name</code> attribute, either of which act as the identifier for that input. The <code>name</code> attribute takes precedence. However the name that appears in the error messages can be customized using the <code>data-vv-as</code> attribute or it can use the <a href="localization.html#dictionary">dictionary object</a></p>
+<p>The field must always have either a <code>name</code> or a <code>data-vv-name</code> attribute, which both acts as the identifier for that input. The <code>name</code> attribute takes precedent. However the name that appears in the error messages can be customized using <code>data-vv-as</code> attribute or it can use the <a href="localization.html#dictionary">dictionary object</a></p>
 </blockquote>
 <h2><a href="#render-errors">Rendering Errors</a></h2>
 <p>Naturally, you would want to display the errors to your users. The plugin augments your Vue instance with a private validator object and a public errors data object. You are responsible for how the errors should be rendered.</p>
-<p>The errors object exposes simple methods to help you render errors:</p>
+<p>The errors object exposes a simple methods to help you render errors:</p>
 <ul>
 <li><code>first('field')</code> Fetches the first error message associated with that field.</li>
-<li><code>collect('field')</code> Fetches all error messages associated with that field. Alternatively you can pass nothing and it will return errors grouped by fields.</li>
+<li><code>collect('field')</code> Fetches all error messages associated with that field. alternativly you can pass nothing and it will return errors grouped by fields</li>
 <li><code>has('field')</code> Checks if there are any errors associated with that field.</li>
 <li><code>all()</code> Gets all error messages.</li>
 <li><code>any()</code> Checks if there are any errors.</li>
@@ -165,14 +165,14 @@ Vue.use(VeeValidate);
 </div>
 </li>
 </ul>
-</div><p>Visit the <a href="rules.html#available-rules">rules documentation</a> to learn more about how to use each rule and how to <a href="rules.html#custom-rules">create your own</a>.</p>
+</div><p>Visit the <a href="rules.html#available-rules">rules documentation</a> to learn more about how to use each rule, and how to <a href="rules.html#custom-rules">create your own</a>.</p>
 <h2><a href="#configuration">Configuration</a></h2>
-<p>You may need to configure some options to tweak some of the plugin internals. This is not required, but could cause conflicts. For example, using a property called <code>errors</code> on your vue instance may cause conflicts. Here is how you would set up the options, along with the default values:</p>
+<p>You may need to configure some options to tweak some of the plugin internals, this is not required, but could cause conflicts. For example: if you are using a property called <code>errors</code> on your vue instance this may cause conflicts. Here is how you would set up the options along with the default values:</p>
 <pre><code class="highlight-js">import Vue from 'vue';
 import VeeValidate from 'vee-validate';
 
 const config = {
-  errorBagName: 'errors', // change if property conflicts
+  errorBagName: 'errors', // change if property conflicts.
   fieldsBagName: 'fields', 
   delay: 0, 
   locale: 'en', 
@@ -207,7 +207,7 @@ Vue.use(VeeValidate, config);
         <tr>
             <td class="is-method-name">errorBagName</td>
             <td>errors</td>
-            <td>The name of the `ErrorBag` object that will be injected in each of Vue's instances' data.</td>
+            <td>The name of the ErrorBag object that will be injected in each of Vue's instances' data.</td>
         </tr>
         <tr>
             <td class="is-method-name">fieldsBagName</td>
@@ -228,7 +228,7 @@ Vue.use(VeeValidate, config);
             <td class="is-method-name">dictionary</td>
             <td>null</td>
             <td>  
-              A dictionary to be merged with the validators dictionary. (Check the [custom messages](rules.html#custom-messages) and [localization](localization.html) sections.)
+              A dictionary to be merged with the validators dictionary, check [custom messages](rules.html#custom-messages) and [localization](localization.html) sections.
             </td>
         </tr>
         <tr>
@@ -249,7 +249,7 @@ Vue.use(VeeValidate, config);
                     touched: 'touched', // the control has been blurred
                     untouched: 'untouched', // the control hasn't been blurred
                     valid: 'valid', // model is valid
-                    invalid: 'invalid', // model is not valid
+                    invalid: 'invalid', // model is invalid
                     pristine: 'pristine', // control has not been interacted with
                     dirty: 'dirty' // control has been interacted with
                   }
@@ -260,13 +260,13 @@ Vue.use(VeeValidate, config);
         <tr>
             <td class="is-method-name">events</td>
             <td>input|blur</td>
-            <td>Pipe separated list of the default event names that will be listened to, to trigger validation. If an empty string is provided it will disable all listeners.</td>
+            <td>Pipe separated list of the default event names that will be listened for to trigger validation, if empty string is provided it will disable all listeners.</td>
         </tr>
         <tr>
             <td class="is-method-name">inject</td>
             <td>true</td>
             <td>
-              Specifies if a validator instance should be injected automatically for all components. (See [Component Injections](advanced#injections) for more information.)
+              Specifies if a validator instance should be injected automatically for all components, check [Component Injections](advanced#injections) for more informatin.
             </td>
         </tr>
         <tr>
@@ -305,4 +305,4 @@ if (location.hash) {
   var hash = location.hash;
   location.hash = '';
   location.hash = hash;
-}</script><script type="text/javascript" src="/assets/js/vendor-80d381618c8ea8a97d06.js"></script><script type="text/javascript" src="/assets/js/bundle-80d381618c8ea8a97d06.js"></script></body></html>
\ No newline at end of file
+}</script><script type="text/javascript" src="/assets/js/vendor-363136280b912218037d.js"></script><script type="text/javascript" src="/assets/js/bundle-363136280b912218037d.js"></script></body></html>
\ No newline at end of file
diff --git a/docs/localization.html b/docs/localization.html
index a9a26f33..8e9ea515 100644
--- a/docs/localization.html
+++ b/docs/localization.html
@@ -56,7 +56,7 @@ Validator.localize('ar');
 <p>You will get a warning if you set the locale to one that has not been merged in the dictionary yet, any messages generated will fallback to English.</p>
 <p>A working example can be found <a href="examples#locale-example">here</a></p>
 <h2><a href="#localized-files">Localized Files</a></h2>
-<p>In the <a href="https://github.com/logaretm/vee-validate/tree/master/locale"><code>locale</code></a> directory of this plugin, is a collection of localized files. If you can't find your locale, you could help this plugin by contributing a localized version to the <a href="https://github.com/logaretm/vee-validate">repository</a>. I will happily accept it.</p>
+<p>In the <a href="https://github.com/logaretm/vee-validate/tree/master/locale"><code>locale</code></a> directory of this plugin, is a collection of localized files. If you can't find your locale, you could help this plugin by contributing a localized version to the <a href="https://github.com/logaretm/vee-validate">repo</a>. I will happily accept it.</p>
 <p>You can import those locales like this:</p>
 <pre><code class="highlight-js">import ar from 'vee-validate/dist/locale/ar';
 import VeeValidate, { Validator } from 'vee-validate';
@@ -98,4 +98,4 @@ if (location.hash) {
   var hash = location.hash;
   location.hash = '';
   location.hash = hash;
-}</script><script type="text/javascript" src="/assets/js/vendor-80d381618c8ea8a97d06.js"></script><script type="text/javascript" src="/assets/js/bundle-80d381618c8ea8a97d06.js"></script></body></html>
\ No newline at end of file
+}</script><script type="text/javascript" src="/assets/js/vendor-363136280b912218037d.js"></script><script type="text/javascript" src="/assets/js/bundle-363136280b912218037d.js"></script></body></html>
\ No newline at end of file
diff --git a/docs/package.json b/docs/package.json
index 56637674..b7b19b0b 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -28,7 +28,6 @@
     "eslint": "^4.5.0",
     "eslint-config-airbnb-base": "^11.3.2",
     "eslint-loader": "^1.9.0",
-    "eslint-plugin-flowtype": "^2.39.1",
     "eslint-plugin-html": "^3.2.0",
     "eslint-plugin-import": "^2.7.0",
     "extract-text-webpack-plugin": "^3.0.0",
diff --git a/docs/rules.html b/docs/rules.html
index 77043151..481342af 100644
--- a/docs/rules.html
+++ b/docs/rules.html
@@ -518,4 +518,4 @@ if (location.hash) {
   var hash = location.hash;
   location.hash = '';
   location.hash = hash;
-}</script><script type="text/javascript" src="/assets/js/vendor-80d381618c8ea8a97d06.js"></script><script type="text/javascript" src="/assets/js/bundle-80d381618c8ea8a97d06.js"></script></body></html>
\ No newline at end of file
+}</script><script type="text/javascript" src="/assets/js/vendor-363136280b912218037d.js"></script><script type="text/javascript" src="/assets/js/bundle-363136280b912218037d.js"></script></body></html>
\ No newline at end of file
diff --git a/docs/src/js/components/examples/Locale.vue b/docs/src/js/components/examples/Locale.vue
index a4eadde7..55698efe 100644
--- a/docs/src/js/components/examples/Locale.vue
+++ b/docs/src/js/components/examples/Locale.vue
@@ -49,9 +49,6 @@ export default {
         phone: 'رقم الهاتف'
       }
     });
-
-    // start with english locale.
-    this.$validator.localize('en');
   }
 };
 </script>
diff --git a/docs/src/templates/markdown/home/config.md b/docs/src/templates/markdown/home/config.md
index 5546f28c..5eb589fd 100644
--- a/docs/src/templates/markdown/home/config.md
+++ b/docs/src/templates/markdown/home/config.md
@@ -1,15 +1,15 @@
-Visit the [rules documentation](rules.html#available-rules) to learn more about how to use each rule and how to [create your own](rules.html#custom-rules).
+Visit the [rules documentation](rules.html#available-rules) to learn more about how to use each rule, and how to [create your own](rules.html#custom-rules).
 
 ## [Configuration](#configuration)
 
-You may need to configure some options to tweak some of the plugin internals. This is not required, but could cause conflicts. For example, using a property called `errors` on your vue instance may cause conflicts. Here is how you would set up the options, along with the default values:
+You may need to configure some options to tweak some of the plugin internals, this is not required, but could cause conflicts. For example: if you are using a property called `errors` on your vue instance this may cause conflicts. Here is how you would set up the options along with the default values:
 
 ```js
 import Vue from 'vue';
 import VeeValidate from 'vee-validate';
 
 const config = {
-  errorBagName: 'errors', // change if property conflicts
+  errorBagName: 'errors', // change if property conflicts.
   fieldsBagName: 'fields', 
   delay: 0, 
   locale: 'en', 
@@ -45,7 +45,7 @@ Vue.use(VeeValidate, config);
         <tr>
             <td class="is-method-name">errorBagName</td>
             <td>errors</td>
-            <td>The name of the `ErrorBag` object that will be injected in each of Vue's instances' data.</td>
+            <td>The name of the ErrorBag object that will be injected in each of Vue's instances' data.</td>
         </tr>
         <tr>
             <td class="is-method-name">fieldsBagName</td>
@@ -66,7 +66,7 @@ Vue.use(VeeValidate, config);
             <td class="is-method-name">dictionary</td>
             <td>null</td>
             <td>  
-              A dictionary to be merged with the validators dictionary. (Check the [custom messages](rules.html#custom-messages) and [localization](localization.html) sections.)
+              A dictionary to be merged with the validators dictionary, check [custom messages](rules.html#custom-messages) and [localization](localization.html) sections.
             </td>
         </tr>
         <tr>
@@ -87,7 +87,7 @@ Vue.use(VeeValidate, config);
                     touched: 'touched', // the control has been blurred
                     untouched: 'untouched', // the control hasn't been blurred
                     valid: 'valid', // model is valid
-                    invalid: 'invalid', // model is not valid
+                    invalid: 'invalid', // model is invalid
                     pristine: 'pristine', // control has not been interacted with
                     dirty: 'dirty' // control has been interacted with
                   }
@@ -98,13 +98,13 @@ Vue.use(VeeValidate, config);
         <tr>
             <td class="is-method-name">events</td>
             <td>input|blur</td>
-            <td>Pipe separated list of the default event names that will be listened to, to trigger validation. If an empty string is provided it will disable all listeners.</td>
+            <td>Pipe separated list of the default event names that will be listened for to trigger validation, if empty string is provided it will disable all listeners.</td>
         </tr>
         <tr>
             <td class="is-method-name">inject</td>
             <td>true</td>
             <td>
-              Specifies if a validator instance should be injected automatically for all components. (See [Component Injections](advanced#injections) for more information.)
+              Specifies if a validator instance should be injected automatically for all components, check [Component Injections](advanced#injections) for more informatin.
             </td>
         </tr>
         <tr>
diff --git a/docs/src/templates/markdown/home/errors.md b/docs/src/templates/markdown/home/errors.md
index 7ffba76d..89a7271b 100644
--- a/docs/src/templates/markdown/home/errors.md
+++ b/docs/src/templates/markdown/home/errors.md
@@ -1,13 +1,13 @@
-> The field must always have either a `name` or a `data-vv-name` attribute, either of which act as the identifier for that input. The `name` attribute takes precedence. However the name that appears in the error messages can be customized using the `data-vv-as` attribute or it can use the [dictionary object](localization.html#dictionary)
+> The field must always have either a `name` or a `data-vv-name` attribute, which both acts as the identifier for that input. The `name` attribute takes precedent. However the name that appears in the error messages can be customized using `data-vv-as` attribute or it can use the [dictionary object](localization.html#dictionary)
 
 ## [Rendering Errors](#render-errors)
 
 Naturally, you would want to display the errors to your users. The plugin augments your Vue instance with a private validator object and a public errors data object. You are responsible for how the errors should be rendered.  
 
-The errors object exposes simple methods to help you render errors:
+The errors object exposes a simple methods to help you render errors:
 
 - `first('field')` Fetches the first error message associated with that field.
-- `collect('field')` Fetches all error messages associated with that field. Alternatively you can pass nothing and it will return errors grouped by fields.
+- `collect('field')` Fetches all error messages associated with that field. alternativly you can pass nothing and it will return errors grouped by fields
 - `has('field')` Checks if there are any errors associated with that field.
 - `all()` Gets all error messages.
 - `any()` Checks if there are any errors.
diff --git a/docs/src/templates/markdown/home/intro.md b/docs/src/templates/markdown/home/intro.md
index a792db20..afad78b0 100644
--- a/docs/src/templates/markdown/home/intro.md
+++ b/docs/src/templates/markdown/home/intro.md
@@ -2,7 +2,7 @@
 
 This is a plugin for [Vue.js](https://vuejs.org/) that allows you to validate input fields, and display errors, in an easy and powerful way.
 
-You don't have to do anything fancy in your app: Most of the work goes into the html. You only need to specify, for each input, what kind of validators should be used when the value changes. You will then get informed of the errors for each field.  
+You don't have to do anything fancy in your app, most of the work goes into the html. You only need to specify for each input what kind of validators should be used when the value changes. You will then get informed of the errors for each field.  
 
 Although most of the validations occur automatically, you can use the validator however you see fit. The validator object has no dependencies and is a standalone object.
 
@@ -46,4 +46,4 @@ Vue.use(VeeValidate);
 
 All you need is to add the `v-validate` directive to the input you wish to validate.  
 
-Then, pass to the directive a `rules` string which contains a list of validation rules separated by a pipe '`|`'. For the following example the validation rules are straight forward. Use `required` to indicate that the field is required, and `email` to indicate that the field must be an email. To combine both rules we assign the string value `required|email` to the `v-validate` expression value.
+Then pass to the directive a `rules` string which contains a list of validation rules separated by a pipe '`|`'. For the following example the validation rules are straight forward, use `required` to indicate that the field is required. And `email` to indicate that the field must be an email. To combine both rules we assign the string value `required|email` to the `v-validate` expression value.
\ No newline at end of file
diff --git a/docs/yarn.lock b/docs/yarn.lock
index 5d234ff7..6154dadb 100644
--- a/docs/yarn.lock
+++ b/docs/yarn.lock
@@ -2082,12 +2082,6 @@ eslint-module-utils@^2.1.1:
     debug "^2.6.8"
     pkg-dir "^1.0.0"
 
-eslint-plugin-flowtype@^2.39.1:
-  version "2.39.1"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.39.1.tgz#b5624622a0388bcd969f4351131232dcb9649cd5"
-  dependencies:
-    lodash "^4.15.0"
-
 eslint-plugin-html@^3.2.0:
   version "3.2.0"
   resolved "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-3.2.0.tgz#fb64c2789e9582b97f580a38814a57966f91a7b2"
@@ -3398,7 +3392,7 @@ lodash.uniq@^4.5.0:
   version "4.5.0"
   resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
 
-lodash@^4.0.0, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0:
+lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0:
   version "4.17.4"
   resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
 
diff --git a/locale/eu.js b/locale/eu.js
deleted file mode 100644
index 4f6fc68f..00000000
--- a/locale/eu.js
+++ /dev/null
@@ -1,61 +0,0 @@
-import { formatFileSize, isDefinedGlobally } from './utils';
-
-const messages = {
-  _default: (field) => `${field} baliogabea da.`,
-  after: (field, [target, inclusion]) => `${field}(e)k honen ondoren egon behar du ${inclusion ? 'edo honen berdina izan ' : ''}${target}.`,
-  alpha_dash: (field) => `${field} eremuak karaktere alfanumerikoak, marrak eta azpimarrak eduki ditzake.`,
-  alpha_num: (field) => `${field} eremuak soilik karaktere alfanumerikoak eduki ditzake.`,
-  alpha_spaces: (field) => `${field} eremuak soilik karaktere alfanumerikoak eta zuriuneak eduki ditzake.`,
-  alpha: (field) => `${field} eremuak soilik karaktere alfabetikoak eduki ditzake.`,
-  before: (field, [target, inclusion]) => `${field}(e)k honen aurretik egon behar du ${inclusion ? 'edo honen berdina izan ' : ''}${target}.`,
-  between: (field, [min, max]) => `${field} eremuak ${min} eta ${max} artean egon behar du.`,
-  confirmed: (field) => `${field} berrespenak ez datoz bat.`,
-  credit_card: (field) => `${field} eremua baliogabea da.`,
-  date_between: (field, [min, max]) => `${field}(e)k ${min} eta ${max} artean egon behar du.`,
-  date_format: (field, [format]) => `${field}(e)k ${format} formatuan egon behar du.`,
-  decimal: (field, [decimals] = ['*']) => `${field} eremuak zenbakizkoa izan behar du eta ${!decimals || decimals === '*' ? '' : decimals} dezimal izan ditzake.`,
-  digits: (field, [length]) => `${field} eremuak zenbakizkoa izan behar du eta zehazki ${length} digitu izan behar ditu.`,
-  dimensions: (field, [width, height]) => `${field} eremuak ${width} pixel bider ${height} pixel izan behar du.`,
-  email: (field) => `${field} eremuak baliozko helbide elektroniko bat izan behar du.`,
-  ext: (field) => `${field} eremuak baliozko fitxategi bat izan behar du.`,
-  image: (field) => `${field} eremuak irudi bat izan behar du.`,
-  in: (field) => `${field} eremuak baliozko balio bat izan behar du.`,
-  integer: (field) => `${field} eremuak zenbaki oso bat izan behar du.`,
-  ip: (field) => `${field} eremuak baliozko IP helbide bat izan behar du.`,
-  length: (field, [length, max]) => {
-    if (max) {
-      return `${field}(r)en luzerak ${length} eta ${max} artean egon behar du.`;
-    }
-
-    return `${field}(r)en luzerak ${length} izan behar du.`;
-  },
-  max: (field, [length]) => `${field} eremuak ezin ditu ${length} karaktere baino gehiago izan.`,
-  max_value: (field, [max]) => `${field} eremuak ${max} edo gutxiago izan behar du.`,
-  mimes: (field) => `${field} eremuak baliozko fitxategi-mota bat izan behar du.`,
-  min: (field, [length]) => `${field} eremuak gutxienez ${length} karaktere izan behar ditu.`,
-  min_value: (field, [min]) => `${field} eremuak ${min} edo gehiago izan behar du.`,
-  not_in: (field) => `${field} eremuak baliozko balio bat izan behar du.`,
-  numeric: (field) => `${field} eremuak zenbakizko karaktereak soilik izan ditzake.`,
-  regex: (field) => `${field} eremuaren formatua baliogabea da.`,
-  required: (field) => `${field} eremua derrigorrezkoa da.`,
-  size: (field, [size]) => `${field}(e)n tamainak ${formatFileSize(size)} baino txikiagoa izan behar du.`,
-  url: (field) => `${field} eremua ez da baliozko URL bat.`
-};
-
-// You can ignore this export, locale maintainer!
-export {
-  messages
-};
-
-const locale = {
-  name: 'eu',
-  messages,
-  attributes: {}
-};
-
-if (isDefinedGlobally()) {
-  // eslint-disable-next-line
-  VeeValidate.Validator.addLocale(locale);
-}
-
-export default locale;
diff --git a/locale/id.js b/locale/id.js
index 0c921998..ab473e7d 100644
--- a/locale/id.js
+++ b/locale/id.js
@@ -1,16 +1,13 @@
 import { formatFileSize, isDefinedGlobally } from './utils';
 
 const messages = {
-  _default: (field) => `Nilai ${field} tidak sah.`,
   after: (field, [target]) => `${field} harus sebelum ${target}.`,
   alpha_dash: (field) => `${field} boleh mengandung karakter alfanumerik, tanda hubung, dan garis bawah.`,
   alpha_num: (field) => `${field} hanya boleh mengandung karakter alfanumerik.`,
-  alpha_spaces: (field) => `${field} hanya boleh berisi karakter alfabet serta spasi.`,
   alpha: (field) => `${field} hanya boleh mengandung karakter alfabet.`,
   before: (field, [target]) => `${field} harus setelah ${target}.`,
   between: (field, [min, max]) => `${field} harus di antara ${min} dan ${max}.`,
   confirmed: (field, [confirmedField]) => `${field} tidak cocok dengan ${confirmedField}.`,
-  credit_card: (field) => `${field} tidak sah.`,
   date_between: (field, [min, max]) => `${field} harus di antara ${min} dan ${max}.`,
   date_format: (field, [format]) => `${field} harus dalam format ${format}.`,
   decimal: (field, [decimals] = ['*']) => `${field} harus berupa angka dan boleh mengandung ${decimals === '*' ? '' : decimals} titik desimal.`,
@@ -20,15 +17,7 @@ const messages = {
   ext: (field) => `${field} harus berupa berkas yang benar.`,
   image: (field) => `${field} harus berupa gambar.`,
   in: (field) => `${field} harus berupa nilai yang sah.`,
-  integer: (field) => `${field} harus berupa bilangan bulat.`,
   ip: (field) => `${field} harus berupa alamat ip yang sah.`,
-  length: (field, [length, max]) => {
-    if (max) {
-      return `Panjang ${field} harus di antara ${length} dan ${max}.`;
-    }
-
-    return `Panjang ${field} harus tepat ${length}.`;
-  },
   max: (field, [length]) => `${field} tidak boleh lebih dari ${length} karakter.`,
   max_value: (field, [size]) => `Nilai ${field} tidak boleh lebih dari ${size}.`,
   mimes: (field) => `Tipe berkas ${field} harus benar.`,
diff --git a/locale/nl.js b/locale/nl.js
index fdaa6798..dfed95e1 100644
--- a/locale/nl.js
+++ b/locale/nl.js
@@ -3,7 +3,7 @@ import { formatFileSize, isDefinedGlobally } from './utils';
 const messages = {
   _default: (field) => `${field} waarde is ongeldig.`,
   after: (field, [target, inclusion]) => `${field} moet later zijn dan ${inclusion ? 'of gelijk aan ' : ''}${target}.`,
-  alpha_dash: (field) => `${field} mag alleen letters, nummers, en streepjes bevatten.`,
+  alpha_dash: (field) => `${field} mag alleen letters, nummers, en strepen bevatten.`,
   alpha_num: (field) => `${field} mag alleen letters en nummers bevatten.`,
   alpha_spaces: (field) => `${field} mag alleen letters en spaties bevatten.`,
   alpha: (field) => `${field} mag alleen letters bevatten.`,
@@ -20,9 +20,9 @@ const messages = {
   ext: (field) => `${field} moet een geldig bestand zijn.`,
   image: (field) => `${field} moet een afbeelding zijn.`,
   in: (field) => `${field} moet een geldige waarde zijn.`,
-  ip: (field) => `${field} moet een geldig IP-adres zijn.`,
+  ip: (field) => `${field} moet een geldig ip adres zijn.`,
   max: (field, [length]) => `${field} mag niet groter zijn dan ${length} karakters.`,
-  max_value: (field, [max]) => `${field} mag maximaal ${max} zijn.`,
+  max_value: (field, [max]) => `${field} moet maximaal ${max} zijn.`,
   mimes: (field) => `${field} moet een geldig bestandstype hebben.`,
   min: (field, [length]) => `${field} moet minimaal ${length} karakters zijn.`,
   min_value: (field, [min]) => `${field} moet minimaal ${min} zijn.`,
diff --git a/src/core/field.js b/src/core/field.js
index 93c8c248..e84a2e20 100644
--- a/src/core/field.js
+++ b/src/core/field.js
@@ -219,8 +219,9 @@ export default class Field {
 
     this.addActionListeners();
     this.updateClasses();
-    this.updateAriaAttrs();
-    this.updateCustomValidity();
+    if (this.validator.errors && isCallable(this.validator.errors.removeById)) {
+      this.validator.errors.removeById(this.id);
+    }
   }
 
   /**
diff --git a/src/core/utils/date.js b/src/core/utils/date.js
index 3b8e6344..e923c9dd 100644
--- a/src/core/utils/date.js
+++ b/src/core/utils/date.js
@@ -5,11 +5,7 @@ import { parse, isValid, format as formatDate } from 'date-fns';
 /**
  * Custom parse behavior on top of date-fns parse function.
  */
-export function parseDate (date: string | Date, format: string): ?Date {
-  if (typeof date !== 'string') {
-    return isValid(date) ? date : null;
-  }
-
+export function parseDate (date: string, format: string): ?Date {
   const parsed = parse(date, format, new Date());
 
   // if date is not valid or the formatted output after parsing does not match


Test patch:
diff --git a/tests/field.js b/tests/field.js
index a334c4cd..5e9ac53d 100644
--- a/tests/field.js
+++ b/tests/field.js
@@ -538,9 +538,6 @@ test('set field custom validity if possible', () => {
 });
 
 test('resets field state', () => {
-  const el = document.createElement('input');
-  el.type = 'text';
-  el.name = 'field';
   const vm = {
     $validator: {
       errors: {
@@ -548,13 +545,12 @@ test('resets field state', () => {
       }
     }
   };
-  const field = new Field(el, { vm });
+  const field = new Field(null, { vm });
   field.flags.valid = true;
-  field.el.setAttribute('aria-invalid', 'true');
 
   field.reset();
   expect(field.flags.valid).toBe(null);
-  expect(field.el.getAttribute('aria-invalid')).toBe('false');
+  expect(vm.$validator.errors.removeById).toHaveBeenCalledWith(field.id);
 });
 
 test('sets the field flags', () => {
diff --git a/tests/utils.js b/tests/utils.js
index 8d037ff1..70c4c0c5 100644
--- a/tests/utils.js
+++ b/tests/utils.js
@@ -1,5 +1,4 @@
 import * as utils from '../src/core/utils';
-import * as dateUtils from '../src/core/utils/date';
 import * as i18Utils from '../locale/utils';
 
 test('gets the data attribute prefixed with the plugin', () => {
@@ -374,20 +373,4 @@ test('creates a proxy if available', () => {
 
   // returns the same object if no proxy is detected.
   expect(utils.createProxy(obj, handler)  === obj).toBe(false);
-});
-
-describe('pareses date values', () => {
-  const format = 'DD-MM-YYYY';
-
-  test('parses string formatted dates without allowing overflows', () => {
-    expect(dateUtils.parseDate('11-12-2016', format)).toBeTruthy();
-    expect(dateUtils.parseDate('11-13-2016', format)).toBe(null);
-  });
-
-  test('date objects are checked if they are valid', () => {
-    expect(dateUtils.parseDate(new Date(2017, 12, 11), format)).toBeTruthy();
-    expect(dateUtils.parseDate(new Date(2017, 13, 11), format)).toBeTruthy();
-    expect(dateUtils.parseDate(Date.parse('foo'), format)).toBe(null);
-  });
-
-});
+});
\ No newline at end of file