@webitel/ui-sdk 26.8.135 → 26.8.138
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-DrPmbVSX.js → clients-CKBvYoKf.js} +53 -46
- package/dist/{components-9CBgYUtP.js → components-DirfTDyC.js} +13 -13
- package/dist/{convertDuration-BD5QndSK.js → convertDuration-y5tRHrgE.js} +1 -1
- package/dist/{enums-BvEqhoxF.js → enums-CLu6QDOc.js} +0 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3 -19
- package/dist/ui-sdk.umd.cjs +653 -661
- package/dist/{useValidation-Chi81N2l.js → useValidation-BO5PKJ7c.js} +1 -1
- package/dist/{utils-CmKtbcO3.js → utils-DVfDViCh.js} +1 -1
- package/dist/{wt-action-bar-DXYnWHme.js → wt-action-bar-RruYJ0y6.js} +2 -2
- package/dist/{wt-badge-CnAAKIeg.js → wt-badge-LyfZxvmI.js} +1 -1
- package/dist/{wt-button-y8woQDGq.js → wt-button-COHcpvhY.js} +2 -2
- package/dist/{wt-chat-emoji-D1J0tYEd.js → wt-chat-emoji-D7UDa2Xn.js} +4 -4
- package/dist/{wt-datepicker-BixY4lh8.js → wt-datepicker-D5ARLEeQ.js} +2 -2
- package/dist/{wt-display-chip-items-CRq3mw87.js → wt-display-chip-items-Dqwb5b-S.js} +2 -2
- package/dist/{wt-dual-panel-DBmRf2oA.js → wt-dual-panel-BRgwCFK_.js} +1 -1
- package/dist/{wt-expansion-card-C_dXRV6B.js → wt-expansion-card-JQxugKar.js} +1 -1
- package/dist/{wt-expansion-panel-BNH0PXrU.js → wt-expansion-panel-BHxaV6pi.js} +1 -1
- package/dist/{wt-icon-_V_cACZs.js → wt-icon-CgzRk5RS.js} +1 -1
- package/dist/{wt-icon-action-DfINMwWz.js → wt-icon-action-DqN65BiE.js} +1 -1
- package/dist/{wt-icon-btn-Cx_UcwxD.js → wt-icon-btn-DwwaYWSw.js} +1 -1
- package/dist/{wt-notifications-bar-Ddk3YG7S.js → wt-notifications-bar-BlybO6wl.js} +2 -2
- package/dist/{wt-player-DPCqFvP1.js → wt-player-CVj1a9-l.js} +3 -3
- package/dist/{wt-screen-recordings-action-C7F9WI1M.js → wt-screen-recordings-action-DKCrbDdO.js} +1 -1
- package/dist/{wt-search-bar-BMRuYKps.js → wt-search-bar-DpsACKmt.js} +1 -1
- package/dist/{wt-send-message-popup-B2avc8Kf.js → wt-send-message-popup-CQ0-OKQE.js} +3 -3
- package/dist/{wt-status-select-5weVN_y5.js → wt-status-select-CwrK_Q9v.js} +2 -2
- package/dist/{wt-table-DuDoSLDp.js → wt-table-C_Vk3v8K.js} +3 -3
- package/dist/{wt-timepicker-x-irFCvm.js → wt-timepicker-DhXZ0OI8.js} +2 -2
- package/dist/{wt-toast-VUIPkb0b.js → wt-toast-CrvaF-UL.js} +2 -2
- package/dist/{wt-tree-table-DgfweCby.js → wt-tree-table-BqV7-6Pz.js} +1 -1
- package/dist/{wt-type-extension-value-input-B7wJOPQZ.js → wt-type-extension-value-input-DPFFWC81.js} +23 -23
- package/dist/{wt-vidstack-player-D8SHvFdl.js → wt-vidstack-player-DB7M5VzI.js} +5 -5
- package/package.json +4 -4
- package/src/components/wt-galleria/wt-galleria.vue +6 -1
- package/src/enums/WebitelApplications/AdminSections.ts +0 -1
- 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/SaveCopy/composables/useSaveCopy.ts +29 -0
- package/src/modules/SaveCopy/index.ts +1 -0
- package/src/modules/Userinfo/classes/ApplicationsAccess.ts +4 -4
- package/src/modules/Userinfo/classes/__tests__/ApplicationsAccess.spec.ts +1 -3
- package/src/modules/Userinfo/mappings/__tests__/mappings.spec.ts +9 -3
- package/src/modules/Userinfo/mappings/mappings.ts +1 -1
- package/src/plugins/primevue/theme/components/galleria/galleria.js +0 -8
- package/types/.tsbuildinfo +1 -1
- package/types/enums/WebitelApplications/AdminSections.d.ts +0 -1
- package/types/locale/en/en.d.ts +2 -2
- package/types/locale/es/es.d.ts +4 -5
- package/types/locale/i18n.d.ts +18 -18
- package/types/locale/index.d.ts +18 -18
- package/types/locale/kz/kz.d.ts +4 -5
- package/types/locale/pl/pl.d.ts +4 -5
- package/types/locale/ro/ro.d.ts +4 -5
- package/types/locale/ru/ru.d.ts +4 -5
- package/types/locale/uk/uk.d.ts +4 -5
- package/types/locale/uz/uz.d.ts +4 -5
- package/types/locale/vi/vi.d.ts +4 -5
- package/types/modules/SaveCopy/composables/useSaveCopy.d.ts +7 -0
- package/types/modules/SaveCopy/index.d.ts +1 -0
- package/types/plugins/primevue/theme/components/galleria/galleria.d.ts +0 -8
- package/src/modules/SaveCopyPopup/components/save-copy-popup.vue +0 -73
- package/src/modules/SaveCopyPopup/composables/useSaveCopyPopup.ts +0 -37
- package/src/modules/SaveCopyPopup/index.ts +0 -2
- package/types/modules/SaveCopyPopup/components/save-copy-popup.vue.d.ts +0 -14
- package/types/modules/SaveCopyPopup/composables/useSaveCopyPopup.d.ts +0 -10
- package/types/modules/SaveCopyPopup/index.d.ts +0 -2
|
@@ -7,6 +7,7 @@ const wfmSections = [
|
|
|
7
7
|
WfmSections.Agents,
|
|
8
8
|
WfmSections.Schedules,
|
|
9
9
|
WfmSections.ForecastCalculation,
|
|
10
|
+
WfmSections.PauseTemplates,
|
|
10
11
|
WfmSections.ShiftTemplates,
|
|
11
12
|
];
|
|
12
13
|
|
|
@@ -29,9 +30,6 @@ describe('ApplicationsAccess', () => {
|
|
|
29
30
|
it('does not include lookups that are not moved to WFM yet', () => {
|
|
30
31
|
const { access } = new ApplicationsAccess();
|
|
31
32
|
|
|
32
|
-
expect(
|
|
33
|
-
access[WtApplication.Wfm][WfmSections.PauseTemplates],
|
|
34
|
-
).toBeUndefined();
|
|
35
33
|
expect(
|
|
36
34
|
access[WtApplication.Wfm][WfmSections.WorkingConditions],
|
|
37
35
|
).toBeUndefined();
|
|
@@ -16,9 +16,6 @@ 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.PauseTemplate),
|
|
21
|
-
).toBe(AdminSections.PauseTemplates);
|
|
22
19
|
expect(
|
|
23
20
|
castWtObjectToUiSection(WtApplication.Admin, WtObject.WorkingCondition),
|
|
24
21
|
).toBe(AdminSections.WorkingConditions);
|
|
@@ -32,4 +29,13 @@ describe('mapWtObjectToUiSection', () => {
|
|
|
32
29
|
castWtObjectToUiSection(WtApplication.Admin, WtObject.ShiftTemplate),
|
|
33
30
|
).toBeUndefined();
|
|
34
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),
|
|
39
|
+
).toBeUndefined();
|
|
40
|
+
});
|
|
35
41
|
});
|
|
@@ -241,7 +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.PauseTemplate]: AdminSections.PauseTemplates,
|
|
245
244
|
[WtObject.WorkingCondition]: AdminSections.WorkingConditions,
|
|
246
245
|
[WtObject.Member]: AdminSections.Members,
|
|
247
246
|
[WtObject.QuickReply]: AdminSections.QuickReplies,
|
|
@@ -278,6 +277,7 @@ export const mapWtObjectToUiSection: Partial<
|
|
|
278
277
|
// Wfm sections
|
|
279
278
|
[WtApplication.Wfm]: {
|
|
280
279
|
[WtObject.Agent]: WfmSections.Agents,
|
|
280
|
+
[WtObject.PauseTemplate]: WfmSections.PauseTemplates,
|
|
281
281
|
[WtObject.ShiftTemplate]: WfmSections.ShiftTemplates,
|
|
282
282
|
},
|
|
283
283
|
};
|
|
@@ -57,14 +57,6 @@ const galleria = {
|
|
|
57
57
|
.wt-galleria__footer-info {
|
|
58
58
|
color: ${dt('galleria.footer.color')};
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
.wt-galleria__footer svg {
|
|
62
|
-
fill: ${dt('galleria.footerIcon.color')};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.wt-galleria__footer svg:hover {
|
|
66
|
-
fill: ${dt('galleria.footerIcon.hoverColor')};
|
|
67
|
-
}
|
|
68
60
|
`,
|
|
69
61
|
};
|
|
70
62
|
|