@webitel/ui-sdk 24.12.75 → 24.12.78
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/CHANGELOG.md +22 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2034 -1988
- package/dist/ui-sdk.umd.cjs +16 -16
- package/package.json +2 -1
- package/src/components/wt-empty/wt-empty.vue +2 -2
- package/src/components/wt-popup/wt-popup.vue +18 -24
- package/src/components/wt-tree/types/WtTreeMode.ts +6 -0
- package/src/components/wt-tree/wt-tree.vue +4 -4
- package/src/components/wt-tree-table/wt-tree-table.vue +2 -2
- package/src/components/wt-tree-table-row/wt-tree-table-row.vue +1 -1
- package/src/composables/useWtTable/useWtTable.ts +1 -1
- package/src/css/styleguide/placeholder/_placeholder.scss +1 -1
- package/src/enums/ComponentSize/ComponentSize.js +11 -0
- package/src/enums/ComponentSize/ComponentSize.ts +13 -0
- package/src/enums/WebitelApplications/AdminSections.enum.js +13 -54
- package/src/enums/WebitelApplications/AdminSections.ts +46 -0
- package/src/enums/WebitelApplications/AuditorSections.enum.js +12 -4
- package/src/enums/WebitelApplications/AuditorSections.ts +6 -0
- package/src/enums/WebitelApplications/CrmSections.enum.js +9 -16
- package/src/enums/WebitelApplications/CrmSections.ts +17 -0
- package/src/enums/WebitelApplications/SupervisorSections.enum.js +12 -6
- package/src/enums/WebitelApplications/SupervisorSections.ts +8 -0
- package/src/enums/WebitelApplications/WebitelApplications.enum.js +12 -10
- package/src/enums/WebitelApplications/WtApplication.ts +11 -0
- package/src/enums/WtObject/WtObject.ts +11 -0
- package/src/enums/index.js +8 -10
- package/src/locale/en/en.js +5 -1
- package/src/locale/ru/ru.js +5 -1
- package/src/locale/ua/ua.js +5 -1
- package/src/scripts/compareSize.ts +1 -1
- package/src/components/wt-tree/types/wt-tree-mode.ts +0 -4
- package/src/enums/ComponentSize/ComponentSize.enum.js +0 -15
- package/src/enums/ComponentSize/ComponentSize.enum.ts +0 -11
- /package/src/api/types/{ApiModule.type.ts → ApiModule.d.ts} +0 -0
- /package/src/components/wt-table/types/{WtTable.type.ts → WtTable.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "24.12.
|
|
3
|
+
"version": "24.12.78",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"docs:dev": "vitepress dev docs --port 8080",
|
|
17
17
|
"docs:build": "vitepress build docs",
|
|
18
18
|
"docs:preview": "vitepress preview docs",
|
|
19
|
+
"tsc": "vue-tsc -p tsconfig.json",
|
|
19
20
|
"update-node": "nvm install --lts && nvm alias default node"
|
|
20
21
|
},
|
|
21
22
|
"main": "./dist/@webitel/ui-sdk.mjs",
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
|
|
132
132
|
import { computed, useSlots } from 'vue';
|
|
133
133
|
|
|
134
|
-
import ComponentSize from '../../enums/ComponentSize/ComponentSize
|
|
135
|
-
import { greaterOrEqual, smallerOrEqual } from '../../scripts/compareSize
|
|
134
|
+
import { ComponentSize } from '../../enums/ComponentSize/ComponentSize';
|
|
135
|
+
import { greaterOrEqual, smallerOrEqual } from '../../scripts/compareSize';
|
|
136
136
|
import WtImage from '../wt-image/wt-image.vue';
|
|
137
137
|
|
|
138
138
|
const props = defineProps({
|
|
@@ -4,20 +4,19 @@
|
|
|
4
4
|
:class="[`wt-popup--size-${size}`, { 'wt-popup--overflow': overflow }]"
|
|
5
5
|
class="wt-popup"
|
|
6
6
|
>
|
|
7
|
-
|
|
8
|
-
<!--
|
|
9
|
-
<!--
|
|
10
|
-
<!--
|
|
11
|
-
<!--
|
|
12
|
-
<!--
|
|
13
|
-
<!--
|
|
14
|
-
<!--
|
|
15
|
-
<!--
|
|
16
|
-
<!--
|
|
17
|
-
<!--
|
|
18
|
-
<!--
|
|
19
|
-
<!--
|
|
20
|
-
<!-- />-->
|
|
7
|
+
<!-- <!– @slot check source code for scoped bindings :( –>-->
|
|
8
|
+
<!-- <slot-->
|
|
9
|
+
<!-- class="wt-popup-activator"-->
|
|
10
|
+
<!-- name="activator"-->
|
|
11
|
+
<!-- v-bind="{-->
|
|
12
|
+
<!-- shown: wrapperShown,-->
|
|
13
|
+
<!-- size,-->
|
|
14
|
+
<!-- disabled,-->
|
|
15
|
+
<!-- open: openPopup,-->
|
|
16
|
+
<!-- close: closePopup,-->
|
|
17
|
+
<!-- toggle: togglePopup,-->
|
|
18
|
+
<!-- } as ActivatorSlotScope"-->
|
|
19
|
+
<!-- />-->
|
|
21
20
|
|
|
22
21
|
<transition-slide :offset="[0, -1440 / 2]">
|
|
23
22
|
<aside
|
|
@@ -54,10 +53,10 @@
|
|
|
54
53
|
</template>
|
|
55
54
|
|
|
56
55
|
<script lang="ts" setup>
|
|
57
|
-
import {TransitionSlide} from '@morev/vue-transitions';
|
|
58
|
-
import {computed, defineEmits, defineProps, ref, watch} from 'vue';
|
|
56
|
+
import { TransitionSlide } from '@morev/vue-transitions';
|
|
57
|
+
import { computed, defineEmits, defineProps, ref, watch } from 'vue';
|
|
59
58
|
|
|
60
|
-
import {ComponentSize} from
|
|
59
|
+
import { ComponentSize } from '../../enums/ComponentSize/ComponentSize';
|
|
61
60
|
|
|
62
61
|
interface Props {
|
|
63
62
|
/**
|
|
@@ -80,7 +79,7 @@ interface Props {
|
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
const props = withDefaults(defineProps<Props>(), {
|
|
83
|
-
shown: true,
|
|
82
|
+
shown: true, // TODO: change me to false after refactor
|
|
84
83
|
size: ComponentSize.MD,
|
|
85
84
|
overflow: false,
|
|
86
85
|
disabled: false,
|
|
@@ -109,10 +108,9 @@ const slots = defineSlots<{
|
|
|
109
108
|
}>();
|
|
110
109
|
const activatorMode = !!slots.activator;
|
|
111
110
|
|
|
112
|
-
const wrapperShown = ref(
|
|
111
|
+
const wrapperShown = ref(props.shown);
|
|
113
112
|
const isCloseAnimationPlaying = ref(false);
|
|
114
113
|
|
|
115
|
-
|
|
116
114
|
const openPopup = () => {
|
|
117
115
|
wrapperShown.value = true;
|
|
118
116
|
};
|
|
@@ -142,7 +140,6 @@ const showPopupComponent = computed(() => {
|
|
|
142
140
|
watch(
|
|
143
141
|
() => props.shown,
|
|
144
142
|
(value) => {
|
|
145
|
-
|
|
146
143
|
/*
|
|
147
144
|
* prop shown default value =true is used to allow backwards compatibility with
|
|
148
145
|
* older wt-popup API, when popup visibility was controlled simply by v-if
|
|
@@ -153,14 +150,12 @@ watch(
|
|
|
153
150
|
*/
|
|
154
151
|
if (activatorMode) return;
|
|
155
152
|
|
|
156
|
-
|
|
157
153
|
if (value) {
|
|
158
154
|
openPopup();
|
|
159
155
|
} else {
|
|
160
156
|
closePopup();
|
|
161
157
|
}
|
|
162
158
|
},
|
|
163
|
-
{immediate: true}
|
|
164
159
|
);
|
|
165
160
|
|
|
166
161
|
watch(wrapperShown, (value) => {
|
|
@@ -170,7 +165,6 @@ watch(wrapperShown, (value) => {
|
|
|
170
165
|
emit('popup:closed');
|
|
171
166
|
}
|
|
172
167
|
});
|
|
173
|
-
|
|
174
168
|
</script>
|
|
175
169
|
|
|
176
170
|
<style lang="scss">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="wt-tree">
|
|
3
3
|
<div
|
|
4
|
-
v-if="mode === WtTreeMode.
|
|
4
|
+
v-if="mode === WtTreeMode.Tree"
|
|
5
5
|
class="wt-tree__content"
|
|
6
6
|
>
|
|
7
7
|
<wt-tree-line
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
/>
|
|
17
17
|
</div>
|
|
18
18
|
<div
|
|
19
|
-
v-if="mode === WtTreeMode.
|
|
19
|
+
v-if="mode === WtTreeMode.List"
|
|
20
20
|
class="wt-tree__list-content"
|
|
21
21
|
>
|
|
22
22
|
<span
|
|
@@ -46,7 +46,7 @@ import deepEqual from 'deep-equal';
|
|
|
46
46
|
import { computed } from 'vue';
|
|
47
47
|
|
|
48
48
|
import WtTreeLine from '../wt-tree-line/wt-tree-line.vue';
|
|
49
|
-
import { WtTreeMode } from './types/
|
|
49
|
+
import { WtTreeMode } from './types/WtTreeMode';
|
|
50
50
|
|
|
51
51
|
const props = withDefaults(
|
|
52
52
|
defineProps<{
|
|
@@ -78,7 +78,7 @@ const props = withDefaults(
|
|
|
78
78
|
}>(),
|
|
79
79
|
{
|
|
80
80
|
childrenProp: 'children',
|
|
81
|
-
mode: WtTreeMode.
|
|
81
|
+
mode: WtTreeMode.Tree,
|
|
82
82
|
},
|
|
83
83
|
);
|
|
84
84
|
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
<script setup lang="ts">
|
|
93
93
|
import { computed, withDefaults } from 'vue';
|
|
94
94
|
|
|
95
|
-
import { useWtTable } from '../../composables/useWtTable/useWtTable
|
|
95
|
+
import { useWtTable } from '../../composables/useWtTable/useWtTable';
|
|
96
96
|
import { getNextSortOrder } from '../../scripts/sortQueryAdapters';
|
|
97
|
-
import { WtTableHeader } from '../wt-table/types/WtTable.
|
|
97
|
+
import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
|
|
98
98
|
import WtTreeTableRow from '../wt-tree-table-row/wt-tree-table-row.vue';
|
|
99
99
|
|
|
100
100
|
const props = withDefaults(
|
|
@@ -114,7 +114,7 @@ import { computed, onMounted, ref } from 'vue';
|
|
|
114
114
|
|
|
115
115
|
import WtCheckbox from '../wt-checkbox/wt-checkbox.vue';
|
|
116
116
|
import WtIconBtn from '../wt-icon-btn/wt-icon-btn.vue';
|
|
117
|
-
import { WtTableHeader } from
|
|
117
|
+
import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
|
|
118
118
|
|
|
119
119
|
const props = withDefaults(
|
|
120
120
|
defineProps<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed } from 'vue';
|
|
2
2
|
import { useI18n } from 'vue-i18n';
|
|
3
3
|
|
|
4
|
-
import { WtTableHeader } from '../../components/wt-table/types/WtTable.
|
|
4
|
+
import type { WtTableHeader } from '../../components/wt-table/types/WtTable.d.ts';
|
|
5
5
|
|
|
6
6
|
export const useWtTable = ({ headers }) => {
|
|
7
7
|
const { t } = useI18n();
|
|
@@ -1,54 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// LOOKUPS
|
|
15
|
-
BLACKLIST: 'blacklist', // scope: cc_list
|
|
16
|
-
REGIONS: 'regions', // scope: lookups
|
|
17
|
-
CALENDARS: 'calendars', // scope: calendars
|
|
18
|
-
COMMUNICATIONS: 'communications', // scope: lookups
|
|
19
|
-
PAUSE_CAUSE: 'pause-cause', // scope: lookups
|
|
20
|
-
MEDIA: 'media', // scope: media_file
|
|
21
|
-
SHIFT_TEMPLATES: 'shift-templates', // scope: shift_templates
|
|
22
|
-
PAUSE_TEMPLATES: 'pause-templates', //scope: pause_templates
|
|
23
|
-
WORKING_CONDITIONS: 'working-conditions', //scope: working_conditions
|
|
24
|
-
|
|
25
|
-
// CONTACT CENTER
|
|
26
|
-
SKILLS: 'skills', // scope: lookups
|
|
27
|
-
AGENTS: 'agents', // scope: cc_agent
|
|
28
|
-
BUCKETS: 'buckets', // scope: cc_bucket
|
|
29
|
-
QUEUES: 'queues', // scope: cc_queue
|
|
30
|
-
MEMBERS: 'members', // scope: cc_queue
|
|
31
|
-
RESOURCE_GROUPS: 'resource-groups', // scope: cc_resource_group
|
|
32
|
-
RESOURCES: 'resources', // scope: cc_resource
|
|
33
|
-
TEAMS: 'teams', // scope: cc_team
|
|
34
|
-
|
|
35
|
-
// INTEGRATIONS
|
|
36
|
-
STORAGE: 'storage', // scope: storage_profile
|
|
37
|
-
STORAGE_POLICIES: 'storage-policies', // scope: storage_policies_profile
|
|
38
|
-
COGNITIVE_PROFILES: 'cognitive-profiles', // scope: cognitive_profile
|
|
39
|
-
EMAIL_PROFILES: 'email-profiles', // scope: email_profile
|
|
40
|
-
SINGLE_SIGN_ON: 'single-sign-on', // scope: single-sign-on
|
|
41
|
-
IMPORT_CSV: 'import-csv',
|
|
42
|
-
TRIGGERS: 'triggers',
|
|
43
|
-
|
|
44
|
-
// PERMISSIONS
|
|
45
|
-
OBJECTS: 'objects', // permissions: add
|
|
46
|
-
ROLES: 'roles', // scope: roles
|
|
47
|
-
|
|
48
|
-
// SYSTEM
|
|
49
|
-
CHANGELOGS: 'changelogs',
|
|
50
|
-
CONFIGURATION: 'configuration',
|
|
51
|
-
GLOBAL_VARIABLES: 'global-variables',
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export default AdminSections;
|
|
1
|
+
import { AdminSections } from './AdminSections';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* default export is for backward compatibility,
|
|
6
|
+
* use ts enum instead (and don't forget to compile it)
|
|
7
|
+
*/
|
|
8
|
+
export default Object.fromEntries(
|
|
9
|
+
Object.entries(AdminSections).map(([key, value]) => [
|
|
10
|
+
key.toUpperCase(),
|
|
11
|
+
value,
|
|
12
|
+
]),
|
|
13
|
+
);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @augments WtApplication
|
|
3
|
+
* represents ui sections in Admin WtApplication
|
|
4
|
+
* without any relation to WtObjects (?)
|
|
5
|
+
*/
|
|
6
|
+
export const AdminSections = {
|
|
7
|
+
Agents: 'agents',
|
|
8
|
+
Blacklist: 'blacklist',
|
|
9
|
+
Buckets: 'buckets',
|
|
10
|
+
Calendars: 'calendars',
|
|
11
|
+
Changelogs: 'changelogs',
|
|
12
|
+
ChatGateways: 'chat-gateways',
|
|
13
|
+
Chatplan: 'chatplan',
|
|
14
|
+
CognitiveProfiles: 'cognitive-profiles',
|
|
15
|
+
Communications: 'communications',
|
|
16
|
+
Configuration: 'configuration',
|
|
17
|
+
Dialplan: 'dialplan',
|
|
18
|
+
Devices: 'devices',
|
|
19
|
+
EmailProfiles: 'email-profiles',
|
|
20
|
+
Flow: 'flow',
|
|
21
|
+
Gateways: 'gateways',
|
|
22
|
+
GlobalVariables: 'global-variables',
|
|
23
|
+
ImportCsv: 'import-csv',
|
|
24
|
+
License: 'license',
|
|
25
|
+
Media: 'media',
|
|
26
|
+
Members: 'members',
|
|
27
|
+
Objects: 'objects',
|
|
28
|
+
PauseCause: 'pause-cause',
|
|
29
|
+
PauseTemplates: 'pause-templates',
|
|
30
|
+
Queues: 'queues',
|
|
31
|
+
Regions: 'regions',
|
|
32
|
+
ResourceGroups: 'resource-groups',
|
|
33
|
+
Resources: 'resources',
|
|
34
|
+
Roles: 'roles',
|
|
35
|
+
ShiftTemplates: 'shift-templates',
|
|
36
|
+
SingleSignOn: 'single-sign-on',
|
|
37
|
+
Skills: 'skills',
|
|
38
|
+
Storage: 'storage',
|
|
39
|
+
StoragePolicies: 'storage-policies',
|
|
40
|
+
Teams: 'teams',
|
|
41
|
+
Triggers: 'triggers',
|
|
42
|
+
Users: 'users',
|
|
43
|
+
WorkingConditions: 'working-conditions',
|
|
44
|
+
} as const;
|
|
45
|
+
|
|
46
|
+
export type AdminSections = (typeof AdminSections)[keyof typeof AdminSections];
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
SCORECARDS: 'scorecards',
|
|
3
|
-
});
|
|
1
|
+
import { AuditorSections } from './AuditorSections';
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* default export is for backward compatibility,
|
|
6
|
+
* use ts enum instead (and don't forget to compile it)
|
|
7
|
+
*/
|
|
8
|
+
export default Object.fromEntries(
|
|
9
|
+
Object.entries(AuditorSections).map(([key, value]) => [
|
|
10
|
+
key.toUpperCase(),
|
|
11
|
+
value,
|
|
12
|
+
]),
|
|
13
|
+
);
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
CONTACTS: 'contacts',
|
|
3
|
-
CASES: 'cases',
|
|
1
|
+
import { CrmSections } from './CrmSections';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
CASE_SOURCES: 'case-sources',
|
|
14
|
-
CUSTOM_LOOKUPS: 'custom-lookups',
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
export default CrmSections;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* default export is for backward compatibility,
|
|
6
|
+
* use ts enum instead (and don't forget to compile it)
|
|
7
|
+
*/
|
|
8
|
+
export default Object.fromEntries(
|
|
9
|
+
Object.entries(CrmSections).map(([key, value]) => [key.toUpperCase(), value]),
|
|
10
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const CrmSections = {
|
|
2
|
+
Contacts: 'contacts',
|
|
3
|
+
Cases: 'cases',
|
|
4
|
+
|
|
5
|
+
// CONFIGURATION - LOOKUPS
|
|
6
|
+
Slas: 'slas',
|
|
7
|
+
ServiceCatalogs: 'service-catalogs',
|
|
8
|
+
Priorities: 'priorities',
|
|
9
|
+
Statuses: 'statuses',
|
|
10
|
+
Sources: 'sources',
|
|
11
|
+
CloseReasonGroups: 'close-reason-groups',
|
|
12
|
+
ContactGroups: 'contact-groups',
|
|
13
|
+
CaseSources: 'case-sources',
|
|
14
|
+
CustomLookups: 'custom-lookups',
|
|
15
|
+
} as const;
|
|
16
|
+
|
|
17
|
+
export type CrmSections = typeof CrmSections[keyof typeof CrmSections];
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
QUEUES: 'queues',
|
|
3
|
-
AGENTS: 'agents',
|
|
4
|
-
ACTIVE_CALLS: 'activeCalls',
|
|
5
|
-
});
|
|
1
|
+
import { SupervisorSections } from './SupervisorSections';
|
|
6
2
|
|
|
7
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* default export is for backward compatibility,
|
|
6
|
+
* use ts enum instead (and don't forget to compile it)
|
|
7
|
+
*/
|
|
8
|
+
export default Object.fromEntries(
|
|
9
|
+
Object.entries(SupervisorSections).map(([key, value]) => [
|
|
10
|
+
key.toUpperCase(),
|
|
11
|
+
value,
|
|
12
|
+
]),
|
|
13
|
+
);
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
ADMIN: 'admin',
|
|
3
|
-
AGENT: 'agent',
|
|
4
|
-
SUPERVISOR: 'supervisor',
|
|
5
|
-
HISTORY: 'history',
|
|
6
|
-
AUDIT: 'audit',
|
|
7
|
-
ANALYTICS: 'grafana',
|
|
8
|
-
CRM: 'crm',
|
|
9
|
-
});
|
|
1
|
+
import { WtApplication } from './WtApplication';
|
|
10
2
|
|
|
11
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
* default export is for backward compatibility,
|
|
6
|
+
* use ts enum instead (and don't forget to compile it)
|
|
7
|
+
*/
|
|
8
|
+
export default Object.fromEntries(
|
|
9
|
+
Object.entries(WtApplication).map(([key, value]) => [
|
|
10
|
+
key.toUpperCase(),
|
|
11
|
+
value,
|
|
12
|
+
]),
|
|
13
|
+
);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const WtApplication = {
|
|
2
|
+
Admin: 'admin',
|
|
3
|
+
Agent: 'agent',
|
|
4
|
+
Supervisor: 'supervisor',
|
|
5
|
+
History: 'history',
|
|
6
|
+
Audit: 'audit',
|
|
7
|
+
Analytics: 'grafana',
|
|
8
|
+
Crm: 'crm',
|
|
9
|
+
} as const;
|
|
10
|
+
|
|
11
|
+
export type WtApplication = (typeof WtApplication)[keyof typeof WtApplication];
|
package/src/enums/index.js
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
import AbstractUserStatus from './AbstractUserStatus/AbstractUserStatus.enum.js';
|
|
2
2
|
import AgentStatus from './AgentStatus/AgentStatus.enum.js';
|
|
3
3
|
import ChatGatewayProvider from './ChatGatewayProvider/ChatGatewayProvider.enum.js';
|
|
4
|
-
import ComponentSize from './ComponentSize/ComponentSize
|
|
4
|
+
import { ComponentSize } from './ComponentSize/ComponentSize';
|
|
5
5
|
import IconAction from './IconAction/IconAction.enum.js';
|
|
6
6
|
import QueueType from './QueueType/QueueType.enum.js';
|
|
7
7
|
import TypesExportedSettings from './TypesExportedSettings/TypesExportedSettings.enum.js';
|
|
8
|
-
|
|
9
|
-
// Webitel Applications group
|
|
10
|
-
import AdminSections from './WebitelApplications/AdminSections.enum.js';
|
|
8
|
+
import { AdminSections } from './WebitelApplications/AdminSections';
|
|
11
9
|
import AuditorSections from './WebitelApplications/AuditorSections.enum.js';
|
|
12
10
|
import CrmSections from './WebitelApplications/CrmSections.enum.js';
|
|
13
11
|
import SupervisorSections from './WebitelApplications/SupervisorSections.enum.js';
|
|
14
12
|
import WebitelApplications from './WebitelApplications/WebitelApplications.enum.js';
|
|
13
|
+
import { WtObject } from './WtObject/WtObject';
|
|
15
14
|
|
|
16
15
|
export {
|
|
17
16
|
AbstractUserStatus,
|
|
17
|
+
AdminSections,
|
|
18
18
|
AgentStatus,
|
|
19
|
+
AuditorSections,
|
|
19
20
|
ChatGatewayProvider,
|
|
20
21
|
ComponentSize,
|
|
22
|
+
CrmSections,
|
|
21
23
|
IconAction,
|
|
22
24
|
QueueType,
|
|
23
|
-
TypesExportedSettings,
|
|
24
|
-
|
|
25
|
-
// Webitel Applications group
|
|
26
|
-
AdminSections,
|
|
27
|
-
AuditorSections,
|
|
28
|
-
CrmSections,
|
|
29
25
|
SupervisorSections,
|
|
26
|
+
TypesExportedSettings,
|
|
30
27
|
WebitelApplications,
|
|
28
|
+
WtObject,
|
|
31
29
|
};
|
package/src/locale/en/en.js
CHANGED
|
@@ -80,6 +80,7 @@ export default {
|
|
|
80
80
|
},
|
|
81
81
|
// yak zhe ya zaebalsya povtoriaty odni i ti sami slova!!!!
|
|
82
82
|
vocabulary: {
|
|
83
|
+
apply: 'Apply',
|
|
83
84
|
language: 'Language',
|
|
84
85
|
voice: 'Voice',
|
|
85
86
|
format: 'Format',
|
|
@@ -90,7 +91,7 @@ export default {
|
|
|
90
91
|
login: 'Login',
|
|
91
92
|
host: 'Host',
|
|
92
93
|
time: 'Time',
|
|
93
|
-
channel: 'Channel',
|
|
94
|
+
channel: 'Channel | Channels',
|
|
94
95
|
file: 'File',
|
|
95
96
|
logout: 'Logout',
|
|
96
97
|
priority: 'Priority | Priorities',
|
|
@@ -266,6 +267,7 @@ export default {
|
|
|
266
267
|
[AdminSections.RESOURCE_GROUPS]: 'Resource groups',
|
|
267
268
|
[AdminSections.QUEUES]: 'Queues',
|
|
268
269
|
[AdminSections.STORAGE]: 'Storage',
|
|
270
|
+
[AdminSections.STORAGE_POLICIES]: 'Storage policies',
|
|
269
271
|
[AdminSections.COGNITIVE_PROFILES]: 'Cognitive profiles',
|
|
270
272
|
[AdminSections.EMAIL_PROFILES]: 'Email profiles',
|
|
271
273
|
[AdminSections.SINGLE_SIGN_ON]: 'Single Sign-on',
|
|
@@ -300,6 +302,8 @@ export default {
|
|
|
300
302
|
domainValidator: 'Incorrect domain',
|
|
301
303
|
decimalValidator:
|
|
302
304
|
'Decimal precision should be no more than { count } places',
|
|
305
|
+
latinWithNumber:
|
|
306
|
+
'The code must contain only letters (A-Z, a-z) and numbers (0-9)',
|
|
303
307
|
integer: 'The field should contain only whole numbers',
|
|
304
308
|
},
|
|
305
309
|
webitelUI: {
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -79,6 +79,7 @@ export default {
|
|
|
79
79
|
draggable: 'Перетащить',
|
|
80
80
|
},
|
|
81
81
|
vocabulary: {
|
|
82
|
+
apply: 'Применить',
|
|
82
83
|
language: 'Язык',
|
|
83
84
|
voice: 'Голос',
|
|
84
85
|
format: 'Формат',
|
|
@@ -89,7 +90,7 @@ export default {
|
|
|
89
90
|
login: 'Логин',
|
|
90
91
|
host: 'Хост',
|
|
91
92
|
time: 'Время',
|
|
92
|
-
channel: 'Канал',
|
|
93
|
+
channel: 'Канал | Каналы',
|
|
93
94
|
file: 'Файл',
|
|
94
95
|
logout: 'Выйти',
|
|
95
96
|
priority: 'Приоритет | Приоритеты',
|
|
@@ -265,6 +266,7 @@ export default {
|
|
|
265
266
|
[AdminSections.RESOURCE_GROUPS]: 'Группы ресурсов',
|
|
266
267
|
[AdminSections.QUEUES]: 'Очереди',
|
|
267
268
|
[AdminSections.STORAGE]: 'Хранилища',
|
|
269
|
+
[AdminSections.STORAGE_POLICIES]: 'Политики хранения файлов',
|
|
268
270
|
[AdminSections.COGNITIVE_PROFILES]: 'Голосовые профили',
|
|
269
271
|
[AdminSections.EMAIL_PROFILES]: 'Email профили',
|
|
270
272
|
[AdminSections.SINGLE_SIGN_ON]: 'Single Sign-on',
|
|
@@ -298,6 +300,8 @@ export default {
|
|
|
298
300
|
domainValidator: 'Неправильный домен',
|
|
299
301
|
decimalValidator:
|
|
300
302
|
'Количество десятичных знаков не должно быть больше { count }',
|
|
303
|
+
latinWithNumber:
|
|
304
|
+
'Код должен содержать только буквы (A-Z, a-z) и цифры (0-9)',
|
|
301
305
|
integer: 'Поле должно содержать только целые числа',
|
|
302
306
|
},
|
|
303
307
|
webitelUI: {
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -80,6 +80,7 @@ export default {
|
|
|
80
80
|
draggable: 'Перетягнути',
|
|
81
81
|
},
|
|
82
82
|
vocabulary: {
|
|
83
|
+
apply: 'Застосувати',
|
|
83
84
|
language: 'Мова',
|
|
84
85
|
voice: 'Голос',
|
|
85
86
|
format: 'Формат',
|
|
@@ -90,7 +91,7 @@ export default {
|
|
|
90
91
|
login: 'Логін',
|
|
91
92
|
host: 'Хост',
|
|
92
93
|
time: 'Час',
|
|
93
|
-
channel: 'Канал',
|
|
94
|
+
channel: 'Канал | Канали',
|
|
94
95
|
file: 'Файл',
|
|
95
96
|
logout: 'Вийти',
|
|
96
97
|
priority: 'Пріоритет | Пріоритети',
|
|
@@ -265,6 +266,7 @@ export default {
|
|
|
265
266
|
[AdminSections.RESOURCE_GROUPS]: 'Групи ресурсів',
|
|
266
267
|
[AdminSections.QUEUES]: 'Черги',
|
|
267
268
|
[AdminSections.STORAGE]: 'Сховища',
|
|
269
|
+
[AdminSections.STORAGE_POLICIES]: 'Політики збереження файлів',
|
|
268
270
|
[AdminSections.COGNITIVE_PROFILES]: 'Голосові профілі',
|
|
269
271
|
[AdminSections.EMAIL_PROFILES]: 'Email профілі',
|
|
270
272
|
[AdminSections.SINGLE_SIGN_ON]: 'Single Sign-on',
|
|
@@ -298,6 +300,8 @@ export default {
|
|
|
298
300
|
domainValidator: 'Невірний домен',
|
|
299
301
|
decimalValidator:
|
|
300
302
|
'Кількість десяткових знаків не повинна бути більше { count }',
|
|
303
|
+
latinWithNumber:
|
|
304
|
+
'Код повинен містити лише літери (A-Z, a-z) та цифри (0-9)',
|
|
301
305
|
integer: 'Поле повинно містити лише цілі числа',
|
|
302
306
|
},
|
|
303
307
|
webitelUI: {
|