@webitel/ui-sdk 0.8.52 → 0.8.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "0.8.52",
3
+ "version": "0.8.53",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -93,6 +93,7 @@ export default {
93
93
  sameAs: 'Incorrect password',
94
94
  requiredArrayValue: 'Array should not be empty',
95
95
  minLength: 'Quantity of characters should not be less than',
96
+ url: 'Should look like url',
96
97
  },
97
98
  webitelUI: {
98
99
  timepicker: {
@@ -91,6 +91,7 @@ export default {
91
91
  sameAs: 'Неверный пароль',
92
92
  requiredArrayValue: 'Поле не должно быть пустым',
93
93
  minLength: 'Количество символов не должно быть меньше, чем',
94
+ url: 'Необходимо ввести корректный url-адрес',
94
95
  },
95
96
  webitelUI: {
96
97
  timepicker: {
@@ -91,6 +91,7 @@ export default {
91
91
  sameAs: 'Неправильний пароль',
92
92
  requiredArrayValue: 'Поле не повинно бути пустим',
93
93
  minLength: 'Кількість символів повинна бути не меншою, ніж',
94
+ url: 'Необхідно ввести правильну url-адресу',
94
95
  },
95
96
  webitelUI: {
96
97
  timepicker: {
@@ -28,6 +28,7 @@ export default {
28
28
  if (this.v.maxValue === false) return `${this.$t('validation.maxValue')} ${this.v.$params.maxValue.max}`;
29
29
  if (this.v.sipAccountValidator === false) return this.$t('validation.sipAccountValidator');
30
30
  if (this.v.minLength === false) return `${this.$t('validation.minLength')} ${this.v.$params.minLength.min}`;
31
+ if (this.v.url === false) return `${this.$t('validation.url')}`;
31
32
  }
32
33
  // eslint-disable-next-line no-restricted-syntax
33
34
  for (const { name, text } of this.customValidators) {