@webitel/ui-sdk 26.8.131 → 26.8.133

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.
Files changed (70) hide show
  1. package/dist/{clients-CK-bThbs.js → clients-BVxipio3.js} +466 -452
  2. package/dist/{components-BF21ppoM.js → components-Bp-9Pd3E.js} +513 -508
  3. package/dist/{convertDuration-B7EyPh1B.js → convertDuration-r4cKShcD.js} +1 -1
  4. package/dist/{enums-Qt_FgVQw.js → enums-De3aMU0v.js} +10 -3
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +15 -15
  7. package/dist/ui-sdk.umd.cjs +264 -264
  8. package/dist/{useValidation-Doxk7u8O.js → useValidation-DVMLhp7P.js} +1 -1
  9. package/dist/{utils-g-eGs-rV.js → utils-DDzzeDYC.js} +1 -1
  10. package/dist/{wt-action-bar-CY9H27Ec.js → wt-action-bar-Bmam7PTX.js} +2 -2
  11. package/dist/{wt-badge-Dyvw8SJe.js → wt-badge-B2sYDOIO.js} +1 -1
  12. package/dist/{wt-button-qmvx3hrn.js → wt-button-CnE463wN.js} +2 -2
  13. package/dist/{wt-chat-emoji-Cx8k9m9H.js → wt-chat-emoji-57Q-4jDY.js} +4 -4
  14. package/dist/{wt-datepicker-Da7l0Gm1.js → wt-datepicker-BMD_vwhp.js} +6 -6
  15. package/dist/{wt-display-chip-items-AZ9DiSV4.js → wt-display-chip-items-DUKofLnh.js} +2 -2
  16. package/dist/{wt-dual-panel-DliLMQ_m.js → wt-dual-panel-BLvpBVYd.js} +1 -1
  17. package/dist/{wt-expansion-card-CcziJa7V.js → wt-expansion-card-BtjKjHn7.js} +1 -1
  18. package/dist/{wt-expansion-panel-Y3eYALow.js → wt-expansion-panel-B1ELycoD.js} +1 -1
  19. package/dist/{wt-icon-oMc-wpjH.js → wt-icon-DcUiwhds.js} +3 -3
  20. package/dist/{wt-icon-action-BIO8dR4s.js → wt-icon-action-D81WgIrd.js} +2 -19
  21. package/dist/{wt-icon-btn-D0co3nt5.js → wt-icon-btn-nXKOrltT.js} +1 -1
  22. package/dist/{wt-notifications-bar-CC48Ce7a.js → wt-notifications-bar-PZDG_jxU.js} +2 -2
  23. package/dist/{wt-player-CjAl-XrU.js → wt-player-D8dtW7Vv.js} +3 -3
  24. package/dist/{wt-screen-recordings-action-Dwj649Zu.js → wt-screen-recordings-action-BSVE_Bnb.js} +1 -1
  25. package/dist/{wt-search-bar-B9iP5zrT.js → wt-search-bar-BHKUUhH-.js} +1 -1
  26. package/dist/{wt-send-message-popup-BjI9PKzi.js → wt-send-message-popup-CXPAarjJ.js} +3 -3
  27. package/dist/{wt-status-select-C5YdvKpM.js → wt-status-select-D73ufZVN.js} +2 -2
  28. package/dist/{wt-table-CsGUHe1D.js → wt-table-C_MUE0EP.js} +3 -3
  29. package/dist/{wt-timepicker-DcoIUiO-.js → wt-timepicker-D1dciWJ0.js} +4 -4
  30. package/dist/{wt-toast-DGtljpcq.js → wt-toast-C8mbYaNa.js} +10 -10
  31. package/dist/{wt-tree-table-DnvAUSXr.js → wt-tree-table-DluG-JAm.js} +1 -1
  32. package/dist/{wt-type-extension-value-input-C6Mq2QeU.js → wt-type-extension-value-input-C2A0Pk2o.js} +1846 -1774
  33. package/dist/{wt-vidstack-player-D_N5CdUm.js → wt-vidstack-player-CQOGC3TS.js} +5 -5
  34. package/package.json +1 -1
  35. package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +47 -0
  36. package/src/components/wt-app-header/assets/wfm-dark.svg +118 -0
  37. package/src/components/wt-app-header/assets/wfm-light.svg +118 -0
  38. package/src/components/wt-app-header/wt-app-navigator.vue +9 -0
  39. package/src/components/wt-icon-action/wt-icon-action.vue +1 -19
  40. package/src/enums/WebitelApplications/WfmSections.ts +6 -1
  41. package/src/locale/en/en.js +7 -0
  42. package/src/locale/es/es.js +7 -0
  43. package/src/locale/kz/kz.js +7 -0
  44. package/src/locale/pl/pl.js +7 -0
  45. package/src/locale/ro/ro.js +7 -0
  46. package/src/locale/ru/ru.js +7 -0
  47. package/src/locale/uk/uk.js +7 -0
  48. package/src/locale/uz/uz.js +7 -0
  49. package/src/locale/vi/vi.js +7 -0
  50. package/src/modules/Userinfo/classes/ApplicationsAccess.ts +20 -0
  51. package/src/modules/Userinfo/classes/__tests__/ApplicationsAccess.spec.ts +54 -0
  52. package/src/modules/Userinfo/mappings/__tests__/mappings.spec.ts +32 -0
  53. package/src/modules/Userinfo/mappings/mappings.ts +8 -2
  54. package/src/modules/Userinfo/types/UserAccess.ts +3 -1
  55. package/types/.tsbuildinfo +1 -1
  56. package/types/enums/WebitelApplications/WfmSections.d.ts +4 -1
  57. package/types/locale/en/en.d.ts +6 -0
  58. package/types/locale/es/es.d.ts +8 -0
  59. package/types/locale/i18n.d.ts +54 -0
  60. package/types/locale/index.d.ts +54 -0
  61. package/types/locale/kz/kz.d.ts +8 -0
  62. package/types/locale/pl/pl.d.ts +8 -0
  63. package/types/locale/ro/ro.d.ts +8 -0
  64. package/types/locale/ru/ru.d.ts +8 -0
  65. package/types/locale/uk/uk.d.ts +8 -0
  66. package/types/locale/uz/uz.d.ts +8 -0
  67. package/types/locale/vi/vi.d.ts +8 -0
  68. package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +3 -1
  69. package/types/modules/Userinfo/mappings/mappings.d.ts +3 -2
  70. package/types/modules/Userinfo/types/UserAccess.d.ts +2 -2
@@ -1,9 +1,9 @@
1
- import { w as e } from "./components-BF21ppoM.js";
2
- import "./convertDuration-B7EyPh1B.js";
1
+ import { w as e } from "./components-Bp-9Pd3E.js";
2
+ import "./convertDuration-r4cKShcD.js";
3
3
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
- import { m as n } from "./enums-Qt_FgVQw.js";
5
- import "./wt-button-qmvx3hrn.js";
6
- import { t as r } from "./wt-icon-btn-D0co3nt5.js";
4
+ import { h as n } from "./enums-De3aMU0v.js";
5
+ import "./wt-button-CnE463wN.js";
6
+ import { t as r } from "./wt-icon-btn-nXKOrltT.js";
7
7
  import { $ as i, C as a, D as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as g, P as ee, Q as _, R as te, S as v, U as ne, V as y, W as b, X as x, Y as re, Z as S, _ as C, a as ie, b as ae, c as oe, d as se, et as ce, f as le, g as ue, h as de, i as w, it as fe, j as pe, k as me, l as T, m as he, n as E, nt as D, o as O, ot as ge, p as k, q as A, r as j, rt as _e, t as ve, tt as ye, u as be, v as M, w as xe, y as Se, z as Ce } from "./vidstack-D9mvYVIz-DesuYgKV.js";
8
8
  import { _ as N, a as we, c as Te, d as Ee, f as De, g as Oe, h as ke, i as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, r as Ie, s as Le, t as P, u as Re } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
9
9
  import { _ as ze, a as Be, c as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, n as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, x as $e, y as et } from "./useVidstackSrc-aQcqC_v0.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.131",
3
+ "version": "26.8.133",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -63,6 +63,53 @@ describe('WtAppNavigator', () => {
63
63
  ]);
64
64
  });
65
65
 
66
+ it('renders the WFM card last, after Grafana', () => {
67
+ const wrapper = shallowMount(WtAppNavigator, {
68
+ props: {
69
+ apps: [
70
+ {
71
+ name: WtApplication.Wfm,
72
+ href: '/wfm',
73
+ },
74
+ {
75
+ name: WtApplication.Analytics,
76
+ href: '/grafana',
77
+ },
78
+ {
79
+ name: WtApplication.Crm,
80
+ href: '/crm',
81
+ },
82
+ ],
83
+ },
84
+ });
85
+ expect(wrapper.vm.formattedApps.map((app) => app.name)).toEqual([
86
+ WtApplication.Crm,
87
+ WtApplication.Analytics,
88
+ WtApplication.Wfm,
89
+ ]);
90
+ expect(wrapper.vm.formattedApps.at(-1).img).toBeTruthy();
91
+ });
92
+
93
+ it('skips apps without a card instead of throwing', () => {
94
+ const wrapper = shallowMount(WtAppNavigator, {
95
+ props: {
96
+ apps: [
97
+ {
98
+ name: 'unknown-app',
99
+ href: '/unknown',
100
+ },
101
+ {
102
+ name: WtApplication.Admin,
103
+ href: '/admin',
104
+ },
105
+ ],
106
+ },
107
+ });
108
+ expect(wrapper.vm.formattedApps.map((app) => app.name)).toEqual([
109
+ WtApplication.Admin,
110
+ ]);
111
+ });
112
+
66
113
  it('marks the current app as active', () => {
67
114
  const wrapper = shallowMount(WtAppNavigator, {
68
115
  props: {
@@ -0,0 +1,118 @@
1
+ <svg width="85" height="72" viewBox="0 0 85 72" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="1.7002" y="1.69412" width="81.6" height="4.23529" rx="2" fill="#14171F"/>
3
+ <rect x="1.7002" y="16.0941" width="81.6" height="4.23529" rx="2" fill="#292E3D"/>
4
+ <rect x="1.7002" y="22.0235" width="81.6" height="48.2824" rx="2" fill="#292E3D"/>
5
+ <rect x="1.7002" y="7.62353" width="81.6" height="6.77647" rx="2" fill="#292E3D"/>
6
+ <rect x="4.95166" y="10.6364" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
7
+ <rect x="4.95166" y="18" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
8
+ <rect x="18.1553" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#A3AAC2"/>
9
+ <rect x="70.9707" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#A3AAC2"/>
10
+ <rect x="75.0972" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#A3AAC2"/>
11
+ <rect x="79.2231" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#A3AAC2"/>
12
+ <rect x="73.9502" y="9.31765" width="7.65" height="3.38824" rx="1" fill="#14171F"/>
13
+ <rect x="64.6001" y="9.31765" width="7.65" height="3.38824" rx="1" fill="#169C18"/>
14
+ <rect x="3.3999" y="35.5765" width="78.2" height="4.23529" rx="2" fill="#272C3A"/>
15
+ <rect x="31" y="43" width="4" height="3" fill="#169C18"/>
16
+ <rect x="40" y="43" width="6" height="3" fill="#169C18"/>
17
+ <rect x="35" y="43" width="3" height="3" fill="#F6AB55"/>
18
+ <rect x="39" y="43" width="1" height="3" fill="#F6AB55"/>
19
+ <rect x="60" y="43" width="2" height="3" fill="#F6AB55"/>
20
+ <rect x="47" y="43" width="7" height="3" fill="#169C18"/>
21
+ <rect x="55" y="43" width="5" height="3" fill="#169C18"/>
22
+ <rect x="63" y="43" width="7" height="3" fill="#169C18"/>
23
+ <rect x="71" y="43" width="7" height="3" fill="#169C18"/>
24
+ <rect x="79" y="43" width="7" height="3" fill="#04D9FA"/>
25
+ <rect x="5.1001" y="37.2417" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
26
+ <rect x="17.9985" y="36.4235" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
27
+ <rect x="3.3999" y="52.5176" width="78.2" height="4.23529" rx="2" fill="#272C3A"/>
28
+ <rect x="31" y="63" width="4" height="3" fill="#169C18"/>
29
+ <rect x="40" y="63" width="6" height="3" fill="#169C18"/>
30
+ <rect x="35" y="63" width="3" height="3" fill="#F6AB55"/>
31
+ <rect x="39" y="63" width="1" height="3" fill="#F6AB55"/>
32
+ <rect x="60" y="63" width="2" height="3" fill="#F6AB55"/>
33
+ <rect x="47" y="63" width="7" height="3" fill="#169C18"/>
34
+ <rect x="55" y="63" width="5" height="3" fill="#169C18"/>
35
+ <rect x="63" y="63" width="7" height="3" fill="#169C18"/>
36
+ <rect x="71" y="63" width="7" height="3" fill="#169C18"/>
37
+ <rect x="79" y="63" width="7" height="3" fill="#04D9FA"/>
38
+ <rect x="5.1001" y="54.1829" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
39
+ <rect x="17.9985" y="53.3647" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
40
+ <rect x="3.3999" y="44.0471" width="78.2" height="4.23529" rx="2" fill="#272C3A"/>
41
+ <rect x="31" y="53" width="4" height="3" fill="#169C18"/>
42
+ <rect x="40" y="53" width="6" height="3" fill="#169C18"/>
43
+ <rect x="35" y="53" width="3" height="3" fill="#F6AB55"/>
44
+ <rect x="39" y="53" width="1" height="3" fill="#F6AB55"/>
45
+ <rect x="60" y="53" width="2" height="3" fill="#F6AB55"/>
46
+ <rect x="47" y="53" width="7" height="3" fill="#169C18"/>
47
+ <rect x="55" y="53" width="5" height="3" fill="#169C18"/>
48
+ <rect x="63" y="53" width="7" height="3" fill="#169C18"/>
49
+ <rect x="71" y="53" width="7" height="3" fill="#169C18"/>
50
+ <rect x="79" y="53" width="7" height="3" fill="#FAA09E"/>
51
+ <rect x="5.1001" y="45.7123" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
52
+ <rect x="17.9985" y="44.8941" width="2.47573" height="2.45455" rx="1.22727" fill="#F6AB55"/>
53
+ <rect x="3.3999" y="60.9882" width="78.2" height="4.23529" rx="2" fill="#272C3A"/>
54
+ <rect x="5.1001" y="62.6535" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
55
+ <rect x="17.9985" y="61.8353" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
56
+ <rect x="31" y="48" width="7" height="3" fill="#169C18"/>
57
+ <rect x="47" y="48" width="7" height="3" fill="#169C18"/>
58
+ <rect x="55" y="48" width="7" height="3" fill="#FAA09E"/>
59
+ <rect x="63" y="48" width="3" height="3" fill="#169C18"/>
60
+ <rect x="71" y="48" width="7" height="3" fill="#169C18"/>
61
+ <rect x="79" y="48" width="7" height="3" fill="#169C18"/>
62
+ <rect x="5.1001" y="41.477" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
63
+ <rect x="17.9985" y="40.6588" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
64
+ <rect x="39" y="48" width="4" height="3" fill="#169C18"/>
65
+ <rect x="43" y="48" width="3" height="3" fill="#F6AB55"/>
66
+ <rect x="66" y="48" width="4" height="3" fill="#F6AB55"/>
67
+ <rect x="31" y="68" width="7" height="3" fill="#169C18"/>
68
+ <rect x="47" y="68" width="7" height="3" fill="#169C18"/>
69
+ <rect x="55" y="68" width="7" height="3" fill="#FAA09E"/>
70
+ <rect x="63" y="68" width="3" height="3" fill="#169C18"/>
71
+ <rect x="71" y="68" width="7" height="3" fill="#169C18"/>
72
+ <rect x="79" y="68" width="7" height="3" fill="#169C18"/>
73
+ <rect x="5.1001" y="58.4182" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
74
+ <rect x="17.9985" y="57.6" width="2.47573" height="2.45455" rx="1.22727" fill="#F6AB55"/>
75
+ <rect x="39" y="68" width="4" height="3" fill="#169C18"/>
76
+ <rect x="43" y="68" width="3" height="3" fill="#F6AB55"/>
77
+ <rect x="66" y="68" width="4" height="3" fill="#F6AB55"/>
78
+ <rect x="31" y="58" width="7" height="3" fill="#169C18"/>
79
+ <rect x="47" y="58" width="7" height="3" fill="#169C18"/>
80
+ <rect x="55" y="58" width="7" height="3" fill="#FAA09E"/>
81
+ <rect x="63" y="58" width="3" height="3" fill="#169C18"/>
82
+ <rect x="71" y="58" width="7" height="3" fill="#169C18"/>
83
+ <rect x="79" y="58" width="7" height="3" fill="#169C18"/>
84
+ <rect x="5.1001" y="49.9476" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
85
+ <rect x="17.9985" y="49.1294" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
86
+ <rect x="39" y="58" width="4" height="3" fill="#169C18"/>
87
+ <rect x="43" y="58" width="3" height="3" fill="#F6AB55"/>
88
+ <rect x="66" y="58" width="4" height="3" fill="#F6AB55"/>
89
+ <rect x="31" y="38" width="7" height="3" fill="#169C18"/>
90
+ <rect x="47" y="38" width="7" height="3" fill="#169C18"/>
91
+ <rect x="55" y="38" width="7" height="3" fill="#FAA09E"/>
92
+ <rect x="63" y="38" width="3" height="3" fill="#169C18"/>
93
+ <rect x="71" y="38" width="7" height="3" fill="#169C18"/>
94
+ <rect x="79" y="38" width="7" height="3" fill="#169C18"/>
95
+ <rect x="5.1001" y="33.0064" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
96
+ <rect x="17.9985" y="32.1882" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
97
+ <rect x="39" y="38" width="4" height="3" fill="#169C18"/>
98
+ <rect x="43" y="38" width="3" height="3" fill="#F6AB55"/>
99
+ <rect x="66" y="38" width="4" height="3" fill="#F6AB55"/>
100
+ <rect x="5.1001" y="66.8888" width="11.5534" height="0.818182" rx="0.409091" fill="#C2C7D6"/>
101
+ <rect x="17.9985" y="66.0706" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
102
+ <rect x="28.8999" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 28.8999 23.7177)" fill="#1F222E"/>
103
+ <rect x="49.2998" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 49.2998 23.7177)" fill="#1F222E"/>
104
+ <rect x="69.7002" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 69.7002 23.7177)" fill="#1F222E"/>
105
+ <rect x="35.7002" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 35.7002 26.2588)" fill="#1F222E"/>
106
+ <rect x="56.1001" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 56.1001 26.2588)" fill="#1F222E"/>
107
+ <rect x="76.5" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 76.5 26.2588)" fill="#1F222E"/>
108
+ <rect x="42.5" y="24.5647" width="5.92941" height="2.55" rx="1.275" transform="rotate(90 42.5 24.5647)" fill="#1F222E"/>
109
+ <rect x="62.8999" y="24.5647" width="5.92941" height="2.55" rx="1.275" transform="rotate(90 62.8999 24.5647)" fill="#1F222E"/>
110
+ <rect x="32.2998" y="27.9529" width="2.54118" height="2.55" rx="1.27059" transform="rotate(90 32.2998 27.9529)" fill="#F65855"/>
111
+ <rect x="52.7002" y="27.9529" width="2.54118" height="2.55" rx="1.27059" transform="rotate(90 52.7002 27.9529)" fill="#F65855"/>
112
+ <rect x="73.1001" y="27.9529" width="2.54118" height="2.55" rx="1.27059" transform="rotate(90 73.1001 27.9529)" fill="#F65855"/>
113
+ <rect x="39.1001" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 39.1001 23.7177)" fill="#169C18"/>
114
+ <rect x="59.5" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 59.5 23.7177)" fill="#169C18"/>
115
+ <rect x="79.8999" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 79.8999 23.7177)" fill="#169C18"/>
116
+ <rect x="45.8999" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 45.8999 26.2588)" fill="#F6AB55"/>
117
+ <rect x="66.2998" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 66.2998 26.2588)" fill="#F6AB55"/>
118
+ </svg>
@@ -0,0 +1,118 @@
1
+ <svg width="85" height="72" viewBox="0 0 85 72" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="1.7002" y="1.69412" width="81.6" height="4.23529" rx="2" fill="#D1D5E0"/>
3
+ <rect x="1.7002" y="16.0941" width="81.6" height="4.23529" rx="2" fill="white"/>
4
+ <rect x="1.7002" y="22.0235" width="81.6" height="48.2824" rx="2" fill="white"/>
5
+ <rect x="1.7002" y="7.62353" width="81.6" height="6.77647" rx="2" fill="white"/>
6
+ <rect x="4.95166" y="10.6364" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
7
+ <rect x="4.95166" y="18" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
8
+ <rect x="18.1553" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#3D455C"/>
9
+ <rect x="70.9707" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#3D455C"/>
10
+ <rect x="75.0972" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#3D455C"/>
11
+ <rect x="79.2231" y="18" width="2.47573" height="0.818182" rx="0.409091" fill="#3D455C"/>
12
+ <rect x="73.9502" y="9.31765" width="7.65" height="3.38824" rx="1" fill="#D1D5E0"/>
13
+ <rect x="64.6001" y="9.31765" width="7.65" height="3.38824" rx="1" fill="#169C18"/>
14
+ <rect x="3.3999" y="35.5765" width="78.2" height="4.23529" rx="2" fill="#EDEEF3"/>
15
+ <rect x="31" y="43" width="4" height="3" fill="#169C18"/>
16
+ <rect x="40" y="43" width="6" height="3" fill="#169C18"/>
17
+ <rect x="35" y="43" width="3" height="3" fill="#F6AB55"/>
18
+ <rect x="39" y="43" width="1" height="3" fill="#F6AB55"/>
19
+ <rect x="60" y="43" width="2" height="3" fill="#F6AB55"/>
20
+ <rect x="47" y="43" width="7" height="3" fill="#169C18"/>
21
+ <rect x="55" y="43" width="5" height="3" fill="#169C18"/>
22
+ <rect x="63" y="43" width="7" height="3" fill="#169C18"/>
23
+ <rect x="71" y="43" width="7" height="3" fill="#169C18"/>
24
+ <rect x="79" y="43" width="7" height="3" fill="#04D9FA"/>
25
+ <rect x="5.1001" y="37.2417" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
26
+ <rect x="17.9985" y="36.4235" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
27
+ <rect x="3.3999" y="52.5176" width="78.2" height="4.23529" rx="2" fill="#EDEEF3"/>
28
+ <rect x="31" y="63" width="4" height="3" fill="#169C18"/>
29
+ <rect x="40" y="63" width="6" height="3" fill="#169C18"/>
30
+ <rect x="35" y="63" width="3" height="3" fill="#F6AB55"/>
31
+ <rect x="39" y="63" width="1" height="3" fill="#F6AB55"/>
32
+ <rect x="60" y="63" width="2" height="3" fill="#F6AB55"/>
33
+ <rect x="47" y="63" width="7" height="3" fill="#169C18"/>
34
+ <rect x="55" y="63" width="5" height="3" fill="#169C18"/>
35
+ <rect x="63" y="63" width="7" height="3" fill="#169C18"/>
36
+ <rect x="71" y="63" width="7" height="3" fill="#169C18"/>
37
+ <rect x="79" y="63" width="7" height="3" fill="#04D9FA"/>
38
+ <rect x="5.1001" y="54.1829" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
39
+ <rect x="17.9985" y="53.3647" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
40
+ <rect x="3.3999" y="44.0471" width="78.2" height="4.23529" rx="2" fill="#EDEEF3"/>
41
+ <rect x="31" y="53" width="4" height="3" fill="#169C18"/>
42
+ <rect x="40" y="53" width="6" height="3" fill="#169C18"/>
43
+ <rect x="35" y="53" width="3" height="3" fill="#F6AB55"/>
44
+ <rect x="39" y="53" width="1" height="3" fill="#F6AB55"/>
45
+ <rect x="60" y="53" width="2" height="3" fill="#F6AB55"/>
46
+ <rect x="47" y="53" width="7" height="3" fill="#169C18"/>
47
+ <rect x="55" y="53" width="5" height="3" fill="#169C18"/>
48
+ <rect x="63" y="53" width="7" height="3" fill="#169C18"/>
49
+ <rect x="71" y="53" width="7" height="3" fill="#169C18"/>
50
+ <rect x="79" y="53" width="7" height="3" fill="#FCCFCF"/>
51
+ <rect x="5.1001" y="45.7123" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
52
+ <rect x="17.9985" y="44.8941" width="2.47573" height="2.45455" rx="1.22727" fill="#F6AB55"/>
53
+ <rect x="3.3999" y="60.9882" width="78.2" height="4.23529" rx="2" fill="#EDEEF3"/>
54
+ <rect x="5.1001" y="62.6535" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
55
+ <rect x="17.9985" y="61.8353" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
56
+ <rect x="31" y="48" width="7" height="3" fill="#169C18"/>
57
+ <rect x="47" y="48" width="7" height="3" fill="#169C18"/>
58
+ <rect x="55" y="48" width="7" height="3" fill="#FCCFCF"/>
59
+ <rect x="63" y="48" width="3" height="3" fill="#169C18"/>
60
+ <rect x="71" y="48" width="7" height="3" fill="#169C18"/>
61
+ <rect x="79" y="48" width="7" height="3" fill="#169C18"/>
62
+ <rect x="5.1001" y="41.477" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
63
+ <rect x="17.9985" y="40.6588" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
64
+ <rect x="39" y="48" width="4" height="3" fill="#169C18"/>
65
+ <rect x="43" y="48" width="3" height="3" fill="#F6AB55"/>
66
+ <rect x="66" y="48" width="4" height="3" fill="#F6AB55"/>
67
+ <rect x="31" y="68" width="7" height="3" fill="#169C18"/>
68
+ <rect x="47" y="68" width="7" height="3" fill="#169C18"/>
69
+ <rect x="55" y="68" width="7" height="3" fill="#FCCFCF"/>
70
+ <rect x="63" y="68" width="3" height="3" fill="#169C18"/>
71
+ <rect x="71" y="68" width="7" height="3" fill="#169C18"/>
72
+ <rect x="79" y="68" width="7" height="3" fill="#169C18"/>
73
+ <rect x="5.1001" y="58.4182" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
74
+ <rect x="17.9985" y="57.6" width="2.47573" height="2.45455" rx="1.22727" fill="#F6AB55"/>
75
+ <rect x="39" y="68" width="4" height="3" fill="#169C18"/>
76
+ <rect x="43" y="68" width="3" height="3" fill="#F6AB55"/>
77
+ <rect x="66" y="68" width="4" height="3" fill="#F6AB55"/>
78
+ <rect x="31" y="58" width="7" height="3" fill="#169C18"/>
79
+ <rect x="47" y="58" width="7" height="3" fill="#169C18"/>
80
+ <rect x="55" y="58" width="7" height="3" fill="#FCCFCF"/>
81
+ <rect x="63" y="58" width="3" height="3" fill="#169C18"/>
82
+ <rect x="71" y="58" width="7" height="3" fill="#169C18"/>
83
+ <rect x="79" y="58" width="7" height="3" fill="#169C18"/>
84
+ <rect x="5.1001" y="49.9476" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
85
+ <rect x="17.9985" y="49.1294" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
86
+ <rect x="39" y="58" width="4" height="3" fill="#169C18"/>
87
+ <rect x="43" y="58" width="3" height="3" fill="#F6AB55"/>
88
+ <rect x="66" y="58" width="4" height="3" fill="#F6AB55"/>
89
+ <rect x="31" y="38" width="7" height="3" fill="#169C18"/>
90
+ <rect x="47" y="38" width="7" height="3" fill="#169C18"/>
91
+ <rect x="55" y="38" width="7" height="3" fill="#FCCFCF"/>
92
+ <rect x="63" y="38" width="3" height="3" fill="#169C18"/>
93
+ <rect x="71" y="38" width="7" height="3" fill="#169C18"/>
94
+ <rect x="79" y="38" width="7" height="3" fill="#169C18"/>
95
+ <rect x="5.1001" y="33.0064" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
96
+ <rect x="17.9985" y="32.1882" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
97
+ <rect x="39" y="38" width="4" height="3" fill="#169C18"/>
98
+ <rect x="43" y="38" width="3" height="3" fill="#F6AB55"/>
99
+ <rect x="66" y="38" width="4" height="3" fill="#F6AB55"/>
100
+ <rect x="5.1001" y="66.8888" width="11.5534" height="0.818182" rx="0.409091" fill="#1F222E"/>
101
+ <rect x="17.9985" y="66.0706" width="2.47573" height="2.45455" rx="1.22727" fill="#24A850"/>
102
+ <rect x="28.8999" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 28.8999 23.7177)" fill="#E0E3EB"/>
103
+ <rect x="49.2998" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 49.2998 23.7177)" fill="#E0E3EB"/>
104
+ <rect x="69.7002" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 69.7002 23.7177)" fill="#E0E3EB"/>
105
+ <rect x="35.7002" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 35.7002 26.2588)" fill="#E0E3EB"/>
106
+ <rect x="56.1001" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 56.1001 26.2588)" fill="#E0E3EB"/>
107
+ <rect x="76.5" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 76.5 26.2588)" fill="#E0E3EB"/>
108
+ <rect x="42.5" y="24.5647" width="5.92941" height="2.55" rx="1.275" transform="rotate(90 42.5 24.5647)" fill="#E0E3EB"/>
109
+ <rect x="62.8999" y="24.5647" width="5.92941" height="2.55" rx="1.275" transform="rotate(90 62.8999 24.5647)" fill="#E0E3EB"/>
110
+ <rect x="32.2998" y="27.9529" width="2.54118" height="2.55" rx="1.27059" transform="rotate(90 32.2998 27.9529)" fill="#F65855"/>
111
+ <rect x="52.7002" y="27.9529" width="2.54118" height="2.55" rx="1.27059" transform="rotate(90 52.7002 27.9529)" fill="#F65855"/>
112
+ <rect x="73.1001" y="27.9529" width="2.54118" height="2.55" rx="1.27059" transform="rotate(90 73.1001 27.9529)" fill="#F65855"/>
113
+ <rect x="39.1001" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 39.1001 23.7177)" fill="#169C18"/>
114
+ <rect x="59.5" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 59.5 23.7177)" fill="#169C18"/>
115
+ <rect x="79.8999" y="23.7177" width="6.77647" height="2.55" rx="1.275" transform="rotate(90 79.8999 23.7177)" fill="#169C18"/>
116
+ <rect x="45.8999" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 45.8999 26.2588)" fill="#F6AB55"/>
117
+ <rect x="66.2998" y="26.2588" width="4.23529" height="2.55" rx="1.275" transform="rotate(90 66.2998 26.2588)" fill="#F6AB55"/>
118
+ </svg>
@@ -65,6 +65,8 @@ import HistoryDark from './assets/history-dark.svg';
65
65
  import HistoryLight from './assets/history-light.svg';
66
66
  import SupervisorDark from './assets/supervisor-dark.svg';
67
67
  import SupervisorLight from './assets/supervisor-light.svg';
68
+ import WfmDark from './assets/wfm-dark.svg';
69
+ import WfmLight from './assets/wfm-light.svg';
68
70
 
69
71
  const pics = {
70
72
  [WtApplication.Admin]: {
@@ -95,6 +97,10 @@ const pics = {
95
97
  dark: SupervisorDark,
96
98
  light: SupervisorLight,
97
99
  },
100
+ [WtApplication.Wfm]: {
101
+ dark: WfmDark,
102
+ light: WfmLight,
103
+ },
98
104
  };
99
105
 
100
106
  const props = defineProps({
@@ -130,11 +136,14 @@ const order = [
130
136
  WtApplication.Audit,
131
137
  WtApplication.Crm,
132
138
  WtApplication.Analytics,
139
+ WtApplication.Wfm,
133
140
  ];
134
141
 
135
142
  const formattedApps = computed(() =>
136
143
  props.apps
137
144
  .reduce((apps, app) => {
145
+ // [Claude] skip apps this version has no card for, instead of crashing the header
146
+ if (!pics[app.name]) return apps;
138
147
  apps.push({
139
148
  ...app,
140
149
  img: props.darkMode ? pics[app.name].dark : pics[app.name].light,
@@ -24,25 +24,7 @@ const props = defineProps({
24
24
  action: {
25
25
  type: String,
26
26
  required: true,
27
- validator: (v) =>
28
- Object.values([
29
- IconAction.DELETE,
30
- IconAction.EDIT,
31
- IconAction.ADD,
32
- IconAction.HISTORY,
33
- IconAction.DOWNLOAD,
34
- IconAction.REFRESH,
35
- IconAction.SAVE,
36
- IconAction.CANCEL,
37
- IconAction.SAVE_PRESET,
38
- IconAction.APPLY_PRESET,
39
- IconAction.ADD_CONTACT,
40
- IconAction.DOWNLOAD_PDF,
41
- IconAction.CHAT,
42
- IconAction.SORT,
43
- IconAction.UPLOAD,
44
- IconAction.LOGOUT,
45
- ]).includes(v),
27
+ validator: (v) => Object.values(IconAction).includes(v),
46
28
  },
47
29
  disabled: {
48
30
  type: Boolean,
@@ -1,7 +1,12 @@
1
1
  export const WfmSections = {
2
- MySchedules: 'my-schedules',
3
2
  Agents: 'agents',
4
3
  Schedules: 'schedules',
4
+
5
+ // CONFIGURATION - LOOKUPS
6
+ ShiftTemplates: 'shift-templates',
7
+ PauseTemplates: 'pause-templates',
8
+ WorkingConditions: 'working-conditions',
9
+ ForecastCalculation: 'forecast-calculation',
5
10
  } as const;
6
11
 
7
12
  export type WfmSections = (typeof WfmSections)[keyof typeof WfmSections];
@@ -18,6 +18,7 @@ import {
18
18
  QueueType,
19
19
  RelativeDatetimeValue,
20
20
  SupervisorSections,
21
+ WfmSections,
21
22
  WtApplication,
22
23
  } from '../../enums';
23
24
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -458,6 +459,11 @@ export default deepmerge(
458
459
  },
459
460
  [WtApplication.Wfm]: {
460
461
  name: 'WFM',
462
+ sections: {
463
+ [WfmSections.Agents]: 'Agents',
464
+ [WfmSections.Schedules]: 'Schedules',
465
+ [WfmSections.ForecastCalculation]: 'Forecast calculation',
466
+ },
461
467
  },
462
468
  [WtApplication.Meet]: {
463
469
  theCameraIsTurnedOff: 'The camera is turned off',
@@ -556,6 +562,7 @@ export default deepmerge(
556
562
  history: 'History',
557
563
  grafana: 'Grafana',
558
564
  crm: 'CRM',
565
+ wfm: 'WFM',
559
566
  },
560
567
  headerActions: {
561
568
  account: 'Account',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -448,6 +449,11 @@ export default {
448
449
  },
449
450
  [WtApplication.Wfm]: {
450
451
  name: 'WFM',
452
+ sections: {
453
+ [WfmSections.Agents]: 'Agentes',
454
+ [WfmSections.Schedules]: 'Horarios',
455
+ [WfmSections.ForecastCalculation]: 'Cálculo de pronóstico',
456
+ },
451
457
  },
452
458
  [WtApplication.Meet]: {
453
459
  theCameraIsTurnedOff: 'La cámara está apagada',
@@ -545,6 +551,7 @@ export default {
545
551
  history: 'Historial',
546
552
  grafana: 'Grafana',
547
553
  crm: 'CRM',
554
+ wfm: 'WFM',
548
555
  },
549
556
  headerActions: {
550
557
  account: 'Cuenta',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -451,6 +452,11 @@ export default {
451
452
  },
452
453
  [WtApplication.Wfm]: {
453
454
  name: 'WFM',
455
+ sections: {
456
+ [WfmSections.Agents]: 'Агенттер',
457
+ [WfmSections.Schedules]: 'Кестелер',
458
+ [WfmSections.ForecastCalculation]: 'Болжамды есептеу',
459
+ },
454
460
  },
455
461
  [WtApplication.Meet]: {
456
462
  theCameraIsTurnedOff: 'Камера өшірілген',
@@ -546,6 +552,7 @@ export default {
546
552
  history: 'Тарих',
547
553
  grafana: 'Grafana',
548
554
  crm: 'CRM',
555
+ wfm: 'WFM',
549
556
  },
550
557
  headerActions: {
551
558
  account: 'Есеп',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -451,6 +452,11 @@ export default {
451
452
  },
452
453
  [WtApplication.Wfm]: {
453
454
  name: 'WFM',
455
+ sections: {
456
+ [WfmSections.Agents]: 'Agenci',
457
+ [WfmSections.Schedules]: 'Harmonogramy',
458
+ [WfmSections.ForecastCalculation]: 'Obliczanie prognozy',
459
+ },
454
460
  },
455
461
  [WtApplication.Meet]: {
456
462
  theCameraIsTurnedOff: 'Kamera jest wyłączona',
@@ -546,6 +552,7 @@ export default {
546
552
  history: 'Historia',
547
553
  grafana: 'Grafana',
548
554
  crm: 'CRM',
555
+ wfm: 'WFM',
549
556
  },
550
557
  headerActions: {
551
558
  account: 'Konto',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -455,6 +456,11 @@ export default {
455
456
  },
456
457
  [WtApplication.Wfm]: {
457
458
  name: 'WFM',
459
+ sections: {
460
+ [WfmSections.Agents]: 'Agenți',
461
+ [WfmSections.Schedules]: 'Programe',
462
+ [WfmSections.ForecastCalculation]: 'Calculul prognozei',
463
+ },
458
464
  },
459
465
  [WtApplication.Meet]: {
460
466
  theCameraIsTurnedOff: 'Camera este oprită',
@@ -551,6 +557,7 @@ export default {
551
557
  history: 'Istoric',
552
558
  grafana: 'Grafana',
553
559
  crm: 'CRM',
560
+ wfm: 'WFM',
554
561
  },
555
562
  headerActions: {
556
563
  account: 'Cont',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -450,6 +451,11 @@ export default {
450
451
  },
451
452
  [WtApplication.Wfm]: {
452
453
  name: 'WFM',
454
+ sections: {
455
+ [WfmSections.Agents]: 'Агенты',
456
+ [WfmSections.Schedules]: 'Расписания',
457
+ [WfmSections.ForecastCalculation]: 'Расчёт прогноза',
458
+ },
453
459
  },
454
460
  [WtApplication.Meet]: {
455
461
  theCameraIsTurnedOff: 'Камера выключена',
@@ -545,6 +551,7 @@ export default {
545
551
  history: 'History',
546
552
  grafana: 'Grafana',
547
553
  crm: 'CRM',
554
+ wfm: 'WFM',
548
555
  },
549
556
  headerActions: {
550
557
  account: 'Аккаунт',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -449,6 +450,11 @@ export default {
449
450
  },
450
451
  [WtApplication.Wfm]: {
451
452
  name: 'WFM',
453
+ sections: {
454
+ [WfmSections.Agents]: 'Агенти',
455
+ [WfmSections.Schedules]: 'Розклади',
456
+ [WfmSections.ForecastCalculation]: 'Розрахунок прогнозу',
457
+ },
452
458
  },
453
459
  [WtApplication.Meet]: {
454
460
  theCameraIsTurnedOff: 'Камера вимкнута',
@@ -543,6 +549,7 @@ export default {
543
549
  history: 'History',
544
550
  grafana: 'Grafana',
545
551
  crm: 'CRM',
552
+ wfm: 'WFM',
546
553
  },
547
554
  headerActions: {
548
555
  account: 'Аккаунт',
@@ -17,6 +17,7 @@ import {
17
17
  QueueType,
18
18
  RelativeDatetimeValue,
19
19
  SupervisorSections,
20
+ WfmSections,
20
21
  WtApplication,
21
22
  } from '../../enums';
22
23
  import { AccessMode } from '../../modules/ObjectPermissions/enums/AccessMode.enum';
@@ -455,6 +456,11 @@ export default {
455
456
  },
456
457
  [WtApplication.Wfm]: {
457
458
  name: 'WFM',
459
+ sections: {
460
+ [WfmSections.Agents]: 'Agentlar',
461
+ [WfmSections.Schedules]: 'Jadvalar',
462
+ [WfmSections.ForecastCalculation]: 'Prognozni hisoblash',
463
+ },
458
464
  },
459
465
  [WtApplication.Meet]: {
460
466
  theCameraIsTurnedOff: 'Kamera o‘chirilgan',
@@ -551,6 +557,7 @@ export default {
551
557
  history: 'Tarix',
552
558
  grafana: 'Grafana',
553
559
  crm: 'CRM',
560
+ wfm: 'WFM',
554
561
  },
555
562
  headerActions: {
556
563
  account: 'Hisob',