@webitel/ui-sdk 2.0.17 → 2.0.19

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": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve-lib": "vue-cli-service serve",
@@ -52,6 +52,7 @@ export default {
52
52
  iColor() {
53
53
  if (this.iconColor) return this.iconColor;
54
54
  if (this.disabled) return 'secondary-50';
55
+ if (this.color === 'secondary') return null; // dont change icon color
55
56
  return this.color;
56
57
  },
57
58
  },
@@ -35,6 +35,7 @@ const AdminSections = Object.freeze({
35
35
  STORAGE: 'storage', // scope: storage_profile
36
36
  COGNITIVE_PROFILES: 'cognitive-profiles', // scope: cognitive_profile
37
37
  EMAIL_PROFILES: 'email-profiles', // scope: email_profile
38
+ IMPORT_CSV: 'import-csv',
38
39
 
39
40
  // PERMISSIONS
40
41
  OBJECTS: 'objects', // permissions: add
@@ -155,6 +155,7 @@ export default {
155
155
  [AdminSections.STORAGE]: 'Storage',
156
156
  [AdminSections.COGNITIVE_PROFILES]: 'Cognitive profiles',
157
157
  [AdminSections.EMAIL_PROFILES]: 'Email profiles',
158
+ [AdminSections.IMPORT_CSV]: 'Import data from CSV file',
158
159
  [AdminSections.MEDIA]: 'Media',
159
160
  [AdminSections.BLACKLIST]: 'Call lists',
160
161
  [AdminSections.ROLES]: 'Roles',
@@ -154,6 +154,7 @@ export default {
154
154
  [AdminSections.STORAGE]: 'Хранилища',
155
155
  [AdminSections.COGNITIVE_PROFILES]: 'Языковые профили',
156
156
  [AdminSections.EMAIL_PROFILES]: 'Email профили',
157
+ [AdminSections.IMPORT_CSV]: 'Импорт данных из CSV файла',
157
158
  [AdminSections.ROLES]: 'Роли',
158
159
  [AdminSections.OBJECTS]: 'Разделы',
159
160
  },
@@ -154,6 +154,7 @@ export default {
154
154
  [AdminSections.STORAGE]: 'Сховища',
155
155
  [AdminSections.COGNITIVE_PROFILES]: 'Мовні профілі',
156
156
  [AdminSections.EMAIL_PROFILES]: 'Email профілі',
157
+ [AdminSections.IMPORT_CSV]: 'Імпорт даних з CSV файлу',
157
158
  [AdminSections.ROLES]: 'Ролі',
158
159
  [AdminSections.OBJECTS]: 'Розділи',
159
160
  },
@@ -132,6 +132,10 @@ const applicationsAccess = (value = true) => ({
132
132
  _enabled: value,
133
133
  _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.EMAIL_PROFILES}`,
134
134
  },
135
+ [AdminSections.IMPORT_CSV]: {
136
+ _enabled: value,
137
+ _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.IMPORT_CSV}`,
138
+ },
135
139
  [AdminSections.ROLES]: {
136
140
  _enabled: value,
137
141
  _locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.ROLES}`,