@webitel/ui-sdk 1.0.36 → 1.0.39
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 +1 -1
- package/src/enums/WebitelApplications/AdminSections.enum.js +1 -0
- package/src/locale/en/en.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/ua/ua.js +1 -0
- package/src/modules/CSVExport/CSVExport.js +1 -1
- package/src/modules/CSVExport/__tests__/CSVExport.spec.js +1 -1
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
package/package.json
CHANGED
package/src/locale/en/en.js
CHANGED
|
@@ -130,6 +130,7 @@ export default {
|
|
|
130
130
|
[AdminSections.RESOURCE_GROUPS]: 'Resource groups',
|
|
131
131
|
[AdminSections.QUEUES]: 'Queues',
|
|
132
132
|
[AdminSections.STORAGE]: 'Storage',
|
|
133
|
+
[AdminSections.STORAGE]: 'Cognitive profiles',
|
|
133
134
|
[AdminSections.MEDIA]: 'Media',
|
|
134
135
|
[AdminSections.BLACKLIST]: 'Call lists',
|
|
135
136
|
[AdminSections.ROLES]: 'Roles',
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -130,6 +130,7 @@ export default {
|
|
|
130
130
|
[AdminSections.RESOURCE_GROUPS]: 'Группы ресурсов',
|
|
131
131
|
[AdminSections.QUEUES]: 'Очереди',
|
|
132
132
|
[AdminSections.STORAGE]: 'Хранилища',
|
|
133
|
+
[AdminSections.COGNITIVE_PROFILES]: 'Языковые профили',
|
|
133
134
|
[AdminSections.ROLES]: 'Роли',
|
|
134
135
|
[AdminSections.OBJECTS]: 'Разделы',
|
|
135
136
|
},
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -130,6 +130,7 @@ export default {
|
|
|
130
130
|
[AdminSections.RESOURCE_GROUPS]: 'Групи ресурсів',
|
|
131
131
|
[AdminSections.QUEUES]: 'Черги',
|
|
132
132
|
[AdminSections.STORAGE]: 'Сховища',
|
|
133
|
+
[AdminSections.COGNITIVE_PROFILES]: 'Мовні профілі',
|
|
133
134
|
[AdminSections.ROLES]: 'Ролі',
|
|
134
135
|
[AdminSections.OBJECTS]: 'Розділи',
|
|
135
136
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowMount } from '@vue/test-utils';
|
|
2
2
|
import * as fileSaver from 'file-saver';
|
|
3
|
-
import
|
|
3
|
+
import stringify from 'csv-stringify/lib/sync';
|
|
4
4
|
import CSVExportMixin from '../mixins/exportCSVMixin';
|
|
5
5
|
import '../../../../tests/mocks/localStorageMock';
|
|
6
6
|
|
|
@@ -124,6 +124,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
124
124
|
_enabled: value,
|
|
125
125
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.STORAGE}`,
|
|
126
126
|
},
|
|
127
|
+
[AdminSections.COGNITIVE_PROFILES]: {
|
|
128
|
+
_enabled: value,
|
|
129
|
+
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.COGNITIVE_PROFILES}`,
|
|
130
|
+
},
|
|
127
131
|
[AdminSections.ROLES]: {
|
|
128
132
|
_enabled: value,
|
|
129
133
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.ROLES}`,
|