@webitel/ui-sdk 3.0.2 → 3.0.4
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 +44 -41
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +47 -44
- 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-datepicker/wt-datepicker.vue +2 -2
- package/src/components/molecules/wt-select/wt-select.vue +1 -1
- package/src/components/organisms/wt-table-column-select/wt-table-column-select.vue +3 -3
- package/src/enums/WebitelApplications/AuditorSections.enum.js +5 -0
- package/src/locale/en/en.js +8 -1
- package/src/locale/ru/ru.js +8 -1
- package/src/locale/ua/ua.js +8 -1
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +10 -0
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
monday-first
|
|
18
18
|
@input="$emit('change', $event.getTime())"
|
|
19
19
|
>
|
|
20
|
-
<template slot
|
|
20
|
+
<template v-slot:afterDateInput>
|
|
21
21
|
<wt-icon
|
|
22
22
|
:color="disabled ? 'disabled' : 'default'"
|
|
23
23
|
class="wt-datepicker__calendar-icon"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
icon="arrow-down"
|
|
30
30
|
></wt-icon>
|
|
31
31
|
</template>
|
|
32
|
-
<template slot
|
|
32
|
+
<template v-slot:beforeCalendarHeader>
|
|
33
33
|
<wt-icon
|
|
34
34
|
class="wt-datepicker__month-arrow wt-datepicker__month-arrow--left"
|
|
35
35
|
icon="arrow-left"
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
class="wt-table-column-select__popup"
|
|
15
15
|
@close="close"
|
|
16
16
|
>
|
|
17
|
-
<template slot
|
|
17
|
+
<template v-slot:title>
|
|
18
18
|
{{ $t('webitelUI.tableColumnSelect.title') }}
|
|
19
19
|
</template>
|
|
20
|
-
<template slot
|
|
20
|
+
<template v-slot:main>
|
|
21
21
|
<ul class="wt-table-column-select__popup__list">
|
|
22
22
|
<li
|
|
23
23
|
v-for="(col, key) of changeableDraft"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</li>
|
|
30
30
|
</ul>
|
|
31
31
|
</template>
|
|
32
|
-
<template slot
|
|
32
|
+
<template v-slot:actions>
|
|
33
33
|
<wt-button
|
|
34
34
|
@click="setShownColumns"
|
|
35
35
|
>{{ $t('reusable.add') }}
|
package/src/locale/en/en.js
CHANGED
|
@@ -9,6 +9,8 @@ import { QueueType } from 'webitel-sdk/esm2015/enums';
|
|
|
9
9
|
import AdminSections from '../../enums/WebitelApplications/AdminSections.enum';
|
|
10
10
|
import SupervisorSections from '../../enums/WebitelApplications/SupervisorSections.enum';
|
|
11
11
|
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
12
|
+
import AuditorSections
|
|
13
|
+
from '../../enums/WebitelApplications/AuditorSections.enum';
|
|
12
14
|
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
13
15
|
|
|
14
16
|
export default {
|
|
@@ -141,7 +143,12 @@ export default {
|
|
|
141
143
|
// describes Webitel FRONTEND applications + their navs
|
|
142
144
|
WebitelApplications: {
|
|
143
145
|
[WebitelApplications.AGENT]: { name: 'Agent Workspace' },
|
|
144
|
-
[WebitelApplications.AUDIT]: {
|
|
146
|
+
[WebitelApplications.AUDIT]: {
|
|
147
|
+
name: 'Audit',
|
|
148
|
+
section: {
|
|
149
|
+
[AuditorSections.SCORECARDS]: 'Scorecards',
|
|
150
|
+
},
|
|
151
|
+
},
|
|
145
152
|
[WebitelApplications.HISTORY]: { name: 'Call History' },
|
|
146
153
|
[WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
|
|
147
154
|
[WebitelApplications.SUPERVISOR]: {
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -8,6 +8,8 @@ import { QueueType } from 'webitel-sdk/esm2015/enums';
|
|
|
8
8
|
import AdminSections from '../../enums/WebitelApplications/AdminSections.enum';
|
|
9
9
|
import SupervisorSections from '../../enums/WebitelApplications/SupervisorSections.enum';
|
|
10
10
|
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
11
|
+
import AuditorSections
|
|
12
|
+
from '../../enums/WebitelApplications/AuditorSections.enum';
|
|
11
13
|
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
12
14
|
|
|
13
15
|
export default {
|
|
@@ -139,7 +141,12 @@ export default {
|
|
|
139
141
|
// describes Webitel FRONTEND applications + their navs
|
|
140
142
|
WebitelApplications: {
|
|
141
143
|
[WebitelApplications.AGENT]: { name: 'Agent Workspace' },
|
|
142
|
-
[WebitelApplications.AUDIT]: {
|
|
144
|
+
[WebitelApplications.AUDIT]: {
|
|
145
|
+
name: 'Audit',
|
|
146
|
+
section: {
|
|
147
|
+
[AuditorSections.SCORECARDS]: 'Анкеты',
|
|
148
|
+
},
|
|
149
|
+
},
|
|
143
150
|
[WebitelApplications.HISTORY]: { name: 'Call History' },
|
|
144
151
|
[WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
|
|
145
152
|
[WebitelApplications.SUPERVISOR]: {
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -8,6 +8,8 @@ import { QueueType } from 'webitel-sdk/esm2015/enums';
|
|
|
8
8
|
import AdminSections from '../../enums/WebitelApplications/AdminSections.enum';
|
|
9
9
|
import SupervisorSections from '../../enums/WebitelApplications/SupervisorSections.enum';
|
|
10
10
|
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
11
|
+
import AuditorSections
|
|
12
|
+
from '../../enums/WebitelApplications/AuditorSections.enum';
|
|
11
13
|
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
12
14
|
|
|
13
15
|
export default {
|
|
@@ -139,7 +141,12 @@ export default {
|
|
|
139
141
|
// describes Webitel FRONTEND applications + their navs
|
|
140
142
|
WebitelApplications: {
|
|
141
143
|
[WebitelApplications.AGENT]: { name: 'Agent Workspace' },
|
|
142
|
-
[WebitelApplications.AUDIT]: {
|
|
144
|
+
[WebitelApplications.AUDIT]: {
|
|
145
|
+
name: 'Audit',
|
|
146
|
+
section: {
|
|
147
|
+
[AuditorSections.SCORECARDS]: 'Анкети',
|
|
148
|
+
},
|
|
149
|
+
},
|
|
143
150
|
[WebitelApplications.HISTORY]: { name: 'Call History' },
|
|
144
151
|
[WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
|
|
145
152
|
[WebitelApplications.SUPERVISOR]: {
|
|
@@ -3,6 +3,8 @@ import deepCopy from 'deep-copy';
|
|
|
3
3
|
import WebitelApplications from '../../../enums/WebitelApplications/WebitelApplications.enum';
|
|
4
4
|
import SupervisorSections from '../../../enums/WebitelApplications/SupervisorSections.enum';
|
|
5
5
|
import AdminSections from '../../../enums/WebitelApplications/AdminSections.enum';
|
|
6
|
+
import AuditorSections
|
|
7
|
+
from '../../../enums/WebitelApplications/AuditorSections.enum';
|
|
6
8
|
|
|
7
9
|
const applicationsAccess = (value = true) => ({
|
|
8
10
|
[WebitelApplications.AGENT]: {
|
|
@@ -149,6 +151,14 @@ const applicationsAccess = (value = true) => ({
|
|
|
149
151
|
_locale: `WebitelApplications.${WebitelApplications.ADMIN}.sections.${AdminSections.OBJECTS}`,
|
|
150
152
|
},
|
|
151
153
|
},
|
|
154
|
+
[WebitelApplications.AUDIT]: {
|
|
155
|
+
_enabled: value,
|
|
156
|
+
_locale: `WebitelApplications.${WebitelApplications.AUDIT}.name`,
|
|
157
|
+
[AuditorSections.SCORECARDS]: {
|
|
158
|
+
_enabled: value,
|
|
159
|
+
_locale: `WebitelApplications.${WebitelApplications.AUDIT}.sections.${AuditorSections.SCORECARDS}`,
|
|
160
|
+
},
|
|
161
|
+
},
|
|
152
162
|
});
|
|
153
163
|
|
|
154
164
|
/**
|