@webitel/ui-sdk 26.8.134 → 26.8.136
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/dist/clients-C7QyOTHe.js +42456 -0
- package/dist/{components-Bp-9Pd3E.js → components-Ce88bKcR.js} +13 -13
- package/dist/{convertDuration-r4cKShcD.js → convertDuration-y5tRHrgE.js} +1 -1
- package/dist/{enums-De3aMU0v.js → enums-CLu6QDOc.js} +0 -2
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +529 -529
- package/dist/{useValidation-DVMLhp7P.js → useValidation-BO5PKJ7c.js} +1 -1
- package/dist/{utils-DDzzeDYC.js → utils-DVfDViCh.js} +1 -1
- package/dist/{wt-action-bar-Bmam7PTX.js → wt-action-bar-RruYJ0y6.js} +2 -2
- package/dist/{wt-badge-B2sYDOIO.js → wt-badge-LyfZxvmI.js} +1 -1
- package/dist/{wt-button-CnE463wN.js → wt-button-COHcpvhY.js} +2 -2
- package/dist/{wt-chat-emoji-57Q-4jDY.js → wt-chat-emoji-DtTLoivU.js} +4 -4
- package/dist/{wt-datepicker-BMD_vwhp.js → wt-datepicker-D5ARLEeQ.js} +2 -2
- package/dist/{wt-display-chip-items-DUKofLnh.js → wt-display-chip-items-xqv8mCRj.js} +2 -2
- package/dist/{wt-dual-panel-BLvpBVYd.js → wt-dual-panel-BRgwCFK_.js} +1 -1
- package/dist/{wt-expansion-card-BtjKjHn7.js → wt-expansion-card-JQxugKar.js} +1 -1
- package/dist/{wt-expansion-panel-B1ELycoD.js → wt-expansion-panel-BHxaV6pi.js} +1 -1
- package/dist/{wt-icon-DcUiwhds.js → wt-icon-CgzRk5RS.js} +1 -1
- package/dist/{wt-icon-action-D81WgIrd.js → wt-icon-action-DqN65BiE.js} +1 -1
- package/dist/{wt-icon-btn-nXKOrltT.js → wt-icon-btn-DwwaYWSw.js} +1 -1
- package/dist/{wt-notifications-bar-PZDG_jxU.js → wt-notifications-bar-BlybO6wl.js} +2 -2
- package/dist/{wt-player-D8dtW7Vv.js → wt-player-CVj1a9-l.js} +3 -3
- package/dist/{wt-screen-recordings-action-BSVE_Bnb.js → wt-screen-recordings-action-DKCrbDdO.js} +1 -1
- package/dist/{wt-search-bar-BHKUUhH-.js → wt-search-bar-DpsACKmt.js} +1 -1
- package/dist/{wt-send-message-popup-CXPAarjJ.js → wt-send-message-popup-DyK3nhp5.js} +3 -3
- package/dist/{wt-status-select-D73ufZVN.js → wt-status-select-CwrK_Q9v.js} +2 -2
- package/dist/{wt-table-C_MUE0EP.js → wt-table-C_Vk3v8K.js} +3 -3
- package/dist/{wt-timepicker-D1dciWJ0.js → wt-timepicker-DhXZ0OI8.js} +2 -2
- package/dist/{wt-toast-C8mbYaNa.js → wt-toast-CrvaF-UL.js} +2 -2
- package/dist/{wt-tree-table-DluG-JAm.js → wt-tree-table-BqV7-6Pz.js} +1 -1
- package/dist/{wt-type-extension-value-input-C2A0Pk2o.js → wt-type-extension-value-input-C18U_aE9.js} +36 -34
- package/dist/{wt-vidstack-player-CQOGC3TS.js → wt-vidstack-player-BFiQRCBc.js} +5 -5
- package/package.json +1 -1
- package/src/enums/WebitelApplications/AdminSections.ts +0 -2
- package/src/locale/en/en.js +2 -2
- package/src/locale/es/es.js +2 -2
- package/src/locale/kz/kz.js +2 -2
- package/src/locale/pl/pl.js +2 -2
- package/src/locale/ro/ro.js +2 -2
- package/src/locale/ru/ru.js +2 -2
- package/src/locale/uk/uk.js +2 -2
- package/src/locale/uz/uz.js +2 -2
- package/src/locale/vi/vi.js +2 -2
- package/src/modules/Userinfo/classes/ApplicationsAccess.ts +8 -8
- package/src/modules/Userinfo/classes/__tests__/ApplicationsAccess.spec.ts +2 -6
- package/src/modules/Userinfo/mappings/__tests__/mappings.spec.ts +15 -6
- package/src/modules/Userinfo/mappings/mappings.ts +2 -2
- package/types/.tsbuildinfo +1 -1
- package/types/enums/WebitelApplications/AdminSections.d.ts +0 -2
- package/types/locale/en/en.d.ts +4 -3
- package/types/locale/es/es.d.ts +4 -3
- package/types/locale/i18n.d.ts +27 -27
- package/types/locale/index.d.ts +27 -27
- package/types/locale/kz/kz.d.ts +4 -3
- package/types/locale/pl/pl.d.ts +4 -3
- package/types/locale/ro/ro.d.ts +4 -3
- package/types/locale/ru/ru.d.ts +4 -3
- package/types/locale/uk/uk.d.ts +4 -3
- package/types/locale/uz/uz.d.ts +4 -3
- package/types/locale/vi/vi.d.ts +4 -3
- package/dist/clients-BVxipio3.js +0 -42442
package/src/locale/uz/uz.js
CHANGED
|
@@ -425,8 +425,6 @@ export default {
|
|
|
425
425
|
[AdminSections.Buckets]: 'Savatlar',
|
|
426
426
|
[AdminSections.Media]: 'Media fayllar',
|
|
427
427
|
[AdminSections.ShiftTemplates]: 'Smena shablonlari',
|
|
428
|
-
[AdminSections.PauseTemplates]: 'Pauza shablonlari',
|
|
429
|
-
[AdminSections.WorkingConditions]: 'Ish sharoitlari',
|
|
430
428
|
[AdminSections.Blacklist]: "Ro'yxatlar",
|
|
431
429
|
[AdminSections.Calendars]: 'Taqvimlar',
|
|
432
430
|
[AdminSections.Regions]: 'Joylashuvlar',
|
|
@@ -460,6 +458,8 @@ export default {
|
|
|
460
458
|
[WfmSections.Agents]: 'Agentlar',
|
|
461
459
|
[WfmSections.Schedules]: 'Jadvalar',
|
|
462
460
|
[WfmSections.ForecastCalculation]: 'Prognozni hisoblash',
|
|
461
|
+
[WfmSections.PauseTemplates]: 'Pauza shablonlari',
|
|
462
|
+
[WfmSections.WorkingConditions]: 'Ish sharoitlari',
|
|
463
463
|
},
|
|
464
464
|
},
|
|
465
465
|
[WtApplication.Meet]: {
|
package/src/locale/vi/vi.js
CHANGED
|
@@ -425,8 +425,6 @@ export default {
|
|
|
425
425
|
[AdminSections.Buckets]: 'Vùng chứa',
|
|
426
426
|
[AdminSections.Media]: 'Tệp đa phương tiện',
|
|
427
427
|
[AdminSections.ShiftTemplates]: 'Mẫu ca làm việc',
|
|
428
|
-
[AdminSections.PauseTemplates]: 'Mẫu tạm dừng',
|
|
429
|
-
[AdminSections.WorkingConditions]: 'Điều kiện làm việc',
|
|
430
428
|
[AdminSections.Blacklist]: 'Danh sách',
|
|
431
429
|
[AdminSections.Calendars]: 'Lịch',
|
|
432
430
|
[AdminSections.Regions]: 'Địa điểm',
|
|
@@ -460,6 +458,8 @@ export default {
|
|
|
460
458
|
[WfmSections.Agents]: 'Đại lý',
|
|
461
459
|
[WfmSections.Schedules]: 'Lịch trình',
|
|
462
460
|
[WfmSections.ForecastCalculation]: 'Tính toán dự báo',
|
|
461
|
+
[WfmSections.PauseTemplates]: 'Mẫu tạm dừng',
|
|
462
|
+
[WfmSections.WorkingConditions]: 'Điều kiện làm việc',
|
|
463
463
|
},
|
|
464
464
|
},
|
|
465
465
|
[WtApplication.Meet]: {
|
|
@@ -139,14 +139,6 @@ const applicationsAccess = (value = true): ApplicationsAccessSchema => ({
|
|
|
139
139
|
_enabled: value,
|
|
140
140
|
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.Media}`,
|
|
141
141
|
},
|
|
142
|
-
[AdminSections.ShiftTemplates]: {
|
|
143
|
-
_enabled: value,
|
|
144
|
-
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.ShiftTemplates}`,
|
|
145
|
-
},
|
|
146
|
-
[AdminSections.PauseTemplates]: {
|
|
147
|
-
_enabled: value,
|
|
148
|
-
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.PauseTemplates}`,
|
|
149
|
-
},
|
|
150
142
|
[AdminSections.WorkingConditions]: {
|
|
151
143
|
_enabled: value,
|
|
152
144
|
_locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.WorkingConditions}`,
|
|
@@ -299,6 +291,14 @@ const applicationsAccess = (value = true): ApplicationsAccessSchema => ({
|
|
|
299
291
|
_enabled: value,
|
|
300
292
|
_locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.ForecastCalculation}`,
|
|
301
293
|
},
|
|
294
|
+
[WfmSections.PauseTemplates]: {
|
|
295
|
+
_enabled: value,
|
|
296
|
+
_locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.PauseTemplates}`,
|
|
297
|
+
},
|
|
298
|
+
[WfmSections.ShiftTemplates]: {
|
|
299
|
+
_enabled: value,
|
|
300
|
+
_locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.ShiftTemplates}`,
|
|
301
|
+
},
|
|
302
302
|
},
|
|
303
303
|
});
|
|
304
304
|
|
|
@@ -7,6 +7,8 @@ const wfmSections = [
|
|
|
7
7
|
WfmSections.Agents,
|
|
8
8
|
WfmSections.Schedules,
|
|
9
9
|
WfmSections.ForecastCalculation,
|
|
10
|
+
WfmSections.PauseTemplates,
|
|
11
|
+
WfmSections.ShiftTemplates,
|
|
10
12
|
];
|
|
11
13
|
|
|
12
14
|
describe('ApplicationsAccess', () => {
|
|
@@ -28,12 +30,6 @@ describe('ApplicationsAccess', () => {
|
|
|
28
30
|
it('does not include lookups that are not moved to WFM yet', () => {
|
|
29
31
|
const { access } = new ApplicationsAccess();
|
|
30
32
|
|
|
31
|
-
expect(
|
|
32
|
-
access[WtApplication.Wfm][WfmSections.ShiftTemplates],
|
|
33
|
-
).toBeUndefined();
|
|
34
|
-
expect(
|
|
35
|
-
access[WtApplication.Wfm][WfmSections.PauseTemplates],
|
|
36
|
-
).toBeUndefined();
|
|
37
33
|
expect(
|
|
38
34
|
access[WtApplication.Wfm][WfmSections.WorkingConditions],
|
|
39
35
|
).toBeUndefined();
|
|
@@ -16,17 +16,26 @@ describe('mapWtObjectToUiSection', () => {
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
it('keeps Admin mapping for lookups that are not moved to WFM yet', () => {
|
|
19
|
-
expect(
|
|
20
|
-
castWtObjectToUiSection(WtApplication.Admin, WtObject.ShiftTemplate),
|
|
21
|
-
).toBe(AdminSections.ShiftTemplates);
|
|
22
|
-
expect(
|
|
23
|
-
castWtObjectToUiSection(WtApplication.Admin, WtObject.PauseTemplate),
|
|
24
|
-
).toBe(AdminSections.PauseTemplates);
|
|
25
19
|
expect(
|
|
26
20
|
castWtObjectToUiSection(WtApplication.Admin, WtObject.WorkingCondition),
|
|
27
21
|
).toBe(AdminSections.WorkingConditions);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('maps shift templates to WFM only', () => {
|
|
28
25
|
expect(
|
|
29
26
|
castWtObjectToUiSection(WtApplication.Wfm, WtObject.ShiftTemplate),
|
|
27
|
+
).toBe(WfmSections.ShiftTemplates);
|
|
28
|
+
expect(
|
|
29
|
+
castWtObjectToUiSection(WtApplication.Admin, WtObject.ShiftTemplate),
|
|
30
|
+
).toBeUndefined();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it('maps pause templates to WFM only', () => {
|
|
34
|
+
expect(
|
|
35
|
+
castWtObjectToUiSection(WtApplication.Wfm, WtObject.PauseTemplate),
|
|
36
|
+
).toBe(WfmSections.PauseTemplates);
|
|
37
|
+
expect(
|
|
38
|
+
castWtObjectToUiSection(WtApplication.Admin, WtObject.PauseTemplate),
|
|
30
39
|
).toBeUndefined();
|
|
31
40
|
});
|
|
32
41
|
});
|
|
@@ -241,8 +241,6 @@ export const mapWtObjectToUiSection: Partial<
|
|
|
241
241
|
[WtObject.ChangeLog]: AdminSections.Changelogs,
|
|
242
242
|
[WtObject.Configuration]: AdminSections.Configuration,
|
|
243
243
|
[WtObject.GlobalVariable]: AdminSections.GlobalVariables,
|
|
244
|
-
[WtObject.ShiftTemplate]: AdminSections.ShiftTemplates,
|
|
245
|
-
[WtObject.PauseTemplate]: AdminSections.PauseTemplates,
|
|
246
244
|
[WtObject.WorkingCondition]: AdminSections.WorkingConditions,
|
|
247
245
|
[WtObject.Member]: AdminSections.Members,
|
|
248
246
|
[WtObject.QuickReply]: AdminSections.QuickReplies,
|
|
@@ -279,6 +277,8 @@ export const mapWtObjectToUiSection: Partial<
|
|
|
279
277
|
// Wfm sections
|
|
280
278
|
[WtApplication.Wfm]: {
|
|
281
279
|
[WtObject.Agent]: WfmSections.Agents,
|
|
280
|
+
[WtObject.PauseTemplate]: WfmSections.PauseTemplates,
|
|
281
|
+
[WtObject.ShiftTemplate]: WfmSections.ShiftTemplates,
|
|
282
282
|
},
|
|
283
283
|
};
|
|
284
284
|
|