@webitel/ui-sdk 24.10.51 → 24.10.53
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 +16 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/wt-select/_multiselect.scss +1 -0
- package/src/enums/WebitelApplications/CrmSections.enum.js +11 -1
- package/src/enums/index.js +0 -3
- 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/enums/WebitelApplications/CrmConfigurationSections.enum.js +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
const CrmSections = Object.freeze({
|
|
2
2
|
CONTACTS: 'contacts',
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
// CONFIGURATION - LOOKUPS
|
|
5
|
+
SLA: 'sla',
|
|
6
|
+
SERVICE_CATALOG: 'service-catalog',
|
|
7
|
+
PRIORITIES: 'priorities',
|
|
8
|
+
STATUSES: 'statuses',
|
|
9
|
+
SOURCES: 'sources',
|
|
10
|
+
CLOSURE_REASONS: 'closure-reasons',
|
|
11
|
+
CONTACT_GROUPS: 'contact-groups',
|
|
12
|
+
CASE_SOURCES: 'case-sources',
|
|
13
|
+
CUSTOM_LOOKUPS: 'custom-lookups',
|
|
4
14
|
});
|
|
5
15
|
|
|
6
16
|
export default CrmSections;
|
package/src/enums/index.js
CHANGED
|
@@ -12,8 +12,6 @@ import TypesExportedSettings
|
|
|
12
12
|
// Webitel Applications group
|
|
13
13
|
import AdminSections from './WebitelApplications/AdminSections.enum.js';
|
|
14
14
|
import AuditorSections from './WebitelApplications/AuditorSections.enum.js';
|
|
15
|
-
import CrmConfigurationSections
|
|
16
|
-
from './WebitelApplications/CrmConfigurationSections.enum.js';
|
|
17
15
|
import CrmSections from './WebitelApplications/CrmSections.enum.js';
|
|
18
16
|
import SupervisorSections
|
|
19
17
|
from './WebitelApplications/SupervisorSections.enum.js';
|
|
@@ -33,7 +31,6 @@ export {
|
|
|
33
31
|
AdminSections,
|
|
34
32
|
AuditorSections,
|
|
35
33
|
CrmSections,
|
|
36
|
-
CrmConfigurationSections,
|
|
37
34
|
SupervisorSections,
|
|
38
35
|
WebitelApplications,
|
|
39
36
|
};
|
package/src/locale/en/en.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
package/src/locale/ua/ua.js
CHANGED
|
@@ -194,6 +194,10 @@ const applicationsAccess = (value = true) => ({
|
|
|
194
194
|
_enabled: value,
|
|
195
195
|
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.CONTACTS}`,
|
|
196
196
|
},
|
|
197
|
+
[CrmSections.SLA]: {
|
|
198
|
+
_enabled: value,
|
|
199
|
+
_locale: `WebitelApplications.${WebitelApplications.CRM}.sections.${CrmSections.SLA}`,
|
|
200
|
+
},
|
|
197
201
|
},
|
|
198
202
|
});
|
|
199
203
|
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const CrmConfigurationSections = Object.freeze({
|
|
2
|
-
LOOKUPS: 'lookups',
|
|
3
|
-
SLA: 'sla',
|
|
4
|
-
SERVICE_CATALOG: 'service-catalog',
|
|
5
|
-
PRIORITIES: 'priorities',
|
|
6
|
-
STATUSES: 'statuses',
|
|
7
|
-
SOURCES: 'sources',
|
|
8
|
-
CLOSURE_REASONS: 'closure-reasons',
|
|
9
|
-
CONTACT_GROUPS: 'contact-groups',
|
|
10
|
-
CASE_SOURCES: 'case-sources',
|
|
11
|
-
CUSTOM_LOOKUPS: 'custom-lookups',
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export default CrmConfigurationSections;
|