@webitel/ui-sdk 25.6.21 → 25.6.23
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/types/enums/WebitelApplications/AdminSections.d.ts +1 -0
- package/dist/types/enums/WtObject/WtObject.d.ts +1 -0
- package/package.json +2 -2
- package/src/enums/WebitelApplications/AdminSections.ts +1 -0
- package/src/enums/WtObject/WtObject.ts +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/Userinfo/classes/ApplicationsAccess.js +4 -0
- package/src/modules/Userinfo/v2/mappings/mappings.ts +1 -0
|
@@ -41,5 +41,6 @@ export declare const AdminSections: {
|
|
|
41
41
|
readonly Triggers: "triggers";
|
|
42
42
|
readonly Users: "users";
|
|
43
43
|
readonly WorkingConditions: "working-conditions";
|
|
44
|
+
readonly QuickReplies: "quick-replies";
|
|
44
45
|
};
|
|
45
46
|
export type AdminSections = (typeof AdminSections)[keyof typeof AdminSections];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.6.
|
|
3
|
+
"version": "25.6.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run docs:dev",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@vuelidate/validators": "^2.0.4",
|
|
87
87
|
"@vuepic/vue-datepicker": "^4.5.1",
|
|
88
88
|
"@vueuse/components": "^13.0.0",
|
|
89
|
-
"@webitel/api-services": "^0.0.
|
|
89
|
+
"@webitel/api-services": "^0.0.14",
|
|
90
90
|
"@webitel/styleguide": "^24.12.26",
|
|
91
91
|
"autosize": "^6.0.1",
|
|
92
92
|
"axios": "^1.8.3",
|
package/src/locale/en/en.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
|
@@ -334,6 +334,7 @@ export default {
|
|
|
334
334
|
[AdminSections.Changelogs]: 'Журнал изменений',
|
|
335
335
|
[AdminSections.Configuration]: 'Конфигурация',
|
|
336
336
|
[AdminSections.GlobalVariables]: 'Глобальные переменные',
|
|
337
|
+
[AdminSections.QuickReplies]: 'Быстрые ответы',
|
|
337
338
|
},
|
|
338
339
|
},
|
|
339
340
|
},
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -121,6 +121,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
121
121
|
_enabled: value,
|
|
122
122
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSectionsNew.WorkingConditions}`,
|
|
123
123
|
},
|
|
124
|
+
[AdminSections.QUICK_REPLIES]: {
|
|
125
|
+
_enabled: value,
|
|
126
|
+
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSectionsNew.QuickReplies}`,
|
|
127
|
+
},
|
|
124
128
|
[AdminSections.AGENTS]: {
|
|
125
129
|
_enabled: value,
|
|
126
130
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSectionsNew.Agents}`,
|
|
@@ -131,6 +131,7 @@ export const mapWtObjectToUiSection: Record<
|
|
|
131
131
|
[WtObject.PauseTemplate]: AdminSections.PauseTemplates,
|
|
132
132
|
[WtObject.WorkingCondition]: AdminSections.WorkingConditions,
|
|
133
133
|
[WtObject.Member]: AdminSections.Members,
|
|
134
|
+
[WtObject.QuickReply]: AdminSections.QuickReplies,
|
|
134
135
|
},
|
|
135
136
|
|
|
136
137
|
// Auditor sections
|