@webitel/ui-sdk 26.8.50 → 26.8.52
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-jhkEj9YI.js +39275 -0
- package/dist/{components-2ISVk3oW.js → components-C4rE9PlV.js} +639 -631
- package/dist/{enums-De8CDKZ1.js → enums-DY3jIXFF.js} +50 -29
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +396 -396
- package/dist/{useValidation-D6P-wRwq.js → useValidation-BD4S-sEW.js} +1 -1
- package/dist/{wt-action-bar-HBm22ay5.js → wt-action-bar-C4JukltF.js} +2 -2
- package/dist/{wt-button-B7B7qITq.js → wt-button-2_aOV7LX.js} +4 -4
- package/dist/{wt-chat-emoji-ytWQWd8E.js → wt-chat-emoji-DVIlMP3o.js} +4 -4
- package/dist/{wt-datepicker-B8PRf5QY.js → wt-datepicker-H4E0JyRE.js} +6 -6
- package/dist/{wt-display-chip-items-BzQFwYws.js → wt-display-chip-items-DwMS-DJc.js} +1 -1
- package/dist/{wt-dual-panel-BEGLGU7F.js → wt-dual-panel-C98aGU8o.js} +1 -1
- package/dist/{wt-expansion-card-CpmnVJ03.js → wt-expansion-card-CEMaWXCy.js} +1 -1
- package/dist/{wt-expansion-panel-Br7JPc5X.js → wt-expansion-panel-BjeXHSay.js} +1 -1
- package/dist/{wt-icon-09f_Vpk_.js → wt-icon-Ct0E7k_d.js} +1 -1
- package/dist/{wt-icon-action-BBmutGsL.js → wt-icon-action-DB6P4E4K.js} +1 -1
- package/dist/{wt-icon-btn-DvrrxhWx.js → wt-icon-btn-DZa_qsai.js} +1 -1
- package/dist/{wt-notifications-bar-0o0yhR7P.js → wt-notifications-bar-BEomlIrN.js} +2 -2
- package/dist/{wt-player-D_kVPIdJ.js → wt-player-1-8X7Uo8.js} +3 -3
- package/dist/{wt-search-bar-Dnjkgro3.js → wt-search-bar-DzzSQyB3.js} +1 -1
- package/dist/{wt-send-message-popup-BuTlCwnq.js → wt-send-message-popup-DPjllTAk.js} +2 -2
- package/dist/{wt-status-select-DL1bOn9G.js → wt-status-select-BuojqV_1.js} +9 -9
- package/dist/{wt-timepicker-CAkO0jFY.js → wt-timepicker-RhM7Sln_.js} +2 -2
- package/dist/{wt-toast-DrfbAfTj.js → wt-toast-eWzfeYuz.js} +2 -2
- package/dist/{wt-tree-table-DJGISZ65.js → wt-tree-table-DvG6KLLB.js} +1 -1
- package/dist/{wt-type-extension-value-input-DVpMso5z.js → wt-type-extension-value-input-BO44atDh.js} +3 -3
- package/dist/{wt-vidstack-player-DhaLynZB.js → wt-vidstack-player-BD28KRTU.js} +4 -4
- package/package.json +3 -1
- package/src/composables/index.ts +0 -1
- package/src/enums/QueueType/QueueType.enum.ts +12 -31
- package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.ts +1 -11
- package/src/locale/en/en.js +64 -0
- package/src/locale/es/es.js +64 -0
- package/src/locale/kz/kz.js +64 -0
- package/src/locale/pl/pl.js +64 -0
- package/src/locale/ro/ro.js +64 -0
- package/src/locale/ru/ru.js +64 -0
- package/src/locale/uk/uk.js +64 -0
- package/src/locale/uz/uz.js +64 -0
- package/src/locale/vi/vi.js +64 -0
- package/src/modules/AgentPdfs/components/agent-pdfs-tab.vue +1 -1
- package/src/modules/TableComponentModule/composables/{useTableEmpty.js → useTableEmpty.ts} +40 -12
- package/src/scripts/normalizeDatetime.ts +7 -88
- package/types/.tsbuildinfo +1 -1
- package/types/composables/index.d.ts +0 -1
- package/types/enums/QueueType/QueueType.enum.d.ts +9 -28
- package/types/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +1 -7
- package/types/locale/en/en.d.ts +64 -0
- package/types/locale/es/es.d.ts +87 -3
- package/types/locale/i18n.d.ts +576 -0
- package/types/locale/index.d.ts +576 -0
- package/types/locale/kz/kz.d.ts +87 -3
- package/types/locale/pl/pl.d.ts +87 -3
- package/types/locale/ro/ro.d.ts +87 -3
- package/types/locale/ru/ru.d.ts +87 -3
- package/types/locale/uk/uk.d.ts +87 -3
- package/types/locale/uz/uz.d.ts +87 -3
- package/types/locale/vi/vi.d.ts +87 -3
- package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +1 -1
- package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +38 -13
- package/types/scripts/normalizeDatetime.d.ts +1 -8
- package/dist/clients-DBqdsc05.js +0 -38757
- package/src/composables/useCard/useCardTabs.js +0 -29
- package/types/composables/useCard/useCardTabs.d.ts +0 -4
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { computed } from 'vue';
|
|
2
|
-
import { useRoute, useRouter } from 'vue-router';
|
|
3
|
-
|
|
4
|
-
export const useCardTabs = (tabs) => {
|
|
5
|
-
const router = useRouter();
|
|
6
|
-
const route = useRoute();
|
|
7
|
-
|
|
8
|
-
const currentTab = computed(() => {
|
|
9
|
-
return (
|
|
10
|
-
tabs?.value.find(({ pathName }) => route.name === pathName) ||
|
|
11
|
-
tabs?.value[0]
|
|
12
|
-
);
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
function changeTab(tab) {
|
|
16
|
-
if (!tab?.pathName) return;
|
|
17
|
-
|
|
18
|
-
return router.push({
|
|
19
|
-
...route,
|
|
20
|
-
name: tab.pathName,
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
return {
|
|
25
|
-
currentTab,
|
|
26
|
-
|
|
27
|
-
changeTab,
|
|
28
|
-
};
|
|
29
|
-
};
|