vee-validate 3.4.5 → 3.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/dist/locale/ar.json +1 -1
- package/dist/locale/es.json +3 -1
- package/dist/locale/fa.json +2 -0
- package/dist/rules.js +129 -124
- package/dist/rules.umd.js +129 -124
- package/dist/rules.umd.min.js +6 -1
- package/dist/types/components/Observer.d.ts +2 -1
- package/dist/types/components/Provider.d.ts +1 -0
- package/dist/types/types.d.ts +1 -0
- package/dist/types/utils/assertions.d.ts +0 -4
- package/dist/vee-validate.esm.js +85 -44
- package/dist/vee-validate.full.esm.js +216 -171
- package/dist/vee-validate.full.js +216 -171
- package/dist/vee-validate.full.min.js +6 -1
- package/dist/vee-validate.js +85 -44
- package/dist/vee-validate.min.js +20 -1
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="https://
|
|
3
|
-
<img width="200" src="https://github.com/logaretm/vee-validate/blob/
|
|
2
|
+
<a href="https://vee-validate.logaretm.com/v3" target="_blank">
|
|
3
|
+
<img width="200" src="https://github.com/logaretm/vee-validate/blob/v3/logo.png">
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
|
|
9
|
-
[](https://codecov.io/gh/logaretm/vee-validate)
|
|
10
10
|
[](https://travis-ci.org/logaretm/vee-validate)
|
|
11
11
|
[](https://cdnjs.com/libraries/vee-validate/)
|
|
12
12
|
[](https://npm-stat.com/charts.html?package=vee-validate)
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
vee-validate is a template-based validation framework for [Vue.js](https://vuejs.org/) that allows you to validate inputs and display errors.
|
|
22
22
|
|
|
23
|
-
Being template-based you only need to specify for each input what kind of validators should be used when the value changes. The errors will be automatically generated with 40+ locales supported. [Many rules are available out of the box](https://
|
|
23
|
+
Being template-based you only need to specify for each input what kind of validators should be used when the value changes. The errors will be automatically generated with 40+ locales supported. [Many rules are available out of the box](https://vee-validate.logaretm.com/v3/guide/rules.html).
|
|
24
24
|
|
|
25
25
|
This plugin is inspired by [PHP Framework Laravel's validation](https://laravel.com/).
|
|
26
26
|
|
|
@@ -131,11 +131,11 @@ The validation provider accepts two props: `rules` which is in its simplest form
|
|
|
131
131
|
|
|
132
132
|
and That's it, your input will be validated automatically, notice that the `ValidationProvider` uses [scoped slots](https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots) to pass down validation state and results.
|
|
133
133
|
|
|
134
|
-
There is more that can be done! You can customize events, validate initial values, manually validate or reset the field and much more. Make sure to [read the docs](https://logaretm.
|
|
134
|
+
There is more that can be done! You can customize events, validate initial values, manually validate or reset the field and much more. Make sure to [read the docs](https://vee-validate.logaretm.com/v3).
|
|
135
135
|
|
|
136
136
|
### Documentation
|
|
137
137
|
|
|
138
|
-
Read the [documentation and demos](https://
|
|
138
|
+
Read the [documentation and demos](https://vee-validate.logaretm.com/v3/).
|
|
139
139
|
|
|
140
140
|
### Compatibility
|
|
141
141
|
|
|
@@ -149,15 +149,15 @@ You are welcome to contribute to this project, but before you do, please make su
|
|
|
149
149
|
|
|
150
150
|
#### Docs Highlights
|
|
151
151
|
|
|
152
|
-
- [Backend and Server Side Validation](https://
|
|
153
|
-
- [Localization (i18n)](https://
|
|
154
|
-
- [Handling Forms](https://
|
|
155
|
-
- [UI Libraries Validation Samples](https://
|
|
156
|
-
- [Vuetify](https://
|
|
157
|
-
- [Quasar](https://
|
|
158
|
-
- [BootstrapVue](https://
|
|
159
|
-
- [Buefy](https://
|
|
160
|
-
- [Ant Design](https://
|
|
152
|
+
- [Backend and Server Side Validation](https://vee-validate.logaretm.com/v3/advanced/server-side-validation.html)
|
|
153
|
+
- [Localization (i18n)](https://vee-validate.logaretm.com/v3/guide/localization.html)
|
|
154
|
+
- [Handling Forms](https://vee-validate.logaretm.com/v3/guide/forms.html)
|
|
155
|
+
- [UI Libraries Validation Samples](https://vee-validate.logaretm.com/v3/guide/3rd-party-libraries.html)
|
|
156
|
+
- [Vuetify](https://vee-validate.logaretm.com/v3/guide/3rd-party-libraries.html#vuetify)
|
|
157
|
+
- [Quasar](https://vee-validate.logaretm.com/v3/guide/3rd-party-libraries.html#quasar)
|
|
158
|
+
- [BootstrapVue](https://vee-validate.logaretm.com/v3/guide/3rd-party-libraries.html#bootstrapvue)
|
|
159
|
+
- [Buefy](https://vee-validate.logaretm.com/v3/guide/3rd-party-libraries.html#buefy)
|
|
160
|
+
- [Ant Design](https://vee-validate.logaretm.com/v3/guide/3rd-party-libraries.html#ant-design)
|
|
161
161
|
|
|
162
162
|
### Credits
|
|
163
163
|
|
package/dist/locale/ar.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"image": "{_field_} يجب ان تكون صورة",
|
|
16
16
|
"integer": "الحقل {_field_} يجب ان يكون عدداً صحيحاً",
|
|
17
17
|
"length": "حقل {_field_} يجب الا يزيد عن {length}",
|
|
18
|
-
"max_value": "قيمة الحقل {_field_} يجب ان تكون اصغر من {
|
|
18
|
+
"max_value": "قيمة الحقل {_field_} يجب ان تكون اصغر من {max} او تساويها",
|
|
19
19
|
"max": "الحقل {_field_} يجب ان يحتوي على {length} حروف على الأكثر",
|
|
20
20
|
"mimes": "نوع ملف {_field_} غير صحيح",
|
|
21
21
|
"min_value": "قيمة الحقل {_field_} يجب ان تكون اكبر من {min} او تساويها",
|
package/dist/locale/es.json
CHANGED
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"required": "El campo {_field_} es obligatorio",
|
|
27
27
|
"required_if": "El campo {_field_} es obligatorio",
|
|
28
28
|
"size": "El campo {_field_} debe ser menor a {size}KB",
|
|
29
|
-
"double": "El campo {_field_} debe ser un decimal válido"
|
|
29
|
+
"double": "El campo {_field_} debe ser un decimal válido",
|
|
30
|
+
"is": "El campo {_field_} no coincide con {other}",
|
|
31
|
+
"is_not": "El campo {_field_} debe ser diferente a {other}"
|
|
30
32
|
}
|
|
31
33
|
}
|
package/dist/locale/fa.json
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"excluded": "{_field_}باید یک مقدار معتبر باشد",
|
|
14
14
|
"ext": "{_field_} باید یک فایل معتبر باشد",
|
|
15
15
|
"image": "{_field_} باید یک تصویر باشد",
|
|
16
|
+
"integer": "{_field_} باید یک عدد صحیح باشد",
|
|
17
|
+
"length": "{_field_} باید دقیقا {length} کاراکتر باشد",
|
|
16
18
|
"max_value": "مقدار {_field_} باید {max} یا کمتر باشد",
|
|
17
19
|
"max": "{_field_} نباید بیشتر از {length} کارکتر باشد",
|
|
18
20
|
"mimes": "{_field_} باید از نوع معتبر باشد",
|