@webitel/ui-sdk 2.0.17 → 2.0.21
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/dist/img/sprite/index.js +1 -1
- package/dist/img/sprite/telegram-bot.svg +7 -0
- package/dist/ui-sdk.common.js +10 -8
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +10 -8
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/wt-rounded-action/wt-rounded-action.vue +1 -0
- package/src/enums/WebitelApplications/AdminSections.enum.js +1 -0
- package/src/locale/en/en.js +2 -0
- package/src/locale/ru/ru.js +2 -0
- package/src/locale/ua/ua.js +2 -0
- package/src/modules/CSVExport/mixins/exportCSVMixin.js +1 -1
- package/src/modules/QueryFilters/classes/ApiFilterSchema.js +1 -1
- package/src/modules/QueryFilters/classes/__tests__/ApiFilterSchema.spec.js +1 -1
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
package/package.json
CHANGED
|
@@ -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
|
package/src/locale/en/en.js
CHANGED
|
@@ -55,6 +55,7 @@ export default {
|
|
|
55
55
|
time: 'Time',
|
|
56
56
|
channel: 'Channel',
|
|
57
57
|
file: 'File',
|
|
58
|
+
logout: 'Logout',
|
|
58
59
|
},
|
|
59
60
|
// date-related texts
|
|
60
61
|
date: {
|
|
@@ -155,6 +156,7 @@ export default {
|
|
|
155
156
|
[AdminSections.STORAGE]: 'Storage',
|
|
156
157
|
[AdminSections.COGNITIVE_PROFILES]: 'Cognitive profiles',
|
|
157
158
|
[AdminSections.EMAIL_PROFILES]: 'Email profiles',
|
|
159
|
+
[AdminSections.IMPORT_CSV]: 'Import data from CSV file',
|
|
158
160
|
[AdminSections.MEDIA]: 'Media',
|
|
159
161
|
[AdminSections.BLACKLIST]: 'Call lists',
|
|
160
162
|
[AdminSections.ROLES]: 'Roles',
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -54,6 +54,7 @@ export default {
|
|
|
54
54
|
time: 'Время',
|
|
55
55
|
channel: 'Канал',
|
|
56
56
|
file: 'Файл',
|
|
57
|
+
logout: 'Выйти',
|
|
57
58
|
},
|
|
58
59
|
// date-related texts
|
|
59
60
|
date: {
|
|
@@ -154,6 +155,7 @@ export default {
|
|
|
154
155
|
[AdminSections.STORAGE]: 'Хранилища',
|
|
155
156
|
[AdminSections.COGNITIVE_PROFILES]: 'Языковые профили',
|
|
156
157
|
[AdminSections.EMAIL_PROFILES]: 'Email профили',
|
|
158
|
+
[AdminSections.IMPORT_CSV]: 'Импорт данных из CSV файла',
|
|
157
159
|
[AdminSections.ROLES]: 'Роли',
|
|
158
160
|
[AdminSections.OBJECTS]: 'Разделы',
|
|
159
161
|
},
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -54,6 +54,7 @@ export default {
|
|
|
54
54
|
time: 'Час',
|
|
55
55
|
channel: 'Канал',
|
|
56
56
|
file: 'Файл',
|
|
57
|
+
logout: 'Вийти',
|
|
57
58
|
},
|
|
58
59
|
// date-related texts
|
|
59
60
|
date: {
|
|
@@ -154,6 +155,7 @@ export default {
|
|
|
154
155
|
[AdminSections.STORAGE]: 'Сховища',
|
|
155
156
|
[AdminSections.COGNITIVE_PROFILES]: 'Мовні профілі',
|
|
156
157
|
[AdminSections.EMAIL_PROFILES]: 'Email профілі',
|
|
158
|
+
[AdminSections.IMPORT_CSV]: 'Імпорт даних з CSV файлу',
|
|
157
159
|
[AdminSections.ROLES]: 'Ролі',
|
|
158
160
|
[AdminSections.OBJECTS]: 'Розділи',
|
|
159
161
|
},
|
|
@@ -17,7 +17,7 @@ describe('Api Filter Schema', () => {
|
|
|
17
17
|
});
|
|
18
18
|
it('calls API getList() method at fetchSelected()', () => {
|
|
19
19
|
const idsList = [1];
|
|
20
|
-
const expectedParams = { size: 1,
|
|
20
|
+
const expectedParams = { size: 1, id: [1] };
|
|
21
21
|
const filter = new ApiFilterSchema({ API: APIMock });
|
|
22
22
|
filter.fetchSelected(idsList);
|
|
23
23
|
expect(APIMock).toHaveBeenCalledWith(expectedParams);
|
|
@@ -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}`,
|