@webitel/ui-sdk 24.12.78 → 24.12.79
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 +7 -0
- package/dist/ui-sdk.js +4164 -3902
- package/dist/ui-sdk.umd.cjs +16 -16
- package/package.json +1 -1
- package/src/enums/WebitelApplications/AdminSections.enum.js +3 -1
- package/src/enums/WebitelApplications/AuditorSections.enum.js +3 -1
- package/src/enums/WebitelApplications/CrmSections.enum.js +5 -1
- package/src/enums/WebitelApplications/SupervisorSections.enum.js +3 -1
- package/src/enums/WebitelApplications/WebitelApplications.enum.js +3 -1
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import upperCase from 'lodash/upperCase.js';
|
|
2
|
+
|
|
1
3
|
import { AdminSections } from './AdminSections';
|
|
2
4
|
|
|
3
5
|
/**
|
|
@@ -7,7 +9,7 @@ import { AdminSections } from './AdminSections';
|
|
|
7
9
|
*/
|
|
8
10
|
export default Object.fromEntries(
|
|
9
11
|
Object.entries(AdminSections).map(([key, value]) => [
|
|
10
|
-
key.
|
|
12
|
+
upperCase(key).replaceAll(' ', '_'),
|
|
11
13
|
value,
|
|
12
14
|
]),
|
|
13
15
|
);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import upperCase from 'lodash/upperCase.js';
|
|
2
|
+
|
|
1
3
|
import { AuditorSections } from './AuditorSections';
|
|
2
4
|
|
|
3
5
|
/**
|
|
@@ -7,7 +9,7 @@ import { AuditorSections } from './AuditorSections';
|
|
|
7
9
|
*/
|
|
8
10
|
export default Object.fromEntries(
|
|
9
11
|
Object.entries(AuditorSections).map(([key, value]) => [
|
|
10
|
-
key.
|
|
12
|
+
upperCase(key).replaceAll(' ', '_'),
|
|
11
13
|
value,
|
|
12
14
|
]),
|
|
13
15
|
);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import upperCase from 'lodash/upperCase.js';
|
|
2
|
+
|
|
1
3
|
import { CrmSections } from './CrmSections';
|
|
2
4
|
|
|
3
5
|
/**
|
|
@@ -6,5 +8,7 @@ import { CrmSections } from './CrmSections';
|
|
|
6
8
|
* use ts enum instead (and don't forget to compile it)
|
|
7
9
|
*/
|
|
8
10
|
export default Object.fromEntries(
|
|
9
|
-
Object.entries(CrmSections).map(([key, value]) => [
|
|
11
|
+
Object.entries(CrmSections).map(([key, value]) => [
|
|
12
|
+
upperCase(key).replaceAll(' ', '_'),
|
|
13
|
+
value]),
|
|
10
14
|
);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import upperCase from 'lodash/upperCase';
|
|
2
|
+
|
|
1
3
|
import { SupervisorSections } from './SupervisorSections';
|
|
2
4
|
|
|
3
5
|
/**
|
|
@@ -7,7 +9,7 @@ import { SupervisorSections } from './SupervisorSections';
|
|
|
7
9
|
*/
|
|
8
10
|
export default Object.fromEntries(
|
|
9
11
|
Object.entries(SupervisorSections).map(([key, value]) => [
|
|
10
|
-
key.
|
|
12
|
+
upperCase(key).replaceAll(' ', '_'),
|
|
11
13
|
value,
|
|
12
14
|
]),
|
|
13
15
|
);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import upperCase from 'lodash/upperCase.js';
|
|
2
|
+
|
|
1
3
|
import { WtApplication } from './WtApplication';
|
|
2
4
|
|
|
3
5
|
/**
|
|
@@ -7,7 +9,7 @@ import { WtApplication } from './WtApplication';
|
|
|
7
9
|
*/
|
|
8
10
|
export default Object.fromEntries(
|
|
9
11
|
Object.entries(WtApplication).map(([key, value]) => [
|
|
10
|
-
key.
|
|
12
|
+
upperCase(key).replaceAll(' ', '_'),
|
|
11
13
|
value,
|
|
12
14
|
]),
|
|
13
15
|
);
|