@webitel/ui-sdk 1.0.38 → 1.0.41
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/ui-sdk.common.js +10 -10
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +10 -10
- 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/molecules/wt-select/wt-select.vue +2 -2
- package/src/locale/en/en.js +1 -1
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<template slot="singleLabel" slot-scope="{ option }">
|
|
48
48
|
<slot name="singleLabel" v-bind="{ option, optionLabel }">
|
|
49
49
|
<span class="multiselect__single-label">
|
|
50
|
-
{{ option[optionLabel] || option }}
|
|
50
|
+
{{ $te(option.locale) ? $t(option.locale) : (option[optionLabel] || option) }}
|
|
51
51
|
</span>
|
|
52
52
|
</slot>
|
|
53
53
|
</template>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<template slot="option" slot-scope="{ option }">
|
|
57
57
|
<slot name="option" v-bind="{ option, optionLabel }">
|
|
58
58
|
<span>
|
|
59
|
-
{{ option[optionLabel] || option }}
|
|
59
|
+
{{ $te(option.locale) ? $t(option.locale) : (option[optionLabel] || option) }}
|
|
60
60
|
</span>
|
|
61
61
|
</slot>
|
|
62
62
|
</template>
|
package/src/locale/en/en.js
CHANGED
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
[AdminSections.RESOURCE_GROUPS]: 'Resource groups',
|
|
131
131
|
[AdminSections.QUEUES]: 'Queues',
|
|
132
132
|
[AdminSections.STORAGE]: 'Storage',
|
|
133
|
-
[AdminSections.
|
|
133
|
+
[AdminSections.COGNITIVE_PROFILES]: 'Cognitive profiles',
|
|
134
134
|
[AdminSections.MEDIA]: 'Media',
|
|
135
135
|
[AdminSections.BLACKLIST]: 'Call lists',
|
|
136
136
|
[AdminSections.ROLES]: 'Roles',
|
|
@@ -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}`,
|