@webitel/ui-sdk 24.12.75 → 24.12.77
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 +3162 -3121
- 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 -23
- 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/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 +2 -0
- package/src/locale/ru/ru.js +2 -0
- package/src/locale/ua/ua.js +2 -0
- 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.77",
|
|
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,
|
|
@@ -112,7 +111,6 @@ const activatorMode = !!slots.activator;
|
|
|
112
111
|
const wrapperShown = ref(false);
|
|
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,13 @@ 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}
|
|
159
|
+
{ immediate: true },
|
|
164
160
|
);
|
|
165
161
|
|
|
166
162
|
watch(wrapperShown, (value) => {
|
|
@@ -170,7 +166,6 @@ watch(wrapperShown, (value) => {
|
|
|
170
166
|
emit('popup:closed');
|
|
171
167
|
}
|
|
172
168
|
});
|
|
173
|
-
|
|
174
169
|
</script>
|
|
175
170
|
|
|
176
171
|
<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
|
@@ -300,6 +300,8 @@ export default {
|
|
|
300
300
|
domainValidator: 'Incorrect domain',
|
|
301
301
|
decimalValidator:
|
|
302
302
|
'Decimal precision should be no more than { count } places',
|
|
303
|
+
latinWithNumber:
|
|
304
|
+
'The code must contain only letters (A-Z, a-z) and numbers (0-9)',
|
|
303
305
|
integer: 'The field should contain only whole numbers',
|
|
304
306
|
},
|
|
305
307
|
webitelUI: {
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -298,6 +298,8 @@ export default {
|
|
|
298
298
|
domainValidator: 'Неправильный домен',
|
|
299
299
|
decimalValidator:
|
|
300
300
|
'Количество десятичных знаков не должно быть больше { count }',
|
|
301
|
+
latinWithNumber:
|
|
302
|
+
'Код должен содержать только буквы (A-Z, a-z) и цифры (0-9)',
|
|
301
303
|
integer: 'Поле должно содержать только целые числа',
|
|
302
304
|
},
|
|
303
305
|
webitelUI: {
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -298,6 +298,8 @@ export default {
|
|
|
298
298
|
domainValidator: 'Невірний домен',
|
|
299
299
|
decimalValidator:
|
|
300
300
|
'Кількість десяткових знаків не повинна бути більше { count }',
|
|
301
|
+
latinWithNumber:
|
|
302
|
+
'Код повинен містити лише літери (A-Z, a-z) та цифри (0-9)',
|
|
301
303
|
integer: 'Поле повинно містити лише цілі числа',
|
|
302
304
|
},
|
|
303
305
|
webitelUI: {
|
|
File without changes
|
|
File without changes
|