@webitel/ui-sdk 0.8.49 → 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.49",
3
+ "version": "0.8.53",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -17,6 +17,7 @@ export default {
17
17
  delete: 'Delete',
18
18
  search: 'Search',
19
19
  open: 'Open',
20
+ name: 'Name',
20
21
  lang: {
21
22
  en: 'English',
22
23
  ru: 'Русский',
@@ -91,6 +92,8 @@ export default {
91
92
  maxValue: 'Value should be not much than',
92
93
  sameAs: 'Incorrect password',
93
94
  requiredArrayValue: 'Array should not be empty',
95
+ minLength: 'Quantity of characters should not be less than',
96
+ url: 'Should look like url',
94
97
  },
95
98
  webitelUI: {
96
99
  timepicker: {
@@ -7,7 +7,7 @@ export default {
7
7
  reusable: {
8
8
  total: 'Всего',
9
9
  ok: 'Ок',
10
- Save: 'Сохранить',
10
+ save: 'Сохранить',
11
11
  close: 'Закрыть',
12
12
  add: 'Добавить',
13
13
  cancel: 'Отменить',
@@ -17,6 +17,7 @@ export default {
17
17
  delete: 'Удалить',
18
18
  search: 'Поиск',
19
19
  open: 'Открыть',
20
+ name: 'Имя',
20
21
  lang: {
21
22
  en: 'English',
22
23
  ru: 'Русский',
@@ -89,6 +90,8 @@ export default {
89
90
  maxValue: 'Значение должно быть не больше',
90
91
  sameAs: 'Неверный пароль',
91
92
  requiredArrayValue: 'Поле не должно быть пустым',
93
+ minLength: 'Количество символов не должно быть меньше, чем',
94
+ url: 'Необходимо ввести корректный url-адрес',
92
95
  },
93
96
  webitelUI: {
94
97
  timepicker: {
@@ -7,7 +7,7 @@ export default {
7
7
  reusable: {
8
8
  total: 'Всього',
9
9
  ok: 'Ок',
10
- Save: 'Зберегти',
10
+ save: 'Зберегти',
11
11
  close: 'Закрити',
12
12
  add: 'Додати',
13
13
  cancel: 'Відмінити',
@@ -17,6 +17,7 @@ export default {
17
17
  delete: 'Видалити',
18
18
  search: 'Пошук',
19
19
  open: 'Відкрити',
20
+ name: 'Ім\'я',
20
21
  lang: {
21
22
  en: 'English',
22
23
  ru: 'Русский',
@@ -89,6 +90,8 @@ export default {
89
90
  maxValue: 'Значення повинно бути не більше',
90
91
  sameAs: 'Неправильний пароль',
91
92
  requiredArrayValue: 'Поле не повинно бути пустим',
93
+ minLength: 'Кількість символів повинна бути не меншою, ніж',
94
+ url: 'Необхідно ввести правильну url-адресу',
92
95
  },
93
96
  webitelUI: {
94
97
  timepicker: {
@@ -27,6 +27,8 @@ export default {
27
27
  if (this.v.minValue === false) return `${this.$t('validation.minValue')} ${this.v.$params.minValue.min}`;
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
+ 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')}`;
30
32
  }
31
33
  // eslint-disable-next-line no-restricted-syntax
32
34
  for (const { name, text } of this.customValidators) {